/* ==========================================================================
   ARIZOO — PAGES
   Section-level composition for Home, Shop, Product and Cart.
   ========================================================================== */

/* --------------------------------------------------------------------------
   PRELOADER — the gallery lights coming up
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--c-void);
  transition: opacity var(--d-fluid) var(--e-out), visibility var(--d-fluid);
}

.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__mark {
  width: min(280px, 60vw);
  filter: drop-shadow(0 0 40px rgba(217, 182, 92, 0.2));
  animation: mark-in 1.1s var(--e-out) both;
}

.preloader__bar {
  width: min(280px, 60vw);
  height: 1px;
  background: var(--c-line);
  margin-block-start: var(--s-5);
  overflow: hidden;
}

.preloader__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--g-gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: bar-fill 1.2s var(--e-out) forwards;
}

@keyframes mark-in {
  from { opacity: 0; transform: scale(0.92); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes bar-fill {
  to { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   HERO — the brand banner, full bleed
   The supplied banner already carries the wordmark, the stadium and the kit,
   so it runs edge to edge as the hero itself. A scrim rises from the floor of
   the image to carry the copy without hiding the artwork above it.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-bg);
  isolation: isolate;
}

/* The banner keeps its own proportions instead of being cover-cropped into a
   tall box — at 2.4:1 a crop swallowed the artwork and pushed the wordmark
   straight under the headline. */
.hero__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1942 / 809;
  max-height: 62vh;
  overflow: hidden;
}

.hero__banner {
  position: absolute;
  inset: 0;
  display: block;
}

.hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor to the top so the banner's own wordmark stays in the upper band,
     clear of the copy that sits beneath it. */
  object-position: center;
  filter: grayscale(1) brightness(0.78) contrast(1.05);
}

/* Reads as clear artwork down to roughly mid-height, then closes to solid so
   the headline never sits on top of the banner's own lettering. */
/* Feathers the artwork into the page floor so the band has no hard edge */
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(10, 10, 12, 0.30) 0%,
      rgba(10, 10, 12, 0.06) 30%,
      rgba(10, 10, 12, 0.10) 62%,
      rgba(10, 10, 12, 0.72) 88%,
      var(--c-bg) 100%),
    linear-gradient(to right,
      var(--c-bg) 0%, rgba(10, 10, 12, 0) 14%,
      rgba(10, 10, 12, 0) 86%, var(--c-bg) 100%);
}

.hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-4);
  padding-block: clamp(28px, 4vw, 52px) clamp(48px, 6vw, 84px);
}

.hero__title {
  font-size: var(--t-d1);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 300;
  max-width: 16ch;
}

body[dir='rtl'] .hero__title { line-height: 1.18; letter-spacing: -0.01em; font-weight: 800; max-width: 20ch; }

.hero__title em {
  font-style: italic;
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

body[dir='rtl'] .hero__title em { font-style: normal; }

.hero__inner .lede { text-align: center; max-width: 56ch; }

.hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; justify-content: center; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block-start: var(--s-5);
  margin-block-start: var(--s-2);
  border-block-start: 1px solid var(--c-line);
  flex-wrap: wrap;
  width: min(680px, 100%);
}

.hero__stat-n {
  font-family: var(--f-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}

body[dir='rtl'] .hero__stat-n { font-family: var(--f-body); font-weight: 700; }

.hero__stat-l {
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-block-start: 6px;
}

body[dir='rtl'] .hero__stat-l { letter-spacing: 0; text-transform: none; font-size: var(--t-xs); }

.hero__scroll {
  position: absolute;
  inset-block-end: var(--s-4);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  z-index: 2;
  color: var(--c-text-3);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body[dir='rtl'] .hero__scroll { letter-spacing: 0; text-transform: none; font-size: var(--t-xxs); }

.hero__scroll i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scroll-pulse 2.2s var(--e-in-out) infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* On a light gallery wall the banner shows as printed artwork instead */
[data-theme='light'] .hero__banner img { filter: grayscale(1) brightness(1.04) contrast(1.04); }

[data-theme='light'] .hero__scrim {
  background:
    linear-gradient(to bottom,
      rgba(247, 246, 243, 0) 0%,
      rgba(247, 246, 243, 0) 62%,
      rgba(247, 246, 243, 0.70) 88%,
      var(--c-bg) 100%),
    linear-gradient(to right,
      var(--c-bg) 0%, rgba(247, 246, 243, 0) 14%,
      rgba(247, 246, 243, 0) 86%, var(--c-bg) 100%);
}

/* --------------------------------------------------------------------------
   MARQUEE — legend names
   -------------------------------------------------------------------------- */
.marquee {
  padding-block: var(--s-5);
  border-block: 1px solid var(--c-line);
  overflow: hidden;
  background: var(--c-void);
}

.marquee__track {
  display: flex;
  gap: var(--s-7);
  white-space: nowrap;
  animation: ticker 34s linear infinite;
  will-change: transform;
}

body[dir='rtl'] .marquee__track { animation-direction: reverse; }

.marquee__word {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  transition: color var(--d-base) var(--e-out), -webkit-text-stroke-color var(--d-base) var(--e-out);
  display: inline-flex;
  align-items: center;
  gap: var(--s-7);
}

.marquee__word::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  flex: none;
  opacity: 0.55;
}

.marquee__track:hover .marquee__word { -webkit-text-stroke-color: var(--c-gold); }

[data-theme='light'] .marquee__word { -webkit-text-stroke-color: rgba(20, 19, 15, 0.28); }

/* --------------------------------------------------------------------------
   CAROUSEL — the circular shirt ring
   Cards sit absolutely on an invisible ellipse; JavaScript writes each one's
   translate3d / rotateY / scale every frame. The viewport supplies the
   perspective and clips the arc at its edges.
   -------------------------------------------------------------------------- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.carousel__viewport {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: pan-y;            /* the page still scrolls vertically */
  padding-block: var(--s-4);
}

