/* ===== MEDIA QUERIES RESPONSIVE ===== */

/* Desktop normal */
@media screen and (max-width: 1200px) {
  .products {
    gap: 50px;
  }
  .packs-container {
    gap: 50px;
  }
}

/* Tablet */
@media screen and (max-width: 992px) {
  /*.cart-section {
    display: none !important;
  }*/

  nav a {
    font-size: 16px;
    margin: 0 0.5%;
  }

  /*.hero {
    flex-direction: column;
    padding: 20px;
  }*/

  .hero img {
    width: 60%;
    margin-left: 0;
  }

  /*.hero-text {
    width: 80%;
    text-align: center;
  }*/

  .promo-section {
    height: 70vh;
  }

  .promo-content h1 {
    font-size: 2.5em;
  }

  #products-container {
    gap: 15px;
  }

  #products-container .product {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .products {
    gap: 30px;
  }

  .packs-container {
    gap: 30px;
  }

  .steps {
    gap: 20px;
    flex-wrap: wrap;
  }

  .email-box {
    flex-direction: column;
    gap: 15px;
  }

  input {
    width: 80%;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .fiche-technique .products {
    grid-template-columns: repeat(2, 1fr);
  }

  #cart-container {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Mobile */
@media screen and (max-width: 768px) {
  /*.cart-section {
    display: none !important;
  }*/

  .logo img {
    height: 40%;
    width: 40%;
  }

  nav {
    flex-wrap: wrap;
    padding: 5px 0;
  }

  nav a {
    font-size: 14px;
    margin: 5px;
    padding: 5px 10px;
  }

  .hero img {
    width: 70%;
  }

  .hero-text h1 {
    font-size: 18px;
  }

  .promo-section {
    height: 60vh;
  }

  .promo-content h1 {
    font-size: 2em;
  }

  .promo-btn {
    font-size: 1.2em;
    padding: 12px 30px;
  }

  .welcome {
    font-size: 16px;
    padding: 15px;
  }

  #products-container {
    gap: 10px;
    padding: 10px;
  }

  #products-container .product {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .product {
    width: auto;
    padding: 10px;
  }

  .product-frame {
    height: 220px;
    width: 90%;
  }

  .packs-container {
    gap: 15px;
  }

  .pack {
    width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    margin: 10px;
    padding: 10px;
  }

  .pack-title {
    font-size: 12px;
    height: 50px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .step {
    width: 280px;
  }

  .header-text {
    font-size: 16px;
    line-height: 2;
    padding: 15px;
  }

  .subscribe {
    padding: 15px;
  }

  .icon-envelope {
    font-size: 40px;
  }

  .whatsapp-btn {
    width: 60px;
    height: 35px;
    bottom: 15px;
    left: 15px;
  }

  .cart-btn {
    bottom: 60px;
    right: 15px;
  }

  #btnTop {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Petit mobile */
@media screen and (max-width: 480px) {
  /*.cart-section {
    display: none !important;
  }*/

  .logo img {
    height: 30%;
    width: 50%;
  }

  nav a {
    font-size: 12px;
    margin: 3px;
    padding: 3px 8px;
  }

  /*.hero {
    padding: 10px;
  }*/

  .hero img {
    width: 80%;
  }

  .hero-text h1 {
    font-size: 16px;
  }

  .promo-section {
    height: 50vh;
  }

  .promo-content h1 {
    font-size: 1.8em;
    margin: 10%;
  }

  .promo-btn {
    font-size: 1em;
    padding: 10px 25px;
    margin-bottom : 25%;
  }

  .welcome {
    font-size: 14px;
    padding: 12px;
  }

  #products-container {
    gap: 8px;
    padding: 8px;
  }

  #products-container .product {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .product {
    padding: 8px;
  }

  .product-frame {
    height: 200px;
    width: 95%;
    padding: 8px;
  }

  .product img {
    width: 80%;
  }

  .pack {
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    padding: 8px;
    margin: 5px;
  }

  .pack-title {
    font-size: 10px;
    height: 45px;
    padding: 3px 6px;
  }

  .step {
    width: 240px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
    top: -30px;
  }

  .icon-circle i {
    font-size: 25px;
  }

  .step h3 {
    margin-top: 40px;
    font-size: 14px;
  }

  .header-text {
    font-size: 14px;
    line-height: 1.8;
    padding: 10px;
  }

  input {
    width: 90%;
    font-size: 14px;
    padding: 8px;
  }

  button {
    font-size: 14px;
    padding: 8px 12px;
  }

  .footer-text {
    font-size: 14px;
  }

  .footer-logo img {
    width: 80px;
  }

   .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
    font-size: 22px;
  }

  .cart-btn {
    bottom: 50px;
    right: 10px;
  }

  #btnTop {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Très petit mobile */
@media screen and (max-width: 350px) {
  /*.cart-section {
    display: none !important;
  }*/

  #products-container {
    gap: 5px;
    padding: 5px;
  }
 .promo-section {
    height: 50vh;
  }
  #products-container .product {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }

  .product {
    padding: 5px;
  }

  .product-frame {
    height: 180px;
    width: 98%;
    padding: 5px;
  }

  .product img {
    width: 85%;
  }

  .pack {
    width: calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 5px;
    margin: 2px;
  }

  .pack-title {
    font-size: 9px;
    height: 40px;
    padding: 2px 4px;
  }

  .step {
    width: 200px;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    top: -25px;
  }

  .icon-circle i {
    font-size: 20px;
  }

  .step h3 {
    margin-top: 35px;
    font-size: 12px;
  }

  .header-text {
    font-size: 12px;
    padding: 8px;
  }

  .welcome {
    font-size: 12px;
    padding: 8px;
  }
  .promo-btn {
    font-size: 0.8em;
    padding: 10px 25px;
    margin-bottom : 30%;
  }
  .promo-content h1 {
    font-size: 1.5em;
  }

  .hero-text h1 {
    font-size: 14px;
  }

  .fiche-technique .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .fiche-technique .product {
    width: 95%;
  }
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    bottom: 10px;
    left: 15px;
    font-size: 20px;
  }
  .whatsapp-btn i {
  font-size: 55px;
  color: #25d366;  
}
}

@media (max-width: 600px) {
  .fiche-technique .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .fiche-technique .product {
    width: 90%;
  }
   .whatsapp-btn {
    width: 45px;
    height: 45px;
    bottom: 10px;
    left: 15px;
    font-size: 20px;
  }
}
