/** Shopify CDN: Minification failed

Line 1659:8 Expected identifier but found whitespace
Line 1659:10 Unexpected "{"
Line 1659:19 Expected ":"

**/
/* ============================================
   DRAPE — Production Theme CSS
   Fit-First Apparel | OS 2.0
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  font-size: 16px; 
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  background: var(--color-bg, #FFFFFF);
  color: var(--color-text, #0a0a0a);
  font-size: var(--body-size, 16px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  width: 100%;
}

/* ── Global Layout Reset: Kill ALL gaps ── */
html, body, .page-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.page-wrapper {
  overflow-x: hidden;
  clip-path: none !important;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  gap: 0 !important;
}

/* Force zero MARGIN between sections — do NOT zero padding (sections need padding for spacing) */
.shopify-section,
[id^="shopify-section-"],
.shopify-section-group-header-group {
  display: block !important;
  margin: 0 !important;
}

/* Only zero-out inner direct children margins (not padding, let sections control their own padding) */
.shopify-section > section,
.shopify-section > div,
.shopify-section > header,
.shopify-section > aside {
  margin: 0 !important;
}

#shopify-section-announcement-bar,
#shopify-section-header,
#shopify-section-hero-carousel {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0; /* Kill inline whitespace gaps */
}

#shopify-section-announcement-bar > *,
#shopify-section-header > *,
#shopify-section-hero-carousel > * {
  line-height: normal; /* Restore line height for children */
}

/* Ensure the first <main> section has no top margin either */
#main-content { margin: 0 !important; padding: 0 !important; }
#main-content > section:first-child,
#main-content > .shopify-section:first-child,
#main-content > [id^="shopify-section-"]:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Force utility sections to take zero space in document flow */
#shopify-section-search-overlay,
#shopify-section-mobile-menu,
#shopify-section-cart-drawer {
  display: block !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header is position:fixed — enforced in header.liquid directly */
#shopify-section-header,
.shopify-section-group-header-group {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}

/* ── Kill any gap from an empty/hidden announcement wrapper ── */
#shopify-section-announcement-bar:empty,
#shopify-section-announcement-bar:not(:has(*)) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Skip link (visually hidden until focused) */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

a { text-decoration: none; color: inherit; transition: opacity 0.2s ease; }
a:hover { opacity: 0.7; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display, 'Playfair Display', 'Anton', sans-serif); line-height: 1.1; }

/* --- CSS Custom Properties (defaults — overridden by theme.liquid settings) --- */
:root {
  --color-black: #0F2E1A;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-off-white: #ffffff;
  --color-primary: #0F2E1A;
  --color-accent: #2D7A4F;
  --color-olive: #2D7A4F;
  --color-navy: #1A1F2E;
  --color-charcoal: #2C2C2C;
  --color-border: #2D7A4F;
  --color-border-mid: rgba(196,168,130,0.4);
  --color-gray: #6B6B6B;
  --color-light-gray: #ffffff;
  --color-text: #0F2E1A;
  --font-display: 'Playfair Display', 'Playfair Display', 'Anton', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --body-size: 16px;
  --page-max-width: 1400px;
  --button-radius: 0px;
  --header-h: 88px;
  --announcement-h: 40px;
  --container-max: 100%;
  --container-pad: clamp(16px, 4vw, 48px);
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-full: 999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Accessibility --- */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 10000;
  background: var(--color-black); color: var(--color-white);
  padding: 10px 20px; font-size: 14px; transition: top 0.2s;
}
.skip-link:focus { top: 10px; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

/* --- Container --- */
#main-content {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  /* Removed overflow:clip — it breaks position:sticky for PDP panel and cart sidebar in Safari */
  background: var(--color-bg, #ffffff);
  position: relative;
  z-index: 10;
}
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0;
}

/* ==========================================
   ANNOUNCEMENT BAR
   ========================================== */
