/*
  layout.css
  Base layout system: container, announcement bar, header, main, footer.
  Mobile-first — all defaults are mobile, overrides use min-width.
*/

/* ─────────────────────────────────────────────────────────────
   Container
───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* Narrow variant for text-heavy sections */
.container--narrow {
  max-width: 860px;
}

/* Full-bleed — overrides container horizontal padding */
.container--flush {
  padding-inline: 0;
}


/* ─────────────────────────────────────────────────────────────
   Announcement Bar
───────────────────────────────────────────────────────────── */
.announcement-bar {
  background-color: #0B0F0D;
  color: #ffffff;
  text-align: center;
  padding-block: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-bar__inner {
  display: flex;
  gap: var(--space-12);
  width: max-content;
  /* Marquee animation applied in layout.css — override per content length if needed */
  animation: marquee 24s linear infinite;
}

.announcement-bar__inner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .announcement-bar__inner {
    animation: none;
    width: 100%;
    justify-content: center;
  }
}


/* ─────────────────────────────────────────────────────────────
   Header
───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--color-header-bg);
  color: var(--color-header-text);
  border-bottom: 1px solid var(--color-border);
}

.site-header__wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

/* Left slot: hamburger + search (mobile) */
.site-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Center slot: logo */
.site-header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header__logo a {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-h5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-header-text);
}

/* Right slot: cart + account icons */
.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

/* Icon buttons in header */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  color: var(--color-header-text);
  transition: background-color var(--transition-fast);
}

.icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

/* Desktop nav links */
.site-header__nav {
  display: none;
}

.site-header__nav-list {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.site-header__nav-list a {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-header-text);
  letter-spacing: 0.02em;
  transition: opacity var(--transition-fast);
}

.site-header__nav-list a:hover {
  opacity: 0.55;
}

/* Desktop: show nav, hide hamburger */
@media (min-width: 1000px) {
  .site-header__wrapper {
    grid-template-columns: 1fr auto 1fr;
    padding-block: var(--space-5);
  }

  .hamburger-btn {
    display: none;
  }

  .site-header__nav {
    display: flex;
    align-items: center;
    margin-left: var(--space-6);
  }
}


/* ─────────────────────────────────────────────────────────────
   Main content area
───────────────────────────────────────────────────────────── */
.site-main {
  min-height: 60vh;
}

/* Generic section spacing */
.section {
  padding-block: var(--section-spacing-block);
}

.section--flush {
  padding-block: 0;
}


/* ─────────────────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__wrapper {
  padding-block: var(--space-12) var(--space-8);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.site-footer__block-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.60);
  transition: color var(--transition-fast);
}

.site-footer__links a:hover {
  color: #ffffff;
}

/* Sub-footer: copyright bar */
.site-footer__sub {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.site-footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
}

/* Desktop footer: multi-column */
@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__sub {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* ─────────────────────────────────────────────────────────────
   Mobile Navigation Drawer
───────────────────────────────────────────────────────────── */

/* Overlay — darkens page content behind open drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer — slides in from the left */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 82vw);
  background-color: var(--color-background);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: var(--space-5) var(--space-6);
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

/* Prevent body scroll while drawer is open */
body.nav-open {
  overflow: hidden;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-2);
}

.mobile-nav__title {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
}

.mobile-nav__links {
  list-style: none;
}

.mobile-nav__links li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav__links a {
  display: block;
  padding-block: var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.mobile-nav__links a:hover {
  color: var(--color-text-subdued);
}

/* Hide drawer and overlay on desktop — they are mobile-only */
@media (min-width: 1000px) {
  .mobile-nav,
  .nav-overlay {
    display: none;
  }
}


/* ─────────────────────────────────────────────────────────────
   Utility helpers
───────────────────────────────────────────────────────────── */

/* Flex helpers */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-col      { display: flex; flex-direction: column; }
.gap-2         { gap: var(--space-2); }
.gap-4         { gap: var(--space-4); }
.gap-6         { gap: var(--space-6); }

/* Text alignment */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }

/* Color utilities */
.text-subdued  { color: var(--color-text-subdued); }
.text-sale     { color: var(--color-sale-accent); }

/* Visibility */
.hidden        { display: none !important; }

/* Mobile-only / desktop-only visibility */
.mobile-only   { display: block; }
.desktop-only  { display: none; }

@media (min-width: 700px) {
  .mobile-only  { display: none; }
  .desktop-only { display: block; }
}

/* Screen-reader only — visually hidden, still in tab order */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link — visible only on focus */
.skip-to-content:focus {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 9999;
  clip: auto;
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-6);
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border-radius: var(--radius-button);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  outline: none;
}


/* ─────────────────────────────────────────────────────────────
   Buttons
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn:hover  { opacity: 0.82; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn--full { width: 100%; }


/* ─────────────────────────────────────────────────────────────
   Section utilities
───────────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.section-link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-green-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.section-link:hover { color: var(--color-green-dark); }


/* ─────────────────────────────────────────────────────────────
   Hero
───────────────────────────────────────────────────────────── */
.hero {
  background: var(--color-soft-bg);
}

.hero__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.hero__img-bg {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(ellipse at 65% 40%, rgba(201, 166, 70, 0.14) 0%, transparent 55%),
    linear-gradient(158deg, #000e07 0%, #002a1c 42%, #003D2B 70%, #001a10 100%);
}

/* Subtle watch bezel silhouette in hero */
.hero__img-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 166, 70, 0.18);
  box-shadow:
    0 0 0 28px rgba(201, 166, 70, 0.05),
    0 0 70px rgba(201, 166, 70, 0.10);
}

