/** Shopify CDN: Minification failed

Line 549:15 Unexpected "@keyframes"
Line 550:2 Unexpected "0%"
Line 550:37 Unexpected "20%"
Line 550:76 Unexpected "40%"
Line 551:2 Unexpected "60%"
Line 551:42 Unexpected "80%"
Line 551:80 Unexpected "100%"

**/
/* MADDISTRICT — theme.css
   Palette variables are injected from theme settings in layout/theme.liquid */

:root { --gutter: clamp(20px, 4.2vw, 80px); --maxw: 1840px; --ease: cubic-bezier(0.77, 0, 0.18, 1); --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* concrete texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.on-bone :focus-visible { outline-color: var(--black); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--lime); color: var(--black);
  padding: 10px 16px; font-weight: 600; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- layout blocks ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: clamp(72px, 6vw, 120px) 0; } }
.section--bone { background: var(--bone); color: var(--black); }
.section--charcoal { background: var(--charcoal); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: clamp(28px, 3.4vw, 56px);
  padding-bottom: clamp(14px, 1.6vw, 24px); border-bottom: 1px solid rgba(15, 16, 19, 0.25);
}
.section--bone .section-head { border-bottom-color: rgba(240, 235, 224, 0.9); }
.section-title { font-size: clamp(36px, 4.6vw, 80px); line-height: 0.9; }
.section-title sup { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; vertical-align: top; margin-left: 10px; color: var(--grey); }
.link-arrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.section--bone .link-arrow { border-color: var(--black); }
.link-arrow:hover { border-color: var(--lime); color: var(--lime); }
.section--bone .link-arrow:hover { color: var(--black); border-color: var(--black); opacity: 0.6; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
.eyebrow::after { content: ""; width: 56px; height: 2px; background: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 52px;
  border: 1px solid transparent; border-radius: 4px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--black); }
.btn--lime:hover { background: var(--bone); }
.btn--outline { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn--outline:hover { background: var(--bone); color: var(--black); }
.btn--dark { background: var(--black); color: var(--bone); }
.btn--dark:hover { background: var(--charcoal); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- cards & badges ---------- */
.card {
  background: var(--charcoal);
  border: 1px solid rgba(15, 16, 19, 0.25);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--lime); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  padding: 5px 9px; border-radius: 3px;
}

/* ---------- announcement bar ---------- */
.announcement { background: var(--bone); color: var(--black); overflow: hidden; }
.announcement__track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.announcement:hover .announcement__track { animation-play-state: paused; }
.announcement__group { display: flex; flex: none; }
.announcement__item {
  display: flex; align-items: center; padding: 10px 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.announcement__item::after { content: "/"; margin: 0 28px; opacity: 0.35; }
.announcement__item a { text-decoration: none; }
.announcement__item a:hover { text-decoration: underline; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.shopify-section-group-header-group:has(.site-header) { position: sticky; top: 0; z-index: 50; }
.site-header { background: var(--black); border-bottom: 1px solid rgba(15, 16, 19, 0.12); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px;
}
.logo { text-decoration: none; display: inline-flex; align-items: center; }
.logo__text { font-family: var(--font-heading); font-weight: 800; font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; }
.logo img { height: 15px; width: auto; max-height: none; }
@media (min-width: 1000px) { .logo img { height: 21px; } }
.drawer__head .logo__img { height: 15px; width: auto; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current] { border-color: var(--lime); }
.site-header__actions { display: flex; align-items: center; gap: 4px; }
.site-header__burger { order: -1; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit; text-decoration: none;
}
.icon-btn:hover { color: var(--lime); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--lime); color: var(--black); border-radius: 9px;
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.cart-count[data-empty="true"] { display: none; }
.site-header__actions { margin-left: auto; }
.site-header__inner { gap: 6px; }
.logo__text { white-space: nowrap; }
@media (max-width: 999px) { .logo__text { font-size: 24px; } .site-header .container { padding: 0 12px; } }
.site-search { border-top: 1px solid rgba(15, 16, 19, 0.12); padding: 14px 0; }
.site-search form { display: flex; gap: 10px; }
.site-search .input { flex: 1; }
@media (min-width: 1000px) {
  .site-nav { display: block; }
  .site-header__burger { display: none; }
  .site-header__inner { gap: 16px; justify-content: space-between; }
  .site-header__actions { margin-left: 0; }
}

/* drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(86vw, 360px);
  background: var(--black); border-right: 1px solid rgba(15, 16, 19, 0.2);
  padding: 20px; display: flex; flex-direction: column; gap: 24px;
  transform: translateX(-100%); visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer.is-open + .drawer-overlay { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__nav a {
  display: block; padding: 14px 0; text-decoration: none; border-bottom: 1px solid rgba(15, 16, 19, 0.12);
  font-family: var(--font-heading); font-weight: 800; font-size: 28px; text-transform: uppercase;
}
.drawer__nav a:hover { color: var(--lime); }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
body.no-scroll { overflow: hidden; }

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--black); overflow: hidden; }
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__copy { padding: 40px 20px 8px; position: relative; z-index: 2; }
.hero__headline {
  font-style: italic; font-size: clamp(54px, 15vw, 96px); line-height: 0.9; margin: 20px 0 18px;
}
.hero__dot { color: var(--lime); }
.hero__sub { max-width: 440px; color: rgba(15, 16, 19, 0.8); font-size: 17px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__media { position: relative; margin-top: 16px; }
.hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--black), transparent 22%);
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(15, 16, 19, 0.85);
}
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust .icon { color: var(--lime); width: 20px; height: 20px; }
.hero__dots { display: flex; gap: 10px; padding: 18px 20px 24px; }
.hero__dotbtn {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--bone);
}
.hero__dotbtn[aria-current="true"] { background: var(--lime); border-color: var(--lime); }
.hero { --hero-pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.hero__meta, .hero__rail { display: none; }
@media (min-width: 900px) {
  .hero__slide { flex-direction: row; align-items: center; min-height: clamp(640px, 88vh, 940px); }
  .hero__copy { flex: 0 0 52%; padding: 72px 0 110px var(--hero-pad); }
  .hero__headline { font-size: clamp(88px, 9.2vw, 176px); line-height: 0.86; }
  .hero__sub { font-size: clamp(17px, 1.2vw, 21px); max-width: 480px; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 76%; margin: 0; }
  .hero__media img { height: 100%; aspect-ratio: auto; object-position: 62% 10%; }
  .hero__media::after { background: linear-gradient(to right, var(--black) 0%, rgba(240, 235, 224, 0.7) 18%, transparent 52%), linear-gradient(to top, var(--black), transparent 22%); }
  .hero__dots { position: absolute; left: var(--hero-pad); bottom: 36px; padding: 0; z-index: 3; }
  .hero__meta {
    display: flex; align-items: baseline; gap: 10px; position: absolute; z-index: 3;
    right: var(--gutter); bottom: 30px; font-family: var(--font-heading); font-weight: 800; font-size: 28px; letter-spacing: 0.04em;
  }
  .hero__meta span:first-child { color: var(--lime); font-size: 44px; line-height: 1; }
  .hero__meta span:last-child { color: rgba(15, 16, 19, 0.5); }
  .hero__rail {
    display: block; position: absolute; z-index: 3; right: calc(var(--gutter) / 2 - 8px); top: 50%;
    writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
    font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(15, 16, 19, 0.55);
  }
}

/* ---------- marquee band ---------- */
.band { background: var(--charcoal); border-block: 1px solid rgba(15, 16, 19, 0.25); overflow: hidden; }
.band__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__group { display: flex; flex: none; align-items: center; }
.band__item {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); padding: clamp(10px, 1.1vw, 18px) clamp(8px, 1vw, 16px) clamp(10px, 1.1vw, 18px) 0;
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(24px, 2.6vw, 44px); line-height: 1;
  text-transform: uppercase; white-space: nowrap; color: var(--bone);
}
.band__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--bone); }
.band__item::after { content: ""; width: clamp(8px, 0.7vw, 12px); height: clamp(8px, 0.7vw, 12px); background: var(--lime); transform: rotate(45deg); flex: none; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 8px; overflow: hidden; }
.stats__cell { padding: clamp(24px, 3vw, 56px); border-right: 1px solid rgba(15, 16, 19, 0.25); border-bottom: 1px solid rgba(15, 16, 19, 0.25); }
.stats__cell:nth-child(2n) { border-right: 0; }
.stats__cell:nth-last-child(-n + 2) { border-bottom: 0; }
.stats__value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(48px, 6.4vw, 120px); line-height: 0.85; white-space: nowrap; color: var(--lime); text-transform: uppercase; }
.stats__label { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(15, 16, 19, 0.75); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats__cell, .stats__cell:nth-child(2n), .stats__cell:nth-last-child(-n + 2) { border-right: 1px solid rgba(15, 16, 19, 0.25); border-bottom: 0; }
  .stats__cell:last-child { border-right: 0; }
}

