/* ==========================================================================
   ApexCore Nutrition - Premium European E-Commerce Design System
   Google Ads 100% Compliant | High Conversion | Ultra-Polished Aesthetics
   ========================================================================== */

:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-dark: #064e3b;
  --primary-border: #a7f3d0;
  
  --accent: #0284c7;
  --accent-light: #e0f2fe;
  
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  
  --gold: #f59e0b;
  --gold-light: #fef3c7;
  --danger: #ef4444;
  --success: #10b981;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.03);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 25px -5px rgba(16, 185, 129, 0.3);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1240px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: var(--slate-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   Utility SVG Icon Sizing (Prevents Any Exploding SVGs)
   ========================================================================== */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.w-3, .icon-xs { width: 0.75rem; height: 0.75rem; }
.w-3\.5 { width: 0.875rem; height: 0.875rem; }
.w-4, .icon-sm { width: 1rem; height: 1rem; }
.w-5, .icon-md { width: 1.25rem; height: 1.25rem; }
.w-6, .icon-lg { width: 1.5rem; height: 1.5rem; }
.w-7 { width: 1.75rem; height: 1.75rem; }
.w-8 { width: 2rem; height: 2rem; }
.w-10, .icon-xl { width: 2.5rem; height: 2.5rem; }
.w-12 { width: 3rem; height: 3rem; }
.w-16 { width: 4rem; height: 4rem; }

.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: var(--slate-900); }
.text-emerald-500 { color: #10b981; }
.text-emerald-600 { color: var(--primary); }
.text-emerald-700 { color: var(--primary-hover); }

.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

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

.btn-secondary {
  background-color: var(--slate-800);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--slate-900);
  transform: translateY(-1.5px);
}

.btn-outline {
  border: 1.5px solid var(--slate-300);
  color: var(--slate-700);
  background-color: #ffffff;
}

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

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: #09131a;
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-notice {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-300);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}

.brand-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #10b981 0%, #064e3b 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.brand-icon-wrap svg {
  width: 1.35rem;
  height: 1.35rem;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-text-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: -3px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 100%;
}

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

.search-bar-wrap {
  position: relative;
  display: none;
  width: 240px;
}

@media (min-width: 768px) {
  .search-bar-wrap {
    display: block;
  }
}

.search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  background-color: var(--slate-50);
  font-size: 0.875rem;
  color: var(--slate-800);
  transition: all 0.2s;
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--slate-400);
  pointer-events: none;
}

.cart-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.cart-toggle-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--primary);
}

.cart-toggle-btn:hover {
  background: #a7f3d0;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.cart-count-badge {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #ffffff;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 4px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: var(--slate-700);
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--slate-800);
}

/* ==========================================================================
   Hero Section Redesign (Modern European Apotheke / Supplement Brand)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 25%, #0d281f 0%, #09131a 60%, #030712 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  top: -100px;
  right: 15%;
  pointer-events: none;
  filter: blur(50px);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.hero-badge-pill svg {
  width: 1rem;
  height: 1rem;
  color: #34d399;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-title span {
  background: linear-gradient(135deg, #34d399 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.075rem;
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

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

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-200);
}

.hero-trust-item svg {
  color: #34d399;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* Hero Showcase Card */
.hero-card-preview {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-card-body-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.hero-card-cod-tag {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
}

.hero-bottle-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.25rem;
}

.hero-real-product-img {
  max-height: 215px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  transition: transform 0.35s ease;
  z-index: 2;
}

.hero-bottle-wrap:hover .hero-real-product-img {
  transform: scale(1.05) translateY(-2px);
}

.hero-svg-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-bottle-svg {
  width: 160px;
  height: 205px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.35s ease;
}

.hero-bottle-wrap:hover .hero-bottle-svg {
  transform: scale(1.05) translateY(-2px);
}

.hero-bottle-glow-base {
  position: absolute;
  bottom: 0;
  width: 160px;
  height: 35px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.4) 0%, transparent 75%);
  filter: blur(10px);
  z-index: 1;
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.hero-card-tags span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.hero-card-prod-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.hero-card-prod-title:hover {
  color: #34d399;
}

.hero-card-prod-sub {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 0.85rem;
}

.hero-card-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stock-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hero-prices {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.hero-price-now {
  font-size: 1.75rem;
  font-weight: 900;
  color: #34d399;
  letter-spacing: -0.02em;
}

.hero-price-was {
  font-size: 1.05rem;
  color: var(--slate-400);
  text-decoration: line-through;
  font-weight: 600;
}

.hero-save-badge {
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.hero-card-actions-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 0.65rem;
}

.hero-btn-details {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-btn-details:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   Trust & Certifications Bar
   ========================================================================== */
.cert-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cert-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cert-text h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.15rem;
}

.cert-text p {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.3;
}

/* ==========================================================================
   Section Header & Pill
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid #a7f3d0;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

/* ==========================================================================
   Products Catalog & Modern Cards
   ========================================================================== */
.catalog-section {
  padding: 5rem 0;
}

.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-600);
  background-color: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}

