*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

/*  FAMILIAS TIPOGRAFICAS DE GOOGLE PARA TITULOS

  font-family: "Unkempt", cursive; 9
  font-family: "Yomogi", serif;
  font-family: "Vibur", serif; 6
  font-family: "Sour Gummy", serif; 8 pf
  font-family: "Shrikhand", serif; 6
  font-family: "Rubik Puddles", serif; 8 sc
  font-family: "Pacifico", serif; 8
  font-family: "Mystery Quest", serif; 9
  font-family: "Martian Mono", serif; 7
  font-family: "Lumanosimo", serif; 6
  font-family: "Kablammo", serif; 6
  font-family: "Just Me Again Down Here", serif; 6
  font-family: "Ingrid Darling", serif; 6
  font-family: "Gwendolyn", serif; 7
  font-family: "Flavors", serif; 9
  font-family: "Delius Unicase", serif; 7
  font-family: "Chicle", serif; 8
  font-family: "Chewy", serif; 7
  font-family: "Chango", serif; 7
  font-family: "Barrio", serif; 9
  font-family: "Bangers", serif; 7
  font-family: "Aclonica", serif; 8

*/

/*=====================================*/
/*========= INDEX.PHP ==========*/
/*====================================*/

body.index-body {
  background-color: rgb(255, 255, 255);
}

/*=====================================*/
/*========= BARRA NAV =================*/
/*=====================================*/

/* 
font-family: "Birthstone", serif; c 8
font-family: "Ms Madi", serif; c 8
font-family: "Gwendolyn", serif; c 8
font-family: "Vibur", serif; c 7
font-family: "Pacifico", serif; c 7
font-family: "Playwrite IT Moderna", serif; c 6
font-family: "Homemade Apple", serif; c 5
font-family: "Unkempt", serif; 6
font-family: "Kablammo", serif; 6 
font-family: "Just Me Again Down Here", serif; 6
font-family: "Yomogi", serif; 7
font-family: "Delius Unicase", serif; 7 
font-family: "Teko", sans-serif; 9
font-family: "Klee One", serif; 8
font-family: "Mystery Quest", serif; 8
font-family: "Fuzzy Bubbles", serif; 8
font-family: "Poiret One", sans-serif; 8
*/

/* NAVBAR BACKGROUND */
.index-nav {
  background: linear-gradient(135deg, #f796ab, #f1dbeb);
  transition: background 0.3s ease-in-out;
}

/* ----------  BRAND  ---------- */
a.brand-logo {
  margin-left: 20px;
  gap: 0.25rem; /* espacio entre img y texto */
  text-decoration: none;
}

.logo-img {
  display: none;
  width: 250px; /* tamaño base desktop */
  max-width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}

.logo-text {
  font-family: "Gwendolyn", serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: #000;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: all 0.25s ease;
}

/* Hover cool */
.brand-logo:hover .logo-img {
  transform: scale(1.3) rotate(-3deg) translateX(5px);
}
.brand-logo:hover .logo-text {
  color: #fff;
  text-shadow: -2px 2px black;
}

li.nav-item a.nav-link {
  color: black !important;
  font-size: 1.3rem;
  font-family: "Poiret One", sans-serif;
  font-weight: bold;
}

li.nav-item a.nav-link:hover {
  color: white !important;
}

/* Estilo base para todos los nav-items */
.navbar-nav li.nav-item {
  display: flex; /* Asegura que todos los elementos se alineen correctamente */
  align-items: center; /* Centra verticalmente el contenido dentro del contenedor */
  justify-content: center; /* Alinea el contenido al inicio horizontalmente */
  margin: 10px 0 0 7px; /* Evita márgenes adicionales que puedan desalinear */
}

/* Estilo específico para el ícono del carrito */
.cart-item .cart-icon {
  display: flex; /* Asegura que el ícono y el contador estén en línea */
  align-items: center; /* Centra verticalmente el ícono y el contador */
  gap: 0.5rem; /* Añade un espacio uniforme entre el ícono y el contador */
  text-decoration: none; /* Elimina subrayado en el enlace */
}

/* Estilos para el icono de carrito */
.nav-item .cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: red;
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*=====================================*/
/*========= SECCION INICIO ============*/
/*=====================================*/
section#inicio {
  height: auto;
  margin: 80px 0 50px 0px;
  padding-top: 50px;

  background-image: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("../images/fondos/fondo1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  scroll-margin-top: 100px;
}

div#box_inicio {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
}

div#presentacion {
  align-self: center;
}
.logo {
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
}

#minibanner {
  background-color: #ffef60;
  margin-top: 20px;
  margin-bottom: 50px;
}

#minibanner h2 {
  font-family: "Klee One", serif;
  color: #444;
}

h2 span.text-kuday {
  font-family: "Klee One", serif;
  font-style: italic;
  font-size: 1.8rem;
  color: rgba(208, 49, 230, 0.753);
}

.text-general {
  font-family: "Klee One", serif;
}

/*=====================================*/
/*========= CARRUSEL ==================*/
/*=====================================*/

section.carrusel {
  padding: 10px 30px;
  margin-top: 10px;
}

.carousel {
  position: relative;
}

.carusel-index {
  height: 80vh;
  width: 100%; /* No exceder la altura de la ventana */
  overflow: hidden; /* Esconde cualquier exceso */
  max-height: 100%;
  box-shadow: 2px -2px 15px rgb(14, 14, 14);
}

