/* ======================= */
/*      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;
  top: 0;
  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;
  }
}
/* ======================= */
/*     CONTENIDO GENERAL   */
/* ======================= */

.contenedor-principal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:#f5dbdb5d;
  height: 435px;
}
  



/* Bloque de bienvenida con imagen + texto */
.bienvenida {
 display: flex;
 align-items: center;
gap: 1px;
 font-family: 'Philosopher';
  

  
}
.logo-bienvenida {
  position: relative;
  flex: 1.7; /* se mantiene el flexible */
  width: 320px; /* deja que flex lo gestione */
  height: auto;
  display: cover;
 
}




.bienvenida-texto {
  
  flex: 2.5;
  font-size: 20px;
  color: #000000;
  text-align: center;
  left: 30px;
}


/* Publicidad a la derecha */
.bienvenida-publicidad {
  flex: 1.5;
  position: relative;
  width: 330px;                 /* ancho responsivo */
  max-width: 400px;           /* no crezca demasiado en pantallas grandes */
  aspect-ratio: 1.1 / 1.5;        /* mantiene cuadrado */
  overflow: hidden;
}

.bienvenida-publicidad img {
  position: absolute;

  width: 340px;
  height: auto;
  top: 24px;

  opacity: 0;
  transition: opacity 0.4s ease-in-out;
   
}

.bienvenida-publicidad img.active {
  opacity: 1;
  z-index: 1;
}





/* -----------------------------------
   Diseño base (ya lo tienes)
----------------------------------- */

/* contenedor, bienvenida y publicidad tal como los dejaste */

/* -----------------------------------
   Responsivo
----------------------------------- */

/* Pantallas medianas (tablets ~768px) */
@media (max-width: 1024px) {
  .bienvenida-container {
    flex-wrap: wrap;        /* permite que los bloques bajen */
    font-size: 25px;        /* un poco más pequeño el texto */
  }

  .logo-bienvenida {
    width: 300px;           /* reduce el ancho de la imagen */
    flex: 2 1 300px;        /* flexible con mínimo de 300px */
  }

  .bienvenida-texto {
    flex: 2.5 1 200px;      /* flexible con mínimo de 200px */
    font-size: 18px;
  }

  .bienvenida-publicidad {
    width: 300px;
    height: 300px;
  }
}

/* Pantallas pequeñas (móviles ~480px) */
@media (max-width: 600px) {
  .bienvenida-container {
    flex-direction: column; /* apila los bloques verticalmente */
    align-items: center;    /* centra todo */
    font-size: 22px;
  }

  .bienvenida {
    flex-direction: column; /* apila imagen + texto */
    gap: 10px;
  }

  .logo-bienvenida,
  .bienvenida-publicidad {
    width: 90%;             /* ocupa casi todo el ancho */
    height: auto;           /* que la altura se ajuste */
  }

  .bienvenida-texto {
    text-align: center;     /* centra el texto */
    flex: 1 1 auto;
    font-size: 16px;
  }
}



/* ======================= */
/*       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;
}

#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: 1.2rem;      /* más grande que los demás */
  
  color: #21010c;
  margin: 1px;
  font-weight: bolder;
}




/* ======================= */
/*         CARRUSEL        */
/* ======================= */

.carousel-container {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 100%;
  overflow: visible;
  margin-bottom: 0px;
  background-color: #ffffff00;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
   padding-top: 10px; /* espacio arriba */
}


.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn.left {
  position: absolute;
  left: 10px;
}

.carousel-btn.right {
  position: absolute;
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* ======================= */
/*        RESPONSIVE       */
/* ======================= */

@media (max-width: 600px) {
  .productos-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Contenedor de la imagen principal */
.imagen-container {
  width: 100%;
  height: 180px; /* 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: #f5dbdb;
  color: #000000;
  padding: 20px 0;
  font-family: Arial, sans-serif;

  display: absolute;
  flex-direction: column; /* apila verticalmente */
  align-items: center;    /* centra horizontalmente */
  gap: 10px;              /* espacio entre párrafo y caja instagram */
  text-align: center;
}

footer p {
  margin: 0;
}

.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: #333;
  margin: 10px 0;
  text-transform: uppercase; /* opcional */
}

.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 */
}