/* ---------- collection grid ---------- */
.ctiles { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.ctiles::-webkit-scrollbar { display: none; }
.ctile {
  position: relative; flex: 0 0 52%; scroll-snap-align: start; overflow: hidden; text-decoration: none;
  aspect-ratio: 1 / 1;
}
.ctile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ctile:hover img { transform: scale(1.05); }
.ctile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(240, 235, 224, 0.85), transparent 55%); }
.ctile__label {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1; text-transform: uppercase;
}
.ctile__label .icon { width: 18px; height: 18px; color: #fff; }
@media (min-width: 640px) { .ctile { flex-basis: 30%; } }
.ctile__num {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--bone); background: rgba(240, 235, 224, 0.65); padding: 5px 8px; border-radius: 3px;
}
@media (min-width: 1100px) {
  .ctiles {
    display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 17vw, 340px);
    gap: clamp(12px, 1.2vw, 22px); overflow: visible; padding-bottom: 0;
  }
  .ctile { flex: none; aspect-ratio: auto; grid-column: span 4; }
  .ctile:nth-child(6n + 1) { grid-column: span 5; }
  .ctile:nth-child(6n + 2) { grid-column: span 4; }
  .ctile:nth-child(6n + 3) { grid-column: span 3; }
  .ctile:nth-child(6n + 4) { grid-column: span 3; }
  .ctile:nth-child(6n + 5) { grid-column: span 4; }
  .ctile:nth-child(6n) { grid-column: span 5; }
  .ctile__label { font-size: clamp(20px, 1.6vw, 30px); left: 18px; right: 18px; bottom: 16px; }
  .ctile__label .icon { width: 22px; height: 22px; }
}

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 1.8vw, 34px); } }
.pcard { position: relative; }
.pcard__media {
  position: relative; overflow: hidden; background: #E4D8C4; border-radius: 8px;
  border: 1px solid rgba(240, 235, 224, 0.1); transition: border-color 0.2s;
}
.pcard--dark .pcard__media { background: var(--charcoal); border-color: rgba(15, 16, 19, 0.25); }
.pcard--dark .pcard__media:hover { border-color: var(--lime); }
.pcard--bone .pcard__media:hover { border-color: var(--black); }
.pcard__link { display: block; }
.pcard__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s; }
.pcard__media:hover .pcard__img { transform: scale(1.04); }
.wish {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(15, 16, 19, 0.9); color: var(--black); border: 0; border-radius: 50%;
}
.wish .icon { width: 18px; height: 18px; }
.wish[aria-pressed="true"] { background: var(--black); color: var(--bone); }
.wish[aria-pressed="true"] .icon { fill: currentColor; }
.pcard__info { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.pcard__title { font-family: var(--font-body); font-weight: 600; font-size: clamp(15px, 1.1vw, 18px); text-transform: none; letter-spacing: 0; line-height: 1.3; }
.pcard__title a { text-decoration: none; }
.pcard__title a:hover { text-decoration: underline; }
.price { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.price__was { font-weight: 400; font-size: 14px; opacity: 0.55; }

/* trust row (bone) */
.trust { margin-top: 56px; padding-top: 32px; border-top: 1px solid #D8D2C6; }
.trust__list { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.trust__list::-webkit-scrollbar { display: none; }
.trust__item {
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.trust__item .icon { width: 28px; height: 28px; }
@media (min-width: 900px) {
  .trust__list { justify-content: space-between; overflow: visible; }
}

/* ---------- lookbook ---------- */
.lookbook { overflow: hidden; padding: 0; }
.lookbook__grid { display: grid; align-items: stretch; }
.lookbook__copy { padding: 56px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.lookbook__title { font-size: clamp(88px, 17vw, 300px); line-height: 0.8; margin: 22px 0 20px; }
.lookbook__text { max-width: 440px; color: rgba(15, 16, 19, 0.8); font-size: 17px; margin-bottom: 30px; }
.lookbook__media { position: relative; min-height: 340px; }
.lookbook__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.lookbook__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--black), transparent 35%); pointer-events: none; }
.lookbook__arc {
  position: absolute; z-index: 2; right: 5%; bottom: -16%; width: 30%; aspect-ratio: 1;
  border: 2px solid var(--lime); border-bottom-color: transparent; border-right-color: transparent;
  border-radius: 50%; pointer-events: none;
}
@media (min-width: 900px) {
  .lookbook__grid { grid-template-columns: 5fr 7fr; min-height: clamp(620px, 70vh, 900px); }
  .lookbook__copy { padding: 96px 40px 96px var(--hero-pad); }
  .lookbook__media::after { background: linear-gradient(to right, var(--black), transparent 30%); }
}
.lookbook { --hero-pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }

/* ---------- newsletter ---------- */
.newsletter__inner { display: grid; gap: 28px; align-items: end; }
.newsletter__title { font-size: clamp(44px, 6.4vw, 124px); line-height: 0.86; }
.newsletter__sub { max-width: 520px; margin-bottom: 24px; opacity: 0.75; font-size: 17px; }
.newsletter__form { display: flex; flex-direction: column; gap: 10px; flex-wrap: wrap; }
.newsletter__msg { flex: 0 0 100%; margin-top: 4px; font-weight: 600; }
@media (min-width: 640px) { .newsletter__form { flex-direction: row; } .newsletter__form .input { flex: 1; } }
@media (min-width: 1000px) { .newsletter__inner { grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 120px); } }

/* ---------- forms ---------- */
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 4px;
  background: var(--charcoal); color: var(--bone); border: 1px solid rgba(15, 16, 19, 0.25);
  font: 400 16px var(--font-body);
}
.section--bone .input, .section--bone .select, .section--bone .textarea {
  background: #fff; color: var(--black); border-color: rgba(240, 235, 224, 0.3);
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline-offset: 0; border-color: var(--lime); }
.section--bone .input:focus-visible { border-color: var(--black); outline-color: var(--black); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.form-errors { margin-bottom: 16px; color: #ff8a6b; }
.form-success { margin-bottom: 16px; font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--black); border-top: 1px solid rgba(15, 16, 19, 0.12); padding: 56px 0 24px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
.footer__brand { grid-column: 1 / -1; }
.footer__logo-img { width: min(100%, clamp(220px, 22vw, 360px)); height: auto; margin-bottom: 4px; }
.footer__logo { font-family: var(--font-heading); font-weight: 800; font-size: 36px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__tag { margin-top: 10px; color: rgba(15, 16, 19, 0.75); }
.footer__tag::after { content: ""; display: block; width: 44px; height: 3px; background: var(--lime); margin-top: 12px; }
.footer__social { display: flex; gap: 6px; margin-top: 20px; }
.footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(15, 16, 19, 0.25); transition: border-color 0.2s, color 0.2s;
}
.footer__social a:hover { border-color: var(--lime); color: var(--lime); }
.footer__col h2 { font-size: 20px; margin-bottom: 14px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { text-decoration: none; color: rgba(15, 16, 19, 0.75); font-size: 15px; }
.footer__col a:hover { color: var(--lime); }
.footer__mark {
  margin: clamp(32px, 5vw, 80px) 0 0; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 15vw, 360px); line-height: 0.8; letter-spacing: 0.01em; white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(15, 16, 19, 0.22); user-select: none; overflow: hidden;
  background-image: linear-gradient(90deg, var(--lime) calc(var(--fill, 0) * 100%), transparent calc(var(--fill, 0) * 100%));
  -webkit-background-clip: text; background-clip: text;
}
.footer__bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(15, 16, 19, 0.12);
  font-size: 13px; color: var(--grey);
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer__brand { grid-column: auto; }
}

/* ---------- inner pages ---------- */
.page-head { padding: 48px 0 8px; }
.page-title { font-size: clamp(40px, 7vw, 76px); }
.rte > * + * { margin-top: 1em; }
.rte a { text-decoration: underline; }
.rte h2, .rte h3 { margin-top: 1.4em; font-size: 32px; }
.product { display: grid; gap: 28px; padding: 32px 0 72px; }
.product__gallery { display: grid; gap: 12px; }
.product__gallery img { width: 100%; border-radius: 8px; background: #E4D8C4; }
.product__info { display: flex; flex-direction: column; gap: 18px; align-self: start; }
.product__title { font-size: clamp(36px, 5vw, 60px); }
.product__info .price { font-size: 22px; }
.product__note { color: var(--grey); font-size: 14px; }
@media (min-width: 900px) {
  .product { grid-template-columns: 7fr 5fr; gap: 56px; padding-top: 48px; }
  .product__info { position: sticky; top: 100px; }
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 8px; text-align: left; border-bottom: 1px solid rgba(15, 16, 19, 0.15); vertical-align: middle; }
.table th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.cart-line { display: flex; align-items: center; gap: 14px; }
.cart-line img { width: 72px; border-radius: 6px; }
.qty { width: 84px; }
.cart-summary { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.cart-summary__total { font-family: var(--font-heading); font-weight: 800; font-size: 36px; text-transform: uppercase; }
.stack > * + * { margin-top: 20px; }
.toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 20px; }
.toolbar .select { width: auto; }
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; text-decoration: none;
  border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 4px; font-weight: 600;
}
.pagination a:hover { border-color: var(--lime); }
.pagination .current { background: var(--lime); color: var(--black); border-color: var(--lime); }
.auth { max-width: 460px; margin: 0 auto; padding: 56px 0 96px; }
.auth h1 { font-size: 48px; margin-bottom: 24px; }
.auth__links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 14px; }
.auth__block { margin-bottom: 48px; }
.center { text-align: center; padding: 96px 0; }
.center h1 { font-size: clamp(80px, 22vw, 220px); }
.center p { margin: 16px 0 28px; color: rgba(15, 16, 19, 0.75); }
.article-card { display: block; text-decoration: none; }
.article-card img { border-radius: 8px; margin-bottom: 12px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.article-card h2 { font-size: 28px; }
.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.address { padding: 18px; margin-bottom: 18px; }
.address address { font-style: normal; margin-bottom: 12px; }
.address__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.password-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.password-page h1 { font-size: clamp(54px, 12vw, 120px); margin-bottom: 16px; }

/* ---------- reveal & motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .band__track { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .announcement__track { width: auto; flex-wrap: wrap; }
  .announcement__group[aria-hidden="true"] { display: none; }
}


/* =====================================================================
   MOTION LAYER - intro, kinetic hero, card effects, wipes, grain
   ===================================================================== */

/* ---------- intro (once per session) ---------- */
.intro { display: none; }
.intro-pending body { overflow: hidden; }
.intro-pending .intro {
  display: grid; place-content: center; justify-items: center; gap: 18px;
  position: fixed; inset: 0; z-index: 500; background: var(--black);
  animation: introOut 0.9s var(--ease) 1.55s forwards;
}
.intro__word { overflow: hidden; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 9vw, 150px); line-height: 1; padding: 0.05em 0.1em; }
.intro__word img { width: min(76vw, clamp(280px, 38vw, 620px)); height: auto; }
.intro__word span { display: block; transform: translateY(115%); animation: introIn 0.9s var(--ease) 0.15s forwards; }
.intro__bar { display: block; width: clamp(120px, 14vw, 240px); height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; animation: introBar 0.8s var(--ease) 0.7s forwards; }
@keyframes introIn { to { transform: none; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introOut { to { transform: translateY(-101%); } }

/* ---------- hero: parallax, ken burns, glow, grain ---------- */
.hero__media { transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -10px + var(--sy, 0) * 1px), 0) scale(1.05); will-change: transform; }
.hero__media img { transform: scale(1.12); transition: transform 7.5s var(--ease-out); }
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__slide { transition-duration: 0.9s; }
.hero.is-hover @keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-5%, -2%); } 80% { transform: translate(4%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- kinetic headline ---------- */
.kw {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0.08em 0.1em 0.14em 0.04em; margin: -0.08em -0.1em -0.14em -0.04em;
  transition: color 0.25s, transform 0.35s var(--ease-out);
}
.kc { display: inline-block; }
.js .hero__headline.is-split .kc { transform: translateY(115%); transition: transform 0.95s var(--ease-out); transition-delay: 0s; }
.js .hero.is-ready .hero__slide.is-active .hero__headline.is-split .kc { transform: none; transition-delay: calc(var(--ci) * 30ms + 0.1s); }
.js .hero__headline.is-split .hero__dot { display: inline-block; transform: scale(0); transition: transform 0.7s cubic-bezier(0.34, 1.7, 0.64, 1); }
.js .hero.is-ready .hero__slide.is-active .hero__headline.is-split .hero__dot { transform: scale(1); transition-delay: 0.75s; }
.js .hero__headline.is-split .kw:hover { color: var(--lime); transform: skewX(-7deg) translateX(4px); }

/* ---------- product cards: tilt, second image, quick add ---------- */
.pcard__media { transition: transform 0.6s var(--ease-out), border-color 0.2s; transform-style: preserve-3d; will-change: transform; }
.pcard__media.is-tilting { transition: transform 0.1s linear, border-color 0.2s; }
.pcard__link { position: relative; }
.pcard__img--alt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s var(--ease); }
.pcard__media:hover .pcard__img--alt, .pcard__media:focus-within .pcard__img--alt { opacity: 1; }
.qa {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 12px;
  background: rgba(240, 235, 224, 0.94); color: var(--bone); border-radius: 6px;
  transform: translateY(calc(100% + 14px)); transition: transform 0.5s var(--ease-out);
}
.pcard__media:hover .qa, .pcard__media:focus-within .qa { transform: none; }
.qa__label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; white-space: nowrap; }
.qa__sizes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.qa__size {
  min-width: 38px; height: 34px; padding: 0 9px; border: 1px solid rgba(15, 16, 19, 0.35); border-radius: 4px;
  background: transparent; color: var(--bone); font: 600 12px var(--font-body); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.qa__size:hover, .qa__size:focus-visible { background: var(--lime); border-color: var(--lime); color: var(--black); }
.qa__size[disabled] { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.qa__size.is-added { background: var(--lime); border-color: var(--lime); color: var(--black); }
@media (hover: none) {
  .qa { position: static; transform: none; margin: 0; padding: 6px; border-radius: 0 0 6px 6px; }
  .qa__label { display: none; }
  .qa__sizes { flex-wrap: nowrap; width: 100%; justify-content: stretch; }
  .qa__size { flex: 1 1 0; min-width: 0; height: 32px; padding: 0; }
  .pcard__media { transform: none !important; }
}
.cart-count.bump { animation: bump 0.5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.6); } 100% { transform: scale(1); } }

