/* ========== RESET ========== */
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}

/* ========== TIPOGRAFÍAS ========== */
body{
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#2b2222;
  background:#f6a3bb;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x: hidden;
}

/* ========== BARRA DE NAVEGACIÓN LATERAL ========== */
.navbar-lateral {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: width 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.navbar-lateral:hover {
  width: 250px;
}

.nav-logo {
  text-align: center;
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-menu {
  list-style: none;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.3);
  border-right: 3px solid #ff65a3;
}

.nav-link i {
  font-size: 1.5rem;
  margin-right: 15px;
  min-width: 30px;
  text-align: center;
}

.nav-link span {
  opacity: 0;
  transition: opacity 0.3s;
}

.navbar-lateral:hover .nav-link span {
  opacity: 1;
}

.nav-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.nav-footer p {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: #555;
  opacity: 0;
  transition: opacity 0.3s;
}

.navbar-lateral:hover .nav-footer p {
  opacity: 1;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons a {
  color: #555;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff65a3;
}

/* ========== CONTENIDO PRINCIPAL ========== */
.main-content {
  margin-left: 80px;
  transition: margin-left 0.3s ease;
}

.navbar-lateral:hover ~ .main-content {
  margin-left: 250px;
}

/* ========== CARRITO FLOTANTE ========== */
.carrito-flotante {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 70px;
  height: 70px;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;

    /* 🌸 Fondo rosa y forma circular */
  background-color: #fc677d; /* Rosa suave */
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(157, 81, 92, 0.5);
 /* 🌟 Animación de aparición */
   opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s, box-shadow 0.3s;
}

.carrito-flotante img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: agitar 6s ease-in-out infinite;
}

/* Cuando se activa (visible) */
.carrito-flotante.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.carrito-flotante:hover {
  transform: scale(1.2);
   box-shadow: 0 8px 25px rgba(255, 105, 180, 0.6);
}

.carrito-flotante span {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff66b2;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 7px;
}

/* ========== PRODUCTOS ========== */
/* Eliminamos los estilos de cantidad de los productos */
.producto label,
.producto input.cantidad {
  display: none;
}

.marco-imagen {
  width: 96%;            /* deja 2 % a cada lado */
  max-width: 800px;     /* o el ancho que prefieras */
  margin: 20px auto 0;   /* centrado y pegado arriba */
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 50 / 6;  /* «banner» bajo – ajústalo */
  position: relative;

   box-shadow:
    0 30px 30px rgba(0, 0, 0, 0.1),   /* sombra cercana */
    0 30px 30px rgba(0, 0, 0, 0.15), /* sombra media */
    inset 0 1px 0 rgba(255,255,255,0.4); /* brillo interno */

  /* Opcional: borde con ligero degradado para más profundidad */
  border: 2px solid rgba(0,0,0,0.1);
}

.marco-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* cubre sin deformar */
}

/* ========== HERO / HEADER ========== */
.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  padding:2.5rem 6% 3.2rem;
  background: linear-gradient(180deg, #f6a3bb 0%, #f0abbf 30%);
  position:relative;
  overflow:hidden;
  min-height: 90vh;
}

