/* ============================================================
   AVÍCOLA LA SIERRA — CSS Principal
   assets/css/main.css
   ============================================================ */

:root {
  --verde:       #1d5c3f;   /* verde bosque más vivo */
  --verde-md:    #2e7d54;
  --verde-lt:    #6aa884;
  --terra:       #e8941a;   /* dorado yema — color de acción */
  --terra-lt:    #f4b942;   /* dorado claro hover */
  --yema:        #f59e0b;
  --celeste:     #a3d0d9;
  --arena:       #faf3e3;   /* crema cálido */
  --blanco:      #fffdf8;
  --gris:        #6b7280;
  --fondo:       #fdf9f0;   /* fondo crema apetitoso */

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(26,75,60,.08);
  --shadow-md: 0 8px 30px rgba(26,75,60,.12);
  --shadow-lg: 0 20px 60px rgba(26,75,60,.15);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 50px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--fondo);
  color: #2c3e35;
  line-height: 1.65;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

a { color: inherit; text-decoration: none; }

.hidden { display: none !important; }

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
  background: var(--verde);
  color: var(--arena);
  font-size: 13px;
  padding: 8px 24px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244,249,244,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,75,60,.1);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.logo-icon { font-size: 28px; }
.logo-name { display: block; font-weight: 700; color: var(--verde); font-size: 17px; line-height: 1.2; }
.logo-sub  { display: block; font-size: 11px; color: var(--gris); font-family: var(--font-body); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  color: var(--verde);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--verde); color: white; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-tienda {
  position: relative;
  background: var(--verde);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.btn-tienda:hover { background: var(--terra); transform: translateY(-1px); }

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

.btn-login {
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--verde);
  color: var(--verde);
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
}
.btn-login:hover { background: var(--verde); color: white; }

.user-menu { position: relative; }
.user-btn {
  background: none; border: 2px solid var(--verde);
  padding: 8px 16px; border-radius: var(--radius-xl);
  color: var(--verde); font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: var(--font-body);
}
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 8px;
  min-width: 160px; display: none; flex-direction: column;
}
.user-menu:hover .user-dropdown { display: flex; }
.user-dropdown a { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 14px; color: var(--verde); }
.user-dropdown a:hover { background: var(--fondo); }

.nav-toggle { display: none; background:none; border:none; font-size:24px; cursor:pointer; color:var(--verde); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(163,208,217,.35) 0%, transparent 60%),
    linear-gradient(145deg, #e3f2e9 0%, #c5e0d4 50%, #b8d4c8 100%);
}
.hero-bg::before {
  content: '🥚';
  position: absolute;
  font-size: 320px;
  right: -40px; top: 50%;
  transform: translateY(-50%) rotate(-20deg);
  opacity: .08;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a4b3c' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: rgba(26,75,60,.1);
  color: var(--verde);
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 24px;
  border: 1px solid rgba(26,75,60,.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--verde);
  margin-bottom: 20px;
}
.hero-title em { color: var(--terra); font-style: italic; }

.hero-sub {
  font-size: 18px;
  color: #3d6b56;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--verde);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 16px;
  transition: all .25s;
  border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--terra); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(170,111,92,.35); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--verde);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--verde);
  transition: all .25s;
}
.btn-ghost:hover { background: var(--verde); color: white; }

.btn-primary.w-full, .btn-ghost.w-full { width: 100%; justify-content: center; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 22px; color: var(--verde); font-family: var(--font-display); }
.trust-item span   { font-size: 12px; color: var(--gris); }
.trust-sep { color: var(--verde-lt); opacity: .4; font-size: 24px; }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--verde-lt);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── DISPATCH BANNER ─────────────────────────────────── */
.dispatch-banner {
  background: var(--verde);
  color: white;
  padding: 18px 24px;
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.dispatch-item {
  padding: 8px 28px;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.dispatch-item:last-child { border-right: none; }
.dispatch-item strong { color: var(--celeste); }

/* ── SECTIONS ────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: white; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(170,111,92,.12);
  color: var(--terra);
  padding: 4px 16px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--verde);
  margin-bottom: 16px;
}
.section-header p { font-size: 17px; color: var(--gris); max-width: 560px; margin: 0 auto; }

/* ── VALUES GRID ─────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--blanco);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(26,75,60,.08);
  transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.value-card h3 { font-family: var(--font-display); color: var(--verde); margin-bottom: 10px; font-size: 1.2rem; }
.value-card p  { color: var(--gris); font-size: 15px; }

/* ── CALIBER GUIDE ───────────────────────────────────── */
.caliber-guide {
  background: var(--fondo);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 48px;
  text-align: center;
}
.caliber-guide h3 { color: var(--verde); margin-bottom: 24px; font-family: var(--font-display); }
.caliber-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.caliber-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.caliber-egg {
  width: var(--egg-size);
  height: calc(var(--egg-size) * 1.3);
  background: var(--egg-color);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 4px 12px rgba(0,0,0,.15), inset 0 -4px 8px rgba(0,0,0,.1);
}
.caliber-item strong { font-size: 13px; color: var(--verde); }
.caliber-item span   { font-size: 11px; color: var(--gris); }

/* ── PRODUCTS TABS ───────────────────────────────────── */
.products-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--verde);
  background: transparent;
  color: var(--verde);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .2s;
}
.tab-btn.active { background: var(--verde); color: white; }