/* ---------- wipe reveals: a curtain in the section colour slides away (element itself is never clipped,
   so IntersectionObserver keeps working) ---------- */
.js .ctile.reveal, .js .pgrid .reveal { opacity: 1; transform: none; position: relative; }
.js .ctile.reveal::before, .js .pgrid .reveal::before {
  content: ""; position: absolute; inset: -2px; z-index: 6; pointer-events: none;
  background: var(--black); transform-origin: top; transform: scaleY(1);
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 100ms);
}
.js .pgrid .reveal::before { background: var(--bone); inset: -6px; }
.js .ctile.reveal.is-in::before, .js .pgrid .reveal.is-in::before { transform: scaleY(0); }
.js .ctile.reveal img { transform: scale(1.25); transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 100ms); }
.js .ctile.reveal.is-in img { transform: scale(1); }
.js .ctile.reveal.is-in:hover img { transform: scale(1.05); transition-delay: 0s; transition-duration: 0.6s; }
.js .section-head.reveal { transition-duration: 0.9s; transition-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .intro-pending .intro { display: none; }
  .hero__media, .hero__media img { transform: none !important; }
}

/* footer wordmark = the real logo wordmark: dim base, full-strength layer revealed by scroll (--fill from theme.js) */
.footer__mark--logo {
  position: relative; font-size: 0; line-height: 0; background: none; overflow: visible; -webkit-text-stroke: 0;
  margin: clamp(32px, 5vw, 80px) 0 0;
}
.footer__mark--logo img { display: block; width: 100%; height: auto; }
.footer__mark-dim { opacity: 0.16; }
.footer__mark-lit { position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--fill, 0)) * 100%) 0 0); }

