/* Fuente base */
body {
    font-family: 'Bangers', cursive;
    margin: 0;
    background-color: #f8f8f8;
    color: #333;
  }  
  
  /* NAVBAR */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4b2673;
    padding: 12px 24px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .logo img {
    height: 60px; /* Aumentado */
  }
  
  .logo span {
    font-size: 1.8rem; /* Tamaño más grande */
    color: white;
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 1.2rem; /* Tamaño aumentado */
    font-weight: bold;
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }
  
  .nav-links a:hover {
    text-decoration: underline;
  }
  
  
  /* BANNER */
  .banner {
    position: relative;
    background-color: #b99fff;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
  }
  
  .fondo-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    width: 500px;
    filter: blur(5px);
    pointer-events: none;
    z-index: 0; /* ahora sí está detrás del contenido */
  }
  
  
  .banner-bg .carta {
    position: absolute;
    height: 100%;
    top: 0;
    opacity: 1;
    pointer-events: none;
  }
  
  .carta.izquierda {
    left: -100px;
    transform: rotate(-12deg);
    mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
  }
  
  .carta.derecha {
    right: -100px;
    transform: rotate(12deg);
    mask-image: linear-gradient(to left, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 30%, black 70%, transparent 100%);
  }
  
  .banner-contenido {
    position: relative;
    z-index: 1;
  }
  
  .banner-contenido h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow:
      -2px -2px 0 #000,
      2px -2px 0 #000,
      -2px 2px 0 #000,
      2px 2px 0 #000;
    margin-bottom: 10px;
  }  
  
  .banner-contenido p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
  }
  
  .puntos {
    margin-top: 10px;
  }
  
  .punto {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
  }
  
  .punto.activo {
    opacity: 1;
  }
  
  .banner-contenido button {
    margin-top: 60px; /* antes era 40px */
    background-color: #ffd700;
    color: #333;
    border: none;
    padding: 18px 36px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  
  .banner-contenido button:hover {
    background-color: #e6c200;
  }
  
  /* CATÁLOGO */
  .catalogo {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .productos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  /* FOOTER */
  footer {
    background-color: #4b2673; /* morado oscuro elegante */
    color: white;
    text-align: center;
    padding: 20px 10px;
  }
  
  /* CATALOGO */
  .catalogo {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .catalogo h2 {
    font-size: 2.5rem;
    margin: 0 auto;
    color: white;
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
    background-color: #4b2673;
    display: inline-block;
    padding: 20px 40px 2px 40px; /* top, right, bottom, left */
    border-radius: 12px;
    position: relative;
    line-height: 1.1;
  }  
  
  .catalogo h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background-color: #4b2673;
    margin: 12px auto 0;
    border-radius: 2px;
  }  
  
  .catalogo h3 {
    font-size: 1.8rem;
    margin: 40px 0 30px;
    color: #4b2673;
  }
  
   /* PRODUCTOS */
  
   .producto {
    position: relative;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    width: 260px; /* aumentamos de 220 a 260px */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-height: 400px; /* aumentamos altura mínima */
    box-sizing: border-box;
  }
  
  .producto:hover {
    transform: scale(1.05);
  }
  
  .producto img {
    width: 100%;
    height: 220px; /* antes 180px */
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  
  .producto h4 {
    font-size: 1.25rem;
    color: #333;
    text-align: center;
    margin: 12px 0 8px 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
  }
  
  .producto p {
    font-size: 1.4rem;
    font-weight: bold;
    color: #4b2673;
    margin-top: 12px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  }
  
  .linea-dorada {
    width: 60%;
    height: 2px;
    background-color: #fcd060;
    border-radius: 1px;
    margin: 8px auto;
  }
  
/* DESPLAZAMIENTO PAGINA*/
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* da espacio bajo la navbar fija */
  }

  .etiqueta {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
  }
  
  .agotado {
    background-color: #e63946;
  }
  
 /* FADE MENSAJES BANNER */ 

 .banner-contenido h1,
.banner-contenido p {
  transition: opacity 0.4s ease;
  opacity: 1;
}

.fade-out {
    opacity: 0;
    transform: translateY(10px);
  }
  
/* BOTON CATALOGO */ 

  .boton-explorar {
    display: inline-block;
    margin-top: 40px;
    background-color: #ffd700;
    color: #333;
    text-decoration: none;
    padding: 18px 36px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff;
  }
  
  .boton-explorar:hover {
    background-color: #e6c200;
  }
  
  .nav-links i.fa-instagram {
    color: red;
    font-size: 20px;
    background: white;
    padding: 4px;
  }
  
/* AJUSTE PARA CELULARES */ 

@media (max-width: 768px) {
  /* NAVBAR - mejora logo y distribución */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 8px;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .logo img {
    width: 40px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 6px 10px;
  }

  /* BANNER */
  .banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: #c49dff; /* fallback por si desaparecen imágenes */
    padding: 40px 20px;
    overflow: hidden;
    height: 200px;
  }
  
  .banner .carta {
    display: none; /* OCULTAR las cartas laterales */
  }
  
  .banner-contenido {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 10px;
    max-width: 90%;
  }
  
  .banner-contenido h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }
  
  .banner-contenido p {
    font-size: 1rem;
    color: white;
    margin-top: 10px;
  }
  
  .boton-explorar {
    margin-top: 18px;
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .banner-contenido img {
    width: 120px;
    margin-bottom: 12px;
  }

  .banner img {
    max-height: 300px;
    max-width: 300px;
  }
  

  /* CATÁLOGO */
  .productos-scroll {
    overflow-x: auto;
    padding: 10px 0;
    position: relative;
    scroll-snap-type: x mandatory;
  }

  .productos-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 2;
  }
  
  .productos {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
  }
  
  .producto {
    flex: 0 0 auto;
    width: 155px;
    margin: 0;
    scroll-snap-align: start;
  }  

  .producto img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
  }  

  .producto h4 {
    font-size: 1rem;
    text-align: center;
  }

  .producto p {
    font-size: 1.1rem;
    text-align: center;
  }

  .catalogo h2 {
    font-size: 2rem;
    padding: 12px 24px 4px 24px;
  }
}

.subtitulo-singles {
  text-align: center;
  margin: 12px auto 16px;
}

.subtitulo-singles a {
  display: inline-block;
  font-size: 1.05rem;
  padding: 10px 20px;
  background-color: #4b2673;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.subtitulo-singles a:hover {
  background-color: #fcd060;
  color: #4b2673;
  transform: translateY(-2px);
}
  