/* ==========================================================================
   NaturSol Nutrición & Bienestar - Modern Health E-Commerce CSS
   ========================================================================== */

:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-dark: #064e3b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-light: #fffbeb;
  --dark: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --danger: #ef4444;
  --success: #10b981;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background-color: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--slate-500); }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-8 { padding-top: 3.5rem; padding-bottom: 3.5rem; }

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

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

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

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

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

.btn-outline-secondary {
  background-color: var(--white);
  border-color: var(--slate-200);
  color: var(--dark);
}

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

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #064e3b 0%, #047857 100%);
  color: #f0fdf4;
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-align: center;
}

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #10b981 100%);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.brand-logo span.text-brand-light {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding: 0.35rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  border-radius: 30px;
  padding: 3px;
  border: 1px solid var(--slate-200);
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-600);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Cart Trigger */
.header-cart-btn {
  position: relative;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.725rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--slate-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  border: 1px solid #bbf7d0;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 1.75rem;
  max-width: 580px;
}

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

.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.hero-feat-item span.icon {
  color: var(--primary);
}

.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  position: relative;
  text-align: center;
}

.hero-visual-img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.hero-floating-seal {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 16px rgba(5, 150, 105, 0.3);
}

/* ==========================================================================
   Trust / Guarantees Bar
   ========================================================================== */
.guarantees-section {
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

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

.guarantee-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.guarantee-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #bbf7d0;
}

.guarantee-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.guarantee-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.guarantee-card p {
  font-size: 0.825rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* ==========================================================================
   Catalog & Product Cards
   ========================================================================== */
.catalog-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-badge {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--slate-500);
}

.catalog-filters-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.catalog-filter-btn {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
}

.catalog-filter-btn:hover,
.catalog-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  z-index: 2;
}

.badge-green { background: #dcfce7; color: #15803d; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-pink { background: #fce7f3; color: #be185d; }
.badge-teal { background: #ccfbf1; color: #0f766e; }
.badge-orange { background: #ffedd5; color: #c2410c; }

.product-discount-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--danger);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  z-index: 2;
}

.product-card-img-link {
  display: block;
  margin-bottom: 1rem;
}

.product-card-img-wrap {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

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

.product-category {
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  min-height: 44px;
}

.product-title a {
  color: var(--dark);
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  margin-bottom: 0.75rem;
}

.product-rating .stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.product-rating .rating-score {
  font-weight: 700;
  color: var(--dark);
}

.product-rating .rating-count {
  color: var(--slate-400);
}

.product-short-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta-specs {
  display: flex;
  gap: 0.75rem;
  font-size: 0.775rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
  background: var(--slate-50);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--slate-200);
}

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

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
}

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

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-add-cart {
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
}

.btn-cod-quick {
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-200);
}

.btn-cod-quick:hover {
  background-color: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

/* ==========================================================================
   Product Detail Page (product.html)
   ========================================================================== */
.product-detail-section {
  padding: 3rem 0 5rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.product-gallery-col .main-image-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.product-gallery-col .main-image-card img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.trust-badge-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: var(--slate-600);
}

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

.detail-product-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sku-badge {
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-left: auto;
}

.detail-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dcfce7;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4);
}

.detail-price-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.discount-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.price-tax-note {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.detail-lead-desc {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.detail-specs-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.spec-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.spec-box .lbl {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
}

.spec-box .val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0.25rem;
}

.detail-purchase-box {
  background: var(--white);
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.qty-picker-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.qty-control.large {
  border-width: 2px;
}

.qty-btn {
  background: var(--slate-100);
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--slate-700);
  transition: var(--transition);
}

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

.qty-control input,
.qty-control .qty-val {
  width: 44px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--dark);
}

.action-buttons-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cod-banner-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  background: #fefce8;
  border: 1px dashed #facc15;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.cod-banner-card .cod-icon {
  font-size: 1.8rem;
}

.cod-banner-card strong {
  display: block;
  font-size: 0.9rem;
  color: #854d0e;
}

.cod-banner-card p {
  font-size: 0.8rem;
  color: #713f12;
  margin: 0;
}

/* Product Tabs */
.product-tabs-wrapper {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tabs-header {
  display: flex;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  overflow-x: auto;
}

.tab-btn {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

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

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

.tabs-content {
  padding: 1.5rem;
}

.tab-pane {
  display: none;
}

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

.benefits-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.benefits-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.allergen-note {
  margin-top: 1rem;
  padding: 0.65rem;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  color: #166534;
  font-size: 0.85rem;
  font-weight: 600;
}

.alert-info-box {
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--slate-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   Checkout Page (checkout.html)
   ========================================================================== */
.checkout-section {
  padding: 3.5rem 0 5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.checkout-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.checkout-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

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

.payment-method-box {
  background: #f0fdf4;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.payment-radio {
  margin-top: 0.25rem;
  accent-color: var(--primary);
  transform: scale(1.2);
}

.payment-details strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-dark);
}

.payment-details p {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--slate-600);
  margin: 1.5rem 0;
}

.checkbox-group input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

/* Checkout Summary Column */
.order-summary-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 95px;
}

.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-100);
}

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

.checkout-item-thumb {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.checkout-item-qty-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--slate-700);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-item-info {
  display: flex;
  flex-direction: column;
}

.checkout-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

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

.summary-calc-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.summary-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  padding-top: 0.75rem;
  border-top: 2px solid var(--slate-200);
  margin-top: 0.5rem;
}

.badge-free {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.guarantee-note-box {
  margin-top: 1.5rem;
  padding: 0.85rem;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--slate-600);
  text-align: center;
}

/* ==========================================================================
   Thank You Page (thx.html)
   ========================================================================== */
.thx-section {
  padding: 4rem 0 6rem;
}

.thx-container {
  max-width: 780px;
  margin: 0 auto;
}

.thx-hero-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.thx-success-icon {
  width: 70px;
  height: 70px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.thx-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.thx-order-meta {
  display: inline-block;
  background: var(--slate-100);
  border-radius: 30px;
  padding: 0.4rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  margin-top: 1rem;
}

.thx-call-alert {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}

.thx-call-alert .alert-icon {
  font-size: 2rem;
}

.thx-call-alert h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.4rem;
}

.thx-call-alert p {
  font-size: 0.9rem;
  color: #1e3a8a;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.thx-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.thx-box-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.thx-item-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.thx-calc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.thx-total-row {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  border-top: 1px dashed var(--slate-200);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.thx-customer-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.6;
}

.thx-actions-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Cart Drawer (Slide-over)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.cart-drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--slate-500);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.item-img-wrap {
  width: 65px;
  height: 65px;
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  flex-shrink: 0;
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.btn-remove-item {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--slate-400);
}

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

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.cart-shipping-hint {
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.shipping-success {
  color: var(--primary);
  font-weight: 700;
}

.shipping-progress {
  color: var(--accent);
  font-weight: 600;
}

.drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-item {
  background: var(--dark);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

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

.toast-icon {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ==========================================================================
   FAQ & Info Sections
   ========================================================================== */
.faq-section {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--slate-50);
}

.faq-question {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

/* ==========================================================================
   Footer & Legal Compliance Disclaimers
   ========================================================================== */
.site-footer {
  background: #09121f;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* Google Ads / EU Food Supplement Regulatory Disclaimer Box */
.footer-disclaimer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-disclaimer-card h5 {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-disclaimer-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
  }
  .main-nav.mobile-active {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .action-buttons-group {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  .detail-specs-highlight {
    grid-template-columns: 1fr;
  }
}