.announcement-bar {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.announcement-bar .marquee-inner {
  display: flex; gap: 80px; width: max-content;
  animation: marquee 25s linear infinite;
}
.announcement-bar .marquee-inner span { white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  background: var(--header-bg, #000000);
  width: 100%;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  /* Removed transform and backface-visibility as they break position: sticky */
  position: relative; /* Default position */
  z-index: 1000;
}
.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.site-header.header-hidden { transform: translateY(-100%); }
.header-inner {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header-left, .header-right { display: flex; align-items: center; gap: 20px; flex: 1; }
.header-right { justify-content: flex-end; }
.header-center { flex: 0 0 auto; }
.header-logo { display: flex; align-items: center; line-height: 1; }
.header-logo-img {
  height: 72px; width: auto; display: block; max-width: 240px;
  object-fit: contain;
}
.header-nav-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--header-text, #ffffff);
  transition: color var(--transition), opacity var(--transition); white-space: nowrap; background: none; border: none;
}
.header-nav-link:hover { color: var(--header-text, #ffffff); opacity: 0.7; }
.header-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; position: relative;
  transition: opacity var(--transition);
  color: var(--header-icon, #ffffff);
}
.header-icon-btn:hover { opacity: 0.65; }
.header-icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
.cart-count {
  position: absolute; top: 0; right: 0; width: 16px; height: 16px;
  background: var(--header-text, #ffffff); color: var(--header-bg, #000000);
  border-radius: 50%; font-size: 9px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-count[style*=""] { display: flex; }
.mobile-menu-trigger { display: none; }
.menu-toggle { display: none; color: var(--header-icon, #ffffff); }

/* --- Mega Menu --- */
.mega-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.25); z-index: 80;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.mega-menu-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90;
  background: var(--color-white); border-top: 1px solid var(--color-border);
  transform: translateY(-8px) translateZ(0); opacity: 0; visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.mega-menu.is-open { transform: translateY(0) translateZ(0); opacity: 1; visibility: visible; }
.mega-menu-inner {
  max-width: var(--container-max); margin: 0 auto;
  padding: 32px var(--container-pad) 40px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
}
.mega-menu-col h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-black);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.mega-menu-col ul { display: flex; flex-direction: column; gap: 10px; }
.mega-menu-col a {
  font-size: 13px; color: #444;
  transition: color var(--transition);
}
.mega-menu-col a:hover { color: var(--color-black); opacity: 1; }
.color-swatch {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #444;
}
.color-swatch-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0; /* Full-screen overlay — no gap */
  width: 100%;
  height: 100%;
  z-index: 9999; /* Above header to cover everything */
  background: var(--mm-bg, #ffffff);
  color: var(--mm-text, #000000);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%) translateZ(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateX(0) translateZ(0);
  visibility: visible;
}

/* ==========================================
   CART DRAWER
   ========================================== */
.cart-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 2000;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.cart-drawer-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 2010;
  width: min(420px, 100vw);
  background: var(--color-white);
  display: flex; flex-direction: column;
  transform: translateX(100%) translateZ(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cart-drawer.is-open { transform: translateX(0) translateZ(0); }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer-header h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.cart-drawer-header #cart-drawer-close { 
  color: var(--color-black); 
  opacity: 1;
  z-index: 10;
}
.cart-drawer-header #cart-drawer-close svg { 
  width: 24px; 
  height: 24px; 
  stroke-width: 2; 
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 16px; text-align: center; padding: 40px 0;
}
.cart-empty svg { width: 48px; height: 48px; opacity: 0.25; stroke-width: 1; }
.cart-empty p { font-size: 14px; color: var(--color-gray); }
.cart-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item-img {
  width: 80px; height: 96px; flex-shrink: 0;
  background: var(--color-light-gray); overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-name { font-size: 13px; font-weight: 500; }
.cart-item-variant { font-size: 12px; color: var(--color-gray); }
.cart-item-price { font-size: 13px; font-weight: 600; margin-top: auto; }
.cart-item-qty {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--color-border); width: fit-content;
  margin-top: 8px;
}
.cart-item-qty button { width: 28px; height: 28px; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cart-item-qty span { padding: 0 8px; font-size: 13px; min-width: 28px; text-align: center; }
.cart-item-remove { font-size: 11px; color: var(--color-gray); text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; margin-top: 4px; }
/* Support both .hidden class and HTML [hidden] attribute on cart footer */
.cart-drawer-footer[hidden],
.cart-empty[hidden] { display: none !important; }
.cart-drawer-footer {
  padding: 20px 24px 28px; border-top: 1px solid var(--color-border); flex-shrink: 0;
}
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 4px; }
.cart-subtotal-label { font-size: 14px; }
.cart-subtotal-value { font-size: 14px; font-weight: 600; }
.cart-tax-note { font-size: 11px; color: var(--color-gray); margin-bottom: 16px; }
.cart-btn-checkout {
  display: block; width: 100%; padding: 15px;
  background: var(--color-black); color: var(--color-white);
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.08em;
  text-align: center; text-transform: uppercase;
  transition: background var(--transition);
}
.cart-btn-checkout:hover { background: #333; opacity: 1; }
.cart-btn-continue {
  display: block; width: 100%; padding: 13px;
  border: 1px solid var(--color-border);
  font-size: 13px; text-align: center; margin-top: 10px; color: var(--color-charcoal);
  background: transparent; cursor: pointer;
  transition: background var(--transition);
}
.cart-btn-continue:hover { background: var(--color-light-gray); }
/* Cart item controls row */
.cart-item-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display); font-size: 32px; letter-spacing: 0.06em;
  color: var(--color-white); margin-bottom: 16px; display: block;
}
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-social a:hover { color: var(--color-white); opacity: 1; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col a:hover { color: var(--color-white); opacity: 1; }
.footer-newsletter { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-newsletter h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.06em; color: var(--color-white); margin-bottom: 8px; }
.footer-newsletter p { font-size: 13px; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 0; max-width: 420px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15); color: var(--color-white); font-size: 13px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 12px 20px; background: var(--color-white); color: var(--color-black);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  flex-shrink: 0; transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--color-off-white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); opacity: 1; }

/* ==========================================
   HOMEPAGE SECTIONS
   ========================================== */

/* Hero Banner & Carousel */
.hero-banner, .hero-carousel {
  position: relative; overflow: hidden; background: var(--color-black);
}
@media (min-width: 768px) {
  .hero-banner, .hero-carousel {
    height: calc(100svh - var(--header-h));
    min-height: 560px; max-height: 900px;
  }
}
@media (max-width: 767px) {
  .hero-banner {
    height: calc(100svh - var(--header-h));
    min-height: 400px;
  }
}
.hero-banner .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}
.hero-overlay, .hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 4vw, 60px);
  z-index: 10;
}
.hero-slide-content {
  max-width: 800px;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display); 
  font-size: clamp(38px, 8vw, 84px);
  color: var(--color-white); line-height: 1.05; letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.hero-subtitle { font-size: clamp(14px, 1.5vw, 16px); color: rgba(255,255,255,0.75); max-width: 400px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; background: var(--color-black); color: var(--color-white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all var(--transition); border: 1px solid var(--color-black);
}
.btn-hero-primary:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-black); opacity: 1; }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border: 1px solid rgba(255,255,255,0.5); color: var(--color-white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-hero-outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); opacity: 1; }

/* Section Common */
.section { padding: 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; gap: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); letter-spacing: 0.03em; line-height: 1; }
.section-subtitle { font-size: 13px; color: var(--color-gray); margin-top: 4px; }
.section-link { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 1px; white-space: nowrap; }

