/* ==========================================================================
   OLAMATI — Artisanal Greek-Inspired Home Decor & Gifts
   Clean Editorial Design System + 3D Carousel + Marquee + Mobile App Bar
   ========================================================================== */

:root {
  /* Palette: Aegean Cobalt, Crisp Whitewash, Warm Travertine */
  --aegean-deep: #0F294A;
  --aegean-cobalt: #184A8C;
  --aegean-bright: #1E63B5;
  --mati-cyan: #2FA4D7;
  --gold-accent: #C59B5F;

  --ivory: #FAF8F5;
  --surface: #FFFFFF;
  --sand: #F2EDE4;
  --mist-ice: #F4F7FA;

  --text-primary: #1A1D21;
  --text-secondary: #5A606A;
  --text-muted: #848A94;
  --border-light: rgba(24, 74, 140, 0.12);
  --border-dark: rgba(24, 74, 140, 0.22);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Radii */
  --shadow-sm: 0 2px 8px rgba(15, 41, 74, 0.06);
  --shadow-md: 0 10px 26px rgba(15, 41, 74, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 41, 74, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --header-height: 76px;
  --mobile-bar-height: 64px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.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;
}

/* ==========================================================================
   HEADER — Blends Seamlessly Over Hero Image
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.58) 0%, rgba(10, 22, 40, 0.22) 65%, rgba(10, 22, 40, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(15, 41, 74, 0.08);
  border-bottom-color: var(--border-light);
}

.promo-strip {
  background: var(--aegean-deep);
  color: #FFFFFF;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
}

.promo-strip strong {
  color: #7CE2FE;
  font-weight: 700;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  padding: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  transition: color 0.3s ease;
}

.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.site-header.scrolled .brand-name {
  color: var(--aegean-deep);
}

.site-header.scrolled .brand-tagline {
  color: var(--text-secondary);
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.desktop-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--mati-cyan);
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.site-header.scrolled .desktop-nav a {
  color: var(--text-primary);
}

.site-header.scrolled .desktop-nav a:hover {
  color: var(--aegean-cobalt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.25s ease;
}

.icon-action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.site-header.scrolled .icon-action-btn {
  color: var(--aegean-deep);
  background: var(--mist-ice);
  border-color: var(--border-light);
}

.site-header.scrolled .icon-action-btn:hover {
  background: var(--aegean-cobalt);
  color: #FFFFFF;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mati-cyan);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.mobile-menu-toggle {
  display: none;
}

/* Mobile Slide-Out Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--surface);
  z-index: 1260;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}

.mobile-menu-drawer.open {
  transform: translateX(0);
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--aegean-deep);
}

.mobile-menu-nav {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
}

.mobile-nav-link {
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--aegean-deep);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background: var(--mist-ice);
  color: var(--aegean-cobalt);
}

.mobile-menu-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--ivory);
}

/* ==========================================================================
   HERO SECTION — Seamless Header Blend + Breadcrumb Trail
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 5rem;
  overflow: hidden;
  background-color: var(--aegean-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

/* Soft multi-stop gradient so header blends at top, left text pops, and bottom melts into ivory */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 24, 44, 0.56) 0%, rgba(10, 24, 44, 0.14) 28%, rgba(10, 24, 44, 0.12) 72%, var(--ivory) 100%),
    linear-gradient(90deg, rgba(10, 24, 44, 0.72) 0%, rgba(10, 24, 44, 0.42) 48%, rgba(10, 24, 44, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 630px;
  color: #FFFFFF;
}

/* Breadcrumb-style trail blending header into hero */
.hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.35rem;
}

.hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.hero-breadcrumbs a:hover {
  color: #7CE2FE;
}

.hero-breadcrumbs .crumb-sep {
  opacity: 0.55;
}

.hero-breadcrumbs .crumb-current {
  color: #7CE2FE;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.hero h1 em {
  font-style: italic;
  color: #BCEBFF;
}

.hero-subtitle {
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin-bottom: 1.85rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--aegean-cobalt);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(24, 74, 140, 0.35);
}

