/* Filename: styles.css | Date: 2026-04-17 | GLAMORINA Home Appliances */

/* ═══════════════════════════════════════════════════════
   LAYER 1 — CSS VARIABLES & DESIGN TOKENS
═══════════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --primary-blue:   #004d9c;
  --accent-blue:    #3498db;
  --grey-dark:      #333333;
  --grey-light:     #f4f4f4;
  --white:          #ffffff;
  --text-color:     #2c3e50;

  /* Extended Palette */
  --navy-deep:      #002a6e;
  --sky-mid:        #1a6cc8;
  --gold:           #c8a04a;
  --gold-light:     #f0d47a;
  --silver:         #8a9bb0;
  --surface:        #f7f9fc;
  --border-subtle:  rgba(0, 77, 156, 0.12);

  /* Slide Backgrounds */
  --slide1-bg:      #edf5f0;
  --slide2-from:    #002880;
  --slide2-to:      #1254bb;

  /* Typography */
  --font-primary: 'Heebo', sans-serif;
  --font-secondary: 'Roboto', sans-serif;

  /* Sizing */
  --header-top: 68px;
  --header-nav: 50px;
  --header-total: calc(var(--header-top) + var(--header-nav));
  --hero-h: clamp(340px, 56vw, 540px);
  --container: min(100%, 1300px);

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 32px;
  --sp-xl: 64px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 6px 28px rgba(0, 77, 156, 0.10);
  --shadow-card-hover: 0 18px 48px rgba(0, 77, 156, 0.20);
  --shadow-btn: 0 4px 16px rgba(0, 77, 156, 0.32);

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s;
  --t-med:  0.34s;
  --t-slow: 0.55s;
}

/* ═══════════════════════════════════════════════════════
   LAYER 2 — RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-primary);
  background: var(--surface);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.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;
}
.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 40px);
}

/* ═══════════════════════════════════════════════════════
   LAYER 3 — SCROLL PROGRESS BAR
   A thin strip at viewport top that fills on scroll.
   Width driven by JS via style.width.
═══════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue), var(--gold));
  z-index: 9999;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  transition: width 0.1s linear;
  /* Shimmer overlay to make it feel alive */
  overflow: hidden;
}
.scroll-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  animation: shimmerBar 1.8s ease-in-out infinite;
}

@keyframes shimmerBar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ═══════════════════════════════════════════════════════
   LAYER 4 — SITE HEADER
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  background: var(--primary-blue);
  transition: background var(--t-med), box-shadow var(--t-med), padding var(--t-med);
  /* Offset for progress bar */
  margin-block-start: 3px;
}

/* Compact/scrolled state */
.header--scrolled {
  background: var(--navy-deep);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.22);
}
.header--scrolled .header-inner { height: 58px; }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  height: var(--header-top);
  transition: height var(--t-med);
}

/* ── Logo ── */
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.logo-link:hover { opacity: 0.88; }
.logo-img {
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: max-height var(--t-med);
}
.header--scrolled .logo-img { max-height: 36px; }

.logo-fallback {
  display: none;          /* shown when SVG missing (onerror in HTML) */
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1;
}
.logo-glm {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-text {
  font-family: var(--font-primary);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* ── Search ── */
.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 580px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-bar:focus-within {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.25);
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  height: 44px;
  padding-inline: 18px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--white);
  direction: inherit;
}
.search-input::placeholder { color: rgba(255,255,255,0.52); }
.search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 44px;
  background: var(--accent-blue);
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
}
.search-btn:hover { background: var(--sky-mid); transform: scale(1.05); }
.search-btn:active { transform: scale(0.97); }

/* ── Header Actions ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 18px);
  flex-shrink: 0;
}
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.82);
  transition: color var(--t-fast), transform var(--t-fast);
  width: 52px;
  flex-shrink: 0;
}
.action-btn:hover { color: var(--white); transform: translateY(-2px); }
.action-label {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cart-wrap { position: relative; }
.cart-count {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  padding-inline: 3px;
  line-height: 1;
  animation: cartBounce 0.4s var(--ease-spring);
}

@keyframes cartBounce {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  padding: 3px;
}
.lang-btn {
  font-family: var(--font-secondary);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.65);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.lang-btn:hover { color: var(--white); transform: scale(1.05); }
.lang-btn.active {
  background: var(--accent-blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(52,152,219,0.4);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--white); border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
.hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Navigation Bar ── */
.main-nav {
  background: rgba(0, 40, 128, 0.95);
  backdrop-filter: blur(10px);
  border-block-start: 1px solid rgba(255,255,255,0.08);
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-nav);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding-inline: clamp(10px, 1.4vw, 22px);
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  border-block-end: 3px solid transparent;
  position: relative;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.nav-link::before {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 50%;
  height: 3px;
  background: var(--gold);
  transition: inset-inline var(--t-med) var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::before { inset-inline: 0; }
.nav-hot { color: var(--gold-light); font-weight: 700; }
.nav-hot:hover::before { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   LAYER 5 — HERO SLIDER
═══════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  margin-block-start: calc(var(--header-total) + 3px);
  height: var(--hero-h);
  overflow: hidden;
}

/* Viewport clips the sliding track */
.slider-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Track: 2 slides side by side = 200% wide */
.slider-track {
  display: flex;
  width: 200%;
  height: 100%;
  transform: translateX(0%);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}

/* Each slide occupies 50% of track = 100% viewport */
.slide {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}

/* Background layer for Ken Burns effect */
.slide-bg-layer {
  position: absolute; inset: 0;
  transition: transform 8s linear;
}
.slide:hover .slide-bg-layer { transform: scale(1.05); }

/* Slide 1 — sage/mint */
.slide--1 .slide-bg-layer {
  background:
    radial-gradient(ellipse at 20% 70%, rgba(200,160,74,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(52,152,219,0.07) 0%, transparent 50%),
    linear-gradient(135deg, #e8f5ec 0%, #f4faef 50%, #eef6f9 100%);
}
/* Slide 2 — deep royal blue */
.slide--2 .slide-bg-layer {
  background: linear-gradient(140deg, #001e7a 0%, #0042b8 45%, #1565d8 80%, #0e4fbc 100%);
}

/* Shimmer overlay — animated diagonal highlight */
.slide-shimmer-layer {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,0.08) 50%,
    transparent 70%
  );
  background-size: 200% 200%;
  animation: slideShimmer 5s ease-in-out infinite;
}
.slide-shimmer-layer--blue {
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,0.05) 50%,
    transparent 70%
  );
  animation: slideShimmer 4s ease-in-out infinite;
}

@keyframes slideShimmer {
  0%, 100% { background-position: -100% 0; }
  50%       { background-position: 200% 0; }
}

/* Inner layout */
.slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 48px);
}
.slide-inner--centered { justify-content: center; }

/* Text copy */
.slide-copy {
  max-width: 420px;
  padding-block: clamp(24px, 4vw, 48px);
}
.slide-copy--center { text-align: center; }

/* Slide-in animations for active slide content */
/* These trigger immediately on load for slide 0 */
.animate-badge {
  animation: fadeSlideUp 0.6s var(--ease-out) both;
  animation-delay: 0.2s;
}
.animate-title {
  animation: fadeSlideUp 0.7s var(--ease-out) both;
  animation-delay: 0.35s;
}
.animate-sub {
  animation: fadeSlideUp 0.6s var(--ease-out) both;
  animation-delay: 0.5s;
}
.animate-cta {
  animation: fadeSlideUp 0.6s var(--ease-spring) both;
  animation-delay: 0.65s;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  margin-block-end: 14px;
}
.slide-badge--alt {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
}

.slide-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--primary-blue);
  margin-block-end: 14px;
  letter-spacing: -0.02em;
  /* Gradient shimmer on heading */
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--sky-mid) 60%, var(--primary-blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}
.slide-title--white {
  background: linear-gradient(135deg, #ffffff 0%, #aed6f1 60%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.slide-sub {
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  color: var(--text-color);
  margin-block-end: 28px;
  max-width: 360px;
  line-height: 1.65;
}
.slide-sub--white { color: rgba(255,255,255,0.85); }

/* CTA Button */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-btn);
  transition:
    background var(--t-fast),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-fast);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
/* Ripple shimmer on hover */
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-out);
}
.cta-primary:hover::before { transform: translateX(100%); }
.cta-primary:hover {
  background: var(--sky-mid);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0,77,156,0.35);
}
.cta-primary:active { transform: translateY(0) scale(0.98); }

.cta-primary--alt {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 16px rgba(200,160,74,0.42);
}
.cta-primary--alt:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 32px rgba(200,160,74,0.5);
}

