/* SIP UP BEVERAGES — ULTRA-PREMIUM MODERN DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Premium Midnight Palette */
  --bg-main: #090d16;
  --bg-header: rgba(9, 13, 22, 0.92);
  --bg-card: #121826;
  --bg-card-hover: #182033;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(2, 132, 199, 0.3);

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

  /* Brand Accents */
  --accent-cyan: #0284c7;
  --accent-sky: #38bdf8;
  --accent-purple: #a855f7;
  --accent-pink: #f43f5e;
  --accent-emerald: #10b981;

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #a855f7 100%);
  --gradient-btn: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-badge: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(168, 85, 247, 0.15));

  --radius-xl: 20px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

input:not([type="checkbox"]):not([type="radio"]), button, select, textarea {
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0284c7;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradient Text Effect */
.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Full-Width Top Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100% !important;
  padding: 0 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
  position: relative;
  margin-left: 2.5rem;
}

.logo-img {
  height: 96px;
  max-height: 100px;
  object-fit: contain;
  margin-top: -13px;
  margin-bottom: -13px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.25s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-badge {
  background: var(--gradient-badge);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin-left: auto;
  margin-right: 1.5rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-sky);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-sky);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.5);
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-sky);
}

.btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  border-color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.15);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
}

/* Stunning Heroic Section */
.hero {
  padding: 10rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 70%);
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  animation: heroPulse 10s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.18) 0%, rgba(56, 189, 248, 0.14) 50%, transparent 70%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: heroOrbFloat 14s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.18) translate(-35px, 25px); opacity: 1; }
  100% { transform: scale(0.95) translate(40px, -20px); opacity: 0.7; }
}

@keyframes heroOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -45px) scale(1.22); }
  100% { transform: translate(-35px, 35px) scale(0.88); }
}

/* Floating Soda & Beverage Bubbles */
.hero-bg-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -40px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.5), rgba(56, 189, 248, 0.15));
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
  animation: bubbleRise 9s infinite linear;
}

[data-theme="light"] .bubble {
  background: radial-gradient(circle at 35% 35%, rgba(2, 132, 199, 0.35), rgba(168, 85, 247, 0.12));
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.25);
}

.bubble.b1 { left: 8%; width: 26px; height: 26px; animation-duration: 9s; animation-delay: 0s; }
.bubble.b2 { left: 24%; width: 14px; height: 14px; animation-duration: 6.5s; animation-delay: 2s; }
.bubble.b3 { left: 42%; width: 34px; height: 34px; animation-duration: 11s; animation-delay: 1s; }
.bubble.b4 { left: 62%; width: 18px; height: 18px; animation-duration: 7.5s; animation-delay: 3s; }
.bubble.b5 { left: 78%; width: 28px; height: 28px; animation-duration: 10s; animation-delay: 0.5s; }
.bubble.b6 { left: 91%; width: 12px; height: 12px; animation-duration: 5.5s; animation-delay: 4s; }

@keyframes bubbleRise {
  0% { transform: translateY(0) scale(0.5) rotate(0deg); opacity: 0; }
  20% { opacity: 0.75; }
  80% { opacity: 0.75; }
  100% { transform: translateY(-750px) scale(1.25) rotate(360deg); opacity: 0; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-sky);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-sky);
}

.stat-item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-banner-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.7));
  animation: float 6s ease-in-out infinite;
}

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

/* Category Pills */
.category-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
}

.pill-btn.active {
  background: var(--accent-cyan);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

/* Section Header */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--bg-card-hover);
  border-color: var(--accent-sky);
  box-shadow: 0 22px 45px -12px rgba(2, 132, 199, 0.35), 0 0 20px rgba(56, 189, 248, 0.2);
  z-index: 5;
}

.product-img-wrapper {
  background: rgba(9, 13, 22, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.18);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-sky);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.product-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-add-cart {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--accent-cyan);
  border-color: transparent;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Cart Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #0d1321;
  border-left: 1px solid var(--border-glass);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-body {
  flex: 1;
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.cart-footer {
  padding: 1.75rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(9, 13, 22, 0.95);
}

/* Footer */
.footer {
  background: #050810;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem 0;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent-sky);
}

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

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.admin-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
}

.admin-table td {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
}


/* --- THEME SYSTEM (DARK / LIGHT MODE) --- */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.94);
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(2, 132, 199, 0.3);

  --text-main: #0f172a;
  --text-muted: #475569;

  --gradient-badge: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(168, 85, 247, 0.1));
}