/* Product Grid */
.product-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  gap: 8px; 
}
.product-grid-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Product Card */
.product-card { display: flex; flex-direction: column; position: relative; }
.product-card-media {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--color-light-gray);
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-badge {
  position: absolute; top: 12px; z-index: 10;
  padding: 4px 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.product-card-badge.sold-out { background: var(--color-black); color: var(--color-white); }
.product-card-badge.sale { background: #D94F4F; color: var(--color-white); }
.product-card-badge.new { background: var(--color-olive); color: var(--color-white); }

.custom-badge-img { position: absolute; z-index: 10; padding: 0; background: none; }
.badge-pos-top-left { top: 12px; left: 12px; right: auto; bottom: auto; }
.badge-pos-top-right { top: 12px; right: 12px; left: auto; bottom: auto; }
.badge-pos-bottom-left { top: auto; bottom: 12px; left: 12px; right: auto; }
.badge-pos-bottom-right { top: auto; bottom: 12px; right: 12px; left: auto; }
.pc-action { margin-top: 8px; }
.product-card-info { 
  padding: 12px 0 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  position: relative; 
  z-index: 2; 
}
.product-card-info-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-card-vendor { font-size: var(--pc-vendor-size); letter-spacing: var(--pc-vendor-spacing); text-transform: var(--pc-vendor-transform); color: var(--pc-vendor-color); }
.product-card-title { font-family: var(--pc-title-font, var(--font-body)); font-weight: var(--pc-title-weight, 500); font-style: var(--pc-title-style, normal); font-size: var(--pc-title-size-m); text-transform: var(--pc-title-transform); color: var(--pc-title-color); line-height: 1.4; }
@media (min-width: 768px) { .product-card-title { font-size: var(--pc-title-size-d); } }
.product-card-title a:hover { opacity: 0.7; }
.product-card-description { 
  font-family: var(--pc-desc-font, var(--font-body)); 
  font-weight: var(--pc-desc-weight, 400); 
  font-style: var(--pc-desc-style, normal); 
  font-size: var(--pc-desc-size-m); 
  color: var(--pc-desc-color); 
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) { .product-card-description { font-size: var(--pc-desc-size-d); } }
.product-card-price { display: flex; align-items: center; gap: 8px; font-family: var(--pc-price-font, var(--font-body)); font-weight: var(--pc-price-weight, 600); font-style: var(--pc-price-style, normal); font-size: var(--pc-price-size-m); color: var(--pc-price-color); }
@media (min-width: 768px) { .product-card-price { font-size: var(--pc-price-size-d); } }
.pc-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: transparent;
  color: #111;
  transition: all 0.2s ease;
  padding: 0;
}
.pc-add-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.price-compare { text-decoration: line-through; color: var(--color-gray); font-weight: 400; }

/* Horizontal Scroll Slider */
.h-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 300px);
  overflow-x: auto;
  overflow-y: hidden;             /* Prevent vertical scroll bleed */
  overscroll-behavior-x: contain; /* Stop scroll from escaping to page when hitting edges */
  gap: clamp(12px, 2vw, 20px);
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;            /* Horizontal-only scroll zone for touch */
  padding-bottom: 4px;
}
.h-slider::-webkit-scrollbar { display: none; }
.h-slider .product-card { scroll-snap-align: start; }
.h-slider-lg { grid-auto-columns: min(85vw, 380px); }

/* Image Banner (Racing Club, Caps) */
.image-banner {
  position: relative; overflow: hidden;
  background: var(--color-black);
  aspect-ratio: 21/8;
  min-height: 280px;
}
.image-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7;
  transition: transform 0.8s ease;
}
.image-banner:hover img { transform: scale(1.03); }
.image-banner-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding: clamp(24px, 5vw, 64px);
}
.image-banner-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.image-banner-title { font-family: var(--font-display); font-size: clamp(36px, 6vw, 80px); color: var(--color-white); line-height: 0.95; letter-spacing: 0.03em; margin-bottom: 20px; }
.image-banner-subtitle { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 24px; max-width: 320px; line-height: 1.7; }