.hero__content {
  padding: var(--space-8) var(--page-gutter);
  text-align: center;
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.hero__headline {
  font-size: clamp(1.6rem, 6.5vw, 3.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-subdued);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 400px;
  margin-inline: auto;
}

@media (min-width: 700px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 520px;
  }

  .hero__media {
    aspect-ratio: unset;
    height: 100%;
    order: 2;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    order: 1;
    padding: var(--space-12) var(--space-10);
  }

  .hero__sub { margin-inline: 0; }
}

@media (min-width: 1000px) {
  .hero          { min-height: 600px; }
  .hero__content { padding: var(--space-16) var(--space-12); }
}


/* ─────────────────────────────────────────────────────────────
   Mobile Video Banner
───────────────────────────────────────────────────────────── */
.mobile-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Hide on tablet and up */
@media (min-width: 700px) {
  .mobile-banner { display: none; }
}

.mobile-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 166, 70, 0.10) 0%, transparent 65%),
    linear-gradient(135deg, #000e07 0%, #003D2B 50%, #001a10 100%);
}

.mobile-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
}

.mobile-banner__play {
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  transition: border-color var(--transition-fast);
}

.mobile-banner:hover .mobile-banner__play {
  border-color: rgba(255, 255, 255, 0.8);
}

.mobile-banner__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.03em;
  color: #fff;
}

.mobile-banner__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}


/* ─────────────────────────────────────────────────────────────
   Brand Marquee
───────────────────────────────────────────────────────────── */
.brand-marquee {
  overflow: hidden;
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  animation: marquee 22s linear infinite;
}

.brand-marquee__item {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
}

.brand-marquee__dot {
  color: var(--color-gold);
  font-size: 1.1em;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    overflow: hidden;
  }
}


/* ─────────────────────────────────────────────────────────────
   Product Grid & Cards
───────────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-card__link {
  display: block;
  color: inherit;
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #001a10;
}

.product-card__img-bg {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform var(--transition-slow);
}

.product-card__link:hover .product-card__img-bg {
  transform: scale(1.04);
}

/* Watch bezel silhouette on each card */
.product-card__img-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(201, 166, 70, 0.15);
  box-shadow: 0 0 0 10px rgba(201, 166, 70, 0.05);
}

.product-card__img-bg--1 {
  background:
    radial-gradient(ellipse at 42% 38%, rgba(201, 166, 70, 0.06) 0%, transparent 50%),
    linear-gradient(145deg, #001208 0%, #003020 60%, #000e06 100%);
}

.product-card__img-bg--2 {
  background:
    radial-gradient(ellipse at 58% 40%, rgba(201, 166, 70, 0.09) 0%, transparent 50%),
    linear-gradient(145deg, #000e06 0%, #002a1c 55%, #000c05 100%);
}

.product-card__img-bg--3 {
  background:
    radial-gradient(ellipse at 45% 42%, rgba(255, 255, 255, 0.04) 0%, transparent 48%),
    linear-gradient(145deg, #001a10 0%, #003828 65%, #001208 100%);
}

.product-card__img-bg--4 {
  background:
    radial-gradient(ellipse at 55% 38%, rgba(201, 166, 70, 0.11) 0%, transparent 52%),
    linear-gradient(145deg, #000c05 0%, #002418 50%, #001008 100%);
}

/* Sale badge */
.sale-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: var(--color-sale-badge-bg);
  color: var(--color-sale-badge-text);
  font-size: 0.6rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  padding: 3px var(--space-2);
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  line-height: 1;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-card__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.35;
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.product-card__price-sale {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: #D92D20;
}

.product-card__price-compare {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  text-decoration: line-through;
}


/* ─────────────────────────────────────────────────────────────
   Trust Badges
───────────────────────────────────────────────────────────── */
.trust-section {
  background: var(--color-soft-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-4);
}

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.trust-item__icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-green-primary);
  flex-shrink: 0;
}

.trust-item__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.4;
}


/* ─────────────────────────────────────────────────────────────
   Reviews Carousel
───────────────────────────────────────────────────────────── */
.reviews-section {
  background: #ffffff;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.reviews-nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.reviews-nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  background: transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.reviews-nav-btn:hover {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  color: #ffffff;
}

.reviews-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 min(82vw, 320px);
  scroll-snap-align: start;
  background: var(--color-soft-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .reviews-track { overflow-x: visible; }

  .review-card {
    flex: 1;
    min-width: 0;
  }
}

.review-card__stars {
  font-size: 1rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.review-card__text {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text);
  flex: 1;
}

.review-card__author {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
}


/* ─────────────────────────────────────────────────────────────
   Desktop nav — gap reduction + active link
───────────────────────────────────────────────────────────── */
@media (min-width: 1000px) {
  .site-header__nav-list {
    gap: var(--space-4);
  }
}

.site-header__nav-list a[aria-current="page"] {
  color: var(--color-green-primary);
  opacity: 1;
}

.nav-item--current .nav-dropdown-btn {
  color: var(--color-green-primary);
}


/* ─────────────────────────────────────────────────────────────
   Desktop Watches Dropdown
───────────────────────────────────────────────────────────── */
.nav-item--has-dropdown {
  position: relative;
}

/* Button styled to match nav links */
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-header-text);
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.nav-dropdown-btn:hover {
  opacity: 0.55;
}

