@font-face {
    font-family: 'Futura';
    src: url('Fonts/futura/Futura\ Book\ font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lovelo Black';
    src: url('Fonts/Lovelo_Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.toggle-button {
    display: flex;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.toggle-option {
    padding: 10px 20px;
    border: none;
    outline: none;
    background-color: #eaeaea;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-option.active {
    background-color: #152040;
    color: white;
}



html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    background-color: #F1EFEC;
    padding: 10px;
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Lovelo Black', black;

}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: relative;
}

.whatsapp-btn {
    position: fixed;
    bottom: 5%;
    left: 20px;
    /* ← bouton à gauche */
    width: 100px;
    height: 50px;
    z-index: 1000;
}

.whatsapp-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-btn img:hover {
    transform: scale(1.1);
}

nav a {
    text-decoration: none;
    color: black;
    margin: 0 1%;
    font-size: 18px;
    font-weight: normal;
    font-family: 'Futura';
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    /*padding: 40px;*/
    background-color: white;

}


.hero img {
    width: 40%;
    margin-top: 20px;
    margin-left: -8%;
    border: 2px solid transparent;
    border-top-left-radius: 50%;
    /* Arrondir le coin supérieur gauche */
    /*border-bottom-left-radius: 20px;*/
}

.hero-text {
    width: 40%;
    text-align: left;
}

.hero-text h1 {
    font-size: 22px;
    font-weight: bold;
    font-family: "Lovelo Black";
    align-items: center;
    text-align: center;
}

.hero-text button {
    background-color: #c5a67e;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.promo-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #1d1d1d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px 40px;
    text-align: center;
}

.promo-content h1 {
    font-size: 3.5em;
    font-weight: bold;
}

.promo-btn {
    background-color: #1d1d1d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 35px;
    font-size: 2em;
    cursor: pointer;
    margin: 15%;
}

.welcome {
    background-color: #123458;
    color: white;
    text-align: center;
    padding: 25px;
    font-size: 20px;
    font-family: 'Futura';
    line-height: 32px;
}

.discover {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
    color: white;
    background-color: #1e2a57;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.produits {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;

}

.produit img {
    width: 50%;
    height: 50%;

}

#products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    justify-content: center;

    /* both row and column gap */
    box-sizing: border-box;

}

#products-container .product {
    /* remove max-width */
    flex: 0 0 calc((75% - 2 * 20px) / 3);
    box-sizing: border-box;
}


.products {
    display: flex;
    flex-direction: row;
    /* ensure children flow horizontally */
    justify-content: center;
    gap: 100px;
    margin: 20px 0 10px;
    /* combines your two margin rules */
    padding: 20px;

}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 250px;
    padding: 20px;
    /*margin: 0 auto;*/
    text-align: center;
}

.product img {
    width: 75%;
    height: 85%;
    max-width: 250px;
    /* border: 1px solid #ccc; */
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;

}


.product img:hover,
.pack img:hover {
    /* transform: scale(1.05); */
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-frame {
    border: 2px solid #1e2a57;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 10px auto;
    /* ← CENTRAGE horizontal ici */
    border-radius: 10px;
    height: 280px;
    width: 70%;
    background-color: #f9f9f9;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    font-family: 'Futura';
}


.price {
    margin-bottom: 1%;
    font-size: 20px;
    font-weight: bold;
}

.stock {
    text-align: left;
    font-weight: bold;
    color: green;
    margin-left: 10px;

}

/* Section fiche technique uniquement */
.fiche-technique .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Par défaut 3 colonnes */
    gap: 20px;
    margin: 20px 0;
    justify-items: center; /* Centre chaque élément */
}

/* Produit individuel */
.fiche-technique .product {
    width: 160px;
    border-radius: 8px;
    padding: 10px;
}

/* Image produit */
.fiche-technique .product-frame img {
    width: 100%;
    height: auto;
}

/* Nom du produit */
.fiche-technique .product-name {
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
    color: #333;
}

