/* ==========================================================================
   SHOOBI SWIM — conversion-focused rebuild
   Design system + components
   ========================================================================== */

:root {
  /* Colour — pulled from the brand's own photography */
  --ink:        #0E0E0F;
  --ink-70:     rgba(14, 14, 15, 0.70);
  --ink-50:     rgba(14, 14, 15, 0.50);
  --ink-15:     rgba(14, 14, 15, 0.15);
  --ink-08:     rgba(14, 14, 15, 0.08);

  --paper:      #F6F2EA;   /* warm sun-bleached off-white */
  --paper-2:    #EFE8DC;   /* sand */
  --white:      #FFFFFF;

  --goji:       #C0243B;   /* from the Goji velour colourway */
  --goji-dark:  #9E1A2E;
  --ocean:      #1B7E92;   /* from the surf hero */
  --ocean-deep: #0F5A6A;
  --sun:        #E8873A;

  --ok:         #1D7A4C;

  /* Type */
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;

  /* Rhythm */
  --gut:  clamp(16px, 4vw, 40px);
  --sec:  clamp(56px, 9vw, 120px);
  --maxw: 1440px;

  --r: 2px;

  --shadow: 0 1px 2px rgba(14,14,15,.06), 0 8px 24px rgba(14,14,15,.06);
  --shadow-lg: 0 2px 4px rgba(14,14,15,.08), 0 24px 60px rgba(14,14,15,.14);

  --ease: cubic-bezier(.22,.61,.36,1);

  --header-h: 64px;
  --bar-h: 34px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-2); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 900; letter-spacing: -0.03em; line-height: 0.98; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip { position:absolute; left:-9999px; top:0; z-index:999; background:var(--ink); color:var(--paper); padding:12px 20px; }
.skip:focus { left:8px; top:8px; }

/* ------------------------------------------------------------ typography */
.d1 { font-size: clamp(40px, 5.7vw, 82px); text-transform: uppercase; letter-spacing: -0.045em; }
.d2 { font-size: clamp(32px, 5.6vw, 68px); text-transform: uppercase; letter-spacing: -0.04em; }
.d3 { font-size: clamp(24px, 3.4vw, 40px); text-transform: uppercase; letter-spacing: -0.035em; }
.d4 { font-size: clamp(18px, 2.1vw, 24px); letter-spacing: -0.02em; }

.eyebrow {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .18em; color: var(--ink-50);
}
.lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: var(--ink-70); }
.fine { font-size: 13px; color: var(--ink-50); line-height: 1.5; }

/* ---------------------------------------------------------------- button */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd); border-radius: var(--r);
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--goji  { --bg: var(--goji); --bd: var(--goji); --fg: #fff; }
.btn--goji:hover { --bg: var(--goji-dark); --bd: var(--goji-dark); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--onimg { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.75); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  --bg: #D8D2C6; --bd: #D8D2C6; --fg: rgba(14,14,15,.52);
  cursor: not-allowed; transform: none !important; box-shadow: none !important;
}

.link-u {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}

/* ------------------------------------------------------- announcement bar */
.abar {
  background: var(--ink); color: var(--paper);
  height: var(--bar-h); display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; z-index: 60;
}
.abar__track { position: relative; width: 100%; height: 100%; }
.abar__item {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  opacity: 0; transform: translateY(100%);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  padding-inline: 16px; text-align: center;
}
.abar__item.is-on { opacity: 1; transform: none; }
.abar__item b { color: var(--sun); font-weight: 800; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-08);
  transition: box-shadow .2s var(--ease);
}
.hdr.is-stuck { box-shadow: 0 1px 20px rgba(14,14,15,.09); }
.hdr__in {
  height: var(--header-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 12px;
}
.hdr__nav { display: flex; align-items: center; gap: 26px; }
.hdr__nav a {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  position: relative; padding: 6px 0; white-space: nowrap;
}
.hdr__nav a::after {
  content:''; position:absolute; left:0; right:0; bottom:0; height:1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav a.is-sale { color: var(--goji); }

.logo { justify-self: center; display: block; }
.logo svg { height: 26px; width: auto; }

.hdr__act { justify-self: end; display: flex; align-items: center; gap: 6px; }
.iconbtn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; border-radius: 50%; position: relative;
  transition: background .18s var(--ease);
}
.iconbtn:hover { background: var(--ink-08); }
.iconbtn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cartdot {
  position: absolute; top: 5px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--goji); color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .25s var(--ease);
}
.cartdot.is-on { transform: scale(1); }
.burger { display: none; }

