/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
    --color-primary:     #c29958;        /* Or/doré — couleur principale */
    --color-primary-rgb: 194, 153, 88;   /* Même couleur en RGB pour rgba() */
}

/* Fix double arrow on select */
/* .pro-size .form-select {
    appearance: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.25rem;
} */

/***************************SELECT  DETAILS PAGE*********************************/

.form-select {
    border-radius: 1.5rem!important;
}

.section-padding-top{
    padding-top: 80px;
}

.section-padding-bottom{
    padding-bottom: 80px;
}


/****************************BUTTON OUTLINE STYLE*********************************/
.btn-sqr-outline {
    color: var(--color-primary);
    font-size: 15px;
    border-radius: 0;
    background-color: transparent;
    border: 2px solid var(--color-primary);
    padding: 10px 25px;
}
.btn-sqr-outline:hover {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/****************************METHOD PAIEMENT CHECKOUT PAGE*********************************/

.alert-block {
    display: block !important;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.single-payment-method .stripe-logo {
    max-height: 32px !important;
    margin-top: 10px;
    display: block;
}

.billing-form-wrap input{
    border-radius: 15px !important;
}

/****************************ICON USER*********************************/
.icon-user {
    font-size: 14px;
    margin-right: 2px;
    font-weight: 400;
}
.user-link {
    display: flex;
    align-items: center; /* centrage vertical */
    gap: 6px;            /* espace entre le nom et l’icône */
    line-height: 1;
}

.admin-user-block {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.admin-user-block .admin-alert {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 6px;
    display: inline-block;
}

.admin-user-block .admin-user-link {
    display: inline-flex;
    justify-content: flex-end;
}


@media only screen and (max-width: 767.98px) {
    .hide-mobile {
        display: none !important;
    }

}

@media only screen and (min-width: 767.98px) {
    .hide-pc {
        display: none !important;
    }

}

@media (max-width: 768px) {
    .quick-view {
        display: none !important;
    }
}

/***************************GALLERY PRODUIT DETAILS PAGE*********************************/

/* CONTENEUR GLOBAL */
.product-gallery {
    width: 100%;
}

/* IMAGE PRINCIPALE - Format carré avec ratio forcé */
.product-gallery-main {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 0 auto;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
    .product-gallery-main {
        max-width: 350px;
    }
}

@media (max-width: 767px) {
    .product-gallery-main {
        max-width: 300px;
    }
}

/* MINIATURES */
.product-gallery-thumbs {
    display: flex !important;
    gap: 10px;
    margin-top: 15px;
}

.product-gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.product-gallery-thumbs img.active {
    border-color: var(--color-primary);
}


/******************BOUTON POUR LE PANIER *********************************/
.btn-cart-black {
    padding: 12px 25px;
    background-color: #000000;
    color: white;
    border-radius: 30px;
    text-transform: capitalize;
    -webkit-box-shadow: 0 2px 1px 0.5px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 1px 0.5px rgba(0, 0, 0, 0.05);
}

.btn-cart-black:hover {
    background-color: #333333;
    color: white;
    text-decoration: none;
}

/******************MODIF FILTRE BOUTIQUE *********************************/
@media (max-width: 991px) {
    .size-body, .size-title {
        padding-left: 45px;
    }
}

/***************************SELECT  INDEX PAGE*********************************/
.product-carousel-4 .product-item .product-thumb {
    position: relative;
    overflow: hidden;
}
.product-carousel-4 .product-item .product-thumb >a {
    display: block;
    height: 250px;
    overflow: hidden;
}

.product-carousel-4 .product-item .product-thumb >a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-carousel-4 .product-item .product-thumb >a>img:hover {
    transform: scale(1.05);
}
/******************IMAGES PRODUITS BOUTIQUE - HAUTEUR UNIFORME *********************************/
.shop-product-wrap .product-thumb {
    position: relative;
    overflow: hidden;
}

.shop-product-wrap .product-thumb > a {
    display: block;
    height: 250px;
    overflow: hidden;
}

.shop-product-wrap .product-thumb > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.45s ease;
}

.shop-product-wrap .product-thumb:hover > a img {
    transform: scale(1.05);
}

.shop-product-wrap .product-item-outofstock .product-thumb > a img {
    filter: grayscale(1) opacity(0.5);
}

.shop-product-wrap .product-item-outofstock .product-caption,
.shop-product-wrap .product-item-outofstock .product-caption a,
.shop-product-wrap .product-item-outofstock .price-box {
    color: #7f7f7f;
}

.shop-product-wrap .product-item-outofstock .cart-hover,
.shop-product-wrap .product-item-outofstock .cart-hover .btn {
    opacity: 1;
    filter: none;
}

.shop-product-wrap .product-item-outofstock:hover .product-thumb > a img {
    filter: grayscale(0) opacity(1);
    transform: none;
}

.shop-product-wrap .product-item-outofstock .cart-hover .btn-cart-disabled,
.shop-product-wrap .product-item-outofstock .cart-hover .btn-cart-disabled:hover,
.shop-product-wrap .product-item-outofstock .cart-hover .btn-cart-disabled:disabled {
    display: inline-block;
    width: auto;
    padding: 12px 25px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0 !important;
    border-radius: 30px;
    color: #000000 !important;
    line-height: 1.2;
    box-shadow: 0 2px 1px 0.5px rgba(0, 0, 0, 0.05);
    opacity: 1 !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: not-allowed;
}

/* Responsive - ajuster la hauteur selon les écrans */
@media (max-width: 991px) {
    .shop-product-wrap .product-thumb > a {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .shop-product-wrap .product-thumb > a {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .shop-product-wrap .product-thumb > a {
        height: 150px;
    }
}

/******************FILTRE CATEGORIES - HIERARCHIE *********************************/
.categories-list .parent-category {
    margin-top: 8px;
}

.categories-list .parent-category:first-child {
    margin-top: 0;
}

.categories-list .parent-category .custom-control-label {
    font-weight: 600 !important;
}

.categories-list .child-category {
    padding-left: 20px;
}

.categories-list .child-category .child-label {
    font-weight: bold !important;
    font-size: 14px !important;
    color: chocolate !important;
}

.categories-list .child-category .child-label span:first-child {
    color: chocolate !important;
}

/* Style pour sous-catégories vides (0 produits) - PC */
.categories-list .child-category.category-disabled {
    opacity: 0.5;
}

.categories-list .child-category .label-muted {
    color: #bbb !important;
    cursor: not-allowed;
}

.categories-list .child-category .label-muted span {
    color: #bbb !important;
}


/*----------------------------------BADGES PRODUITS----------------------------------------------------*/
/* ------------------------------------------------
   FORCEUR DE STYLE - Priorité maximale
   ------------------------------------------------ */

/* 1. Le conteneur doit rester fixe en haut à gauche */
.product-thumb .product-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 99 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important; /* Espace entre les badges */
    pointer-events: none !important; /* Important pour ne pas gêner le clic */
}

/* 2. Les badges ne doivent PLUS bouger (reset complet) */
.product-thumb .product-badge .product-label {
    position: relative !important; /* Annule le absolute */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;

    /* Style visuel */
    background-color: var(--color-primary) !important;
    color: #fff !important;
    font-size: 14px !important; /* Taille plus petite et nette */
    font-weight: 700 !important; /* Texte en gras pour lisibilité */
    padding: 4px 10px !important;
    border-radius: 10px !important; /* Coins un peu moins ronds souvent plus modernes */
    text-transform: uppercase !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Couleurs spécifiques */
.product-thumb .product-badge .product-label.promo {
    background-color: #d36969 !important;
}
.product-thumb .product-badge .product-label.nouveau {
    background-color: #23733a !important;
}
.product-thumb .product-badge .product-label.vedette {
    background-color: #6f4b1f !important;
}

/* Mobile : on réduit un peu */
@media (max-width: 768px) {
    .product-thumb .product-badge {
        top: 5px !important;
        left: 5px !important;
        gap: 4px !important;
    }
    .product-thumb .product-badge .product-label {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
}







/***************************INDEX PAGE - NOTRE OBJECTIF*********************************/

.section-title .titre-gradient {
    text-transform: capitalize;
    background: -webkit-gradient(linear, left top, right top, from(var(--color-primary)), color-stop(#da763d   ), to(var(--color-primary)));
    background: -webkit-linear-gradient(left, var(--color-primary), #da763d, var(--color-primary));
    background: -o-linear-gradient(left, var(--color-primary), #da763d, var(--color-primary));
    background: linear-gradient(90deg, var(--color-primary), #da763d, var(--color-primary));
    background-repeat: no-repeat;
    background-size: 90%;
    -webkit-animation: shine 3s linear infinite;
    animation: shine 3s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

.section-title .sub-title {
    font-size: 17px!important;
}

@media(max-width: 768px)
{
    .section-padding {
        padding-bottom:0px;
    }
}


/***************************Bouton de controle quantité*********************************/
.qty-controls .btn {
        width: 28px;
        height: 28px;
        padding: 0;
        line-height: 1;
        font-weight: bold;
    }
    .qty-controls .qty-value {
        min-width: 30px;
        text-align: center;
        font-weight: bold;
    }
    .shipping-highlight {
        background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
        border: 2px solid #ffc107;
        border-radius: 8px;
        padding: 15px;
        margin: 10px 0;
    }
    .shipping-highlight .shipping-title {
        font-weight: bold;
        color: #856404;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .shipping-highlight .shipping-title::before {
        content: "🚚";
    }
    .shipping-type {
        margin: 0;
        padding: 0;
    }
    .shipping-type li {
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .shipping-type li:last-child {
        border-bottom: none;
    }
    .shipping-highlight.shipping-disabled {
        background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
        border-color: #28a745;
        opacity: 0.75;
        pointer-events: none;
    }
    .shipping-highlight.shipping-disabled .shipping-title {
        color: #28a745;
    }
    .shipping-highlight.shipping-disabled .shipping-title::before {
        content: "\2714\fe0f";
    }


/* === FIX BOUTONS BOOTSTRAP (thème override) === */
.btn-custom {
    border-width: 1px;
    border-style: solid;
    font-weight: 500;
    padding: 5px 2px;
    transition: all .25s ease;
}

/* Outline primary restauré */
.btn-custom.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    background: transparent;
}

.btn-custom.btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}


/* Icône */
.btn-custom i {
    margin-right: 6px;
}


/* Pour les écrans mobiles et tablettes */
@media (max-width: 768px) {

    /* Ciblez le conteneur de vos catégories (adaptez .sidebar-widget si besoin) */
    .sidebar-widget,
    .widget-categories {

        /* On transforme la liste interne en grille */
        ul {
            display: grid;
            grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
            gap: 8px; /* Espace entre les cases */
            padding: 0;
            list-style: none;
        }

        /* Style des items de liste */
        li {
            margin-bottom: 0 !important; /* Supprime les marges verticales par défaut */
        }

        /* Style des liens/labels pour faire des "boutons" cliquables */
        a, label {
            display: block;
            background-color: #f9f9f9;
            padding: 10px 5px;
            text-align: center;
            border: 1px solid #eee;
            border-radius: 5px;
            font-size: 13px;
        }

        /* Petit effet au survol */
        a:hover, label:hover {
            background-color: var(--color-primary);
            color: #fff;
            border-color: var(--color-primary);
        }
    }
}




/* --- 1. Conteneur Principal (Important pour le dropdown absolu) --- */
.text-chocolate {
    color: chocolate !important;
}
.mobile-category-nav {
    background: #fff;
    border-radius: 5px;
    position: relative; /* Nécessaire pour positionner le dropdown en absolu */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 200;
}

.cat-scroll-container {
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    overflow: visible;
}

.cat-scroll-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.btn-cat-wrapper {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.btn-cat-mobile {
    background: #fff;
    border: none;
    color: #333;
    flex: 1;
    padding: 8px 5px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.btn-cat-mobile:hover {
    background: #f5f5f5;
    color: #333;
}

/* Bouton dropdown flèche */
.btn-cat-dropdown {
    background: #f9f9f9;
    border: none;
    border-left: 1px solid #ddd;
    padding: 0 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.btn-cat-dropdown:hover {
    background: #eee;
}

.btn-cat-dropdown i {
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.btn-cat-dropdown.active i {
    transform: rotate(180deg);
}

/* Style actif quand sélectionné */
.btn-cat-mobile.active {
    background: var(--color-primary);
    color: #fff;
}

.btn-cat-wrapper:has(.btn-cat-mobile.active) {
    border-color: var(--color-primary);
}

.btn-cat-wrapper:has(.btn-cat-mobile.active) .btn-cat-dropdown {
    background: var(--color-primary);
    border-left-color: rgba(255,255,255,0.3);
}

.btn-cat-wrapper:has(.btn-cat-mobile.active) .btn-cat-dropdown i {
    color: #fff;
}

/* --- 2. Style Dropdown (Overlay) --- */
.mobile-subcategory-container {
    position: absolute;
    top: 100%;
    left: 15px;
    width: auto;
    min-width: 150px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 300;
    padding: 0;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

/* Classe pour afficher le dropdown (ajoutée par JS) */
.mobile-subcategory-container.show {
    opacity: 1;
    visibility: visible;
}

/* --- Style Dropdown Liste Verticale --- */
.subcat-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subcat-dropdown-list li {
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

.subcat-dropdown-list li:last-child {
    border-bottom: none;
}

.subcat-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
    white-space: nowrap;
}

.subcat-dropdown-item:hover,
.subcat-dropdown-item:focus {
    background: var(--color-primary);
    color: #fff;
}

/* Style pour sous-catégories vides (0 produits) */
.subcat-muted {
    color: #bbb !important;
    cursor: not-allowed;
    background: #f9f9f9 !important;
}

.subcat-disabled {
    border-bottom-color: rgba(200, 200, 200, 0.2) !important;
}

/* Ancien style gardé pour compatibilité */
.subcat-link {
    display: block;
    background: #f8f8f8;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #eee;
    color: #555;
    font-size: 11px;
    text-decoration: none;
    transition: background 0.2s;
}

.subcat-link:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}


/*----------------------------------SLIDER BOUTIQUE - BOUTON CART MOBILE----------------------------------------------------*/
@media (max-width: 768px) {
    /* Afficher le bouton add to cart en permanence sur mobile */
    .hide-pc .product-item .cart-hover {
        opacity: 1 !important;
        visibility: visible !important;
        bottom: 8px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: auto !important;
        display: inline-flex !important;
        flex-direction: column;
        align-items: center;
    }

    .hide-pc .product-item .cart-hover .btn-cart,
    .hide-pc .product-item .cart-hover .btn-cart-black {
        padding: 6px 12px !important;
        font-size: 10px !important;
        white-space: nowrap;
        border-radius: 20px !important;
    }
}

/* User dropdown: click-only (desktop header) */
.header-configure-area ul li.user-dropdown-click:hover .dropdown-list {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(30px);
        -ms-transform: translateY(30px);
            transform: translateY(30px);
}

.header-configure-area ul li.user-dropdown-click.is-open .dropdown-list {
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
}


/*----------------------------------CART MOBILE - FORMAT CARTE----------------------------------------------------*/
.cart-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-card-img {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
}

.cart-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cart-card-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.cart-card-title a {
    color: #333;
    text-decoration: none;
}

.cart-card-remove {
    background: none;
    border: none;
    color: #d9534f;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.cart-card-size {
    font-size: 11px;
    color: #888;
    margin: 2px 0 0 0;
}

.cart-card-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 4px;
}

.cart-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.cart-card-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.cart-card-qty .qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-card-qty .qty-btn:hover {
    background: #e0e0e0;
}

.cart-card-qty .qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-card-subtotal {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}


/*****************************BOUTON RADIO CHECKOUT***************************************************** */

    .checkout-page-wrapper .custom-control {
        padding-left: 2.1rem;
    }

    .checkout-page-wrapper .custom-control-label::before,
    .checkout-page-wrapper .custom-control-label::after {
        width: 1.35rem;
        height: 1.35rem;
        top: 0.15rem;
        left: -2.1rem;
    }

    .checkout-page-wrapper .custom-control-input + .custom-control-label::before {
        border: 1px solid #666;
        background-color: #fff;
    }

    .checkout-page-wrapper .custom-control-input:checked + .custom-control-label::before {
        border-color: #333;
    }


/*----------------------------------WISHLIST - BOUTON COEUR SUR CARTES PRODUIT----------------------------------------------------*/
.btn-wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-wishlist-heart i {
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.btn-wishlist-heart:hover {
    background: #fff;
    transform: scale(1.1);
}

.btn-wishlist-heart:hover i {
    color: #e74c3c;
}

.btn-wishlist-heart.active i {
    color: #e74c3c;
}

.btn-wishlist-heart.active {
    background: #fff;
}

/* Animation du coeur */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.btn-wishlist-heart.active i {
    animation: heartBeat 0.6s ease-in-out;
}

/*----------------------------------WISHLIST - BOUTON SUR PAGE DETAIL----------------------------------------------------*/
.btn-wishlist-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.btn-wishlist-detail i {
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.btn-wishlist-detail:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-wishlist-detail:hover i {
    color: #e74c3c;
}

.btn-wishlist-detail.active {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-wishlist-detail.active i {
    color: #e74c3c;
}

/*----------------------------------WISHLIST - BOUTON SUPPRIMER PAGE WISHLIST----------------------------------------------------*/
.btn-wishlist-remove {
    background: none;
    border: none;
    color: #d9534f;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.btn-wishlist-remove:hover {
    color: #c9302c;
}

/* Mobile: boutons coeur plus petits */
@media (max-width: 768px) {
    .btn-wishlist-heart {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .btn-wishlist-heart i {
        font-size: 13px;
    }
}


/*********************************
BANNIERE ENTREE DE SITE
**********************************/

.hero-banner {
    background: url('../img/banner/banniere.webp') no-repeat center center;
    background-size: cover;
    padding: 60px 20px;   /* MOBILE FIRST */
}

.hero-flex {
    display: flex;
    flex-direction: column;  /* MOBILE empilé */
    align-items: center;
    text-align: center;
    gap: 25px;
}

.hero-icon {
    max-width: 220px;
    height: auto;
}

.hero-text {
    max-width: 90%;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.brand-subtitle {
    font-size: 15px;
    color: #6f6f6f;
    margin-bottom: 15px;
}

.btn-hero {
    margin-top: 10px;
}


@media (min-width: 992px) {

    .hero-banner {
        padding: 100px 0;
    }

    .hero-flex {
        flex-direction: row;   /* HORIZONTAL */
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 60px;
    }

    .hero-banner .container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-icon {
        max-width: 340px;
    }

    .brand-title {
        font-size: 38px;
    }

    .hero-text {
        max-width: 480px;
    }
}

@media (min-width: 1200px) {
    .hero-banner .container {
        margin-left: 8%;
        margin-right: auto;
    }
}


/*************************     SECTION TEMOIGNAGE ******************************************/

.title-temoignage{
    margin-bottom: 10px!important;
}

.testimonial-author{
    font-size: 20px;
}

.testimonial-date{
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.testimonial-content-wrapper{
    min-height: 180px;
}

.testimonial-content p{
    max-height: 120px;
    overflow-y: auto;
}

.btn-temoignage{
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.btn-temoignage:hover{
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.temoignage-info{
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.temoignage-info a{
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.temoignage-info a:hover{
    color: var(--color-primary);
}

#temoignageModal .modal-header{
    border-bottom: 1px solid #eee;
}

#temoignageModal .modal-footer{
    border-top: 1px solid #eee;
}

.emoji-picker{
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 5px;
}

.emoji-picker.show{
    display: flex;
}

.emoji-item{
    font-size: 20px;
    cursor: pointer;
    padding: 3px 5px;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
}

.emoji-item:hover{
    background: #f0f0f0;
}



/* Section temoignages: fond neutre + demarcation haut/bas */
.home-testimonial {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.home-testimonial::before,
.home-testimonial::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0), rgba(var(--color-primary-rgb), 0.7), rgba(var(--color-primary-rgb), 0));
    pointer-events: none;
}

.home-testimonial::before {
    top: 0;
}

.home-testimonial::after {
    bottom: 0;
}

@media (min-width: 992px) {
    .home-testimonial.bg-img {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 991.98px) {
    .home-testimonial {
        background-image: none !important;
        background-color: #f5f5f5;
    }
}

/* Enjoliver le contenu temoignage (nom, message, date) */
.home-testimonial.section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
}

.home-testimonial .testimonial-content-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 26px 22px;
    background: rgba(232, 229, 224, 0.39);
    border: 1px solid rgba(180, 145, 86, 0.32);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(34, 34, 34, 0.06);
}

.home-testimonial .title-temoignage {
    margin-bottom: 14px !important;
}

.home-testimonial .title-temoignage .titre-gradient {
    font-size: 28px;
    line-height: 1.15;
}

.home-testimonial .title-temoignage .sub-title {
    margin-top: 4px;
    font-size: 17px !important;
    color: #2f3a4a;
}

.home-testimonial .testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 6px 4px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-testimonial .testimonial-author.titre-gradient{
    text-transform: capitalize;
    background: -webkit-gradient(linear, left top, right top, from(var(--color-primary)), color-stop(#da763d ), to(var(--color-primary)));
    background: -webkit-linear-gradient(left, var(--color-primary), #da763d, var(--color-primary));
    background: -o-linear-gradient(left, var(--color-primary), #da763d, var(--color-primary));
    background: linear-gradient(90deg, var(--color-primary), #da763d, var(--color-primary));
    background-repeat: no-repeat;
    background-size: 90%;
    -webkit-animation: shine 3s linear infinite;
    animation: shine 3s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

.home-testimonial .testimonial-author {
    margin-bottom: 10px !important;
    color: #2b2b2b;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.home-testimonial .testimonial-content p {
    margin: 0 auto 12px !important;
    max-width: 720px;
    max-height: 6.8em;
    overflow-y: auto;
    padding-right: 4px;
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.7;
}

.home-testimonial .testimonial-date {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--color-primary-rgb), 0.14);
    color: #8a6b3b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

@media (max-width: 767.98px) {
    .home-testimonial.section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .home-testimonial .testimonial-content-wrapper {
        padding: 14px 12px 16px;
        border-radius: 12px;
    }

    .home-testimonial .title-temoignage .titre-gradient {
        font-size: 24px;
    }

    .home-testimonial .title-temoignage .sub-title {
        font-size: 15px !important;
    }

    .home-testimonial .testimonial-content {
        padding: 6px 2px 0;
    }

    .home-testimonial .testimonial-author {
        font-size: 20px;
    }

.home-testimonial .testimonial-content p {
        font-size: 15px;
        line-height: 1.6;
        max-height: 6.4em;
    }
}

/*----------------------------------SLIDER BIJOUX HOME - RESPONSIVE----------------------------------------------------*/
.home-bijoux-slider .product-carousel-4 .product-item {
    padding: 0 6px;
}

.home-bijoux-slider .product-caption {
    padding-top: 12px;
}

.home-bijoux-slider .product-caption .product-name {
    min-height: 2.4em;
    margin-bottom: 6px;
}

.home-bijoux-slider .product-caption .product-name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-bijoux-slider .product-caption .manufacturer-name a {
    color: #5a3d1a;
    font-weight: 600;
}

.home-bijoux-slider .product-caption .manufacturer-name {
    margin-bottom: 4px;
}

/* Evite le debordement horizontal du slider desktop (flèches slick hors conteneur) */
.home-bijoux-slider .product-container {
    overflow: hidden;
}

@media (min-width: 992px) {
    .home-bijoux-slider .slick-arrow-style:hover button.slick-arrow.slick-prev {
        left: 0;
    }

    .home-bijoux-slider .slick-arrow-style:hover button.slick-arrow.slick-next {
        right: 0;
    }
}

@media (max-width: 991.98px) {
    .home-bijoux-slider .product-carousel-4 .product-item .product-thumb > a {
        height: 220px;
    }

    .home-bijoux-slider .product-caption .manufacturer-name a {
        font-size: 12px;
    }

    .home-bijoux-slider .product-caption .product-name {
        min-height: 2.2em;
    }
}

@media (max-width: 575.98px) {
    .home-bijoux-slider .product-carousel-4 .product-item {
        padding: 0 4px;
    }

    .home-bijoux-slider .product-carousel-4 .product-item .product-thumb > a {
        height: 180px;
    }

    .home-bijoux-slider .product-caption .product-name a {
        font-size: 13px;
    }
}


/*************************BANNIERE STATIQUE*******************/

    .banner-statistics {
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 400px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        background: #f9f9f9;
    }

    .banner-statistics .banner-image-uniform {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    @media (min-width: 992px) {
        .banner-statistics-row {
            justify-content: center;
            gap: 18px;
        }

        .banner-statistics-col {
            flex: 0 0 auto;
            max-width: 460px;
        }
    }

    .banner-statistics .banner-content {
        position: absolute;
        left: 24px !important;
        right: auto !important;
        top: auto !important;
        bottom: 22px !important;
        z-index: 3;
        max-width: min(72%, 360px);
        text-align: left;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
        -webkit-transform: none !important;
            -ms-transform: none !important;
                transform: none !important;
        pointer-events: auto !important;
        background: rgba(0, 0, 0, 0.45);
        padding: 15px 14px 12px;
        border-radius: 8px;
    }

    .banner-statistics .banner-content .banner-text1 {
        margin-bottom: 8px;
        color: #fff !important;
    }

    .banner-statistics .banner-content .btn.btn-text {
        color: #fff !important;
        border-bottom-color: #fff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    }

    .banner-statistics .banner-content .btn.btn-text:before {
        background-color: #fff !important;
    }

    .banner-statistics .banner-content .btn.btn-text:hover {
        color: var(--color-primary) !important;
        border-bottom-color: #fff !important;
    }

    .banner-statistics .banner-content .btn.btn-text:hover:before {
        background-color: #fff !important;
    }

    .banner-text2-under {
        margin: 14px 0 0;
        font-size: 24px;
        line-height: 1.2;
        color: #5b4a3a;
        text-align: left;
    }