.filter-tab:hover {
  border-color: var(--slate-400);
  color: var(--slate-900);
  transform: translateY(-1px);
}

.filter-tab.active {
  background-color: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-900);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

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

/* Product Card Redesign */
.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.product-card-top {
  position: relative;
  background: radial-gradient(circle at center, #ffffff 40%, var(--slate-100) 100%);
  padding: 1.5rem 1rem 1rem;
  cursor: pointer;
  overflow: hidden;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--slate-100);
}

.product-badge-wrap {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.badge {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.badge-hot {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.badge-top {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-popular {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.badge-standard {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-discount {
  background-color: var(--slate-900);
  color: #ffffff;
  font-weight: 900;
}

.product-image-container {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container {
  transform: scale(1.06);
}

.product-real-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.product-svg-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplement-bottle-svg {
  width: 130px;
  height: 165px;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.12));
}

.quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 4;
}

.quick-view-overlay span {
  background-color: #ffffff;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transform: translateY(6px);
  transition: transform 0.25s ease;
}

.product-card-top:hover .quick-view-overlay {
  opacity: 1;
}

.product-card-top:hover .quick-view-overlay span {
  transform: translateY(0);
}

.product-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.85rem;
  transition: color 0.2s;
}

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

.product-subtitle {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.45rem;
  line-height: 1.5;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
}

.stars-wrap {
  display: flex;
  align-items: center;
  gap: 1px;
}

.star-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.fill-gold {
  fill: var(--gold);
}

.star-icon.empty {
  fill: var(--slate-300);
}

.rating-num {
  font-weight: 800;
  color: var(--slate-800);
}

.review-count {
  color: var(--slate-400);
  font-size: 0.75rem;
}

.product-stock-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 1.15rem;
}

.stock-dot {
  width: 7px;
  height: 7px;
  background-color: var(--success);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.product-price-section {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
  margin-bottom: 1.15rem;
}

.prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-current {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.price-old {
  font-size: 0.95rem;
  color: var(--slate-400);
  text-decoration: line-through;
  font-weight: 500;
}

.price-vat {
  font-size: 0.6875rem;
  color: var(--slate-400);
  margin-top: 0.15rem;
}

/* Add to Cart Button on Card - Fixed Icon & Proportion */
.btn-add-to-cart {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-add-to-cart svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  flex-shrink: 0;
}

/* ==========================================================================
   Quality Features Section
   ========================================================================== */
.quality-section {
  background-color: #ffffff;
  padding: 5.5rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.quality-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.25s ease;
}

.quality-card:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
  background-color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.quality-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.quality-icon-box svg {
  width: 1.65rem;
  height: 1.65rem;
}

.quality-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.quality-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Reviews / Social Proof Section
   ========================================================================== */
.reviews-section {
  padding: 5.5rem 0;
  background-color: #f8fafc;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-stars-row {
  display: flex;
  gap: 2px;
  margin-bottom: 1.15rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1.15rem;
}

.author-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.author-info h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--slate-900);
}

.author-info span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.author-info span svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  background-color: #ffffff;
  padding: 5.5rem 0;
  border-top: 1px solid var(--slate-200);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  background-color: #ffffff;
  text-align: left;
}

.faq-question:hover {
  background-color: var(--slate-50);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-400);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Health & Legal Disclaimer Box
   ========================================================================== */
.disclaimer-section {
  background-color: #f1f5f9;
  border-top: 1px solid var(--slate-200);
  padding: 2.5rem 0;
  font-size: 0.8125rem;
  color: var(--slate-600);
}

.disclaimer-box {
  background-color: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  display: flex;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
}

.disclaimer-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--slate-500);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #09131a;
  color: var(--slate-300);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.footer-about-text {
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

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

.footer-list a {
  color: var(--slate-400);
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   Product Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-2xl);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.96) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--slate-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.modal-close-btn:hover {
  background-color: var(--slate-200);
  color: var(--slate-900);
}

.modal-body {
  padding: 2.25rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr 1.25fr;
  }
}

.modal-img-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at center, #ffffff 40%, var(--slate-100) 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  border: 1px solid var(--slate-200);
}

.modal-badge-row {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
}

.modal-image-container.modal-img {
  height: 260px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.modal-image-container.modal-img .supplement-bottle-svg {
  width: 180px;
  height: 220px;
}

.modal-trust-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  width: 100%;
  border-top: 1px solid var(--slate-200);
  padding-top: 1.15rem;
  margin-top: 0.5rem;
}

.trust-mini {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.modal-prod-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.modal-prod-sub {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.modal-price-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.35rem;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.modal-price-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.modal-price-old {
  font-size: 1.05rem;
  color: var(--slate-400);
  text-decoration: line-through;
}

.save-tag {
  font-size: 0.75rem;
  font-weight: 800;
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.vat-note {
  font-size: 0.6875rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

/* Modal Tabs */
.modal-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--slate-200);
  margin-bottom: 1.15rem;
  gap: 0.5rem;
  overflow-x: auto;
}

.modal-tab-btn {
  padding: 0.6rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s;
}

.modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.modal-tab-panes {
  min-height: 140px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--slate-700);
}

.check-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.8125rem;
}