@media (max-width: 1280px) { .hdr__nav { gap: 18px; } }
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .burger { display: grid; }
  .logo { justify-self: center; }
}

/* ------------------------------------------------------------ mobile nav */
.mnav {
  position: fixed; inset: 0; z-index: 80; visibility: hidden;
}
.mnav.is-open { visibility: visible; }
.mnav__scrim {
  position: absolute; inset: 0; background: rgba(14,14,15,.45);
  opacity: 0; transition: opacity .3s var(--ease);
}
.mnav.is-open .mnav__scrim { opacity: 1; }
.mnav__panel {
  position: absolute; inset: 0 30% 0 0; min-width: 300px;
  background: var(--paper); padding: 20px var(--gut) 40px;
  transform: translateX(-100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mnav.is-open .mnav__panel { transform: none; }
.mnav__top { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.mnav__list a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-08);
  font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
}
.mnav__foot { margin-top: auto; padding-top: 28px; padding-bottom: env(safe-area-inset-bottom); display: grid; gap: 10px; }

/* ------------------------------------------------------------------ hero */
/* Stacked grid: image and copy share one cell, so the hero can never clip
   its own call-to-action no matter how the headline wraps. */
.hero {
  position: relative; background: var(--ocean-deep); overflow: hidden;
  display: grid; isolation: isolate;
}
.hero > * { grid-area: 1 / 1; }
.hero__media { position: relative; height: 100%; }
.hero__media picture { display: block; height: 100%; }
.hero__media img {
  width: 100%; height: 100%; min-height: clamp(440px, 72vh, 720px);
  object-fit: cover; object-position: 64% 50%;
}
.hero__grad {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(4,26,32,.74) 0%, rgba(4,26,32,.52) 34%, rgba(4,26,32,.14) 56%, rgba(4,26,32,0) 72%);
}
.hero__in {
  position: relative; z-index: 2; display: flex; align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
}
.hero__copy { max-width: 700px; color: #fff; }
.hero__copy .eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { margin: 14px 0 0; color: #fff; text-shadow: 0 2px 30px rgba(0,20,26,.35); }
.hero__sub {
  margin: 18px 0 0; max-width: 440px;
  font-size: clamp(15px, 1.7vw, 18px); line-height: 1.5; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 16px rgba(0,20,26,.45);
}
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.9);
}
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (max-width: 760px) {
  .hero__media img { min-height: 80vh; object-position: 50% 28%; }
  .hero__grad { background: linear-gradient(180deg, rgba(6,32,38,.40) 0%, rgba(6,32,38,.10) 30%, rgba(6,32,38,.86) 100%); }
  .hero__in { align-items: flex-end; padding-bottom: 30px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__sub { max-width: 34ch; }
}

/* ------------------------------------------------------------- trust bar */
.trust { background: var(--ink); color: var(--paper); }
.trust__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(246,242,234,.14);
}
.trust__i {
  background: var(--ink); padding: 22px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.trust__i svg { width: 20px; height: 20px; flex: none; stroke: var(--sun); fill: none; stroke-width: 1.7; margin-top: 2px; }
.trust__i strong { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.trust__i span { display: block; font-size: 12.5px; color: rgba(246,242,234,.62); line-height: 1.4; margin-top: 3px; }
@media (max-width: 900px) { .trust__in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) {
  .trust__i { padding: 16px 14px; flex-direction: column; gap: 8px; }
}

/* --------------------------------------------------------------- section */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(40px, 6vw, 76px); }
.sec + .sec--tight { padding-top: 0; }
.sec--paper2 { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--ink .eyebrow { color: rgba(246,242,234,.55); }
.sec--ink .lede { color: rgba(246,242,234,.72); }

.sechead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap;
}
.sechead__t { max-width: 720px; }
.sechead h2 { margin-top: 10px; }
.sechead p { margin-top: 14px; max-width: 56ch; }

/* ------------------------------------------------------------ set cards */
.sets { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 1080px) { .sets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .sets { grid-template-columns: 1fr; } }

.setcard {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.setcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.setcard__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.setcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.setcard__media img.alt { position: absolute; inset: 0; opacity: 0; }
.setcard:hover .setcard__media img.alt { opacity: 1; }
.setcard:hover .setcard__media img.main { transform: scale(1.03); }

.tagline {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--goji); color: #fff;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 10px; border-radius: var(--r);
}
.tagline--ink { background: var(--ink); }
.tagline--ocean { background: var(--ocean); }

.setcard__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.setcard__head { min-height: 62px; }
.setcard__name { font-size: 16px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.setcard__name span { display: block; font-weight: 500; color: var(--ink-70); }
.setcard__meta { font-size: 12.5px; color: var(--ink-50); margin-top: 4px; }
@media (max-width: 520px) { .setcard__head { min-height: 0; } }
.price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price__now { font-size: 17px; font-weight: 800; }
.price__was { font-size: 13.5px; color: var(--ink-50); text-decoration: line-through; }
.price__save {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--goji); background: rgba(192,36,59,.09); padding: 3px 7px; border-radius: var(--r);
}
.setcard__body .btn { margin-top: auto; }

/* ------------------------------------------------------- product card v2 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); } }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--paper-2); border-radius: var(--r);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.pcard__media img.alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__media img.alt { opacity: 1; }

/* quick-add: the single biggest collection-page CTA win */
.qa {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-radius: var(--r); padding: 10px;
  transform: translateY(calc(100% + 12px)); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.pcard:hover .qa, .pcard:focus-within .qa { transform: none; opacity: 1; }
.qa__lbl {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-50); text-align: center; margin-bottom: 8px;
}
.qa__sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.qa__sizes button {
  min-height: 44px; border: 1px solid var(--ink-15); background: #fff; border-radius: var(--r);
  font-size: 12px; font-weight: 800; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.qa__sizes button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: none) { .qa { display: none; } }

.pcard__body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 8px; }
.pcard__name { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.pcard__price { font-size: 14.5px; font-weight: 700; }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* colour swatches — fixes the duplicate-product problem */
.sw { display: flex; gap: 6px; align-items: center; }
.sw button {
  width: 20px; height: 20px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--ink-15); padding: 0; position: relative;
  transition: transform .15s var(--ease);
}
.sw button:hover { transform: scale(1.14); }
.sw button[aria-pressed="true"]::after {
  content: ''; position: absolute; inset: -4px; border: 1.5px solid var(--ink); border-radius: 50%;
}
.sw__more { font-size: 11.5px; color: var(--ink-50); font-weight: 600; }

