/* ============================================================
   BARKALLAH - MODERN PREMIUM THEME 2024
   Style inspiré des meilleurs templates E-commerce:
   Shopify Prestige, Woodmart, Flatsome, Dawn
   ============================================================ */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* --- VARIABLES GLOBALES --- */
:root {
    /* Couleurs Maîtres (Logo Barkallah) */
    --fo-red:       #E41B12;
    --fo-red-dk:    #c4170f;
    --fo-dark:      #100f1c;
    --fo-light:     #f8f9fa;
    --fo-bg:        #fdfaf7;
    
    /* Variables de Design */
    --transition:   .3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm:    0 2px 10px rgba(0,0,0,0.05);
    --shadow-md:    0 10px 30px rgba(0,0,0,0.1);
    --shadow-red:   0 15px 40px rgba(228, 27, 18, 0.25);

    --brand-red:    var(--fo-red);
    --brand-red-dk: var(--fo-red-dk);
    --brand-red-lt: rgba(228,27,18,0.08);
    --dark:         var(--fo-dark);
    --mid:          #555555;
    --light-text:   #999999;
    --bg-page:      var(--fo-bg);
    --bg-white:     #ffffff;
    --border:       rgba(0,0,0,0.06);
    --shadow-lg:    0 25px 60px rgba(0,0,0,0.12);
    --radius-sm:    0px;
    --radius-md:    0px;
    --radius-lg:    0px;
    --radius-xl:    0px;
    --radius-pill:  0px;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ============================================================
   1. BASE RESET & GLOBALS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--brand-red); }

img { max-width: 100%; height: auto; }

/* ============================================================
   2. TOP PROMO BAR
   ============================================================ */
.top-promo-bar.style1 {
    background: var(--dark) !important;
    color: #fff;
    overflow: hidden;
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-promo-bar.style1 .item {
    padding: 10px 20px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.top-promo-bar.style1 .item,
.top-promo-bar.style1 .item a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}
.top-promo-bar.style1 .item::before {
    content: '✦';
    color: var(--brand-red);
    font-size: 10px;
    flex-shrink: 0;
}

/* ============================================================
   3. MAIN HEADER
   ============================================================ */
.header, .main-menu-outer {
    background: var(--bg-white) !important;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm) !important;
}
.header.is-fixed, .main-menu-outer.is-fixed {
    position: sticky !important;
    top: 0 !important;
    z-index: 999;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm) !important;
}

/* Logo */
.logo img {
    max-height: 100px !important;
    max-width: 300px;
    width: auto;
    display: block;
}

/* Header icons */
.iconset .hdr-icon {
    color: var(--dark) !important;
    font-size: 20px;
    transition: var(--transition);
}
.iconset .hdr-icon:hover { color: var(--brand-red) !important; }

.wishlist-count, .cart-count {
    background: var(--brand-red) !important;
    font-size: 9px !important;
    width: 18px !important;
    height: 18px !important;
    font-weight: 700;
}

/* ============================================================
   4. NAVIGATION MENU
   ============================================================ */
#siteNav, .site-nav { display: flex; align-items: center; gap: 0; }

#siteNav > li > a,
.site-nav > li > a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--dark) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

#siteNav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--brand-red);
    border-radius: 2px;
    transition: width 0.3s ease;
}
#siteNav > li > a:hover::after,
#siteNav > li.active > a::after { width: 60%; }

#siteNav > li > a:hover,
.site-nav > li > a:hover { color: var(--brand-red) !important; background: var(--brand-red-lt); }

/* Mega Menu / Dropdown */
.subMenu, .mega-menu, .dropdown-menu, .megamenu {
    background: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 20px !important;
    min-width: 200px;
    backdrop-filter: blur(16px);
}
.subMenu li a, .mega-menu li a, .dropdown-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--mid) !important;
    padding: 8px 12px !important;
    border-radius: var(--radius-sm);
    display: block;
    transition: var(--transition);
}
.subMenu li a:hover, .mega-menu li a:hover, .dropdown-menu li a:hover {
    color: var(--brand-red) !important;
    background: var(--brand-red-lt);
    padding-left: 18px !important;
}

/* ============================================================
   5. PAGE CONTENT WRAPPER
   ============================================================ */
#page-content { background: var(--bg-page); }

.section {
    padding: 90px 0 !important;
    background: transparent !important;
    border: none !important;
}