.carousel-item {
  height: 100%; /* Adapta la altura al viewport */
  width: 100%;
}

.foto-carousel {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Asegura que las imágenes llenen el contenedor */
  transition: transform 4s ease;
}

.foto-carousel:hover {
  transform: scale(1.2);
}

.carousel-item.active .foto-carousel {
  animation: scaleEffect 4s ease forwards;
}

@keyframes scaleEffect {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2); /* Mismo efecto del hover */
  }
}

/* Estilos base para animación fluida */
.carousel-caption {
  padding: 5px 10px;
  text-shadow: -3px 3px 2px rgba(0, 0, 0, 0.9);
  color: #fff; /* Color del texto */
  font-family: "Dancing Script", cursive !important;
  font-size: 2rem;
  z-index: 10; /* Asegura que esté sobre la imagen */
}

h5.caption-title {
  font-size: 3rem;
  color: #fff;
  font-weight: bold;
}

p.caption-parr {
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
}

/* Posiciones por slide */
.carousel-item:nth-child(1) .carousel-caption {
  top: 40px;
  left: 80px;
  bottom: auto;
  right: auto;
  text-align: left;
}

.carousel-item:nth-child(2) .carousel-caption {
  bottom: 50px;
  left: 80px;
  top: auto;
  right: auto;
  text-align: left;
}

.carousel-item:nth-child(3) .carousel-caption {
  top: 40px;
  right: 60px;
  left: auto;
  bottom: auto;
  text-align: right;
}

.carousel-button {
  position: absolute;
  bottom: 5%; /* Espacio desde la parte inferior */
  right: 5%; /* Espacio desde la parte derecha */
  margin-top: 15px;
  z-index: 10;
}

.btn-invisible {
  border: 2px solid #fff; /* Borde blanco visible */
  padding: 10px 20px;
  background: transparent; /* Fondo transparente */
  color: #fff; /* Color del texto */
  text-decoration: none; /* Quitar subrayado */
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-invisible:hover {
  background: #fff; /* Fondo blanco al hacer hover */
  color: #000; /* Texto negro al hacer hover */
}

/*****************************************************************/
/* BOTONES DE LOS CARRUSELES DE SECCION C CARRUSEL Y SECCION INFO*/
/*****************************************************************/

.carousel-control-prev,
.carousel-control-next {
  width: 50px; /* Ancho del área clickeable */
  height: 50px; /* Altura del área clickeable */
  display: flex; /* Centra el ícono dentro del botón */
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%; /* Centra verticalmente */
  transform: translateY(-50%); /* Ajusta el centro exacto */
  z-index: 10;
  background: none;
}

.carousel-control-prev {
  left: 15px; /* Espacio desde el borde izquierdo */
}

.carousel-control-next {
  right: 15px; /* Espacio desde el borde derecho */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #000000; /* Fondo violeta del ícono */
  width: 40px; /* Tamaño del ícono */
  height: 40px; /* Tamaño del ícono */
  border-radius: 50%; /* Forma circular */
  background-size: 50%; /* Tamaño del ícono interno */
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: none; /* Sin cambio de fondo al hacer hover */
}

.carousel-caption {
  position: absolute !important;
  display: block !important;
  opacity: 1 !important;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-caption h5,
.carousel-caption p {
  opacity: 0;
}

.carousel-item.active .carousel-caption h5 {
  animation-delay: 1s;
}

.carousel-item.active .carousel-caption p {
  animation-delay: 1.5s;
}

/*=====================================*/
/*========= SECCION TIENDA ============*/
/*=====================================*/
/* 
font-family: "Birthstone", serif; c 8
font-family: "Ms Madi", serif; c 8
font-family: "Gwendolyn", serif; c 8
font-family: "Vibur", serif; c 7
font-family: "Pacifico", serif; c 7
font-family: "Playwrite IT Moderna", serif; c 6
font-family: "Homemade Apple", serif; c 5
font-family: "Unkempt", serif; 6
font-family: "Kablammo", serif; 6 
font-family: "Just Me Again Down Here", serif; 6
font-family: "Yomogi", serif; 7
font-family: "Delius Unicase", serif; 7 
font-family: "Teko", sans-serif; 9
font-family: "Klee One", serif; 8
font-family: "Mystery Quest", serif; 8
font-family: "Fuzzy Bubbles", serif; 8
font-family: "Poiret One", sans-serif; 8
*/

section#tienda-index {
  margin: 150px 0 0 0;
}

h3#titulo_tienda {
  scroll-margin-top: 100px;
}

h3.titulo {
  font-size: 4.8rem;
  font-family: "Teko", sans-serif;
  font-weight: normal;
}

.mainbox-store {
  flex-grow: 1;
}

