/* ============================================================================
   SPARTAN — spartanwarriorsculpture.com
   Mobile-first. Monochrome. No frameworks.
   ========================================================================== */

:root {
  --bg:            #050505;
  --bg-2:          #0A0A0A;
  --card:          #101010;
  --card-2:        #141414;
  --text:          #F5F5F2;
  --text-2:        #B6B6B0;
  --muted:         #858580;
  --line:          rgba(255,255,255,0.14);
  --line-strong:   rgba(255,255,255,0.40);
  --line-selected: #F5F5F2;
  --btn:           #F4F4F0;
  --btn-text:      #090909;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --pad: 24px;
  --radius: 9px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  --header-h: 96px;
  --sticky-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.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;
}

.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* keep scroll targets clear of the sticky header */
#buy, .bundle-section, .info { scroll-margin-top: calc(var(--header-h) + 16px); }

.eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================ 01 — HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* wordmark-only header — brand mark stacked above the wordmark */
.header--bare {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: auto;
  min-height: var(--header-h);
  padding: 9px 18px 11px;
}

.header__mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.header__mark[hidden] { display: none; }

.header__left, .header__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__right { justify-content: flex-end; }

.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  color: var(--text);
  position: relative;
}
.icon-btn svg { width: 21px; height: 21px; }

.header__logo {
  font-family: var(--display);
  font-weight: 500;
  font-size: 29px;
  line-height: 1;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  text-indent: 0.26em;
  white-space: nowrap;
  margin: 0;
}

.cart-count {
  position: absolute;
  top: 5px; right: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.cart-count[hidden] { display: none; }

/* ==================================================== 02 — HERO CAROUSEL */

.hero { position: relative; background: var(--bg-2); }

.hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero__track::-webkit-scrollbar { display: none; }

.hero__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: var(--ratio-hero, 1 / 1);
  background: #0d0d0d;
}
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 7px;
}
.hero__dots button {
  width: 6px; height: 6px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero__dots button.is-active { background: #fff; transform: scale(1.15); }

/* =================================================== 03 — LIFESTYLE IMAGE */

.lifestyle { display: block; background: var(--bg-2); }
.lifestyle img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio-lifestyle, 2.35 / 1);
  object-fit: cover;
  object-position: center;
}

/* ================================================ 04 — PRODUCT INFORMATION */

.info { padding-top: 30px; }

.info__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 33px;
  line-height: 1.08;
  margin: 0 0 9px;
  letter-spacing: 0.005em;
}

.info__sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 14px;
}

/* review bar */
.reviewbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin: 0 0 14px;
}
.reviewbar[hidden] { display: none; }
.reviewbar__stars {
  color: #F2C14E;
  font-size: 14px;
  letter-spacing: 1.5px;
  line-height: 1;
}
.reviewbar__score {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.reviewbar__meta {
  font-size: 12px;
  color: var(--muted);
}

.info__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 22px;
  max-width: 46ch;
}

.info__from {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}

.order-counter {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 0;
}
.order-counter[hidden] { display: none; }

/* ==================================================== 05 — EDITION CARDS */

.editions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.edition {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 124px;
  padding: 16px 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              transform 120ms var(--ease);
}
.edition:active { transform: scale(0.98); }

.edition input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}

.edition.is-selected {
  border-color: var(--line-selected);
  background: #121212;
  box-shadow: inset 0 0 0 1px var(--line-selected);
}

.edition:has(input:focus-visible) {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* transparent PNG cutouts sit directly on the card — no plate, no crop */
.edition__thumb {
  width: 46px; height: 52px;
  object-fit: contain;
  object-position: center bottom;
  margin-bottom: 4px;
}

.edition__name {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text);
}