/* ============================================================
   6. SECTION HEADERS (Typographie Éditoriale)
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 65px;
}
.section-header p {
    font-family: var(--font-body);
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--brand-red) !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    background: var(--brand-red-lt) !important;
    display: inline-block;
    padding: 8px 22px !important;
    border-radius: var(--radius-pill) !important;
    margin-bottom: 18px !important;
    border: none !important;
    box-shadow: none !important;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 48px !important;
    font-weight: 800 !important;
    color: var(--dark) !important;
    letter-spacing: -1px !important;
    line-height: 1.15 !important;
    text-shadow: none !important;
    text-transform: none !important;
    margin: 0 !important;
}
.section-header.style2 { text-align: left; }
.section-header.style2 h2 { font-size: 38px !important; }

/* Slider original style is handled by template's style.css */
.section.collection-banners.four-bnr {
    padding: 30px 0 !important;
}


/* ============================================================
   8. PRODUCT CARDS (Ultra-premium "Bento Box" Style)
   ============================================================ */
.product-box {
    background: var(--bg-white) !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    padding: 16px 16px 24px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.product-box:hover {
    transform: translateY(-14px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Image Container */
.product-image {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    background: #f9f9f9;
    position: relative;
}
.product-image img {
    border-radius: var(--radius-md) !important;
    display: block;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.product-box:hover .product-image img {
    transform: scale(1.08) !important;
}

/* Badge "New" ou "Promo" */
.product-box .product-labels { top: 26px !important; left: 26px !important; }
.product-box .product-labels .label {
    border-radius: var(--radius-pill) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 5px 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-box .product-labels .label.on-sale { background: var(--brand-red) !important; }

/* Bouton Vue Rapide (s'élève depuis le bas au survol) */
.button-set-top {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    z-index: 10;
    transition: var(--transition);
    white-space: nowrap;
}
.product-box:hover .button-set-top {
    bottom: 22px;
    opacity: 1;
}
.button-set-top .btn-icon {
    background: var(--bg-white) !important;
    color: var(--dark) !important;
    width: 46px !important; height: 46px !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
    display: inline-flex !important;
    align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.button-set-top .btn-icon:hover {
    background: var(--brand-red) !important;
    color: #fff !important;
    transform: scale(1.12) !important;
}

/* Texte Produit */
.product-details { padding: 22px 8px 0 !important; text-align: center; }
.product-name { margin-bottom: 8px !important; }
.product-name a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
    letter-spacing: -0.2px;
    line-height: 1.3;
    transition: var(--transition);
}
.product-name a:hover { color: var(--brand-red) !important; }

.product-price { margin-top: 10px !important; }
.product-price .price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--brand-red) !important;
}
.product-price .old-price {
    font-size: 14px !important;
    color: var(--light-text) !important;
    text-decoration: line-through !important;
}

/* ============================================================
   9. COLLECTION BANNERS
   ============================================================ */
.collection-banner-item .img,
.collection-item .img {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md) !important;
    border: none !important;
    transition: var(--transition);
    position: relative;
}
.collection-banner-item:hover .img,
.collection-item:hover .img {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}
.collection-banner-item .img img,
.collection-item .img img {
    border-radius: 0 !important;
    transition: transform 0.7s ease !important;
}
.collection-banner-item:hover .img img,
.collection-item:hover .img img {
    transform: scale(1.06) !important;
}
/* Overlay texte sur les bannières */
.collection-item .details {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%) !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}
.collection-item .details .title {
    font-family: var(--font-display) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #fff !important;
}
.collection-item .details .btn-primary {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #fff !important;
    border-radius: var(--radius-pill) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px !important;
    transition: var(--transition);
}
.collection-item .details .btn-primary:hover {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    box-shadow: var(--shadow-red) !important;
}

/* ============================================================
   10. TABS / CATEGORY TABS
   ============================================================ */
.nav-tabs.style1 {
    border: none !important;
    justify-content: center;
    gap: 10px !important;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.nav-tabs.style1 .nav-item .nav-link {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--mid) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 28px !important;
    border-radius: var(--radius-pill) !important;
    border: 2px solid transparent !important;
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition);
    margin: 0 !important;
}
.nav-tabs.style1 .nav-item .nav-link:hover {
    color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-red) !important;
}
.nav-tabs.style1 .nav-item .nav-link.active {
    background: var(--brand-red) !important;
    color: #fff !important;
    border-color: var(--brand-red) !important;
    box-shadow: var(--shadow-red) !important;
    transform: translateY(-3px);
}

/* ============================================================
   11. BOUTONS GÉNÉRAUX
   ============================================================ */
