/* ==========================================================================
   NaturSalud España - Health E-Commerce Stylesheet
   Modern, Clean, High-Conversion White-Hat Design
   ========================================================================== */

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

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #d1fae5;
  --primary-subtle: #ecfdf5;
  
  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #e0f2fe;

  --accent: #f59e0b;
  --accent-light: #fef3c7;
  
  --danger: #ef4444;
  --danger-light: #fee2e2;

  --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;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(5, 150, 105, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: #fafbfc;
  color: var(--slate-800);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
}

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

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

button, input, select, textarea {
  font: inherit;
}

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

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #047857 0%, #059669 100%);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.84rem;
  font-weight: 500;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 2px 6px;
  gap: 4px;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Header & Nav */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, #10b981 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
.logo-title span {
  color: var(--primary);
}
.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-link {
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-trigger {
  position: relative;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-800);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.cart-trigger:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-light);
  color: var(--primary);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

.btn-header-cta {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.btn-header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--slate-700);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #fafbfc 100%);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: 3rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-title .highlight {
  color: var(--primary);
  background: linear-gradient(120deg, #059669 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}
.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.5rem;
}
.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-feat-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-feat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  line-height: 1.2;
}

/* Hero Showcase Card */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--slate-200);
  max-width: 440px;
  width: 100%;
  position: relative;
}
.hero-badge-floating {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-img-wrap {
  background: radial-gradient(circle, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hero-img-wrap img {
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));
}
.hero-card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.hero-card-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.hero-card-stars span {
  color: var(--slate-500);
  margin-left: 0.35rem;
  font-weight: 500;
}
.hero-card-price-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.75rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price-current {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}
.price-original {
  font-size: 1rem;
  color: var(--slate-400);
  text-decoration: line-through;
}

/* Trust Bar / USPs */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.75rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.15rem;
}
.trust-text p {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.3;
}

/* Section Header */
.section {
  padding: 4.5rem 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.25rem;
}
.section-tag {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.product-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.product-discount-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: var(--danger-light);
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}
.product-card-img {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
}
.product-card-img img {
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.1));
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.product-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.product-card-title a:hover {
  color: var(--primary);
}
.product-card-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.spec-pill {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
}

.product-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}
.product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.price-box {
  display: flex;
  flex-direction: column;
}
.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-heading);
}
.price-old {
  font-size: 0.85rem;
  color: var(--slate-400);
  text-decoration: line-through;
}
.cod-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}
.btn-card-add {
  background: var(--primary);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.btn-card-add:hover {
  background: var(--primary-dark);
}
.btn-card-view {
  background: var(--slate-100);
  color: var(--slate-800);
  border: 1px solid var(--slate-200);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-card-view:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Scientific & Health Benefits Section */
.bg-subtle {
  background-color: var(--slate-100);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-icon.green {
  background: var(--primary-subtle);
  color: var(--primary);
}
.benefit-icon.blue {
  background: var(--secondary-light);
  color: var(--secondary);
}
.benefit-icon.amber {
  background: var(--accent-light);
  color: var(--accent);
}
.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* How COD Works Section */
.cod-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.cod-step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--slate-200);
  position: relative;
}
.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step-icon {
  width: 48px;
  height: 48px;
  margin: 0.5rem auto 1rem;
  color: var(--primary);
}
.cod-step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.cod-step-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.review-user-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.review-user-info p {
  font-size: 0.78rem;
  color: var(--slate-500);
}
.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
}
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.review-text {
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.5;
  font-style: italic;
}

/* FAQ Section */
.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
  user-select: none;
}
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--slate-500);
  transition: transform 0.25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 350px;
}

/* Product Detail Page Styles */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 3rem 0 4rem;
}
.detail-gallery {
  position: sticky;
  top: 96px;
}
.detail-main-img {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  box-shadow: var(--shadow-sm);
}
.detail-main-img img {
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
}
.detail-info h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.detail-price-box {
  background: var(--primary-subtle);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-price-big {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}
.detail-price-cut {
  font-size: 1.25rem;
  color: var(--slate-400);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.detail-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.detail-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}
.detail-highlights li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Fast COD Direct Order Box */
.cod-order-box {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}
.cod-order-box-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.cod-order-box-subtitle {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-800);
  background: var(--white);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
  transition: var(--transition);
}
.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
}

.security-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--slate-500);
}
.security-badges-row span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Nutrient & Ingredients Table */
.spec-table-wrap {
  margin-top: 2rem;
  border-top: 1px solid var(--slate-200);
  padding-top: 2rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.spec-table th, .spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9rem;
}
.spec-table th {
  background: var(--slate-100);
  font-weight: 700;
  color: var(--slate-800);
}

/* Cart & Checkout Pages */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  align-items: start;
}
.cart-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  text-align: left;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
}
.cart-item-row td {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
}
.cart-prod-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-prod-thumb {
  width: 64px;
  height: 64px;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-prod-thumb img {
  max-height: 56px;
  object-fit: contain;
}
.qty-controller {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.qty-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--slate-700);
}
.qty-btn:hover {
  background: var(--slate-100);
}
.qty-val {
  width: 32px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-remove-item {
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}
.btn-remove-item:hover {
  color: var(--danger);
}

.order-summary-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-600);
}
.summary-row.total {
  border-top: 1px solid var(--slate-200);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
}
.shipping-free-pill {
  color: var(--primary);
  font-weight: 700;
}

/* Thank You Page (thx.html) */
.thx-container {
  max-width: 720px;
  margin: 3.5rem auto 4.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.thx-icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}
.thx-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.thx-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
}

.thx-callout {
  background: linear-gradient(135deg, #ecfdf5 0%, #e0f2fe 100%);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}
.thx-callout-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.thx-callout p {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.thx-order-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}
.thx-order-card h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 0.5rem;
}
.thx-receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--slate-700);
}

/* Legal Pages Styling */
.legal-container {
  max-width: 860px;
  margin: 3.5rem auto 4.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}
.legal-container h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 1rem;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--slate-900);
}
.legal-content p, .legal-content ul {
  font-size: 0.95rem;
  color: var(--slate-700);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.legal-content ul {
  padding-left: 1.5rem;
}

/* Footer */
.footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--slate-400);
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}
.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Google Ads Compliant Medical Disclaimer in Footer */
.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.78rem;
  color: var(--slate-400);
  line-height: 1.5;
  margin-bottom: 2rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: auto;
  animation: slideUp 0.3s ease forwards;
  border-left: 4px solid var(--primary);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 1rem 0;
  z-index: 90;
  display: none;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-text {
  font-size: 0.85rem;
  color: var(--slate-700);
  max-width: 800px;
}
.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 2rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cod-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .cod-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
