/* =============================================
   HERO SLIDER — Swiper.js (1:1 copy from djazairbooking)
   Source: djazairbooking/public/stylesheets/style.css
   ============================================= */

.swiper-container {
    overflow: hidden;
    width: 100%;
}

.swiper-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.swiper-slide img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    max-height: 100vh;
}

@media (min-width: 768px) {
    .swiper-slide img {
        max-height: 60vh;
    }
}


/* Wrapper anchor must not block layout */
.swiper-slide-link {
    display: block;
    width: 100%;
    line-height: 0;
}

/* Caption is overlaid on top of the image (like the original hero design),
   not stacked below it. Pointer events pass through except on actual content. */
.slide-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    text-align: left;
    margin-top: 0;
    pointer-events: none;
    padding: 1rem 0;
}

.slide-caption > * {
    pointer-events: auto;
    width: 100%;
}

/* Hero-content typography (matches the original Para-Glow design) */
.slide-caption .hero-title {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.slide-caption .hero-desc {
    color: #444;
    max-width: 540px;
}

.slide-caption .slide-badge {
    color: #111;
    letter-spacing: 1px;
}

@media (max-width: 991.98px) {
    .slide-caption .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 767.98px) {
    .slide-caption {
        text-align: center;
        padding: 0rem;
    }
    .slide-caption .hero-title {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }
    .slide-caption .hero-desc {
        font-size: 14px !important;
        margin-bottom: 1rem !important;
    }
    .slide-caption .slide-cta {
        padding: 0.5rem 1.25rem;
        font-size: 14px;
    }
}

/* =============================================
   HOME FEATURE PILL CARDS
   Horizontal icon + text card (issue-2.png style)
   Grid on desktop, Swiper on tablet/mobile
   ============================================= */
.feature-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #fff;
    border: 0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 92px;
    width: 100%;
    text-align: left;
}

.feature-pill__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary, #2c6e08);
    font-size: 40px;
}

.feature-pill__icon .icon {
    width: 1em;
    height: 1em;
}

.feature-pill__body {
    min-width: 0;
}

.feature-pill__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.15rem 0;
    color: #111;
}

.feature-pill__desc {
    font-size: 0.8125rem;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.4;
}

/* Features swiper (tablet/mobile) */
.features-swiper {
    overflow: hidden;
    padding-bottom: 0.25rem;
}

.features-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.features-swiper .swiper-slide > * {
    width: 100%;
}

.features-swiper__pagination.swiper-pagination {
    position: relative !important;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 1rem auto 0;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border-radius: 0 !important;
}

.features-swiper__pagination .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 !important;
}