/* ✅ Responsive */
@media (max-width: 992px) {
    .fiche-technique .products {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 600px) {
    .fiche-technique .products {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }

    .fiche-technique .product {
        width: 90%; /* Plus large sur petit écran */
    }
}


.cart-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
}

.quantity-container {
    display: flex;
    align-items: center;
    border: 1px solid #1e2a57;
    border-radius: 10px;
    padding: 5px;
    gap: 2px;
    background-color: #f9f9f9;
}

.quantity-container button {
    background: white;
    border: 0px solid black;
    cursor: pointer;
    padding: 0px 5px;
    border-radius: 5px;
}

.quantity-container input {
    width: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

.quantity-container .plus {
    color: #1e2a57;
    background-color: transparent;
}

.quantity-container .moins {
    color: #1e2a57;
    background-color: transparent;
}

.add-to-cart {
    background: #1e2a57;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.add-to-cart:hover {
    background: #152040;
}


.favorite {
    font-size: 50px;
    color: navy;

    cursor: pointer;
    transition: color 0.3s ease;
}

.favorite:hover {
    color: red;
    /* Changer la couleur au survol */
}


.packs-container {
    display: flex;
    flex-wrap: wrap;
    /* ensure children flow horizontally */
    justify-content: center;
    gap: 100px;
    margin: 10px 0 10px;
    /* combines your two margin rules */
    padding: 10px;
}

.pack {
    position: relative;
    width: 280px;
    background-color: #fff;
    border-radius: 15px;
    /*ox-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);*/
    margin: 20px;
    padding: 15px;
    text-align: center;
    font-family: 'Futura', sans-serif;
}

.pack img {
    width: 100%;
    border-radius: 10px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    border: 2px solid #1e2a57;
    object-fit: contain;

}


@keyframes clinoter {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  
  .badge-best {
      position: absolute;
      bottom: 10px;
      background: linear-gradient(135deg, #e63946, #d62828);
      color: white;
      font-size: 13px;
      font-weight: bold;
      padding: 5px 45px;
      transform: rotate(0deg);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      z-index: 10;
      font-family: 'Futura', sans-serif;
      pointer-events: none;
      border-top-right-radius: 6px;
      border-bottom-left-radius: 6px;
      letter-spacing: 0.5px;
  
      animation: clinoter 1.5s ease-in-out infinite;
  }
  
.pack-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pack-title {
    display: flex;
    /* ← FLEXBOX */
    justify-content: center;
    /* centre horizontalement */
    align-items: center;
    /* centre verticalement */
    text-align: center;

    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 10px;
    font-family: 'Lovelo Black';
    border-radius: 5px;
    background: #c99d6c;
    color: white;

    height: 45px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: unset;
    /* permet les retours à la ligne */
}




.hygiene {
    background: #c99d6c;
    color: white;
}

.atmosphere {
    background: #d4a86a;
    color: white;
}



.current-price {
    font-weight: bold;
    color: #1e2a57;
}

.stock {
    color: green;
    font-weight: bold;
    margin-bottom: 10px;
}


button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.minus,
.plus {
    background: #ddd;
}

.add-to-cart {
    background: #1e2a57;
    color: white;
    padding: 5px 10px;
}

.fidelite-section {
    color: white;
    /*padding: 20px 20px;*/
    /*border-bottom: 10px solid white;*/
}

.header-text {
    font-size: 20px;
    padding: auto;
    height: 40%;
    margin: auto;
    line-height: 3;
    width: 100%;
    color: black;
    text-align: center;

    background-color: #C49A6C;

}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    text-align: center;
}

.step {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #C49A6C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -40px;
    /* Déplace le cercle en haut */
}

.icon-circle i {
    font-size: 40px;
    color: white;
}

.icon-circle i {
    color: black;
}

.step h3 {
    margin-top: 50px;
    color: black;
}

.step p {
    margin-top: 10px;
    color: black;
}


.step img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

/* Section abonnement */
.subscribe {
    text-align: center;
    padding: 10px;
    margin-top: 30px;
    background-color: #C49A6C;
}

.subscribe img {
    width: 50px;
    margin: 10px 0;
}

.email-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    border: 1px solid;
}

input {
    padding: 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 16px;
}

button {
    background-color: #1e2a57;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #2E1F14;
}

/* Pied de page */
footer {

    background-color: transparent;
    padding: 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 16px;
    color: black;
    padding: 10px;
    margin: 5px;
}

.footer-logo img {
    width: 100px;
    /* Ajuste la taille du logo */
    height: auto;
}

.icon-envelope {
    font-size: 60px;
    color: white;
    /* Vert */
    z-index: 1;
}

footer p {
    margin: 5px 0;
}

/* Section "À Propos" */
.about-section {
    padding: 40px 20px;
    background: white;
}

.container {
    max-width: 800px;
    margin: auto;
    text-align: left;
}


.intro {
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    font-family: "Futura";
}

.into-about h1 {
    font-weight: bold;
    color: #1e2a57;
    text-align: center;
}

.into-about p {
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    font-family: "Futura";
}


/* Bouton */
.contact-btn {
    background: #e0b78f;
    color: #1e2a57;
    font-family: "lovelo Black";
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Aligner à droite */
    margin-left: auto;
    margin-right: 0;
}


.contact-btn:hover {
    background: #d19b6f;
}

/* Section fiche technique */
.fiche-technique {
    padding: 20px;
}

.fiche-btn {
    background: #e0b78f;
    color: #1e2a57;
    font-family: "lovelo Black";
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Aligner à droite */
    margin-left: auto;
    margin-right: 0;
}

/* Texte principal */
.fiche-technique h2 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    color: black;
    text-align: center;
    font-family: 'lovelo Black';
}