/* Stores Section */
.stores-section { background: var(--color-off-white); }
.stores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.store-card { position: relative; overflow: hidden; background: var(--color-white); }
.store-card-media { aspect-ratio: 4/3; overflow: hidden; }
.store-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.store-card:hover .store-card-media img { transform: scale(1.05); }
.store-card-info { padding: 20px; }
.store-card-city { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.03em; margin-bottom: 6px; }
.store-card-address { font-size: 12px; color: var(--color-gray); line-height: 1.6; margin-bottom: 12px; }
.store-card-links { display: flex; gap: 16px; }
.store-card-links a { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* ==========================================
   PRODUCT PAGE — 3-Column Layout
   [Thumbs] [Main Image] [Product Info]
   ========================================== */

/* Page wrapper — full width, minor vertical padding */
.product-page-wrap { padding: 32px 0 80px; }

/* Main 3-col grid */
.product-layout {
  display: grid;
  grid-template-columns: 80px 1fr 440px;
  gap: 16px 24px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---- LEFT: Vertical Thumb Strip ---- */
.product-gallery-area {
  display: contents; /* children participate directly in main grid */
}
.product-thumbs-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.product-thumb {
  width: 72px;
  height: 88px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--color-light-gray);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product-thumb:hover { border-color: rgba(10,10,10,0.4); }
.product-thumb.active { border-color: var(--color-black); }

/* ---- CENTRE: Main Image ---- */
.product-main-image {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.product-main-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-light-gray);
}
.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-main-img-wrap:hover .product-hero-img { transform: scale(1.04); }

/* ---- RIGHT: Product Info ---- */
.product-info-area {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.product-brand {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 10px;
}
.product-h1 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Price block */
.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-price-main {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-price-was {
  font-size: 16px;
  color: var(--color-gray);
  text-decoration: line-through;
  font-weight: 400;
}
.product-badge-sale {
  padding: 3px 10px;
  background: #D94F4F;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 0px;
  align-self: center;
}

.product-divider { border: none; border-top: 1px solid var(--color-border); margin: 20px 0; }

/* Option Blocks */
.product-option-block { margin-bottom: 20px; }
.product-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.product-option-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.size-guide-link {
  font-size: 11px;
  color: var(--color-gray);
  text-decoration: underline;
  letter-spacing: normal;
}

/* Size chips */
.size-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-chip {
  min-width: 52px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--color-border-mid);
  background: var(--color-white);
  color: var(--color-black);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.size-chip:hover:not(.unavailable) { border-color: var(--color-black); }
.size-chip.selected {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.size-chip.unavailable {
  opacity: 0.3;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Color chips */
.color-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.color-chip-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  transition: border-color var(--transition), transform var(--transition);
  display: block;
}
.color-chip:hover .color-chip-swatch { border-color: rgba(10,10,10,0.4); transform: scale(1.1); }
.color-chip.selected .color-chip-swatch { border-color: var(--color-black); box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-black); }
.color-chip-label { font-size: 10px; color: var(--color-gray); letter-spacing: 0.06em; }
.color-chip.unavailable { opacity: 0.3; cursor: not-allowed; }

/* CTA Buttons */
.product-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-atc {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-atc:hover:not(:disabled) { background: var(--color-olive); }
.btn-atc:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-buy-now {
  width: 100%;
  padding: 15px;
  background: var(--color-off-white);
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  border: 1.5px solid var(--color-border-mid);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.btn-buy-now:hover:not(:disabled) { background: var(--color-light-gray); border-color: var(--color-black); }
.btn-buy-now:disabled { opacity: 0.45; cursor: not-allowed; }

/* Trust bar */
.product-trust-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #555;
}
.trust-item svg { flex-shrink: 0; color: var(--color-black); }

/* Product Tabs */
.product-tabs { margin-top: 4px; }
.product-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}
.tab-btn {
  padding: 12px 0;
  margin-right: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--color-black); }
.tab-btn.active {
  color: var(--color-black);
  border-bottom-color: var(--color-black);
}
.tab-panel { animation: fadeTab 0.2s ease; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.product-description { font-size: 14px; line-height: 1.8; color: #444; margin-bottom: 16px; }
.product-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.product-spec-list li {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.product-spec-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-gray);
}

/* Related products */
.related-section { padding: 56px 0 80px; border-top: 1px solid var(--color-border); margin-top: 64px; }

/* Legacy selectors kept for backwards compat */
.product-page { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; padding: 40px 0 80px; }
.product-gallery { position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 24px); }
.product-gallery-main { aspect-ratio: 4/5; overflow: hidden; background: var(--color-light-gray); margin-bottom: 12px; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-gallery-main:hover img { transform: scale(1.04); }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.product-gallery-thumb { aspect-ratio: 1; overflow: hidden; background: var(--color-light-gray); cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.product-gallery-thumb.active { border-color: var(--color-black); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 0; }
.product-vendor { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gray); margin-bottom: 8px; }
.product-title { font-size: clamp(22px, 3vw, 32px); font-weight: 600; line-height: 1.2; margin-bottom: 16px; }
.product-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.product-price { font-size: 20px; font-weight: 700; }
.product-compare-price { font-size: 16px; color: var(--color-gray); text-decoration: line-through; font-weight: 400; }
.product-option-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; display: flex; justify-content: space-between; }
.size-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.size-btn { min-width: 52px; height: 40px; padding: 0 12px; border: 1px solid var(--color-border-mid); font-size: 13px; font-weight: 500; background: var(--color-white); color: var(--color-black); transition: all var(--transition); cursor: pointer; }
.size-btn:hover { border-color: var(--color-black); }
.size-btn.selected { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }
.size-btn.unavailable { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.color-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.color-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); position: relative; }
.color-btn.selected { border-color: var(--color-black); }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--color-border); width: fit-content; margin-bottom: 16px; }
.qty-btn { width: 40px; height: 40px; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.qty-input { width: 48px; height: 40px; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; font-size: 14px; font-weight: 600; background: transparent; }
.product-atc-btn { width: 100%; padding: 16px; background: var(--color-black); color: var(--color-white); font-family: var(--font-display); font-size: 18px; letter-spacing: 0.08em; text-align: center; margin-bottom: 12px; transition: background var(--transition); border: none; cursor: pointer; }
.product-atc-btn:hover:not(:disabled) { background: var(--color-olive); }
.product-atc-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.product-buy-btn { width: 100%; padding: 16px; background: var(--color-off-white); color: var(--color-black); font-family: var(--font-display); font-size: 18px; letter-spacing: 0.08em; text-align: center; margin-bottom: 20px; transition: background var(--transition); border: 1px solid var(--color-border); cursor: pointer; }
.product-buy-btn:hover { background: var(--color-light-gray); }
.product-features { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.product-tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--color-border); margin-bottom: 20px; }
.product-tab { padding: 12px 0; margin-right: 24px; font-size: 13px; font-weight: 500; border-bottom: 2px solid transparent; transition: border-color var(--transition); white-space: nowrap; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; }
.product-tab.active { border-bottom-color: var(--color-black); }
.product-tab-content { font-size: 13px; line-height: 1.8; color: #444; }
.product-tab-content ul { display: flex; flex-direction: column; gap: 6px; padding-left: 0; }
.product-tab-content li::before { content: '—  '; color: var(--color-gray); }
.product-accordion { border-top: 1px solid var(--color-border); }
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; background: none; border: none; cursor: pointer; }
.accordion-trigger svg { width: 16px; height: 16px; transition: transform var(--transition); stroke-width: 2; }
.accordion-trigger.open svg { transform: rotate(45deg); }
.accordion-body { overflow: hidden; height: 0; transition: height var(--transition); }
.accordion-body-inner { padding: 0 0 16px; font-size: 13px; line-height: 1.8; color: #444; }

/* ==========================================
   COLLECTION PAGE
   ========================================== */
.collection-header { padding: 40px 0 32px; border-bottom: 1px solid var(--color-border); margin-bottom: 40px; }
.collection-title-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.collection-page-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); letter-spacing: 0.03em; line-height: 1; }
.collection-count { font-size: 13px; color: var(--color-gray); }
.collection-desc { font-size: 14px; color: #555; margin-top: 12px; max-width: 600px; line-height: 1.7; }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; border: 1px solid var(--color-border);
  background: var(--color-white); transition: all var(--transition); cursor: pointer;
}
.filter-tab.active, .filter-tab:hover { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }
.sort-select {
  padding: 8px 32px 8px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--color-border); background: var(--color-white);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}

