/* ======================= */
/*      ESTILOS GLOBALES   */
/* ======================= */


/* Fuente Delius */
@font-face {
  font-family: 'Delius';
  src: url('Fuentes/Delius-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Philosopher';
  src: url('Fuentes/Philosopher-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Fuente Antonio */
@font-face {
  font-family: 'Antonio';          /* usa minúsculas correctas y termina con ; */
  src: url('Fuentes/Antonio-VariableFont_wght.ttf') format('truetype'); /* scr → src */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lancelot';        /* usa minúsculas correctas y termina con ; */
  src: url('Fuentes/Lancelot-Regular.ttf') format('truetype'); /* scr → src */
  font-weight: normal;
  font-style: normal;
}



html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #180606;
}



/* ======================= */
/*         HEADER          */
/* ======================= */
.logos-container {
  max-width: 100%;
  background-color: #f3b1c5;
  height: 60px; /* reduce altura para hacerlo más angosto */
  display: flex;           /* 🔹 Esto activa flexbox */
  justify-content: center; /* Centra horizontal */
  align-items: center;  
    
}

.logo-grande {
  width: 180px; /* reducido para que no sea tan ancho */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0px;

  margin-bottom: 35px;
  z-index: 3;
}

/* 🔹 Ajustes para pantallas medianas (tablets) */
@media (max-width: 768px) {
  .logos-container {
    height: 80px; /* menos alto */
  }

  .logo-grande {
    width: 250px; /* más pequeño */
    margin-bottom: 40px;
  }
}

/* 🔹 Ajustes para pantallas pequeñas (celulares) */
@media (max-width: 480px) {
  .logos-container {
    height: 60px; /* aún más bajo */
  }

  .logo-grande {
    width: 180px; /* bien compacto */
    margin-bottom: 20px;
  }
}
/* ==============================
   SECCIÓN BIENVENIDA (HERO)
================================ */

.seccion-bienvenida{
  position:relative;  /* Permite que los elementos internos con position:absolute
                       se posicionen tomando esta sección como referencia */
  overflow:hidden; /* Oculta cualquier parte de la imagen o elementos que se salgan del contenedor */
  min-height:420px; /* Altura mínima de la sección bienvenida */
  padding:80px 20px; /* Espacio interno arriba/abajo (80px) y a los lados (20px) */
  display:flex; /* Activa flexbox para organizar el contenido interno */
  flex-direction:column; /* Ordena los elementos en columna */
  justify-content:center; /* Centra verticalmente los elementos dentro del contenedor */
}

/* ==============================
   IMAGEN DE FONDO
================================ */

.bienvenida-fondo{
  position:absolute; /* Permite que la imagen se coloque libremente dentro de la sección */
  inset:0;
  /* Equivale a:
     top:0;
     left:0;
     right:0;
     bottom:0;
     Hace que la capa ocupe todo el contenedor */
  z-index:0; /* Coloca esta capa detrás de todo el contenido */
}

.bienvenida-fondo img{

  width:100%; /* Hace que la imagen ocupe todo el ancho del contenedor */
  height:100%; /* Hace que la imagen ocupe toda la altura */
  object-fit:cover; /* La imagen cubre el espacio sin deformarse */
  object-position:center 35%; /* Ajusta el encuadre de la imagen
     center = centrado horizontal
     10% = desplazamiento vertical */
}

/* ==============================
   FILTRO OSCURO SOBRE IMAGEN
================================ */

.seccion-bienvenida::before{
  content:""; /* Crea un pseudo-elemento invisible */
  position:absolute;
  inset:0;  /* Hace que cubra toda la sección */
  background:rgba(0, 0, 0, 0.479);  /* Capa negra semitransparente
     sirve para oscurecer la imagen de fondo */
  z-index:1;
  /* Se coloca sobre la imagen pero debajo del contenido */
}


/* ==============================
   CONTENIDO SOBRE EL FILTRO
================================ */

.seccion-bienvenida .contenido{

  position:relative;
  z-index:2;
  /* Asegura que el contenido esté encima del overlay oscuro */
}




/* ==============================
   TEXTO DE BIENVENIDA
================================ */



/* ==============================
   SEGUNDO BLOQUE .bienvenida-texto
   (sobrescribe parte del anterior)
================================ */

.bienvenida-texto{
 position:absolute; /* Permite posicionarlo libremente dentro de la sección */
 top:57%;
 left:50%;
 transform:translate(-50%, -50%); /* Centrado horizontal y vertical */
 max-width:350px; /* Reduce el ancho del texto respecto al bloque anterior */

  z-index:2; /* Se coloca sobre la capa oscura */
  font-size:25px;
  font-family:'Lancelot';  /* Tipografía decorativa */
 
  text-align:center;
  margin:auto;  /* Centra el bloque dentro del contenedor */
  color:rgb(255 225 140);  /* Color dorado claro */
  text-shadow:0 2px 6px rgb(0 0 0); /* Sombra negra para mejorar contraste sobre la imagen */
  animation: aparecerSuave 3s ease forwards;

}


/* ==============================
   LOGO FLOTANTE HERO
================================ */

.logo-hero{

  position:absolute;

  top:-40px;
  /* Hace que el logo sobresalga hacia arriba */

  left:80%;
  /* Posición horizontal dentro de la sección */

  transform:translateX(-50%);
  /* Ajusta centrado relativo */

  z-index:3;
  /* Encima del texto y del overlay */
  
}

.logo-hero img{

  height:160px;
  /* Tamaño del logo */

  filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.5));
  /* Sombra suave para destacarlo sobre el fondo */
}


/* ==============================
   SEGUNDO BLOQUE DEL TÍTULO
   (SOBRESCRIBE EL PRIMERO)
================================ */

.seccion-bienvenida .h12{

  position:absolute;

  top:15%;
  /* Nueva posición vertical del título */

  left:50%;

  transform:translateX(-50%);

  width:100%;

  text-align:center;

  z-index:2;

  color:#ffe8a3;
  /* Color dorado claro */

  font-size:60px;
  /* Tamaño grande para el título principal */

  text-shadow:
    0 2px 6px rgba(0,0,0,0.6),
    0 0 12px rgba(255,232,163,0.3);
  /* Sombra + brillo suave */
  animation: aparecerSuave 1s ease forwards;
}


