.ad-poster,
.cat-items .item,
.dis-card {
    cursor: pointer
}

.manu-bar .main-manu li .active {
    color: #000;
    font-weight: 700;
    background-color: #f4ecbe;
    padding: 22px 10px
}

.sidebar-widget .active {
    color: var(--color-orange)
}

.brand-logo .logo a {
    padding: 15px !important;
    margin: 0px;
    border-radius: 6px
}

.brand-logo .logo a img {
    width: 120px;
    height: 120px
}

.mid-bar .logo a img {
    max-width: 100px
}

.b-1 {
    border: 1px solid #eee
}

.br-5 {
    border-radius: 5%
}

.ad-poster {
    height: 250px;
    overflow: hidden
}

.refunded {
    border-bottom: 1px solid #d5d5d5
}

.back-to-top {
    display: block
}

.profile-file {
    display: none
}

.msg-error {
    color: red
}

#product-area {
    position: relative;
    overflow: hidden
}

#product-loader,
.overlay-content {
    position: absolute;
    left: 0;
    right: 0
}

#product-loader {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, .8)
}

.overlay-content {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    top: 15%;
    text-align: center;
    color: #555
}

.nice-select .list {
    height: 160px;
    overflow: auto;
    width: 100%
}

.nice-select {
    border-radius: 5px !important;
    height: 50px
}

section .table tbody td a.link-anime {
    min-width: 150px
}

/* ══════════════════════════════════════════════════════════════════════
   HERO BANNER — Desktop
   ══════════════════════════════════════════════════════════════════════ */
section.banner {
    padding: 20px 0 !important;
    height: auto !important;
    margin-bottom: 60px !important;
}

section.banner .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

section.banner .embla {
    width: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
}

section.banner .embla__viewport {
    width: 100% !important;
    overflow: hidden !important;
}

section.banner .embla__container {
    display: flex !important;
    touch-action: pan-y !important;
}

section.banner .embla__slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
}

section.banner .embla__slide img,
section.banner .embla__slide picture img {
    width: 100% !important;
    height: 645px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Nav buttons — desktop */
section.banner .embla__button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background .2s, box-shadow .2s !important;
}

section.banner .embla__button:hover {
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
}

section.banner .embla__button--prev {
    left: 14px !important;
}

section.banner .embla__button--next {
    right: 14px !important;
}

section.banner .embla__button svg {
    width: 20px !important;
    height: 20px !important;
    color: #1a1a2e !important;
    stroke: #1a1a2e !important;
}

/* Dot indicators — desktop */
section.banner .embla__dots {
    position: absolute !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 7px !important;
    z-index: 10 !important;
}

section.banner .embla__dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
}

section.banner .embla__dot--selected {
    background: #fff !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO BANNER — MOBILE (≤ 768px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Section wrapper — full bleed, no padding, tight margin */
    section.banner {
        padding: 0 !important;
        margin-bottom: 24px !important;
    }

    /* Remove container horizontal padding on mobile */
    section.banner .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    /* Full-width embla with rounded bottom corners only */
    section.banner .embla {
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13) !important;
    }

    /* Mobile slide image — show full image, no cropping */
    section.banner .embla__slide img,
    section.banner .embla__slide picture img {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
        border-radius: 0 !important;
        display: block !important;
        background: #f8f8f8 !important;
    }

    /* Hide prev/next arrow buttons on mobile — swipe only */
    section.banner .embla__button {
        display: none !important;
    }

    /* Mobile dots — larger touch targets, bottom of slider */
    section.banner .embla__dots {
        bottom: 10px !important;
        gap: 6px !important;
    }

    section.banner .embla__dot {
        width: 7px !important;
        height: 7px !important;
        background: rgba(255, 255, 255, 0.55) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
    }

    section.banner .embla__dot--selected {
        width: 20px !important;
        background: #fff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }

    /* Banner-slide link fills slide */
    section.banner .banner-slide-link {
        display: block !important;
        width: 100% !important;
        position: relative !important;
    }

    /* Subtle gradient at bottom of slide so dots stay readable */
    section.banner .embla__slide::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.28)) !important;
        pointer-events: none !important;
        border-radius: 0 0 20px 20px !important;
    }
}