.carousel__viewport:active { cursor: grabbing; }

.carousel__viewport:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
  border-radius: var(--r-md);
}

.carousel__track {
  position: relative;
  height: var(--ring-h, 460px);
  transform-style: preserve-3d;
}

/* Every card is pinned to the centre; the transform carries it to its place */
.carousel__track > * {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  width: var(--ring-card, 280px);
  margin-inline-start: calc(var(--ring-card, 280px) / -2);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, opacity;
  /* No CSS transition, deliberately. JavaScript eases transform and opacity
     every frame from the card's distance to the front; the cards also carry
     [data-reveal], whose 700ms transition would otherwise animate each of
     those per-frame writes and leave the arc permanently mid-fade. */
  transition: none;
}

/* The card at the front is the one being offered; the rest are context. */
.carousel__track > *:not([data-front]) .pcard { box-shadow: none; }

.carousel__track > *[data-front] .pcard {
  border-color: var(--c-line-gold);
  box-shadow: var(--sh-3);
}

/* Images must not swallow the drag gesture */
.carousel__track img { pointer-events: none; }

.carousel__nav {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-text-2);
  z-index: 2;
  transition: color var(--d-fast) var(--e-out),
              border-color var(--d-fast) var(--e-out),
              background var(--d-fast) var(--e-out),
              transform var(--d-fast) var(--e-out);
}

.carousel__nav:hover {
  color: var(--c-gold);
  border-color: var(--c-line-gold);
  background: var(--c-surface-2);
  transform: scale(1.06);
}

.carousel__nav svg { width: 20px; height: 20px; }

/* One chevron glyph, mirrored for the other direction and again for RTL */
.carousel__nav--prev svg { transform: scaleX(-1); }
body[dir='rtl'] .carousel__nav--prev svg { transform: none; }
body[dir='rtl'] .carousel__nav--next svg { transform: scaleX(-1); }

@media (max-width: 900px) {
  .carousel__nav { display: none; }        /* swipe is the gesture here */
  .carousel__viewport { perspective: 1100px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track > * { transition: none; }
  .carousel__viewport { perspective: none; }
}

/* --------------------------------------------------------------------------
   CLUB CARD — what rides the ring
   A crest on a lit plate over a name and a shirt count. Sized to roughly the
   proportions of a product card so the ring geometry needs no special case.
   -------------------------------------------------------------------------- */
.club-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-5) var(--s-5);
  min-height: 340px;
  text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  /* No transform transition here: the ring writes each card's transform every
     frame, and a second animation on top makes the front card lag behind its
     own position. Only the hover colours animate. */
  transition: border-color var(--d-slow) var(--e-out),
              background var(--d-slow) var(--e-out);
}

.club-card:hover {
  border-color: var(--c-line-gold);
  background: var(--c-surface-2);
}

/* The crest stands on the card itself — no plate behind it. */
.club-card__crest {
  display: grid;
  place-items: center;
  width: clamp(120px, 60%, 170px);
  aspect-ratio: 1;
  transition: transform var(--d-slow) var(--e-out);
}

.club-card:hover .club-card__crest { transform: scale(1.04); }

/* Reuse the crest mark, at portrait size rather than the filter list's 26px */
.club-card__crest .club-mark {
  width: 72%;
  height: 72%;
}

/* No plate any more, which leaves the black-and-white badges — Juventus,
   Santos, Inter Miami — sitting black on near-black. This traces the crest's
   own silhouette rather than putting a disc behind it, so the shape separates
   from the card while the badge still stands on the card itself. */
.club-card__crest .club-mark__crest {
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.16));
}

.club-card__name {
  font-family: var(--f-display);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--c-text);
  transition: color var(--d-fast) var(--e-out);
}

body[dir='rtl'] .club-card__name { font-family: var(--f-body); font-weight: 700; font-size: 1.2rem; }

.club-card:hover .club-card__name { color: var(--c-gold); }

