* {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* por compatibilidad */
}

body {
  margin: 0;
  background-color:rgb(16, 16, 16);
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.loader.oculto {
  opacity: 0;
  pointer-events: none;
}

.loader img {
  width: 400px;
  height: 400px;
  object-fit: contain;
}


.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  width: 100%;
  top: 0;
  z-index:  10;
  background-color: #000000;
  position: fixed;
  box-sizing: border-box;
}

.area-logo {
  flex: 0 0 auto;
}

.contenedor-central {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 60px;
  min-width: 500px;
}

.logo {
  width: 120px;
  height: auto;
}

.barra-separacion {
  position: fixed;
  width: 100%;
  height: 4px;
  top: 86px;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(236, 105, 87, 1) 0%,
    rgba(227, 9, 20, 1) 13%,
    rgba(231, 63, 16, 1) 25%,
    rgba(235, 226, 16, 1) 40%,
    rgba(32, 147, 55, 1) 55%,
    rgba(10, 74, 126, 1) 69%,
    rgba(51, 44, 109, 1) 83%,
    rgba(74, 38, 122, 1) 100%
  );
  z-index: 10;
}

.fondo-menu-izquierda {
  position: fixed;
  width: 60px;
  height: 100vh;
  background-color: #0D0D0D;
  top: 90px;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.fondo-menu-izquierda.expandido {
  width: 250px;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.barra-busqueda {

  position: relative;
  width: 100%;
  max-width: 400px;
  height: 40px;
  border-radius: 45px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    rgba(236, 105, 87, 1) 0%,
    rgba(227, 9, 20, 1) 13%,
    rgba(231, 63, 16, 1) 25%,
    rgba(235, 226, 16, 1) 40%,
    rgba(32, 147, 55, 1) 55%,
    rgba(10, 74, 126, 1) 69%,
    rgba(51, 44, 109, 1) 83%,
    rgba(74, 38, 122, 1) 100%
  );
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.icon-lupa {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
}

.input-busqueda {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 45px;
  background-color: #000000;
  color: white;
  padding-left: 45px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.icono-carrito {
  position: relative;
  width: 25px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  z-index: 100;
}

.icono-carrito img {
  width: 100%;
  height: auto;
  filter: none;
  cursor: pointer;
}

.contador-carrito {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #FFF200;
  font-family: "Montserrat", "sans-serif";
  color: black;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 50%;
  z-index: 50;
  display: block;
}

/* DISEÑO CARRITO OVERLAY */

.carrito-vacio {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  color: #999;
}

.item-carrito {
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin: 15px 0;
  padding: 10px;
  gap: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.04);
}

.item-carrito img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.item-detalle {
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
}

.item-detalle .titulo {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.item-detalle .detalle {
  font-size: 13px;
  color: #ccc;
  font-weight: 500;
}

.item-detalle .precio {
  font-size: 13px;
  color: #FFF200;
  font-weight: 600;
}

.boton-comprar {
  margin-top: auto;
  padding: 12px;
  width: 100%;
  font-size: 15px;
  font-family: 'Montserrat-SemiBold';
  color: black;
  background-color: #FFF200;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-comprar:hover {
  background-color: #e6da00;
}





.icono-menu {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 17px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.icono-menu:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.icono-menu img {
  width: 24px;
  height: 24px;
  filter: none;
  cursor: pointer;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.texto-menu {
  color: white;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
  white-space: nowrap;
}
.fondo-menu-izquierda.expandido .texto-menu {
  opacity: 1;
  transform: translateX(0);
}
.icono-menu:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.0s ease;
  background-color: #111111;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 20px;
}

.submenu-item {
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
  cursor: pointer;
  text-decoration: none;
}

.submenu-item:hover {
  color: #e2e2e2;
}

.submenu.abierto {
  max-height: 500px;
}

.submenu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu li a {
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.submenu li a:hover {
  color: #e2e2e2;
}

 
/* Desactiva clics visualmente y funcionalmente cuando el menú no está expandido */
.fondo-menu-izquierda:not(.expandido) .toggle-submenu {
  pointer-events: none;
  opacity: 0.4;
}

.carrusel-rotativo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  max-width: 100%;
  height: 400px;
  margin: 0 auto 0;
  overflow: visible;
  aspect-ratio: 16 / 9;
  margin-top: 100px;
}

.carrusel-items {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.carrusel-item {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s ease;
  transform: scale(0.8);
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  visibility: hidden;
}

.carrusel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carrusel-item.centro,
.carrusel-item.izquierda,
.carrusel-item.derecha {
  visibility: visible;
}


.carrusel-item.centro {
  transform: scale(1);
  width: 90%;
  height: auto;
  max-width: 650px;
  aspect-ratio: 16 / 9;
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.carrusel-item.izquierda {
  transform: translateX(-15vw) scale(1.85);
  opacity: 0.6;
  z-index: 2;
  visibility: visible;
}

.carrusel-item.derecha {
  transform: translateX(15vw) scale(1.85);
  opacity: 0.6;
  z-index: 2;
  visibility: visible;
}


.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 4;
  user-select: none;
}

.flecha-izquierda { left: 0; }
.flecha-derecha { right: 0; }

/* PANEL DEL CARRITO */
.carrito-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background-color: #0D0D0D;
  color: white;
  z-index: 9998;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.carrito-panel.abierto {
  transform: translateX(0);
}

.carrito-contenido {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  font-family: "Montserrat";
}

.carrito-lista {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #FFF200;
}

.carrito-lista::-webkit-scrollbar {
  width: 6px;
}

.carrito-lista::-webkit-scrollbar-track {
  background: #0D0D0D;
}

.carrito-lista::-webkit-scrollbar-thumb {
  background-color: #FFF200;
  border-radius: 3px;
}

.carrito-total, .carrito-comprar {
  flex-shrink: 0;
}

.box.carrito-item {
  position: relative;
  width: 336px;
  height: 98px;
  margin: 0 auto;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.box .rectangle {
  width: 336px;
  height: 98px;
  border-radius: 20px;
  position: absolute;
  top: 8px;
  left: 4px;
  border: 1px solid #fff200;
  background: #181818;
  z-index: 1;
}
.box .traje {
  position: absolute;
  width: 80px;
  height: 75px;
  top: 18px;
  left: 16px;
  object-fit: cover;
  border-radius: 20px;
  z-index: 2;
  border: none;
  background: #222;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.carrito-menos, .carrito-mas {
  position: absolute;
  width: 22px;
  height: 22px;
  top: 74px;
  background: #181818;
  color: #FFF200;
  border: 1px solid #FFF200;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.carrito-menos:hover, .carrito-mas:hover {
  background: #FFF200;
  color: #181818;
}
.carrito-menos {
  left: 232px;
}
.carrito-mas {
  left: 266px;
}
.cantidad-num {
  position: absolute;
  top: 76px;
  left: 258px;
  width: 24px;
  text-align: center;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #FFF200;
  z-index: 6;
  background: transparent;
}
.box .text-wrapper {
  position: absolute;
  width: 219px;
  top: 20px;
  left: 112px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 18px;
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.box .div {
  position: absolute;
  width: 6px;
  top: 76px;
  left: 270px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 18px;
  white-space: nowrap;
  z-index: 3;
}
.box .text-wrapper-2 {
  position: absolute;
  width: 68px;
  top: 60px;
  left: 112px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #FFF200;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 44px;
  white-space: nowrap;
  z-index: 3;
}
.box .text-wrapper-3 {
  position: absolute;
  width: 68px;
  top: 42px;
  left: 112px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #dddddd;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 44px;
  white-space: nowrap;
  z-index: 3;
}
.box .text-wrapper-4 {
  position: absolute;
  width: 6px;
  top: 76px;
  left: 294px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 18px;
  white-space: nowrap;
  z-index: 3;
}
.box .rectangle-2 {
  width: 80px;
  height: 21px;
  top: 74px;
  left: 232px;
  border-radius: 5px;
  position: absolute;
  border: 1px solid #fff200;
  z-index: 2;
}
.box .icon-basura {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 76px;
  left: 210px;
  cursor: pointer;
  z-index: 10;
  filter: brightness(0) saturate(100%) invert(87%) sepia(100%) saturate(7480%) hue-rotate(1deg) brightness(104%) contrast(104%);
  transition: filter 0.2s;
}
.box .icon-basura:hover {
  filter: brightness(0) saturate(100%) invert(40%) sepia(100%) saturate(7480%) hue-rotate(1deg) brightness(104%) contrast(104%);
}

.carrito-menos {
  left: 232px;
  z-index: 9;
}
.carrito-mas {
  left: 290px;
  z-index: 9;
}
.cantidad-num {
  left: 262px;
  width: 28px;
  text-align: center;
  z-index: 9;
}
.box .text-wrapper-4 {
  position: absolute;
  width: 6px;
  top: 76px;
  left: 294px;
  font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 18px;
  white-space: nowrap;
  z-index: 3;
}


.carrito-comprar {
  width: 100%;
  padding: 13px 0;
  background: #FFF200;
  color: #181818;
  font-family: 'Montserrat SemiBold', 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.carrito-comprar:hover {
  background: #ffe600;
}

.carrito-contenido h2 {
  margin-top: 0;
  font-size: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.carrito-contenido p {
  font-size: 14px;
  color: #ccc;
}



/* RECIENTES */

.recientes {
  background-color: #000;
}

.recientes-titulo {
  text-align: center;
  margin-bottom: 20px;
}

.recientes-titulo h2 {
  font-family: 'Montserrat-Medium';
  font-size: 30px;
  color: white;
  letter-spacing: 2px;
  margin: 10px 0;
}

.linea-rgb {
  width: 100%;
  height: 1px;
  margin: 15px auto;
  background: linear-gradient(
    90deg,
    #ec6957 0%,
    #e30914 13%,
    #e73f10 25%,
    #ebe210 40%,
    #209337 55%,
    #0a4a7e 69%,
    #332c6d 83%,
    #4a267a 100%
  );
}

.recientes-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recientes-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.card-reciente {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  min-width: 200px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.card-reciente img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card-reciente:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(229, 255, 0, 0.3);
}


.reciente-nombre {
  font-family: 'Montserrat-Bold';
  font-size: 16px;
  color: white;
  margin-bottom: 5px;
}

.reciente-precio {
  font-family: 'Montserrat-SemiBold';
  font-size: 15px;
  color: #E5FF00;
}

.flecha-reciente {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
  transition: color 0.3s ease;
}

.flecha-reciente:hover {
  color: #E5FF00;
}

.flecha-reciente.izquierda {
  position: absolute;
  left: 50px; /* antes era 0 */
}

.flecha-reciente.derecha {
  position: absolute;
  right: 10px;
}



/* FOOTER */

.footer {
  position: relative;
  z-index: 20;
  background-color: #000000;
  color: white;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 30px 0 10px;
}



.footer-contenido {
  background-color: #000000;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  border-radius: 10px;
  position: relative;
  z-index: 20;
}

.footer-logo img {
  height: 50px;
}

.footer-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
}

.footer-item img {
  height: 20px;
  width: 20px;
}

.footer-copy {
  margin-top: 15px;
  font-size: 12px;
  color: #aaa;
}

.footer-copy a {
  color: #aaa;
  text-decoration: underline;
}

  #menuHorizontalMovil,
  .espacio-movil {
    display: none;
  }

.mi-enlace {
  color: white;
  font-family: "Montserrat";
}


/* ADAPTACIÓN DE PANTALLAS */
@media screen and (max-width: 768px) {
  /* Header adaptado */
  .box {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 10px;
  }

  .area-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .contenedor-central {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 10px;
    width: 100%;
    min-width: auto;
  }

  .barra-busqueda {
    flex-grow: 1;
    max-width: 100%;
  }

  .icono-carrito {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icono-carrito img {
    width: 24px;
    height: 24px;
  }

  .carrito-panel {
    width: 100% !important;
    max-width: 360px;
    right: 0;
  }

  .box.carrito-item {
    width: 320px !important;
    margin: 0 auto 12px !important;
  }

  .box .rectangle {
    width: 310px !important;
    left: 0 !important;
  }

  .box .traje {
    top: 28px !important;
    border-radius: 8px !important;
    width: 60px !important;
    height: 58px !important;
    left: 18px !important;
  }

  .box .text-wrapper {
    width: 140px !important;
    left: 100px !important;
  }

  .box .text-wrapper-2,
  .box .text-wrapper-3 {
    left: 100px !important;
  }
  .box .text-wrapper-4 {
    display: none !important;
  }

  .box .icon-basura {
    left: 185px !important;
    top: 76px !important;
  }

  .box .rectangle-2 {
    width: 65px !important;
    left: 205px !important;
  }

  .carrito-menos {
    left: 205px !important;
    top: 74px !important;
  }

  .carrito-mas {
    left: 256px !important;
    top: 74px !important;
  }

  .cantidad-num {
    left: 232px !important;
    top: 76px !important;
    width: 20px !important;
    height: 20px !important;
    text-align: center !important;
    line-height: 20px !important;
    font-family: 'Montserrat-SemiBold', Helvetica, Arial, sans-serif;
    font-size: 14px !important;
    color: white !important;
    position: absolute !important;
    background: transparent !important;
    z-index: 999 !important;
  }

  .box .text-wrapper-4 {
    display: none !important;
  }

  .barra-separacion {
    position: fixed;
    width: 100%;
    height: 4px;
    top: 86px;
    left: 0;
    margin-top: 42px;
    background: linear-gradient(
      90deg,
      rgba(236, 105, 87, 1) 0%,
      rgba(227, 9, 20, 1) 13%,
      rgba(231, 63, 16, 1) 25%,
      rgba(235, 226, 16, 1) 40%,
      rgba(32, 147, 55, 1) 55%,
      rgba(10, 74, 126, 1) 69%,
      rgba(51, 44, 109, 1) 83%,
      rgba(74, 38, 122, 1) 100%
    );
    z-index: 10;
  }

  /* Botón menú móvil */
  #botonMenu {
    position: fixed;
    top: 108px;
    left: 10px;
    z-index: 1000;
    background-color: #0D0D0D;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-top: 45px;
  }

  #botonMenu img {
    width: 24px;
    height: 24px;
    margin: 0;
    margin-left: 50px;
  }

  #botonMenu .texto-menu {
    display: inline-block !important;
    color: white;
    font-size: 14px;
    margin-left: 8px;
    font-family: 'Montserrat', sans-serif;
  }


  /* Oculta menú lateral escritorio */
  .desktop-only,
  #menuLateral {
    display: none !important;
  }

  /* Menú horizontal móvil */
  #menuHorizontalMovil {
    display: flex;
    flex-direction: column;
    position: fixed !important;
    top: 130px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 130px);
    background-color: #0D0D0D;
    padding: 20px 0;
    box-sizing: border-box;
    z-index: 999;
    transition: left 0.6s ease-in-out;
    overflow-y: auto;
    opacity: 1 !important;
  }

  #menuHorizontalMovil.mostrar {
    left: 0;
  }

  #menuHorizontalMovil .texto-menu {
    opacity: 1 !important;
    display: inline !important;
  }

  #menuHorizontalMovil .icono-menu {
    display: flex;
    align-items: center;
    color: white;
    padding: 15px 20px;
    gap: 8px;
    background-color: transparent;
    border-radius: 0;
    flex-shrink: 0;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #menuHorizontalMovil .icono-menu img {
    width: 20px;
    height: 20px;
    margin-left: 50px;
  }

  .submenu-movil {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #111;
    padding: 0;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
  }


  .submenu-movil.abierto {
    max-height: 500px;
  }

  .submenu-movil .submenu-item {
    padding: 12px 20px 12px 50px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .espacio-movil {
    height: 20px;
  }

  /* Carrusel adaptado */
  .carrusel-rotativo {
    width: 100%;
    height: auto;
    margin-top: 130px;
    flex-direction: column;
  }

  .carrusel-item.centro {
    width: 95%;
    max-width: 100%;
    box-shadow: none;
  }

  .carrusel-item.izquierda,
  .carrusel-item.derecha,
  .flecha {
    display: none !important;
  }

  /* Recientes en columna */
  .recientes-grid {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: hidden;
    gap: 20px;
  }

  .card-reciente {
    min-width: 90%;
    max-width: 95%;
    margin: 10px auto;
  }

  .flecha-reciente.izquierda,
  .flecha-reciente.derecha {
    display: none;
  }

  /* Footer compacto */
  .footer-contenido {
    padding: 20px;
  }
  .footer-info {
    flex-direction: column;
    gap: 10px;
  }

  /* Overlay fondo */
  #overlay.visible {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

}
