/* ==========================================================================
   GAMPHACE — Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */

.announce {
  background: var(--ink);
  color: var(--bone);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 0.7rem var(--gutter);
}
.announce strong { color: var(--rose-soft); font-weight: 700; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 243, 0.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur-fast) linear,
              background var(--dur-fast) linear;
}
.header.is-stuck { border-bottom-color: var(--rule); }
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark svg, .brand__mark img { width: 100%; height: 100%; }
.brand__word {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.10em;
  line-height: 1;
}
.brand__tag {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-top: 3px;
}
@media (max-width: 560px) { .brand__tag { display: none; } }

.nav { justify-self: center; }
.nav__list { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav__link {
  position: relative;
  display: block;
  padding: 0.4rem 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 0.35rem; justify-self: end; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--ink-06); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none;
                stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.cart-count {
  position: absolute;
  top: 5px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--rose);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform var(--dur) var(--ease-out);
}
.cart-count.is-on { transform: scale(1); }

.burger { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__inner { grid-template-columns: auto 1fr auto; }
}

/* --------------------------------------------------------------------------
   Mobile drawer nav
   -------------------------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--bone);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-in-out);
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { transform: none; }
.mobile-nav__list { display: grid; gap: 0.25rem; }
.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-nav__close { position: absolute; top: 1rem; right: var(--gutter); color: var(--bone); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,10,10,.80) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,.05) 62%),
    linear-gradient(to top, rgba(10,10,10,.65) 0%, rgba(10,10,10,0) 45%);
}
.hero__inner { position: relative; padding-block: clamp(2.5rem, 6vh, 4.5rem); color: #fff; }
.hero__content { max-width: 46rem; }
.hero h1 { font-size: var(--step-5); color: #fff; }
.hero .eyebrow { color: var(--rose-soft); }
.hero__copy {
  font-size: var(--step-0);
  color: rgba(255,255,255,.82);
  margin-top: 1.25rem;
  max-width: 34rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.5rem, 4vh, 3rem);
  display: grid;
  justify-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.7);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero__scroll span::after {
  content: "";
  display: block;
  width: 1px; height: 46px;
  margin: .6rem auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollpulse 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(.3); opacity: .4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding-block: 1.1rem;
  border-block: 1px solid rgba(255,255,255,.10);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --------------------------------------------------------------------------
   Principles (the GAMPHACE acrostic)
   -------------------------------------------------------------------------- */

.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 3rem;
}
.principle {
  background: var(--bone);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: .5rem;
  position: relative;
  overflow: hidden;
  transition: background var(--dur) var(--ease-out);
}
.principle::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease-out);
}
.principle:hover { color: var(--bone); }
.principle:hover::before { transform: none; }
.principle > * { position: relative; }
.principle__letter {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: .8;
  color: var(--rose);
}
.principle h3 { font-size: var(--step-1); }
.principle p { font-size: 0.88rem; color: var(--ink-45); transition: color var(--dur) var(--ease-out); }
.principle:hover p { color: rgba(247,245,243,.7); }

@media (max-width: 1000px) { .principles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .principles__grid { grid-template-columns: 1fr; } .principle { min-height: 0; } }

/* --------------------------------------------------------------------------
   Collection cards
   -------------------------------------------------------------------------- */

.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
@media (max-width: 900px) { .collections { grid-template-columns: 1fr; } }

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  isolation: isolate;
}
.collection-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}
.collection-card:hover img { transform: scale(1.06); }
.collection-card::after {
  content: "";
  position: absolute; inset: 0;
  /* Deep enough to carry white type over bright sky, sand and pink kit. */
  background: linear-gradient(to top,
    rgba(8,8,8,.92) 0%, rgba(8,8,8,.72) 20%, rgba(8,8,8,.22) 48%, transparent 72%);
}
.collection-card__body h3,
.collection-card__body p,
.collection-card__cue { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.collection-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  color: #fff;
}
.collection-card__body h3 { font-size: var(--step-2); }
.collection-card__body p { color: rgba(255,255,255,.78); font-size: 0.9rem; margin-top: .35rem; }
.collection-card__cue {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.collection-card__cue svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.collection-card:hover .collection-card__cue svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Product card + grid
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 2rem) clamp(.75rem, 1.5vw, 1.5rem);
}