/* ── Very small phones (≤ 480px) ────────────────────────────────────── */
@media (max-width: 480px) {

    section.banner .embla__slide img,
    section.banner .embla__slide picture img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════
   BLOG SECTION – Matching site style
   ═══════════════════════════════════════════════════════════════════ */

/* Section wrapper */
section.blog-section {
    background: linear-gradient(160deg, #f0faf5 0%, #e8f5ee 100%) !important;
    padding: 60px 0 !important;
}

/* Section header */
section.blog-section .section-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #056839 !important;
    letter-spacing: -0.5px !important;
    -webkit-text-fill-color: unset !important;
    position: relative;
    display: inline-block;
}

section.blog-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #27c58f;
    border-radius: 2px;
    margin: 10px auto 0;
}

section.blog-section .lead.text-muted {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin-bottom: 4px !important;
}

/* Blog card */
.blog-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 16px rgba(5, 104, 57, .08) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
    border: 1px solid rgba(5, 104, 57, .07) !important;
    display: flex !important;
    flex-direction: column !important;
}

.blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(5, 104, 57, .15) !important;
}

/* Card image */
.blog-image-wrapper {
    overflow: hidden !important;
    height: 200px !important;
    background: #f0faf5 !important;
    position: relative !important;
}

.blog-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .4s ease !important;
}

.blog-card:hover .blog-image {
    transform: scale(1.06) !important;
}

.blog-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #27c58f !important;
    font-size: 48px !important;
}

/* Card content */
.blog-content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* Badge */
.blog-meta .badge,
.blog-meta-mobile .badge {
    background: #056839 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    letter-spacing: .5px !important;
}

.blog-meta .text-muted.small {
    font-size: 12px !important;
    margin-left: 8px !important;
}

/* Blog title */
.blog-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    line-height: 1.5 !important;
    margin: 10px 0 8px !important;
    flex: 1 !important;
}

.blog-title a {
    color: #1a1a2e !important;
    transition: color .2s !important;
}

.blog-title a:hover {
    color: #056839 !important;
}

/* Excerpt */
.blog-excerpt {
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

/* Footer / Read more button */
.blog-footer {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f0faf5 !important;
}

.blog-footer .btn-outline-primary {
    border-color: #056839 !important;
    color: #056839 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    letter-spacing: .3px !important;
    transition: all .25s !important;
}

.blog-footer .btn-outline-primary:hover {
    background: #056839 !important;
    color: #fff !important;
    transform: translateX(2px) !important;
}

/* "Voir tous les articles" button */
section.blog-section .btn-outline-primary.btn-lg {
    border: 2px solid #056839 !important;
    color: #056839 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 32px !important;
    border-radius: 40px !important;
    letter-spacing: .5px !important;
    transition: all .3s !important;
    background: transparent !important;
}

section.blog-section .btn-outline-primary.btn-lg:hover {
    background: #056839 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(5, 104, 57, .25) !important;
    transform: translateY(-2px) !important;
}

/* Mobile card */
.blog-card-mobile {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(5, 104, 57, .1) !important;
    margin-bottom: 10px !important;
}

.blog-image-wrapper-mobile {
    position: relative !important;
    height: 220px !important;
    overflow: hidden !important;
}

.blog-image-mobile {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.blog-title-mobile a {
    color: #1a1a2e !important;
    font-weight: 700 !important;
}

.blog-title-mobile a:hover {
    color: #056839 !important;
}

.blog-footer-mobile .btn-primary {
    background: #056839 !important;
    border-color: #056839 !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* Carousel dots */
section.blog-section .carousel-indicators [data-bs-target] {
    background-color: #27c58f !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    opacity: .4 !important;
}

section.blog-section .carousel-indicators .active {
    opacity: 1 !important;
    background-color: #056839 !important;
}

/* ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   BLOG INDEX PAGE – Hero + Grid
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero bar ─────────────────────────────────────────────────────── */
section.blog-index-hero {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #056839 0%, #0a9e55 50%, #27c58f 100%) !important;
    position: relative;
    overflow: hidden;
}

section.blog-index-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
}

section.blog-index-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
}

section.blog-index-hero .container {
    position: relative;
    z-index: 1;
    padding: 70px 15px 60px !important;
    text-align: center;
}

section.blog-index-hero h1 {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 14px !important;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}

section.blog-index-hero h1::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, .6);
    border-radius: 2px;
    margin: 14px auto 0;
}

