/* ==============================
   DIGHOL — Premium Design System
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Baloo+Da+2:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Primary palette */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.25);

  /* Accent */
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.2);

  /* Success / stock */
  --success: #10b981;
  --success-light: #34d399;
  --success-bg: rgba(16, 185, 129, 0.1);

  /* Danger */
  --danger: #f43f5e;
  --danger-light: #fb7185;

  /* Neutrals */
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.72);
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;

  /* Surfaces */
  --surface-1: #f1f5f9;
  --surface-2: #e2e8f0;

  /* 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 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px var(--primary-glow);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.25s;
  --duration-slow: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Baloo Da 2', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle dot pattern background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Header / Navbar ---------- */
.dighol-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  transition: box-shadow var(--duration) var(--ease);
}

.dighol-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Menu toggle button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
}

.brand-link:hover {
  color: var(--primary);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* Search bar */
.search-wrapper {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.search-wrapper .search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--surface-1);
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--duration) var(--ease);
  outline: none;
  font-family: inherit;
}

.search-wrapper .search-input::placeholder {
  color: var(--text-muted);
}

.search-wrapper .search-input:focus {
  background: var(--bg-card);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: color var(--duration) var(--ease);
}

.search-wrapper .search-input:focus ~ .search-icon {
  color: var(--primary);
}

/* Header cart */
.header-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}

.header-cart:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.header-cart .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  line-height: 1;
}

/* ---------- Hero / Page Title ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
  max-width: 480px;
  margin-inline: auto;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 1rem auto 0;
}

/* ---------- Product Grid ---------- */
.products-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ---------- Product Card ---------- */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--duration-slow) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

/* Image wrapper */
.product-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-1);
}

.product-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

/* Discount badge on image */
.product-card .discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
  z-index: 2;
}

/* Stock badge */
.product-card .stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--success);
  z-index: 2;
}

.stock-badge .stock-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Card body */
.product-card .card-content {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .product-name {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  transition: color var(--duration) var(--ease);
  margin-bottom: 0.75rem;
}

.product-card .product-name:hover {
  color: var(--primary);
}

/* Pricing */
.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.product-card .price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card .price-discounted {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-card .price-unit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Button area */
.product-card .card-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-order::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.btn-order:hover::before {
  opacity: 1;
}

.btn-order-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-order-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-order-primary:active {
  transform: translateY(0);
}

.btn-order-preorder {
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: white;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-order-preorder:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-order-success {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
}

/* ---------- Offcanvas Sidebar ---------- */
.offcanvas.dighol-sidebar {
  width: 320px;
  border-right: none;
  box-shadow: var(--shadow-xl);
}

.dighol-sidebar .offcanvas-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 1.25rem 1.5rem;
  border-bottom: none;
}

.dighol-sidebar .offcanvas-header .offcanvas-title a {
  color: white;
  text-decoration: none;
  font-family: 'Baloo Da 2', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dighol-sidebar .offcanvas-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.dighol-sidebar .offcanvas-header .btn-close:hover {
  opacity: 1;
}

.dighol-sidebar .offcanvas-body {
  padding: 0.5rem 0;
}

.dighol-sidebar .nav-item .nav-link {
  padding: 0.7rem 1.5rem;
  color: var(--text);
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
  border-left: 3px solid transparent;
}

.dighol-sidebar .nav-item .nav-link:hover {
  background: var(--surface-1);
  color: var(--primary);
  border-left-color: var(--primary);
}

.dighol-sidebar .nav-item .nav-link .bi {
  transition: transform var(--duration) var(--ease);
}

/* ---------- Loader ---------- */
.dighol-loader {
  text-align: center;
  padding: 2rem 0;
  display: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--surface-2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 0.75rem;
}

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

.loader-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- End of List ---------- */
.dighol-finish {
  text-align: center;
  padding: 2.5rem 1rem;
  display: none;
}

.finish-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.finish-text {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Modal ---------- */
.dighol-modal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dighol-modal .modal-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}

.dighol-modal .modal-header .modal-title {
  font-family: 'Baloo Da 2', sans-serif;
  font-weight: 700;
  color: white;
}

.dighol-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.dighol-modal .modal-body {
  padding: 1.5rem;
}

.dighol-modal .form-label {
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.dighol-modal .form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease);
}

.dighol-modal .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.dighol-modal .btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.dighol-modal .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ---------- Floating Cart ---------- */
.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.floating-cart a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all var(--duration) var(--ease);
}

.floating-cart a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.floating-cart .cart-badge {
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Promo Slider / Carousel ---------- */
.promo-slider-section {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.promo-slider-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Slide container */
.promo-slide {
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: var(--surface-1);
}

.promo-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}

/* Slow Ken Burns zoom while slide is active */
.carousel-item.active .promo-slide-img {
  transform: scale(1.06);
}

/* Gradient overlay */
.promo-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
}

.promo-overlay-indigo {
  background: linear-gradient(105deg, rgba(79, 70, 229, 0.88) 0%, rgba(79, 70, 229, 0.55) 45%, transparent 75%);
}

.promo-overlay-amber {
  background: linear-gradient(105deg, rgba(217, 119, 6, 0.88) 0%, rgba(217, 119, 6, 0.55) 45%, transparent 75%);
}

.promo-overlay-emerald {
  background: linear-gradient(105deg, rgba(5, 150, 105, 0.88) 0%, rgba(5, 150, 105, 0.55) 45%, transparent 75%);
}

/* Slide content */
.promo-slide-content {
  max-width: 480px;
  color: white;
}

/* Tag / label */
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

/* Title */
.promo-title {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Description */
.promo-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.92;
  margin: 0 0 1.25rem;
  max-width: 380px;
}

/* CTA button */
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 1.5rem;
  background: white;
  color: var(--primary-dark);
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.promo-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: var(--primary-dark);
}