.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;
  }

  /* =========================================
  PARRAFO DE CONTACTO 
  ========================================*/

   .invitacion-contacto {
    text-align: center;
    font-size: 25px;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Lancelot';
  }
  .invitacion-contacto strong {
    color: #f11149; /* 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;           /* 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;
  border-radius: 0px;
  padding: 5px;
  width: 190px;
  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 */
height: 100%;
}



.producto img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  margin: 0;
  
}

/* Nombre del producto */
.producto h2 {
  font-size: 1.3em;
  margin: 1px;
  font-family: 'Antonio';
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  
  
}


/* 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 {
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none; /* quita subrayado del enlace */
  transition: 0.3s;
}

/* Botón Agregar */
.agregar-btn {
  background-color: #f191ae;
  color: #ffffff;
  border: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* sombra solo al texto */
  font-size: 17.5px;
}

/* Botón Ver detalle */
.ver-detalle-btn {
  background-color: #f191ae;
  color: #000;
   border: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* sombra solo al texto */
}

.ver-detalle-btn:hover {
  background-color: #ee648d;
}




.agregar-btn:hover {
  background-color: #e693a1;
}

.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;
}

.agregar-btn:disabled {
  background-color: #ccc;      /* Gris */
  color: #666;                 /* Texto apagado */
  cursor: not-allowed;         /* Cursor bloqueado */
  opacity: 0.7;                /* Transparencia ligera */
}


    /* 🔎 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;
}

/* ======== PÁGINA DETALLE: dos columnas (galería izq / info der) ======== */
.page-detalle {
  max-width: 1300px;
  
  
}

/* anula “tarjeta” del carrusel cuando está en el detalle */
.page-detalle .producto {
  width: auto;
  padding: 20px;

  background: #ffffff85;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 👈 dos columnas */
  gap: 28px;
  align-items: start;
}
.page-detalle .producto:hover { transform: none; box-shadow: 0 6px 18px rgba(0,0,0,.08); }

