*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}
body{
    height: 100vh;
    background-color: white;
}
li{
    list-style: none;
}
a{
    text-decoration:none;
    color: black;
    font-size: 1rem;
}
a:hover{
    text-decoration: underline;
    color: rgb(30, 121, 240);
}

nav{
    padding: 1rem 0; /* Espace vertical uniquement */
    width: 100%;
    height: 60px;
    max-width: 1800px;
    margin:0%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(17, 235, 224);

}

.logo img{
    width: 200px;   /* Ajustez cette valeur selon vos besoins */
    height: auto;  /* Garde les proportions originales */
    display: block;
}
/* Style pour les résultats de recherche */
#searchResults {
    position: absolute;
    top: 100%; /* Place les résultats juste en dessous du champ de recherche */
    left: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 5px;
}

#searchResults h4 {
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
}

#searchResults div {
    transition: background-color 0.2s;
}

#searchResults div:hover {
    background-color: #f0f0f0;
}
.nav .searchZone {
    position: relative;
    display: flex;
    align-items: center;
}
/* Stylez correctement la barre de recherche */
.nav .search {
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 10px;
    width: 1.5rem;
    text-align: center;
}



.nav .searchZone.open {
    display: flex;
}

.searchZone input[type="search"] {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    transition: width 0.3s;
}

.nav .searchZone input.open {
    display: inline-block;

}
.searchZone input[type="search"]:focus {
    width: 250px;
    outline: none;
    border-color: #4a90e2;
}



.nav .links{
    display: flex;
    gap: 2rem;
    padding: 3%;
}
.nav .toggle_btn{
color: white;
font-size: 1.5rem;
padding: 3%;
cursor: pointer;
display: none;
}
.nav .shopping_btn{
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 3%;
}

