/* you-must-have.com — global stylesheet
   Layout: mobile-first. Brand row + horizontally scrollable category rail in the
   header, card grids for products, generous tap targets. */

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --ink:#14402e;
  --muted:#53796a;
  --line:#e5e7e4;
  --accent:#1a6e4c;
  --accent-ink:#ffffff;
  --accent-soft:#e7f1ea;
  --shadow:0 1px 2px rgba(20,24,21,.05), 0 10px 28px rgba(20,24,21,.08);
  --radius:16px;
  --display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Single light theme by design: the site is always white, regardless of the
   visitor's device dark-mode setting. */

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.55;
}
img, svg{ max-width:100%; }
a{ color:inherit; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }

.wrap{
  max-width:1100px;
  margin-inline:auto;
  padding-left:max(16px, env(safe-area-inset-left, 0px));
  padding-right:max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Header ---------- */
.site-header{
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-block:14px 10px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-family:var(--display);
  font-weight:800;
  font-size:1.3rem;
  letter-spacing:-.02em;
  white-space:nowrap;
}
.brand .logo-mark{ width:34px; height:34px; flex:none; display:block; }
.brand .dot{ color:var(--accent); }

.cat-nav{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:12px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.cat-nav::-webkit-scrollbar{ display:none; }
.cat-nav a{
  flex:none;
  text-decoration:none;
  font-weight:600;
  font-size:.92rem;
  color:var(--ink);
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 15px;
  transition:background .15s ease, border-color .15s ease;
}
.cat-nav a:hover{ border-color:var(--accent); }
.cat-nav a[aria-current="page"]{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--accent-ink);
}

/* ---------- Disclosure strip ---------- */
.disclosure-strip{
  background:var(--accent-soft);
  color:var(--ink);
  font-size:.82rem;
}
.disclosure-strip .wrap{ padding-block:8px; }
.disclosure-strip a{ color:var(--accent); font-weight:600; }

/* ---------- Hero ---------- */
.hero .wrap{ padding-block:44px 34px; }
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.75rem;
  font-weight:700;
  color:var(--accent);
  margin:0 0 10px;
}
.hero h1{
  font-family:var(--display);
  font-weight:800;
  color:var(--accent);
  font-size:clamp(2rem, 6vw, 3.3rem);
  line-height:1.08;
  letter-spacing:-.02em;
  margin:0 0 14px;
  max-width:16ch;
  text-wrap:balance;
}
.hero p.lede{
  color:var(--muted);
  font-size:1.05rem;
  max-width:52ch;
  margin:0;
}

/* Category hero (smaller) */
.page-hero .wrap{ padding-block:34px 8px; }
.page-hero h1{
  font-family:var(--display);
  font-weight:800;
  color:var(--accent);
  font-size:clamp(1.7rem, 5vw, 2.5rem);
  letter-spacing:-.02em;
  line-height:1.1;
  margin:0 0 8px;
  text-wrap:balance;
}
.page-hero p{ color:var(--muted); margin:0; max-width:56ch; }

/* ---------- Sections ---------- */
.section .wrap{ padding-block:26px; }
.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.section-head h2{
  font-family:var(--display);
  font-weight:800;
  color:var(--accent);
  font-size:1.45rem;
  letter-spacing:-.01em;
  margin:0;
}
.section-head a{ font-size:.9rem; font-weight:600; color:var(--accent); white-space:nowrap; }

/* ---------- Store tiles (home) ---------- */
.store-tiles{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(140px, 1fr));
  gap:12px;
}
.store-tile{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:64px;
  padding:12px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-family:var(--display);
  font-weight:700;
  font-size:1rem;
  text-align:center;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.store-ico{
  width:28px;
  height:28px;
  flex:none;
  border-radius:7px;
}
.store-tile:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:var(--accent);
  color:var(--accent);
}

