/* ── RESET Y VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --fire:      #e05a2b;
  --fire-d:    #bf360c;
  --fire-l:    #ff7043;
  --ink:       #1c1a18;
  --ink-m:     #5a5550;
  --ink-l:     #9e9890;
  --cream:     #faf7f2;
  --cream-d:   #f0ebe2;
  --border:    rgba(28,26,24,0.10);
  --white:     #ffffff;
  --font-h:    'Playfair Display', Georgia, serif;
  --font-b:    'DM Sans', system-ui, sans-serif;
  --nav-h:     58px;
}

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

html { scroll-behavior: smooth; }

body.lumbre-page {
  font-family: var(--font-b) !important;
  background: var(--cream) !important;
  color: var(--ink) !important;
  line-height: 1.6;
}

/* ── NAVEGACIÓN STICKY ── */
.lb-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(28,26,24,0.96);
  backdrop-filter: blur(12px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(224,90,43,0.2);
}

.lb-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.lb-nav-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lb-nav-logo span {
  font-family: var(--font-h);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-weight: 600;
}

.lb-nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.lb-nav-links a {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.lb-nav-links a:hover,
.lb-nav-links a.active {
  color: #ffffff;
  background: rgba(224,90,43,0.25);
}

.lb-nav-links a.active {
  color: var(--fire-l);
}

/* Carrito badge */
.lb-nav-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(224,90,43,0.35);
  border-radius: 20px;
  transition: all 0.2s ease;
  background: transparent;
  font-family: var(--font-b);
}

.lb-nav-cart:hover {
  border-color: var(--fire);
  color: #ffffff;
  background: rgba(224,90,43,0.15);
}

.lb-cart-count {
  background: var(--fire);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.lb-cart-count.bump { transform: scale(1.4); }

/* ══════════════════════════════════
   SECCIÓN 1 — INICIO / HERO
══════════════════════════════════ */
#lb-inicio {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lb-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

.lb-hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 2rem 1.5rem;
  max-width: 700px;
}

.lb-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fire-l);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.lb-hero-title {
  font-family: var(--font-h);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.lb-hero-tagline {
  font-family: var(--font-h);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--fire-l);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.lb-hero-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.lb-btn-primary {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: var(--fire);
  color: #ffffff;
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.lb-btn-primary:hover {
  background: var(--fire-d);
  transform: translateY(-2px);
}

/* Scroll indicator */
.lb-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.4s forwards;
}

.lb-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.lb-scroll-dot {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* Sabores preview en hero */
.lb-hero-sabores {
  position: absolute;
  bottom: 3.5rem;
  right: 5vw;
  display: flex;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.lb-hero-sabor-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lb-hero-sabor-thumb:hover {
  border-color: var(--fire-l);
  transform: scale(1.15);
}

.lb-hero-sabor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════
   SECCIÓN SABORES
══════════════════════════════════ */
.lb-sabores {
  padding: 5rem 5vw;
  background: var(--white);
  text-align: center;
}

.lb-section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 0.75rem;
}

.lb-section-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.lb-section-sub {
  font-size: 0.92rem;
  color: var(--ink-l);
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.lb-sabores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.lb-sabor-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lb-sabor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(28,26,24,0.12);
  border-color: rgba(224,90,43,0.2);
  background: #ffffff;
}

.lb-sabor-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  display: block;
  transition: transform 0.3s ease;
}

.lb-sabor-card:hover .lb-sabor-img {
  transform: scale(1.08);
}

.lb-sabor-name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.lb-sabor-desc {
  font-size: 0.82rem;
  color: var(--ink-m);
  line-height: 1.6;
}

/* ══════════════════════════════════
   SECCIÓN INFO BOXES
══════════════════════════════════ */
.lb-features {
  padding: 4rem 5vw;
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.lb-feature {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.lb-feature:last-child { border-right: none; }

.lb-feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.lb-feature-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.lb-feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-weight: 300;
}

/* ══════════════════════════════════
   SECCIÓN 2 — PRODUCTOS
══════════════════════════════════ */
#lb-productos {
  padding: 5rem 5vw;
  background: var(--cream);
}

.lb-productos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lb-productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.lb-producto-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.lb-producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28,26,24,0.10);
}

.lb-producto-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream-d);
}

.lb-producto-body {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lb-producto-name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.lb-producto-desc {
  font-size: 0.78rem;
  color: var(--ink-m);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex: 1;
  font-weight: 300;
}

.lb-producto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.lb-producto-precio {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.lb-producto-existencia {
  font-size: 0.7rem;
  color: var(--ink-l);
  margin-top: 2px;
}

.lb-btn-carrito {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.9rem;
  background: var(--fire);
  color: #ffffff;
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.lb-btn-carrito:hover {
  background: var(--fire-d);
  transform: scale(1.04);
}

.lb-btn-carrito:disabled {
  background: var(--ink-l);
  cursor: not-allowed;
  transform: none;
}

/* ══════════════════════════════════
   SECCIÓN 3 — SOBRE NOSOTROS
══════════════════════════════════ */
#lb-nosotros {
  background: var(--white);
}

.lb-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 5vw;
  gap: 5rem;
  align-items: center;
}

.lb-about-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 1rem;
}