/* Product images — slide 1 */
.slide-products {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 52%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.prod-img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,77,156,0.18));
}
.prod-img--a {
  width: clamp(130px, 22vw, 250px);
  bottom: 0;
  inset-inline-start: clamp(10px, 2vw, 50px);
  animation: floatSlow 6s ease-in-out infinite;
}
.prod-img--b {
  width: clamp(110px, 18vw, 210px);
  bottom: clamp(20px, 4vw, 60px);
  inset-inline-start: clamp(100px, 17vw, 220px);
  animation: floatSlow 5s ease-in-out infinite;
  animation-delay: 0.8s;
}
.prod-img--c {
  width: clamp(80px, 12vw, 150px);
  bottom: clamp(40px, 8vw, 100px);
  inset-inline-end: clamp(10px, 2vw, 30px);
  animation: floatSlow 7s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(0.5deg); }
  66%       { transform: translateY(-6px) rotate(-0.5deg); }
}

/* Circle images — slide 2 */
.slide-circles {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  flex-wrap: wrap;
  justify-content: center;
  padding-block: clamp(16px, 3vw, 32px);
}
.circle-item {
  width: clamp(80px, 13vw, 160px);
  height: clamp(80px, 13vw, 160px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.28);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  flex-shrink: 0;
  animation: circlePop 0.6s var(--ease-spring) both,
             floatCircle 2.5s ease-in-out infinite;
}
.circle-item:nth-child(1) { animation-delay: 0.3s, 1.0s; }
.circle-item:nth-child(2) { animation-delay: 0.4s, 1.4s; }
.circle-item:nth-child(3) { animation-delay: 0.5s, 1.8s; }
.circle-item:nth-child(4) { animation-delay: 0.6s, 1.2s; }
.circle-item:nth-child(5) { animation-delay: 0.7s, 1.6s; }

.circle-item--pop {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,160,74,0.3), 0 12px 36px rgba(0,0,0,0.3);
}
.circle-item:hover {
  transform: translateY(-10px) scale(1.08) !important;
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.circle-img { width: 100%; height: 100%; object-fit: cover; }

@keyframes circlePop {
  from { opacity: 0; transform: scale(0.5) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-12px); }
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(38px, 4.5vw, 56px);
  height: clamp(38px, 4.5vw, 56px);
  background: rgba(255,255,255,0.92);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
  transition:
    background var(--t-fast),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-fast);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
  color: var(--sky-mid);
}
.slider-arrow:active { transform: translateY(-50%) scale(0.96); }
.slider-arrow--prev { inset-inline-start: clamp(8px, 2vw, 24px); }
.slider-arrow--next { inset-inline-end: clamp(8px, 2vw, 24px); }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: clamp(12px, 2.5vw, 22px);
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}
.sdot {
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.65);
  transition: width var(--t-med) var(--ease-out), background var(--t-fast), border-color var(--t-fast);
}
.sdot--active {
  width: 30px;
  background: var(--gold);
  border-color: var(--gold);
}

/* ═══════════════════════════════════════════════════════
   LAYER 6 — BESTSELLERS SECTION
═══════════════════════════════════════════════════════ */
.bestsellers-section {
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* ── Section watermark text ── */
.watermark-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-secondary);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  color: rgba(0, 77, 156, 0.10);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
  z-index: 0;
  direction: ltr;
  text-align: center;
  width: max-content;
}

.section-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-block-end: clamp(28px, 4vw, 48px);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Gradient heading effect */
.gradient-text {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--sky-mid) 50%, var(--primary-blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 5s linear infinite;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--grey-light);
  padding: 5px;
  border-radius: var(--r-xl);
}
.filter-tab {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-color);
  padding: 8px 20px;
  border-radius: var(--r-lg);
  transition:
    background var(--t-fast),
    color var(--t-fast),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-fast);
  white-space: nowrap;
}
.filter-tab:hover { background: rgba(0,77,156,0.08); transform: scale(1.03); }
.filter-tab--active {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,77,156,0.30);
  transform: scale(1.04);
}

/* Products Grid */
.products-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
}

/* ── Product Card ── */
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med),
    border-color var(--t-fast);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(52,152,219,0.3);
  z-index: 2;
}
/* Touch devices: NO hover effects — prevents white flash on scroll/tap */
@media (hover: none) and (pointer: coarse) {
  .product-card:active { transform: scale(0.98); box-shadow: var(--shadow-card); }
  .product-card:hover { transform: none !important; box-shadow: var(--shadow-card) !important; border-color: var(--border-subtle) !important; }
  .product-card:hover .card-overlay { opacity: 0 !important; }
  .product-card:hover .card-img { transform: none !important; opacity: 1 !important; }
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--grey-light);
}
.card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: transform var(--t-slow) var(--ease-out), opacity 0.5s var(--ease-out);
}
/* Fade-in image on load */
.card-img.img-loaded { opacity: 1; }
.product-card:hover .card-img { transform: scale(1.05); opacity: 1; }
@media (hover: none) { .product-card:hover .card-img { transform: none; } }

/* Quick view overlay — very subtle tint so image stays clearly visible */
.card-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 20, 60, 0.14);
  display: flex; align-items: flex-end; justify-content: center;
  padding-block-end: 14px;
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.product-card:hover .card-overlay {
  opacity: 1;
  pointer-events: all;
}

.quick-view-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  color: var(--primary-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transform: translateY(8px);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.product-card:hover .quick-view-btn { transform: translateY(0); }
.quick-view-btn:hover { background: var(--white); }

/* Badges */
.card-badge-new,
.card-badge-hot {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.card-badge-new {
  background: var(--accent-blue);
  color: var(--white);
}
.card-badge-hot {
  background: linear-gradient(135deg, #ff6b35, #e91e63);
  color: var(--white);
  animation: hotPulse 2s ease-in-out infinite;
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233,30,99,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(233,30,99,0); }
}

/* Card body */
.card-body {
  padding: clamp(12px, 2vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-rating {
  display: flex; align-items: center; gap: 6px;
}
.stars { color: #f39c12; font-size: 0.82rem; }
.rating-count { font-size: 0.72rem; color: var(--silver); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 4px;
  padding-block-start: 10px;
  border-block-start: 1px solid var(--border-subtle);
}
.card-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary-blue);
  font-family: var(--font-secondary);
}
.card-actions {
  display: flex; align-items: center; gap: 6px;
}
.btn-cart {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grey-light);
  color: var(--primary-blue);
  border: 1.5px solid var(--border-subtle);
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring), color var(--t-fast);
}
.btn-cart:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.15) rotate(-5deg);
  border-color: transparent;
}
.btn-buy {
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.btn-buy::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform var(--t-med) var(--ease-out);
}
.btn-buy:hover::after { transform: scaleX(1); }
/* FIX: keep text white on hover — was disappearing */
.btn-buy:hover { background: var(--sky-mid); color: var(--white) !important; transform: scale(1.05); }
.btn-buy:active { transform: scale(0.96); }

/* ═══════════════════════════════════════════════════════
   LAYER 7 — CATEGORY GRID SECTION
═══════════════════════════════════════════════════════ */
.categories-section {
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--grey-light);
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(10px, 2vw, 18px);
}

/* Large card spans full row height on left */
.cat-card--large {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  min-height: 400px;
}

/* Stack of 2 cards on right */
.cat-stack {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: inherit;
}

/* Bottom half-cards */
.cat-card--half {
  grid-row: 2 / 3;
  min-height: 220px;
}

.cat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  min-height: 200px;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med);
  box-shadow: var(--shadow-card);
}
.cat-card:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
}
.cat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
  display: block;
  min-height: 200px;
}
.cat-card:hover .cat-img { transform: scale(1.07); }

.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to block-end,
    transparent 35%,
    rgba(0, 30, 90, 0.65) 100%
  );
  transition: background var(--t-med);
}
.cat-card:hover .cat-overlay {
  background: linear-gradient(
    to block-end,
    transparent 20%,
    rgba(0, 20, 80, 0.78) 100%
  );
}