.btn-primary {
    background: var(--dark) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 15px 35px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
}
.btn-primary:hover {
    background: var(--brand-red) !important;
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-red) !important;
}
.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--dark) !important;
    color: var(--dark) !important;
    border-radius: var(--radius-sm) !important;
    padding: 14px 35px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition) !important;
}
.btn-secondary:hover {
    background: var(--dark) !important;
    color: #fff !important;
}

/* Add to Cart Button */
.btn-addtocart, .btn.add-to-cart {
    background: var(--brand-red) !important;
    color: #fff !important;
    border-radius: var(--radius-pill) !important;
    padding: 14px 30px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-red) !important;
    transition: var(--transition) !important;
    border: none !important;
}
.btn-addtocart:hover, .btn.add-to-cart:hover {
    background: var(--brand-red-dk) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 40px rgba(228,27,18,0.35) !important;
}

/* ============================================================
   12. MINI CART DRAWER
   ============================================================ */
#cart-drawer {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    border: none !important;
}
#cart-drawer .cart-header {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    padding: 25px 20px 15px;
    border-bottom: 1px solid var(--border);
}
#cart-drawer .minicart-product img {
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   13. SECTION ABOUT / SERVICES
   ============================================================ */
.service-info .service-wrap {
    background: var(--bg-white) !important;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    padding: 40px 30px !important;
    box-shadow: var(--shadow-sm) !important;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    margin-bottom: 25px;
}
.service-info .service-wrap:hover {
    transform: translateY(-12px) !important;
    box-shadow: var(--shadow-lg) !important;
}
.service-info .service-wrap .icon {
    font-size: 38px !important;
    color: var(--brand-red) !important;
    margin-bottom: 20px;
    display: block;
}
.service-info .service-wrap h2 {
    font-family: var(--font-display);
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--dark) !important;
    margin-bottom: 12px;
}
.service-info .service-wrap p {
    font-size: 15px !important;
    color: var(--mid) !important;
    line-height: 1.7;
}

/* Images About */
.about-images img {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    transition: var(--transition);
    border: none !important;
}
.about-images:hover img {
    transform: scale(1.03) !important;
    box-shadow: 0 35px 70px rgba(0,0,0,0.15) !important;
}

/* ============================================================
   14. SLICK SLIDER GENERAL (Carousels de produits)
   ============================================================ */
.slick-dots { display: flex !important; justify-content: center; gap: 8px; list-style: none; padding: 0; }
.slick-dots li { margin: 0; width: auto !important; height: auto !important; }
.slick-dots li button {
    width: 10px !important; height: 10px !important;
    background: #ccc !important;
    border-radius: 50% !important;
    border: none; padding: 0;
    text-indent: -9999px;
    transition: all 0.4s ease;
}
.slick-dots li button::before { display: none !important; }
.slick-dots li.slick-active button {
    background: var(--brand-red) !important;
    width: 28px !important;
    border-radius: var(--radius-pill) !important;
}
.slick-prev, .slick-next {
    width: 48px !important; height: 48px !important;
    background: var(--bg-white) !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
    z-index: 10;
    transition: var(--transition) !important;
}
.slick-prev:hover, .slick-next:hover {
    background: var(--brand-red) !important;
    transform: scale(1.1) !important;
}
.slick-prev::before, .slick-next::before {
    color: var(--dark) !important;
    opacity: 1 !important;
    font-size: 18px !important;
}
.slick-prev:hover::before, .slick-next:hover::before { color: #fff !important; }

/* ============================================================
   15. FOOTER
   ============================================================ */
footer, .footer-section {
    background: var(--dark) !important;
    color: rgba(255,255,255,0.7);
    margin-top: 60px;
}
footer h3, footer h4, .footer-section h3 {
    font-family: var(--font-display);
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 20px;
}
footer a { color: rgba(255,255,255,0.6) !important; font-size: 14px !important; transition: var(--transition); }
footer a:hover { color: var(--brand-red) !important; padding-left: 5px; }
.footer-logo img { max-height: 60px; filter: brightness(10); }

/* Newsletter */
.newsletter-section { background: var(--brand-red) !important; border-radius: var(--radius-lg); margin: 0 40px; }
.newsletter-section input[type="email"] {
    border-radius: var(--radius-pill) !important;
    border: none !important;
    padding: 16px 25px !important;
    font-size: 15px !important;
    width: 100%;
}
.newsletter-section .btn-subscribe {
    background: var(--dark) !important;
    color: #fff !important;
    border-radius: var(--radius-pill) !important;
    padding: 14px 35px !important;
    font-weight: 800 !important;
    border: none !important;
    transition: var(--transition);
}
.newsletter-section .btn-subscribe:hover {
    background: var(--dark) !important;
    opacity: 0.85;
}

/* ============================================================
   16. ANIMATIONS D'ENTRÉE GLOBALES (Scroll appear)
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(35px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.section { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both; }
.section:nth-child(1) { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.15s; }
.section:nth-child(4) { animation-delay: 0.2s; }
.section:nth-child(5) { animation-delay: 0.25s; }

.product-box { animation: scaleIn 0.5s ease both; }

/* ============================================================
   17. SEARCH BAR
   ============================================================ */
.search-bar input, .search-form input {
    border-radius: var(--radius-pill) !important;
    border: 2px solid var(--border) !important;
    padding: 12px 22px !important;
    font-size: 14px !important;
    transition: var(--transition);
    background: var(--bg-white);
}
.search-bar input:focus, .search-form input:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 4px var(--brand-red-lt) !important;
    outline: none;
}

