/*
Theme Name: Farmacia Santa Ana
Theme URI: https://www.farmaciasantaana.es
Author: MTRYX
Author URI: https://mtryx.com
Description: Premium pharmacy e-commerce theme with WooCommerce integration. Glassmorphism design with gold & mint palette.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmacia-santa-ana
Domain Path: /languages
Requires at least: 5.9
Tested up to: 6.4
WC requires at least: 7.0
WC tested up to: 8.5
*/

/* === WordPress Default Overrides === */
/* Kill the A4/constrained layout from WordPress core */
body {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: var(--off-white, #FAFBFC) !important;
}

.wp-site-blocks {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wp-site-blocks > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.entry-content,
.page-content,
.post-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Remove WordPress default content width constraints */
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body .is-layout-flow > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove any WordPress editor outlines/borders */
.wp-block-post-content,
.wp-block-group,
.wp-block-columns {
  max-width: none !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Ensure WooCommerce pages are full-width */
.woocommerce,
.woocommerce-page {
  max-width: none !important;
}

.woocommerce .container,
.woocommerce-page .container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Remove WordPress admin bar spacing when logged in */
body.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* ============================================
   FARMACIA SANTA ANA — DESIGN SYSTEM v1.0
   Paleta: Oro/Dorado + Verde Menta + Blanco
   Mobile-first · Premium · Sanitario
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors (from logo) */
  --gold-primary: #C4A24E;
  --gold-dark: #A6853A;
  --gold-light: #D4B96A;
  --gold-soft: #F5ECD7;
  --mint-primary: #D4EDED;
  --mint-dark: #7FBFBF;
  --mint-deep: #3A8F8F;
  --mint-light: #EAF6F6;
  --mint-bg: #F4FAFA;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #868E96;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --black: #1A1A2E;

  /* Semantic Colors */
  --success: #2D9F6F;
  --warning: #E8A838;
  --danger: #D64545;
  --info: #3B82C4;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes (fluid) */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --text-lg: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  --text-xl: clamp(1.15rem, 1rem + 0.5vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.5rem);
  --text-3xl: clamp(1.6rem, 1.3rem + 1.2vw, 1.875rem);
  --text-4xl: clamp(1.9rem, 1.5rem + 1.5vw, 2.25rem);
  --text-5xl: clamp(2.2rem, 1.7rem + 2vw, 3rem);
  --text-6xl: clamp(2.6rem, 2rem + 2.5vw, 3.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --max-width-wide: 1440px;
  --header-height: 72px;
  --topbar-height: 40px;

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

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-gold: 0 4px 14px rgba(196,162,78,0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Premium enhancements */
  --gold-glow: rgba(184, 148, 47, 0.12);
  --gold-gradient: linear-gradient(135deg, #B8942F 0%, #D4B45C 50%, #B8942F 100%);
  --dark-rich: #0D1B1E;
  --dark-warm: #162228;
  --dark-card: #1A2C32;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-blur: 16px;
  --shadow-premium: 0 1px 2px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(184,148,47,0.08);
  --shadow-gold-glow: 0 0 0 1px rgba(184,148,47,0.1), 0 4px 16px rgba(184,148,47,0.18), 0 8px 32px rgba(184,148,47,0.1);
  --shadow-inset-gold: inset 0 1px 0 rgba(184,148,47,0.15);
  --shadow-float: 0 24px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-deep); text-decoration: none; transition: color 200ms var(--ease-out-expo), opacity 200ms ease; }
a:hover { color: var(--gold-primary); }

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

h1 { font-size: var(--text-5xl); margin-bottom: var(--space-6); letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-5); letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: var(--text-3xl); margin-bottom: var(--space-4); letter-spacing: -0.015em; }
h4 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
p { margin-bottom: var(--space-4); }

::selection { background: var(--gold-soft); color: var(--gray-900); }

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

.section {
  padding: var(--space-16) 0;
}
.section--sm { padding: var(--space-10) 0; }
.section--lg { padding: var(--space-24) 0; }
.section--mint { background: var(--mint-bg); }
.section--gold-soft { background: var(--gold-soft); }
.section--dark { background: var(--gray-900); color: var(--gray-200); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.text-mint { color: var(--mint-deep); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-muted { color: var(--gray-600); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(184,148,47,0.2);
}
.btn--primary:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
  color: var(--white);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn--secondary {
  background: transparent;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  border-width: 1.5px;
}
.btn--secondary:hover {
  background: var(--gold-gradient);
  border-color: transparent;
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
  color: var(--white);
}

.btn--mint {
  background: var(--mint-deep);
  color: var(--white);
  border-color: var(--mint-deep);
}
.btn--mint:hover {
  background: #2D7A7A;
  border-color: #2D7A7A;
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--gold-primary);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn--lg {
  padding: 14px 32px;
  font-size: var(--text-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn--icon svg { width: 20px; height: 20px; }

/* Shine effect on primary buttons */
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 600ms var(--ease-out-expo);
}
.btn--primary:hover::after {
  left: 120%;
}

/* --- Top Bar --- */
.topbar {
  background: var(--dark-rich);
  color: var(--gray-300);
  font-size: var(--text-xs);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.topbar a { color: var(--gray-400); }
.topbar a:hover { color: var(--gold-light); }
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--success);
  font-weight: 600;
}
.topbar__badge svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .topbar__right { display: none; }
}

/* --- Header / Navigation --- */
.header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: box-shadow 300ms ease, background 300ms ease;
}

.header.scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.96);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--gray-900);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.header__logo-text span {
  display: block;
  font-size: var(--text-xs);
  color: var(--gold-primary);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  letter-spacing: -0.005em;
}

.nav__link:hover {
  color: var(--gold-dark);
  background: var(--gold-glow);
}

.nav__link--active {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  padding: var(--space-8) var(--space-10);
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms var(--ease-out-expo);
  z-index: 100;
}

.nav__item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.mega-menu__category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: all 200ms var(--ease-out-expo);
}
.mega-menu__category:hover { background: var(--mint-light); transform: translateX(4px); }

