/* =======================================
   ANDOR QUÍMICA — Estilos principales
   Paleta: Naranja/Dorado del logo AQ
   ======================================= */

:root {
  --primary:       #e67e22;   /* naranja principal */
  --primary-dark:  #c05f0a;   /* naranja oscuro */
  --primary-light: #fff3e0;   /* naranja muy suave */
  --accent:        #27ae60;   /* verde acción (agregar/WhatsApp) */
  --accent-dark:   #1e8449;
  --lorien:        #7c3aed;   /* morado exclusivo LORIEN */
  --lorien-light:  #f3e8ff;
  --text:          #1a1a2e;
  --text-muted:    #64748b;
  --bg:            #fafafa;
  --white:         #ffffff;
  --border:        #e8e2d9;   /* borde con tono cálido */
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.14);
  --radius:        12px;
  --radius-sm:     8px;
  --ease:          0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

section[id] { scroll-margin-top: 140px; }
#inicio { scroll-margin-top: 0; }

/* ===========================
   HEADER
=========================== */
#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
#header.scrolled { box-shadow: 0 2px 16px rgba(230,126,34,0.12); }

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

/* Logo imagen en header */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--ease);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-lorien { color: var(--lorien) !important; }
.nav-lorien:hover { background: var(--lorien-light) !important; color: var(--lorien) !important; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  flex-shrink: 0;
  transition: all var(--ease);
}
.cart-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.cart-icon { font-size: 16px; }
.cart-label { display: none; }

.cart-badge {
  background: #ef4444;
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.cart-badge.pop { animation: pop 0.35s ease; }
@keyframes pop {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.45); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}

/* ===========================
   CARRITO LATERAL
=========================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.46);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: 390px;
  max-width: 100vw;
  background: white;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 32px rgba(0,0,0,0.13);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header h2 { font-size: 17px; font-weight: 700; }

.cart-close {
  background: none;
  border: none;
  font-size: 17px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
}
.cart-close:hover { background: var(--bg); color: var(--text); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 48px 24px;
}
.cart-empty span { font-size: 52px; }
.cart-empty p { font-size: 16px; font-weight: 600; }
.cart-empty small { font-size: 13px; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}
.cart-item-img {
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: white;
  flex-shrink: 0;
}
.cart-item-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--primary-light);
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-unit { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

.item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
  line-height: 1;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }
.item-subtotal { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; margin-left: 4px; }
.item-remove {
  background: none; border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 15px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.item-remove:hover { background: #fee2e2; }

.cart-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 14px;
  font-size: 15px;
}
.cart-total strong { font-size: 24px; font-weight: 800; color: var(--primary); }

.btn-whatsapp-cart {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
  margin-bottom: 8px;
}
.btn-whatsapp-cart:hover { background: #1da851; transform: translateY(-1px); }

.btn-clear {
  width: 100%;
  padding: 9px;
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-clear:hover { background: #fee2e2; color: #ef4444; border-color: #ef4444; }

/* ===========================
   HERO — gradiente naranja/dorado
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #7d2600 0%, #bf4a00 35%, #e67e22 65%, #f9a825 100%);
  z-index: 0;
}
.hero-bg::before {
  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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(255,255,255,0.08) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: white;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.32);
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.25);
  letter-spacing: -0.5px;
}
.hero-content h1 em {
  font-style: normal;
  color: #fde68a;   /* amarillo suave sobre el naranja */
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto; margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 32px;
  background: white;
  color: var(--primary-dark);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--ease);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 32px;
  background: rgba(255,255,255,0.14);
  color: white;
  border: 2px solid rgba(255,255,255,0.42);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--ease);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; color: white; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1; }