/* ============================================================
   18. BREADCRUMB
   ============================================================ */
.breadcrumb-section { background: var(--bg-white) !important; padding: 20px 0 !important; border-bottom: 1px solid var(--border); }
.breadcrumb { margin: 0; padding: 0; background: transparent; }
.breadcrumb-item a { color: var(--mid) !important; font-size: 13px; font-weight: 500; }
.breadcrumb-item a:hover { color: var(--brand-red) !important; }
.breadcrumb-item.active { color: var(--brand-red) !important; font-size: 13px; font-weight: 700; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--light-text); }

/* ============================================================
   20. PAGE HEADER & LOGO ADJUSTMENT
   ============================================================ */
@media (min-width: 992px) {
    .page-header {
        padding: 25px 0 !important; /* Hauteur très réduite */
        background: #f1ede9 !important; /* Beige Lin Opaque */
        border-bottom: 1px solid #e2ddd9 !important;
        margin-bottom: 30px !important;
    }
}

.page-header h1, 
.page-header h1.display-5, 
.page-header .page-title h1 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #333333 !important; /* Anthracite opaque */
    margin: 0 !important;
}

.page-header .breadcrumb-modern, 
.page-header .breadcrumbs,
.page-header .breadcrumb-modern a,
.page-header .breadcrumbs a {
    color: #666666 !important; /* Gris opaque */
    font-size: 12px !important;
    text-decoration: none !important;
}

.page-header .breadcrumb-modern .current,
.page-header .breadcrumbs .current,
.page-header .breadcrumb-modern .sep,
.page-header .breadcrumbs .sep {
    color: #333333 !important;
}

@media (max-width: 768px) {
    .page-header { padding: 15px 0 !important; }
}

/* Fix pour le Slideshow plein écran */
.section.collection-banners.four-bnr { 
    padding: 0 !important; 
}








/* ============================================================
   19. SCROLLBAR CUSTOM
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--brand-red); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-red-dk); }

/* ============================================================
   20. SELECTION COULEUR
   ============================================================ */