/* Contenedor principal CARTUCHERAS con gradiente */
.fondo-store1 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(
    rgba(248, 207, 169, 0.76),
    rgba(255, 255, 255, 0.9)
  );
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen1 {
  max-width: 80%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 80%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store1:hover .imagen1 {
  transform: scale(1.4); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store1 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store1:hover {
  color: #fd7949;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 255, 255, 0.8),
    0 0 24px rgba(255, 154, 118, 0.6);
}

/* Contenedor principal NECESER con gradiente */
.fondo-store2 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(
    rgba(253, 250, 75, 0.7),
    rgba(255, 255, 255, 0.9)
  );
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen2 {
  max-width: 90%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 90%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store2:hover .imagen2 {
  transform: scale(1.2); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store2 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store2:hover {
  color: rgba(
    253,
    250,
    75,
    0.7
  ); /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/* Contenedor principal BILLETERAS con gradiente */
.fondo-store3 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(
    rgba(127, 255, 238, 0.7),
    rgba(255, 255, 255, 0.9)
  );
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen3 {
  max-width: 80%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 80%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store3:hover .imagen3 {
  transform: scale(1.4); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store3 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store3:hover {
  color: #33ffe4; /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/* Contenedor principal BANDOLERA con gradiente */
.fondo-store4 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(
    rgba(80, 144, 240, 0.7),
    rgba(255, 255, 255, 0.9)
  );
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen4 {
  max-width: 90%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 90%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store4:hover .imagen4 {
  transform: scale(1.1); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store4 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store4:hover {
  color: rgba(
    80,
    144,
    240,
    1
  ); /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/* Contenedor principal BOLSO MATERO con gradiente */
.fondo-store5 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(
    rgba(184, 63, 214, 0.7),
    rgba(255, 255, 255, 0.9)
  );
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen5 {
  max-width: 90%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 90%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store5:hover .imagen5 {
  transform: scale(1.1); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store5 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  text-wrap: nowrap;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store5:hover {
  color: #bf55f0; /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/* Contenedor principal SET MATERO con gradiente */
.fondo-store6 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente6 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(
    rgba(223, 223, 223, 0.7),
    rgba(255, 255, 255, 0.9)
  );
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor6 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen6 {
  max-width: 90%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 90%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store6:hover .imagen6 {
  transform: scale(1.2); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store6 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  text-wrap: nowrap;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store6:hover {
  color: #dddddd; /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/* Contenedor principal VARIOS con gradiente */
.fondo-store7 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente7 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(rgb(245, 103, 103), rgba(255, 255, 255, 0.9));
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor7 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen7 {
  max-width: 90%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 90%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store7:hover .imagen7 {
  transform: scale(1.1); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store7 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store7:hover {
  color: #f76964; /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/* Contenedor principal PROMOCIONES con gradiente */
.fondo-store8 {
  height: 300px; /* Altura fija */
  position: relative;
  border: 0px solid black;
  border-radius: 20px;
  overflow: hidden; /* Evita que algo sobresalga del contenedor */
  display: flex; /* Asegura que el contenido interno (imagen y texto) esté bien alineado */
  align-items: center;
  justify-content: center;
}

/* Capa de gradiente */
.gradiente8 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Ahora se ajustará al ancho natural del contenedor */
  height: 100%;
  background: linear-gradient(rgba(69, 255, 69, 0.7), rgba(255, 255, 255, 0.9));
  z-index: 1; /* Debajo de la imagen y el texto */
}

/* Contenedor para la imagen */
.imagen-contenedor8 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por encima del gradiente */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Limita la imagen al área del contenedor */
}

/* Imagen dentro del contenedor */
.imagen8 {
  max-width: 90%; /* Ajusta la imagen al tamaño del contenedor */
  max-height: 90%; /* Respeta las proporciones de la imagen */
  transition: transform 0.5s ease-in-out; /* Suaviza el cambio de tamaño */
}

/* Hover para agrandar la imagen */
.fondo-store8:hover .imagen8 {
  transform: scale(1.1); /* Agranda la imagen ligeramente */
}

/* Texto en el centro */
.texto-store8 {
  position: absolute; /* Por encima del resto */
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    /* Sombra negra intensa */ 0 0 8px rgba(255, 255, 255, 0.6); /* Brillo sutil alrededor del texto */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.texto-store8:hover {
  color: #55f540; /* Cambia el color a un tono cálido (naranja suave) */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
    /* Sombra negra más profunda */ 0 0 12px rgba(255, 255, 255, 0.8),
    /* Brillo más destacado */ 0 0 24px rgba(255, 154, 118, 0.6); /* Un resplandor del color hover */
}

/*======================================*/
/*========= SECCION PROMOCIONES ========*/
/*========= PRODUCTOS RELEVANTES =======*/
/*======================================*/

section.slider-container {
  text-align: center;
  padding: 20px 20px 80px 20px;
  background: linear-gradient(
    rgba(240, 212, 248, 0.7),
    rgba(255, 255, 255, 0.9)
  );
}

section#productos-relevantes {
  scroll-margin-top: 100px;
}

h3.titulo-slider {
  font-size: 4.8rem;
  font-family: "Teko", sans-serif;
  margin: 20px 0;
  padding: 20px 0;
  text-align: center;
  font-weight: normal;
}

.titulo-slider-views {
  font-size: 3rem;
  font-family: "Teko", sans-serif;
  margin-bottom: 20px;
  text-align: center;
}

.swiper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 40px;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
  /* Hace que todos los slides tengan la misma altura */
}

.slider-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: auto;
  /* Evita que Swiper haga ajustes individuales */
  min-height: 100%;
  /* Mantiene la altura uniforme */
}

.producto-contenedor {
  flex-grow: 1;
  /* Hace que todas las imágenes ocupen el mismo espacio */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  /* Forzar misma altura */
}

.producto-img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  /* Evita que las imágenes se recorten */
  border-radius: 10px;
}

.producto-nombre {
  font-size: 1.5rem;
  margin-top: 10px;
  flex-grow: 1;
}

.no-imagen {
  color: gray;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  margin-top: auto;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  align-self: center;
}

/*=====================================*/
/*========= SECCION INFO ==============*/
/*=====================================*/

section#info {
  margin: 50px 0;
}

#texto_presentacion {
  width: 100%;
  padding: 50px 30px;
  margin: 50px auto;
  border-radius: 20px;
  box-sizing: border-box;

  /* Fondo con efecto glass */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Fondo de imagen sutil */
  background-image: url("../images/fondos/p2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: overlay;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

p#eslogan {
  font-family: "Dancing Script", cursive !important;
  font-size: 1.8rem;
  color: #212529;
  padding: 30px 20px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.icon-box {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  height: 350px; /* Asegura altura uniforme */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icon-box:hover {
  border-color: #6610f2;
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.02);
}

.icon-box i {
  font-size: 3.5rem;
  color: #6610f2;
}

.icon-box p {
  margin-top: 10px;
  font-size: 1rem;
  padding: 5px 0px;
}

/*=====================================*/
/*========= SECCION FOOTER ============*/
/*=====================================*/

footer {
  background-color: rgb(240, 165, 181); /* opcion vieja*/
  background: linear-gradient(135deg, rgb(247, 150, 171), #f1dbeb);
  color: black;
  text-align: center;
  padding: 20px;
  bottom: 0;
  width: 100%;
  height: auto;
  animation: fadeInFooter 1.2s ease-out both;
}

footer#seccion_footer {
  scroll-margin-top: 50px;
}

.contenedor_footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  text-align: center;
  gap: 10px;
}

div.box_1 {
  display: flex;
  flex-direction: column;
}

div.box_1 p {
  text-align: center;
}

/*  MINIMAPA DE GOOGLE*/
.map-container {
  position: relative;
  width: 100%; /* Mapa se adapta al contenedor */
  padding-top: 56.25%; /* Relación de aspecto 16:9 */
  margin-top: 15px; /* Espaciado respecto a otros elementos */
  border: 2px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; /* Sin bordes extra */
}

.map-container a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

i.pinguin {
  font-size: 2.2rem;
  color: #000000;
  text-shadow: 1px 1px 12px white;
}

i.tel,
i.correo,
i.wsp,
i.ubic {
  font-size: 1.2rem;
  color: rgb(0, 0, 0);
  text-shadow: 1px 1px rgb(253, 253, 253);
  margin-right: 10px;
  vertical-align: middle;
}

i.tel:hover,
i.correo:hover,
i.wsp:hover,
i.ubic:hover {
  color: #fd0707;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

i.fb,
i.ig,
i.prest {
  font-size: 3rem;
  color: rgb(0, 0, 0);
  text-shadow: -1px 1px rgb(252, 247, 247);
}

.h6-footer {
  font-family: "Teko", sans-serif;
  padding: 10px;
  font-size: 1.7rem;
  text-wrap: nowrap;
  margin: 8px 0 0 0;
  color: #a63d57;
}

p.p-footer {
  font-family: "Klee One", serif;
  font-size: 1rem;
  font-weight: bold;
}

.contenedor-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-evenly;
}

.contenedor-cards img {
  width: 65px;
  height: 30px;
  border: 1px solid white;
  border-radius: 5px;
}

.contenedor-cards img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
  transition: 0.3s ease-in-out;
}

.redes-icons-footer {
  padding: 0 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

.redes-icons-footer a {
  display: inline-block;
  padding: 5px 20px 20px 20px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 45px;
  transition: 0.5s ease-in-out;
}

.redes-icons-footer a:hover {
  transform: scale(1.2);
}

@keyframes fadeInFooter {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  animation: fadeInFooter 1.2s ease-out both;
}

/*=====================================*/
/*========= CARTUCHERAS.PHP ==========*/
/*====================================*/
body.cartuchera-body {
  width: 100%;
  height: 100%;
}

/* Aplica un contenedor sobre el fondo para hacerlo borroso*/
body.cartuchera-body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/fondos/p10.png");
  background-position: center;
  background-size: contain;
  background-repeat: repeat;
  filter: grayscale(0.2);
  z-index: -999;
  box-sizing: border-box;
}

nav.cartuchera-nav {
  width: 100%;
  background: linear-gradient(135deg, rgb(247, 150, 171), #f1dbeb);
  height: auto;
}

section#vistas-inicio {
  width: 100%;
  height: auto;
  scroll-margin-top: 50px;
}

div.contenedor-h3 {
  text-align: center; /* Centra el elemento hijo horizontalmente */
  max-width: 100%; /* Asegura que sea de ancho completo */
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}

h3.titulo-categoria {
  background: linear-gradient(135deg, rgba(247, 150, 171, 0.692), #f1dbeb);

  width: 100%;
  padding: 1rem 2rem;
  color: black;
  font-family: "Poiret One", sans-serif;
  font-size: 4rem;
  font-weight: bold;
  text-align: center !important;
  text-shadow: -2px 2px rgb(255, 151, 173);
  border-radius: 20px;
  box-sizing: border-box;
}

/* Configuración de la grid responsiva */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
  justify-items: center;
  padding: 20px 25px 50px 25px;
}

/* Estilo para cada producto */
.producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;

  height: auto;
  max-height: 100%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.contenedor-foto {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 100%;
  max-width: 400px;
  margin: auto;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.7);
}

img.imagen-producto {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 350px;
  object-fit: contain;
  transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
  filter: brightness(1.1);
  border-radius: 15px;
}

img.imagen-producto:hover {
  transform: scale(1.1);
  filter: brightness(105%) contrast(105%);
}

/* Detalle del producto */
.contenedor-detalle {
  width: 100%;
  padding: 10px 25px;
  background-color: rgb(255, 221, 221);
}

div.card-body {
  height: auto;
  max-height: 100%;
}

h5.item-card {
  font-family: "Teko", sans-serif;
  font-size: 2.5rem;
  font-weight: normal;
  text-align: center;
  border: 1px solid gray;
  border-radius: 15px;
  background-color: rgb(255, 151, 173);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  cursor: default;
  margin-bottom: 20px;
  padding: 5px;
}

a.boton-nombre {
  font-family: "Teko", sans-serif;
  text-decoration: none;
  color: black;
}

div.botonera-producto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.boton-producto {
  font-family: "Klee One", serif;
  color: black;
  font-weight: bold;
  width: 250px;
  margin-top: 10px;
  background-color: rgb(255, 151, 173);
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
  max-width: 100%;
  padding: 10px 15px;
  border: none;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.boton-producto:hover {
  background-color: rgb(247, 87, 121);
  color: white;
  transform: scale(1.05);
}

/*******************/

ul.detalle-lista {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 20px 0;
  text-align: center;
  height: 200px;
  overflow-y: auto;
}

ul.detalle-lista li {
  font-size: 1rem;
  margin: 6px 0;
  padding-left: 10px;
  position: relative;
  font-family: "Klee One", serif;
}

ul.detalle-lista li strong {
  font-size: 1.1rem;
  text-decoration-line: underline;
}

ul.detalle-lista li::before {
  content: "•";
  color: rgb(255, 151, 173);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/**********************/

/* Responsividad adicional */
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .contenedor-foto {
    max-width: 90%;
    padding: 5px;
  }

  img.imagen-producto {
    max-width: 100%;
    max-height: 350px;
  }
}

/*=======================================*/
/*===== PANEL.PHP - BARRA NAVEGACIÓN ===*/
/*=======================================*/

body#body-panel {
  min-height: 100vh;
  background-image: linear-gradient(
      rgba(94, 252, 46, 0.425),
      rgba(250, 100, 113, 0.685)
    ),
    url("../images/fondos/fondo1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

div.contenedor-barra {
  padding: 10px;
  gap: 10px;
}

a.marca {
  display: inline-block;
  align-self: center;
  width: 100%;
  max-width: 200px;
  font-family: "Gwendolyn", serif;
  font-weight: 500;
  color: black;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

a.marca:hover {
  transform: scale(1.1) translateX(10px);
  color: #fff;
  text-shadow: -2px 2px black;
}

.navbar-collapse form {
  width: 100%;
}

button.navbar-toggler {
  margin: 10px;
}

.btn-salir {
  padding: 10px;
  background-color: #d9534f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn-salir:hover {
  background-color: #c9302c;
}

/************************************************************/
/*******  SECCIÓN PANEL AGREGAR PRODUCTO A LA TIENDA  *******/
/************************************************************/

section#panel {
  margin: 120px auto 50px auto;
  height: auto;
  width: 100%;
}

div.panel-adm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  background-color: rgb(239, 138, 138);
  border-radius: 25px;
  border: 3px dashed black;
}

div.titulo-panel-carga {
  text-align: center;
}

div.titulo-panel-carga h2 {
  font-family: "Klee One", serif;
  font-weight: bold;
  text-shadow: 1px 1px 2px white;
  text-wrap: pretty;
}

div.paneles {
  justify-content: space-evenly;
}

div.panel-carga {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
  margin-bottom: 10px;
}

form#formulario-carga {
  width: 100%;
  border: 1px solid black;
  border-radius: 20px;
  padding: 20px;
  background-color: lightgray;
}

div.panel-muestra {
  background-color: lightgray;
  width: 450px;
  max-width: 90%;
  border: 1px solid rgb(15, 15, 15);
  border-radius: 20px;
  margin: 40px 0 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

div.panel-muestra p {
  font-size: 0.8rem;
  padding: 10px 20px 0px 20px;
}

.alerta {
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.alerta.exito {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alerta.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.alerta.peso {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/************************************************/
/*******  SECCIÓN PANEL LISTAR PRODUCTOS ********/
/************************************************/

section#listar-productos {
  margin: 50px 0;
}

div.fondo-panel {
  background-color: rgb(239, 138, 138);
  padding-bottom: 10px;
  margin-top: 10px 0;
  border-radius: 25px;
  border: 3px dashed black;
}

div.fondo-panel h2 {
  font-family: "Klee One", serif;
  font-weight: bold;
  text-shadow: 1px 1px 2px white;
  text-wrap: pretty;
}

form#formulario-categoria {
  padding: 20px 50px 20px 50px;
  background-color: rgba(255, 255, 255, 0.212);
  border-radius: 10px;
  margin: 20px 20px 10px 20px;
}

label.col-form-label {
  padding: 10px 0px 5px 0px;
  display: inline-flex;
}

input.btn-buscar {
  font-weight: normal;
}

div.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Mejor experiencia de scroll en dispositivos táctiles */
  background-color: lightgray;
  padding: 20px;
  border-radius: 15px;
}

table#tabla-resultado {
  min-width: 100%; /* Asegura que la tabla ocupe el espacio completo disponible */
  width: 100%; /* Asegura que la tabla tome el 100% del ancho disponible */
  background-color: transparent;
}

td {
  vertical-align: middle;
  text-align: center;
}

th {
  vertical-align: middle;
  text-align: center;
  font-weight: 500 !important;
  text-align: center !important;
}

.celda_func {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

div.celda_func button {
  margin: 5px;
}

td.img-fetched {
  vertical-align: middle;
  /*box-shadow: 0 0 5px rgba(241, 240, 240, 0.2);*/
}

label.label_listar_modal {
  display: flex;
  justify-content: flex-start;
  margin: 5px 0 0 0;
  font-weight: bold;
}

div.img-modal {
  background-color: rgba(0, 0, 0, 0.25);
}

/**************************************/
/*******  SECCIÓN PANEL VENTAS ********/
/**************************************/
section#ventas {
  margin: 50px 0;
}

form#formulario-ventas-filtros {
  padding: 20px 50px 20px 50px;
  background-color: rgba(255, 255, 255, 0.212);
  border-radius: 10px;
  margin: 20px 20px 10px 20px;
}

table#tabla-compras {
  min-width: 100%; /* Asegura que la tabla ocupe el espacio completo disponible */
  width: 100%;
}

td {
  vertical-align: middle;
  text-align: center;
  overflow-wrap: break-word;
}

th {
  vertical-align: middle;
  text-align: center;
  font-weight: 500 !important;
  text-align: center !important;
}

.resaltado {
  background-color: #d1ffd1 !important;
  animation: resaltar-fila 1.2s ease-in-out;
}

@keyframes resaltar-fila {
  0% {
    background-color: #0eb8aa;
  }
  50% {
    background-color: #8b2ca8;
  }
  100% {
    background-color: inherit;
  }
}

.estado {
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 0px;
  text-align: center;
  width: fit-content;
  margin: auto;
}

.estado.confirmada {
  background-color: #d4edda;
  color: #155724;
}

.estado.rechazada {
  background-color: #f7caca;
  color: #721c24;
}

.estado.pendiente {
  background-color: #e9e05e;
  color: #383d41;
}

/***************************************/
/*******  CONFIG DATATABLE  ***********/
/***************************************/

div.dataTables_length,
div.dataTables_filter {
  margin: 10px 0px;
  text-align: start !important;
}

a.paginate_button.current {
  background-color: #ffffff !important;
  border-radius: 10px !important;
}
a.paginate_button {
  border-radius: 10px !important;
}

div.dataTables_length select,
div.dataTables_filter input {
  background-color: rgb(255, 255, 255) !important;
  border-radius: 10px !important;
}

/* Letra más chica para toda la tabla */
table.dataTable tbody td {
  font-size: 0.85rem;
  padding: 0.5rem 0.3rem; /* Menos padding */
}

/* Letra más chica para encabezados */
table.dataTable thead th {
  font-size: 0.9rem;
  padding: 0.6rem 0.4rem;
}

/* Ajustes en filas para hacerlas más compactas */
table.dataTable tbody tr {
  height: auto;
}

/*=======================================*/
/*=== PRODUCTO.PHP - DETALLE PRODUCTOS ==*/
/*=======================================*/

section#ver_producto {
  margin: 120px 20px 0px 20px;
  padding: 20px;
  height: auto;
  scroll-margin-top: 50px;
}

section#ver_producto .detalleproducto.row {
  background-color: #fffafc;
  border: 1px solid #ffcbd8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.producto-img-prod {
  max-height: 400px;
  object-fit: contain;
  border: 2px solid #ffcbd8;
  padding: 10px;
  background-color: white;
  transition: transform 0.3s ease;
}

.producto-img-prod:hover {
  transform: scale(1.05);
}
div.cuadro-detalle {
  padding: 0 25px 25px 25px;
}

h1.titulo-producto {
  font-family: "Teko", sans-serif;
  font-size: 3rem;
}

p.detalle-producto {
  font-family: "Klee One", serif;
}

.social-share a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease-in-out;
}

.social-share a:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

div.botonera-producto {
  margin: 20px 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Contenedor principal del controlador de cantidad */
.quantity-controller {
  display: flex; /* Usa flexbox para alinear los elementos */
  justify-content: center; /* Centra los elementos horizontalmente */
  align-items: center; /* Centra los elementos verticalmente */
  gap: 10px; /* Espacio entre los elementos */
  width: auto; /* Ajusta el tamaño del contenedor */
  margin: 0 auto; /* Centra el contenedor en su contenedor principal */
}

/* Estilo para los botones */
.quantity-controller button {
  background-color: rgb(209, 120, 139); /* Color de fondo del botón */
  color: rgb(255, 255, 255); /* Color de texto blanco */
  font-size: 1rem; /* Tamaño de la fuente */
  border: none; /* Sin borde */
  cursor: pointer; /* Cursor en forma de mano */
  transition: background-color 0.2s ease; /* Transición suave al pasar el ratón */
}

/* Estilo de los botones cuando se pasa el ratón */
.quantity-controller button:hover {
  background-color: rgb(196, 74, 100); /* Color de fondo al pasar el ratón */
}

/* Estilo del campo de cantidad */
input#product-quantity {
  text-align: center; /* Centra el texto (el número) dentro del campo */
  width: 50px; /* Ancho fijo para el campo */
  padding: 5px; /* Espaciado interno */
  font-size: 1.2rem; /* Tamaño de la fuente */
  border: 1px solid #b8b6b6; /* Borde gris claro */
  border-radius: 5px; /* Bordes redondeados */
  outline: none; /* Sin borde al hacer clic */
  transition: border-color 0.3s; /* Transición suave al pasar el ratón */
}

/* Estilo del campo de cantidad cuando se enfoca */
input#product-quantity:focus {
  border-color: rgb(196, 74, 100);
}

.add-carrito-prod {
  color: #ffffff;
  border: none;
  background-color: rgb(209, 120, 139);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.add-carrito-prod:hover {
  background-color: #b93c59;
  transform: scale(1.05);
}

.accordion-button {
  background-color: #fbe2ea;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: #a63d57;
  background-color: #fad1dc;
}

.accordion-body {
  background-color: #fff;
  border-top: 1px solid #f7c0d0;
  font-size: 0.95rem;
  color: #333;
  font-family: "Klee One", serif;
}

/*=========================================*/
/*=== CARRITO.PHP - DETALLES DEL CARRITO ==*/
/*=========================================*/

body#carrito_body {
  background: linear-gradient(135deg, #fff6eb 0%, #ffedfa 100%);
  scroll-margin-top: 50px;
}

h3.titulo-carrito {
  font-size: 3.5rem;
  font-weight: normal;
  font-family: "Teko", sans-serif;
}

section.carrito-acc thead th {
  font-size: 1.1rem !important;
  font-weight: bold !important;
}

table td.botonera-update div {
  padding: 5px;
}

/*============ Overlay al finalizar Compra =================*/
/*============ Overlay al finalizar Compra =================*/
/*============ Overlay al finalizar Compra =================*/

#overlay-carga {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Klee One", sans-serif;
  color: #333;
}

#overlay-carga p {
  padding: 10px 20px;
  font-size: 1.5rem;
  font-family: "Klee One", sans-serif;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  color: #333;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #ff97ad;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*=========================================*/
/*============ CONTACTO.PHP ===============*/
/*=========================================*/

body#contacto {
  background: linear-gradient(135deg, #fff6eb 0%, #ffedfa 100%);

  align-items: center;
  justify-content: center;
}

section#contact-form {
  display: flex;
  margin: 150px auto 50px auto;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 150px;
}

div.contact-card {
  font-family: "Klee One", serif;
  max-width: 540px;
  min-width: 300px;
  background: linear-gradient(135deg, #ffebd5 0%, #f1dbeb 100%);
  border: 1px solid rgb(145, 143, 143);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  animation: fade 0.8s ease;
}

h1.titulo-contacto {
  font-family: "Birthstone", cursive;
  font-size: 3.5rem;
  color: #202020;
  text-shadow: 0 1px 2px #bbbbbbb9;
}

@keyframes fade {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.form-control:focus {
  border-color: #f796ab;
  box-shadow: 0 0 0 0.2rem #f796ab55;
}

.btn-kuday {
  background: linear-gradient(135deg, #f796ab, #f1dbeb);
  border: none;
  font-weight: 700;
}

.btn-kuday:hover {
  transform: scale(1.03);
}

.alert {
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
}

/* honeypot oculto */
.honeypot {
  display: none !important;
}

/*=========================================*/
/*============ MEDIA QUERIES ==============*/
/*=========================================*/

/*  Estilos para celulares - mobile */
@media all and (max-width: 575.98px) {
  /* ----------  RESPONSIVE DEL NAV EN INDEX ---------- */
  .brand-logo {
    margin-left: 10px;
  }

  .logo-img {
    justify-content: center;
    width: 200px;
    display: flex;
  }

  /* para mostrar sólo el ícono en móviles */
  .logo-text {
    display: none;
  }

  #minibanner h2 {
    font-size: 1.2rem !important;
    font-family: "Klee One", serif;
    color: #444;
  }

  h2 span.text-kuday {
    font-family: "Klee One", serif;
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(208, 49, 230, 0.753);
  }

  .carusel-index {
    height: 50vh;
  }

  .carousel-caption {
    padding: 10px 20px;
    text-shadow: -3px 3px 2px rgba(0, 0, 0, 0.6);
    color: #fff; /* Color del texto */
    z-index: 10; /* Asegura que esté sobre la imagen */
  }

  h5.caption-title {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
  }

  p.caption-parr {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
  }

  .text-general {
    font-size: 1rem;
    font-family: "Klee One", serif;
  }

  h3.titulo-slider {
    font-size: 4rem;
    font-family: "Teko", sans-serif;
    margin: 20px 0;
    padding: 20px 0;
    text-align: center;
    font-weight: normal;
  }

  h3#titulo_tienda {
    scroll-margin-top: 200px;
  }

  p#eslogan {
    font-family: "Dancing Script", cursive !important;
    font-size: 1.5rem;
    color: #212529;
    padding: 30px 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
  }

  #info .icon-box {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 350px; /* Asegura altura en mobile también */
  }

  #info .icon-box p {
    margin-top: 14px;
    padding: 6px 10px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* Opcional: aumenta visibilidad de botones en móviles */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.8);
  }

  footer#seccion_footer {
    scroll-margin-top: 100px;
  }

  div.contenedor-h3 {
    text-align: center; /* Centra el elemento hijo horizontalmente */
    max-width: 100%; /* Asegura que sea de ancho completo */
    width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  h3.titulo-categoria {
    background: linear-gradient(135deg, rgba(247, 150, 171, 0.692), #f1dbeb);
    width: 100%;
    padding: 1rem 2rem;
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center !important;
  }

  /*  ****************  */
  /*  TABLA DE CARRITO  */
  /*  ****************  */

  .table-responsive#carrito-table-mq table thead {
    display: none; /* Ocultamos encabezados */
  }

  .table-responsive#carrito-table-mq table,
  .table-responsive#carrito-table-mq tbody,
  .table-responsive#carrito-table-mq tr,
  .table-responsive#carrito-table-mq tr.costo-envio-row,
  .table-responsive#carrito-table-mq td {
    display: block !important;
    width: 100% !important;
  }

  .table-responsive#carrito-table-mq tr,
  .table-responsive#carrito-table-mq tr.costo-envio-row {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    background: #fff;
  }

  .table-responsive#carrito-table-mq td {
    text-align: center;
    padding: 8px 10px;
    position: relative;
  }

  .table-responsive#carrito-table-mq td div.celda-cantidad {
    justify-content: center !important;
  }

  .table-responsive#carrito-table-mq td.costo-envio-label {
    display: none !important;
  }

  .table-responsive#carrito-table-mq td::before {
    content: attr(data-label);
    font-weight: bold;
    font-size: 1.2rem;
    color: #495057;
    display: block;
    margin-bottom: 4px;
  }

  .botonera-update,
  .botonera-eliminar {
    text-align: center;
  }

  /*  *****************************************  */
  /*  TABLA DE LISTAS DE PRODUCTOS EN PANEL.PHP  */
  /*  *****************************************  */

  .table-responsive#panel-listar-table-mq table thead {
    display: none; /* Ocultamos encabezados */
  }

  .table-responsive#panel-listar-table-mq table,
  .table-responsive#panel-listar-table-mq tbody,
  .table-responsive#panel-listar-table-mq tr,
  .table-responsive#panel-listar-table-mq td {
    display: block !important;
    width: 100% !important;
  }

  .table-responsive#panel-listar-table-mq tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    background: #fff;
  }

  .table-responsive#panel-listar-table-mq td {
    text-align: center;
    padding: 8px 10px 8px 10px;
    position: relative;
  }

  .table-responsive#panel-listar-table-mq td.img-fetched {
    text-align: center !important;
  }

  .table-responsive#panel-listar-table-mq td::before {
    content: attr(data-label);
    font-weight: bold;
    font-size: 1rem;
    color: #495057;
    display: block;
    margin-bottom: 4px;
  }

  /*  *****************************************  */
  /*  TABLA DE VENTAS DE PRODUCTOS EN PANEL.PHP  */
  /*  *****************************************  */

  .table-responsive#panel-ventas-mq table thead {
    display: none; /* Ocultamos encabezados */
  }

  .table-responsive#panel-ventas-mq table,
  .table-responsive#panel-ventas-mq tbody,
  .table-responsive#panel-ventas-mq tr,
  .table-responsive#panel-ventas-mq td {
    display: block !important;
    width: 100% !important;
  }

  .table-responsive#panel-ventas-mq tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    background: #fff;
  }

  .table-responsive#panel-ventas-mq td {
    text-align: center;
    padding: 8px 10px 8px 10px;
    position: relative;
  }

  .table-responsive#panel-ventas-mq td::before {
    content: attr(data-label);
    font-weight: bold;
    font-size: 1rem;
    color: #495057;
    display: block;
    margin-bottom: 4px;
  }

  /***  OverLay de carga en mobile  ***/
  /***  OverLay de carga en mobile  ***/

  #overlay-carga p {
    padding: 10px 20px;
    font-size: 1rem;
    font-family: "Klee One", sans-serif;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    color: #333;
  }
}

