


/* ====== Estilos Globales ====== */

@import url("fuentes.css");
@import url("nav.css");
@import url("banner.css");
@import url("popup.css");
@import url("producto.css");
@import url("sabores.css");
@import url("sucursales.css");
@import url("footer.css");
@import url("quejas.css");
@import url("modal.css");
@import url("icono.css");
@import url("cafe.css");


body {
  padding-top: 115px; /* 35 (cintilla) + ~80 (nav-principal) */
  background-color: #fff;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}

/* ====== regalos destacados ====== */
.ocasion-destacada {
  background: #fff7f7;
  padding: 3rem 1rem;
  display: flex;              /* Coloca texto e imagen uno al lado del otro */
  align-items: center;        /* Centra verticalmente */
  justify-content: center;    /* Centra horizontalmente */
  gap: 2rem;                   /* Espacio entre texto e imagen */
  text-align: left;           /* Texto alineado a la izquierda */
  flex-wrap: wrap;            /* Permite que en pantallas pequeñas se acomode en columna */
}

.ocasion-texto {
  max-width: 500px;
}

.ocasion-texto h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'MiFuente3', sans-serif;
}

.ocasion-texto p {
  font-size: 1rem;
  color: #555;
  font-family: 'MiFuente2', sans-serif;
  margin-bottom: 2rem;
}

.ocasion-grid {
  flex: 0 1 350px; /* tamaño fijo para la imagen */
}

.ocasion-card {
  height: auto;
}

.ocasion-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}


.ocasion-card img {
  width: 70%; /* Antes era 70% */
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.ocasion-card:hover {
  transform: scale(1.02);
}

.boton-franquicia {
  display: inline-block;
  background-color: #ffb7c5;
  color: white;
  font-family: 'MiFuente', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-bottom: 2rem;
}

.boton-franquicia:hover {
  background-color: #d62839;
}


/* ====== Móviles y tablets ====== */
@media (max-width: 991px) {
  .ocasion-destacada {
    flex-direction: column;  /* uno debajo del otro */
    text-align: center;      /* centrar texto */
  }

  .ocasion-texto {
    max-width: 100%;         /* que el texto use todo el ancho */
  }

  .ocasion-grid {
    flex: 0 1 auto;          /* que la imagen se adapte */
  }
}

/* ====== Comunidad ====== */

.community-section {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.community-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'MiFuente3', sans-serif;
}

.community-header p {
  color: #666;
  margin-bottom: 2rem;
  font-family: 'MiFuente2', sans-serif;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.community-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.community-item iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
}

.community-item.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.community-item.center img {
  width: 120px;
  border-radius: 100%;
  margin-bottom: 0.5rem;
}

.community-tweet {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
}

/* ❄️ NIEVE CAYENDO */
.snowflake {
  position: fixed;
  top: -10px;
  color: white;
  font-size: 1em;
  pointer-events: none;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  z-index: 9999;
}

@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0.2; }
}

/* --- CARTEL COLGANTE DE NAVIDAD --- */

.colgante-cartel {
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-family: 'Navidad', sans-serif;
}


.navidad-colgante {
  position: fixed;
  top: 0;
  right: 40px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: balanceo 2s ease-in-out infinite alternate;
}

/* HILO */
.colgante-hilo {
  width: 4px;
  height: 55px;
  background: #ffffff;
  border-radius: 2px;
}

/* CARTEL */
.colgante-cartel {
  position: relative;
  overflow: visible;
  background: #ffb7c5;
  color: #fff;
  padding: 12px 20px;
  font-weight: bold;
  text-align: center;
  font-size: 17px;
  border-radius: 8px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
  border: 2px solid #fff;
  min-width: 140px;
}

/* Efecto de balanceo */
@keyframes balanceo {
  0% { transform: rotate(3deg); }
  100% { transform: rotate(-3deg); }
}



@media (max-width: 600px) {
  .colgante-cartel {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 110px;   /* más angosto */
  }

  .navidad-colgante {
    transform: scale(0.75); /* reduce tamaño general */
    right: 12px;
  }

  #faltan-linea-arriba,
  #faltan-linea-abajo {
    font-size: 12px; /* Ajusta también el texto */
    line-height: 1.1;
  }
}

/* Capa de nieve ilustrada */
.nieve-sobre {
  position: absolute;
  top: -18px;                    /* ajusta para que la nieve "caiga" sobre el borde */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 40px);      /* un poco más ancha que el cartel para los rebordes */
  height: 56px;                  /* altura visible de la capa de nieve */
  background-image: url('/mnt/data/4fb1276f-ccc5-4223-9245-404874cb43b9.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;        /* mantiene la forma gordita */
  pointer-events: none;
  z-index: 10;                   /* sobre el fondo pero debajo del texto si quieres */
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.12)); /* sombra suave */
  opacity: 0.98;
}

/* Opcional: si quieres que la nieve se funda con el borde (suavizar) */
.nieve-sobre::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 12px;
  background: linear-gradient(rgba(255,183,197,0), rgba(255,183,197,0.8));
  pointer-events: none;
}

/* Ajustes móviles */
@media (max-width: 600px) {
  .nieve-sobre {
    top: -14px;
    height: 44px;
    width: calc(100% + 24px);
    background-size: contain;
  }
}




/* --- ANIMACIÓN DE ENTRADA DEL CARTEL --- */
@keyframes entrada-cartel {
  0% {
    transform: translateY(-40px) scale(0.8);
    opacity: 0;
  }
  70% {
    transform: translateY(5px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}

.navidad-colgante {
  animation: entrada-cartel 0.9s ease-out,
             balanceo 2s ease-in-out infinite alternate 0.9s;
}

.countdown{
    display:flex;
    gap:20px;
    justify-content:center;
    margin-top:20px;
}

.countdown div{
    background:#fff;
    padding:15px 20px;
    border-radius:15px;
    text-align:center;
    min-width:90px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.countdown span{
    font-size:32px;
    font-weight:bold;
    color:#ac63a0;
}

.countdown p{
    margin:0;
    font-size:14px;
    color:#666;
}