/* ==========================================
   CART PAGE
   ========================================== */
.cart-page { padding: 48px 0 80px; }
.cart-page-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); letter-spacing: 0.03em; margin-bottom: 32px; }
.cart-page-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cart-page-items { display: flex; flex-direction: column; gap: 0; }
.cart-page-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--color-border); align-items: start; }
.cart-page-item-img { aspect-ratio: 3/4; overflow: hidden; background: var(--color-light-gray); }
.cart-page-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-item-title { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.cart-page-item-variant { font-size: 12px; color: var(--color-gray); margin-bottom: 12px; }
.cart-page-item-price { font-size: 16px; font-weight: 700; }
.cart-sidebar { position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 24px); }
.cart-summary { border: 1px solid var(--color-border); padding: 24px; }
.cart-summary h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.cart-summary-total { font-size: 16px; font-weight: 700; border-top: 1px solid var(--color-border); padding-top: 16px; margin-top: 8px; display: flex; justify-content: space-between; }

/* ==========================================
   SEARCH PAGE
   ========================================== */
.search-page { padding: 48px 0 80px; }
.search-form-large { display: flex; border-bottom: 2px solid var(--color-black); margin-bottom: 48px; }
.search-form-large input { flex: 1; padding: 16px 0; font-size: clamp(20px, 3vw, 36px); font-family: var(--font-display); letter-spacing: 0.04em; background: none; border: none; outline: none; }
.search-form-large button { padding: 16px; display: flex; align-items: center; background: none; border: none; cursor: pointer; }
.search-form-large svg { width: 24px; height: 24px; }

/* ==========================================
   PAGE / ABOUT / CONTACT
   ========================================== */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--color-border); margin-bottom: 48px; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px); letter-spacing: 0.03em; line-height: 1; margin-bottom: 16px; }