.product-card { display: block; position: relative; }
.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bone-deep);
  margin-bottom: .9rem;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.045); }

.product-card__quick {
  position: absolute;
  left: .75rem; right: .75rem; bottom: .75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.product-card:hover .product-card__quick,
.product-card:focus-within .product-card__quick { opacity: 1; transform: none; }
@media (hover: none) { .product-card__quick { opacity: 1; transform: none; } }

.product-card__name { font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.product-card__price { font-size: .88rem; color: var(--ink-70); margin-top: .2rem; }

.swatches { display: flex; gap: .4rem; margin-top: .6rem; }
.swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  box-shadow: inset 0 0 0 2px #fff;
}
.swatch--lg { width: 34px; height: 34px; box-shadow: inset 0 0 0 3px #fff; }
.swatch[aria-pressed="true"], .swatch.is-active { outline: 1.5px solid var(--ink); outline-offset: 2px; }

.badge {
  position: absolute; top: .75rem; left: .75rem;
  z-index: 2;
  background: var(--ink); color: #fff;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .4rem .6rem;
}
.badge--rose { background: var(--rose); }

/* --------------------------------------------------------------------------
   Value strip
   -------------------------------------------------------------------------- */

.value-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
}
.value-strip > div {
  background: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  display: grid;
  gap: .5rem;
  justify-items: center;
  text-align: center;
}
.value-strip svg { width: 30px; height: 30px; stroke: var(--rose-soft); fill: none; stroke-width: 1.4; }
.value-strip h3 { font-size: .82rem; letter-spacing: .1em; color: var(--bone); }
.value-strip p { font-size: .78rem; color: rgba(247,245,243,.55); }
@media (max-width: 1000px) { .value-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .value-strip { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Split feature
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone-deep); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.stat-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; }
.stat__num { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--rose); }
.stat__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45); margin-top: .4rem; }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.signup-form { display: flex; gap: .6rem; margin-top: 2rem; flex-wrap: wrap; }
.signup-form input {
  flex: 1 1 260px;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid var(--ink-12);
  background: var(--paper);
  font-size: .95rem;
}
.signup-form input:focus-visible { border-color: var(--ink); }
.section--dark .signup-form input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.section--dark .signup-form input::placeholder { color: rgba(255,255,255,.45); }
.form-note { font-size: .76rem; color: var(--ink-45); margin-top: .9rem; }
.section--dark .form-note { color: rgba(247,245,243,.5); }

.form-status { font-size: .84rem; margin-top: .8rem; min-height: 1.2em; }
.form-status[data-state="ok"]  { color: var(--rose); font-weight: 600; }
.form-status[data-state="err"] { color: #B3261E; font-weight: 600; }
.section--dark .form-status[data-state="ok"] { color: var(--rose-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--ink); color: var(--bone); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .footer__top { grid-template-columns: 1fr; } }

.footer .brand { color: var(--bone); }
.footer .brand__tag { color: rgba(247,245,243,.5); }
.footer__blurb { color: rgba(247,245,243,.55); font-size: .88rem; margin-top: 1.1rem; max-width: 30ch; }

.footer h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700;
             letter-spacing: .18em; text-transform: uppercase; color: var(--bone); margin-bottom: 1rem; }
.footer ul { display: grid; gap: .6rem; }
.footer a { color: rgba(247,245,243,.62); font-size: .88rem; transition: color var(--dur-fast) var(--ease-out); }
.footer a:hover { color: var(--bone); }

.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .78rem; color: rgba(247,245,243,.45);
}
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px;
             border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.socials a:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */

.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,10,10,.5);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease-out);
}
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 85;
  width: min(440px, 100%);
  background: var(--bone);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-in-out);
  box-shadow: var(--shadow-lg);
}
.drawer[data-open="true"] { transform: none; }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.drawer__head h2 { font-size: var(--step-1); }
.drawer__body { overflow-y: auto; padding: 1.25rem var(--gutter); }
.drawer__foot { border-top: 1px solid var(--rule); padding: 1.25rem var(--gutter) 1.5rem; background: var(--paper); }

.ship-meter { margin-bottom: 1.1rem; }
.ship-meter__bar { height: 4px; background: var(--ink-12); overflow: hidden; }
.ship-meter__fill { height: 100%; background: var(--rose); width: 0; transition: width var(--dur-slow) var(--ease-out); }
.ship-meter p { font-size: .78rem; color: var(--ink-45); margin-bottom: .5rem; }

