@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

:root {
  --sage: #8a9e8c;
  --sage-light: #b8cbb9;
  --sage-pale: #d6e4d7;
  --cream: #f5f0e8;
  --warm-white: #faf8f3;
  --earth: #6b5b4e;
  --earth-light: #a08878;
  --rose: #c4957a;
  --rose-pale: #e8cfc3;
  --charcoal: #2c2c2c;
  --text-muted: #7a7368;
  --shadow-soft: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-card: 0 4px 20px rgba(107,91,78,0.12);
  --radius: 20px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Jost', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

/* ─── LOADING / INTRO ─── */
.cuerpo {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* ─── NAV LATERAL ─── */
.menu-btn {
  position: fixed;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(138,158,140,0.3);
  color: var(--earth);
  padding: 10px 14px;
  font-size: 20px;
  cursor: pointer;
  z-index: 200;
  border-radius: 50px;
  transition: var(--transition);
  line-height: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.menu-btn:hover {
  background: var(--sage);
  color: white;
  transform: scale(1.05);
  text-decoration: none;
}

nav#sideMenu {
  position: fixed;
  left: -320px;
  top: 0;
  height: 100%;
  width: 280px;
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 30px 40px;
  transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 150;
  border-right: 1px solid var(--sage-pale);
  box-shadow: 4px 0 40px rgba(0,0,0,0.08);
  gap: 0;
}

nav#sideMenu.active { left: 0; }

nav#sideMenu img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 32px;
  border: 3px solid var(--sage-pale);
  box-shadow: 0 4px 20px rgba(138,158,140,0.3);
}

nav#sideMenu a {
  color: var(--earth);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--sage-pale);
  transition: var(--transition);
}

nav#sideMenu a:first-of-type { border-top: 1px solid var(--sage-pale); margin-top: 10px; }
nav#sideMenu a:hover { color: var(--sage); letter-spacing: 3px; }

/* ─── OVERLAY NAV ─── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
  z-index: 140;
}
.nav-overlay.active { display: block; }

/* ─── HERO HOME ─── */
#background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5) saturate(0.8);
}

.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px 60px;
  position: relative;
}

.logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  margin-bottom: 32px;
  transition: var(--transition);
}

.logo:hover { transform: scale(1.05); box-shadow: 0 12px 50px rgba(0,0,0,0.4); }

#titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 300;
  font-style: italic;
  color: rgb(137, 137, 137);
  margin: 0 0 24px;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeUp 1s ease both;
}

#text1 {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 300;
  color: rgba(137, 137, 137, 0.92);
  max-width: 600px;
  line-height: 1.8;
  margin: 0 0 40px;
  letter-spacing: 0.5px;
  animation: fadeUp 1.2s ease both;
  padding: 0;
}

#sound-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
}

#sound-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* ─── SECCIÓN NOSOTROS ─── */
.nosotros-section {
  background: var(--warm-white);
  position: relative;
  z-index: 1;
}

.nosotros-intro {
  text-align: center;
  padding: 80px 40px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 16px;
  font-weight: 400;
}

.nosotros-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--earth);
  margin: 0 0 24px;
  line-height: 1.2;
}

#nosotros {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 60px clamp(20px, 6vw, 80px);
  background: transparent;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

#nosotros:nth-child(even) { flex-direction: row-reverse; background: var(--cream); }

#nosotros img {
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.nosotros-text {
  flex: 1;
  padding: clamp(20px, 4vw, 60px);
}

#nosotros p {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0;
  padding: 0;
}

#mision {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  color: var(--earth);
  text-decoration: none;
  margin: 0 0 20px;
  border-bottom: 2px solid var(--sage-pale);
  padding-bottom: 16px;
  display: block;
}

h2 { font-family: 'Cormorant Garamond', serif; }

/* ─── FOOTER ─── */
footer {
  background: var(--charcoal);
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 300;
}

footer p { margin: 0 0 12px; padding: 0; font-size: 13px; color: rgba(255,255,255,0.5); }