.features-swiper__pagination .swiper-pagination-bullet-active {
    background: var(--bs-primary, #2c6e08);
}

@media (max-width: 575.98px) {
    .feature-pill {
        padding: 0.875rem 1.25rem;
    }
    .feature-pill__icon {
        width: 40px;
        height: 40px;
        font-size: 32px;
    }
    .feature-pill__title {
        font-size: 0.9375rem;
    }
    .feature-pill__desc {
        font-size: 0.75rem;
    }
}

.swiper-pagination {
    position: relative !important;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 6px 3px;
    margin-right: 8px;
    height: 18px;
    width: 87px !important;
    border-radius: 99px;
    background-color: #0006;
}

.swiper-pagination span {
    display: block;
    width: 12px;
    height: 6px;
    border-radius: 99px;
    background-color: #fff6;
    transition: width .2s, background-color .2s;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    width: 21px !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Pagination centered at the bottom of the slider */
.slider-control.action-buttons {
    display: flex;
    position: absolute;
    top: auto;
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: 100%;
    padding: 0;
    background-color: transparent;
    z-index: 3;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767.98px) {
    .slider-control.action-buttons {
        bottom: 12px;
    }
}


/* =============================================
   TOPBAR - Marquee Animation
   ============================================= */
.topbar-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.topbar-marquee-text {
    display: inline-block;
    animation: topbar-scroll 18s linear infinite;
    will-change: transform;
}

@keyframes topbar-scroll {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

@media (min-width: 1200px) {
    .main-header.flex-column {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header-main-row {
        display: flex;
        align-items: center;
        min-height: 76px;
        gap: 20px;
        position: relative;
    }

    .header-main-row .navbar-brand img {
        height: 100px;
        width: auto;
    }

    .header-menu-row {
        align-items: center;
        justify-content: center;
        min-height: 54px;
    }

    .header-menu-nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 0 32px;
    }

    .header-menu-nav > .nav-item {
        margin: 0;
        padding: 16px 0;
    }

    .header-menu-nav .nav-link {
        color: var(--bs-body-color);
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: .05em;
        white-space: nowrap;
    }

    .header-menu-nav .dropdown-toggle::after {
        margin-left: .35rem;
        font-size: .7em;
    }

    .icons-actions {
        gap: 4px;
    }

    .customer-desktop-link {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        color: var(--bs-body-color);
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
        transition: color .18s ease;
    }

    .customer-desktop-link:hover,
    .customer-desktop-link:focus {
        color: var(--bs-primary, #2c6e08) !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-menu-nav {
        gap: 0 24px;
    }

    .header-menu-nav .nav-link {
        font-size: 13px;
        letter-spacing: .04em;
    }

    .header-search-wrap-desktop {
        width: 460px;
        max-width: 460px;
    }

    .header-search-wrap-desktop .header-search-form {
        max-width: 420px;
    }

    .customer-desktop-link {
        font-size: 13px;
    }
}

.mobile-nav-header {
    padding: 18px 20px;
}

.mobile-nav-header .offcanvas-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .08em;
}

.mobile-nav-body {
    padding-left: 18px;
    padding-right: 18px;
}

.mobile-menu-list {
    gap: 4px;
}

.mobile-menu-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu-group-link {
    color: var(--bs-body-color);
    font-size: 17px;
    line-height: 1.25;
    padding: 15px 0;
    letter-spacing: .055em;
}

.mobile-menu-chevron {
    color: #8a8a8a;
    font-size: 11px;
    transition: transform .2s ease;
}

.mobile-menu-group-link[aria-expanded="true"] .mobile-menu-chevron {
    transform: rotate(180deg);
}

.mobile-menu-collapse {
    padding-bottom: 10px;
}

.mobile-menu-section {
    padding: 8px 0 10px 14px;
    border-left: 2px solid rgba(var(--bs-primary-rgb), .18);
}

.mobile-menu-section-title {
    color: var(--bs-primary);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .08em;
    margin: 0 0 7px;
}

.mobile-menu-category-list {
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    color: #555 !important;
    font-size: 14px;
    line-height: 1.35;
    padding: 7px 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--bs-primary) !important;
}

/* =============================================
   Skeleton Loading
   ============================================= */
.skeleton-card {
    padding: 0;
}

.skeleton-img {
    width: 100%;
    padding-bottom: 133%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Price Range Slider */
.price-range-track {
    position: relative;
    margin-top: 12px;
}

.price-range-input {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    height: 16px;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bs-primary, #198754);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    pointer-events: all;
    cursor: pointer;
}

.price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bs-primary, #198754);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    pointer-events: all;
    cursor: pointer;
}

/* Cursor pointer for filter labels */
.cursor-pointer { cursor: pointer; }

/* =============================================
   PARA GLOW - Mobile Overrides (< 1200px)
   ============================================= */

@media (max-width: 1199.98px) {

    /* 1. Topbar - force single line */
    .topbar .container p {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        padding: 6px 4px !important;
        letter-spacing: -0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 2. Logo - reduce to 80px */
    .navbar-brand img {
        height: 85px !important;
    }

    /* 3. Banner hero - reduce height on mobile */
    .hero.hero-header-01 .vh-100 {
        height: 65vh !important;
        min-height: 65vh !important;
    }

    /* 4. Hero title - smaller on mobile */
    .hero .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    /* 5. Hero description - slightly smaller */
    .hero .hero-desc {
        font-size: 0.9rem !important;
    }

    /* 6. Mobile icons - proper spacing & matched sizing */
    .icons-actions {
        gap: 8px;
    }

    .icons-actions .d-xl-none .icon {
        width: 28px !important;
        height: 28px !important;
    }

    .icons-actions .navbar-toggler {
        width: 28px;
        height: 28px;
        position: relative;
        padding: 0 !important;
    }

    .icons-actions .navbar-toggler .toggle-icon {
        width: 28px;
    }

    .icons-actions .navbar-toggler .toggle-icon,
    .icons-actions .navbar-toggler .toggle-icon::before,
    .icons-actions .navbar-toggler .toggle-icon::after {
        background-color: var(--bs-body-color);
    }

    .icons-actions .navbar-toggler .toggle-icon::before {
        width: 22px;
    }

    .icons-actions .navbar-toggler .toggle-icon::after {
        width: 18px;
    }

    /* 7. Main header - tighter vertical padding on mobile */
    .main-header.py-6 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    /* =============================================
       8. GLOBAL MOBILE TYPOGRAPHY - consistent sizes
       ============================================= */

    /* All h1 - uniform 28px */
    h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    /* All h2 - uniform 22px */
    h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* All h3 - uniform 18px */
    h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    /* All h4 - uniform 16px */
    h4 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    /* Body paragraphs - uniform 14px */
    p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Topbar paragraph override - keep smaller */
    .topbar .container p {
        font-size: 0.9rem !important;
    }

    /* =============================================
       9. PRODUCT CARDS - compact on mobile
       ============================================= */

    /* Card product - tighter spacing */
    .card-product .card-img-top {
        margin-bottom: 0.5rem !important;
    }

    .card-product .card-body {
        padding: 0.25rem 0 !important;
    }

    .card-product .card-title {
        font-size: 12px !important;
        line-height: 1.25 !important;
        margin-bottom: 0.2rem !important;
        min-height: 2.5em !important;
    }

    .card-product .price-current {
        font-size: 0.85rem !important;
    }

    .card-product .price-old {
        font-size: 0.7rem !important;
    }

    .card-product .price-block {
        gap: 4px !important;
    }

    /* Slick slider cards - tighter gap */
    .slick-slider .slick-slide {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Reduce section spacing on mobile */
    .py-lg-17 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-13 {
        margin-bottom: 1.5rem !important;
    }

    /* =============================================
       10. CART ICON - always visible on mobile
       ============================================= */

    /* Show cart icon always (no hover on touch) */
    .product-actions > a.add_to_cart {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }

    /* Smaller cart icon button on mobile */
    .product-actions > a.add_to_cart {
        width: 32px !important;
        height: 32px !important;
    }

    .product-actions > a.add_to_cart .icon {
        width: 16px !important;
        height: 16px !important;
    }

    /* =============================================
       11. SLIDER - no animation on mobile/tablet
       ============================================= */

    .slick-slider .slick-track {
        transition: none !important;
    }

    .slick-slider .slick-slide {
        transition: none !important;
        animation: none !important;
    }

    /* Disable fadeInUp animations on mobile */
    [data-animate="fadeInUp"] {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Service icons section - reduce vertical padding on mobile */
    section[data-animated-id="4"] {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    section[data-animated-id="4"] .row {
        --bs-gutter-y: 16px !important;
    }

    /* Service icon boxes - 2x2 grid on mobile */
    .icon-box.icon-box-style-1 .icon-box-icon {
        font-size: 52px !important;
    }

    .icon-box.icon-box-style-1 .icon-box-icon svg.icon {
        width: 52px !important;
        height: 52px !important;
    }

    .icon-box.icon-box-style-1 .icon-box-title {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
        padding-bottom: 0 !important;
    }

    .icon-box.icon-box-style-1 .icon-box-desc {
        font-size: 0.85rem !important;
    }

    .icon-box.icon-box-style-1 .card-body {
        padding: 10px 6px !important;
    }

    .icon-box.icon-box-style-1.card {
        padding: 14px 8px !important;
    }
}

/* =============================================
   HERO SLIDER - Taller on desktop (+20%)
   ============================================= */
@media (min-width: 1200px) {
    .hero.hero-header-01 .vh-100 {
        height: calc((100vh - 143px) * 0.88) !important;
        min-height: 550px;
    }
}

/* =============================================
   MEGA MENU - Better hover intent (no gap, small hide delay)
   ============================================= */
@media (min-width: 1200px) {
    /* Menu ouvert: position finale instantanée, pas d'animation "top" */
    .dropdown-hover .dropdown-menu {
        transition: opacity .25s ease, visibility .25s ease;
        top: 100% !important;
        transition-delay: 0s, .15s; /* fade-out + visibility after small delay */
    }
    /* Bridge invisible plus large au dessus du menu pour éviter la fermeture */
    .dropdown-hover .dropdown-menu:before {
        height: 1.25rem; /* ~20px bridge */
    }
    /* Pendant le hover: menu visible instantanément */
    .dropdown-hover:hover > .dropdown-menu {
        transition-delay: 0s, 0s;
    }
}

/* =============================================
   GLOBAL - Equal height product cards
   ============================================= */

/* Slick slides: stretch cards to equal height */
.slick-slider .slick-track {
    display: flex !important;
}

.slick-slider .slick-slide {
    height: auto !important;
    display: flex !important;
}

.slick-slider .slick-slide > div {
    display: flex;
    width: 100%;
}

/* Card fills its container */
.card-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-product .card-img-top {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f6f6f6;
    border-radius: 8px;
    overflow: hidden;
}

.card-product .card-img-top > a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.card-product .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title: clamp to 2 lines with ellipsis */
.card-product .product-title {
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    line-height: 1.3;
}

/* Price block — clean stacked layout */
.card-product .price-block {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-product .price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-body-emphasis, #1a1a1a);
}

.card-product .price-current.price-sale {
    color: #ef4444;
}

.card-product .price-old {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

.card-product .price-from {
    font-size: 0.75rem;
    font-weight: 400;
    color: #888;
}

/* Grid cards (Les Favoris) - also equal height */
.row > [class*="col-"] > .card-product {
    height: 100%;
}

/* Slick slider cards — match the Favoris grid behavior so every slide
   has the exact same height as the tallest card in view. Without this,
   slick lays out each slide at its natural height and tall titles or
   discount lines push some cards taller than others. */
.slick-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}
.slick-slider .slick-slide {
    height: auto !important;
}
.slick-slider .slick-slide > div {
    height: 100%;
}
.slick-slider .slick-slide > div > .card-product,
.slick-slider .slick-slide > div .card-product {
    height: 100%;
}

/* =============================================
   Les Favoris left banner - cap height to match product grid
   ============================================= */
.banner-02 {
    max-height: 700px;
    object-fit: cover;
}

.card:has(> .banner-02) {
    height: auto !important;
    max-height: 700px;
    overflow: hidden;
}

.card:has(> .banner-02) .card-img-overlay {
    max-height: 700px;
}

@media (max-width: 991.98px) {
    .banner-02,
    .card:has(> .banner-02),
    .card:has(> .banner-02) .card-img-overlay {
        max-height: none;
    }
}

/* =============================================
   Footer logo - adaptive size like header
   ============================================= */
.footer-logo {
    height: 100px;
    width: auto;
}

@media (max-width: 1199.98px) {
    .footer-logo {
        height: 85px;
    }
}

/* =============================================
   WhatsApp floating bubble (home page only)
   ============================================= */
.whatsapp-bubble {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-bubble:hover,
.whatsapp-bubble:focus-visible {
    background: #128C7E;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 3px 8px rgba(0, 0, 0, 0.18);
    outline: none;
}

.whatsapp-bubble__icon {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
    display: block;
}

/* Pulsing ring */
.whatsapp-bubble__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.55;
    z-index: 1;
    animation: wa-pulse 2.2s ease-out infinite;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    70%  { transform: scale(1.7); opacity: 0;    }
    100% { transform: scale(1.7); opacity: 0;    }
}

/* Desktop tooltip label */
.whatsapp-bubble__tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.whatsapp-bubble__tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #111827;
}
.whatsapp-bubble:hover .whatsapp-bubble__tooltip,
.whatsapp-bubble:focus-visible .whatsapp-bubble__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobile sizing */
@media (max-width: 575.98px) {
    .whatsapp-bubble {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-bubble__icon {
        width: 26px;
        height: 26px;
    }
}

/* Reduced motion: disable pulse */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-bubble__pulse { animation: none; opacity: 0; }
    .whatsapp-bubble { transition: none; }
}

/* =============================================
   Brand marquee - smooth infinite auto-scroll
   ============================================= */
.brands-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* fade edges so cards entering/exiting feel smoother */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.brands-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;          /* track is as wide as its content */
    animation: brand-marquee 40s linear infinite;
    will-change: transform;
}

@keyframes brand-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); } /* moves exactly one set width because content is duplicated */
}

/* Reduced-motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
    .brands-marquee__track { animation: none; }
}

/* Brand card — uniform size, original colors, NO hover effects */
.partner-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 150px;
    padding: 6px 10px;
    margin: 0 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.partner-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .partner-logo-wrap {
        width: 200px;
        height: 130px;
        padding: 6px 10px;
        margin: 0 7px;
        border-radius: 14px;
    }
}

