* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* NUEVO - Agregar estas 4 líneas */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  position: relative;
  width: 45px;
  height: 45px;
  background-color: #007bbf;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background-color: #005a8c;
  transform: scale(1.05);
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 12px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 30px;
}

/* Animación cuando está abierto */
.menu-toggle.active span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.menu-toggle.active {
  opacity: 0;
  pointer-events: none;
}

/* Menú Lateral - FIXED para que no empuje el contenido */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: -300px; /* Cambiado de -100% a valor fijo */
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #0a141d 0%, #1a2a3d 100%);
  z-index: 1000;
  transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  background-color: #007bbf;
  color: white;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Cambiado de flex-end a space-between */
  gap: 12px;
}

.sidebar-menu ul {
  list-style: none;
  padding: 15px 0;
}

.sidebar-menu ul li {
  padding: 0;
  margin: 5px 15px;
}

.sidebar-menu ul li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-menu ul li a:hover {
  background: rgba(0, 123, 191, 0.4);
  transform: translateX(8px);
}

.sidebar-menu ul li a i {
  font-size: 20px;
  width: 25px;
  text-align: center;
}

.sidebar-close {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.sidebar-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Overlay oscuro */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Estilos del header original */
.menu {
  padding: 0;
  background-color: #0a141d;
}

.menu-menuSuperior {
  width: 100%;
  padding: 0;
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}

.menu-menuSuperior-logo {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2%;
}

.menu-menuSuperior-logo img {
  width: clamp(80px, 8vw, 140px);
  height: auto;
  display: block;
  cursor: pointer;
}

.menu-menuSuperior-buscador {
  width: 60%;
  display: flex;
  position: relative;
  justify-content: flex-end;
}

.menu-menuSuperior-buscador input {
  width: 100%;
  height: clamp(42px, 5vh, 52px);
  padding: 0.5rem 1rem;
  font-size: clamp(14px, 1.5vw, 16px);
  border-radius: 15px;
  color: #007bbf;
  border: none;
}

.menu-menuSuperior-buscador button {
  position: absolute;
  height: clamp(42px, 5vh, 52px);
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: #007bbf;
  font-weight: bold;
  cursor: pointer;
}

.menu-menuSuperior-items {
  width: auto;
  display: flex;
  flex-direction: row;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 8px;
  align-items: center;
}

.menu-menuSuperior-items a {
  color: white;
  text-decoration: none;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-menuSuperior-items a:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-menuSuperior-items i {
  font-size: clamp(16px, 1.5vw, 20px);
  transition: all 0.3s ease;
}

.menuInferior {
  background-color: #007bbf;
  color: white;
  width: 100%;
  padding: 0;
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.menuInferior ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: clamp(3rem, 5vw, 4rem);
  padding: 0.8rem 0 0.5rem 0;
  align-items: center;
}

.menuInferior ul li {
  cursor: pointer;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-bottom: 3px solid transparent;
}

.menuInferior ul li:hover {
  transform: translateY(-4px);
  border-bottom: 3px solid white;
}

.menuInferior ul li i {
  font-size: clamp(20px, 2vw, 24px);
  transition: all 0.3s ease;
}

.menuInferior li > a {
  color: white;
  text-decoration: none;
}

/*ONDAS DE BUSCADOR*/
#resultadosBusqueda {
  position: absolute;
  top: calc(100% + 5px); /* Se posiciona justo debajo del input */
  left: 0;
  width: 100%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none; /* Oculto por defecto */
}

.resultado-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  color: #333;
}

.resultado-item:last-child {
  border-bottom: none;
}

.resultado-item:hover {
  background-color: #f8f9fa;
}

.resultado-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.resultado-info {
  flex: 1;
}

.resultado-info strong {
  display: block;
  color: #0a141d;
  font-size: 14px;
  margin-bottom: 3px;
}

.resultado-info small {
  color: #666;
  font-size: 12px;
}

.ver-todos {
  display: block;
  text-align: center;
  padding: 12px;
  background-color: #007bbf;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
}

.ver-todos:hover {
  background-color: #005a8f;
  color: white;
}

.sin-resultados {
  padding: 20px;
  text-align: center;
  color: #999;
}

