/* == VARIABLES & THEMES == */
:root {
  --color-bg: #1A1E24;
  --color-text: #FDFBF7;
  --color-accent: #E8A82D;
  --color-accent-dark: #C98A19;
  --color-ivory: #252B35;
  --color-brown-dark: #FDFBF7;
  --color-amber: #F4A261;
  --color-gold-soft: #D4AF37;
  --color-rose-gold: #D4AF37;

  --font-title: 'Great Vibes', cursive;
  --font-body: 'Cormorant Garamond', serif;
  --font-clean: 'Montserrat', sans-serif;
  
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-float: 0 15px 35px rgba(58, 42, 26, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1.15rem;
  overflow-x: hidden; /* CRITICAL: Prevent horizontal scroll and scale issues */
  width: 100%;
  position: relative;
}

/* Typography Classes */
h1, h2, h3, h4, .nav-brand {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: normal;
}

/* Utils */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-padding { padding: 8rem 0; }
.text-center { text-align: center; }

h2.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--color-brown-dark);
}

.primary-btn, .cta-btn, .submit-btn {
  background: linear-gradient(135deg, #F4D03F, #D4AF37, #C98A19);
  color: #1A1E24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.1rem 2.8rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.primary-btn:hover, .cta-btn:hover, .submit-btn:hover {
  background: linear-gradient(135deg, #F9E79F, #F4D03F, #D4AF37);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}

/* == NAVIGATION RE-DESIGN == */
nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  display: flex;
  justify-content: space-between; /* Links on one side, Actions on other */
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  background: linear-gradient(to bottom, rgba(26,30,36,0.8), transparent);
}
nav.scroll-down { transform: translateY(-100%); }
nav.scroll-up { 
  transform: translateY(0); 
  background: rgba(26, 30, 36, 0.95) !important; 
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  align-items: center;
  margin: 0 auto; /* Keep it centered as a group */
}
.nav-links li.mobile-only { display: none !important; }

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem; /* More readable serif size */
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  position: relative;
  transition: all 0.4s ease;
  font-family: var(--font-body); /* Using Cormorant Garamond like 'Quienes Somos' */
  letter-spacing: 0.5px;
  white-space: nowrap; /* Prevent breaking lines on desktop */
}
.nav-links a:hover, .nav-links a.active {
  color: var(--color-accent);
  transform: translateY(-1px);
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}
.nav-links a.active::after, .nav-links a:hover::after {
  width: 80%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  nav { justify-content: flex-end; padding: 1rem 1.5rem; background: transparent !important; }
  .nav-links { display: none; } /* Handled by mobile logic already in index.html */
}

/* Hamburguer Button */
.menu-toggle {
  display: none;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--color-accent);
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
  position: absolute;
  left: 1.5rem;
  top: 1rem;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-accent);
}

@media (max-width: 768px) {
  .menu-toggle { display: flex !important; }
  .mobile-only { 
    display: block !important; 
    color: var(--color-accent); 
    font-size: 2.5rem; 
    text-align: right; 
    cursor: pointer;
    margin-bottom: 2rem;
  }
  .nav-links li a { 
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.5rem !important; /* Más elegante y chico */
    color: #fff !important;
    text-decoration: none;
    text-transform: capitalize; /* Estilo de computadora */
    letter-spacing: 1px;
    line-height: 1.2;
    padding: 0.8rem 0;
    display: inline-block;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -101%; /* Hidden to the right */
    width: 280px; height: 100vh;
    background: #111317; 
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1200;
  }
  .nav-links.active { right: 0; }
  .nav-links a { 
    font-size: 1.2rem; 
    padding: 1rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
}

.cart-btn {
  background: none; border: none; font-size: 1rem; cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  display: flex; align-items: center; gap: 0.5rem;
}
.cart-count {
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 0.75rem;
  display: flex; justify-content: center; align-items: center;
}

/* == PAGES ROUTING LOGIC == */
.page {
  display: none;
  opacity: 0;
  animation: fadeInPage 0.6s forwards;
  min-height: 100vh;
}
.page.active {
  display: block;
}
@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* == HERO SECTION == */
/* AJUSTE HOME DESKTOP - FLUIDO */
#home .hero {
  padding-top: 80px; /* Reducción para que quepa todo */
  min-height: 115vh; /* Aumentado para dar más aire abajo */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
}

/* AJUSTE TITULO HOME MÓVIL */
@media (max-width: 768px) {
  #home .hero {
    padding-top: 20px !important; /* Más cercano al borde superior */
    justify-content: flex-start; /* Empuja el contenido hacia arriba */
  }
  #home .brand-hero {
    font-size: 3.2rem !important; /* Título imponente */
    line-height: 1.1;
    margin-top: 2rem; /* Separación mínima */
    margin-bottom: 2rem;
  }
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: url('assets/images/bg_hero.png') center top/cover no-repeat;
  z-index: -1;
  filter: brightness(0.65) contrast(1.1);
  animation: bgPulse 8s infinite alternate ease-in-out;
}
@keyframes bgPulse {
  0% { transform: scale(1); filter: brightness(0.6); }
  100% { transform: scale(1.03); filter: brightness(0.7); }
}