@media (max-width: 575.98px) {
    .partner-logo-wrap {
        width: 160px;
        height: 105px;
        padding: 5px 8px;
        margin: 0 5px;
        border-radius: 12px;
    }
    .brands-marquee__track {
        animation-duration: 30s;
    }
}

/* =============================================
   Product Details - Gallery
   ============================================= */
.product-gallery-thumbs {
    flex-shrink: 0;
}
.product-thumb-item {
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 75px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}
.product-thumb-item:hover,
.product-thumb-item.active {
    opacity: 1;
    border-color: var(--bs-primary);
}
.product-thumb-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Right-anchor the whole gallery (thumbs + main) within col-md-6 */
.product-gallery-row {
    max-width: 540px;
    margin-left: auto;
    margin-right: 0;
}
#product-main-gallery {
    max-width: 540px;
    margin-left: auto;
    margin-right: 0;
}
.gallery-frame {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.gallery-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 1199.98px) {
    .product-thumb-item {
        width: 60px;
    }
    .product-gallery-thumbs {
        justify-content: center;
    }
    .product-gallery-row,
    #product-main-gallery {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* =============================================
   Product Details - Quantity Selector
   ============================================= */
.qty-selector {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    height: 44px;
}
.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 44px;
    min-width: 42px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    color: #212529;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    line-height: 1;
    font-size: 12px;
}
.qty-btn:hover {
    background: var(--bs-primary);
    color: #fff;
}
.qty-btn:active {
    transform: scale(0.95);
}
.qty-value {
    width: 50px;
    min-width: 50px;
    height: 44px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    background: #fff;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    user-select: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 44px;
    padding: 0;
}
input.qty-value {
    display: block;
    line-height: 44px;
}
.qty-value::-webkit-outer-spin-button,
.qty-value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Variant chips */
.variant-label { cursor: pointer; }
.variant-chip {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.variant-radio:checked + .variant-chip {
    border-color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
    font-weight: 600;
}
.variant-chip:hover {
    border-color: var(--bs-primary);
}

/* Share button */
#shareBtn:hover { color: var(--bs-primary) !important; }

/* =============================================
   Cart & Wishlist - Mobile responsive
   ============================================= */

/* Cart page: card layout on mobile */
@media (max-width: 767.98px) {
    #cartTable thead { display: none; }
    #cartTable,
    #cartTable tbody,
    #cartTable tr,
    #cartTable th,
    #cartTable td {
        display: block;
        width: 100%;
        text-align: left !important;
    }
    #cartTable tr.cart-page-row {
        border: 1px solid #e9ecef;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 14px;
        position: relative;
    }
    #cartTable tr.cart-page-row th {
        padding: 0 !important;
        border: none !important;
    }
    #cartTable tr.cart-page-row td {
        padding: 0 !important;
        border: none !important;
    }
    #cartTable tr.cart-page-row td.align-middle {
        display: inline-block;
        width: auto;
        margin-top: 10px;
    }
    /* Remove button: top-right corner */
    #cartTable tr.cart-page-row td:last-child {
        position: absolute;
        top: 10px;
        right: 10px;
        margin-top: 0;
    }
    /* Qty + total side by side */
    .cart-mobile-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
    }
}

/* =============================================
   Product Details - Mobile action buttons
   ============================================= */
@media (max-width: 767.98px) {
    #productActions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    #productActions .qty-selector {
        align-self: flex-start;
    }
    #productActions .btn,
    #productActions form {
        width: 100%;
    }
    #productActions form .btn {
        width: 100%;
    }
}

/* =============================================
   Products Page - Mobile toolbar
   ============================================= */
@media (max-width: 991.98px) {
    .tool-bar-right {
        display: flex !important;
        gap: 10px;
        width: 100%;
    }
    .tool-bar-right .list-inline {
        flex: 1;
    }
    .tool-bar-right .list-inline .list-inline-item {
        width: 100%;
    }
    .tool-bar-right .form-select {
        width: 100%;
        height: 42px;
        font-size: 14px;
        border-radius: 8px;
    }
    .tool-bar-right .btn {
        white-space: nowrap;
        height: 42px;
        border-radius: 8px !important;
        font-size: 14px !important;
        padding: 0 16px !important;
        margin-left: 0 !important;
    }
}

