/* ============================================================
   styles.css — Complete Design System
   Shri Nath Enterprises
   ============================================================ */

/* ── Google Fonts loaded via <link> in index.html ─────────── */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Colors — Primary */
  --primary-dark: #0a0f1e;
  --primary: #111827;
  --primary-light: #1f2937;
  --primary-lighter: #374151;

  /* Colors — Accent */
  --accent: #ff6b35;
  --accent-hover: #e85d2c;
  --accent-light: #ff8c5e;
  --accent-glow: rgba(255, 107, 53, 0.3);

  /* Colors — Gold */
  --gold: #ffc947;
  --gold-hover: #f0b830;

  /* Colors — WhatsApp */
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5b;
  --whatsapp-dark: #128c42;

  /* Colors — Status */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Colors — Surface */
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;
  --surface-hover: #f0f0f0;
  --border: #e5e7eb;
  --border-light: #f0f0f0;

  /* Colors — Text */
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-on-dark: #f9fafb;
  --text-on-accent: #ffffff;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 0.7rem;
  --text-sm: 0.8rem;
  --text-base: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.15rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.6rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-2xl: 40px;
  --space-3xl: 56px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 25px rgba(0,0,0,0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-Index */
  --z-header: 100;
  --z-bottom-nav: 100;
  --z-modal: 200;
  --z-toast: 300;
  --z-fab: 90;

  /* Sizes */
  --header-height: 56px;
  --bottom-nav-height: 60px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-3);
  min-height: 100vh;
  padding-top: var(--header-height);
  padding-bottom: var(--bottom-nav-height);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-body {
  background-color: #0f172a;
  color: var(--text-on-dark);
}

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
}

ul, ol {
  list-style: none;
}

/* ── Scrollbar Styling ────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--radius-full);
}

/* ── Header / App Bar ─────────────────────────────────────── */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  padding: 0 var(--space-base);
  z-index: var(--z-header);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  gap: var(--space-md);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
}

.header-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--text-on-dark);
  white-space: nowrap;
}

.header-logo-text span {
  color: var(--accent);
}

/* Search Bar */
.header-search {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 36px;
  padding: 0 36px 0 14px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background: rgba(255,255,255,0.12);
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  transition: var(--transition-base);
}

.header-search input::placeholder {
  color: rgba(255,255,255,0.5);
}

.header-search input:focus {
  background: rgba(255,255,255,0.2);
  border-color: var(--accent);
}

.header-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  pointer-events: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-base);
}

.header-btn:hover,
.header-btn:active {
  background: rgba(255,255,255,0.2);
}

/* ── Bottom Navigation ────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: var(--z-bottom-nav);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  color: var(--text-muted);
  background: none;
  min-width: 64px;
  position: relative;
}

.bottom-nav-item.active {
  color: var(--accent);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.bottom-nav-icon {
  font-size: 22px;
  line-height: 1;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Floating WhatsApp Button ─────────────────────────────── */
.fab-whatsapp {
  position: fixed;
  bottom: 76px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: var(--z-fab);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition-base);
  animation: fab-pulse 2s infinite;
}

.fab-whatsapp:hover,
.fab-whatsapp:active {
  background: var(--whatsapp-hover);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* WhatsApp SVG Icon */
.wa-icon {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ── Main Content Container ───────────────────────────────── */
.main-content {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-base);
}

/* ── Page Transitions ─────────────────────────────────────── */
.page-enter {
  animation: pageSlideIn 0.3s ease forwards;
}

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

/* ── Hero Carousel ────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 0;
}

.hero-slide-content {
  position: relative;
  z-index: 1;
}

.hero-slide h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-xs);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-slide p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-base);
  max-width: 320px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.hero-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Carousel Dots */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  background: var(--surface-3);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--text-muted);
  border: none;
  transition: var(--transition-base);
  cursor: pointer;
}

.hero-dot.active {
  width: 24px;
  background: var(--accent);
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-base) var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.section-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* ── Category Cards ───────────────────────────────────────── */
.categories-scroll {
  display: flex;
  gap: var(--space-md);
  padding: 0 var(--space-base) var(--space-base);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 0 0 auto;
  width: 150px;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.92;
  border-radius: inherit;
  background: inherit;
}

.category-card-content {
  position: relative;
  z-index: 1;
}

.category-card:active {
  transform: scale(0.96);
}

.category-icon {
  font-size: 40px;
  margin-bottom: var(--space-sm);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.category-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.category-count {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* ── Product Card ─────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: 0 var(--space-base) var(--space-base);
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
}

.product-card:active {
  transform: scale(0.98);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--surface-3);
}

.product-card-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--success);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.product-card-body {
  padding: var(--space-md);
}

