/* --------------------------------------------------------------------------
   VICKYSTORE - CLEAN SOLID DESIGN SYSTEM (NO GRADIENTS)
   Built for high speed, zero bloatware, and professional look.
   -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Solid Color Palette (STRICTLY NO GRADIENTS) */
  --bg-dark: #0f172a;
  --bg-surface: #1e293b;
  --bg-surface-hover: #26334d;
  --bg-input: #0b1120;

  --border-color: #334155;
  --border-color-hover: #475569;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --whatsapp: #10b981;
  --whatsapp-hover: #059669;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;

  --badge-blue: #1e40af;
  --badge-green: #065f46;
  --badge-amber: #92400e;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Design System Extra Tokens merged from html_styles.css */
  --warning: #f59e0b;
  --accent-blue: #60a5fa;
  --accent-indigo: #a5b4fc;
  --accent-indigo-light: #c7d2fe;
  --accent-pink: #ec4899;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #34d399;
  --accent-orange: #f97316;
  --error: #ef4444;
  --error-dark: #dc2626;

  --badge-green-bg: #065f46;
  --badge-green-color: #a7f3d0;
  --badge-amber-bg: #78350f;
  --badge-amber-color: #fde68a;
  --badge-red-bg: #7f1d1d;
  --badge-red-color: #fecaca;

  --white: #ffffff;
  --black: #000000;

  --font-xs-extra: 0.55rem;
  --font-xs-super: 0.65rem;
  --font-xs-sub: 0.7rem;
  --font-xs-mini: 0.72rem;
  --font-xs-tiny: 0.725rem;
  --font-xs-small: 0.74rem;
  --font-xs: 0.75rem;
  --font-sm-sub: 0.78rem;
  --font-sm-tiny: 0.8rem;
  --font-sm-small: 0.82rem;
  --font-sm-name: 0.84rem;
  --font-sm: 0.85rem;
  --font-md-sub: 0.925rem;
  --font-md: 0.95rem;
  --font-md-large: 0.97rem;
  --font-lg-sub: 1.1rem;
  --font-lg: 1.15rem;
  --font-xl: 1.25rem;
  --font-xl-plus: 1.3rem;
  --font-2xl: 1.4rem;
  --font-2xl-plus: 1.5rem;
  --font-3xl: 1.8rem;
  --font-4xl: 2.2rem;
  --font-5xl: 2.5rem;
  --font-6xl: 3rem;

  --radius-full: 9999px;
  --radius-badge: 4px;
  --radius-cat-icon: 11px;
  --radius-card-sm: 12px;
  --radius-cat-icon-lg: 13px;
  --radius-pill: 20px;

  /* Alpha transparent accents */
  --primary-alpha-15: rgba(59, 130, 246, 0.15);
  --primary-alpha-30: rgba(59, 130, 246, 0.3);
  --primary-alpha-28: rgba(59, 130, 246, 0.28);
  --whatsapp-alpha-28: rgba(16, 185, 129, 0.28);
  --warning-alpha-28: rgba(245, 158, 11, 0.28);
  --pink-alpha-10: rgba(236, 72, 153, 0.1);
  --pink-alpha-20: rgba(236, 72, 153, 0.2);
  --pink-alpha-28: rgba(236, 72, 153, 0.28);
  --red-alpha-28: rgba(239, 68, 68, 0.28);
  --red-alpha-40: rgba(239, 68, 68, 0.4);
  --white-alpha-05: rgba(255, 255, 255, 0.05);
  --white-alpha-07: rgba(255, 255, 255, 0.07);
  --white-alpha-18: rgba(255, 255, 255, 0.18);
  --white-alpha-09: rgba(255, 255, 255, 0.09);
  --white-alpha-13: rgba(255, 255, 255, 0.13);
  --white-alpha-15: rgba(255, 255, 255, 0.15);
  --black-alpha-20: rgba(0, 0, 0, 0.2);
  --black-alpha-35: rgba(0, 0, 0, 0.35);
  --black-alpha-50: rgba(0, 0, 0, 0.5);
  --indigo-alpha-10: rgba(99, 102, 241, 0.1);
  --indigo-alpha-15: rgba(99, 102, 241, 0.15);
  --indigo-alpha-20: rgba(99, 102, 241, 0.2);
  --indigo-alpha-25: rgba(99, 102, 241, 0.25);
  --indigo-alpha-28: rgba(99, 102, 241, 0.28);
  --indigo-alpha-30: rgba(99, 102, 241, 0.3);
  --indigo-alpha-35: rgba(99, 102, 241, 0.35);
  --indigo-alpha-60: rgba(99, 102, 241, 0.6);
  --indigo-alpha-08: rgba(129, 140, 248, 0.08);
  --primary-light: #3b82f6;
  --dark-purple: #1a1040;
  --darker-purple: #0c0820;
  --indigo: #6366f1;
  --dark-blue: #0d1a30;
  --darker-blue: #07101e;
  --dark-green: #0a1e18;
  --darker-green: #051209;
  --dark-gold: #1e1400;
  --darker-gold: #110b00;
  --dark-pink: #200a1a;
  --darker-pink: #100408;
  --dark-red: #200a0a;
  --darker-red: #100303;
  --slate-100: #f1f5f9;
  --amber-light: #fbbf24;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select {
  font-family: inherit;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Bar */
.navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.brand-badge {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
@media (max-width: 1024px) {
  .nav-links {
    gap: 14px !important;
  }
  .nav-link {
    font-size: 0.85rem !important;
  }
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

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

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-color-hover);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.825rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #1e3a8a;
  color: #93c5fd;
  border: 1px solid #1d4ed8;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.text-accent {
  color: #60a5fa;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 600;
}

.trust-icon {
  color: var(--whatsapp);
}

/* Quick Search & Filter Section */
.catalog-header {
  padding: 40px 0 20px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-tab {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab:hover, .cat-tab.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ffffff;
}

.product-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-success { background-color: #065f46; color: #a7f3d0; }
.badge-primary { background-color: #1e40af; color: #bfdbfe; }
.badge-warning { background-color: #78350f; color: #fde68a; }
.badge-accent  { background-color: #4c1d95; color: #ddd6fe; }

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 40px;
}

.feature-list {
  list-style: none;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.feature-item {
  font-size: 0.825rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.feature-item i {
  color: var(--whatsapp);
}

.variant-selector {
  margin-bottom: 16px;
}

.variant-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.variant-select {
  width: 100%;
  padding: 10px 12px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.price-main {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--whatsapp);
}

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

/* Auth Cards & Forms */
.auth-container {
  max-width: 420px;
  margin: 60px auto;
  padding: 32px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-sub);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.alert-danger {
  background-color: #7f1d1d;
  border: 1px solid #991b1b;
  color: #fecaca;
}

.alert-success {
  background-color: #064e3b;
  border: 1px solid #065f46;
  color: #a7f3d0;
}

/* Footer */
.footer {
  background-color: #090d16;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 0.8rem;
}

/* Responsive Media Queries (Mobile & Tablet) */
.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.admin-main-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

/* FAQ Modal Floating Compact Styling */
.faq-modal-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  width: 90vw !important;
  max-width: 500px !important;
  max-height: 70vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7) !important;
  margin: auto !important;
}

.faq-tab-btn {
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.faq-tab-btn.active {
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: #3b82f6 !important;
  color: #60a5fa !important;
}

.faq-acc-item {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  background: var(--bg-input) !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
  transition: border-color 0.2s ease !important;
}

.faq-acc-item:hover {
  border-color: rgba(59, 130, 246, 0.4) !important;
}

@media (max-width: 1200px) {
  .admin-main-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Mobile Navigation Drawer & Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.35rem;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@keyframes mobileNavSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 10px;
  gap: 6px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 9999;
  animation: mobileNavSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-nav-group-title {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 10px 14px 4px 6px;
  opacity: 0.7;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item i:not(.mobile-nav-item-arrow) {
  font-size: 1.15rem;
  color: var(--primary, #6366f1);
}

.mobile-nav-item-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.mobile-nav-item:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.mobile-nav-item:hover .mobile-nav-item-arrow {
  transform: translateX(4px);
  color: #818cf8;
}

@media (max-width: 768px) {
  /* Container Padding */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Show Hamburger Menu Toggle, Hide Desktop Horizontal Links */
  .mobile-menu-toggle {
    display: flex !important;
  }

  .desktop-nav-links,
  .nav-auth-desktop {
    display: none !important;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 20px 0 16px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .hero-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .hero-desc {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }

  .trust-badges {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .trust-item {
    font-size: 0.78rem !important;
  }

  /* Catalog Filter & Tabs Mobile */
  .filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .category-tabs {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    width: 100% !important;
    scrollbar-width: none !important;
  }

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

  .cat-tab {
    flex-shrink: 0 !important;
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }

  .search-box {
    width: 100% !important;
  }

  /* Products Grid Mobile - Full Clean Compact Cards */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
  }

  .product-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  /* Compact Floating FAQ Modal for Mobile */
  .faq-modal-card {
    width: 88vw !important;
    max-width: 390px !important;
    max-height: 65vh !important;
    border-radius: 14px !important;
    padding: 0 !important;
  }

  .faq-tab-btn {
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
  }

  .faq-acc-item button {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Admin CMS Form Stacking on Mobile */
  .admin-form-row {
    grid-template-columns: 1fr !important;
  }

  /* Touch Scroll Tables */
  .touch-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem !important;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Modal Overlays & Popups */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start; /* Allow scrolling from top when content overflows */
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
  overflow-y: auto; /* Enable vertical scroll when modal is taller than screen */
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 24px; /* Reduced padding from 28px for better vertical space */
  position: relative;
  margin: auto; /* Flex centering with vertical overflow scroll support */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.25s ease-out;
}

.modal-close, .modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover, .modal-close-btn:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.08);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Announcement Running Text Bar (Fitur 4) */
.announcement-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.announcement-ticker-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.announcement-tag {
  background-color: #f59e0b;
  color: #000000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.announcement-scroll {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.announcement-scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scrollTicker 22s linear infinite;
  color: #f8fafc;
}

.announcement-scroll-text:hover {
  animation-play-state: paused;
}

@keyframes scrollTicker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   VICKYSTORE ENHANCEMENTS — 6 SKILLS COMBINED
   Skills: ui_ux_pro_max, antigravity-design-expert, glassmorphism,
           card-based-design, dark-mode, enhance_ui
   ========================================================================== */

/* --- 1. CATALOG: Product Card Glassmorphism & Antigravity Float --- */
.product-card {
  background: linear-gradient(145deg, rgba(15, 22, 41, 0.95) 0%, rgba(13, 17, 23, 0.92) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(99, 102, 241, 0.18) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s !important;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2), 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

/* --- 2. CATALOG: Staggered Entrance Animation --- */
@keyframes cardFloatIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card {
  animation: cardFloatIn 0.4s ease-out both;
}

.product-card:nth-child(1)  { animation-delay: 0.04s; }
.product-card:nth-child(2)  { animation-delay: 0.08s; }
.product-card:nth-child(3)  { animation-delay: 0.12s; }
.product-card:nth-child(4)  { animation-delay: 0.16s; }
.product-card:nth-child(5)  { animation-delay: 0.20s; }
.product-card:nth-child(6)  { animation-delay: 0.24s; }
.product-card:nth-child(7)  { animation-delay: 0.28s; }
.product-card:nth-child(8)  { animation-delay: 0.32s; }
.product-card:nth-child(9)  { animation-delay: 0.36s; }
.product-card:nth-child(10) { animation-delay: 0.40s; }
.product-card:nth-child(11) { animation-delay: 0.44s; }
.product-card:nth-child(12) { animation-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .product-card { animation: none !important; will-change: auto !important; }
}

/* --- 3. CATALOG: Filter Tab Pill Style --- */
.cat-tab {
  border-radius: 20px !important;
  font-weight: 700 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cat-tab.active {
  background: linear-gradient(135deg, #6366F1, #818CF8) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
}

.cat-tab:not(.active):hover {
  background: rgba(99, 102, 241, 0.12) !important;
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 0.25) !important;
}

/* --- 4. CATALOG: Mobile Grid Optimization --- */
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

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

  .product-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }

  .product-desc {
    font-size: 0.78rem !important;
    margin-bottom: 10px !important;
    min-height: unset !important;
  }

  .price-main {
    font-size: 1.05rem !important;
  }

  .feature-list {
    display: none !important; /* Hide list on small screens for clean grid */
  }
}

@media (max-width: 380px) {
  .products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- 5. AUTH PAGES: Glassmorphism Card & Ambient Background Glow --- */
body:has(.auth-container)::before {
  content: '';
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-container {
  background: linear-gradient(145deg, rgba(15, 22, 41, 0.95), rgba(13, 17, 23, 0.92)) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(99, 102, 241, 0.22) !important;
  border-radius: 22px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  position: relative;
  z-index: 1;
}

.auth-title {
  background: linear-gradient(135deg, #f1f5f9 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800 !important;
}

.form-control:focus {
  border-color: rgba(99, 102, 241, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.alert-danger {
  background: rgba(127, 29, 29, 0.5) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 10px !important;
}

.alert-success {
  background: rgba(6, 78, 59, 0.5) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 10px !important;
}

/* --- 6. ADMIN CMS: Glassmorphism & Custom Pill Tabs --- */
.admin-page-header {
  background: linear-gradient(145deg, rgba(15, 22, 41, 0.95), rgba(13, 17, 23, 0.92)) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.admin-nav-tabs {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15) !important;
  padding-bottom: 12px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.admin-nav-tabs::-webkit-scrollbar { display: none !important; }

.admin-tab-btn {
  flex-shrink: 0 !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  background: rgba(99, 102, 241, 0.06) !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.admin-tab-btn.active,
.admin-tab-btn:hover {
  background: #2563eb !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.admin-card {
  background: linear-gradient(145deg, rgba(15, 22, 41, 0.95), rgba(13, 17, 23, 0.9)) !important;
  border: 1px solid rgba(99, 102, 241, 0.18) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  margin-bottom: 24px !important;
}

/* Styling all tables in Admin Panel */
.admin-card table,
.admin-main-grid table,
.touch-table-wrapper table,
.dashboard-container table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.85rem !important;
  margin-top: 10px !important;
}
.admin-card table th,
.admin-main-grid table th,
.touch-table-wrapper table th,
.dashboard-container table th {
  background-color: rgba(30, 41, 59, 0.55) !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--border-color) !important;
  font-size: 0.725rem !important;
}
.admin-card table td,
.admin-main-grid table td,
.touch-table-wrapper table td,
.dashboard-container table td {
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  vertical-align: middle !important;
}
.admin-card table tbody tr,
.admin-main-grid table tbody tr,
.touch-table-wrapper table tbody tr,
.dashboard-container table tbody tr {
  transition: background 0.15s ease !important;
}
.admin-card table tbody tr:hover,
.admin-main-grid table tbody tr:hover,
.touch-table-wrapper table tbody tr:hover,
.dashboard-container table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04) !important;
}
.admin-card table .btn-sm,
.admin-main-grid table .btn-sm,
.touch-table-wrapper table .btn-sm,
.dashboard-container table .btn-sm {
  padding: 6px 10px !important;
  font-size: 0.725rem !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 2px !important;
}
.admin-action-btns {
  white-space: nowrap !important;
  text-align: right !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}
.admin-alert-warning {
  background-color: rgba(245, 158, 11, 0.05) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: var(--radius-lg) !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
}

.admin-table tbody tr {
  transition: background 0.15s ease !important;
}
.admin-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.06) !important;
}

/* ==========================================================================
   MOBILE-FIRST OVERFLOW & CONTAINMENT GUARDRAILS
   Skills: mobile-design, baseline-ui, design-taste-frontend, ui_ux_pro_max
   ========================================================================== */

/* --- 1. GLOBAL MOBILE VIEWPORT GUARDRAIL --- */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Isolasi Ticker Announcement Running Text agar tidak melebarkan layar */
.announcement-bar {
  max-width: 100vw !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.announcement-scroll {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* --- 2. PRODUCT CARD OVERFLOW CONTAINMENT & MOBILE FLEX FIX --- */
.product-card {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.product-top {
  min-width: 0 !important;
  max-width: 100% !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.product-title {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.product-desc {
  word-break: break-word !important;
}

.variant-selector {
  min-width: 0 !important;
  max-width: 100% !important;
}

.variant-select {
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

.price-box {
  min-width: 0 !important;
  flex-wrap: wrap !important;
}

@media (max-width: 640px) {
  .product-icon-box {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.3rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .product-top {
    align-items: center !important;
  }
  
  .product-badge {
    font-size: 0.68rem !important;
    padding: 3px 6px !important;
  }
}

/* --- 3. RESPONSIVE GRID UTILITY CLASSES --- */
.responsive-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .responsive-flow-grid,
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   MASTER RESPONSIVE FORM STACKING & TOUCH TABLE SCROLLBAR UTILITIES
   ========================================================================== */

/* --- 1. RESPONSIVE FORM GRID UTILITIES --- */
.form-grid-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.form-grid-2col-main {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important;
  gap: 12px !important;
}

@media (max-width: 640px) {
  .form-grid-2col,
  .form-grid-2col-main {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* --- 2. ADMIN CARD & TABLE SCROLLBAR INDICATOR --- */
.admin-card,
.admin-main-grid,
.admin-main-grid > div {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.touch-table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
  min-width: 0 !important;
  margin-bottom: 12px !important;
  border-radius: var(--radius-md) !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(99, 102, 241, 0.5) rgba(15, 23, 42, 0.6) !important;
}

.touch-table-wrapper::-webkit-scrollbar {
  height: 6px !important;
}
.touch-table-wrapper::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6) !important;
  border-radius: 4px !important;
}
.touch-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.5) !important;
  border-radius: 4px !important;
}
.touch-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.8) !important;
}

/* --- 3. ADMIN ACTION BUTTONS RESPONSIVE FLEX --- */
.admin-action-btns {
  display: flex !important;
  gap: 4px !important;
  justify-content: flex-end !important;
  align-items: center !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .admin-action-btns {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }
  .admin-action-btns .btn {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
  }
}

/* --- 4. RESPONSIVE ADMIN UTILITIES --- */
.admin-container {
  padding: 40px 0;
}

.admin-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-stock-quick-form {
  display: grid;
  grid-template-columns: 1fr 1fr 120px 140px;
  gap: 12px;
  align-items: end;
}

@media (max-width: 768px) {
  .admin-container {
    padding: 20px 12px !important;
  }
  .admin-page-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 16px !important;
  }
  .admin-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .admin-stock-quick-form {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .admin-stock-quick-form .btn {
    width: 100% !important;
    margin-top: 6px !important;
  }
}

/* ==========================================================================
   CATEGORY-FIRST CATALOG CSS — PREMIUM BIG CARD REDESIGN
   ========================================================================== */

/* Section wrapper */
.catalog-section {
  padding: 50px 0 60px;
}

.catalog-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.catalog-section-title {
  font-size: 2rem;
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 6px;
  line-height: 1.2;
}

.catalog-section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

/* ─── Category Card Grid ─── */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .category-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .category-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
}

/* ─── Single Category Card ─── */
.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 180px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

/* Animated shimmer sweep on hover */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.category-card:hover::before {
  transform: translateX(100%);
}

/* Glow orb in background */
.category-card::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  bottom: -40px;
  right: -30px;
  opacity: 0.18;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  filter: blur(30px);
  background: var(--cat-glow, #6366f1);
}
.category-card:hover::after {
  opacity: 0.35;
  transform: scale(1.2);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

/* ─── Big Icon ─── */
.cat-big-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.category-card:hover .cat-big-icon {
  transform: scale(1.15) rotate(-6deg);
}

/* ─── Card Text ─── */
.cat-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 5px;
  position: relative;
  z-index: 1;
  line-height: 1.25;
}

.cat-card-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
  line-height: 1.45;
}

/* ─── Brand Pills ─── */
.cat-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.cat-brand-pill {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

/* ─── Card bottom CTA row ─── */
.cat-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 14px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.cat-card-cta {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.category-card:hover .cat-card-cta {
  color: #e2e8f0;
  gap: 8px;
}

@media (max-width: 560px) {
  .category-card {
    min-height: 155px;
    padding: 20px 16px 16px;
  }
  .cat-big-icon {
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
    margin-bottom: 12px;
  }
  .cat-card-title {
    font-size: 0.92rem;
  }
  .cat-card-desc {
    display: none;
  }
}

/* ==========================================================================
   DYNAMIC DRAWER OVERLAY
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Container (Slides in from right) */
.drawer-container {
  width: 650px;
  max-width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0f172a, #0b0f19);
  border-left: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px;
  box-sizing: border-box;
}

.drawer-overlay.active .drawer-container {
  transform: translateX(0);
}

@media (max-width: 640px) {
  .drawer-container {
    width: 100%;
    padding: 20px;
  }
}

/* Drawer Header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.drawer-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.drawer-close:hover {
  color: #ef4444;
}

/* Drawer Search Box */
.drawer-search {
  position: relative;
  margin-bottom: 24px;
}

.drawer-search .search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px 12px 42px;
  background-color: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.drawer-search .search-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
  background-color: rgba(30, 41, 59, 0.8);
}

.drawer-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  font-size: 1.1rem;
}

/* Drawer Body & Scroll Area */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

.drawer-body::-webkit-scrollbar {
  width: 5px;
}
.drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.drawer-body::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 3px;
}

/* Drawer Products Grid */
.drawer-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 20px;
}

@media (max-width: 480px) {
  .drawer-products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* --- VICKYSTORE PREMIUM REFINED DESIGN SYSTEM (RESTRICTION ON GLOW & EYE STRAIN) --- */

/* 1. Minimal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* 2. Glassmorphic Sticky Navbar */
.navbar {
  background-color: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 3. Primary Button Hover */
.btn-primary {
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.btn-primary:hover {
  transform: translateY(-1px) !important;
  background-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

/* 4. WhatsApp Button Hover */
.btn-whatsapp {
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.btn-whatsapp:hover {
  transform: translateY(-1px) !important;
  background-color: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

/* 5. Clean Form Control Focus */
.form-control, .form-control-detail {
  background-color: #0b1120 !important;
  border: 1px solid #334155 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.form-control:focus, .form-control-detail:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 1px #2563eb !important;
  background-color: #0b1120 !important;
}

/* 6. Product Card Glass & Float Enhancement */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s !important;
  background: #1e293b !important;
  border: 1px solid #334155 !important;
}
.product-card:hover {
  transform: translateY(-3px) !important;
  border-color: #475569 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

/* 7. Remove Pulsing Animation to Avoid Eye Strain */
.brand-badge {
  animation: none !important;
}

/* 8. Restrained Hero Section */
.hero {
  position: relative;
  background-color: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
}
.hero::before, .hero::after {
  display: none !important;
}

/* 9. Live System Metrics Glassmorphic Card */
.vs-metrics-card {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  padding: 24px !important;
  border-radius: var(--radius-lg);
}
.vs-metrics-item {
  margin-bottom: 12px;
  padding: 12px;
  background-color: #0b1120 !important;
  border: 1px solid #1e293b !important;
  border-radius: var(--radius-md);
}

/* 10. Flow Steps Glassmorphic Cards */
.vs-flow-step {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.vs-flow-step:hover {
  transform: translateY(-2px) !important;
  border-color: #475569 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}
.vs-flow-number {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.badge-indigo {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #818cf8 !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
}
.badge-green {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}
.badge-amber {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

/* ================================================================
   INDEX.PHP REFACTOR — extracted from inline styles (DISTILL pass)
   ================================================================ */

/* Hero CTA wrap */
.hero-cta-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Metrics Card (Status Sistem) */
.vs-metrics-title {
  font-size: var(--font-lg);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}
.vs-metrics-label {
  font-weight: 700;
  font-size: var(--font-xs-tiny);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}
.vs-metrics-value {
  font-size: var(--font-sm-tiny);
  color: var(--whatsapp);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.vs-metrics-sla {
  font-size: var(--font-sm-tiny);
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--badge-green-color);
}
.vs-metrics-sla span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Flow Section */
.flow-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
  margin-top: 20px;
}
.flow-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}
.flow-badge {
  background: var(--primary-alpha-15);
  color: var(--accent-blue);
  border: 1px solid var(--primary-alpha-30);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--font-sm-sub);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}
.flow-title {
  font-size: var(--font-3xl);
  font-weight: 700;
  margin-top: 10px;
  color: var(--text-main);
}
.flow-desc {
  color: var(--text-muted);
  font-size: var(--font-md-sub);
  margin-top: 6px;
}
.flow-step-title {
  font-size: var(--font-lg-sub);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.flow-step-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.flow-badges {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.flow-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.flow-badge-item i {
  font-size: var(--font-lg-sub);
}

/* Catalog Header */
.catalog-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.catalog-title {
  font-size: var(--font-3xl);
  font-weight: 700;
  margin-bottom: 6px;
}
.catalog-subtitle {
  color: var(--text-muted);
  font-size: var(--font-md);
}

/* User Status Chip */
.user-status-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-surface);
  padding: 8px 16px;
  border-radius: var(--radius-card-sm);
  border: 1px solid var(--indigo-alpha-20);
  font-size: var(--font-sm);
}
.user-status-label {
  color: var(--text-muted);
  font-weight: 600;
}
.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-xs);
  letter-spacing: 0.5px;
  color: var(--white);
}
.user-badge--admin {
  background-color: var(--error);
}
.user-badge--member {
  background-color: var(--whatsapp);
}
.user-name {
  color: var(--text-main);
  font-weight: 700;
  border-left: 1px solid var(--border-color);
  padding-left: 10px;
  margin-left: 2px;
}
.user-cms-link {
  color: var(--accent-blue);
  font-weight: 700;
  margin-left: 4px;
}

/* Login Chip Button (replaces onmouseover/onmouseout inline hover) */
.btn-login-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--indigo-alpha-15), var(--indigo-alpha-08));
  border: 1px solid var(--indigo-alpha-30);
  color: var(--accent-indigo);
  padding: 8px 16px;
  border-radius: var(--radius-card-sm);
  font-size: var(--font-sm-small);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-login-chip:hover {
  background: var(--indigo-alpha-25);
  border-color: var(--indigo-alpha-60);
  color: var(--accent-indigo-light);
}

/* Global Search Bar */
.global-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 28px;
  width: 100%;
}
.global-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--font-lg-sub);
  pointer-events: none;
}
.global-search-input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--font-md);
  box-sizing: border-box;
  outline: none;
  transition: var(--transition);
}
.global-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}

/* FLOATING PROMO WIDGET */
.floating-promo-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-promo-card.show {
  transform: translateY(0);
  opacity: 1;
}
.floating-promo-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 10;
}
.floating-promo-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}
.floating-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #000000;
  background: var(--warning);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}
.floating-promo-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.floating-promo-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.floating-promo-btn {
  width: 100%;
  padding: 8px 12px;
  font-size: var(--font-xs);
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.floating-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* CAROUSEL SLIDER SUPPORT */
.promo-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.promo-slides-wrapper {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.promo-slide-item {
  min-width: 100%;
  box-sizing: border-box;
}
.promo-slider-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}
.promo-slider-nav {
  display: flex;
  gap: 6px;
}
.promo-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  line-height: 1;
}
.promo-nav-btn:hover {
  background: var(--warning);
  color: #000000;
  border-color: var(--warning);
  transform: scale(1.1);
}
.promo-slider-indicator {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .floating-promo-card {
    bottom: 80px; /* avoid floating action bar or toast spacing on mobile */
    right: 16px;
    left: auto;
    width: 280px;
    max-width: calc(100vw - 32px);
  }
}

/* ========================================================================
   🛒 SHOPPING CART DRAWER & DOUBLE BUTTONS STYLING
   ======================================================================== */

.cart-icon-container {
  cursor: pointer;
  position: relative;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.4rem;
  transition: all 0.2s ease;
}
.cart-icon-container:hover {
  color: var(--warning);
  transform: scale(1.08);
}
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--warning);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: none; /* Toggled to flex by JavaScript */
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg-body, #0f172a);
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-surface, #111827);
  border-left: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active {
  transform: translateX(0);
}
.cart-drawer-header {
  padding: 20px 18px;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.cart-drawer-title i {
  color: var(--warning);
}
.cart-drawer-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.cart-drawer-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cart-empty-state i {
  font-size: 3.5rem;
  color: var(--text-muted);
  opacity: 0.3;
}
.cart-empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.cart-item-card {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 8px);
  padding: 12px;
  display: flex;
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
}
.cart-item-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.4);
}
.cart-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  padding-right: 20px;
  line-height: 1.3;
  margin: 0;
}
.cart-item-variant {
  font-size: 0.75rem;
  color: var(--warning);
  font-weight: 600;
}
.cart-item-target {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-top: 4px;
}
.cart-item-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
}
.cart-item-qty-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 2px;
}
.cart-qty-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  padding: 0;
}
.cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.cart-qty-val {
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}
.cart-item-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.15s;
  padding: 2px;
}
.cart-item-remove:hover {
  color: #ef4444;
}

.cart-drawer-footer {
  padding: 18px;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}
.cart-subtotal-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
}
.cart-checkout-btn {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px;
}

/* DOUBLE PRODUCT BUTTONS */
.product-action-buttons {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  margin-top: 20px;
}
.btn-cart-add {
  height: 48px;
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.btn-cart-add:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--warning);
  color: var(--warning);
  transform: scale(1.03);
}
.btn-buy-now {
  height: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .cart-drawer {
    width: 100%;
  }
}