#nlt {
  color: var(--sage-light);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}

#nlt:hover { color: white; letter-spacing: 3px; }

#copy { border: none; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.4);
  letter-spacing: normal; /* cancela el efecto heredado del footer a:hover */
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ─── PRODUCTOS PAGE ─── */
.productos-header {
  background: var(--warm-white);
  text-align: center;
  padding: clamp(140px, 18vw, 200px) 20px clamp(40px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

.productos-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse, var(--sage-pale) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.productos-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  font-style: italic;
  color: var(--earth);
  margin: 16px 0 8px;
  position: relative;
  line-height: 1;
}

.productos-header p {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--sage);
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  font-weight: 400;
  position: relative;
}

.content2 {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 100;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(138,158,140,0.25);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Fila superior: menú + logo */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(138,158,140,0.12);
}

.content2 .logo {
  width: 46px;
  height: 46px;
  margin: 0;
  border: 2px solid var(--sage-pale);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ─── FILTROS (fila inferior del header fijo) ─── */
.boton {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 16px 11px;
  background: transparent;
  position: static;       /* NO sticky — vive dentro del fixed */
  border-bottom: none;
  box-shadow: none;
  z-index: auto;
}

#boton1, #boton2, #boton3, #boton4, #boton5, #boton6, #boton7, #boton8, #boton9, #boton10 {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--sage);
  background: transparent;
  color: var(--earth);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
}

#boton1:hover, #boton2:hover, #boton3:hover, #boton4:hover, #boton5:hover, #boton6:hover, #boton7:hover, #boton8:hover, #boton9:hover, #boton10:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138,158,140,0.3);
}

.boton-activo {
  background: var(--earth) !important;
  color: white !important;
  border-color: var(--earth) !important;
  box-shadow: 0 4px 16px rgba(107,91,78,0.3) !important;
}

.boton-inactivo {
  background: transparent !important;
  color: var(--earth) !important;
  border-color: var(--sage) !important;
}

/* ─── INVENTARIO ─── */
#inventario_contenedor {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px clamp(20px, 4vw, 60px) 120px;
  background: var(--cream);
}

.inventario {
  background: var(--warm-white);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(138,158,140,0.15);
  height: auto !important;
  width: auto !important;
}

.inventario:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(107,91,78,0.18);
}

.foto {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 0;
  border: none;
  margin: 0;
  padding: 0;
}

.inventario:hover .foto img {
  transform: scale(1.05);
}

.producto {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.etiqueta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--earth);
  line-height: 1.6;
  margin: 0;
  display: block;
}

#cantidad {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
  display: block;
}

.inventario input[type="number"] {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--sage-pale);
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: var(--earth);
  background: var(--cream);
  text-align: center;
  outline: none;
  transition: var(--transition);
  margin: 0;
}

.inventario input[type="number"]:focus {
  border-color: var(--sage);
  background: var(--warm-white);
  box-shadow: 0 0 0 3px rgba(138,158,140,0.15);
}

/* ─── CARRITO ─── */
#videof {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.15) saturate(0.5);
  display: none;
}

/* ─── ANIMACIONES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.inventario { animation: fadeIn 0.6s ease both; }
.inventario:nth-child(2) { animation-delay: 0.05s; }
.inventario:nth-child(3) { animation-delay: 0.1s; }
.inventario:nth-child(4) { animation-delay: 0.15s; }
.inventario:nth-child(5) { animation-delay: 0.2s; }

/* ─── DECORATIVE DIVIDER ─── */
.divider {
  text-align: center;
  padding: 20px;
  color: var(--sage-light);
  font-size: 20px;
  letter-spacing: 8px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 3px; }

/* ─── SELECT CANTIDAD ─── */
#cantidad, .cantidad-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
  display: block;
}

.qty-select {
  text-align: center;
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--sage-pale);
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--earth);
  background: var(--cream);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9e8c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding: 0 36px 0 16px;
}

