/* ==========================================================================
   GECOMO — storefront shell
   Mirrors the Mini Cordless Curler PDP (curler-v2.html): announcement bar,
   three-zone header, multi-column footer with payment row, Inter/Cormorant
   type scale and hairline section rhythm.

   Load this AFTER assets/site.css. It only re-skins the shared chrome and the
   type scale — no page content, copy, ids or behaviour is touched.
   ========================================================================== */

:root{
  --paper:#FBFAF8;
  --ink-3:#8F8B84;
  --hair:#E6E2DB;
  --hair-2:#D8D3CA;
  --accent:#AF8484;
  --accent-deep:#8E6666;
  --accent-soft:#F3EFE9;
  --accent-mid:#EADFDA;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif:"Cormorant Garamond",Georgia,serif;
  --tap:40px;
}

/* ---------------------------------------------------------------- base type */
body{
  font-family:var(--sans);
  font-size:15px;
  line-height:1.55;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
h1,h2{
  font-family:var(--serif);
  font-weight:600;
  letter-spacing:.005em;
  line-height:1.14;
}
h3,h4,h5,h6{font-family:var(--sans);}
p,li{line-height:1.65;}
.eyebrow{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:500;
  margin:0 0 12px;
}
main h2{font-family:var(--serif);font-weight:600;}

/* -------------------------------------------------------- announcement bar */
#promoBar.ann{
  display:block;
  background:var(--accent-mid);
  color:#3A3230;
  text-align:center;
  font-size:12px;
  line-height:1.45;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:500;
  padding:10px 16px;
  position:relative;
  text-wrap:balance;
}
#promoBar.ann a{
  color:inherit;
  border-bottom:1px solid rgba(58,50,48,.38);
  padding-bottom:1px;
}
#promoBar.ann a:hover{border-bottom-color:#3A3230;}
/* the old layout floated a decorative arrow at the far right — the shared bar
   is a single centred line, so the arrow is suppressed (markup kept intact) */
#promoBar.ann .arr{display:none;}

/* launch strip (kept, re-skinned as an ink band) */
#launchBar{
  background:var(--ink);
  color:#FBFAF8;
  text-align:center;
  padding:10px 16px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.5;
}
#launchBar a{
  color:#FBFAF8;
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:500;
}

/* ------------------------------------------------------------------ header */
header.site-head{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--hair);
}
/* Three-zone grid: nav left / wordmark centred / icons flush right.
   The explicit column placement is what keeps the cart on the content edge at
   every width — do not collapse it into a flex row. */
.hrow{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  min-height:62px;
}
.nav-l{
  display:flex;
  align-items:center;
  gap:18px;
  grid-column:1;
  justify-self:start;
  min-width:0;
}
.nav-l a{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-2);
  display:inline-flex;
  align-items:center;
  min-height:var(--tap);
  white-space:nowrap;
}
.nav-l a:hover{color:var(--ink);}
.brand{
  grid-column:2;
  justify-self:center;
  font-family:var(--serif);
  font-weight:600;
  font-size:23px;
  letter-spacing:.34em;
  text-indent:.34em;
  line-height:1;
  white-space:nowrap;
  color:var(--ink);
}
.icons{
  grid-column:3;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:4px;
}
.icons button{
  display:grid;
  place-items:center;
  width:var(--tap);
  height:var(--tap);
  padding:0;
  background:none;
  border:0;
  color:var(--ink);
}
.icons svg{
  width:19px;
  height:19px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.4;
}
/* last icon (cart) sits exactly on the content edge; its 40px hit area bleeds
   into the gutter instead of pushing the mark inward */
.icons > .cart-n{margin-right:-10px;}
.icons > .ic-search{margin-left:-10px;}

.cart-n{position:relative;}
.icons #cartBtn{
  display:grid;
  place-items:center;
  width:var(--tap);
  height:var(--tap);
  padding:0;
  background:none;
  border:0;
  color:var(--ink);
  position:relative;
}
.icons #cartBtn svg{width:19px;height:19px;}
.icons #cartBtn #cartCount{
  position:absolute;
  top:5px;
  right:0;
  min-width:17px;
  height:17px;
  border-radius:99px;
  background:var(--accent);
  color:#FBFAF8;
  font-size:12px;
  font-weight:600;
  line-height:1;
  display:grid;
  place-items:center;
  padding:0 4px;
}

@media (min-width:1200px){
  .brand{font-size:26px;}
  .nav-l{gap:22px;}
}
/* Below 1200px the nav moves to its own row inside the same header so the
   wordmark stays dead-centre and the cart stays on the content edge. */
@media (max-width:1199px){
  .hrow{grid-template-rows:auto auto;gap:0 18px;padding-block:0;}
  .brand{grid-row:1;grid-column:1/-1;justify-self:center;font-size:22px;padding:12px 0 8px;}
  .icons{grid-row:1;grid-column:3;align-self:center;}
  .nav-l{
    grid-row:2;
    grid-column:1/-1;
    justify-self:center;
    justify-content:center;
    width:100%;
    gap:14px;
    flex-wrap:wrap;
    border-top:1px solid var(--hair);
    padding-top:0;
  }
  .nav-l a{min-height:42px;letter-spacing:.1em;}
}
@media (max-width:639px){
  /* three 40px icons would collide with the centred wordmark on narrow
     screens — keep the cart (the only one that does anything) */
  .icons .ic-search,.icons .ic-account{display:none;}
  .brand{font-size:21px;letter-spacing:.3em;text-indent:.3em;padding:10px 0 6px;}
  .icons > .cart-n{margin-right:-10px;}
}