/* Checkout sticky sidebar offset */
@media (min-width: 992px) {
    .sticky-lg-top {
        top: 100px !important;
    }
}

/* =============================================
   Product Filter Sidebar — refined typography & widgets
   ============================================= */

/* Reset filter button — subtle, no icon, underline on hover */
.filter-reset-row {
    display: flex;
    justify-content: flex-end;
}
.filter-reset-btn {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: color 0.2s ease;
}
.filter-reset-btn:hover,
.filter-reset-btn:focus-visible {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

/* Widget titles — refined, uniform across filter sections */
.primary-sidebar .widget-title,
.offcanvas .widget-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* Filter check & radio rows */
.primary-sidebar .navbar-nav-cate .nav-item label,
.offcanvas .navbar-nav-cate .nav-item label {
    color: #4b5563;
    font-size: 14.5px;
    transition: color 0.15s ease;
}
.primary-sidebar .navbar-nav-cate .nav-item label:hover,
.offcanvas .navbar-nav-cate .nav-item label:hover {
    color: #111827;
}

/* Brand list — collapse animation */
.brand-filter-list .brand-item-extra:not(.d-none) {
    animation: brand-fade-in 0.25s ease;
}
@keyframes brand-fade-in {
    from { opacity: 0; transform: translateY(-2px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* "Voir plus" toggle button (brand & category) */
.brand-toggle-btn,
.category-toggle-btn {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--bs-primary, #2c6e08);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}
.brand-toggle-btn:hover,
.brand-toggle-btn:focus-visible,
.category-toggle-btn:hover,
.category-toggle-btn:focus-visible {
    color: #2e7d32;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

/* Search input refinement */
.primary-sidebar .filter-search,
.offcanvas .filter-search {
    border-color: #e5e7eb;
    font-size: 14px;
}
.primary-sidebar .filter-search:focus,
.offcanvas .filter-search:focus {
    border-color: #d1d5db;
    box-shadow: none;
}

/* =============================================
   Price Range Slider
   ============================================= */
.price-range-wrap {
    padding-top: 8px;
}
.price-range-track {
    position: relative;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
}
.price-range-fill {
    position: absolute;
    height: 100%;
    background: var(--bs-primary);
    border-radius: 3px;
    top: 0;
}
.price-range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    left: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}
.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--bs-primary);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    margin-top: -7px;
    transition: transform 0.15s ease;
}
.price-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.price-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--bs-primary);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* =============================================
   Pagination - Clean circular style
   ============================================= */
.pagination-custom .page-link {
    border: 1px solid #dee2e6;
    color: #212529;
    font-size: 15px;
    padding: 0;
    transition: all 0.2s ease;
}
.pagination-custom .page-link:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* =============================================
   CART SIDEBAR
   ============================================= */
#shoppingCart .offcanvas-body {
    overflow-y: auto;
}
.cart-sidebar-item img {
    border: 1px solid #f0f0f0;
}
.qty-selector-sm {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    height: 32px;
}
.qty-selector-sm .qty-btn {
    width: 30px;
    height: 32px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}
.qty-selector-sm .qty-btn:hover {
    background: #e9ecef;
}
.qty-value-sm {
    width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    line-height: 32px;
}

/* Cart Toast */
.cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10060;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 320px;
}
.cart-toast.show {
    transform: translateX(0);
}
.cart-toast-success {
    background: #2e7d32;
}
.cart-toast-error {
    background: #c62828;
}

/* Cart Add Animation */
@keyframes cartPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.cart-adding {
    animation: cartPulse 0.5s ease;
}
.cart-badge {
    transition: transform 0.2s ease;
}
  
.pagination-custom .page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}
.pagination-custom .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #adb5bd;
}

/* =============================================
   Form check inputs - Styled
   ============================================= */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.25);
}

/* =============================================
   Related Products Slider - Contain arrows
   ============================================= */
.slick-slider .slick-prev,
.slick-slider .slick-next {
    z-index: 2;
}
.slick-slider .slick-prev {
    left: -5px;
}
.slick-slider .slick-next {
    right: -5px;
}

/* =============================================
   CMS Content - Rich text styling
   ============================================= */
.cms-content p {
    margin-bottom: 1rem;
}

.cms-content ul,
.cms-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.cms-content li {
    margin-bottom: 0.5rem;
}

.cms-content strong {
    font-weight: 600;
}

.cms-content a {
    color: var(--bs-primary);
    text-decoration: underline;
}

.cms-content a:hover {
    text-decoration: none;
}

/* =============================================
   FAQ Accordion - Custom styling
   ============================================= */
.accordion-item {
    border-color: #e9ecef !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    color: var(--bs-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(var(--bs-primary-rgb), 0.2);
}

.accordion-button::after {
    flex-shrink: 0;
}

/* =============================================
   Page Hero Banner
   ============================================= */
.page-hero {
    overflow: hidden;
}

/* =============================================
   Utility: d-contents (form wrapper that doesn't break flex)
   ============================================= */
.d-contents {
    display: contents;
}

/* =============================================
   Cart page mobile: card layout
   ============================================= */
@media (max-width: 767.98px) {
    #cartTable {
        border: none !important;
    }
    #cartTable thead {
        display: none;
    }
    #cartTable tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    #cartTable tr.cart-page-row {
        display: block;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 16px;
        position: relative;
        background: #fff;
    }
    #cartTable tr.cart-page-row th,
    #cartTable tr.cart-page-row td {
        display: block;
        border: none !important;
        padding: 0 !important;
    }
    /* Hide desktop-only qty & total columns */
    #cartTable tr.cart-page-row td.d-none {
        display: none !important;
    }
    /* Remove button top-right */
    #cartTable tr.cart-page-row td:last-child {
        position: absolute;
        top: 14px;
        right: 14px;
        width: auto;
    }
    /* Compact image */
    #cartTable .flex-shrink-0 img {
        width: 65px !important;
        height: 85px !important;
    }
    /* Summary card spacing */
    .col-lg-4 .card {
        margin-top: 0;
    }
}

/* =============================================
   HEADER SEARCH — Desktop centered search bar
   ============================================= */
.header-search-wrap {
    --search-width: 420px;
}
#headerSearchToggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--bs-body-color);
}
#headerSearchToggle:hover,
#headerSearchToggle:focus {
    color: var(--bs-primary, #2c6e08);
}
.header-search-form {
    margin: 0;
    width: 100%;
    padding: 0 12px 0 18px;
    background: #f6f7f8;
    border: 1px solid #edf0f2;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header-search-input {
    width: var(--search-width);
    min-width: 0;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: inherit;
    font-family: inherit;
    line-height: 1;
    opacity: 1;
    transition: width .3s ease, opacity .2s ease .05s;
}
.header-search-input::placeholder {
    color: #8a8a8a;
}
.header-search-form:focus-within,
.header-search-wrap.is-open .header-search-form {
    background: #fff;
    border-color: rgba(76, 175, 80, .35);
    box-shadow: 0 8px 24px rgba(30, 70, 32, .08);
}