/* ---------- Category tiles (home) ---------- */
.cat-tiles{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:12px;
}
.cat-tile{
  display:flex;
  flex-direction:column;
  gap:6px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 16px;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cat-tile:hover{ transform:translateY(-2px); box-shadow:var(--shadow); border-color:var(--accent); }
.cat-tile .tile-emoji{ font-size:1.7rem; line-height:1; }
.cat-tile .tile-name{ font-family:var(--display); font-weight:700; font-size:1.02rem; }
.cat-tile .tile-tag{ color:var(--muted); font-size:.82rem; line-height:1.35; }

/* ---------- Product cards ---------- */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:16px;
}
.card{
  display:flex;
  flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.card-art{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/9;
  background:linear-gradient(135deg, var(--accent-soft), var(--bg));
  font-size:3rem;
  line-height:1;
}
.card-body{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:16px;
  flex:1;
}
.card-cat{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.68rem;
  font-weight:700;
  color:var(--accent);
}
.card-title{
  margin:0;
  font-family:var(--display);
  font-weight:700;
  font-size:1.08rem;
  line-height:1.25;
}
.card-desc{ margin:0; color:var(--muted); font-size:.9rem; flex:1; }
.card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.price{ font-weight:700; font-variant-numeric:tabular-nums; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-decoration:none;
  font-weight:700;
  font-size:.92rem;
  border-radius:999px;
  padding:10px 18px;
  min-height:42px;
  transition:filter .15s ease;
}
.btn-primary{ background:var(--accent); color:var(--accent-ink); }
.btn-primary:hover{ filter:brightness(1.08); }
.btn-ghost{ border:1.5px solid var(--line); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--accent); }

/* ---------- How it works ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
}
.step{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}
.step h3{ font-family:var(--display); font-size:1.02rem; margin:0 0 6px; }
.step p{ margin:0; color:var(--muted); font-size:.9rem; }

/* ---------- Prose pages (about, legal) ---------- */
.prose .wrap{ padding-block:34px 50px; max-width:760px; }
.prose h1{
  font-family:var(--display);
  font-weight:800;
  font-size:clamp(1.7rem, 5vw, 2.3rem);
  letter-spacing:-.02em;
  margin:0 0 16px;
}
.prose h2{ font-family:var(--display); font-size:1.25rem; margin:28px 0 8px; }
.prose p, .prose li{ color:var(--ink); max-width:68ch; }
.prose .muted{ color:var(--muted); }
.prose a{ color:var(--accent); }

/* ---------- Footer ---------- */
.site-footer{
  margin-top:40px;
  background:var(--surface);
  border-top:1px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));
  gap:24px;
  padding-block:34px 20px;
}
.footer-grid h3{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
  margin:0 0 10px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.footer-grid a{ text-decoration:none; font-size:.92rem; }
.footer-grid a:hover{ color:var(--accent); }
.footer-bottom{
  border-top:1px solid var(--line);
  padding-block:16px 22px;
  font-size:.8rem;
  color:var(--muted);
}
.footer-bottom p{ margin:4px 0; max-width:none; }

/* ---------- 404 ---------- */
.notfound .wrap{ padding-block:70px; text-align:center; }
.notfound h1{ font-family:var(--display); font-size:clamp(2rem,7vw,3rem); margin:0 0 10px; }
.notfound p{ color:var(--muted); margin:0 0 22px; }

/* Retargeting slots are invisible placeholders until tags are pasted in. */
.retarget-slot{ display:none; }

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}

/* ---------- Deals / coupons ---------- */
.coupons{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap:16px;
}
.coupon{
  display:flex;
  flex-direction:column;
  gap:10px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  transition:transform .15s ease, box-shadow .15s ease;
}
.coupon:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.coupon .card-desc{ flex:1; }
.code-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  border:2px dashed var(--accent);
  border-radius:10px;
  padding:10px 12px;
  background:var(--accent-soft);
  color:var(--accent);
  font-family:var(--body);
  font-weight:800;
  font-size:1rem;
  letter-spacing:.14em;
  text-align:center;
  cursor:pointer;
}
.code-box small{ font-weight:600; font-size:.68rem; letter-spacing:.04em; color:var(--muted); }
.code-box.code-soon{ cursor:default; color:var(--muted); border-color:var(--line); background:var(--bg); }

/* ---------- Cookie consent banner ---------- */
.cookie-banner{
  position:fixed;
  left:50%;
  bottom:26px;
  transform:translateX(-50%);
  z-index:70;
  width:min(560px, calc(100vw - 32px));
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px 16px;
}
.cookie-banner p{ margin:0; flex:1 1 240px; font-size:.85rem; color:var(--muted); }
.cookie-banner p a{ color:var(--accent); }
.cookie-banner .btn{ padding:8px 16px; min-height:38px; font-size:.85rem; }