/* ── PRODUCTS GRID ───────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.product-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 2px solid rgba(26,75,60,.08);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--verde-lt); box-shadow: var(--shadow-md); }
.product-card.featured { border-color: var(--terra); }

.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--terra); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: var(--radius-xl);
}
.product-egg-icon { font-size: 3.5rem; margin-bottom: 12px; }
.product-category { font-size: 11px; color: var(--gris); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.product-card h3  { font-family: var(--font-display); color: var(--verde); font-size: 1.05rem; margin-bottom: 8px; }
.product-desc     { font-size: 13px; color: var(--gris); margin-bottom: 12px; line-height: 1.5; }
.product-caliber  { font-size: 12px; color: var(--verde-lt); background: var(--fondo); padding: 3px 10px; border-radius: var(--radius-xl); display: inline-block; margin-bottom: 12px; }
.product-price    { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--verde); margin-bottom: 4px; }
.product-unit     { font-size: 12px; color: var(--gris); margin-bottom: 12px; }
.product-stock    { font-size: 12px; margin-bottom: 16px; }
.product-stock.low { color: #f59e0b; }

.btn-add-cart {
  display: block; width: 100%;
  background: var(--verde); color: white;
  border: none; padding: 11px; border-radius: var(--radius-xl);
  font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: var(--font-body); transition: background .2s;
}
.btn-add-cart:hover { background: var(--terra); }
.btn-notify {
  display: block; width: 100%;
  background: transparent; color: var(--gris);
  border: 1px solid #ddd; padding: 10px; border-radius: var(--radius-xl);
  font-size: 13px; cursor: pointer; font-family: var(--font-body);
}

.products-cta { text-align: center; }
.products-cta p { margin-top: 16px; color: var(--gris); font-size: 15px; }
.products-cta a[href*='wa'] { color: #25D366; font-weight: 700; }

/* ── DELIVERY ────────────────────────────────────────── */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.delivery-card {
  background: var(--blanco);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(26,75,60,.08);
}
.delivery-icon { font-size: 3rem; margin-bottom: 16px; }
.delivery-card h3 { font-family: var(--font-display); color: var(--verde); margin-bottom: 12px; }
.delivery-card p  { color: var(--gris); margin-bottom: 8px; font-size: 15px; }
.delivery-note    { font-size: 13px; background: rgba(163,208,217,.2); padding: 8px 14px; border-radius: var(--radius-sm); color: var(--verde-lt); margin-top: 12px; }

/* ── LOCATION ────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.location-info { display: flex; flex-direction: column; gap: 24px; }
.loc-item { display: flex; gap: 16px; align-items: flex-start; }
.loc-icon { font-size: 1.8rem; flex-shrink: 0; }
.location-map { border-radius: var(--radius-md); overflow: hidden; height: 380px; background: #e8f3ed; }
.map-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--verde-lt); font-size: 1.2rem; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-channels h3 { font-family: var(--font-display); color: var(--verde); margin-bottom: 20px; font-size: 1.3rem; }
.channel-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--blanco);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(26,75,60,.08);
  transition: transform .2s, box-shadow .2s;
}
.channel-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.channel-item.whatsapp { border-color: #25D366; }
.channel-item span { font-size: 1.8rem; }
.channel-item strong { display: block; color: var(--verde); margin-bottom: 2px; }

.contact-form { background: var(--blanco); border-radius: var(--radius-md); padding: 36px; border: 1px solid rgba(26,75,60,.08); }
.contact-form h3 { font-family: var(--font-display); color: var(--verde); margin-bottom: 24px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--verde); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 2px solid rgba(26,75,60,.15);
  border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font-body);
  background: white; color: #2c3e35;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--verde);
}
.form-msg { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.form-msg.success { background: #dcfce7; color: #166534; }
.form-msg.error   { background: #fee2e2; color: #991b1b; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--verde);
  color: var(--arena);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; opacity: .8; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { font-size: 1.5rem; opacity: .8; transition: opacity .2s; }
.footer-social a:hover { opacity: 1; }
.footer-links h4 { color: white; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links a  { display: block; color: var(--arena); opacity: .75; font-size: 14px; margin-bottom: 8px; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; text-align: center; opacity: .7; font-size: 13px; line-height: 1.8; }

/* ── TOAST ───────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 15px;
  z-index: 9999;
  animation: slideIn .3s ease;
  max-width: 320px;
}
.toast.success { background: var(--verde); color: white; }
.toast.error   { background: #ef4444; color: white; }
@keyframes slideIn { from{transform:translateX(100%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display:none; position:absolute; top:72px; left:0; right:0; background:white; flex-direction:column; padding:16px; box-shadow: var(--shadow-md); }
  .nav-links.open { display:flex; }
  .nav-toggle { display:block; }
  .hero-title { font-size: 2.6rem; }
  .dispatch-banner { flex-direction:column; gap:0; }
  .dispatch-item { border-right:none; border-bottom:1px solid rgba(255,255,255,.2); }
  .contact-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .topbar { justify-content:flex-start; overflow-x:auto; }
  .hero-btns { flex-direction:column; }
  .btn-primary, .btn-ghost { text-align:center; justify-content:center; }
}

/* ── FIX DROPDOWN USUARIO ─────────────────────────────── */
.user-menu { position: relative; }

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px; /* gap invisible para no perder el hover */
    display: none;
    z-index: 9999;
}