@media (min-width: 1200px) {
    .header-search-wrap-desktop {
        position: absolute !important;
        left: 50%;
        transform: translateX(-50%);
        z-index: 30;
        justify-content: center;
        width: 500px;
        max-width: 500px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-search-wrap-desktop .header-search-form {
        max-width: 500px;
    }

    .header-search-wrap-desktop .header-search-input {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* Live search dropdown (desktop) */
.header-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    min-width: 500px;
    max-width: 560px;
    width: 100%;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
    padding: 6px 0;
    max-height: 520px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 3000;
}
.header-search-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Shared result styling (used by desktop dropdown and mobile body) */
.search-results-list {
    max-height: 430px;
    overflow-y: auto;
    padding: 6px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background-color .15s ease;
}
.search-result-item:hover,
.search-result-item:focus {
    background: #f6f7f9;
    color: inherit;
    text-decoration: none;
}
.search-result-img {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #f3f4f6;
    object-fit: cover;
    display: block;
}
.search-result-info {
    min-width: 0;
    flex: 1 1 auto;
}
.search-result-brand {
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bs-primary, #2c6e08);
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}
.search-result-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
}
.search-result-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}
.search-result-price {
    color: #1a1a1a;
    font-weight: 700;
}
.search-result-old-price {
    color: #9aa0a6;
    font-weight: 400;
    text-decoration: line-through;
    font-size: 12px;
}
.search-result-variant-from {
    font-size: 11px;
    color: #9aa0a6;
    margin-right: 3px;
    font-weight: 400;
}

/* See-all link */
.search-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #1a1a1a;
    border: 0;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    margin: 6px -6px -6px;
    transition: background-color .2s ease;
}
.search-see-all:hover,
.search-see-all:focus {
    background: var(--bs-primary, #2c6e08);
    color: #fff;
    text-decoration: none;
}
.search-see-all .search-see-all-query {
    font-weight: 500;
    opacity: .85;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty / hint / loading states */
.search-state {
    padding: 32px 20px;
    text-align: center;
    color: #6b7280;
}
.search-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9aa0a6;
    margin-bottom: 12px;
}
.search-state-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}
.search-state-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.search-state-text strong {
    color: #1a1a1a;
    font-weight: 600;
}
.search-loading-spinner {
    width: 28px;
    height: 28px;
    border: 2.5px solid #e5e7eb;
    border-top-color: var(--bs-primary, #2c6e08);
    border-radius: 50%;
    animation: search-spin .7s linear infinite;
    margin: 0 auto 10px;
}
@keyframes search-spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   HEADER SEARCH — Mobile (full-screen modal)
   ============================================= */
.mobile-search-modal {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    visibility: hidden;
    will-change: transform;
}
.mobile-search-modal.is-open {
    transform: translateY(0);
    visibility: visible;
}
body.mobile-search-open {
    overflow: hidden;
}
.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
    flex-shrink: 0;
}
.mobile-search-form {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0 14px;
    min-height: 44px;
    gap: 8px;
}
.mobile-search-icon {
    color: #6b7280;
    display: inline-flex;
    align-items: center;
}
.mobile-search-input {
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    padding: 10px 0;
    color: #1a1a1a;
    font-family: inherit;
    min-width: 0;
}
.mobile-search-input::placeholder {
    color: #8a8a8a;
}
.mobile-search-clear {
    background: transparent;
    border: 0;
    padding: 4px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}
.mobile-search-clear:hover {
    background: #e5e7eb;
}
.mobile-search-close {
    background: transparent;
    border: 0;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 8px;
    cursor: pointer;
    white-space: nowrap;
}
.mobile-search-close:hover {
    color: var(--bs-primary, #2c6e08);
}
.mobile-search-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}
/* Mobile body uses the shared result styles; slight tweaks */
.mobile-search-body .search-results-list {
    max-height: none;
    padding: 10px;
}
.mobile-search-body .search-result-item {
    padding: 12px;
}
.mobile-search-body .search-result-img {
    width: 64px;
    height: 64px;
}
.mobile-search-body .search-see-all {
    border-radius: 10px;
    margin: 10px;
}
.mobile-search-body .search-state {
    padding: 48px 24px;
}

@media (max-width: 600px) {
    .header-search-wrap {
        display: none !important;
    }
}

/* =============================================
   STOCK STATUS — 3 states on the product page
   ============================================= */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.stock-badge .stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0);
}
.stock-badge-in {
    color: #2e7d32;
}
.stock-badge-in .stock-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.stock-badge-on-order {
    color: #b45309;
}
.stock-badge-on-order .stock-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .22);
    animation: stockPulse 1.8s ease-in-out infinite;
}
.stock-badge-out {
    color: #b91c1c;
}
.stock-badge-out .stock-dot {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .18);
}
@keyframes stockPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, .22); }
    50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, .12); }
}

/* =============================================
   PROMO BADGE — adapted coral red (not harsh Bootstrap danger)
   Used by: price discount -X%, product-card promo flash, details badge.
   ============================================= */
.badge-promo {
    background: #ef4444;
    color: #fff;
    border: 0;
}
.badge.badge-promo {
    background: #ef4444;
    color: #fff;
}
a.badge-promo:hover,
a.badge-promo:focus {
    background: #dc2626;
    color: #fff;
}

/* "Sur commande" flash badge on product listings */
.badge.badge-on-order {
    background: #f59e0b;
    color: #fff;
}

/* Promo alert banner — subtle tinted style adapted to page */
.alert.alert-promo {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #1f2937;
}
.alert.alert-promo .fw-semibold {
    color: #dc2626;
}

/* =============================================
   UTILITIES - Multi-line text clamp
   ============================================= */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* =============================================
   CART / CHECKOUT - Responsive page title
   ============================================= */
.page-title-cart {
    font-size: 1.5rem;       /* mobile: 24px */
    font-weight: 700;
    line-height: 1.25;
}
@media (min-width: 768px) {
    .page-title-cart {
        font-size: 2rem;     /* tablet: 32px */
    }
}
@media (min-width: 992px) {
    .page-title-cart {
        font-size: 2.25rem;  /* desktop: 36px */
    }
}

/* =============================================
   CART PAGE - Item layout
   ============================================= */
.cart-item-img {
    width: 70px;
    height: 90px;
}
@media (min-width: 768px) {
    .cart-item-img {
        width: 75px;
        height: 100px;
    }
}
.cart-item-name {
    font-size: 0.95rem;
    line-height: 1.3;
}
@media (min-width: 768px) {
    .cart-item-name {
        font-size: 1rem;
    }
}

/* Line total (price): always one line, prominent */
.cart-line-total {
    display: inline-block;
    font-weight: 700;
    color: #2c6e08;          /* brand green for prominence */
    font-size: 1.25rem;      /* 20px on mobile (own line, prominent) */
    white-space: nowrap;     /* never break "24.900 TND" into 2 lines */
    line-height: 1.2;
    letter-spacing: -0.01em;
}
@media (min-width: 768px) {
    .cart-line-total {
        color: var(--bs-body-color);
        font-size: 1.125rem; /* 18px on desktop (in its own column) */
    }
}

/* =============================================
   CHECKOUT - Order summary item layout
   ============================================= */
.checkout-summary-item {
    min-width: 0;
}
.checkout-summary-item .product-name {
    line-height: 1.35;
}