.nav-dropdown-chevron {
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 2.5px solid var(--color-green-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  padding: var(--space-2) 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 150;
}

/* Show on hover (mouse) or .is-open (keyboard/click) */
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item--has-dropdown:hover .nav-dropdown-chevron,
.nav-item--has-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-dropdown a:hover {
  color: var(--color-green-primary);
  background-color: var(--color-soft-bg);
}

.nav-dropdown__divider {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
}


/* ─────────────────────────────────────────────────────────────
   Mobile Watches Accordion
───────────────────────────────────────────────────────────── */
.mobile-nav__item--has-sub {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav__accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-nav__chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-text-subdued);
}

.mobile-nav__item--has-sub.is-open .mobile-nav__chevron {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding-left: var(--space-4);
}

.mobile-nav__item--has-sub.is-open .mobile-nav__sub {
  max-height: 360px;
}

.mobile-nav__sub li {
  border-bottom: none;
}

.mobile-nav__sub a {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  transition: color var(--transition-fast);
}

.mobile-nav__sub a:hover {
  color: var(--color-green-primary);
}

/* "All Watches" first item gets slightly bolder treatment */
.mobile-nav__sub li:first-child a {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}


/* ─────────────────────────────────────────────────────────────
   Placeholder pages
───────────────────────────────────────────────────────────── */
.placeholder-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding-block: var(--space-20);
  text-align: center;
}

.placeholder-page__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.placeholder-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.placeholder-page__text {
  font-size: var(--text-base);
  color: var(--color-text-subdued);
  line-height: 1.65;
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ─────────────────────────────────────────────────────────────
   R1C — Collection pages + local product cards
───────────────────────────────────────────────────────────── */

/* overflow-x: hidden on body creates a scroll container that breaks position:sticky.
   Use clip on body (no scroll container) and hidden on html (clips the viewport). */
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

.collection-section {
  background: var(--color-soft-bg);
  padding: var(--space-8) 0 var(--space-16);
  width: 100%;
  box-sizing: border-box;
}

.collection-section__header {
  max-width: 720px;
  margin-bottom: var(--space-6);
}

.collection-section__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.collection-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.collection-section__subtitle {
  max-width: 560px;
  color: var(--color-text-subdued);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.collection-filters {
  margin: var(--space-6) 0 var(--space-8);
}

.collection-filters__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: visible;
}

.collection-filters__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 var(--space-4);
  border: 1px solid rgba(0, 96, 57, 0.18);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.collection-filters__list a:hover {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  color: var(--color-white);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-card {
  position: relative;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid rgba(11, 15, 13, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 15, 13, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 96, 57, 0.18);
  box-shadow: 0 18px 45px rgba(11, 15, 13, 0.10);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 166, 70, 0.16), transparent 34%),
    linear-gradient(145deg, #f8f6ef 0%, #ede8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__media::after {
  content: "";
  width: 46%;
  height: 46%;
  border: 1px solid rgba(0, 96, 57, 0.18);
  border-radius: 50%;
  position: absolute;
}

.product-card__placeholder {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2.8vw, 0.95rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  color: var(--color-green-dark);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--space-3);
  border-radius: 999px;
  background: var(--color-green-primary);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__content {
  padding: var(--space-4);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.product-card__brand {
  margin-bottom: var(--space-2);
  font-size: 0.72rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
}

.product-card__old-price {
  color: var(--color-text-subdued);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-regular);
  text-decoration: line-through;
}

.collection-empty {
  margin-top: var(--space-8);
  padding: var(--space-6);
  border: 1px solid rgba(0, 96, 57, 0.14);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-text-subdued);
  text-align: center;
}

@media (min-width: 720px) {
  .collection-section {
    padding: var(--space-12) 0 var(--space-20);
  }

  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

@media (min-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .product-card__content {
    padding: var(--space-5);
  }
}


/* ─────────────────────────────────────────────────────────────
   R2A — Product page
───────────────────────────────────────────────────────────── */

.product-page {
  padding-block: var(--space-6) var(--space-16);
  background: var(--color-soft-bg);
}

/* Breadcrumb */
.product-page__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}

.product-page__breadcrumb a {
  color: var(--color-text-subdued);
  transition: color var(--transition-fast);
}

.product-page__breadcrumb a:hover {
  color: var(--color-green-primary);
}

.product-page__breadcrumb-sep {
  opacity: 0.45;
  padding-inline: 2px;
}

/* Not found */
.product-page__not-found {
  text-align: center;
  padding-block: var(--space-20);
}

.product-page__not-found-text {
  font-size: var(--text-h4);
  color: var(--color-text-subdued);
  margin-bottom: var(--space-6);
}

/* Two-column layout — mobile: single column */
.product-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  align-items: start;
}

/* Gallery */
.royal-product-gallery__main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 166, 70, 0.18), transparent 36%),
    linear-gradient(145deg, #f8f6ef 0%, #ede8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.royal-product-gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.royal-product-gallery__placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 96, 57, 0.18);
  box-shadow: 0 0 0 18px rgba(201, 166, 70, 0.05);
}

.royal-product-gallery__placeholder-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 3.5vw, 1.4rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.22em;
  color: var(--color-green-dark);
  text-align: center;
}