.sw-black   { background: #16161a; }
.sw-disco   { background: linear-gradient(135deg,#e9edf2,#b9c2cc 60%,#8e99a6); }
.sw-goji    { background: #b01f34; }
.sw-tropic  { background: linear-gradient(160deg,#e2483c 0%,#e8873a 22%,#f0d264 42%,#4e9e6b 62%,#2f6fa8 82%,#16161a 100%); }
.sw-offwhite{ background: #f0ebe1; }
.sw-navy    { background: #232c3d; }
.sw-silver  { background: linear-gradient(135deg,#f2f4f7,#c3ccd6 55%,#98a3b0); }

/* -------------------------------------------------------------- category */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 800px) { .cats { grid-template-columns: 1fr; } }
.cat {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r);
  display: flex; align-items: flex-end; background: var(--paper-2);
}
.cat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.cat:hover img { transform: scale(1.045); }
.cat::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.62) 100%);
}
.cat__c { position: relative; z-index: 2; padding: 26px; color: #fff; width: 100%; }
.cat__c h3 { font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; }
.cat__c p { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 6px; }
.cat__go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.cat__go {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 1.5px solid rgba(255,255,255,.6); padding-bottom: 3px;
}
@media (max-width: 800px) { .cat { aspect-ratio: 16/10; } }

/* ------------------------------------------------------------- editorial */
.ed { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 72px); align-items: center; }
.ed--flip .ed__media { order: 2; }
@media (max-width: 860px) { .ed { grid-template-columns: 1fr; } .ed--flip .ed__media { order: 0; } }
.ed__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); }
.ed__c h2 { margin: 12px 0 0; }
.ed__c p { margin-top: 18px; }
.ed__list { margin-top: 26px; display: grid; gap: 14px; }
.ed__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.ed__list svg { width: 18px; height: 18px; flex: none; stroke: var(--goji); fill: none; stroke-width: 2.2; margin-top: 2px; }
.ed__c .btn { margin-top: 30px; }

/* ------------------------------------------------------------ fit block */
.fit { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }
.fittable {
  width: 100%; border-collapse: collapse; background: var(--white);
  color: var(--ink); border-radius: var(--r); overflow: hidden;
}
.sec--ink .fittable td { color: var(--ink); }
.sec--ink .fittable th { color: var(--paper); }
.fittable th, .fittable td { padding: 12px 14px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--ink-08); }
.fittable th { background: var(--ink); color: var(--paper); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.fittable tr:last-child td { border-bottom: 0; }
.fittable td:first-child { font-weight: 800; }

/* --------------------------------------------------------------- reviews */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 860px) { .revs { grid-template-columns: 1fr; } }
.rev {
  background: var(--white); border-radius: var(--r); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.stars { display: flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--sun); }
.rev p { font-size: 15px; line-height: 1.5; }
.rev__who { margin-top: auto; font-size: 12.5px; color: var(--ink-50); }
.rev__who b { color: var(--ink); display: block; font-size: 13px; }
.rev__ver { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 700; font-size: 11.5px; }
.rev__ver svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.6; }

/* --------------------------------------------------------------------- ig */
.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
@media (max-width: 860px) { .ig { grid-template-columns: repeat(3, 1fr); } }
.ig a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig a:hover img { transform: scale(1.07); }
.ig a.ig__cta { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; background: var(--goji); color: #fff; text-align: center; padding: 8px;
  text-decoration: none; transition: background .25s var(--ease); }
.ig a.ig__cta:hover { background: var(--goji-dark); }
.ig__cta-k { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.ig__cta-h { font-weight: 800; font-size: clamp(.78rem, 1.3vw, .98rem); letter-spacing: .01em; }
@media (max-width: 420px) { .ig__cta-k { display: none; } }

/* ------------------------------------------------------------- email cap */
.cap { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.cap__bg { position: absolute; inset: 0; }
.cap__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.cap__bg::after { content:''; position:absolute; inset:0; background: radial-gradient(60% 70% at 50% 50%, rgba(14,14,15,.55), rgba(14,14,15,.15)); }
.cap__in { position: relative; z-index: 2; text-align: center; padding-block: clamp(56px, 8vw, 110px); }
.cap h2 { color: var(--paper); }
.cap p { margin: 16px auto 0; max-width: 46ch; color: rgba(246,242,234,.78); }
.capform { margin: 30px auto 0; display: flex; gap: 10px; max-width: 480px; }
.capform input {
  flex: 1; min-height: 54px; padding: 0 18px; border-radius: var(--r);
  border: 1.5px solid rgba(246,242,234,.34); background: rgba(246,242,234,.06);
  color: var(--paper); font-size: 15px;
}
.capform input::placeholder { color: rgba(246,242,234,.5); }
.capform input:focus { border-color: var(--paper); outline: none; }
@media (max-width: 560px) { .capform { flex-direction: column; } }
.cap__fine { margin-top: 14px; font-size: 12px; color: rgba(246,242,234,.5); }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 6vw, 80px) 28px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: rgba(246,242,234,.5); font-weight: 800; }
.ftr ul { margin-top: 16px; display: grid; gap: 11px; }
.ftr a { font-size: 14px; color: rgba(246,242,234,.86); }
.ftr a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.ftr__logo svg { height: 30px; width: auto; }
.ftr__logo svg, .ftr__logo svg text { fill: var(--paper); }
.ftr__blurb { margin-top: 16px; max-width: 34ch; font-size: 14px; color: rgba(246,242,234,.66); line-height: 1.55; }
.ftr__bot {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(246,242,234,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(246,242,234,.5);
}

/* ----------------------------------------------------------- cart drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(14,14,15,.5); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__hd {
  padding: 20px var(--gut); border-bottom: 1px solid var(--ink-08);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer__hd h3 { font-size: 17px; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gut); }
.drawer__empty { padding: 60px 0; text-align: center; color: var(--ink-50); }

.citem { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ink-08); }
.citem img { width: 76px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); }
.citem__n { font-size: 14px; font-weight: 800; line-height: 1.3; }
.citem__v { font-size: 12.5px; color: var(--ink-50); margin-top: 4px; }
.citem__p { font-size: 14px; font-weight: 700; }
.citem__x { background: none; border: 0; padding: 0; margin-top: 8px; font-size: 11.5px; color: var(--ink-50); text-decoration: underline; cursor: pointer; }
.citem__x:hover { color: var(--goji); }

.drawer__ft { padding: 20px var(--gut) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-15); background: var(--white); display: grid; gap: 12px; }
.drawer__sum { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; }

/* free-shipping progress — a proven AOV nudge */
.ship {
  background: var(--paper-2); border-radius: var(--r); padding: 12px 14px; margin: 14px 0 4px;
}
.ship__t { font-size: 12.5px; font-weight: 700; }
.ship__t b { color: var(--goji); }
.ship__bar { height: 5px; background: var(--ink-15); border-radius: 999px; margin-top: 9px; overflow: hidden; }
.ship__fill { height: 100%; background: var(--ok); width: 0; transition: width .5s var(--ease); border-radius: 999px; }

/* --------------------------------------------------------------- PDP */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }

.gal { display: grid; grid-template-columns: 78px 1fr; gap: 12px; }
@media (max-width: 900px) { .gal { grid-template-columns: 1fr; } }
.gal__thumbs { display: grid; gap: 8px; align-content: start; }
@media (max-width: 900px) { .gal__thumbs { grid-auto-flow: column; grid-auto-columns: 62px; overflow-x: auto; padding-bottom: 4px; } }
.gal__thumbs button {
  padding: 0; border: 1.5px solid transparent; background: none; cursor: pointer;
  border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4;
}
.gal__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal__main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.gal__main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .pdp__info { position: static; } }
.pdp h1 { font-size: clamp(26px, 3.2vw, 40px); text-transform: uppercase; }
.pdp__price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.pdp__price .now { font-size: 22px; font-weight: 800; }
.pdp__rate { margin-top: 10px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-70); }
.pdp__desc { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--ink-70); }