.product-card-brand {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product-card-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: var(--space-xs);
}

.star {
  font-size: 12px;
}

.star-full {
  color: var(--gold);
}

.star-half {
  color: var(--gold);
  opacity: 0.6;
}

.star-empty {
  color: var(--border);
}

.rating-value {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-left: 4px;
  font-weight: 500;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.price-mrp {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--success);
}

.product-card-unit {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.product-card-oos {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--error);
  margin-top: 4px;
}

/* ── Product Detail Page ──────────────────────────────────── */
.product-detail {
  background: var(--surface);
}

.product-detail-back {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-base);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
}

.product-detail-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-detail-info {
  padding: var(--space-lg) var(--space-base);
}

.product-detail-brand {
  font-size: var(--text-sm);
  color: var(--info);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.product-detail-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-base);
  font-size: 14px;
}

.product-detail-price-box {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-base);
  margin-bottom: var(--space-base);
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.detail-price-current {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
}

.detail-price-mrp {
  font-size: var(--text-md);
  color: var(--text-muted);
  text-decoration: line-through;
}

.detail-price-discount {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--success);
}

.product-detail-unit {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.product-detail-stock {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-base);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.product-detail-stock.in-stock {
  background: #ecfdf5;
  color: var(--success);
}

.product-detail-stock.out-of-stock {
  background: #fef2f2;
  color: var(--error);
}

.product-detail-desc-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.product-detail-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* Product Detail CTA Buttons */
.product-cta-bar {
  position: sticky;
  bottom: var(--bottom-nav-height);
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-base);
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  z-index: 50;
}

.btn-buy-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-base);
  background: var(--whatsapp);
  color: white;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-buy-whatsapp:active {
  background: var(--whatsapp-hover);
  transform: scale(0.98);
}

.btn-enquiry {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-base);
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-enquiry:active {
  background: var(--accent-hover);
  transform: scale(0.98);
}

/* ── Category Page ────────────────────────────────────────── */
.category-page-header {
  padding: var(--space-lg) var(--space-base);
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

.category-page-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
}

.category-page-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Filter / Sort Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-base);
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.filter-chip.active {
  border-color: var(--accent);
  background: #fff5f0;
  color: var(--accent);
}

.filter-chip:active {
  transform: scale(0.95);
}

.sort-select {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
}

/* ── Trust Badges ─────────────────────────────────────────── */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: 0 var(--space-base) var(--space-lg);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}

.trust-badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-badge-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: var(--space-2xl) var(--space-base) var(--space-lg);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.footer-brand span {
  color: var(--accent);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-links-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  color: rgba(255,255,255,0.9);
}

.footer-links ul li {
  margin-bottom: var(--space-sm);
}

.footer-links ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact {
  margin-bottom: var(--space-xl);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
}

.footer-contact-item span:first-child {
  font-size: 16px;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: var(--space-base);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ── Search Results ───────────────────────────────────────── */
.search-header {
  padding: var(--space-lg) var(--space-base) var(--space-md);
}

.search-query {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.search-count {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-base);
  text-align: center;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: var(--space-base);
  opacity: 0.6;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.empty-state-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 280px;
  margin-bottom: var(--space-lg);
}

.empty-state-btn {
  padding: var(--space-md) var(--space-xl);
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

/* ── Toast Notifications ──────────────────────────────────── */
.toast-notification {
  position: fixed;
  top: calc(var(--header-height) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: var(--z-toast);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  max-width: 90%;
  white-space: nowrap;
}

.toast-show {
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  background: var(--success);
  color: white;
}

.toast-error {
  background: var(--error);
  color: white;
}

.toast-info {
  background: var(--info);
  color: white;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-base);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.modal-overlay.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 360px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-base);
}

.modal-open .modal-box {
  transform: scale(1);
}

.modal-icon {
  font-size: 48px;
  margin-bottom: var(--space-base);
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.modal-message {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: var(--space-md);
}

.modal-btn {
  flex: 1;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: var(--transition-fast);
}

.modal-btn-cancel {
  background: var(--surface-3);
  color: var(--text-secondary);
}

.modal-btn-danger {
  background: var(--error);
  color: white;
}

.modal-btn-danger:active {
  background: #dc2626;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL STYLES
   ═══════════════════════════════════════════════════════════ */

/* ── Admin Login ──────────────────────────────────────────── */
.admin-login-page {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-base);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.admin-login-card {
  width: 100%;
  max-width: 380px;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.admin-login-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.admin-login-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-base);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.admin-login-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-xs);
}

.admin-login-subtitle {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.admin-form-group {
  margin-bottom: var(--space-base);
}

.admin-form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-sm);
}

.admin-form-input {
  width: 100%;
  padding: var(--space-md) var(--space-base);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--text-base);
  transition: var(--transition-base);
}