.royal-product-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info panel */
.royal-product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.royal-product-info__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 0 var(--space-3);
  border-radius: 999px;
  background: var(--color-green-primary);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.royal-product-info__brand {
  font-size: 0.72rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.royal-product-info__title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--color-text);
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.royal-product-info__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.royal-product-info__price {
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.royal-product-info__old-price {
  font-size: var(--text-base);
  color: var(--color-text-subdued);
  text-decoration: line-through;
  font-weight: var(--font-weight-regular);
}

.royal-product-info__short-desc {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  line-height: 1.65;
  margin: 0;
}

/* Variants */
.royal-product-info__variants {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.royal-product-info__variant-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.royal-product-info__variant-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
  margin: 0;
}

.royal-product-info__variant-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.royal-product-info__variant-btn {
  min-height: 38px;
  padding: 0 var(--space-4);
  border: 1.5px solid rgba(0, 96, 57, 0.22);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.royal-product-info__variant-btn:hover {
  border-color: var(--color-green-primary);
  color: var(--color-green-primary);
}

.royal-product-info__variant-btn.is-selected {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  color: var(--color-white);
}

/* CTA area */
.royal-product-info__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.royal-product-info__atc-note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  text-align: center;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Trust list */
.royal-product-info__trust {
  list-style: none;
  padding: var(--space-4) 0 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.royal-product-info__trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
}

.royal-product-info__trust-icon {
  color: var(--color-green-primary);
  flex-shrink: 0;
}

/* Accordions */
.product-page__details {
  border-top: 1px solid var(--color-border);
}

.product-accordion {
  border-bottom: 1px solid var(--color-border);
}

.product-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.product-accordion__summary::-webkit-details-marker { display: none; }

.product-accordion__summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-subdued);
  flex-shrink: 0;
  line-height: 1;
}

.product-accordion[open] > .product-accordion__summary::after {
  content: '\2212';
}

.product-accordion__content {
  padding-bottom: var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-subdued);
}

/* Specs definition list */
.product-specs-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-6);
  margin: 0;
}

.product-specs-list dt {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.product-specs-list dd {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
}

/* Desktop: two-column layout */
@media (min-width: 800px) {
  .product-page__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }

  .royal-product-info {
    position: sticky;
    top: calc(72px + var(--space-6));
  }
}

@media (min-width: 1100px) {
  .product-page__layout {
    grid-template-columns: 55% 1fr;
    gap: var(--space-16);
  }
}


/* ─────────────────────────────────────────────────────────────
   R2A.2 — Product page enhancements
───────────────────────────────────────────────────────────── */

/* Payment badges */
.product-payments {
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.product-payments__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
  margin: 0 0 var(--space-2);
}

.product-payments__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.product-payments__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 var(--space-2);
  background: var(--color-soft-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  color: var(--color-text);
  white-space: nowrap;
}

/* Tracked delivery */
.product-delivery {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.product-delivery__icon {
  color: var(--color-green-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.product-delivery__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-delivery__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
}

.product-delivery__sub {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: 0;
  line-height: 1.55;
}

/* Trust cards section */
.product-trust {
  padding-block: var(--space-10);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .product-trust__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.product-trust__card {
  padding: var(--space-6);
  background: var(--color-soft-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-trust__icon {
  width: 26px;
  height: 26px;
  color: var(--color-green-primary);
  flex-shrink: 0;
}

.product-trust__card-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
  letter-spacing: 0.01em;
}

.product-trust__card-text {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  line-height: 1.6;
  margin: 0;
}

/* Quality dark section */
.product-quality {
  padding-block: var(--space-16);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 166, 70, 0.10) 0%, transparent 55%),
    linear-gradient(145deg, #000e07 0%, #002a1c 50%, #001a10 100%);
  text-align: center;
}

.product-quality__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.product-quality__title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 4vw, 2.4rem);
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  margin-bottom: var(--space-4);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.product-quality__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.product-quality__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.product-quality__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background var(--transition-fast);
}

.product-quality__dot--active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-gold);
}

/* Customer reviews */
.product-reviews {
  padding-block: var(--space-12);
  background: var(--color-soft-bg);
}

.product-reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.product-reviews__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.product-reviews__write-btn {
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
}

.product-reviews__write-btn:hover {
  border-color: var(--color-green-primary);
  color: var(--color-green-primary);
  opacity: 1;
}

.product-reviews__empty {
  padding: var(--space-10) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.product-reviews__stars {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.product-reviews__star {
  font-size: 1.4rem;
  color: var(--color-border);
  line-height: 1;
}

.product-reviews__empty-text {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  line-height: 1.65;
  margin: 0;
}

/* Recommended products */
.product-recommendations {
  padding-block: var(--space-12);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.product-recommendations__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.product-recommendations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .product-recommendations__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

.product-recommendations__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.product-recommendations__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 166, 70, 0.14), transparent 34%),
    linear-gradient(145deg, #f8f6ef 0%, #ede8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-slow);
  border: 1px solid var(--color-border);
}

.product-recommendations__card:hover .product-recommendations__media {
  transform: scale(1.03);
}

.product-recommendations__placeholder {
  font-family: var(--font-heading);
  font-size: clamp(0.5rem, 1.8vw, 0.72rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.18em;
  color: var(--color-green-dark);
  text-align: center;
  padding-inline: var(--space-2);
}

.product-recommendations__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.product-recommendations__brand {
  font-size: 0.65rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.product-recommendations__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
}

.product-recommendations__price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   R2A.3 — Carousel, reorder, cleanup overrides
───────────────────────────────────────────────────────────── */

/* Quality section: remove old static padding, carousel handles it */
.product-quality {
  padding-block: 0;
  overflow: hidden;
}

/* Carousel track wrapper clips overflow */
.product-quality__track-wrap {
  overflow: hidden;
  width: 100%;
}

/* Track: flex row of slides, transitions on transform */
.product-quality__track {
  display: flex;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Each slide takes full width and carries its own padding */
.product-quality__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-block: var(--space-16);
  text-align: center;
  box-sizing: border-box;
}

/* Dots row: override for <button> elements */
.product-quality__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-8);
}