.cat-content {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: clamp(14px, 2.5vw, 24px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-title {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.cat-link {
  display: inline-flex;
  align-items: center;
  background: #2ecc40;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  width: max-content;
  letter-spacing: 0.04em;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.cat-link:hover { background: #27ae60; transform: scale(1.06); }

/* ═══════════════════════════════════════════════════════
   LAYER 8 — SCROLL REVEAL SYSTEM
   .reveal-item starts invisible (opacity 0, translated down).
   When IntersectionObserver adds .is-visible → animates in.
   Each item has --delay CSS var for stagger. Increased delays
   for more dramatic scroll-triggered reveal feel.
═══════════════════════════════════════════════════════ */
.reveal-item {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0.1s);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section-level container (no animation itself, just triggers children) */
.reveal-section .section-header.reveal-item { transition-delay: 0s; }

/* ═══════════════════════════════════════════════════════
   LAYER 9 — WATERMARK
═══════════════════════════════════════════════════════ */
.page-watermark {
  position: fixed;
  inset-block-end: 50%;
  inset-inline-start: -60px;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: center center;
  font-family: var(--font-secondary);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(0,77,156,0.09);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   LAYER 10 — FLOATING WIDGETS
═══════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.42);
  z-index: 900;
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 36px rgba(37,211,102,0.55);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.42); }
  50%       { box-shadow: 0 6px 24px rgba(37,211,102,0.42), 0 0 0 10px rgba(37,211,102,0.12); }
}

.a11y-btn {
  position: fixed;
  inset-block-end: 84px;
  inset-inline-start: 0;
  width: 40px; height: 40px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 2px 4px 16px rgba(0,77,156,0.3);
  z-index: 900;
  transition: transform var(--t-fast), background var(--t-fast);
}
.a11y-btn:hover { transform: translateX(4px); background: var(--sky-mid); }

/* ═══════════════════════════════════════════════════════
   LAYER 11 — FOCUS STYLES (Accessibility)
═══════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ═══════════════════════════════════════════════════════
   LAYER 12 — RESPONSIVE BREAKPOINTS (Mobile-First)
═══════════════════════════════════════════════════════ */

/* ─── Tablet ≥ 768px ─── */
@media (min-width: 768px) {
  :root {
    --header-top: 72px;
    --header-nav: 52px;
    --hero-h: clamp(380px, 50vw, 520px);
  }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Desktop ≥ 1024px ─── */
@media (min-width: 1024px) {
  :root {
    --header-top: 76px;
    --header-nav: 54px;
  }
  .products-grid { grid-template-columns: repeat(5, 1fr); }
  .search-bar    { max-width: 620px; }
  .action-label  { font-size: 0.68rem; }
}

/* ─── Mobile < 768px ─── */
@media (max-width: 767px) {
  :root {
    --header-top: 60px;
    --header-nav: 0px;
    --hero-h: clamp(300px, 75vw, 420px);
  }

  .hamburger { display: flex; }
  .action-label { display: none; }
  .header-actions { gap: 10px; }

  /* Mobile nav hidden by default */
  .main-nav {
    position: fixed;
    inset-block-start: calc(var(--header-top) + 3px);
    inset-inline: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-med) var(--ease-out);
    z-index: 999;
  }
  .main-nav.nav--open { max-height: 380px; }
  .nav-list {
    flex-direction: column;
    height: auto;
    padding-block: 12px;
    align-items: flex-end;
    gap: 0;
  }
  .nav-link {
    width: 100%;
    height: 46px;
    padding-inline: 24px;
    border-block-end: 1px solid rgba(255,255,255,0.07);
    justify-content: flex-end;
  }
  .nav-link::before { display: none; }

  :root { --header-total: var(--header-top); }

  /* Hero adjustments — images top 45%, text bottom 55% */
  .slide-inner {
    flex-direction: column;
    justify-content: flex-start;
    padding-block-start: 0;
  }
  .slide-products {
    position: relative;
    width: 100%;
    height: clamp(160px, 42vw, 220px);
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .slide-copy {
    max-width: 100%;
    text-align: center;
    padding-inline: 16px;
    padding-block: 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .prod-img--a { width: 34vw; }
  .prod-img--b { width: 28vw; }
  .prod-img--c { width: 20vw; }

  /* Slide 2 circles */
  .slide-circles { flex-wrap: nowrap; overflow-x: auto; padding-block: 12px; gap: 8px; }
  .circle-item { width: 68px; height: 68px; flex-shrink: 0; }

  /* Cards */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Categories */
  .cat-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .cat-card--large { grid-column: 1; grid-row: auto; min-height: 250px; }
  .cat-stack { grid-column: 1; grid-row: auto; }
  .cat-card--half { grid-column: 1; grid-row: auto; }
  .lang-switcher { display: none; }
}

/* ─── Small Mobile < 480px ─── */
@media (max-width: 479px) {
  :root { --hero-h: clamp(280px, 90vw, 380px); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card-body { padding: 10px 8px; gap: 6px; }
  .card-title { font-size: 0.78rem; }
  .card-price { font-size: 0.9rem; }
  .btn-buy { font-size: 0.68rem; padding: 6px 10px; }
  .btn-cart { width: 28px; height: 28px; }
}

/* ═══════════════════════════════════════════════════════
   LAYER 13 — PRINT STYLES
═══════════════════════════════════════════════════════ */
@media print {
  .site-header { position: static; box-shadow: none; }
  .hero-section { height: auto; }
  .scroll-progress, .slider-arrow, .slider-dots,
  .whatsapp-float, .a11y-btn, .page-watermark { display: none; }
  .reveal-item { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════
   LAYER 14 — SUBCATEGORY BANNERS
═══════════════════════════════════════════════════════ */
.subcats-section {
  padding-block: clamp(40px, 5vw, 72px);
  background: var(--white);
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2vw, 20px);
}

.subcat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}
.subcat-card:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
}

.subcat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
  display: block;
}
.subcat-card:hover .subcat-img { transform: scale(1.06); }

/* Blue panel overlaying right side (as in reference) */
.subcat-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: clamp(140px, 38%, 260px);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--sky-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-inline: clamp(16px, 3vw, 28px);
  gap: 14px;
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path var(--t-med) var(--ease-out);
}
[dir="ltr"] .subcat-panel { clip-path: polygon(0% 0%, 100% 0%, 88% 100%, 0% 100%); }
.subcat-card:hover .subcat-panel { clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%); }

.subcat-title {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.subcat-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.subcat-arrow:hover { background: rgba(255,255,255,0.35); transform: scale(1.15); }

/* ═══════════════════════════════════════════════════════
   LAYER 15 — ABOUT SECTION
═══════════════════════════════════════════════════════ */
.about-section {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--surface);
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.about-copy { display: flex; flex-direction: column; gap: 16px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-family: var(--font-secondary);
}

.about-text {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--text-color);
  line-height: 1.75;
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  width: max-content;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    transform var(--t-fast) var(--ease-spring);
}
.cta-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
}

.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}

.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}
.about-img-wrap:hover .about-img { transform: scale(1.04); }

/* Floating stat badge */
.about-stat-badge {
  position: absolute;
  inset-block-end: 20px;
  inset-inline-start: 20px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,77,156,0.35);
  animation: floatSlow 5s ease-in-out infinite;
}
.stat-num {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.stat-label { font-size: 0.65rem; letter-spacing: 0.1em; opacity: 0.8; }

/* ═══════════════════════════════════════════════════════
   LAYER 16 — REVIEWS SECTION
═══════════════════════════════════════════════════════ */
.reviews-section {
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--grey-light);
  position: relative;
  overflow: hidden;
}

.reviews-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--silver);
}
.rv-score {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey-dark);
}

/* Horizontal scrollable track — drag-enabled via JS */
.reviews-track-wrap {
  overflow: hidden;
  margin-block: 32px;
  cursor: grab;
}
.reviews-track-wrap:active { cursor: grabbing; }

.reviews-track {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block-end: 12px;
  -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-dragging { scroll-snap-type: none; user-select: none; }

.review-card {
  flex: 0 0 clamp(260px, 28vw, 340px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}
.review-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-card-hover);
}

/* Featured card — slightly larger */
.review-card--featured {
  background: linear-gradient(135deg, var(--white) 60%, rgba(52,152,219,0.06) 100%);
  border-color: rgba(52,152,219,0.2);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--sky-mid));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reviewer-avatar--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
}

.reviewer-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--grey-dark);
  display: block;
}
.review-date {
  font-size: 0.7rem;
  color: var(--silver);
  display: block;
}
.rv-stars { color: #f39c12; font-size: 0.9rem; }
.rv-stars--sm { font-size: 0.78rem; margin-inline-start: auto; flex-shrink: 0; }

.review-text {
  font-size: 0.84rem;
  color: var(--text-color);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block-start: 10px;
  border-block-start: 1px solid var(--border-subtle);
}
.rv-prod-img {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
}
.rv-prod-name {
  font-size: 0.74rem;
  color: var(--silver);
  line-height: 1.35;
}

.reviews-footer {
  display: flex;
  justify-content: center;
  margin-block-start: 8px;
}

/* ═══════════════════════════════════════════════════════
   LAYER 17 — NEWSLETTER SECTION
═══════════════════════════════════════════════════════ */
.newsletter-section {
  background: linear-gradient(135deg, #e8f4fe 0%, #dbeeff 50%, #e4f2ff 100%);
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 80px);
}

/* Decorative blobs */
.nl-bg-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.nl-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.nl-blob--1 {
  width: 300px; height: 300px;
  background: var(--accent-blue);
  inset-block-start: -80px;
  inset-inline-end: 10%;
  animation: blobDrift 8s ease-in-out infinite;
}
.nl-blob--2 {
  width: 200px; height: 200px;
  background: var(--gold);
  inset-block-end: -60px;
  inset-inline-start: 5%;
  animation: blobDrift 10s ease-in-out infinite reverse;
}

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(0.95); }
}

.nl-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}

.nl-illustration { flex-shrink: 0; }
.nl-svg { width: clamp(160px, 22vw, 260px); height: auto; }

.nl-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--primary-blue);
  margin-block-end: 10px;
}
.nl-sub {
  font-size: clamp(0.82rem, 1.3vw, 0.98rem);
  color: var(--text-color);
  line-height: 1.7;
  margin-block-end: 24px;
  max-width: 520px;
}