.fiche-technique .product {
    background: white;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    text-align: center;
    width: 250px;


}

.fiche-technique .product img {
    width: 60%;
    height: auto;
    /* border: 1px solid #ccc; */
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;

}


.fiche-technique .product img:hover,
.pack img:hover {
    transform: scale(1.05);
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fiche-technique .product-name {
    font-family: 'Lovelo Black';
    color: black;
    font-size: 12px;

}

.fiche-technique .product-frame {
    border: 2px solid #1e2a57;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 180px;
    background-color: #f9f9f9;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    font-family: 'Futura';
}


/* --- Boutons (Savon, Spray, Multi) --- */
.savon-btn,
.spray-btn,
.spray-multi-btn {
    background: #1e2a57;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    text-align: center;
    width: fit-content;
    font-family: 'Lovelo Black';
}

/* --- Sections --- */
.savon-content,
.spray-content,
.spray-multi-content {
    display: none;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
}

/* --- Conteneur Produits dans chaque section --- */
.savon-content .products,
.spray-content .products,
.spray-multi-content .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* --- Produit individuel --- */
.product {
    width: 160px;
    padding: 10px;
}

/* --- Fiche Description --- */
.description {
    background: #e0b78f;
    padding: 25px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: left;
    margin-left: 8%;
    margin-right: 8%;
}

/* --- Texte général --- */
.fiche-content {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 22px;
    line-height: 1.8;
    color: black;
    text-align: center;
    font-family: 'Futura';
}

/* --- Titres --- */
.savon-content h3,
.spray-content h3,
.spray-multi-content h3 {
    font-weight: bold;
}

/* --- Texte & liste dans description --- */
.description p,
.description li {
    font-size: 20px;
}

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

/* Tablette : largeur ≤ 992px */
@media screen and (max-width: 992px) {
    .product {
        width: 45%;
    }

    .description {
        margin-left: 5%;
        margin-right: 5%;
    }

    .description p,
    .description li {
        font-size: 18px;
    }
}

/* Mobile : largeur ≤ 600px */
@media screen and (max-width: 600px) {
    .product {
        width: 90%;
    }

    .description {
        margin-left: 3%;
        margin-right: 3%;
        padding: 15px;
    }

    .fiche-content {
        font-size: 16px;
    }

    .description p,
    .description li {
        font-size: 16px;
    }

    .savon-btn,
    .spray-btn,
    .spray-multi-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}


/*************Panier***************/

.cart-section {
    position: fixed;
    top: 15%;
    right: -400px;
    /* Masqué au début */
    width: 350px;
    height: 55vh;
    max-width: 300px;
    background-color: #fffdf6;
    border-radius: 12px;
    /* box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2); */
    transition: right 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-section.show {
    right: 0;
    /* Afficher le panier */
}

.cart-section h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.cart-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-section ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-section ul li:last-child {
    border-bottom: none;
}

/*****************************************/
.cart-product {
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-product-image {
    width: 70px;
    height: auto;
    margin-right: 12px;
}

.cart-product-info {
    flex: 1;
}

.cart-product-name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.qty-value {
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 16px;
    margin: 0 10px;
}

.cart-product-price {
    font-size: 14px;
    color: #444;
}

.cart-delete-btn {
    border: none;
    background: none !important;
    font-size: 10px !important;
    cursor: pointer;
    color: #000 !important;
    margin-left: 8px;
}

/****************************************/
#cartTotal {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    /*background: #f8f9fa;*/
    margin-top: auto;
    border-radius: 5px;
}

.cart-section button {
    background: #152040;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: 10px;
}

.cart-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

#cartList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-section button:hover {
    background: red;
}

#closeCart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #152040;
    cursor: pointer;
}

