/* ============================================================
   DE VATCHI — pages.css
   Per-page sections: home, shop, product, cart, checkout,
   confirmation, story, journal, contact, faq, 404.
   ============================================================ */

/* ---------- home: hero (video → still) ---------- */
.hero {
  position: relative; min-height: calc(100svh - 72px);
  display: flex; flex-direction: column; justify-content: center;
  color: var(--cream); overflow: hidden;
  /* never blank while the still/video streams in */
  background: radial-gradient(120% 90% at 50% 20%, #4d0a0a 0%, #2b0505 58%, #180202 100%);
}
.hero-media, .hero-media video { position: absolute; inset: -6% 0; width: 100%; height: 116%; }
.hero-media video { object-fit: cover; transform: translate3d(0, var(--px, 0), 0); will-change: transform; transition: opacity .9s var(--ease), filter .9s var(--ease); }
/* still replaces the video once it's finished */
.hero-media .hero-still {
  position: absolute; inset: -6% 0; width: 100%; height: 116%;
  object-fit: cover; transform: translate3d(0, var(--px, 0), 0); will-change: transform;
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero-media .hero-still.show { opacity: 1; }
.hero-media.settled video { opacity: 0; }
/* iris-out reveal around the still */
.hero-iris {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: 50%; background: transparent;
  box-shadow: 0 0 0 0 rgba(30, 0, 0, .9);
  opacity: 0;
}
.hero-iris.open { animation: heroIris 1.25s var(--ease) forwards; }
@keyframes heroIris {
  0% { opacity: 0; box-shadow: 0 0 0 0 rgba(30, 0, 0, .0); }
  25% { opacity: 1; box-shadow: 0 0 0 60vmax rgba(30, 0, 0, .7); }
  55% { opacity: 1; box-shadow: 0 0 0 80vmax rgba(30, 0, 0, .92); }
  100% { opacity: 0; box-shadow: 0 0 0 120vmax rgba(30, 0, 0, .96); }
}
/* film-grain scrim that sits over the media */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .22; mix-blend-mode: overlay;
}
.hero-scrim i {
  position: absolute; left: -10%; width: 120%;
  height: 26%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  animation: grainSweep 9s linear infinite;
}
.hero-scrim i:nth-child(2) { animation-delay: 3s; top: 42%; }
.hero-scrim i:nth-child(3) { animation-delay: 6s; top: 70%; }
@keyframes grainSweep { from { transform: translateX(-30%); } to { transform: translateX(130%); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42, 0, 0, .72), rgba(42, 0, 0, .08) 72%),
              linear-gradient(0deg, rgba(30, 0, 0, .55), transparent 55%);
}
.hero-copy { position: relative; z-index: 2; padding: 120px 0 140px; }
.hero-title { font-size: clamp(64px, 10.5vw, 158px); line-height: .82; margin-bottom: 30px; }
.hero-title .line { display: block; }
/* entrance: each line rises with a sheen wiping through */
.hero-title .line {
  position: relative; overflow: hidden;
}
.hero-title .line-a { opacity: 0; transform: translateX(100%); }
.hero-title .line-b { opacity: 0; transform: translateX(-100%); }
.hero-title .line-a.hero-line-enter {
  animation: heroLineFromRight 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.hero-title .line-b.hero-line-enter {
  animation: heroLineFromLeft 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroLineFromRight {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroLineFromLeft {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-title .line::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(245,238,228,0) 0%, rgba(245,238,228,.5) 50%, rgba(245,238,228,0) 100%);
  transform: translateX(-120%); animation: lineSheen 1.1s var(--ease) forwards; animation-delay: var(--d, 0s);
  opacity: 0;
}
@keyframes lineSheen {
  0% { opacity: 0; transform: translateX(-120%); }
  30% { opacity: .6; }
  100% { opacity: 0; transform: translateX(120%); }
}
.hero-sub { max-width: 420px; font-size: 16px; color: rgba(245, 238, 228, .88); margin-bottom: 40px; }
.hero-ctas { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
/* magnetic CTA + shine sweep */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; height: 100%; width: 40%; left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.shine:hover::after { left: 120%; }
.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245, 238, 228, .75);
}
.scroll-note i { font-style: normal; display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-iris, .hero-scrim i, .hero-title .line::after { animation: none !important; opacity: 0 !important; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--sand); color: var(--ink); overflow: hidden; padding: clamp(10px, 1.8vw, 15px) 0; border-block: 1px solid var(--line-strong); }
.ticker-track { direction: ltr; display: flex; width: max-content; min-width: max-content; animation: ticker 18s linear infinite; animation-play-state: running; will-change: transform; transform: translate3d(0, 0, 0); }
.ticker-track span { display: block; flex: 0 0 auto; white-space: nowrap; padding-right: clamp(32px, 6vw, 84px); font-size: clamp(9px, 1.2vw, 11px); line-height: 1.7; letter-spacing: clamp(.06em, .45vw, .2em); text-transform: uppercase; }
.ticker-track b { font-weight: 400; margin: 0 34px; color: var(--red); }
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- home: intro + stats ---------- */
.intro { padding: 130px 0 40px; }
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: start; }
.intro-grid h2 { font-size: clamp(48px, 6.4vw, 96px); }
.intro-text { max-width: 360px; padding-top: 14px; display: flex; flex-direction: column; gap: 34px; }
.intro-text p { color: rgba(101, 0, 0, .82); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 90px; border-top: 1px solid var(--line); padding-top: 44px; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(52px, 6vw, 92px); line-height: 1; color: var(--red); transition: transform .3s var(--ease), color .3s; }
.stat:hover strong { transform: translateY(-4px) scale(1.02); }
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat { border-left: 1px solid transparent; padding-left: 0; transition: border-color .3s, padding-left .3s var(--ease); }
.stat:hover { border-left-color: var(--red); padding-left: 18px; }