/*  Estilos para todos los dispositivos hasta tablets*/
@media all and (max-width: 767px) {
  .desktop-container {
    display: none; /* Oculta los elementos distribuidos en pantallas pequeñas */
  }

  .producto-img-prod {
    max-width: 100%;
    max-height: 300px;
    margin-bottom: 20px;
  }

  .quantity-controller {
    width: 50%;
    justify-content: center;
  }

  section#tienda-index {
    margin: 100px 0 0 0;
  }

  .carusel-index {
    height: 70vh;
  }
}

/*  Estilos para tablets hasta notebooks */
@media all and (min-width: 767.98px) and (max-width: 991.98px) {
  h5.caption-title {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
  }

  p.caption-parr {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
  }
}

/*  Estilos desde celulares hasta notebooks*/
@media all and (min-width: 576px) and (max-width: 1199.98px) {
  h5.caption-title {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
  }

  p.caption-parr {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
  }

  #minibanner h2 {
    font-size: 1.3rem !important;
    font-family: "Klee One", serif;
    color: #444;
  }

  h2 span.text-kuday {
    font-family: "Klee One", serif;
    font-style: italic;
    font-size: 1.4rem;
    color: rgba(208, 49, 230, 0.753);
  }
}

/*  Estilo desde notebooks hasta desktop*/
@media (min-width: 768px) {
  .carousel-container {
    display: none; /* Oculta el carrusel en pantallas grandes */
  }
}