/* keep the zooming hero photo inside its frame so no un-faded edge shows during slide changes */
.hero__media { overflow: hidden; }

/* seamless slide change: the new photo fades in over the old one (no dip to black), old copy leaves quickly */
.hero__slide { opacity: 1; visibility: hidden; transition: visibility 0s linear 0.9s; }
.hero__slide.is-active { visibility: visible; z-index: 1; transition-delay: 0s; }
.hero__media { opacity: 0; transition: opacity 0s linear 0.9s; }
.hero__slide.is-active .hero__media { opacity: 1; transition: opacity 0.9s ease; }
.hero__copy { opacity: 0; transition: opacity 0.2s ease; }
.hero__slide.is-active .hero__copy { opacity: 1; transition: opacity 0.5s ease 0.25s; }

@media (min-width: 900px) {
  /* soft transparent left edge: no hard seam can show, however the photo is zooming or shifting */
  .hero__media { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); }
}


/* =====================================================================
   MOBILE-FIRST REFINEMENTS (hero, collections, touch targets)
   ===================================================================== */

/* hero dots: 28px touch area, small visible dot */
.hero__dots { gap: 0; }
.hero__dotbtn { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; position: relative; cursor: pointer; }
.hero__dotbtn::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid var(--bone);
  transition: background-color 0.3s, border-color 0.3s, inset 0.3s;
}
.hero__dotbtn[aria-current="true"] { background: none; border: 0; }
.hero__dotbtn[aria-current="true"]::before { background: var(--lime); border-color: var(--lime); inset: 6px; }

/* trust chips (shown on phones only) */
.hero__chips { display: none; }

/* collection tile text + go button (base) */
.ctile__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ctile__title { display: block; }
.ctile__count { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(15, 16, 19, 0.7); }
.ctile__go { flex: none; display: grid; place-items: center; }

@media (max-width: 899px) {
  /* ---- hero: photo first at a fixed spot (no jumping between slides), copy overlaps its dark fade ---- */
  .hero::before { display: none; }
  .hero__slide { touch-action: pan-y; }
  .hero__media { order: -1; margin: 0; height: clamp(340px, 52svh, 480px); transform: none !important; }
  .hero__media img { height: 100%; aspect-ratio: auto; object-position: 62% 14%; }
  .hero__media::after {
    background: linear-gradient(to top, var(--black) 0%, rgba(240, 235, 224, 0.88) 16%, transparent 58%),
                linear-gradient(to bottom, rgba(240, 235, 224, 0.55), transparent 16%);
  }
  .hero__copy { margin-top: -86px; padding: 0 var(--gutter) 4px; }
  .hero__headline { font-size: clamp(46px, 13.4vw, 74px); line-height: 0.9; margin: 14px 0 12px; }
  .hero__sub { font-size: 15px; max-width: 34ch; }
  .hero__buttons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .hero__buttons .btn { width: 100%; min-height: 50px; }
  .hero__trust { display: none; }
  .hero__dots { padding: 14px 0 0 calc(var(--gutter) - 8px); }
  .hero__chips {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px var(--gutter) 24px;
  }
  .hero__chips li {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
    padding: 12px 6px 11px; text-align: center;
    border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 12px;
    font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(15, 16, 19, 0.9);
  }
  .hero__chips .icon { width: 22px; height: 22px; color: var(--lime); }

  /* ---- touch targets ---- */
  .wish { width: 44px; height: 44px; top: 6px; right: 6px; }
}


@media (hover: none) {
  .qa__size { height: 40px; }
}