.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nl-field { flex: 1; min-width: 160px; }
.nl-input {
  width: 100%;
  height: 48px;
  background: var(--white);
  border: 1.5px solid rgba(0,77,156,0.18);
  border-radius: var(--r-pill);
  padding-inline: 18px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-color);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  direction: inherit;
}
.nl-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
}
.nl-input::placeholder { color: rgba(44,62,80,0.45); }

.nl-btn {
  height: 48px;
  padding-inline: 28px;
  background: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.nl-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}
.nl-btn:hover::before { transform: translateX(100%); }
.nl-btn:hover { background: var(--sky-mid); transform: scale(1.04); }
.nl-btn:disabled { background: #2ecc71; cursor: default; transform: none; }

.nl-disclaimer {
  font-size: 0.68rem;
  color: rgba(44,62,80,0.55);
  line-height: 1.5;
}

/* Shake keyframe for invalid form */
@keyframes nlShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}
.nl-shake { animation: nlShake 0.45s var(--ease-out); }

/* ═══════════════════════════════════════════════════════
   LAYER 18 — FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--primary-blue);
  color: rgba(255,255,255,0.85);
  padding-block-start: clamp(40px, 5vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding-block-end: clamp(32px, 4vw, 48px);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  margin-block-end: 4px;
}
.footer-logo .logo-glm {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
}
.footer-logo .logo-text {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.ft-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--t-fast);
}
.ft-contact-item:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block-start: 4px;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.social-btn:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
  transform: translateY(-3px) scale(1.1);
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  padding-block-end: 6px;
  border-block-end: 1px solid rgba(255,255,255,0.12);
}

.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--t-fast), padding-inline-start var(--t-fast);
  text-decoration: none;
}
.footer-link:hover { color: var(--white); padding-inline-start: 4px; }

/* Bottom bar */
.footer-bottom {
  border-block-start: 1px solid rgba(255,255,255,0.1);
  padding-block: 16px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-chip {
  font-family: var(--font-secondary);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ═══════════════════════════════════════════════════════
   LAYER 19 — RESPONSIVE ADDITIONS (new sections)
═══════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .subcat-grid { grid-template-columns: 1fr; }
  .subcat-card  { aspect-ratio: 16/8; }
  .subcat-panel { width: clamp(120px, 45%, 200px); }

  .about-inner  { grid-template-columns: 1fr; }

  .nl-inner { grid-template-columns: 1fr; }
  .nl-illustration { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 479px) {
  /* Footer — 2 columns on small mobile, brand full width */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-contact { align-items: center; }
  .footer-col-title { font-size: 0.82rem; }
  .footer-link, .footer-links a { font-size: 0.75rem; }

  /* Footer bottom — stack on very small */
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }

  /* Newsletter */
  .nl-fields   { flex-direction: column; }
  .nl-btn      { width: 100%; }

  /* Reviews */
  .review-card { flex: 0 0 clamp(220px, 80vw, 290px); }
}

@media print {
  .newsletter-section, .site-footer,
  .whatsapp-float, .a11y-btn { display: none; }
}

/*
 ╔══════════════════════════════════════════════════════════════╗
 ║  GLAMORINA — FULL DESIGN SYSTEM SUMMARY                      ║
 ╠══════════════════════════════════════════════════════════════╣
 ║  COLORS:                                                     ║
 ║    --primary-blue    #004d9c   Primary Brand Blue            ║
 ║    --accent-blue     #3498db   Accent / Interactive Blue     ║
 ║    --grey-dark       #333333   Dark Text                     ║
 ║    --grey-light      #f4f4f4   Background / Surface          ║
 ║    --white           #ffffff   Pure White                    ║
 ║    --text-color      #2c3e50   Body Text                     ║
 ║    --navy-deep       #002a6e   Deep Navy (gradients)         ║
 ║    --sky-mid         #1a6cc8   Mid Blue Hover                ║
 ║    --gold            #c8a04a   Gold Accent                   ║
 ║    --gold-light      #f0d47a   Light Gold                    ║
 ║    --silver          #8a9bb0   Muted Silver                  ║
 ║    --surface         #f7f9fc   Page Surface                  ║
 ║    WhatsApp Green    #25d366   Float Button                  ║
 ║    Category Green    #2ecc40   Category Link Badges          ║
 ║    Newsletter BG     #e8f4fe   Soft Blue                     ║
 ║                                                              ║
 ║  TYPOGRAPHY:                                                 ║
 ║    Primary (Hebrew/Arabic): Heebo 300–900                    ║
 ║    Secondary (Latin/UI):    Roboto 300–700                   ║
 ║    Both via Google Fonts                                      ║
 ║                                                              ║
 ║  ANIMATIONS (total 12 keyframes):                            ║
 ║    shimmerBar    — Scroll progress shimmer sweep             ║
 ║    textShimmer   — Gradient heading shimmer                  ║
 ║    slideShimmer  — Hero slide diagonal light                 ║
 ║    fadeSlideUp   — Hero text staggered entrance              ║
 ║    floatSlow     — Product image gentle float                ║
 ║    circlePop     — Slide 2 circle items pop-in               ║
 ║    hotPulse      — HOT badge pulse ring                      ║
 ║    waPulse       — WhatsApp float pulse ring                 ║
 ║    cartBounce    — Cart badge scale-in                       ║
 ║    blobDrift     — Newsletter background blobs               ║
 ║    nlShake       — Newsletter invalid-form shake             ║
 ║    (reveal)      — Scroll reveal via JS + CSS transition     ║
 ╚══════════════════════════════════════════════════════════════╝
*/

/* ═══════════════════════════════════════════════════════
   LAYER 14 — SUBCATEGORY BANNERS (Images ref: 5)
   Split card layout: photo left + blue panel right
═══════════════════════════════════════════════════════ */
.subcats-section {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--grey-light);
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

/* Each card is a flex row: photo + blue label panel */
.subcat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  min-height: clamp(140px, 18vw, 230px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}
.subcat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.subcat-img {
  position: absolute;
  inset: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  inset-inline-start: 0;
  transition: transform var(--t-slow) var(--ease-out);
}
.subcat-card:hover .subcat-img { transform: scale(1.07); }

/* Blue panel occupies right 50% */
.subcat-panel {
  margin-inline-start: auto;
  width: 50%;
  background: var(--primary-blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: clamp(14px, 2.5vw, 28px);
  position: relative;
  z-index: 2;
  /* Diagonal left edge — the signature split */
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
}

[dir="ltr"] .subcat-panel {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 12% 100%);
}

.subcat-title {
  font-family: var(--font-primary);
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.subcat-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition:
    background var(--t-fast),
    transform var(--t-fast) var(--ease-spring),
    border-color var(--t-fast);
}
.subcat-card:hover .subcat-arrow {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15) translateX(-3px);
}

/* ═══════════════════════════════════════════════════════
   LAYER 15 — ABOUT SECTION (Image ref: 7)
═══════════════════════════════════════════════════════ */
.about-section {
  padding-block: clamp(56px, 7vw, 100px);
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding-block-end: 4px;
  border-block-end: 2px solid var(--accent-blue);
  width: max-content;
}

.about-text {
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  color: var(--text-color);
  line-height: 1.75;
}

/* Outlined CTA */
.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: var(--r-pill);
  width: max-content;
  margin-block-start: 8px;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    transform var(--t-fast) var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.cta-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform var(--t-med) var(--ease-out);
  z-index: 0;
}
.cta-outline:hover::before { transform: scaleX(1); }
.cta-outline:hover { color: var(--white); }
.cta-outline:hover { transform: scale(1.04); }
.cta-outline span, .cta-outline svg { position: relative; z-index: 1; }

/* About image wrap */
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: var(--r-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0, 77, 156, 0.18);
  transition: transform var(--t-slow) var(--ease-out);
}
.about-img-wrap:hover .about-img { transform: scale(1.025); }

/* Floating stat badge */
.about-stat-badge {
  position: absolute;
  inset-block-end: -16px;
  inset-inline-start: -16px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 77, 156, 0.35);
  animation: floatSlow 5s ease-in-out infinite;
}
.stat-num {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   LAYER 16 — REVIEWS SECTION (Image ref: 8)
═══════════════════════════════════════════════════════ */
.reviews-section {
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--grey-light);
  position: relative;
  overflow: hidden;
}

.reviews-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-color);
}
.rv-stars { color: #f39c12; font-size: 1.05rem; letter-spacing: 2px; }
.rv-score { font-size: 1.1rem; font-weight: 900; color: var(--grey-dark); }
.rv-count { color: var(--silver); }

/* Horizontal scrollable review track */
.reviews-track-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 8px;
  /* Gradient fade edges for scroll hint */
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.reviews-track-wrap::-webkit-scrollbar { display: none; }

.reviews-track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  padding-inline: clamp(8px, 2vw, 24px);
  width: max-content;
}