section.blog-index-hero .lead {
    font-size: 16px !important;
    color: rgba(255, 255, 255, .88) !important;
    font-weight: 400 !important;
    margin-top: 16px !important;
}

/* ── Blog grid section ────────────────────────────────────────────── */
section.blog-grid {
    background: #f4faf7 !important;
    padding: 50px 0 60px !important;
}

/* Grid card */
.blog-card-grid {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 14px rgba(5, 104, 57, .08) !important;
    border: 1px solid rgba(5, 104, 57, .07) !important;
    transition: transform .3s, box-shadow .3s !important;
    margin-bottom: 28px !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100% - 28px) !important;
}

.blog-card-grid:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px rgba(5, 104, 57, .14) !important;
}

/* Grid card image */
.blog-grid-image {
    height: 210px !important;
    overflow: hidden !important;
    background: #e8f5ee !important;
}

.blog-grid-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .4s ease !important;
}

.blog-card-grid:hover .blog-grid-image img {
    transform: scale(1.06) !important;
}

/* Grid card content */
.blog-grid-content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.blog-grid-meta {
    margin-bottom: 12px !important;
}

.blog-grid-meta .badge {
    background: #056839 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
}

.blog-grid-meta .text-muted.small {
    font-size: 12px !important;
    color: #888 !important;
}

/* Grid title */
.blog-grid-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    flex: 1 !important;
}

.blog-grid-title a {
    color: #1a1a2e !important;
    text-decoration: none !important;
    transition: color .2s !important;
}

.blog-grid-title a:hover {
    color: #056839 !important;
}

/* Lire la suite button */
.blog-grid-content .btn-outline-primary {
    border-color: #056839 !important;
    color: #056839 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 18px !important;
    transition: all .25s !important;
    margin-top: auto !important;
}

.blog-grid-content .btn-outline-primary:hover {
    background: #056839 !important;
    color: #fff !important;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 30px !important;
    display: flex;
    justify-content: center;
}

.pagination-wrapper .page-item .page-link {
    color: #056839 !important;
    border-radius: 8px !important;
    margin: 0 3px !important;
    border: 1px solid #d0e8db !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.pagination-wrapper .page-item.active .page-link {
    background: #056839 !important;
    border-color: #056839 !important;
    color: #fff !important;
}

.pagination-wrapper .page-item .page-link:hover {
    background: #e8f5ee !important;
    color: #056839 !important;
}

/* Responsive */
@media (max-width: 768px) {
    section.blog-index-hero h1 {
        font-size: 30px !important;
    }

    section.blog-index-hero .container {
        padding: 50px 15px 40px !important;
    }

    .blog-grid-image {
        height: 180px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   BLOG DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero / header ────────────────────────────────────────────────── */
section.blog-detail-hero {
    background: linear-gradient(135deg, #056839 0%, #0a9e55 60%, #27c58f 100%) !important;
    border-radius: 0 !important;
    padding: 50px 0 44px !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

section.blog-detail-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
}

section.blog-detail-hero .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
section.blog-detail-hero .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

section.blog-detail-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .8) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: color .2s !important;
}

section.blog-detail-hero .breadcrumb-item a:hover {
    color: #fff !important;
}

section.blog-detail-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .6) !important;
    font-size: 13px !important;
}