/* =============================================
   CART SIDEBAR - Prevent overflow on small widths
   ============================================= */
#shoppingCart .offcanvas-body,
#shoppingCart .cart-sidebar-item {
    min-width: 0;
}
#shoppingCart .cart-sidebar-item .flex-grow-1 {
    min-width: 0;
    flex: 1 1 0;
}
#shoppingCart .cart-sidebar-item h6 {
    line-height: 1.35;
    margin-bottom: 0.35rem !important;
}
#shoppingCart .cart-sidebar-item h6 a {
    display: inline;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* =============================================
   CHECKOUT - Confirm order button (one line, responsive)
   ============================================= */
.btn-confirm-order {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 380px) {
    .btn-confirm-order {
        font-size: 13px !important;
    }
}

/* =============================================
   CHECKOUT - Payment method card
   ============================================= */
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, #f0faf1 0%, #ffffff 100%);
    border: 2px solid #2c6e08;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.08);
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}
.payment-method-card:hover {
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.14);
}

.payment-method-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #2c6e08;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.payment-method-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.payment-method-card__check {
    flex-shrink: 0;
    color: #2c6e08;
    font-size: 24px;
    line-height: 1;
}

.badge.badge-cod {
    background: #2c6e08;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.payment-method-card__info {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1;
    transition: color .15s ease;
}
.payment-method-card__info:hover,
.payment-method-card__info:focus {
    color: #2c6e08;
    outline: none;
}

@media (max-width: 480px) {
    .payment-method-card {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }
    .payment-method-card__icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .payment-method-card__check {
        font-size: 20px;
    }
}

/* =============================================
   Customer auth modals (sign-in / sign-up / forgot password)
   ============================================= */
.auth-modal .modal-dialog {
    max-width: 480px;
}
.auth-modal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .15);
}
.auth-modal .modal-header {
    padding: 32px 32px 0;
    border-bottom: 0;
}
.auth-modal .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.3px;
}
.auth-modal .modal-body {
    padding: 24px 32px 40px;
}
.auth-modal .modal-body p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}
.auth-modal .modal-body a.text-primary {
    color: #0f9f5e !important;
    text-decoration: none;
    font-weight: 600;
    transition: color .15s ease;
}
.auth-modal .modal-body a.text-primary:hover {
    color: #0c7e4b !important;
}
.auth-modal .modal-body a.text-secondary {
    color: #64748b !important;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s ease;
}
.auth-modal .modal-body a.text-secondary:hover {
    color: #0f9f5e !important;
}
.auth-modal .form-control {
    height: 52px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    font-size: 15px;
    padding: 0 16px;
    background: #fff;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-modal .form-control:hover {
    border-color: #cbd5e1;
}
.auth-modal .form-control:focus {
    border-color: #0f9f5e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 159, 94, .12);
}
.auth-modal .form-control.is-invalid {
    border-color: #ef4444;
    background-image: none;
}
.auth-modal .form-control::placeholder {
    color: #94a3b8;
}
.auth-modal .invalid-feedback {
    font-size: 13px;
    margin-top: 6px;
    color: #ef4444;
    min-height: 0;
    padding-left: 4px;
}
.auth-modal .invalid-feedback:empty {
    display: none;
}
.auth-modal .btn[data-submit-btn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .3px;
    text-transform: uppercase;
    line-height: 1;
    background: #0f9f5e;
    border-color: #0f9f5e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(15, 159, 94, .2);
    transition: all .15s ease;
}
.auth-modal .btn[data-submit-btn]:hover:not(:disabled),
.auth-modal .btn[data-submit-btn]:focus:not(:disabled) {
    background: #0c7e4b;
    border-color: #0c7e4b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 159, 94, .3);
}
.auth-modal .btn[data-submit-btn][disabled] {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}
.auth-modal .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    margin: 0;
}
.auth-modal .form-check-input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    margin: 3px 0 0;
    float: none;
    cursor: pointer;
    transition: all .15s ease;
}
.auth-modal .form-check-input:hover {
    border-color: #0f9f5e;
}
.auth-modal .form-check-input:checked {
    background-color: #0f9f5e;
    border-color: #0f9f5e;
}
.auth-modal .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(15, 159, 94, .15);
    border-color: #0f9f5e;
}
.auth-modal .form-check-label {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
    flex: 1;
}
.auth-modal .form-check-label a {
    font-weight: 600;
}
.auth-alert {
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.auth-alert--success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.auth-alert--danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 1px solid #fecaca;
}
/* =============================================
   Password field with show/hide toggle (reusable)
   ============================================= */
.password-field {
    position: relative;
}
.password-field .form-control {
    padding-right: 46px;
}
.password-field__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
    padding: 0;
}
.password-field__toggle:hover,
.password-field__toggle:focus {
    color: #0f9f5e;
    background: rgba(15, 159, 94, .08);
    outline: 0;
}
.password-field__toggle i {
    font-size: 15px;
    pointer-events: none;
}

/* Honeypot — visually hidden, remains in tab order out of reach */
.auth-hp {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}
/* Mobile adjustments */
@media (max-width: 575.98px) {
    .auth-modal .modal-dialog {
        margin: 0;
    }
    .auth-modal .modal-content {
        border-radius: 0;
        height: 100vh;
        border-radius: 16px 16px 0 0;
    }
    .auth-modal .modal-header {
        padding: 24px 20px 0;
    }
    .auth-modal .modal-title {
        font-size: 22px;
    }
    .auth-modal .modal-body {
        padding: 20px 20px 32px;
    }
    .auth-modal .form-control,
    .auth-modal .btn[data-submit-btn] {
        height: 48px;
    }
}

/* =============================================
   Customer header dropdown (logged in)
   ============================================= */
.customer-menu {
    min-width: 220px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    padding: 8px;
}
.customer-menu .dropdown-header {
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 600;
    padding: 6px 12px;
}
.customer-menu .dropdown-item {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
}
.customer-menu .dropdown-item:hover,
.customer-menu .dropdown-item:focus {
    background: #f1f5f9;
    color: #0f9f5e;
}
.customer-menu .dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}
.customer-menu .dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}
.customer-menu .customer-menu__name {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    padding: 6px 12px 0;
}
.customer-menu .customer-menu__email {
    color: #64748b;
    font-size: 12px;
    padding: 0 12px 8px;
    word-break: break-all;
}
.customer-icon-trigger {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    line-height: 1;
}
.customer-icon-trigger:focus {
    outline: 0;
}

/* =============================================
   Account dashboard
   ============================================= */
.account-shell {
    background: #f8f9fb;
    padding: 32px 0 64px;
    min-height: calc(100vh - 200px);
}
.account-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
    padding: 24px;
}
.account-sidebar {
    padding: 24px 16px;
}
.account-sidebar__user {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f3;
    margin-bottom: 16px;
}
.account-sidebar__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0f9f5e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.account-sidebar__name {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 2px;
}
.account-sidebar__email {
    color: #64748b;
    font-size: 12px;
    word-break: break-all;
}
.account-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s ease;
}
.account-nav a i {
    width: 18px;
    text-align: center;
    color: #94a3b8;
}
.account-nav a:hover {
    background: #f1f5f9;
    color: #0f9f5e;
}
.account-nav a:hover i {
    color: #0f9f5e;
}
.account-nav a.is-active {
    background: rgba(15, 159, 94, .1);
    color: #0f9f5e;
    font-weight: 600;
}
.account-nav a.is-active i {
    color: #0f9f5e;
}
.account-nav a.text-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}
.account-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.account-page-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 24px;
}
.account-stat {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}
.account-stat__label {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: .4px;
    margin-bottom: 8px;
}
.account-stat__value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