#closeCart:hover {
    color: red;
}

#cart-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes par défaut */
    gap: 20px;
    padding: 20px;
    margin-bottom: 10px;
    justify-items: center;
}

/* ✅ Tablette (entre 600px et 992px) */
@media (max-width: 992px) {
    #cart-container {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    }
}

/* ✅ Mobile (moins de 600px) */
@media (max-width: 600px) {
    #cart-container {
        grid-template-columns: 1fr; /* 1 colonne */
        padding: 10px;
    }
}

.cart-header {
    background-color: #d2ae88;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    color: black;
    text-align: center;
    margin: 0px 0px 10px 0px;
}

.cart-item {
    border: 2px solid #1e2a57;
    padding: 10px;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
    height: 380px;
    background-color: #f9f9f9;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    font-family: 'Futura';
}

.cart-details {
    flex: 1;
}

.cart-details {
    flex: 1;
}

.cart-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-weight: bold;
}

.cart-quantity span {
    margin: 0 10px;
}

.trash-btn {
    font-size: 16px;
    cursor: pointer;
    color: #888;
    margin-left: 8px;
}

.total {
    background-color: #f9f2e0;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    font-size: 18px;
    border-radius: 8px;
}

.cart-info {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-actions button {
    padding: 8px 12px;
    border: none;
    background-color: #C49A6C;
    border-radius: 6px;
    cursor: pointer;
}


.cart-item img {
    width: 70px;
    height: auto;
    margin-right: 10px;
}

.cart-details {
    flex: 1;
}

.cart-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.cart-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-weight: bold;
}

.cart-quantity span {
    margin: 0 10px;
}

.cart-price {
    font-size: 14px;
    color: #666;
}

.trash-btn {
    font-size: 16px;
    cursor: pointer;
    color: #888;
    margin-left: 8px;
}

.total {
    background-color: #fdf3d9;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    font-size: 18px;
    border-radius: 8px;
}

.cart-info {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Effet de survol */
.cart-item:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
}