.mega-menu__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--mint-light), var(--gold-soft));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  box-shadow: var(--shadow-inset-gold);
}

.mega-menu__label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-800);
  display: block;
}

.mega-menu__desc {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 2px;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__search {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  gap: var(--space-2);
  transition: all 300ms var(--ease-out-expo);
  width: 220px;
}
.header__search:focus-within {
  border-color: var(--gold-primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--gold-glow);
  width: 280px;
}
.header__search input {
  border: none;
  background: transparent;
  font-size: var(--text-sm);
  outline: none;
  width: 100%;
  color: var(--gray-800);
}

.header__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  position: relative;
  transition: all var(--transition-fast);
}
.header__icon-btn:hover {
  background: var(--gold-soft);
  color: var(--gold-primary);
}
.header__icon-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold-primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.header__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .header__search { display: none; }
  .header__hamburger { display: flex; }
}

/* --- Trust Bar --- */
.trust-bar {
  background: linear-gradient(180deg, var(--mint-bg), rgba(242,250,249,0.6));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43,122,120,0.08);
  padding: var(--space-4) 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.trust-bar__icon {
  width: 20px;
  height: 20px;
  color: var(--mint-deep);
  flex-shrink: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .trust-bar .container { gap: var(--space-4); }
  .trust-bar__item { font-size: var(--text-xs); }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--dark-rich);
  color: var(--white);
  padding: var(--space-24) 0 var(--space-32);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,148,47,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(43,122,120,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(184,148,47,0.12);
  border: 1px solid rgba(184,148,47,0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero__title {
  color: var(--white);
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero__title em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-8);
  line-height: 1.6;
  max-width: 520px;
  letter-spacing: -0.005em;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.06);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark-card), var(--dark-warm));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.hero__image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,148,47,0.05), rgba(43,122,120,0.05));
  border-radius: inherit;
}