/* Review Card */
.review-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 22px);
  width: clamp(240px, 30vw, 320px);
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med);
}
.review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

/* Featured card — slightly wider, gold border */
.review-card--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, rgba(200,160,74,0.04) 100%);
  box-shadow: 0 6px 28px rgba(200,160,74,0.2);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reviewer-avatar--gold { background: var(--gold); }

.reviewer-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-dark);
  display: block;
}
.review-date {
  font-size: 0.7rem;
  color: var(--silver);
  display: block;
}

.rv-stars--sm { font-size: 0.8rem; margin-inline-start: auto; }

.review-text {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text-color);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block-start: 10px;
  border-block-start: 1px solid var(--border-subtle);
}
.rv-prod-img {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.rv-prod-name {
  font-size: 0.72rem;
  color: var(--silver);
  line-height: 1.35;
}

.reviews-footer {
  display: flex;
  justify-content: center;
  margin-block-start: clamp(24px, 3vw, 36px);
}

/* ═══════════════════════════════════════════════════════
   LAYER 17 — NEWSLETTER SECTION (Image ref: 10 top)
═══════════════════════════════════════════════════════ */
.newsletter-section {
  background: linear-gradient(135deg, #dbeeff 0%, #eef6ff 50%, #d6eaff 100%);
  padding-block: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

/* Decorative blob behind illustration */
.newsletter-section::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse, rgba(52,152,219,0.12) 0%, transparent 70%);
  inset-block-start: -100px;
  inset-inline-end: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.nl-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.nl-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Illustration: stacked emoji-style decorative elements */
.nl-art {
  position: relative;
  width: clamp(180px, 28vw, 320px);
  height: clamp(180px, 28vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-art-circle {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,77,156,0.12), rgba(52,152,219,0.18));
  display: flex; align-items: center; justify-content: center;
  animation: nlOrbit 6s ease-in-out infinite;
}

@keyframes nlOrbit {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%       { transform: scale(1.04) rotate(3deg); }
}

/* Floating items around the circle */
.nl-float {
  position: absolute;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  animation: floatSlow 4s ease-in-out infinite;
}
.nl-float:nth-child(2) { inset-block-start: 8%; inset-inline-start: 5%; animation-delay: 0.3s; }
.nl-float:nth-child(3) { inset-block-start: 8%; inset-inline-end: 5%; animation-delay: 0.9s; }
.nl-float:nth-child(4) { inset-block-end: 10%; inset-inline-start: 10%; animation-delay: 1.5s; }

/* Speaker icon in center */
.nl-megaphone {
  font-size: clamp(3rem, 6vw, 5rem);
}

.nl-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nl-copy .section-title { text-align: start; }

.nl-subtitle {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: var(--text-color);
  line-height: 1.7;
}

.nl-form { display: flex; flex-direction: column; gap: 12px; }

.nl-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nl-field { flex: 1; min-width: 150px; }

.nl-input {
  width: 100%;
  height: 48px;
  border: 1.5px solid rgba(0,77,156,0.2);
  border-radius: var(--r-pill);
  padding-inline: 18px;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: var(--text-color);
  background: rgba(255,255,255,0.85);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  direction: inherit;
}
.nl-input::placeholder { color: var(--silver); }
.nl-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.18);
  background: var(--white);
}

.nl-btn {
  height: 48px;
  padding-inline: 28px;
  background: #2ecc40;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
  position: relative; overflow: hidden;
}
.nl-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform var(--t-med) var(--ease-out);
}
.nl-btn:hover::after { transform: scaleX(1); }
.nl-btn:hover { background: #27ae60; transform: scale(1.05); }
.nl-btn:active { transform: scale(0.97); }

.nl-disclaimer {
  font-size: 0.72rem;
  color: var(--silver);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   LAYER 18 — FOOTER (Image ref: 10 bottom)
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding-block-start: clamp(40px, 5vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding-block-end: clamp(32px, 4vw, 56px);
  border-block-end: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  margin-block-end: 14px;
  transition: opacity var(--t-fast);
}
.footer-logo:hover { opacity: 0.8; }
.footer-logo .logo-glm {
  font-size: 1.8rem;
  color: var(--white);
}
.footer-logo .logo-text {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.25em;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-block-end: 18px;
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block-end: 20px;
}
.ft-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.ft-contact-item:hover { color: var(--white); }

/* Social buttons */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition:
    background var(--t-fast),
    color var(--t-fast),
    transform var(--t-fast) var(--ease-spring),
    border-color var(--t-fast);
}
.social-btn:hover {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
  transform: translateY(-3px) scale(1.1);
}

/* Footer columns */
.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-block-end: 16px;
  padding-block-end: 8px;
  border-block-end: 2px solid var(--accent-blue);
  width: max-content;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  transition: color var(--t-fast), padding-inline-start var(--t-fast);
}
.footer-link:hover {
  color: var(--white);
  padding-inline-start: 6px;
}

/* Bottom bar */
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding-block: 16px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
}

/* Payment chips */
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-chip {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  transition: background var(--t-fast), color var(--t-fast);
}
.pay-chip:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════
   LAYER 19 — RESPONSIVE ADDITIONS (new sections)
═══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .subcat-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-fields   { flex-wrap: nowrap; }
}

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .nl-inner { grid-template-columns: 1fr; }
  .nl-illustration { display: none; }
}

@media (max-width: 767px) {
  .subcat-grid { grid-template-columns: 1fr; }
  .subcat-panel { clip-path: none; }
  .subcat-img { width: 50%; }

  .about-inner { grid-template-columns: 1fr; }
  .about-stat-badge { inset-inline-start: 50%; transform: translateX(-50%); }

  .reviews-track { padding-inline: 12px; }
  .review-card { width: clamp(220px, 80vw, 290px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 479px) {
  /* Footer — 2 cols on small mobile */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-contact { align-items: center; }
  .footer-col-title { font-size: 0.82rem; }
  .footer-links a, .footer-link { font-size: 0.75rem; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }

  .nl-fields { flex-direction: column; }
  .nl-btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   LAYER 20 — HERO FLOATING CATEGORY BALLS
   Animated balls carry category icons + labels.
   Linked to nav sections. Gentle autonomous float.
═══════════════════════════════════════════════════════ */
.hero-balls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-ball {
  position: absolute;
  pointer-events: all;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring);
}
.hero-ball:hover { transform: scale(1.18) !important; }

/* The circle itself */
.hball-circle {
  width: clamp(52px, 7vw, 80px);
  height: clamp(52px, 7vw, 80px);
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.hero-ball:hover .hball-circle {
  background: rgba(255,255,255,0.38);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 0 3px rgba(200,160,74,0.35);
}

.hball-icon { font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1; }

.hball-label {
  font-family: var(--font-primary);
  font-size: clamp(0.5rem, 0.9vw, 0.65rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  white-space: nowrap;
  margin-block-start: 2px;
  letter-spacing: 0.03em;
}

/* Individual ball positions + float animations */
.hero-ball--1 {
  inset-block-start: 12%;
  inset-inline-start: 8%;
  animation: ballFloat1 7s ease-in-out infinite;
}
.hero-ball--2 {
  inset-block-start: 55%;
  inset-inline-start: 4%;
  animation: ballFloat2 8s ease-in-out infinite;
  animation-delay: 1s;
}
.hero-ball--3 {
  inset-block-start: 20%;
  inset-inline-start: 30%;
  animation: ballFloat3 6s ease-in-out infinite;
  animation-delay: 0.5s;
}
.hero-ball--4 {
  inset-block-end: 15%;
  inset-inline-start: 20%;
  animation: ballFloat1 9s ease-in-out infinite;
  animation-delay: 1.8s;
}
.hero-ball--5 {
  inset-block-start: 30%;
  inset-inline-end: 5%;
  animation: ballFloat2 7.5s ease-in-out infinite;
  animation-delay: 0.8s;
}

/* Gentle multi-axis float paths */
@keyframes ballFloat1 {
  0%,100% { transform: translate(0px, 0px) rotate(0deg); }
  25%      { transform: translate(8px, -14px) rotate(2deg); }
  50%      { transform: translate(14px, -8px) rotate(-1deg); }
  75%      { transform: translate(4px, -18px) rotate(1deg); }
}
@keyframes ballFloat2 {
  0%,100% { transform: translate(0px, 0px); }
  30%      { transform: translate(-10px, -16px); }
  60%      { transform: translate(6px, -22px); }
}
@keyframes ballFloat3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(12px, -10px) scale(1.04); }
  70%      { transform: translate(-6px, -16px) scale(0.97); }
}

/* Hide on slide 2 (blue slide) — too busy */
.slide--2 .hero-balls { display: none; }

/* ═══════════════════════════════════════════════════════
   LAYER 21 — PRODUCT CARD IMAGE SWAP ON HOVER
   Second image hidden by default, shown on hover.
═══════════════════════════════════════════════════════ */
.card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--grey-light); }