/* Dot as <button> — reset and restyle */
.product-quality__dot {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.product-quality__dot--active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-gold);
}

/* Accordions second container: top spacing when below carousel */
#product-details {
  padding-top: var(--space-2);
}

/* Trust section spacing tweak near footer */
.product-trust {
  border-bottom: none;
}


/* ─────────────────────────────────────────────────────────────
   R2B — Product card as link
───────────────────────────────────────────────────────────── */

/* .product-card is now an <a> — reset link defaults */
a.product-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

a.product-card:hover {
  text-decoration: none;
  color: inherit;
}


/* ─────────────────────────────────────────────────────────────
   R3A — Cart page
───────────────────────────────────────────────────────────── */

.cart-page {
  padding-block: var(--space-10) var(--space-16);
  min-height: 50vh;
}

.cart-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

/* Empty state */
.cart-empty {
  text-align: center;
  padding-block: var(--space-16);
}

.cart-empty__text {
  font-size: var(--text-base);
  color: var(--color-text-subdued);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

/* Two-column layout: items + summary */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr 340px;
    gap: var(--space-10);
  }
}

.cart-layout__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

/* Cart item row */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 0;
}

@media (min-width: 500px) {
  .cart-item {
    grid-template-columns: 96px 1fr;
  }
}

.cart-item__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 166, 70, 0.14), transparent 34%),
    linear-gradient(145deg, #f8f6ef 0%, #ede8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__placeholder {
  font-family: var(--font-heading);
  font-size: 0.42rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.15em;
  color: var(--color-green-dark);
  text-align: center;
  line-height: 1.3;
}

.cart-item__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.cart-item__brand {
  font-size: 0.64rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.cart-item__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
}

.cart-item__variant {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: 0;
  line-height: 1.4;
}

.cart-item__price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.cart-item__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

/* Quantity stepper */
.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item__qty-btn {
  appearance: none;
  -webkit-appearance: none;
  background: var(--color-soft-bg);
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__qty-btn:hover {
  background: var(--color-border);
}

.cart-item__qty-value {
  min-width: 34px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  padding-inline: var(--space-1);
  user-select: none;
}

.cart-item__line-total {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  white-space: nowrap;
  margin-left: auto;
}

.cart-item__remove {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.cart-item__remove:hover {
  color: var(--color-text);
}

/* Order summary */
.cart-summary {
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .cart-summary {
    position: sticky;
    top: calc(72px + var(--space-4));
  }
}

.cart-summary__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.cart-summary__note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  line-height: 1.55;
  margin: 0;
}

.cart-summary__continue {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.cart-summary__continue:hover {
  color: var(--color-text);
}


/* ─────────────────────────────────────────────────────────────
   R3B — Cart drawer
───────────────────────────────────────────────────────────── */

/* Block body scroll when drawer is open */
body.cart-drawer-is-open {
  overflow: hidden;
}

/* Overlay */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Panel — slides in from the right */
.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 40px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.cart-drawer-panel.is-open {
  transform: translateX(0);
}

/* Header */
.cart-drawer-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-drawer-panel__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
  letter-spacing: 0.02em;
}

.cart-drawer-panel__close {
  color: var(--color-text-subdued);
}

.cart-drawer-panel__close:hover {
  color: var(--color-text);
}

/* Scrollable body */
.cart-drawer-panel__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Empty state */
.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding-block: var(--space-12);
  text-align: center;
}

.cart-drawer-empty__text {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  margin: 0;
}

.cart-drawer-empty__btn {
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.cart-drawer-empty__btn:hover {
  border-color: var(--color-green-primary);
  color: var(--color-green-primary);
}

/* Items list */
.cart-drawer-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Individual drawer item */
.cart-drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-drawer-item__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 166, 70, 0.14), transparent 34%),
    linear-gradient(145deg, #f8f6ef 0%, #ede8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-drawer-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer-item__placeholder {
  font-family: var(--font-heading);
  font-size: 0.38rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  color: var(--color-green-dark);
  text-align: center;
  line-height: 1.3;
}

.cart-drawer-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-drawer-item__brand {
  font-size: 0.6rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.cart-drawer-item__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
}

.cart-drawer-item__variant {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: 0;
}

.cart-drawer-item__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.cart-drawer-item__line-total {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-left: auto;
  white-space: nowrap;
}

