:root{
    --color : #e12929;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 300;
    scroll-behavior: smooth;
}
body{
    background-color: #f5f5f5;
}
.hero-section{
    height: 90vh;
    min-height: 600px;
    padding-top: 60px;
    width: 100%;
    position: relative;
    
}
/* Navbar principale */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all .3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.nav-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    transition: color .3s;
}

.logo-text:hover {
    color: var(--color);
}

/* Menu principal */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all .3s;
}

.nav-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.link-text {
    font-size: 1rem;
    font-weight: 500;
}

.nav-link:hover, 
.nav-item.active .nav-link {
    color: var(--color);
    background: rgba(255, 255, 255, 0.1);
}
/* Panier */
.modern-navbar .cart-icon {
    position: relative;
    color: white;
    font-size: 1.3rem;
    margin-right: 20px;
    transition: color .3s;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Bouton menu mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color .3s;
}

.mobile-menu-btn:hover {
    color: var(--color);
}

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        margin: 10px 0;
    }

    .nav-link {
        padding: 15px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-item.active::after {
        left: 15px;
        transform: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-item {
    animation: fadeIn 0.5s ease forwards;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }


.hero-content-wrapper {
    display: flex;
    align-items: center;
    height: calc(90vh - 60px); /* Hauteur totale moins la navbar */
    min-height: calc(600px - 60px);
}
 .hero-content {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
        color: white;
        animation: fadeInUp 1s ease;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        font-weight: 700;
        line-height: 1.2;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 40px;
        color: rgba(255,255,255,0.9);
        line-height: 1.6;
    }
    
    .hero-search {
        max-width: 700px;
        margin: 0 auto 30px;
    }
    
    .search-container {
        display: flex;
        background: white;
        border-radius: 50px;
        padding: 5px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
    
    .search-input {
        flex: 1;
        padding: 15px 25px;
        border: none;
        border-radius: 50px 0 0 50px;
        font-size: 1rem;
        outline: none;
    }
/* Styles spécifiques pour l'autocomplétion de la hero-search */
.hero-search .search-autocomplete {
    position: relative;
    flex: 1;
}

.hero-search .suggestions-box {
    display: none;
    position: absolute;
    top: calc(100% - 5px); /* Alignement parfait avec la barre */
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 10000;
    max-height: 600px;
    overflow-y: auto;
    border-top: none;
    padding-top: 5px; /* Compensation pour l'ombre */
}

.hero-search .suggestion-item {
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    color: #333; /* Couleur de texte visible */
    font-size: 0.95rem;
}

.hero-search .suggestion-item:hover {
    background: #f8f8f8;
    color: var(--color); /* Votre couleur orange */
}

.hero-search .suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

/* Animation douce */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-search .suggestions-box {
    animation: fadeIn 0.2s ease-out;
}

/* Ajustement du border-radius quand les suggestions sont visibles */
.hero-search .search-input:focus {
    border-radius: 25px 0 0 0 !important;
}
    .search-button {
        background: var(--color);
        color: white;
        border: none;
        padding: 0 30px;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
    }
    
    .search-button:hover {
        background: #e05d00;
        transform: translateY(-2px);
    }
    
    .hero-keywords {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 30px;
    }
    
    .hero-keywords span {
        background: rgba(255,255,255,0.1);
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
    }
    
    .hero-keywords span:hover {
        background: var(--color);
        transform: translateY(-3px);
    }
    
    /* Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.menu-bare{
    display: none;
}
.menu-bare,.barre i{
    color: white;
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}
#cart-shopping{
    position: absolute;
    right: 60px;
    top: 20px;
}
#nb-commande{
    background-color: var(--color);
    color: white;
    padding: 2px;
    font-size: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    right: 45px;
    top: 10px;
}
@media screen and (max-width: 700px){
    .menu-bare{
        display: block;
    }
    #ul-rwd{
        position: absolute;
        flex-direction: column;
        top: 60px;
        left: 0;
        right: 0;
        width: 100vw;
        height: 260px;
        background-color: rgb(44, 39, 39);
        transition-duration: .5s;
        display: none;
        z-index: 999;
    }
    #ul-rwd li{
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 23px;
        transition-duration: .3s;
    }
    #ul-rwd li.active{
        background-color: var(--color);
    }
    #ul-rwd li:hover{
        background-color: var(--color);
        color: white;
    }
    #ul-rwd li a:hover{
       color: white;
    }
    .content-header p{
        width: 100%;
    }
}
/* Responsive */
    @media (max-width: 768px) {
        .hero-section {
            height: auto;
            padding: 100px 0;
        }
        
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .hero-subtitle {
            font-size: 1rem;
        }
        
        .search-container {
            flex-direction: column;
            background: transparent;
            box-shadow: none;
            gap: 10px;
        }
        
        .search-input {
            border-radius: 50px;
            padding: 12px 20px;
        }
        
        .search-button {
            border-radius: 50px;
            padding: 12px 20px;
            justify-content: center;
        }
        
        .hero-keywords {
            gap: 10px;
        }
        
        .hero-keywords span {
            padding: 6px 12px;
            font-size: 0.8rem;
        }
    }
/*======================================================
                brand
=================================================*/
/* .brand{
    margin: 50px auto;
}
.titre{
    text-align: center;
    margin: 0 8%;
}
.titre h1{
    font-size: 30px;
    font-weight: 800;
}
.titre span{
    color: var(--color);
    font-weight: 800;
}
.brand .brand-img,.splide2 .splide__list{
    display: flex;
    align-items: center;
    justify-content: space-around;

}
.brand .brand-img::-webkit-scrollbar{
    display: none;
}
.brand img{
    width: 100px;
    margin: 15px 25px;
    transition: .4s;
}
.brand .brand-img img:hover{
    transform: scale(1.1);
}
.gallery-wrap{
    position: relative;
}
.backBtn , .nextBtn{
    position: absolute;
    z-index: 99;
    top: 50px;
    color: var(--color);
    font-size: 30px;
    font-weight: 900;
    cursor: pointer;  
}
#nextBtn{
    right: 10px;
}
#backBtn{
    left: 10px;
}
@media screen and (max-width:700px){
    .titre h1{
        font-size: 25px;
        font-weight: 600;
    }
}
/*=======================================================
                categorie
================================================*
.section-categorie{
    margin: 80px 4%;
    padding: 10px;
    position: relative;
}

.categorie{
    margin: 20px;
    cursor: pointer;
    position: relative;
}
.categorie img{
    width: 100%;
    height: 150px;
    filter: brightness(0.7);
    border-radius: 8px;
}
.categorie h3 , .categorie a,.categorie h4{
    z-index: 2;
    position: absolute;
}
.categorie h3{
    color: white;
    font-size: 25px;
    font-weight: 800;
    left: 15px;
    top: 30px;
}
.categorie h4{
    color: white;
    font-size: 18px;
    font-weight: 600;
    left: 15px;
    top: 65px;
}
#nextBtnCate ,#backBtnCate{
    top: 120px;
}
#nextBtnCate{
    right: 20px;
}
#backBtnCate{
    left: 20px;
}
/*=====================================================
            produit
=====================================================*
.section-produit{
    margin: 80px 4%;
}
.section-produit .text,.page-produit .text{
    font-size: 16px;
    font-weight: 600;
}
.produit-container{
    margin: 30px 0;
}
.produit-container h3{
    font-size: 20px;
    border-bottom: 2px solid var(--color);
    display: inline-block;
}
.categorie-ar{
    float: right;
}
.produits{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.produit{
    position: relative;
    width: 14.6%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    margin: 20px 0;
    margin-right: 2%;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition-duration: .3s;
}
.produit:hover{
    border: 2px solid var(--color);
}
.produit .stock{
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 9;
    border: none;
    background-color: var(--color);
    color: white;
    padding: 5px;
    transform: rotate(40deg);
    width: 100%;
    text-align: center;
}
.produit a{
    text-decoration: none;
    color: black;
}
.produit img{
    width: 100%;
    height: 180px;
}
.produit h2,.produit h4{
    margin: 2px 10px;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
    display: block; 
    max-width: 100%;
}
#prix , #ajouter-panier{
    position: absolute;
    bottom: 5px;
}
.produit h2{
    font-size: 16px;
    font-weight: 600;
}
.produit h4{
    font-size: 12px; 
}
#ajouter-panier{
    right: 10px;
    font-size: 18px;
    bottom: 10px;
}

@media screen and (max-width:1100px) {
    .produit{
        width: 31.3%;
    }
}
@media screen and (max-width:660px) {
    .produit-container h3{
        font-size: 18px;
    }
    .produits{
        margin-top: 40px;
    }
    .produit{
        width: 48%;
    }
}
@media screen and (max-width:300px) {
    .produits{
        justify-content: center;
    }
    .produit{
        width: 70%;
    }
} */

/* Styles généraux */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.section-title span {
    color: #e12929;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Marques */
.brand-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.brand-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 120px;
}

.brand-card:hover {
    transform: translateY(-5px);
}

.brand-logo-container {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-container {
    box-shadow: 0 8px 25px rgba(225, 41, 41, 0.2);
    background: #f8f8f8;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    color: #333;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

/* Section Catégories */
.category-section {
    padding: 60px 0;
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 41, 41, 0.15);
}

.category-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    color: white;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-title-ar {
    font-size: 1rem;
}

/* Section Produits */
.produits{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
@media screen and (max-width:660px) {
    .produits{
        margin-top: 40px;
    }
}
@media screen and (max-width:300px) {
    .produits{
        justify-content: center;
    }
} 
.products-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.product-category {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e12929;
    padding-bottom: 10px;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.category-name-ar {
    font-size: 1.2rem;
    color: #666;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 41, 41, 0.15);
}

.product-card.out-of-stock {
    opacity: 0.8;
}

.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e12929;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    height: 180px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background: #f8f8f8;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.product-brand, .product-model {
    font-size: 0.8rem;
    color: #666;
}

.product-model {
    font-size: 0.7rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e12929;
}

.add-to-cart {
    background: #e12929;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .brand-carousel {
        gap: 20px;
    }
    
    .brand-card {
        width: 100px;
    }
    
    .brand-logo-container {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 576px) {
    .brand-carousel {
        gap: 15px;
    }
    
    .brand-card {
        width: 80px;
    }
    
    .brand-logo-container {
        width: 60px;
        height: 60px;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
/*=====================================================
                boutique
======================================================*/
.section-boutique {
    margin: 80px 8%;
    text-align: center;
}

.section-boutique .titre h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.section-boutique .titre h1 span {
    color: var(--color);
    position: relative;
}

.section-boutique .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px; /* Espacement entre les items */
    margin: 40px auto;
}

.section-boutique .container .item {
    background-color: #f9f9f9; /* Fond clair pour contraster avec le contenu */
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px; /* Largeur fixe pour un alignement propre */
}

.section-boutique .container .item:hover {
    transform: translateY(-10px); /* Légère élévation au survol */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.section-boutique .container .item i {
    font-size: 80px;
    margin: 20px 0;
    color: var(--color);
}

.section-boutique .container .item h3 {
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
    color: #555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .section-boutique .container {
        flex-direction: column;
    }

    .section-boutique .container .item {
        width: 100%;
        max-width: 300px; /* Largeur maximale pour éviter un étirement excessif */
    }

    .section-boutique .titre h1 {
        font-size: 24px;
    }

    .section-boutique .container .item i {
        font-size: 60px; /* Réduction de la taille des icônes */
    }
}
/*==============================================================
                        contact
==================================================================*/
.contact{
    margin: 100px 8%;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 6px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px; /* Coins arrondis plus doux */
    overflow: hidden; /* Pour gérer les débordements, notamment des iframes */
    background-image: linear-gradient(315deg, #D1D1D1, #FFFFFF, #D1D1D1);
  }
  .contact .info{
    flex: 1;
  }
  .contact .info h3{
    margin: 20px 40px;
    font-size: 40px;
    font-weight: bold;
  }
  .contact form{
    padding: 20px 40px;
  }
  .contact form input,.contact form select,.contact form textarea{
    width: 90%;
    margin: 10px 0;
    padding: 10px;
    outline: none;
    border: none;
    border-bottom: 1px solid #a5a5a5;
    background-color: transparent;
  }
  .contact form input[type="submit"]{
    background-color: var(--color);
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 30px;
    border-radius: 5px;
    transition-duration: .3s;
  }
  .contact form input[type="submit"]:hover{
    transform: translateY(-5px);
    background-color: rgb(168, 35, 14);
  }
  @media screen and (max-width:700px) {
    .contact{
      flex-direction: column;
    }
    .contact .info iframe{
      height: 400px;
    }
  }
/* ====================================================
            footer
================================================*/
/* Style du footer moderne */
.modern-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    padding: 60px 0 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color), #e12929aa, var(--color));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #bbbbbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-icon {
    width: 20px;
    text-align: center;
    color: var(--color);
}

/* Style des contacts */
.footer-contact {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #bbbbbb;
}

.contact-item span, .contact-item a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

.contact-icon {
    color: var(--color);
    width: 20px;
    text-align: center;
}

/* Style des réseaux sociaux */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 41, 41, 0.3);
}

/* Newsletter */
.newsletter h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #ffffff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #bbbbbb;
}

.newsletter-form button {
    padding: 0 20px;
    border: none;
    background: var(--color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #c82333;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-logo .logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-logo .logo-link:hover {
    color: var(--color);
}

.copyright {
    color: #bbbbbb;
    font-size: 0.9rem;
}

.developer-credit a {
    color: var(--color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
}
/*====================================================
            page produit
================================================*/
.headProd {
    background-image: linear-gradient(rgba(40, 40, 49, 0.5), rgba(58, 72, 73, 0.4), rgba(0, 0, 0, 0.6)), url(../img/cover2.jpg);
    background-position: center;
    background-size: cover;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
.headProd h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}
.headProd p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0;
    line-height: 1.5;
}
.page-produit{
    margin: 80px 8%;
}
.page-produit .filtre {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.page-produit .filtre select {
    margin: 5px;
    width: 140px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.page-produit .filtre select:focus {
    border-color: #008cba;
    box-shadow: 0 0 8px rgba(0, 140, 186, 0.6);
}

.page-produit .filtre input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-produit .filtre input[type="submit"]:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Style de base du formulaire */
.page-produit .recherche {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    position: relative;
}

/* Conteneur autocomplete */
.page-produit .search-autocomplete {
    position: relative;
    display: inline-block;
}

/* Champ de texte */
.page-produit #searchInput {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bouton Rechercher */
.page-produit #searchForm input[type="submit"] {
    background-color: var(--color);
    color: white;
    padding: 10px 15px;
    border: 1px solid var(--color);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: -1px; /* Pour l'alignement */
}

.page-produit #searchForm input[type="submit"]:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Boîte de suggestions */
.page-produit .suggestions-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Items de suggestion */
.page-produit .suggestion-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.page-produit .suggestion-item:hover {
    background-color: #f5f5f5;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-produit #searchInput {
        width: 200px;
    }
    .page-produit .suggestions-box {
        width: 200px;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--color);
    color: #fff;
    border-color: var(--color);
}

.pagination .current-page {
    padding: 8px 12px;
    border: 1px solid var(--color);
    border-radius: 4px;
    background-color: var(--color);
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}
/*======================================
        section voiture
======================================*/
.section-voiture {
    margin: 80px 6%;
}

.titre h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}
.titre h1 span {
    color: var(--color);
}

.bande {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 16px 0 28px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-left: 3px solid var(--color);
    border-radius: 0 6px 6px 0;
    font-size: 13px;
}
.bande a {
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}
.bande a:hover { color: var(--color); }
.bande a + a::before {
    content: '/';
    margin-right: 8px;
    color: #bbb;
}

.cars {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.car a {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.car a:hover {
    transform: translateY(-4px);
    border-color: var(--color);
    box-shadow: 0 8px 24px rgba(192,57,43,0.1);
}

.car-img-wrap {
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    overflow: hidden;
}
.car-img-wrap img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s;
}
.car a:hover .car-img-wrap img {
    transform: scale(1.05);
}

.car-label {
    padding: 10px 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.5px solid #f0f0f0;
}
.car-label h3 {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}
.car-label span {
    font-size: 11px;
    color: var(--color);
    background: #fdf0ef;
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 500;
}
/*==================================
        page detail produit
===================================*/
.detail {
    margin: 40px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.detail .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.detail .item {
    width: 100%;
}

/* Galerie d'images moderne */
.detail .item .img-principale {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.detail .item .img-principale:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.detail .item .img-principale img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.detail .item .img-principale:hover img {
    transform: scale(1.05);
}

.gellery {
    position: relative;
}

#leftBtn, #rightBtn {
    z-index: 9999;
    cursor: pointer;
    position: absolute;
    color: white;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 24px;
    background: rgba(0,0,0,0.7);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#leftBtn:hover, #rightBtn:hover {
    background: var(--color);
    transform: translateY(-50%) scale(1.1);
}

#rightBtn {
    right: 15px;
}

#leftBtn {
    left: 15px;
}

.detail .item .second-img {
    width: 100%;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
}

.detail .item .second-img::-webkit-scrollbar {
    display: none;
}

.detail .item .second-img img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.detail .item .second-img img:hover,
.detail .item .second-img img.active {
    opacity: 1;
    border-color: var(--color);
    transform: scale(1.05);
}

/* Contenu produit moderne */
.product-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-badge.unavailable {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.product-meta {
    margin: 20px 0;
}

.product-meta h4, .product-meta h5 {
    color: #6b7280;
    font-weight: 500;
    margin: 8px 0;
    font-size: 1.1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
}

.rating i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-text {
    margin-left: 10px;
    color: #6b7280;
    font-size: 0.9rem;
}

.prix {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color);
    margin: 25px 0;
    text-shadow: 0 2px 4px rgba(225, 41, 41, 0.1);
}

.product-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    margin: 25px 0;
    border-left: 4px solid var(--color);
}

.product-description h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.product-description p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

/* Formulaire moderne */
.product-form {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    margin-top: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-label {
    font-weight: 600;
    color: #374151;
}

.quantity-input {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--color);
    box-shadow: 0 0 0 3px rgba(225, 41, 41, 0.1);
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    flex: 1;
    min-width: 160px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cart {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-buy {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-buy:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn:disabled {
    background: #9ca3af !important;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Section similaires moderne */
.similaire {
    margin: 80px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.similaire h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, var(--color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.produit-content {
    padding: 20px;
}

.stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}


/* Responsive */
@media screen and (max-width: 1024px) {
    .detail .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .detail .item .img-principale {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .detail {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .detail .container {
        padding: 20px;
        border-radius: 16px;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .prix {
        font-size: 2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        min-width: 100%;
    }
    
    .detail .item .second-img img {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    
    .detail .item .second-img img {
        width: 70px;
        height: 70px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail .container {
    animation: fadeInUp 0.6s ease-out;
}

.similaire {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
/*======================================
        page categorie
======================================*/
.page-categorie {
    margin: 80px 6%;
}

.titre h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}
.titre h1 span {
    color: var(--color);
}

.bande {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 16px 0 28px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-left: 3px solid var(--color);
    border-radius: 0 6px 6px 0;
    font-size: 13px;
}
.bande a { color: #555; text-decoration: none; transition: color 0.15s; }
.bande a:hover { color: var(--color); }
.bande a + a::before { content: '/'; margin-right: 8px; color: #bbb; }

.menu-categorie {
    display: flex;
    gap: 6px;
    margin: 28px 0;
    overflow-x: auto;
    border-bottom: 2px solid #eee;
    scrollbar-width: none;
    padding-bottom: 0;
}
.menu-categorie::-webkit-scrollbar { display: none; }
.menu-categorie a {
    flex-shrink: 0;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    border: 0.5px solid transparent;
    border-bottom: none;
    background: transparent;
    transition: color 0.15s, background 0.15s;
    position: relative;
    bottom: -2px;
}
.menu-categorie a:hover { color: var(--color); background: #fdf0ef; }
.menu-categorie a.active {
    color: var(--color);
    background: #fff;
    border-color: #eee;
    border-bottom-color: #fff;
}
.menu-categorie a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--color);
}

.categorie-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.categorie-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.categorie-item a:hover {
    transform: translateY(-4px);
    border-color: var(--color);
    box-shadow: 0 8px 20px rgba(192,57,43,0.1);
}

.categorie-img-wrap {
    background: #f7f7f7;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.categorie-img-wrap img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s;
}
.categorie-item a:hover .categorie-img-wrap img { transform: scale(1.05); }

.categorie-label {
    padding: 10px 14px 12px;
    border-top: 0.5px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.categorie-label h3 {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
}
.categorie-label i {
    font-size: 13px;
    color: var(--color);
    flex-shrink: 0;
}
/*==========================================
        panier
==========================================*/
#text-panier {
    margin: 48px 40px 16px;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}
#text-panier::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--color);
    border-radius: 2px;
}

.panier {
    margin: 0 40px 40px;
    background: var(--color-background-primary, #fff);
    border: 0.5px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}
@media screen and (max-width: 600px) {
    .panier { margin: 0 8px 40px; overflow-x: auto; }
}
.panier table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.panier thead tr {
    background: var(--color);
}
.panier th {
    padding: 12px 10px;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
}
.panier tbody tr {
    border-bottom: 0.5px solid #e5e5e5;
    transition: background 0.15s;
}
.panier tbody tr:last-child { border-bottom: none; }
.panier tbody tr:hover { background: #f8f8f8; }
.panier td {
    padding: 12px 8px;
    vertical-align: middle;
    border: none;
    font-size: 14px;
}
.panier td img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 0.5px solid #e5e5e5;
}
.panier td a { color: #666; text-decoration: none; }
.panier td a:hover { color: var(--color); }
.panier td i { font-size: 18px; cursor: pointer; }
.panier td input[type=number] {
    width: 60px;
    height: 34px;
    padding: 4px 8px;
    font-size: 14px;
    border: 0.5px solid #ccc;
    border-radius: 6px;
    background: #f5f5f5;
    text-align: center;
    outline: none;
}
.panier td input[type=number]:focus {
    border-color: var(--color);
    box-shadow: 0 0 0 2px rgba(192,57,43,0.12);
}
.panier .prix-total {
    background: #eaf3de;
    color: #27500a;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}
.panier-footer {
    padding: 16px 20px;
    border-top: 0.5px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    background: #f8f8f8;
}
#valider {
    height: 38px;
    border: none;
    background: #27500a;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    padding: 0 24px;
    cursor: pointer;
    transition: background 0.2s;
}
#valider:hover { background: #3b6d11; }

/*==========================================
        commande
==========================================*/
#text-commande {
    margin: 48px 40px 16px;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
#text-commande::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--color);
    border-radius: 2px;
}

.commande {
    margin: 0 40px 40px;
    max-width: 560px;
}
.commande form {
    background: #fff;
    border: 0.5px solid #ddd;
    border-radius: 12px;
    padding: 24px;
}
.commande form h3 {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid #e5e5e5;
}
.commande form input:not([type=submit]):not([type=radio]),
.commande form select {
    width: 100%;
    height: 40px;
    border: 0.5px solid #ccc;
    border-radius: 6px;
    outline: none;
    margin-bottom: 12px;
    padding: 0 12px;
    font-size: 14px;
    background: #f5f5f5;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.commande form input:focus,
.commande form select:focus {
    border-color: var(--color);
    box-shadow: 0 0 0 2px rgba(192,57,43,0.1);
    background: #fff;
}
.commande form input[type=submit] {
    width: 100%;
    height: 42px;
    background: var(--color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
    letter-spacing: 0.3px;
}
.commande form input[type=submit]:hover { background: #a93226; }

@media screen and (max-width: 600px) {
    .commande { margin: 0 8px 40px; }
}

.resume {
    margin: 16px 0;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    border: 0.5px solid #e5e5e5;
}
.resume table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.resume table td {
    padding: 10px 14px;
    border-bottom: 0.5px solid #e5e5e5;
}
.resume table tr:last-child td { border-bottom: none; font-weight: 500; }
#domicile, #bureau { display: none; }
.prixlivraison { display: flex; gap: 8px; margin-top: 8px; }
.prixlivraison .choix { display: flex; align-items: center; }
.prixlivraison .choix label {
    border: 0.5px solid var(--color);
    border-radius: 20px;
    cursor: pointer;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--color);
    transition: background 0.15s, color 0.15s;
}
.choix input[type=radio]:checked + label,
.choix label:hover {
    background: var(--color);
    color: #fff;
}
/* "Non disponible" (longer than the former "Epuise") stays on one line on narrow cards */
.stock-badge { white-space: nowrap; }