/* Second image overlay */
.card-img-alt {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.product-card:hover .card-img-alt {
  opacity: 1;
  transform: scale(1);
}
/* Keep primary image visible until alt appears */
.product-card:hover .card-img {
  opacity: 0;
  transform: scale(0.96);
}

/* ═══════════════════════════════════════════════════════
   LAYER 22 — HEADER DROPDOWN MENUS
   Cart, Account, Wishlist dropdowns
═══════════════════════════════════════════════════════ */
.action-btn { position: relative; }
.action-wrap { position: relative; }

.hdr-dropdown {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-end: 0;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid var(--border-subtle);
  z-index: 2000;
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease-out),
    transform 0.22s var(--ease-out);
  overflow: hidden;
}

.action-btn.dropdown--open .hdr-dropdown,
.action-wrap:hover .hdr-dropdown,
.action-wrap.dropdown--open .hdr-dropdown,
.hdr-dropdown:focus-within {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Dropdown header bar */
.hdr-dd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--primary-blue);
  color: var(--white);
}
.hdr-dd-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hdr-dd-close {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.hdr-dd-close:hover { color: var(--white); background: rgba(255,255,255,0.15); }

/* Dropdown body */
.hdr-dd-body { padding: 16px 18px; }

/* Cart dropdown items */
.hdr-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
  border-block-end: 1px solid var(--border-subtle);
}
.hdr-dd-item:last-of-type { border: none; }

.hdr-dd-img {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--grey-light);
}
.hdr-dd-info { flex: 1; }
.hdr-dd-name { font-size: 0.8rem; font-weight: 600; color: var(--grey-dark); }
.hdr-dd-price { font-size: 0.82rem; font-weight: 700; color: var(--primary-blue); }
.hdr-dd-remove {
  color: var(--silver);
  font-size: 1rem;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}
.hdr-dd-remove:hover { color: #e74c3c; background: rgba(231,76,60,0.08); }

/* Dropdown footer */
.hdr-dd-foot {
  padding: 14px 18px;
  border-block-start: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hdr-dd-total { font-size: 0.88rem; font-weight: 700; color: var(--grey-dark); }
.hdr-dd-btn {
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  transition: background 0.15s, transform 0.15s var(--ease-spring);
}
.hdr-dd-btn:hover { background: var(--sky-mid); transform: scale(1.04); }

/* Account dropdown */
.hdr-dd-account-links { display: flex; flex-direction: column; gap: 4px; }
.hdr-dd-acc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-color);
  transition: background 0.15s, color 0.15s;
}
.hdr-dd-acc-link:hover { background: var(--grey-light); color: var(--primary-blue); }
.hdr-dd-acc-link svg { flex-shrink: 0; }

/* Wishlist empty state */
.hdr-dd-empty {
  text-align: center;
  padding-block: 24px;
  color: var(--silver);
  font-size: 0.85rem;
}
.hdr-dd-empty-icon { font-size: 2rem; margin-block-end: 8px; }

/* ═══════════════════════════════════════════════════════
   LAYER 23 — CATEGORIES SECTION WATERMARK FIX
   Add position:relative + overflow:hidden so watermark
   renders inside. Also add About/Newsletter watermarks.
═══════════════════════════════════════════════════════ */
.categories-section {
  position: relative;
  overflow: hidden;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.newsletter-section {
  position: relative;
  overflow: hidden; /* already has ::before, adding watermark */
}

/* Shared watermark inside any section */
.section-watermark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-secondary);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  color: rgba(0, 77, 156, 0.10);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
  z-index: 0;
}

/* Section eyebrow + title wrapper now has position */
.section-header { position: relative; z-index: 1; }
.about-inner    { position: relative; z-index: 1; }
.nl-inner       { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════
   LAYER 24 — SIDE PANEL (Slide-in drawer)
   Shared base for cart / wishlist / account panels
═══════════════════════════════════════════════════════ */
.side-panel {
  position: fixed;
  inset-block: 0;
  inset-inline-end: -100%;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  transition: inset-inline-end 0.45s var(--ease-out);
}
[dir="ltr"] .side-panel {
  inset-inline-end: auto;
  inset-inline-start: -100%;
  transition: inset-inline-start 0.45s var(--ease-out);
}

.side-panel.panel--open {
  inset-inline-end: 0;
}
[dir="ltr"] .side-panel.panel--open {
  inset-inline-start: 0;
}

/* Backdrop */
.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 4999;
  pointer-events: none;
  transition: background 0.35s;
}
.panel-backdrop.backdrop--visible {
  background: rgba(0,0,0,0.45);
  pointer-events: all;
}

/* Panel header */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--primary-blue);
  color: var(--white);
  flex-shrink: 0;
}
.panel-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.panel-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
  font-size: 1.1rem;
}
.panel-close:hover { background: rgba(255,255,255,0.28); transform: rotate(90deg); }

/* Panel body scrollable */
.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

/* Panel footer */
.panel-foot {
  padding: 16px 20px;
  border-block-start: 1px solid var(--border-subtle);
  background: var(--white);
  flex-shrink: 0;
}

/* Cart panel items */
.panel-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  border-block-end: 1px solid var(--border-subtle);
}
.panel-cart-item:last-child { border: none; }

.panel-item-img {
  width: 70px; height: 70px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--grey-light);
}
.panel-item-info { flex: 1; }
.panel-item-name { font-size: 0.85rem; font-weight: 600; color: var(--grey-dark); line-height: 1.3; }
.panel-item-price { font-size: 0.9rem; font-weight: 800; color: var(--primary-blue); margin-block-start: 4px; }

.panel-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 6px;
}
.panel-qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grey-light);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-color);
  transition: background 0.15s, color 0.15s;
}
.panel-qty-btn:hover { background: var(--primary-blue); color: var(--white); border-color: transparent; }
.panel-qty-val { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }

.panel-item-remove {
  color: var(--silver);
  padding: 4px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.panel-item-remove:hover { color: #e74c3c; background: rgba(231,76,60,0.08); }

/* Panel totals */
.panel-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
  font-size: 0.9rem;
}
.panel-total-row--grand {
  font-weight: 800;
  font-size: 1rem;
  color: var(--grey-dark);
  border-block-start: 2px solid var(--border-subtle);
  margin-block-start: 6px;
  padding-block-start: 12px;
}
.panel-total-price { font-weight: 700; color: var(--primary-blue); }

.panel-cta-row { display: flex; flex-direction: column; gap: 8px; margin-block-start: 12px; }
.panel-cta-primary {
  display: block;
  text-align: center;
  background: #2ecc40;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px;
  border-radius: var(--r-pill);
  transition: background 0.15s, transform 0.15s var(--ease-spring);
}
.panel-cta-primary:hover { background: #27ae60; transform: scale(1.02); }
.panel-cta-secondary {
  display: block;
  text-align: center;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px;
  border-radius: var(--r-pill);
  transition: background 0.15s, color 0.15s;
}
.panel-cta-secondary:hover { background: var(--primary-blue); color: var(--white); }

/* Wishlist panel */
.panel-wish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.panel-wish-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
.panel-wish-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.panel-wish-body { padding: 8px; }
.panel-wish-name { font-size: 0.72rem; font-weight: 600; line-height: 1.3; margin-block-end: 4px; }
.panel-wish-price { font-size: 0.78rem; font-weight: 800; color: var(--primary-blue); }

/* Account panel links */
.panel-acc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--grey-light);
  border-radius: var(--r-md);
  margin-block-end: 16px;
}
.panel-acc-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.panel-acc-name { font-weight: 700; font-size: 0.95rem; }
.panel-acc-email { font-size: 0.75rem; color: var(--silver); }

.panel-acc-menu { display: flex; flex-direction: column; gap: 2px; }
.panel-acc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-color);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.panel-acc-item:hover { background: var(--grey-light); color: var(--primary-blue); transform: translateX(-4px); }
[dir="ltr"] .panel-acc-item:hover { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════
   LAYER 25 — INNER PAGES SHARED LAYOUT
═══════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--primary-blue) 100%);
  padding-block: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  margin-block-start: var(--header-total);
}
.page-hero::before {
  content: attr(data-watermark);
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.08em;
}
.page-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
  margin-block-end: 10px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }

.page-layout {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  padding-block: clamp(24px, 4vw, 48px);
  align-items: start;
}
.page-layout--sidebar { grid-template-columns: 280px 1fr; }
.page-layout--full    { grid-template-columns: 1fr; }
.page-layout--two     { grid-template-columns: 1fr 1fr; }

/* Sidebar */
.sidebar {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  position: sticky;
  inset-block-start: calc(var(--header-total) + 12px);
}
.sidebar-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dark);
  padding-block-end: 12px;
  border-block-end: 2px solid var(--primary-blue);
  margin-block-end: 14px;
}
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  color: var(--text-color);
  transition: background 0.15s, color 0.15s;
}
.sidebar-link:hover { background: var(--grey-light); color: var(--primary-blue); }
.sidebar-link.active { background: var(--primary-blue); color: var(--white); font-weight: 600; }
.sidebar-count {
  font-size: 0.72rem;
  background: var(--grey-light);
  color: var(--silver);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.sidebar-link.active .sidebar-count { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); }

