/* Style du bouton panier */
.btn-cart {
    background-color: var(--accent-color);
    /* Fond marron foncé */
    color: var(--contrast-color);
    /* Texte blanc */
    border: none;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Transition fluide */
}

/* Style au survol du bouton */
.btn-cart:hover {
    background: linear-gradient(to bottom, var(--accent-color), #ccc);
}

/* Style du badge du panier */
.btn-cart .cart-count {
    display: inline-block;
    background-color: #98c650;
    /* Vert par défaut */
    color: #fff;
    /* Texte blanc */
    border-radius: 50%;
    /* Rendu circulaire */
    padding: 5px;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    min-width: 20px;
    width: 22px;
    /* Largeur fixe */
    height: 22px;
    /* Hauteur fixe */
    transition: background-color 0.3s ease;
}

/* Harmoniser le bouton "Découvrir" avec "Voir +" */
.promo-card .btn-cart {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.promo-card .btn-cart:hover {
    /* Renforcer le survol sans casser l’existant */
    filter: brightness(1.1);
    /* OU, si tu veux un décalage subtil : */
    /* transform: translateY(-1px); */
}

/* Conteneur image — toujours nécessaire */
.promo-card .promo-image {
  position: relative;
  display: block;
}

/* Badge promo */
.promo-card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: orange;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 5;
  text-transform: uppercase;
  /* Animation douce */
  animation: promoPulse 2s infinite ease-in-out;
}

/* Animation : léger clignotement par variation d'opacité */
@keyframes promoPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.cart-count.active {
    background-color: orange;
    animation: blinkSoft 2s ease-in-out infinite;
}

@keyframes blinkSoft {

    0%,
    100% {
        background-color: rgb(255, 182, 47);
        transform: scale(1);
    }

    50% {
        background-color: #ff9900;
        /* Orange plus clair */
        transform: scale(1.07);
    }
}



/* Vente de produits
------------------------------*/
/* Style de base des cartes (gardez votre design) */
.product-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    /* 🔑 Animation fluide avec easing "humain" */
    transition:
        opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

/* État "en sortie" */
.product-item.hiding {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    pointer-events: none;
}

/* État "entré" (peut rester implicite) */
.product-item.showing {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Dans la section <style> existante */
.product-item.quick-view-wrapper {
    cursor: pointer;
    transition: transform 0.2s;
}

.product-item.quick-view-wrapper:hover {
    transform: translateY(-3px);
}


/* Contient toute la grille */
.hero .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    justify-items: center;
    padding: 0 1rem;
    max-width: 420px;
    /* ← largeur totale de la grille */
    width: 100%;
    margin: 0 auto;
}

/* Contrôle la largeur individuelle des cartes */
.hero .product-item {
    max-width: 190px;
    /* ← largeur d'une carte (ajustable) */
    width: 100%;
}

/* Contient l'image sans déformation */
.hero .product-image img {
    max-height: 120px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* Animation de clignotement pour le badge panier */
@keyframes blink-cart {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.cart-count.blinking {
    animation: blink-cart 0.6s ease-in-out 5;
}


.btn-tisane {
    background: linear-gradient(135deg, #7bc37b, #5aa85a);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    /* Bouton bien arrondi */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-tisane i {
    font-size: 1.2rem;
}

.btn-tisane:hover {
    background: linear-gradient(135deg, #6ab56a, #489448);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #fff;
}


.btn-tisane,
.btn-green {
    outline: none;
    border: none;
}

.btn-tisane:focus,
.btn-green:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 195, 123, 0.4);
    /* optionnel: halo vert doux au focus */
}


/* ✅ Styles recommandés (à inclure dans votre CSS global) */
.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 2;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.current-price {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
}

.price-wrapper {
    text-align: center;
}



/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}


/* Générales
------------------------------*/
/* Couleur initiale de l'icône */
.logout-icon .icon-logout {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Couleur au survol du lien */
.logout-icon:hover .icon-logout,
.logout-icon:focus .icon-logout {
    color: var(--hover-color);
    transform: scale(1.1);
    /* Optionnel : effet de zoom léger */
}


.big-icon {
    font-size: 3rem;
    cursor: pointer;
}


.text-custom {
    color: var(--accent-color);
}

.text-custom:hover {
    color: #000;
}


.btn-custom {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-custom:hover {
    background-color: var(--hover-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.btn-custom:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.bg-custom {
    /* Fond et texte */
    background-color: var(--accent-color);
    color: var(--contrast-color);

    /* Espacement (padding) */
    padding: var(--padding, 1rem);

    /* Coins arrondis */
    border-radius: var(--border-radius, 8px);

    /* Police claire */
    font-weight: 500;

    /* Curseur pointer si cliquable */
    cursor: default;
}

/* Style pour le menu de catégories
------------------------------*/
.commerce-categories-menu {
    padding: 1.5rem 0;
}

.category-card {
    background: linear-gradient(135deg, #ffffff, #cad7b7, #ffffff);
    border: 1px solid #d4a373;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #2c1e12;
    /* texte sombre pour contraste */
}

.category-card:hover,
.category-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #98c650;
    outline: none;
}

.category-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
}

.category-image {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
    filter: opacity(0.9);
    transition: filter 0.3s;
}

.category-card:hover .category-image,
.category-card:focus .category-image {
    filter: opacity(1) drop-shadow(0 0 2px rgba(152, 198, 80, 0.3));
}

/* Style quand la carte est active */
.category-card.active {
    background: linear-gradient(135deg, #e6b47a, #cd853f);
    /* ton dégradé doré */
    border-color: #d4a373;
    color: #2c1e12;
    box-shadow: 0 4px 8px rgba(205, 133, 63, 0.3);
}

.category-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    white-space: nowrap;
    /* Évite le retour à la ligne */
    overflow: hidden;
    /* Cache le débordement */
    text-overflow: ellipsis;
    /* Ajoute "..." si trop long */
    width: 100%;
    max-width: 100%;
}

/* Pour les petits écrans : ajuste la taille du texte */
@media (max-width: 768px) {
    .category-label {
        font-size: 0.85rem;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .category-image {
        max-height: 35px;
    }

    .category-card {
        height: 100px;
        padding: 0.75rem;
    }
}

/* Pour très petits écrans : permet un retour à la ligne si vraiment nécessaire */
@media (max-width: 576px) {
    .category-label {
        white-space: normal;
        /* Autorise le retour à la ligne */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem;
    }
}


/* Loader
------------------------------*/
/* === LOADER PRO - Design élégant et fluide === */
/* Styles pour le conteneur global du loader */
.global-loader {
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Assurez-vous que vos animations sont définies */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Style de secours si les classes CSS principales ne sont pas chargées */
.loader-spinner:not([style]) {
    width: 60px;
    height: 60px;
    border: 5px solid #e9ecef;
    border-top: 5px solid var(--accent-color, #3498db);
    border-radius: 50%;
    animation: spin 1.2s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.loader-text:not([style]) {
    margin-top: 1.8rem;
    font-size: 1.2rem;
    color: #495057;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 0.9;
}


/* Actualités
------------------------------*/

/* Badges */
.badge.bg-success {
    background-color: #98c650 !important;
}

.badge.bg-warning {
    background-color: #cd853f !important;
}

/* Boutons */
.btn-success,
.btn-primary {
    border-radius: var(--border-radius);
}

/* Cartes */
.card {
    border-radius: var(--border-radius);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}


/* Styles pour la modal des actualités */
#newsModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#newsModal .modal-header {
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}

#newsModal .modal-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.4rem;
}

#newsModal .modal-body {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* Animation pour l'image principale */
#newsModalImageContainer {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

#newsModalImage {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes imageAppear {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.image-changing {
    animation: imageAppear 0.5s ease-out !important;
}

#newsModalImage:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

#newsModalSubtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6c757d;
    font-style: italic;
}

/* Galerie d'images */
#newsModalGallery {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    height: fit-content;
    position: sticky;
    top: 20px;
}

#newsModalGallery h6 {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
}

#newsModalGalleryImages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.gallery-thumb {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.gallery-thumb:hover {
    transform: scale(1.04);
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.gallery-thumb.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
    transform: scale(1.02);
}

.thumb-click {
    animation: thumbClick 0.4s ease-out !important;
}

@keyframes thumbClick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1.02);
    }
}