.club-card__count {
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

body[dir='rtl'] .club-card__count { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.club-card__go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  color: var(--c-text-3);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--d-slow) var(--e-out);
}

.club-card__go svg { width: 16px; height: 16px; }
body[dir='rtl'] .club-card__go svg { transform: scaleX(-1); }

.club-card:hover .club-card__go,
.club-card:focus-visible .club-card__go {
  opacity: 1;
  transform: none;
  color: var(--c-gold);
  border-color: var(--c-line-gold);
}

/* No hover on a phone, so the affordance is always shown */
@media (hover: none) {
  .club-card__go { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .club-card { min-height: 280px; padding: var(--s-5) var(--s-4); gap: var(--s-3); }
  .club-card__name { font-size: 1.2rem; }
}

/* --------------------------------------------------------------------------
   TRUST STRIP
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  border-inline-end: 1px solid var(--c-line);
  transition: background var(--d-base) var(--e-out);
}

.trust__item:last-child { border-inline-end: 0; }
.trust__item:hover { background: var(--c-surface-2); }
.trust__item svg { width: 22px; height: 22px; color: var(--c-gold); flex: none; margin-block-start: 2px; }
.trust__t { font-size: var(--t-sm); font-weight: 600; }
.trust__d { font-size: var(--t-xs); color: var(--c-text-3); line-height: 1.5; }

/* --------------------------------------------------------------------------
   COLLECTIONS — editorial cards
   -------------------------------------------------------------------------- */
.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.collection {
  position: relative;
  min-height: 460px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: border-color var(--d-slow) var(--e-out);
}

.collection:hover { border-color: var(--c-line-gold); }

.collection:first-child { grid-row: span 2; min-height: 100%; }

.collection__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--e-out);
}

.collection:hover .collection__img { transform: scale(1.07); }

.collection::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.94) 8%, rgba(6, 6, 7, 0.4) 45%, rgba(6, 6, 7, 0.1) 100%);
  z-index: -1;
  transition: background var(--d-slow) var(--e-out);
}

.collection:hover::after {
  background: linear-gradient(to top, rgba(6, 6, 7, 0.96) 8%, rgba(6, 6, 7, 0.5) 50%, rgba(20, 16, 6, 0.2) 100%);
}

.collection__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); width: 100%; }

.collection__title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

body[dir='rtl'] .collection__title { font-family: var(--f-body); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.4; }

.collection__count {
  font-size: var(--t-xs);
  color: var(--c-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[dir='rtl'] .collection__count { letter-spacing: 0; text-transform: none; }

.collection__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--d-slow) var(--e-out);
}

body[dir='rtl'] .collection__cta { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.collection:hover .collection__cta,
.collection:focus-within .collection__cta { opacity: 1; transform: none; }
.collection__cta svg { width: 16px; height: 16px; }
body[dir='rtl'] .collection__cta svg { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   ERA TIMELINE — horizontal scrubber
   -------------------------------------------------------------------------- */
.timeline { position: relative; }

.timeline__rail {
  position: relative;
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  padding-block: var(--s-6) var(--s-5);
  scroll-snap-type: x mandatory;

  /* The platform scrollbar is a grey slab that breaks the room. Hidden here
     and replaced by the gold progress line beneath, which we control. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.timeline__rail::-webkit-scrollbar { display: none; }

/* Hairline track with a gold fill that tracks how far along the years you are */
.timeline__progress {
  position: relative;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--c-line);
  overflow: hidden;
  margin-block-start: var(--s-2);
}

.timeline__progress i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  display: block;
  width: 18%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--c-gold-deep), var(--c-gold), var(--c-gold-bright));
  transition: width 120ms linear, transform 120ms linear;
}

.timeline__node {
  position: relative;
  flex: 0 0 clamp(220px, 26vw, 300px);
  scroll-snap-align: start;
  padding-block-start: var(--s-6);
  cursor: pointer;
}

.timeline__node::before {
  content: '';
  position: absolute;
  inset-block-start: 30px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-surface-3);
  border: 1px solid var(--c-line-2);
  transition: all var(--d-base) var(--e-out);
}

.timeline__node:hover::before,
.timeline__node.is-active::before {
  background: var(--c-gold);
  border-color: var(--c-gold);
  box-shadow: 0 0 0 5px var(--c-gold-glow);
}

.timeline__year {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-text-3);
  font-variant-numeric: tabular-nums;
  transition: color var(--d-base) var(--e-out);
}

body[dir='rtl'] .timeline__year { font-family: var(--f-body); font-weight: 700; }

.timeline__node:hover .timeline__year,
.timeline__node.is-active .timeline__year { color: var(--c-gold); }

.timeline__title { font-size: var(--t-sm); font-weight: 600; margin-block-end: 6px; }
.timeline__desc { font-size: var(--t-xs); color: var(--c-text-3); line-height: 1.6; }

/* --------------------------------------------------------------------------
   SIGNATURE — the museum placard feature
   -------------------------------------------------------------------------- */
