/* ============================================
   PALTAS NASCAR — Design System & Styles
   ============================================ */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Greens */
  --green-900: #1B3A0A;
  --green-800: #2D5016;
  --green-700: #3D6B22;
  --green-600: #4A8229;
  --green-500: #5A9E2F;
  --green-400: #72B44A;
  --green-300: #93CC6F;
  --green-200: #B8DF9E;
  --green-100: #DCF0CE;
  --green-50: #F0F9E8;

  /* Neutrals */
  --charcoal: #1E1E1E;
  --gray-900: #2C2C2C;
  --gray-800: #3D3D3D;
  --gray-700: #555;
  --gray-600: #6B6B6B;
  --gray-500: #888;
  --gray-400: #A0A0A0;
  --gray-300: #C5C5C5;
  --gray-200: #E0E0E0;
  --gray-100: #F0F0F0;
  --white: #FFFFFF;

  /* Accents */
  --cream: #FFF9F0;
  --gold: #C8A951;
  --gold-light: #F5E6B8;
  --red-500: #E53E3E;
  --red-100: #FFF5F5;

  /* Semantic */
  --bg-primary: #FAFDF7;
  --bg-secondary: var(--cream);
  --bg-card: var(--white);
  --text-primary: var(--charcoal);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --border-color: #E8EDE3;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
  --shadow-green: 0 4px 20px rgba(90, 158, 47, 0.2);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

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

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--green-900);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  font-weight: 400;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-4xl) 0;
}

/* --- Utility Classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 237, 227, 0.5);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.header-logo span {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--green-800);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--green-700);
}

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

/* Cart Button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--green-700);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-green);
}

.cart-btn:hover {
  background: var(--green-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(90, 158, 47, 0.3);
}

.cart-btn .cart-icon {
  font-size: 1.2em;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--red-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  transition: transform var(--transition-spring);
}

.cart-badge.bump {
  animation: cartBump 0.4s var(--transition-spring);
}

@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, #1a3c0b 100%);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 58, 10, 0.85) 0%, rgba(45, 80, 22, 0.7) 50%, rgba(26, 60, 11, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  color: var(--green-200);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--green-300), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(90, 158, 47, 0.4);
}

.btn-primary:hover {
  background: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(90, 158, 47, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #D4AF37);
  color: var(--green-900);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(200, 169, 81, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 169, 81, 0.4);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-2xl) 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.trust-icon {
  width: 56px;
  height: 56px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all var(--transition-base);
}

.trust-item:hover .trust-icon {
  background: var(--green-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.trust-item h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-800);
}

.trust-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   PRODUCT CATALOG
   ============================================ */
#catalogo {
  background: var(--bg-primary);
}

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--green-300);
  color: var(--green-700);
}

.filter-btn.active {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  box-shadow: var(--shadow-green);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.product-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f8f8f8;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-600);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  z-index: 2;
}

.product-badge.offer {
  background: var(--gold);
  color: var(--green-900);
}

.product-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.product-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--green-900);
}

.product-card-body .description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  flex: 1;
  line-height: 1.5;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.product-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--green-800);
}

.product-unit {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.product-offer {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 600;
  background: var(--gold-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Quantity Selector */
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--green-100);
}

.qty-value {
  width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.add-to-cart-btn {
  flex: 1;
  padding: 10px 16px;
  background: var(--green-700);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.add-to-cart-btn:hover {
  background: var(--green-600);
  box-shadow: var(--shadow-green);
}

.add-to-cart-btn.added {
  background: var(--green-500);
  animation: addedPulse 0.5s ease;
}

@keyframes addedPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ============================================
   PACKS SECTION (HIGHLIGHTED)
   ============================================ */
#packs {
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg-primary) 100%);
}

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

.pack-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--gold-light);
  transition: all var(--transition-base);
  position: relative;
}

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(200, 169, 81, 0.2);
  border-color: var(--gold);
}

.pack-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(200, 169, 81, 0.15);
}

.pack-card.featured::before {
  content: '⭐ MÁS VENDIDO';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--gold);
  color: var(--green-900);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  z-index: 3;
  letter-spacing: 0.05em;
}

.pack-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.pack-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.pack-card:hover .pack-image img {
  transform: scale(1.05);
}

.pack-free-shipping {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #25D366;
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pack-body {
  padding: var(--space-xl);
}

.pack-body h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.pack-contents {
  margin-bottom: var(--space-lg);
}

.pack-contents li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pack-contents li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 700;
}

.pack-pricing {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.pack-old-price {
  font-size: var(--text-lg);
  color: var(--text-muted);
  text-decoration: line-through;
}

.pack-price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--green-800);
}

.pack-add-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), #D4AF37);
  color: var(--green-900);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.pack-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 169, 81, 0.4);
}

/* ============================================
   HOW TO BUY SECTION
   ============================================ */
#como-comprar {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-200), var(--green-400), var(--green-200));
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-green);
  transition: all var(--transition-base);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(90, 158, 47, 0.4);
}

.step-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================
   SHIPPING INFO
   ============================================ */
#envios {
  background: var(--bg-primary);
}

.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.shipping-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.shipping-info-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.shipping-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.shipping-detail:last-child {
  border-bottom: none;
}

.shipping-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.shipping-detail-text h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 2px;
}

.shipping-detail-text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.free-shipping-highlight {
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border: 2px solid var(--green-300);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.free-shipping-highlight .icon {
  font-size: 2rem;
}

.free-shipping-highlight h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--green-700);
}

.free-shipping-highlight p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================
   ABOUT / PRODUCER
   ============================================ */
#nosotros {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.about-text .producer-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-700);
  margin-top: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-900);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  max-width: 300px;
  line-height: 1.6;
}

.footer h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--green-600);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-overlay.open + .cart-sidebar,
.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.cart-close-btn:hover {
  background: var(--gray-100);
  color: var(--charcoal);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: var(--space-md);
}

.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
  animation: fadeInUp 0.3s ease;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f8f8;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 2px;
}

.cart-item-info .item-price {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-item-controls .qty-selector {
  transform: scale(0.85);
  transform-origin: left center;
}

.cart-item-remove {
  color: var(--red-500);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cart-item-remove:hover {
  background: var(--red-100);
}

.cart-item-total {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--green-800);
  text-align: right;
  align-self: center;
  white-space: nowrap;
}

/* Address Input */
.cart-address {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.cart-address label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: var(--space-xs);
}

.cart-address .required-star {
  color: var(--red-500);
}

.cart-address input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.cart-address input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(90, 158, 47, 0.1);
}

.cart-address input.error {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.cart-address .error-msg {
  font-size: var(--text-xs);
  color: var(--red-500);
  margin-top: 4px;
  display: none;
}

.cart-address input.error + .error-msg {
  display: block;
}

/* Cart Footer */
.cart-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-color);
  background: var(--green-50);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.cart-summary-row.total {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--green-900);
  padding: var(--space-md) 0;
  border-top: 2px solid var(--green-200);
  margin-top: var(--space-sm);
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-base);
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cart-checkout-btn:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  background: var(--green-800);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
  max-width: 320px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(100%) scale(0.8);
  }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-base);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .packs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .packs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .header-logo span {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .cart-sidebar {
    width: 100vw;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
