/* ============================================================
   style.css — Punnagai Toy Store
   Premium Design System — Complete Overhaul
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================================
   2. CSS VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  /* Primary Palette - Vibrant Royal Blue */
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;

  /* Accent - Crisp Teal */
  --accent: #14b8a6;
  --accent-light: #5eead4;
  --accent-dark: #0f766e;

  /* Secondary Accent - Vibrant Orange */
  --accent-alt: #f97316;

  /* Success / Info */
  --success: #10b981;
  --info: #3b82f6;
  --warning: #f59e0b;

  /* Backgrounds - Clean Cool Grays */
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-section: #f1f5f9;

  /* Text - Crisp Slate */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders - Cool Gray */
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --border-gray: #f5f5f4;

  /* Shadows - Soft & Elegant */
  --shadow-color: rgba(28, 25, 23, 0.05);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 0 rgba(0, 0, 0, 0); /* Removed neon glow */

  /* Typography */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Spacing & Layout */
  --navbar-height: 76px;
  --container: 1280px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Category Colors (Pastels for Modern Boutique) */
  --cat-educational: #a29bfe;
  --cat-building: #55efc4;
  --cat-games: #e056fd;
  --cat-outdoor: #74b9ff;
  --cat-arts: #ff7675;
  --cat-rc: #fdcb6e;
  --cat-dolls: #ff9ff3;
  --cat-plush: #fab1a0;
  --cat-musical: #81ecec;
  --cat-action: #b8e994;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.section-badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--primary-100);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto 18px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   5. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}
.section-lg {
  padding: 112px 0;
}

.section-light {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.page-wrapper {
  padding-top: calc(var(--navbar-height) + 32px);
  padding-bottom: 64px;
  min-height: 60vh;
}

/* ============================================================
   6. NAVBAR — Floating Glassmorphic
   ============================================================ */
.navbar {
  position: fixed;
  top: 12px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  height: 64px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.06);
  top: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar > .container {
  height: 100%;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  gap: 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.navbar-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.navbar-links .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-links .nav-link:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.navbar-links .nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
  font-weight: 800;
}

.navbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cart-btn,
.wishlist-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1.5px solid var(--border-gray);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cart-btn:hover,
.wishlist-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.05);
}

.wishlist-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.cart-badge,
.wishlist-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  border: 2px solid var(--bg-white);
  line-height: 1;
}

.wishlist-badge {
  background: var(--accent);
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1.5px solid var(--border-gray);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Mobile Menu & Backdrop Scrim */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-menu-locked {
  overflow: hidden;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff !important;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.18);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              transform 0.25s ease;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.mobile-menu-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
  padding-left: 28px;
}

.mobile-menu-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

.btn-whatsapp-subtle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-whatsapp-subtle:hover {
  background: #d1fae5;
  color: #047857;
}

/* Wishlist card remove */
.wishlist-card {
  position: relative;
}
.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-gray);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.wishlist-remove-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(225, 112, 85, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(225, 112, 85, 0.35);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 112, 85, 0.25);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
}

.btn-outline-white:hover {
  background: white;
  border-color: white;
  color: var(--primary-dark);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #e55a20);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn-accent:hover {
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
  transform: translateY(-2px);
}

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

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

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}
.btn-xl {
  padding: 18px 44px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  padding-top: calc(var(--navbar-height) + 56px);
  padding-bottom: 80px;
  background: linear-gradient(150deg, var(--bg-alt) 0%, var(--bg) 40%, #fdfbf7 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225, 112, 85, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary-100);
  width: fit-content;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.8vw, 4.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 36px;
  align-items: center;
  padding-top: 14px;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: var(--border);
}

/* Huge Horizontal Hero Image Column */
.hero-image-col {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

.hero-horizontal-banner {
  width: 100%;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 7.2;
  background: #1e293b;
  box-shadow:
    0 30px 80px -15px rgba(37, 99, 235, 0.26),
    0 15px 35px -10px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  border: 4px solid #ffffff;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.hero-horizontal-banner:hover {
  transform: translateY(-4px);
  box-shadow:
    0 35px 90px -12px rgba(37, 99, 235, 0.32),
    0 18px 40px -10px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-horizontal-banner:hover .hero-main-img {
  transform: scale(1.035);
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.32) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Floating badges on horizontal banner */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
  z-index: 5;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-badge:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.badge-1 {
  top: 26px;
  left: 28px;
  animation-delay: 0s;
}
.badge-2 {
  top: 26px;
  right: 28px;
  animation-delay: 1.2s;
}
.badge-3 {
  bottom: 28px;
  right: 28px;
  animation-delay: 2.4s;
}

/* Glassmorphism Store Info Card */
.hero-store-tag {
  position: absolute;
  bottom: 24px;
  left: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  z-index: 5;
  transition: transform 0.3s ease;
}

.hero-store-tag:hover {
  transform: translateY(-3px);
}

.store-tag-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-tag-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.store-tag-dot {
  position: absolute;
  bottom: -1px;
  right: -2px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
  animation: pulse-green 2s infinite;
}

.store-tag-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.35;
}

.store-tag-text strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
}

.store-tag-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

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

/* ============================================================
   9. AGE CARDS
   ============================================================ */
.age-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.age-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: white;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.age-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-50), transparent);
  opacity: 0;
  transition: var(--transition);
}