.signature {
  position: relative;
  background: var(--c-void);
  border-block: 1px solid var(--c-line);
  overflow: hidden;
}

.signature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 80px);
  padding-block: clamp(56px, 9vw, 120px);
}

.signature__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line-gold);
}

.signature__media img { width: 100%; height: 100%; object-fit: cover; }

.signature__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(217, 182, 92, 0.16), transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.signature__seal {
  position: absolute;
  inset-block-end: var(--s-4);
  inset-inline-end: var(--s-4);
  z-index: 3;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-line-gold);
  background: rgba(6, 6, 7, 0.7);
  backdrop-filter: blur(10px);
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  line-height: 1.4;
  padding: var(--s-2);
}

body[dir='rtl'] .signature__seal { letter-spacing: 0; text-transform: none; font-size: var(--t-xxs); }

.spec-list { display: flex; flex-direction: column; }

.spec-list__row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: var(--s-4);
  padding-block: var(--s-3);
  border-block-end: 1px solid var(--c-line);
  font-size: var(--t-sm);
}

.spec-list__k { color: var(--c-text-3); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; }
body[dir='rtl'] .spec-list__k { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }
.spec-list__v { color: var(--c-text); }

/* --------------------------------------------------------------------------
   CRAFT — three-column detail
   -------------------------------------------------------------------------- */
.craft { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }

.craft__item {
  padding: var(--s-6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--g-glass);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  overflow: hidden;
  transition: border-color var(--d-slow) var(--e-out), transform var(--d-slow) var(--e-out);
}

.craft__item:hover { border-color: var(--c-line-gold); transform: translateY(-4px); }

.craft__num {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-line-2);
  position: absolute;
  inset-block-start: var(--s-4);
  inset-inline-end: var(--s-5);
  transition: -webkit-text-stroke-color var(--d-slow) var(--e-out);
}

.craft__item:hover .craft__num { -webkit-text-stroke-color: var(--c-line-gold); }
.craft__icon { width: 28px; height: 28px; color: var(--c-gold); }
.craft__t { font-family: var(--f-display); font-size: 1.4rem; }
body[dir='rtl'] .craft__t { font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; }
.craft__d { font-size: var(--t-sm); color: var(--c-text-2); line-height: 1.7; }

/* --------------------------------------------------------------------------
   CUSTOMIZER TEASER
   -------------------------------------------------------------------------- */
.customiser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(217, 182, 92, 0.09), transparent 60%),
    var(--c-surface);
  position: relative;
  overflow: hidden;
}

/* Live jersey-back preview */
.jersey-preview {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, var(--c-surface-3), var(--c-surface-2));
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 10px);
  overflow: hidden;
  padding: var(--s-5);
}

.jersey-preview::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 22%;
  height: 14%;
  background: var(--c-surface);
  border-radius: 0 0 50% 50%;
  border-block-end: 1px solid var(--c-line);
}

.jersey-preview__name {
  font-family: var(--f-body);
  font-size: clamp(1.1rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-white-2);
  text-align: center;
  word-break: break-word;
  line-height: 1;
  max-width: 100%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: color var(--d-base) var(--e-out);
}

.jersey-preview__num {
  font-family: var(--f-body);
  font-size: clamp(4rem, 15vw, 8.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--c-white-2);
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
  font-variant-numeric: tabular-nums;
  transition: color var(--d-base) var(--e-out);
}