.btn-primary:hover {
  background: var(--aegean-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 74, 140, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--aegean-deep);
  border: 1.5px solid var(--border-dark);
}

.btn-outline:hover {
  background: var(--aegean-deep);
  color: #FFFFFF;
  border-color: var(--aegean-deep);
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   SECTION SHARED HEADERS
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-compact {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(24, 74, 140, 0.08);
  border: 1px solid rgba(24, 74, 140, 0.15);
  color: var(--aegean-cobalt);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  color: var(--aegean-deep);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.section-subtitle {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CURATED COLLECTIONS GRID
   ========================================================================== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.collection-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--aegean-cobalt);
}

.collection-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--mist-ice);
  margin-bottom: 0.6rem;
}

.collection-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.collection-card:hover .collection-thumb img {
  transform: scale(1.06);
}

.collection-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   BEST SELLERS — AQWAKE-STYLE 3D CYLINDRICAL CAROUSEL
   ========================================================================== */
.bestsellers-section {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--sand) 50%, var(--ivory) 100%);
  overflow: hidden;
}

.bestsellers-3d-stage-wrap {
  position: relative;
  max-width: 1060px;
  min-height: 460px;
  margin: 0 auto;
  perspective: 1150px;
  perspective-origin: 50% 50%;
  overflow: visible;
  touch-action: pan-y;
}

.bestsellers-3d-ring {
  position: relative;
  width: 100%;
  min-height: 440px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.bestsellers-3d-ring .product-card {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -205px !important;
  margin-left: -120px !important;
  width: 240px !important;
  height: 410px;
  min-height: 410px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 26px rgba(15, 41, 74, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  user-select: none;
  cursor: pointer;
}

.bestsellers-3d-ring .product-card:hover {
  border-color: var(--aegean-cobalt);
}

.bestsellers-3d-ring .product-card.card-center {
  border: 2px solid var(--aegean-cobalt);
  box-shadow: 0 20px 48px rgba(15, 41, 74, 0.2), 0 0 0 1px rgba(24, 74, 140, 0.25);
  cursor: default;
}

.card-media-wrap {
  position: relative;
  height: 190px;
  background-color: var(--mist-ice);
  overflow: hidden;
  flex-shrink: 0;
}

.card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.24rem 0.58rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--aegean-deep);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #D93848;
  transform: scale(1.08);
}

.card-body {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.card-category {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aegean-cobalt);
  margin-bottom: 0.22rem;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-rating {
  font-size: 0.7rem;
  color: #D49A2A;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.card-rating span {
  color: var(--text-muted);
  font-weight: 500;
}

.card-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.65rem;
}

.swatch-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swatch-dot.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--aegean-cobalt);
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aegean-deep);
}

.card-add-btn {
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--aegean-cobalt);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.card-add-btn:hover {
  background: var(--aegean-deep);
  transform: scale(1.04);
}

/* Carousel Navigation Arrows */
.stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--aegean-deep);
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 18px rgba(15, 41, 74, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: all 0.25s ease;
}

.stage-nav-arrow.prev { left: 4px; }
.stage-nav-arrow.next { right: 4px; }

@media (min-width: 1280px) {
  .stage-nav-arrow.prev { left: -16px; }
  .stage-nav-arrow.next { right: -16px; }
}

.stage-nav-arrow:hover {
  background: var(--aegean-cobalt);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 26px rgba(24, 74, 140, 0.35);
}