.age-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.age-card:hover::before {
  opacity: 1;
}

.age-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.age-card:hover .age-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.age-card:hover .age-icon svg {
  stroke: white;
}

.age-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.age-range {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  position: relative;
}

/* ============================================================
   10. CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  min-height: 110px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cat-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 24px 20px;
  width: 100%;
}

.cat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cat-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  display: block;
}

.cat-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  display: block;
}

.cat-educational {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(99, 102, 241, 0.4));
  border: 1px solid rgba(79, 70, 229, 0.5);
}
.cat-building {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(16, 185, 129, 0.4));
  border: 1px solid rgba(5, 150, 105, 0.5);
}
.cat-games {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(139, 92, 246, 0.4));
  border: 1px solid rgba(124, 58, 237, 0.5);
}
.cat-outdoor {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(14, 165, 233, 0.4));
  border: 1px solid rgba(2, 132, 199, 0.5);
}
.cat-arts {
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.2), rgba(236, 72, 153, 0.4));
  border: 1px solid rgba(219, 39, 119, 0.5);
}
.cat-rc {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(245, 158, 11, 0.4));
  border: 1px solid rgba(217, 119, 6, 0.5);
}
.cat-dolls {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(239, 68, 68, 0.4));
  border: 1px solid rgba(220, 38, 38, 0.5);
}
.cat-plush {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(249, 115, 22, 0.4));
  border: 1px solid rgba(234, 88, 12, 0.5);
}

/* ============================================================
   11. PRODUCT CARDS — Premium Design
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
  transition: var(--transition-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  group: true;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
  opacity: 1;
}

.product-card-image .product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-section));
  gap: 12px;
}

.product-card-image .product-img-placeholder .cat-emoji {
  font-size: 3rem;
  line-height: 1;
}

.product-card-image .product-img-placeholder .cat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-sale,
.badge-sale {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.badge-new {
  background: linear-gradient(135deg, #059669, #10b981);
}
.badge-best-seller,
.badge-best\.seller {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.badge-limited {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}
.badge-featured {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .product-wishlist-btn {
  opacity: 1;
  transform: scale(1);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.product-video-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

.product-card-body {
  padding: 16px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-category-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary);
  width: fit-content;
}

.product-category {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-age {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.product-original-price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.discount-tag {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.product-card-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border-gray);
  display: flex;
  gap: 8px;
}

.btn-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: 0 3px 10px rgba(229, 62, 62, 0.25);
}

.btn-cart:hover {
  box-shadow: 0 6px 16px rgba(229, 62, 62, 0.38);
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-cart-outline {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-gray);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-cart-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

/* Skeleton cards */
.skeleton-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gray);
}

.skeleton-card::before {
  content: '';
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-card::after {
  content: '';
  display: block;
  height: 120px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite 0.2s;
}

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

/* ============================================================
   12. SALE BANNER
   ============================================================ */
.sale-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-alt) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.sale-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: 100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.sale-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.sale-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.sale-text {
  color: white;
}

.sale-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  display: block;
  width: fit-content;
}

.sale-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.sale-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* ============================================================
   13. WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid var(--border-gray);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: var(--primary-100);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.why-card:hover .why-icon svg {
  stroke: white;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   14. CONTACT & LOCATION
   ============================================================ */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-gray);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.whatsapp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  filter: brightness(1.05);
}

.whatsapp-link {
  color: #25d366;
  font-weight: 700;
}

.map-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  display: block;
  border-radius: var(--radius-md);
}

.map-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 600;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: #1a202c;
  color: white;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-strip {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   16. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: var(--radius-full);
  opacity: 0;
  animation: whatsapp-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* ============================================================
   17. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-gray);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  max-width: 340px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: #d1fae5;
  color: #059669;
}
.toast-error .toast-icon {
  background: #fee2e2;
  color: #dc2626;
}
.toast-info .toast-icon {
  background: #dbeafe;
  color: #3182ce;
}
.toast-warning .toast-icon {
  background: #fef3c7;
  color: #d97706;
}

/* ============================================================
   18. SHOP PAGE
   ============================================================ */
.shop-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.shop-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.search-wrapper {
  position: relative;
  max-width: 380px;
  flex: 1;
}

.search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-gray);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.08);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--border-gray);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 6px;
  z-index: 200;
  overflow: hidden;
}

.search-autocomplete li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border-gray);
}

.search-autocomplete li:last-child {
  border-bottom: none;
}
.search-autocomplete li:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
  overflow: hidden;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-gray);
}

.filter-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.clear-filters-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.clear-filters-btn:hover {
  background: var(--primary-50);
}

.filter-group {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-gray);
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  user-select: none;
  padding: 4px 0;
  transition: var(--transition-fast);
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option input {
  display: none;
}

.filter-checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-gray);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.filter-option input:checked ~ .filter-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-option input:checked ~ .filter-checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-left: none;
  border-top: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.filter-option input[type='radio'] ~ .filter-checkmark {
  border-radius: 50%;
}

.filter-option input[type='radio']:checked ~ .filter-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-option input[type='radio']:checked ~ .filter-checkmark::after {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  border: none;
  transform: none;
}

.close-filters-btn {
  display: none;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 14px 20px;
  background: var(--primary-50);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  justify-content: center;
}

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.shop-results-info {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.shop-toolbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-gray);
  background: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.filter-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

