body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fff7fb;
  color: #333;

  background-image: url("../../../img/carritos-snacks-jjr/img-fondo.webp");
  background-repeat: repeat;       
  background-size: 400px;           
  background-position: top left;    
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ee70ae;
  color: white;
  padding: 20px 40px;
  position: relative;
  box-shadow: none;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease; 
  cursor: pointer; 
}

.logo img:hover {
  transform: scale(1.1); 
}

.decorado-chocolate {
  position: absolute;       
  top: 0;                   
  right: 0;                 
  width: 150px;             
  height: auto;
  pointer-events: none;    
  user-select: none;        
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  transition: transform 0.3s ease;
  margin-left: -200px; 
  transform: translateX(-200px); 
  font-family: 'Funkie Retro', sans-serif;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 680;
  font-size: 1.8rem;
  transition: transform 0.25s ease, color 0.3s ease;
  cursor: pointer;
}

.menu-item:hover {
  transform: scale(1.12);
  color: #2f0052;
}

.menu-item:nth-child(1) {
  position: relative;
  left: 10px;
}

.menu-item:nth-child(2) {
  position: relative;
  left: 30px; 
}

.menu-item:nth-child(3) {
  position: relative;
  left: 50px; 
}

.menu-item:nth-child(4) {
  position: relative;
  left: 70px; 
}

.menu-item img {
  width: 50px;
  height: auto;
  vertical-align: middle;
  transition: transform 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
}

.menu-item:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 680;
  font-size: 1.8rem;
  transition: transform 0.25s ease, color 0.3s ease;
  cursor: pointer;
}

.menu-item.hovered {
  transform: scale(1.1);
  color: #690074; 
}


.menu-item img {
  width: 50px;
  height: auto;
  vertical-align: middle;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-item.hovered img {
  transform: scale(1.1);
  opacity: 0.9;
}

.cinta-derretida {
   top: -1px; 
  position: relative;
  width: 100%;
  height: 200px; 
   margin-top: 0; 
  background-image: url("../../../img/carritos-snacks-jjr/cinta-derretida.svg"); 
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 100%; 
  margin-top: -1px; 
}

@media (max-width: 600px) {

  body {
    background-size: 220px;
  }

  header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    position: relative;
  }

  .logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  .logo img {
    width: 95px;
  }


  .decorado-chocolate {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: auto;
    pointer-events: none;
  }

  .cinta-derretida {
    height: 90px;
    background-size: auto 100%;
    background-position: center top;
  }

    .menu {
    display: none;
  }
}


@media (max-width: 1600px) {
  .menu {
    margin-left: 350px;
  }
}

@media (max-width: 1400px) {
  .menu {
    margin-left: 300px;
  }
}

@media (max-width: 1200px) {
  .menu {
    margin-left: 250px;
  }
}


/* ===============================
  SECCIÓN CARRUSEL
================================ */
.carrusel {
  text-align: center;
  padding: 60px 20px;
  margin-top: -120px; 
}

.titulo-carrusel {
  font-family: 'Funkie Retro', sans-serif;
  font-size: 2.8rem;
  color: #2f0052;
  margin-bottom: 50px;
}


.contenedor-carrusel {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}


.slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px; 
  transition: opacity 1s ease;
  height: 450px;
  border-radius: 20px;      
  overflow: hidden;          
  background-color: #fff;  
}


.slide.activo {
  opacity: 1;
  position: relative;
}


.imagen-carrusel {
  width: 480px;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.texto-carrusel {
  background-color: #ee70ae;
  color: white;
  padding: 25px;
  width: 440px;
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 20px 20px 0;
}


.texto-carrusel h3 {
  font-family: 'Funkie Retro', sans-serif;
  font-size: 1.9rem;
  margin-bottom: 15px;
   color: rgb(90, 0, 78);
}

.texto-carrusel p {
  font-size: 1.5rem;
  line-height: 1.5;
  font-family: 'Faith Hope', sans-serif;
  color: rgb(0, 0, 0);
}


.indicadores {
  margin-top: 30px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #dc85af;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.activo {
  background-color: #000000;
}

@media (max-width: 800px) {
  .slide {
    flex-direction: column;
    height: auto;
    gap: 15px;
  }

  .imagen-carrusel {
    width: 90%;
    height: auto;
  }

  .texto-carrusel {
    width: 90%;
    height: auto;
    text-align: center;
  }
}

/* ===============================
  SECCIÓN PRODUCTOS
================================ */
.productos {
  text-align: center;
  padding: 120px 20px;
  position: relative;
  z-index: 1;
  margin-top: -100px; 
}

.titulo-productos {
  font-family: 'Funkie Retro', sans-serif;
  font-size: 3.4rem;
  color: #2f0052;
  margin-bottom: 50px;
}


.fondo-rosado {
  background-color: rgba(238, 112, 174, 0.35); 
  border-radius: 40px; 
  padding: 80px 40px; 
  margin: 0 auto;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}



.grid-productos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 60px; 
  justify-items: center;
}


.producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.producto img {
  width: 160px;  
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #ee70ae;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.producto img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(238, 112, 174, 0.4);
}

.producto p {
  margin-top: 15px;
  font-weight: 600;
  color: #3a003f;
  font-size: 1.50rem; 
  font-family: 'Faith Hope', sans-serif;
}


@media (max-width: 1100px) {
  .grid-productos {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .grid-productos {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .producto img {
    width: 130px;
    height: 130px;
  }

  .producto p {
    font-size: 1rem;
  }

  .fondo-rosado {
    padding: 60px 25px;
  }
}

/* 🔹 Versión optimizada para pantallas muy pequeñas (≤ 400px) */
@media (max-width: 600px) {
  .productos {
    padding: 80px 10px;
  }

  .titulo-productos {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .fondo-rosado {
    border-radius: 25px;
    padding: 50px 15px;
  }

  .grid-productos {
    grid-template-columns: 1fr 1fr; /* ✅ dos columnas seguras */
    gap: 20px;
  }

  .producto img {
    width: 110px;
    height: 110px;
  }

  .producto p {
    font-size: 0.9rem;
  }
}

/* 🔹 Versión optimizada para pantallas muy pequeñas (≤ 400px) */
@media (max-width: 500px) {
  .productos {
    padding: 80px 10px;
  }

  .titulo-productos {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .fondo-rosado {
    border-radius: 25px;
    padding: 50px 15px;
  }

  .grid-productos {
    grid-template-columns: 1fr 1fr; /* ✅ dos columnas seguras */
    gap: 20px;
  }

  .producto img {
    width: 110px;
    height: 110px;
  }

  .producto p {
    font-size: 0.9rem;
  }
}

/* 🔹 Versión optimizada para pantallas muy pequeñas (≤ 400px) */
@media (max-width: 400px) {
  .productos {
    padding: 80px 10px;
  }

  .titulo-productos {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .fondo-rosado {
    border-radius: 25px;
    padding: 50px 15px;
  }

  .grid-productos {
    grid-template-columns: 1fr 1fr; /* ✅ dos columnas seguras */
    gap: 20px;
  }

  .producto img {
    width: 110px;
    height: 110px;
  }

  .producto p {
    font-size: 0.9rem;
  }
}

/* 🔹 Ajuste extra para celulares muy pequeños (≤ 340px, opcional) */
@media (max-width: 340px) {
  .grid-productos {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .producto img {
    width: 95px;
    height: 95px;
  }

  .producto p {
    font-size: 0.85rem;
  }

  .fondo-rosado {
    padding: 40px 10px;
  }
}

/* ============================
  SECCIÓN: RAZONES / POR QUÉ ESCOGERNOS
============================ */
.razones-seccion {
  padding: 100px 60px;
  text-align: center;
  margin-top: -100px; 
}

.razones-titulo {
  font-size: 2.8rem;
  font-weight: bold;
  color: #3a003f;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Faith Hope', sans-serif;
}

.razones-contenedor {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}


.razon-card {
  background-color: #ffffff;
  width: 320px;
  height: 460px; 
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.razon-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.razon-subtitulo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
font-family: 'Ikka Rounded', sans-serif;

}

.razon-texto {
  font-size: 1rem;
  color: #000000;
  line-height: 1.6;
  text-align: justify;
font-family: 'Basaliation', sans-serif;

}

.razon-imagen {
  width: 120px;         /* Ajusta según tu diseño */
  height: auto;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.razon-card .razon-imagen {
  margin-top: 50px;
  width: 180px; /* 🔹 antes era 100px — ahora más grande */
  height: auto;
  border-radius: 15px; /* 🔹 bordes suaves opcional */
  transition: transform 0.3s ease;
}

.razon-card .razon-imagen:hover {
  transform: scale(1.08);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 800px) {
  .razones-contenedor {
    gap: 25px;
  }

  .razon-card {
    width: 280px;
    height: 420px;
  }

   .razon-card .razon-imagen {
    display: none;
  }
}

@media (max-width: 500px) {
  .razones-seccion {
    padding: 60px 20px;
  }

  .razones-titulo {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .razones-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .razon-card {
    width: 90%;
    height: auto;
  }
   .razon-card .razon-imagen {
    display: none;
  }
}

/* === SECCIÓN EVENTOS === */
.eventos {
  padding: 40px 40px 100px 20px; 
  text-align: center;
  margin-top: -100px; 
}

.eventos-header {
  margin-bottom: 70px;
  text-align: center;
  position: relative;
}

.eventos-title {
  font-size: 46px;
  font-weight: 800;
  background: linear-gradient(90deg, #53045d, #e13adb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-family: 'Faith Hope', sans-serif;
}

.eventos-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg,#2f0052);
  margin: 15px auto 0;
  border-radius: 2px;
}

.eventos-subtitle-frase {
  font-size: 20px;
  color: #000000;
  font-weight: 500;
  max-width: 700px;
  margin: 15px auto 0;
  line-height: 1.6;
}

.eventos-grid {
  display: flex;
  justify-content: center;
  gap: 33px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.evento-card {
  position: relative;
  width: 300px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.4s ease;
}

.evento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.evento-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.5s ease, background 0.5s ease;
  text-align: center;
  padding: 20px;
}

.evento-card .overlay img {
  max-width: 160px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.evento-card .overlay img {
  width: 140px;
  height: 140px;
  border-radius: 50%;    
  object-fit: cover;       
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.evento-card:hover img {
  transform: scale(1.15);
}

.evento-card:hover .overlay {
  transform: translateX(0);
  background: rgba(0,0,0,0.5);
}

.evento-card:hover .overlay img,
.evento-card:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
}

.evento-card:hover .overlay {
  background: var(--overlay-color, rgba(0,0,0,0.5));
}

.mobile-version {
  display: none;
}

@media (max-width: 600px) {
  .desktop-version {
    display: none !important;
  }

  .mobile-version {
    display: block;
    padding: 30px 20px 60px;
    text-align: center;
  }

  .mobile-version .eventos-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, #2f0052);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
  }

  .eventos-grid-simple {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🔹 Dos columnas */
    gap: 10px;
    justify-items: center;
  }

  .eventos-grid-simple img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 150px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
}

.eventos-grid-simple a {
  display: block;
  width: 100%;
}

.eventos-grid-simple a img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 150px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.eventos-grid-simple a:active img,
.eventos-grid-simple a:hover img {
  transform: scale(1.03);
}

@media (max-width: 400px) {
  .desktop-version {
    display: none !important;
  }

  .mobile-version {
    display: block;
    padding: 30px 20px 60px;
    text-align: center;
  }

  .mobile-version .eventos-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, #2f0052);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
  }

  .eventos-grid-simple {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🔹 Dos columnas */
    gap: 10px;
    justify-items: center;
  }

  .eventos-grid-simple img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 150px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
}

.eventos-grid-simple a {
  display: block;
  width: 100%;
}

.eventos-grid-simple a img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 150px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.eventos-grid-simple a:active img,
.eventos-grid-simple a:hover img {
  transform: scale(1.03);
}

/* ===============================
  PIE DE PÁGINA
================================ */
.footer {
  background-color: #ee70ae;
  color: #000000;
  padding: 20px 0; 
  font-family: 'Poppins', sans-serif;
}

.footer-contenedor {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px; 
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-logo img {
  width: 140px; 
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
}


/* ===== CONTACTO ===== */
.footer-contacto h4 {
  font-size: 1.5rem;        /* ← cambia el tamaño del título “Contáctanos” */
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-contacto p {
  margin: 4px 0;
  font-size: 1.4rem;          /* ← cambia el tamaño del texto general */
}

.footer-contacto p:nth-of-type(1) { 
  font-size: 1.4rem;          /* “📍 Lima, Perú” */
}

.footer-contacto p:nth-of-type(2) { 
  font-size: 1.4rem;        /* “📞 +51 919 283 481” */
  font-weight: 500;
  color: #000000;           /* Morado del branding */
}

/* ===== REDES SOCIALES ===== */
.footer-redes a img {
  width: 30px;              /* Puedes subir o bajar este valor también */
  margin-right: 8px;
}

/* ===== DERECHOS ===== */
.footer-derechos {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;        /* ← texto del copyright */
  color: #000000;
}

/* 📱 Responsive */
@media (max-width: 700px) {
  .footer-contenedor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo p {
    max-width: 100%;
  }
}


.telefono-footer {
  color: inherit;          
  text-decoration: none;   
  font-weight: 400;        
  cursor: pointer;      
}

.telefono-footer:hover {
  color: #000;             /* Puedes dejarlo igual o cambiarlo */
  text-decoration: none;   /* Evita que vuelva la raya */
}

/* ==========================
  Ícono flotante de WhatsApp
========================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.whatsapp-float img {
  width: 120px; 
  height: auto;
  cursor: pointer;
  user-select: none;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}

@media (max-width: 600px) {
  .whatsapp-float img {
    width: 100px;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
  }
}

@media (max-width: 600px) {
  body {
    background-image: none !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
  }
}