.hero-content {
  color: #fff;
  z-index: 10;
  padding: 0 1rem;
  margin-top: 8vh; /* Bajar para que no pegue con el menú */
}
.brand-hero {
  font-family: var(--font-title);
  color: #D4AF37; /* Bright Gold */
  font-size: 6.5rem;
  font-weight: 400;
  letter-spacing: normal;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* SOCIAL LINKS HOME */
.social-links-home {
  margin-top: 2.5rem; display: flex; justify-content: center; gap: 1.5rem;
}
.social-links-home a {
  color: #fff; transition: color 0.3s, transform 0.3s; display: inline-block;
}
.social-links-home a:hover {
  color: var(--color-gold-soft); transform: translateY(-3px);
}
.social-links-home svg {
  width: 28px; height: 28px;
}

/* ANIMATIONS */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards ease-out;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* == CATALOGO == */
.filter-bar {
  display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem;
}
.filter-btn {
  background: transparent; border: 1px solid var(--color-accent);
  color: var(--color-brown-dark); padding: 0.5rem 1.5rem; border-radius: 30px;
  cursor: pointer; transition: all 0.3s; font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--color-accent); color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  perspective: 1000px;
}

.product-card {
  background-color: var(--color-ivory);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(235, 208, 156, 0.3);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-float);
}

/* Hover glow effect */
.product-card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(244,162,97,0.1) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 1;
}
.product-card:hover::before { opacity: 1; }

.product-img {
  width: 100%; height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }

.product-info { padding: 2rem; position: relative; z-index: 2; background: var(--color-ivory); }
.product-info h3 { 
  font-family: var(--font-body); /* Cormorant Garamond for elegant titles */
  font-size: 1.6rem; /* Bigger for serif */
  margin-bottom: 0.5rem; 
  font-weight: 400;
  color: var(--color-gold-soft);
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}
.product-size-tag {
  font-size: 0.9rem;
  color: #ccc;
  font-family: var(--font-clean);
  font-style: italic;
}
.product-price { 
  color: var(--color-accent); 
  font-weight: 500; 
  font-size: 1.2rem;
  font-family: var(--font-clean);
}
.product-overlay { display: none !important; } /* REMOVE VER DETALLES */
.add-to-cart-quick {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-clean);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}
.add-to-cart-quick:hover {
  background: var(--color-accent);
  color: #000;
}
@media (max-width: 768px) {
  .product-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .add-to-cart-quick { padding: 0.6rem; font-size: 0.8rem; }
}

/* == MODAL == */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: center;
  z-index: 99999; opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
  background: var(--color-ivory); 
  padding: 3rem; 
  border-radius: 8px;
  width: 90%; max-width: 900px; 
  position: relative;
  transform: translateY(30px) scale(0.95); transition: transform 0.4s;
  max-height: 85vh; overflow-y: auto;
}
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none;
  font-size: 2rem; cursor: pointer; color: var(--color-text); line-height: 1;
}
.modal-gallery img { width: 100%; border-radius: 4px; object-fit: cover; height: 100%; max-height: 500px; }
.modal-info h3 { 
  font-size: 3.2rem; margin-bottom: 1rem; 
  color: var(--color-gold-soft);
  font-family: var(--font-title);
  font-weight: 400;
}
#modal-price, #modal-size { font-family: var(--font-clean); color: var(--color-gold-soft); font-size: 1.1rem; margin-bottom: 0.5rem; }
.modal-desc { margin: 1.5rem 0; color: #d0d0d0; font-family: var(--font-clean); }
.modal-materials { margin-bottom: 2rem; font-family: var(--font-clean); }
.modal-materials h4 { font-size: 1rem; margin-bottom: 0.5rem; color: #fff;}
.modal-materials ul { list-style-type: disc; margin-left: 1.5rem; color: #ccc; font-size: 0.9rem;}

.modal-quantity-wrapper {
  margin: 1.5rem 0; display: flex; align-items: center; gap: 1rem; font-family: var(--font-clean);
}
#modal-qty {
  width: 60px; padding: 0.5rem; background: rgba(0,0,0,0.3); color: #fff;
  border: 1px solid var(--color-accent); border-radius: 4px; outline: none; font-family: var(--font-clean);
}
.modal-disclaimer {
  font-size: 0.8rem; color: #a4a4a4; margin-bottom: 1.5rem; line-height: 1.4; font-family: var(--font-clean);
}


/* == QUIÉNES SOMOS == */
.storytelling { text-align: center; max-width: 800px; margin: 0 auto; }
.story-text { 
  font-size: 1.6rem; 
  margin-bottom: 2rem; 
  color: var(--color-gold-soft); 
  line-height: 1.8; 
}
.highlight { font-weight: 500; color: var(--color-accent-dark); font-style: italic; font-family: var(--font-title);}


/* == HISTORIA TIMELINE == */
.timeline { position: relative; max-width: 600px; margin: 0 auto; padding-left: 2rem; border-left: 2px solid var(--color-accent); }
.timeline-item { position: relative; margin-bottom: 3rem; opacity: 0; transform: translateX(-20px); transition: all 0.6s; }
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item::before {
  content: ''; position: absolute; left: -2.4rem; top: 0.3rem; width: 16px; height: 16px;
  border-radius: 50%; background: var(--color-accent); border: 3px solid var(--color-bg);
}
.timeline-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--color-brown-dark); }