/* mobile header rows: let the "view all" link drop below a long title instead of squeezing it */
@media (max-width: 899px) {
  .section-head { flex-wrap: wrap; row-gap: 10px; align-items: flex-end; }
  .section-head .section-title { font-size: clamp(34px, 10.4vw, 52px); }
}


/* =====================================================================
   SHOP BY COLLECTION - compact side-scroll (phones & tablets)
   ===================================================================== */
.ctile--all, .ctiles__bar { display: none; }

@media (max-width: 1099px) {
  .section--tiles { padding: 36px 0 30px; }
  .section--tiles .section-head { margin-bottom: 16px; padding-bottom: 12px; }
  .section-head--tiles .link-arrow { display: none; }

  .ctiles {
    display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 0 var(--gutter) 2px;
    margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ctiles::-webkit-scrollbar { display: none; }
  .ctile, .ctile:nth-child(6n + 1), .ctile:nth-child(6n) {
    flex: 0 0 clamp(128px, 37vw, 190px); width: auto; grid-column: auto; aspect-ratio: 3 / 4; scroll-snap-align: start;
  }
  .ctile::after { background: linear-gradient(to top, rgba(240, 235, 224, 0.92) 0%, rgba(240, 235, 224, 0.35) 45%, transparent 75%); }
  .ctile__num, .ctile:not(.ctile--all) .ctile__go { display: none; }
  .ctile__label { left: 12px; right: 10px; bottom: 12px; align-items: flex-end; }
  .ctile__title { font-size: clamp(18px, 5vw, 24px); line-height: 0.95; }
  .ctile__count { font-size: 10px; }

  /* last card: "all collections" call to action */
  .ctile--all {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 14px; overflow: hidden;
    background: var(--charcoal); text-decoration: none;
  }
  .ctile--all::after { display: none; }
  .ctile--all .ctile__title { position: static; font-size: clamp(16px, 4.4vw, 19px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
  .ctile--all .ctile__go { display: grid; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); }
  .ctile--all .ctile__go .icon { width: 18px; height: 18px; color: var(--black); }

  /* scroll progress line */
  .ctiles__bar { display: block; height: 2px; margin-top: 14px; border-radius: 2px; background: rgba(15, 16, 19, 0.16); position: relative; overflow: hidden; }
  .ctiles__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 2px; background: var(--lime); }
}


/* trust row under the bestsellers: all items visible on phones, no sideways scrolling */
@media (max-width: 899px) {
  .trust { margin-top: 36px; padding-top: 24px; }
  .trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; overflow: visible; }
  .trust__item { flex-direction: column; align-items: center; gap: 8px; text-align: center; white-space: normal; font-size: 10px; line-height: 1.3; }
  .trust__item .icon { width: 26px; height: 26px; }
}


/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */
.pdp { display: grid; gap: 22px; padding-top: 0; padding-bottom: 56px; }
.pdp__gallery { margin: 0 calc(var(--gutter) * -1); min-width: 0; }
.pdp__info { min-width: 0; }

/* ---- gallery: swipe strip on phones, thumbnail column on desktop ---- */
.pgal__stage { position: relative; }
.pgal__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.pgal__track::-webkit-scrollbar { display: none; }
.pgal__track:focus-visible { outline-offset: -3px; }
.pgal__slide {
  flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal);
}
.pgal__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pgal__slide.is-zoom img { transform: scale(1.9); transition-duration: 0.25s; }
.pgal__count {
  position: absolute; right: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px;
  background: rgba(240, 235, 224, 0.72); font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
}
.pgal__nav {
  display: none; position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  background: rgba(240, 235, 224, 0.7); border: 1px solid rgba(15, 16, 19, 0.3); cursor: pointer; place-items: center; color: var(--bone);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pgal__nav:hover { background: var(--lime); border-color: var(--lime); color: var(--black); }
.pgal__nav--prev { left: 14px; }
.pgal__nav--prev .icon { transform: rotate(180deg); }
.pgal__nav--next { right: 14px; }
.pgal__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter) 0; scrollbar-width: none; }
.pgal__thumbs::-webkit-scrollbar { display: none; }
.pgal__thumb {
  flex: 0 0 64px; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; background: var(--charcoal);
  border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 6px; opacity: 0.6; cursor: pointer;
  transition: opacity 0.25s, border-color 0.25s;
}
.pgal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgal__thumb:hover { opacity: 1; }
.pgal__thumb.is-active { opacity: 1; border-color: var(--lime); }

/* ---- info column ---- */
.pinfo { display: flex; flex-direction: column; gap: 18px; }
.pbadges { display: flex; gap: 8px; min-height: 0; }
.pbadges:empty { display: none; }
.pbadges .badge { position: static; }
.ptitle { font-size: clamp(34px, 9vw, 64px); line-height: 0.92; }
.pprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; font-size: 24px; font-weight: 600; }
.pprice__was { font-size: 16px; font-weight: 400; opacity: 0.55; }
.pprice__save { padding: 4px 9px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; align-self: center; }
.pnote { margin-top: -10px; font-size: 13px; color: var(--grey); }
.pform { display: flex; flex-direction: column; gap: 18px; }

.popt { margin: 0; padding: 0; border: 0; min-width: 0; }
.popt legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.popt legend span { color: rgba(15, 16, 19, 0.7); }
.popt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.popt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.popt label {
  position: relative; min-width: 56px; height: 48px; padding: 0 16px; display: grid; place-items: center;
  border: 1px solid rgba(15, 16, 19, 0.3); border-radius: 8px; font-weight: 600; cursor: pointer; overflow: hidden;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.popt label:hover { border-color: var(--bone); }
.popt input:checked + label { background: var(--bone); border-color: var(--bone); color: var(--black); }
.popt input:focus-visible + label { outline: 2px solid var(--lime); outline-offset: 3px; }
.popt label.is-soldout { opacity: 0.45; }
.popt label.is-soldout::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 1px; background: currentColor; transform: rotate(-24deg);
}
.plink {
  align-self: flex-start; min-height: 44px; margin-top: -8px; padding: 8px 0; background: none; border: 0; color: inherit; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px;
}
.plink:hover { color: var(--lime); }
.pstock { margin: -6px 0 -4px; min-height: 18px; font-size: 13px; font-weight: 600; color: var(--lime); }

.pbuy { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; height: 56px; border: 1px solid rgba(15, 16, 19, 0.3); border-radius: 8px; flex: none; }
.qty button { width: 44px; height: 100%; background: none; border: 0; color: inherit; font-size: 20px; cursor: pointer; }
.qty button:hover { color: var(--lime); }
.qty input { width: 38px; height: 100%; padding: 0; text-align: center; background: none; border: 0; color: inherit; font: 600 16px var(--font-body); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pbuy__btn { flex: 1; min-height: 56px; }
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.btn.is-added { background: var(--bone); color: var(--black); }
.pdynamic:empty { display: none; }

.ptrust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.ptrust li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 11px; text-align: center;
  border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 12px;
  font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(15, 16, 19, 0.9);
}
.ptrust .icon { width: 22px; height: 22px; color: var(--lime); }