.admin-form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.admin-form-input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.admin-form-input-light {
  width: 100%;
  padding: var(--space-md) var(--space-base);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: var(--transition-base);
}

.admin-form-input-light::placeholder {
  color: var(--text-muted);
}

.admin-form-input-light:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.admin-form-input,
textarea.admin-form-input-light {
  min-height: 100px;
  resize: vertical;
}

select.admin-form-input,
select.admin-form-input-light {
  appearance: auto;
}

.admin-login-btn {
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  font-weight: 700;
  font-size: var(--text-md);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: 0 4px 12px var(--accent-glow);
  margin-top: var(--space-sm);
}

.admin-login-btn:active {
  transform: scale(0.98);
}

.admin-login-error {
  color: var(--error);
  font-size: var(--text-sm);
  text-align: center;
  margin-top: var(--space-md);
  display: none;
}

.admin-login-error.visible {
  display: block;
}

.admin-login-note {
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin-top: var(--space-lg);
}

/* ── Admin Dashboard ──────────────────────────────────────── */
.admin-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: var(--space-lg) var(--space-base);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.admin-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
}

.admin-logout-btn {
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.admin-logout-btn:active {
  background: rgba(239, 68, 68, 0.3);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-base);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  background: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.admin-tab.active {
  background: var(--accent);
  color: white;
}

.admin-tab:active {
  transform: scale(0.96);
}

/* Stats Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: var(--space-base);
}

.admin-stat-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-base);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.admin-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent);
}

.admin-stat-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

/* Admin Product List */
.admin-product-list {
  padding: var(--space-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.admin-product-item {
  display: flex;
  gap: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.admin-product-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-3);
  flex-shrink: 0;
}

.admin-product-info {
  flex: 1;
  min-width: 0;
}

.admin-product-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-product-price-tag {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-top: var(--space-xs);
}

.admin-product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.admin-btn-sm {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  transition: var(--transition-fast);
}

.admin-btn-edit {
  background: #dbeafe;
  color: #2563eb;
}

.admin-btn-edit:active {
  background: #bfdbfe;
}

.admin-btn-delete {
  background: #fee2e2;
  color: #dc2626;
}

.admin-btn-delete:active {
  background: #fecaca;
}

/* Admin Add/Edit Product Form */
.admin-form-page {
  padding: var(--space-base);
}

.admin-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.admin-form-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.admin-form-group-light {
  margin-bottom: var(--space-base);
}

.admin-form-label-light {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

/* Image Upload */
.image-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

.image-upload-area:hover,
.image-upload-area.dragover {
  border-color: var(--accent);
  background: #fff5f0;
}

.image-upload-icon {
  font-size: 40px;
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

.image-upload-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.image-upload-text strong {
  color: var(--accent);
}

.image-upload-preview {
  position: relative;
}

.image-upload-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.image-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--error);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-form-submit {
  width: 100%;
  padding: var(--space-md);
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: var(--text-md);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  margin-top: var(--space-sm);
}

.admin-form-submit:active {
  background: var(--accent-hover);
  transform: scale(0.98);
}

/* Admin Add Btn Floating */
.admin-fab-add {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: var(--z-fab);
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition-base);
}

.admin-fab-add:active {
  transform: scale(0.92);
}

/* ── About Page ───────────────────────────────────────────── */
.about-hero {
  padding: var(--space-2xl) var(--space-base);
  background: linear-gradient(135deg, #0f172a, #1e293b);
  text-align: center;
}

.about-hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto var(--space-base);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-sm);
}

.about-hero p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section {
  padding: var(--space-xl) var(--space-base);
}

.about-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-base);
}

.about-card-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.about-card p,
.about-card li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-card li {
  padding: var(--space-xs) 0;
  display: flex;
  align-items: start;
  gap: var(--space-sm);
}

.about-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md);
  background: var(--whatsapp);
  color: white;
  font-weight: 700;
  font-size: var(--text-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-base);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ── Related Products ─────────────────────────────────────── */
.related-products-scroll {
  display: flex;
  gap: var(--space-md);
  padding: 0 var(--space-base) var(--space-lg);
  overflow-x: auto;
  scrollbar-width: none;
}

.related-products-scroll::-webkit-scrollbar {
  display: none;
}

.related-products-scroll .product-card {
  flex: 0 0 160px;
}