::selection { background: var(--brand-red); color: #fff; }

/* ============================================================
   21. RESPONSIVE MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    .slick-slider.home-slideshow {
        max-width: 100%;
        margin: 0 0 50px !important;
        border-radius: 0 !important;
    }
    .home-slideshow .collection-item .img { height: clamp(250px, 50vh, 420px); }
    .home-slideshow .details.middle-center { bottom: 8% !important; left: 4% !important; }
    .home-slideshow .btn.btn-light { font-size: 11px !important; padding: 14px 28px !important; }
    .home-slideshow .slick-dots { display: none !important; }
    .section-header h2 { font-size: 32px !important; }
    .product-box { border-radius: var(--radius-md) !important; padding: 12px 12px 18px !important; }
    .section { padding: 60px 0 !important; }
}

/* ============================================================
   10. HOME PAGE BLOCKS (Ref: 23042026 Structure)
   ============================================================ */

/* Utilities */
.bg-brand-red { background-color: #E41B12 !important; color: #fff !important; }
.text-brand-red { color: #E41B12 !important; }
.btn-brand-red { background-color: #E41B12 !important; border-color: #E41B12 !important; color: #fff !important; }
.btn-brand-red:hover { background-color: #c4170f !important; border-color: #c4170f !important; color: #fff !important; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Features Bar */
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(228, 27, 18, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: #E41B12; font-size: 1.2rem; flex-shrink: 0;
}

/* Category Grid */
.cat-card-modern {
    display: block; position: relative; border-radius: 0;
    overflow: hidden; aspect-ratio: 4/5; text-decoration: none;
}
.cat-card-modern .img-wrapper { height: 100%; transition: transform 0.6s ease; }
.cat-card-modern .img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-modern:hover .img-wrapper { transform: scale(1.08); }
.cat-card-modern .overlay-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.cat-card-modern .cat-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem; z-index: 2;
}

/* Tab Pills */
.tab-pills-modern { display: flex; gap: 10px; flex-wrap: wrap; }
.tab-pill-btn {
    padding: 8px 22px; border-radius: 50px; border: 1px solid #ddd;
    background: #fff; font-size: 14px; font-weight: 600;
    color: #666; cursor: pointer; transition: all 0.3s ease;
}
.tab-pill-btn:hover { border-color: #E41B12; color: #E41B12; }
.tab-pill-btn.active { background: #E41B12; border-color: #E41B12; color: #fff; }

/* Product Grid Modern */
.product-card-modern {
    background: #fff; border-radius: 0; overflow: hidden;
    transition: all 0.3s ease; border: 1px solid #eee;
}
.product-card-modern:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
.product-card-modern .prod-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #f8f8f8; }
.product-card-modern .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card-modern:hover .prod-img img { transform: scale(1.05); }
.product-card-modern .prod-actions {
    position: absolute; inset: 0; background: rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.product-card-modern:hover .prod-actions { opacity: 1; }

/* Promo Banners */
.promo-card-modern {
    display: block; position: relative; border-radius: 0;
    overflow: hidden; min-height: 350px; text-decoration: none;
}
.promo-card-modern img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.promo-card-modern:hover img { transform: scale(1.05); }
.promo-card-modern .promo-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, transparent 70%); }
.promo-card-modern .promo-content { position: relative; z-index: 2; padding: 3rem 2rem; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

/* About Us */
.about-img-group .main-img { border: 8px solid #fff; }
.stat-icon { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

@media (max-width: 767px) {
    .promo-card-modern { min-height: 280px; }
    .promo-card-modern .promo-content { padding: 1.5rem; }
}
/* About Us Refined */
.check-icon-wrap {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(228, 27, 18, 0.1); color: #E41B12;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0; margin-top: 2px;
}
.about-stats-grid .stat-card {
    background: #fdfdfd; transition: all 0.3s ease;
    border-color: #eee !important;
}
.about-stats-grid .stat-card:hover {
    border-color: #E41B12 !important;
    background: #fff; transform: translateY(-3px);
}
.logo-accent-modern {
    transform: translate(20px, 20px);
}

@media (max-width: 575px) {
    .about-stats-grid .h2 { font-size: 1.5rem; }
}

/* Main Page Background */
#page-content { background-color: #f9f6f1 !important; }

/* Section Backgrounds */
.bg-dark-modern { background-color: var(--fo-dark) !important; }
.bg-beige-light { background-color: #f1ede9 !important; } /* Beige Opaque Harmonisé */
.bg-beige-modern { background-color: #f9f6f1 !important; }
.bg-pearl-modern { background-color: #f4f4f4 !important; }
.bg-warm-modern { background-color: #f0ebe3 !important; }
.bg-brand-red { background-color: var(--fo-red) !important; }




/* Category Bento Grid (Optimized for 6 items: 1 Large + 5 Small) */
.fo-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 20px;
}
.fo-cat-item { position: relative; overflow: hidden; }
.fo-cat-large {
    grid-column: span 2;
    grid-row: span 2;
}


@media (max-width: 991px) {
    .fo-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
    }
}
@media (max-width: 575px) {
    .fo-cat-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .cat-card-modern { aspect-ratio: 16/9 !important; }
}

/* Category Card Refined */
.cat-card-modern {
    display: block; position: relative; border-radius: 0;
    overflow: hidden; width: 100%; height: 100%; text-decoration: none;
    background: #000;
}
.cat-card-modern .img-wrapper { height: 100%; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.cat-card-modern .img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.4s ease; }
.cat-card-modern:hover .img-wrapper { transform: scale(1.05); }
.cat-card-modern:hover .img-wrapper img { opacity: 1; }

.cat-card-modern .overlay-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.cat-card-modern .cat-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem; z-index: 2;
}
.cat-card-modern .cat-title {
    color: #fff; font-size: 1.5rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem;
}
.fo-cat-large .cat-title { font-size: 2.2rem; }
.cat-card-modern .cat-subtitle {
    color: rgba(255,255,255,0.7); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 2px; font-weight: 500;
}

.cat-card-modern .cat-card-arrow-modern {
    position: absolute; top: 2rem; right: 2rem;
    width: 45px; height: 45px; border-radius: 0; /* Square arrow box */
    background: #E41B12; color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateX(10px); transition: all 0.4s ease;
    z-index: 3;
}
.cat-card-modern:hover .cat-card-arrow-modern {
    opacity: 1; transform: translateX(0);
}

/* === INTERACTIONS PREMIUM (Survols) === */

/* Boutons avec effet d'élévation */
.btn-primary, .fo-top-btn, .btn-brand-red {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.btn-primary:hover, .fo-top-btn:hover, .btn-brand-red:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 25px rgba(228, 27, 18, 0.3) !important;
}

/* Cartes Produits : Zoom + Shadow Focus */
.prod-card-modern {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    cursor: pointer;
}
.prod-card-modern:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.12) !important;
    transform: translateY(-10px);
    z-index: 10;
}
.prod-card-modern .prod-card-img img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.prod-card-modern:hover .prod-card-img img {
    transform: scale(1.12);
}

/* Overlay Aperçu Rapide */
.prod-card-overlay {
    background: rgba(16, 15, 28, 0.4) !important;
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}
.prod-card-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.prod-card-modern:hover .prod-card-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

/* Navigation Menu : Underline Animation */
.fo-nav-links a {
    position: relative;
    padding-bottom: 5px;
}
.fo-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}
.fo-nav-links a:hover::after {
    width: 100%;
}

/* Catégories Bento : Reveal Effect */
.cat-card-modern .overlay-gradient {
    opacity: 0.8;
    transition: opacity 0.5s ease;
}
.cat-card-modern:hover .overlay-gradient {
    opacity: 0.4;
}
.cat-card-modern .cat-title {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cat-card-modern:hover .cat-title {
    transform: translateX(10px);
}

/* Tabs "Signature" Refined */
.tab-pills-modern { 
    justify-content: center; 
    gap: 3rem; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}
.tab-pill-btn { 
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999 !important;
    position: relative;
    transition: all 0.3s ease;
}
.tab-pill-btn::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--fo-red);
    transition: all 0.3s ease;
}
.tab-pill-btn:hover { color: var(--fo-dark) !important; }
.tab-pill-btn.active { color: var(--fo-dark) !important; }
.tab-pill-btn.active::after { width: 100%; }

/* Badges "Nouveau" */
.badge-new-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--fo-red);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

/* Products Galerie Refined */
.prod-card-modern {
    background: #fff;
    border: none !important;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
}
.prod-card-modern:hover {
    transform: translateY(-8px);
}
.prod-card-modern .prod-card-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background: #fdfdfd;
}
.prod-card-modern .prod-card-body {
    padding: 1.2rem 0 !important;
}
.prod-card-title {
    font-size: 1rem !important;
    color: var(--fo-dark) !important;
    margin-bottom: 5px !important;
}
.prod-card-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}









/* ============================================================
   OVERRIDE TEMPLATE COLORS (#314662 -> Brand Colors)
   ============================================================ */
.index-demo9 h5, .index-demo9 .h5, 
.index-demo9 h6, .index-demo9 .h6, 
.index-demo9 .head-font,
.index-demo9 #siteNav > li .megamenu li.lvl-1 a.lvl-1, 
.index-demo9 .footer .footer-top .h4 { 
    color: var(--fo-dark) !important; 
}

.service-section .service-info .box:hover { 
    border-color: var(--fo-red) !important; 
}

/* Boutons "Voir tout" (Outline -> Brand Red) */
.btn-outline-dark {
    border: 2px solid var(--fo-dark) !important;
    border-radius: 0 !important;
    color: var(--fo-dark) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 12px 25px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: hidden;
    position: relative;
    background: transparent !important;
}

/* ════════════════════════════════════════
   CATEGORY SLIDER (Shop Page)
════════════════════════════════════════ */
.cat-item-modern {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 15px; /* Réduit de 25px à 15px */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    margin: 10px 4px; /* Marges réduites */
    text-decoration: none !important;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.cat-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--fo-red);
}

.cat-item-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px; /* Réduit de 15px */
    aspect-ratio: 1/1;
}