.jersey-preview[data-print='gold'] .jersey-preview__name,
.jersey-preview[data-print='gold'] .jersey-preview__num {
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jersey-preview[data-print='black'] .jersey-preview__name,
.jersey-preview[data-print='black'] .jersey-preview__num { color: #0f0e0c; text-shadow: none; }

.jersey-preview__badge {
  position: absolute;
  inset-block-end: var(--s-4);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

body[dir='rtl'] .jersey-preview__badge { letter-spacing: 0; text-transform: none; font-size: var(--t-xxs); }

.swatches { display: flex; gap: var(--s-2); }

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--c-line-2);
  cursor: pointer;
  transition: all var(--d-fast) var(--e-out);
}

.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed='true'] { border-color: var(--c-bg); box-shadow: 0 0 0 2px var(--c-gold); }
.swatch--white { background: linear-gradient(140deg, #fff, #d8d3c8); }
.swatch--gold { background: linear-gradient(140deg, #f6e9bd, #8c6e22); }
.swatch--black { background: linear-gradient(140deg, #2a2a30, #08080a); }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.quotes { position: relative; }

.quotes__viewport { overflow: hidden; }

.quotes__track {
  display: flex;
  transition: transform var(--d-fluid) var(--e-out);
}

.quote {
  flex: 0 0 100%;
  padding-inline: clamp(0px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}

.quote__stars { display: flex; gap: 3px; color: var(--c-gold); }
.quote__stars svg { width: 17px; height: 17px; fill: currentColor; }

.quote__text {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--c-text);
  max-width: 24ch;
}

body[dir='rtl'] .quote__text {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.8;
  max-width: 30ch;
}

.quote__who { font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-text-3); }
body[dir='rtl'] .quote__who { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }
.quote__who b { color: var(--c-gold); font-weight: 600; }

.quotes__nav { display: flex; justify-content: center; gap: var(--s-3); margin-block-start: var(--s-6); }

.quotes__dot {
  position: relative;
  width: 24px;
  height: 34px;
  display: grid;
  place-items: center;
  background: none;
  transition: width var(--d-base) var(--e-out);
}

/* The dot is 8px across and the button around it 24px, which is a hard thing
   to hit with a thumb. This widens what the finger lands on without moving
   anything: the row keeps its spacing and the dots keep their size. */
.quotes__dot::before {
  content: '';
  position: absolute;
  inset-block: -6px;
  inset-inline: -10px;
}

.quotes__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line-2);
  transition: all var(--d-base) var(--e-out);
}

.quotes__dot.is-active::after { background: var(--c-gold); width: 28px; border-radius: var(--r-pill); }
.quotes__dot:hover::after { background: var(--c-gold-bright); }

/* --------------------------------------------------------------------------
   NEWSLETTER
   -------------------------------------------------------------------------- */
.newsletter {
  text-align: center;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(217, 182, 92, 0.1), transparent 62%),
    var(--c-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}

.newsletter__form {
  display: flex;
  gap: var(--s-2);
  width: min(520px, 100%);
}

.newsletter__form .input { min-height: 52px; }

/* A submit button sizes to its own label at every width — letting it flex
   shrank "Notify me" until the text was sliced. */
.newsletter__form .btn,
.promo .btn { flex: none; }

/* --------------------------------------------------------------------------
   PAGE HEAD (interior pages)
   -------------------------------------------------------------------------- */
.pagehead {
  padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px);
  border-block-end: 1px solid var(--c-line);
  background: radial-gradient(70% 120% at 50% 0%, rgba(217, 182, 92, 0.07), transparent 60%);
}

.crumbs { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-xs); color: var(--c-text-3); flex-wrap: wrap; }
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color var(--d-fast) var(--e-out);
}
.crumbs a:hover { color: var(--c-gold); }
.crumbs__sep { opacity: 0.4; }
body[dir='rtl'] .crumbs__sep { transform: scaleX(-1); display: inline-block; }

.pagehead__title { font-size: var(--t-d2); margin-block-start: var(--s-3); }

/* --------------------------------------------------------------------------
   SHOP
   -------------------------------------------------------------------------- */
.shop {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
  padding-block: var(--s-7);
}

.filters {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  padding-inline-end: var(--s-2);
}

.filter-group { border-block-end: 1px solid var(--c-line); padding-block-end: var(--s-5); }
.filter-group:last-child { border-block-end: 0; }

.filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block-end: var(--s-3);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text);
}

body[dir='rtl'] .filter-group__head { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.filter-group__head svg { width: 16px; height: 16px; color: var(--c-text-3); transition: transform var(--d-base) var(--e-out); }
.filter-group[data-open='false'] .filter-group__head svg { transform: rotate(-90deg); }
body[dir='rtl'] .filter-group[data-open='false'] .filter-group__head svg { transform: rotate(90deg); }
.filter-group[data-open='false'] .filter-group__body { display: none; }
.filter-group__body { display: flex; flex-direction: column; gap: var(--s-1); }

.filter-count { font-size: var(--t-xxs); color: var(--c-text-3); margin-inline-start: auto; font-variant-numeric: tabular-nums; }

/* Dual-handle price range */
.range { padding-block: var(--s-3); }
.range__vals { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--c-text-2); margin-block-end: var(--s-3); font-variant-numeric: tabular-nums; }
.range__inputs { position: relative; height: 24px; }

.range__inputs input[type='range'] {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 8px;
  width: 100%;
  height: 3px;
  appearance: none;
  background: none;
  pointer-events: none;
  margin: 0;
}

.range__track {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 8px;
  height: 3px;
  background: var(--c-surface-3);
  border-radius: var(--r-pill);
}

.range__fill {
  position: absolute;
  inset-block-start: 8px;
  height: 3px;
  background: var(--c-gold);
  border-radius: var(--r-pill);
}

.range__inputs input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--c-gold);
  border: 2px solid var(--c-bg);
  cursor: grab;
  pointer-events: auto;
  box-shadow: var(--sh-1);
}

.range__inputs input[type='range']::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--c-gold);
  border: 2px solid var(--c-bg);
  cursor: grab;
  pointer-events: auto;
}

/* The filter rail eats ~320px, so the catalogue grid needs a tighter track
   floor than the full-bleed grids on the homepage to still land three-up. */
.shop .grid-products {
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 19vw, 262px), 1fr));
}

.shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding-block-end: var(--s-4);
  border-block-end: 1px solid var(--c-line);
  margin-block-end: var(--s-5);
}

.shop__count { font-size: var(--t-sm); color: var(--c-text-2); }
.shop__count b { color: var(--c-text); font-variant-numeric: tabular-nums; }

.active-filters { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-block-end: var(--s-5); }

.filters-toggle { display: none; }

.pagination { display: flex; justify-content: center; gap: var(--s-2); margin-block-start: var(--s-7); }

.pagination button {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  color: var(--c-text-2);
  transition: all var(--d-fast) var(--e-out);
}

.pagination button:hover:not([disabled]) { border-color: var(--c-line-gold); color: var(--c-text); }
.pagination button.is-active { background: var(--c-gold); border-color: var(--c-gold); color: #17130a; font-weight: 700; }
.pagination button[disabled] { opacity: 0.35; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   PRODUCT DETAIL
   -------------------------------------------------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-block: var(--s-7);
}

.gallery { position: sticky; inset-block-start: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: var(--s-3); }

.gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-surface-2);
  cursor: zoom-in;
}

.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--e-out); }
.gallery__main.is-zoomed img { transform: scale(2); }
.gallery__main.is-zoomed { cursor: zoom-out; }

.gallery__flags { position: absolute; inset-block-start: var(--s-4); inset-inline-start: var(--s-4); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }

.gallery__hint {
  position: absolute;
  inset-block-end: var(--s-4);
  inset-inline-end: var(--s-4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px var(--s-3);
  background: rgba(6, 6, 7, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: var(--t-xxs);
  /* The pill is dark whatever the theme, so its label cannot follow the page. */
  color: var(--c-on-photo);
}

.gallery__hint svg { width: 13px; height: 13px; }

.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }

.gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--c-line);
  opacity: 0.55;
  transition: all var(--d-fast) var(--e-out);
}

.gallery__thumb:hover { opacity: 0.85; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--c-gold); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.buybox { display: flex; flex-direction: column; gap: var(--s-5); }

.buybox__club { font-size: var(--t-xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-gold); font-weight: 600; }
body[dir='rtl'] .buybox__club { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.buybox__title { font-size: var(--t-d3); line-height: 1.08; }

.buybox__rating { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-sm); color: var(--c-text-3); }
.buybox__rating .stars { display: flex; gap: 2px; color: var(--c-gold); }
.buybox__rating svg { width: 15px; height: 15px; fill: currentColor; }

.buybox__price { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.buybox__price .price__now { font-size: 1.9rem; font-family: var(--f-display); font-weight: 500; }
body[dir='rtl'] .buybox__price .price__now { font-family: var(--f-body); font-weight: 700; font-size: 1.6rem; }

.option-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-block-end: var(--s-3); }

.option-head__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
body[dir='rtl'] .option-head__label { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.option-head__aux { font-size: var(--t-xs); color: var(--c-text-3); }

.option-head__aux button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
}

.sizes { display: flex; gap: var(--s-2); flex-wrap: wrap; }

.size {
  min-width: 52px;
  height: 48px;
  padding-inline: var(--s-3);
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-surface-2);
  transition: all var(--d-fast) var(--e-out);
  position: relative;
}

.size:hover:not([disabled]) { border-color: var(--c-gold); color: var(--c-text); }
.size[aria-pressed='true'] { background: var(--c-gold); border-color: var(--c-gold); color: #17130a; }

.size[disabled] { opacity: 0.34; cursor: not-allowed; }
.size[disabled]::after {
  content: '';
  position: absolute;
  inset-inline: 6px;
  inset-block-start: 50%;
  height: 1px;
  background: currentColor;
  transform: rotate(-16deg);
}

.stock-note { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-xs); }
.stock-note svg { width: 14px; height: 14px; }
.stock-note[data-level='in'] { color: var(--c-success); }
.stock-note[data-level='low'] { color: var(--c-warn); }
.stock-note[data-level='out'] { color: var(--c-danger); }

/* Personalisation panel */
.personalise {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--d-base) var(--e-out);
}

.personalise[data-on='true'] { border-color: var(--c-line-gold); }

.personalise__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--c-surface-2);
  cursor: pointer;
  width: 100%;
  text-align: start;
}

.personalise__head svg { width: 19px; height: 19px; color: var(--c-gold); flex: none; }
.personalise__t { font-size: var(--t-sm); font-weight: 600; }
.personalise__p { font-size: var(--t-xs); color: var(--c-gold); margin-inline-start: auto; white-space: nowrap; }

.switch {
  width: 42px;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--c-surface-3);
  border: 1px solid var(--c-line-2);
  position: relative;
  flex: none;
  transition: background var(--d-base) var(--e-out), border-color var(--d-base) var(--e-out);
}

.switch::after {
  content: '';
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-white-3);
  transition: transform var(--d-base) var(--e-back), background var(--d-base) var(--e-out);
}