/* ==============================
   BOTÓN IR A LA TIENDA
================================ */

.boton-tienda{

  position:absolute;

  top:75%;
  /* Posición vertical dentro de la sección */

  left:50%;

  transform:translateX(-50%);
  /* Centra el botón */

  z-index:3;

    animation: aparecerSuave 5s ease forwards;
}

.boton-tienda img{

  width:340px;
  /* Tamaño de la imagen del botón */

  transition:transform 0.3s ease;
  /* Animación suave al hacer hover */
  z-index: 8;
   
  
}

.boton-tienda img:hover{

  transform:scale(1.05);
  /* Agranda ligeramente el botón al pasar el mouse */
}

/* ======================= */
/*       CARRITO           */
/* ======================= */

#carrito {
  flex: 1;
  min-width: 280px;
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.88);
  padding: 20px;

  

  position: sticky;
  top: 20px;
  height: fit-content;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#carrito {
  display: none;
}

#carrito.show {
  display: block;
}

#carrito ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#carrito li {
  color: #240202;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: small;
}

#carrito button {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;

 
}


#carrito button:hover {
  background-color: #f3b1c5;
}

#carrito.abierto {
  display: block; /* se muestra cuando tiene la clase */
}






/* ======================= */
/*        PRODUCTOS        */
/* ======================= */

/* Párrafo de stock */
.producto p.stock {
  font-size: 0.8rem;
  color: rgb(119, 11, 11);
  font-weight: bold;
  margin: 0px;
}

.producto p.disponible {
  font-size: 0.8rem;
  color: rgb(35, 172, 17);
  font-weight: bold;
  margin: 0px;
}

/* Párrafo de precio */
.producto p.precio {
    font-size: 18px;
    color: #21010c;
    
}

/* ======================= */
/*        RESPONSIVE       */
/* ======================= */

@media (max-width: 600px) {
  .productos-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Contenedor de la imagen principal */
.imagen-container {
  width: 100%;
  height: 300px; /* altura fija */
  
  position: relative; /* para que la descripción quede sobre la imagen */
object-fit: cover;
}

/* Imagen principal */
.imagen-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantiene proporciones y recorta si es necesario */
 
  transition: opacity 2s ease;
}

/* Contenedor de la descripción */
.imagen-container .descripcion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* igual que la imagen principal */


  /* centra la imagen de descripción */
  opacity: 0;
  transition: opacity 2s ease;
  background-color: rgba(255, 255, 255, 0.3); /* opcional, un poco de fondo */
}

/* Imagen dentro de la descripción */
.imagen-container .descripcion img {
  width: 100%; /* tamaño fijo o relativo que quieras */
  height: 100%; /* mantiene proporción */
   object-fit: cover; /* corta lo que sobresalga, mantiene proporción */
  
  overflow: hidden; /* recorta cualquier parte que sobresalga */
}

.producto .detalle {
  font-size: 12px;       /* tamaño de letra */
  color: #555;           /* color del texto */
  margin-top: 0px;       /* espacio superior */
  line-height: 1.4;      /* altura de línea */
  
}

footer {
    width: 100%;
    background-color: #ffebffab;
    color: #ff207d;
    padding: 10px 0;
    font-family: 'Lancelot';
    display: absolute;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}


.instagram-box a {
  color: #f181ac;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px; /* espacio entre imagen y texto */
  font-weight: bold;
  font-size: 1em;
}

.instagram-box a:hover {
  text-decoration: underline;
}

.instagram-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-naranja {
  color: white;
  padding: 12px 0;
  width: 310px;          /* ancho igual al botón PayPal típico */
  height: 45px;          /* altura igual */
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: block;
  margin: 10px auto;
  transition: background-color 0.3s ease;
  
}






/* Cambiar color de los párrafos <p> */
.modal-transferencia p {
  color: #555555; /* gris oscuro */
  font-size: 16px;
}

/* Cambiar color y estilo del texto dentro de h5 */
.modal-transferencia h5 {
  color: #f11149; /* morado rosado */
  font-style: 'Delius';
  margin-top: 15px;
}

/* Cambiar estilo del h4 (ojo, "bold" no es etiqueta válida, usar <strong>) */
.modal-transferencia h4 {
  color: #000000; /* rosa intenso */
  font-weight: bold;
  margin-top: 10px;
}

.producto {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  z-index: 3;
}
.qty-badge {
  background: #ff4757;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.85rem;
  margin-left: 8px;
  display: inline-block;
}


.item-controls { display: inline-flex; gap:8px; align-items:center; margin-left:10px; }
.item-controls button { padding:4px 8px; border-radius:6px; cursor:pointer; }
.item-subtotal { font-weight:600; margin-left:8px; }
.agregado { transform: scale(0.95); transition: transform 0.15s; }

#total {
  display: block;
  margin: 0 auto 15px auto; /* arriba 0, laterales auto, abajo 15px */
  text-align: center;
}
.nav-banner {
  background-color: #000;
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;       /* permite que los enlaces bajen en móviles */
  padding: 12px 0;
  gap: 15px;             /* un poquito menos en móviles */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  font-family: 'Delius';
  font-size: 30px;
 
}

.nav-link {
  color: #ebc10a;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  white-space: nowrap;   /* evita que el texto se rompa en varias líneas */
  z-index: 20;
  font-size: 17px;
}

.nav-link:hover {
  background-color: #eca2a2;
}

/* -----------------------
   Responsivo
----------------------- */
@media (max-width: 768px) {
  .nav-banner {
    gap: 10px;           /* menos espacio entre enlaces */
    font-size: 18px;      /* texto más pequeño */
  }
}

@media (max-width: 480px) {
  .nav-banner {
    flex-direction: column; /* apila enlaces verticalmente */
    align-items: center;
    gap: 8px;
  }
  .nav-link {
    padding: 6px 12px;
    font-size: 16px;
  }
}