.filter-count-badge {
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sort-select {
  padding: 9px 36px 9px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-gray);
  background: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
}

.sort-select:focus {
  border-color: var(--primary);
}

/* Active filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 14px;
  background: var(--primary-50);
  border: 1.5px solid var(--primary-100);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.filter-tag button {
  width: 18px;
  height: 18px;
  border: none;
  background: var(--primary-100);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: var(--transition-fast);
}

.filter-tag button:hover {
  background: var(--primary);
  color: white;
}

/* Shop empty state */
.empty-state {
  text-align: center;
  padding: 80px 32px;
}

.empty-state-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.empty-state-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* Pagination */
.shop-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-gray);
  background: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Mobile filter overlay */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.filter-overlay.show {
  display: block;
}

/* ============================================================
   19. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--text-light);
}
.breadcrumb-current {
  color: var(--text-primary);
}

/* ============================================================
   20. PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-detail-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-section);
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
}

.product-detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail-category {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-detail-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.product-detail-original {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-detail-video {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: 8px;
}

.product-detail-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   21. CART & CHECKOUT
   ============================================================ */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-items-list {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gray);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border-gray);
  align-items: center;
}

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

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cart-item-cat {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

.qty-display {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 24px;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.remove-btn:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.cart-summary {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gray);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--navbar-height) + 24px);
}

.cart-summary-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.summary-line.total {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1.5px solid var(--border-gray);
  padding-top: 14px;
  margin-top: 4px;
}

/* ============================================================
   22. FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  outline: none;
  font-weight: 500;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.07);
}

.form-control.error {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.error-text {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  min-height: 18px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.input-wrapper .form-control {
  padding-left: 44px;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.toggle-password-btn:hover {
  color: var(--text-primary);
}

/* ============================================================
   23. LOADING
   ============================================================ */
.loading-spinner-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--primary-100);
  border-top-color: var(--primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   24. YOUTUBE SECTION
   ============================================================ */
#youtube-container {
  width: 100%;
}

.youtube-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.youtube-featured-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

.youtube-responsive-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.youtube-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-meta {
  padding: 24px;
}

.youtube-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.youtube-demo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.youtube-count-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-50);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.youtube-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-primary);
}

.youtube-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Interactive Playlist Grid */
.youtube-playlist-section {
  border-top: 1px dashed var(--border-gray);
  padding-top: 28px;
}

.youtube-playlist-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  color: var(--text-primary);
}

.youtube-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.youtube-playlist-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.youtube-playlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.youtube-playlist-card.active-video-card {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.youtube-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1e293b;
  overflow: hidden;
}

.youtube-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.youtube-playlist-card:hover .youtube-card-thumb img {
  transform: scale(1.05);
}

.youtube-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: background 0.3s ease;
}

.youtube-playlist-card:hover .youtube-play-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.youtube-play-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.youtube-playlist-card:hover .youtube-play-overlay svg {
  transform: scale(1.15);
}

.youtube-playing-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.youtube-card-meta {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.youtube-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.youtube-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.youtube-placeholder {
  background: linear-gradient(135deg, var(--bg-section), var(--primary-50));
  border-radius: var(--radius-md);
  padding: 60px 40px;
  text-align: center;
  border: 2px dashed var(--border-dark);
}

.youtube-placeholder p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   25. ORDER PAGES
   ============================================================ */
.orders-container {
  max-width: 800px;
  margin: 0 auto;
}

.order-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-gray);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.order-card:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-gray);
  flex-wrap: wrap;
  gap: 12px;
}

.order-id {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.order-status {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pending {
  background: #fef3c7;
  color: #d97706;
}
.status-confirmed {
  background: #d1fae5;
  color: #059669;
}
.status-shipped {
  background: #dbeafe;
  color: #3182ce;
}
.status-delivered {
  background: #d1fae5;
  color: #059669;
}
.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

/* ============================================================
   26. FLOATING REVIEWS
   ============================================================ */
.floating-reviews-container {
  position: fixed;
  bottom: 88px;
  left: 24px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.floating-review {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gray);
  max-width: 240px;
  animation: review-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: opacity 0.4s ease;
}

@keyframes review-slide-in {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.review-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.review-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.4;
}

.review-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 4px;
}

/* ============================================================
   27. SCROLL REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   28. ACCOUNT / AUTH PAGES
   ============================================================ */
.auth-page-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-gray);
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

/* ============================================================
   29. DELIVERY/RETURNS PAGES
   ============================================================ */
.policy-page-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-section {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
}

.policy-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.policy-section p,
.policy-section li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.policy-section ul {
  list-style: disc;
  padding-left: 20px;
}

/* ============================================================
   30. RESPONSIVE DESIGN
   ============================================================ */