.opt { margin-top: 26px; }
.opt__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.opt__hd .lbl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.opt__hd .val { font-size: 13px; color: var(--ink-70); }
.opt__hd button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.colors a, .colors button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink-15);
  cursor: pointer; padding: 0; position: relative; display: block;
}
.colors [aria-current="true"]::after, .colors [aria-pressed="true"]::after {
  content: ''; position: absolute; inset: -5px; border: 1.5px solid var(--ink); border-radius: 50%;
}

.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes button {
  height: 50px; border: 1.5px solid var(--ink-15); background: var(--white); border-radius: var(--r);
  font-size: 14px; font-weight: 800; cursor: pointer;
  transition: all .15s var(--ease);
}
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes button[disabled] { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.atc { margin-top: 24px; display: grid; gap: 10px; }
.express { display: grid; gap: 8px; }
.express__lbl { text-align: center; font-size: 11.5px; color: var(--ink-50); position: relative; }
.express__lbl::before, .express__lbl::after {
  content: ''; position: absolute; top: 50%; width: calc(50% - 46px); height: 1px; background: var(--ink-15);
}
.express__lbl::before { left: 0; } .express__lbl::after { right: 0; }
.btn--shoppay { --bg: #5A31F4; --bd: #5A31F4; --fg: #fff; }
.btn--apple   { --bg: #000; --bd: #000; --fg: #fff; }

.assure { margin-top: 20px; display: grid; gap: 10px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.assure svg { width: 17px; height: 17px; flex: none; stroke: var(--ok); fill: none; stroke-width: 2.2; margin-top: 2px; }
.assure b { font-weight: 800; }

.acc { margin-top: 30px; border-top: 1px solid var(--ink-15); }
.acc details { border-bottom: 1px solid var(--ink-15); }
.acc summary {
  padding: 17px 0; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  display: flex; justify-content: space-between; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 20px; font-weight: 400; }
.acc details[open] summary::after { content: '−'; }
.acc__c { padding-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-70); }
.acc__c ul { display: grid; gap: 7px; margin-top: 8px; }
.acc__c li { padding-left: 16px; position: relative; }
.acc__c li::before { content: '—'; position: absolute; left: 0; color: var(--ink-50); }

/* complete-the-set upsell */
.cts { margin-top: 30px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; }
.cts__hd { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cts__hd h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.cts__hd .tagline { position: static; }
.cts__row { display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: center; }
.cts__row img { width: 68px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); }
.cts__n { font-size: 14px; font-weight: 800; }
.cts__p { font-size: 13px; margin-top: 4px; }
.cts__p s { color: var(--ink-50); }
.cts__p b { color: var(--goji); }
.cts .btn { margin-top: 14px; }

/* sticky mobile ATC bar */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--white); border-top: 1px solid var(--ink-15);
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  display: none; gap: 12px; align-items: center;
  transform: translateY(110%); transition: transform .3s var(--ease);
  box-shadow: 0 -4px 24px rgba(14,14,15,.08);
}
.stickybar.is-on { transform: none; }
.stickybar__i { flex: 1; min-width: 0; }
.stickybar__n { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar__p { font-size: 13px; color: var(--ink-70); }
.stickybar .btn { flex: 0 0 auto; }
@media (max-width: 900px) { .stickybar { display: flex; } }

/* --------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 95; display: none; place-items: center; padding: var(--gut); }
.modal.is-open { display: grid; }
.modal__scrim { position: absolute; inset: 0; background: rgba(14,14,15,.55); }
.modal__panel {
  position: relative; background: var(--paper); border-radius: var(--r);
  width: min(720px, 100%); max-height: 86vh; overflow-y: auto; padding: 28px var(--gut) 32px;
}
.modal__x { position: absolute; top: 14px; right: 14px; }
.tabs { display: flex; gap: 6px; margin: 18px 0 16px; }
.tabs button {
  padding: 8px 16px; border: 1.5px solid var(--ink-15); background: none; border-radius: var(--r);
  font-size: 12px; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: .06em;
}
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  z-index: 100; background: var(--ink); color: var(--paper);
  padding: 14px 22px; border-radius: var(--r); font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; stroke: var(--sun); fill: none; stroke-width: 2.6; }

/* -------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.hide-mob { }
@media (max-width: 700px) { .hide-mob { display: none; } }

/* One-size items get a single add button rather than a size grid. */
.qa__sizes--one { grid-template-columns: 1fr; }
.qa__sizes--one button {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.qa__sizes--one button:hover { background: var(--goji); border-color: var(--goji); }

/* Footer contact block: the email is a primary way in, not fine print. */
.ftr__contact { margin-top: 26px; }
.ftr__email {
  display: inline-block; margin-top: 10px;
  font-size: clamp(17px, 2vw, 21px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--paper); border-bottom: 2px solid var(--sun); padding-bottom: 3px;
}
.ftr__email:hover { color: var(--sun); text-decoration: none; }
.ftr__hours { margin-top: 12px; max-width: 34ch; font-size: 13px; line-height: 1.5; color: rgba(246,242,234,.6); }
.ftr__bot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bot a:hover { color: var(--paper); }

/* Sold-out sizes read as unavailable rather than merely unstyled. */
.sizes button[disabled], .qa__sizes button[disabled] {
  opacity: .35; cursor: not-allowed; text-decoration: line-through;
  background: var(--paper-2); border-color: var(--ink-08);
}
.sizes button[disabled]:hover, .qa__sizes button[disabled]:hover {
  background: var(--paper-2); color: inherit; border-color: var(--ink-08); transform: none;
}