.logo-header {
  filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.5));
}


.h12 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Antonio';
    font-size: 28px;
    font-weight: bold;
    color: #73134cfa;
    /* margin: 10px 0; */
    text-transform: uppercase;
}
.h12::before,
.h12::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #ccc; /* grosor y color de la rayita */
  margin: 0 12px;                /* espacio entre texto y línea */
}
.seccion-blog-home .h12{
     position:absolute;
  top:10%;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  text-align:center;
  z-index:2;
    color:#ffe8a3;
font-size: 50px;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.6),
    0 0 12px rgba(255,232,163,0.3);
}
.h13 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Antonio';
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  margin: 10px 0;
  text-transform: uppercase; /* opcional */text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(0, 0, 0, 0.3);

}

.h13::before,
.h13::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #e4dcc2; /* grosor y color de la rayita */
  margin: 0 12px;                /* espacio entre texto y línea */
}

.modal-transferencia {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
  padding: 0 15px; /* Padding horizontal, vertical lo pondremos dinámico */
   background-color:#fff;
  border-radius: 8px;
}

/* Cuando está activo (visible) */
.modal-transferencia.active {
  max-height: 1500px; /* un valor suficientemente alto para el contenido */
  
}

.modal-content {
 
  font-family: 'Delius', cursive;
  text-align: center;
  background-color: #ffffff;
}
/* =======================================
======================================
REDES SOCIALES; PAGINA DE CONTACTO 
====================================
=============================== */
 .redes-sociales {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    gap: 25px; /* Espacio entre botones */
    margin: 20px 0;
  }

  .redes-sociales a {
    display: inline-block;
    padding: 10px 20px; /* Más grande */
    font-size: 18px; /* Texto más grande */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity 0.3s ease;
  }

  .btn-whatsapp {
    background-color: #25d366;
  }

  .btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }

  .btn-facebook {
    background-color: #3b5998;
  }

  .redes-sociales a:hover {
    opacity: 0.8;
  }

  .redes-sociales {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 20px 0;
  flex-wrap: wrap; /* 🔹 permite que bajen si no caben */
}

.redes-sociales a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

/* botones */

.btn-whatsapp {
  background-color: #25d366;
}

.btn-instagram {
  background: radial-gradient(circle at 30% 107%, 
  #fdf497 0%, #fdf497 5%, 
  #fd5949 45%, 
  #d6249f 60%, 
  #285AEB 90%);
}

.btn-facebook {
  background-color: #3b5998;
}

.redes-sociales a:hover {
  opacity: 0.8;
}

/* =========================================
PARRAFO DE CONTACTO
=========================================*/

/* =========================================
RESPONSIVO
=========================================*/

@media (max-width:768px){

  .redes-sociales{
    flex-direction: column; /* 🔹 uno debajo del otro */
    align-items: center;
    gap:12px;
  }

  .redes-sociales a{
    width:80%; /* 🔹 ancho adaptable */
    text-align:center;
    font-size:16px;
    padding:12px;
  }

  .invitacion-contacto{
    font-size:20px;
    padding:0 10px;
  }

}

  /* =========================================
  PARRAFO DE CONTACTO 
  ========================================*/

   .invitacion-contacto {
    text-align: center;
    font-size: 23px;
    color: #1d1c1c;
    margin-bottom: 15px;
    font-family: 'Lancelot';
  }
  .invitacion-contacto strong {
    color: #ec3966; /* Un color que resalte */
  }

  /*BLOG SECTION 
  ===================================*/

  .blog-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 15px;
}



.blog-card {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.blog-card img {
  width: 40%;
  object-fit: cover;
}

.blog-content {
  flex: 1;
  padding: 20px;
  
}

.blog-content h3 {
  margin: 0;
  color: #64102c;
  font-family: 'Philosopher';
  font-size: 22px;
}

.blog-content p {
  color: #1b0202;
  margin: 10px 0 20px;
  font-family: 'Delius';
}

.blog-link {
  display: inline-block;
  color: #2b060f;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-family: 'Delius';
}

.blog-link:hover {
  color: #31161c;
    font-family: 'Delius';
    margin: 0;
    background: #fdfdfd;
    color: #333;
    line-height: 1.6;
  }



  /* Columna principal */
  .main-content {
    flex: 2;
    min-width: 280px;
    background: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }



  h1 {
    color: #a01d48;
  }



  .highlight {
    color: #c45d7f;
    font-weight: bold;
  }

   body {
    
    margin: 0;
    background: #fdfdfd;
    color: #333;
    line-height: 1.6;
  }

 /* Contenedor de las dos columnas */
.container{
  display: flex;
  gap: 20px;
  align-items: flex-start;   /* 👈 evita que se estiren a la misma altura */
}

/* Columna principal (que mida lo que necesite) */
.main-content{
  flex: 1;                   /* ocupa todo el ancho libre */
  min-width: 0;              /* evita empujes raros */
  background: #ffffff27;


  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  align-self: flex-start;    /* 👈 asegura que NO copie la altura del sidebar */
}

/* Sidebar (alto independiente) */
.sidebar{
  flex: 0 0 350px;           /* ancho fijo; ajusta si quieres */
  background: #d64df127;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  align-self: flex-start;    /* 👈 alto propio, sin estirar a la fila */
}





  .highlight {
    color: #c45d7f;
    font-weight: bold;
  }


.sidebar-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.sidebar-list li {
  margin-bottom: 10px;
}

.sidebar-list a {
  text-decoration: none;
  color: #5a5a5a;
  font-weight: 600;
  transition: color 0.3s ease;
}

.sidebar-list a:hover {
  color: #a67c00; /* color dorado para hover */
}

.sidebar-images {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  align-items: center;
}

.sidebar-img-link {
  display: block;
  text-align: center;
  
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #444;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar-img-link img {
  width: 100%;
  display: block;
}

.sidebar-img-link:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(166,124,0,0.4);
  color: #a67c00;
}

.sidebar-img-link span {
  display: block;
  padding: 8px 0;
}