/* Image du produit */
.item-image img {
    width: 60%;
    height: auto;
    /* border: 1px solid #ccc; */
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Détails de l'article */
.item-details {
    margin-top: 10px;
}

.item-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.item-price {
    font-size: 18px;
    font-weight: bold;
    color: #152040;
    margin-top: 5px;
}

/* Sélecteur de quantité */
.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.quantity-selector button {
    background-color: #f4f4f4;
    border: 1px solid #152040;
    padding: 5px 10px;
    cursor: pointer;
    color: #152040;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.quantity-selector button:hover {
    background-color: #152040;
    color: white;
}

.quantity-selector input {
    width: 40px;
    text-align: center;
    margin: 0 10px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
}

/* Section total */
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 30px;
    font-size: 18px;


    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


.cart-note {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 10px;
}

/* Bouton de commande */
.checkout-btn {
    display: flex;
    background-color: #152040;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 300px;
    height: 60px;
    text-align: center;
    margin: 10px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    margin-left: auto;

    /* Centrer le texte à l'intérieur du bouton */
    justify-content: center;
    align-items: center;
}


.checkout-btn:hover {
    background-color: #C49A6C;
}

/* Style pour la page commande */
.order-header {
    text-align: center;
    margin-bottom: 30px;
    font-family: "Lovelo Black";
    font-size: 20px;

}

.order-table {
    margin: 30px;
    font-family: "Futura";
}

.order-table table {
    width: 100%;
    border-collapse: collapse;
}

.order-table table th,
.order-table table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.order-summary {
    margin: 30px;
    font-size: 20px;
    font-family: "Futura";
    background-color: #ddd;
    padding: 10px;
}

.order-summary input {
    padding: 5px;
    height: 35px;
    width: 280px;
    margin-right: 10px;
}

.order-summary button {
    padding: 5px 10px;
    background-color: #152040;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    height: 40px;
}

.order-summary button:hover {
    background-color: #C49A6C;
}

.order-promo {
    font-family: 'Futura';
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.order-promo label {
    margin-right: 10px;
    font-size: 18px;
    font-family: "Futura";
}

.order-promo input {
    padding: 5px;
    font-size: 16px;
    margin-right: 10px;
}

.order-promo button {
    padding: 5px 15px;
    background-color: #152040;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.order-promo button:hover {
    background-color: #1e2d45;
}

.order-button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.order-button .checkout-btn {
    padding: 12px 25px;
    background-color: #152040;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 300px;
    transition: background-color 0.3s ease;
}

.order-button .checkout-btn:hover {
    background-color: #1e2d45;
}

.order-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.payment-method,
.order-robot,
.privacy-policy,
.terms-conditions {
    display: flex;
    align-items: center;
    /* Centrer horizontalement les éléments à l'intérieur de chaque section */
    justify-content: center;
    /* Centrer les éléments à l'intérieur de chaque section */
    font-family: "Futura";
    padding: 15px;
    margin: 15px;
    font-size: 20px;
    width: 60%;
    /* Largeur de chaque section */
    border-radius: 15px;
}

.payment-method {
    border: 1px solid black;
}

.order-robot {
    border: 1px solid red;
    color: red;
}

.privacy-policy {
    font-size: 16px;
}

.terms-conditions {
    border: 1px solid black;
}

.order-robot-label,
.privacy-policy,
.terms-conditions-label {
    font-family: 'Futura';
    font-size: 20px;
    margin: 10px;
}

.order-robot-input,
.terms-conditions-input {
    width: 20px;
    height: 20px;
}

.checkout-btn {
    padding: 10px 20px;
    background-color: #152040;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.checkout-btn:hover {
    background-color: #45a049;
}

/* Styles pour la section de la commande */
.command-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    /*background-color: white;*/
    margin-top: 20px;
    border-radius: 8px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.validation-Btn {
    background-color: #0C6638;
}

/* Section code promo */
.command-section .promo-code {
    margin-bottom: 30px;
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.command-section .promo-code h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #27ae60;
}

.command-section .promo-code p {
    font-size: 16px;
    color: #7f8c8d;
}

.command-section .promo-code input {
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.command-section .promo-code button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #0C6638;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;

}

.command-section .promo-code button:hover {
    background-color: #2ecc71;
}

/* Section des détails de facturation */
.command-section .billing-details {
    width: 80%;
    max-width: 600px;
    margin-top: 20px;
}

.command-section .billing-details h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.command-section .billing-details label {
    display: block;
    font-size: 16px;
    margin: 10px 0 5px;
}

.command-section .billing-details input,
.command-section .billing-details textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.command-section .billing-details button {
    padding: 12px 20px;
    font-size: 18px;
    background-color: #0C6638;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.command-section .billing-details button:hover {
    background-color: #2ecc71;
}

/* Container de commande principal */
.order-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 20px;
    padding: 10px;
}


/* Colonnes gauche et droite */
.left-column,
.right-column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
/* Largeur initiale sur écran large */
.left-column {
    width: 60%;
}

.right-column {
    width: 40%;
}
/* ✅ Responsive pour tablette : ≤ 992px */
@media screen and (max-width: 992px) {
    .order-container {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .order-summary {
        padding: 15px;
        font-size: 14px;
    }

    .order-summary .order-promo {
        flex-direction: column;
    }

    .order-summary .order-promo input,
    .order-summary .order-promo button {
        width: 100%;
        margin-bottom: 10px;
    }

    .order-summary p {
        font-size: 14px;
    }
}
/* ✅ Responsive pour mobile : ≤ 600px */
@media screen and (max-width: 600px) {
    .left-column,
    .right-column {
        padding: 15px;
    }

    .order-container {
        padding: 10px 5px;
    }

    table thead {
        font-size: 14px;
    }

    table td, table th {
        padding: 8px;
        font-size: 13px;
    }

    input, textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .toggle-button button {
        width: 100%;
        margin: 5px 0;
    }

    .checkout-btn {
        width: 100%;
        font-size: 16px;
    }

    .order-summary p {
        font-size: 14px;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    /* Fond sombre */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px 30px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.contents-title {
    font-weight: bold;
    margin: 10px;
}

.pack-contents ul {
    padding-left: 10px;
    /* Espace à gauche pour les puces */
    margin: 10px;
    text-align: left;
    /* Assure que le texte est aligné à gauche */
    list-style-position: inside;
    /* Pour que les puces soient bien visibles à l'intérieur */
}

.pack-contents li {
    margin-bottom: 4px;
    /* Un petit espace entre les éléments */
}

/* Responsive pour les petits écrans */
@media (max-width: 600px) {

    .command-section .promo-code input,
    .command-section .billing-details input,
    .command-section .billing-details textarea {
        width: 90%;
    }

    .command-section .promo-code button,
    .command-section .billing-details button {
        width: 90%;
    }
}

.billing-form {
  display: flex;
  flex-wrap: wrap;       /* Permet aux éléments de passer à la ligne */
  gap: 16px;             /* Espacement entre les champs */
}

.billing-form .form-group {
  flex: 1 1 100%;        /* Par défaut, prend toute la largeur */
  min-width: 250px;      /* Largeur mini avant de passer à la ligne */
}

@media (min-width: 600px) {
  .billing-form .form-group {
    flex: 1 1 calc(50% - 16px); /* Deux champs par ligne sur écran large */
  }
}
@media screen and (max-width: 980px) {
    .billing-form input,
.billing-form textarea {
  width: 50%;
  box-sizing: border-box;
  padding: 8px;
  font-size: 14px;
  min-height: 35px;
}

.billing-form textarea {
  min-height: 150px;
}

    
}

.billing-form input,
.billing-form textarea {
  width: 90%;
  box-sizing: border-box;
  padding: 8px;
  font-size: 14px;
  min-height: 35px;
}

.billing-form textarea {
  min-height: 150px;
}

#cart-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    z-index: 1000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 500px;
    /* Largeur fixe pour structurer */
}

.popup-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

#cart-popup-image {
    width: 100px;
    /* Taille de l'image */
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.popup-info {
    flex-grow: 1;
    /* Pour occuper l'espace au centre */
}

.popup-summary {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 180px;
}

.popup-summary .checkout-btn {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.popup-summary .checkout-btn:hover {
    background-color: #c9302c;
}

.popup-summary button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-summary .continue-btn {
    background-color: #4a4a4a;
    color: white;
}

.popup-summary .cart-btn {
    background-color: #333;
    color: white;
}

.contact-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    text-align: center;
    color: #333;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.captcha {
    margin: 20px 0;
}

.Contact-btn {
    background: #e0b78f;
    color: #1e2a57;
    font-family: "lovelo Black";
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    /* Aligner à droite */
    margin-left: auto;
    margin-right: 10px;
}

.contact-title {
    text-align: center;
    margin-bottom: 20px;
    font-family: "Lovelo Black";
}

.contactForm input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: "Futura";
}

/*button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }
  
  button:hover {
    background-color: #45a049;
  }
*/
#btnTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #152040;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: none;
    /* Caché au départ */
    transition: opacity 0.3s;
}

#btnTop:hover {
    background-color: #0056b3;
}