.cat-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-item-modern:hover .cat-item-img-wrap img {
    transform: scale(1.1);
}

.cat-item-modern .cat-name {
    font-size: 1.1rem; /* Texte plus grand */
    font-weight: 800;
    color: var(--fo-dark);
    margin-bottom: 8px;
    text-transform: capitalize;
}

.cat-item-modern .cat-count {
    font-size: 0.8rem; /* Compteur plus lisible */
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ════════════════════════════════════════
   SLICK SLIDER ENHANCEMENTS (Luxury Styling)
════════════════════════════════════════ */
.slick-list {
    margin: 0 -15px; /* Compense le padding des items pour garder l'alignement */
    padding: 0; /* Suppression du padding vertical */
}

.slick-slide {
    padding: 0 15px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Flèches Minimalistes */
.slick-arrow {
    width: 45px !important;
    height: 45px !important;
    background: #fff !important;
    color: var(--fo-dark) !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    opacity: 0;
}

.slick-arrow:before {
    font-size: 18px !important;
    color: var(--fo-dark) !important;
    font-weight: bold;
}

.slick-prev { left: -20px !important; }
.slick-next { right: -20px !important; }

.hov-arrow:hover .slick-arrow {
    opacity: 1;
}

.slick-prev:hover, .slick-next:hover {
    background: var(--fo-red) !important;
    color: #fff !important;
    transform: scale(1.1);
}
.slick-prev:hover:before, .slick-next:hover:before {
    color: #fff !important;
}

/* Pagination Dots (Modern Bars) */
.slick-dots {
    bottom: -35px !important;
}

.slick-dots li {
    width: 20px !important;
    height: 4px !important;
    margin: 0 4px !important;
    transition: all 0.4s ease;
}

.slick-dots li button {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: #ddd !important;
    border-radius: 2px !important;
    transition: all 0.4s ease;
}

.slick-dots li button:before {
    display: none !important;
}

.slick-dots li.slick-active {
    width: 40px !important;
}

.slick-dots li.slick-active button {
    background: var(--fo-red) !important;
}

/* === PRODUITS VEDETTES : LUXURY REDESIGN === */

.bg-pearl-modern {
    background: linear-gradient(to bottom, #fcfcfc, #f4f4f4);
    position: relative;
}

/* Tabs: Minimalist & Architectural */
.tab-pills-modern { 
    display: flex;
    justify-content: center; 
    gap: 40px; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0;
    margin-bottom: 50px !important;
}
.tab-pill-btn {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: #aaa !important;
    position: relative;
    box-shadow: none !important;
    transition: all 0.3s ease;
}
.tab-pill-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--fo-red);
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tab-pill-btn:hover {
    color: var(--fo-dark) !important;
    transform: none;
}
.tab-pill-btn.active {
    color: var(--fo-dark) !important;
}
.tab-pill-btn.active::after {
    width: 100%;
}


/* Product Card: The "Floating" Look */
.prod-card-modern {
    background: #fff;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); /* Ombre de base plus visible */
}
.prod-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12); /* Ombre de survol immersive */
}