section.blog-detail-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5) !important;
}

/* Title */
section.blog-detail-hero h1 {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

/* Meta row */
.blog-detail-meta {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.blog-detail-meta .meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: rgba(255, 255, 255, .88) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: rgba(255, 255, 255, .12) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(6px) !important;
}

.blog-detail-meta .meta-item i {
    font-size: 12px !important;
}

/* ── Main content area ────────────────────────────────────────────── */
section.blog-detail-hero+.container,
section.blog-detail-hero~.container {
    padding-top: 0 !important;
}

/* Featured image */
.blog-featured-image {
    margin: 0 0 36px !important;
    border-radius: 0 0 20px 20px !important;
    overflow: hidden !important;
    max-height: 500px !important;
    box-shadow: 0 8px 32px rgba(5, 104, 57, .12) !important;
}

.blog-featured-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Content wrapper card */
.blog-content-wrapper {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 44px 52px !important;
    box-shadow: 0 4px 28px rgba(5, 104, 57, .07) !important;
    border: 1px solid rgba(5, 104, 57, .06) !important;
    margin-bottom: 40px !important;
}

/* Excerpt */
.blog-content-wrapper .blog-excerpt p.lead {
    font-size: 18px !important;
    color: #4b5563 !important;
    line-height: 1.8 !important;
    font-style: italic !important;
    border-left: 4px solid #27c58f !important;
    padding-left: 20px !important;
    margin-bottom: 32px !important;
}

/* Article body typography */
.blog-content {
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: #374151 !important;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: #056839 !important;
    font-weight: 700 !important;
    margin: 32px 0 14px !important;
}

.blog-content h2 {
    font-size: 24px !important;
}

.blog-content h3 {
    font-size: 20px !important;
}

.blog-content p {
    margin-bottom: 18px !important;
}

.blog-content a {
    color: #056839 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.blog-content ul,
.blog-content ol {
    padding-left: 22px !important;
    margin-bottom: 18px !important;
}

.blog-content li {
    margin-bottom: 8px !important;
}

.blog-content blockquote {
    border-left: 4px solid #056839 !important;
    background: #f0faf5 !important;
    padding: 16px 24px !important;
    border-radius: 0 10px 10px 0 !important;
    margin: 24px 0 !important;
    font-style: italic !important;
    color: #374151 !important;
}

.blog-content img {
    max-width: 100% !important;
    border-radius: 12px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08) !important;
}

/* Tags */
.blog-tags {
    margin-top: 36px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e8f5ee !important;
}

.blog-tags h5 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
}

.blog-tag {
    display: inline-block !important;
    background: #e8f5ee !important;
    color: #056839 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    margin: 0 6px 8px 0 !important;
    text-decoration: none !important;
    border: 1px solid rgba(5, 104, 57, .15) !important;
    transition: all .2s !important;
}

.blog-tag:hover {
    background: #056839 !important;
    color: #fff !important;
}

/* Share buttons */
.share-buttons {
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e8f5ee !important;
}

.share-buttons h5 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 14px !important;
}

.share-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    font-size: 15px !important;
    margin-right: 10px !important;
    text-decoration: none !important;
    transition: transform .25s, box-shadow .25s !important;
    color: #fff !important;
}

.share-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2) !important;
    color: #fff !important;
}

.share-facebook {
    background: #1877f2 !important;
}

.share-twitter {
    background: #1da1f2 !important;
}

.share-linkedin {
    background: #0a66c2 !important;
}

.share-whatsapp {
    background: #25d366 !important;
}

/* ── Related blogs ────────────────────────────────────────────────── */
section.related-blogs {
    background: linear-gradient(160deg, #f0faf5 0%, #e8f5ee 100%) !important;
    padding: 50px 0 60px !important;
}

section.related-blogs h3 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #056839 !important;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

section.related-blogs h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #27c58f;
    border-radius: 2px;
}