.personalise[data-on='true'] .switch { background: var(--c-gold-deep); border-color: var(--c-gold); }
.personalise[data-on='true'] .switch::after { transform: translateX(18px); background: var(--c-gold-bright); }
body[dir='rtl'] .personalise[data-on='true'] .switch::after { transform: translateX(-18px); }

.personalise__body { padding: var(--s-4); display: none; flex-direction: column; gap: var(--s-4); }
.personalise[data-on='true'] .personalise__body { display: flex; }

.personalise__grid { display: grid; grid-template-columns: 1fr 96px; gap: var(--s-3); }

.buybox__actions { display: flex; gap: var(--s-3); }
.buybox__actions .btn { flex: 1; }

.assurances { display: grid; gap: var(--s-3); }
.assurance { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-xs); color: var(--c-text-2); }
.assurance svg { width: 17px; height: 17px; color: var(--c-gold); flex: none; }

/* Accordion */
.acc { border-block-start: 1px solid var(--c-line); }

.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding-block: var(--s-4);
  font-size: var(--t-sm);
  font-weight: 600;
  text-align: start;
  color: var(--c-text);
}

.acc__head svg { width: 17px; height: 17px; color: var(--c-text-3); transition: transform var(--d-base) var(--e-out); flex: none; }
.acc[data-open='true'] .acc__head svg { transform: rotate(45deg); color: var(--c-gold); }

.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--d-slow) var(--e-out);
}

.acc[data-open='true'] .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { font-size: var(--t-sm); color: var(--c-text-2); line-height: 1.8; padding-block-end: var(--s-4); }

/* Size guide table */
.size-table th,
.size-table td {
  padding: var(--s-3);
  border-block-end: 1px solid var(--c-line);
  font-size: var(--t-sm);
  text-align: start;
}

.size-table th { color: var(--c-gold); font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
body[dir='rtl'] .size-table th { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }
.size-table td { color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.size-table tr:hover td { color: var(--c-text); background: var(--c-surface-2); }

/* --------------------------------------------------------------------------
   CART & CHECKOUT
   -------------------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
  padding-block: var(--s-7);
}

.summary {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 16px);
  padding: var(--s-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.summary__title { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
body[dir='rtl'] .summary__title { letter-spacing: 0; text-transform: none; font-size: var(--t-h3); }

.promo { display: flex; gap: var(--s-2); }
.promo .input { min-height: 44px; }

.promo-applied {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border: 1px dashed var(--c-line-gold);
  border-radius: var(--r-sm);
  font-size: var(--t-xs);
  color: var(--c-gold);
}

.promo-applied button { margin-inline-start: auto; color: var(--c-text-3); }
.promo-applied button:hover { color: var(--c-danger); }

/* Checkout stepper */
.steps { display: flex; align-items: center; gap: var(--s-2); margin-block-end: var(--s-6); flex-wrap: wrap; }

.step { display: flex; align-items: center; gap: var(--s-3); }

.step__num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--c-text-3);
  flex: none;
  transition: all var(--d-base) var(--e-out);
}

