/* ============== TOKENS ============== */
:root{
  --yellow:#F5B800;
  --yellow-2:#FFC82E;
  --black:#0A0A0A;
  --ink:#1a1a1a;
  --muted:#6b6b6b;
  --line:#e6e6e6;
  --bg:#ffffff;
  --bg-soft:#f6f6f6;
  --card:#ffffff;
  --shadow:0 2px 10px rgba(0,0,0,.08);
  --radius:14px;
  --radius-sm:10px;
  --maxw:1280px;
  --font:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
.container{max-width:var(--maxw);margin:0 auto;padding:0 16px}
.visually-hidden{position:absolute;left:-9999px}
.y{color:var(--yellow)}
.muted{color:var(--muted);font-size:14px}

/* ============== HEADER ============== */
.site-header{background:var(--black);color:#fff;position:sticky;top:0;z-index:50}
.header-row{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:14px 16px}
.logo img{height:54px;width:auto}

.search{position:relative;display:flex;align-items:center;background:#fff;border-radius:999px;padding:4px 6px 4px 46px;box-shadow:0 1px 0 rgba(255,255,255,.1)}
.search .search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:#888}
.search input{flex:1;border:0;outline:0;background:transparent;padding:12px 8px;font-size:15px;color:#111;min-width:0}
.btn-search{background:var(--yellow);border:0;width:44px;height:44px;border-radius:999px;display:grid;place-items:center}
.btn-search svg{width:18px;height:18px;fill:#000}

.btn-menu{display:none;background:transparent;color:#fff;border:0;align-items:center;gap:8px;padding:10px 12px;border-radius:10px}
.btn-menu .burger{width:18px;height:2px;background:#fff;position:relative;display:inline-block}
.btn-menu .burger::before,.btn-menu .burger::after{content:"";position:absolute;left:0;width:18px;height:2px;background:#fff}
.btn-menu .burger::before{top:-6px}.btn-menu .burger::after{top:6px}

.cat-strip{background:var(--black);border-top:1px solid #222}
.cat-strip-row{display:flex;gap:8px;overflow-x:auto;padding:10px 16px;scrollbar-width:thin}
.cat-chip{flex:0 0 auto;background:#1a1a1a;color:#fff;border:1px solid #2a2a2a;border-radius:999px;padding:8px 14px;font-size:14px;white-space:nowrap}
.cat-chip:hover,.cat-chip.active{background:var(--yellow);color:#000;border-color:var(--yellow)}

/* ============== HERO ============== */
.hero{background:linear-gradient(90deg,#0a0a0a 0%,#0a0a0a 55%,#111 100%);color:#fff;overflow:hidden;position:relative}
.hero::before{content:"";position:absolute;inset:0;background:
   radial-gradient(1200px 400px at -10% 30%, rgba(245,184,0,.08), transparent 60%),
   repeating-linear-gradient(135deg, transparent 0 60px, rgba(245,184,0,.03) 60px 62px);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;min-height:360px;padding:30px 16px}
.hero-copy h1{font-size:clamp(28px,4vw,46px);line-height:1.1;margin:0 0 22px;font-weight:800}
.btn-cta{display:inline-block;background:var(--yellow);color:#000;font-weight:700;padding:14px 26px;border-radius:999px;font-size:17px;box-shadow:0 6px 18px rgba(245,184,0,.3)}
.btn-cta:hover{background:var(--yellow-2)}
.hero-image{position:relative;min-height:260px}
.hero-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right}

/* ============== BIG CATS ============== */
.big-cats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px auto}
.big-cat{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;background:#f0f0f0;padding:20px 24px;border-radius:var(--radius);transition:transform .15s}
.big-cat:hover{transform:translateY(-2px);background:#eaeaea}
.big-cat-icon{width:46px;height:46px;fill:#111}
.big-cat h3{margin:0;font-size:22px}
.big-cat p{margin:2px 0 0;color:var(--muted);font-size:14px}
.big-cat-arrow{display:grid;place-items:center;background:var(--yellow);color:#000;width:40px;height:40px;border-radius:999px;font-weight:800}

/* ============== SHOP: filtros + grid ============== */
.shop{display:grid;grid-template-columns:260px 1fr;gap:24px;margin:22px auto 40px}
.filters{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;position:sticky;top:120px;align-self:start;max-height:calc(100vh - 140px);overflow:auto}
.filters-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.filters h2{margin:0;font-size:18px}
.btn-x{display:none;background:transparent;border:0;font-size:28px;line-height:1}
.filter-block{padding:12px 0;border-top:1px dashed var(--line)}
.filter-block:first-of-type{border-top:0}
.filter-block h3{margin:0 0 10px;font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:#444}
.cat-filter-list,.src-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cat-filter-list label,.src-list label{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}
.price-range{display:flex;gap:8px}
.price-range label{display:flex;flex-direction:column;flex:1;font-size:12px;color:#444}
.price-range input{border:1px solid var(--line);border-radius:8px;padding:8px;font-size:14px;margin-top:4px}
.btn-clear{margin-top:14px;width:100%;background:#111;color:#fff;border:0;padding:10px;border-radius:10px;font-weight:600}
.btn-filter-mobile{display:none;background:var(--yellow);color:#000;border:0;padding:10px 16px;border-radius:999px;font-weight:700;margin-bottom:12px}

.section-head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 14px}
.section-head h2{margin:0;font-size:24px}
.updated{color:var(--muted);font-size:13px;margin-top:16px;text-align:right}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}

/* ============== CARD ============== */
.card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card .fav{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.9);display:grid;place-items:center}
.card .fav svg{width:18px;height:18px;fill:none;stroke:#444;stroke-width:2}
.card .fav.on svg{fill:#e53935;stroke:#e53935}
.card-img{display:block;aspect-ratio:1/1;background:#fafafa;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:contain;padding:12px}
.card-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.src-badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#666;align-self:flex-start;background:#f0f0f0;padding:2px 8px;border-radius:4px}
.src-badge.ml{background:#fff159;color:#333}
.src-badge.shopee{background:#ee4d2d;color:#fff}
.src-badge.aliexpress{background:#ff4747;color:#fff}
.card-title{margin:0;font-size:15px;line-height:1.25;font-weight:600;min-height:38px}
.card-title a{color:var(--ink)}
.card-title a:hover{text-decoration:underline}
.price-row{display:flex;flex-direction:column;gap:2px;margin:4px 0 8px}
.price{font-size:20px;font-weight:800;color:#111}
.price-date{font-size:11px;color:var(--muted)}
.card-actions{display:flex;gap:6px;margin-top:auto}
.btn-buy{flex:1;background:var(--yellow);color:#000;font-weight:700;text-align:center;padding:10px;border-radius:999px;font-size:14px}
.btn-buy:hover{background:var(--yellow-2)}
.btn-share{background:#25d366;color:#fff;border:0;width:40px;height:40px;border-radius:999px;display:grid;place-items:center}
.btn-share svg{width:18px;height:18px;fill:#fff}

/* ============== TRUST / ABOUT ============== */
.trust-strip-wrap{margin:30px auto}
.trust-strip{background:#fff8dc;border:1px solid #f0e3a2;border-left:6px solid var(--yellow);padding:16px 20px;border-radius:var(--radius)}
.trust-strip h2{margin:0 0 6px;font-size:16px}
.trust-strip p{margin:0;font-size:14px;color:#444}

.about{margin:30px auto}
.about h2{margin:0 0 8px}
.about p{color:#333;max-width:820px}

/* ============== FOOTER ============== */
.site-footer{background:var(--black);color:#fff;margin-top:40px}
.footer-grid{display:grid;grid-template-columns:auto 1fr;gap:30px;padding:30px 16px;align-items:center}
.footer-brand{display:flex;align-items:center;gap:16px}
.footer-brand img{height:56px}
.tagline{margin:0;font-size:18px;line-height:1.25}
.trust-seals{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;justify-items:center}
.trust-seals li{display:flex;align-items:center;gap:10px;font-size:14px}
.trust-seals svg{width:28px;height:28px;fill:var(--yellow)}

.footer-legal{border-top:1px solid #222;padding:18px 16px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.footer-legal nav{display:flex;gap:18px}
.footer-legal a:hover{color:var(--yellow)}
.disclosure{font-size:12px;color:#bbb;max-width:860px;margin:0}
.copy{font-size:12px;color:#777;margin:0}

/* ============== BACK TO TOP ============== */
.back-top{position:fixed;right:16px;bottom:16px;width:48px;height:48px;border-radius:999px;background:var(--yellow);color:#000;border:0;font-size:22px;font-weight:800;box-shadow:0 6px 16px rgba(0,0,0,.25);z-index:60}

/* ============== RESPONSIVO ============== */
@media (max-width: 960px){
  .header-row{grid-template-columns:auto 1fr auto;gap:10px}
  .logo img{height:42px}
  .search{padding-left:40px}
  .btn-menu{display:inline-flex}
  .hero-grid{grid-template-columns:1fr;min-height:unset;text-align:center}
  .hero-image{display:none}
  .big-cats{grid-template-columns:1fr}
  .shop{grid-template-columns:1fr}
  .btn-filter-mobile{display:inline-block}
  .filters{position:fixed;top:0;right:-100%;bottom:0;width:86%;max-width:360px;z-index:70;border-radius:0;max-height:none;transition:right .25s;box-shadow:-6px 0 20px rgba(0,0,0,.15)}
  .filters.open{right:0}
  .btn-x{display:block}
  .footer-grid{grid-template-columns:1fr;text-align:center;justify-items:center}
  .footer-brand{justify-content:center}
  .trust-seals{grid-template-columns:1fr;gap:10px}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .card-title{font-size:14px;min-height:36px}
  .price{font-size:17px}
  .btn-buy{font-size:13px;padding:9px}
}

@media (max-width: 480px){
  .header-row{grid-template-columns:auto 1fr}
  .btn-menu{grid-column:1 / -1;justify-content:center;background:#141414;border-radius:8px;margin-top:4px}
  .search input{font-size:14px}
  .hero-copy h1{font-size:26px}
}

/* Esconder shell antes do JS */
.no-js #grid::before{content:"Carregando produtos...";color:var(--muted)}