.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.cart-line:first-child { padding-top: 0; }
.cart-line__media { aspect-ratio: 3/4; background: var(--bone-deep); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cart-line__meta { font-size: .78rem; color: var(--ink-45); margin-top: .25rem; }
.cart-line__price { font-size: .85rem; font-weight: 600; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-12); margin-top: .6rem; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; font-size: 1rem; line-height: 1; }
.qty button:hover { background: var(--ink-06); }
.qty output { min-width: 30px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }

.cart-remove { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45);
               text-decoration: underline; text-underline-offset: 3px; margin-top: .6rem; }
.cart-remove:hover { color: var(--ink); }

.totals { display: grid; gap: .5rem; margin-bottom: 1.1rem; font-size: .88rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .is-total { font-weight: 700; font-size: 1.05rem; padding-top: .6rem; border-top: 1px solid var(--rule); }

.demo-note {
  background: var(--rose-wash);
  border-left: 3px solid var(--rose);
  padding: .8rem .9rem;
  font-size: .76rem;
  color: var(--ink-70);
  margin-bottom: 1rem;
}

.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state svg { width: 44px; height: 44px; stroke: var(--ink-12); fill: none; stroke-width: 1.2; margin: 0 auto 1rem; }
.empty-state p { color: var(--ink-45); margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%; bottom: 2rem;
  z-index: 95;
  transform: translate(-50%, 150%);
  background: var(--ink);
  color: var(--bone);
  padding: .9rem 1.4rem;
  font-size: .82rem;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out);
  max-width: calc(100vw - 2rem);
}
.toast[data-open="true"] { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; stroke: var(--rose-soft); fill: none; stroke-width: 2; }

/* --------------------------------------------------------------------------
   Page header / breadcrumb
   -------------------------------------------------------------------------- */

.crumb { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 .5rem; }

.page-head { padding-block: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: var(--step-3); margin-top: .75rem; }

/* --------------------------------------------------------------------------
   Collection layout: filters + grid
   -------------------------------------------------------------------------- */

.shop { display: grid; grid-template-columns: 210px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; } }

.filters { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 2rem; }
@media (max-width: 900px) { .filters { position: static; } }

.filter-group h3 { font-family: var(--font-body); font-size: .7rem; font-weight: 700;
                   letter-spacing: .18em; text-transform: uppercase; color: var(--ink-45); margin-bottom: .9rem; }
.filter-list { display: grid; gap: .1rem; }
.filter-list button {
  text-align: left; padding: .4rem 0;
  font-size: .88rem; color: var(--ink-70);
  transition: color var(--dur-fast) var(--ease-out);
}
.filter-list button:hover { color: var(--ink); }
.filter-list button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }

.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  min-width: 42px; padding: .45rem .7rem;
  border: 1px solid var(--ink-12);
  font-size: .78rem; text-align: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[disabled] { opacity: .3; text-decoration: line-through; pointer-events: none; }

.shop__bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
             justify-content: space-between; margin-bottom: 1.75rem; }
.shop__count { font-size: .8rem; color: var(--ink-45); }
.sort-select {
  border: 1px solid var(--ink-12);
  background: var(--paper);
  padding: .55rem 2rem .55rem .8rem;
  font-size: .82rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 11px;
}

.no-results { padding: 4rem 1rem; text-align: center; color: var(--ink-45); }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

.pdp__gallery { display: grid; gap: .75rem; }
.pdp__main { aspect-ratio: 3/4; overflow: hidden; background: var(--bone-deep); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }

.pdp__info { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .pdp__info { position: static; } }
.pdp__price { font-size: var(--step-1); margin-top: .75rem; }
.pdp__blurb { margin-top: 1.25rem; color: var(--ink-70); }

.opt-group { margin-top: 1.75rem; }
.opt-group__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.opt-group__head h3 { font-family: var(--font-body); font-size: .7rem; font-weight: 700;
                      letter-spacing: .18em; text-transform: uppercase; }
.opt-group__value { font-size: .82rem; color: var(--ink-45); }

