/********** Template CSS **********/
:root {
    --primary: #D9B46E;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

h1,
h2,
h3,
.font-heading {
    font-family: "Emblema One", system-ui;
    font-weight: 400;
    font-style: normal;
}

h4,
h5,
h6,
.font-body {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

@media (min-width: 992px) {
    .display-1 {
        font-size: 7rem;
    }
}

.btn {
    font-family: "Emblema One", system-ui;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 40px 0;
    color: var(--bs-secondary);
    font-size: 17px;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.section-title {
    color: var(--bs-primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .5rem;
}

.animate-up-down {
    position: relative;
    animation: animateUpDown 1s ease infinite;
}

@keyframes animateUpDown {
    0% {
        top: 0px;
    }

    50% {
        top: 10px;
    }

    100% {
        top: 0px;
    }
}

.animate-rotate {
    position: absolute;
    animation: animateRotate 8s linear infinite;
}

@keyframes animateRotate {
    100% {
        transform: rotate(-360deg); /* Changement ici */
    }
}

.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.feature {
    margin-bottom: 135px;
}

.feature::after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--bs-dark);
    z-index: -1;
}

.feature .feature-item {
    background: linear-gradient(var(--bs-light) 50%, var(--bs-dark));
}

.menu .tab-content img {
    transition: .5s;
}

.menu .tab-content img:hover {
    opacity: .7;
}

.team-item img {
    transform: scale(1.2);
    transition: .5s;
}

.team-item:hover img {
    margin-top: -50px;
    margin-bottom: 50px;
}

.team-item .team-overlay {
    position: absolute;
    top: calc(100% - 100px);
    bottom: 100px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 36, 41, .9);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    opacity: 1;
}


.testimonial-carousel .owl-nav,
.shop-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next,
.shop-carousel .owl-nav .owl-prev,
.shop-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--bs-primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover,
.shop-carousel .owl-nav .owl-prev:hover,
.shop-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

.instagram img {
    transition: .5s;
}

.instagram img:hover {
    opacity: .9;
}

@media (min-width: 991.98px) {
    .credit {
        background: #111111;
    }
}

/* Animation pour float-bob-y */
@keyframes float-bob-y {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.float-bob-y {
    animation-name: float-bob-y;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-animation-name: float-bob-y;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: float-bob-y;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: float-bob-y;
    -ms-animation-duration: 2s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    -o-animation-name: float-bob-y;
    -o-animation-duration: 2s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
}

@media (min-width: 992px) {

    #shopCarousel .carousel-control-prev,
    #shopCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
}

@media (max-width: 991.98px) {

    #shopCarousel .carousel-control-prev,
    #shopCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
}

.product-card {
    background: #111111;
    border: 1px solid rgba(217, 180, 110, 0.3);
    /* Bordure dorée subtile */
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    /* Utilise la couleur primaire de votre thème */
    box-shadow: 0 15px 30px rgba(217, 180, 110, 0.2);
    /* Ombre dorée douce */
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    /* Léger zoom sur l'image au survol */
}

.product-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Permet au bouton de rester en bas */
    text-align: center;
}

.product-title {
    font-family: 'Emblema One', cursive;
    color: var(--primary);
    /* Couleur dorée de votre thème */
    font-size: 1.7rem;
    min-height: 60px;
    /* Assure un alignement même si les titres ont 1 ou 2 lignes */
}

.product-description {
    color: #ccc;
    font-size: 0.95rem;
    flex-grow: 1;
    /* Pousse le prix et le bouton vers le bas */
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.product-weight {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1.5rem;
}

.btn-shop {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
/* --- Styles pour le sélecteur de poids --- */
.weight-selector {
    margin-bottom: 1.5rem;
}

/* Style du bouton sélectionné */
.weight-selector .btn-check:checked+.btn {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff; /* Texte sombre pour un meilleur contraste sur le fond doré */
    font-weight: 600;
    box-shadow: 0 0 15px rgba(217, 180, 110, 0.4); /* Ajoute un éclat doré */
}

/* Style des boutons non sélectionnés */
.weight-selector .btn {
    background-color: transparent;
    border: 1px solid rgba(217, 180, 110, 0.5);
    color: var(--secondary);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

/* Style au survol */
.weight-selector .btn:hover {
    background-color: rgba(217, 180, 110, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Style pour l'affichage dynamique du prix */
.price-display {
    min-height: 48px; /* Empêche le saut de mise en page */
    transition: all 0.3s ease;
}
/* --- Style pour les groupes de boutons qui vont à la ligne --- */
.wrapping-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Espace entre les boutons */
    justify-content: center; /* Centre les boutons dans la carte */
    margin-bottom: 1.5rem;
}
/* --- Style pour le lien d'information sur la carte --- */
.product-card .info-link {
    display: block;
    text-align: center;
    color: var(--primary); /* Couleur dorée */
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.product-card .info-link:hover {
    color: var(--primary); /* La couleur dorée plus vive au survol */
    text-decoration: underline;
}

/* --- Style pour la fenêtre modale de luxe --- */
.modal-luxe .modal-content {
    background-color: #111111;
    border: 1px solid rgba(217, 180, 110, 0.3);
    border-radius: 15px;
    color: #ccc;
}
.modal-luxe .modal-header {
    border-bottom: 1px solid rgba(217, 180, 110, 0.2);
    color: var(--secondary);
}
.modal-luxe .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* Rend la croix de fermeture blanche */
}
.modal-luxe .modal-title {
    font-family: 'Emblema One', cursive;
    font-size: 1.8rem;
}
.modal-luxe .modal-footer {
    border-top: 1px solid rgba(217, 180, 110, 0.2);
}

/* Style des onglets */
.modal-luxe .nav-tabs {
    border-bottom-color: rgba(217, 180, 110, 0.2);
}
/* --- NOUVEAU STYLE AMÉLIORÉ pour les onglets en mode "Pilules" --- */
.modal-luxe .nav-pills .nav-link {
    background-color: transparent;
    border: 1px solid var(--secondary); /* Bordure dorée pour tous */
    color: var(--secondary);
    margin: 0 5px; /* Petit espace entre les boutons */
    border-radius: 50px; /* Bords bien arrondis */
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

/* Style au survol d'un onglet INACTIF */
.modal-luxe .nav-pills .nav-link:not(.active):hover {
    background-color: rgba(217, 180, 110, 0.15); /* Léger fond doré */
}

/* Style de l'onglet ACTIF */
.modal-luxe .nav-pills .nav-link.active {
    background-color: var(--primary); /* Fond plein doré */
    color: #111; /* Texte sombre pour un contraste parfait */
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(217, 180, 110, 0.4); /* Éclat doré */
}
.modal-luxe .tab-content {
    padding-top: 1.5rem;
}
.modal-luxe .tab-content ul li {
    margin-bottom: 0.5rem;
}