.hero-link {
  text-decoration: none;
  color: inherit;
  font-size: 22px;
  font-family: 'Gliker', sans-serif;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.hero-link:hover {
  transform: translateX(5px);
}

.hero-content {
  flex: 1;
  max-width: 50%;
}

.hero .options {
  font-size: 22px;
  font-family: 'Gliker', sans-serif;
  font-weight: bold;
  margin-top: 40px;
}

.options p {
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.3s;
}

.options p:hover {
  transform: translateX(5px);
}
/* 🌸 Efecto de transición suave entre secciones */
.seccion {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Cuando la sección se vuelve visible */
.seccion.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo / titulo */
.hero h1{
  font-weight: bold;
  font-family: 'Gliker', sans-serif !important;
  font-size:4.5rem;
  letter-spacing:1px;
  color:#000;
  margin-bottom:0.4rem;
  line-height:1;
}
.hero .frase{
  font-family: "Playfair Display", serif;
  font-style:italic;
  font-size:1.4rem;
  color:#090909;
  margin-bottom:1.2rem;
}

/* imagen hero a la derecha */
.hero-img{
  flex:0 0 420px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-img img{
  width:420px;
  max-width:100%;
  border-radius:8px;
  display:block;
  object-fit:cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ========== SOBRE NOSOTROS ========== */
.sobre-nosotros {
  position: relative;
  min-height: 60vh;          /* más alto que antes */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  margin: 40px auto;
  width: 96%;
  max-width: 1400px;
}

/* --- imagen de fondo (cambia la url) --- */
.sobre-nosotros__bg {
  position: absolute;
  inset: 0;
  background: url("images/Luna.jpg") center/cover no-repeat;
  filter: blur(2px);          /* difuminado elegante */
  opacity: 0.25;              /* 25 % de visibilidad */
  z-index: 1;
}

/* --- capa oscura intermedia para texto legible --- */
.sobre-nosotros::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,.65); /* tono oscuro semi-transparente */
  z-index: 2;
}

/* --- texto --- */
.sobre-nosotros__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #f1f1f1;
  padding: 3rem 2rem;
  max-width: 800px;
}

.sobre-nosotros h2 {
  font-family: 'Parisienne', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.sobre-nosotros p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ========== NUESTRA PROMESA ========== */
.nuestra-promesa {
  text-align: center;
  padding: 4rem 6%;
  background: #ddf5dc;
}

.nuestra-promesa h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 2rem;
  color: #141414;
}

.promesa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.promesa-item {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.promesa-item:hover {
  transform: translateY(-5px);
}

.promesa-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.promesa-item h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
  color: #141414;
}

/* ========== COLECCIÓN ========== */
.titulo-luna {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #ff69b4; /* tu rosa del texto */
}

/* 🌙 Fondo decorativo (la imagen va justo detrás del texto) */
.titulo-luna::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 220%;
  transform: translate(-50%, -50%);
  background-image: url("images/Luna-icono.png"); /* 🔮 tu icono sin fondo */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.25; /* sutil para no tapar el texto */
  z-index: -1; /* detrás del texto */
}

.marco-esquina {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 150px;
  height: 1100px;
  border: 3px solid #f8b4d9; /* puedes cambiar el color del marco */
  border-radius: 10px;
  background-color: #fff8fb; /* un fondo suave */
  padding: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: none; /* Ocultar en móviles */
}

.marco-esquina img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.coleccion{
   position: relative;
  background-color: #282726;
  padding: 60px 40px;
  overflow: hidden; /* evita que se salga el marco */
}

.coleccion h2{
  font-family:"Playfair Display", serif;
  color:#efefef;
  font-size:2.6rem;
  margin-bottom:1rem;
}
.coleccion .destacado {
  color: #ff4f9b;
}
.coleccion p{
  max-width:760px;
  margin:0 auto;
  color:#ffffff;
  line-height:1.6;
  padding:0 1rem;
  margin-bottom: 2rem;
}

.coleccion .precio {
  color: #000;
}

/* ========== PRODUCTOS ========== */
.productos{
  display:flex;
  gap:1.8rem;
  justify-content: flex-start;
  flex-wrap:wrap;
  margin-top:2.2rem;
}
.producto{
  width:260px;
  background:#f7eae3;
  border-radius:12px;
  padding:1.2rem;
  text-align:center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  position:relative;
  transition: transform 0.3s;
}

.producto:hover {
  transform: translateY(-10px);
}

.producto img{
  width:100%;
  height:210px;
  object-fit:contain;
  border-radius:8px;
  background:transparent;
}
.producto .desc{
  font-size:0.95rem;
  color:#3b2a1a;
  margin:0.9rem 0;
  min-height:48px;
}

.producto button {
  background: linear-gradient(135deg, #ff7eb3, #ff65a3);
  border: none;
  color: white;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 101, 163, 0.3);
  width: 100%;
  font-size: 1rem;
}

.producto button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 101, 163, 0.4);
  background: linear-gradient(135deg, #ff65a3, #ff3385);
}

.precio {
  font-weight: bold;
  font-size: 1.2rem;
  color: #b97a56;
  margin: 10px 0;
}

.btn{
  display:inline-block;
  text-decoration:none;
  padding:.7rem 1.2rem;
  border-radius:10px;
  background:#b97a56;
  color:#fff;
  font-weight:700;
  box-shadow: 0 6px 14px rgba(185,122,86,0.25);
  transition: transform .14s ease, box-shadow .14s ease;
  border: none;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.14) }