/* Drawer summary footer */
.cart-drawer-summary {
  flex-shrink: 0;
  padding: var(--space-4) var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cart-drawer-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-summary__label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.cart-drawer-summary__value {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.cart-drawer-summary__note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  line-height: 1.55;
  margin: 0;
}

.cart-drawer-summary__continue {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.cart-drawer-summary__continue:hover {
  color: var(--color-text);
}

/* Recommended add-ons */
.cart-drawer-recommendations {
  padding-top: var(--space-2);
}

.cart-drawer-recommendations__heading {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
  margin: 0 0 var(--space-3);
}

.cart-drawer-recommendations__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cart-drawer-rec {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  background: var(--color-soft-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.cart-drawer-rec__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 166, 70, 0.12), transparent 34%),
    linear-gradient(145deg, #f8f6ef 0%, #ede8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.cart-drawer-rec__placeholder {
  font-family: var(--font-heading);
  font-size: 0.32rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  color: var(--color-green-dark);
  text-align: center;
  line-height: 1.3;
}

.cart-drawer-rec__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-drawer-rec__brand {
  font-size: 0.58rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
}

.cart-drawer-rec__title {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.25;
  margin: 0;
  overflow-wrap: break-word;
}

.cart-drawer-rec__price {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.cart-drawer-rec__add {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--color-green-primary);
  background: transparent;
  color: var(--color-green-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.cart-drawer-rec__add:hover {
  background: var(--color-green-primary);
  color: var(--color-white);
}


/* ─────────────────────────────────────────────────────────────
   R3C — Cart icon + counter
───────────────────────────────────────────────────────────── */

/* Position anchor for the badge */
.cart-link {
  position: relative;
}

/* Badge */
.cart-count {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--color-green-primary);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: var(--font-weight-bold);
  line-height: 16px;
  text-align: center;
  pointer-events: none;
  border: 1.5px solid #ffffff;
}

/* ─────────────────────────────────────────────────────────────
   R3F — Cart drawer polish
───────────────────────────────────────────────────────────── */

/* Fix undefined token in summary */
.cart-drawer-summary {
  background: #ffffff;
}

/* Empty state — premium heading */
.cart-drawer-empty__title {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Toast feedback bar */
.cart-toast {
  flex-shrink: 0;
  padding: 9px var(--space-5);
  background: var(--color-almost-black);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.03em;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.cart-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tighter qty stepper inside drawer (override cart-page size) */
.cart-drawer-item .cart-item__qty-btn {
  width: 28px;
  height: 28px;
  font-size: 0.95rem;
}

.cart-drawer-item .cart-item__qty-value {
  min-width: 24px;
  font-size: var(--text-xs);
}

/* Mobile: full-width drawer, comfortable padding */
@media (max-width: 699px) {
  .cart-drawer-panel {
    width: 100vw;
  }

  .cart-drawer-panel__body {
    padding-inline: var(--space-4);
  }

  .cart-drawer-summary {
    padding-inline: var(--space-4);
  }

  .cart-item__qty-btn {
    width: 36px;
    height: 36px;
  }
}

/* ─────────────────────────────────────────────────────────────
   R4B.2A — Checkout page
───────────────────────────────────────────────────────────── */

.checkout-page {
  padding-block: var(--space-10) var(--space-16);
}

.checkout-page__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-6);
  letter-spacing: var(--heading-letter-spacing);
}

/* Error banner */
.checkout-error {
  background: #fff1f0;
  border: 1.5px solid var(--color-error);
  color: var(--color-error);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-6);
}

/* Two-column layout */
.checkout-layout {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checkout-section {
  margin-bottom: var(--space-7);
}

.checkout-section__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.checkout-field--grow { flex: 1; }
.checkout-field--sm   { flex: 0 0 84px; }

.checkout-field__label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.checkout-field__label span {
  color: var(--color-error);
  margin-left: 2px;
}

.checkout-field__input {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 11px var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
  outline: none;
}

.checkout-field__input:focus {
  border-color: var(--color-green-primary);
}

.checkout-field__input--readonly {
  background: var(--color-soft-bg);
  color: var(--color-text-subdued);
  cursor: default;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.checkout-field-row--three {
  grid-template-columns: 1fr 84px 100px;
}

.checkout-submit {
  margin-top: var(--space-2);
}

/* Order summary sidebar */
.checkout-summary {
  background: var(--color-soft-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: sticky;
  top: 90px;
}

.checkout-summary__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-5);
}

.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}

.checkout-summary__item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.checkout-summary__item-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  overflow-wrap: break-word;
}

.checkout-summary__item-variant {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
}

.checkout-summary__item-qty {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
}

.checkout-summary__item-price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.checkout-summary__divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-4);
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.checkout-summary__row--total {
  font-weight: var(--font-weight-bold);
  font-size: var(--text-base);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-1);
}

.checkout-summary__shipping {
  color: var(--color-green-primary);
  font-weight: var(--font-weight-semibold);
}

.checkout-summary__note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: var(--space-4) 0 0;
  line-height: 1.55;
}

.checkout-summary__empty {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  margin: 0;
}

.checkout-summary__empty a {
  color: var(--color-green-primary);
}

/* Shipping method block */
.checkout-shipping-method {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: #f0f7f4;
  border: 1.5px solid var(--color-green-primary);
  border-radius: var(--radius-md);
}

.checkout-shipping-method__icon {
  color: var(--color-green-primary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.checkout-shipping-method__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.checkout-shipping-method__name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
}

.checkout-shipping-method__delivery,
.checkout-shipping-method__tracking {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  line-height: 1.5;
  margin: 0;
}

.checkout-shipping-method__price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-green-primary);
  white-space: nowrap;
  align-self: flex-start;
  padding-top: 2px;
}