.details-list { margin-top: 2rem; border-top: 1px solid var(--rule); }
.details-list li { padding: .7rem 0 .7rem 1.4rem; border-bottom: 1px solid var(--rule);
                   font-size: .88rem; color: var(--ink-70); position: relative; }
.details-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem;
                           width: 5px; height: 5px; background: var(--rose); border-radius: 50%; }

/* --------------------------------------------------------------------------
   Editorial / legal prose
   -------------------------------------------------------------------------- */

.prose { --stack-gap: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-70); line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--rule); }
.prose th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.accordion { border-top: 1px solid var(--rule); }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion summary {
  list-style: none; cursor: pointer;
  padding: 1.2rem 2.5rem 1.2rem 0;
  position: relative;
  font-weight: 600;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%;
  transform: translateY(-50%); font-size: 1.35rem; color: var(--rose);
  transition: transform var(--dur-fast) var(--ease-out);
}
.accordion details[open] summary::after { content: "−"; }
.accordion .accordion__body { padding-bottom: 1.3rem; color: var(--ink-70); max-width: var(--measure); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  border: 1px solid var(--ink-12);
  background: var(--paper);
  padding: .8rem .9rem;
  font-size: .95rem;
  width: 100%;
}
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field--half { grid-template-columns: 1fr; } }


/* --------------------------------------------------------------------------
   Sport rail — "Built for every game"
   -------------------------------------------------------------------------- */

.sport-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  /* Bleed to the viewport edge on the right, but start flush with the
     centred content column on the left. */
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  overflow-x: auto;
  scroll-snap-type: x proximity;
  /* Snap must respect the leading padding or the first tile clips. */
  scroll-padding-inline-start: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.sport-rail::-webkit-scrollbar { height: 6px; }
.sport-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 3px; }

.sport-tile { scroll-snap-align: start; min-width: 0; }
.sport-tile__media {
  position: relative;
  aspect-ratio: 2 / 5;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 1rem;
}
.sport-tile__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out);
  filter: saturate(.92);
}
.sport-tile:hover .sport-tile__media img { transform: scale(1.06); filter: saturate(1.05); }
.sport-tile__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.55), transparent 45%);
}
.sport-tile h3 {
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--bone);
}
.sport-tile p {
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(247,245,243,.58);
  margin-top: .4rem;
}

@media (max-width: 900px) {
  .sport-rail { grid-auto-columns: minmax(160px, 62vw); }
}

/* --------------------------------------------------------------------------
   Category tiles — collections index
   -------------------------------------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.85rem, 1.6vw, 1.5rem);
  margin-top: 3rem;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  isolation: isolate;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.82) 0%, rgba(10,10,10,.12) 48%, transparent 72%);
}
.cat-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  color: #fff;
}
.cat-card__body h3 { font-size: var(--step-1); }
.cat-card__body span {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: .5rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.cat-card__body svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.cat-card:hover .cat-card__body svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Filter drawer — collections on narrow screens
   -------------------------------------------------------------------------- */

.filter-toggle { display: none; }

@media (max-width: 900px) {
  /* A full screen of filters before the first product is unacceptable on a
     phone or tablet, so the sidebar collapses behind a toggle. */
  .filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--ink);
    padding: .7rem 1.2rem;
    min-height: 44px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .filter-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  .filter-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }

  .filters {
    display: none;
    margin-bottom: 2rem;
    padding: 1.5rem 0 .5rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .filters[data-open="true"] { display: grid; }

  .shop__bar { order: -1; }
}


/* --------------------------------------------------------------------------
   Full-bleed community band
   -------------------------------------------------------------------------- */

.community-band { position: relative; isolation: isolate; }
.community-band img { width: 100%; height: clamp(340px, 52vw, 640px); object-fit: cover; object-position: center 28%; }
.community-band::after {
  content: "";
  position: absolute; inset: 0;
  /* The shirts in this shot are bright and saturated, so the copy needs a
     deeper, taller scrim than a normal image overlay to stay legible. */
  background:
    linear-gradient(to top, rgba(8,8,8,.92) 0%, rgba(8,8,8,.68) 22%, rgba(8,8,8,.18) 52%, transparent 76%);
}
.community-band__copy h2,
.community-band__copy .eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.community-band__copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter);
  color: #fff;
  max-width: var(--max);
  margin-inline: auto;
}
.community-band__copy .eyebrow { color: var(--rose-soft); }