@media (max-width: 768px) {
  .hero { padding: var(--space-16) 0 var(--space-20); min-height: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__title { font-size: var(--text-4xl); letter-spacing: -0.03em; }
  .hero__subtitle { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-12);
}

.section-header__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

.section-header__eyebrow::before,
.section-header__eyebrow::after {
  content: '';
  height: 1px;
  width: 24px;
  background: var(--gold-light);
  opacity: 0.5;
}

.section-header__title {
  margin-bottom: var(--space-4);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Category Cards --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.category-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all 400ms var(--ease-out-expo);
  text-decoration: none;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out-expo);
}
.category-card:hover::before { transform: scaleX(1); }

.category-card:hover {
  border-color: rgba(184,148,47,0.15);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.category-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(145deg, var(--mint-light), var(--gold-soft));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 400ms var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-card:hover .category-card__icon {
  background: linear-gradient(145deg, var(--gold-soft), var(--mint-light));
  transform: scale(1.05) rotate(-2deg);
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.category-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.category-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: all 250ms var(--ease-out-expo);
}

.category-card:hover .category-card__link {
  transform: translateX(4px);
}

@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .categories-grid { grid-template-columns: 1fr; } }

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 400ms var(--ease-out-expo);
  text-decoration: none;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.product-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-6px);
}

.product-card__image {
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.product-card:hover .product-card__image > *:not(.product-card__badge) {
  transform: scale(1.05);
  transition: transform 600ms var(--ease-out-expo);
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--gold-gradient);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(184,148,47,0.3);
  letter-spacing: 0.02em;
}

.product-card__body {
  padding: var(--space-4);
  position: relative;
}

.product-card__brand {
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.product-card__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.product-card__price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-heading);
}

.product-card__price-old {
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-decoration: line-through;
  margin-left: var(--space-2);
  font-weight: 400;
}

.product-card__footer {
  padding: 0 var(--space-4) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--warning);
}

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } }

/* --- Trust / Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.benefit-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 400ms var(--ease-out-expo);
}

.benefit-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-4px);
}

.benefit-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(145deg, var(--gold-soft), var(--mint-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
}

.benefit-card__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  border: 1px solid rgba(184,148,47,0.08);
}

.benefit-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.benefit-card__text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
}

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

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all 400ms var(--ease-out-expo);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-soft);
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--warning);
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: normal;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--mint-light), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--mint-deep);
  font-size: var(--text-base);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-800);
}

.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--dark-rich);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(184,148,47,0.08), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(43,122,120,0.06), transparent);
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: inherit;
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 { color: var(--white); font-weight: 800; letter-spacing: -0.03em; font-size: var(--text-4xl); }
.cta-banner p { color: rgba(255,255,255,0.5); max-width: 560px; margin: 0 auto var(--space-6); font-size: var(--text-lg); }

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--text-xs);
  color: var(--gray-500);
  letter-spacing: 0.01em;
}
.breadcrumbs ol {
  display: flex;
  list-style: none;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.breadcrumbs li::after { content: '›'; margin-left: var(--space-2); color: var(--gray-400); font-size: 1.1em; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--gold-primary); }
.breadcrumbs li:last-child { color: var(--gray-700); font-weight: 500; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}

.faq-item__question:hover { color: var(--gold-primary); }

.faq-item__question svg {
  transition: transform 300ms var(--ease-out-expo);
  opacity: 0.4;
}
.faq-item.active .faq-item__question svg {
  transform: rotate(180deg);
  opacity: 0.8;
}

.faq-item__answer {
  padding-bottom: var(--space-6);
  padding-right: var(--space-10);
  color: var(--gray-600);
  line-height: 1.7;
  display: none;
}

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

/* --- Footer --- */
.footer {
  background: var(--dark-rich);
  color: var(--gray-400);
  padding: var(--space-16) 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,47,0.3), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: var(--space-4) 0;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 300ms var(--ease-out-expo);
}
.footer__social a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(184,148,47,0.1);
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer__links { list-style: none; }
.footer__links li { margin-bottom: var(--space-2); }
.footer__links a {
  font-size: var(--text-sm);
  color: var(--gray-500);
  transition: all 200ms var(--ease-out-expo);
  display: inline-block;
}
.footer__links a:hover { color: var(--gold-light); transform: translateX(3px); }