[data-theme="light"] .navbar {
  background: var(--bg-header);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .logo {
  color: #0f172a !important;
}

[data-theme="light"] .nav-links a {
  color: #475569;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: #0284c7;
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-outline:hover {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .btn-icon {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-icon:hover {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(168, 85, 247, 0.06) 40%, transparent 70%);
}

[data-theme="light"] .hero-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-weight: 700;
}

[data-theme="light"] .hero-title {
  color: #0f172a;
}

[data-theme="light"] .hero-subtitle {
  color: #475569;
}

[data-theme="light"] .hero-stats {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .stat-item-num {
  color: #0284c7;
}

[data-theme="light"] .stat-item-label {
  color: #64748b;
}

[data-theme="light"] .section-title h2 {
  color: #0f172a;
}

[data-theme="light"] .section-title p {
  color: #64748b;
}

[data-theme="light"] .pill-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .pill-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

[data-theme="light"] .pill-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: transparent;
}

[data-theme="light"] .product-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .product-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .product-img-wrapper {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .product-category {
  color: #0284c7;
}

[data-theme="light"] .product-title {
  color: #0f172a;
}

[data-theme="light"] .product-price {
  color: #0f172a;
}

[data-theme="light"] .product-footer {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .btn-add-cart {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .btn-add-cart:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: transparent;
}

[data-theme="light"] .product-wishlist-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: #cbd5e1;
  color: #64748b;
}

[data-theme="light"] .product-wishlist-btn:hover {
  background: #ffffff;
  color: #f43f5e;
}

[data-theme="light"] .feature-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .feature-title {
  color: #0f172a;
}

[data-theme="light"] .feature-desc {
  color: #64748b;
}

[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .testimonial-card:hover {
  border-color: #0284c7;
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .testimonial-text {
  color: #334155;
}

[data-theme="light"] .testimonial-user {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .testimonial-info h4 {
  color: #0f172a;
}

[data-theme="light"] .testimonial-info p {
  color: #64748b;
}

[data-theme="light"] .footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  color: #334155;
}

[data-theme="light"] .footer-column h4 {
  color: #0f172a;
}

[data-theme="light"] .footer-column a {
  color: #64748b;
}

[data-theme="light"] .footer-column a:hover {
  color: #0284c7;
}

[data-theme="light"] .footer-about p {
  color: #64748b;
}

[data-theme="light"] .footer-bottom {
  border-top-color: #e2e8f0;
  color: #64748b;
}

[data-theme="light"] .cart-drawer,
[data-theme="light"] .wishlist-drawer {
  background: #ffffff;
  color: #0f172a;
  border-left-color: #e2e8f0;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cart-header,
[data-theme="light"] .cart-footer {
  border-color: #e2e8f0;
  background: #f8fafc;
}

[data-theme="light"] .cart-item,
[data-theme="light"] .wishlist-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .cart-item h4,
[data-theme="light"] .wishlist-item h4 {
  color: #0f172a !important;
}

[data-theme="light"] .wishlist-item-img {
  background: #e2e8f0;
}

[data-theme="light"] .form-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .form-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-theme-toggle:hover {
  border-color: var(--accent-sky);
  transform: translateY(-1px);
}

/* --- WISHLIST STYLING & DRAWER --- */
.badge-count.wishlist-badge {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.product-img-wrapper {
  position: relative;
}

.product-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 24, 38, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.product-wishlist-btn:hover {
  transform: scale(1.12);
  background: rgba(18, 24, 38, 0.95);
  color: #f43f5e;
}

.product-wishlist-btn.active {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.3);
}

/* Wishlist Drawer */
.wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.wishlist-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.wishlist-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-glass);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.wishlist-drawer.open {
  right: 0;
}

.wishlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.wishlist-item:hover {
  border-color: var(--accent-sky);
}

.wishlist-item-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

/* --- PREMIUM SECURE CHECKOUT BUTTON & BADGES --- */
.btn-secure-checkout {
  width: 100%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.1rem 1.75rem;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 45%, #7d2ae8 100%);
  background-size: 200% 200%;
  animation: secureGlowGradient 4s ease infinite;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4), 0 0 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-secure-checkout::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: secureShimmer 3s infinite;
}

.btn-secure-checkout:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.6), 0 0 30px rgba(125, 42, 232, 0.4);
}

.btn-secure-checkout:active {
  transform: translateY(0) scale(0.99);
}

.secure-btn-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.secure-btn-subtext {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes secureGlowGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes secureShimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Security Trust Badges Strip */
.security-trust-strip {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.security-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge-item .badge-icon {
  color: #10b981;
  font-size: 0.85rem;
}

.payment-methods-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* --- CLIENT REVIEWS & COMMENTS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-sky);
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.2);
}

.testimonial-card.featured {
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.16), rgba(168, 85, 247, 0.12));
  border: 2px solid var(--accent-sky);
  padding: 2.25rem 2rem;
  transform: scale(1.08);
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.35), 0 0 25px rgba(168, 85, 247, 0.2);
  z-index: 2;
}