/* ---------- home: featured grid ---------- */
.collection { padding: 130px 0 40px; }
.home-category { padding: 42px 0 34px; }
.home-category .section-head { align-items: end; }
.category-controls { display: flex; gap: 8px; }
.category-controls button, .ads-banner button {
  width: 42px; height: 42px; border: 1px solid var(--line-strong);
  color: var(--red); background: transparent; cursor: pointer; transition: .2s ease;
}
.category-controls button:hover, .ads-banner button:hover { background: var(--red); color: var(--cream); }
.category-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3);
  grid-template-rows: 1fr; gap: 22px; overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory; scrollbar-width: thin; padding: 4px 2px 18px;
}
.category-track .product-card { scroll-snap-align: start; min-width: 0; }
.ads-banner { position: relative; padding-block: 28px; }
.ads-track { position: relative; overflow: hidden; aspect-ratio: 4 / 1; background: var(--sand); }
.ads-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.ads-slide.active { opacity: 1; pointer-events: auto; }
.ads-slide img { width: 100%; height: 100%; object-fit: cover; }
.ads-banner .ads-prev, .ads-banner .ads-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: var(--cream); }
.ads-banner .ads-prev { left: 18px; }
.ads-banner .ads-next { right: 18px; }

/* ---------- product card (shared) ---------- */
.collection-grid, .shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 22px; }
.collection-cta { display: flex; justify-content: center; margin-top: 42px; }
.product-card { position: relative; }
.card-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--sand);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(101, 0, 0, .08), 0 24px 0 rgba(101, 0, 0, .0);
}
.product-card:hover .card-media {
  box-shadow: 0 1px 0 rgba(101, 0, 0, .12), 0 30px 60px -28px rgba(101, 0, 0, .35);
}
/* animated border that draws itself on hover */
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 3px;
  border: 1px solid var(--red);
  clip-path: inset(0 0 100% 0); /* start fully hidden (except none) */
}
.product-card:hover .card-media::after { animation: drawBorder .5s var(--ease) forwards; }
@keyframes drawBorder {
  0% { clip-path: inset(100% 0% 0% 0%); }
  25% { clip-path: inset(0% 0% 0% 100%); }
  50% { clip-path: inset(0% 100% 0% 0%); }
  75% { clip-path: inset(0% 0% 100% 0%); }
  100% { clip-path: inset(0% 0% 0% 0%); }
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s, filter .6s var(--ease); }
.card-media .img-hover { opacity: 0; }
.product-card:hover .img-hover { opacity: 1; }
.product-card:hover .img-main { transform: scale(1.05); }
.product-card:hover .img-main { filter: saturate(1.08) contrast(1.03); }
.card-index {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: var(--cream); background: rgba(39, 17, 14, .35);
  padding: 5px 8px;
}
.card-index { transition: background .3s, color .3s; }
.product-card:hover .card-index { background: var(--red); color: var(--cream); }
.card-arrow {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--cream); color: var(--red); border-radius: 50%;
  opacity: 0; transform: translateY(10px) rotate(-45deg);
  transition: opacity .35s var(--ease), transform .45s var(--ease), background .3s, color .3s;
}
.product-card:hover .card-arrow { opacity: 1; transform: none; }
.product-card:hover .card-arrow { background: var(--red); color: var(--cream); }
.card-meta { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.card-name { font-family: var(--serif); font-size: 21px; line-height: 1.1; transition: color .25s; }
.card-name:hover { color: var(--red); }
.card-price { font-family: var(--mono); font-size: 14px; }
.card-row.sub { font-size: 12px; color: var(--muted); }
.quick-add {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.product-card:hover .quick-add, .product-card:focus-within .quick-add { opacity: 1; transform: none; }
.quick-add > span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quick-sizes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.size-chip {
  min-width: 34px; padding: 7px 8px; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 11px; text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.size-chip:hover { background: var(--red); border-color: var(--red); color: var(--cream); transform: translateY(-1px); }
.size-chip:active { transform: scale(.94); }

/* ---------- home: film + edit + values + quotes + journal ---------- */
.film { position: relative; margin: 130px 0; height: min(88vh, 760px); overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, #2b0505, #4d0a0a); }
.film-media, .film-media video { position: absolute; inset: -8% 0; width: 100%; height: 116%; }
.film-media video { object-fit: cover; transform: translate3d(0, var(--px, 0), 0); will-change: transform; }
.film-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 0, 0, .6), rgba(30, 0, 0, .12) 55%, rgba(30, 0, 0, .3)); }
.film-copy { position: relative; z-index: 2; text-align: center; color: var(--cream); }
.film-copy h2 { font-size: clamp(46px, 7vw, 104px); margin-bottom: 30px; }
.film-time {
  position: absolute; bottom: 24px; right: 4vw; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: rgba(245, 238, 228, .8);
  border: 1px solid rgba(245, 238, 228, .4); border-radius: 999px; padding: 6px 12px;
}

.edit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6vw; align-items: center; padding-bottom: 20px; }
.edit-media { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: linear-gradient(160deg, var(--sand), #cdb99b); border-radius: 3px; }
.edit-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.edit-media:hover video { transform: scale(1.04); }
.edit-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--cream); color: var(--red);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 12px;
  transition: transform .3s var(--ease);
}
.edit-media:hover .edit-tag { transform: translateY(-4px); }
.edit-copy h2 { font-size: clamp(44px, 5.4vw, 82px); margin-bottom: 24px; }
.edit-copy p { max-width: 400px; color: rgba(101, 0, 0, .8); margin-bottom: 34px; }
.edit-copy h2 { position: relative; }
.edit-copy h2::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 44px; height: 2px;
  background: var(--red); transition: width .5s var(--ease);
}
.edit:hover h2::after { width: 96px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 110px 0 20px; }
.value { border-top: 1px solid var(--line-strong); padding-top: 26px; transition: border-color .3s; }
.value i { font-style: normal; font-size: 22px; color: var(--red); display: inline-block; animation: valuePop .6s var(--ease); }
.value:hover i { animation: valuePop .6s var(--ease); }
@keyframes valuePop { 0% { transform: scale(1) rotate(0deg); } 45% { transform: scale(1.35) rotate(-8deg); } 70% { transform: scale(.9) rotate(6deg); } 100% { transform: scale(1); } }
.value strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 12px 0 8px; transition: color .3s; }
.value:hover strong { color: var(--red); }
.value span { font-size: 14px; color: var(--muted); }
.value i::after { content: ""; display: block; width: 0; height: 2px; background: var(--red); transition: width .5s var(--ease); margin-top: 22px; }
.value:hover i::after { width: 100%; }