.footer__bottom {
  padding: var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-4);
}
.footer__bottom-links a { color: var(--gray-500); }
.footer__bottom-links a:hover { color: var(--gold-light); }

.footer__distafarma {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-500);
  font-size: var(--text-xs);
}
.footer__distafarma img { height: 32px; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: span 2; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* --- Shipping Bar (Sticky) --- */
.shipping-bar {
  background: linear-gradient(90deg, var(--gold-soft), #FBF5E6, var(--gold-soft));
  border-bottom: 1px solid rgba(184,148,47,0.15);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.01em;
}
.shipping-bar strong { color: var(--gold-dark); }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35), 0 8px 24px rgba(37,211,102,0.15);
  color: var(--white);
  font-size: 1.7rem;
  transition: all 300ms var(--ease-out-expo);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 12px 32px rgba(37,211,102,0.2);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37,211,102,0.3);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0; }
}

/* --- Local / Neighborhood Section --- */
.local-section__map-placeholder {
  width: 100%;
  height: 360px;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: var(--text-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 400ms var(--ease-out-expo);
  text-decoration: none;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.blog-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-6px);
}

.blog-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--mint-light), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card:hover .blog-card__image {
  filter: brightness(1.02);
}

.blog-card__body { padding: var(--space-6); }

.blog-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--mint-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  background: rgba(43,122,120,0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-2);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* --- Page Header (internal pages) --- */
.page-header {
  background: linear-gradient(180deg, var(--mint-bg), var(--white));
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.page-header__title {
  margin-bottom: var(--space-3);
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.page-header__desc {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 640px;
  position: relative;
  z-index: 1;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-8); }
  .two-col--reverse { direction: ltr; }
}

/* --- Tags / Badges --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--mint-light);
  color: var(--mint-deep);
  letter-spacing: 0.04em;
}
.tag--gold { background: var(--gold-soft); color: var(--gold-dark); }
.tag--success { background: #E6F4ED; color: var(--success); }

/* --- Decorative Elements --- */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin-bottom: var(--space-5);
}
.gold-line--center { margin-left: auto; margin-right: auto; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0;
  border: none;
}

.deco-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  position: relative;
}
.deco-cross::before,
.deco-cross::after {
  content: '';
  position: absolute;
  background: var(--gold-primary);
  border-radius: 1px;
}
.deco-cross::before { width: 16px; height: 3px; }
.deco-cross::after { width: 3px; height: 16px; }

/* --- SPECIAL COMPONENTS --- */

.pharmacist-card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  background: linear-gradient(135deg, var(--gold-soft), rgba(232,245,244,0.5));
  border: 1px solid rgba(184,148,47,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.pharmacist-card__photo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid rgba(184,148,47,0.15);
}

.pharmacist-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: 2px;
}

.pharmacist-card__role {
  font-size: var(--text-sm);
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pharmacist-card__text {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 0;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.trust-badge__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--mint-light), var(--gold-soft));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-weight: 500;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(0,0,0,0.06);
}

.comparison-table th {
  background: var(--dark-rich);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: var(--text-sm);
  text-align: left;
  letter-spacing: -0.005em;
}

.comparison-table th:first-child {
  background: var(--dark-warm);
}

.comparison-table th.highlight {
  background: var(--gold-primary);
  color: var(--white);
}

.comparison-table td {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: var(--white);
}

.comparison-table td.highlight {
  background: var(--gold-soft);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--gray-800);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.stagger-in > * {
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease-out-expo) both;
}
.stagger-in > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-in > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-in > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-in > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-in > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-in > *:nth-child(6) { animation-delay: 0.3s; }
.stagger-in > *:nth-child(7) { animation-delay: 0.35s; }
.stagger-in > *:nth-child(8) { animation-delay: 0.4s; }

.section--accent-top {
  position: relative;
}
.section--accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 1px;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--gold-primary);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ============================================
   WOOCOMMERCE STYLES — Integrated
   ============================================ */