/* Scrollbar personalizado */
#resultadosBusqueda::-webkit-scrollbar {
  width: 8px;
}

#resultadosBusqueda::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#resultadosBusqueda::-webkit-scrollbar-thumb {
  background: #007bbf;
  border-radius: 10px;
}

#resultadosBusqueda::-webkit-scrollbar-thumb:hover {
  background: #005a8f;
}

/* CSS del Modal (agrégalo a tu CSS) */
.tooltip-login {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  background: linear-gradient(135deg, #1a2a3d 0%, #0a141d 100%);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  z-index: 2000;
  color: white;
  width: 280px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.tooltip-login h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.tooltip-login p {
  margin: 0 0 15px 0;
  font-size: 13px;
  color: #aaa;
}

.tooltip-buttons {
  display: flex;
  gap: 10px;
}

.tooltip-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: 15px;
  }

  .menu-menuSuperior-buscador {
    display: none;
  }

  .menuInferior ul {
    display: none;
  }

  /* Ocultar TODOS los items del lado derecho en móvil */
  .menu-menuSuperior-items-login {
    display: none !important;
  }

  .menu-menuSuperior {
    padding: 10px 0;
    justify-content: space-between;
    gap: 15px;
  }

  .menu-menuSuperior-logo {
    padding-left: 0;
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 10%;
  }

  .menu-menuSuperior-logo img {
    width: clamp(100px, 10vw, 160px); /* Hace el logo más grande en móvil */
  }

  /* Hacer el carrito más grande y visible */
  .menu-menuSuperior-items a i {
    font-size: 24px;
  }

  .menu-menuSuperior-items {
    padding-right: 15px;
  }
}

/* Simulación del contenido de la página */
.demo-content {
  padding: 50px 20px;
  text-align: center;
  color: white;
}

/*Editaremos la parte de los banner de anuncios*/

:root {
  --primary-color: #2c5aa0;
  --secondary-color: #00d4aa;
  --accent-color: #ff6b35;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
}