.cart-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    /* cursor: pointer; */
    display: inline-block;
}

.cart-btn i {
    font-size: 24px;
    color: #152040;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #d19b6f;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    z-index: 1002;
}

.DisplayPanier-btn {
    background: #e0b78f;
    color: #1e2a57;
    font-family: "lovelo Black";
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    /* Aligner à droite */
    margin-left: auto;
    margin-right: 10px;
}

.DisplayPanier-btn:hover {
    background-color: #d19b6f;
    color: #1e2a57;
}

@media screen and (max-width: 1024px) {
    .product {
        flex: 1 1 33%;
        /* 3 produits par ligne */
        /*max-width: 300px;*/
    }


}

@media screen and (max-width: 768px) {
    .product {
        flex: 1 1 45%;
        /* 2 produits par ligne */
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .product {
        flex: 1 1 100%;
        /* 1 produit par ligne */
        max-width: 100%;


    }

    .product-frame {
        border: 2px solid #1e2a57;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
        border-radius: 10px;
        height: 200px;
        background-color: #f9f9f9;
        border-top-left-radius: 80px;
        border-top-right-radius: 80px;
        font-family: 'Futura';
    }
}

@media screen and (max-width: 350px) {

    .products,
    .packs-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin: 20px 0 10px;
        padding: 20px;

    }

    nav {
        display: none;
        /* Masque le menu par défaut */
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 50px;
        align-items: center;
        right: 10px;
        width: 80%;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        z-index: 10;
    }

    .nav-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links a {
        padding: 8px;
    }

    .menu-toggle {
        display: block;
        /* Affiche le bouton menu mobile */
        position: absolute;
        top: 10px;
        left: 10px;
        cursor: pointer;
        font-size: 24px;
        color: black;
        z-index: 11;
    }

    .nav-links {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-links a {
        text-decoration: none;
        color: #1e2a57;
        font-size: 16px;
        font-weight: bold;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: #c99d6c;
    }

    .cart {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        color: black;
    }

    .menu-active {
        display: flex;
        /* Affiche le menu lorsqu'il est actif */
    }

}

@media screen and (max-width: 650px) {
    .pack-title {
        font-size: 12px;
        height: 55px;
        line-height: 1.2;
    }
}
@media screen and (max-width: 1150px) {
    .pack-title {
        font-size: 14px;
        height: 50px;
        line-height: 1.2;
    }
}
@media screen and (max-width: 480px) {
    .pack-title {
        font-size: 10px;

    }

    .promo-section {
        position: relative;
        width: 100%;
        height: 50vh;
        overflow: hidden;
    }

    .promo-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: #1d1d1d;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 60px 20px 40px;
        text-align: center;
    }

    .promo-btn {
        font-size: 5vw;
        margin-bottom: 25%;
        margin-left: 25px;
    }

    .promo-content h1 {
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .pack-title {
        font-size: 14px;
        height: 65px;
    }

    .product-frame {
        height: 200px;
    }

    .promo-section {
        position: relative;
        width: 100%;
        height: 50vh;
        overflow: hidden;
    }

    .promo-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: #1d1d1d;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 60px 20px 40px;
        text-align: center;
    }

    .promo-btn {
        font-size: 5vw;
        margin-bottom: 25%;
        margin-left: 25px;
    }
}