.prod-img-wrap, .prod-card-img {
    position: relative;
    aspect-ratio: 4/5; /* Ratio portrait luxe */
    overflow: hidden;
    background: #f9f9f9;
}
.prod-img-main, .prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.prod-card-modern:hover .prod-img-wrap img, 
.prod-card-modern:hover .prod-card-img img {
    transform: scale(1.15); /* Zoom majestueux */
}

/* Overlay & Action Buttons */
.prod-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 15, 28, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.prod-card-modern:hover .prod-card-overlay {
    opacity: 1;
}

/* Mobile Optimization */
@media (max-width: 991px) {
    .prod-card-overlay {
        opacity: 1;
        background: transparent;
        backdrop-filter: none;
        align-items: flex-end;
        justify-content: flex-end;
        padding: 10px;
        pointer-events: none;
    }
    .prod-card-overlay .btn {
        pointer-events: auto;
        width: 35px;
        height: 35px;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        font-size: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}

/* Product Card Text Styles */
.prod-card-modern .prod-info-modern {
    padding: 20px 15px !important;
    text-align: center;
}
.prod-cat-modern {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
}
.prod-title-modern {
    font-size: 1rem;
    color: var(--fo-dark);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: -0.2px;
    text-decoration: none;
}
.prod-price-modern {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--fo-red);
}
.prod-price-modern small {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
}
.prod-card-price small {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
}