.pdeliv { padding: 14px; border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 12px; }
.pdeliv__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.pdeliv__label .icon { width: 20px; height: 20px; color: var(--lime); }
.pdeliv__row { display: flex; gap: 8px; }
.pdeliv__row .input { flex: 1; min-width: 0; letter-spacing: 0.12em; }
.pdeliv__row .btn { min-height: 52px; padding-inline: 20px; }
.pdeliv__msg { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 500; }
.pdeliv__msg.is-ok { color: var(--lime); }
.pdeliv__msg.is-error { color: #ff8a6b; }

/* ---- accordions ---- */
.pacc { border-bottom: 1px solid rgba(15, 16, 19, 0.25); }
.pacc__item { border-top: 1px solid rgba(15, 16, 19, 0.25); }
.pacc__h { margin: 0; font-size: inherit; line-height: inherit; }
.pacc__btn {
  width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase;
}
.pacc__btn:hover { color: var(--lime); }
.pacc__ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(15, 16, 19, 0.3); border-radius: 50%; transition: transform 0.4s var(--ease-out), background-color 0.2s, color 0.2s; }
.pacc__ic .icon { width: 16px; height: 16px; }
.pacc__item.is-open .pacc__ic { transform: rotate(135deg); background: var(--lime); border-color: var(--lime); color: var(--black); }
.pacc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.pacc__item.is-open .pacc__panel { grid-template-rows: 1fr; }
.pacc__inner { overflow: hidden; min-height: 0; color: rgba(15, 16, 19, 0.82); font-size: 15px; }
.pacc__item.is-open .pacc__inner { padding-bottom: 20px; }

/* ---- size guide sheet ---- */
.sheet {
  width: min(100%, 560px); max-width: 100%; max-height: 86vh; margin: auto auto 0; padding: 0; overflow: auto;
  background: var(--charcoal); color: var(--bone); border: 1px solid rgba(15, 16, 19, 0.25); border-radius: 16px 16px 0 0;
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.72); }
.sheet[open] { animation: sheetUp 0.45s var(--ease-out); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 0 20px; }
.sheet__head h2 { font-size: 32px; }
.size-table { margin: 6px 0 0; }
.size-table th, .size-table td { padding: 14px 20px; }
.size-table tbody th { color: var(--bone); font-family: var(--font-heading); font-size: 22px; letter-spacing: 0.02em; }
.sheet__note { padding: 14px 20px 22px; font-size: 13px; color: var(--grey); }

/* ---- sticky add-to-cart (phones) ---- */
.pbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(240, 235, 224, 0.96);
  border-top: 1px solid rgba(15, 16, 19, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(105%); transition: transform 0.5s var(--ease-out); visibility: hidden;
}
.pbar.is-on { transform: none; visibility: visible; }
.pbar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pbar__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.pbar__price { font-size: 16px; font-weight: 600; color: var(--lime); }
.pbar__btn { flex: none; min-height: 50px; padding-inline: 24px; }
.template-product .footer { padding-bottom: 96px; }

/* ---- complete the look ---- */
.section--recs { padding-top: 8px; }
.section--recs .precs:empty { display: none; }
.pstrip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-left: var(--gutter); }
.pstrip::-webkit-scrollbar { display: none; }
.pstrip__item { flex: 0 0 clamp(150px, 44vw, 220px); scroll-snap-align: start; }

@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4.5vw, 84px); padding-top: 40px; padding-bottom: 96px; align-items: start; }
  .pdp__gallery { margin: 0; }
  .pgal { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; }
  .pgal__stage { order: 2; }
  .pgal__thumbs { order: 1; flex-direction: column; overflow: visible; padding: 0; }
  .pgal__thumb { flex: none; width: 84px; }
  .pgal__slide { border-radius: 10px; cursor: zoom-in; }
  .pgal__nav { display: grid; }
  .pinfo { position: sticky; top: 96px; }
  .pbar { display: none; }
  .template-product .footer { padding-bottom: 56px; }
  .pstrip { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px); overflow: visible; }
  .pstrip__item { flex: none; }
  .sheet { margin: auto; border-radius: 14px; }
}

/* ---- motion: page-load reveal ---- */
.js .pinfo > *:not(.ptitle) { opacity: 0; animation: pRise 0.9s var(--ease-out) forwards; }
.js .pinfo > *:nth-child(1) { animation-delay: 0.05s; }
.js .pinfo > *:nth-child(3) { animation-delay: 0.22s; }
.js .pinfo > *:nth-child(4) { animation-delay: 0.3s; }
.js .pinfo > *:nth-child(5) { animation-delay: 0.38s; }
.js .pinfo > *:nth-child(6) { animation-delay: 0.46s; }
.js .pinfo > *:nth-child(7) { animation-delay: 0.54s; }
.js .pinfo > *:nth-child(8) { animation-delay: 0.62s; }
.js .pinfo > *:nth-child(9) { animation-delay: 0.7s; }
.js .ptitle { animation: pWipe 1.1s var(--ease) 0.1s both; }
.js .pgal__slide:first-child img { animation: pImg 1.4s var(--ease-out) both; }
@keyframes pRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pWipe { from { clip-path: inset(0 100% 0 0); transform: translateX(-14px); } to { clip-path: inset(0 -4% 0 0); transform: none; } }
@keyframes pImg { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .pinfo > *, .js .ptitle, .js .pgal__slide:first-child img { animation: none !important; opacity: 1 !important; }
  .pacc__panel, .pbar { transition: none; }
}


/* =====================================================================
   PREPAID OFFER + SAFE CHECKOUT
   ===================================================================== */
.poffer {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px;
  border: 1px solid rgba(255, 75, 31, 0.45); background: linear-gradient(180deg, rgba(255, 75, 31, 0.09), rgba(255, 75, 31, 0.03));
}
.poffer__head { display: flex; align-items: center; gap: 12px; }
.poffer__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; }
.poffer__ic .icon { width: 19px; height: 19px; }
.poffer__title { font-size: 23px; line-height: 0.95; }
.poffer__pay { font-size: 15px; font-weight: 600; }
.poffer__save { margin-top: -6px; font-size: 13px; font-weight: 600; color: var(--lime); }
.poffer__code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px;
  border: 1px dashed rgba(15, 16, 19, 0.45); border-radius: 8px; font-size: 13px;
}
.poffer__code code { margin-left: 4px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.14em; color: var(--lime); }
.poffer__copy {
  flex: none; min-height: 38px; padding: 0 16px; border: 1px solid var(--lime); border-radius: 6px; background: none; color: var(--lime); cursor: pointer;
  font: 600 11px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.2s, color 0.2s;
}
.poffer__copy:hover, .poffer__copy:focus-visible { background: var(--lime); color: var(--black); }
.poffer__note { font-size: 12px; color: var(--grey); }


.cart-extras { display: grid; gap: 14px; max-width: 480px; margin: 28px 0 0 auto; }

/* page-load stagger now has more blocks on the product info column */
.js .pinfo > *:nth-child(5) { animation-delay: 0.38s; }
.js .pinfo > *:nth-child(6) { animation-delay: 0.46s; }
.js .pinfo > *:nth-child(7) { animation-delay: 0.54s; }
.js .pinfo > *:nth-child(8) { animation-delay: 0.62s; }
.js .pinfo > *:nth-child(9) { animation-delay: 0.7s; }
.js .pinfo > *:nth-child(n + 10) { animation-delay: 0.78s; }


/* =====================================================================
   BUY NOW
   ===================================================================== */