/* --- WooCommerce Product Grid --- */
.woocommerce-products-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--gray-200);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 400ms var(--ease-out-expo);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-6px);
}

.woocommerce ul.products li.product .product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  padding: var(--space-8);
}

.woocommerce ul.products li.product img {
  max-width: 100%;
  height: auto;
  transition: transform 600ms var(--ease-out-expo);
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}

.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--gold-gradient);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(184,148,47,0.3);
  z-index: 10;
}

/* Same-day shipping badge */
.woocommerce ul.products li.product .badge-same-day {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--mint-deep);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(58,143,143,0.3);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.woocommerce ul.products li.product .product-info {
  padding: var(--space-4);
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.woocommerce ul.products li.product .product-category {
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.woocommerce ul.products li.product .star-rating {
  font-size: var(--text-sm);
  color: var(--warning);
  margin-bottom: var(--space-2);
}

.woocommerce ul.products li.product .price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-heading);
  margin-bottom: var(--space-3);
}

.woocommerce ul.products li.product .price del {
  color: var(--gray-500);
  font-weight: 400;
  text-decoration: line-through;
  margin-right: var(--space-2);
}

.woocommerce ul.products li.product .button {
  display: inline-block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(184,148,47,0.2);
}

.woocommerce ul.products li.product .button:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
}

/* --- Product Categories Grid --- */
.woocommerce ul.products.terms li {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all 400ms var(--ease-out-expo);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products.terms li::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out-expo);
}

.woocommerce ul.products.terms li:hover::before { transform: scaleX(1); }

.woocommerce ul.products.terms li:hover {
  border-color: rgba(184,148,47,0.15);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.woocommerce ul.products.terms li a {
  text-decoration: none;
  color: var(--gray-800);
}

.woocommerce ul.products.terms li .term-image {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(145deg, var(--mint-light), var(--gold-soft));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 400ms var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.woocommerce ul.products.terms li:hover .term-image {
  background: linear-gradient(145deg, var(--gold-soft), var(--mint-light));
  transform: scale(1.05) rotate(-2deg);
}

.woocommerce ul.products.terms li .term-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.woocommerce ul.products.terms li .term-count {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* --- Product Detail Page --- */
.woocommerce div.product {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}

.woocommerce div.product .product-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

.woocommerce div.product .woocommerce-product-gallery {
  margin-bottom: var(--space-8);
}

.woocommerce div.product .woocommerce-product-gallery img {
  border-radius: var(--radius-lg);
  transition: transform 600ms var(--ease-out-expo);
}

.woocommerce div.product .woocommerce-product-gallery:hover img {
  transform: scale(1.05);
}

.woocommerce div.product h1.product_title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

.woocommerce div.product .product_meta {
  background: var(--mint-light);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.woocommerce div.product .product_meta span {
  display: block;
  margin-bottom: var(--space-2);
}

.woocommerce div.product .product_meta span:last-child {
  margin-bottom: 0;
}

.woocommerce div.product .product_meta a {
  color: var(--mint-deep);
  font-weight: 600;
}

.woocommerce div.product .product_meta a:hover {
  color: var(--gold-primary);
}

.woocommerce div.product .price {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-heading);
  margin-bottom: var(--space-6);
}

.woocommerce div.product .price del {
  color: var(--gray-500);
  font-weight: 400;
  text-decoration: line-through;
  margin-right: var(--space-3);
  font-size: var(--text-2xl);
}

.woocommerce div.product .stock {
  font-weight: 600;
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}

.woocommerce div.product .stock.in-stock {
  color: var(--success);
}

.woocommerce div.product .stock.out-of-stock {
  color: var(--danger);
}

.woocommerce div.product .woocommerce-variation {
  margin-bottom: var(--space-6);
  background: var(--gray-50);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.woocommerce div.product form.variations_form {
  margin-bottom: var(--space-8);
}

.woocommerce div.product .variations label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--gray-800);
}

.woocommerce div.product .variations select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.woocommerce div.product .woocommerce-grouped-product-list {
  margin-bottom: var(--space-8);
}

.woocommerce div.product .woocommerce-grouped-product-list table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: var(--space-6);
}

.woocommerce div.product .woocommerce-grouped-product-list tr {
  border-bottom: 1px solid var(--gray-200);
}

.woocommerce div.product .woocommerce-grouped-product-list th {
  background: var(--gold-soft);
  padding: var(--space-4);
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
}

.woocommerce div.product .woocommerce-grouped-product-list td {
  padding: var(--space-4);
  vertical-align: middle;
}

.woocommerce div.product .add-to-cart-section {
  background: var(--gold-soft);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
}

.woocommerce div.product .single_add_to_cart_button {
  display: inline-block;
  width: 100%;
  padding: var(--space-4) var(--space-8);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(184,148,47,0.2);
}

.woocommerce div.product .single_add_to_cart_button:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
}