.qty-select:focus, .qty-select:hover {
  border-color: var(--sage);
  background-color: var(--warm-white);
  box-shadow: 0 0 0 3px rgba(138,158,140,0.15);
}

/* ─── CARRITO TOGGLE BTN (mobile) ─── */
#carrito-toggle {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 110;
  background: var(--earth);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 13px 18px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(107,91,78,0.35);
  transition: var(--transition);
  align-items: center;
  gap: 6px;
}

#carrito-toggle:hover { background: var(--sage); transform: scale(1.05); }

.carrito-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rose);
  color: white;
  font-size: 11px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  min-width: 20px;
  height: 20px;
  border-radius: 50px;
  padding: 0 4px;
  line-height: 1;
}

.carrito-badge.oculto { display: none; }

/* ─── CARRITO FLOTANTE ─── */
.carrito-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sage-pale);
}

.carrito-cerrar {
  display: block;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: none;
}

.carrito-cerrar:hover { background: var(--sage-pale); color: var(--earth); }

#carrito-flotante {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: clamp(260px, 26vw, 340px);
  max-height: 65vh;
  background: var(--warm-white);
  border: 1px solid rgba(138,158,140,0.2);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  overflow-y: auto;
  z-index: 105;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Oculto por defecto — se abre con .abierto */
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

#carrito-flotante.abierto {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

#carrito-flotante h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--earth);
  margin: 0;
}

/* ─── PRECIO EN TARJETA ─── */
.precio-producto {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--earth);
  letter-spacing: 0.5px;
  margin: 4px 0 6px;
}

/* ─── ÍTEM CARRITO CON CONTROLES ─── */
.item-carrito {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sage-pale);
}

.item-carrito.vacio {
  color: var(--sage);
  font-style: italic;
  text-align: center;
  border: none;
  padding: 16px 0;
  display: block;
}

/* Info izquierda: nombre + precio unitario */
.item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.item-nombre {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.item-precio-unit {
  font-size: 11px;
  color: var(--sage);
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Derecha: controles + subtotal */
.item-derecha {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.item-subtotal {
  font-size: 13px;
  font-weight: 500;
  color: var(--earth);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.3px;
}

.item-controles {
  display: flex;
  align-items: center;
  gap: 4px;
}

.item-controles button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-pale);
  background: var(--cream);
  color: var(--earth);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  box-shadow: none;
  line-height: 1;
}

.item-controles button:hover { background: var(--sage); color: white; border-color: var(--sage); }

.item-controles .btn-delete {
  border-color: var(--rose-pale);
  color: var(--rose);
  font-size: 12px;
}

.item-controles .btn-delete:hover { background: var(--rose); color: white; border-color: var(--rose); }

.item-qty {
  font-size: 14px;
  font-weight: 500;
  color: var(--earth);
  min-width: 18px;
  text-align: center;
  font-family: 'Jost', sans-serif;
}

/* ─── TOTAL CARRITO ─── */
#carrito-total {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--sage-pale);
}

.total-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
}

.total-monto {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--earth);
  letter-spacing: 0.5px;
}

#whatsapp-btn {
  display: block;
  margin-top: 12px;
  padding: 12px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

#whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

#whatsapp-btn.disabled {
  background: var(--sage-pale);
  color: var(--text-muted);
  box-shadow: none;
  pointer-events: none;
}

.cta-btn {
      display: inline-block;
      font-family: 'Jost', sans-serif;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgb(144, 118, 99);
      text-decoration: none;
      padding: 14px 36px;
      border: 1.5px solid rgba(67, 47, 47, 0.12);
      border-radius: 50px;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      backdrop-filter: blur(8px);
      background: rgba(255, 255, 255, 0.073);
      margin-bottom: 40px;
      animation: fadeUp 1.4s ease both;
    }
    .cta-btn:hover {
      background: rgba(255, 255, 255, 0.138);
      border-color: rgba(49, 36, 36, 0.12);
      transform: translateY(-2px);
      letter-spacing: 4px;
    }
    @media (max-width: 768px) {
      .cta-btn { font-size: 11px; padding: 12px 28px; }
    }