/* == CONTACTO == */
.minimal-form { max-width: 600px; margin: 0 auto; background: var(--color-ivory); padding: 3rem; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.2);}
.input-group { position: relative; margin-bottom: 2rem; }
.input-group input, .input-group textarea {
  width: 100%; padding: 1rem 0; border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
  background: transparent; outline: none; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s;
  color: #fff;
}
.input-group input:focus, .input-group textarea:focus { border-bottom-color: var(--color-accent); }
.input-group label {
  position: absolute; top: 1rem; left: 0; color: rgba(255,255,255,0.5);
  transition: all 0.3s ease; pointer-events: none; font-size: 1rem;
}
/* Focus & filled state */
.input-group input:focus + label, .input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label, .input-group textarea:not(:placeholder-shown) + label {
  top: -12px; font-size: 0.75rem; color: var(--color-accent);
}
.input-group input::placeholder, .input-group textarea::placeholder { color: transparent; }

.submit-btn { width: 100%; }

/* == NEW CHECKOUT STYLES == */
.checkout-modal-pro {
  max-width: 800px !important;
  padding: 0 !important; /* Managed by scroll area padding in HTML */
}
.checkout-title {
  font-family: var(--font-title);
  color: var(--color-accent);
  margin-bottom: 2rem;
  text-align: center;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.full-width { grid-column: span 2; }
.double { grid-column: span 1; }

.payment-method-title {
  margin: 2rem 0 1rem;
  color: var(--color-gold-soft);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.payment-option {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(212,175,55,0.1);
  border-radius: 12px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.payment-option:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(212,175,55,0.3);
}
.payment-option:has(input:checked) {
  background: rgba(212,175,55,0.1) !important;
  border-color: #d4af37 !important;
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}
.payment-option input:checked + .option-content {
  color: #fff;
}
.payment-option .option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.payment-option .icon { font-size: 1.5rem; }
.payment-option .text { display: flex; flex-direction: column; }
.payment-option .method-name { font-weight: 600; font-size: 1rem; }
.payment-option .method-sub { font-size: 0.8rem; opacity: 0.6; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .full-width, .double { grid-column: span 1; }
  .checkout-modal-content { padding: 1.5rem !important; }
}

.whatsapp-btn-container { text-align: center; margin-top: 3rem; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1rem 2rem; background-color: #25D366; color: #fff; text-decoration: none; border-radius: 30px; font-weight: 500; transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37,211,102,0.3); }

/* FLOATING CHATBOT */
.floating-chatbot {
  position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px;
  background: var(--color-accent-dark); color: var(--color-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 99; transition: all 0.3s;
}
.floating-chatbot:hover { transform: scale(1.1); box-shadow: 0 5px 25px var(--color-accent); }
.floating-chatbot svg { width: 32px; height: 32px; }

/* == EASTER EGG == */
.interactive-scene {
  height: 100vh; position: relative; overflow: hidden;
  background: url('assets/images/easter_egg.png') center/cover no-repeat;
  cursor: none; /* Hide default mouse */
}
/* The dark overlay that hides the scene completely */
.interactive-scene::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(0, 0, 0, 0.98); z-index: 1; pointer-events: none;
  transition: background 0.3s;
}

/* The flashlight effect reveals the underlying image */
.cursor-glow {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: url('assets/images/easter_egg.png') center/cover no-repeat;
  z-index: 2; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
  mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
  opacity: 0; transition: opacity 0.3s;
}

.secret-candle-trigger {
  position: absolute; top: 66.2%; left: 51.2%; transform: translate(-50%, -50%);
  width: 80px; height: 120px; border-radius: 50%;
  z-index: 10; cursor: pointer;
  background: transparent;
}
.interactive-content {
  position: absolute; bottom: 10%; width: 100%; text-align: center; z-index: 3; 
}
.interactive-content .gold-instruction {
  font-family: var(--font-title);
  color: #D4AF37;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: normal;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
  margin: 0;
}


/* == REGALOS (Coupons) == */
#regalos {
  background: linear-gradient(rgba(26, 30, 36, 0.8), rgba(26, 30, 36, 0.8)), url('assets/images/bg_regalos.png') center/cover fixed; 
}
#regalos h2, #regalos p {
  color: var(--color-gold-soft);
}
.share-to-win {
  text-align: center; margin-top: 3rem;
}
.social-share-icons {
  display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 168, 45, 0.2), rgba(232, 168, 45, 0.05));
  border: 1px solid var(--color-accent);
  color: var(--color-gold-soft); text-decoration: none;
  transition: all 0.4s ease;
}
.share-btn:hover {
  background: var(--color-accent); color: #1A1E24; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(232, 168, 45, 0.3);
}
.share-btn svg { width: 30px; height: 30px; fill: currentColor; }