/* ========== COMUNIDAD ========== */
.comunidad {
  text-align: center;
  padding: 4rem 6%;
  background: linear-gradient(180deg, #ffd6f0 0%, #ffeccf 100%);
}

.comunidad h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: #141414;
}

.comunidad p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #342f2f;
  line-height: 1.6;
}

.form-comunidad {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-comunidad input {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-comunidad {
  background: #ff4f9b;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-comunidad:hover {
  background: #e04387;
}

/* ========== LUNARIA LOVERS MEJORADO ========== */
.lunaria-lovers {
  text-align: center;
  padding: 4rem 6%;
  background: #f9f3f0;
}

.lunaria-lovers h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: #141414;
}

.lunaria-lovers p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #342f2f;
  line-height: 1.6;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.galeria-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.galeria-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Enfoca en el rostro */
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 20px 10px 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
  transform: translateY(0);
}

.galeria-overlay span {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  text-align: center;
}

/* ========== CARRITO DE COMPRAS MEJORADO ========== */
/* Modal del carrito */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-contenido {
  background: #fff8fb;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  animation: aparecer 0.4s ease;
  position: relative;
  border: 2px solid #ffe0eb;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-contenido h3 {
  color: #ff3385;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-contenido h4 {
  color: #ff3385;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  margin: 20px 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carrito-items {
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.item-carrito {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ffcce0;
}

.item-info {
  flex: 1;
}

.item-nombre {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.item-precio {
  color: #ff65a3;
  font-weight: 600;
}

.controles-cantidad {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cantidad {
  background: #ff65a3;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cantidad:hover {
  background: #ff3385;
  transform: scale(1.1);
}

.cantidad-actual {
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.btn-eliminar {
  background: #ff4f5b;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 10px;
}

.btn-eliminar:hover {
  background: #ff2a38;
  transform: scale(1.1);
}

.carrito-total {
  text-align: right;
  padding: 15px 0;
  border-top: 2px solid #ffcce0;
  margin-top: 10px;
}

.carrito-total p {
  font-size: 1.3rem;
  color: #333;
}

.datos-compra {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #ffcce0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
  background: white;
}

.form-group input:focus {
  border-color: #ff65a3;
  box-shadow: 0 0 8px rgba(255, 101, 163, 0.3);
  outline: none;
}

.metodos-pago {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.metodo-pago {
  flex: 1;
  border: 2px solid #ffcce0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}

.metodo-pago:hover {
  border-color: #ff65a3;
  transform: translateY(-3px);
}

.metodo-pago.seleccionado {
  border-color: #ff65a3;
  background: rgba(255, 101, 163, 0.1);
  box-shadow: 0 5px 15px rgba(255, 101, 163, 0.2);
}

.metodo-pago img {
  height: 30px;
  object-fit: contain;
  margin-bottom: 8px;
}

.metodo-pago span {
  font-weight: 600;
  color: #333;
}

.btn-finalizar {
  background: linear-gradient(135deg, #ff7eb3, #ff65a3);
  border: none;
  color: white;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 101, 163, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-finalizar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 101, 163, 0.4);
  background: linear-gradient(135deg, #ff65a3, #ff3385);
}

.modal-contenido button.cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #ff65a3;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-contenido button.cerrar:hover {
  background: #ff3385;
  transform: scale(1.1);
}

/* Animacon de Carrito Modal */
@keyframes aparecer {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ✨ Animación de agitación suave */
  @keyframes agitar {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-8deg); }
  94% { transform: rotate(8deg); }
  96% { transform: rotate(-6deg); }
  98% { transform: rotate(6deg); }
}

/* ========== BOTÓN HAMBURGUESA ========== */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: #fc677d;
  border: none;
  border-radius: 5px;
  padding: 12px 14px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width:1200px){
  .hero-img{ flex-basis:360px }
  .hero h1{ font-size:3.8rem }
  .productos {
    justify-content: center;
  }
}

@media (max-width:1000px){
  .hero{ padding:2.4rem 5% }
  .hero-img{ flex-basis:320px }
  .hero h1{ font-size:3.2rem }
}

@media (max-width:768px){
  .hamburger {
    display: block;
  }
  
  .navbar-lateral {
    width: 0;
    transform: translateX(-100%);
  }
  
  .navbar-lateral.active {
    width: 280px;
    transform: translateX(0);
  }
  
  .nav-link span {
    opacity: 1;
  }
  
  .nav-footer p {
    opacity: 1;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .hero{ 
    flex-direction:column; 
    gap:1.5rem; 
    text-align:center; 
    padding:4rem 5% 2rem;
    min-height: auto;
  }
  
  .hero-content { 
    max-width: 100%; 
  }
  
  .hero .hero-content{ order:2 }
  .hero-img{ order:1; width:100%; flex: none; }
  .hero-img img{ width:90%; margin:0 auto }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero .frase {
    font-size: 1.2rem;
  }
  
  .hero-link {
    font-size: 1.1rem;
  }
  
  .productos{ 
    flex-direction:column; 
    align-items:center;
    gap: 1.5rem;
  }
  
  .producto{ 
    width:90%;
    max-width: 350px;
  }
  
  .sobre-nosotros::after{ display:none }
  
  .metodos-pago {
    flex-direction: column;
  }
  
  .modal-contenido {
    padding: 20px;
    width: 95%;
    margin: 20px;
  }
  
  .coleccion {
    padding: 40px 20px;
  }
  
  .coleccion h2 {
    font-size: 2rem;
  }
  
  .marco-esquina {
    display: none;
  }
  
  .carrito-flotante {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }
  
  .nuestra-promesa h2,
  .comunidad h2,
  .lunaria-lovers h2 {
    font-size: 2rem;
  }
  
  .galeria {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .galeria-item {
    height: 150px;
  }
}

@media (max-width:480px){
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .frase {
    font-size: 1rem;
  }
  
  .hero-link {
    font-size: 1rem;
  }
  
  .producto{ 
    width:95%;
    padding: 1rem;
  }
  
  .producto img {
    height: 180px;
  }
  
  .coleccion h2 {
    font-size: 1.8rem;
  }
  
  .nuestra-promesa,
  .comunidad,
  .lunaria-lovers {
    padding: 3rem 5%;
  }
  
  .nuestra-promesa h2,
  .comunidad h2,
  .lunaria-lovers h2 {
    font-size: 1.8rem;
  }
  
  .promesa-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .galeria {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .galeria-item {
    height: 140px;
  }
  
  .carrito-flotante {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  
  .modal-contenido {
    padding: 15px;
  }
  
  .modal-contenido h3 {
    font-size: 1.3rem;
  }
  
  .btn-finalizar {
    padding: 12px;
    font-size: 1rem;
  }
  
  .sobre-nosotros {
    min-height: 50vh;
  }
  
  .sobre-nosotros__content {
    padding: 2rem 1rem;
  }
  
  .marco-imagen {
    aspect-ratio: 16 / 9; /* Más proporcional en móviles */
    margin: 10px auto 0;
  }
}

/* Bloqueo de scroll cuando el menú está abierto */
html.no-scroll, body.no-scroll { overflow: hidden; }

/* Backdrop del menú lateral en móvil */
.nav-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1000; /* por debajo de la barra (z=1000+) pero encima del contenido */
}
.nav-backdrop.visible{
  opacity: 1;
  visibility: visible;
}

/* El efecto “ensanchamiento por hover” SOLO en desktop con puntero fino */
@media (hover: hover) and (pointer: fine) {
  .navbar-lateral { width: 80px; }
  .navbar-lateral:hover { width: 250px; }
  .navbar-lateral:hover ~ .main-content { margin-left: 250px; }
}

/* En móvil: el panel no empuja al contenido; se superpone */
@media (max-width: 768px){
  .navbar-lateral{
    width: 280px;                 /* ancho real del panel */
    transform: translateX(-100%); /* oculto fuera de pantalla */
    will-change: transform;
  }
  .navbar-lateral.active{ transform: translateX(0); }

  /* ¡Clave! Aunque “simule” hover en móvil, NO debe mover el main */
  .main-content{ margin-left: 0 !important; }
  .navbar-lateral:hover ~ .main-content{ margin-left: 0 !important; }
}