/* Badge Modern */
.badge-new-modern {
    background: linear-gradient(135deg, var(--fo-red), #ff4d4d);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(228, 27, 18, 0.3);
}

/* Staggered Animation for Tab Content */
.hm-tab-pane-content .col {
    opacity: 1; /* Force visible */
}
/* ════════════════════════════════════════
   FEATURES BAR (Dark Modern Style)
════════════════════════════════════════ */
.bg-dark-modern {
    background: #111111 !important; /* Noir profond */
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.features-bar .feature-icon {
    font-size: 24px;
    color: var(--fo-red);
    width: 50px;
    height: 50px;
    background: rgba(228, 27, 18, 0.08); /* Rouge très léger en fond */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.features-bar .col:hover .feature-icon {
    background: var(--fo-red);
    color: #fff;
    transform: scale(1.1);
}

.features-bar .col {
    transition: background 0.3s ease;
}

.features-bar .col:hover {
    background: rgba(255,255,255,0.02);
}

.text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

/* ════════════════════════════════════════
   COLLECTION BANNERS (Luxe Style 2304)
════════════════════════════════════════ */
.four-bnr .collection-item {
    position: relative;
    overflow: hidden;
}

.four-bnr .zoom-scal {
    display: block;
    position: relative;
    overflow: hidden;
}

.four-bnr .zoom-scal .img {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.four-bnr .zoom-scal:hover .img {
    transform: scale(1.1);
}

.four-bnr .slick-slide {
    padding: 0 !important;
}

.four-bnr .details {
    pointer-events: none;
}

.four-bnr .details .inner .btn {
    background: #ffffff !important;
    color: #111 !important;
    border: none !important;
    border-radius: 50px !important; /* Style Pillule Luxe */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.four-bnr .zoom-scal:hover .details .inner .btn {
    background: var(--fo-red) !important;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(228, 27, 18, 0.3);
}

/* ════════════════════════════════════════
   FEATURES BANNERS (Barkallah Style)
════════════════════════════════════════ */
/* ════════════════════════════════════════
   FEATURES BAR (Barkallah Style 2304 - Exact)
════════════════════════════════════════ */
.features-bar {
    background: #100f1c !important; /* Noir Barkallah exact */
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: rgba(255,255,255,0.02);
}

.features-bar .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(201,169,110,0.12); /* Or très léger */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e; /* Or Barkallah */
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
    text-transform: none;
}

.feature-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feature-item { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        padding: 1rem;
    }
}

/* Fix global overflow on banners */
.collection-banners {
    overflow: hidden;
}

.btn-outline-dark i {
    transition: transform 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--fo-red) !important;
    border-color: var(--fo-red) !important;
    color: #fff !important;
}

.btn-outline-dark:hover i {
    transform: translateX(5px);
}

/* ════════════════════════════════════════
   RESPONSIVE OPTIMIZATIONS (FIX FRONT OFFICE)
════════════════════════════════════════ */

@media (max-width: 991px) {
    /* Header & Navbar */
    .fo-top-info { display: none !important; }
    .fo-top-search { max-width: 100%; width: 100%; margin: 15px 0 5px; order: 3; }
    .fo-header-top .container-fluid { flex-wrap: wrap; padding: 10px 1.5rem !important; justify-content: space-between !important; }
    .fo-top-actions { order: 2; gap: 0.8rem !important; }
    .fo-logo-mobile { order: 1; }
    
    .fo-navbar-main { display: none !important; } /* On cache la barre rouge sur mobile */
    .mobile-trigger { display: block !important; color: var(--fo-dark) !important; font-size: 1.8rem; line-height: 1; }
    
    .cat-item-modern { height: 180px; }
    
    /* Product Grid */
    .product-list-section { padding-top: 2rem !important; }
    .sidebar { margin-bottom: 2rem; }
}

@media (max-width: 767px) {
    /* Global Layout */
    .section { padding: 3rem 0 !important; }
    
    /* Header */
    .fo-promo-bar { font-size: 0.65rem; text-align: center; }
    
    /* Categories Slider */
    .categories-slider-section .section-header h2 { font-size: 1.5rem !important; }
    
    /* Product Cards */
    .prod-card-modern .prod-info-modern { padding: 1rem; }
    .prod-title-modern { font-size: 0.85rem; }
    .prod-price-modern { font-size: 0.9rem; }
    
    /* Footer */
    .fo-newsletter-band { padding: 2.5rem 0; text-align: center; }
    .fo-nl-form { flex-direction: column; max-width: 100%; }
    .fo-footer-body { padding: 3rem 0; text-align: center; }
    .fo-social { justify-content: center; margin-top: 1.5rem; }
    .fo-footer-col-title::after { left: 50%; transform: translateX(-50%); }
    .fo-contact-item { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
    .fo-footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
}

@media (max-width: 480px) {
    .row-cols-2 > * { width: 100%; }
    .g-3, .gy-3 { --bs-gutter-y: 1rem; --bs-gutter-x: 1rem; }
    
    .fo-logo-card img { height: 35px !important; }
    
    .cat-item-modern { height: 150px; }
    .cat-item-modern .cat-name { font-size: 0.8rem; }
}

/* Ensure Slick sliders don't overflow */
.slick-slider { touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { margin: 0 -5px; }
.slick-slide { padding: 0 5px; }