.news-content {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #2c3e50;
    text-align: justify;
}

.news-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

#newsModal .modal-footer {
    border-top: 2px solid #e9ecef;
    border-radius: 0 0 12px 12px;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
}

/* Scrollbar personnalisée */
#newsModalGalleryImages::-webkit-scrollbar {
    width: 5px;
}

#newsModalGalleryImages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

#newsModalGalleryImages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

#newsModalGalleryImages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

#newsModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#newsModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#newsModal .modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#newsModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* RESPONSIVE - Mobile */
@media (max-width: 992px) {
    #newsModal .modal-dialog {
        margin: 1rem;
        max-width: 95%;
    }

    #newsModal .modal-body {
        padding: 1.5rem;
        max-height: 75vh;
    }

    #newsModalImageContainer {
        min-height: 300px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    #newsModalImage {
        max-height: 300px;
    }

    /* GALERIE EN DESSOUS EN LIGNE SUR MOBILE */
    #newsModalGallery {
        position: static;
        margin-top: 0;
        margin-bottom: 1.5rem;
        order: 3;
        /* Met la galerie après le contenu */
    }

    #newsModalGalleryImages {
        flex-direction: row !important;
        /* Force l'affichage en ligne */
        flex-wrap: wrap;
        max-height: none;
        justify-content: center;
        gap: 8px;
        padding-right: 0;
    }

    .gallery-thumb {
        width: 90px !important;
        /* Taille fixe pour mobile */
        height: 70px !important;
        flex-shrink: 0;
    }

    .gallery-thumb:hover {
        transform: scale(1.05);
    }

    .gallery-thumb.active {
        transform: scale(1.03);
    }

    .news-content {
        order: 2;
        /* Met le contenu avant la galerie */
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    #newsModal .modal-body {
        padding: 1.2rem;
    }

    #newsModalImageContainer {
        min-height: 250px;
        padding: 1rem;
    }

    #newsModalImage {
        max-height: 250px;
    }

    #newsModalGallery {
        padding: 1.2rem;
    }

    .gallery-thumb {
        width: 80px !important;
        height: 60px !important;
    }

    #newsModalGalleryImages {
        gap: 6px;
    }
}

