* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* HEADER FIJO */
.encabezado {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: red;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contenido-encabezado {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  height: 50px;
}

/* BOTÓN HAMBURGUESA */
.hamburguesa {
  position: absolute;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* MENÚ LATERAL DESPLEGABLE */
.menu-lateral {
  font-family:  sans-serif;
  height: 100%;
  width: 250px;
  background-color: #000000; /* CAMBIA EL COLOR DE FONDO ACÁ */
  position: fixed;
  top: 0;
  right: -250px;
  transition: right 0.3s ease;
  z-index: 9999;
  padding-top: 60px;
}

.menu-lateral a {
  padding: 15px 25px;
  display: block;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.menu-lateral a:hover {
  background-color: #850000; /* COLOR AL PASAR EL MOUSE */
}

.menu-lateral .cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* SECCIÓN DE ARTÍCULOS DESTACADOS */
.destacados {
  margin-top: 0px;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

/* TÍTULO ESTILO VIDEOJUEGO */
.titulo-destacados {
  font-size: 18px;
  font-family: sans-serif;
  font-weight: 900;
  color: #222;
  margin-bottom: 20px;
  animation: aparecerTexto 2s ease-out forwards;
  opacity: 0;
  text-align: left;
}

@keyframes aparecerTexto {
  0% { opacity: 0; transform: translateX(-50px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* CARRUSEL CONTINUO Y SUAVE */
.carrusel {
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  gap: 30px;
  animation: deslizarLoop 40s linear infinite;
  width: calc(200px * 12 + 30px * 11); /* 12 imágenes + 11 espacios */
}

.slide-track a {
  flex: 0 0 auto;
}

.slide-track a img {
  height: 200px;
  width: auto;
  transition: transform 0.3s ease;
}

.slide-track a:hover img {
  transform: scale(1.05);
}

/* ANIMACIÓN CONTINUA */
@keyframes deslizarLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* SECCIÓN DE OUTFIT DESTACADO */
.outfit-destacado {
  padding: 40px 20px;
  background-color: #fff;
}

/* Reutilizamos .titulo-destacados para mantener coherencia */

/* Imagen responsive */
.imagen-outfit {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.imagen-outfit img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.large-container {
  font-weight: 900;
    line-height: 1.5; /* Ajusta el interlineado a 1.5 */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgb(0, 0, 0);
    margin: 20px auto;
    width: 90%;
    height: auto;
    max-height: 680px; /* Ajusta la altura máxima del contenedor */
    flex-wrap: nowrap;
    padding: 7px;
}

.carousel-container {
    width: 25%; /* Carrusel solo en la izquierda */
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 1s ease;
}

.carousel-container img {
    width: 100%;
    height: auto;
}

.text-container {
    width: 60%; /* Texto en la derecha */
    padding: 20px;
    text-align: left;
}

.text-container h2 {
    font-size: 24px;
}

.text-container p {
    font-size: 16px;
    padding-bottom: 30px;
}

@media (max-width: 768px) {

    .text-container h2 {
        font-size: 18px;
    }
    
    .text-container p {
        font-size: 12px;
        padding-bottom: 20px;
    }
    
    .curved-text {
        font-size: 13px;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    
    .rotating-image-container {
        margin-top: 10px; /* Casi sin margen superior en móviles */
    }

    .rotating-image {
        width: 350px; /* Tamaño en móviles */
        height: 350px;
    }

    .curved-text {
        margin-top: 5px; /* Menos espacio entre la imagen y el título */
    }

    .options-container {
        margin-top: 5px; /* Reducir distancia entre enlaces y título */
    }

    .large-container {
        flex-direction: column; /* Carrusel encima del texto en móviles */
        max-height: none; /* Sin altura máxima en móviles */
    }

    .carousel-container {
        width: 100%; /* El carrusel ocupa el 100% en móviles */
    }

    .text-container {
        width: 100%; /* Texto también al 100% */
        text-align: center; /* Centrar el texto en móviles */
    }
}

/* SECCIÓN COLECCIONES */
.colecciones {
  padding: 40px 20px;
  background-color: #f2f2f2;
}

.grid-articulos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive: 2 columnas en celular */
@media (max-width: 768px) {
  .grid-articulos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Cada artículo */
.articulo {
  background-color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #111;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articulo:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.322);
}

.articulo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.articulo h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.articulo .subtitulo {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.articulo .precio {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.animado {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animado.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sección colecciones (reutilizada en "otros") */
.fondo-colecciones {
  background-color: #f2f2f2;
  padding: 40px 20px;
}

/* Encabezado de "Otros" con flecha */
.otros-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #f2f2f2;
  padding: 0 20px;
}

/* Flecha ▼ ▲ */
.flecha {
  font-size: 24px;
  transition: transform 0.3s ease;
}

/* Contenido deslizable */
.otros-contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

/* Cuando está activo */
.otros-contenido.activo {
  max-height: 5500px;
  opacity: 1;
}

/* CARRUSEL COLLARES */
.collares-carrusel {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.slide-track-collares {
  display: flex;
  gap: 30px;
  animation: deslizarCollares 15s linear infinite; /* MÁS RÁPIDO */
  width: calc(200px * 12 + 30px * 11);
}

.slide-track-collares a {
  flex: 0 0 auto;
}

.slide-track-collares a img {
  height: 180px;
  width: auto;
  transition: transform 0.3s ease;
}

.slide-track-collares a:hover img {
  transform: scale(1.05);
}

/* ANIMACIÓN MÁS RÁPIDA */
@keyframes deslizarCollares {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CARTEL ANIMADO (arriba a la derecha, entra desde fuera de pantalla) */
#cartelAnimado {
  position: fixed;
  top: 100px;         /* ← Ubicación vertical inicial */
  right: -200px;     /* ← Inicialmente fuera de la pantalla */
  z-index: 9998;
  transition: transform 1s ease;
}

/* Tamaño del cartel animado */
#cartelAnimado img {
  width: 160px;      /* ← Podés ajustar este valor */
}

/* CARTEL FIJO (aparece después abajo a la izquierda) */
#cartelFijo {
  display: none;
  position: fixed;
  bottom: 20px;      /* ← Posición vertical final */
  left: 20px;        /* ← Esquina inferior izquierda */
  z-index: 9999;
}

/* Tamaño del cartel fijo */
#cartelFijo img {
  width: 130px;      /* ← También ajustable */
}

/* MUCHO MÁS CHICO EN CELULARES */
@media (max-width: 768px) {
  #cartelAnimado img,
  #cartelFijo img {
    width: 80px;     /* ← Tamaño reducido en celulares */
  }
}

/* CONTENEDOR DEL BOTÓN */
.contenedor-boton {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #f2f2f2;
}

/* BOTÓN ESTILO MODERNO */
.boton-ver-todo {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  position: relative;
}

/* EFECTO AL PASAR EL MOUSE */
.boton-ver-todo:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* EFECTO AL HACER CLICK */
.boton-ver-todo:active {
  transform: scale(0.98);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* FOOTER CON IMAGEN ADAPTATIVA */
.footer-imagen {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 0px;
}

.footer-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* TEXTO DE DERECHOS RESERVADOS */
.texto-derechos {
  text-align: center;
  font-size: 14px;
  color: #555;
  padding: 13px;
  background-color: #f2f2f2;
  font-family: Arial, sans-serif;
}

/* CARTEL INICIAL RESPONSIVO */
.cartel-inicial {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.cartel-inicial img {
  width: 100%;      /* ← Ocupa todo el ancho disponible */
  height: auto;     /* ← Mantiene la proporción original */
  display: block;
}