/* Price filter */
.price-range { padding-block: 8px; }
.range-input { width: 100%; accent-color: var(--primary-blue); }
.range-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--silver); margin-block-start: 4px; }

/* ═══════════════════════════════════════════════════════
   LAYER 26 — SHOP PAGE GRID
═══════════════════════════════════════════════════════ */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-block-end: 20px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.shop-count { font-size: 0.85rem; color: var(--silver); }
.shop-sort {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
}
.shop-select {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 7px 12px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  color: var(--text-color);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
.shop-view-btns { display: flex; gap: 4px; }
.shop-view-btn {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver);
  border: 1.5px solid var(--border-subtle);
  transition: all 0.15s;
}
.shop-view-btn.active,
.shop-view-btn:hover { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-block-start: 32px;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  border: 1.5px solid var(--border-subtle);
  background: var(--white);
  transition: all 0.15s var(--ease-spring);
}
.page-btn:hover { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); transform: scale(1.08); }
.page-btn.active { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); }

/* ═══════════════════════════════════════════════════════
   LAYER 27 — SINGLE PRODUCT PAGE
═══════════════════════════════════════════════════════ */

/* ── New wrapper: gallery on top, detail below ── */
.product-layout-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 40px);
}

/* Mobile-first: gallery thumbs row on top, main image below */
.product-gallery--top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Desktop: side-by-side — gallery 55% / detail 45% */
@media (min-width: 768px) {
  .product-layout-wrap {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
  }

  .product-gallery--top {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: start;
    position: sticky;
    top: calc(var(--header-total, 120px) + 16px);
  }

  .product-detail {
    grid-column: 2;
    grid-row: 1;
  }
}

.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: start;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}
.gallery-thumb {
  width: 74px; height: 74px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.15s;
}
.gallery-thumb.active { border-color: var(--primary-blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grey-light);
  position: relative;
}
.gallery-main-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  opacity: 1;
}
.gallery-main:hover .gallery-main-img { transform: scale(1.06); }

.gallery-badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  background: linear-gradient(135deg, #ff6b35, #e91e63);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* Product detail */
.product-detail { display: flex; flex-direction: column; gap: 18px; }
.product-detail-title { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--grey-dark); line-height: 1.2; }
.product-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.product-sku { font-size: 0.75rem; color: var(--silver); }

.product-price-wrap { display: flex; align-items: baseline; gap: 12px; }
.product-price-main { font-size: 2rem; font-weight: 900; color: var(--primary-blue); }
.product-price-old { font-size: 1.1rem; color: var(--silver); text-decoration: line-through; }
.product-price-save { font-size: 0.78rem; background: #2ecc40; color: var(--white); padding: 3px 10px; border-radius: var(--r-pill); font-weight: 700; }

.product-variants { display: flex; flex-direction: column; gap: 10px; }
.variant-label { font-size: 0.82rem; font-weight: 700; color: var(--grey-dark); margin-block-end: 6px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-btn {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.15s var(--ease-spring);
}
.variant-btn:hover, .variant-btn.active { border-color: var(--primary-blue); color: var(--primary-blue); background: rgba(0,77,156,0.06); transform: scale(1.05); }

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.qty-btn:hover { background: var(--grey-light); color: var(--primary-blue); }
.qty-val { min-width: 36px; text-align: center; font-weight: 700; font-size: 0.95rem; }

.product-add-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-add-cart {
  flex: 1;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s, transform 0.15s var(--ease-spring);
}
.btn-add-cart:hover { background: var(--sky-mid); transform: scale(1.03); color: var(--white); }

.btn-wish-toggle {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  color: var(--silver);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s var(--ease-spring);
  flex-shrink: 0;
}
.btn-wish-toggle:hover,
.btn-wish-toggle.wishlisted { color: #e74c3c; border-color: #e74c3c; background: rgba(231,76,60,0.06); transform: scale(1.1); }

.product-features { display: flex; flex-direction: column; gap: 8px; }
.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-color);
}
.feature-icon { color: #2ecc40; flex-shrink: 0; }

/* Product tabs */
.product-tabs { border-block-end: 2px solid var(--border-subtle); display: flex; gap: 0; overflow-x: auto; }
.product-tab {
  padding: 13px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--silver);
  border-block-end: 3px solid transparent;
  margin-block-end: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.product-tab.active { color: var(--primary-blue); border-block-end-color: var(--primary-blue); }
.product-tab:hover { color: var(--text-color); }

.product-tab-content { padding-block: 20px; display: none; }
.product-tab-content.active { display: block; }

/* Mobile: stack gallery thumbs horizontally under main image */
@media (max-width: 767px) {
  .product-layout-wrap {
    display: flex;
    flex-direction: column;
  }

  .product-gallery--top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: static;
  }

  /* Main image first, thumbs below */
  .gallery-main  { order: 1; aspect-ratio: 4/3; min-height: 240px; }
  .gallery-thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-block: 4px;
    scrollbar-width: none;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb { flex-shrink: 0; width: 64px; height: 64px; }
}

/* ═══════════════════════════════════════════════════════
   LAYER 28 — MY ACCOUNT PAGE
═══════════════════════════════════════════════════════ */
.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
.account-sidebar { position: sticky; inset-block-start: calc(var(--header-total) + 12px); }
.account-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: linear-gradient(135deg, var(--navy-deep), var(--primary-blue));
  border-radius: var(--r-lg);
  margin-block-end: 14px;
}
.account-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--white);
  border: 3px solid rgba(255,255,255,0.35);
}
.account-name { font-weight: 700; color: var(--white); font-size: 1rem; }
.account-email { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  color: var(--text-color);
  transition: background 0.15s, color 0.15s;
}
.account-nav-item:hover { background: var(--grey-light); color: var(--primary-blue); }
.account-nav-item.active { background: var(--primary-blue); color: var(--white); font-weight: 600; }

.account-content { display: flex; flex-direction: column; gap: 20px; }
.account-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
}
.account-card-title { font-size: 1rem; font-weight: 700; color: var(--grey-dark); margin-block-end: 16px; padding-block-end: 12px; border-block-end: 1px solid var(--border-subtle); }

.order-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.order-table th { background: var(--grey-light); padding: 10px 14px; font-weight: 700; text-align: start; color: var(--grey-dark); }
.order-table td { padding: 12px 14px; border-block-end: 1px solid var(--border-subtle); }
.order-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 0.72rem; font-weight: 700; }
.status--delivered { background: rgba(46,204,64,0.12); color: #27ae60; }
.status--pending   { background: rgba(241,196,15,0.15); color: #d4a017; }
.status--shipping  { background: rgba(52,152,219,0.12); color: var(--primary-blue); }

/* ═══════════════════════════════════════════════════════
   LAYER 29 — WISHLIST PAGE
═══════════════════════════════════════════════════════ */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.wishlist-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}
.wishlist-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.wl-remove {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #e74c3c;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  transition: background 0.15s, transform 0.15s;
}
.wl-remove:hover { background: #e74c3c; color: var(--white); transform: scale(1.1) rotate(10deg); }

/* ═══════════════════════════════════════════════════════
   LAYER 30 — CHECKOUT PAGE
═══════════════════════════════════════════════════════ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.checkout-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  margin-block-end: 16px;
}
.checkout-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary-blue);
  margin: -22px -22px 20px;
  padding: 14px 22px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Form fields */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group--full { grid-column: 1 / -1; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--grey-dark); }
.form-input, .form-select, .form-textarea {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: var(--text-color);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  direction: inherit;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}
.form-textarea { resize: vertical; min-height: 80px; }

/* Payment methods */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.payment-opt:has(input:checked),
.payment-opt.selected { border-color: var(--primary-blue); background: rgba(0,77,156,0.04); }
.payment-opt input[type="radio"] { accent-color: var(--primary-blue); }
.payment-opt-name { font-size: 0.88rem; font-weight: 600; flex: 1; }
.payment-logos { display: flex; gap: 4px; flex-wrap: wrap; }
.payment-logo-chip { background: var(--grey-light); border-radius: 3px; padding: 2px 6px; font-size: 0.65rem; font-weight: 700; color: var(--grey-dark); }

/* Order summary sidebar */
.order-summary { position: sticky; inset-block-start: calc(var(--header-total) + 12px); }
.os-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
}
.os-head { background: var(--primary-blue); color: var(--white); padding: 14px 18px; font-weight: 700; font-size: 0.95rem; }
.os-items { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; border-block-end: 1px solid var(--border-subtle); }
.os-item { display: flex; align-items: center; gap: 10px; }
.os-item-img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; background: var(--grey-light); }
.os-item-name { font-size: 0.8rem; font-weight: 600; flex: 1; }
.os-item-price { font-size: 0.82rem; font-weight: 700; color: var(--primary-blue); }
.os-totals { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; border-block-end: 1px solid var(--border-subtle); }
.os-row { display: flex; justify-content: space-between; font-size: 0.85rem; }
.os-row--total { font-size: 1rem; font-weight: 800; color: var(--grey-dark); padding-block-start: 8px; border-block-start: 2px solid var(--border-subtle); }
.os-row-price { font-weight: 700; }
.os-row--total .os-row-price { color: var(--primary-blue); }