.quotes { padding: 110px 0 30px; text-align: center; }
.quote-stage { position: relative; min-height: 190px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.quote.active { opacity: 1; transform: none; pointer-events: auto; }
.quote p { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; color: var(--ink); max-width: 860px; margin: 0 auto 26px; background: linear-gradient(90deg, var(--ink), var(--red) 55%, var(--ink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.quote p::before { content: "“"; font-size: .5em; color: var(--red); vertical-align: top; }
.quote cite { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quote cite::before { content: "— "; color: var(--red); }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.quote-dots button { width: 26px; height: 2px; background: rgba(101, 0, 0, .25); transition: background .3s, width .3s; }
.quote-dots button.active { background: var(--red); width: 44px; }

.journal-teaser { padding: 110px 0 20px; }
.journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 22px; }
.journal-card { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid transparent; }
.journal-card::before {
  content: attr(data-index); position: absolute; top: -4px; right: 0;
  font-family: var(--mono); font-size: 12px; color: var(--red);
}
.journal-card { position: relative; }
.journal-card-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); border-radius: 3px; }
.journal-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.journal-card:hover .journal-card-media img { transform: scale(1.05); }
.journal-meta { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.journal-card h3 { font-size: 30px; transition: color .25s; }
.journal-card:hover h3 { color: var(--red); }
.journal-card p { color: var(--muted); font-size: 14px; }
.journal-card:hover { border-top-color: var(--red); border-top: 1px solid var(--red); }

/* ---------- shop ---------- */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-block: 1px solid var(--line); padding: 18px 0; margin-bottom: 8px;
}
.shop-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
#shop-search {
  background: transparent; border: 1px solid var(--line-strong);
  padding: 10px 14px; min-width: 200px; font-size: 14px;
}
#shop-search:focus { outline: none; border-color: var(--red); }
.sort-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
#shop-sort { background: transparent; border: 1px solid var(--line-strong); padding: 10px 12px; font-size: 13px; color: var(--ink); }
.shop-count { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 22px 0 30px; }
.shop-empty { text-align: center; padding: 90px 0; }
.shop-empty p { font-family: var(--serif); font-size: 30px; margin-bottom: 26px; }

/* ---------- product detail ---------- */
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 6vw; padding-bottom: 60px; }
.pdp-grid > div, .pdp-info { min-width: 0; }
.pdp-stage { position: relative; width: 100%; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); border-radius: 3px; }
.pdp-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; max-width: 100%; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.thumb { width: 74px; aspect-ratio: 4 / 5; overflow: hidden; opacity: .55; border: 1px solid transparent; position: relative; transition: opacity .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; box-shadow: 0 0 0 0 var(--red); }
.thumb:hover { transform: translateY(-2px); }
.thumb:hover img { transform: scale(1.08); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.thumb.active, .thumb:focus-within { opacity: 1; border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.thumb:focus-within img { transform: scale(1.08); }
.pdp-info h1 { font-size: clamp(42px, 4.6vw, 66px); margin-bottom: 14px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pdp-rating em { font-family: var(--mono); font-style: normal; font-size: 12px; }
.pdp-reviews { font-size: 12px; color: var(--muted); }
.pdp-price { display: flex; align-items: baseline; gap: 16px; font-family: var(--mono); font-size: 24px; margin-bottom: 24px; }
.pdp-price span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pdp-desc { max-width: 460px; color: rgba(101, 0, 0, .82); margin-bottom: 34px; }
.pdp-block { margin-bottom: 30px; }
.size-label { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 14px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn { min-width: 48px; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; background: transparent; transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .3s; }
.size-btn:hover { transform: translateY(-1px); }
.size-btn:active { transform: scale(.93); }
.size-btn.selected { background: var(--red); border-color: var(--red); color: var(--cream); box-shadow: 0 10px 22px -10px rgba(101, 0, 0, .55); animation: sizePulse .5s var(--ease); }
@keyframes sizePulse { 0% { transform: scale(.92); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
.pdp-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.pdp-buy .qty { flex: none; }
.add-button { flex: 1; }
.pdp-stock { font-size: 12px; color: var(--muted); margin-bottom: 34px; }
.pdp-accordions { border-top: 1px solid var(--line); }
.pdp-accordions details { border-bottom: 1px solid var(--line); transition: background .3s; }
.pdp-accordions details:hover { background: rgba(101, 0, 0, .03); }
.pdp-accordions summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; cursor: pointer;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: color .3s, padding-left .3s var(--ease);
}
.pdp-accordions summary:hover { color: var(--red); padding-left: 4px; }
.pdp-accordions summary::-webkit-details-marker { display: none; }
.pdp-accordions summary::after { content: "+"; font-size: 18px; color: var(--red); transition: transform .3s; }
.pdp-accordions details[open] summary::after { transform: rotate(45deg); }
.pdp-accordions details p, .pdp-details { padding: 0 0 18px; color: rgba(101, 0, 0, .8); font-size: 14px; }
.pdp-details { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.pdp-sku { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-top: 18px; }
.pdp-related { padding: 70px 0 30px; border-top: 1px solid var(--line); }
.payment-instructions {
  display: flex; flex-direction: column; gap: 5px; margin: 16px 0;
  padding: 14px 16px; border: 1px solid var(--line-strong);
  background: rgba(236, 224, 205, .45); font-size: 13px;
}
.payment-instructions span { font-family: var(--mono); color: var(--red); letter-spacing: .08em; }
.transfer-proof small { color: var(--muted); font-size: 11px; }

/* ---------- cart ---------- */
.cart-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5vw; align-items: start; padding-bottom: 40px; }
.cart-lines > .ship-note { margin-bottom: 10px; }
.cart-lines .ship-bar { margin-bottom: 26px; }
.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto auto; gap: 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line);
  transition: background .3s;
}
.cart-line:hover { background: rgba(101, 0, 0, .03); }
.cart-thumb { width: 96px; height: 120px; overflow: hidden; background: var(--sand); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cart-thumb:hover img { transform: scale(1.06); }
.cart-info { display: flex; flex-direction: column; gap: 6px; }
.cart-name { font-family: var(--serif); font-size: 22px; }
.cart-name:hover { color: var(--red); }
.cart-meta { font-size: 12px; color: var(--muted); }
.cart-price { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cart-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-line-end strong { font-family: var(--mono); font-weight: 500; font-size: 15px; }
.cart-remove { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.cart-remove:hover { color: #a3271f; border-color: #a3271f; }
.cart-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.cart-empty { text-align: center; padding: 110px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-mark, .drawer-empty-mark { font-family: var(--serif); font-size: 84px; line-height: 1; color: rgba(101, 0, 0, .18); }
.cart-empty h1 { font-size: clamp(44px, 6vw, 80px); }
.cart-empty p { color: var(--muted); margin-bottom: 14px; }
.promo { display: flex; gap: 10px; }
.promo input { flex: 1; background: transparent; border: 1px solid var(--line-strong); padding: 12px 14px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.promo input:focus { outline: none; border-color: var(--red); }
.checkout-promo { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout-promo label { display: block; margin-bottom: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.checkout-promo .promo-row { display: flex; gap: 10px; }
.checkout-promo .promo-row input { min-width: 0; }
.checkout-promo .promo-row button { white-space: nowrap; }

/* ---------- CMS pages ---------- */
.cms-page { padding-bottom: 90px; }
.cms-lede { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.7; margin-top: 18px; }
.cms-content { max-width: 760px; border-top: 1px solid var(--line); padding-top: 34px; font-size: 17px; line-height: 1.85; color: rgba(101, 0, 0, .86); }
.cms-editor { margin-top: 18px; }
.cms-editor .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cms-editor textarea { resize: vertical; min-height: 180px; }
@media (max-width: 760px) {
  .cms-editor .field-row { grid-template-columns: 1fr; gap: 0; }
  .home-category { padding-block: 28px; }
  .category-track { grid-auto-columns: 82%; gap: 14px; }
  .ads-track { aspect-ratio: 1.7 / 1; }
  .ads-banner .ads-prev { left: 8px; }
  .ads-banner .ads-next { right: 8px; }
}

/* ---------- summary card (cart + checkout) ---------- */
.summary-card { border: 1px solid var(--line-strong); background: rgba(255, 253, 249, .6); padding: 26px; }
.summary-card h3 { font-size: 26px; margin-bottom: 18px; }
.summary-items { list-style: none; margin-bottom: 16px; }
.summary-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-items img { width: 52px; height: 64px; object-fit: cover; }
.si-name { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.15; }
.si-meta { font-size: 11px; color: var(--muted); }
.summary-items span:last-child { font-family: var(--mono); font-size: 13px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; color: rgba(101, 0, 0, .8); }
.summary-row.good { color: #2e6b34; }
.summary-row.total { border-top: 1px solid var(--line-strong); margin-top: 10px; padding-top: 14px; font-family: var(--mono); font-size: 16px; color: var(--ink); }
.summary-trust { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ---------- checkout ---------- */
.checkout { padding-bottom: 60px; }
.co-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5vw; align-items: start; }
.steps { list-style: none; display: flex; gap: 8px; margin-bottom: 40px; }
.steps li { flex: 1; }
.steps button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 12px 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border-top: 2px solid var(--line);
  cursor: default; transition: color .3s, border-color .3s;
}
.steps li.done button { color: var(--red); border-color: var(--red); cursor: pointer; }
.steps li.active button { color: var(--ink); border-color: var(--ink); }
.step-n {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--mono); font-size: 11px;
}
.co-form h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 26px; }
.co-form .full-button { margin: 10px 0 18px; }
.co-form .text-link { color: var(--muted); }
.option-card {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line-strong); padding: 16px 18px; margin-bottom: 12px;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.option-card:hover { border-color: var(--red); }
.option-card:has(input:checked) { border-color: var(--red); background: rgba(101, 0, 0, .05); }
.option-card input { accent-color: var(--red); }
.option-main { flex: 1; display: flex; flex-direction: column; }
.option-main strong { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.option-main span { font-size: 12px; color: var(--muted); }
.option-price { font-family: var(--mono); font-size: 14px; }
.pay-methods { margin-bottom: 22px; }
#card-fields { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 6px; }
.place-order { min-height: 56px; }
.secure-note { display: block; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.co-side { position: sticky; top: 100px; }

/* ---------- confirmation ---------- */
.confirmation { padding-bottom: 70px; }
.conf-hero { text-align: center; padding: 80px 0 60px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.conf-hero h1 { font-size: clamp(46px, 7vw, 96px); }
.conf-hero p { color: rgba(101, 0, 0, .78); }
.conf-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5vw; align-items: start; }
.conf-block { border: 1px solid var(--line-strong); padding: 26px; margin-bottom: 20px; background: rgba(255, 253, 249, .6); }
.conf-block h3 { font-size: 24px; margin-bottom: 14px; }
.conf-block p { font-size: 14px; color: rgba(101, 0, 0, .82); margin-bottom: 8px; }
.track-line { display: flex; justify-content: space-between; position: relative; }
.track-line::before { content: ""; position: absolute; top: 6px; left: 10px; right: 10px; height: 1px; background: var(--line-strong); }
.track-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; flex: 1; }
.track-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line-strong); }
.track-step.done { color: var(--red); }
.track-step.done .track-dot { background: var(--red); border-color: var(--red); }
.conf-side { border: 1px solid var(--line-strong); padding: 26px; background: var(--sand); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.conf-side h3 { font-size: 26px; }
.conf-side p { font-size: 14px; color: rgba(101, 0, 0, .8); }

/* ---------- story ---------- */
.story-hero { position: relative; height: min(82vh, 700px); overflow: hidden; display: grid; place-items: center; color: var(--cream); }
.story-hero-media, .story-hero-media video { position: absolute; inset: -8% 0; width: 100%; height: 116%; }
.story-hero-media video { object-fit: cover; transform: translate3d(0, var(--px, 0), 0); will-change: transform; }
.story-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 0, 0, .65), rgba(30, 0, 0, .18) 60%); }
.story-hero-copy { position: relative; z-index: 2; text-align: center; }
.story-hero-copy .hero-title { margin-bottom: 0; }
.story-intro { padding: 100px 0 30px; }
.story-lede { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.18; max-width: 980px; color: var(--ink); }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; padding: 80px 0 30px; }
.story-split figure { overflow: hidden; }
.story-split img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.story-split figure:hover img { transform: scale(1.04); }
.story-split figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }
.story-copy h2 { font-size: clamp(44px, 5.2vw, 80px); margin-bottom: 26px; }
.story-copy p { color: rgba(101, 0, 0, .82); margin-bottom: 18px; max-width: 460px; }
.story-copy .button { margin-top: 16px; }
.story-quote { text-align: center; padding: 110px 0; background: var(--sand); margin: 70px 0 0; }
.story-quote blockquote { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 58px); line-height: 1.12; color: var(--red); }
.story-quote cite { display: block; margin-top: 26px; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.story-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 90px 0 20px; }
.story-values > div { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.story-values strong { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.story-values p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- journal + article ---------- */
.journal-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5vw; align-items: center; margin-bottom: 80px; }
.j-feature-media { overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--sand); }
.j-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.journal-feature:hover .j-feature-media img { transform: scale(1.05); }
.j-feature-copy h2 { font-size: clamp(40px, 5vw, 72px); margin: 14px 0 18px; transition: color .25s; }
.journal-feature:hover .j-feature-copy h2 { color: var(--red); }
.j-feature-copy p { color: var(--muted); margin-bottom: 22px; }
.article-head { padding: 20px 0 40px; }
.article-head h1 { font-size: clamp(44px, 7vw, 104px); margin-top: 14px; }
.article-hero { overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 54px auto 30px; display: flex; flex-direction: column; gap: 24px; }
.article-body p { font-size: 18px; line-height: 1.7; color: rgba(101, 0, 0, .9); }
.article-body p:first-child::first-letter { font-family: var(--serif); font-size: 58px; line-height: .8; float: left; padding-right: 12px; color: var(--red); }
.article-more { border-top: 1px solid var(--line); padding-top: 60px; margin-top: 40px; }
.article-more h3 { font-size: 34px; margin-bottom: 34px; }

/* ---------- your orders (tracking) ---------- */
.orders-page { padding-bottom: 80px; }
.order-lookup {
  display: flex; gap: 10px; align-items: center;
  max-width: 560px; margin: 0 0 30px;
}
.order-lookup input {
  flex: 1; border: 1px solid var(--line-strong); background: transparent;
  padding: 13px 16px; font-size: 13px; color: var(--ink);
  transition: border-color .25s, background .25s;
}
.order-lookup input:focus { outline: none; border-color: var(--red); background: rgba(101, 0, 0, .04); }
.orders-group-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 12px; margin: 44px 0 26px;
}
.orders-group-head h2 { font-size: clamp(30px, 4vw, 46px); }
.orders-group-head h2 em { font-family: var(--mono); font-style: normal; font-size: .5em; color: var(--muted); }
.orders-group-head span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.orders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.order-card {
  border: 1px solid var(--line-strong); background: rgba(255, 253, 249, .65);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.order-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.order-card.waiting { border-color: rgba(101, 0, 0, .5); }
.order-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.order-id { font-family: var(--mono); font-size: 15px; letter-spacing: .06em; display: block; }
.order-date { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.order-eta { font-size: 13px; color: rgba(101, 0, 0, .82); }
.order-thumbs { display: flex; gap: 12px; list-style: none; flex-wrap: wrap; }
.order-thumbs li { position: relative; }
.order-thumbs img { width: 54px; height: 66px; object-fit: cover; border: 1px solid var(--line); display: block; }
.order-thumbs span {
  position: absolute; right: -7px; top: -9px;
  font-family: var(--mono); font-size: 10px;
  background: var(--red); color: var(--cream);
  border-radius: 999px; padding: 2px 7px;
}
.track-mini { margin: 4px 0 0; }
.track-mini .track-step { font-size: 8px; gap: 8px; }
.order-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto;
}
.order-total { font-size: 13px; color: rgba(101, 0, 0, .8); }
.orders-none { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .orders-grid { grid-template-columns: 1fr; }
  .order-lookup { flex-wrap: wrap; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5vw; align-items: start; padding-bottom: 40px; }
.contact-form .button { margin-top: 8px; }
.contact-info { border: 1px solid var(--line-strong); background: rgba(255, 253, 249, .6); padding: 30px; display: flex; flex-direction: column; gap: 26px; }
.contact-info p { font-size: 14px; color: rgba(101, 0, 0, .82); }

/* ---------- faq ---------- */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer;
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px);
  transition: color .25s;
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { font-size: 22px; color: var(--red); transition: transform .3s; }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-item p { padding: 0 0 24px; color: rgba(101, 0, 0, .8); max-width: 640px; }
.faq-cta { margin: 70px 0 30px; padding: 40px; border: 1px solid var(--line-strong); background: var(--sand); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.faq-cta p { font-family: var(--serif); font-size: 26px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 130px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.nf h1 { font-size: clamp(56px, 9vw, 130px); }
.nf p { color: var(--muted); max-width: 420px; margin-bottom: 12px; }

/* ---------- responsive pages ---------- */
@media (max-width: 980px) {
  .collection-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .edit, .pdp-grid, .cart-grid, .co-grid, .conf-grid, .contact-grid, .story-split, .journal-feature { grid-template-columns: 1fr; }
  .stats, .values, .story-values { grid-template-columns: 1fr; gap: 30px; }
  .cart-side, .co-side { position: static; }
  .film { margin: 90px 0; }
}
@media (max-width: 640px) {
  .collection-grid, .shop-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 90px 0 120px; }
  .cart-line { grid-template-columns: 76px 1fr; grid-template-rows: auto auto; }
  .cart-line .qty { justify-self: start; }
  .cart-thumb { width: 76px; height: 96px; }
  .steps button span:not(.step-n) { display: none; }
  .page-head { padding: 60px 0 30px; }
  #site-footer { margin-top: 90px; }
}

@media (min-width: 981px) {
  .hero-copy { max-width: 1380px; width: var(--container); margin-inline: auto; }
  .pdp-grid { gap: clamp(44px, 5vw, 84px); }
}

@media (min-width: 641px) and (max-width: 980px) {
  .hero-title { font-size: clamp(58px, 9vw, 104px); }
  .hero-copy { padding-block: 100px 120px; }
  .collection, .home-category { padding-top: 88px; }
  .category-track { grid-auto-columns: calc((100% - 22px) / 2); }
  .pdp-info h1 { font-size: clamp(42px, 6vw, 58px); }
  .cart-line { grid-template-columns: 82px 1fr auto; gap: 14px; }
}

@media (max-width: 640px) {
  .page-head h1 { font-size: clamp(48px, 16vw, 72px); }
  .eyebrow { font-size: 9px; margin-bottom: 14px; letter-spacing: .13em; }
  .hero-title { font-size: clamp(48px, 14vw, 76px); line-height: .88; }
  .hero-sub { max-width: 310px; font-size: 14px; }
  .hero-ctas { gap: 14px; }
  .collection { padding: 78px 0 24px; }
  .home-category { padding: 30px 0 22px; }
  .home-category h2 { font-size: clamp(34px, 10vw, 48px); }
  .category-controls button, .ads-banner button { width: 38px; height: 38px; }
  .category-track { grid-auto-columns: 78%; gap: 14px; }
  .card-name { font-size: 18px; }
  .card-price { font-size: 12px; }
  .card-row { gap: 8px; }
  .quick-add { opacity: 1; transform: none; }
  .quick-add > span { font-size: 8px; }
  .pdp { width: calc(100% - 28px); }
  .pdp-grid { width: 100%; gap: 30px; padding-bottom: 36px; }
  .pdp-grid > div, .pdp-info { width: 100%; min-width: 0; }
  .pdp-stage { aspect-ratio: 4 / 5; }
  .pdp-info h1 { font-size: clamp(40px, 12vw, 56px); overflow-wrap: anywhere; }
  .pdp-rating { margin-bottom: 16px; }
  .pdp-price { font-size: 20px; margin-bottom: 18px; }
  .pdp-desc { max-width: none; margin-bottom: 24px; }
  .pdp-block { margin-bottom: 24px; }
  .size-chart-trigger { max-width: 100%; overflow: hidden; }
  .size-chart-trigger img { max-height: 260px; }
  .pdp-buy { flex-wrap: wrap; }
  .pdp-buy { width: 100%; gap: 8px; }
  .pdp-buy .add-button { min-width: 0; flex: 1 1 170px; }
  .pdp-buy .wish-pdp { flex: 1 1 170px; min-width: 0; }
  .size-btn { min-width: 44px; height: 44px; }
  .cart-line { gap: 12px; }
  .cart-name { font-size: 18px; }
  .cart-line-end { grid-column: 2; align-items: flex-start; flex-direction: row; justify-content: space-between; width: 100%; }
  .faq-cta { padding: 24px 18px; margin-top: 48px; }
  .faq-cta p { font-size: 22px; }
}
/* ============================================================
   NEW — breadcrumbs, SKU, colour swatches, stock states,
   wishlist, recently viewed, size-guide modal, cart motion
   ============================================================ */

/* ---------- breadcrumbs (product page) ---------- */
.breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 26px 0 30px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.breadcrumbs a { color: var(--muted); transition: color .25s; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .bc-cat { color: rgba(101, 0, 0, .75); }
.breadcrumbs em { font-style: normal; color: var(--red); }
.breadcrumbs .bc-sep { opacity: .45; }
html[dir="rtl"] .breadcrumbs { direction: rtl; }

/* ---------- SKU ---------- */
.pdp-sku {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.pdp-sku span { color: var(--red); }

/* ---------- price ---------- */
.pdp-price .pdp-amount { font-size: 26px; }

/* ---------- colour swatches ---------- */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  background: var(--sw, #ccc); border: 2px solid var(--line-strong);
  box-shadow: inset 0 0 0 2px var(--bg, var(--cream));
  transition: transform .25s var(--ease), box-shadow .25s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.selected {
  border-color: var(--red);
  transform: scale(1.08);
  animation: sizePulse .5s var(--ease);
}
.color-tag {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; direction: ltr; unicode-bidi: embed;
}
.color-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--line-strong); flex: none; vertical-align: middle;
}


/* ---------- stock states ---------- */
.stock-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-inline-end: 2px; vertical-align: middle;
  animation: stockBreath 2.4s ease-in-out infinite;
}
@keyframes stockBreath { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pdp-stock.stock-in { color: #2e6b3f; }
.pdp-stock.stock-low { color: #a2620a; }
.pdp-stock.stock-out { color: #8f1f1f; }
.pdp-stock.stock-out .stock-dot { animation: none; }

/* card badges (sold out / low) */
.card-out, .card-low {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 8px; background: rgba(12, 10, 8, .78); color: #f5eee4;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card-low { background: rgba(162, 98, 10, .92); }
.card-out { background: rgba(143, 31, 31, .92); }
.product-card:hover .card-out, .product-card:hover .card-low { opacity: 1; transform: none; }

/* ---------- wishlist hearts ---------- */
.wish-fab {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; font-size: 15px; line-height: 1; cursor: pointer;
  background: rgba(245, 238, 228, .92); color: rgba(101, 0, 0, .55);
  border: 1px solid var(--line);
  opacity: 0; transform: translateY(-6px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .25s, background .25s;
}
.product-card:hover .wish-fab, .wish-fab.active, .wish-fab:focus-visible { opacity: 1; transform: none; }
.wish-fab:hover { transform: scale(1.12); }
.wish-fab.active { color: #c22525; background: #fff4f2; animation: heartPop .45s var(--ease); }
@keyframes heartPop { 0% { transform: scale(.7); } 55% { transform: scale(1.25); } 100% { transform: scale(1); } }

.wish-pdp {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line-strong); padding: 0 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(101, 0, 0, .7); background: transparent; white-space: nowrap;
  transition: color .25s, border-color .25s, background .25s, transform .2s var(--ease);
}
.wish-pdp:hover { transform: translateY(-1px); border-color: var(--red); }
.wish-pdp .wish-heart { font-size: 15px; transition: transform .3s var(--ease); color: currentColor; }
.wish-pdp:hover .wish-heart { transform: scale(1.2); }
.wish-pdp.active { color: #c22525; border-color: rgba(194, 37, 37, .5); background: rgba(194, 37, 37, .06); }
.wish-pdp.active .wish-heart { animation: heartPop .45s var(--ease); }

/* ---------- image zoom (PDP stage) ---------- */
.pdp-stage { overflow: hidden; }
.pdp-stage img { transition: transform 1.1s var(--ease); will-change: transform; }
.pdp-stage:hover img { transform: scale(1.05); }

/* ---------- size guide button + modal ---------- */
.size-guide-btn { text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.inline-size-guide { margin-top: 18px; overflow-x: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.inline-size-guide-title { margin-bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.inline-size-guide .size-guide-table > div { min-width: 430px; }
.pants-size-guide-image { display: block; width: 100%; max-width: 620px; height: auto; margin: 16px 0 8px; border: 1px solid var(--line); }
.size-guide-wrap { margin-top: 14px; }
.size-guide-wrap .size-guide-table.head {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); border-bottom: 1px solid var(--line-strong); background: rgba(101, 0, 0, .045);
}
.size-guide-table { padding: 0; }
.size-guide-table > div {
  display: grid; grid-template-columns: repeat(5, minmax(62px, 1fr)); gap: 8px;
  min-width: 310px; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 13px;
  direction: rtl; text-align: center; align-items: center;
}
.size-guide-table:not(.head) > div:nth-child(even) {
  background: rgba(255, 255, 255, .38);
}
.size-guide-table:not(.head) > div > span:first-child {
  font-family: var(--mono); font-weight: 700; color: var(--red);
}
.size-guide-table.head > div { border-bottom: none; }
.size-guide-table:last-child > div { border-bottom: none; }
.modal-title { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; }

/* ---------- recently viewed + wishlist page ---------- */
.pdp-recent { margin-top: 90px; }
.wishlist-page { min-height: 60vh; }
.wishlist-page .shop-count { margin-bottom: 34px; }

/* ---------- cart motion ---------- */
.summary-row.total span:last-child { animation: totalPulse .55s var(--ease); }
@keyframes totalPulse { 0% { opacity: .35; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
.cart-line .color-dot { margin-inline-end: 4px; }

/* fly-to-bag dot (created from JS on add-to-bag) */
.fly-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); box-shadow: 0 6px 18px -4px rgba(101, 0, 0, .6);
  transform: translate(0, 0) scale(1); opacity: .9;
  transition: transform .7s cubic-bezier(.5, -0.1, .75, .4), opacity .7s ease;
}

@media (max-width: 640px) {
  .breadcrumbs { padding: 18px 0 22px; font-size: 10px; }
  .wish-fab { opacity: 1; transform: none; } /* touch: always visible */
  .pdp-buy { flex-wrap: wrap; }
  .wish-pdp { flex: 1; justify-content: center; padding: 13px 10px; }
}

.size-chart-trigger {
  display: block; width: 100%; margin-top: 18px; padding: 0;
  overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(236,224,205,.5));
  color: inherit; text-align: start; cursor: zoom-in;
  box-shadow: 0 10px 26px rgba(55, 38, 25, .07);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.size-chart-trigger:hover { border-color: var(--red); box-shadow: 0 14px 32px rgba(55, 38, 25, .13); transform: translateY(-2px); }
.size-chart-trigger > span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px 10px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--red);
}
.size-chart-trigger > span::after { content: '↗'; font-size: 16px; letter-spacing: 0; }
.size-chart-trigger img {
  display: block; width: calc(100% - 24px); height: 220px; margin: 0 12px;
  object-fit: contain; border-radius: 8px; background: #fff;
}
.size-chart-trigger small {
  display: block; padding: 10px 16px 14px; color: var(--muted);
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
}
.size-chart-lightbox {
  width: min(1100px, 94vw); max-width: 94vw; max-height: 92dvh; overflow: auto;
  padding: 14px; border: 0; border-radius: 16px; background: #f8f5ef; color: #222;
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
}
.size-chart-lightbox::backdrop { background: rgba(30, 20, 15, .78); }
.size-chart-lightbox img { display: block; width: 100%; height: auto; margin-top: 10px; border-radius: 9px; }
.size-chart-lightbox button { position: sticky; top: 0; z-index: 1; float: right; background: #fff; color: #222; }

@media (max-width: 640px) {
  .size-chart-trigger > span { padding: 12px 13px 9px; font-size: 9px; }
  .size-chart-trigger img { height: 170px; width: calc(100% - 16px); margin-inline: 8px; }
  .size-chart-trigger small { padding: 8px 13px 12px; font-size: 8px; }
  .size-guide-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
  .size-guide-table > div { min-width: 340px; }
}

.product-prices{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.45em}.price-old{font-size:.78em;opacity:.6;font-weight:400;text-decoration:line-through}.price-current{font-weight:600}.card-price .product-prices{justify-content:flex-end}.pdp-amount .product-prices{gap:.4em}

.size-btn:disabled,.size-chip:disabled {opacity:.35;cursor:not-allowed;text-decoration:line-through;}

/* Order lookup and prominent post-checkout instructions */
.customer-orders-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:28px;border:1px solid var(--line,#d6d4cf);border-radius:16px;margin:24px 0 36px;max-width:850px;background:var(--paper,#faf8f3)}
.customer-orders-form .field{display:grid;gap:9px;min-width:0}
.customer-orders-form input{width:100%;box-sizing:border-box;padding:14px;border:1px solid #aaa;border-radius:6px;background:transparent;color:inherit;font:inherit}
.customer-orders-form [role=status]{grid-column:1/-1;margin:0}
.lookup-items{list-style:none;padding:18px 0;margin:0}.lookup-items li{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-bottom:1px solid #ddd}.lookup-items span{font-size:13px}
.order-follow-callout{display:flex;gap:24px;padding:32px;margin:12px 0 40px;border:2px solid #c4a45b;border-radius:18px;background:linear-gradient(125deg,#fff8df,#f5edda);color:#24221d;box-shadow:0 12px 35px #af884b22}
.follow-order-icon{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:50%;background:#24221d;color:#f9e6ac;font-size:28px}
.order-follow-callout h2{font-size:clamp(25px,4vw,38px);margin:6px 0 14px}.order-follow-callout p{line-height:1.8}.order-follow-callout dl{display:flex;flex-wrap:wrap;gap:18px 35px;margin:20px 0}.order-follow-callout dt{font-size:12px;margin-bottom:6px}.order-follow-callout dd{font-weight:700;margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.customer-orders-form{grid-template-columns:1fr;padding:20px}.order-follow-callout{padding:22px;gap:14px;flex-direction:column}.order-follow-callout .button{width:100%;box-sizing:border-box}.order-follow-callout dl{flex-direction:column}}

/* Keep the moving strip anchored left; each message has its own reading direction. */
.ticker { direction:ltr; }
.ticker-track > span { direction:ltr; unicode-bidi:isolate; }
html[dir="rtl"] .ticker-track > span { direction:rtl; text-align:right; }


/* Equal, viewport-wide halves keep even short edited text looping without gaps. */
.ticker-group{display:flex;align-items:center;justify-content:space-around;flex:0 0 auto;min-width:100vw;box-sizing:border-box}
.ticker-group>span{unicode-bidi:isolate;padding-inline:32px;flex:0 0 auto}
.ticker-track{animation: ticker 24s linear infinite !important;animation-play-state:running !important}
.ticker-paused .ticker-track{animation-play-state:paused !important}
.ticker-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);z-index:2;border:1px solid var(--line-strong);border-radius:50%;background:var(--sand);color:var(--ink);width:30px;height:30px;cursor:pointer}

.deposit-summary,.deposit-notice{padding:20px;background:#fff6dc;color:#30260f;border:1px solid #d5b565;border-radius:12px;margin:16px 0;line-height:1.8}.deposit-summary h3{margin:0 0 12px}.deposit-summary .summary-row{gap:15px}
.meta-consent-banner{position:fixed;bottom:14px;left:14px;right:14px;max-width:650px;margin:auto;z-index:10000;background:#fff;color:#222;box-shadow:0 4px 30px #0003;border:1px solid #bbb;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.meta-consent-banner p{margin:0;flex:1 1 250px}

/* One cash-on-delivery option contains the deposit methods and receipt. */
.cod-payment-option{min-width:0;margin:0 0 20px;padding:20px;border:2px solid #b49857;border-radius:14px;background:#fffdf6;color:#29251b}
.cod-payment-option legend{padding:0 10px;font-size:20px;font-weight:700}.cod-payment-option legend label{display:flex;align-items:center;gap:10px}.cod-payment-option legend input{accent-color:#79622c}
.cod-explanation{line-height:1.9;margin:8px 0 18px}.cod-method-heading{font-weight:700;margin:18px 0 12px}.cod-payment-option .deposit-summary{margin:12px 0}.cod-payment-option .option-card{background:#fff;color:#29251b}.cod-payment-option .option-main span{direction:ltr;unicode-bidi:isolate}.cod-payment-option .payment-instructions{overflow-wrap:anywhere}
@media(max-width:600px){.cod-payment-option{padding:14px}.cod-payment-option legend{font-size:18px}.cod-transfer-methods{display:grid;grid-template-columns:1fr}}

.meta-consent-banner{left:auto;right:16px;bottom:16px;width:calc(100% - 32px);max-width:360px;box-sizing:border-box;padding:12px;gap:8px;border-radius:10px;box-shadow:0 4px 16px #0002}.meta-consent-banner p{flex-basis:100%;font-family:Arial,sans-serif;font-size:13px;line-height:1.6}.meta-consent-banner .mini-btn{font-size:12px;padding:6px 12px;min-height:36px}.admin-deposit-cell{min-width:210px}.admin-deposit-cell .mini-btn{display:block;margin:6px 0}