/* Large tablets */
@media (max-width: 1100px) {
  .age-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .navbar {
    top: 8px;
    left: 12px;
    right: 12px;
  }

  .navbar-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .hero-layout {
    gap: 36px;
    text-align: center;
  }

  .hero-image-col {
    display: block;
    width: 100%;
  }

  .hero-horizontal-banner {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }

  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }

  .hero-badge {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Flush edge-to-edge mobile header with zero top gap or horizontal clipping */
  .navbar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar > .container {
    padding: 0 16px !important;
    max-width: 100% !important;
    height: 100% !important;
  }

  .navbar-inner {
    height: 60px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .navbar-logo {
    gap: 8px !important;
  }

  .navbar-logo img {
    width: 38px !important;
    height: 38px !important;
  }

  .logo-text {
    font-size: 1.18rem !important;
  }

  .logo-sub {
    font-size: 0.62rem !important;
  }

  /* Wishlist & Search already in bottom app nav; hide in top header on mobile to prevent overcrowding */
  .navbar-actions .wishlist-btn,
  .navbar-actions .search-trigger-btn {
    display: none !important;
  }

  .navbar-actions {
    gap: 10px !important;
  }

  .navbar-actions .cart-btn,
  .navbar-actions .hamburger {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
  }

  /* Page container spacing below fixed header */
  .hero {
    padding-top: 84px !important;
    padding-bottom: 32px !important;
  }

  .page-wrapper {
    padding-top: 80px !important;
    padding-bottom: 84px !important;
  }

  /* Disable floating review card on mobile to prevent overlapping CTAs and bottom nav */
  #floating-reviews-container,
  .floating-review-card,
  .floating-reviews-container {
    display: none !important;
  }

  /* Hero Content & Actions Spacing */
  .hero-content {
    gap: 14px !important;
    padding: 0 !important;
  }

  .hero-badge {
    font-size: 0.8rem !important;
    padding: 6px 14px !important;
    margin-bottom: 2px !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
    margin: 4px 0 !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    color: #475569 !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    gap: 10px !important;
    margin: 8px auto 0 auto !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    border-radius: 99px !important;
  }

  .hero-stats {
    display: flex !important;
    justify-content: space-around !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 12px auto 0 auto !important;
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    gap: 0 !important;
  }

  .stat-number {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
  }

  .stat-label {
    font-size: 0.72rem !important;
    color: #64748b !important;
  }

  /* Hero Banner & Badges */
  .hero-horizontal-banner {
    aspect-ratio: 16 / 11 !important;
    border-radius: 18px !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.12) !important;
    margin-top: 10px !important;
  }

  /* Hide badge-1 and badge-3 to prevent badge collision and text truncation */
  .badge-1,
  .badge-3 {
    display: none !important;
  }

  .badge-2 {
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 99px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  }

  .hero-store-tag {
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    gap: 8px !important;
  }

  .mobile-category-carousel {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 6px 16px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin: 14px 0 22px 0 !important;
  }

  .mobile-category-carousel::-webkit-scrollbar {
    display: none !important;
  }

  .category-chip {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-card {
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .product-card-body {
    padding: 10px !important;
  }

  .product-card-title {
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }

  .product-card-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  .product-card-orig-price {
    font-size: 0.76rem !important;
  }

  .product-badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
    top: 8px !important;
    left: 8px !important;
  }

  .product-wishlist-btn {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .btn-add-cart {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
  }

  .search-overlay {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 12px !important;
    align-items: flex-start !important;
    background: rgba(15, 23, 42, 0.75) !important;
  }

  .search-overlay-box {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px !important;
    max-height: calc(100vh - 20px) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .search-overlay-input-row {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .search-overlay-input {
    font-size: 0.96rem !important;
  }

  .search-overlay-close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
  }

  .search-overlay-results {
    max-height: 52vh !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .age-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cart-page-layout {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 85vh;
    z-index: 1000;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25);
    transform: translateY(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
  }

  .filter-sidebar.open {
    transform: translateY(0);
  }

  .filter-drag-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 99px;
    margin: 10px auto 4px auto;
    flex-shrink: 0;
  }

  .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 14px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .filter-header-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
  }

  .desktop-only {
    display: none !important;
  }

  /* Content area scroll inside bottom sheet */
  .filter-sidebar > .filter-group {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-filter-footer {
    display: flex;
    gap: 12px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom)) 20px;
    border-top: 1px solid var(--border);
    background: #ffffff;
    flex-shrink: 0;
  }

  .mobile-filter-reset-btn {
    flex: 1;
    padding: 12px;
    font-weight: 700;
    border-radius: var(--radius-md);
  }

  .mobile-filter-apply-btn {
    flex: 2;
    padding: 12px;
    font-weight: 800;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  }

  .filter-toggle-btn {
    display: flex;
  }

  .close-filters-btn {
    display: flex;
  }
}

@media (min-width: 901px) {
  .filter-drag-handle,
  .filter-header-close-btn,
  .mobile-filter-footer {
    display: none !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar-logo img {
    width: 40px;
    height: 40px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .logo-sub {
    font-size: 0.65rem;
  }
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: calc(var(--navbar-height) + 36px);
  }
  .hero-title {
    font-size: 2rem;
  }

  .age-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-grid > div:first-child .footer-logo {
    justify-content: center;
  }

  .footer-grid > div:first-child .footer-socials {
    justify-content: center;
  }

  .footer-col-title {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .footer-contact-strip {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .footer-contact-strip .contact-item {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .sale-text h2 {
    font-size: 1.4rem;
  }

  .hero-stats {
    gap: 16px;
  }
  .stat-number {
    font-size: 1.6rem;
  }

  .shop-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .age-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ============================================================
   FEATURE ADDITIONS — Search Overlay, Reviews, Stock Badges
   ============================================================ */

/* ---- Global Search Trigger Button (in navbar) ---- */
.search-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.search-trigger-btn:hover {
  background: var(--primary-50);
  color: var(--primary);
}
.search-trigger-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-overlay-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 640px;
  margin: 0 24px;
  overflow: hidden;
  transform: translateY(-16px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.search-overlay.open .search-overlay-box {
  transform: translateY(0);
}
.search-overlay-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.search-overlay-input-row svg {
  color: var(--text-muted);
  flex-shrink: 0;
}
.search-overlay-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
}
.search-overlay-input::placeholder {
  color: var(--text-light);
}
.search-overlay-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
  transition: var(--transition);
}
.search-overlay-close:hover {
  background: var(--border-dark);
  color: var(--text-primary);
}
.search-overlay-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0;
}
.search-overlay-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.search-result-item:hover {
  background: var(--bg-alt);
}
.search-result-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--bg-alt);
}
.search-result-img-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-cat {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.search-result-price {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
}
.search-results-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.search-results-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}
.search-results-footer a:hover {
  text-decoration: underline;
}

/* ---- Stock Scarcity Badge ---- */
.stock-scarcity {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.stock-scarcity.low {
  color: #d97706;
}
.stock-scarcity.last-one {
  color: #dc2626;
}
.stock-scarcity .scarcity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: scarcity-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.stock-scarcity.low .scarcity-dot {
  background: #d97706;
}
.stock-scarcity.last-one .scarcity-dot {
  background: #dc2626;
}
@keyframes scarcity-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

/* ---- Mini Stars on product cards ---- */
.product-mini-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.product-mini-stars .star-row {
  display: flex;
  align-items: center;
  gap: 1px;
}
.product-mini-stars .review-count-mini {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---- Reviews Section ---- */
#reviews-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.reviews-section-inner {
  padding: 56px 0 32px;
}
.reviews-header {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.reviews-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.review-aggregate {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: var(--radius-full);
}
.review-avg-score {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}
.review-aggregate .star-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.review-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.reviews-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
}
.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-meta {
  flex: 1;
}
.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}
.review-stars-date {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-stars-date .star-row {
  display: flex;
  align-items: center;
  gap: 1px;
}
.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.review-comment {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.review-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.review-empty svg {
  margin: 0 auto 12px;
  display: block;
}
.review-empty p {
  font-size: 0.9rem;
  margin: 0;
}
.reviews-loading {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Review Form ---- */
.reviews-form-col {
  position: sticky;
  top: 100px;
}
.review-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-form-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.review-form-group {
  margin-bottom: 18px;
}
.review-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.review-optional {
  color: var(--text-light);
  font-weight: 400;
}
.star-picker {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.star-pick-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform 0.15s;
  line-height: 0;
}
.star-pick-btn:hover {
  transform: scale(1.2);
}
.star-pick-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.review-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s;
  background: var(--bg-white);
}
.review-textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.review-error {
  font-size: 0.82rem;
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 12px;
  min-height: 18px;
}
.review-submit-btn {
  width: 100%;
  justify-content: center;
}
.review-cta-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.review-cta-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}
.review-cta-box svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
}
.review-cta-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.review-cta-success svg {
  color: var(--success);
}
.review-login-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- Product card keyboard focus accessibility ---- */
.product-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

/* ---- Reviews responsive ---- */
@media (max-width: 860px) {
  .reviews-body {
    grid-template-columns: 1fr;
  }
  .reviews-form-col {
    position: static;
  }
}

/* ============================================================
   EVEN LAYOUT & GLOBAL MOBILE COMPATIBILITY SYSTEM
   ============================================================ */

/* 1. Global Overflow Protection & Touch Compatibility */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

/* 2. Even Layout for All Grid Cards */
.product-grid,
.category-grid,
.age-cards,
.why-grid {
  display: grid;
  align-items: stretch;
}

.product-card,
.category-card,
.age-card,
.why-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.product-name {
  min-height: 2.7em;
  max-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.product-card-footer {
  margin-top: auto;
}

.product-card-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3. Checkout Page Layout & Styling */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.checkout-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

/* 4. Orders History & Account Cards Even Layout */
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.order-status {
  font-weight: 700;
  color: var(--primary);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
}

/* 5. Responsive Table Wrappers */
table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.table-responsive,
.table-container,
.admin-table-wrapper,
.cart-table-wrapper,
.orders-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 6. Comprehensive Mobile Viewports */
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  button,
  .btn,
  input,
  select,
  textarea,
  a.btn {
    min-height: 44px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-actions {
    flex-direction: column-reverse;
    width: 100%;
  }

  .checkout-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .product-grid,
  .category-grid,
  .age-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .why-grid,
  .contact-grid,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .checkout-section {
    padding: 18px 16px;
  }

  /* Responsive Cart Item for Mobile */
  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--border-gray);
    padding-top: 10px;
    margin-top: 4px;
    width: 100%;
  }

  .mobile-menu.open {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Prevent text overflow on mobile */
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  li,
  td,
  th {
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .category-grid,
  .age-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
   GOOGLE MAPS REVIEWS — Horizontal Scrolling Showcase
   ============================================================ */
.reviews-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.reviews-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.google-badge {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.reviews-top-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.google-score-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.1));
}

.score-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.score-meta {
  display: flex;
  flex-direction: column;
}

.score-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1.2;
}

.score-count {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.google-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: 6px;
}

.google-maps-btn:hover {
  background: #dbeafe;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.reviews-nav-btns {
  display: flex;
  gap: 10px;
}

.rev-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.rev-nav-btn:hover {
  background: var(--primary, #2563eb);
  color: #ffffff;
  border-color: var(--primary, #2563eb);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.rev-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
}

.reviews-scroll-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 6px 28px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 transparent;
  cursor: grab;
}

.reviews-scroll-container.grabbing {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.reviews-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.reviews-scroll-container::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

.reviews-scroll-container::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 10px;
}

.reviews-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary, #2563eb);
}

.google-review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.google-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.rev-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.rev-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.rev-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.2;
}