.stage-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Carousel Indicator Dots (Active stretches into 32px pill) */
.carousel-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.carousel-indicator-dot {
  height: 8px;
  width: 8px;
  border-radius: var(--radius-full);
  background: var(--border-dark);
  transition: width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-indicator-dot.active {
  width: 32px;
  background: var(--aegean-cobalt);
  box-shadow: 0 2px 6px rgba(24, 74, 140, 0.4);
}

/* ==========================================================================
   SPECIAL OCCASIONS & BRAND STORY
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.story-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.story-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.story-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.highlight-box {
  background: var(--mist-ice);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--aegean-cobalt);
}

.highlight-box strong {
  display: block;
  font-size: 0.84rem;
  color: var(--aegean-deep);
}

.highlight-box span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.charity-banner {
  background: linear-gradient(135deg, var(--aegean-deep) 0%, #19457D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.charity-banner h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.charity-banner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.15rem;
}

.charity-meta {
  font-size: 0.78rem;
  color: #9EE6FF;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ==========================================================================
   REVIEWS — COMPACT 2-LINE MARQUEE LAYOUT (Desktop & Mobile)
   ========================================================================== */
.reviews-section {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.marquee-row {
  display: flex;
  width: max-content;
  gap: 0.75rem;
}

.marquee-row.row-left {
  animation: marqueeLeft 34s linear infinite;
}

.marquee-row.row-right {
  animation: marqueeRight 38s linear infinite;
}

.marquee-wrapper:hover .marquee-row {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.review-card {
  width: 285px;
  flex-shrink: 0;
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
}

.review-stars {
  font-size: 0.68rem;
  color: #D49A2A;
  letter-spacing: 0.08em;
}

.review-quote {
  font-size: 0.76rem;
  color: var(--text-primary);
  line-height: 1.42;
}

.review-author {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--aegean-cobalt);
}

/* ==========================================================================
   COMPACT FAQ SECTION (Small on Desktop & Mobile)
   ========================================================================== */
.faq-container {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--aegean-cobalt);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.78rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--aegean-deep);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--aegean-cobalt);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   STORE LOCATION & NEWSLETTER
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.visit-card,
.newsletter-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.visit-card h3,
.newsletter-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--aegean-deep);
  margin-bottom: 0.5rem;
}

.visit-details {
  list-style: none;
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-dark);
  background: var(--ivory);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--aegean-cobalt);
  background: #FFFFFF;
}

/* ==========================================================================
   FOOTER — SYSTECT SOCIALS FORMAT + AQWAKE "CREATED BY SYSTECT" LED CREDIT
   ========================================================================== */
.footer {
  background: #04070d;
  color: #E2E8F0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2.25rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-brand-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a,
.footer-links li {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #7CE2FE;
}

/* Exact Socials Format from systect.co.za */
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1.35rem;
}

.social-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
  animation: socialWave var(--bd, 4s) ease-in-out infinite var(--bdy, 0s);
}

.footer-icon-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.footer-icon-btn.facebook {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer-icon-btn.facebook:hover {
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.75);
}

.footer-icon-btn.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.footer-icon-btn.instagram:hover {
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.75);
}

@keyframes socialWave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(2deg); }
  75% { transform: translateY(4px) rotate(-1.5deg); }
}

.footer-icon-btn:hover {
  transform: translateY(-8px) scale(1.15) !important;
  filter: brightness(1.18);
  z-index: 2;
}

.footer-icon-btn:hover svg {
  transform: scale(1.12);
}

.footer-social-icons:hover .footer-icon-btn:not(:hover) {
  opacity: 0.7;
}

/* Footer Bottom & Exact Aqwake "Created by Systect" Credit */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-systect-credit {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 0 5px rgba(0, 240, 255, 0.75),
    0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25), 0 2px 10px rgba(0, 0, 0, 0.85);
  text-shadow: 0 0 6px #fff, 0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* ==========================================================================
   CART DRAWER & MOBILE NAV DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 36, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--surface);
  z-index: 1250;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.16);
}

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

.cart-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--aegean-deep);
}

.shipping-progress {
  background: var(--mist-ice);
  padding: 0.7rem 1.25rem;
  font-size: 0.76rem;
  color: var(--aegean-deep);
  border-bottom: 1px solid var(--border-light);
}

.shipping-bar {
  height: 5px;
  background: rgba(24, 74, 140, 0.15);
  border-radius: 999px;
  margin-top: 0.4rem;
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background: var(--aegean-cobalt);
  width: 0%;
  transition: width 0.3s ease;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--mist-ice);
}

