/* ============================================================================
   CAS Athletic Wear — Dev build styles
   Matches the markup in dev/index.html (announcement → header + dropdown nav →
   hero → sections → footer → cart drawer → search overlay), and the collection
   / product templates. Real catalog data, real Shopify photography.
   Tokens first, then layout, then components, then responsive.
   ========================================================================== */

:root {
  --ink: #17140f;
  --ink-2: #26221a;
  --paper: #f7f1ea;
  --paper-2: #efe6d9;
  --card: #fff;
  --muted: #6f675c;
  --line: #e2d7c6;
  --accent: #a33a2b;
  --accent-2: #2f5d4a;
  --sand: #c0a180;
  --sand-soft: #eadfcd;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-s: 0 1px 2px rgba(23,20,15,.05);
  --shadow: 0 2px 6px rgba(23,20,15,.06), 0 14px 38px rgba(23,20,15,.08);
  --max: 1240px;
  --gutter: 22px;
  --font: "Jost", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; line-height: 1.08;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-size: 12px; margin-top: 10px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 650;
  letter-spacing: .01em; transition: transform .12s var(--ease), background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- announcement ---------- */
.ann {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--paper-2); color: var(--ink-2); border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 13.5px; letter-spacing: .06em;
  text-transform: uppercase; padding: 9px 40px; line-height: 1.4; text-align: center;
}
.ann b { font-weight: 700; }
.ann-sep { opacity: .35; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,244,238,.92); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; gap: 14px; position: relative;
}
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 8px 6px; margin-left: -6px;
}
.menu-btn .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-btn .bars i { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .18s var(--ease), opacity .18s ease; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.menu-btn .lbl-hide { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.brand { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; line-height: 1; }
.brand .b1 { display: block; font-size: 21px; font-weight: 800; letter-spacing: .22em; }
.brand .b2 { display: block; margin-top: 3px; font-size: 8.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: none; border-radius: 50%;
  transition: background .16s ease;
}
.icon-btn:hover { background: rgba(23,20,15,.06); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
#cart-btn { position: relative; }

/* dropdown panel */
.nav-drop {
  overflow: hidden; max-height: 0; opacity: 0;
  border-top: 1px solid transparent; background: var(--paper);
  transition: max-height .3s var(--ease), opacity .2s ease, border-color .2s ease;
}
.nav-drop.open { max-height: 460px; opacity: 1; border-top-color: var(--line); }
.drop-in {
  max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter) 30px;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) 1.15fr; gap: 28px;
}
.drop-col { display: flex; flex-direction: column; gap: 2px; }
.dc-h { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dc-note { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dc { font-size: 14.5px; padding: 6px 0; color: var(--ink-2); transition: color .15s ease, transform .15s ease; }
.dc:hover { color: var(--accent); transform: translateX(2px); }
.drop-featured {
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  min-height: 190px; position: relative; display: flex; align-items: flex-end; padding: 16px;
}
.drop-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dff-t { position: relative; z-index: 1; background: rgba(255,255,255,.9); border-radius: 10px; padding: 12px 14px; width: 100%; backdrop-filter: blur(6px); }
.dff-t h3 { font-size: 15px; margin: 5px 0 6px; }
.dff-t a { font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; background: #0a0908; }
.hero picture { position: absolute; inset: 0; display: block; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 76% center; }
/* rotating hero: three slides cross-fading, first one up immediately */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1000ms ease; will-change: opacity; }
.hero-slide.is-active { opacity: 1; }
.hero-slide:nth-child(2) img { object-position: 62% center; }
.hero-slide:nth-child(3) img { object-position: 58% center; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,7,6,.86) 0%, rgba(8,7,6,.62) 34%, rgba(8,7,6,.16) 66%, rgba(8,7,6,0) 86%),
    linear-gradient(180deg, rgba(8,7,6,0) 55%, rgba(8,7,6,.55) 100%);
}
.hero-in { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 116px var(--gutter) 58px; color: #fff; }
.hero-in .eyebrow { color: rgba(255,255,255,.62); }
.hero-in h1 { font-size: clamp(40px, 5.4vw, 74px); max-width: 17ch; margin: 12px 0 14px; }
.hero-in p { max-width: 44ch; color: rgba(255,255,255,.8); font-size: clamp(15px, 1.4vw, 16.5px); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 700px) {
  .hero { min-height: 80vh; }
  .hero img { object-position: center 64%; }
  .veil {
    background:
      linear-gradient(180deg, rgba(8,7,6,.16) 0%, rgba(8,7,6,.42) 40%, rgba(8,7,6,.9) 92%),
      linear-gradient(90deg, rgba(8,7,6,.42) 0%, rgba(8,7,6,0) 60%);
  }
  .hero-in { padding: 92px var(--gutter) 36px; }
  .hero-in h1 { max-width: 15ch; font-size: clamp(32px, 9vw, 40px); }
  .hero-in p { font-size: 14.5px; }
  .cta-row { gap: 8px; margin-top: 20px; }
  .cta-row .btn { min-height: 46px; padding: 0 22px; flex: 1 1 0; justify-content: center; }
  .hero-quick { gap: 2px 16px; margin-top: 20px; flex-wrap: wrap; }
  .hero-quick a { font-size: 11px; padding: 9px 0; letter-spacing: .12em; border-left: 0; }
  .cta-row .btn-ghost { background: rgba(255,255,255,.1); backdrop-filter: blur(3px); }
  .ann { font-size: 11px; padding: 8px 30px; letter-spacing: .08em; }
  .ann .ann-sep { display: none; }
  .ann b { white-space: nowrap; }
}

/* ---------- sections ---------- */
.sec { padding: 68px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.sec-head h2, .sec-title { font-size: clamp(24px, 3.2vw, 34px); margin-top: 8px; }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 46ch; }
.link { font-size: 13px; font-weight: 650; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link:hover { color: var(--accent); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: transparent; }
.card-media {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2); aspect-ratio: 4 / 5;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s ease;
}
.card-media img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media img.main { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card-media:hover img.main { transform: scale(1.02); }
.c-flag {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  background: var(--ink); color: #fff; font-family: var(--font);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; line-height: 1;
}
.c-flag.sale { background: var(--ink); color: #fff; }
.card-info { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.card-name {
  font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2;
  letter-spacing: .01em; text-transform: uppercase;
}
.card-name:hover { color: var(--accent); }
.card-brand {
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}
.price { font-size: 14px; font-weight: 600; }
/* real star ratings (only the three her live site publishes) */
.stars { color: #b8862f; letter-spacing: .06em; font-size: 12px; }
.card-rating { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; color: var(--muted); }
.p-rating { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.p-rating .stars { font-size: 14px; }
.p-rating-num { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.price.was { color: var(--muted); font-weight: 400; text-decoration: line-through; margin-left: 7px; }
.card-foot { display: flex; align-items: baseline; gap: 2px; margin-top: 7px; }
.sw { display: inline-flex; gap: 5px; margin-top: 5px; }
.sw i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(23,20,15,.16); }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2);
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 16px;
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,0) 34%, rgba(10,8,6,.42) 68%, rgba(10,8,6,.82) 100%); }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat:hover img { transform: scale(1.04); }
.cat-l { position: relative; z-index: 1; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.cat-n { position: relative; z-index: 1; display: block; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 500; }

/* ---------- featured / editorial ---------- */
.featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line);
}
.featured-media { position: relative; min-height: 420px; background: var(--paper-2); }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-copy { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-copy h2 { font-size: clamp(24px, 2.8vw, 32px); }
.featured-copy p { color: var(--muted); }
.featured-copy .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- email capture ---------- */
.capture { background: var(--ink); color: #fff; text-align: center; padding: 74px 0; }
.capture h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.capture p { color: rgba(255,255,255,.74); margin-top: 12px; }
.capture form { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; flex-wrap: wrap; }
.capture input {
  flex: 1 1 220px; min-width: 0; padding: 13px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff;
  font: inherit; font-size: 14px;
}
.capture input::placeholder { color: rgba(255,255,255,.68); }
.capture input:focus { outline: none; border-color: rgba(255,255,255,.7); }
.capture .btn { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- footer ---------- */
footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 54px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand .b1 { font-size: 24px; font-weight: 800; letter-spacing: .2em; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; margin-top: 12px; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-col a { display: block; font-size: 14px; padding: 5px 0; color: var(--ink-2); }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.foot-bottom .socials { display: flex; gap: 16px; }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(15,13,10,.42); opacity: 0; pointer-events: none;
  transition: opacity .22s ease; z-index: 90;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
  background: var(--card); z-index: 95; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .3s var(--ease);
  box-shadow: -18px 0 48px rgba(15,13,10,.18);
}
.drawer.open { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dr-head h3 { font-size: 16px; }
.dr-items { flex: 1; overflow: auto; padding: 8px 18px; }
.dr-foot { border-top: 1px solid var(--line); padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.dr-sub { display: flex; justify-content: space-between; font-size: 14px; font-weight: 650; }
.dr-note { font-size: 12px; color: var(--muted); }
.cart-empty { color: var(--muted); font-size: 14px; padding: 22px 0; }
.ci { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 62px; height: 78px; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.ci-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ci-n { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ci-m { font-size: 12px; color: var(--muted); }
.ci-r { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.ci-x { border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ci-qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.ci-qty button { width: 24px; height: 24px; border: 0; background: none; font-size: 14px; line-height: 1; color: var(--ink); cursor: pointer; }
.ci-qty button:hover { background: var(--paper-2); }
.ci-qty > span { min-width: 18px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }

/* ---------- search overlay ---------- */
.search-ov {
  position: fixed; inset: 0; z-index: 100; background: rgba(247,244,238,.98);
  opacity: 0; pointer-events: none; transition: opacity .18s ease; overflow: auto;
}
.search-ov.open { opacity: 1; pointer-events: auto; }
.so-in { max-width: 720px; margin: 0 auto; padding: 80px var(--gutter) 40px; }
#search-input {
  width: 100%; padding: 16px 0; border: 0; border-bottom: 1.5px solid var(--ink);
  background: none; font: inherit; font-size: clamp(20px, 3vw, 28px); font-weight: 600;
}
#search-input:focus { outline: none; }
.so-res { margin-top: 22px; display: grid; gap: 6px; }
.so-r { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.so-r img { width: 46px; height: 58px; object-fit: cover; border-radius: 7px; background: var(--paper-2); }
.so-r .r-n { font-size: 14px; font-weight: 600; }
.so-r .r-p { font-size: 13px; color: var(--muted); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s var(--ease);
  z-index: 120; max-width: 88vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================================
   COLLECTION page
   ========================================================================== */
.crumb { font-size: 12.5px; color: var(--muted); padding: 22px 0 0; }
.crumb a:hover { color: var(--ink); }
.col-head { padding: 14px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.col-head h1 { font-size: clamp(26px, 3.6vw, 40px); }
.col-head p { color: var(--muted); margin-top: 8px; max-width: 62ch; }
.col-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.cnt { font-size: 13px; color: var(--muted); }
.sortbar { display: flex; align-items: center; gap: 8px; }
.sortbar label { font-size: 12.5px; color: var(--muted); }
.sortbar select {
  font: inherit; font-size: 13px; padding: 8px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager button {
  min-width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-size: 13px; font-weight: 600;
}
.pager button[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sr-empty {
  padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14.5px;
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card);
}

/* ============================================================================
   PRODUCT page
   ========================================================================== */
.pd { display: grid; grid-template-columns: 1.08fr 1fr; gap: 44px; padding: 26px 0 20px; align-items: start; }
.gal { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 84px; }
.gal-main { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs { display: flex; gap: 8px; overflow: auto; padding-bottom: 2px; }
.gal-thumb {
  flex: 0 0 auto; width: 66px; height: 84px; border-radius: 9px; overflow: hidden;
  border: 1.5px solid transparent; background: var(--paper-2); padding: 0;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb[aria-current="true"] { border-color: var(--ink); }

.pd-info { padding-top: 4px; }
.p-name { font-size: clamp(24px, 3vw, 33px); margin: 8px 0 10px; }
.p-rate { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.p-rate .stars { color: var(--accent); letter-spacing: 1px; }
.p-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; font-size: 22px; font-weight: 700; }
.p-price .was { font-size: 15px; color: var(--muted); font-weight: 500; text-decoration: line-through; }
.p-price .save { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }
.p-blurb { color: var(--muted); font-size: 14.5px; margin: 12px 0 20px; max-width: 56ch; }
.blurb-p { display: block; margin-top: 10px; }
.blurb-toggle { margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink, #1c1a17); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.blurb-toggle:hover { color: var(--accent, #a8794f); }

.opt { margin-bottom: 18px; }
.opt-label { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.opt-label .val { color: var(--ink); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 13px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-size: 13.5px; font-weight: 600; min-width: 44px;
  transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.opt-note { margin: 9px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-style: italic; }
.nf { padding: 64px 0 96px; max-width: 520px; }
.nf h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; }
.nf p { color: var(--muted); margin: 0 0 18px; }
.nf .btn { display: inline-block; }

.atc-row { display: flex; gap: 10px; margin: 22px 0 16px; }
.atc { flex: 1; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { font-size: 12px; color: var(--muted); line-height: 1.4; }
.trust strong { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 2px; }

/* accordions */
.acc { margin-top: 8px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h {
  width: 100%; background: none; border: 0; padding: 16px 2px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 650;
}
.acc-h .icn { font-size: 18px; line-height: 1; color: var(--muted); transition: transform .2s var(--ease); }
.acc-item.open .acc-h .icn { transform: rotate(45deg); }
.acc-b { display: none; padding: 0 2px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.acc-item.open .acc-b { display: block; }
.acc-b p + p { margin-top: 10px; }
.acc-b ul { margin-top: 8px; }
.acc-b li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.acc-b li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .4; }
.size-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.size-table th, .size-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.size-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.related { padding: 58px 0 10px; }

/* sticky mobile ATC */
.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px; backdrop-filter: blur(8px);
}
.sticky-atc .sa-name { flex: 1; min-width: 0; }
.sticky-atc .sa-name span { display: block; font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .sa-name b { font-size: 13px; }
.sticky-atc .btn { flex: 0 0 auto; padding: 12px 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .drop-in { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .drop-featured { display: none; }
  .pd { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .sec { padding: 52px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 300px; }
  .featured-copy { padding: 28px 22px 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .pd { grid-template-columns: 1fr; gap: 22px; }
  .gal { position: static; }
  .hero { min-height: 66vh; }
  .hero-in { padding: 96px var(--gutter) 42px; }
  .sticky-atc { display: flex; }
  body.has-sticky-atc { padding-bottom: 74px; }
  .trust { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .menu-btn .lbl-hide { display: none; }
  .brand .b1 { font-size: 18px; letter-spacing: .2em; }
  .brand .b2 { font-size: 7.5px; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .ann { font-size: 11px; }
  .ann .ann-hide { display: none; }
  .nav-in { height: 58px; }
  .p-price { font-size: 19px; }
  .atc-row { position: sticky; bottom: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- hero quick links ---------- */
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: 30px; }
.hero-quick a {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,.72); padding: 6px 14px; border-left: 1px solid rgba(255,255,255,.26);
  transition: color .15s ease;
}
.hero-quick a:first-child { padding-left: 0; border-left: 0; }
.hero-quick a:hover { color: #fff; }
.hero-quick .q-sale { color: var(--sand); }
@media (max-width: 700px) {
  .hero-quick { margin-top: 18px; gap: 2px 0; }
  .hero-quick a { font-size: 10.5px; padding: 5px 9px; }
}

/* ---------- trust strip (product page) ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 24px; }
.trust div { padding: 14px 14px 14px 0; text-align: left; }
.trust div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.trust b { display: block; font-size: 12px; letter-spacing: .03em; }
.trust span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
@media (max-width: 420px) { .trust { grid-template-columns: 1fr; } .trust div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- long-form document pages (size guide, policies) ---------- */
.doc { padding: 56px 0 80px; }
.doc-head { max-width: 720px; margin-bottom: 34px; }
.doc-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 12px; }
.doc-head p { color: var(--muted); max-width: 62ch; }
.doc h2 { font-size: clamp(21px, 2.4vw, 27px); margin: 44px 0 14px; }
.doc h3 { font-size: 16px; font-family: var(--font); font-weight: 600; letter-spacing: .01em; margin: 26px 0 8px; }
.doc p, .doc li { color: #3d382f; font-size: 15px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; padding-left: 18px; list-style: disc; }
.doc ul li { margin-bottom: 6px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: #4a4438; margin-top: 18px; }
.tbl-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table.size-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
table.size-tbl th, table.size-tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.size-tbl thead th { background: var(--paper-2); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
table.size-tbl tbody tr:last-child td { border-bottom: 0; }
table.size-tbl tbody tr:nth-child(even) td { background: #fdfbf8; }
.sizecap { font-size: 12px; color: var(--muted); margin-top: 8px; }
.doc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.doc-tabs a { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; text-decoration: none; }
.doc-tabs a:hover { border-color: var(--ink); }

/* ---------- spec table in accordion ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 7px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 88px; font-weight: 500; color: var(--muted); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- audit fixes 2026-11-28 ---------- */
.pd > * { min-width: 0; }              /* stops the gallery/thumb strip forcing a 436px grid track on phones */
.dr-express { padding: 14px 20px 0; border-top: 1px solid var(--line); }
.dr-xp-h { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.xp-row { display: flex; gap: 8px; }
.xp { flex: 1 1 0; min-width: 0; padding: 11px 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper-2);
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .01em; cursor: pointer; }
.xp:hover { border-color: var(--ink); }
.chip .sw { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 6px; vertical-align: -1px;
  border: 1px solid rgba(0,0,0,.18); }

/* ---------- home page lock 2026-11-29 ---------- */
.sec-head-c { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 12px; }
.sec-head-c .link { display: none; }

.hero img { object-position: 74% center; }
#cart-count[hidden], [hidden] { display: none !important; }
.hero-quick a { text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.hero-quick { gap: 0; flex-wrap: nowrap; }
.hero-quick a { padding: 6px 12px; white-space: nowrap; }
.veil { background: linear-gradient(90deg, rgba(12,10,8,.82) 0%, rgba(12,10,8,.62) 28%, rgba(12,10,8,.2) 56%, rgba(12,10,8,0) 80%); }
.hero-in { max-width: var(--max); }
.hero-in p { max-width: 40ch; }
.hero-quick { max-width: 560px; }
.hero .btn-ghost { background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.hero-in h1 { max-width: 11ch; font-size: clamp(36px, 4.4vw, 62px); }
@media (max-width: 900px) {
  .hero img { object-position: center 18%; }
  .veil { background: linear-gradient(180deg, rgba(12,10,8,.5) 0%, rgba(12,10,8,.72) 55%, rgba(12,10,8,.86) 100%); }
}

/* trust strip */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 20px 0; }
.trust .tr { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  padding: 2px 14px; border-left: 1px solid var(--line); }
.trust .tr:first-child { border-left: 0; }
.trust b { font-size: 13.5px; font-weight: 650; letter-spacing: .01em; }
.trust span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* editorial band */
.editband { position: relative; overflow: hidden; min-height: 62vh; display: flex; align-items: center; background: #0d0b09; }
.editband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.editband-veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,8,6,.86) 0%, rgba(10,8,6,.5) 42%, rgba(10,8,6,.04) 78%); }
.editband-in { position: relative; z-index: 1; padding: 92px 0; }
.eb-copy { max-width: 470px; color: #fff; }
.eb-copy .eyebrow { color: rgba(255,255,255,.62); }
.eb-copy h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 12px 0 16px; }
.eb-copy p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.62; margin-bottom: 26px; }

/* the cas difference */
.diff { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.diff-i { padding: 4px 26px; border-left: 1px solid rgba(255,255,255,.16); }
.diff-i:first-child { border-left: 0; padding-left: 0; }
.diff-i:last-child { padding-right: 0; }
.di-n { display: block; font-family: var(--serif); font-size: 13px; letter-spacing: .16em; color: var(--sand); margin-bottom: 14px; }
.diff-i h3 { font-size: 19px; color: #fff; margin-bottom: 9px; }
.diff-i p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }

/* collections pair */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 11; display: flex; align-items: flex-end; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pair::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0) 34%, rgba(10,8,6,.55) 72%, rgba(10,8,6,.86) 100%); }
.pair:hover img { transform: scale(1.035); }
.pair-l { position: relative; z-index: 1; padding: 26px; color: #fff; display: flex; flex-direction: column; gap: 5px; }
.pair-l b { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; line-height: 1.15; }
.pair-l i { font-style: normal; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: 8px; }

/* lifestyle */
.move { position: relative; overflow: hidden; min-height: 58vh; display: flex; align-items: center; justify-content: center; background: #0d0b09; }
.move > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.move-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,.34) 45%, rgba(10,8,6,.72) 100%); }
.move-in { position: relative; z-index: 1; text-align: center; color: #fff; padding: 80px 22px; max-width: 640px; }
.move-in h2 { color: #fff; font-size: clamp(26px, 3.4vw, 42px); margin: 12px 0 26px; }

@media (max-width: 900px) {
  .diff { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .diff-i { padding: 0 18px; }
  .diff-i:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pairs { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: 1fr 1fr; gap: 14px 0; padding: 18px 0; }
  .trust .tr:nth-child(3) { border-left: 0; }
  .editband { min-height: 54vh; }
  .editband-in { padding: 64px 0; }
}
@media (max-width: 560px) {
  .diff { grid-template-columns: 1fr; gap: 22px; }
  .diff-i { border-left: 0; padding: 0; }
  .trust b { font-size: 12px; }
  .trust span { font-size: 10.5px; }
  .pair-l { padding: 18px; }
}

/* mobile overrides must come last so they beat the locked desktop rules */
@media (max-width: 700px) {
  .hero img { object-position: center 64%; }
  .hero-quick { flex-wrap: wrap; gap: 2px 16px; max-width: none; }
  .hero-quick a { padding: 9px 0; border-left: 0; }
}

/* ============================================================================
   CLIENT DIRECTION 2026-11-29 — her own palette + flow (cas-athletic-wear.sintra.site)
   Cream ground, plum serif headings, taupe blocks, warm near-black footer.
   Appended last so these win over the earlier tokens without editing them.
   ========================================================================== */
:root {
  --ink: #2b2229;
  --ink-2: #3b3138;
  --paper: #f5f1e8;
  --paper-2: #ece3d5;
  --card: #fffdf9;
  --muted: #7d7176;
  --line: #e2d8c9;
  --plum: #6b5570;
  --plum-deep: #4f3d55;
  --plum-soft: #a99bb0;
  --beige: #ded2c2;
  --accent: #6b5570;
  --accent-2: #7d8a6a;
  --sand: #c9ab84;
  --ink-foot: #1d1713;
}

body { background: var(--paper); color: var(--ink); }
h1, h2, h3, h4 { color: var(--plum); }
.eyebrow { color: #8e8089; }
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-size: 12px; margin-top: 10px; }
.link { color: var(--plum); }
.link:hover { color: var(--plum-deep); }

/* announcement + nav in her plum */
.ann { background: var(--plum-deep); color: #f3ede2; border-bottom: 0; }
.ann b { color: #fff; }
.ann .ann-arrow, .ann .ann-sep { color: rgba(243,237,226,.6); }
.nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.brand .b1 {
  font-family: var(--serif); font-weight: 600; text-transform: none;
  letter-spacing: -.02em; font-size: 34px; line-height: .9; color: var(--ink);
}
.brand .b2 { font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav-in .brand { gap: 8px; }
.dc-h, .dc-note { color: var(--plum); }
.dc:hover { color: var(--plum-deep); }
.icon-btn:hover { background: var(--paper-2); }

/* buttons */
.btn-primary { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.btn-primary:hover { background: #3f3044; }
.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }

/* cards + prices */
.card-name { color: var(--ink); text-transform: none; font-size: 17px; }
.card-name:hover { color: var(--plum); }
.price { color: var(--plum-deep); font-weight: 650; }
.price.was { color: var(--muted); font-weight: 400; }
.c-flag { background: var(--plum-deep); }
.stars { color: #b08a4a; }

/* what we stand for */
.values-sec { background: var(--paper); border-bottom: 1px solid var(--line); }
.values { display: grid; grid-template-columns: .9fr 1.4fr; gap: 56px; align-items: start; }
.values h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 10px; }
.values-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-i h3 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--plum); margin-bottom: 8px; }
.value-i p { font-size: 14.5px; line-height: 1.62; color: #4a4048; }

/* top sellers promo line */
.promo-line { font-size: 13.5px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }
.promo-line b { color: var(--plum); }

/* our story */
.story-sec { background: var(--beige); }
.story { max-width: 760px; text-align: center; }
.story h2 { font-size: clamp(28px, 3.8vw, 46px); margin: 14px 0 18px; }
.story p { color: #453b42; font-size: 16px; line-height: 1.7; max-width: 62ch; margin: 0 auto 26px; }

/* capture — her beige newsletter block */
.capture { background: var(--beige); color: var(--ink); }
.capture .eyebrow { color: #8e8089; }
.capture h2 { color: var(--plum); }
.capture p { color: #4a4048; }
.capture input {
  background: #fff; border-color: rgba(43,34,41,.16); color: var(--ink);
  padding: 15px 20px;
}
.capture input::placeholder { color: #9a8f93; }
.capture input:focus { border-color: var(--plum); }
.capture .btn, .capture .btn-primary { padding: 15px 26px; background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.capture .btn:hover { background: #3f3044; }
.capture form { max-width: 520px; }

/* footer — her warm near-black */
footer { background: var(--ink-foot); border-top: 0; color: #efe7dc; }
.foot-brand .b1 { font-family: var(--serif); font-weight: 600; text-transform: none;
  letter-spacing: -.02em; font-size: 40px; line-height: .9; color: #fff; }
.foot-brand p { color: rgba(239,231,220,.66); }
.foot-ig { display: inline-block; margin-top: 14px; font-size: 13px; color: #efe7dc;
  text-decoration: underline; text-underline-offset: 3px; }
.foot-ig:hover { color: #fff; }
.foot-col h4 { color: rgba(239,231,220,.5); }
.foot-col a { color: rgba(239,231,220,.86); }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(239,231,220,.14); color: rgba(239,231,220,.5); }
.foot-bottom a:hover { color: #fff; }

/* dark sections stay dark, headings stay white */
.diff-i h3, .editband h2, .move-in h2, .pair-l b, .hero-in h1 { color: inherit; }

@media (max-width: 900px) {
  .values { grid-template-columns: 1fr; gap: 26px; }
  .values-list { grid-template-columns: 1fr; gap: 18px; }
  .brand .b1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .brand .b1 { font-size: 26px; }
  .brand .b2 { font-size: 7.5px; letter-spacing: .2em; }
  .story p { font-size: 15px; }
}

/* client-direction fixes 2026-11-29b */
.foot-col h4 { color: rgba(239,231,220,.62); }
.foot-brand p { color: rgba(239,231,220,.74); }
.capture input::placeholder { color: #7d7176; }
section[id], h2[id] { scroll-margin-top: 84px; }
.hero .btn-ghost { background: rgba(12,10,8,.28); }
@media (max-width: 700px) {
  .hero-quick { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 20px; justify-content: start; }
  .hero-quick a { padding: 4px 0; }
  .capture form { flex-direction: column; }
  .capture form .btn { width: 100%; }
  .capture input { width: 100%; }
}

/* unify the primary action with the plum accent */
.btn-dark, .atc-row .btn, .atc-btn { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.btn-dark:hover { background: #3f3044; }
/* keep price baselines aligned whether or not a card carries a rating */
.card-info { min-height: 74px; }

/* trust strip legibility + alignment */
.trust-in .tr { display: flex; flex-direction: column; gap: 3px; padding-right: 16px; border-left: 1px solid var(--line); padding-left: 16px; }
.trust-in .tr:first-child { border-left: 0; padding-left: 0; }
.trust-in .tr b { font-size: 12.5px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.trust-in .tr span { font-size: 11.5px; color: var(--muted); }
@media (max-width: 860px) {
  .trust-in { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 0; }
  .trust-in .tr:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .trust-in { grid-template-columns: 1fr; gap: 4px; }
  .trust-in .tr { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .trust-in .tr:first-child { border-top: 0; padding-top: 0; }
}

/* trust strip was inheriting the old 3-col grid on its own wrapper; hard-reset it */
.trust { display: block; }
.trust .trust-in {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0;
  padding: 20px 0; width: 100%;
}
.trust .trust-in .tr {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  padding: 0 20px; border-left: 1px solid var(--line);
}
.trust .trust-in .tr:first-child { border-left: 0; padding-left: 0; }
.trust .trust-in .tr b { font-size: 12.5px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.trust .trust-in .tr span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 980px) {
  .trust .trust-in { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 18px; }
  .trust .trust-in .tr:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .trust .trust-in { grid-template-columns: 1fr; row-gap: 0; }
  .trust .trust-in .tr { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  .trust .trust-in .tr:first-child { border-top: 0; padding-top: 0; }
  .trust .trust-in .tr b, .trust .trust-in .tr span { white-space: normal; }
}

/* ---------- photo cohesion layer ----------
   Her catalogue mixes studio shots, flat-lays and lifestyle frames. We can't
   re-shoot, so we normalise presentation: one crop, one matte, one horizon line
   so the grid reads as a single set. */
:root { --matte: #f2ede4; }

.card-media,
.p-media,
.gal-main,
.pd-media { background: var(--matte); }

.card-media img.main,
.card-media img.alt,
.gal-main img,
.pd-media img,
.thumb img { object-fit: cover; object-position: center 18%; }

/* flat-lay / product-only shots sit *inside* the frame instead of filling it,
   so they read as product cards rather than a hole in the grid */
.card-media.flat img.main,
.card-media.flat img.alt {
  object-fit: contain; object-position: center center;
  padding: 12px 16px; mix-blend-mode: multiply;
}

/* unify the seam between cream page and product photo */
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(29,23,19,.05);
  border-radius: inherit;
}

/* collection filter chips */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.fchips a {
  font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
  border: 1px solid rgba(28,26,23,.18); border-radius: 999px; padding: 8px 14px; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.fchips a:hover { border-color: var(--ink); }
.fchips a.is-on { background: var(--ink); color: var(--paper, #f7f4ee); border-color: var(--ink); }

/* mobile nav panel: one column, scrollable, never clipped */
@media (max-width: 700px) {
  .nav-drop.open { max-height: 78vh; overflow-y: auto; }
  .nav-drop .drop-in { grid-template-columns: 1fr; gap: 18px; padding: 20px var(--gutter) 24px; }
  .nav-drop .drop-featured { min-height: 150px; }
}
