
/* =========================
   COMING SOON TIENDA
========================= */
:root{
    --primario: #EF7E25;
    --primario0scuro: #E05711;
    --secundario: #515250;
    --blanco: #fff;
    --negro: #000;
    --fuente: "Poppins", sans-serif;
    --fuente2: "Oswald", sans-serif;
}
.coming-soon{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #EF7E25;
    font-family: var(--fuente2);
}

.coming-box{
    animation: fadeIn 1.2s ease-in-out;
}

.coming-box h1{
    font-size: 6rem;
    letter-spacing: 3px;
    margin: auto;
     font-family: var(--fuente);
}

.coming-box h2{
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

/* Barra */

.progress-container{
    width: 400px;
    height: 20px;
    background: rgb(239, 126, 37, 0.3);
    border-radius: 50px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar{
    height: 100%;
    width: 0%;
    background: #E05711;
    animation: carga 4s forwards;
}

.porcentaje{
    margin-top: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Animaciones */

@keyframes carga{
    from { width: 0%; }
    to { width: 75%; }
}

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.coming-box h1{
    font-family: "Oswald", sans-serif;
    text-shadow: 0.5rem 0.5rem 0px #000;
    animation: shake 2s infinite alternate;
}
@media(max-width:768px){
  .coming-box h1{
    font-family: "Oswald", sans-serif;
    text-shadow: 0.3rem 0.3rem 0px #000;}
}
@media(max-width:400px){
  .coming-box h1{
    font-family: "Oswald", sans-serif;
    text-shadow: 0.2rem 0.2rem 0px #000000;}
}
@media(max-width:400px){
  .coming-box h1{
    font-family: "Oswald", sans-serif;
    text-shadow: 0.2rem 0.2rem 0px #000000;
  text-align: center;}
}
@media(max-width:270px){
  .coming-box h1{
    font-family: "Oswald", sans-serif;
    text-shadow: 0.1rem 0.1rem 0px #000000;
  text-align: center;}
}
@keyframes shake{
    from { transform: rotate(-1deg); }
    to { transform: rotate(1deg); }
}
/* =========================
   RESPONSIVE
========================= */

/* ===== 920px ===== */
@media (max-width: 920px){

  .coming-box h1{
    font-size: 5rem;
  }

  .coming-box h2{
    font-size: 2.2rem;
  }

  .progress-container{
    width: 350px;
  }

}

/* ===== 740px ===== */
@media (max-width: 740px){

  .coming-box h1{
    font-size: 4.2rem;
  }

  .coming-box h2{
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .progress-container{
    width: 300px;
    height: 18px;
  }

  .porcentaje{
    font-size: 1.6rem;
  }

}

/* ===== 520px ===== */
@media (max-width: 520px){

  .coming-soon{
    padding: 0 2rem;
  }

  .coming-box h1{
    font-size: 3.2rem;
    letter-spacing: 2px;
  }

  .coming-box h2{
    font-size: 1.6rem;
  }

  .progress-container{
    width: 100%;
    max-width: 260px;
    height: 16px;
  }

  .porcentaje{
    font-size: 1.4rem;
  }

}

/* ===== 365px ===== */
@media (max-width: 365px){

  .coming-box h1{
    font-size: 2.6rem;
  }

  .coming-box h2{
    font-size: 1.4rem;
  }

  .progress-container{
    max-width: 220px;
    height: 14px;
  }

  .porcentaje{
    font-size: 1.2rem;
  }

}

/* =========================
   RESPONSIVE
========================= */

/* ===== 920px ===== */
@media (max-width: 920px){

  .coming-box h1{
    font-size: 5rem;
  }

  .coming-box h2{
    font-size: 2.2rem;
  }

  .progress-container{
    width: 350px;
  }

}

/* ===== 740px ===== */
@media (max-width: 740px){

  .coming-box h1{
    font-size: 4.2rem;
  }

  .coming-box h2{
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .progress-container{
    width: 300px;
    height: 18px;
  }

  .porcentaje{
    font-size: 1.6rem;
  }

}

/* ===== 520px ===== */
@media (max-width: 520px){

  .coming-soon{
    padding: 0 2rem;
  }

  .coming-box h1{
    font-size: 3.2rem;
    letter-spacing: 2px;
  }

  .coming-box h2{
    font-size: 1.6rem;
  }

  .progress-container{
    width: 100%;
    max-width: 260px;
    height: 16px;
  }

  .porcentaje{
    font-size: 1.4rem;
  }

}

/* ===== 365px ===== */
@media (max-width: 365px){

  .coming-box h1{
    font-size: 2.6rem;
  }

  .coming-box h2{
    font-size: 1.4rem;
  }

  .progress-container{
    max-width: 220px;
    height: 14px;
  }

  .porcentaje{
    font-size: 1.2rem;
  }

}
/* ===== OPTIMIZACIÓN 375px REAL (iPhone SE) ===== */
@media (max-width: 400px){

  .coming-soon{
    padding-top: 2rem;
  }

  .coming-box{
    margin-top: 6rem;
  }

  .coming-box h1{
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: 1px;
  }

  .coming-box h2{
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
  }

  .progress-container{
    max-width: 240px;
    height: 14px;
  }

  .porcentaje{
    font-size: 1.3rem;
  }

}
.coming-soon{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 400px){

  .coming-soon{
    min-height: 100dvh; /* mejor que 100vh en móvil */
    padding: 2rem;
    align-items: center;
    justify-content: center;
  }

}