/* Account card form fields — same polished look as the auth modals */
.account-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    letter-spacing: .2px;
}
.account-card .form-control {
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    font-size: 14px;
    padding: 0 14px;
    background: #fff;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.account-card .form-control:hover {
    border-color: #cbd5e1;
}
.account-card .form-control:focus {
    border-color: #0f9f5e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 159, 94, .12);
}
.account-card .form-control.is-invalid {
    border-color: #ef4444;
    background-image: none;
}
.account-card .form-control[disabled],
.account-card .form-control[readonly] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}
.account-card .form-control::placeholder {
    color: #94a3b8;
}
.account-card .invalid-feedback {
    font-size: 12px;
    margin-top: 4px;
    color: #ef4444;
    padding-left: 2px;
}
.account-card .invalid-feedback:empty {
    display: none;
}
/* Base: all account-card buttons use flex centering — keeps text + icons
   perfectly centered regardless of line-height quirks (works for <a> and <button>). */
.account-card .btn-primary,
.account-card .btn-outline-secondary,
.account-card .btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .2px;
    line-height: 1;
    white-space: nowrap;
    transition: all .15s ease;
}
.account-card .btn-primary i,
.account-card .btn-outline-secondary i,
.account-card .btn-danger i {
    font-size: 13px;
    line-height: 1;
}
.account-card .btn-primary {
    background: #0f9f5e;
    border-color: #0f9f5e;
    color: #fff;
}
.account-card .btn-primary:hover,
.account-card .btn-primary:focus {
    background: #0c7e4b;
    border-color: #0c7e4b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 159, 94, .25);
}
.account-card .btn-outline-secondary {
    font-weight: 500;
    color: #64748b;
    border-color: #e2e8f0;
    background: #fff;
}
.account-card .btn-outline-secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.account-card .btn-danger {
    background: #dc2626;
    border-color: #dc2626;
}
.account-card .btn-danger:hover,
.account-card .btn-danger:focus {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, .25);
}
.account-card h3.text-uppercase,
.account-card h2.text-uppercase {
    color: #0f172a !important;
    font-size: 13px !important;
    position: relative;
    padding-left: 12px;
}
.account-card h3[class*="text-uppercase"]::before,
.account-card h2[class*="text-uppercase"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #0f9f5e;
    border-radius: 2px;
}
.order-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.order-status-pill.status-en_cours { background: #fef3c7; color: #92400e; }
.order-status-pill.status-confirmee { background: #dbeafe; color: #1d4ed8; }
.order-status-pill.status-livree { background: #d1fae5; color: #065f46; }
.order-status-pill.status-annulee { background: #fee2e2; color: #991b1b; }

@media (max-width: 991.98px) {
    .account-shell {
        padding: 16px 0 48px;
    }
    .account-sidebar {
        padding: 12px;
        margin-bottom: 16px;
    }
    .account-sidebar__user {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 14px;
        padding-bottom: 14px;
        margin-bottom: 12px;
    }
    .account-sidebar__avatar {
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        font-size: 17px;
    }
    .account-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .account-nav a {
        white-space: nowrap;
        padding: 9px 14px;
    }
    .account-card {
        padding: 18px;
    }
}

/* =============================================
   FOOTER — contact info & social icons
   Bigger, more readable contact lines and brand-colored social icons.
   ============================================= */
.footer-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.55;
    color: #2b2b2b;
    margin-bottom: 10px;
}
.footer-contact-line i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-primary, #2c6e08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.footer-contact-line span {
    padding-top: 6px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.footer-socials .list-inline-item {
    margin: 0 !important;
}

.footer-social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 19px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.footer-social:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    filter: brightness(1.05);
    color: #fff !important;
}

/* Facebook — official blue */
.footer-social-fb {
    background: #1877F2;
}
/* Instagram — official gradient */
.footer-social-ig {
    background: radial-gradient(circle at 30% 110%,
        #fdf497 0%, #fdf497 5%,
        #fd5949 45%, #d6249f 60%,
        #285AEB 90%);
}
/* TikTok — black with brand accent */
.footer-social-tt {
    background: #000;
    position: relative;
}
.footer-social-tt::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #25F4EE 0%, transparent 50%, #FE2C55 100%);
    opacity: 0.35;
    transition: opacity 0.2s ease;
}
.footer-social-tt:hover::before {
    opacity: 0.6;
}
.footer-social-tt i {
    position: relative;
    z-index: 1;
}

/* =============================================
   PRODUCT REVIEWS — public product details page
   Designed to match the maquette (template/product-details.html):
   sticky summary card on the left + border-row reviews on the right.
   No heavy "block" wrapper — reuses existing site primitives.
   ============================================= */

/* Sidebar score colors */
.product-review-info .card-title { color: var(--bs-body-emphasis-color, #111); font-weight: 700; }
.product-review-info .review-star { font-size: 13px; color: #555; min-width: 64px; }
.product-review-info .review-percent { font-size: 13px; color: #555; min-width: 38px; }
.product-review-info .progress { background-color: #efefef; }
.product-review-info .progress-bar { background-color: var(--bs-primary, #2c6e08); }

/* Review row (each review) */
[data-reviews-list] { transition: opacity 0.2s ease; }
[data-reviews-list].is-loading { opacity: 0.45; pointer-events: none; }

.review-row .review-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bs-primary, #2c6e08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    flex-shrink: 0;
}
.review-row .review-comment {
    color: #333;
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Submission form — clean, no card chrome */
.product-review-write-link {
    transition: color 0.15s ease;
}
.product-review-write-link:hover,
.product-review-write-link:focus {
    color: var(--bs-primary, #2c6e08) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.review-form-panel.is-hidden {
    display: none;
}
.review-form-clean .form-control {
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    font-size: 14.5px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.review-form-clean .form-control:focus {
    border-color: var(--bs-primary, #2c6e08);
    box-shadow: 0 0 0 3px rgba(10, 173, 10, 0.10);
    outline: none;
}
.review-form-clean .form-control.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}
.review-form-clean [data-error-for]:empty { display: none; }

/* Honeypot — visually hidden but still in tab order avoidance */
.honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Star input — uses SVG icons from the site sprite */
.review-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}
.review-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.review-rating-input label {
    cursor: pointer;
    color: #d4d4d4;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
    margin: 0;
}
.review-rating-input label .icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.review-rating-input input:checked ~ label,
.review-rating-input label:hover,
.review-rating-input label:hover ~ label {
    color: var(--bs-primary, #2c6e08);
}
.review-rating-input label:hover { transform: scale(1.08); }
.review-rating-input input:focus-visible + label {
    outline: 2px solid var(--bs-primary, #2c6e08);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Form feedback messages */
.review-form-feedback {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}
.review-form-feedback.is-success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.review-form-feedback.is-error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Empty state */
.review-empty-state {
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

/* Mobile */
@media (max-width: 767.98px) {
    .product-review-info { margin-bottom: 24px; }
    .review-row .review-avatar-circle { width: 48px; height: 48px; font-size: 18px; }
    .review-rating-input label .icon { width: 24px; height: 24px; }
}

/* =============================================
   BANNER + PRODUCTS ROW LAYOUT
   ============================================= */

/* Mini product cards inside banner row */
.banner-products-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.banner-products-slider .slick-slide {
    height: auto !important;
    display: flex !important;
}

.banner-products-slider .slick-slide > div {
    display: flex;
    width: 100%;
}

.banner-products-slider .slick-prev,
.banner-products-slider .slick-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    transition: background 0.2s ease;
    z-index: 2;
}

.banner-products-slider .slick-prev:hover,
.banner-products-slider .slick-next:hover {
    background: rgba(0,0,0,0.12);
}

.banner-products-slider .slick-prev:before,
.banner-products-slider .slick-next:before {
    color: #333;
    font-size: 14px;
}

.banner-products-slider .slick-prev {
    left: -10px;
}

.banner-products-slider .slick-next {
    right: -10px;
}

/* Mobile: banner on top, products below */
@media (max-width: 767.98px) {
    .banner-products-slider .slick-prev {
        left: 0;
    }
    .banner-products-slider .slick-next {
        right: 0;
    }
}

/* =============================================
   SLIDER — Position, Color & Size Controls
   ============================================= */

/* Position variants */
.slide-caption.slide-caption--top {
    align-items: flex-start;
    padding-top: 5rem;
}

.slide-caption.slide-caption--bottom {
    align-items: flex-end;
    padding-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .slide-caption.slide-caption--top {
        padding-top: 3.5rem;
    }
    .slide-caption.slide-caption--bottom {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .slide-caption.slide-caption--top {
        padding-top: 2rem;
        text-align: center;
    }
    .slide-caption.slide-caption--bottom {
        padding-bottom: 0.5rem;
        text-align: center;
    }
}

/* Text color variants */
.slide-text--black .slide-badge,
.slide-text--black .slide-title,
.slide-text--black .slide-sub-title {
    color: #111 !important;
}

.slide-text--white .slide-badge,
.slide-text--white .slide-title,
.slide-text--white .slide-sub-title {
    color: #fff !important;
}

/* Reduced slider typography sizes */
.slide-caption .slide-badge {
    font-size: 13px;
    letter-spacing: 1px;
}

.slide-caption .slide-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-caption .slide-sub-title {
    font-size: 16px;
    line-height: 1.5;
    max-width: 480px;
    margin-bottom: 1.5rem;
}

.slide-caption .slide-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 6px;
    border-width: 2px;
    transition: all 0.25s ease;
}

@media (max-width: 991.98px) {
    .slide-caption .slide-title {
        font-size: 32px;
    }
    .slide-caption .slide-sub-title {
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .slide-caption .slide-title {
        font-size: 24px;
        margin-bottom: 0.75rem;
    }
    .slide-caption .slide-sub-title {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    .slide-caption .slide-cta {
        padding: 8px 22px;
        font-size: 13px;
    }
}

/* Slider button color variants */
.slide-btn--black {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

.slide-btn--black:hover,
.slide-btn--black:focus {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

.slide-btn--white {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

.slide-btn--white:hover,
.slide-btn--white:focus {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

/* =============================================
   BANNERS — Position, Color & Button Controls
   ============================================= */

/* Overlay positioning */
.banner-overlay--top {
    justify-content: flex-start !important;
    padding-top: 3rem !important;
}

.banner-overlay--bottom {
    justify-content: flex-end !important;
    padding-bottom: 3rem !important;
}

@media (max-width: 767.98px) {
    .banner-overlay--top {
        padding-top: 1.5rem !important;
    }
    .banner-overlay--bottom {
        padding-bottom: 1.5rem !important;
    }
}

/* Text color variants for banners */
.banner-text--black .card-title,
.banner-text--black .card-text,
.banner-text--black .card-subtitle {
    color: #111 !important;
}

.banner-text--white .card-title,
.banner-text--white .card-text,
.banner-text--white .card-subtitle {
    color: #fff !important;
}

/* Banner button color variants */
.banner-btn--black {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

.banner-btn--black:hover,
.banner-btn--black:focus {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

.banner-btn--white {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

.banner-btn--white:hover,
.banner-btn--white:focus {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

/* Banner title size — standardized smaller on mobile for ALL banners */
@media (max-width: 767.98px) {
    /* Pair banners (1 & 2) — overlay style */
    .image-box-4 + .position-absolute .card-title,
    /* Tall banner (3) */
    .banner-02 ~ .card-img-overlay .card-title,
    /* Bottom banners (4 & 5) — image-top + text-below style */
    .image-box-4 + .card-body .card-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

/* =============================================
   BLOG — Listing & Detail
   ============================================= */

/* Listing card */
.blog-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    overflow: hidden;
}

.blog-card-img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f4f5f6;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-card-img .blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4c9cd;
}

/* Date badge on image */
.blog-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #2c6e08;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    z-index: 2;
}

.blog-date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

/* Read more link */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2c6e08;
    text-decoration: none;
}

.blog-read-more svg {
    transition: transform .25s ease;
}

.blog-read-more:hover {
    color: #388e3c;
}

.blog-read-more:hover svg {
    transform: translateX(4px);
}

/* Blog hero (detail) */
.blog-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .25);
}

@media (max-width: 767.98px) {
    .blog-hero-img { aspect-ratio: 16 / 9; border-radius: 14px; }
}

/* Sidebar mini cards (recent articles) */
.blog-mini-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    transition: background .25s ease;
    text-decoration: none;
}

.blog-mini-card:hover {
    background: #f7f8f9;
}

.blog-mini-card .mini-img {
    width: 76px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f5f6;
}

.blog-mini-card .mini-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.blog-mini-card:hover .mini-title {
    color: #2c6e08;
}

.blog-mini-card .mini-date {
    font-size: 12px;
    color: #9aa0a6;
}

/* Sidebar sticky box */
.blog-sidebar-box {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    padding: 24px;
}

.blog-sidebar-box .sidebar-title {
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid #2c6e08;
    display: inline-block;
}

/* Blog content typography */
.blog-content h2, .blog-content h3 {
    scroll-margin-top: 100px;
}

.blog-content img {
    border-radius: 12px;
}

/* Pagination — theme */
.pagination {
    gap: 6px;
}

.pagination .page-link {
    border: 1px solid #e5e7eb;
    border-radius: 10px !important;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    transition: all .2s ease;
}

.pagination .page-link:hover {
    background: #f0f7ec;
    border-color: #2c6e08;
    color: #2c6e08;
}

.pagination .page-item.active .page-link {
    background: #2c6e08;
    border-color: #2c6e08;
    color: #fff;
    box-shadow: 0 6px 14px -6px rgba(44, 110, 8, .5);
}

.pagination .page-item.disabled .page-link {
    background: #fafafa;
    color: #c4c9cd;
}
