/**
 * CORRECTIONS PROFESSIONNELLES OMEGAV
 * Fichier de corrections pour améliorer la cohérence et le professionnalisme du site
 */

/* ========================================
   1. COHÉRENCE DES COULEURS
   ======================================== */

/* Section "Prenez soin de votre bien-être" - Texte plus foncé pour meilleur contraste */
.cbd-oil-dropper-text h2,
.cbd-oil-dropper-text h6,
.cbd-oil-dropper-text p {
    color: #1a1a1a !important;
}

.cbd-oil-dropper-text h6 i {
    color: var(--common-colour);
}

/* ========================================
   2. BOUTONS PRODUITS PAGE D'ACCUEIL
   ======================================== */

/* Correction du chevauchement des boutons */
.products .btn-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

.products .btn-container .btn {
    flex: 1;
    margin: 0 !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    white-space: nowrap;
    min-width: 100px;
}

.products .btn-container .btn-buy {
    background-color: var(--theme-colour) !important;
    color: #000 !important;
    border: 2px solid var(--theme-colour) !important;
}

.products .btn-container .btn-buy:hover {
    background-color: #000 !important;
    color: var(--theme-colour) !important;
}

/* ========================================
   3. TÉMOIGNAGES - HAUTEUR UNIFORME
   ======================================== */

.clients-reviews {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 280px;
    height: 100%;
}

.clients-reviews-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 220px;
}

.slider-reviews .item {
    height: 100%;
}

/* ========================================
   4. BANNIÈRES - ESPACEMENT HEADER
   ======================================== */

.bannr-section {
    padding-top: 180px !important;
    padding-bottom: 120px !important;
}

.bannr-text {
    padding-top: 40px;
}

/* ========================================
   5. IMAGES PRODUITS - SUPPRESSION ESPACES
   ======================================== */

.trending-products-img {
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
}

.trending-products-img img {
    display: block;
    width: 100%;
    height: 252px;
    object-fit: cover;
}

.products img {
    display: block;
    margin: 0 auto;
}

/* Page détails produit */
.product-info-img {
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
    background-color: #f8f8f8;
}

.product-info-img img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

/* ========================================
   6. FOOTER AMÉLIORÉ
   ======================================== */

footer {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 129, 54, 0.95) 0%, rgba(0, 100, 40, 0.97) 100%);
    z-index: 0;
}

footer>* {
    position: relative;
    z-index: 1;
}

footer .widget-title h3 {
    color: var(--theme-colour);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 197, 60, 0.3);
}

footer .widget-title h5,
footer .widget-title a {
    color: #fff;
    transition: color 0.3s ease;
}

footer .widget-title a:hover {
    color: var(--theme-colour);
}

footer .links li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

footer .links li:hover {
    transform: translateX(5px);
}

footer .links li i {
    color: var(--theme-colour);
    margin-right: 8px;
    font-size: 12px;
}

footer .social-media li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-media li a:hover {
    background-color: var(--theme-colour);
    transform: translateY(-3px);
}

footer .social-media li a:hover i {
    color: #000;
}

footer .footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 60px;
}

footer .footer-bottom-text p,
footer .footer-bottom-text a {
    color: #fff;
    font-size: 14px;
}

footer .footer-bottom-text a:hover {
    color: var(--theme-colour);
}

/* ========================================
   7. CTA CENTRÉ
   ======================================== */

.money-back {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 60px 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

/* .money-back>div {
    max-width: 700px;
    margin: 0 auto;
} */

/* ========================================
   8. SECTION NOTRE MISSION - HAUTEUR UNIFORME
   ======================================== */

.sustainability,
.nature-intended {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sustainability h5,
.nature-intended h5 {
    margin: 15px 0;
}

.sustainability p,
.nature-intended p {
    flex-grow: 1;
}

/* ========================================
   9. LAZY LOADING - OPTIMISATION IMAGES
   ======================================== */

/* CSS Lazy Loading Animation Removed to fix visibility issues */
/*
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
*/

/* ========================================
   10. BOUTONS PRODUITS - PAGE LISTE
   ======================================== */

.trending-products {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.trending-products:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.trending-products .add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--theme-colour);
    color: #000;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.trending-products:hover .add-to-cart {
    transform: translateY(0);
}

.trending-products .add-to-cart:hover {
    background-color: var(--common-colour);
    color: #fff;
}

/* ========================================
   11. RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .bannr-section {
        padding-top: 150px !important;
        padding-bottom: 80px !important;
    }

    .products .btn-container {
        opacity: 1;
        visibility: visible;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin-top: 15px;
    }

    .sustainability,
    .nature-intended {
        min-height: auto;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .products .btn-container {
        flex-direction: column;
        gap: 8px;
    }

    .products .btn-container .btn {
        width: 100%;
    }

    footer {
        padding: 60px 0 0;
    }

    footer .widget-title {
        margin-bottom: 40px;
    }
}

/* Fix clickable buttons */
.product-buttons,
.featured-product-actions {
    position: relative;
    z-index: 10;
}