/* ── SPLASH OVERLAY ── */
    #splash-overlay {
      position: fixed; inset: 0; z-index: 99999;
      background: #f5f0e8;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Jost', sans-serif;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    #splash-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

    .splash-wrap { text-align: center; animation: splashFadeIn 0.8s ease; }

    .splash-logo {
      width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
      border: 2px solid rgba(255,255,255,0.3);
      box-shadow: 0 0 60px rgba(138,158,140,0.4);
      margin-bottom: 28px;
      animation: splashGlowPulse 3s ease infinite;
    }

    .splash-petal { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
    .splash-petal span {
      width: 10px; height: 10px; border-radius: 50%; background: #8a9e8c;
      animation: splashBounce 1.4s ease infinite;
    }
    .splash-petal span:nth-child(2) { animation-delay: 0.2s; background: #c4957a; }
    .splash-petal span:nth-child(3) { animation-delay: 0.4s; background: #8a9e8c; }

    .splash-h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(28px, 5vw, 52px);
      font-weight: 300; font-style: italic;
      color: #6b5b4e; margin-bottom: 12px;
    }
    .splash-p {
      font-size: 12px; letter-spacing: 3px;
      text-transform: uppercase; color: #8a9e8c; font-weight: 300;
    }

    @keyframes splashBounce {
      0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
      40% { transform: scale(1.2); opacity: 1; }
    }
    @keyframes splashFadeIn {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes splashGlowPulse {
      0%, 100% { box-shadow: 0 0 60px rgba(138,158,140,0.4); }
      50%       { box-shadow: 0 0 90px rgba(138,158,140,0.7); }
    }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .menu-btn { top: 16px; left: 16px; font-size: 16px; padding: 8px 12px; }

  nav#sideMenu { width: 260px; left: -280px; }
  nav#sideMenu a { font-size: 13px; }

  .content { padding: 60px 24px 40px; }
  .logo { width: 110px; height: 110px; }
  #sound-btn { top: 16px; right: 16px; font-size: 16px; }

  #nosotros {
    flex-direction: column !important;
    padding: 40px 24px;
    gap: 24px;
  }

  #nosotros img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
  }

  .nosotros-text { padding: 0; }

  /* header-top en mobile */
  .header-top { padding: 7px 14px; }
  .content2 .logo { width: 38px; height: 38px; }

  /* filtros en mobile: más compactos */
  .boton { gap: 5px; padding: 7px 8px 9px; }
  #boton1, #boton2, #boton3, #boton4, #boton5, #boton6, #boton7, #boton8, #boton9, #boton10 {
    font-size: 9px;
    padding: 6px 9px;
    letter-spacing: 0.8px;
  }

  #inventario_contenedor {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 10px 120px;
  }

  .producto { padding: 10px; gap: 8px; }
  .etiqueta { font-size: 12px; }
  #cantidad, .cantidad-label { font-size: 10px; }
  .qty-select { height: 36px; font-size: 14px; }

  /* Carrito toggle flotante — ya visible en todas las pantallas */

  #carrito-flotante {
    width: calc(100vw - 32px);
    left: 16px;
    right: 16px;
    bottom: 80px;
    max-height: 55vh;
  }

  /* productos-header: mobile header ~95px total */
  .productos-header { padding: 110px 20px 30px; }
  .productos-header h1 { font-size: clamp(24px, 7vw, 40px); }

  footer { padding: 30px 16px; }
}

@media (max-width: 400px) {
  #inventario_contenedor { grid-template-columns: 1fr; }
  .inventario { max-width: 340px; margin: 0 auto; }
}

@media (min-width: 1400px) {
  #inventario_contenedor { grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin: 0 auto; }
}
/* ─── SIN STOCK / CONSULTAR ─── */
.sin-stock-badge {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-pale);
  border-radius: 50px;
  padding: 2px 10px;
  vertical-align: middle;
  margin-right: 4px;
}