/* ── Skeleton Loading ─────────────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1;
}

.skeleton-text {
  height: 14px;
  margin: 8px 12px;
  border-radius: 4px;
}

.skeleton-text-sm {
  height: 10px;
  width: 60%;
  margin: 8px 12px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP / TABLET RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

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

  body {
    padding-bottom: 0;
  }

  .bottom-nav {
    display: none;
  }

  .fab-whatsapp {
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .fab-whatsapp .wa-icon {
    width: 34px;
    height: 34px;
  }

  /* Show desktop nav in header */
  .header-desktop-nav {
    display: flex !important;
    align-items: center;
    gap: var(--space-lg);
  }

  .header-desktop-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    white-space: nowrap;
  }

  .header-desktop-link:hover {
    color: var(--accent);
  }

  .header-desktop-link.active {
    color: var(--accent);
  }

  .header-search {
    max-width: 400px;
  }

  .header-search input {
    height: 40px;
    font-size: var(--text-base);
  }

  /* Hero */
  .hero-slide {
    height: 320px;
    padding: var(--space-3xl) var(--space-2xl);
  }

  .hero-slide h2 {
    font-size: var(--text-3xl);
  }

  .hero-slide p {
    font-size: var(--text-md);
    max-width: 480px;
  }

  /* Categories */
  .categories-scroll {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .category-card {
    width: 200px;
    padding: var(--space-xl) var(--space-lg);
  }

  /* Product Grid */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }

  /* Trust Badges */
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg);
  }

  /* Product Detail */
  .product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .product-detail-image-wrap {
    height: 500px;
    position: sticky;
    top: var(--header-height);
  }

  .product-cta-bar {
    bottom: 0;
    max-width: var(--max-width);
    margin: 0 auto;
  }

  /* Admin Stats */
  .admin-stats {
    max-width: 600px;
    margin: 0 auto;
  }

  .admin-product-list {
    max-width: 800px;
    margin: 0 auto;
  }

  .admin-form-page {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Footer */
  .site-footer {
    padding: var(--space-3xl) var(--space-2xl) var(--space-xl);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    max-width: var(--max-width);
    margin: 0 auto;
  }
}

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

  .hero-slide {
    height: 400px;
    padding: var(--space-3xl) 80px;
  }

  .hero-slide h2 {
    font-size: var(--text-4xl);
  }

  .category-card {
    width: 240px;
    padding: var(--space-2xl) var(--space-xl);
  }

  .category-icon {
    font-size: 52px;
  }

  .header-search {
    max-width: 520px;
  }
}

/* ── Desktop Navigation (Hidden on mobile) ────────────────── */
.header-desktop-nav {
  display: none;
}

/* ── Admin panel on desktop ───────────────────────────────── */
@media (min-width: 768px) {
  .admin-login-page {
    min-height: calc(100vh - var(--header-height));
  }

  .admin-fab-add {
    bottom: 32px;
  }
}

/* ── Print Styles ─────────────────────────────────────────── */
@media print {
  .app-header,
  .bottom-nav,
  .fab-whatsapp,
  .product-cta-bar {
    display: none !important;
  }

  body {
    padding: 0;
    background: white;
  }
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONAL POLISH & MICRO-ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* ── Offer Strip Banner ──────────────────────────────────── */
.offer-strip {
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% auto;
  animation: shimmerStrip 3s linear infinite;
  color: var(--primary-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  text-align: center;
  padding: 6px var(--space-base);
  letter-spacing: 0.03em;
}

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

/* ── Enhanced Button Press Effects ────────────────────────── */
.hero-cta-btn:active,
.empty-state-btn:active,
.about-whatsapp-btn:active {
  transform: scale(0.95);
}

/* ── Product Card Glow on Focus/Active ────────────────────── */
.product-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Smooth Image Loading ─────────────────────────────────── */
.product-card-image,
.product-detail-image-wrap img {
  transition: opacity 0.3s ease;
}

/* ── Category Card Hover (Desktop) ────────────────────────── */
@media (min-width: 768px) {
  .category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  }

  .trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .admin-product-item:hover {
    box-shadow: var(--shadow-md);
  }

  .btn-buy-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  }

  .btn-enquiry:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--accent-glow);
  }
}

/* ── Stagger Animation for Product Cards ──────────────────── */
.products-grid .product-card {
  animation: cardFadeIn 0.4s ease backwards;
}

.products-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(7) { animation-delay: 0.35s; }
.products-grid .product-card:nth-child(8) { animation-delay: 0.4s; }

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

/* ── Category Scroll Cards Stagger ────────────────────────── */
.categories-scroll .category-card {
  animation: cardSlideIn 0.4s ease backwards;
}

.categories-scroll .category-card:nth-child(1) { animation-delay: 0.05s; }
.categories-scroll .category-card:nth-child(2) { animation-delay: 0.15s; }
.categories-scroll .category-card:nth-child(3) { animation-delay: 0.25s; }

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

/* ── Accessibility ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Selection Color ──────────────────────────────────────── */
::selection {
  background: var(--accent);
  color: white;
}