/* ------------------------------------------------------------------ footer */
footer[role="contentinfo"],body > footer{
  border-top:1px solid var(--hair);
  padding:clamp(28px,4vw,44px) 0 36px;
  margin-top:0;
  background:var(--paper);
}
.f-grid{display:grid;gap:28px;}
@media (min-width:760px){
  .f-grid{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;}
}
.f-brand{
  display:inline-block;
  font-family:var(--serif);
  font-weight:600;
  font-size:20px;
  letter-spacing:.3em;
  text-indent:.3em;
  line-height:1;
  margin-bottom:12px;
  color:var(--ink);
}
.f-news-h{
  font-family:var(--serif);
  font-size:19px;
  font-weight:600;
  line-height:1.25;
  margin:0 0 12px;
  letter-spacing:.005em;
}
.f-h{
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-2);
  font-weight:600;
  margin-bottom:10px;
}
.f-l{display:grid;gap:0;font-size:12.5px;color:var(--ink-2);}
.f-l a{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  font-size:12.5px;
  color:var(--ink-2);
}
.f-l a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px;}
@media (max-width:759px){
  .f-l a{min-height:var(--tap);}
}

/* newsletter form lives in the first footer column (subscribe.js hooks .news-form) */
footer .news-form{
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--ink);
  max-width:320px;
  margin-top:4px;
}
footer .news-form input{
  flex:1;
  min-width:0;
  border:none;
  background:none;
  padding:10px 0;
  font-family:var(--sans);
  font-size:13px;
  outline:none;
  color:var(--ink);
}
footer .news-form input::placeholder{color:var(--ink-3);}
footer .news-form button{
  border:none;
  background:none;
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--ink);
  min-height:var(--tap);
  padding:0 0 0 10px;
  white-space:nowrap;
}

.f-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-top:clamp(24px,3vw,34px);
  padding-top:16px;
  border-top:1px solid var(--hair);
  flex-wrap:wrap;
}
.f-copy{font-size:12px;color:var(--ink-3);}
body > footer .pays,
footer .pays{display:flex;gap:7px;flex-wrap:wrap;}
footer .pay{
  height:26px;
  min-width:44px;
  border:1px solid var(--hair);
  border-radius:4px;
  display:grid;
  place-items:center;
  font-size:12px;
  letter-spacing:.04em;
  color:var(--ink-2);
  font-weight:600;
  background:#FBFAF8;
  padding:0 9px;
}

/* ------------------------------------------------- section rhythm + type */
/* one hairline between stacked sections, matching the PDP's .sec rule */
main > section + section{border-top:1px solid var(--hair);}

.section-head h2{
  font-size:clamp(27px,3.4vw,40px);
  font-weight:600;
  line-height:1.12;
  margin:0 0 14px;
}
.section-head p{color:var(--ink-2);}

/* product title: Inter 500 over the serif display scale, like the curler PDP */
.pdp-name{
  font-family:var(--sans);
  font-weight:500;
  letter-spacing:-.01em;
  line-height:1.2;
  font-size:clamp(25px,2.8vw,31px);
}
.pdp-price{font-size:16px;}
.pdp-price .cur{font-size:12px;letter-spacing:.06em;color:var(--ink-3);}

/* primary CTA takes the brand rose used by the curler add-to-cart */
.btn-gold,#addToCart{
  background:var(--accent);
  border-color:var(--accent);
  color:#FBFAF8;
}
.btn-gold:hover,#addToCart:hover{background:var(--accent-deep);border-color:var(--accent-deep);}

/* in-copy links read as links without breaking the serif/UI texture */
main p a,main li a{text-decoration:underline;text-underline-offset:3px;}

/* --- 12px floor: nothing on the storefront renders smaller than 12px ---- */
.crumbs{font-size:12px;letter-spacing:.12em;}
.pdp-badge{font-size:12px;padding:5px 11px;}
.nav-l a{font-size:12px;}
.row-head .all-link{font-size:12px;}
.rail-card .flag,.product-card .flag{font-size:12px;padding:5px 10px;}
.rail-card .rc-shades{font-size:12px;}
.rail-card .rc-cta{font-size:12px;padding:12px 10px;}
.cs-tag{font-size:12px;padding:3px 9px;}
.value-item .n{font-size:12px;}
.how-grid .step-n{font-size:12px;}
.promo-ok{font-size:12px;}
.cart-fine{font-size:12px;line-height:1.45;}
.ribbon{
  font-size:12px;
  background:var(--accent);
  color:#FBFAF8;
  border-radius:3px;
  padding:5px 11px;
  letter-spacing:.08em;
  font-weight:600;
}
/* the Black Friday bar is injected by bf.js/bf.css — restyled from here, not rewritten */
.bf-tag,.bf-code,.bf-cta{font-size:12px;}
.bf-kicker,.bf-fine{font-size:12px;}

/* --------------------------------------------------- display serif sweep */
/* legacy display classes still ask for Marcellus / Jost — bring them onto the
   Cormorant scale so every serif on the site is the same serif */
.guide-headline,.guide-sub,.book-brand,.book-title,
.flf-l-h2,.flf-h2,.flf-card b,.flf-step em,
.nf .code,.bf-hero h2{font-family:var(--serif);}
.guide-headline,.flf-l-h2,.flf-h2,.bf-hero h2{font-weight:600;}