.woocommerce div.product .single_add_to_cart_button.disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.woocommerce div.product .product-short-description {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  padding: var(--space-6);
  background: var(--mint-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--mint-deep);
}

.woocommerce div.product .product-tabs {
  margin-bottom: var(--space-12);
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-8);
}

.woocommerce div.product .product-tabs ul.tabs {
  display: flex;
  list-style: none;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-4);
}

.woocommerce div.product .product-tabs ul.tabs li {
  margin: 0;
}

.woocommerce div.product .product-tabs ul.tabs li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--gray-600);
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 250ms ease;
}

.woocommerce div.product .product-tabs ul.tabs li.active a {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.woocommerce div.product .product-tabs ul.tabs li a:hover {
  color: var(--gold-primary);
}

.woocommerce div.product .tab-content {
  display: none;
}

.woocommerce div.product .tab-content.active {
  display: block;
}

/* Pharmacy Trust Badges on Product Page */
.pharmacy-trust-badges {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--mint-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43,122,120,0.15);
}

.pharmacy-trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.pharmacy-trust-badge__icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--mint-light), var(--gold-soft));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* --- Related Products --- */
.woocommerce.related.products {
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--gray-200);
}

.woocommerce.related.products h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-8);
  letter-spacing: -0.025em;
}

/* --- Cart Page --- */
.woocommerce-cart .woocommerce-cart-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  overflow-x: auto;
}

.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-cart table.shop_table thead th {
  background: var(--gray-50);
  padding: var(--space-4);
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--text-sm);
}

.woocommerce-cart table.shop_table tbody td {
  padding: var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.woocommerce-cart table.shop_table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce-cart table.shop_table .product-thumbnail img {
  max-width: 80px;
  height: auto;
  border-radius: var(--radius-md);
}

.woocommerce-cart table.shop_table .product-name {
  font-weight: 600;
  color: var(--gray-800);
}

.woocommerce-cart table.shop_table .product-quantity input.qty {
  width: 80px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-base);
}

.woocommerce-cart table.shop_table .product-subtotal {
  font-weight: 600;
  color: var(--gray-900);
  font-size: var(--text-lg);
}

.woocommerce-cart .cart-coupon {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.woocommerce-cart .cart-coupon input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
}

.woocommerce-cart .cart-coupon button {
  padding: var(--space-3) var(--space-8);
  background: var(--mint-deep);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
}

.woocommerce-cart .cart-coupon button:hover {
  background: #2D7A7A;
  transform: translateY(-2px);
}

.woocommerce-cart .cart_totals {
  background: var(--gold-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid rgba(184,148,47,0.2);
}

.woocommerce-cart .cart_totals table {
  width: 100%;
  margin-bottom: var(--space-6);
}

.woocommerce-cart .cart_totals tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-cart .cart_totals tr:last-child {
  border-bottom: none;
}

.woocommerce-cart .cart_totals th {
  background: transparent;
  padding: var(--space-4) 0;
  text-align: left;
  font-weight: 600;
  color: var(--gray-800);
  border: none;
}

.woocommerce-cart .cart_totals td {
  padding: var(--space-4) 0;
  text-align: right;
  border: none;
}

.woocommerce-cart .cart_totals .total {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gray-900);
}