.stat span { font-size: 11.5px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===========================
   BARRA DE CATEGORÍAS
=========================== */
.categorias-bar {
  background: white;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cats-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cat-chip {
  padding: 7px 16px;
  border-radius: 22px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.cat-chip.active { background: var(--primary); border-color: var(--primary); color: white; }
.lorien-chip.active { background: var(--lorien); border-color: var(--lorien); }
.lorien-chip:hover { border-color: var(--lorien); color: var(--lorien); }

/* ===========================
   SECCIONES: BASE
=========================== */
.section-productos,
.section-nosotros,
.section-consejos,
.section-contacto { padding: 80px 0; }
.section-zona, .section-lorien { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.section-header--light h2 { color: white; }
.section-header--light p { color: rgba(255,255,255,0.75); }

/* ===========================
   PRODUCTOS
=========================== */
.section-productos { background: var(--bg); }

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  /* allow scaled cards to visually overflow their cell */
  overflow: visible;
}

.producto-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  /* Spring easing — like Apple */
  transition:
    transform  0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.40s ease,
    opacity    0.30s ease,
    border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  will-change: transform;
}

/* ── Hovered card: zoom-in lift ── */
.producto-card:hover {
  transform: scale(1.055);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.16),
    0  8px 24px rgba(230,126,34,0.14);
  border-color: var(--primary);
  z-index: 20;
}

/* ── Apple effect: neighbouring cards shrink & dim ── */
.productos-grid:has(.producto-card:hover) .producto-card:not(:hover) {
  transform: scale(0.965);
  opacity: 0.72;
}

.producto-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--bg);
  padding: 16px;
}
.producto-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fef9c3 100%);
}