@media (max-width: 576px) {
    #newsModal .modal-dialog {
        margin: 0.5rem;
    }

    #newsModal .modal-body {
        padding: 1rem;
        max-height: 85vh;
    }

    #newsModalImageContainer {
        min-height: 200px;
        padding: 0.8rem;
    }

    #newsModalImage {
        max-height: 200px;
    }

    #newsModalGallery {
        padding: 1rem;
    }

    .gallery-thumb {
        width: 70px !important;
        height: 50px !important;
    }

    #newsModalGalleryImages {
        gap: 5px;
    }

    #newsModalGallery h6 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.8rem !important;
    }
}

/* Pour les très petits écrans */
@media (max-width: 400px) {
    .gallery-thumb {
        width: 65px !important;
        height: 45px !important;
    }

    #newsModalGalleryImages {
        gap: 4px;
    }

    #newsModalImageContainer {
        min-height: 180px;
    }

    #newsModalImage {
        max-height: 180px;
    }
}

.image-previews {
    max-height: 300px;
    overflow-y: auto;
}

.image-preview-item {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6 !important;
}

.image-preview-item:hover {
    background-color: #f8f9fa !important;
    border-color: #007bff !important;
    transform: translateX(2px);
}

.image-preview-item img {
    transition: transform 0.3s ease;
}

.image-preview-item:hover img {
    transform: scale(1.05);
}

/* Scrollbar personnalisée pour la zone de prévisualisation */
.image-previews::-webkit-scrollbar {
    width: 6px;
}

.image-previews::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.image-previews::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.image-previews::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon .bx {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-outline-primary.btn-icon:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-danger.btn-icon:hover {
    background-color: #dc3545;
    color: white;
}


.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    inset: 0;
}

.global-loader[style*="flex"] {
    pointer-events: auto;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 16px;
    font-size: 16px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 1. Arrière-plan en vague diagonale — couleur verte bien visible */
#newsModal .modal-content {
    position: relative;
    overflow: hidden;
    /* important pour clip-path */
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#newsModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Dégradé VERT VIF — on part de la couleur pure */
    background: linear-gradient(125deg,
            color-mix(in srgb, var(--hover-color) 40%, var(--accent-color)),
            /* 1. Vert foncé (profondeur) */
            var(--hover-color),
            /* 2. Vert vif (ton accent) */
            color-mix(in srgb, var(--hover-color) 80%, white),
            /* 3. Vert clair */
            white
            /* 4. Blanc (douceur) */
        );

    /* Vague diagonale marquée */
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);

    z-index: 0;
    /* derrière le contenu */
}

/* 2. Contenu : translucide + décalé pour voir la vague */
#newsModal .modal-header,
#newsModal .modal-body,
#newsModal .modal-footer {
    position: relative;
    z-index: 1;
    /* au-dessus du ::before */
    background: rgba(255, 255, 255, 0.92);
    /* presque blanc, mais translucide */
    backdrop-filter: blur(4px);
    /* effet vitré (optionnel) */
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1rem;
    /* espace pour voir la vague autour */
}

/* 3. Titre en vert pour renforcer la thématique */
#newsModal .modal-title {
    color: var(--accent-color);
    font-weight: 800;
}



/* Modal deatil pour images multiples
------------------------------*/

#modalProductThumbnails .img-thumbnail {
    transition: transform 0.2s, outline 0.2s;
    padding: 2px;
}

#modalProductThumbnails .img-thumbnail:hover {
    transform: scale(1.1);
}

.cursor-pointer {
    cursor: pointer;
}


/* Modal agenda
------------------------------*/
.bg-row-custom td,
.bg-row-custom th {
    background-color: #E6D3B5 !important;
}