/* Summary shipping note */
.checkout-summary__shipping-note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: calc(-1 * var(--space-2)) 0 var(--space-3);
  line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 899px) {
  .checkout-field-row--three {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-field-row--three .checkout-field--grow {
    grid-column: 1 / -1;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .checkout-shipping-method {
    grid-template-columns: 22px 1fr auto;
    gap: var(--space-3);
    padding: var(--space-4);
  }
}


/* ═══════════════════════════════════════════════════════════════
   R4B.2D — Focused Checkout  (co-* namespace)
   Isolated styles for checkout.html only.
   Activated via <body class="co-body">.
═══════════════════════════════════════════════════════════════ */

/* ── Body isolation ─────────────────────────────────────────── */
.co-body {
  background: #f4f2ed;
  min-height: 100vh;
}

/* ── Focused header ─────────────────────────────────────────── */
.co-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: var(--z-header, 400);
}

.co-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
}

.co-header__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.co-header__back:hover {
  color: var(--color-green-primary);
}

.co-header__back svg {
  flex-shrink: 0;
}

.co-header__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  color: var(--color-almost-black);
  text-decoration: none;
  text-align: center;
  justify-self: center;
}

.co-header__secure {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
}

/* ── Main wrapper ───────────────────────────────────────────── */
.co-main {
  padding-block: var(--space-8) var(--space-16);
}

/* ── Two-column page ────────────────────────────────────────── */
.co-page {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 372px;
  gap: var(--space-10);
  align-items: start;
}

/* ── Error banner ───────────────────────────────────────────── */
.co-error {
  background: #fff0f0;
  border: 1.5px solid #c0392b;
  color: #c0392b;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}

/* ── Step breadcrumb ────────────────────────────────────────── */
.co-steps {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  margin-bottom: var(--space-6);
}

.co-steps__item {
  color: var(--color-text-subdued);
  text-decoration: none;
}

.co-steps__item:is(a):hover {
  color: var(--color-green-primary);
  text-decoration: underline;
}

.co-steps__item--active {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.co-steps__item--dim {
  color: var(--color-border);
}

.co-steps__sep {
  color: var(--color-border);
  user-select: none;
}

/* ── Form ───────────────────────────────────────────────────── */
.co-form {
  display: flex;
  flex-direction: column;
}

/* ── Section card ───────────────────────────────────────────── */
.co-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.co-section--last {
  margin-bottom: var(--space-5);
}

.co-section__title {
  font-size: 0.68rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
  margin: 0 0 var(--space-5);
}

/* ── Fields ─────────────────────────────────────────────────── */
.co-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.co-field:last-child,
.co-field--last {
  margin-bottom: 0;
}

.co-field--grow  { flex: 1 1 auto; min-width: 0; }
.co-field--state { flex: 0 0 72px; }
.co-field--zip   { flex: 0 0 100px; }

.co-field__label {
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
}

.co-field__required {
  color: #c0392b;
}

.co-field__input {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1.5px solid rgba(11, 15, 13, 0.2);
  border-radius: var(--radius-input);
  padding: 13px var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  line-height: 1.4;
}

.co-field__input::placeholder {
  color: rgba(11, 15, 13, 0.3);
}

.co-field__input:focus {
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(0, 96, 57, 0.1);
}

.co-field__input--readonly {
  background: var(--color-soft-bg);
  color: var(--color-text-subdued);
  cursor: default;
}

.co-field__input--readonly:focus {
  border-color: rgba(11, 15, 13, 0.2);
  box-shadow: none;
}

/* Field rows */
.co-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.co-field-row:last-child {
  margin-bottom: 0;
}

/* R4B.2F: ZIP-only row (class retained for JS message anchor) */
.co-field-row--city {
  grid-template-columns: 160px;
}

/* R4B.2F: City + State row (auto-filled after ZIP lookup) */
.co-field-row--city-state {
  grid-template-columns: 1fr 72px;
}

/* Fields inside a row have no bottom margin */
.co-field-row .co-field {
  margin-bottom: 0;
}

/* ── Shipping method card ────────────────────────────────────── */
.co-shipping-card {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-green-primary);
  border-radius: var(--radius-md);
  background: rgba(0, 96, 57, 0.025);
}

.co-shipping-card__radio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-green-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.co-shipping-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green-primary);
  display: block;
}

.co-shipping-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.co-shipping-card__name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
}

.co-shipping-card__desc,
.co-shipping-card__track {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  line-height: 1.5;
  margin: 0;
}

.co-shipping-card__price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-green-primary);
  white-space: nowrap;
  align-self: flex-start;
}

/* ── Submit button ───────────────────────────────────────────── */
.co-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: 15px var(--space-6);
  background: var(--color-green-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition-fast), transform 80ms ease;
  margin-bottom: var(--space-5);
}

.co-btn-submit:hover {
  background: var(--color-green-dark);
}

.co-btn-submit:active {
  transform: scale(0.99);
}

.co-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Form footer links ──────────────────────────────────────── */
.co-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
}

.co-form-footer a {
  color: var(--color-text-subdued);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.co-form-footer a:hover {
  color: var(--color-text);
}

/* ── Summary column ─────────────────────────────────────────── */
.co-summary-col {
  position: sticky;
  top: 84px;
}

.co-summary {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.co-summary__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-5);
  letter-spacing: -0.01em;
}

.co-summary__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