.modal-buy-section {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
}

.qty-btn {
  width: 2.25rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--slate-700);
  background-color: var(--slate-100);
  transition: background 0.2s;
}

.qty-btn:hover {
  background-color: var(--slate-200);
}

.qty-selector input {
  width: 2.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  outline: none;
}

.btn-modal-buy {
  padding: 0.8rem 1.5rem;
}

.btn-modal-buy svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cod-banner-compact {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1.5px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
}

.cod-banner-compact svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   Cart Drawer (Slide-Over)
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-backdrop.open {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: #ffffff;
  z-index: 160;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px -5px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-drawer-title svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cart-drawer-close {
  padding: 0.4rem;
  color: var(--slate-500);
  border-radius: var(--radius-full);
}

.cart-drawer-close svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cart-drawer-close:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
}

.free-shipping-tracker {
  padding: 0.85rem 1.5rem;
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.tracker-text {
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.35rem;
}

.progress-track {
  height: 6px;
  background-color: var(--slate-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  transition: width 0.3s ease;
}

.progress-fill.complete {
  background: var(--primary);
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-view {
  text-align: center;
  padding: 3.5rem 1rem;
}

.cart-empty-view svg {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
}

.cart-empty-view h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.cart-empty-view p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
}

.cart-item-thumb {
  width: 65px;
  height: 65px;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.cart-item-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.cart-item-unit-price {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
}

.cart-qty-ctrl button {
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--slate-600);
}

.cart-qty-ctrl span {
  width: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 800;
}

.cart-item-subsum {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.cart-remove-btn {
  color: var(--slate-400);
  padding: 0.25rem;
}

.cart-remove-btn svg {
  width: 1rem;
  height: 1rem;
}

.cart-remove-btn:hover {
  color: var(--danger);
}

.cart-drawer-footer {
  padding: 1.35rem 1.5rem;
  border-top: 1px solid var(--slate-200);
  background-color: #ffffff;
}

.cart-summary-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.summary-line.total-line {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--slate-900);
  border-top: 1px solid var(--slate-200);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.total-amount {
  color: var(--primary-dark);
}

.cod-pill-cart {
  display: flex;
  align-items: center;
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.cod-pill-cart svg {
  width: 1rem;
  height: 1rem;
}

.btn-checkout-trigger {
  padding: 0.9rem 1rem;
}

.btn-checkout-trigger svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   Checkout Modal & Form
   ========================================================================== */
.checkout-modal-container {
  max-width: 650px;
}

.checkout-header {
  padding: 1.75rem 2rem 1.15rem;
  border-bottom: 1px solid var(--slate-200);
}

.checkout-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.checkout-subtitle {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}

.checkout-body {
  padding: 1.75rem 2rem;
}

.checkout-step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--slate-900);
  transition: all 0.2s;
  background-color: #ffffff;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  outline: none;
}

.cod-payment-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #10b981;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}

.cod-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.cod-card-title svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cod-card-desc {
  font-size: 0.8125rem;
  color: #065f46;
  line-height: 1.55;
}

.checkout-review-box {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.checkout-review-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  padding: 0.25rem 0;
  color: var(--slate-700);
}

.checkout-review-item .item-qty {
  font-weight: 800;
  color: var(--slate-900);
  width: 30px;
}

.checkout-review-item .item-name {
  flex-grow: 1;
}

.checkout-review-item .item-price {
  font-weight: 800;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-bubble {
  background-color: var(--slate-900);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  font-size: 0.875rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 380px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-bubble.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Thank You & Legal Content Pages
   ========================================================================== */
.legal-page-header {
  background: radial-gradient(circle at center, var(--slate-800) 0%, var(--slate-950) 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  text-align: center;
}

.legal-content-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 2.75rem;
  margin: 3rem auto;
  max-width: 860px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.legal-content-box h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content-box p {
  margin-bottom: 1rem;
}

.legal-content-box ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Thank You Card */
.thx-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 3.5rem 2.25rem;
  max-width: 680px;
  margin: 3.5rem auto;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.thx-icon-wrap {
  width: 4.5rem;
  height: 4.5rem;
  background-color: #ecfdf5;
  border: 2px solid #34d399;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.thx-icon-wrap svg {
  width: 2.25rem;
  height: 2.25rem;
}

.thx-order-pill {
  display: inline-block;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--slate-800);
  margin-bottom: 1.75rem;
}

.thx-call-alert {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-align: left;
  margin-bottom: 2rem;
}

.thx-call-alert svg {
  width: 1.5rem;
  height: 1.5rem;
}

.thx-call-alert h4 {
  font-weight: 800;
  color: #1e40af;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.thx-call-alert p {
  font-size: 0.875rem;
  color: #1e3a8a;
  line-height: 1.55;
}

.thx-details-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 2rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.thx-details-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--slate-100);
}