.page-content { max-width: 720px; }
.page-content p { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 20px; }
.page-content h2 { font-family: var(--font-display); font-size: 32px; letter-spacing: 0.03em; margin: 32px 0 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.form-input { padding: 12px 16px; border: 1px solid var(--color-border); background: var(--color-white); font-size: 14px; outline: none; transition: border-color var(--transition); }
.form-input:focus { border-color: var(--color-black); }
.form-textarea { min-height: 140px; resize: vertical; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-item p, .contact-item a { font-size: 14px; color: #444; line-height: 1.7; }

/* ==========================================
   404 PAGE
   ========================================== */
.page-404 { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.page-404-num { font-family: var(--font-display); font-size: clamp(100px, 18vw, 200px); color: var(--color-black); letter-spacing: 0.03em; line-height: 0.9; margin-bottom: 16px; }
.page-404 p { font-size: 15px; color: var(--color-gray); margin-bottom: 32px; }

/* ==========================================
   BUTTONS & UTILITIES
   ========================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; transition: all var(--transition); cursor: pointer; border: none;
  border-radius: var(--button-radius, 0px);
}
.btn-primary { background: var(--color-black); color: var(--color-white); border: 1px solid var(--color-black); }
.btn-primary:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-black); opacity: 1; }
.btn-outline { background: transparent; color: var(--color-black); border: 1px solid var(--color-black); }
.btn-outline:hover { background: var(--color-black); color: var(--color-white); opacity: 1; }
.btn-white { background: var(--color-white); color: var(--color-black); }
.btn-white:hover { background: var(--color-off-white); opacity: 1; }
.btn-full { width: 100%; }
.badge { display: inline-flex; padding: 3px 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-black { background: var(--color-black); color: var(--color-white); }
.badge-white { background: var(--color-white); color: var(--color-black); }

/* Loading Spinner */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--color-white); border-radius: 50%; animation: spin 0.6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notification */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  z-index: 9999; background: var(--color-black); color: var(--color-white);
  padding: 12px 20px; font-size: 13px; font-weight: 500;
  transition: transform 0.3s ease; pointer-events: none; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Animations */
/* Removed duplicate fade-in-up to prevent global hiding issues */
.fade-in-up-legacy { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }

/* Utilities */
.hidden { display: none !important; }

/* ==========================================
   SEARCH OVERLAY
   ========================================== */
/* Search Overlay moved to sections.css for enhanced layout */
/*
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(250,250,248,0.97);
  display: flex; flex-direction: column; align-items: center;
  padding: 80px var(--container-pad) 40px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.search-overlay.is-open { opacity: 1; visibility: visible; pointer-events: all; }
.search-overlay-inner { width: 100%; max-width: 640px; }
.search-overlay-header { display: flex; justify-content: flex-end; margin-bottom: 32px; }
.search-overlay-header button { background: none; border: none; cursor: pointer; padding: 4px; }
.search-overlay-header svg { width: 24px; height: 24px; }
.search-overlay-form { display: flex; border-bottom: 2px solid var(--color-black); margin-bottom: 40px; }
.search-overlay-form input {
  flex: 1; padding: 16px 0;
  font-family: var(--font-display); font-size: clamp(24px, 4vw, 44px);
  letter-spacing: 0.04em; background: none; border: none; outline: none; color: var(--color-black);
}
.search-overlay-form input::placeholder { color: rgba(10,10,10,0.25); }
.search-overlay-form button { padding: 16px 0 16px 16px; background: none; border: none; cursor: pointer; }
.search-overlay-form svg { width: 28px; height: 28px; }
.search-overlay-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.search-overlay-suggestions a {
  padding: 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.search-overlay-suggestions a:hover { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); opacity: 1; }
*/

/* ==========================================
   CUSTOMER ACCOUNT PAGES
   ========================================== */
.account-page { padding: 48px 0 80px; }
.account-page-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); letter-spacing: 0.03em; margin-bottom: 8px; }
.account-page-subtitle { font-size: 14px; color: var(--color-gray); margin-bottom: 40px; }
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.account-nav { border: 1px solid var(--color-border); }
.account-nav a {
  display: block; padding: 14px 20px; font-size: 13px; font-weight: 500;
  border-bottom: 1px solid var(--color-border); transition: background var(--transition);
}
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover, .account-nav a.active { background: var(--color-black); color: var(--color-white); opacity: 1; }
.account-section-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; border-bottom: 1px solid var(--color-border); padding-bottom: 12px; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 16px; background: var(--color-light-gray); text-align: left; }
.orders-table td { padding: 14px 16px; font-size: 13px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.orders-table tr:hover td { background: var(--color-off-white); }
.account-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.address-card { border: 1px solid var(--color-border); padding: 20px; }
.address-card.default { border-color: var(--color-black); }
.address-card p { font-size: 13px; line-height: 1.7; color: #444; }
.address-card-actions { display: flex; gap: 12px; margin-top: 16px; }
.address-card-actions a { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* Auth forms (login/register) */
.auth-page { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 40px var(--container-pad); }
.auth-box { width: 100%; max-width: 440px; }
.auth-title { font-family: var(--font-display); font-size: 48px; letter-spacing: 0.04em; margin-bottom: 8px; }
.auth-subtitle { font-size: 14px; color: var(--color-gray); margin-bottom: 32px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-input { padding: 14px 16px; font-size: 14px; }
.auth-submit { padding: 16px; background: var(--color-black); color: var(--color-white); font-family: var(--font-display); font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; width: 100%; text-align: center; cursor: pointer; border: none; transition: background var(--transition); }
.auth-submit:hover { background: var(--color-olive); }
.auth-links { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.auth-links a { font-size: 13px; color: var(--color-gray); text-decoration: underline; }

/* Error messages */
.errors { background: #fff2f2; border: 1px solid #f5c6c6; padding: 14px 18px; margin-bottom: 20px; font-size: 13px; color: #c0392b; }
.errors ul { padding-left: 16px; list-style: disc; }

/* ==========================================
   BLOG / ARTICLE
   ========================================== */
.blog-page { padding: 48px 0 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article-card { display: flex; flex-direction: column; }
.article-card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--color-light-gray); margin-bottom: 16px; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .article-card-media img { transform: scale(1.05); }
.article-card-meta { font-size: 11px; color: var(--color-gray); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.article-card-title { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.article-card-excerpt { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 12px; }
.article-card-read-more { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid currentColor; display: inline-block; }

.article-page { padding: 48px 0 80px; }
.article-page-hero { margin-bottom: 40px; }
.article-page-meta { font-size: 12px; color: var(--color-gray); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.article-page-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px); letter-spacing: 0.03em; line-height: 1; margin-bottom: 32px; }
.article-page-image { aspect-ratio: 16/7; overflow: hidden; background: var(--color-light-gray); margin-bottom: 48px; }
.article-page-image img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; }
.article-body p { font-size: 16px; line-height: 1.9; color: #333; margin-bottom: 24px; }
.article-body h2 { font-family: var(--font-display); font-size: 32px; letter-spacing: 0.04em; margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 24px; }
.article-body li { font-size: 16px; line-height: 1.9; color: #333; margin-bottom: 6px; }

/* ==========================================
   RICH TEXT / ABOUT
   ========================================== */
.rich-text-section { padding: clamp(48px, 7vw, 96px) 0; }
.rich-text-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.rich-text-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gray); margin-bottom: 20px; }
.rich-text-heading { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); letter-spacing: 0.03em; line-height: 1; margin-bottom: 24px; }
.rich-text-body { font-size: 16px; line-height: 1.9; color: #444; }
.rich-text-body p { margin-bottom: 16px; }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section { background: var(--color-off-white); padding: clamp(48px, 6vw, 80px) 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card { background: var(--color-white); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial-stars { display: flex; gap: 2px; color: #E8B931; font-size: 14px; }
.testimonial-text { font-size: 14px; line-height: 1.8; color: #444; font-style: italic; flex: 1; }
.testimonial-author { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.testimonial-location { font-size: 11px; color: var(--color-gray); }

/* ==========================================
   CONTACT
   ========================================== */
.contact-page { padding: 48px 0 80px; }

/* ==========================================
   GIFT CARD
   ========================================== */
.gift-card-page { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 80px var(--container-pad); text-align: center; }
.gift-card-box { max-width: 480px; width: 100%; }
.gift-card-visual { background: var(--color-black); color: var(--color-white); padding: 40px; margin-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gift-card-visual .logo { font-family: var(--font-display); font-size: 40px; letter-spacing: 0.06em; }
.gift-card-amount { font-family: var(--font-display); font-size: 56px; letter-spacing: 0.03em; }
.gift-card-code { font-family: monospace; font-size: 20px; letter-spacing: 0.15em; background: rgba(255,255,255,0.1); padding: 12px 20px; margin-top: 8px; }
.gift-card-expiry { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ==========================================
   RESPONSIVE ADDITIONS
   ========================================== */

/* ---- Product layout ---- */
/* 1100px: hide thumb strip, 2-col (image | info) */
@media (max-width: 1100px) {
  .product-layout {
    grid-template-columns: 1fr 380px;
    gap: 0 24px;
  }
  /* hide thumb strip on medium — show row of thumbs instead */
  .product-thumbs-strip { display: none; }
  /* Legacy */
  .product-page { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .cart-page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stores-grid { grid-template-columns: 1fr 1fr; }
}

/* 768px: full stack */
@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
    padding: 0 var(--container-pad);
    gap: 0;
  }
  .product-thumbs-strip { display: none; }
  .product-main-image { position: static; }
  .product-info-area { padding-top: 24px; }
  /* mobile: row of tiny thumbs below main image */
  .product-layout .product-gallery-area + .product-info-area { order: 2; }

  .mega-menu-inner { display: none; }
  .header-nav-link.desktop-only { display: none; }
  .menu-toggle { display: flex; }
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .header-icon-btn.account-icon { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cart-page-item { grid-template-columns: 80px 1fr auto; gap: 12px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .image-banner { aspect-ratio: 4/3; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .h-slider { grid-auto-columns: 80vw; }
  .product-h1 { font-size: 20px; }
}


/* ==========================================
   TOAST NOTIFICATION
   ========================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--color-black);
  color: var(--color-white);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* SPINNER */
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: white;
  border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* UTILITY */
.hidden { display: none !important; }
[hidden] { display: none !important; }
.btn-full { width: 100%; display: block; }
.placeholder-svg { width: 100%; height: 100%; object-fit: cover; background: var(--color-light-gray); }

/* ==========================================
   ADDITIONAL DESIGN TOKENS (spec alignment)
   ========================================== */
:root {
  /* Spec-aligned spacing tokens */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Additional radii */
  --radius-lg: 2rem;

  /* Shadow tokens */
  --shadow-soft: 0 0.5rem 1.5rem rgba(0,0,0,0.08);
  --shadow-mid:  0 1rem 3rem rgba(0,0,0,0.14);

  /* Extended transitions */
  --transition-fast:   0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Brand accent */
  --color-accent: #D4AF37;

  /* Font alias for spec compatibility */
  --font-heading: var(--font-display);
}

/* ==========================================
   HERO CAROUSEL
   ========================================== */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  max-height: 920px;
  -webkit-user-select: none;
  user-select: none;
}

/* ---- Slides ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform; /* Unified compositor hint for slide + image */
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);

}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide.is-leaving {
  opacity: 0;
  z-index: 1;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  /* Ken Burns zoom — transition only transform, opacity handled by parent */
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}

/* ---- Gradient overlay ---- */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.18) 55%, transparent 100%),
    linear-gradient(to right, rgba(0,0,0,0.35) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 80px);
  z-index: 3;
}

/* ---- Slide content animation ---- */
.hero-slide-content {
  max-width: 620px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.65s 0.15s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.65s 0.15s ease;
}
.hero-slide.is-active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
}

/* =====================================================
   NEW FOOTER FORMAT (WAYORA STYLE)
   ===================================================== */
.site-footer {
  background: #000;
  color: #fff;
  padding-bottom: 0;
}

/* 1. Newsletter Top */
.footer-newsletter-top {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.newsletter-form-wide .newsletter-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 8px;
}
.newsletter-form-wide input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  outline: none;
}
.newsletter-form-wide input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form-wide button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

/* 2. Main Grid V2 */
.footer-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-heading-v2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 24px;
  color: #fff;
}
.footer-links-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-v2 li {
  margin-bottom: 10px;
}
.footer-links-v2 a {
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links-v2 a:hover { color: #fff; }

.footer-info-col {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 1025px) {
  .footer-info-col {
    padding-left: 40px;
  }
}
.footer-powered-by {
  margin-top: 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* 3. Meta Bar */
.footer-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-meta-links a { color: inherit; text-decoration: none; }
.footer-social-icons { display: flex; gap: 20px; }
.footer-social-icons a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-social-icons a:hover { color: #fff; }

/* 4. Giant Wordmark V2 */
.footer-wordmark-v2 {
  background: #000;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.footer-wordmark-large {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 900;
  color: {{ section.settings.wordmark_color | default: '#5BBF8A' }};
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
}

/* 5. Payments Bar */
.footer-payments-bar {
  background: #000;
  padding: 40px 0 60px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.payments-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.payment-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-icons-row img {
  height: 20px;
  width: auto;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .footer-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 640px) {
  .footer-grid-v2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta-bar { flex-direction: column; gap: 20px; text-align: center; }
  .footer-meta-left { order: 3; }
  .footer-meta-center { order: 1; }
  .footer-meta-right { order: 2; }
}

/* Reuse existing hero text classes from banner */
.hero-slide .hero-eyebrow,
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-actions { /* inherits from base hero rules */ }

/* ---- Arrow buttons ---- */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--color-white);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(4px); /* Subtle blur for glass effect */
  -webkit-backdrop-filter: blur(4px);
}
.hero-carousel-prev { left: clamp(16px, 3vw, 40px); }
.hero-carousel-next { right: clamp(16px, 3vw, 40px); }

.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.hero-carousel-arrow svg { pointer-events: none; }

/* ---- Dot navigation ---- */
.hero-carousel-dots {
  position: absolute;
  bottom: clamp(20px, 3vw, 36px);
  right: clamp(24px, 4vw, 64px);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width var(--transition-smooth), background var(--transition-smooth), border-radius var(--transition-smooth);
}
.hero-dot.is-active {
  width: 24px;
  background: var(--color-white);
  border-radius: 0px;
}
.hero-dot:hover { background: rgba(255,255,255,0.75); }

/* ---- Autoplay progress bar ---- */
.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 10;
  overflow: hidden;
}
.hero-progress-fill {
  height: 100%;
  background: var(--color-white);
  transform-origin: left;
  animation: progressSweep linear infinite;
}
@keyframes progressSweep {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---- Scroll cue ---- */
.hero-scroll-cue {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  left: clamp(24px, 4vw, 64px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollPulse 1.8s ease infinite;
}
@keyframes scrollPulse {
  0%   { top: -100%; }
  50%  { top: 0%; }
  100% { top: 100%; }
}

/* Carousel responsive */
@media (max-width: 768px) {
  .hero-carousel {
    height: calc(100svh - var(--header-h));
    min-height: 480px;
    max-height: 760px;
  }
  .hero-carousel-arrow { width: 40px; height: 40px; }
  .hero-scroll-cue { display: none; }
  .hero-carousel-prev { left: 12px; }
  .hero-carousel-next { right: 12px; }
}

/* ==========================================
   ENHANCED PRODUCT CARD
   ========================================== */

/* Float animation for featured cards */
@keyframes floatProduct {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Color swatch mini-preview on card */
.product-card-swatches {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.product-card-swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* Hover lift on entire card */
.product-card {
  transition: transform var(--transition-smooth);
}
.product-card:hover {
  transform: translateY(-4px);
}

/* Mobile menu styles are now in sections.css with CSS variable support */

/* ==========================================
   ENHANCED STICKY HEADER
   ========================================== */
.site-header {
  transition: box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}
/* Solid header after scroll */
.site-header.scrolled {
  box-shadow: var(--shadow-mid);
}
/* Reveal on scroll up */
@keyframes headerReveal {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ==========================================
   SECTION FADE-IN ANIMATIONS
   ========================================== */
/* Default: Visible and stable */
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only hide if JS is active and the element hasn't been seen yet */
html.js .fade-in-up:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

/* When visible, restore */
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger helper */
.fade-in-up:nth-child(2) { transition-delay: 0.08s; }
.fade-in-up:nth-child(3) { transition-delay: 0.16s; }
.fade-in-up:nth-child(4) { transition-delay: 0.24s; }
.fade-in-up:nth-child(5) { transition-delay: 0.32s; }
.fade-in-up:nth-child(6) { transition-delay: 0.40s; }

/* ==========================================
   MARQUEE ENHANCEMENTS
   ========================================== */
.announcement-bar {
  /* Pause on hover for accessibility */
}
.announcement-bar:hover .marquee-inner {
  animation-play-state: paused;
}

/* =====================================================
   FOOTER WORDMARK — Giant editorial display text
   ===================================================== */
.footer-wordmark {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(60px, 15vw, 220px);
  font-weight: 900;
  letter-spacing: 0.05em;
  word-spacing: 0.2em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.12);
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
  padding: 0 0 clamp(16px, 4vw, 48px);
  overflow: hidden;
  margin-top: 40px;
}

/* On light-background footers, use dark stroke */
.site-footer .footer-wordmark {
  -webkit-text-stroke: 2px rgba(10,10,10,0.07);
  background: linear-gradient(180deg,
    rgba(10,10,10,0.06) 0%,
    rgba(10,10,10,0.02) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================
   ACCESSIBILITY — Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-slide-img {
    transform: none !important;
    transition: none !important;
  }
  .hero-progress-fill {
    animation: none !important;
  }
  .fade-in-up {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .marquee-inner {
    animation: none !important;
  }
  .hero-scroll-line::after {
    animation: none !important;
  }
}

/* ==========================================================================
   iOS / macOS WebKit Stability & Performance Patches
   ========================================================================== */

/* 1. Eliminate 300ms tap delay on touch devices, and remove Safari's default glossy input styling */
a, button, input[type="submit"], input[type="button"], .button, .btn {
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

/* 2. Hardware acceleration for critical animating elements to prevent jank */
.mobile-menu, .drawer, .modal, .hero-slide-img, .carousel-slide, .hero-carousel-arrow, .fade-in-up, .marquee-inner, .hero-slide-content {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
}

/* 3. Smooth scrolling and overscroll behavior */
html, body {
  /* Note: -webkit-overflow-scrolling:touch is deprecated in modern Safari/iOS.
     Use overscroll-behavior instead which is the modern standard. */
  overscroll-behavior-y: auto;
}

/* 4. Fix sub-pixel rendering issues on macOS Safari for fonts and borders */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 5. Prevent text size inflation on landscape orientation in iOS */
html {
  -webkit-text-size-adjust: 100%;
}

/* 6. Sticky Hover Fix for iOS (Requires rewriting hover states in media queries ideally, but this helps globally) */
@media (hover: none) {
  .hero-carousel-arrow:hover {
    transform: translateY(-50%) !important;
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
  }
}

/* 7. Hide scrollbars gracefully for horizontal scrolling containers (like collections) */
.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}
.horizontal-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