.related-blog-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 14px rgba(5, 104, 57, .08) !important;
    border: 1px solid rgba(5, 104, 57, .06) !important;
    transition: transform .3s, box-shadow .3s !important;
    height: 100% !important;
}

.related-blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 28px rgba(5, 104, 57, .14) !important;
}

.related-blog-image {
    height: 170px !important;
    overflow: hidden !important;
}

.related-blog-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .4s !important;
}

.related-blog-card:hover .related-blog-image img {
    transform: scale(1.06) !important;
}

.related-blog-content {
    padding: 18px !important;
}

.related-blog-title a {
    color: #1a1a2e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color .2s !important;
}

.related-blog-title a:hover {
    color: #056839 !important;
}

.related-blog-content .btn-outline-primary {
    border-color: #056839 !important;
    color: #056839 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 14px !important;
    transition: all .2s !important;
}

.related-blog-content .btn-outline-primary:hover {
    background: #056839 !important;
    color: #fff !important;
}

section.related-blogs .btn-primary.btn-lg {
    background: #056839 !important;
    border-color: #056839 !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    font-size: 14px !important;
    transition: all .3s !important;
}

section.related-blogs .btn-primary.btn-lg:hover {
    background: #044d2a !important;
    box-shadow: 0 6px 20px rgba(5, 104, 57, .3) !important;
    transform: translateY(-2px) !important;
}

/* Responsive */
@media (max-width: 768px) {
    section.blog-detail-hero h1 {
        font-size: 22px !important;
    }

    section.blog-detail-hero {
        padding: 36px 0 30px !important;
    }

    .blog-content-wrapper {
        padding: 24px 18px !important;
    }

    .blog-content {
        font-size: 15px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */

/* ── Mobile login dropdown – keep inside viewport ───────────────────── */
@media (max-width: 991px) {
    .mobile-actions .login-menu {
        position: static !important;
    }

    .mobile-actions .login-menu .dropdown-menu {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        top: 100% !important;
        transform: none !important;
        min-width: 180px !important;
        max-width: calc(100vw - 24px) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .13) !important;
        padding: 8px 0 !important;
        z-index: 9999 !important;
        border: 1px solid #f0f0f0 !important;
    }

    .mobile-actions .login-menu .dropdown-item {
        padding: 11px 20px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #1a1a2e !important;
        white-space: nowrap !important;
    }

    .mobile-actions .login-menu .dropdown-item:hover {
        background: #f8f0f5 !important;
        color: #e3267b !important;
        border-radius: 8px !important;
    }

    /* Wrapper needs relative so dropdown positions against it */
    .mobile-actions {
        position: relative !important;
    }
}

/* ─────────────────────────────────────────────────────────────────── */

/* ── Brand logos – uniform size ─────────────────────────────────────── */
.brand-logo .logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    height: 100px !important;
}

.brand-logo .logo a img {
    width: 120px !important;
    height: 70px !important;
    object-fit: contain !important;
    display: block !important;
}

/* ─────────────────────────────────────────────────────────────────── */

/* Mega Menu Integration Styles */
.mega-menu-wrapper {
    position: relative;
    z-index: 999;
    margin: 15px 0;
}

.mega-menu-container {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

/* Ensure mega menu works well with existing layout */
@media (max-width: 768px) {
    .mega-menu-wrapper {
        margin: 10px 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT CARD — extracted from component to avoid per-card duplication
   ═══════════════════════════════════════════════════════════════════ */
@media only screen and (max-width:768px) {
    .product-card .product-img a img {
        width: 85%;
        height: 200px
    }
}

.favorite {
    position: absolute;
    bottom: 385px;
    left: 20px
}

@media (max-width:768px) {
    .favorite {
        position: absolute;
        bottom: 318px !important;
        left: 20px
    }
}

.btn-text,
.saller {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    width: 100%;
    font-weight: 600;
    font-size: 16px !important;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer
}

.saller:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, .4);
    color: #fff;
    text-decoration: none
}

.saller:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, .3)
}