.testimonial-card.featured:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 25px 55px -10px rgba(2, 132, 199, 0.5), 0 0 35px rgba(168, 85, 247, 0.3);
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #0284c7 0%, #a855f7 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .testimonial-card.featured {
  background: linear-gradient(145deg, #ffffff, #f0f9ff);
  border: 2px solid #0284c7;
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .testimonial-card.featured:hover {
  box-shadow: 0 25px 55px -10px rgba(2, 132, 199, 0.35);
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-badge);
  border: 1px solid var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM (ULTRA-OPTIMIZED FOR ALL DEVICES)
   ========================================================================== */

/* --- Category Pills Touch-Scrollable Row --- */
.categories-filter, .filter-pills-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.categories-filter::-webkit-scrollbar, .filter-pills-row::-webkit-scrollbar {
  display: none;
}
.pill-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Admin Tables Responsive Wrapper --- */
.admin-table-container, .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Breakpoint: Laptops / Tablets (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-subtitle { margin: 0 auto 2rem auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .testimonial-card.featured { transform: scale(1); }
  .testimonial-card.featured:hover { transform: translateY(-4px); }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 1.25rem 1rem;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .admin-nav button {
    white-space: nowrap;
    width: auto;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
  .admin-content {
    padding: 1.5rem 1rem;
  }
}

/* --- Breakpoint: Tablets & Mobile (<= 768px) --- */
@media (max-width: 768px) {
  .navbar {
    height: 65px;
  }
  .nav-container {
    padding: 0 1rem !important;
  }
  .logo img {
    height: 60px !important;
    margin-left: 0 !important;
  }
  .nav-links {
    display: none; /* Hide text nav links on mobile screens */
  }
  .nav-actions {
    gap: 0.5rem !important;
  }
  .btn-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 6.5rem 0 3rem 0;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-around;
  }

  /* 2-Column Mobile Product Cards Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .product-card {
    padding: 0.85rem;
  }
  .product-img-wrapper {
    height: 145px;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
  }
  .product-title {
    font-size: 0.88rem;
    line-height: 1.25;
  }
  .product-price {
    font-size: 1.05rem;
  }
  .btn-add-cart {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
  }

  /* Layout 1-Column Stacking for Forms & Details */
  .checkout-grid, .contact-grid, .about-grid, .wholesale-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Cart & Wishlist Drawers Full Width */
  .cart-drawer, .wishlist-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Product Modal Mobile */
  .product-modal-card {
    padding: 1.25rem;
    max-height: 92vh;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-modal-img-container {
    min-height: 220px;
    padding: 1rem;
  }
  .product-modal-img {
    max-height: 200px;
  }
  .product-modal-title {
    font-size: 1.35rem;
  }
  .product-modal-price {
    font-size: 1.6rem;
  }
}

/* --- Breakpoint: Compact Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .section-title h2 {
    font-size: 1.85rem;
  }
  .features-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .product-img-wrapper {
    height: 130px;
  }
  .stat-card {
    padding: 1rem;
  }
  .stat-val {
    font-size: 1.5rem;
  }
}

/* --- CART BADGE & NOTIFICATION ANIMATIONS --- */
@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.6); background: var(--accent-sky); box-shadow: 0 0 14px var(--accent-sky); }
  100% { transform: scale(1); }
}

@keyframes cartBtnBounce {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.25) translateY(-5px); }
  60% { transform: scale(0.92) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}

.badge-count.pop-anim {
  animation: badgePop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-icon.cart-bounce-anim {
  animation: cartBtnBounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Floating Toast Notification */
.cart-toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  background: rgba(18, 24, 38, 0.96);
  border: 1px solid var(--accent-sky);
  color: var(--text-main);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(25px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cart-toast-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}