/*dropdown menus*/
.dropdown_menu{
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open{
    height: 240px;
}
.dropdown_menu li{
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*header*/
header{
    background-image: url(../img/fondheader.png);
    display: flex;
    flex-direction: column; /* Change de row (défaut) à column */
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espace entre le h1 et le bouton */
    background-size: cover; /* Couvre tout l'espace disponible */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Évite la répétition de l'image */
    min-height: 400px; /* Hauteur minimale augmentée */
    width: 100%; /* Largeur complète */
}
header h1{
    font-size:50px ;
    max-width: 500px;
    text-align: center;
}
header p{
    font-size:15px ;
    max-width: 600px;
    text-align: center;
}
header button{
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    border-radius: 15px;
    background-color: black;
    -webkit-text-fill-color: white;
    outline: none;
    cursor: pointer;
}
/*fin du header*/

/*section */
.main{
    margin: 20px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/*toutes les cards */
.cards{
    display: flex;
    flex-wrap: wrap;
    padding: 30px 40px;
}
.best-products-title {
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
    font-weight: bold;
}

.cards .card{
    width: 350px;
    background-color: rgba(255, 255, 255, 0.555);
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    cursor: pointer;
    max-width:400px;
    border-radius: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.cards .card img{
    width: 260px;
    height:260px;
    object-fit: contain; /* Garantit que l'image conserve ses proportions */
    margin: 0 auto; /* Centre l'image dans son conteneur */
    display: block; /* Important pour que margin:auto fonctionne */
}
.cards .card .card_header{
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cards .card .card_body{
    padding: 20px;
    max-width: 300px;
    
}
.card a.card-button {
    display: inline-block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 12px 0;
    text-align: center;
    background: linear-gradient(135deg, #00ace2, #17e5e5);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
}
.card a.card-button:hover {
    background: linear-gradient(135deg, #0088b3, #14c7c7);
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.card a.card-button:active {
    transform: scale(0.98);
}

.card a.card-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 172, 226, 0.3);
}


/*fin de toutes les cards*/
/*section contenaire*/
/* Styles pour la section de partage */
.share-section {
    padding: 60px 20px;
    margin-top: 50px;
}

.share-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.share-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-info h1 {
    color: #00ace2; /* Bleu azure */
    font-size: 32px;
    margin-bottom: 15px;
}

.share-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.share-info ul {
    margin-left: 20px;
    margin-top: 10px;
}

.share-info ul li {
    margin-bottom: 12px;
    list-style-type: none;
    position: relative;
    padding-left: 30px;
}

.share-info ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #00ace2;
}

.share-highlight {
    font-weight: bold;
    font-style: italic;
    color: #555;
    padding: 10px;
    border-left: 4px solid #00ace2;
    background-color: rgba(0, 172, 226, 0.05);
}


.share-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.share-image img:hover {
    transform: scale(1.02);
}
/* Section Pack Spéciaux */
.special-packs-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.special-packs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #00ace2;
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.pack-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pack-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00ace2, #17e5e5);
}

.pack-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.pack-price {
    text-align: center;
    margin-bottom: 20px;
}

.pack-price .price {
    font-size: 32px;
    font-weight: bold;
    color: #00ace2;
}

.pack-price .currency {
    font-size: 18px;
    color: #666;
}

.pack-content {
    margin-bottom: 25px;
}

.pack-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.pack-item i {
    color: #00ace2;
    margin-right: 10px;
    width: 20px;
}

.pack-item span {
    color: #555;
    font-size: 14px;
}


.pack-button {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #00ace2, #17e5e5);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pack-button:hover {
    background: linear-gradient(135deg, #0088b3, #14c7c7);
    transform: scale(1.02);
}
/* Section Offres Professionnels */
.professional-offers {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.offers-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.offers-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offers-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.offers-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.see-offers-btn {
    align-self: flex-start;
    padding: 12px 25px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.see-offers-btn:hover {
    background-color: #2980b9;
}

.offers-image {
    flex: 1;
}

.offers-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal des offres */
.offers-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

/* Corrections spécifiques pour le modal des packs */
#packModal .modal-content {
    max-width: 1000px;
    width: 90%;
    margin: 5vh auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#packModal .modal-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

#packModal .modal-image {
    flex: 0 0 400px;
    text-align: center;
}

#packModal .modal-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#packModal .modal-details {
    flex: 1;
    min-width: 0; /* Permet au flex item de se rétrécir */
}

#packModal .modal-details h2 {
    color: #00ace2;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: left;
}

#packModal .pack-price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
}

#packModal .pack-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00ace2;
}

#packModal .pack-content-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

#packModal #modalPackContent {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

#packModal #modalPackContent li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

#packModal #modalPackContent li:last-child {
    border-bottom: none;
}

/* Style pour les éléments qui commencent par un chiffre */
#packModal #modalPackContent li:not([style*="color: #27ae60"]):not([style*="color: #e74c3c"])::before {
    content: "✓";
    color: #00ace2;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

/* Amélioration des boutons du pack */
#packModal .pack-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

#packModal .add-pack-to-cart,
#packModal .add-all-items-to-cart {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#packModal .add-pack-to-cart {
    background: linear-gradient(135deg, #ff8c00, #ff6347);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

#packModal .add-pack-to-cart:hover {
    background: linear-gradient(135deg, #ff7f00, #ff4500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

#packModal .add-all-items-to-cart {
    background: linear-gradient(135deg, #17e5e5, #00ace2);
    color: white;
    box-shadow: 0 4px 15px rgba(23, 229, 229, 0.3);
}

#packModal .add-all-items-to-cart:hover {
    background: linear-gradient(135deg, #14c7c7, #0088b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 229, 229, 0.4);
}

/* Responsive pour le modal des packs */
@media (max-width: 768px) {
    #packModal .modal-content {
        width: 95%;
        margin: 2vh auto;
        padding: 20px;
    }
    
    #packModal .modal-body {
        flex-direction: column;
        gap: 20px;
    }
    
    #packModal .modal-image {
        flex: none;
        width: 100%;
    }
    
    #packModal .modal-image img {
        max-width: 300px;
    }
    
    #packModal .modal-details h2 {
        font-size: 24px;
        text-align: center;
    }
    
    #packModal .pack-buttons {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    #packModal .modal-content {
        width: 98%;
        padding: 15px;
    }
    
    #packModal .modal-details h2 {
        font-size: 20px;
    }
    
    #packModal .pack-price {
        font-size: 20px;
    }
    
    #packModal .pack-description {
        font-size: 14px;
        padding: 10px;
    }
    
    #packModal .add-pack-to-cart,
    #packModal .add-all-items-to-cart {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Amélioration de l'animation du modal */
#packModal.show .modal-content {
    animation: packModalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes packModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Style pour le bouton de fermeture du modal pack */