.cart-item-title {
  font-size: 0.84rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.78rem;
  color: var(--aegean-cobalt);
  font-weight: 600;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mist-ice);
  color: var(--aegean-deep);
  font-weight: 700;
  font-size: 0.8rem;
}

.cart-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--ivory);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--aegean-deep);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Website Blue, Bottom Right)
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aegean-cobalt) 0%, var(--aegean-bright) 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(24, 74, 140, 0.42), 0 0 0 0 rgba(47, 164, 215, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: whatsappPulse 3.2s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.07);
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(24, 74, 140, 0.55);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(24, 74, 140, 0.42), 0 0 0 0 rgba(47, 164, 215, 0.38); }
  50% { box-shadow: 0 8px 24px rgba(24, 74, 140, 0.42), 0 0 0 10px rgba(47, 164, 215, 0); }
}

/* ==========================================================================
   MOBILE APP BOTTOM NAVIGATION BAR (Mobile Only <= 768px)
   ========================================================================== */
.mobile-app-bar {
  display: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-Optimized, Zero Overflow)
   ========================================================================== */
@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  body {
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom));
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .promo-strip {
    font-size: 0.66rem;
    padding: 0.3rem 0.6rem;
  }

  .hero {
    min-height: 76vh;
    padding-top: calc(var(--header-height) + 5.2rem);
    padding-bottom: 4.5rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-breadcrumbs {
    display: none;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
    width: 100%;
  }

  .hero-trust-pills {
    justify-content: center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10, 24, 44, 0.7) 0%, rgba(10, 24, 44, 0.48) 78%, var(--ivory) 100%);
  }

  .section {
    padding: 3rem 0;
  }

  .section-compact {
    padding: 2.25rem 0;
  }

  .collections-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .collection-card {
    padding: 0.5rem;
  }

  .collection-name {
    font-size: 0.72rem;
  }

  /* Smaller Best Sellers 3D Carousel on Mobile */
  .bestsellers-3d-stage-wrap {
    min-height: 355px;
  }

  .bestsellers-3d-ring {
    min-height: 335px;
  }

  .bestsellers-3d-ring .product-card {
    width: 185px !important;
    height: 325px;
    min-height: 325px;
    margin-top: -162px !important;
    margin-left: -92.5px !important;
  }

  .card-media-wrap {
    height: 138px;
  }

  .card-body {
    padding: 0.7rem 0.75rem;
  }

  .card-title {
    font-size: 0.8rem;
  }

  .card-price {
    font-size: 0.84rem;
  }

  .card-add-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
  }

  .stage-nav-arrow {
    display: none !important;
  }

  /* Compact Reviews on Mobile */
  .review-card {
    width: 240px;
    padding: 0.65rem 0.8rem;
  }

  .story-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .story-card,
  .charity-banner,
  .visit-card,
  .newsletter-card {
    text-align: center;
    padding: 1.5rem 1.2rem;
  }

  .highlight-box {
    border-left: none;
    border-top: 3px solid var(--aegean-cobalt);
  }

  .story-highlights {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.85rem;
  }

  .footer-brand-row {
    justify-content: center;
  }

  .footer-tagline {
    margin: 0 auto;
  }

  .footer-socials {
    align-items: center;
  }

  .footer-social-icons {
    justify-content: center;
    gap: 8px;
  }

  /* Mobile App Bottom Bar */
  .whatsapp-fab {
    right: 14px;
    bottom: calc(var(--mobile-bar-height) + 14px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .mobile-app-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(15, 41, 74, 0.08);
    padding: 0.4rem 0.25rem calc(0.4rem + env(safe-area-inset-bottom));
  }

  .mobile-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
  }

  .mobile-tab-btn.active,
  .mobile-tab-btn:hover {
    color: var(--aegean-cobalt);
  }

  .mobile-tab-badge {
    position: absolute;
    top: 0;
    right: 22%;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--mati-cyan);
    color: #FFFFFF;
    font-size: 0.58rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