.woocommerce-cart .wc-proceed-to-checkout {
  margin-bottom: var(--space-4);
}

.woocommerce-cart .wc-proceed-to-checkout a.button {
  display: block;
  width: 100%;
  padding: var(--space-4) var(--space-8);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(184,148,47,0.2);
}

.woocommerce-cart .wc-proceed-to-checkout a.button:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
}

/* --- Mini Cart / Sidebar --- */
.woocommerce-mini-cart {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.woocommerce-mini-cart.empty {
  text-align: center;
  padding: var(--space-8);
  color: var(--gray-600);
}

.woocommerce-mini-cart ul.woocommerce-mini-cart-item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-6);
}

.woocommerce-mini-cart ul.woocommerce-mini-cart-item-list li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}

.woocommerce-mini-cart ul.woocommerce-mini-cart-item-list li img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.woocommerce-mini-cart ul.woocommerce-mini-cart-item-list li a {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-decoration: none;
}

.woocommerce-mini-cart ul.woocommerce-mini-cart-item-list li a:first-child {
  font-weight: 600;
  color: var(--gray-800);
}

.woocommerce-mini-cart ul.woocommerce-mini-cart-item-list li .amount {
  font-weight: 600;
  color: var(--gold-primary);
}

.woocommerce-mini-cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-800);
}

.woocommerce-mini-cart-totals .amount {
  font-size: var(--text-xl);
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 800;
}

.woocommerce-mini-cart .button {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-2);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(184,148,47,0.2);
}

.woocommerce-mini-cart .button:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
}

.woocommerce-mini-cart .button.checkout {
  background: var(--mint-deep);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(58,143,143,0.2);
}

.woocommerce-mini-cart .button.checkout:hover {
  background: #2D7A7A;
  box-shadow: 0 0 0 1px rgba(58,143,143,0.1), 0 4px 16px rgba(58,143,143,0.18), 0 8px 32px rgba(58,143,143,0.1);
}

/* --- Product Filters / Sidebar --- */
.woocommerce-sidebar .widget {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.woocommerce-sidebar .widget h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  letter-spacing: -0.01em;
}

.woocommerce-sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-sidebar .widget ul li {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--gray-100);
}

.woocommerce-sidebar .widget ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.woocommerce-sidebar .widget ul li a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: all 250ms ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.woocommerce-sidebar .widget ul li a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

.woocommerce-sidebar .widget ul li .count {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  margin-left: var(--space-2);
}

.woocommerce-sidebar .wc-layered-nav-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--warning);
  font-size: var(--text-sm);
}

/* --- Checkout Page --- */
.woocommerce-checkout {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}

.woocommerce-checkout .checkout-section {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--gray-200);
}

.woocommerce-checkout .checkout-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.woocommerce-checkout h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.woocommerce-checkout .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.woocommerce-checkout .form-row.form-row-wide {
  grid-column: span 2;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--gray-800);
  font-size: var(--text-sm);
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all 250ms ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(196,162,78,0.15);
}

.woocommerce-checkout .order-review {
  background: var(--gold-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(184,148,47,0.2);
}

.woocommerce-checkout .order-review h3 {
  margin-bottom: var(--space-4);
}

.woocommerce-checkout .order-review table {
  width: 100%;
  margin-bottom: var(--space-6);
}

.woocommerce-checkout .order-review th,
.woocommerce-checkout .order-review td {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-checkout .order-review th {
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
}

.woocommerce-checkout .order-review td {
  text-align: right;
}

.woocommerce-checkout .order-review td:first-child {
  text-align: left;
}

.woocommerce-checkout .order-review .total {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gray-900);
}

.woocommerce-checkout .payment-method {
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.woocommerce-checkout .place-order button {
  display: block;
  width: 100%;
  padding: var(--space-4) var(--space-8);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all 250ms var(--ease-out-expo);
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 2px 8px rgba(184,148,47,0.2);
  margin-top: var(--space-6);
}

.woocommerce-checkout .place-order button:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-2px);
}

