/*
 Theme Name:   L'Esprit Vert (Storefront Child)
 Description:  Custom architecture migrated from DB snippets
 Author:       CTO / Antigravity
 Template:     storefront
 Version:      1.0.0
*/

:root {
    --lev-green: #003b15;
    --lev-yellow: #ffcc00;
    --lev-black: #111111;
}



/* =========================================================
   PHASE 3: STRICT HEADER & NAVIGATION CSS
   ========================================================= */

/* --- Top Bar Alignment --- */
.lev-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.lev-topbar-inner span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lev-topbar-inner svg {
    width: 14px;
    height: 14px;
}

/* --- Search Bar Styling --- */
.woocommerce-product-search {
    display: flex;
    width: 100%;
    margin: 0;
}
.woocommerce-product-search .search-field {
    height: 46px;
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    box-sizing: border-box;
    font-size: 13px;
}
.woocommerce-product-search button {
    width: 50px;
    min-width: 50px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: var(--lev-green, #006b25);
    color: #fff;
    font-size: 0; /* Hide text */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.woocommerce-product-search button svg {
    width: 20px;
    height: 20px;
    font-size: initial;
}

/* --- Account & Cart Vertical Divider --- */
.lev-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.lev-account {
    border-right: 1px solid #e5e5e5;
    padding-right: 15px;
}
.lev-cart, .lev-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #111;
}
.lev-cart svg, .lev-account svg {
    font-size: 24px;
    margin-bottom: 2px;
}

/* --- Navigation Menu (Yellow Tab & Hover) --- */
.lev-menu a {
    transition: background 0.2s ease, color 0.2s ease;
}
.lev-menu a:hover {
    background: var(--lev-yellow, #ffcc00) !important;
    color: #111 !important;
}
.lev-menu .lev-new {
    background: var(--lev-yellow, #ffcc00) !important;
    color: #111 !important;
}

/* --- Mobile Menu UX (Hide Scrollbar) --- */
@media (max-width: 600px) {
    .lev-menu-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .lev-menu-inner::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .lev-topbar-inner {
        justify-content: center;
        gap: 10px;
    }
}



/* =========================================================
   PHASE 3.5: LOGO & SAV BANNER FIXES
   ========================================================= */

/* --- Logo Responsive --- */
.lev-logo img.custom-logo {
    max-width: 350px;
    height: auto;
}

/* --- SAV Banner Styling --- */
.lev-sav-title {
    color: var(--lev-green, #006b25) !important;
    font-weight: 900 !important;
    text-align: center;
    line-height: 1.1;
}
.lev-sav-title small {
    display: block;
    color: #111;
    font-weight: 700;
    font-size: 14px;
    margin-top: 5px;
    letter-spacing: 0.5px;
}



/* =========================================================
   PHASE 3.5: MOBILE HAMBURGER MENU
   ========================================================= */
@media (max-width: 768px) {
    .lev-mobile-toggle {
        display: block !important;
    }
    .lev-menu {
        display: none;
    }
    .lev-menu-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }
    .lev-menu a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        justify-content: flex-start;
    }
}


/* FIX FOR JPEG WHITE BACKGROUNDS */
.ev-hero-machine img {
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.1);
}



/* =========================================================
   PHASE 6: B2B ENGINE — HIDE ADD TO CART, STYLE QUOTE BTN
   ========================================================= */

/* 6.3 — Hide Storefront sticky add-to-cart bar */
.storefront-sticky-add-to-cart {
    display: none !important;
}

/* 6.4 — Hide Stripe Express 'Acheter maintenant' button */
.wc-stripe-express-payment-button-wrapper,
#wc-stripe-express-checkout-element,
.wc-block-components-express-payment,
.wp-block-woocommerce-cart-express-payment-block,
#wc-stripe-custom-checkout-element {
    display: none !important;
}

/* 6.3b — Hide Add to Cart button everywhere (backup CSS) */
.single_add_to_cart_button,
.add_to_cart_button,
.ajax_add_to_cart,
button[name='add-to-cart'],
.woocommerce a.button.add_to_cart_button {
    display: none !important;
}

/* 6.8 — YITH Quote Button — GREEN & Professional */
.add-request-quote-button,
.add-request-quote-button.button,
a.add-request-quote-button,
.yith-ywraq-add-button a,
.woocommerce .add-request-quote-button.button {
    background: #006b25 !important;
    background-color: #006b25 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 28px !important;
    border-radius: 0 !important;
    border: none !important;
    font-size: 14px !important;
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
}

.add-request-quote-button:hover,
.add-request-quote-button.button:hover,
.woocommerce .add-request-quote-button.button:hover {
    background: #004d1a !important;
    background-color: #004d1a !important;
    color: #ffffff !important;
}

/* Price suffix HT styling */
.woocommerce-Price-amount + .woocommerce-price-suffix {
    font-size: 0.8em;
    font-weight: 700;
    color: #555;
    margin-left: 3px;
}


/* ==========================================================
   PHASE 7 LAYER 2: PIXEL-PERFECT CARD CSS
   ========================================================== */

ul.products li.product {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 0;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

ul.products li.product:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.lev-card-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lev-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
}