#packModal .close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    z-index: 10;
    transition: all 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#packModal .close-btn:hover {
    color: #e74c3c;
    background-color: #f8f8f8;
    transform: rotate(90deg);
}

/* Correction pour les cartes de pack dans la page principale */
.pack-card {
    position: relative;
    overflow: visible; /* Permet aux tooltips d'être visibles */
}

.pack-card .pack-button {
    position: relative;
    overflow: hidden;
}

.pack-card .pack-button::before {
    content: "Voir les détails";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0088b3, #14c7c7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.pack-card:hover .pack-button::before {
    transform: translateY(0);
}
.offer-option {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.offer-option h3 {
    color: #3498db;
    margin-top: 0;
}

.add-to-cart-btn {
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    display: block;
    margin-top: 15px;
}

.add-to-cart-btn:hover {
    background-color: #27ae60;
}


/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #00ace2;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00ace2;
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-section .contact-item i {
    color: #00ace2;
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00ace2;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}


/*fin de section contenaire */
/*fin de section */
/* Styles pour le modal des packs - Identique au modal produit */
/* Styles améliorés pour tous les modaux */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5vh auto; /* Utilisation de vh pour un positionnement plus cohérent */
    padding: 25px;
    border-radius: 10px;
    position: relative;
    width: 80%;
    max-width: 900px;
    max-height: 90vh; /* Hauteur maximum relative à la fenêtre */
    overflow-y: auto; /* Permet de scroller si le contenu est trop grand */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease; /* Animation d'apparition */
}
.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}
/* Animation pour l'apparition du modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#packModal .close-btn, .close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    z-index: 10;
    transition: color 0.2s ease;
}

.close-btn:hover, .close-modal:hover {
    color: #00ace2;
}

/* Correction spécifique pour le modal des offres */
.offers-modal .modal-content {
    padding: 30px;
    width: 80%;
    max-width: 600px;
}

/* Correction pour le modal des packs */
#packModal .modal-body {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Permet une meilleure adaptation sur mobile */
}

#packModal .modal-image {
    flex: 1 1 300px; /* Taille minimum mais flexible */
}

#packModal .modal-details {
    flex: 1 1 350px; /* Taille minimum mais flexible */
}



/* Ajout d'une classe pour l'animation lors de la fermeture */
.modal-closing {
    animation: modalFadeOut 0.3s ease forwards;
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}
/* Styles pour les boutons du pack */
#packModal .pack-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#packModal .add-pack-to-cart,
#packModal .add-all-items-to-cart {
    background-color: orange;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: bold;
    text-align: center;
}

#packModal .add-all-items-to-cart {
    background-color: #17e5e5;
}

#packModal .add-pack-to-cart:hover {
    background-color: darkorange;
}

#packModal .add-all-items-to-cart:hover {
    background-color: #14c7c7;
}
/* Styles pour le panier */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-overlay.show {
    visibility: visible;
}

.cart.show {
    transform: translateX(0);
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.cart h2 {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-content {
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 5px 0;
}

.cart-item-details p {
    margin: 0;
}

.remove-item {
    color: #ff0000;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-footer h3 {
    margin-bottom: 15px;
    text-align: right;
}

.clear-cart, .checkout {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.clear-cart {
    background-color: #f8f8f8;
    color: #333;
}

.checkout {
    background-color: #4CAF50;
    color: white;
}



/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10vh auto;
        padding: 20px;
    }
    
    #packModal .modal-image {
        margin-bottom: 20px;
    }
    
    #packModal .modal-image img {
        max-height: 250px;
    }
    
}
/*responsive display*/
@media(max-width: 992px){
    
    .nav .links{
        display: none;
    }

    .nav .toggle_btn{
        display: block;
    }
    .dropdown_menu{
        display: block;
    }
    .share-container {
        flex-direction: column;
    }
    
    .share-info, .share-image {
        width: 100%;
    }
    .card{
        width: 100%;
        margin: 15px 0;
    }
    .pack-cards {
        justify-content: center;
    }

    .pack-card {
    width: 420px;        
    }
    
    
}
@media(max-width: 576px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
    .card {
        width: 100%;
        margin: 15px 0;

    }
    .card a.card-button {
        width: calc(100% - 30px);
    }
    header h1 {
        font-size: 35px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
   
}