.coupons-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin-top: 4rem;
}


/* == CART DRAWER == */
.cart-drawer-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 10001;
  opacity: 0; pointer-events: none; transition: 0.3s;
}
.cart-drawer-overlay.active { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: -450px; width: 100%; max-width: 400px; height: 100vh;
  background: var(--color-bg); z-index: 10002; box-shadow: -5px 0 25px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.cart-drawer.active { right: 0; }
.cart-header { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center;}
.cart-close { background: none; border: none; font-size: 2rem; cursor: pointer; color: #fff;}
.cart-items { padding: 1.5rem; flex-grow: 1; overflow-y: auto; }
.cart-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1rem;}
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.cart-item-info { flex-grow: 1; }
.cart-item-title { font-size: 0.95rem; font-weight: 500; }
.cart-item-price { color: var(--color-accent-dark); font-size: 0.9rem; }
.cart-item-remove { color: #aaa; font-size: 0.8rem; cursor: pointer; border: none; background: none; text-decoration: underline; margin-top: 0.5rem;}
.cart-footer { padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.checkout-btn { width: 100%; }

/* == SECTION BACKGROUNDS == */
#catalogo {  background: linear-gradient(rgba(26, 30, 36, 0.8), rgba(26, 30, 36, 0.8)), url('assets/images/bg_catalogo.png') center/cover fixed; }
#quienes-somos {  background: linear-gradient(rgba(26, 30, 36, 0.8), rgba(26, 30, 36, 0.8)), url('assets/images/bg_quienes.png') center/cover fixed; }
#historia {  background: linear-gradient(rgba(26, 30, 36, 0.85), rgba(26, 30, 36, 0.85)), url('assets/images/bg_historia.png') center/cover fixed; }
#contacto {  background: linear-gradient(rgba(26, 30, 36, 0.85), rgba(26, 30, 36, 0.85)), url('assets/images/bg_contacto.png') center/cover fixed; }

/* == RESPONSIVE == */
/* == RESPONSIVE REFINEMENTS == */
@media (max-width: 768px) {
  /* Global */
  .section-padding { padding: 3rem 1.5rem; }
  .section-title { font-size: 2.2rem; margin-bottom: 2rem; }
  
  /* Hero */
  .brand-hero { 
    font-size: 2.5rem; /* Ajuste para que no se corte el nombre */
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  .hero-content p { font-size: 1rem; width: 90%; }
  
  /* Storytelling */
  .story-text { font-size: 1.05rem; line-height: 1.7; padding: 0 0.5rem; }
  .timeline { padding-left: 1.5rem; }
  
  /* Interactive Experience (Easter Egg) */
  .interactive-content .gold-instruction {
    font-size: 1.8rem; /* Mucho más pequeño para celular */
    padding: 0 1rem;
  }
  .secret-candle-trigger {
    width: 60px; height: 90px;
    top: 60%; /* Ajuste de posición vertical en pantallas chicas */
  }

  /* Catalog */
  .product-grid { gap: 1rem; }
  .product-info h3 { font-size: 1.1rem; }
  
  /* Modal Product Detail */
  .modal-content { 
    width: 95%; 
    max-height: 95vh; 
    overflow-y: auto; 
    padding: 1.5rem;
  }
  .modal-body { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  .modal-info h3 { font-size: 1.8rem; }
  .modal-desc { font-size: 0.95rem; }

  /* Navigation UI */
  .nav-actions { top: 1.2rem; right: 1rem; }
  #cart-btn span { display: none; }
}

@media (max-width: 480px) {
  .brand-hero { font-size: 2.1rem; }
  .section-title { font-size: 1.8rem; }
  .interactive-content .gold-instruction { font-size: 1.5rem; }
}