.lev-badge-bestseller { background: #f4c000; color: #000; }
.lev-badge-puissance { background: #f4c000; color: #000; }
.lev-badge-nouveaute { background: #006b25; color: #fff; }

.lev-card-image-wrap {
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.lev-card-image {
    max-height: 180px;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.lev-card-title {
    font-family: 'Oswald', sans-serif;
    color: #006b25 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 0 5px 0 !important;
    text-transform: uppercase;
}

.lev-card-subtitle {
    font-size: 13px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Specs Grid */
.lev-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.lev-spec {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.2;
    color: #555;
}

.lev-spec svg {
    font-size: 22px;
    color: #006b25;
    margin-right: 10px;
}

.lev-spec strong {
    color: #000;
    font-size: 14px;
}

/* Nettoyeur UI */
.lev-nettoyeur-ui {
    margin-bottom: 20px;
}
.lev-var-text {
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}
.lev-sml-boxes {
    display: flex;
    gap: 10px;
}
.lev-sml-boxes span {
    border: 2px solid #000;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: #000;
    transition: 0.2s;
    cursor: pointer;
}
.lev-sml-boxes span:hover {
    background: #006b25;
    color: #fff;
    border-color: #006b25;
}

/* Pricing */
.lev-card-price-wrap {
    margin-top: auto;
    margin-bottom: 15px;
}
.lev-price-large {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #000;
}
.lev-price-small {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

/* Button */
.lev-card-button {
    display: block;
    text-align: center;
    background: #006b25;
    color: #fff !important;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 0;
    text-decoration: none !important;
    border: 2px solid #006b25;
    transition: 0.3s;
}

.lev-card-button:hover {
    background: #fff;
    color: #006b25 !important;
}

/* Category Chevrons & Nouveautes Box */
.storefront-product-categories li {
    position: relative;
}
.storefront-product-categories li::after {
    content: '>';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    color: #fff;
}
.lev-yellow-sidebar-box {
    background: #f4c000;
    color: #000;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    margin-top: 20px;
}
.lev-yellow-sidebar-box span {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    display: block;
}
.lev-yellow-sidebar-box small {
    font-size: 12px;
    font-weight: 500;
}

/* Mobile Stack */
@media (max-width: 768px) {
    ul.products {
        grid-template-columns: 1fr !important;
    }
}


.ev-category {
    display: flex !important;
    align-items: center;
    position: relative;
    padding-right: 20px;
}
.ev-category svg {
    margin-right: 15px;
    color: #fff;
}
.ev-category::after {
    content: '>';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
}


/* ==========================================================
   RESTORED HOMEPAGE CSS (HERO, BENEFITS, LAYOUT)
   ========================================================== */

.ev-home {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 20px;
}

/* --- HERO SECTION --- */
.ev-hero {
    display: grid;
    grid-template-columns: 45% 55%;
    background: linear-gradient(110deg, #020805, #0b3517, #24552b);
    min-height: 420px;
    color: white;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}
.ev-hero-text {
    padding: 40px;
}
.ev-hero-label {
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 10px;
}
.ev-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.ev-hero-title span {
    color: #f4c000;
    font-size: 48px;
}
.ev-hero ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.ev-hero li {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.ev-hero li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #52c900;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: 900;
    font-size: 12px;
}
.ev-hero-button {
    display: inline-block;
    background: #f4c000;
    color: #000;
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-radius: 3px;
}
.ev-hero-button:hover {
    background: #fff;
    color: #006b25;
}
.ev-hero-machines {
    position: relative;
}

/* --- BENEFITS BAR --- */
.ev-benefits {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
.ev-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 23%;
}
.ev-benefit-icon {
    font-size: 32px;
    color: #006b25;
    margin-bottom: 10px;
}
.ev-benefit-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000;
}
.ev-benefit-text {
    font-size: 13px;
    color: #666;
}

/* --- FEATURED GRID LAYOUT --- */
.ev-featured {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}
.ev-categories {
    background: #006b25;
    border-radius: 5px;
    padding: 20px;
    height: fit-content;
}
.ev-categories-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}
.ev-category {
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    font-weight: 500;
}
.ev-category:hover {
    color: #f4c000 !important;
}

/* Fix WooCommerce Columns inside our layout */
.ev-featured ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
}
.ev-featured ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 900px) {
    .ev-hero { grid-template-columns: 1fr; }
    .ev-benefits { flex-wrap: wrap; }
    .ev-benefit { width: 48%; margin-bottom: 20px; }
    .ev-featured { grid-template-columns: 1fr; }
    .ev-featured ul.products { grid-template-columns: 1fr !important; }
}


/* ==========================================================
   ULTIMATE PIXEL-PERFECT FIXES 2
   ========================================================== */
.lev-topbar { background-color: #050505 !important; }
h1, h2, h3, .lev-hero-title, .lev-card-title, .ev-categories-title, .lev-grid-title, .lev-card-button, .lev-price-large { font-family: 'Oswald', sans-serif !important; }
.ev-hero-machines { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ev-hero-machines img { max-height: 110%; object-fit: contain; position: absolute; bottom: -20px; filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.5)); }
.hero-machine-1 { right: 40%; width: 55%; z-index: 2; }
.hero-machine-2 { right: 5%; width: 50%; z-index: 1; }
.hero-machine-label { position: absolute; color: #006b25; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 24px; background: #fff; padding: 2px 10px; border-radius: 4px; }
.label-1 { bottom: 10px; right: 55%; z-index: 3; }
.label-2 { bottom: 30px; right: 15%; z-index: 3; }

.ev-featured ul.products, .site-main ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; margin: 0 !important; }
.ev-featured ul.products::before, .ev-featured ul.products::after { display: none !important; }
.ev-featured ul.products li.product, .site-main ul.products li.product { width: 100% !important; margin: 0 !important; float: none !important; clear: none !important; }

li.product.post-43 { background: #111 !important; border: none !important; }
li.product.post-43 .lev-card-title, li.product.post-43 .lev-price-large { color: #f4c000 !important; }
li.product.post-43 .lev-card-subtitle, li.product.post-43 .lev-price-small, li.product.post-43 .lev-var-text { color: #fff !important; }
li.product.post-43 .lev-sml-boxes span { border-color: #fff; color: #fff; }
li.product.post-43 .lev-sml-boxes span:hover { background: #f4c000; color: #000; border-color: #f4c000; }
.main-navigation ul li.menu-item-nouveautes a { background: transparent !important; color: #f4c000 !important; font-weight: 700; }


/* ==========================================================
   THE TRUE PIXEL PERFECT CSS OVERRIDES
   ========================================================== */
/* Fix Nav Bar */
.main-navigation { background-color: #006b25 !important; }
.main-navigation ul li a { color: #fff !important; font-weight: 700 !important; font-size: 13px !important; text-transform: uppercase; padding: 20px 15px !important; }
.main-navigation ul li.menu-item-nouveautes a, .main-navigation ul li:last-child a { background: transparent !important; color: #f4c000 !important; }

/* Fix Sidebar Overlap */
.ev-category { 
    display: flex !important; 
    align-items: center !important; 
    gap: 15px !important; 
    padding: 15px 10px !important; 
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.ev-category svg { flex-shrink: 0 !important; margin: 0 !important; width: 18px !important; height: 18px !important; }

/* True Card Design */
.lev-card-inner { padding: 25px !important; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.lev-card-img-container { display: flex; justify-content: center; align-items: center; height: 200px; margin-bottom: 20px; }
.lev-card-img-container img { max-height: 100%; max-width: 100%; mix-blend-mode: multiply; object-fit: contain; }

.lev-true-title { font-family: 'Oswald', sans-serif !important; font-size: 32px !important; font-weight: 700 !important; color: #006b25 !important; text-align: center; margin: 0 0 10px 0 !important; line-height: 1.1 !important; text-transform: uppercase !important; }
.lev-true-subtitle { font-size: 13px !important; color: #333 !important; text-align: center; margin: 0 0 25px 0 !important; font-weight: 500 !important; }

.lev-true-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 10px; margin-bottom: 30px; }
.lev-true-specs div { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #666; line-height: 1.2; }
.lev-true-specs svg { color: #006b25; width: 22px; height: 22px; flex-shrink: 0; }
.lev-true-specs strong { color: #000; font-size: 14px; font-weight: 800; display: block; margin-top: 2px; }

.lev-true-price { text-align: center; margin-top: auto; margin-bottom: 20px; }
.lev-true-price strong { font-family: 'Oswald', sans-serif !important; font-size: 36px !important; font-weight: 700 !important; color: #000 !important; display: block; line-height: 1; }
.lev-true-price span { font-size: 13px !important; color: #888 !important; font-weight: 500 !important; }

.lev-true-btn { display: block; width: 100%; background: #006b25 !important; color: #fff !important; font-family: 'Oswald', sans-serif !important; font-size: 18px !important; font-weight: 700 !important; text-align: center; padding: 15px 0 !important; border-radius: 3px !important; text-decoration: none !important; }

/* Nettoyeur Custom Overrides */
li.product.post-43 .lev-card-inner { background: #111 !important; }
li.product.post-43 .lev-true-title { color: #006b25 !important; }
li.product.post-43 .lev-true-subtitle { color: #ccc !important; }
li.product.post-43 .lev-true-var { text-align: center; margin-bottom: 30px; }
li.product.post-43 .lev-true-var strong { color: #fff !important; font-size: 14px; display: block; margin-bottom: 15px; }
li.product.post-43 .lev-sml { display: flex; justify-content: center; gap: 10px; }
li.product.post-43 .lev-sml span { border: 2px solid #fff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px; }
li.product.post-43 .lev-true-price strong { color: #f4c000 !important; }
li.product.post-43 .lev-card-img-container img { mix-blend-mode: normal !important; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }

/* Hero Section Machines Fix */
.ev-hero-machines { display: flex !important; justify-content: flex-end !important; align-items: flex-end !important; padding-right: 20px; }
.hero-machine-1 { position: relative !important; right: -50px !important; bottom: 0 !important; width: 60% !important; z-index: 2 !important; }
.hero-machine-2 { position: relative !important; right: 0 !important; bottom: 0 !important; width: 55% !important; z-index: 1 !important; }
.label-1 { right: 40% !important; bottom: 20px !important; }
.label-2 { right: 5% !important; bottom: 40px !important; }


/* ==========================================================
   EMERGENCY FIXES FOR ALIGNMENT & DESIGN
   ========================================================== */
/* 1. Hero Full Width Breakout */
.ev-hero {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-radius: 0 !important;
}

/* 2. Kill the White Box behind Hero Machines */
.ev-hero-machines {
    background: transparent !important;
}

/* 3. Fix Sidebar Icons Overlap */
.ev-category svg {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    margin-right: 15px !important;
    flex-shrink: 0 !important;
}

/* 4. Fix Nouveautes (Remove yellow blocks) */
.main-navigation ul li.menu-item-nouveautes, 
.main-navigation ul li.menu-item-nouveautes a {
    background: transparent !important;
    background-color: transparent !important;
    color: #f4c000 !important;
}
.lev-yellow-sidebar-box {
    background: transparent !important;
    color: #f4c000 !important;
    text-align: left !important;
    padding: 15px 10px !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.lev-yellow-sidebar-box span { font-size: 16px !important; }
.lev-yellow-sidebar-box small { color: #aaa !important; }

/* 5. Fix Price HT Size */
.lev-true-price strong { font-size: 28px !important; }
.lev-true-price strong .woocommerce-Price-currencySymbol { font-size: 28px !important; font-weight: 400 !important; }

/* 6. Fix Nettoyeur spacing */
li.product.post-43 .lev-true-title { font-size: 26px !important; }

/* 7. Hide the weird leaf SVG completely to avoid the whatsapp look */
.lev-grid-title svg { display: none !important; }

/* --- MIGRATED INLINE STYLES --- */
/* --- FROM header.php --- */
/* Reset Storefront Defaults */
.site-header { padding: 0 !important; background: transparent !important; margin-bottom: 0 !important; border: none !important; }
.site-branding, .site-search, .site-header-cart { display: none !important; }

/* 1. TOP BAR */
.lev-topbar-real { background-color: #050505; color: #fff; font-size: 11px; font-family: "Oswald", sans-serif; display: flex; justify-content: space-between; padding: 6px 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.lev-topbar-real div { display: flex; gap: 25px; }
.lev-topbar-real span { display: flex; align-items: center; gap: 6px; }
.lev-topbar-real span svg { width: 14px; height: 14px; }

/* 2. MAIN HEADER */
.lev-main-header { background: #fff; padding: 10px 20px 20px 20px; border-bottom: 1px solid #eee; }
.lev-main-header-inner { max-width: 1600px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }

/* Left: Logo */
.lev-h-left { width: 220px; display: flex; flex-direction: column; align-items: center; }
.lev-h-left .custom-logo-link img, .lev-h-left img { width: 100%; max-width: 180px; height: auto; }
.lev-h-left-text { font-size: 10px; font-weight: 700; color: #000; margin-top: -5px; font-family: "Oswald", sans-serif; text-align: center; white-space: nowrap; letter-spacing: 0.2px; text-transform: uppercase; }

/* Center: SAV Section */
.lev-h-center { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 30px; }
.lev-sav-top { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 2px; }
.lev-sav-top svg { width: 65px; height: 65px; color: #008a3b; }
.lev-sav-title { text-align: left; }
.lev-sav-title h2 { margin: 0; font-family: "Oswald", sans-serif; font-size: 24px; font-weight: 700; color: #111; line-height: 1; text-transform: uppercase; }
.lev-sav-title h2 span { font-size: 58px; display: block; color: #008a3b; margin-top: -2px; }
.lev-sav-subtitle { font-size: 15px; font-weight: 700; color: #555; margin: 0 0 8px 0; text-transform: uppercase; font-family: "Oswald", sans-serif; letter-spacing: 0.5px; }
.lev-sav-yellow { background: #f4c000; color: #000; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 14px; padding: 4px 30px; text-transform: uppercase; margin-bottom: 15px; display: inline-block; transform: skewX(-15deg); }
.lev-sav-yellow span { display: inline-block; transform: skewX(15deg); }

/* Center: 3 Mini Features */
.lev-sav-features { display: flex; justify-content: center; gap: 30px; }
.lev-sav-feat { display: flex; align-items: center; gap: 8px; text-align: left; }
.lev-sav-feat svg { width: 28px; height: 28px; color: #008a3b; flex-shrink: 0; }
.lev-sav-feat div { font-family: "Oswald", sans-serif; font-size: 12px; font-weight: 700; color: #000; line-height: 1.2; text-transform: uppercase; }
.lev-sav-feat div span { display: block; font-weight: 400; font-size: 10px; color: #777; font-family: "Roboto Condensed", sans-serif; }

/* Right: Phone, Search, Cart */
.lev-h-right { width: 340px; display: flex; flex-direction: column; align-items: stretch; gap: 15px; }
.lev-phone-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.lev-phone-wrap svg { width: 32px; height: 32px; color: #222; }
.lev-phone-text { text-align: right; }
.lev-phone-text strong { font-family: "Oswald", sans-serif; font-size: 30px; font-weight: 700; color: #111; line-height: 1; display: block; }
.lev-phone-text span { font-size: 11px; color: #555; font-family: sans-serif; }

.lev-search-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; }
.lev-search-form { display: flex; border: 1px solid #ccc; border-radius: 3px; overflow: hidden; flex: 1; }
.lev-search-form input { border: none; padding: 10px 12px; font-size: 12px; width: 100%; outline: none; background: #fff; }
.lev-search-form button { background: #004d1a; color: #fff; border: none; padding: 0 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lev-search-form button svg { width: 16px; height: 16px; }
.lev-icon-link { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #000; text-decoration: none; position: relative; font-family: sans-serif; font-weight: 500; }
.lev-icon-link svg { width: 24px; height: 24px; margin-bottom: 2px; color: #333; }
.lev-cart-badge { position: absolute; top: -5px; right: -5px; background: #f4c000; color: #000; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; font-family: sans-serif; }

.lev-truck-box { display: flex; align-items: center; gap: 12px; background: #f8f8f8; padding: 8px 12px; border-left: 4px solid #111; width: 100%; box-sizing: border-box; }
.lev-truck-box svg { width: 36px; height: 36px; color: #111; flex-shrink: 0; }
.lev-truck-box div { font-family: "Oswald", sans-serif; font-size: 14px; font-weight: 700; color: #111; line-height: 1.1; text-transform: uppercase; }
.lev-truck-box div span { display: block; font-weight: 400; font-size: 10px; color: #666; font-family: sans-serif; margin-top: 2px; text-transform: none; }

/* 3. NAVIGATION */
.lev-navbar { background: #004d1a; border-top: 1px solid #003a13; }
.lev-navbar-inner { max-width: 1600px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: flex-start; padding: 0 20px; }
.lev-nav-home { display: flex; align-items: center; justify-content: center; padding: 12px 20px; color: #fff !important; background: rgba(0,0,0,0.1); }
.lev-nav-home svg { width: 18px; height: 18px; }
.lev-nav-menu { display: flex; list-style: none; margin: 0; padding: 0; } .lev-nav-menu li { display: flex; } .lev-navbar a { color: #fff; text-decoration: none; font-family: "Oswald", sans-serif; font-size: 13px; font-weight: 500; padding: 12px 18px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; }
.lev-navbar a:hover { background: rgba(0,0,0,0.2); }
.lev-navbar a svg { width: 12px; height: 12px; opacity: 0.7; }
.lev-navbar a.nav-nouveautes { color: #f4c000; font-weight: 700; }

/* Hide default storefront header completely */
.storefront-primary-navigation, .site-header { display: none !important; }

/* ======================================= */
/* 🔥 MOBILE HEADER OVERHAUL */
/* ======================================= */
* { box-sizing: border-box; }
body { overflow-x: hidden; }
input, select, textarea { font-size: 16px !important; }

.lev-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lev-drawer-overlay.is-visible { opacity: 1; pointer-events: auto; }

#lev-mobile-drawer { position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background: #fff; z-index: 9999; transform: translateX(-100%); transition: transform 0.3s ease; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
#lev-mobile-drawer.is-open { transform: translateX(0); box-shadow: 2px 0 15px rgba(0,0,0,0.1); }

.lev-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eee; }
.lev-drawer-close { background: none; border: none; padding: 5px; cursor: pointer; color: #111; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.lev-drawer-close svg { width: 24px; height: 24px; }

.lev-drawer-nav { flex: 1; display: flex; flex-direction: column; }
/* Override horizontal flex for nav-menu inside mobile drawer */
.lev-drawer-nav .lev-nav-menu { display: flex !important; flex-direction: column !important; list-style: none; margin: 0; padding: 0; width: 100%; }
.lev-drawer-nav .lev-nav-menu li { display: block !important; width: 100%; border-bottom: 1px solid #f5f5f5; }
.lev-drawer-nav a,
.lev-drawer-nav .lev-nav-menu li a { padding: 0 20px; min-height: 50px; border-bottom: 1px solid #f5f5f5; color: #111; text-decoration: none; font-family: "Oswald", sans-serif; font-size: 15px; text-transform: uppercase; display: flex !important; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; font-weight: 500; letter-spacing: 0.5px; }
.lev-drawer-nav .lev-nav-menu li a:after { content: "›"; color: #ccc; font-size: 20px; font-weight: 300; }
.lev-drawer-nav a span { color: #ccc; font-size: 18px; }
.lev-drawer-nav .lev-nav-menu li a.nav-nouveautes,
.lev-drawer-nav a.nav-nouveautes { color: #f4c000 !important; font-weight: 700; }

.lev-drawer-footer { padding: 20px; background: #f8f8f8; display: flex; align-items: center; gap: 10px; font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 700; color: #008a3b; }
.lev-drawer-footer svg { width: 24px; height: 24px; }

.lev-hamburger { display: none; background: none; border: none; padding: 5px; cursor: pointer; color: #111; margin-right: 15px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.lev-hamburger svg { width: 28px; height: 28px; }

.lev-mobile-search-toggle { display: none !important; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.lev-mobile-search-bar { display: none; background: #fff; padding: 10px 20px; border-bottom: 1px solid #eee; position: absolute; top: 100%; left: 0; width: 100%; z-index: 998; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

body.drawer-open { overflow-y: hidden !important; }

@media (min-width: 1025px) {
    .lev-hamburger, .lev-drawer-overlay, #lev-mobile-drawer, .lev-mobile-search-bar, .lev-mobile-search-toggle { display: none !important; }
}


@media (max-width: 1024px) {
    .lev-main-header { position: sticky; top: 0; z-index: 1000; height: 75px; padding: 0 15px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
    .admin-bar .lev-main-header { top: 32px; }
    
    .lev-topbar-real { display: none; }
    .lev-main-header-inner { height: 100%; display: flex; flex-direction: row !important; justify-content: space-between; align-items: center; gap: 0 !important; }
    
    .lev-h-left { height: 100%; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; width: auto !important; margin: 0 !important; }
    
    .lev-hamburger { display: flex; align-items: center; justify-content: center; height: 100%; background: none; border: none; padding: 0 15px 0 0; margin: 0; min-width: 44px; color: #111; }
    .lev-hamburger svg { width: 28px; height: 28px; }
    
    .lev-h-left .custom-logo-link, .lev-h-left img { height: 60px !important; width: auto !important; max-width: 180px; object-fit: contain; mix-blend-mode: multiply; }
    .lev-h-left-text { display: none; }
    
    .lev-h-center, .lev-truck-box, .lev-phone-wrap, .lev-search-form { display: none !important; }
    
    .lev-h-right { height: 100%; width: auto !important; max-width: none !important; margin: 0 !important; }
    .lev-search-cart-row { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 15px !important; }
    
    .lev-mobile-search-toggle, .lev-icon-link { display: flex !important; align-items: center; justify-content: center; height: 100%; min-width: 30px; font-size: 0; color: #111; text-decoration: none; position: relative; }
    .lev-icon-link svg { width: 24px; height: 24px; margin: 0; }
    .lev-cart-badge { top: 12px; right: -5px; width: 16px; height: 16px; font-size: 10px; }
    
    .lev-navbar { display: none; }
}

/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #004d1a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #0b3a1a; }

/* Custom Selection */
::selection { background: #004d1a; color: #f4c000; }
::-moz-selection { background: #004d1a; color: #f4c000; }

/* --- FROM front-page.php --- */
.lev-hero-bg-mobile { display: none !important; }
.lev-hero-bg-desktop { display: block !important; }


/* ========================================= */
/* DESKTOP HERO RESET */
/* ========================================= */
.lev-hero-perfect { position: relative; width: 100%; min-height: 280px; height: auto; padding: 15px 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; margin-bottom: 0; box-sizing: border-box; }
.lev-hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.8; z-index: 1; }
.lev-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1600px; padding: 0 30px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; height: auto; }
.lev-hero-content-wrap { display: flex; width: 100%; height: 100%; gap: 40px; }
.lev-hp-left { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 65%; }
.lev-hp-right { flex: 0 0 320px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }

.lev-hero-eyebrow {  display: inline-block; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-family: "Oswald", sans-serif; font-size: 16px; font-weight: 800; text-transform: uppercase; padding: 8px 18px; border-radius: 4px; letter-spacing: 1px; margin-bottom: 8px; align-self: flex-start; }
.lev-hero-main-title {   font-family: "Oswald", sans-serif; font-size: 56px; font-weight: 800; color: #fff; line-height: 1.1; text-transform: uppercase; margin: 0 0 5px 0; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.lev-hero-sub {  font-family: "Oswald", sans-serif; font-size: 26px; font-weight: 700; color: #ffc600; text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: 0.5px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

.lev-hp-left ul {  list-style: none; padding: 0; margin: 0 0 15px 0; display: flex; flex-direction: column; gap: 6px; }
.lev-hp-left ul li { display: flex; align-items: center; color: #fff; font-size: 18px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.lev-hp-left ul li svg { width: 22px; height: 22px; color: #ffc600; margin-right: 12px; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }

.lev-hp-btn {   display: inline-flex; align-items: center; background: #ffc600; color: #000; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 800; text-transform: uppercase; text-decoration: none; padding: 12px 25px; border-radius: 4px; transition: all 0.2s; align-self: flex-start; box-shadow: 0 4px 15px rgba(255, 198, 0, 0.4); }
.lev-hp-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.4); }


/* New Trust Bar for Desktop */
.lev-hero-trust {   display: flex; justify-content: flex-start; gap: 40px; width: 100%; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 10px; }
.ht-item { display: flex; align-items: center; gap: 10px; color: #fff; }
.ht-item svg { width: 28px; height: 28px; color: #f4c000; }
.ht-item span { font-size: 15px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase; line-height: 1.2; opacity: 0.9; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

/* Hide Nettoyeur Box completely as requested */
.lev-hp-nettoyeur { display: none !important; }

/* MAIN BACKGROUND */
body { background: #f8f9fa !important; }

/* 1. MACRO LAYOUT CSS */
.lev-macro-layout {   box-sizing: border-box; max-width: 1600px; width: 100%; margin: 15px auto; padding: 0 20px; display: flex; gap: 15px; align-items: stretch; }
.lev-macro-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lev-macro-right { flex: 0 0 320px; }

/* 2. BENEFITS BAR */
.lev-benefits-real { background: #fff; border: 1px solid #ddd; border-radius: 4px; display: flex; width: 100%; box-shadow: 0 1px 5px rgba(0,0,0,0.02); }
.lev-benefits-inner { display: flex; width: 100%; padding: 12px 0; }
.lev-ben-item { display: flex; align-items: center; justify-content: flex-start; gap: 15px; padding: 0 25px; border-right: 1px solid #eee; flex: 1; }
.lev-ben-item:last-child { border-right: none; }
.lev-ben-item svg { width: 38px; height: 38px; color: #0b3a1a; flex-shrink: 0; }
.lev-ben-text h4 { margin: 0 0 3px 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 800; color: #000; text-transform: uppercase; line-height: 1.15; }
.lev-ben-text p { margin: 0; font-size: 11px; color: #777; }

/* 3. MAIN LAYOUT (Internal) */
.lev-main-layout { box-sizing: border-box; width: 100%; display: flex; gap: 20px; align-items: stretch; }

/* Left Sidebar */
.lev-ml-left { flex: 0 0 260px; margin-right: 0; }
.lev-cat-box { background: #0b3a1a; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.lev-cat-box h3 {  background: transparent; color: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 800; margin: 0; padding: 12px 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.lev-cat-list { list-style: none; margin: 0; padding: 0; }
.lev-cat-list li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.lev-cat-list a {  display: flex; align-items: center; padding: 10px 15px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; transition: background 0.2s; }
.lev-cat-list a:hover { background: rgba(255,255,255,0.06); }
.lev-cat-list a svg:first-child { width: 16px; height: 16px; min-width: 16px; margin-right: 10px; flex-shrink: 0; opacity: 0.8; }
.lev-cat-list a .arr { margin-left: auto; width: 12px; height: 12px; min-width: 12px; opacity: 0.5; flex-shrink: 0; }
.lev-cat-nouv {  margin-top: auto; background: #ffc600; padding: 12px 15px; display: flex; align-items: center; justify-content: center; gap: 14px; cursor: pointer; }
.lev-cat-nouv svg { width: 38px; height: 38px; color: #000; flex-shrink: 0; }
.lev-cat-nouv .lcn-text { display: flex; flex-direction: column; text-align: left; }
.lev-cat-nouv strong { display: block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 17px; font-weight: 800; color: #000; line-height: 1; margin-bottom: 4px; text-transform: uppercase; }
.lev-cat-nouv span { font-size: 11px; color: #000; font-weight: 700; text-transform: uppercase; line-height: 1.2; }

/* Center Products */
.lev-ml-center { flex: 1; min-width: 0; margin-right: 0; display: flex; flex-direction: column; }
.lev-ml-center h2 {  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 22px; font-weight: 800; color: #1b4f2c; margin: 0 0 12px 0; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.lev-ml-center h2 svg { width: 26px; height: 26px; color: #1b4f2c; }
.lev-grid-3 {  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1; align-items: stretch; }

/* Product Cards */
.lev-prod-card {  background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; padding: 15px 15px 15px 15px; position: relative; display: flex; flex-direction: column; box-shadow: 0 1px 5px rgba(0,0,0,0.04); height: 100% !important; box-sizing: border-box; }
.lev-pc-badge { position: absolute; top: -1px; left: -1px; background: #ffc600; font-size: 10px; font-weight: 800; color: #000; padding: 5px 12px; text-transform: uppercase; z-index: 2; border-bottom-right-radius: 4px; box-shadow: 1px 1px 3px rgba(0,0,0,0.1); }
.lev-pc-badge.nouveaute { background: #004d1a; color: #fff; }
.lev-pc-img {  height: 120px; display: flex; align-items: center; justify-content: center; margin: 8px 0 8px 0; }
.lev-pc-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lev-pc-title {  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 800; margin: 0 0 4px 0; color: #000; line-height: 1.1; letter-spacing: -0.5px; }
.lev-pc-sub {  font-size: 12px; color: #555; margin: 0 0 8px 0; line-height: 1.35; font-weight: 500; }
.lev-pc-specs {  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 10px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; border-left: none; border-right: none; border-radius: 0; padding: 8px 5px; background: transparent; }
.lev-pc-specs div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.lev-pc-specs svg { width: 22px; height: 22px; color: #0b3a1a; margin-bottom: 2px; }
.lev-pc-specs span { font-size: 10px; color: #777; line-height: 1.2; text-transform: uppercase; font-weight: 600; }
.lev-pc-specs strong { font-size: 11px; color: #000; font-weight: 800; display: block; margin-top: 1px; letter-spacing: 0.2px; }
.lev-pc-price {  margin-top: auto; padding-top: 8px; border-top: none; display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 12px; }
.lev-pc-btn {  display: flex; align-items: center; justify-content: center; background: #0b3a1a; color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; padding: 10px 15px; border-radius: 3px; text-transform: uppercase; transition: background 0.2s; letter-spacing: 0.5px; width: 100%; box-sizing: border-box; }

/* 4. SAV BOX */
.lev-sav-box {  background: linear-gradient(145deg, #0b3a1a 0%, #06230f 100%); border-radius: 4px; padding: 20px 20px; color: #fff; height: 100% !important; box-sizing: border-box; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,0.3); border: 1px solid #114b22; }
.lev-sav-header {  margin-bottom: 12px; text-align: center; border-bottom: 2px solid rgba(255,198,0,0.2); padding-bottom: 10px; }
.lev-sav-box h3 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 23px; line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -0.5px; }
.lev-sav-box h3 span { color: #ffc600; font-size: 24px; }
.lev-sav-list { list-style: none; padding: 0; margin: 0; flex: 1; display: flex; flex-direction: column; }
.lev-sav-list li {  display: flex; align-items: center; gap: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); flex: 1; }
.lev-sav-list li:last-child { border-bottom: none; }
.lev-sav-list svg { width: 36px; height: 36px; color: #ffc600; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.lev-sav-list h4 { margin: 0 0 4px 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.5px; }
.lev-sav-list p { margin: 0; font-size: 12px; color: #a3c2af; font-weight: 600; line-height: 1.3; }
.lev-sav-footer-deco { position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: #ffc600; }

/* 5. BOTTOM CTA BAR */
.lev-bottom-cta { width: 100% !important; max-width: 100vw !important; overflow: hidden !important; box-sizing: border-box !important; margin: 0 !important; background: #000000; }
.lev-cta-inner { max-width: 1600px; width: 100%; margin: 0 auto; display: flex; align-items: stretch; justify-content: flex-start; padding: 0 30px; box-sizing: border-box; gap: 40px; }
.lev-btm-demos { display: flex; align-items: center; gap: 15px; color: #fff; border-right: 1px solid rgba(255,255,255,0.15); padding-right: 40px; }
.lev-btm-demos svg { width: 42px; height: 42px; color: #fff; flex-shrink: 0; }
.lev-btm-demos span { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; line-height: 1.3; color: #fff; }
.lev-btm-social { display: flex; align-items: center; gap: 20px; margin-right: auto; }
.lev-btm-social-label { display: flex; align-items: center; gap: 12px; color: #fff; margin-right: 10px; }
.lev-btm-social-label svg { width: 34px; height: 34px; color: #fff; }
.lev-btm-social-label span { font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.3; max-width: 120px; }
.lev-btm-social-icons { display: flex; gap: 12px; align-items: center; }
.lev-btm-social-icons a { color: #fff; opacity: 0.8; transition: opacity 0.2s; }
.lev-btm-social-icons a:hover { opacity: 1; }
.lev-btm-social-icons svg { width: 22px; height: 22px; }
.lev-btm-phone { background: #ffc600; padding: 0 25px 0 45px; display: flex; align-items: center; justify-content: center; text-decoration: none; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); margin-right: -30px; }
.lev-btm-phone svg { width: 32px; height: 32px; color: #000; margin-right: 15px; }
.lev-btm-phone-text { display: flex; flex-direction: column; text-align: left; }
.lev-btm-phone-text span { font-size: 11px; font-weight: 800; color: #000; text-transform: uppercase; margin-bottom: 2px; }
.lev-btm-phone-text strong { font-size: 24px; font-weight: 800; color: #000; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1; }

/* ========================================= */
/* MOBILE RESET */
/* ========================================= */
@media (max-width: 767px) {
    /* Mobile Hero Image */
    .lev-hero-bg-mobile { display: block !important; }
    .lev-hero-bg-desktop { display: none !important; }

    /* ====== MOBILE HERO FULL REDESIGN ====== */
    .lev-hero-perfect { min-height: 100svh !important; height: auto !important; padding: 0 !important; display: flex !important; align-items: stretch !important; }
    .lev-hero-bg-img { object-position: center top !important; }
    .lev-hero-perfect::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.75) 100%); z-index: 1; pointer-events: none; }
    .lev-hero-inner { z-index: 2 !important; padding: 0 !important; width: 100% !important; height: 100% !important; align-items: stretch !important; }
    .lev-hero-content-wrap { flex-direction: column !important; justify-content: space-between !important; padding: 0 !important; height: 100% !important; gap: 0 !important; min-height: 100svh !important; }
    .lev-hp-right { display: none !important; }
    .lev-hp-left { max-width: 100% !important; padding: 55px 22px 30px 22px !important; align-items: flex-start !important; text-align: left !important; justify-content: flex-start !important; flex: 1 !important; }
    .lev-hero-eyebrow { font-size: 11px !important; padding: 6px 14px !important; margin-bottom: 18px !important; background: rgba(255,198,0,0.15) !important; border: 1px solid rgba(255,198,0,0.5) !important; color: #ffc600 !important; letter-spacing: 2px !important; align-self: flex-start !important; }
    .lev-hero-main-title { font-size: 40px !important; line-height: 1.0 !important; margin-bottom: 10px !important; letter-spacing: -1px !important; color: #fff !important; }
    .lev-hero-sub { font-size: 18px !important; margin-bottom: 22px !important; color: #ffc600 !important; }
    .lev-hp-left ul { gap: 10px !important; margin-bottom: 28px !important; text-align: left !important; }
    .lev-hp-left ul li { font-size: 14px !important; line-height: 1.3 !important; font-weight: 500 !important; }
    .lev-hp-left ul li svg { width: 20px !important; height: 20px !important; margin-right: 10px !important; flex-shrink: 0 !important; }
    .lev-hp-btn { width: 100% !important; justify-content: center !important; font-size: 16px !important; padding: 18px !important; box-sizing: border-box !important; border-radius: 6px !important; }
    .lev-hero-trust { flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-around !important; align-items: center !important; gap: 0 !important; width: 100% !important; margin-top: 0 !important; padding: 18px 10px !important; border-top: 1px solid rgba(255,255,255,0.15) !important; background: rgba(0,0,0,0.45) !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; }
    .ht-item { flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; gap: 6px !important; flex: 1 !important; padding: 0 5px !important; border-right: 1px solid rgba(255,255,255,0.1) !important; }
    .ht-item:last-child { border-right: none !important; }
    .ht-item svg { width: 24px !important; height: 24px !important; }
    .ht-item span { font-size: 10px !important; letter-spacing: 0.5px !important; opacity: 1 !important; }

    /* Macro Layout Mobile Reset */
    .lev-macro-layout { flex-direction: column !important; padding: 25px 15px !important; margin: 0 !important; gap: 30px !important; }
    .lev-macro-left { gap: 30px !important; width: 100% !important; }
    .lev-macro-right { width: 100% !important; flex: auto !important; }
    .lev-main-layout { flex-direction: column !important; gap: 30px !important; padding: 0 !important; }

    /* Benefits Bar Mobile Reset */
    .lev-benefits-real { padding: 25px 15px !important; background: #fdfdfd; border-radius: 0 !important; border-left: none !important; border-right: none !important; border-bottom: 1px solid #eee; }
    .lev-benefits-inner { padding: 0 !important; display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 20px 15px !important; }
    .lev-ben-item { padding: 0 !important; border: none !important; flex-direction: column !important; text-align: center !important; gap: 8px !important; justify-content: flex-start !important; }
    .lev-ben-item svg { width: 32px !important; height: 32px !important; }
    .lev-ben-text h4 { font-size: 11px !important; line-height: 1.2 !important; }
    .lev-ben-text p { display: none !important; } /* Hide descriptions on mobile to save space */

    /* Center Grid Mobile Reset */
    .lev-grid-3 { grid-template-columns: 1fr !important; gap: 15px !important; }

    /* Product Cards Mobile Reset */
    .lev-prod-card { display: grid !important; grid-template-columns: 120px 1fr !important; grid-template-rows: auto auto auto auto; grid-template-areas: "img title" "img specs" "price price" "btn btn"; gap: 10px 15px !important; padding: 15px !important; border-radius: 8px !important; align-items: start; height: auto !important; }
    .lev-pc-img { grid-area: img; margin: 0 !important; padding: 5px !important; height: auto !important; background: transparent !important; }
    .lev-pc-img img { transform: scale(1.1); transform-origin: center; max-height: 100px; }
    .lev-pc-title { grid-area: title; font-size: 16px !important; margin: 0 !important; text-align: left !important; color: #004d1a; font-weight: 800; align-self: end; }
    .lev-pc-sub { display: none !important; } /* Hide subtitle completely to save height */
    .lev-pc-price { grid-area: price; margin: 0 !important; padding: 10px 0 0 0 !important; border-top: 1px solid #eee !important; text-align: left !important; align-self: start; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; }
    .lev-pc-price strong { font-size: 20px !important; }
    .lev-pc-price p { font-size: 12px !important; margin: 0 !important; }
    .lev-pc-specs { grid-area: specs; margin: 0 !important; width: 100%; border: none !important; padding: 0 !important; gap: 5px !important; }
    .lev-pc-specs div { flex-direction: row !important; justify-content: flex-start !important; text-align: left !important; gap: 5px !important; }
    .lev-pc-specs svg { width: 14px !important; height: 14px !important; margin: 0 !important; }
    .lev-pc-specs span { display: none !important; } /* Hide labels on mobile list view */
    .lev-pc-specs strong { font-size: 11px !important; margin: 0 !important; }
    .lev-prod-card > .lev-pc-btn { grid-area: btn; font-size: 14px !important; height: 45px !important; padding: 0 !important; margin-top: 5px !important; }
    
    /* Nettoyeur Card specific fix for mobile grid */
    .lev-prod-card:last-child { grid-template-areas: "img title" "img sizes" "price price" "btn btn"; }
    
    /* 6. SAV Box Mobile Reset */
    .lev-sav-box { padding: 30px 20px !important; border-radius: 8px; }
    .lev-sav-box h3 { font-size: 20px !important; margin-bottom: 20px !important; }
    .lev-sav-box h3 span { font-size: 24px !important; }
    .lev-sav-list { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 20px 15px !important; flex-direction: row !important; }
    .lev-sav-list li { width: 100% !important; margin: 0 !important; flex-direction: column !important; text-align: center !important; gap: 10px !important; align-items: center !important; padding: 0 !important; border: none !important; }
    .lev-sav-list li svg { width: 32px !important; height: 32px !important; margin: 0 !important; color: #f4c000; }
    .lev-sav-list li h4 { font-size: 13px !important; margin-bottom: 4px !important; }
    .lev-sav-list li p { font-size: 11px !important; color: #ddd; }
    .lev-sav-footer-deco { display: none !important; }

    /* Fix Bottom CTA for Mobile */
    .lev-bottom-cta { width: 100% !important; max-width: 100vw !important; overflow: hidden !important; box-sizing: border-box !important; margin: 0 !important; background: #000000; }
    .lev-cta-inner { flex-direction: column !important; padding: 25px 20px !important; gap: 25px !important; }
    .lev-btm-demos { flex-direction: column !important; text-align: center; gap: 10px !important; border: none !important; padding: 0 !important; }
    .lev-btm-social { flex-direction: column !important; gap: 15px !important; margin: 0 auto !important; }
    .lev-btm-social-label { flex-direction: column !important; margin: 0 !important; text-align: center; gap: 8px !important; }
    .lev-btm-phone { width: 100% !important; box-sizing: border-box; margin: 0 !important; padding: 15px !important; clip-path: none !important; border-radius: 6px !important; flex-direction: column !important; gap: 10px !important; }
    .lev-btm-phone svg { margin: 0 !important; }
    .lev-btm-phone-text { text-align: center !important; }
}

/* --- FROM footer.php --- */
html, body { overflow-x: hidden !important; width: 100%; }
.lev-footer-real { background: #004d1a; color: #fff; padding: 50px 20px; font-size: 14px; font-weight: 500; font-family: sans-serif; }
.lev-footer-inner { max-width: 1600px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; }
.lev-footer-inner h4 { font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 700; color: #fff; text-transform: uppercase; margin: 0 0 15px 0; }
.lev-footer-inner ul { list-style: none; padding: 0; margin: 0; }
.lev-footer-inner ul li { margin-bottom: 8px; }
/* FORCED FOOTER LINK COLORS TO OVERRIDE THEME DEFAULTS */
.lev-footer-real a, .lev-footer-inner a, .lev-footer-inner .menu li a { color: #fff !important; text-decoration: none !important; opacity: 0.85; transition: opacity 0.2s; }
.lev-footer-real a:hover, .lev-footer-inner a:hover, .lev-footer-inner .menu li a:hover { opacity: 1; text-decoration: underline !important; }
.lev-footer-inner ul li { margin-bottom: 12px; font-weight: 400; }
.lev-f-logo { width: 150px; }
.lev-f-logo img { max-width: 100%; margin-bottom: 10px; }
.lev-f-social { display: flex; gap: 15px; margin-top: 15px; }
.lev-f-social svg { width: 20px; height: 20px; color: #fff; }

/* FLOATING WIDGETS CSS */
.lev-whatsapp-btn { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 900; transition: transform 0.2s; }
.lev-whatsapp-btn:active { transform: scale(0.95); }
.lev-whatsapp-btn svg { width: 30px; height: 30px; }

.lev-scroll-top { position: fixed; bottom: 85px; right: 25px; width: 40px; height: 40px; background: #004d1a; color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 900; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s; }
.lev-scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.lev-scroll-top:active { transform: scale(0.95); }
.lev-scroll-top svg { width: 24px; height: 24px; }

/* 1000% RESPONSIVE FOOTER */
@media (max-width: 1024px) {
    .lev-footer-inner { flex-wrap: wrap; }
    .lev-footer-inner > div { width: 45%; }
    .lev-f-logo { width: 100% !important; margin-bottom: 20px; }
}

@media (max-width: 767px) {
    .lev-footer-real { padding: 30px 20px 40px 20px; box-sizing: border-box; width: 100%; overflow: hidden; }
    .lev-footer-inner { display: flex !important; flex-wrap: wrap !important; flex-direction: row !important; gap: 0 !important; }
    
    .lev-footer-inner > div { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; box-sizing: border-box; }
    
    /* Logo full width */
    .lev-footer-inner > div:nth-child(1) { width: 100% !important; padding-top: 0 !important; padding-bottom: 25px !important; }
    
    /* INFOS PRATIQUES & MON COMPTE - 2 Columns */
    .lev-footer-inner > div:nth-child(2) { width: 50% !important; padding-right: 15px; border-bottom: none; padding-bottom: 0; }
    .lev-footer-inner > div:nth-child(3) { width: 50% !important; padding-left: 15px; border-bottom: none; padding-bottom: 0; }
    
    /* A PROPOS full width with border top */
    .lev-footer-inner > div:nth-child(4) { width: 100% !important; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
    
    /* NOUS CONTACTER & SUIVEZ-NOUS full width */
    .lev-footer-inner > div:nth-child(5) { width: 100% !important; }
    .lev-footer-inner > div:nth-child(6) { width: 100% !important; border-bottom: none; padding-bottom: 0; }
    .lev-footer-inner > div:last-child { border-bottom: none; padding-bottom: 0; }
    
    .lev-f-logo { padding-top: 0 !important; padding-bottom: 25px !important; }
    .lev-f-logo img { max-width: 140px; margin-bottom: 12px; }
    .lev-f-logo p { font-size: 13px; line-height: 1.5; opacity: 0.8; margin: 0; }
    
    .lev-footer-inner h4 { font-size: 15px; margin-bottom: 12px; font-weight: 700; color: #fff; letter-spacing: 0.5px; }
    
    .lev-footer-inner ul li { margin-bottom: 12px; display: flex; align-items: flex-start; }
    .lev-footer-inner ul li:last-child { margin-bottom: 0; }
    .lev-footer-inner ul li a, .lev-footer-inner ul li { font-size: 13px; opacity: 0.9; line-height: 1.4; color: #fff; }
    
    /* Contact Specifics */
    .lev-footer-inner > div:nth-child(5) ul li { gap: 10px; opacity: 0.9; }
    .lev-footer-inner > div:nth-child(5) ul li svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; opacity: 0.8; }
    
    /* Socials */
    .lev-f-social { gap: 15px; margin-top: 10px; }
    .lev-f-social svg { width: 22px; height: 22px; opacity: 0.9; }
}

/* --- FROM functions.php --- */
/* =====================================================
           L'ESPRIT VERT - EN-TÊTE
        ===================================================== */

        .lev-custom-header {
            display:block;
            width:100%;
            background:#fff;
        }

        /* ---------- BANDEAU SUPERIEUR ---------- */

        .lev-topbar {
            background:#003d18;
            color:#fff;
            min-height:32px;
            display:flex;
            align-items:center;
            font-size:12px;
            font-weight:700;
        }

        .lev-topbar-inner {
            width:100%;
            max-width:1500px;
            margin:auto;
            display:flex;
            align-items:center;
            justify-content:space-between;
            padding:0 35px;
            box-sizing:border-box;
        }

        /* ---------- GRAND EN-TÊTE ---------- */

        .lev-header {
            background:#fff;
        }

        .lev-header-main {
            max-width:1500px;
            min-height:205px;
            margin:auto;
            padding:20px 35px 10px;
            box-sizing:border-box;

            display:grid;
            grid-template-columns:32% 38% 30%;
            align-items:center;
        }

        /* LOGO */

        .lev-logo {
            display:flex;
            align-items:center;
            justify-content:flex-start;
        }

        .lev-logo .custom-logo-link {
            display:block;
        }

        .lev-logo img.custom-logo {
            display:block;
            max-width:420px;
            width:auto;
            max-height:145px;
            height:auto;
        }

        .lev-brand {
            color:#00551f;
            font-family:Arial, sans-serif;
            font-size:58px;
            line-height:.82;
            font-weight:900;
            letter-spacing:-3px;
        }

        .lev-brand span {
            display:block;
            margin-top:18px;
            color:#111;
            font-size:14px;
            line-height:1.2;
            letter-spacing:0;
            font-weight:700;
        }

        /* ---------- SAV ---------- */

        .lev-sav {
            text-align:center;
        }

        .lev-sav-title {
            color:#006b25;
            font-family:Arial, sans-serif;
            font-size:42px;
            line-height:1;
            font-weight:900;
            letter-spacing:-1px;
        }

        .lev-sav-title small {
            display:block;
            margin-top:10px;
            color:#111;
            font-size:17px;
            font-weight:800;
            letter-spacing:0;
        }

        /* ---------- DROITE ---------- */

        .lev-right {
            display:flex;
            flex-direction:column;
            align-items:flex-end;
            gap:14px;
        }

        .lev-phone {
            text-align:right;
        }

        .lev-phone strong {
            display:block;
            color:#111;
            font-size:29px;
            line-height:1.1;
            font-weight:800;
        }

        .lev-phone span {
            display:block;
            margin-top:5px;
            color:#555;
            font-size:13px;
        }

        .lev-actions {
            display:flex;
            align-items:center;
            gap:22px;
        }

        .lev-search {
            width:310px;
        }

        .lev-search form {
            display:flex !important;
            width:100% !important;
            margin:0 !important;
        }

        .lev-search input[type="search"] {
            width:100% !important;
            height:44px !important;
            min-width:0 !important;
            padding:0 14px !important;
            border:1px solid #ccc !important;
            box-sizing:border-box !important;
            font-size:13px !important;
        }

        .lev-search button {
            width:50px !important;
            min-width:50px !important;
            height:44px !important;
            padding:0 !important;
            border:0 !important;
            background:#006b25 !important;
            color:#fff !important;
            font-size:0 !important;
        }

        .lev-search button:after {
            content:"\u{1F50D}";
            font-size:17px;
        }

        .lev-account,
        .lev-cart {
            color:#111 !important;
            text-decoration:none !important;
            text-align:center;
            white-space:nowrap;
        }

        .lev-account-icon,
        .lev-cart-icon {
            display:block;
            font-size:25px;
            line-height:1;
        }

        .lev-account-text,
        .lev-cart-text {
            display:block;
            margin-top:4px;
            font-size:11px;
            font-weight:700;
        }

        /* ---------- MENU ---------- */

        .lev-menu {
            width:100%;
            background:#00451c;
        }

        .lev-menu-inner {
            max-width:1500px;
            min-height:52px;
            margin:auto;
            padding:0 25px;
            box-sizing:border-box;

            display:flex;
            align-items:stretch;
        }

        .lev-menu a {
            display:flex;
            align-items:center;
            justify-content:center;

            color:#fff !important;
            text-decoration:none !important;

            padding:0 22px;
            font-size:13px;
            font-weight:800;
            text-transform:uppercase;
            white-space:nowrap;

            transition:.15s;
        }

        .lev-menu a:hover {
            background:#f4c000;
            color:#111 !important;
        }

        .lev-menu .lev-home {
            width:60px;
            padding:0;
            font-size:22px;
        }

        .lev-menu .lev-new {
            background:#f4c000;
            color:#111 !important;
        }

        /* Masque l'ancien header Storefront */
        body:not(.wp-admin) header.site-header,
        body:not(.wp-admin) .storefront-primary-navigation {
            display:none !important;
        }

        /* ---------- MOBILE ---------- */

        @media (max-width:1000px) {

            .lev-topbar-inner {
                padding:0 12px;
                font-size:9px;
            }

            .lev-header-main {
                grid-template-columns:1fr;
                gap:20px;
                padding:20px 15px;
                text-align:center;
            }

            .lev-logo {
                justify-content:center;
            }

            .lev-logo img.custom-logo {
                max-width:300px;
                max-height:100px;
            }

            .lev-brand {
                font-size:46px;
            }

            .lev-sav-title {
                font-size:31px;
            }

            .lev-right {
                align-items:center;
            }

            .lev-phone {
                text-align:center;
            }

            .lev-actions {
                justify-content:center;
                flex-wrap:wrap;
            }

            .lev-menu-inner {
                overflow-x:auto;
            }

            .lev-menu a {
                padding:0 13px;
                font-size:10px;
            }
        }

        @media (max-width:600px) {

            .lev-topbar-inner span:nth-child(n+3) {
                display:none;
            }

            .lev-search {
                width:260px;
            }

            .lev-phone strong {
                font-size:23px;
            }

            .lev-sav-title {
                font-size:26px;
            }

            .lev-menu-inner {
                justify-content:flex-start;
            }
        }/* =========================================================
   L'ESPRIT VERT – FINITIONS HEADER
   ========================================================= */

/* --- STRUCTURE GENERALE --- */

.lev-custom-header {
    width:100%;
    position:relative;
    z-index:999;
}

.lev-header-main {
    min-height:205px;
    padding:18px 30px 15px;
}

/* --- LOGO --- */

.lev-logo {
    display:flex;
    align-items:center;
    justify-content:flex-start;
}

.lev-logo img.custom-logo {
    max-width:420px;
    max-height:145px;
    width:auto;
    height:auto;
    object-fit:contain;
}

/* --- SAV --- */

.lev-sav {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.lev-sav-title {
    margin:0;
    font-size:42px;
    line-height:1;
    font-weight:900;
    color:#006b25;
    letter-spacing:-1px;
}

.lev-sav-title small {
    display:block;
    margin-top:9px;
    color:#111;
    font-size:16px;
    line-height:1.2;
    font-weight:800;
}

/* --- TELEPHONE / COMPTE / PANIER --- */

.lev-right {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:12px;
}

.lev-phone {
    text-align:right;
}

.lev-phone strong {
    display:block;
    color:#111;
    font-size:29px;
    line-height:1.05;
    font-weight:900;
    white-space:nowrap;
}

.lev-phone span {
    display:block;
    margin-top:4px;
    color:#555;
    font-size:13px;
    font-weight:600;
}

/* --- RECHERCHE --- */

.lev-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:18px;
    width:100%;
}

.lev-search {
    width:310px;
}

.lev-search form {
    display:flex;
    width:100%;
    margin:0 !important;
}

.lev-search input[type="search"] {
    height:46px !important;
    width:100% !important;
    min-width:0 !important;
    padding:0 14px !important;
    border:1px solid #d5d5d5 !important;
    border-right:0 !important;
    border-radius:5px 0 0 5px !important;
    box-sizing:border-box !important;
    font-size:13px !important;
}

.lev-search button {
    width:50px !important;
    min-width:50px !important;
    height:46px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 5px 5px 0 !important;
    background:#006b25 !important;
    color:#fff !important;
    font-size:0 !important;
    position:relative;
}

.lev-search button:after {
    content:"⌕";
    font-size:25px;
    line-height:46px;
}

/* --- COMPTE / PANIER --- */

.lev-account,
.lev-cart {
    color:#111 !important;
    text-decoration:none !important;
    text-align:center;
    white-space:nowrap;
}

.lev-account-icon,
.lev-cart-icon {
    display:block;
    font-size:25px;
    line-height:1;
}

.lev-account-text,
.lev-cart-text {
    display:block;
    margin-top:4px;
    font-size:11px;
    font-weight:700;
}

/* --- MENU PRINCIPAL --- */

.lev-menu {
    width:100%;
    background:#00451c;
}

.lev-menu-inner {
    max-width:1500px;
    min-height:52px;
    margin:auto;
    padding:0 15px;
    box-sizing:border-box;
    display:flex;
    align-items:stretch;
}

.lev-menu a {
    min-height:52px;
    padding:0 17px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff !important;
    text-decoration:none !important;
    font-size:12px;
    font-weight:800;
    letter-spacing:.1px;
    transition:.15s;
}

.lev-menu a:hover {
    background:#f4c000;
    color:#111 !important;
}

.lev-menu .lev-home {
    width:60px;
    padding:0;
    font-size:21px;
}

.lev-menu .lev-new {
    background:#f4c000;
    color:#111 !important;
}

/* =========================================================
   ECRANS MOYENS
   ========================================================= */

@media (max-width:1200px) {

    .lev-header-main {
        padding-left:20px;
        padding-right:20px;
    }

    .lev-logo img.custom-logo {
        max-width:350px;
    }

    .lev-sav-title {
        font-size:34px;
    }

    .lev-phone strong {
        font-size:25px;
    }

    .lev-search {
        width:260px;
    }

    .lev-menu a {
        padding:0 11px;
        font-size:11px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:600px) {

    .lev-topbar-inner {
        padding:0 10px;
        font-size:9px;
    }

    .lev-topbar-inner span:nth-child(n+3) {
        display:none;
    }

    .lev-header-main {
        display:flex;
        flex-direction:column;
        gap:12px;
        padding:15px 12px;
        min-height:0;
    }

    .lev-logo {
        justify-content:center;
    }

    .lev-logo img.custom-logo {
        max-width:280px;
        max-height:95px;
    }

    .lev-sav {
        order:2;
    }

    .lev-sav-title {
        font-size:27px;
    }

    .lev-sav-title small {
        font-size:13px;
        margin-top:6px;
    }

    .lev-right {
        order:3;
        align-items:center;
        width:100%;
    }

    .lev-phone {
        text-align:center;
    }

    .lev-phone strong {
        font-size:23px;
    }

    .lev-actions {
        justify-content:center;
        flex-wrap:wrap;
        gap:10px;
    }

    .lev-search {
        width:100%;
        max-width:360px;
    }

    .lev-menu-inner {
        overflow-x:auto;
        justify-content:flex-start;
        -webkit-overflow-scrolling:touch;
    }

    .lev-menu a {
        flex:0 0 auto;
        min-height:48px;
        padding:0 13px;
        font-size:10px;
    }

    .lev-menu .lev-home {
        width:48px;
    }
}

/* ==========================================================
   PAGE ACCUEIL L'ESPRIT VERT
   ========================================================== */

.ev-home {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ==========================================================
   BANDEAU HERO
   ========================================================== */

.ev-hero {
    display: grid;
    grid-template-columns: 36% 64%;
    background: linear-gradient(110deg,#020805,#0b3517,#24552b);
    min-height: 420px;
    color: white;
    overflow: hidden;
}

.ev-hero-text {
    padding: 38px 25px;
    box-sizing: border-box;
}

.ev-hero-label {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 12px;
}

.ev-hero h1 {
    margin: 0 !important;
    color: #ffd000 !important;
    font-size: 48px !important;
    line-height: .95 !important;
    font-weight: 900 !important;
    font-style: italic;
    text-transform: uppercase;
}

.ev-hero h2 {
    color: #fff !important;
    font-size: 27px !important;
    line-height: 1.05 !important;
    margin: 15px 0 !important;
    font-weight: 900 !important;
    font-style: italic;
}

.ev-hero ul {
    list-style: none !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}

.ev-hero li {
    margin: 12px 0 !important;
    font-size: 15px;
    font-weight: 700;
}

.ev-hero li:before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: #52c900;
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
}

.ev-hero-button {
    display: inline-block !important;
    background: #ffd000 !important;
    color: #111 !important;
    padding: 15px 22px !important;
    margin-top: 5px;
    text-decoration: none !important;
    font-weight: 900 !important;
    font-size: 15px;
}

/* IMAGES HERO */

.ev-hero-machines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15px;
    padding: 25px;
}

.ev-hero-machine {
    text-align: center;
}

.ev-hero-machine img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}

.ev-machine-name {
    display: inline-block;
    background: #00852b;
    color: white;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 900;
    margin-top: 8px;
}

/* ==========================================================
   GARANTIES
   ========================================================== */

.ev-benefits {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: white;
    border: 1px solid #ddd;
}

.ev-benefit {
    text-align: center;
    padding: 22px 10px;
    border-right: 1px solid #ddd;
}

.ev-benefit:last-child {
    border-right: 0;
}

.ev-benefit-icon {
    font-size: 28px;
    margin-bottom: 7px;
}

.ev-benefit-title {
    font-size: 15px;
    font-weight: 900;
}

.ev-benefit-text {
    font-size: 12px;
    margin-top: 6px;
}

/* ==========================================================
   PRODUITS PHARES
   ========================================================== */

.ev-featured {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr) 230px;
    gap: 14px;
    margin-top: 16px;
}

/* CATEGORIES */

.ev-categories {
    background: #005b25;
    color: white;
}

.ev-categories-title {
    background: #004719;
    padding: 15px 12px;
    font-size: 18px;
    font-weight: 900;
}

.ev-category {
    display: block;
    padding: 13px 11px;
    border-bottom: 1px solid rgba(255,255,255,.2);
    color: white !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.3;
}

.ev-category:hover {
    background: #00772e;
}

.ev-category-new {
    background: #ffd000 !important;
    color: #111 !important;
    min-height: 75px;
}

.ev-category-new small {
    display: block;
    margin-top: 6px;
    font-size: 10px;
}

/* TITRE */

.ev-products-title {
    color: #005b25 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    margin: 0 0 12px !important;
}

.ev-products-title:before {
    content: "⚙ ";
}

/* PRODUITS */

.ev-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ev-product {
    border: 1px solid #ddd;
    background: white;
    text-align: center;
    overflow: hidden;
}

.ev-product-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.ev-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.ev-product h3 {
    color: #005b25 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    margin: 5px 0 !important;
}

.ev-product-description {
    font-size: 11px;
    min-height: 35px;
    padding: 0 8px;
}

.ev-product-price {
    font-size: 21px;
    font-weight: 900;
    margin: 9px 0;
}

.ev-product-button {
    display: block !important;
    margin: 0 10px 10px !important;
    padding: 10px !important;
    background: #00852b !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
}

/* ==========================================================
   NETTOYEUR
   ========================================================== */

.ev-air {
    background: #050505;
    color: white;
    padding: 14px;
    box-sizing: border-box;
}

.ev-air-title {
    color: white;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
    font-style: italic;
}

.ev-air-subtitle {
    font-size: 10px;
    font-weight: 700;
    margin: 8px 0 12px;
}

.ev-air-image {
    height: 150px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-air-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.ev-air-price {
    color: #ffd000;
    font-size: 25px;
    font-weight: 900;
    margin: 12px 0;
}

.ev-air-button {
    display: block !important;
    background: #00852b !important;
    color: white !important;
    text-align: center;
    padding: 11px !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
}

/* ==========================================================
   SAV
   ========================================================== */

.ev-sav {
    margin-top: 14px;
    background: #005b25;
    color: white;
    padding: 25px;
}

.ev-sav h2 {
    color: white !important;
    font-size: 25px !important;
    margin: 0 0 20px !important;
}

.ev-sav h2 span {
    color: #ffd000;
}

.ev-sav-item {
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding: 13px 0;
}

.ev-sav-item strong {
    display: block;
    font-size: 14px;
}

.ev-sav-item small {
    font-size: 11px;
}

/* ==========================================================
   BAS DE PAGE
   ========================================================== */

.ev-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #050505;
    color: white;
    margin-top: 14px;
}

.ev-bottom div {
    padding: 18px;
    text-align: center;
    font-weight: 900;
    font-size: 12px;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:800px) {

    .ev-hero {
        grid-template-columns: 1fr;
    }

    .ev-hero-machines {
        grid-template-columns: 1fr 1fr;
    }

    .ev-featured {
        grid-template-columns: 1fr;
    }

    .ev-categories {
        display: none;
    }

    .ev-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .ev-air {
        display: none;
    }

}

@media(max-width:500px) {

    .ev-hero h1 {
        font-size: 38px !important;
    }

    .ev-products-grid {
        grid-template-columns: 1fr;
    }

    .ev-benefits {
        grid-template-columns: 1fr;
    }

    .ev-bottom {
        grid-template-columns: 1fr;
    }

}

.lev-cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: rgba(0,0,0,0.9); color: #fff; padding: 15px 20px; display: flex; align-items: center; justify-content: center; gap: 20px; z-index: 99999; box-sizing: border-box; transition: bottom 0.5s ease; font-family: sans-serif; font-size: 13px; backdrop-filter: blur(5px); box-shadow: 0 -2px 10px rgba(0,0,0,0.3); }
    .lev-cookie-banner.show { bottom: 0; }
    .lev-cookie-banner p { margin: 0; }
    .lev-cookie-btn { background: #f4c000; color: #000; border: none; padding: 8px 20px; font-weight: bold; border-radius: 3px; cursor: pointer; text-transform: uppercase; font-size: 12px; }
    @media(max-width: 768px){ .lev-cookie-banner { flex-direction: column; text-align: center; gap: 10px; padding: 20px 15px; } }



/* ==========================================
   PHASE 7: SHOP & ARCHIVE PAGES
   ========================================== */

/* --- 7.7 Breadcrumbs --- */
.woocommerce-breadcrumb { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; color: #777; margin-bottom: 20px; padding: 15px 0; border-bottom: 1px solid #eaeaea; }
.woocommerce-breadcrumb a { color: #0b3a1a; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.woocommerce-breadcrumb a:hover { color: #f4c000; }

/* --- 7.9 Category Header --- */
.woocommerce-products-header__title.page-title { font-family: 'Oswald', sans-serif; font-size: 36px; font-weight: 800; color: #111; margin: 0 0 10px 0; text-transform: uppercase; }
.term-description { font-size: 14px; color: #555; margin-bottom: 30px; line-height: 1.6; max-width: 800px; }

/* --- 7.8 Sorting & Count --- */
.storefront-sorting { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 2px solid #0b3a1a; }
.woocommerce-result-count { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; color: #555; margin: 0; font-weight: 500; }
.woocommerce-ordering select { background: #f9f9f9; border: 1px solid #ddd; padding: 8px 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 600; color: #111; border-radius: 3px; cursor: pointer; outline: none; }
.woocommerce-ordering select:focus { border-color: #0b3a1a; }

/* --- 7.1 Product Grid (Mapping WC defaults to L'Esprit Vert style) --- */
ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none; } /* Override Storefront floats */
ul.products li.product { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; padding: 15px; display: flex; flex-direction: column; text-align: center; margin: 0 !important; width: 100% !important; box-shadow: 0 1px 5px rgba(0,0,0,0.04); transition: box-shadow 0.3s, transform 0.3s; }
ul.products li.product:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.08); transform: translateY(-2px); }
ul.products li.product img { margin: 0 auto 15px auto; max-height: 150px; object-fit: contain; width: auto; }
ul.products li.product .woocommerce-loop-product__title { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 800; color: #000; margin: 0 0 10px 0; line-height: 1.2; text-transform: none; }
ul.products li.product .price { font-size: 16px; color: #0b3a1a; font-weight: 700; margin-bottom: 15px; margin-top: auto; }
ul.products li.product .price ins { text-decoration: none; color: #0b3a1a; font-weight: 800; }
ul.products li.product .price del { font-size: 13px; color: #999; margin-right: 5px; }

/* Custom Add to Cart / Quote Button on Grid */
ul.products li.product .button { background: #0b3a1a; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 10px 15px; border-radius: 3px; display: block; text-align: center; width: 100%; box-sizing: border-box; transition: background 0.2s; margin-top: auto; border: none; }
ul.products li.product .button:hover { background: #f4c000; color: #000; }
ul.products li.product .added_to_cart { display: none !important; }

/* --- 7.5 Badges --- */
.woocommerce span.onsale { background: #ffc600; color: #000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 3px; top: 10px; left: 10px; right: auto; min-width: 0; min-height: 0; line-height: 1; text-transform: uppercase; z-index: 9; box-shadow: 1px 1px 4px rgba(0,0,0,0.1); }

/* --- 7.4 Pagination --- */
.woocommerce-pagination { margin-top: 40px; text-align: center; }
.woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 5px; list-style: none; padding: 0; margin: 0; border: none; }
.woocommerce-pagination ul.page-numbers li { display: block; border: none; }
.woocommerce-pagination ul.page-numbers li .page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #fff; border: 1px solid #ddd; color: #333; font-weight: 700; border-radius: 3px; text-decoration: none; transition: all 0.2s; }
.woocommerce-pagination ul.page-numbers li .page-numbers.current,
.woocommerce-pagination ul.page-numbers li .page-numbers:hover { background: #0b3a1a; color: #fff; border-color: #0b3a1a; }

/* --- 7.2 Sidebar Widgets --- */
.widget-area .widget { background: #fff; border: 1px solid #eee; padding: 20px; margin-bottom: 30px; border-radius: 4px; }
.widget-area .widget-title { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; color: #111; border-bottom: 2px solid #f4c000; padding-bottom: 10px; margin-bottom: 15px; }
.widget-area ul { list-style: none; padding: 0; margin: 0; }
.widget-area ul li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.widget-area ul li:last-child { border-bottom: none; }
.widget-area ul li a { color: #555; text-decoration: none; transition: color 0.2s; }
.widget-area ul li a:hover { color: #0b3a1a; font-weight: 600; }
.widget-area .count { color: #999; font-size: 12px; margin-left: 5px; }

/* Price Slider Overrides */
.widget_price_filter .price_slider { background: #e0e0e0; }
.widget_price_filter .price_slider .ui-slider-range { background: #0b3a1a; }
.widget_price_filter .price_slider .ui-slider-handle { background: #f4c000; border: 2px solid #0b3a1a; }
.widget_price_filter .price_slider_amount .button { background: #f4c000; color: #000; font-weight: bold; border-radius: 3px; padding: 5px 15px; text-transform: uppercase; }
.widget_price_filter .price_slider_amount .button:hover { background: #0b3a1a; color: #fff; }

/* --- 7.6 No Results Found --- */
.woocommerce-info { background: #f9f9f9; border-left: 5px solid #0b3a1a; color: #333; padding: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; border-radius: 0 4px 4px 0; }
.woocommerce-info::before { color: #0b3a1a; }

/* --- 7.3 Mobile Responsive & Toggle Button --- */
#lev-mobile-filter-toggle { display: none; background: #f4c000; color: #000; font-weight: 800; text-transform: uppercase; padding: 12px 20px; border: none; border-radius: 4px; width: 100%; margin-bottom: 20px; cursor: pointer; text-align: center; }
#lev-mobile-filter-toggle svg { width: 18px; height: 18px; vertical-align: middle; margin-right: 8px; }

@media (max-width: 768px) {
    ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    ul.products li.product { padding: 10px; }
    ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
    ul.products li.product .price { font-size: 14px; }
    ul.products li.product .button { padding: 8px 10px; font-size: 11px; }
    
    .storefront-sorting { flex-direction: column; align-items: flex-start; gap: 15px; }
    .woocommerce-ordering { width: 100%; }
    .woocommerce-ordering select { width: 100%; }
    
    /* Mobile Sidebar Logic */
    #lev-mobile-filter-toggle { display: block; }
    .widget-area { display: none; } /* Hidden by default on mobile */
    .widget-area.is-open { display: block; margin-bottom: 30px; border: 1px solid #0b3a1a; padding: 15px; border-radius: 4px; background: #fff; }
}


/* ==========================================
   PHASE 9: QUOTE, CART & CHECKOUT
   ========================================== */
/* Tables */
.woocommerce table.shop_table { border: 1px solid #e0e0e0; border-radius: 4px; border-collapse: separate; width: 100%; margin-bottom: 30px; }
.woocommerce table.shop_table th { background: #0b3a1a; color: #fff; text-transform: uppercase; padding: 15px; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 1px; border: none; }
.woocommerce table.shop_table td { padding: 15px; border-top: 1px solid #e0e0e0; vertical-align: middle; }
.woocommerce table.shop_table .remove { color: #cc0000 !important; font-weight: bold; font-size: 24px; text-decoration: none; }
.woocommerce table.shop_table .remove:hover { color: #ff0000 !important; background: transparent !important; }
.woocommerce table.shop_table img { max-width: 80px; height: auto; border-radius: 4px; }

/* Cart Totals */
.cart_totals { background: #f9f9f9; padding: 30px; border-radius: 4px; border: 1px solid #e0e0e0; }
.cart_totals h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; margin-bottom: 20px; font-size: 24px; border-bottom: 2px solid #f4c000; padding-bottom: 10px; }
.cart_totals .checkout-button { display: block; width: 100%; text-align: center; background: #0b3a1a; color: #fff; padding: 15px; font-weight: 800; text-transform: uppercase; border-radius: 4px; margin-top: 20px; text-decoration: none; transition: 0.3s; }
.cart_totals .checkout-button:hover { background: #f4c000; color: #000; }

/* Empty States */
.cart-empty, .return-to-shop { text-align: center; padding: 40px 20px; }
.cart-empty { font-size: 20px; color: #555; margin-bottom: 20px; }
.return-to-shop .button { background: #f4c000; color: #000; font-weight: 800; padding: 15px 30px; text-transform: uppercase; border-radius: 4px; text-decoration: none; }
.return-to-shop .button:hover { background: #0b3a1a; color: #fff; }

/* Checkout */
.woocommerce-checkout h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; border-bottom: 2px solid #0b3a1a; padding-bottom: 10px; margin-bottom: 20px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 3px; font-family: 'Helvetica Neue', Helvetica, sans-serif; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: #0b3a1a; outline: none; box-shadow: 0 0 5px rgba(11,58,26,0.2); }
#order_review_heading { font-family: 'Oswald', sans-serif; text-transform: uppercase; margin-top: 40px; }
#payment { background: #f9f9f9; border-radius: 4px; padding: 20px; margin-top: 30px; border: 1px solid #e0e0e0; }
#payment .place-order .button { width: 100%; padding: 20px; background: #f4c000; color: #000; font-size: 18px; font-weight: 800; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; transition: 0.3s; }
#payment .place-order .button:hover { background: #0b3a1a; color: #fff; }

/* ==========================================
   PHASE 10: MY ACCOUNT & STATIC PAGES
   ========================================== */
#customer_login { display: flex; gap: 40px; flex-wrap: wrap; }
#customer_login > div { width: 48%; background: #f9f9f9; padding: 40px; border-radius: 4px; border: 1px solid #e0e0e0; }
#customer_login h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; border-bottom: 2px solid #f4c000; padding-bottom: 10px; margin-bottom: 20px; }
#customer_login .button { background: #0b3a1a; color: #fff; font-weight: 800; padding: 12px 25px; text-transform: uppercase; border: none; border-radius: 3px; }

.woocommerce-MyAccount-navigation { float: left; width: 25%; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid #e0e0e0; }
.woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation ul li a { display: block; padding: 15px 20px; color: #333; text-decoration: none; font-weight: 600; transition: 0.2s; }
.woocommerce-MyAccount-navigation ul li a:hover, .woocommerce-MyAccount-navigation ul li.is-active a { background: #0b3a1a; color: #fff; }

.woocommerce-MyAccount-content { float: right; width: 70%; }
.woocommerce-MyAccount-content h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; }

/* Contact Forms / Global Forms */
.wpforms-container input[type=text], .wpforms-container input[type=email], .wpforms-container textarea,
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 15px; }
.wpforms-container button, .wpcf7 input[type=submit] { background: #0b3a1a; color: #fff; font-weight: 800; padding: 15px 30px; text-transform: uppercase; border: none; border-radius: 3px; cursor: pointer; }

/* ==========================================
   PHASE 11: GLOBAL WOOCOMMERCE ALERTS
   ========================================== */


.woocommerce-message { background: #0b3a1a !important; box-shadow: 0 4px 10px rgba(11,58,26,0.2); }
.woocommerce-message .button { background: rgba(255,255,255,0.2) !important; color: #fff !important; padding: 5px 15px !important; border-radius: 3px; }
.woocommerce-message .button:hover { background: #fff !important; color: #0b3a1a !important; }

.woocommerce-error { background: #cc0000 !important; box-shadow: 0 4px 10px rgba(204,0,0,0.2); list-style: none !important; margin-left: 0 !important; }
.woocommerce-error li { margin: 0 !important; padding: 0 !important; }

.woocommerce-info { background: #f4c000 !important; color: #000 !important; box-shadow: 0 4px 10px rgba(244,192,0,0.2); }
.woocommerce-info::before { color: #000 !important; }

@media (max-width: 768px) {
    .single-product div.product .woocommerce-product-gallery { width: 100%; }
    .single-product div.product .summary { width: 100%; }
    #customer_login > div { width: 100%; margin-bottom: 30px; }
    .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none; width: 100%; margin-bottom: 30px; }
}


/* ======================================= */
/* ======================================= */

/* --- 8.1 Gallery & Lightbox --- */
.woocommerce-product-gallery__trigger { background: #0b3a1a !important; color: #fff !important; border-radius: 50% !important; right: 20px !important; top: 20px !important; display: flex; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; text-indent: -9999px; }
.woocommerce-product-gallery__trigger::before { content: ''; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; position: absolute; }
.woocommerce-product-gallery__trigger::after { content: ''; width: 2px; height: 8px; background: #fff; position: absolute; transform: rotate(-45deg); bottom: 8px; right: 8px; }
.pswp__bg { background: rgba(11, 58, 26, 0.95) !important; } /* Dark Green Lightbox */

/* --- 8.2 Pagination (Storefront specific) --- */
.storefront-product-pagination a { background: #0b3a1a; color: #fff; transition: background 0.3s; }
.storefront-product-pagination a:hover { background: #f4c000; color: #000; }

/* --- 8.3 & 8.4 Summary, Stars, Price, Out of Stock --- */
.single-product div.product .summary { padding-top: 10px; }
.single-product div.product .product_title { font-family: 'Oswald', sans-serif; font-size: 38px; font-weight: 800; color: #111; margin-bottom: 15px; text-transform: uppercase; line-height: 1.2; }
.woocommerce-product-rating .star-rating { color: #f4c000; }
.woocommerce-product-rating .woocommerce-review-link { color: #0b3a1a; font-weight: 600; text-decoration: none; margin-left: 10px; }
.woocommerce-product-rating .woocommerce-review-link:hover { color: #f4c000; }

.single-product div.product p.price del { font-size: 20px; color: #999; font-weight: 400; }
.out-of-stock { color: #cc0000; background: #ffe6e6; padding: 5px 12px; border-radius: 3px; font-weight: 800; display: inline-block; font-size: 14px; text-transform: uppercase; margin-bottom: 15px; }
.product_meta { margin-top: 25px; padding-top: 20px; border-top: 1px solid #eee; font-size: 14px; color: #666; }
.product_meta a { color: #0b3a1a; font-weight: 700; text-decoration: none; }
.product_meta a:hover { color: #f4c000; }

/* --- 8.5 & 8.6 Cart Form, Quantity & Buttons --- */
.single-product div.product form.cart { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 30px; align-items: center; }
.single-product div.product form.cart .quantity input.qty { width: 70px; height: 50px; text-align: center; border: 1px solid #ccc; border-radius: 3px; font-weight: bold; font-size: 16px; background: #fff; color: #111; margin: 0; padding: 0; }
.single-product div.product form.cart .single_add_to_cart_button { height: 50px; background: #0b3a1a; color: #fff; font-weight: 800; text-transform: uppercase; border-radius: 3px; border: none; padding: 0 35px; transition: background 0.3s, color 0.3s; font-size: 15px; flex: 1; min-width: 200px; display: flex; align-items: center; justify-content: center; margin: 0; }
.single-product div.product form.cart .single_add_to_cart_button:hover { background: #f4c000; color: #000; }
.yith-ywraq-add-to-quote { margin-bottom: 30px; }
.yith-ywraq-add-to-quote .add-request-quote-button { display: inline-flex !important; align-items: center; justify-content: center; height: 50px; background: #f4c000 !important; color: #000 !important; font-weight: 800 !important; text-transform: uppercase; border-radius: 3px; padding: 0 35px !important; text-decoration: none; transition: background 0.3s, color 0.3s; font-size: 15px; }
.yith-ywraq-add-to-quote .add-request-quote-button:hover { background: #0b3a1a !important; color: #fff !important; }

/* --- 8.7 Complex Types (Variables & Grouped) --- */
table.variations { border: none; margin-bottom: 20px; width: 100%; }
table.variations td.label { padding: 10px 15px 10px 0; font-weight: 700; color: #111; vertical-align: middle; }
table.variations td.value { padding: 10px 0; }
table.variations select { width: 100%; max-width: 300px; padding: 10px; border: 1px solid #ccc; border-radius: 3px; height: 45px; }
.reset_variations { color: #cc0000 !important; margin-left: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; text-decoration: none; }
.group_table { margin-bottom: 25px; border: 1px solid #eee; border-radius: 3px; }
.group_table td { padding: 15px; border-bottom: 1px solid #eee; vertical-align: middle; }
.group_table td.label label { font-weight: 700; color: #0b3a1a; margin: 0; }

/* --- 8.8 & 8.9 Tabs & Specifications --- */
.woocommerce-tabs { margin-top: 50px; clear: both; border-top: 2px solid #0b3a1a; padding-top: 30px; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 0 0 20px 0; display: flex; gap: 5px; border-bottom: 1px solid #ddd; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs li { margin: 0; border: 1px solid transparent; border-bottom: none; background: #f1f1f1; border-radius: 4px 4px 0 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 25px; font-family: 'Oswald', sans-serif; font-weight: 700; color: #555; text-transform: uppercase; text-decoration: none; font-size: 15px; transition: 0.3s; }
.woocommerce-tabs ul.tabs li.active { background: #0b3a1a; }
.woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce-tabs ul.tabs li:not(.active):hover { background: #e2e2e2; }
.woocommerce-Tabs-panel { color: #444; line-height: 1.8; font-size: 16px; padding: 20px 0; }

table.shop_attributes { border: 1px solid #ddd; border-collapse: collapse; width: 100%; margin-bottom: 20px; }
table.shop_attributes th, table.shop_attributes td { padding: 12px 15px; border-bottom: 1px solid #ddd; }
table.shop_attributes th { width: 30%; font-family: 'Oswald', sans-serif; font-weight: 700; color: #111; background: #f8f9fa; text-transform: uppercase; }
table.shop_attributes p { margin: 0; }

/* Review Form */
#reviews #comments h2, #review_form_wrapper h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #111; margin-bottom: 20px; }
.commentlist { list-style: none; padding: 0; margin: 0 0 40px 0; }
.commentlist li { padding: 20px; border: 1px solid #eee; border-radius: 4px; margin-bottom: 15px; background: #fdfdfd; }
.commentlist .avatar { border-radius: 50%; float: right; width: 50px; height: 50px; }
.commentlist .meta { font-size: 13px; color: #999; margin-bottom: 10px; display: block; }
.commentlist .meta strong { color: #111; font-weight: 800; font-size: 15px; }
#review_form_wrapper { background: #f9f9f9; padding: 30px; border-radius: 4px; border: 1px solid #eee; }
#review_form_wrapper .comment-form-rating { margin-bottom: 20px; }
#review_form_wrapper input[type='text'], #review_form_wrapper input[type='email'], #review_form_wrapper textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 3px; font-family: inherit; margin-bottom: 20px; background: #fff; }
#review_form_wrapper input[type='submit'] { background: #0b3a1a; color: #fff; font-weight: 800; text-transform: uppercase; border: none; padding: 15px 30px; border-radius: 3px; cursor: pointer; transition: 0.3s; }
#review_form_wrapper input[type='submit']:hover { background: #f4c000; color: #000; }

/* --- 8.10 Related & Upsells --- */
.related.products > h2, .up-sells > h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 28px; font-weight: 800; color: #111; border-bottom: 2px solid #0b3a1a; padding-bottom: 10px; margin-top: 50px; margin-bottom: 30px; }

/* --- 8.11 Sticky Add to Cart (Storefront Edge Case) --- */
.storefront-sticky-add-to-cart { background: rgba(255,255,255,0.95); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); border-top: 2px solid #0b3a1a; padding: 10px 0; }
.storefront-sticky-add-to-cart__content-price .price { color: #0b3a1a; font-weight: 800; font-size: 18px; }
.storefront-sticky-add-to-cart__content-button.button { background: #0b3a1a; color: #fff; text-transform: uppercase; font-weight: 700; border-radius: 3px; }
.storefront-sticky-add-to-cart__content-button.button:hover { background: #f4c000; color: #000; }




/* ============================================ */
/* ============================================ */

/* Override Storefront float-based layout with proper Flexbox */
.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 50px !important;
    align-items: flex-start !important;
    padding: 40px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery takes 50% on the left */
.single-product div.product .woocommerce-product-gallery {
    flex: 0 0 calc(50% - 25px) !important;
    width: calc(50% - 25px) !important;
    float: none !important;
    margin: 0 !important;
}

/* Summary takes 50% on the right */
.single-product div.product .summary {
    flex: 0 0 calc(50% - 25px) !important;
    width: calc(50% - 25px) !important;
    float: none !important;
    margin: 0 !important;
    padding-top: 0 !important;
}

/* Tabs and Related sections take full width below */
.single-product div.product .woocommerce-tabs {
    flex: 0 0 100% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.single-product div.product .related.products,
.single-product div.product .up-sells {
    flex: 0 0 100% !important;
    width: 100% !important;
    float: none !important;
}

/* --- Fix the Gallery main image to be larger and cleaner --- */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 15px;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 400px;
    object-fit: contain;
    padding: 20px;
}

/* Thumbnails Row */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 calc(20% - 7px);
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    border: 2px solid #e8e8e8 !important;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
    object-fit: cover;
    height: 70px;
    width: 100%;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #0b3a1a !important;
}

/* --- Summary Typography Deep Fix --- */
.single-product div.product .product_title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 12px;
    border-bottom: 3px solid #f4c000;
    padding-bottom: 15px;
}

.single-product div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}



.single-product div.product p.price ins {
    text-decoration: none;
    color: #0b3a1a;
}

.single-product div.product p.price del {
    font-size: 18px;
    color: #aaa;
    font-weight: 400;
}

/* TTC price line */
.single-product div.product .woocommerce-price-suffix {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    display: block;
    margin-bottom: 20px;
}

/* --- Action buttons: full-width stacked on product page --- */
.single-product div.product form.cart {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 20px 0 !important;
    padding: 20px 0 !important;
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
}

.single-product div.product form.cart .quantity {
    flex: 0 0 80px;
}

.single-product div.product form.cart .quantity input.qty {
    width: 80px !important;
    height: 52px !important;
    text-align: center;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: #fff !important;
    color: #111 !important;
}

.single-product div.product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 52px !important;
    background: #0b3a1a !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s, color 0.3s !important;
    letter-spacing: 0.5px;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
    background: #f4c000 !important;
    color: #000 !important;
}

/* Devis button - full width below cart form */
.yith-ywraq-add-to-quote {
    margin: 0 !important;
}

.yith-ywraq-add-to-quote .add-request-quote-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    background: #f4c000 !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: background 0.3s, color 0.3s !important;
    letter-spacing: 0.5px;
    margin-top: 10px !important;
}

.yith-ywraq-add-to-quote .add-request-quote-button:hover {
    background: #0b3a1a !important;
    color: #fff !important;
}

/* --- Fix tabs to be horizontal buttons (not sidebar float) --- */
.single-product .woocommerce-tabs { 
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin-top: 50px;
    border-top: 3px solid #0b3a1a;
    padding-top: 0;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid #ddd;
    gap: 0;
}

.single-product .woocommerce-tabs ul.tabs li {
    float: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li:hover a {
    color: #0b3a1a;
    border-bottom-color: #0b3a1a;
    background: transparent;
}

.single-product .woocommerce-tabs .panel {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .single-product div.product {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px 15px !important;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .single-product div.product .product_title {
        font-size: 24px;
    }

    
}




/* ============================================================ */
/* ============================================================ */

/* ---- WRAPPER: 2-column grid on desktop, 1-col on mobile ---- */
.single-product #primary {
    padding: 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    float: none !important;
    width: 100% !important;
}

.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    column-gap: 50px !important;
    row-gap: 0 !important;
    padding: 40px 30px 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    float: none !important;
    align-items: start !important;
}

/* Gallery stays in column 1 */
.single-product div.product .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important; /* Override WC JS opacity:0 */
}

/* Summary stays in column 2 */
.single-product div.product .summary {
    grid-column: 2 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tabs take full width — row 2 spanning both columns */
.single-product div.product .woocommerce-tabs {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    float: none !important;
    width: 100% !important;
    margin-top: 50px !important;
}

/* Related & upsells — full width row 3 */
.single-product div.product .related.products,
.single-product div.product .up-sells {
    grid-column: 1 / span 2 !important;
    float: none !important;
    width: 100% !important;
}

/* ---- GALLERY STYLING ---- */
.woocommerce-product-gallery {
    opacity: 1 !important; /* critical: WC JS sets opacity:0 then animates */
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: block;
    text-align: center;
    padding: 20px;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-height: 420px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* Thumbnails */
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none !important;
}
.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(20% - 7px) !important;
    float: none !important;
    margin: 0 !important;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 70px !important;
    object-fit: cover !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 5px !important;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.7;
}
.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #0b3a1a !important;
    opacity: 1;
}

/* ---- SUMMARY SECTION ---- */
.single-product div.product .product_title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
}

/* Yellow underline accent under title */
.single-product div.product .product_title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #f4c000;
    margin-top: 10px;
    border-radius: 2px;
}

.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 15px 0 20px;
}


.single-product div.product p.price ins { text-decoration: none !important; }
.single-product div.product p.price del {
    font-size: 18px !important;
    color: #aaa !important;
    font-weight: 400 !important;
    margin-right: 10px;
}
.single-product .woocommerce-price-suffix {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

/* En stock badge */
.single-product div.product .stock.in-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8f5e9;
    color: #0b3a1a;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.out-of-stock {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: #ffebee;
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ---- CART FORM (quantity + button) ---- */
.single-product div.product form.cart {
    display: flex !important;
    gap: 12px !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    margin: 0 0 15px !important;
    padding: 20px 0 !important;
    border-top: 1px solid #eee !important;
    border-bottom: none !important;
}
.single-product div.product form.cart .quantity {
    flex: 0 0 75px;
}
.single-product div.product form.cart .quantity input.qty {
    width: 75px !important;
    height: 54px !important;
    text-align: center !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
}
.single-product div.product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 54px !important;
    background: #0b3a1a !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.25s, color 0.25s !important;
    white-space: nowrap;
}
.single-product div.product form.cart .single_add_to_cart_button:hover {
    background: #f4c000 !important;
    color: #000 !important;
}

/* YITH Devis button */
.yith-ywraq-add-to-quote { width: 100%; margin: 0 0 20px !important; }
.yith-ywraq-add-to-quote .add-request-quote-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 54px !important;
    background: #f4c000 !important;
    color: #000 !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: background 0.25s, color 0.25s !important;
    box-sizing: border-box;
}
.yith-ywraq-add-to-quote .add-request-quote-button:hover {
    background: #0b3a1a !important;
    color: #fff !important;
}

/* ---- PRODUCT META ---- */
.product_meta {
    font-size: 13px;
    color: #777;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
.product_meta > span { display: block; margin-bottom: 5px; }
.product_meta a { color: #0b3a1a; font-weight: 700; text-decoration: none; }
.product_meta a:hover { color: #f4c000; }

/* ---- TABS REBUILD (horizontal, full width) ---- */
/* Override Storefront float tabs */
.single-product .storefront-full-width-content .woocommerce-tabs ul.tabs,
.single-product .woocommerce-tabs ul.tabs {
    float: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 0 0 !important;
    border: none !important;
    border-bottom: 2px solid #e0e0e0 !important;
    list-style: none !important;
}
.single-product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }

.single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 14px 24px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #666 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all 0.2s;
    background: transparent !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li:hover a {
    color: #0b3a1a !important;
    border-bottom-color: #0b3a1a !important;
    background: transparent !important;
}

/* Panels — override float */
.single-product .storefront-full-width-content .woocommerce-tabs .panel,
.single-product .woocommerce-tabs .panel {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    color: #444;
    line-height: 1.8;
    font-size: 15px;
}

/* Specs Table */
table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table.shop_attributes tr:nth-child(even) td,
table.shop_attributes tr:nth-child(even) th { background: #f8f9fa; }
table.shop_attributes th {
    width: 35%;
    padding: 12px 16px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: #333;
    text-align: left;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}
table.shop_attributes td {
    padding: 12px 16px;
    color: #555;
    border-bottom: 1px solid #eee;
}

/* ---- RELATED / UPSELLS ---- */
.related.products > h2, .up-sells > h2 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    padding-bottom: 12px !important;
    border-bottom: 3px solid #0b3a1a !important;
    margin-bottom: 30px !important;
}
.related.products ul.products,
.up-sells ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    float: none !important;
    width: 100% !important;
}

/* ---- MOBILE (max 768px) ---- */
@media (max-width: 768px) {
    .single-product div.product {
        grid-template-columns: 1fr !important;
        padding: 20px 15px 0 !important;
        column-gap: 0 !important;
    }
    .single-product div.product .woocommerce-product-gallery {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .single-product div.product .summary {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    .single-product div.product .woocommerce-tabs {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
    .single-product div.product .related.products,
    .single-product div.product .up-sells {
        grid-column: 1 !important;
    }
    .single-product div.product .product_title { font-size: 24px !important; }
    
    .related.products ul.products,
    .up-sells ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .woocommerce-product-gallery .flex-control-thumbs li { width: calc(25% - 6px) !important; }
}

/* ---- TABLET (768px - 1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
    .single-product div.product {
        grid-template-columns: 1fr 1fr !important;
        column-gap: 30px !important;
        padding: 30px 20px 0 !important;
    }
    .single-product div.product .product_title { font-size: 26px !important; }
}

/* ================================================= */
/* 🔥 PHASE 8 MASTER: SINGLE PRODUCT PAGE (FLEX)     */
/* ================================================= */

/* ---- Clearfix & Layout Reset ---- */
.site-content::after, .site-main::after, #content::after { content: ''; display: table; clear: both; }
.single-product #primary {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    float: none !important;
    width: 100% !important;
}

/* ---- Product Wrapper (Flexbox) ---- */
.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

/* ---- 50/50 Columns (Desktop) ---- */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .images {
    flex: 0 0 calc(50% - 25px) !important;
    max-width: calc(50% - 25px) !important;
    width: calc(50% - 25px) !important;
    margin: 0 !important;
    float: none !important;
    opacity: 1 !important; /* Fix WC JS bug */
    min-width: 0 !important; /* Fix Flexslider crush */
}

.single-product div.product .summary.entry-summary {
    flex: 0 0 calc(50% - 25px) !important;
    max-width: calc(50% - 25px) !important;
    width: calc(50% - 25px) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    min-width: 0 !important;
}

/* ---- Full Width Elements (Below) ---- */
.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .up-sells {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-top: 50px !important;
}

/* ---- Gallery Styling ---- */
.woocommerce-product-gallery__wrapper {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px !important;
    overflow: hidden;
}
.woocommerce-product-gallery__image {
    padding: 20px;
    text-align: center;
}
.woocommerce-product-gallery__image img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}
.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.flex-control-nav.flex-control-thumbs li {
    flex: 1 !important;
    margin: 0 !important;
    float: none !important;
}
.flex-control-nav.flex-control-thumbs li img {
    width: 100% !important;
    height: 80px !important;
    object-fit: cover !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    opacity: 0.6;
    cursor: pointer;
    transition: 0.2s;
}
.flex-control-nav.flex-control-thumbs li img.flex-active,
.flex-control-nav.flex-control-thumbs li img:hover {
    border-color: #0b3a1a !important;
    opacity: 1;
}

/* ---- Summary Styling ---- */
.single-product .product_title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin: 0 0 15px !important;
    border-bottom: 3px solid #f4c000 !important;
    padding-bottom: 15px !important;
}


.single-product div.product p.price del { font-size: 20px !important; color: #aaa !important; font-weight: 400 !important; margin-right: 10px; }
.woocommerce-price-suffix { font-size: 14px; color: #777; display: block; margin-bottom: 20px; }

/* ---- Cart & Devis Forms ---- */
.single-product div.product form.cart {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    margin: 25px 0 15px !important;
    padding: 25px 0 !important;
    border-top: 1px solid #eee !important;
}
.single-product div.product form.cart .quantity input.qty {
    width: 80px !important;
    height: 55px !important;
    border: 2px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
}
.single-product div.product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 55px !important;
    background: #0b3a1a !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s !important;
}
.single-product div.product form.cart .single_add_to_cart_button:hover { background: #f4c000 !important; color: #000 !important; }

.yith-ywraq-add-to-quote { width: 100% !important; margin-bottom: 25px !important; }
.yith-ywraq-add-to-quote .add-request-quote-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 55px !important;
    background: #f4c000 !important;
    color: #000 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: 0.3s !important;
}
.yith-ywraq-add-to-quote .add-request-quote-button:hover { background: #0b3a1a !important; color: #fff !important; }

/* ---- Tabs (Horizontal) ---- */
.single-product .woocommerce-tabs { border-top: 2px solid #0b3a1a !important; }
.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-direction: row !important;
    border-bottom: 1px solid #ddd !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
}
.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; border: none !important; background: transparent !important; }
.single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 15px 25px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #666 !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -1px !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a, .single-product .woocommerce-tabs ul.tabs li:hover a {
    color: #0b3a1a !important;
    border-bottom-color: #0b3a1a !important;
}

/* ---- Related Products ---- */
.single-product .related > h2 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #111 !important;
    border-bottom: 3px solid #0b3a1a !important;
    padding-bottom: 15px !important;
    margin-bottom: 30px !important;
}
.single-product .related ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.single-product .related ul.products li.product {
    flex: 0 0 calc(33.333% - 20px) !important;
    max-width: calc(33.333% - 20px) !important;
    margin: 0 !important;
}

/* ---- Shop Archive Float Fix ---- */
.archive.woocommerce #content {
    display: flex !important;
    gap: 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}
.archive.woocommerce #primary { flex: 1 !important; max-width: 100% !important; padding: 0 !important; float: none !important; }
.archive.woocommerce #secondary { flex: 0 0 300px !important; float: none !important; }

/* ---- MOBILE RESPONSIVENESS ---- */
@media (max-width: 768px) {
    .single-product div.product { flex-direction: column !important; }
    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .images,
    .single-product div.product .summary.entry-summary {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .single-product div.product .woocommerce-product-gallery { margin-bottom: 30px !important; }
    .single-product .product_title { font-size: 26px !important; }
    .single-product div.product form.cart { flex-direction: column !important; align-items: stretch !important; }
    .single-product div.product form.cart .quantity input.qty { width: 100% !important; }
    
    .single-product .related ul.products li.product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .archive.woocommerce #content { flex-direction: column !important; }
}



/* ================================================= */
/* 🔥 OVERRIDING STOREFRONT HIGH SPECIFICITY         */
/* ================================================= */

body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
body.storefront-full-width-content.single-product div.product .images {
    width: calc(50% - 25px) !important;
    max-width: calc(50% - 25px) !important;
    float: left !important;
    margin-right: 50px !important;
    margin-bottom: 50px !important;
    clear: none !important;
}

body.storefront-full-width-content.single-product div.product .summary.entry-summary {
    width: calc(50% - 25px) !important;
    max-width: calc(50% - 25px) !important;
    float: right !important;
    margin-right: 0 !important;
    margin-bottom: 50px !important;
    clear: none !important;
}

body.storefront-full-width-content.single-product div.product .woocommerce-tabs,
body.storefront-full-width-content.single-product div.product .related.products,
body.storefront-full-width-content.single-product div.product .up-sells {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Force block display to respect floats */
body.storefront-full-width-content.single-product div.product {
    display: block !important;
}

@media (max-width: 768px) {
    body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
    body.storefront-full-width-content.single-product div.product .images,
    body.storefront-full-width-content.single-product div.product .summary.entry-summary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}



/* ================================================= */
/* 🔥 EXTREME MOBILE RESPONSIVENESS FIX              */
/* ================================================= */

@media (max-width: 768px) {
    /* 1. Reset wrapper padding for mobile */
    body.storefront-full-width-content.single-product #primary {
        padding: 15px !important;
        overflow-x: hidden !important;
    }
    
    body.storefront-full-width-content.single-product div.product {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 2. Force Gallery to full width */
    body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
    body.storefront-full-width-content.single-product div.product .images {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 25px 0 !important;
    }
    
    /* Mobile Gallery Thumbnails Fix */
    .single-product .flex-control-nav.flex-control-thumbs li {
        width: calc(25% - 7px) !important; /* 4 in a row */
    }

    /* 3. Force Summary to full width */
    body.storefront-full-width-content.single-product div.product .summary.entry-summary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 30px 0 !important;
    }

    /* Mobile Typography Adjustments */
    .single-product .product_title {
        font-size: 26px !important;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }
    

    /* 4. Fix Cart / Add to Quote Buttons on Mobile */
    .single-product div.product form.cart {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 15px 0 !important;
        gap: 15px !important;
    }
    .single-product div.product form.cart .quantity,
    .single-product div.product form.cart .quantity input.qty {
        width: 100% !important;
    }
    .single-product div.product form.cart .single_add_to_cart_button {
        width: 100% !important;
    }

    /* 5. Fix Tabs to scroll horizontally or wrap */
    .single-product .woocommerce-tabs ul.tabs {
        flex-direction: column !important; /* Stack tabs vertically on very small screens */
        border-bottom: none !important;
    }
    .single-product .woocommerce-tabs ul.tabs li {
        width: 100% !important;
        border-bottom: 1px solid #ddd !important;
    }
    .single-product .woocommerce-tabs ul.tabs li a {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }

    /* 6. Fix Specifications Table */
    table.shop_attributes {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important; /* Allow scroll if table is too wide */
    }
    table.shop_attributes tbody {
        display: block !important;
        width: 100% !important;
    }
    table.shop_attributes tr {
        display: flex !important;
        flex-direction: column !important;
        border-bottom: 2px solid #ddd !important;
    }
    table.shop_attributes th {
        width: 100% !important;
        background: #f1f1f1 !important;
        border-bottom: none !important;
        padding: 10px 15px !important;
    }
    table.shop_attributes td {
        width: 100% !important;
        padding: 10px 15px 15px !important;
    }

    /* 7. Related Products Mobile Grid (2 columns or 1 column) */
    .single-product .related ul.products,
    .single-product .up-sells ul.products {
        display: flex !important;
        flex-direction: column !important; /* 1 card per row on mobile to prevent squishing */
        gap: 20px !important;
    }
    .single-product .related ul.products li.product,
    .single-product .up-sells ul.products li.product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
}



/* ================================================= */
/* 🔥 MOBILE REFINE: COOKIE BANNER & RELATED PRODUCTS*/
/* ================================================= */

/* Cookie Banner Global Fix */
html, body { overflow-x: hidden !important; width: 100%; max-width: 100vw; }
.lev-cookie-banner {
    max-width: 100vw !important;
    box-sizing: border-box !important;
    right: 0 !important;
    left: 0 !important;
}

@media (max-width: 768px) {
    /* 1. Cookie Banner Fix */
    .lev-cookie-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
        gap: 12px !important;
    }
    .lev-cookie-banner p { font-size: 11px !important; line-height: 1.4 !important; }
    .lev-cookie-btn { width: 100% !important; padding: 12px !important; }

    /* 2. Related Products Horizontal Card (Like Homepage) */
    .single-product .related ul.products,
    .single-product .up-sells ul.products {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    body.storefront-full-width-content.single-product .related ul.products li.product,
    body.storefront-full-width-content.single-product .up-sells ul.products li.product {
        display: grid !important;
        grid-template-columns: 110px 1fr !important;
        grid-template-rows: auto auto 1fr auto !important;
        grid-template-areas: 
            "img title"
            "img price"
            "img space"
            "img btn" !important;
        gap: 5px 15px !important;
        padding: 15px !important;
        background: #fff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        align-items: start !important;
        text-align: left !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    }

    /* Target the image wrapper */
    body.storefront-full-width-content.single-product .related ul.products li.product > a img,
    body.storefront-full-width-content.single-product .up-sells ul.products li.product > a img {
        grid-area: img !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    body.storefront-full-width-content.single-product .related ul.products li.product .woocommerce-loop-product__title,
    body.storefront-full-width-content.single-product .up-sells ul.products li.product .woocommerce-loop-product__title {
        grid-area: title !important;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #004d1a !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }

    body.storefront-full-width-content.single-product .related ul.products li.product .price,
    body.storefront-full-width-content.single-product .up-sells ul.products li.product .price {
        grid-area: price !important;
        font-size: 16px !important;
        color: #0b3a1a !important;
        font-weight: 800 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    body.storefront-full-width-content.single-product .related ul.products li.product .button,
    body.storefront-full-width-content.single-product .up-sells ul.products li.product .button {
        grid-area: btn !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        font-size: 12px !important;
        background: #0b3a1a !important;
        color: #fff !important;
        text-transform: uppercase !important;
        border-radius: 4px !important;
        text-align: center !important;
        display: block !important;
    }
}



/* ================================================= */
/* 🔥 MOBILE FIX 2: TRUE HORIZONTAL CARDS & COOKIES  */
/* ================================================= */

/* --- 1. Bulletproof Cookie Banner --- */
.lev-cookie-banner {
    width: 100vw !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .lev-cookie-banner {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 15px !important;
        text-align: center !important;
    }
    .lev-cookie-banner p {
        width: 100% !important;
        font-size: 11px !important;
        margin-bottom: 10px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .lev-cookie-banner .lev-cookie-btn {
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
    }

    /* --- 2. Remove Previous Broken Wrapper CSS --- */
    body.storefront-full-width-content.single-product .related ul.products li.product,
    body.storefront-full-width-content.single-product .up-sells ul.products li.product {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* --- 3. Apply Grid to lev-card-inner for True Horizontal Cards --- */
    .single-product .related ul.products li.product .lev-card-inner,
    .single-product .up-sells ul.products li.product .lev-card-inner {
        display: grid !important;
        grid-template-columns: 120px 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        grid-template-areas: 
            "img title"
            "img specs"
            "img price"
            "img btn" !important;
        gap: 5px 15px !important;
        padding: 15px !important;
        background: #fff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        align-items: center !important;
        text-align: left !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
        position: relative !important;
    }

    /* Fix Black Card specifically */
    li.product.post-43 .lev-card-inner {
        background: #111 !important;
        border-color: #222 !important;
    }

    /* Image Wrapper */
    .single-product .related ul.products li.product .lev-card-img-container {
        grid-area: img !important;
        height: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .single-product .related ul.products li.product .lev-card-img-container img {
        width: 100% !important;
        max-width: 100px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Title */
    .single-product .related ul.products li.product .lev-true-title {
        grid-area: title !important;
        font-size: 15px !important;
        text-align: left !important;
        margin: 0 0 5px 0 !important;
        padding: 0 !important;
        align-self: end !important;
    }

    /* Hide subtitle to save space */
    .single-product .related ul.products li.product .lev-true-subtitle {
        display: none !important;
    }

    /* Specs / Variants */
    .single-product .related ul.products li.product .lev-true-specs,
    .single-product .related ul.products li.product .lev-true-var {
        grid-area: specs !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    .single-product .related ul.products li.product .lev-true-specs div {
        flex-direction: row !important;
        gap: 5px !important;
    }
    .single-product .related ul.products li.product .lev-true-specs svg {
        width: 16px !important; height: 16px !important; margin: 0 !important;
    }
    .single-product .related ul.products li.product .lev-true-specs span {
        display: none !important; /* Hide labels */
    }
    .single-product .related ul.products li.product .lev-true-specs strong {
        font-size: 11px !important;
        margin: 0 !important;
    }

    /* Nettoyeur Black Card Fixes */
    li.product.post-43 .lev-true-var { flex-direction: column !important; align-items: flex-start !important; gap: 5px !important; }
    li.product.post-43 .lev-true-var strong { font-size: 11px !important; margin: 0 !important; text-align: left !important; }
    li.product.post-43 .lev-sml { justify-content: flex-start !important; gap: 5px !important; margin: 0 !important; }
    li.product.post-43 .lev-sml span { padding: 2px 6px !important; font-size: 10px !important; }

    /* Price */
    .single-product .related ul.products li.product .lev-true-price {
        grid-area: price !important;
        text-align: left !important;
        margin: 0 0 5px 0 !important;
        padding: 0 !important;
    }
    .single-product .related ul.products li.product .lev-true-price strong {
        font-size: 18px !important;
    }

    /* Button */
    .single-product .related ul.products li.product .lev-true-btn {
        grid-area: btn !important;
        width: auto !important;
        display: inline-block !important;
        padding: 8px 12px !important;
        font-size: 11px !important;
        margin: 0 !important;
        text-align: center !important;
        align-self: start !important;
    }

    /* Badge */
    .single-product .related ul.products li.product .lev-badge {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        font-size: 9px !important;
        padding: 3px 8px !important;
        border-radius: 8px 0 8px 0 !important;
    }
}



/* ================================================= */
/* 🔥 MOBILE FIX 3: COOKIE BANNER ANIMATION          */
/* ================================================= */
.lev-cookie-banner {
    bottom: auto !important; /* Remove old bottom properties */
    top: 100vh !important; /* Push it completely off screen */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: translateY(0);
}
.lev-cookie-banner.show {
    transform: translateY(-100%) !important; /* Slide up exactly its own height */
}



/* ==========================================
   PHASE 9: QUOTE, CART & CHECKOUT (THE 1000% MASTER PLAN)
   ========================================== */


/* ==========================================
   PHASE 8.5: ULTRA-PREMIUM TABS (MINIMALIST)
   ========================================== */

/* 1. Reset all Storefront garbage lines and floats */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
    border: none !important;
    background: transparent !important;
    position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before, 
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, 
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }

/* 2. Style the Tab Links (Minimalist & Bold) */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 10px 0 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #111 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #0b3a1a !important;
    font-weight: 700 !important;
    border-bottom: 3px solid #f4c000 !important;
}

/* 3. The Content Panel */
.woocommerce div.product .woocommerce-tabs .panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
    max-width: 800px !important;
}
.woocommerce div.product .woocommerce-tabs .panel h2:first-of-type {
    display: none !important; /* Hide redundant title */
}

/* Typography Inside Panel */
.woocommerce div.product .woocommerce-tabs .panel p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    color: #444 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}
.woocommerce div.product .woocommerce-tabs .panel ul {
    font-size: 16px !important;
    color: #444 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    padding-left: 20px !important;
}
.woocommerce div.product .woocommerce-tabs .panel li {
    margin-bottom: 10px !important;
}

/* 4. Remove Storefront native giant horizontal lines from Headers */
.woocommerce div.product .related.products > h2, 
.woocommerce div.product .up-sells > h2 {
    text-align: center !important;
    border-bottom: none !important;
    margin-bottom: 40px !important;
}
.woocommerce div.product .related.products > h2::after, 
.woocommerce div.product .up-sells > h2::after {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 4px !important;
    background: #0b3a1a !important;
    margin: 15px auto 0 auto !important;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        font-size: 16px !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid #eaeaea !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
        border-bottom: 3px solid #f4c000 !important;
    }
}

/* --- 9.0 GLOBAL WOOCOMMERCE TABLES --- */
.woocommerce table.shop_table, .woocommerce table.ywraq-list-table {
    border: 1px solid #eaeaea; border-radius: 8px; border-collapse: separate; border-spacing: 0; width: 100%; margin-bottom: 30px; background: #fff; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.woocommerce table.shop_table th, .woocommerce table.ywraq-list-table th {
    background: #0b3a1a; color: #fff; text-transform: uppercase; padding: 18px 20px; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 1px; border: none; font-size: 16px;
}
.woocommerce table.shop_table td, .woocommerce table.ywraq-list-table td {
    padding: 20px; border-top: 1px solid #eaeaea; vertical-align: middle; color: #444; font-size: 15px;
}
.woocommerce table.shop_table .product-name a, .woocommerce table.ywraq-list-table .product-name a {
    color: #0b3a1a; font-weight: 700; text-decoration: none; font-size: 16px; display: block; margin-bottom: 5px;
}
.woocommerce table.shop_table .product-name a:hover, .woocommerce table.ywraq-list-table .product-name a:hover {
    color: #f4c000;
}
.woocommerce table.shop_table .remove, .woocommerce table.ywraq-list-table .remove {
    color: #cc0000 !important; font-weight: bold; font-size: 24px; text-decoration: none; display: flex; justify-content: center; align-items: center; width: 30px; height: 30px; border-radius: 50%; transition: 0.3s;
}
.woocommerce table.shop_table .remove:hover, .woocommerce table.ywraq-list-table .remove:hover {
    background: #ffeeee !important; color: #ff0000 !important;
}
.woocommerce table.shop_table img, .woocommerce table.ywraq-list-table img {
    max-width: 90px; height: auto; border-radius: 6px; border: 1px solid #eee; padding: 5px; background: #fff;
}

/* --- 9.1 YITH QUOTE PAGE (`/request-quote/`) --- */
.ywraq-list-table .product-quantity input.qty {
    width: 60px; padding: 10px; border: 1px solid #ccc; border-radius: 4px; text-align: center; font-weight: bold; height: auto;
}
#yith-ywraq-form {
    background: #fdfdfd; padding: 30px; border-radius: 8px; border: 1px solid #eee; margin-top: 30px;
}
#yith-ywraq-form p.form-row label {
    font-weight: 700; color: #111; margin-bottom: 8px;
}
#yith-ywraq-form input[type='text'], #yith-ywraq-form input[type='email'], #yith-ywraq-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; background: #fff; transition: border-color 0.3s; font-family: inherit;
}
#yith-ywraq-form input[type='text']:focus, #yith-ywraq-form input[type='email']:focus, #yith-ywraq-form textarea:focus {
    border-color: #0b3a1a; outline: none; box-shadow: 0 0 0 2px rgba(11, 58, 26, 0.1);
}
.ywraq-list-table-actions .button, #yith-ywraq-form input[type='submit'] {
    background: #0b3a1a; color: #fff; font-weight: 800; text-transform: uppercase; border: none; padding: 15px 30px; border-radius: 4px; cursor: pointer; transition: 0.3s; font-size: 14px;
}
.ywraq-list-table-actions .button:hover, #yith-ywraq-form input[type='submit']:hover {
    background: #f4c000; color: #111;
}

/* --- 9.2 CART PAGE (`/cart/`) --- */
/* Coupon Box */
.woocommerce-cart .coupon { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.woocommerce-cart .coupon input.input-text { width: 250px !important; padding: 12px 15px !important; border: 1px solid #ddd; border-radius: 4px; font-weight: bold; text-transform: uppercase; height: auto; }
.woocommerce-cart .coupon button.button { background: #333 !important; color: #fff !important; font-weight: bold; border-radius: 4px; padding: 12px 25px !important; height: auto; }
.woocommerce-cart .coupon button.button:hover { background: #111 !important; }
.woocommerce-cart-form button[name='update_cart'] { padding: 12px 25px; border-radius: 4px; font-weight: bold; background: #f4c000 !important; color: #111 !important; }

/* Cart Totals Box */
.cart-collaterals .cart_totals { background: #fdfdfd; border: 1px solid #eaeaea; border-radius: 8px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.cart-collaterals .cart_totals h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 24px; font-weight: 800; border-bottom: 2px solid #0b3a1a; padding-bottom: 15px; margin-bottom: 20px; }
.cart-collaterals .cart_totals table { width: 100%; border-collapse: collapse; }
.cart-collaterals .cart_totals table th { text-align: left; padding: 15px 0; border-bottom: 1px solid #eee; font-weight: 700; color: #111; }
.cart-collaterals .cart_totals table td { text-align: right; padding: 15px 0; border-bottom: 1px solid #eee; font-weight: bold; color: #0b3a1a; }
.cart-collaterals .cart_totals table tr.order-total td strong { font-size: 24px; color: #000; }

/* Shipping Calculator (The Micro-Detail) */
.shipping-calculator-button { color: #0b3a1a !important; font-weight: bold; text-decoration: underline; margin-top: 10px; display: inline-block; }
.shipping-calculator-form { background: #f5f5f5; padding: 15px; border-radius: 4px; margin-top: 15px; }
.shipping-calculator-form .input-text, .shipping-calculator-form select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 10px; background: #fff; }
.shipping-calculator-form button.button { width: 100%; background: #333 !important; color: #fff !important; padding: 10px !important; }

/* Proceed to Checkout Button */
.wc-proceed-to-checkout { margin-top: 30px; }
.wc-proceed-to-checkout a.checkout-button { display: block; width: 100%; text-align: center; background: #0b3a1a !important; color: #fff !important; font-size: 18px !important; font-weight: 800 !important; padding: 20px !important; border-radius: 6px; text-transform: uppercase; transition: 0.3s; box-shadow: 0 4px 10px rgba(11, 58, 26, 0.2); }
.wc-proceed-to-checkout a.checkout-button:hover { background: #f4c000 !important; color: #111 !important; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(244, 192, 0, 0.3); }

/* Empty Cart */
.cart-empty { background: #fdfdfd; border-left: 5px solid #f4c000; padding: 20px 30px; border-radius: 4px; font-size: 16px; font-weight: 500; color: #333; margin-bottom: 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
p.return-to-shop a.button { background: #0b3a1a !important; color: #fff !important; padding: 15px 30px !important; font-weight: 800 !important; border-radius: 4px; text-transform: uppercase; }


/* --- 9.3 CHECKOUT PAGE (`/checkout/`) --- */
#customer_details { margin-bottom: 40px; }
.woocommerce-checkout h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 24px; font-weight: 800; color: #111; border-bottom: 2px solid #0b3a1a; padding-bottom: 10px; margin-bottom: 25px; }

/* Form Fields */
.woocommerce-checkout .form-row label { font-weight: 600; color: #333; margin-bottom: 8px; display: block; }
.woocommerce-checkout .form-row label abbr.required { color: #cc0000; text-decoration: none; border: none; font-weight: bold; }
.woocommerce-checkout .form-row input.input-text, 
.woocommerce-checkout .form-row select, 
.woocommerce-checkout .form-row textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; background: #fff; transition: border-color 0.3s; font-family: inherit; font-size: 15px; }
.woocommerce-checkout .form-row input.input-text:focus, 
.woocommerce-checkout .form-row select:focus, 
.woocommerce-checkout .form-row textarea:focus { border-color: #0b3a1a; outline: none; box-shadow: 0 0 0 2px rgba(11, 58, 26, 0.1); }

/* Create Account Toggle (The Micro-Detail) */
.woocommerce-account-fields .create-account label.checkbox { font-weight: 700; color: #0b3a1a; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 15px; background: #fdfdfd; border: 1px solid #eaeaea; border-radius: 4px; }
.woocommerce-account-fields .create-account input[type='checkbox'] { width: 18px; height: 18px; cursor: pointer; }
.woocommerce-account-fields div.create-account { background: #f9f9f9; padding: 20px; border: 1px solid #eee; border-top: none; border-radius: 0 0 4px 4px; }

/* Order Review Box */
#order_review { background: #fdfdfd; border: 1px solid #eaeaea; border-radius: 8px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.woocommerce-checkout-review-order-table th, 
.woocommerce-checkout-review-order-table td { padding: 15px 0; border-bottom: 1px solid #eee; }
.woocommerce-checkout-review-order-table th { font-weight: 700; color: #111; }
.woocommerce-checkout-review-order-table td { text-align: right; font-weight: 600; color: #333; }
.woocommerce-checkout-review-order-table tr.order-total td strong { font-size: 24px; color: #0b3a1a; }

/* Payment Methods */
#payment.woocommerce-checkout-payment { background: #f5f7f9; border-radius: 6px; border: 1px solid #e5e9ed; padding: 25px; margin-top: 30px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 20px 0; border-bottom: 1px solid #ddd; }
#payment ul.payment_methods li { padding: 15px 0; }
#payment ul.payment_methods li label { font-weight: 700; color: #111; font-size: 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
#payment div.payment_box { background: #fff; padding: 15px; border-radius: 4px; border: 1px solid #ddd; margin-top: 10px; font-size: 14px; color: #555; position: relative; }
#payment div.payment_box::before { content: ''; display: block; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #ddd; position: absolute; top: -8px; left: 20px; }

/* Terms & Conditions (The Micro-Detail) */
.woocommerce-terms-and-conditions-wrapper { margin: 20px 0; background: #fff; padding: 15px; border: 1px solid #eaeaea; border-radius: 4px; }
.woocommerce-terms-and-conditions-wrapper label.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: #333; cursor: pointer; }
.woocommerce-terms-and-conditions-wrapper input[type='checkbox'] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; }

/* Place Order Button */
#payment #place_order { width: 100%; background: #0b3a1a !important; color: #fff !important; font-size: 20px !important; font-weight: 800 !important; padding: 22px !important; border-radius: 6px; text-transform: uppercase; transition: 0.3s; box-shadow: 0 4px 10px rgba(11, 58, 26, 0.2); border: none; cursor: pointer; }
#payment #place_order:hover { background: #f4c000 !important; color: #111 !important; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(244, 192, 0, 0.3); }


/* --- 9.4 THANK YOU PAGE (`/checkout/order-received/`) --- */
.woocommerce-order-received .woocommerce-notice--success { background: #e6f6eb; color: #0b3a1a; border: 1px solid #c3ebce; padding: 20px; border-radius: 6px; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.woocommerce-order-received .woocommerce-notice--success::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #0b3a1a; color: #fff; border-radius: 50%; font-size: 18px; font-family: sans-serif; }
ul.order_details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fdfdfd; padding: 30px; border: 1px solid #eaeaea; border-radius: 8px; list-style: none; margin: 0 0 40px 0; }
ul.order_details li { border-right: 1px solid #eee; padding-right: 20px; font-size: 13px; color: #777; text-transform: uppercase; }
ul.order_details li:last-child { border-right: none; }
ul.order_details li strong { display: block; font-size: 16px; color: #111; margin-top: 5px; text-transform: none; }


/* --- 9.5 RESPONSIVE MOBILE TWEAKS --- */
@media (max-width: 768px) {
    /* Stack generic tables natively so they don't horizontal scroll */
    .woocommerce table.shop_table_responsive, .woocommerce table.ywraq-list-table {
        border: none !important; box-shadow: none !important; background: transparent !important;
    }
    .woocommerce table.shop_table_responsive thead, .woocommerce table.ywraq-list-table thead { display: none !important; }
    .woocommerce table.shop_table_responsive tr, .woocommerce table.ywraq-list-table tr {
        display: block !important; margin-bottom: 20px !important; background: #fff !important; border: 1px solid #eaeaea !important; border-radius: 8px !important; padding: 15px !important; box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
    }
    .woocommerce table.shop_table_responsive td, .woocommerce table.ywraq-list-table td {
        display: flex !important; justify-content: space-between !important; align-items: center !important; text-align: right !important; padding: 12px 0 !important; border-top: 1px solid #eee !important;
    }
    .woocommerce table.shop_table_responsive td:first-child, .woocommerce table.ywraq-list-table td:first-child { border-top: none !important; }
    .woocommerce table.shop_table_responsive td::before, .woocommerce table.ywraq-list-table td::before {
        content: attr(data-title) ': ' !important; font-weight: 700 !important; color: #111 !important; text-transform: uppercase !important; font-size: 12px !important;
    }
    
    /* Cart Mobile Fixes */
    .woocommerce-cart .coupon { flex-direction: column !important; width: 100% !important; }
    .woocommerce-cart .coupon input.input-text, .woocommerce-cart .coupon button.button { width: 100% !important; margin-bottom: 10px !important; }
    .cart-collaterals .cart_totals { padding: 20px !important; }
    .cart-collaterals .cart_totals table td { text-align: right !important; }
    
    /* Checkout Mobile Fixes */
    .woocommerce-checkout #customer_details { margin-bottom: 20px !important; }
    .woocommerce-checkout .col-1, .woocommerce-checkout .col-2 { width: 100% !important; float: none !important; margin-bottom: 20px !important; }
    #order_review { padding: 20px !important; }
    
    /* Order Received Mobile */
    ul.order_details { grid-template-columns: 1fr !important; padding: 20px !important; }
    ul.order_details li { border-right: none !important; border-bottom: 1px solid #eee !important; padding-bottom: 15px !important; padding-right: 0 !important; }
    ul.order_details li:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
}




/* Empty Quote List Fix */




/* Safe Empty Quote List Fix */
.ywraq-form-table-wrapper > p:first-child:last-child {
    background: #fdfdfd; border-left: 5px solid #0b3a1a; padding: 20px 30px; border-radius: 4px; font-size: 16px; font-weight: 500; color: #333; margin-bottom: 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); max-width: 800px; margin: 0 auto;
}
.ywraq-form-table-wrapper > p:first-child:last-child::after {
    content: 'Retour à la boutique'; display: block; margin-top: 15px; background: #f4c000; color: #111; padding: 12px 25px; font-weight: 800; border-radius: 4px; width: fit-content; text-transform: uppercase; cursor: pointer;
}

/* Fix Giant Yellow Empty Cart Bar */
.cart-empty.woocommerce-info {
    background: #fdfdfd !important;
    border-left: 5px solid #0b3a1a !important;
    color: #333 !important;
    max-width: 800px;
    margin: 0 auto 30px auto !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}





/* ==========================================
   PHASE 8.6: PRODUCT SUMMARY PREMIUM REDESIGN
   ========================================== */

/* Spacing from Gallery */
@media (min-width: 992px) {
    .single-product div.product .summary {
        padding-left: 50px !important;
    }
}

/* 1. Title */
.single-product div.product .product_title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin-bottom: 25px !important;
    border-bottom: 3px solid #f4c000 !important;
    padding-bottom: 15px !important;
    display: inline-block !important; /* Hugs width */
}

/* 2. Short Description */
.woocommerce-product-details__short-description {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    color: #444 !important;
    line-height: 1.8 !important;
    margin-bottom: 30px !important;
}
.woocommerce-product-details__short-description p {
    margin-bottom: 15px !important;
}

/* 3. Premium Price Block */
.single-product div.product p.price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    background: #fdfdfd !important;
    border-left: 5px solid #0b3a1a !important;
    padding: 20px 25px !important;
    border-radius: 0 6px 6px 0 !important;
    margin-bottom: 35px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}
.single-product div.product p.price > span:first-child,
.single-product div.product p.price .woocommerce-Price-amount {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #0b3a1a !important;
    font-family: 'Oswald', sans-serif !important;
}
.single-product div.product p.price small {
    font-size: 16px !important;
    color: #777 !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
    letter-spacing: 0.5px !important;
}

/* 4. Features Grid Fixes */
.summary ul, .summary .lev-feature-list {
    border-left: none !important; /* Remove the old weird vertical line */
}

/* 5. Add to Cart / Actions Action Box */
.single-product div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 35px !important;
    padding: 25px !important;
    background: #fff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
}
.single-product div.product form.cart .quantity {
    margin: 0 !important;
}
.single-product div.product form.cart .quantity input.qty {
    width: 70px !important;
    height: 55px !important;
    border: 2px solid #e5e9ed !important;
    border-radius: 6px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    background: #fdfdfd !important;
}
.single-product div.product form.cart button.single_add_to_cart_button {
    height: 55px !important;
    padding: 0 35px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    background: #f4c000 !important;
    color: #111 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    float: none !important; /* Stop Storefront floating */
}
.single-product div.product form.cart button.single_add_to_cart_button:hover {
    background: #0b3a1a !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(11, 58, 26, 0.2) !important;
}

/* 6. YITH Quote Alert (Fix the ugly purple text) */
.yith-ywraq-add-to-quote {
    width: 100% !important;
    margin-top: 15px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #444 !important;
    padding: 20px !important;
    background: #f5f7f9 !important;
    border-radius: 6px !important;
    border: 1px solid #e5e9ed !important;
}
.yith-ywraq-add-to-quote a {
    display: inline-block !important;
    background: #0b3a1a !important;
    color: #fff !important;
    padding: 12px 25px !important;
    border-radius: 4px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin-top: 12px !important;
    transition: 0.3s !important;
    letter-spacing: 0.5px !important;
}
.yith-ywraq-add-to-quote a:hover {
    background: #f4c000 !important;
    color: #111 !important;
}

/* 7. Product Meta (Categories) */
.product_meta {
    font-size: 14px !important;
    color: #888 !important;
    padding-top: 25px !important;
    border-top: 1px solid #eee !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.product_meta span {
    font-weight: 600 !important;
    color: #333 !important;
}
.product_meta a {
    color: #0b3a1a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.product_meta a:hover {
    color: #f4c000 !important;
    text-decoration: underline !important;
}


/* ==========================================
   PHASE 10: MY ACCOUNT & AUTHENTICATION
   ========================================== */

/* --- 10.1 Login & Register Split Form --- */
.woocommerce-account .woocommerce { 
    max-width: 1200px; 
    margin: 0 auto; 
}
#customer_login {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}
#customer_login .u-column1, #customer_login .u-column2 {
    flex: 1 1 45%;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    float: none !important; 
    width: auto !important;
}
#customer_login h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #0b3a1a;
    border-bottom: 3px solid #f4c000;
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
}

/* Forms general */
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.woocommerce-form-row {
    margin-bottom: 20px;
}
.woocommerce-form-row label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
}
.woocommerce-form-row input.input-text {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    transition: 0.3s !important;
    background: #fdfdfd !important;
    height: auto !important;
}
.woocommerce-form-row input.input-text:focus {
    border-color: #0b3a1a !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(11, 58, 26, 0.1) !important;
}

/* Auth Buttons */
.woocommerce button[name='login'], .woocommerce button[name='register'], .woocommerce button[value='Reset password'], .woocommerce-ResetPassword button[type='submit'] {
    background: #0b3a1a !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px 30px !important;
    border-radius: 6px !important;
    border: none !important;
    transition: 0.3s !important;
    width: 100% !important;
    margin-top: 10px !important;
    cursor: pointer;
}
.woocommerce button[name='login']:hover, .woocommerce button[name='register']:hover, .woocommerce button[value='Reset password']:hover {
    background: #f4c000 !important;
    color: #111 !important;
}

/* Remember Me & Lost Password */
.woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
    cursor: pointer;
}
.woocommerce-form-login__rememberme input[type='checkbox'] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer;
}
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 15px;
}
.woocommerce-LostPassword a {
    color: #555;
    font-weight: 600;
    text-decoration: underline;
}
.woocommerce-LostPassword a:hover {
    color: #0b3a1a;
}

/* Lost Password Page Centering */
.woocommerce-ResetPassword, .lost_reset_password {
    max-width: 600px !important;
    margin: 60px auto !important;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
}

/* --- 10.2 Dashboard Layout --- */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left !important;
    width: 25% !important;
    margin-bottom: 40px !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: right !important;
    width: 72% !important;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    margin-bottom: 40px !important;
}

/* --- 10.3 Dashboard Navigation Sidebar --- */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 5px !important;
    border-bottom: none !important;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #444 !important;
    background: #f9f9f9 !important;
    border-radius: 6px !important;
    border: 1px solid #eee !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #eaeaea !important;
    color: #111 !important;
    padding-left: 25px !important; /* Subtle slide effect */
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #0b3a1a !important;
    color: #fff !important;
    border-color: #0b3a1a !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #cc0000 !important;
    background: #fff5f5 !important;
    border-color: #ffcccc !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #cc0000 !important;
    color: #fff !important;
}

/* --- 10.4 Dashboard Content Styling --- */
/* Orders Table */
.woocommerce-MyAccount-content table.woocommerce-orders-table {
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    border-collapse: collapse !important;
}
.woocommerce-MyAccount-content table.woocommerce-orders-table th {
    background: #f5f7f9 !important;
    color: #111 !important;
    font-weight: 700 !important;
    padding: 15px !important;
    border-bottom: 1px solid #eaeaea !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
}
.woocommerce-MyAccount-content table.woocommerce-orders-table td {
    padding: 15px !important;
    border-bottom: 1px solid #eaeaea !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    vertical-align: middle !important;
}
.woocommerce-MyAccount-content table.woocommerce-orders-table .button.view {
    background: #0b3a1a !important;
    color: #fff !important;
    font-weight: bold !important;
    padding: 8px 15px !important;
    border-radius: 4px !important;
    text-transform: none !important;
}
.woocommerce-MyAccount-content table.woocommerce-orders-table .button.view:hover {
    background: #f4c000 !important;
    color: #111 !important;
}

/* Addresses */
.woocommerce-Addresses {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 20px !important;
}
.woocommerce-Addresses .woocommerce-Address {
    flex: 1 !important;
    min-width: 250px !important;
    background: #f9f9f9 !important;
    padding: 25px !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    float: none !important;
    width: auto !important;
}
.woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #eaeaea !important;
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
}
.woocommerce-Address-title h3 {
    margin: 0 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 20px !important;
    text-transform: uppercase !important;
    color: #0b3a1a !important;
}
.woocommerce-Address-title .edit {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0b3a1a !important;
    text-decoration: underline !important;
}
.woocommerce-Address-title .edit:hover {
    color: #f4c000 !important;
}

/* Account Details Form */
.woocommerce-EditAccountForm fieldset {
    background: #f5f7f9 !important;
    padding: 30px !important;
    border: 1px solid #e5e9ed !important;
    border-radius: 8px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}
.woocommerce-EditAccountForm fieldset legend {
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #0b3a1a !important;
    padding: 0 10px !important;
    background: #f5f7f9 !important;
}
.woocommerce-EditAccountForm button[name='save_account_details'] {
    background: #0b3a1a !important;
    color: #fff !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    transition: 0.3s !important;
    border: none !important;
}
.woocommerce-EditAccountForm button[name='save_account_details']:hover {
    background: #f4c000 !important;
    color: #111 !important;
}

/* --- 10.5 Responsive Mobile Rules --- */
@media (max-width: 768px) {
    #customer_login {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px !important;
    }
    .woocommerce-Addresses {
        flex-direction: column !important;
        gap: 20px !important;
    }
}


/* ==========================================
   PHASE 11: GLOBAL ALERTS (MODERN SAAS STYLE)
   ========================================== */

/* Animation for Alerts */
@keyframes slideDownAlert {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Base Alert Styling */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info,
.woocommerce-store-notice {
    background: #fff !important;
    color: #333 !important;
    padding: 20px 25px 20px 60px !important;
    border-radius: 6px !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin: 0 auto 35px auto !important;
    max-width: 900px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    position: relative !important;
    animation: slideDownAlert 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    list-style: none !important;
}

/* Icons (using generic Storefront icons or Unicode) */
.woocommerce-message::before, 
.woocommerce-error::before, 
.woocommerce-info::before {
    font-family: 'Storefront' !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 20px !important;
}

/* 1. SUCCESS (.woocommerce-message) */
.woocommerce-message {
    border-left: 6px solid #0b3a1a !important;
}
.woocommerce-message::before {
    color: #0b3a1a !important;
    content: '\e015' !important; /* Storefront Check Icon */
}
/* Links / Buttons inside Success Alert */
.woocommerce-message a.button {
    background: #f4c000 !important;
    color: #111 !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    float: right !important;
    margin-top: -6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}
.woocommerce-message a.button:hover {
    background: #0b3a1a !important;
    color: #fff !important;
}

/* 2. ERROR (.woocommerce-error) */
.woocommerce-error {
    border-left: 6px solid #e74c3c !important;
}
.woocommerce-error::before {
    color: #e74c3c !important;
    content: '\e016' !important; /* Storefront X Icon */
}
.woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 3. INFO / NOTICE (.woocommerce-info) */
.woocommerce-info {
    border-left: 6px solid #f4c000 !important;
}
.woocommerce-info::before {
    color: #f4c000 !important;
    content: '\e018' !important; /* Storefront Info Icon */
}



/* ==========================================
   PHASE 13: THE "UNMENTIONED" PREMIUM DETAILS
   ========================================== */

/* 1. Mini-Cart Dropdown (Header Cart) */
.widget_shopping_cart_content {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border: 1px solid #eaeaea !important;
    padding: 20px !important;
}
.widget_shopping_cart_content .cart_list li {
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee !important;
}
.widget_shopping_cart_content .cart_list li a.remove {
    color: #e74c3c !important;
    background: transparent !important;
    font-weight: bold !important;
}
.widget_shopping_cart_content .total {
    border-top: 2px solid #0b3a1a !important;
    padding-top: 15px !important;
    font-weight: 800 !important;
    color: #0b3a1a !important;
    font-size: 18px !important;
}
.widget_shopping_cart_content .buttons .button {
    border-radius: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
}
.widget_shopping_cart_content .buttons .checkout {
    background: #0b3a1a !important;
    color: #fff !important;
}

/* 2. Password Strength Meter (Registration/Account Edit) */
.woocommerce-password-strength {
    text-align: center !important;
    font-weight: 600 !important;
    padding: 10px !important;
    border-radius: 4px !important;
    margin-top: 10px !important;
    font-size: 14px !important;
    display: block !important;
}
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: #fde8e8 !important; color: #e74c3c !important; }
.woocommerce-password-strength.good { background: #e6f6eb !important; color: #0b3a1a !important; }
.woocommerce-password-strength.strong { background: #0b3a1a !important; color: #fff !important; }
.woocommerce-password-hint {
    font-size: 13px !important;
    color: #777 !important;
    margin-top: 8px !important;
    display: block !important;
}

/* 3. Select2 Dropdowns (Checkout Country/State) */
.select2-container .select2-selection--single {
    height: 48px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #fdfdfd !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 15px !important;
    color: #333 !important;
    font-size: 16px !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

/* 4. Empty Search Results */
.woocommerce-no-products-found {
    background: #fdfdfd !important;
    border-left: 5px solid #0b3a1a !important;
    padding: 20px 30px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}


/* ==========================================
   PHASE 2: POST-LAUNCH CLIENT FIXES
   (Mobile, Tablet, Edge Layout Deep Fixes)
   ========================================== */

/* --- 1. MOBILE FIXES (max-width: 767px) --- */
@media (max-width: 767px) {
    .home .products, .post-type-archive-product .products {
        display: flex !important; flex-wrap: nowrap !important;
        overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important; padding-bottom: 20px !important;
    }
    .home .products li.product, .post-type-archive-product .products li.product {
        flex: 0 0 85% !important; scroll-snap-align: center !important;
    }
    .single-product div.product, .single-product div.product .summary {
        display: flex !important; flex-direction: column !important; width: 100% !important;
    }
    .woocommerce-product-gallery { width: 100% !important; max-width: none !important; }
    .woocommerce-product-gallery__trigger { position: absolute !important; top: 10px !important; right: 10px !important; display: block !important; z-index: 99 !important; }
    .woocommerce-terms-and-conditions-wrapper label, .woocommerce-terms-and-conditions-wrapper .required { display: inline !important; }
    .cookie-notice-container { padding-bottom: 25px !important; }
}

/* --- 2. TABLET FIXES (min-width: 768px to 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .home-products-section { display: flex !important; flex-direction: column !important; }
    .home-sav-block { width: 100% !important; margin-top: 30px !important; position: relative !important; z-index: 10 !important; }
    .home-product-col { width: 100% !important; z-index: 1 !important; }
    .home-features-row { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
    .home-feature-item { flex: 1 1 45% !important; margin-bottom: 20px !important; }
    .woocommerce-product-gallery { overflow: hidden !important; }
    .woocommerce-product-gallery__trigger { position: absolute !important; top: 10px !important; right: 10px !important; z-index: 99 !important; }
    .site-footer img.custom-logo { max-width: 150px !important; height: auto !important; }
    .hero-right-machine { display: none !important; }
    .besoin-conseil-block { margin-top: 25px !important; clear: both !important; }
}

/* --- 3. GLOBAL & LIGHTBOX FIXES --- */
.pswp__img { position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; }
.pswp__caption__center { font-size: 14px !important; line-height: 1.4 !important; }
.products, .home-features-row, .footer-widgets, .home-products-section { display: -webkit-box !important; display: -ms-flexbox !important; display: -webkit-flex !important; display: flex !important; }
a.social-icon-instagram[href="#"], a.social-icon-instagram[href=""], a.social-icon-youtube[href="#"], a.social-icon-youtube[href=""] { display: none !important; }

/* FIX FOR SOCIAL ICONS (Hide Insta and Youtube dynamically) */
.lev-btm-social-icons a:nth-child(3),
.lev-btm-social-icons a:nth-child(4),
.lev-f-social a:nth-child(3),
.lev-f-social a:nth-child(4) {
    display: none !important;
}


/* ==========================================
   URGENT: TABLET RESPONSIVE FIXES (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
    /* 1. Stack the Main Macro Layout */
    .lev-macro-layout {
        flex-direction: column !important;
    }
    .lev-macro-left, .lev-macro-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* 2. Stack the Internal Layout (Categories & Products) */
    .lev-main-layout {
        flex-direction: column !important;
    }
    .lev-ml-sidebar, .lev-ml-content {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* 3. Fix the massive footer logo */
    .lev-f-logo img {
        max-width: 180px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .lev-footer-inner > div {
        text-align: center !important;
    }
    .lev-footer-inner ul {
        align-items: center !important;
        display: flex;
        flex-direction: column;
    }
    .lev-footer-inner h4 {
        text-align: center !important;
    }

    /* 4. Fix SAV block size on tablet */
    .lev-sav-widget {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px auto !important;
    }
}


/* ==========================================
   URGENT: TABLET FOOTER FIX (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .lev-footer-real {
        padding-bottom: 80px !important;
        overflow: visible !important;
    }
    .lev-f-logo img {
        max-width: 100px !important;
        width: 100px !important;
        height: auto !important;
        margin: 0 auto 20px auto !important;
    }
    .lev-footer-inner {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
    }
    .lev-footer-inner > div {
        width: 45% !important;
        text-align: center !important;
    }
    .lev-footer-inner > div:first-child {
        width: 100% !important;
    }
    .lev-footer-inner ul {
        align-items: center !important;
    }
}


/* ==========================================
   URGENT: TABLET HERO & BENEFITS FIX (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
    /* Prevent Hero text hiding behind header */
    .lev-hp-left {
        padding-top: 50px !important;
    }
    
    /* Make Benefits bar 2x2 grid on tablet so it doesn't squish */
    .lev-benefits-inner {
        flex-wrap: wrap !important;
    }
    .lev-ben-item {
        flex: 0 0 50% !important;
        width: 50% !important;
        box-sizing: border-box !important;
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 20px !important;
    }
    .lev-ben-item:nth-child(even) {
        border-left: 1px solid #eee !important;
    }
    .lev-ben-item:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}


/* ==========================================
   URGENT: TABLET OVERLAP FIX (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
    /* Push content down so it doesn't hide behind the sticky header on subpages */
    body:not(.home) .site-content,
    body:not(.home) #content {
        padding-top: 75px !important;
    }
}


/* ==========================================
   URGENT: TABLET RELATED PRODUCTS FIX (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .woocommerce div.product .related.products,
    .woocommerce div.product .up-sells.products {
        clear: both !important;
        width: 100% !important;
    }
    .woocommerce div.product .related.products > h2, 
    .woocommerce div.product .up-sells > h2 {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    .woocommerce div.product .related ul.products,
    .woocommerce div.product .up-sells ul.products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .woocommerce div.product .related ul.products li.product,
    .woocommerce div.product .up-sells ul.products li.product {
        float: none !important;
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        width: 100% !important;
        margin: 0 !important;
    }
}
@media (max-width: 767px) {
    .woocommerce div.product .related ul.products li.product,
    .woocommerce div.product .up-sells ul.products li.product {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}


/* Hide floating product arrows on tablet */
@media (max-width: 1024px) {
    .storefront-product-pagination { display: none !important; }
}


/* ==========================================
   TRANSPARENT LOGO FIX (mix-blend-mode)
   ========================================== */
.lev-main-header img.custom-logo,
.lev-main-header img[src*="logo"],
#lev-mobile-drawer img.custom-logo,
#lev-mobile-drawer img[src*="logo"],
.lev-drawer-header img.custom-logo,
.lev-drawer-header img[src*="logo"] {
    mix-blend-mode: multiply !important;
}


/* ==========================================
   TRANSPARENT LOGO FIX 2.0 (brightness + multiply)
   ========================================== */
.lev-main-header img.custom-logo,
.lev-main-header img[src*="logo"],
#lev-mobile-drawer img.custom-logo,
#lev-mobile-drawer img[src*="logo"],
.lev-drawer-header img.custom-logo,
.lev-drawer-header img[src*="logo"] {
    filter: brightness(1.05) contrast(1.05) !important;
    mix-blend-mode: multiply !important;
}

/* Keep the footer logo as is */
.lev-footer-real img.custom-logo,
.lev-f-logo img {
    filter: none !important;
    mix-blend-mode: normal !important;
}


/* ==========================================
   PRODUCT GALLERY FIX - SAFE WIDTH
   ========================================== */

/* Align gallery and title to top */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.single-product div.product .product_title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.2;
}

/* Make image cover width safely without breaking FlexSlider JS */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin-bottom: 15px !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; 
}

/* Thumbnails alignment and sizing */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(25% - 7.5px) !important; /* 4 images per row */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: #00551f; /* L'Esprit Vert Green */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-product-gallery .flex-control-thumbs li img {
        height: 60px !important;
    }
}


/* ==========================================
   URGENT: MOBILE SCROLL & CENTERING FIX
   ========================================== */
@media (max-width: 767px) {
    /* Make category pages scrollable horizontally */
    .tax-product_cat .products {
        display: flex !important; flex-wrap: nowrap !important;
        overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important; padding-bottom: 20px !important;
    }
    .tax-product_cat .products li.product {
        flex: 0 0 85% !important; scroll-snap-align: center !important; margin-right: 15px !important;
    }
    
    /* Related Products & Up-sells: Horizontal Scroll & Center Fix */
    .woocommerce div.product .related ul.products,
    .woocommerce div.product .up-sells ul.products {
        display: flex !important; flex-wrap: nowrap !important;
        overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important; padding-bottom: 20px !important;
        justify-content: flex-start !important;
    }
    .woocommerce div.product .related ul.products li.product,
    .woocommerce div.product .up-sells ul.products li.product {
        flex: 0 0 85% !important; max-width: 85% !important; 
        scroll-snap-align: center !important; margin-right: 15px !important;
    }
}


/* ==========================================
   CLIENT FEEDBACK FIXES (POST-LAUNCH)
   ========================================== */
/* Fix Search Button not clickable (z-index issue) */
.site-search, 
.site-header .search-toggle {
    z-index: 99999 !important;
    position: relative !important;
}

/* Fix Gallery Zoom Button not clickable (z-index issue) */
.woocommerce-product-gallery__trigger {
    z-index: 99999 !important;
}


/* ==========================================
   URGENT: FORCE VERTICAL STACK FOR RELATED TITLE & PRODUCTS
   ========================================== */
@media (max-width: 1024px) {
    .woocommerce div.product .related.products,
    .woocommerce div.product .up-sells {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        clear: both !important;
        float: none !important;
    }
    .woocommerce div.product .related.products > h2, 
    .woocommerce div.product .up-sells > h2 {
        display: block !important;
        width: 100% !important;
        float: none !important;
        text-align: center !important;
        margin: 0 auto 30px auto !important;
    }
    .woocommerce div.product .related ul.products,
    .woocommerce div.product .up-sells ul.products {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}
@media (max-width: 767px) {
    .woocommerce div.product .related ul.products,
    .woocommerce div.product .up-sells ul.products {
        padding-left: 15px !important; /* give a little starting padding for scroll */
    }
}


/* ==========================================
   URGENT: REVERT MOBILE GRID CARD TO VERTICAL DESIGN
   ========================================== */
@media (max-width: 767px) {
    .single-product .related ul.products li.product .lev-card-inner,
    .single-product .up-sells ul.products li.product .lev-card-inner {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-template-areas: none !important;
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
    }
    .single-product .related ul.products li.product .lev-card-img-container,
    .single-product .up-sells ul.products li.product .lev-card-img-container {
        width: 100% !important;
        max-width: 200px !important;
        margin: 0 auto 15px auto !important;
    }
    .single-product .related ul.products li.product .lev-true-title,
    .single-product .up-sells ul.products li.product .lev-true-title {
        text-align: center !important;
        align-self: center !important;
    }
    .single-product .related ul.products li.product .lev-true-specs,
    .single-product .related ul.products li.product .lev-true-var,
    .single-product .up-sells ul.products li.product .lev-true-specs,
    .single-product .up-sells ul.products li.product .lev-true-var {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        margin-bottom: 15px !important;
    }
    .single-product .related ul.products li.product .lev-true-price,
    .single-product .up-sells ul.products li.product .lev-true-price {
        text-align: center !important;
    }
    .single-product .related ul.products li.product .lev-true-btn,
    .single-product .up-sells ul.products li.product .lev-true-btn {
        align-self: center !important;
        width: 100% !important;
        max-width: 250px !important;
    }
}


/* =========================================
   PHASE 2 & 3: CLIENT CSS FIXES
========================================= */

/* Logo Size */
.site-header .custom-logo {
    max-width: 250px !important;
    width: auto !important;
    height: auto !important;
}

/* Slogan Color */
.site-description, .site-header p {
    color: #0b3a1a !important; /* Theme Green */
    font-weight: bold;
}

/* Smaller Euro Symbol */
.woocommerce-Price-currencySymbol {
    font-size: 0.7em !important;
    vertical-align: baseline !important;
}

/* Hide Storefront Side Pagination Images */
.storefront-product-pagination {
    display: none !important;
}

/* Hide Satisfait ou Rembourse fallback */
.storefront-feature:nth-child(3) { /* adjust if needed, JS covers this too */ }

/* AGGRESSIVE SLOGAN COLOR FIX */
.site-description, 
header p, 
header span, 
.site-header p, 
.site-header span,
.ast-site-identity .site-description {
    color: #0b3a1a !important;
}
.site-header .custom-logo {
    max-width: 300px !important; /* Made it even larger */
}

/* ==========================================
   URGENT: TABLET HERO TEXT SIZE FIX
   ========================================== */
@media (max-width: 1024px) {
    /* Limit the width so it doesn't cover the machines on the right */
    .lev-hp-left { 
        max-width: 100% !important; 
        padding: 40px 20px 20px 20px !important; 
    }
    
    /* Make text smaller */
    .lev-hero-main-title { 
        font-size: 36px !important; 
        margin-bottom: 5px !important; 
        line-height: 1.1 !important;
    }
    .lev-hero-sub { 
        font-size: 18px !important; 
        margin-bottom: 15px !important; 
    }
    
    /* Make bullets tighter */
    .lev-hp-left ul { 
        margin-bottom: 20px !important; 
        gap: 6px !important; 
    }
    .lev-hp-left ul li { 
        font-size: 15px !important; 
    }
    
    /* Button */
    .lev-hp-btn { 
        font-size: 15px !important; 
        padding: 12px 25px !important; 
        width: auto !important;
        align-self: flex-start !important;
    }
    
    /* Trust bar at bottom */
    .lev-hero-trust { 
        margin-top: 15px !important; 
        padding-top: 15px !important; 
        gap: 20px !important;
        background: transparent !important;
    }
    .ht-item span {
        font-size: 12px !important;
    }
}

/* For smaller tablets / large phones, enforce the dark background trust bar if they want it */
@media (min-width: 768px) and (max-width: 900px) {
     .lev-hp-btn { width: 100% !important; text-align: center !important; justify-content: center !important; }
     .lev-hero-trust {
        flex-direction: row !important; 
        flex-wrap: nowrap !important; 
        justify-content: space-between !important; 
        background: rgba(0,0,0,0.5) !important; 
        padding: 15px !important;
        border-radius: 8px !important;
     }
     .ht-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 5px !important;
     }
}

/* --- PHASE 6 LIVE SITE FIXES --- */
.site-description {
    font-size: 1.2em !important;
    font-weight: bold !important;
}
.storefront-feature-3, 
.storefront-features [aria-label*="remboursé"], 
.storefront-features [aria-label*="Satisfait"] {
    display: none !important;
}
.storefront-features .storefront-feature-4 .storefront-feature-title,
.storefront-features h3:contains("SAV"),
.storefront-features h4:contains("SAV") {
    color: #ffcc00 !important;
}
div.storefront-features > div:nth-child(4) h3 {
    color: #ffcc00 !important;
}
.woocommerce-Price-currencySymbol {
    font-size: 0.55em !important;
    vertical-align: super !important;
    margin-left: 2px !important;
}