/* --- Product Stock & Availability --- */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stock-badge.in-stock {
  background: #E6F4ED;
  color: var(--success);
}

.stock-badge.out-of-stock {
  background: #FADCDE;
  color: var(--danger);
}

.stock-badge.low-stock {
  background: #FEF3E6;
  color: var(--warning);
}

/* --- Responsive Grid --- */
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .woocommerce-checkout .form-row {
    grid-template-columns: 1fr;
  }
  .woocommerce-checkout .form-row.form-row-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  .woocommerce-cart .woocommerce-cart-form {
    padding: var(--space-4);
  }
  .woocommerce-cart table.shop_table {
    font-size: var(--text-xs);
  }
  .woocommerce-checkout {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .pharmacy-trust-badges {
    flex-direction: column;
    gap: var(--space-4);
  }
  .pharmacist-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* === Shipping Bar === */
.shipping-bar {
  background: linear-gradient(90deg, var(--success) 0%, #1A7A52 100%);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.shipping-bar strong { color: #fff; font-weight: 700; }
.shipping-bar a { color: #fff; text-decoration: underline; opacity: 0.9; }
.shipping-bar a:hover { opacity: 1; }

/* === Top Bar === */
.topbar {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 6px 0;
  font-size: var(--text-xs);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.topbar a:hover { color: var(--white); }

@media (max-width: 768px) {
  .topbar__right { display: none; }
}

/* === Header === */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gray-900);
  flex-shrink: 0;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--gold-dark);
  background: var(--gold-soft);
}
.nav__link--active {
  color: var(--gold-dark);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .nav { display: none; }
}

/* === Header Actions (search, icons, hamburger) === */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__search {
  position: relative;
}
.header__search input[type="search"],
.header__search .search-field {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 38px;
  font-size: var(--text-sm);
  width: 200px;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}
.header__search input:focus,
.header__search .search-field:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(196,162,78,0.15);
  width: 260px;
}
.header__search label { display: flex; align-items: center; }
.header__search .search-submit { display: none; }
.header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
}
.header__icon-btn:hover {
  background: var(--gray-100);
  color: var(--gold-dark);
}
.header__icon-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold-primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
@media (max-width: 1024px) {
  .header__hamburger { display: flex; }
  .header__search { display: none; }
}

/* === Trust Bar === */
.trust-bar {
  background: var(--gold-soft);
  border-bottom: 1px solid rgba(196,162,78,0.15);
  padding: 10px 0;
  overflow: hidden;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: nowrap;
  overflow-x: auto;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--gold-dark);
}

@media (max-width: 768px) {
  .trust-bar .container {
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .trust-bar .container::-webkit-scrollbar { display: none; }
}

/* === Container === */
.container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
  width: 100%;
}

/* === Footer === */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: clamp(3rem, 5vw, 5rem) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 3vw, 3rem);
  padding-bottom: 3rem;
}
.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links li { margin-bottom: 8px; }
.footer__links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--gold-light); }
.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--gray-500);
  margin: 1rem 0;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}
.footer__social a:hover {
  background: var(--gold-primary);
  color: var(--white);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--text-xs);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { margin: 0; color: var(--gray-500); }
.footer__bottom-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer__bottom-links a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer__bottom-links a:hover { color: var(--gold-light); }
.distafarma-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 600;
}
.distafarma-badge svg { width: 18px; height: 18px; stroke: var(--success); }

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition-fast);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* === Search Form === */
.search-form {
  display: flex;
  align-items: center;
  position: relative;
}
.search-form::before {
  content: '';
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23868E96' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center;
  z-index: 1;
  pointer-events: none;
}
.search-form .search-field {
  padding-left: 38px !important;
}
.search-form label { flex: 1; display: flex; }

/* Print Styles */
@media print {
  .topbar, .header, .footer, .whatsapp-float, .shipping-bar, .woocommerce-sidebar { display: none; }
  body { font-size: 12pt; color: #000; }
  .woocommerce div.product { page-break-inside: avoid; }
}