/* PARRRRRRRRAFOS DE MI BLOG UBICACION DE IMAGENES*/

/* Estilos generales para todos los párrafos */
.bloque-con-imagen {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: justify;
  padding: 30px;
  gap: 10px;
  padding-top: 0px;
  Padding-bottom: 0px;
}

.imagen-bloque {
  width: 300px;
  height: auto;
  
  
}

.bloque-solo-texto {
  text-align: justify;
  padding: 30px;
  padding-top: 0px;
  Padding-bottom: 0px;
  font-family: 'Philosopher';
  font-size: 19px;
}



.tarjeta-detalle h3 {
  margin-top: 0;
}


.producto h2 {
  cursor: pointer;       /* Muestra que se puede clicar */
  z-index: 10;   
  /* Nombre del producto */

  font-size: 20px;
  margin: 1px;
  font-family: 'Lancelot';
  color: #000000;
 
        /* Asegura que quede por encima de imágenes */
}

/* Contenedor de productos */
.productos-container {
  overflow: visible; /* Permite que las tarjetas se muevan sin quedar cortadas */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  
  
  
}

/* Producto individual */
.producto {
  flex: 0 0 auto;
  background-color: #ffffff9a;
  
 
  width: 220px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  position: relative; /* Muy importante para que la tarjeta se posicione dentro */

}



.producto img {
  width: 100%;
  height: 100%;
 
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  margin: 0;
  
}


/* Contenedor para alinear precio y botón */
.producto-footer {
  display: flex;
  justify-content: center; /* centra ambos elementos */
  align-items: center;     /* alinea verticalmente */
  gap: 2px;               /* espacio entre precio y botón */
  margin-top: 5px;
 
  
}


.agregar-btn,
.ver-detalle-btn {
  cursor: pointer;
  text-decoration: none; /* quita subrayado del enlace */
  transition: 0.3s;
}

/* Botón Agregar */
.agregar-btn {
  background-color: #ffffff;
  color: #ffffff;
  border: none;
  text-shadow: 2px 2px 4px rgba(253, 0, 0, 0.726); /* sombra solo al texto */
  font-size: 18.1px;
}

/* Botón Ver detalle */
.ver-detalle-btn {
  background-color: #ffffff;
  color: #000;
   border: none;
  text-shadow: 2px 2px 4px rgb(0, 0, 0); /* sombra solo al texto */
}


.producto .qty-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}


@media (max-width: 600px) {
  .tarjeta-detalle,
  .tarjeta-detalle-centro {
    width: 90%;     /* Más pequeño para pantallas chicas */
    height: auto;   /* Ajusta la altura al contenido */
    left: 50%;
    transform: translateX(-50%);
  }
}

#carrito {
  position: fixed;
  top: 0;
  right: -400px; /* escondido fuera de pantalla */
  width: 320px;
  height: 100%;
 
  
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

#carrito.show {
  right: 0; /* se desliza dentro de pantalla */
}

.cart-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}



    /* 🔎 Estilos de la barra */
.busqueda {
  position: relative;
  display: inline-block;
 
}

.busqueda input {
  width: 0;
  opacity: 0;
  padding: 8px;
 
  border-radius: 8px;
  transition: all 0.3s ease;
  position: absolute;
  right: 25px;
  
  background-color: #ecda8a;
  font-family: 'Delius';
  font-size: 15px;
}

.busqueda.activa input {
  width: 180px;
  opacity: 1;
}

#icono-busqueda {
  cursor: pointer;
  font-size: 20px;
  color: #97979c;
  transition: color 0.3s;
  margin-top: 10px;
}




/* ==== HEADER & NAV: aseguran su “capa” y flujo ===== */
.logos-container { position: relative; z-index: 2; }
.nav-banner      { position: relative; z-index: 3; }

/* El contenido va debajo del header+nav, sin montarse */
main { position: relative; z-index: 1; }

/* Quita alturas rígidas en el contenedor principal cuando es móvil */
@media (max-width: 600px) {
  .contenedor-principal {
    display: flex;
    flex-direction: column;    /* apila logo, texto, publicidad */
    align-items: center;
    gap: 20px;
    height: auto !important;   /* 👈 no fuerces 435px */
    padding: 16px 10px;
  }

  .bienvenida {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 8px;
    text-align: center;
  }

  .logo-bienvenida {
    width: 200px;
    flex: none;
  }

  /* CONTENEDOR DEL CARRUSEL: reserva altura y recorta, así no se sale */
  .bienvenida-publicidad {
    position: relative;      /* contenedor de las imágenes absolutas */
    width: 95%;
    max-width: 360px;
    height: 260px;           /* 👈 más alto para que “quepa” bien */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
  }

  /* IMÁGENES DEL CARRUSEL: absolutas dentro, pero el contenedor ya tiene altura */
  .bienvenida-publicidad img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
  }
  .bienvenida-publicidad img.active { opacity: 1; z-index: 1; }

  /* Asegura separación con lo que viene después (productos) */
  .h12,
  .carousel-container,
  .productos-container {
    margin-top: 16px;
  }
}

.opciones { 
  margin: 8px 0;
   display: grid;
    gap: 6px; 
    background-color: #f5dbdb;
  }
.opciones label {
   font-weight: 600;
   }
.opciones select {
   padding: 6px 8px;
    border-radius: 6px;
     border: 1px solid #ccc; 
    }
.caracteristica { 
  margin: 0; color:#555;
   font-size: 14px;
   }

  .nav-banner {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  font-family: 'Delius';
  font-size: 20px;
  position: relative;
}