.producto-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.producto-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.badge {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-cat    { background: var(--primary-light); color: var(--primary-dark); }
.badge-propia { background: #e8f5e9; color: #1b5e20; }
.badge-lorien { background: var(--lorien-light); color: var(--lorien); }

.producto-nombre {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.producto-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
}
.producto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.producto-precio { display: flex; flex-direction: column; }
.precio-valor { font-size: 20px; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.precio-unidad { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.btn-agregar {
  padding: 9px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-agregar:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-agregar:active { transform: scale(0.96); }

.productos-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.productos-empty span { font-size: 52px; display: block; margin-bottom: 14px; }
.productos-empty p { font-size: 15px; font-weight: 600; }

/* ===========================
   NOSOTROS
=========================== */
.section-nosotros { background: white; }

.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nosotros-text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.nosotros-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.72;
}
.nosotros-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nosotros-list li {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.nosotros-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  border: 1.5px solid var(--border);
  transition: all var(--ease);
}
.feat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feat-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.feat-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feat-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===========================
   ZONA — gradiente naranja oscuro
=========================== */
.section-zona {
  background: linear-gradient(135deg, #4a1800 0%, #8c3300 50%, #c05f0a 100%);
  color: white;
}
.rutas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.ruta-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--ease);
  backdrop-filter: blur(8px);
}
.ruta-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.ruta-num {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.ruta-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ruta-card p  { font-size: 13px; opacity: 0.8; line-height: 1.55; }
.zona-nota {
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
  padding: 16px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
}
.zona-nota a { color: #fde68a; font-weight: 600; text-decoration: underline; }

/* ===========================
   CONSEJOS
=========================== */
.section-consejos { background: var(--bg); }

.consejos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.consejo-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border);
  transition: all var(--ease);
  box-shadow: var(--shadow);
}
.consejo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.consejo-icon { font-size: 38px; margin-bottom: 16px; }
.consejo-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.consejo-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.62; margin-bottom: 16px; }
.consejo-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

/* ===========================
   LORIEN — sección ultra diferenciada
   Paleta: morado/violeta profundo
=========================== */
.section-lorien {
  background: linear-gradient(135deg, #0f0020 0%, #2e0057 35%, #5b21b6 70%, #7c3aed 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Patrón de fondo sutil exclusivo LORIEN */
.section-lorien::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(196,181,253,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(109,40,217,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.lorien-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.lorien-badge {
  display: inline-block;
  background: rgba(196,181,253,0.2);
  border: 1px solid rgba(196,181,253,0.4);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  color: #ddd6fe;
}
.lorien-text h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #ddd6fe 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lorien-sub {
  font-size: 16px;
  opacity: 0.85;
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.lorien-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.lorien-features li {
  font-size: 14px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-lorien {
  display: inline-flex; align-items: center;
  padding: 13px 28px;
  background: rgba(196,181,253,0.18);
  color: white;
  border: 2px solid rgba(196,181,253,0.45);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--ease);
  letter-spacing: 0.3px;
}
.btn-lorien:hover {
  background: rgba(196,181,253,0.3);
  border-color: rgba(196,181,253,0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,58,237,0.4);
}

.lorien-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.lorien-circle {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(196,181,253,0.1);
  border: 2px solid rgba(196,181,253,0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center;
  box-shadow: 0 0 80px rgba(124,58,237,0.5), inset 0 0 40px rgba(196,181,253,0.08);
  animation: float 6s ease-in-out infinite;
}
/* Anillo exterior giratorio */
.lorien-circle::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(196,181,253,0.25);
  animation: spin-ring 20s linear infinite;
}
.lorien-circle span   { font-size: 48px; }
.lorien-circle strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #fff 0%, #ddd6fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lorien-circle small  { font-size: 10px; opacity: 0.6; text-transform: uppercase; letter-spacing: 3px; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===========================
   CONTACTO
=========================== */
.section-contacto { background: white; }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.info-icon { font-size: 22px; margin-top: 1px; flex-shrink: 0; }
.info-item strong { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.info-item p  { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.info-item a  { color: var(--primary); font-weight: 500; }
.info-item a:hover { text-decoration: underline; }

.btn-whatsapp-grande {
  display: flex; align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #25d366;
  color: white;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  margin-top: 8px;
  transition: all var(--ease);
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-whatsapp-grande:hover { background: #1da851; transform: translateY(-2px); }

.contacto-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1.5px solid var(--border);
}
.contacto-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--primary-dark); }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-form {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
  margin-top: 8px;
}
.btn-form:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #120c05;   /* marrón oscuro cálido acorde al naranja */
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

/* Logo con fondo blanco en footer oscuro */
.footer-logo { margin-bottom: 16px; }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  background: white;
  border-radius: 10px;
  padding: 6px 10px;
  object-fit: contain;
}

.footer-brand p { font-size: 13px; line-height: 1.72; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: all var(--ease);
}
.social-links a:hover { background: var(--primary); transform: translateY(-2px); }

.footer-links h5,
.footer-contact h5 {
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; transition: color var(--ease); }
.footer-links a:hover { color: #fbbf24; }   /* dorado al hover */
.footer-contact p { font-size: 13px; margin-bottom: 10px; line-height: 1.55; }
.footer-contact a { color: #fbbf24; }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

/* ===========================
   WHATSAPP FLOTANTE
=========================== */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  transition: all var(--ease);
  box-shadow: 0 4px 18px rgba(37,211,102,0.5);
}
.wa-float::after {
  content: '';
  display: block;
  width: 28px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 26px rgba(37,211,102,0.65); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); }
}
.wa-float { animation: wa-pulse 2.8s infinite; }

/* ===========================
   TOAST
=========================== */
.toast {
  position: fixed;
  bottom: 96px; right: 28px;
  background: #1a1a2e;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 290px;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--accent);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===========================
   ANIMACIONES DE ENTRADA
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .nosotros-inner    { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .contacto-grid     { grid-template-columns: 1fr; }
  .lorien-inner      { grid-template-columns: 1fr; }
  .lorien-visual     { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    gap: 2px;
  }
  .nav-links.open  { display: flex; }
  .nav-links a     { padding: 10px 16px; font-size: 15px; }
  .hamburger       { display: flex; }
  .cart-label      { display: inline; }
  .nav-container   { gap: 10px; }
  .hero            { padding: 120px 20px 60px; }
  .nosotros-cards  { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 28px; }
  .form-row        { grid-template-columns: 1fr; }
  .cart-sidebar    { width: 100%; }
  .section-productos,
  .section-nosotros,
  .section-consejos,
  .section-contacto,
  .section-zona,
  .section-lorien  { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-btns      { flex-direction: column; align-items: center; }
  .hero-stats     { gap: 24px; }
  .nosotros-cards { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: 1fr; }
  .consejos-grid  { grid-template-columns: 1fr; }
  .cats-grid      { gap: 6px; }
  .cat-chip       { padding: 6px 12px; font-size: 12px; }
  .nav-logo-img   { height: 36px; }
}

/* ===========================
   BOTÓN CUENTA (NAV)
=========================== */
.account-btn {
  padding: 7px 14px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.account-btn:hover { background: var(--primary-light); }
.account-btn.logged-in {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.account-btn.logged-in:hover { background: var(--primary-dark); }

/* ===========================
   MODAL DE CUENTA
=========================== */
.account-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.account-overlay.open { opacity: 1; pointer-events: all; }

.account-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 1200;
  opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
  width: 90%; max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
}
.account-modal.open {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.account-modal-inner {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.account-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: #f1f1f1; border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.account-modal-close:hover { background: #e0e0e0; }

.account-header {
  text-align: center;
  margin-bottom: 24px;
}
.account-logo { font-size: 40px; display: block; margin-bottom: 8px; }
.account-header h2 { font-size: 22px; font-weight: 800; color: var(--text); }
.account-header p  { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.modal-context-msg {
  margin-top: 10px !important;
  background: #fff8ee;
  color: #c05f0a !important;
  border: 1.5px solid #f8c07a;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px !important;
  font-weight: 600;
}

.account-tabs {
  display: flex; gap: 0;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 22px;
}
.account-tab {
  flex: 1; padding: 9px 0;
  background: transparent; border: none;
  border-radius: 7px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; color: var(--text-muted);
  transition: all var(--ease);
}
.account-tab.active {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.account-form .form-group { margin-bottom: 16px; }
.account-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.account-form input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  transition: border-color var(--ease);
  background: white;
}
.account-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
}

.btn-account-submit {
  width: 100%; padding: 13px;
  background: var(--primary);
  color: white; border: none;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
  margin-top: 6px;
}
.btn-account-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

.account-note {
  font-size: 11.5px; color: var(--text-muted);
  margin-top: 12px; text-align: center;
  line-height: 1.55;
}

/* Panel perfil */
.perfil-info {
  display: flex; gap: 16px; align-items: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.perfil-avatar {
  font-size: 48px;
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.perfil-datos h3  { font-size: 17px; font-weight: 800; color: var(--text); }
.perfil-email     { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.perfil-telefono  { font-size: 13px; color: var(--primary-dark); font-weight: 600; margin-top: 2px; }
.perfil-fecha     { font-size: 11px; color: var(--text-muted); display: block; margin-top: 6px; }

.btn-logout {
  width: 100%; padding: 12px;
  background: #fee2e2; color: #b91c1c;
  border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-logout:hover { background: #fca5a5; }

/* ===========================
   DOBLE PRECIO EN TARJETAS
=========================== */
.producto-precios {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}
.precio-bloque {
  flex: 1;
  padding: 10px 12px;
  display: flex; flex-direction: column;
}
.precio-mayorista-bloque {
  background: #fff8f0;
  border-right: 1px solid var(--border);
}
.precio-minorista-bloque {
  background: #f0fff4;
}
.precio-divider { display: none; }
.precio-label {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.precio-mayorista-bloque .precio-label { color: var(--primary-dark); }
.precio-minorista-bloque .precio-label { color: var(--accent-dark); }

.precio-bloque .precio-valor {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.precio-min-val { color: var(--accent-dark) !important; }

.precio-bloque .precio-unidad {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* Badge nuevo */
.badge-nuevo { background: #fff1f2; color: #be123c; }

/* Chip "Nuevos" */
.nuevo-chip { border-color: #fda4af !important; color: #be123c !important; }
.nuevo-chip.active { background: #be123c !important; color: white !important; }
.nuevo-chip:hover { background: #fff1f2 !important; }

/* ===========================
   PRECIO EN CARRITO
=========================== */
.cart-precio-tipo {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  margin: 3px 0 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-precio-tipo.mayorista { background: #fff8f0; color: var(--primary-dark); }
.cart-precio-tipo.minorista { background: #f0fff4; color: var(--accent-dark); }

/* ===========================
   RESPONSIVE NUEVOS ELEMENTOS
=========================== */
@media (max-width: 768px) {
  .account-btn { font-size: 12px; padding: 6px 10px; }
  .account-modal-inner { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .producto-precios { flex-direction: column; }
  .precio-mayorista-bloque { border-right: none; border-bottom: 1px solid var(--border); }
  .account-btn .account-btn-label { display: none; }
}

/* ===========================
   PRODUCTO "CONSULTAR PRECIO"
=========================== */
.precio-consultar-bloque {
  background: #f0fdf4;
  border: 1.5px dashed #4ade80;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.precio-consultar-label {
  font-size: 14px;
  font-weight: 700;
  color: #166534;
}
.precio-consultar-sub {
  font-size: 11.5px;
  color: #4b7c5a;
}
.btn-consultar-wa {
  background: #25d366 !important;
  color: white !important;
}
.btn-consultar-wa:hover {
  background: #1da851 !important;
}

/* ===========================
   NAV DROPDOWN DE CATEGORÍAS
=========================== */
.nav-item-dropdown {
  position: relative;
}

.nav-drop-trigger {
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-chevron {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.22s ease;
  line-height: 1;
  opacity: 0.7;
}
.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(230,126,34,0.07);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 500;
}
/* Triangle pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 7px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-dd-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-dd-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 6px;
}

.nav-dd-nuevo { color: #dc2626; }
.nav-dd-nuevo:hover { background: #fef2f2 !important; color: #dc2626 !important; }

/* Producción propia trigger color */
.nav-drop-propia { color: var(--primary) !important; font-weight: 600 !important; }
.nav-drop-propia:hover { background: var(--primary-light) !important; }

/* ===========================
   SECCIÓN ARTÍCULOS DE PRODUCCIÓN
=========================== */
.section-produccion {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.prod-tag {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  border: none !important;
  font-weight: 700;
  padding: 6px 18px;
  letter-spacing: 0.5px;
}

/* Sub-categoría chips de producción */
.prod-cats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
  justify-content: center;
}

.prod-cat-chip {
  padding: 9px 20px;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prod-cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.prod-cat-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(230,126,34,0.3);
}

/* Banner "próximamente" al pie de la sección */
.prod-prox-banner {
  margin-top: 44px;
  background: white;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.prod-prox-banner > span {
  font-size: 36px;
  flex-shrink: 0;
}
.prod-prox-banner > div {
  flex: 1;
  min-width: 180px;
}
.prod-prox-banner strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 3px;
}
.prod-prox-banner p {
  font-size: 13px;
  color: var(--text-muted);
}
.btn-prod-wa {
  padding: 10px 22px;
  background: #25d366;
  color: white;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-prod-wa:hover { background: #1da851; }

/* ===========================
   RESPONSIVE DROPDOWN + PRODUCCIÓN
=========================== */
@media (max-width: 900px) {
  /* En móvil el dropdown se convierte en acordeón dentro del menú hamburguesa */
  .nav-item-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    display: none;
    min-width: auto;
    background: transparent;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-item-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dd-item { font-size: 14px; padding: 7px 10px; }
  .section-produccion { padding: 56px 0 40px; }
  .prod-prox-banner { flex-direction: column; text-align: center; }
}

/* ===========================
   BUSCADOR DE PRODUCTOS
=========================== */
.search-wrap {
  max-width: 500px;
  margin: 0 auto 32px;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0 18px;
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.search-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230,126,34,0.11);
}
.search-icon { font-size: 16px; flex-shrink: 0; user-select: none; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 15px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
}
.search-input::placeholder { color: var(--text-muted); }
.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.search-clear:hover { background: #f1f5f9; color: var(--text); }

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 800;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(230,126,34,0.45);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 22px rgba(230,126,34,0.55);
  transform: translateY(-3px) scale(1.05);
}

/* ===========================
   CARRITO — HINT MAYORISTA
=========================== */
.cart-mayorista-hint {
  margin-top: 7px;
  font-size: 11.5px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 7px;
  padding: 5px 9px;
  font-weight: 500;
  line-height: 1.4;
}
.cart-mayorista-badge {
  margin-top: 7px;
  font-size: 11.5px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 7px;
  padding: 5px 9px;
  font-weight: 600;
}

/* ===========================
   CARRITO — CANTIDAD INPUT
=========================== */
.qty-input {
  width: 48px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 3px 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: #f9f9f9;
  font-family: inherit;
  cursor: text;
  /* Ocultar flechas del input number */
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
}

/* ===========================
   BOTÓN AGREGAR — ESTADO ADDED
=========================== */
.btn-agregar.btn-added {
  background: var(--accent) !important;
  transform: scale(0.97);
  letter-spacing: 0.2px;
}

/* ===========================
   RESPONSIVE NUEVAS FEATURES
=========================== */
@media (max-width: 600px) {
  .search-wrap { margin-bottom: 24px; }
  .scroll-top-btn { bottom: 90px; right: 16px; width: 40px; height: 40px; font-size: 17px; }
}