.user-dropdown-inner {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(26,75,60,.08);
}

.user-menu:hover .user-dropdown { display: block; }

.user-dropdown a {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #2c3e35;
    font-weight: 600;
    display: block;
    transition: background .15s;
}
.user-dropdown a:hover { background: var(--fondo); color: var(--verde); }
.user-dropdown a:last-child { color: #ef4444; margin-top: 4px; border-top: 1px solid var(--fondo); padding-top: 10px; }

/* ── HERO CENTRADO ─────────────────────────────────────── */
.hero { justify-content: center; }

.hero-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

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

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

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

/* ════════════════════════════════════════════════════════
   ANIMACIONES Y DINAMISMO
   ════════════════════════════════════════════════════════ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* Hero: entrada escalonada */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: heroFadeUp .7s ease .1s both; }
.hero-title  { animation: heroFadeUp .7s ease .25s both; }
.hero-sub    { animation: heroFadeUp .7s ease .4s both; }
.hero-btns   { animation: heroFadeUp .7s ease .55s both; }
.hero-trust  { animation: heroFadeUp .7s ease .7s both; }

/* Huevo flotante en hero */
@keyframes floatEgg {
  0%, 100% { transform: translateY(-50%) rotate(-20deg); }
  50%      { transform: translateY(calc(-50% - 18px)) rotate(-16deg); }
}
.hero-bg::before { animation: floatEgg 6s ease-in-out infinite; }

/* Botón primario: pulso sutil + brillo */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--terra) 0%, #d97f06 100%);
  box-shadow: 0 4px 16px rgba(232,148,26,.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover {
  background: linear-gradient(135deg, #f4a52e 0%, var(--terra) 100%);
  box-shadow: 0 8px 28px rgba(232,148,26,.5);
}

/* Cards de producto: precio destacado dorado */
.product-price, .tprod-price { color: var(--terra) !important; }

/* Banner de despacho animado tipo marquee suave */
.dispatch-banner { position: relative; overflow: hidden; }
.dispatch-item strong { color: var(--terra-lt); }

/* Badge "destacado" con shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.product-badge, .tprod-badge {
  background: linear-gradient(90deg, var(--terra) 25%, var(--terra-lt) 50%, var(--terra) 75%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Hover en value cards: icono rebota */
@keyframes bounce-icon {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.25) rotate(-6deg); }
  70% { transform: scale(1.05); }
}
.value-card:hover .value-icon { animation: bounce-icon .55s ease; display:inline-block; }

/* Contador animado */
.trust-item strong { color: var(--terra); }

/* Toast con bounce */
@keyframes toastIn {
  0%   { transform: translateX(110%) scale(.9); opacity: 0; }
  70%  { transform: translateX(-8px) scale(1.02); opacity: 1; }
  100% { transform: translateX(0) scale(1); }
}
.toast.success, .toast.error { animation: toastIn .45s cubic-bezier(.2,.9,.3,1.2); }

/* Cart badge: latido al agregar */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.35); }
  60% { transform: scale(.95); }
}
.cart-badge.pulse { animation: heartbeat .5s ease; }

/* Botón WhatsApp flotante */
.wsp-float {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  z-index: 950;
  transition: transform .25s;
  text-decoration: none;
}
.wsp-float:hover { transform: scale(1.12) rotate(8deg); }
@keyframes wspRing {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}
.wsp-float::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  animation: wspRing 2.2s ease-out infinite;
}

/* Banner urgencia miércoles */
.urgency-bar {
  background: linear-gradient(90deg, var(--terra), #d97f06);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}
.urgency-bar span { color: #fff3d6; }

/* Sección CTA final */
.final-cta {
  background: linear-gradient(135deg, var(--verde) 0%, #143d2b 100%);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '🥚';
  position: absolute;
  font-size: 200px;
  opacity: .07;
  right: -30px; bottom: -50px;
  transform: rotate(15deg);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}
.final-cta p { opacity: .85; margin-bottom: 28px; font-size: 17px; }

/* Social proof counter */
.proof-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 16px;
}
.proof-item { text-align: center; }
.proof-item .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--terra);
  display: block;
}
.proof-item .label { font-size: 14px; color: var(--gris); }

/* Respeto a usuarios con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── NOTICIAS DEL HUEVO ─────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.news-card {
  background: white;
  border: 1px solid rgba(29,92,63,.1);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29,92,63,.12);
}
.news-icon { font-size: 1.8rem; }
.news-card h3 {
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--verde);
  font-weight: 700;
  flex: 1;
}
.news-meta { font-size: 12.5px; color: var(--gris); }
.news-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--terra);
}
.news-card:hover .news-link { text-decoration: underline; }