.coupon-row { padding: 14px 18px; display: flex; gap: 8px; }
.coupon-input { flex: 1; border: 1.5px solid var(--border-subtle); border-radius: var(--r-md); padding: 9px 12px; font-size: 0.85rem; font-family: var(--font-primary); outline: none; }
.coupon-btn { background: var(--accent-blue); color: var(--white); font-size: 0.82rem; font-weight: 700; padding: 9px 16px; border-radius: var(--r-md); transition: background 0.15s; }
.coupon-btn:hover { background: var(--sky-mid); }

.place-order-btn {
  display: block;
  width: calc(100% - 36px);
  margin: 16px 18px;
  background: #2ecc40;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--r-pill);
  text-align: center;
  transition: background 0.15s, transform 0.15s var(--ease-spring);
}
.place-order-btn:hover { background: #27ae60; transform: scale(1.02); color: var(--white); }

/* ═══════════════════════════════════════════════════════
   LAYER 31 — POPUP / MODAL (Newsletter promo)
   Matches image 3: membership popup with 10% coupon
═══════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.modal--open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 380px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.modal-backdrop.modal--open .modal-box { transform: scale(1) translateY(0); }

.modal-top {
  background: linear-gradient(160deg, #c8e8ff 0%, #dbeeff 100%);
  padding: 28px 24px 16px;
  text-align: center;
  position: relative;
}
.modal-illustration { font-size: 3.5rem; margin-block-end: 8px; }
.modal-title { font-size: 1.3rem; font-weight: 900; color: var(--navy-deep); }
.modal-subtitle { font-size: 0.95rem; font-weight: 700; color: var(--primary-blue); margin-block-start: 4px; }

.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.modal-desc { font-size: 0.84rem; color: var(--text-color); text-align: center; line-height: 1.5; }
.modal-input-group { display: flex; flex-direction: column; gap: 8px; }
.modal-input {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 11px 18px;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s;
  direction: inherit;
}
.modal-input:focus { border-color: var(--accent-blue); }
.modal-submit {
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--r-pill);
  transition: background 0.15s, transform 0.15s var(--ease-spring);
}
.modal-submit:hover { background: var(--sky-mid); transform: scale(1.02); }
.modal-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.76rem; color: var(--silver); }
.modal-check input { accent-color: var(--primary-blue); margin-block-start: 2px; flex-shrink: 0; }
.modal-close-btn {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  color: var(--grey-dark);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.modal-close-btn:hover { background: rgba(0,0,0,0.22); transform: rotate(90deg); }

/* ═══════════════════════════════════════════════════════
   LAYER 32 — INNER PAGE RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .page-layout--sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .account-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 767px) {
  .form-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
  .side-panel { width: 100vw; }
  .hero-ball--3, .hero-ball--5 { display: none; }
}

/* ═══════════════════════════════════════════════════════
   LAYER 23 — CATEGORY PRODUCT SECTIONS (Houseware / Kitchenware)
═══════════════════════════════════════════════════════ */
.cat-products-section {
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--white);
}

.cat-products-section--alt {
  background: var(--surface);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-block-start: clamp(24px, 4vw, 48px);
}

.cta-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-btn);
  transition:
    background var(--t-fast),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-fast);
  letter-spacing: 0.02em;
}
.cta-all-btn:hover {
  background: var(--sky-mid);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0,77,156,0.35);
}

.card-badge-sale {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  background: #e74c3c;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════
   PROMO MODAL — Overlay popup
   Added: 2026-04-19
═══════════════════════════════════════════════════════ */

/* Overlay backdrop */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 20, 60, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}

.promo-modal.modal--open {
  opacity: 1;
  pointer-events: all;
}

/* Modal box */
.promo-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 48px) clamp(24px, 4vw, 40px);
  width: min(92vw, 460px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 30, 100, 0.30);
  transform: scale(0.88) translateY(24px);
  transition: transform var(--t-med) var(--ease-spring);
  text-align: center;
}

.promo-modal.modal--open .promo-modal-inner {
  transform: scale(1) translateY(0);
}

/* Decorative shapes */
.promo-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.promo-deco--1 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,77,156,0.08) 0%, transparent 70%);
  top: -40px; inset-inline-end: -40px;
}
.promo-deco--2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(52,152,219,0.10) 0%, transparent 70%);
  bottom: -30px; inset-inline-start: -30px;
}

/* Close button */
.promo-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--grey-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-dark);
  transition: background var(--t-fast), transform var(--t-fast);
}
.promo-close:hover {
  background: #e0e0e0;
  transform: scale(1.1);
}

/* Emoji icon */
.promo-emoji {
  font-size: 2.4rem;
  margin-block-end: 10px;
}

/* Title */
.promo-title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  color: var(--primary-blue);
  margin-block-end: 10px;
  line-height: 1.2;
}

/* Subtitle */
.promo-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 600;
  color: var(--text-color);
  margin-block-end: 8px;
}

/* Description */
.promo-desc {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.55;
  margin-block-end: 18px;
}

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

.promo-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-color);
  background: var(--surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  direction: inherit;
}
.promo-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}

/* RTL support */
[dir="rtl"] .promo-close { inset-inline-end: 14px; }
[dir="ltr"] .promo-close { inset-inline-end: 14px; }

/* ── Wishlist count badge (mirrors .cart-count style) ── */
.wish-count {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--accent-blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* ── btn-wishlist — Add to Wishlist on product card ── */
.btn-wishlist {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grey-light);
  color: var(--silver);
  border: 1.5px solid var(--border-subtle);
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring), color var(--t-fast);
  flex-shrink: 0;
}
.btn-wishlist:hover,
.btn-wishlist.is-wishlisted {
  background: #fff0f3;
  color: #e91e63;
  border-color: #e91e63;
  transform: scale(1.15);
}
.btn-wishlist.is-wishlisted svg { fill: #e91e63; stroke: #e91e63; }

@media (max-width: 479px) {
  .btn-wishlist { width: 28px; height: 28px; }
}

/* ── btn-cart loading state ── */
.btn-cart.is-loading { opacity: 0.6; pointer-events: none; }
.btn-cart.is-added {
  background: #27ae60;
  color: var(--white);
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════
   WISHLIST PAGE
   Added: 2026-04-19
═══════════════════════════════════════════════════════ */

/* ── Top bar ── */
.wishlist-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: 28px;
  padding-block-end: 16px;
  border-block-end: 1px solid var(--border-subtle);
}
.wishlist-count-text {
  font-size: 0.9rem;
  color: var(--silver);
}
.wishlist-count-text strong { color: var(--primary-blue); }
.wishlist-continue-link {
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 600;
  transition: color var(--t-fast);
}
.wishlist-continue-link:hover { color: var(--primary-blue); }

/* ── Remove button on card ── */
.wishlist-card { position: relative; }
.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--silver);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  border: 1px solid var(--border-subtle);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.wishlist-remove-btn:hover {
  background: #fff0f0;
  color: #e74c3c;
  transform: scale(1.1);
}

/* ── Empty state ── */
.wishlist-empty {
  text-align: center;
  padding-block: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.wishlist-empty-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grey-dark);
}
.wishlist-empty-sub {
  font-size: 0.9rem;
  color: var(--silver);
  max-width: 320px;
}

/* ── Mobile ── */
@media (max-width: 479px) {
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ── WooCommerce loop add-to-cart → styled as btn-cart ── */
.card-actions .add_to_cart_button,
.card-actions a.button,
.card-actions button.button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  background: var(--grey-light) !important;
  color: var(--primary-blue) !important;
  border: 1.5px solid var(--border-subtle) !important;
  font-size: 0 !important; /* hide text */
  padding: 0 !important;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring), color var(--t-fast) !important;
  position: relative !important;
  flex-shrink: 0 !important;
}
.card-actions .add_to_cart_button::before,
.card-actions a.button::before {
  content: '';
  display: block;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23004d9c' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center/contain;
  flex-shrink: 0;
}
.card-actions .add_to_cart_button:hover,
.card-actions a.button:hover {
  background: var(--primary-blue) !important;
  color: var(--white) !important;
  transform: scale(1.15) rotate(-5deg) !important;
  border-color: transparent !important;
}
.card-actions .add_to_cart_button:hover::before,
.card-actions a.button:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
}
/* Added to cart state */
.card-actions .added_to_cart,
.card-actions .added_to_cart:hover {
  display: none !important; /* hide "view cart" link WC adds */
}
.card-actions .add_to_cart_button.added {
  background: #27ae60 !important;
  border-color: transparent !important;
}
.card-actions .add_to_cart_button.added::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}