.promo-cta-amber {
  color: #92400e;
}

.promo-cta-amber:hover {
  color: #92400e;
}

.promo-cta-emerald {
  color: #064e3b;
}

.promo-cta-emerald:hover {
  color: #064e3b;
}

/* Slide-in animation for content */
.carousel-item.active .promo-tag {
  animation: slideContentIn 0.6s var(--ease) 0.15s both;
}
.carousel-item.active .promo-title {
  animation: slideContentIn 0.6s var(--ease) 0.25s both;
}
.carousel-item.active .promo-desc {
  animation: slideContentIn 0.6s var(--ease) 0.35s both;
}
.carousel-item.active .promo-cta {
  animation: slideContentIn 0.6s var(--ease) 0.45s both;
}

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

/* Custom prev/next controls */
.promo-control {
  width: 44px;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.promo-slider-wrapper:hover .promo-control {
  opacity: 1;
}

.promo-control-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1rem;
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-md);
}

.promo-control:hover .promo-control-icon {
  background: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Custom indicators */
.promo-indicators {
  margin-bottom: 1rem;
  gap: 0.4rem;
}

.promo-indicators button {
  width: 28px;
  height: 4px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--duration) var(--ease);
  opacity: 1;
}

.promo-indicators button.active {
  width: 48px;
  background: white;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

/* Progress bar on active indicator */
.promo-indicators button.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.6);
  animation: indicatorProgress 4.5s linear both;
  transform-origin: left;
}

@keyframes indicatorProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Slider responsive */
@media (max-width: 992px) {
  .promo-slide {
    aspect-ratio: 2.2 / 1;
  }

  .promo-title {
    font-size: 1.5rem;
  }

  .promo-desc {
    font-size: 0.85rem;
  }

  .promo-slide-overlay {
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 576px) {
  .promo-slider-section {
    padding: 0.75rem 0.75rem 0;
  }

  .promo-slider-wrapper {
    border-radius: var(--radius-lg);
  }

  .promo-slide {
    aspect-ratio: 16 / 9;
  }

  .promo-slide-overlay {
    padding: 1rem 1.25rem;
    align-items: flex-end;
  }

  .promo-overlay-indigo,
  .promo-overlay-amber,
  .promo-overlay-emerald {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  }

  .promo-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.4rem;
  }

  .promo-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .promo-desc {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .promo-cta {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
  }

  .promo-control {
    display: none;
  }

  .promo-indicators {
    margin-bottom: 0.6rem;
  }

  .promo-indicators button {
    width: 20px;
    height: 3px;
  }

  .promo-indicators button.active {
    width: 36px;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s var(--ease) both;
}

/* Stagger animation for cards */
.product-card {
  opacity: 0;
  animation: fadeInUp 0.5s var(--ease) both;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    padding: 0 1rem 2rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 0.75rem 2rem;
  }

  .product-card .card-content {
    padding: 0.75rem;
  }

  .product-card .product-name {
    font-size: 0.85rem;
  }

  .product-card .price-discounted {
    font-size: 1rem;
  }

  .btn-order {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }

  .header-inner {
    padding: 0 0.75rem;
  }

  .brand-link {
    font-size: 1.2rem;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .page-hero {
    padding: 1.5rem 0 1rem;
  }

  .page-hero h1 {
    font-size: 1.35rem;
  }

  .page-hero p {
    font-size: 0.85rem;
  }
}

/* ---------- Selection ---------- */
::selection {
  background: var(--primary-light);
  color: white;
}