.saller::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s ease
}

.saller:hover::before {
    left: 100%
}

.saller .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px
}

.saller .btn-icon svg,
.saller .btn-text {
    width: 100%;
    height: 100%;
    white-space: nowrap
}

@media only screen and (max-width:768px) {
    .add-to-cart-btn {
        padding: 10px 20px;
        font-size: 13px;
        gap: 6px
    }
}

@media only screen and (max-width:480px) {
    .add-to-cart-btn .btn-text {
        display: block
    }

    .add-to-cart-btn {
        padding: 12px;
        border-radius: 10%;
        width: 100%;
        height: 44px
    }

    .add-to-cart-btn .btn-icon {
        width: 20px;
        height: 20px
    }
}

/* ═══════════════════════════════════════════════════════════════════
   CART SUCCESS MODAL
   ═══════════════════════════════════════════════════════════════════ */
.cart-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeInModal .3s ease
}

@keyframes fadeInModal {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px)
}

.modal-content-wrapper {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    animation: slideUpModal .3s ease;
    overflow: hidden
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    transition: all .2s ease;
    z-index: 10
}

.modal-close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.modal-close-btn svg {
    color: #666
}

.modal-header-success {
    background: #27c58f;
    padding: 30px 30px 25px;
    border-radius: 16px 16px 0 0;
    text-align: center;
    color: #fff;
    position: relative
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px
}

.modal-header-success h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    position: relative
}

.modal-cart-info {
    padding: 25px 30px
}

.cart-info-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 24px
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #333
}

.info-label span {
    color: #27c58f;
    font-weight: 700
}

.cart-product-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center
}

.product-image-wrapper {
    flex-shrink: 0
}

.modal-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.product-info-wrapper {
    flex: 1
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0
}

.detail-row:last-child {
    border-bottom: none
}

.detail-label,
.detail-value {
    font-weight: 600;
    font-size: 14px
}

.detail-label {
    color: #666
}

.detail-value {
    color: #333
}

.cart-totals {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    margin-top: 15px
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0
}

.total-row.total-final {
    margin-top: 10px;
    padding-top: 10px
}

.total-label {
    font-weight: 600;
    color: #666;
    font-size: 15px
}

.total-final .total-label,
.total-final .total-value {
    font-size: 18px;
    color: #333;
    font-weight: 700
}

.total-value {
    font-weight: 700;
    color: #333;
    font-size: 15px
}

.modal-actions {
    padding: 0 30px 25px;
    display: flex;
    gap: 10px;
    flex-direction: row
}

.btn-view-cart {
    background: #27c58f;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all .3s ease;
    border: none;
    font-size: 15px
}

.btn-view-cart:hover {
    background: #b5436d;
    color: #fff;
    text-decoration: none;
    opacity: .9
}

.btn-continue {
    background: #a4397e;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 15px
}

.btn-continue:hover {
    background: #933270;
    opacity: .9
}

@media (max-width:768px) {
    .modal-content-wrapper {
        width: 95%;
        max-width: none
    }

    .modal-header-success {
        padding: 25px 20px 20px
    }

    .modal-header-success h3 {
        font-size: 16px
    }

    .success-icon {
        width: 50px;
        height: 50px
    }

    .modal-cart-info {
        padding: 20px
    }

    .modal-actions {
        padding: 0 20px 20px
    }

    .cart-product-details {
        flex-direction: row
    }

    .modal-product-image {
        width: 80px;
        height: 80px
    }
}

/* ── Mega-menu "Voir tout" button — compact size ─────────────────────── */
.mega-menu .btn-outline-primary.btn-sm,
.dropdown-menu .btn-outline-primary.btn-sm {
    font-size: 10px !important;
    padding: 4px 8px !important;
    border-radius: 20px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    width: auto !important;
    display: inline-block !important;
}