/* Centro con búsqueda + links */
.nav-center {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Buscador */


/* Links */
.nav-link {
  color: #ebc10a;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}
.nav-link:hover { background-color: #e49292; }

/* Carrito + user-pill a la derecha */
.nav-right {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-btn {
  background: transparent;
  
  color: #ebc10a;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: background .3s ease;
}
.cart-btn:hover { background: #555; }

/* user-pill */
#user-pill {
  background-color: #f3b1c5;
  color: #000000;
  font-size: 18px;
  padding: 6px 14px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
#user-pill:hover { background:#ecd0d9; color:#ffffff; }
#user-pill a { color:#000000; text-decoration:none; filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.5));}

/* Responsivo */
@media (max-width: 768px) {
  .nav-banner { flex-wrap: wrap; }
  .nav-center { flex-wrap: wrap; justify-content:center; }
  .nav-right { position: static; justify-content:center; margin-top:8px; }
  #input-busqueda { width: 100%; }
}

.ig-embed {
  max-width: 350px; 
  margin: 16px auto;
}
/* Contenedor centrado y responsivo */
.ig-embed {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  flex-direction: column;
}

/* Forzamos centrado del bloque aunque tenga estilos inline */
.ig-embed .instagram-media {
  margin: 0 auto !important;
  max-width: 540px !important;
  width: 100% !important;
}

/* Un poco de respiro en móviles muy angostos */
@media (max-width: 360px) {
  .ig-embed { padding: 8px; }
}

.auth-alert {
  display: none;
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: 'Delius', sans-serif;
  font-size: 14px;
}
.auth-alert.show { display: block; }
.auth-alert.error { background:#fff1f1; border:1px solid #ffb3b3; color:#8a1f1f; }
.auth-alert.ok    { background:#f0fff4; border:1px solid #9ae6b4; color:#22543d; }


.perfil-card{
  background:#fffbea;
  border:1px solid #e6d86a;
  border-radius:16px;
  padding:16px;
  margin:18px auto;
  max-width:860px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  font-family: 'Delius', sans-serif;
}
.perfil-header{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.perfil-avatar{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.perfil-avatar img{
  width:112px; height:112px; object-fit:cover; border-radius:50%;
  border:3px solid #f0e58c; background:#fff;
}
.perfil-main{ flex:1; min-width:240px; }
.perfil-nombre input{
  font-size:20px; font-weight:700; border:1px solid #e6d86a; border-radius:8px; padding:6px 10px; width:100%;
}
.perfil-username{ display:flex; align-items:center; gap:6px; margin-top:6px; }
.perfil-username input{
  border:1px solid #e6d86a; border-radius:8px; padding:6px 10px; width:200px;
}
.perfil-email{ margin-top:6px; color:#444; }
.perfil-hint{ margin-left:8px; font-size:12px; }
.perfil-hint.ok{ color:#156f00; }
.perfil-hint.err{ color:#a60000; }
.perfil-actions{ display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.btn{ border:0; border-radius:10px; padding:10px 14px; cursor:pointer; }
.btn-sm{ padding:6px 10px; font-size:14px; }
.btn-negro{ background:#000; color:#ebc10a; }
.btn-negro:hover{ opacity:.9; }
.btn-amarillo{ background:#ebc10a; color:#000; font-weight:700; }
.perfil-msg{ margin-top:10px; font-weight:600; }
.perfil-msg.ok{ color:#156f00; }
.perfil-msg.err{ color:#a60000; }

/* Responsive */
@media (max-width:600px){
  .perfil-username input{ width:100%; }
}
.nav-banner{

  
  gap: 12px; padding: 10px 16px; background: #ffffff42; border-bottom: 1px solid #eee;
}


.nav-link{ text-decoration: none; color: #181616; padding: 6px 8px; border-radius: 8px; }
.pill{ padding: 6px 10px; border: 1px solid #ddd; border-radius: 999px; text-decoration: none; }
.cart-btn{ padding: 6px 10px; border: 1px solid #ddd; background: #fff; border-radius: 10px; cursor: pointer; }

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-pill .pill.is-auth {
  font-weight: 600;
}
.user-pill .btn-logout {
  padding: 4px 10px;
  background: #000;
  color: #ebc10a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.user-pill .btn-logout:hover {
  background: #333;
}


/* ===== SECCIÓN GENERAL ===== */
.reviews-section{
  margin-top: 40px;
  padding: 20px;
}

.reviews-title{
  text-align: center;
  font-size: 22px;
  margin-bottom: 25px;
}

/* ===== CONTENEDOR ===== */
.reviews-container{
  display: grid;
  grid-template-columns: 1fr 280px; /* 👈 izquierda / derecha */
  gap: 30px;
  align-items: start;
}

/* ===== RESEÑAS ===== */
.reviews-left{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* cada reseña (si usas cards) */
.reviews-list > div{
  background: #ffffffa6;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ===== FORMULARIO ===== */
.reviews-right{
  background: #ffffffb5;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.review-form{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-form select{
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.review-form textarea{
  resize: none;
  height: 80px; /* 👈 más pequeño */
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.review-form button{
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: #ff8fab;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.review-form button:hover{
  background: #ff6f91;
}

/* ===== ESTRELLAS INTERACTIVAS ===== */
/* contenedor */
.rating-stars{
  display: flex;
  gap: 5px;
  font-size: 22px;
  cursor: pointer;
}

/* estrellas base */
.rating-stars span{
  color: #ddd;
  transition: 0.2s;
}

/* ⭐ hover correcto (izquierda → derecha) */
.rating-stars span:hover{
  color: #ffc107;
}

.rating-stars span:hover ~ span{
  color: #ddd; /* 👈 evita que se iluminen hacia la derecha */
}

/* ⭐ activas (click) */
.rating-stars span.active{
  color: #ffc107;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px){
  .reviews-container{
    grid-template-columns: 1fr;
  }
}
/* Badge en el botón del carrito */

#cart-toggle {
  position: relative; /* importante */
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4757;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  display: none; /* se muestra solo si > 0 */
}
.download-btn {
  background: #f3b1c5; /* rosado fuerte */
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.download-btn:hover {
  background: #ee7fa0;
}
.breadcrumbs{
  font-size:.9rem; color:#9a8f86; margin:10px 0 14px;
}
.breadcrumbs a{ color:#9a8f86; text-decoration:none; }
.breadcrumbs a:hover{ text-decoration:underline; }
.breadcrumbs .sep{ margin:0 .35rem; opacity:.7; }
.breadcrumbs .current{ color:#6c5f57; font-weight:600; }

.como-comprar {
  max-width: 1010px;
  margin: 18px auto;
  padding: 12px;
}

.como-comprar h2 {
  margin: 0 0 8px;
}

.como-comprar ol {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-left: 18px;
}

.como-comprar .tip {
  margin: 8px 0 0;
  color: #555;
}
/* ---------- Layout general del post ---------- */
.blog-post{
  max-width: 980px;
  margin: 24px auto;
  padding: 16px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  line-height: 1.75;
  font-family: system-ui, -apple-system, "Nunito", Arial, sans-serif;
  color: #2b2b2b;
}
.post-head h1{
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
  letter-spacing: .2px;
}
.blog-post h2{
  margin: 20px 0 10px;
  font-size: clamp(18px, 2.3vw, 22px);
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #333;
}

/* ---------- Imagen a la derecha que NO rompe el texto ---------- */
.img-right{
  float: right;                      /* se va a la derecha */
  width: min(38%, 280px);            /* se adapta sin pasarse */
  margin: 4px 0 14px 18px;           /* separaciones respecto al texto */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  /* Hace que el texto contornee la tarjeta suavemente */
  shape-outside: inset(0 round 14px);
}
.img-right img{
  display: block;
  width: 100%;
  height: auto;
}
.img-right figcaption{
  font-size: 12px;
  padding: 6px 10px;
  color: #666;
  background: #faf7fb;
}

/* Evita que la caja del artículo colapse con floats */
.blog-post::after{
  content:"";
  display:block;
  clear: both;
}

/* ---------- Listas y pasos ---------- */
.cols{
  columns: 2 240px;                  /* se parte en columnas bonitas si hay espacio */
  gap: 14px;
  padding-left: 18px;
}
.cols li{ break-inside: avoid; margin: 2px 0; }

.steps{
  counter-reset: paso;
  list-style: none;
  padding-left: 0;
}
.steps li{
  counter-increment: paso;
  position: relative;
  margin: 8px 0 8px 38px;
  padding-left: 10px;
}
.steps li::before{
  content: counter(paso);
  position: absolute;
  left: -38px; top: 0;
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: #ffd86b;               /* Gumitos vibes */
  color: #5c4200;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(255, 180, 0, .35);
}
.steps li.change::before{
  background: #ffb0d6;               /* resalta cuando hay cambio de color */
  color: #6a2149;
  box-shadow: 0 2px 8px rgba(255, 120, 180, .35);
}
.note{
  margin: 8px 0 16px;
  padding: 8px 12px;
  border-left: 4px solid #ffc5e3;
  background: #fff5fb;
  color: #555;
  border-radius: 6px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 760px){
  .img-right{
    float: none;             /* en móvil deja de flotar */
    width: 100%;
    margin: 8px 0 14px 0;
    shape-outside: none;
  }
  .cols{ columns: 1; }
}

.heart-like-chip.is-liked .icon{
  color: #720303;
  }

  .heart-like-chip.glass {
    color:#1b0202
  }



/* ========= GUMITOS COMMENTS – Estilo Burbuja Pastel ========= */
:root{
  --gc-bg: rgba(255, 255, 255, 0);       /* fondo translucido */
  --gc-border: rgba(255, 255, 255, 0);    /* borde suave */
  --gc-shadow: 0 10px 25px rgba(0,0,0,.08);
  --gc-accent: #181715;                 /* dorado Gumitos */
  --gc-chip: #ffdca8;                   /* chip suave para fecha */
  --gc-text: #333132;                   /* gris cálido legible */
  --gc-muted: #8b7f85;                  /* gris suave */
}

/* Contenedor */
#gc-comments{
  margin-top: 18px;
  color: var(--gc-text);
}
#gc-comments h3{
  font-size: 1.1rem;
  letter-spacing:.2px;
  color: var(--gc-accent);
  margin: 0 0 10px 0;
}

/* Caja “nuevo comentario” */
#gc-new{
  background: var(--gc-bg);
  border: 1px solid var(--gc-border);
  border-radius: 16px;
  
  box-shadow: var(--gc-shadow);
  backdrop-filter: blur(8px);
}

#gc-new textarea{
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 0;
  outline: none;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.4;
  color: var(--gc-text);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}
#gc-new textarea::placeholder{ color: var(--gc-muted); }

/* Acciones */
.gc-actions{
  display: flex; gap: 8px; margin-top: 8px; align-items:center;
}
.gc-actions button{
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* Botones */
#gc-login{
  background: #fff;
  color: var(--gc-text);
  border: 1px solid rgba(0,0,0,.05);
}
#gc-send{
  background: linear-gradient(180deg, #ffd28a, #ffc56e);
  color: #5b3b00;
}
.gc-actions button:hover{ transform: translateY(-1px); }
.gc-actions button[disabled]{ opacity:.55; cursor:not-allowed; transform:none; }

/* Hint (mensajes pequeñitos) */
.gc-hint{
  margin-top: 6px;
  font-size: 12px;
  color: var(--gc-muted);
}

/* Lista de comentarios */
.gc-list{
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}

/* Item burbuja */
.gc-item{
  position: relative;
  background: var(--gc-bg);
  border: 1px solid var(--gc-border);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: var(--gc-shadow);
  backdrop-filter: blur(8px);
}

/* “Colita” de la burbuja (opcional). Quita si no te gusta */
.gc-item::after{
  content:"";
  position:absolute; left: 14px; top:-6px;
  width: 12px; height: 12px;
  background: var(--gc-bg);
  border-left: 1px solid var(--gc-border);
  border-top: 1px solid var(--gc-border);
  transform: rotate(45deg);
  backdrop-filter: blur(8px);
}

/* Cabecera: avatar + nombre + fecha */
.gc-meta{
  display:flex; align-items:center; gap:8px; flex-wrap: wrap;
  margin-bottom: 6px; font-size: 12px; color: var(--gc-muted);
}
.gc-meta img{
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.gc-meta strong{
  color: var(--gc-text); font-weight: 700;
}
.gc-meta time{
 background: #ffdca800;
  color:#5b3b00;
  padding: 2px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.9);
}

/* Texto */
.gc-text {
    white-space: pre-wrap;
    line-height: 1.45;
    color: var(--gc-text);
    font-size: small;
}

/* Botón “cargar más” */
#gc-more{
  margin-top: 6px;
  background:#fff; color: var(--gc-text);
  border:1px solid rgba(0,0,0,.05);
}

/* Estados vacíos */
.gc-item.gc-empty{
  text-align:center; font-size: .95rem; color: var(--gc-muted);
}

/* Responsive fino (sidebar estrecha) */
@media (max-width: 1100px){
  #gc-new textarea{ min-height: 72px; }
  .gc-meta time{ display:none; } /* deja solo nombre en móvil */
}

/* Modo súper compacto (si el sidebar es MUY angosto) */
/* Aplica esta clase al contenedor <section id="gc-comments" class="gc-compact"> si lo necesitas */
#gc-comments.gc-compact .gc-item{ padding: 8px 10px; }
#gc-comments.gc-compact .gc-meta{ margin-bottom:4px; font-size:11px; }
#gc-comments.gc-compact #gc-new{ padding:8px; }
#gc-comments.gc-compact #gc-new textarea{ border-radius:10px; padding:8px 10px; }

#gc-more{
  margin-top: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd28a, #ffc56e);
  color: #5b3b00;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transition: transform .08s ease, box-shadow .2s ease;
}
#gc-more:hover{ transform: translateY(-1px); }
#gc-more:disabled{
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
/* Carrusel con snap por tarjeta (una por clic) */
.carousel {
  display: flex;
  overflow-x: auto;       /* seguimos usando scroll real */
  scroll-snap-type: x mandatory;
  gap: 10px;              /* tu gap actual */
  -webkit-overflow-scrolling: touch;
}

/* cada tarjeta alinea el borde izquierdo en el viewport */
.carousel > .producto {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ocultar scrollbars si quieres */
.carousel::-webkit-scrollbar { display: none; }

/* 📱 Blog responsivo */
@media (max-width: 768px) {
  .container {
    flex-direction: column;   /* apila main + sidebar */
    gap: 16px;
  }
  .main-content, 
  .sidebar {
    width: 100%;              /* que ocupen todo el ancho */
    min-width: auto;          /* evita desbordes */
  }
}

.contenedor-princi {
  display: flex;              /* Activa flexbox */
  flex-wrap: wrap;            /* Permite que los elementos bajen a la siguiente fila */
  gap: 10px;                  /* Espacio entre cajas */
  justify-content: space-between;/* Puedes usar center o space-between también */
}

.item {
  flex: 1 1 200px;            /* Cada caja ocupa mínimo 200px, y se adapta */
  background: #f9a8d4;        /* Rosadito 💗 */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}


.precio {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.precio-original {
  text-decoration: line-through;
  color: #777;
  font-size: 0.8rem;
}

.precio-descuento {
  color: #d62828; /* rojo navideño */
  font-weight: bold;
  font-size: 1.3rem;
}


/* SECCION DESTACADOS ESTILO CINE */

/* ======================================
   SECCION DESTACADOS ESTILO CINE
====================================== */

.destacados-cine{
  position:relative;
  padding:100px 20px;
  text-align:center;
  color:white;

  background-image:url("img/cine.png");
  background-size:cover;
  background-position:center 30%;
  background-repeat:no-repeat;
}

/* titulo */

.titulo-cine{
  font-size:32px;
  margin-bottom:50px;
  letter-spacing:2px;
}

/* grid */

.cine-grid{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

/* tarjetas */

.cine-card{
  width:300px;
  padding:15px;
  position:relative;
  z-index: 8;
  overflow:hidden;

  box-shadow:
  0 0 20px rgba(255,255,255,0.1),
  0 10px 25px rgba(0,0,0,0.6);

  transition:transform 0.3s ease;
}

.cine-card:hover{
  transform:scale(1.05);
}

/* imagen */

.cine-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:6px;
}

/* brillo animado */

.cine-card::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transition:0.8s;
}

.cine-card:hover::before{
  left:100%;
}

/* luces de cine */

.destacados-cine::after{
  content:"";
  position:absolute;
  inset:0;

  background:
  radial-gradient(
    ellipse at center top,
    rgba(255,220,150,0.35) 0%,
    rgba(255,220,150,0.15) 25%,
    rgba(0,0,0,0) 60%
  ),
  radial-gradient(
    circle at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0.75) 100%
  );

  pointer-events:none;
  z-index:1;
}


/* ANIMACION */

.animar-derecha{
  opacity:0;
  transform:translateX(120px);
  transition:all 0.9s ease;
}

.animar-derecha.visible{
  opacity:1;
  transform:translateX(0);
}
.seccion-blog-home{
  position: relative;
  overflow: hidden;

  min-height: 420px;
  padding: 80px 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  /* NUEVO FONDO */
  background-image: url("img/fondoblog.png"); /* tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* capa de oscurecimiento */

.seccion-blog-home::before{
  content:"";
  position:absolute;
  inset:0;

  background:rgba(29, 28, 28, 0.35); /* puedes ajustar */
  z-index:1;
}

/* contenido encima del fondo */

.blog-home-contenido{
  position:relative;
  z-index:2;
}

/* texto */

.blog-home-texto{
  font-size:25px;
  font-family:'Lancelot';
  max-width:500px;

  text-align:center;
  margin:auto;

  color:rgb(255,225,140);
  text-shadow:0 2px 6px rgb(0,0,0);
}

/* links */

.seccion-blog-home a{
  text-decoration:none !important;
  color:inherit;
}

.seccion-blog-link{
  display:block;
  text-decoration:none;
  color:inherit;
}


.destacados-cine{
  position:relative;
}


.destacados-cine::after{
  content:"";
  position:absolute;
  inset:0;

  background:
  /* LUZ DEL FOCO */
  radial-gradient(
    ellipse at center top,
    rgba(255,220,150,0.35) 0%,
    rgba(255,220,150,0.15) 25%,
    rgba(0,0,0,0) 60%
  ),

  /* OSCURECER ESQUINAS */
  radial-gradient(
    circle at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0.75) 100%
  );

  pointer-events:none;
  z-index:5;
}

.blog-decoracion{
  position:absolute;

  bottom:0px;      /* qué tanto sobresale */
  left:50%;

  transform:translateX(-50%);

  width:1100px;       /* tamaño imagen */

  z-index:3;
}
/* ===============================
   ESTADO INICIAL BLOG (OCULTO)
================================ */

.blog-home-contenido{
  opacity:0;
  transform:translateY(40px);
  transition:all 2s ease;
}

.blog-decoracion{
  opacity:0;
  transform:translateX(-50%) translateY(80px) scale(0.9);
  transition:all 3s ease;
}
/* ===============================
   BLOG CUANDO APARECE
================================ */

.seccion-blog-home.visible .blog-home-contenido{
  opacity:1;
  transform:translateY(0);
}

.seccion-blog-home.visible .blog-decoracion{
  opacity:1;
  transform:translateX(-50%) translateY(0) scale(1);
}
.btn-ver{
  display:flex;
  justify-content:center;
  z-index:8;
  
}

.btn-ver img{
  width:70%;
  height: auto;
  transition:transform 0.3s ease;
  z-index:8;
}
/* =====================================
   ANIMACIÓN SUAVE DE ENTRADA HERO
===================================== */

@keyframes aparecerSuave {
  from {
    opacity: 0;
    
  }

  to {
    opacity: 1;
 
  }
}

.separador-negro{
  width:100%;
  height:30px;      /* puedes cambiar la altura */
  background:#000;   /* negro */
}

.separador-negro img{
  width:100%;
  height:35px;      /* puedes cambiar la altura */
 
}
@media (max-width:768px){

    .cine-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:20px;
      
    justify-content:flex-start; /* 👈 ESTA ES LA CLAVE */
    padding:60px 20px 100px;
  }
  .cine-grid::-webkit-scrollbar{
    display:none;
  }

  .cine-card{
       flex:0 0 68%;
    scroll-snap-align:center;
  }
  .cine-card{
  scroll-snap-stop:always;
}
.destacados-cine{

  padding:60px 20px;

 }
  .animar-derecha{
    opacity:1;
    transform:none;
    transition:none;
  }

}



.agregar-btn img:hover{
  transform:scale(1.15);
}

.agregar-btn img {
 width:45px;
  height:auto;
  transition:transform .2s ease;

}



.ver-detalle-btn img{
 width:45px;
  height:auto;
  transition:transform .2s ease;
 filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.842));
}


.ver-detalle-btn img:hover{
  transform:scale(1.15);
}

.h14 {
      display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Antonio';
    font-size: 28px;
    font-weight: bold;
    color: #bb1fa8fa;
    margin: 10px 0;
    text-transform: uppercase;
}
/* SECCION CATEGORIAS */

.categorias-tienda{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  background-color:#0000002d;
}

/* tarjeta */

.categoria-card{
  position:relative;
  height:320px;
  width:100%;            /* 🔹 en vez de 667px */
  overflow:hidden;
  text-decoration:none;
}

/* imagen fondo */

.categoria-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.8s ease;
}

/* texto */

.categoria-titulo{
  position:absolute;
  bottom:20px;
  left:20px;

  font-size:28px;
  color:white;
  font-weight:bold;

  text-shadow:0 4px 10px rgba(0,0,0,0.7);
}

/* hover */

.categoria-card:hover img{
  transform:scale(1.6);
}

/* 📱 móvil */

@media (max-width:768px){

  .categorias-tienda{
    grid-template-columns:1fr;
  }

  .categoria-card{
    height:220px;   /* 🔹 un poco más baja para móvil */
  }

  .categoria-titulo{
    font-size:22px;
  }

}
.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 10px;
}

@media (min-width: 900px) {
  .productos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

.producto-grande {
  width: 100%;
  min-width: 0;
  background: #fffaf77e;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
}

.producto-grande .imagen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 4px;
}

.producto-grande .imagen-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.producto-grande .info-producto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 2px 2px 2px;
}

.producto-grande .nombre-producto {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #4a3b34;
  text-align: left;
}

.producto.producto-grande p.precio {
  margin: 0;
  font-size: 15px;
  line-height: 1.1;
  color: #7a5c4f;
  font-weight: 600;
  white-space: nowrap;
}

/* Ajuste extra para celular */
@media (max-width: 600px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 8px;
  }

  .producto-grande .nombre-producto {
    font-size: 14px;
  }

  .producto.producto-grande p.precio {
    font-size: 14px;
  }

  .producto-grande .carrito-esquina {
    width: 42px;
    height: 42px;
    bottom: 6px;
    right: 6px;
  }
}

.producto-grande .agregar-btn {
    border: none;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding: 5px;
    border-radius: 3px;
    background: #ffffff70;
}

.producto-grande .carrito-esquina {
    position: absolute;
    bottom: 3px;
    right: 10px;
    width: 55px;
    height: 55px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}


@media (max-width: 600px) {
  .producto-grande .carrito-esquina {
    width: 44px;
    height: 44px;
    bottom: 6px;
    right: 6px;
  }

  .producto-grande .icono-carrito {
    width: 28px;
    height: 28px;
  }
}
.user-pill{
visibility:hidden;
}

.icono-no-stock {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/* ===== NUEVA VITRINA PRO ===== */

.titulo-producto {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Antonio';
    margin-top: 0;
}

.rating-line{
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.precio-box{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 15px;
}

.badge-stock{
  font-size: 13px;
  color: #d62828;
  font-weight: bold;
}

.mini-desc{
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.btn-principal {
    background: linear-gradient(116deg, #e13c89, #ffc6e0);
    /* border-radius: 25px; */
    padding: 12px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.btn-principal:hover{
  transform: translateY(-2px);
}

/* DETALLES */
.bloque-detalles{
  margin-top: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.lista-detalles{
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.lista-detalles li{
  font-size: 14px;
  margin-bottom: 5px;
}

.agregar-btn:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: not-allowed;
}

.sin-stock-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 30;
}