.step__label { font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-3); white-space: nowrap; }
body[dir='rtl'] .step__label { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.step.is-active .step__num { background: var(--c-gold); border-color: var(--c-gold); color: #17130a; }
.step.is-active .step__label { color: var(--c-text); }
.step.is-done .step__num { background: var(--c-success); border-color: var(--c-success); color: #06120c; }
.step.is-done .step__label { color: var(--c-text-2); }

.step__bar { width: clamp(16px, 5vw, 56px); height: 1px; background: var(--c-line-2); }

.pane { display: none; flex-direction: column; gap: var(--s-5); }
.pane.is-active { display: flex; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid .field--full { grid-column: 1 / -1; }

.pay-option {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--d-fast) var(--e-out);
}

.pay-option:hover { border-color: var(--c-line-gold); }
.pay-option:has(input:checked) { border-color: var(--c-gold); background: rgba(217, 182, 92, 0.05); }
.pay-option svg { width: 22px; height: 22px; color: var(--c-gold); flex: none; }
.pay-option__t { font-size: var(--t-sm); font-weight: 600; }
.pay-option__d { font-size: var(--t-xs); color: var(--c-text-3); }

/* Order confirmation */
.confirm { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-5); padding-block: var(--s-8); }

.confirm__seal {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-line-gold);
  background: rgba(217, 182, 92, 0.08);
  animation: seal-in var(--d-fluid) var(--e-back) both;
}

.confirm__seal svg { width: 40px; height: 40px; color: var(--c-gold); }

@keyframes seal-in {
  from { transform: scale(0.6) rotate(-12deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.confirm__code {
  font-family: var(--f-mono);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  padding: var(--s-3) var(--s-5);
  border: 1px dashed var(--c-line-gold);
  border-radius: var(--r-sm);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .collections { grid-template-columns: repeat(2, 1fr); }
  .collection:first-child { grid-row: span 1; min-height: 400px; }
  .shop { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(340px, 88vw);
    z-index: 210;
    background: var(--c-surface);
    border-inline-end: 1px solid var(--c-line);
    padding: var(--s-5);
    max-height: none;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform var(--d-slow) var(--e-out), visibility var(--d-slow);
    box-shadow: var(--sh-4);
  }
  body[dir='rtl'] .filters { transform: translateX(100%); }
  /* Listed for both directions so the RTL closed rule cannot out-specify it */
  .filters.is-open,
  body[dir='rtl'] .filters.is-open { transform: translateX(0); visibility: visible; }
  .filters-toggle { display: inline-flex; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 900px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2n) { border-inline-end: 0; }
  .trust__item:nth-child(-n + 2) { border-block-end: 1px solid var(--c-line); }
  .signature__inner { grid-template-columns: 1fr; }
  .craft { grid-template-columns: 1fr; }
  .customiser { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

@media (max-width: 620px) {
  .hero { min-height: clamp(460px, 76vh, 640px); }
  .hero__scroll { display: none; }
  /* A submit button must never be squeezed below its label width */
  .newsletter__form .btn,
  .promo .btn { flex: none; }
  .hero__stats { gap: var(--s-5); }
  .hero__stat-n { font-size: 1.5rem; }

  /* Sharing one row forced each CTA narrower than its own label. Full-width
     and stacked instead — the labels then always fit. */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { flex: none; width: 100%; }
  .collections { grid-template-columns: 1fr; }
  .collection, .collection:first-child { min-height: 330px; }
  .trust { grid-template-columns: 1fr; }
  .trust__item { border-inline-end: 0; border-block-end: 1px solid var(--c-line); }
  .trust__item:last-child { border-block-end: 0; }
  .newsletter__form { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  /* The shop grid's own floor out-specifies the global one, so it needs its
     own phone value or the catalogue drops to a single card per row. */
  .shop .grid-products { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .buybox__actions { flex-direction: column; }
  .line { grid-template-columns: 64px 1fr; }
  .line__img { width: 64px; }
  .line__price { grid-column: 2; text-align: start; }
  .spec-list__row { grid-template-columns: 1fr; gap: 2px; }
  .steps { gap: var(--s-1); }
  .step__label { display: none; }
  .step__bar { width: 20px; }
}

/* The transfer target and reference field, shown under the chosen wallet. */
.pay-detail {
  margin-block: calc(var(--s-2) * -1) var(--s-2);
  padding: var(--s-4);
  border: 1px solid var(--c-line-gold);
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: rgba(212, 175, 55, 0.05);
  display: grid;
  gap: var(--s-4);
}

.pay-detail__target { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }

.pay-detail__label {
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

body[dir='rtl'] .pay-detail__label { letter-spacing: 0; text-transform: none; font-size: var(--t-xs); }

.pay-detail__value {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border: 1px dashed var(--c-line-gold);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--c-gold-bright);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--d-fast) var(--e-out), border-color var(--d-fast) var(--e-out);
}

.pay-detail__value:hover { background: rgba(212, 175, 55, 0.12); border-color: var(--c-gold); }
.pay-detail__value svg { width: 14px; height: 14px; opacity: .65; }

/* The client's own bullet points on the product page. */
.highlights { display: grid; gap: var(--s-2); padding-block-end: var(--s-4); }

.highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.65;
}

.highlights svg { flex: none; width: 15px; height: 15px; color: var(--c-gold); margin-block-start: 4px; }


/* ==========================================================================
   A WRITTEN PAGE
   Shipping, returns, the FAQ, the legal pages. Long-form reading rather than
   shopping, so the measure is narrow and the rhythm is looser than the rest
   of the site.
   ========================================================================== */
.prose {
  max-width: 68ch;
  padding-block: var(--s-7) var(--s-8);
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--c-text-2);
}

.prose h2 {
  margin-block: var(--s-6) var(--s-3);
  font-family: var(--f-display);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.25;
  color: var(--c-text);
}
.prose h2:first-of-type { margin-block-start: var(--s-5); }

.prose p { margin-block-end: var(--s-4); }

.prose ul {
  margin-block-end: var(--s-5);
  padding-inline-start: var(--s-6);
  list-style: none;
}
.prose li {
  position: relative;
  margin-block-end: var(--s-2);
}
/* A gold tick rather than a bullet, to match the spec lists on a product. */
.prose li::before {
  content: '';
  position: absolute;
  inset-inline-start: calc(var(--s-5) * -1);
  inset-block-start: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

.prose a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }

/* The size guide is a control, not an address: it opens the chart in place.
   It still has to sit in the column looking like its neighbours. */
.footer__link-btn {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: start;
  cursor: pointer;
}


/* A delivery price nobody can know yet. Quieter than a figure, so the eye does
   not read it as one, and italic so it is plainly a note rather than a number. */
.totals__pending {
  font-style: italic;
  font-size: var(--t-sm);
  color: var(--c-text-3);
}