.edition__price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.edition__badge {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  background: var(--btn);
  color: var(--btn-text);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.edition.is-soldout { opacity: 0.42; cursor: not-allowed; }
.edition__soldout {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================== 06 — PRIMARY CTA / BUTTONS */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--btn);
  color: var(--btn-text);
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity var(--dur) var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn__arrow { margin-left: auto; display: flex; }
.btn svg { width: 17px; height: 17px; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.cta-block { margin-top: 22px; }

/* ================================================ 07 — SHIPPING / TRUST */

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}
.trust__item { display: flex; align-items: center; gap: 7px; }
.trust__item svg { width: 15px; height: 15px; flex: none; opacity: 0.8; }
.trust__sep { width: 1px; height: 13px; background: var(--line); }

/* ==================================================== 08 — BUNDLE UPSELL */

.bundle-section { margin-top: 34px; }

.bundle {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  grid-template-areas:
    "media body"
    "check check";
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.bundle.is-selected {
  border-color: var(--line-selected);
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.bundle.is-pulsed { animation: bundlePulse 1.4s var(--ease); }
@keyframes bundlePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.30); }
  55%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.bundle__badge {
  position: absolute;
  top: -9px; left: 14px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  padding: 3.5px 9px;
  border-radius: 3px;
}

/* transparent PNG — fills the box with no visible plate behind it */
.bundle__media {
  grid-area: media;
  aspect-ratio: var(--ratio-bundle, 1 / 1);
  display: grid;
  place-items: center;
}
.bundle__media img { width: 100%; height: 100%; object-fit: contain; }

.bundle__body { grid-area: body; min-width: 0; }

.bundle__title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 3px;
  line-height: 1.15;
}
.bundle__contents {
  font-size: 12px;
  color: var(--text-2);
  margin: 0 0 8px;
  line-height: 1.4;
}
.bundle__price {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
}
.bundle__copy {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.bundle__check {
  grid-area: check;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255,255,255,0.02);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bundle.is-selected .bundle__check {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.06);
}

.bundle__check input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}

.checkbox {
  width: 19px; height: 19px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.checkbox svg {
  width: 12px; height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  color: var(--btn-text);
}
.bundle.is-selected .checkbox { background: var(--btn); border-color: var(--btn); }
.bundle.is-selected .checkbox svg { opacity: 1; transform: scale(1); }

.bundle__check-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
}

.bundle__check:has(input:focus-visible) {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* order summary under bundle */
.summary {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--bg-2);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-2);
  padding: 3px 0;
  letter-spacing: 0.04em;
}
.summary__row--total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.summary__row[hidden] { display: none; }