.btn--bone { background: var(--bone); color: var(--black); }
.btn--bone:hover { background: var(--lime); }
.pbuy__now { width: 100%; min-height: 56px; margin-top: -6px; }
.pbar__btns { display: flex; gap: 8px; flex: none; }
.pbar__btn { padding-inline: 16px; font-size: 12px; letter-spacing: 0.06em; }
@media (max-width: 440px) {
  .pbar { gap: 10px; }
  .pbar__title { display: none; }
  .pbar__price { font-size: 17px; }
}


/* =====================================================================
   BUTTON ROW, SAFE CHECKOUT 2.0, DELIVERY TIMELINE
   ===================================================================== */
/* qty + Add to cart + Buy now on one line */
.pbuy { gap: 8px; align-items: stretch; }
.pbuy .qty { height: 52px; }
.pbuy .qty button { width: 32px; font-size: 18px; }
.pbuy .qty input { width: 26px; }
.pbuy .btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0 8px; font-size: 12px; letter-spacing: 0.05em; }
.pbuy__now { width: auto; margin-top: 0; }
@media (min-width: 900px) {
  .pbuy { gap: 10px; }
  .pbuy .qty { height: 56px; }
  .pbuy .qty button { width: 40px; }
  .pbuy .qty input { width: 34px; }
  .pbuy .btn { min-height: 56px; padding: 0 14px; font-size: 13px; letter-spacing: 0.08em; }
}

/* safe checkout */

/* delivery timeline: only appears after a valid PIN is checked */
.ptrack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 2px; padding: 0; list-style: none; }
.ptrack[hidden] { display: none; }
.ptrack__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; text-align: center; }
.ptrack__step::before {
  content: ""; position: absolute; top: 18px; left: -50%; right: 50%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(15, 16, 19, 0.4) 0 6px, transparent 6px 11px);
}
.ptrack__step:first-child::before { display: none; }
.ptrack__step:nth-child(2)::before { background: linear-gradient(90deg, var(--lime), rgba(15, 16, 19, 0.4)); }
.ptrack__dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--black); border: 1px solid rgba(15, 16, 19, 0.45); }
.ptrack__dot .icon { width: 17px; height: 17px; }
.ptrack__step.is-done .ptrack__dot { background: var(--lime); border-color: var(--lime); color: var(--black); }
.ptrack__name { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ptrack__date { font-size: 12px; line-height: 1.3; color: rgba(15, 16, 19, 0.8); }
.ptrack.is-show .ptrack__step { animation: pRise 0.6s var(--ease-out) both; }
.ptrack.is-show .ptrack__step:nth-child(2) { animation-delay: 0.14s; }
.ptrack.is-show .ptrack__step:nth-child(3) { animation-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .ptrack.is-show .ptrack__step { animation: none; } }


/* trust fixes: seal icon colour, badges as an even row */


/* =====================================================================
   SAFE CHECKOUT (slim): seal + neon badges + neon-bordered logo frame
   ===================================================================== */
.pst { display: flex; flex-direction: column; gap: 12px; }
.pst__head { display: flex; align-items: center; gap: 12px; }
.pst__seal { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 75, 31, 0.14); }
.pst__seal .icon { width: 21px; height: 21px; }
.pst__title { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.13em; line-height: 1.2; }
.pst__sub { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: rgba(15, 16, 19, 0.72); }

.pst__badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pst__badges li {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px;
  border: 1px solid rgba(255, 75, 31, 0.6); background: rgba(255, 75, 31, 0.06);
}
.pst__badges .icon { flex: none; width: 20px; height: 20px; color: var(--lime); }
.pst__btext { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 9px; border-left: 1px solid rgba(15, 16, 19, 0.3); }
.pst__btext b { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.15; text-transform: uppercase; }
.pst__btext i { font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: 0.05em; line-height: 1.15; text-transform: uppercase; color: rgba(15, 16, 19, 0.68); }

.pst__frame {
  position: relative; margin-top: 8px; padding: 18px 8px 8px; border-radius: 14px;
  border: 1px solid rgba(15, 16, 19, 0.35);
}
.pst__label {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--bone); color: var(--black); font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.pst__tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 247px; margin: 0 auto; padding: 0; list-style: none; }
.pst__tile {
  flex: 0 0 58px; aspect-ratio: 237 / 136; display: grid; place-items: center; overflow: hidden; border-radius: 6px;
  background: #000; border: 1px solid rgba(15, 16, 19, 0.35);
}
.pst__tile img, .pst__tile svg { width: 100%; height: 100%; object-fit: contain; }
.pst__text { padding: 0 4px; text-align: center; font-size: 9px; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }
@media (min-width: 900px) { .pst__tiles { max-width: none; } .pst__tile { flex-basis: 54px; } }
.pst__points { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pst__points li { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.4; color: rgba(15, 16, 19, 0.85); }
.pst__points .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--lime); }

/* prepaid offer card: compact version */
.poffer { gap: 6px; padding: 12px; border-radius: 12px; }
.poffer__head { gap: 9px; }
.poffer__ic { width: 26px; height: 26px; }
.poffer__ic .icon { width: 14px; height: 14px; }
.poffer__title { font-size: 17px; line-height: 1; }
.poffer__pay { font-size: 12.5px; line-height: 1.35; font-weight: 500; }
.poffer__save { margin-top: -3px; font-size: 12px; }
.poffer__code { padding: 5px 5px 5px 10px; border-radius: 7px; font-size: 12px; }
.poffer__copy { min-height: 28px; padding: 0 12px; font-size: 10px; }
.poffer__note { font-size: 11px; line-height: 1.3; }

/* pay-securely frame: even, comfortable spacing */
.pst__frame { margin-top: 16px; padding: 24px 12px 14px; }
.pst__tiles { gap: 8px; max-width: 256px; }
@media (min-width: 900px) { .pst__tiles { gap: 8px; max-width: none; } }

/* payment logos: sized by the width of their frame (container query) */
.pst__frame { container-type: inline-size; }
.pst__tiles { max-width: 280px; gap: 8px; }
.pst__tile { flex: 0 0 64px; }
@container (min-width: 400px) {
  .pst__tiles { max-width: 360px; gap: 8px; }
  .pst__tile { flex: 0 0 84px; }
}
@container (min-width: 600px) {
  .pst__tiles { max-width: none; gap: 10px; }
  .pst__tile { flex: 1 1 0; min-width: 0; max-width: 88px; }
}


/* photo viewer */
.pgal__slide { cursor: zoom-in; }
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(240, 235, 224, 0.97); color: var(--bone); overflow: hidden;
}
.lightbox::backdrop { background: #000; }
.lightbox[open] { animation: lbIn 0.35s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 12px 52px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; cursor: default; }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 48px; height: 48px; border: 1px solid rgba(15, 16, 19, 0.35); border-radius: 50%; background: rgba(240, 235, 224, 0.7); }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(15, 16, 19, 0.35); border-radius: 50%; background: rgba(240, 235, 224, 0.7); color: var(--bone);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.lightbox__nav:hover { background: var(--lime); border-color: var(--lime); color: var(--black); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: 12px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }
@media (max-width: 899px) { .lightbox__nav { width: 42px; height: 42px; margin-top: -21px; } }