.btn-consultar {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--rose);
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-consultar:hover {
  background: var(--rose);
  color: white;
  box-shadow: 0 4px 16px rgba(196,149,122,0.3);
}

.btn-consultar-agregado {
  background: var(--rose-pale) !important;
  color: var(--rose) !important;
  border-color: var(--rose-pale) !important;
  cursor: default !important;
}

.consultar-tag {
  color: var(--rose) !important;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════
   FOTO OVERLAY — "Haz clic aquí para ver beneficios"
══════════════════════════════════════════════════════ */
.foto {
  position: relative;
}

.foto-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  background: linear-gradient(to top, rgba(107,91,78,0.72) 0%, transparent 60%);
  border-radius: 0;
}

.foto-overlay span {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.12);
  white-space: normal;
  max-width: 80%;
  line-height: 1.4;
}

.foto:hover .foto-overlay,
.inventario:hover .foto-overlay {
  opacity: 1;
}

/* touch devices: always visible */
@media (hover: none) {
  .foto-overlay { opacity: 1; }
}

/* pantallas pequeñas: siempre visible */
@media (max-width: 768px) {
  .foto-overlay { opacity: 1; }
}

/* ══════════════════════════════════════════════════════
   MODAL DE PRODUCTO — pantalla completa
══════════════════════════════════════════════════════ */
.modal-producto-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(44,44,44,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-producto-overlay.modal-activo {
  opacity: 1;
  pointer-events: all;
}

.modal-producto-box {
  position: relative;
  display: flex;
  gap: 0;
  background: var(--warm-white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-producto-overlay.modal-activo .modal-producto-box {
  transform: translateY(0) scale(1);
}

/* Botón cerrar */
.modal-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-pale);
  background: var(--warm-white);
  color: var(--earth);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  line-height: 1;
  padding: 0;
}
.modal-cerrar:hover { background: var(--sage); color: #fff; border-color: var(--sage); }

/* Columna imagen */
.modal-img-col {
  width: 45%;
  flex-shrink: 0;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Columna info */
.modal-info-col {
  flex: 1;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.modal-cat-badge {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-pale);
  border-radius: 50px;
  padding: 4px 14px;
  align-self: flex-start;
}

.modal-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  color: var(--earth);
  margin: 0;
  line-height: 1.2;
}

.modal-precio-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--earth);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Beneficios */
.modal-beneficios {
  background: var(--cream);
  border-radius: 16px;
  padding: 18px 20px;
  border-left: 3px solid var(--sage);
}
.modal-beneficios h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--earth);
  margin: 0 0 8px;
}
.modal-beneficios p {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.2px;
}

/* Acciones */
.modal-acciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-pale);
  background: var(--cream);
  color: var(--earth);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  box-shadow: none;
  line-height: 1;
}
.modal-qty-btn:hover { background: var(--sage); color: #fff; border-color: var(--sage); }

.modal-qty-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--earth);
  min-width: 32px;
  text-align: center;
}

.modal-btn-agregar {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--earth);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(107,91,78,0.25);
}
.modal-btn-agregar:hover { background: var(--sage); box-shadow: 0 6px 20px rgba(138,158,140,0.35); transform: translateY(-2px); }
.modal-btn-en-carrito { background: var(--sage) !important; }

.modal-btn-consultar {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--rose);
  border-radius: 14px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.modal-btn-consultar:hover { background: var(--rose); color: #fff; box-shadow: 0 4px 16px rgba(196,149,122,0.3); }

/* ── Responsive modal ── */
@media (max-width: 640px) {
  .modal-producto-overlay { padding: 0; align-items: flex-end; }

  .modal-producto-box {
    flex-direction: column;
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    max-width: 100%;
  }

  .modal-img-col {
    width: 100%;
    height: 240px;
    flex-shrink: 0;
  }

  .modal-info-col { padding: 24px 20px 32px; gap: 12px; }
  .modal-nombre { font-size: clamp(20px, 6vw, 28px); }
  .modal-beneficios p { font-size: 12px; }
}