.lb-about-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.lb-about-p {
  font-size: 0.95rem;
  color: var(--ink-m);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300;
}

.lb-about-highlight {
  font-family: var(--font-h);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--fire);
  margin-top: 1.5rem;
}

.lb-about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(28,26,24,0.14);
}

/* Ubicación */
.lb-location {
  background: var(--cream);
  padding: 4rem 5vw;
  text-align: center;
}

.lb-map-wrap {
  max-width: 900px;
  margin: 2.5rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28,26,24,0.10);
  border: 1px solid var(--border);
}

.lb-map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ══════════════════════════════════
   SECCIÓN 4 — CARRITO
══════════════════════════════════ */
#lb-carrito {
  padding: 5rem 5vw;
  background: var(--white);
  max-width: 860px;
  margin: 0 auto;
}

.lb-carrito-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Tabla del carrito */
.lb-carrito-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.lb-carrito-table th {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-l);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: var(--cream);
}

.lb-carrito-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-m);
  vertical-align: middle;
}

.lb-carrito-table td:first-child { color: var(--ink); font-weight: 500; }

.lb-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-family: var(--font-b);
}

.lb-qty-btn:hover {
  background: var(--fire);
  border-color: var(--fire);
  color: white;
}

.lb-qty-num { font-weight: 500; min-width: 20px; text-align: center; }

.lb-remove-btn {
  background: none;
  border: none;
  color: var(--ink-l);
  cursor: pointer;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-family: var(--font-b);
}

.lb-remove-btn:hover { color: #a32d2d; background: #fcebeb; }

.lb-carrito-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 2px solid var(--ink);
  margin-bottom: 2rem;
}

.lb-carrito-total-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-m);
}

.lb-carrito-total-value {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
}

.lb-carrito-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-l);
  font-size: 0.92rem;
}

.lb-carrito-empty span { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }

/* ── FORMULARIO DE ENVÍO ── */
.lb-form-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.lb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lb-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lb-form-field.full { grid-column: 1 / -1; }

.lb-form-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-m);
}

.lb-form-field input,
.lb-form-field select,
.lb-form-field textarea {
  font-family: var(--font-b) !important;
  font-size: 0.9rem !important;
  color: var(--ink) !important;
  background: var(--cream) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 0.65rem 0.9rem !important;
  transition: border-color 0.2s ease !important;
  box-shadow: none !important;
  width: 100% !important;
}

.lb-form-field input:focus,
.lb-form-field select:focus,
.lb-form-field textarea:focus {
  border-color: var(--fire) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(224,90,43,0.10) !important;
  background: #ffffff !important;
}

.lb-form-field textarea { resize: vertical; min-height: 80px; }

.lb-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 1rem 2rem;
  margin-top: 1.25rem;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lb-btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.lb-btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── ANIMACIONES SCROLL ── */
.lb-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.lb-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .lb-sabores-grid    { grid-template-columns: repeat(2, 1fr); }
  .lb-productos-grid  { grid-template-columns: repeat(2, 1fr); }
  .lb-features        { grid-template-columns: 1fr; }
  .lb-feature         { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .lb-about-inner     { grid-template-columns: 1fr; gap: 2.5rem; }
  .lb-nav-links       { display: none; }
  .lb-hero-sabores    { display: none; }
}

@media (max-width: 540px) {
  .lb-sabores-grid    { grid-template-columns: repeat(2, 1fr); }
  .lb-productos-grid  { grid-template-columns: 1fr; }
  .lb-form-grid       { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════
   FOOTER — Nova Core GT
══════════════════════════════════ */
#lb-footer {
  background: #ffffff;
  border-top: 1px solid rgba(26,26,24,0.08);
  padding: 0.85rem 2rem;
}

.lb-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  color: #aeada8;
  letter-spacing: 0.03em;
}

.lb-footer-left,
.lb-footer-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lb-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a18;
  text-decoration: none;
}

.lb-footer-logo span { color: #c8a96e; }

.lb-footer-sep { color: rgba(26,26,24,0.15); margin: 0 2px; }

.lb-footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8a96e;
  opacity: 0.6;
  display: inline-block;
}

.lb-footer-right a {
  color: #c8a96e;
  text-decoration: none;
  font-weight: 500;
}

.lb-footer-right a:hover { color: #9b7d46; }

@media (max-width: 768px) {
  .lb-footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