.rev-tag {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.rev-google-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.rev-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rev-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.rev-date {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.rev-text {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rev-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.75rem;
  color: #64748b;
}

.rev-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #16a34a;
  font-weight: 600;
}

@media (max-width: 768px) {
  .google-review-card {
    flex: 0 0 290px;
    padding: 18px;
  }
  .reviews-header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   31. DYNAMIC INTERACTIVE FEATURES — Quick View, Category Tabs, Social Proof
   ============================================================ */

/* --- Quick View Trigger Button on Toy Card --- */
.quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border, #d1fae5);
  color: var(--primary-dark, #14532d);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.product-card-image:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.quick-view-btn:hover {
  background: var(--primary, #15803d);
  color: #ffffff;
  border-color: var(--primary, #15803d);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.3);
}

/* --- Quick View Modal Overlay --- */
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: qvFadeIn 0.2s ease-out;
}

@keyframes qvFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.quick-view-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 820px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: qvScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qvScaleIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.quick-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.quick-view-close:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.quick-view-img-wrap {
  position: relative;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.quick-view-main-img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.quick-view-img-wrap:hover .quick-view-main-img {
  transform: scale(1.08);
}

.quick-view-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary, #15803d);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-view-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-view-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.quick-view-age {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.quick-view-stock {
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.quick-view-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-dark, #14532d);
  margin-bottom: 12px;
  line-height: 1.25;
}

.quick-view-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.quick-view-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary, #15803d);
  font-weight: 700;
}

.quick-view-orig-price {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.quick-view-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.quick-view-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-whatsapp-preorder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-preorder:hover {
  background: #1ebc57;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* --- Interactive Homepage Category Filter Tabs --- */
.featured-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.featured-tab {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.featured-tab:hover {
  background: #f8fafc;
  border-color: var(--primary-light, #22c55e);
  color: var(--primary-dark, #14532d);
  transform: translateY(-1px);
}

.featured-tab.active {
  background: var(--primary, #15803d);
  border-color: var(--primary, #15803d);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.fade-slide-in {
  animation: fadeSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Live Activity Social Proof Toast --- */
.live-activity-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.live-activity-toast {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary, #15803d);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  pointer-events: auto;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.live-activity-toast.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

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

.live-activity-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.live-activity-body {
  flex-grow: 1;
}

.live-activity-title {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.3;
  margin: 0;
}

.live-activity-title strong {
  color: var(--primary-dark, #14532d);
}

.live-activity-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-activity-time {
  font-size: 0.72rem;
  color: #64748b;
  display: block;
}

.live-activity-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
}

.live-activity-close:hover {
  color: #0f172a;
}

@media (max-width: 768px) {
  .quick-view-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .quick-view-img-wrap {
    padding: 16px;
  }
  .quick-view-main-img {
    max-height: 220px;
  }
  .quick-view-content {
    padding: 20px;
  }
  .live-activity-container {
    bottom: 80px; /* offset for bottom app nav */
    left: 16px;
    right: 16px;
  }
  .live-activity-toast {
    max-width: 100%;
  }
}

/* ============================================================
   FLAGSHIP DUAL-VIEW: MOBILE APP BOTTOM NAVIGATION (<768px)
   ============================================================ */

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
  .mobile-sticky-buy-bar {
    display: none !important;
  }
  .mobile-category-carousel {
    display: none !important;
  }
}

/* Mobile App View (<768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 8px env(safe-area-inset-bottom) 8px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 990;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 4px 0;
    background: transparent;
    border: none;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-item span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 3px;
    transition: color 0.2s ease;
  }

  .bottom-nav-item svg {
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .bottom-nav-item:active {
    transform: scale(0.9);
  }

  .bottom-nav-item.active {
    color: var(--primary, #2563eb);
  }

  .bottom-nav-item.active svg {
    stroke: var(--primary, #2563eb);
    transform: translateY(-2px);
  }

  .bottom-nav-item.active span {
    color: var(--primary, #2563eb);
    font-weight: 800;
  }

  .bottom-nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-nav-wishlist-badge,
  .bottom-nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
  }

  .bottom-nav-search-bubble {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-50, #eff6ff);
    color: var(--primary, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--primary-light, #93c5fd);
    transition: all 0.2s ease;
  }

  .bottom-nav-search-trigger:hover .bottom-nav-search-bubble,
  .bottom-nav-search-trigger:active .bottom-nav-search-bubble {
    background: var(--primary, #2563eb);
    color: #ffffff;
  }

  /* WhatsApp Float Position Shift on Mobile so it doesn't overlap Bottom Nav */
  .whatsapp-float {
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
}

/* ============================================================
   MOBILE CATEGORY CHIPS CAROUSEL
   ============================================================ */
.mobile-category-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px 4px;
  margin: 12px 0 18px 0;
  scrollbar-width: none;
}

.mobile-category-carousel::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.category-chip:hover {
  border-color: var(--primary-light, #60a5fa);
  background: var(--primary-50, #eff6ff);
  color: var(--primary, #2563eb);
  transform: translateY(-1px);
}

.category-chip.active {
  background: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* ============================================================
   MOBILE STICKY BOTTOM BUY BAR (product.html)
   ============================================================ */
.mobile-sticky-buy-bar {
  position: fixed;
  bottom: calc(64px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  z-index: 989;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.sticky-buy-price-wrap {
  display: flex;
  flex-direction: column;
}

.sticky-buy-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.sticky-buy-orig {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.sticky-buy-btn-group {
  display: flex;
  gap: 10px;
}

.btn-whatsapp-sticky {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1.5px solid #10b981;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-whatsapp-sticky:hover {
  background: #10b981;
  color: #ffffff;
}

.btn-sticky-cart {
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

/* ============================================================
   PRODUCT DETAIL TRUST BADGES
   ============================================================ */
.product-trust-badges-list {
  margin-top: 24px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge-item strong {
  display: block;
  font-size: 0.88rem;
  color: #1e293b;
}

.trust-badge-item small {
  font-size: 0.76rem;
  color: #64748b;
}

/* ============================================================
   FREE SHIPPING PROGRESS BAR (cart.html)
   ============================================================ */
.free-shipping-bar {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.free-shipping-bar.unlocked {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.free-shipping-bar .fs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #1e293b;
}

.free-shipping-bar.unlocked .fs-msg {
  color: #15803d;
}

.free-shipping-bar .fs-progress-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.free-shipping-bar .fs-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.free-shipping-bar.unlocked .fs-progress-fill {
  background: linear-gradient(90deg, #10b981, #059669);
}

/* ============================================================
   RICH TOAST WITH PRODUCT THUMBNAIL
   ============================================================ */
.toast-with-media {
  padding: 8px 16px 8px 10px !important;
  max-width: 380px !important;
}

.toast-content-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.toast-media-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.toast-action-btn {
  margin-left: auto;
  padding: 6px 12px;
  background: var(--primary, #2563eb);
  color: #ffffff !important;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s ease;
}

.toast-action-btn:hover {
  transform: scale(1.05);
}

.toast-fade-out {
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  transition: all 0.3s ease !important;
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

/* Skeleton shimmer sweep */
.skeleton-card {
  aspect-ratio: 1 / 1.3;
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite linear;
  border: 1px solid #e2e8f0;
}

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

/* Cart bounce wobble */
.cart-bounce {
  animation: cartBounceKeyframes 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBounceKeyframes {
  0% { transform: scale(1); }
  35% { transform: scale(1.25) rotate(-8deg); }
  65% { transform: scale(1.15) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Wishlist burst animation */
.wishlist-burst {
  animation: wishlistBurstKeyframes 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wishlistBurstKeyframes {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); color: #ef4444; }
  100% { transform: scale(1); }
}

/* Empty state quick collection tags */
.empty-state-popular-tags {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.popular-tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
}

.popular-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.mini-tag-chip {
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  gap: 14px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge-item strong {
  display: block;
  font-size: 0.88rem;
  color: #1e293b;
}

.trust-badge-item small {
  font-size: 0.76rem;
  color: #64748b;
}

/* ============================================================
   FREE SHIPPING PROGRESS BAR (cart.html)
   ============================================================ */
.free-shipping-bar {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.free-shipping-bar.unlocked {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.free-shipping-bar .fs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #1e293b;
}

.free-shipping-bar.unlocked .fs-msg {
  color: #15803d;
}

.free-shipping-bar .fs-progress-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.free-shipping-bar .fs-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.free-shipping-bar.unlocked .fs-progress-fill {
  background: linear-gradient(90deg, #10b981, #059669);
}

/* ============================================================
   RICH TOAST WITH PRODUCT THUMBNAIL
   ============================================================ */
.toast-with-media {
  padding: 8px 16px 8px 10px !important;
  max-width: 380px !important;
}

.toast-content-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.toast-media-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.toast-action-btn {
  margin-left: auto;
  padding: 6px 12px;
  background: var(--primary, #2563eb);
  color: #ffffff !important;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s ease;
}

.toast-action-btn:hover {
  transform: scale(1.05);
}

.toast-fade-out {
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  transition: all 0.3s ease !important;
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

/* Skeleton shimmer sweep */
.skeleton-card {
  aspect-ratio: 1 / 1.3;
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite linear;
  border: 1px solid #e2e8f0;
}

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

/* Cart bounce wobble */
.cart-bounce {
  animation: cartBounceKeyframes 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBounceKeyframes {
  0% { transform: scale(1); }
  35% { transform: scale(1.25) rotate(-8deg); }
  65% { transform: scale(1.15) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Wishlist burst animation */
.wishlist-burst {
  animation: wishlistBurstKeyframes 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wishlistBurstKeyframes {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); color: #ef4444; }
  100% { transform: scale(1); }
}

/* Empty state quick collection tags */
.empty-state-popular-tags {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.popular-tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
}

.popular-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.mini-tag-chip {
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mini-tag-chip:hover {
  background: var(--primary-50, #eff6ff);
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
  transform: translateY(-1px);
}

/* ============================================================
   HERO AMBIENT PARTICLES
   ============================================================ */
.hero-ambient-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ambient-particle {
  position: absolute;
  font-size: 1.6rem;
  user-select: none;
  opacity: 0.55;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  will-change: transform;
  animation: floatDrift 8s ease-in-out infinite alternate;
}

.ambient-particle.p-1 {
  top: 15%;
  left: 8%;
  font-size: 2rem;
  animation-duration: 7s;
  animation-delay: 0s;
}

.ambient-particle.p-2 {
  top: 65%;
  left: 12%;
  font-size: 1.8rem;
  animation-duration: 9s;
  animation-delay: -2s;
}

.ambient-particle.p-3 {
  top: 20%;
  right: 14%;
  font-size: 2.2rem;
  animation-duration: 8.5s;
  animation-delay: -4s;
}

.ambient-particle.p-4 {
  top: 75%;
  right: 18%;
  font-size: 1.7rem;
  animation-duration: 10s;
  animation-delay: -1.5s;
}

.ambient-particle.p-5 {
  top: 45%;
  left: 48%;
  font-size: 1.5rem;
  animation-duration: 6.5s;
  animation-delay: -3s;
}

@keyframes floatDrift {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-18px) rotate(8deg) scale(1.08);
  }
  100% {
    transform: translateY(-32px) rotate(-6deg) scale(0.96);
  }
}

/* ============================================================
   MOBILE NATIVE APP NAVIGATION & STICKY BUY BAR
   ============================================================ */
.mobile-bottom-nav {
  display: none;
}

.mobile-sticky-buy-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Ensure content clears bottom navigation bar */
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) 10px;
    align-items: center;
    justify-content: space-around;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    min-width: 56px;
  }

  .bottom-nav-item svg {
    margin-bottom: 2px;
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .bottom-nav-item:active {
    transform: scale(0.92);
  }

  .bottom-nav-item.active {
    color: var(--primary, #2563eb);
  }

  .bottom-nav-item.active svg {
    stroke: var(--primary, #2563eb);
    transform: translateY(-2px);
  }

  .bottom-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 16px;
    height: 3px;
    background: var(--primary, #2563eb);
    border-radius: 99px;
  }

  .bottom-nav-icon-wrap {
    position: relative;
    display: inline-flex;
  }

  .bottom-nav-wishlist-badge,
  .bottom-nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  }

  /* Center search floating button */
  .bottom-nav-search-bubble {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #2563eb), #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -12px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .bottom-nav-search-bubble svg {
    stroke: white;
    margin-bottom: 0;
  }

  .bottom-nav-search-trigger:active .bottom-nav-search-bubble {
    transform: scale(0.9);
  }

  /* Sticky buy bar on mobile product page */
  .mobile-sticky-buy-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 960;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .sticky-buy-price-wrap {
    display: flex;
    flex-direction: column;
  }

  .sticky-buy-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.1;
  }

  .sticky-buy-orig {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
  }

  .sticky-buy-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }

  .btn-whatsapp-sticky {
    background: #25d366;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: var(--radius-md, 12px);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .btn-whatsapp-sticky:active {
    background: #1da851;
  }

  .btn-sticky-cart {
    padding: 11px 18px;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: var(--radius-md, 12px);
    flex-grow: 1;
    max-width: 180px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  }
}

/* ============================================================
   PRODUCT PAGE CONVERSION WIDGETS
   ============================================================ */
/* Urgency Social Proof Badge */
.product-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: var(--radius-full, 99px);
  color: #c2410c;
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 8px;
}

.urgency-pulse {
  width: 8px;
  height: 8px;
  background: #ea580c;
  border-radius: 50%;
  position: relative;
}

.urgency-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #ea580c;
  opacity: 0.4;
  animation: pulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Product Trust Badges List */
.product-trust-badges-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 16px);
}

.trust-badge-item svg {
  flex-shrink: 0;
}

.trust-badge-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main, #0f172a);
}

.trust-badge-item small {
  font-size: 0.78rem;
  color: #64748b;
}

/* Pincode Delivery Estimator */
.pincode-checker-box {
  margin-top: 20px;
  padding: 16px;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-lg, 16px);
  transition: border-color 0.2s ease;
}

.pincode-checker-box:focus-within {
  border-color: var(--primary, #2563eb);
}

.pincode-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 12px;
}

.pincode-header svg {
  color: var(--primary, #2563eb);
}

.pincode-input-group {
  display: flex;
  gap: 8px;
}

.pincode-input-group input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md, 10px);
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease;
}

.pincode-input-group input:focus {
  border-color: var(--primary, #2563eb);
}

.pincode-result {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  font-size: 0.84rem;
  line-height: 1.45;
  animation: fadeIn 0.25s ease;
}

.pincode-result.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.pincode-result.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Parent FAQ Accordion */
.product-faq-accordion {
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.faq-accordion-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 14px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 12px);
  margin-bottom: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.faq-item summary {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: #64748b;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--primary, #2563eb);
}

.faq-item p {
  padding: 0 16px 14px 16px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   BUTTON SHIMMER SWEEP & MICRO-INTERACTIONS
   ============================================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
}

.btn-primary:hover::before {
  animation: buttonShimmerSweep 0.85s ease forwards;
}

@keyframes buttonShimmerSweep {
  0% {
    left: -120%;
  }
  100% {
    left: 180%;
  }
}

.btn:active,
button:active {
  transform: scale(0.97);
}