/* Item rows rendered by checkout.js */
.co-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}

.co-summary__item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.co-summary__item-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  overflow-wrap: break-word;
}

.co-summary__item-variant,
.co-summary__item-qty {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  line-height: 1.4;
}

.co-summary__item-price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Divider */
.co-summary__divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-4);
}

/* Row: Subtotal / Shipping / Total */
.co-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.co-summary__free {
  color: var(--color-green-primary);
  font-weight: var(--font-weight-semibold);
}

.co-summary__shipping-note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: calc(-1 * var(--space-2)) 0 var(--space-4);
  line-height: 1.5;
}

.co-summary__row--total {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
  margin-bottom: 0;
}

.co-summary__note {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: var(--space-4) 0 0;
  line-height: 1.55;
}

.co-summary__empty {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  margin: 0;
}

.co-summary__empty a {
  color: var(--color-green-primary);
  text-decoration: underline;
}

/* ── Trust signals ──────────────────────────────────────────── */
.co-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.co-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  line-height: 1.4;
}

.co-trust__item svg {
  flex-shrink: 0;
  color: var(--color-green-primary);
}

/* ── Minimal checkout footer ─────────────────────────────────── */
.co-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
}

.co-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}

.co-footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: 0;
  text-align: center;
}

/* ── ZIP lookup inline message ──────────────────────────────── */
.co-zip-lookup-message {
  font-size: var(--text-xs);
  line-height: 1.45;
  margin: var(--space-2) 0 0;
}

.co-zip-lookup-message--loading {
  color: var(--color-text-subdued);
  font-style: italic;
}

.co-zip-lookup-message--success {
  color: var(--color-green-primary);
  font-weight: var(--font-weight-medium);
}

.co-zip-lookup-message--error {
  color: var(--color-text-subdued);
}

/* ── Mobile (≤ 899px) ───────────────────────────────────────── */
@media (max-width: 899px) {
  .co-header__inner {
    padding: 0 var(--space-4);
    grid-template-columns: 1fr auto auto;
    gap: var(--space-3);
  }

  .co-header__secure {
    display: none;
  }

  .co-main {
    padding-block: var(--space-5) var(--space-10);
  }

  .co-page {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding-inline: var(--space-4);
  }

  /* Summary appears above the form on mobile */
  .co-summary-col {
    position: static;
    order: -1;
  }

  /* R4B.2F mobile: ZIP full-width, City/State stacked */
  .co-field-row--city,
  .co-field-row--city-state {
    grid-template-columns: 1fr;
  }

  .co-section {
    padding: var(--space-5);
  }

  .co-summary {
    padding: var(--space-5);
  }
}


/* ═══════════════════════════════════════════════════════════════
   R4B.3A — Return pages  (rt-return-* namespace)
   Used by success.html and cancel.html.
═══════════════════════════════════════════════════════════════ */

.rt-return-main {
  padding-block: var(--space-12) var(--space-16);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 64px - 60px); /* viewport minus header + footer */
}

.rt-return-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-10) var(--space-8);
  max-width: 540px;
  width: 100%;
  text-align: center;
}

/* ── Icon circle ── */
.rt-return-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  flex-shrink: 0;
}

.rt-return-icon--success {
  background: rgba(0, 96, 57, 0.08);
  color: var(--color-green-primary);
}

.rt-return-icon--cancel {
  background: rgba(170, 50, 35, 0.07);
  color: #aa3223;
}

/* ── Typography ── */
.rt-return-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.rt-return-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.65;
  margin: 0 0 var(--space-3);
}

.rt-return-subtext {
  font-size: var(--text-sm);
  color: var(--color-text-subdued);
  line-height: 1.6;
  margin: 0 0 var(--space-7);
}

/* ── Next steps block ── */
.rt-return-steps {
  background: var(--color-soft-bg);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  margin-bottom: var(--space-5);
}

.rt-return-steps__label {
  font-size: 0.68rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subdued);
  margin: 0 0 var(--space-4);
}

.rt-return-steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  counter-reset: rt-steps;
}

.rt-return-steps__list li {
  counter-increment: rt-steps;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.4;
}

.rt-return-steps__list li::before {
  content: counter(rt-steps);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Shipping note ── */
.rt-return-shipping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: 0 0 var(--space-7);
  line-height: 1.5;
}

.rt-return-shipping svg {
  flex-shrink: 0;
  color: var(--color-green-primary);
}

/* ── Action buttons ── */
.rt-return-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.rt-return-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px var(--space-6);
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.rt-return-btn--primary {
  background: var(--color-green-primary);
  color: #fff;
  border: 1.5px solid transparent;
}

.rt-return-btn--primary:hover {
  background: var(--color-green-dark);
}

.rt-return-btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.rt-return-btn--secondary:hover {
  border-color: var(--color-text-subdued);
}

/* ── "Cart saved" note (cancel page) ── */
.rt-return-saved {
  font-size: var(--text-xs);
  color: var(--color-text-subdued);
  margin: var(--space-5) 0 0;
  line-height: 1.5;
}

/* ── Mobile ── */
@media (max-width: 599px) {
  .rt-return-main {
    padding-block: var(--space-7) var(--space-10);
    align-items: flex-start;
  }

  .rt-return-card {
    max-width: 100%;
    padding: var(--space-7) var(--space-5);
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  .rt-return-steps {
    padding: var(--space-4) var(--space-5);
  }
}