/* ===================================================== 09 — BENEFIT GRID */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit {
  background: var(--bg);
  padding: 22px 14px;
  text-align: center;
}
.benefit svg {
  width: 24px; height: 24px;
  margin: 0 auto 10px;
  color: var(--text);
  opacity: 0.92;
  stroke-width: 1.2;
}
.benefit__title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 0 0 5px;
}
.benefit__copy {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* ============================================ 10 — VISUAL SIZE COMPARISON */

.sizes { padding-top: 36px; }
.sizes__head {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 20px;
}
.sizes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.size-card {
  background: none;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 8px 4px;
  text-align: center;
  color: inherit;
  transition: opacity var(--dur) var(--ease);
}
.size-card:last-child { border-right: 0; }
.size-card img {
  width: 100%;
  aspect-ratio: var(--ratio-sizecard, 3 / 4);
  object-fit: contain;
  margin-bottom: 10px;
}
.size-card__name {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.size-card__price {
  display: block;
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 3px;
}
.size-card.is-selected .size-card__name,
.size-card.is-selected .size-card__price { color: var(--text); }
.size-card:not(.is-selected) { opacity: 0.6; }

/* ================================================= 11 — PRODUCT DETAILS */

.details { padding-top: 36px; }
.details__head {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--text);
}
.acc {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
}
.acc__item + .acc__item { border-top: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}
.acc__sign {
  position: relative;
  width: 12px; height: 12px;
  flex: none;
}
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; background: var(--text-2);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.acc__sign::before { top: 5.5px; left: 0; width: 12px; height: 1px; }
.acc__sign::after  { left: 5.5px; top: 0; width: 1px; height: 12px; }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: rotate(90deg); opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ==================================================== 12 — SOCIAL PROOF */

.social[hidden] { display: none; }
.social { padding-top: 36px; }

/* ============================================================== 13 — FAQ */

.faq { padding-top: 36px; }
.faq__head {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* ============================================= 14 — RELATED / NEXT DROP */

.related { padding-top: 36px; }
.related[hidden] { display: none; }
.related__head {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.related__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.related__track::-webkit-scrollbar { display: none; }
.related__card {
  flex: 0 0 46%;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
}
.related__card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.related__meta { padding: 10px 12px 12px; }
.related__name { font-size: 12px; margin: 0 0 3px; color: var(--text); }
.related__price { font-size: 12px; color: var(--muted); margin: 0; }

/* ================================================ FOOTER */

.footer {
  margin-top: 44px;
  padding: 30px var(--pad) 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer__logo {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-indent: 0.28em;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px; margin: 0 0 16px; padding: 0; list-style: none;
}
.footer__links a {
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.footer__mail { font-size: 11.5px; color: var(--muted); }

/* =============================================== 15 — STICKY BOTTOM BAR */

.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--sticky-h);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5,5,5,0.96);
  border-top: 1px solid rgba(255,255,255,0.15);
  transform: translateY(0);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .sticky { backdrop-filter: blur(12px); }
}
.sticky.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

.sticky__thumb {
  width: 42px; height: 42px;
  border-radius: 5px;
  object-fit: cover;
  background: var(--card);
  flex: none;
}
.sticky__info { min-width: 0; line-height: 1.25; }
.sticky__name {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 40vw;
}
.sticky__price {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.sticky .btn {
  width: auto;
  margin-left: auto;
  min-height: 46px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ==================================================== 16 — CART DRAWER */

.backdrop {
  position: fixed; inset: 0;
  z-index: 70;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}
.backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  transform: translateY(101%);
  transition: transform 280ms var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open { transform: translateY(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}

.drawer__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px;
  flex: 1 1 auto;
}

.drawer__empty {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 0;
}

.line {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line img {
  width: 62px; height: 62px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--card);
}
.line__name {
  font-size: 13px;
  margin: 0 0 2px;
  line-height: 1.3;
}
.line__variant {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.line__price { font-size: 13px; font-weight: 600; white-space: nowrap; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.qty button {
  width: 30px; height: 30px;
  background: none; border: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  display: grid; place-items: center;
}
.qty span { min-width: 26px; text-align: center; font-size: 12.5px; }

.line__remove {
  background: none; border: 0; padding: 6px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* cart upsell */
.cart-upsell {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.cart-upsell[hidden] { display: none; }
.cart-upsell img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.cart-upsell__eyebrow {
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 3px;
}
.cart-upsell__name { font-size: 12.5px; margin: 0 0 2px; }
.cart-upsell__price { font-size: 12.5px; color: var(--text-2); margin: 0; }
.cart-upsell__btn {
  background: var(--btn); color: var(--btn-text);
  border: 0; border-radius: 6px;
  padding: 10px 14px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}

/* free shipping progress */
.ship-progress { margin-top: 18px; }
.ship-progress__label {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 8px;
}
.ship-progress__bar {
  height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.ship-progress__fill {
  height: 100%; width: 0%;
  background: var(--btn);
  transition: width 360ms var(--ease);
}
.ship-progress.is-unlocked .ship-progress__label { color: var(--text); }

.drawer__foot {
  flex: none;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.drawer__subtotal {
  display: flex; justify-content: space-between;
  font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-2);
  margin-bottom: 12px;
}
.drawer__subtotal strong { color: var(--text); font-size: 15px; }
.drawer__note {
  margin: 10px 0 0;
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ============================================================== TOAST */

.toast {
  position: fixed;
  left: 50%; bottom: calc(var(--sticky-h) + 20px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px);
  z-index: 95;
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #141414;
  color: var(--text);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================ DEV BADGE */

.dev-badge {
  position: fixed;
  top: calc(var(--header-h) + 8px); right: 10px;
  z-index: 90;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(20,20,20,0.9);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
}
.dev-badge[hidden] { display: none; }

/* ============================================================ RESPONSIVE */

@media (min-width: 430px) {
  :root { --pad: 28px; }
  .info__title { font-size: 36px; }
}

@media (min-width: 768px) {
  :root { --pad: 40px; }
  .header { padding: 10px 28px 12px; }
  .header__mark { width: 34px; height: 34px; }
  .header__logo { font-size: 33px; letter-spacing: 0.28em; text-indent: 0.28em; }

  .benefits { grid-template-columns: repeat(4, 1fr); }
  .related__card { flex-basis: 30%; }

  .drawer {
    left: auto; right: 0; top: 0; bottom: 0;
    width: 420px;
    max-height: none;
    border-radius: 0;
    border-left: 1px solid var(--line);
    transform: translateX(101%);
  }
  .drawer.is-open { transform: translateX(0); }
}

@media (min-width: 1024px) {
  .pdp {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0 48px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .pdp__media { grid-column: 1; }
  .pdp__buy {
    grid-column: 2;
    position: sticky;
    top: 100px;
    padding-top: 8px;
  }
  .pdp__buy .wrap { padding-left: 0; padding-right: 0; }

  .editorial { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
  .info__title { font-size: 42px; }

  body { padding-bottom: 0; }
  .sticky { display: none; }
}

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