.hero-section {
  position: relative;
  height: 90vh;
  background: linear-gradient(135deg, #1e3c72 0%, #000000 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 100vw; /* NUEVO */
  width: 100%; /* NUEVO */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
  -webkit-animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
  -webkit-animation: fadeInUp 1s ease 0.3s both;
}

.btn-hero {
  background: linear-gradient(45deg, #2196f3, #1976d2);
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
  animation: fadeInUp 1s ease 0.6s both;
  -webkit-animation: fadeInUp 1s ease 0.6s both;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
  /*BoxShadowAzulmásintensoenhover*/
  box-shadow: 0 10px 25px rgba(33, 150, 243, 0.6);
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 1;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Estilos personalizados para los botones del carousel */
.carousel-control-prev,
.carousel-control-next {
  color: #000;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #ddd;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.carousel-control-prev {
  margin-left: 10%;
}

.carousel-control-next {
  margin-right: 10%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 1);
  color: #000;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #333;
  border-radius: 2px;
}

/*Estilos titulo*/
.contenedorTitulo,
.contenedorBotones {
  width: 100%;
  max-width: 100%;
  padding-left: 5%;
  margin-bottom: 3%;
  padding-left: 11%;
}

.contenedorBotones {
  display: flex;
  flex-direction: row;
  gap: 2%;
}

.btnCategorias {
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  background-color: #007bff;
  border-radius: 10px;
  color: white;
  border: 0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;

  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24);
}

.btnCategorias:hover {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.contenedorTitulo h2 {
  font-size: clamp(2rem, 2.5rem, 3rem);
  font-weight: bold;
}

/*Estilos targetas*/

.product-image {
  object-fit: cover;
  cursor: pointer;
}
.card-title {
  text-align: center;
}

.btnCard {
  color: #1d4ed8;
}

.btnAgregar {
  background-color: #1d4ed8;
  color: white;
}

.btnAgregar:hover {
  background-color: #007bff;
  color: white;
}

.slide {
  margin-bottom: 4%;
}
.card {
  border-radius: 15px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%; /* NUEVO - Agregar esta línea */
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.card-body {
  color: black;
}

.discount-badge {
  position: absolute;
  top: 15px;
  left: -5px;
  background: #1d4ed8;
  color: white;
  padding: 8px 20px 8px 15px;
  border-radius: 0 25px 25px 0;
  font-weight: bold;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
  -webkit-border-radius: 0 25px 25px 0;
  -moz-border-radius: 0 25px 25px 0;
  -ms-border-radius: 0 25px 25px 0;
  -o-border-radius: 0 25px 25px 0;
}

.discount-badge::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 0;
  border-left: 8px solid #1d4ed8;
  border-bottom: 8px solid transparent;
}

.card-precio,
.card-promocion {
  background-color: #007bff;
  color: white;
  width: 50%;
  display: flex;
  justify-content: center;
  padding-top: 5%;
  font-size: 1.1em;
  font-weight: bold;
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}

.card-promocion {
  font-size: 0.8em;
  margin-top: 3%;
}

.card-boton {
  display: flex;
  justify-content: center;
  margin-top: 10%;
  margin-bottom: 5%;
}
.card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%; /* o un ancho fijo */
  display: block; /* o inline-block si estás en línea */
  font-size: 1em;
}

.price-badge {
  position: absolute;
  top: 15px;
  right: -5px;
  background: linear-gradient(135deg, #0a141d, #0a141d);
  color: white;
  padding: 8px 15px 8px 20px;
  border-radius: 25px 0 0 25px;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  -webkit-border-radius: 25px 0 0 25px;
  -moz-border-radius: 25px 0 0 25px;
  -ms-border-radius: 25px 0 0 25px;
  -o-border-radius: 25px 0 0 25px;
}

.price-current {
  font-size: 1.1rem;
  font-weight: bold;
}

.price-old {
  text-decoration: line-through;
  font-size: 0.8rem;
  opacity: 0.8;
}

.price-badge::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 0;
  border-right: 8px solid #0a141d;
  border-bottom: 8px solid transparent;
}

.contenedorBotonesBotCard {
  gap: 5%;
}

.contenedorBotonesBotCard a {
  width: 5rem;
  border-radius: 50px;
  font-size: clamp(0.3rem, 1rem, 3rem) !important;
  font-weight: bold;
}

.contenedorBotonesBotCard-botonVer {
  background-color: #0a1a2a;
  text-align: center;
  border: none;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

@media (max-width: 1753px) {
  .contenedorBotonesBotCard a {
    font-size: clamp(0.3rem, 0.7rem, 3rem) !important;
  }
}

@media (max-width: 1410px) {
  .contenedorBotonesBotCard a {
    font-size: clamp(0.3rem, 0.6rem, 3rem) !important;
  }
}

@media (max-width: 1290px) {
  .contenedorBotonesBotCard a {
    font-size: clamp(0.3rem, 0.5rem, 3rem) !important;
  }
}

/*Estilos fotter*/

.pie-pagina {
  width: 100%;
  background-color: #0a141d;
}
.pie-pagina .grupo-1 {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 50px;
  padding: 45px 0px;
}
.pie-pagina .grupo-1 .box figure {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pie-pagina .grupo-1 .box figure img {
  width: 200px;
}
.pie-pagina .grupo-1 .box h2 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 20px;
}
.pie-pagina .grupo-1 .box p {
  color: #efefef;
  margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a {
  display: inline-block;
  text-decoration: none;
  width: 45px;
  height: 45px;
  line-height: 45px;
  color: #fff;
  margin-right: 10px;
  background-color: #0d2033;
  text-align: center;
  transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover {
  color: aqua;
}
.pie-pagina .grupo-2 {
  background-color: #0a1a2a;
  padding: 15px 10px;
  text-align: center;
  color: #fff;
}
.pie-pagina .grupo-2 small {
  font-size: 15px;
}
@media screen and (max-width: 800px) {
  .pie-pagina .grupo-1 {
    width: 90%;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
    padding: 35px 0px;
  }
}

.contenedorBotones button,
#vermasNovedades {
  width: 20vw;
  padding: 0.9em;
  font-weight: bold;
}

.contenedorOfertas {
  background-color: #007bff;
  padding: 2%;
  margin-bottom: 3%;
}

/*Estilos categoria*/
.circle {
  --size: 200px;
  --gradient: linear-gradient(#007bff);

  width: var(--size);
  height: var(--size);
  background: var(--gradient);
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 5px 5px gray;
  cursor: pointer;
}

.circle:hover {
  background-color: #007bbf;
  scale: 1.1;
  transition: scale 0.1s 500ms;
  transition-timing-function: ease-in-out;
}

.circle i {
  font-size: 100px;
  color: white;
}

.col-auto {
  padding-bottom: 25px;
}

.contenedorCat {
  gap: 3%;
}

/*Beneficios*/

.contenedorBeneficios {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 5%;
}

.contenedorBeneficios-interno {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 3%;
  justify-content: flex-end;
}

.contenedorBeneficios-interno-beneficio {
  background-color: black;
  cursor: pointer;
  width: 30%;
  height: auto;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 3vh;
  gap: 3%;
  font-size: clamp(0.8rem, 1.5rem, 2rem);
  font-weight: bold;
  border-radius: 1em;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  -ms-border-radius: 1em;
  -o-border-radius: 1em;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24);
}

.contenedorBeneficios-interno-beneficio:hover {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.contenedorBeneficios-interno-beneficio i {
  font-size: 2em;
}

/*Estilos para catalogo*/

.contenedorGeneralCatalogo {
  display: flex;
  flex-direction: row;
  width: 80%;
  max-width: 80%;
  margin-bottom: 5%;
}

.contenedorProductos {
  width: 80%;
  padding: 2%;
  max-width: 80%;
}

.filtroProductos {
  background-color: #f9fafb;
  width: 20%;
  max-width: 20%;
  padding: 2%;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  height: fit-content;
}

.tituloFiltro {
  font-size: clamp(0.8rem, 1.5rem, 2rem);
  font-weight: bold;
  margin-bottom: 5%;
  text-align: center;
  text-decoration: underline;
}

.contenedorTitulo.catalogo {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  text-align: center;
  padding: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  padding-bottom: 2%;
}

.contenedorTitulo.catalogo h1 {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contenedorInputLabel {
  display: flex;
  flex-direction: column;
  margin-bottom: 5%;
  border-bottom: #007bbf solid 0.1rem;
  padding-bottom: 5%;
}

.contenedorInputLabel input {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.2s;
}

.contenedorInputLabel input:focus {
  outline: none;
  border-color: #0d6efd;
  background: #ffffff;
}

.price-row {
  display: flex;
  flex-direction: row;
  gap: 5%;
  align-items: center;
  margin-top: 2%;
}

.btn-filter {
  width: 100%;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
}
.btn-filter:hover {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
}

.form-label {
  font-size: 0.8rem;
  font-weight: bold;
}

@media (max-width: 1141px) {
  .contenedorGeneralCatalogo {
    flex-direction: column;
  }
  .filtroProductos {
    width: 100%;
    max-width: 100%;
    margin-bottom: 5%;
  }
}

/*Estilos para el login*/
/*Estilos para el login*/
.contenedorGeneralInicioSesion {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: row;
}

.contenedorGeneralInicioSesion img {
  width: 60%;
  max-width: 60%;
  height: 100vh;
  max-height: 100vh;
  object-fit: cover;
}

.contenedorGeneralInicioSesion.registrarse img {
  height: auto; /* Altura automática basada en contenido */
  min-height: 100vh; /* Mínimo 100vh */
  max-height: none; /* Quitar la restricción de max-height */
}

.contenedorFormulario {
  width: 40%;
  max-width: 40%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5%;
}

.formularioLogin {
  display: flex;
  padding: 5%;
  flex-direction: column;
  gap: 2vh;
}

.formularioLogin label {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.formularioLogin input {
  border: none;
  border-bottom: 2px solid #007bff;
  border-radius: 0;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: transparent;
}

.formularioLogin input:focus {
  outline: none;
  border-bottom: 3px solid #0056b3;
  box-shadow: 0 1px 0 0 #007bff;
}

.formularioLogin input::placeholder {
  color: #999;
  font-size: 0.95rem;
}

/* Estilo para el botón */
.btn-dark {
  padding: 0.85rem;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

/* Enlaces mejorados */
.formularioLogin a,
.contenedorVolverLogin a,
.contenendorCrearCuenta-login a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

/* Línea animada debajo de los enlaces */
.formularioLogin a::after,
.contenedorVolverLogin a::after,
.contenendorCrearCuenta-login a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
}

.formularioLogin a:hover,
.contenedorVolverLogin a:hover,
.contenendorCrearCuenta-login a:hover {
  color: #0056b3;
  text-decoration: none;
}

.formularioLogin a:hover::after,
.contenedorVolverLogin a:hover::after,
.contenendorCrearCuenta-login a:hover::after {
  width: 100%;
}

/* Título */
.contenedorFormulario-Titulo h1 {
  margin-bottom: 2rem;
  color: #1a1a1a;
}

/*Tab Cruds*/

.ContenedorTabs ul {
  border-color: #007bff;
}
.ContenedorTabs li {
  margin-right: 1%;
}
.ContenedorTabs button {
  color: white;
  background-color: #007bff;
  text-decoration: none;
}

.ContenedorTabs button:hover {
  color: white;
}

.tablaStyles thead {
  background-color: #333333;
}

@media (max-width: 500px) {
  footer {
    flex-direction: column;
  }

  .contenedorPieRedes-iconos {
    display: flex;
    flex-direction: row;
    gap: 50%;
    justify-content: center;
  }

  .contDerecha {
    display: none;
  }
  .impar {
    display: none;
  }
  .contenedorCategorias {
    flex-direction: column;
  }
  .contenedorBeneficios-interno {
    flex-direction: column;
  }
  .contenedorBeneficios-interno-beneficio {
    width: 100%;
    margin-top: 5%;
  }

  /*Parte catalogo*/

  /*Parte login*/
  .contenedorGeneralInicioSesion {
    flex-direction: column;
  }

  .contenedorGeneralInicioSesion img {
    width: 100%;
    max-width: 100%;
    height: 25vh;
    max-height: 25vh;
    object-fit: cover; /* Esto hace que la imagen cubra todo el espacio */
  }

  .contenedorFormulario {
    width: 100%;
    max-width: 100%;
    margin-top: 15%;
  }

  /* NUEVO - Agregar al inicio */
  .container-fluid.w-75 {
    width: 95% !important;
    max-width: 95% !important;
  }

  .hero-section {
    height: auto;
    min-height: 90vh;
    padding: 20px 10px;
  }

  .hero-image {
    display: none;
  }
}

/*ESTO ES PARA EL MENU*/

/* Móviles muy pequeños */
@media (max-width: 360px) {
  .logoNav {
    width: 50%;
    max-width: 120px;
  }

  .itemsMenu a {
    font-size: 14px;
    padding: 0.75rem;
  }

  .contenedorBotonesAcciones {
    gap: 1.5rem;
  }

  .contenedorBotonesAcciones i {
    font-size: 18px;
  }
}

/* Para pantallas muy anchas */
@media (min-width: 1400px) {
  .contenedorListaItems {
    width: 70%;
  }

  .contenedorBotonesAcciones {
    width: 15%;
  }

  .itemsMenu a {
    font-size: 18px;
  }
}

/* Fix para dropdown */
.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 0.125rem;
  z-index: 1000;
}

.dropdown-item {
  color: white;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(0, 123, 255, 0.2);
  color: #007bff;
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 0.25rem 0;
}

/* Fix para dropdown en móviles */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-item {
    color: white;
    padding: 0.75rem 1.5rem;
  }

  .dropdown-item:hover {
    background-color: rgba(0, 123, 255, 0.2);
    color: #007bff;
  }
}

.contendorVisitantesTotales {
  position: relative;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 60px;
  color: #007bbf;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}

.contendorVisitantesTotales::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #007bbf, #00d4ff, #007bbf);
  animation: rotateBorder 4s linear infinite;
}

.contendorVisitantesTotales::after {
  content: "";
  position: absolute;
  inset: 4px; /* Grosor del borde */
  background: white;
  border-radius: 8px;
  z-index: 0;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contenedorVisitantesTotales-icono,
.contenedorVisitantesTotales-cantidad,
.contenedorVisitantesTotales-texto {
  position: relative;
  z-index: 1;
}

.contenedorVisitantesTotales-icono,
.contenedorVisitantesTotales-texto {
  font-size: 48px;
}

.contenedorVisitantesTotales-cantidad {
  font-size: 56px;
  font-weight: bold;
}