/* gallery: short fade when jumping to another photo */
.pgal__track.is-switch { animation: pgalSwitch 0.4s var(--ease-out); }
@keyframes pgalSwitch { from { opacity: 0.25; } to { opacity: 1; } }

/* photo viewer: fit the picture inside the screen, lock page scroll while open */
.lightbox__stage { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.lightbox__stage img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
html:has(.lightbox[open]) { overflow: hidden; }

/* ---------- cart drawer ---------- */
.cdrawer-overlay { z-index: 110; }
.cdrawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(100vw, 440px);
  display: flex; flex-direction: column; background: var(--black); color: var(--bone);
  border-left: 1px solid rgba(15, 16, 19, 0.16); box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.45s var(--ease-out), visibility 0.45s;
}
.cdrawer.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease-out), visibility 0s; }
.cdrawer.is-open + .cdrawer-overlay { opacity: 1; visibility: visible; }
.cdrawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 10px 12px 20px; border-bottom: 1px solid rgba(15, 16, 19, 0.12); }
.cdrawer__title { font-size: 28px; line-height: 1; }
.cdrawer__count { color: var(--lime); }
.cdrawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 20px; }

/* free shipping progress */
.cd-ship { padding: 12px 20px 14px; background: var(--charcoal); border-bottom: 1px solid rgba(15, 16, 19, 0.08); }
.cd-ship__msg { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.35; }
.cd-ship__msg .icon { width: 20px; height: 20px; color: var(--lime); }
.cd-ship__msg b { color: var(--lime); font-weight: 600; }
.cd-ship__track { position: relative; height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(15, 16, 19, 0.14); overflow: hidden; }
.cd-ship__track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--lime); border-radius: 2px; transition: width 0.7s var(--ease-out); }
.cd-ship.is-done .cd-ship__track i { background: linear-gradient(90deg, var(--lime), #f4ffb3, var(--lime)); background-size: 200% 100%; animation: cdShine 1.6s linear infinite; }
@keyframes cdShine { from { background-position: 200% 0; } to { background-position: 0 0; } }

.cd-error { margin: 12px 20px 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; background: rgba(158, 74, 44, 0.14); border: 1px solid var(--orange); color: #ffb79c; }

/* line items */
.cd-lines { display: flex; flex-direction: column; }
.cd-line {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid rgba(15, 16, 19, 0.1); transition: opacity 0.25s;
}
.cd-line.is-new { animation: cdIn 0.6s var(--ease-out); }
.cd-line.is-new .cd-line__img { box-shadow: 0 0 0 2px var(--lime); }
@keyframes cdIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.cd-line.is-busy { opacity: 0.6; }
.cd-line.is-removing { opacity: 0.25; pointer-events: none; }
.cd-line__img { display: block; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--charcoal); transition: box-shadow 0.4s; }
.cd-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cd-line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cd-line__title { font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; }
.cd-line__title:hover { color: var(--lime); }
.cd-line__opts { font-size: 12px; color: var(--grey); }
.cd-line__price { font-size: 13px; }
.cd-line__price s { color: var(--grey); }
.cd-line__row { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.cd-qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid rgba(15, 16, 19, 0.3); border-radius: 6px; }
.cd-qty button { width: 34px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 17px; line-height: 1; }
.cd-qty button:hover { color: var(--lime); }
.cd-qty output { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.cd-line__remove { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 12px; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.cd-line__remove:hover { color: var(--orange); }
.cd-line__total { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* empty */
.cd-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0 28px; text-align: center; }
.cd-empty__ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed rgba(15, 16, 19, 0.35); }
.cd-empty__ic .icon { width: 30px; height: 30px; color: var(--lime); }
.cd-empty__title { font-family: var(--font-heading); font-weight: 800; font-size: 26px; text-transform: uppercase; }

/* complete the look */
.cd-ups { margin-top: 22px; }
.cd-ups__title { font-size: 20px; margin-bottom: 12px; }
.cd-ups__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.cd-up { flex: 0 0 142px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.cd-up__img { display: block; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--charcoal); }
.cd-up__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.cd-up:hover .cd-up__img img { transform: scale(1.05); }
.cd-up__title { font-size: 12.5px; font-weight: 600; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-up__price { font-size: 12.5px; color: var(--lime); }
.cd-up__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.cd-up__size {
  min-width: 30px; height: 28px; padding: 0 6px; border-radius: 5px; cursor: pointer;
  background: transparent; border: 1px solid rgba(15, 16, 19, 0.3); font-size: 11px; font-weight: 600;
}
.cd-up__size:hover:not([disabled]) { background: var(--lime); border-color: var(--lime); color: var(--black); }
.cd-up__size[disabled] { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.cd-up__size[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.cd-up__size--wide { width: 100%; }

/* order note */
.cd-note { margin-top: 20px; border-top: 1px solid rgba(15, 16, 19, 0.1); padding-top: 14px; }
.cd-note summary { cursor: pointer; font-size: 13px; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 8px; }
.cd-note summary::-webkit-details-marker { display: none; }
.cd-note summary::before { content: "+"; color: var(--lime); font-size: 18px; line-height: 1; width: 14px; }
.cd-note[open] summary::before { content: "\2212"; }
.cd-note__input { width: 100%; margin-top: 10px; resize: vertical; min-height: 80px; font-size: 16px; }

/* footer */
.cdrawer__foot {
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px;
  background: var(--charcoal); border-top: 1px solid rgba(15, 16, 19, 0.12);
}
.cd-prepaid { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px dashed rgba(255, 75, 31, 0.55); border-radius: 10px; }
.cd-prepaid__ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--black); }
.cd-prepaid__ic .icon { width: 14px; height: 14px; }
.cd-prepaid__text { flex: 1; font-size: 12.5px; line-height: 1.35; }
.cd-prepaid__text b { color: var(--lime); font-weight: 600; }
.cd-prepaid__code {
  flex: none; min-height: 30px; padding: 0 10px; border-radius: 6px; cursor: pointer;
  background: transparent; border: 1px solid var(--lime); color: var(--lime); font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
}
.cd-prepaid__code:hover, .cd-prepaid__code:focus-visible { background: var(--lime); color: var(--black); }
.cd-sum { margin: 0; }
.cd-sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cd-sum dt { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.cd-sum dd { margin: 0; }
.cd-sum__row--disc dd { color: var(--lime); font-weight: 600; }
.cd-sum__total { font-family: var(--font-heading); font-weight: 800; font-size: 30px; line-height: 1; }
.cd-sum__note { font-size: 11.5px; color: var(--grey); margin-top: -4px; }
.cd-checkout__btn { min-height: 54px; gap: 10px; }
.cd-checkout__btn .icon { width: 18px; height: 18px; }
.cd-foot__links { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--grey); }
.cd-foot__links a { color: var(--bone); text-underline-offset: 3px; }
.cd-foot__links a:hover { color: var(--lime); }
.cd-foot__links span { display: inline-flex; align-items: center; gap: 6px; }
.cd-foot__links .icon { width: 15px; height: 15px; color: var(--lime); }
@media (max-width: 380px) { .cd-line { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; } .cdrawer__title { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .cdrawer, .cd-ship__track i { transition: none; }
  .cd-line.is-new, .cd-ship.is-done .cd-ship__track i { animation: none; }
}