/* -------- Galería (izquierda) -------- */
.page-detalle .vitrina-galeria { display: grid; grid-template-rows: auto auto; gap: 14px; }
.page-detalle .vitrina-principal { margin: 0; overflow: hidden; }
.page-detalle #imagen-principal {
  width: 100%; height: 800px; object-fit: cover; display: block;
  transition: transform .3s ease; cursor: zoom-in;
}
.page-detalle #imagen-principal:hover { transform: scale(1.06); }
.page-detalle .vitrina-thumbs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start;
}
.page-detalle .vitrina-thumbs img{
  width: 86px; height: 86px; object-fit: cover; 
  border: 2px solid transparent; cursor: pointer; transition: border-color .2s, transform .15s;
}
.page-detalle .vitrina-thumbs img:hover{ border-color:#e67e22; transform: translateY(-1px); }

/* -------- Info (derecha, texto alineado a la izquierda) -------- */
.page-detalle .vitrina-info { display: flex; flex-direction: column; gap: 0px; text-align: left; }
.page-detalle .vitrina-info h2 { margin: 0; font-size: 28px; line-height: 1.2; }
.page-detalle .vitrina-descripcion { margin: 0; color:#555; line-height: 1.6; font-size: 16px; }
.page-detalle .vitrina-precio-cta { display:flex; align-items:center; gap:16px; flex-wrap: wrap; }
.page-detalle .precio { font-size: 22px; font-weight: 700; color:#33280a; }

/* reusa tu .agregar-btn global; si quieres un poquito más grande aquí: */
.page-detalle .agregar-btn { padding: 10px 16px;}

/* -------- Responsive -------- */
@media (max-width: 960px){
  .page-detalle .producto { grid-template-columns: 1fr; }  /* apila en móvil */
  .page-detalle #imagen-principal { height: 380px; }
}

.datos-curiosos {
  background-color: #f5dbdb; /* rosado clarito */
  padding: 15px 20px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.6;
  color: #333; /* texto oscuro para contraste */
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* opcional: le da un toquecito elegante */
  text-align: justify;
  font-family: 'Philosopher';
}


/* ==== 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;
  }
}

/* Extra: elimina propiedades inválidas que causan comportamientos raros */
.logo-bienvenida { /* display: cover; ❌ no existe */ }
.productos-container { /* position: block; ❌ no existe */ }
/* ===== Logo de la bienvenida (versión móvil) ===== */
@media (max-width: 600px) {
  .bienvenida {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 12px 10px;
  }

  /* El contenedor del logo: centrado y sin ancho fijo ni flex raro */
  .logo-bienvenida {
    flex: none;             /* no intente ocupar “1.7” del flex */
    width: 100%;            /* ocupa el ancho disponible */
    max-width: 260px;       /* 👈 límite para que no se salga (ajústalo a gusto) */
    margin: 0 auto;         /* centra horizontalmente */
    padding: 0 8px;         /* pequeño acolchado para que no toque los bordes */
    position: relative;     /* ok para futuras decoraciones */
  }

  /* La imagen del logo: totalmente fluida dentro del contenedor */
  .logo-bienvenida img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;    /* no se deforma ni se recorta */
  }
}
.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;
}
.review-item{border-bottom:1px solid #f0cece; padding:10px 0}
.review-head{color:#241b04; font-size:18px; font-weight:700}
.review-meta{color:#666; font-size:12px}
.review-text{white-space:pre-wrap}

/* El contenedor permite que las flechas se vean afuera */

/* track sigue recortando las tarjetas al deslizar */


.review-card{
  flex: 0 0 100%;
  position: relative;
  z-index: 1;
  background:#fff; 
  border:1px solid #eee; 
  border-radius:12px;
  padding:14px; 
  margin:0 6px; 
  box-shadow:0 4px 12px rgba(0,0,0,.04);
}

/* FLECHAS SIEMPRE ENCIMA Y FUERA */

/* en mobile, acercarlas para que no se salgan mucho */
@media (max-width: 600px){
  .carousel-btn.prev{ left:-12px; }
  .carousel-btn.next{ right:-12px; }
}

/* 2 por vista */
@media (min-width:680px){ .review-card{ flex-basis:50%; } }
/* 3 por vista */
@media (min-width:980px){ .review-card{ flex-basis:33.3333%; } }

.stars{
  background: linear-gradient(90deg, #fbbf24, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Estrellitas de reseñas */
.stars{

  font-size: 1.4rem;   /* tamaño (1rem = 16px aprox.) */
  letter-spacing: 2px; /* espacio entre estrellas */
}

/* Opcional: hacer las vacías más claritas */
.stars .empty{
  color: #ddd;         /* gris clarito para ☆ */
}
/* ========== Reseñas: formulario bonito ========== */
.review-form{
  margin: 16px auto 24px;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.review-form label{
  grid-column: 1 / -1;
  font-size: .95rem;
  color: #444;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.review-form select{
  appearance: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .95rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
}

.review-form textarea{
  grid-column: 1 / -1;
  width: 100%;
  min-height: 110px;
  resize: none; /* lo haremos auto-alto por JS */
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  font: 400 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #222;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04) inset,
    0 8px 24px rgba(0,0,0,.04);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.review-form textarea::placeholder{
  color: #a0a0a0;
}

.review-form textarea:focus{
  outline: none;
  border-color: #f59e0b; /* ámbar */
  box-shadow:
    0 0 0 4px rgba(245, 158, 11, .12),
    0 8px 24px rgba(0,0,0,.06);
  background: #fffef9;
}

/* estado deshabilitado (cuando no hay compra verificada) */
.review-form :disabled{
  opacity: .65;
  cursor: not-allowed;
}

/* Botón */
.review-form button[type="submit"]{
  justify-self: end;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg,#ec85c1,#e244d5);
  color: #1f1f1f;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(245,158,11,.25);
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, filter .2s;
}
.review-form button[type="submit"]:hover{ filter: brightness(1.02); }
.review-form button[type="submit"]:active{ transform: translateY(1px); }

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas en escritorio */
  gap: 12px; /* espacio entre reseñas */
}

/* Tablet: máximo 2 por fila */
@media (max-width: 980px) {
  .reviews-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Celular: 1 por fila */
@media (max-width: 680px) {
  .reviews-list {
    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);
}

/* 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;
}

.santa-volando {
  position: fixed;
  top: 100px; /* Altura donde quieras que pase */
  left: -200px;
  width: 120px;
  height: 60px;
  background-image: url('/img/pngegg.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: volarSanta 10s linear infinite;
  opacity: 0.9;
  pointer-events: none; /* Para no interferir con clics */
  z-index: 40000px;
}

@keyframes volarSanta {
  0% {
    left: -200px;
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.05);
  }
  100% {
    left: 110%;
    transform: translateY(0) scale(1);
  }
}

.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;
}
