/* ==============================================
   GigaMarket Theme — custom features
   ============================================== */
:root{color-scheme:light;--gm-bg:#fbfcf8;--gm-surface:#fff;--gm-surface-alt:#f3f7ea;--gm-card:#fff;--gm-text:#11140f;--gm-heading:#050704;--gm-muted:#626a59;--gm-border:#e4ead9;--gm-accent:#7cb518;--gm-accent-strong:#6ba014;--gm-accent-soft:#f3f9e8;--gm-danger:#d92332;--gm-warning:#f4c21b;--gm-shadow:0 18px 45px rgba(19,31,8,.10);--gm-shadow-soft:0 8px 24px rgba(19,31,8,.08);--gm-radius:16px;--gm-head:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;--gm-body:'Manrope',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;--gm-on-accent:#fff;--uno-dark:var(--gm-heading);--uno-gray:var(--gm-muted);--uno-light:var(--gm-surface-alt);--uno-white:var(--gm-surface);--uno-accent:var(--gm-accent);--uno-red:var(--gm-danger)}
[data-theme="dark"]{color-scheme:dark;--gm-bg:#050704;--gm-surface:#0c1109;--gm-surface-alt:#141b10;--gm-card:#171f13;--gm-text:#f2f5ed;--gm-heading:#fff;--gm-muted:#a7b09d;--gm-border:#2b3623;--gm-accent:#8fcc1f;--gm-accent-strong:#a4d055;--gm-accent-soft:#21340f;--gm-on-accent:#0f141b;--gm-danger:#ff5263;--gm-warning:#ffd84d;--gm-shadow:0 22px 60px rgba(0,0,0,.55);--gm-shadow-soft:0 12px 34px rgba(0,0,0,.35)}

/* ---- Global ---- */
body{font-family:var(--gm-body);color:var(--gm-text);background:var(--gm-bg);transition:background-color .2s,color .2s}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,.gm-logo-text,.display-1,.display-2,.display-3,.display-4,.display-5,.display-6{font-family:var(--gm-head)}
a{color:var(--gm-accent-strong)}a:hover{color:var(--gm-accent)}
.site-wrapper{min-height:100vh;display:flex;flex-direction:column}
.site-main{flex:1}

/* ---- Header ---- */
.site-header{position:sticky;top:0;z-index:1040;background:var(--uno-white)}
.header-logo{font-size:1.4rem;letter-spacing:-.5px}
.header-logo span.fw-light{color:var(--uno-gray)}
.cart-count-badge{position:absolute;top:-6px;right:-10px;background:var(--uno-dark);color:#fff;font-size:.65rem;min-width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:600;padding:0 3px}

/* ---- Navigation ---- */
.main-nav{overflow-x:auto;white-space:nowrap;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}
.main-nav>.menu-item{position:relative}
.main-nav>.menu-item>a{display:block;padding:.75rem 1rem;font-size:.8rem;font-weight:500;color:var(--uno-dark)!important;text-decoration:none;text-transform:capitalize;letter-spacing:.3px;white-space:nowrap}
.main-nav>.menu-item>a:hover{color:var(--uno-accent)!important}

/* ---- Mega Menu ---- */
.mega-menu-dropdown{display:none;position:absolute;top:100%;left:0;width:100vw;background:var(--uno-white);box-shadow:0 20px 40px rgba(0,0,0,.15);z-index:1030;padding:2rem 0}
.mega-menu-parent:hover .mega-menu-dropdown{display:block}
.mega-sub-list li{margin-bottom:.4rem}.mega-sub-list a{color:var(--uno-gray);text-decoration:none;font-size:.85rem}.mega-sub-list a:hover{color:var(--uno-dark)}
.mega-product-link{display:block}.mega-product-link:hover small{color:var(--uno-accent)!important}
.mega-product-img img{width:100%;height:100%;object-fit:contain}

/* ---- Mobile Nav ---- */
.mobile-nav .menu-item a{display:block;padding:.6rem 0;font-size:.95rem;color:var(--uno-dark);text-decoration:none;border-bottom:1px solid #eee}.mobile-nav .menu-item a:hover{color:var(--uno-accent)}

/* ---- Hero Swiper ---- */
.hero-swiper{width:100%}
.hero-slide{min-height:550px;background-image:var(--hero-desktop-image);background-size:cover!important;background-position:center!important;background-repeat:no-repeat;position:relative;align-items:flex-end!important}
.hero-slide .container{max-width:760px;padding-bottom:clamp(3rem,8vh,5.5rem)}
.hero-slide h1{font-size:3.5rem;letter-spacing:-1px;text-shadow:0 2px 20px rgba(0,0,0,.5);color:#fff!important}
.hero-slide .lead,.hero-slide .fs-5{color:#fff!important;max-width:720px;margin-left:auto;margin-right:auto}
.hero-slide::after{display:none}
.hero-swiper .swiper-button-next,.hero-swiper .swiper-button-prev{color:#fff!important;opacity:.7;transition:opacity .2s}
.hero-swiper .swiper-button-next:hover,.hero-swiper .swiper-button-prev:hover{opacity:1}
.hero-swiper .swiper-pagination-bullet{background:#fff;opacity:.5}
.hero-swiper .swiper-pagination-bullet-active{opacity:1;background:#fff}
@media(max-width:768px){.hero-slide{min-height:calc(100svh - 70px)}.hero-slide h1{font-size:2.2rem}}
@media(max-width:767.98px){.hero-slide{min-height:calc(100svh - 70px);background-image:var(--hero-mobile-image,var(--hero-desktop-image));background-position:center center!important}.hero-slide .container{padding-bottom:calc(2rem + 10px + env(safe-area-inset-bottom))}.hero-swiper .swiper-pagination{bottom:20px}}
@media(min-width:768px){.hero-slide.hero-align-left .container,.hero-slide.hero-align-right .container{max-width:720px}.hero-slide.hero-align-left .container{margin-left:auto;margin-right:auto;text-align:start}.hero-slide.hero-align-left .lead,.hero-slide.hero-align-left .fs-5{margin-inline-start:0;margin-inline-end:auto}.hero-slide.hero-align-right .container{margin-left:auto;margin-right:auto;text-align:end}.hero-slide.hero-align-right .lead,.hero-slide.hero-align-right .fs-5{margin-inline-start:auto;margin-inline-end:0}}@media(min-width:992px){.hero-slide.hero-align-left .container,.hero-slide.hero-align-right .container{max-width:960px}}@media(min-width:1200px){.hero-slide.hero-align-left .container,.hero-slide.hero-align-right .container{max-width:1140px}}@media(min-width:1400px){.hero-slide.hero-align-left .container,.hero-slide.hero-align-right .container{max-width:1320px}}

/* ---- Cards ---- */
.nouveaute-card{transition:transform .2s,box-shadow .2s,border-color .2s;background:var(--gm-card)!important;border:1px solid var(--gm-border)!important;border-radius:12px!important;overflow:hidden}
.nouveaute-card:hover{transform:translateY(-4px);border-color:var(--gm-accent)!important;box-shadow:var(--gm-shadow)!important}
.nouveaute-card .card-img-top{transition:transform .4s ease}
.nouveaute-card:hover .card-img-top{transform:scale(1.08)}
.nouveaute-card .card-title{color:var(--gm-heading);font-family:var(--gm-head)}
.product-card{transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 .5rem 1rem rgba(0,0,0,.1)!important}
.product-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-img-wrap{position:relative}

/* ---- Product Labels ---- */
.product-labels{position:absolute;top:.5rem;left:.5rem;z-index:2;display:flex;flex-direction:column;gap:.25rem}
.product-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.5px;padding:.2rem .5rem}
.label-new{background:#1a1a2e!important}.label-sale{background:var(--uno-red)!important}.label-featured{background:#ffc107!important;color:#000!important}

/* ---- Product Card Actions (hover) ---- */
.product-card-actions{position:absolute;top:.5rem;right:.5rem;z-index:2;display:flex;flex-direction:column;gap:.25rem;opacity:0;transform:translateX(10px);transition:all .2s}
.product-card:hover .product-card-actions{opacity:1;transform:translateX(0)}
.quickview-btn,.wishlist-btn{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%!important;font-size:.8rem}

/* ---- Quickview ---- */
#quickviewModal .modal-dialog{max-width:900px}
.quickview-content .quantity .qty{width:60px;border-radius:.5rem}

/* ---- Slideout Cart ---- */
.slideout-cart-offcanvas{width:380px!important}@media(max-width:400px){.slideout-cart-offcanvas{width:100%!important}}
.slideout-cart-item .remove-cart-item{opacity:.5;transition:opacity .2s}.slideout-cart-item:hover .remove-cart-item{opacity:1}

/* ---- Category Icons ---- */
.category-icon-wrapper{transition:transform .2s,box-shadow .2s}.category-icon-wrapper:hover{transform:scale(1.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.2)!important}
.category-icon-wrapper i{display:none}

/* ---- Product Single ---- */
.product_title{letter-spacing:-.5px}
.product-tabs-wrapper .nav-tabs .nav-link{border:none;border-bottom:2px solid transparent;padding:.5rem 1rem}
.product-tabs-wrapper .nav-tabs .nav-link.active{border-bottom-color:var(--gm-accent);color:var(--gm-accent)!important;background:transparent}
/* PDP mockup alignment */
.gm-pdp-brand{font-family:var(--gm-head);font-weight:600;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gm-accent-strong);margin-bottom:.4rem}
.gm-pdp-rate-row .star-rating{color:#f5a623;margin:0}
.gm-instock{display:inline-flex;align-items:center;gap:.45rem;font-size:.82rem;font-weight:600;color:var(--gm-accent-strong)}
.gm-instock .dot{width:8px;height:8px;border-radius:50%;background:var(--gm-accent);display:inline-block}
.gm-price-box{padding:1rem 0;border-top:1px solid var(--gm-border);border-bottom:1px solid var(--gm-border)}
.gm-wa-btn{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;background:#25d366;color:#fff!important;font-family:var(--gm-head);font-weight:600;font-size:.95rem;padding:.85rem;border-radius:10px;margin:1rem 0;text-decoration:none}
.gm-wa-btn:hover{background:#1fb855;color:#fff!important}
.gm-wa-btn i{font-size:1.25rem}
.gm-assure{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.gm-assure-item{display:flex;gap:.75rem;align-items:flex-start;border:1px solid var(--gm-border);border-radius:10px;padding:.9rem}
.gm-assure-item i{font-size:1.4rem;color:var(--gm-accent);flex:none;margin-top:.1rem}
.gm-assure-item h5{font-family:var(--gm-head);font-size:.85rem;font-weight:700;margin:0;color:var(--gm-heading)}
.gm-assure-item p{font-size:.78rem;color:var(--gm-muted);margin:.1rem 0 0}
@media(max-width:575.98px){.gm-assure{grid-template-columns:1fr}}

/* ---- Store overrides ---- */
/* Reset default product grid styles */
.woocommerce ul.products, .woocommerce-page ul.products{display:flex!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;list-style:none!important;gap:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;clear:none!important;width:auto!important;margin:0!important;padding:0!important}
/* Ensure product cards fill their Bootstrap columns — but don't override col-* widths */
/* Fix product container width issues */
.product .card.product-card{height:100%}
.woocommerce .button,.woocommerce button.button{border-radius:2rem;padding:.6rem 2rem;font-weight:600;font-size:.85rem}
.woocommerce .button.single_add_to_cart_button,.single_add_to_cart_button.button.alt{background:var(--gm-accent)!important;color:var(--gm-on-accent)!important;border:none!important;border-radius:8px!important;padding:.85rem 2rem!important;font-weight:700;font-family:var(--gm-head)}.woocommerce .button.single_add_to_cart_button:hover,.single_add_to_cart_button.button.alt:hover{background:var(--gm-accent-strong)!important;color:var(--gm-on-accent)!important}
.woocommerce .quantity .qty{border-radius:.5rem;padding:.5rem;width:70px}
.woocommerce .woocommerce-breadcrumb{font-size:.8rem;color:var(--uno-gray)}
.woocommerce span.onsale{background:var(--uno-red);border-radius:2rem;padding:.3rem .8rem;font-size:.75rem}
.woocommerce ul.products li.product .price{color:var(--uno-dark);font-weight:600}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--uno-dark)!important;font-size:1.5rem}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range{background:var(--uno-dark)}.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{background:var(--uno-dark)}
.woocommerce-no-products-found{width:100%;margin:0}.woocommerce-no-products-found .woocommerce-info,.products-wrapper .gm-no-products-found,.woocommerce .woocommerce-info{position:relative;margin:0 0 1.5rem!important;padding:1.35rem 1.5rem 1.35rem 4.75rem!important;background:linear-gradient(135deg,var(--gm-card),var(--gm-surface-alt))!important;color:var(--gm-text)!important;border:1px solid var(--gm-border)!important;border-inline-start:5px solid var(--gm-accent)!important;border-top:1px solid var(--gm-border)!important;border-radius:var(--gm-radius)!important;box-shadow:var(--gm-shadow-soft);font-weight:600;line-height:1.6}.woocommerce-no-products-found .woocommerce-info::before,.products-wrapper .gm-no-products-found::before,.woocommerce .woocommerce-info::before{content:"\f002";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;inset-inline-start:1.35rem;top:50%;transform:translateY(-50%);width:2.2rem;height:2.2rem;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--gm-accent-soft);color:var(--gm-accent);font-size:.95rem}.woocommerce-no-products-found .woocommerce-info a,.products-wrapper .gm-no-products-found a,.woocommerce .woocommerce-info a{color:var(--gm-accent-strong);font-weight:800;text-decoration:none}.woocommerce-no-products-found .woocommerce-info a:hover,.products-wrapper .gm-no-products-found a:hover,.woocommerce .woocommerce-info a:hover{color:var(--gm-accent);text-decoration:underline}@media(max-width:575.98px){.woocommerce-no-products-found .woocommerce-info,.products-wrapper .gm-no-products-found,.woocommerce .woocommerce-info{padding:1rem 1rem 1rem 3.75rem!important;border-radius:14px!important}.woocommerce-no-products-found .woocommerce-info::before,.products-wrapper .gm-no-products-found::before,.woocommerce .woocommerce-info::before{inset-inline-start:.95rem;width:1.95rem;height:1.95rem}}
.ajax-atc-btn.added{background:#28a745!important;border-color:#28a745!important;color:#fff!important}
.ajax-atc-btn.loading{opacity:.7;pointer-events:none}

/* ---- Footer ---- */
.site-footer{background:var(--uno-light)}.footer-links li{margin-bottom:.4rem}.footer-links a:hover{color:var(--uno-dark)!important}.social-links a:hover{color:var(--uno-accent)!important}
/* Footer accordion mobile */
.footer-accordion-btn{background:none;border:none;width:100%;text-align:left;padding:.85rem 0;font-weight:600;font-size:.85rem;color:var(--uno-dark);border-bottom:1px solid #ddd;display:flex;align-items:center;cursor:pointer}
.footer-accordion-btn:hover{color:var(--uno-accent)}
.footer-accordion-btn .fa-chevron-down{font-size:.7rem;transition:transform .3s}
.footer-accordion-btn:not(.collapsed) .fa-chevron-down{transform:rotate(180deg)}
.footer-accordion-btn:not(.collapsed){border-bottom:none}
.collapse.d-md-block:not(.show){display:none}
@media(min-width:768px){.collapse.d-md-block{display:block!important}}

/* ---- Search ---- */
.search-form-wrapper .search-field{border-radius:2rem;padding:.5rem 1rem;border:1px solid #ddd;font-size:.85rem;width:100%}.search-form-wrapper .search-field:focus{outline:none;border-color:var(--uno-dark)}

/* ---- Sticky ATC ---- */
.sticky-add-to-cart{position:fixed;bottom:0;left:0;right:0;background:var(--uno-white);box-shadow:0 -2px 20px rgba(0,0,0,.1);z-index:1035;transform:translateY(100%);transition:transform .3s}.sticky-add-to-cart.visible{transform:translateY(0)}.sticky-add-to-cart img{object-fit:contain;border-radius:.5rem}.sticky-product-title{max-width:300px}

/* ---- Newsletter Popup ---- */
.newsletter-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s}.newsletter-popup-overlay.visible{opacity:1;visibility:visible}.newsletter-popup{max-width:480px;width:90%}


/* ---- Sidebar Filters ---- */
.sidebar-filter .form-control,.sidebar-filter .form-select{font-size:.8rem}
/* Mobile: sidebar full width above products */
@media(max-width:991.98px){
  .sidebar-filter{margin-bottom:1.5rem}
  .mega-sub-list{display:flex;flex-direction:column}
}
/* Prevent mega menu dropdown from leaking into sidebar */
.col-lg-3 .mega-menu-dropdown{display:none!important}

/* ---- Swiper ---- */
.featured-swiper{padding:0 30px}.swiper-button-next:after,.swiper-button-prev:after{font-size:1rem!important;color:var(--uno-dark)}
.swiper-pagination-bullet-active{background:var(--uno-dark)!important}

/* ---- Loading state ---- */
.products-wrapper.loading{opacity:.5;pointer-events:none}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---- Print ---- */
@media print{.site-header,.site-footer,.sticky-add-to-cart,.newsletter-popup-overlay{display:none!important}}

/* ---- Language switcher ---- */
/* Hide TranslatePress floating switcher; we use custom header/mobile switchers */
.trp-language-switcher,#trp-floater-ls,.trp-floater-language-switcher{display:none!important}
.header-lang-switcher .trp-flag,.mobile-lang-switcher .trp-flag{width:18px;height:auto;border-radius:2px;vertical-align:middle;margin-right:.4rem;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.header-lang-switcher .dropdown-item{display:flex;align-items:center}
.header-lang-switcher .dropdown-toggle .trp-flag{margin-right:.35rem}
.mobile-lang-switcher .btn{display:inline-flex;align-items:center}
.tb-lang-switcher .dropdown-toggle{font-size:.76rem;line-height:1.1;font-weight:600;gap:.25rem}
.tb-lang-switcher .dropdown-toggle .trp-flag{margin-right:.2rem}
.tb-lang-switcher .dropdown-menu{min-width:auto}
.tb-lang-switcher .dropdown-item{justify-content:center;min-width:42px;padding:.45rem}
.tb-lang-switcher .dropdown-item .trp-flag{margin-right:0}
body.rtl .tb-lang-switcher .dropdown-toggle .trp-flag{margin-right:0;margin-left:.2rem}
body.rtl .tb-lang-switcher .dropdown-item .trp-flag{margin-left:0}

/* ---- Responsive ---- */
@media(max-width:767.98px){.product-card .button,.product-card .btn{font-size:.7rem;padding:.4rem 1rem}}

/* ==============================================
   GigaMarket visual system + theme modes
   ============================================== */
.site-header{background:var(--gm-surface);border-bottom:1px solid var(--gm-border);box-shadow:0 4px 18px rgba(0,0,0,.04)}
.header-top{background:var(--gm-surface);color:var(--gm-ink-soft,var(--gm-text));border-bottom:1px solid var(--gm-border);font-size:.8rem}
.header-top i{color:var(--gm-accent)}
.header-top a{color:inherit}.header-top a:hover{color:var(--gm-accent)}
.header-top .tb-tools .gm-theme-toggle,.header-top .tb-lang-switcher .btn{color:var(--gm-text)!important;min-height:0;padding:.1rem .3rem!important;font-weight:600}
.header-top .tb-tools{border-inline-start:1px solid var(--gm-border);padding-inline-start:.85rem}
.header-main,.header-nav{background:var(--gm-surface);color:var(--gm-text)}
.header-nav{border-top:1px solid var(--gm-border);border-bottom:1px solid var(--gm-border)}
.mobile-menu-toggle,.header-lang-switcher .btn,.gm-theme-toggle{color:var(--gm-text)!important;min-height:44px}
.header-lang-switcher .btn:hover,.gm-theme-toggle:hover{color:var(--gm-accent)!important}
.header-logo{display:inline-flex;align-items:center;gap:.65rem;color:var(--gm-heading)!important;letter-spacing:-.04em}
/* Brand logo images (light/dark variants toggled by theme) */
.header-logo .gm-logo-img{height:48px!important;width:auto!important;max-height:48px;max-width:none;display:block}
.gm-footer-logo{height:54px!important;width:auto!important;max-width:none;display:block}
.gm-drawer-logo{height:40px!important;width:auto!important;max-width:none;display:block}
.gm-logo-img-dark{display:none!important}
[data-theme="dark"] .gm-logo-img-light{display:none!important}
[data-theme="dark"] .gm-logo-img-dark{display:block!important}
/* Legacy CSS mark fallback (kept for safety if used elsewhere) */
.gm-logo-mark{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;color:var(--gm-heading);font-weight:900;font-size:1rem;letter-spacing:-.08em;background:linear-gradient(135deg,var(--gm-accent),var(--gm-accent-strong));clip-path:polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%);box-shadow:0 0 0 4px var(--gm-accent-soft)}
.gm-logo-text{font-size:1.65rem;font-weight:900;font-family:var(--gm-head)}.gm-logo-text span{color:var(--gm-accent-strong)}
/* ---- Search form (mockup): green border + category select ---- */
.gm-search-form{display:flex;align-items:stretch;max-width:760px;margin:0 auto;height:52px;border:2px solid var(--gm-accent);border-radius:8px;overflow:hidden;background:var(--gm-surface)}
.gm-search-input{flex:1;border:0;outline:none;background:transparent;padding:0 18px;font-size:.95rem;color:var(--gm-text);min-width:0}
.gm-search-input::placeholder{color:var(--gm-muted)}
.gm-search-cat{position:relative;display:flex;align-items:center;border-inline-start:1px solid var(--gm-border);background:var(--gm-surface)}
.gm-search-cat select{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:var(--gm-text);font-size:.85rem;font-weight:600;padding:0 2.1rem 0 1rem;height:100%;cursor:pointer;outline:none;font-family:var(--gm-head)}
.gm-search-cat i{position:absolute;inset-inline-end:.85rem;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--gm-muted);font-size:.7rem}
.gm-search-btn{background:var(--gm-accent);color:#fff;border:0;width:60px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex:none}
.gm-search-btn:hover{background:var(--gm-accent-strong);color:#fff}
[data-theme="dark"] .gm-search-btn{color:#0f141b}
[data-theme="dark"] .gm-search-btn:hover{color:#0f141b}
/* ---- Header actions (account/cart) like mockup ---- */
.head-actions .haction{color:var(--gm-text);line-height:1.15}
.head-actions .haction:hover{color:var(--gm-accent)}
.head-actions .ha-ic{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;font-size:1.35rem;color:var(--gm-heading)}
.head-actions .haction:hover .ha-ic{color:var(--gm-accent)}
.head-actions .ha-top{font-weight:700;font-size:.85rem;font-family:var(--gm-head);color:var(--gm-heading)}
.head-actions .haction:hover .ha-top{color:var(--gm-accent)}
.head-actions .ha-sub{font-size:.72rem;color:var(--gm-muted)}
.head-actions .cart-ic .cart-count-badge{position:absolute;top:-7px;inset-inline-end:-9px}
.cart-count-badge{background:var(--gm-accent);color:#fff;box-shadow:0 0 0 2px var(--gm-surface)}
[data-theme="dark"] .cart-count-badge{color:#0f141b}
.search-form-wrapper,.search-form-wrapper form{border:1px solid var(--gm-border);border-radius:8px;background:var(--gm-surface);overflow:hidden;box-shadow:var(--gm-shadow-soft)}
.search-form-wrapper .search-field{border:0!important;border-radius:0!important;background:transparent;color:var(--gm-text);min-height:46px}.search-form-wrapper .search-field::placeholder{color:var(--gm-muted)}
.search-form-wrapper .btn{background:linear-gradient(135deg,var(--gm-accent),var(--gm-accent-strong));color:var(--gm-on-accent)!important;border-radius:0;min-width:56px;margin:0!important}
.offcanvas .search-form-wrapper{height:52px;border:2px solid var(--gm-accent);box-shadow:none}.offcanvas .search-form-wrapper .search-field{min-height:48px;padding:0 1rem;font-size:.95rem}.offcanvas .search-form-wrapper .btn{width:58px;min-width:58px;display:flex;align-items:center;justify-content:center;font-size:1rem}.offcanvas .search-form-wrapper .btn i{color:inherit}
.gm-theme-menu,.dropdown-menu{background:var(--gm-surface);border-color:var(--gm-border);box-shadow:var(--gm-shadow);border-radius:14px;padding:.45rem}
.gm-theme-choice,.dropdown-item{color:var(--gm-text);border-radius:10px;display:flex;align-items:center;gap:.6rem}.gm-theme-choice:hover,.gm-theme-choice.active,.dropdown-item:hover,.dropdown-item.active{background:var(--gm-accent-soft);color:var(--gm-heading)}
.main-nav{flex:1}.main-nav>.menu-item>a{color:var(--gm-heading)!important;font-weight:800;text-transform:uppercase;font-size:.78rem;letter-spacing:.02em;padding:1rem .9rem;border-bottom:3px solid transparent}.main-nav>.menu-item>a:hover,.main-nav>.current-menu-item>a{color:var(--gm-accent-strong)!important;border-bottom-color:var(--gm-accent)}
.gm-all-categories{position:relative;flex:0 0 auto}.gm-all-categories-btn{height:100%;min-width:245px;border:0;background:linear-gradient(135deg,var(--gm-accent),var(--gm-accent-strong));color:var(--gm-on-accent);font-weight:900;display:flex;align-items:center;gap:.8rem;padding:0 1.35rem;text-transform:none;border-radius:0 0 8px 8px}.gm-all-categories-btn:focus-visible{outline:3px solid var(--gm-accent-soft);outline-offset:2px}
.mega-menu-parent{position:relative}.mega-menu-dropdown{left:50%;transform:translateX(-50%);width:100vw;background:transparent;box-shadow:none;padding:0;border:0}.gm-mega-menu{display:none;top:100%;z-index:1050}.gm-mega-menu .mega-menu-content{padding-top:1rem}.gm-mega-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1rem;background:var(--gm-surface);border:1px solid var(--gm-border);border-radius:0 0 24px 24px;box-shadow:var(--gm-shadow);padding:1rem}.gm-mega-panel{background:var(--gm-card);border:1px solid var(--gm-border);border-radius:18px;padding:1.25rem}.gm-mega-eyebrow{color:var(--gm-accent-strong);text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:900;margin:0 0 .35rem}.gm-mega-panel h3{font-weight:900;color:var(--gm-heading);margin-bottom:1rem}.gm-mega-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.gm-mega-category{display:flex;align-items:center;gap:.75rem;color:var(--gm-text);text-decoration:none;border:1px solid var(--gm-border);border-radius:14px;padding:.75rem;background:var(--gm-surface-alt);font-weight:800}.gm-mega-category:hover{border-color:var(--gm-accent);color:var(--gm-heading);transform:translateY(-1px)}.gm-mega-category-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--gm-surface);color:var(--gm-accent);overflow:hidden}.gm-mega-category-icon img{width:100%;height:100%;object-fit:contain}.gm-mega-promo{background:radial-gradient(circle at 80% 20%,rgba(124,181,24,.28),transparent 45%),linear-gradient(135deg,var(--gm-surface-alt),var(--gm-card));display:flex;flex-direction:column;justify-content:center}.gm-btn-accent{background:linear-gradient(135deg,var(--gm-accent),var(--gm-accent-strong));border:0;color:var(--gm-on-accent)!important;font-weight:900;border-radius:10px;padding:.75rem 1rem}.gm-btn-accent:hover{filter:brightness(1.05)}
.btn-dark,.woocommerce .button,.woocommerce button.button,.ajax-atc-btn{background:var(--gm-heading)!important;border-color:var(--gm-heading)!important;color:var(--gm-surface)!important}.btn-dark:hover,.woocommerce .button:hover,.woocommerce button.button:hover,.ajax-atc-btn:hover{background:var(--gm-accent)!important;border-color:var(--gm-accent)!important;color:var(--gm-on-accent)!important}.btn-outline-dark{border-color:var(--gm-border)!important;color:var(--gm-text)!important}.btn-outline-dark:hover{background:var(--gm-accent)!important;border-color:var(--gm-accent)!important;color:var(--gm-on-accent)!important}.btn-primary{background:var(--gm-accent)!important;border-color:var(--gm-accent)!important;color:var(--gm-on-accent)!important;font-weight:900}
.hero-swiper{background:var(--gm-surface)}.hero-slide{min-height:520px}.hero-slide h1{text-transform:uppercase;font-weight:900;letter-spacing:-.03em}.hero-swiper .swiper-pagination-bullet-active{background:var(--gm-accent)!important}
.gm-trust-row{background:var(--gm-surface);border-top:1px solid var(--gm-border);border-bottom:1px solid var(--gm-border)}.gm-trust-row .col{position:relative}.gm-trust-row .col:not(:last-child)::after{content:"";position:absolute;inset-inline-end:0;top:22px;bottom:22px;width:1px;background:var(--gm-border)}.gm-trust-item{display:flex;align-items:center;gap:1rem;padding:1.6rem .7rem;color:var(--gm-text)}.gm-trust-item i{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:var(--gm-accent);font-size:1.9rem;flex:none;border:0}.gm-trust-item strong{display:block;color:var(--gm-heading);font-size:.88rem;text-transform:uppercase;font-family:var(--gm-head);font-weight:700;white-space:nowrap}.gm-trust-item span{color:var(--gm-muted);font-size:.82rem}
.featured-products,.products-hero,.nouveautes,.categories-section,.gm-recent-products{background:var(--gm-bg)!important;color:var(--gm-text)}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.section-heading-row h2{font-weight:900;color:var(--gm-heading);margin:0;text-transform:uppercase}.section-heading-row a{font-weight:800;text-decoration:none;color:var(--gm-accent-strong)}
.product-card{background:var(--gm-card)!important;border:1px solid var(--gm-border)!important;border-radius:14px!important;box-shadow:var(--gm-shadow-soft)!important;overflow:hidden;color:var(--gm-text)}.product-card:hover{box-shadow:var(--gm-shadow)!important}.product-card-img-wrap{background:var(--gm-surface-alt)!important}.product-card-title{color:var(--gm-heading)}.product-card-price,.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gm-heading)!important;font-weight:900}.product-label{border-radius:6px;background:var(--gm-accent)!important;color:var(--gm-on-accent)!important;font-weight:900}.label-sale{background:var(--gm-danger)!important;color:#fff!important}.label-new{background:var(--gm-accent)!important;color:var(--gm-on-accent)!important}.product-card .ajax-atc-btn{border-radius:10px!important;font-weight:900}
.gm-home-products-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.gm-home-product-card{background:var(--gm-card);border:1px solid var(--gm-border);border-radius:12px;padding:16px;position:relative;transition:.18s;display:flex;flex-direction:column;min-width:0;box-shadow:var(--gm-shadow-soft);color:var(--gm-text)}
.gm-home-product-card:hover{border-color:var(--gm-accent);box-shadow:var(--gm-shadow);transform:translateY(-4px)}
.gm-home-product-media{position:relative}.gm-home-product-media .product-labels{top:-4px;left:-4px}.gm-home-product-media .product-label{font-size:.65rem;padding:.25rem .55rem;border-radius:5px}
.gm-home-product-fav{position:absolute;top:-4px;right:-4px;z-index:2;width:34px;height:34px;border-radius:50%;background:var(--gm-card);border:1px solid var(--gm-border);display:flex;align-items:center;justify-content:center;color:var(--gm-muted);transition:.16s}
.gm-home-product-fav:hover{color:var(--gm-danger);border-color:var(--gm-danger)}
.gm-home-product-img{height:150px;display:flex;align-items:center;justify-content:center;margin:8px 0 14px;background:transparent;text-decoration:none}.gm-home-product-img img{max-height:150px;width:auto;max-width:100%;object-fit:contain}
.gm-home-product-title{text-decoration:none;color:var(--gm-heading)}.gm-home-product-title h3{font-size:.95rem;font-weight:700;font-family:var(--gm-head);line-height:1.25;margin:0 0 .25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gm-home-product-title:hover{color:var(--gm-accent)}
.gm-home-product-sub{font-size:.82rem;color:var(--gm-muted);margin:0 0 .55rem;min-height:1.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-home-product-stars{min-height:20px;margin-bottom:.65rem}.gm-home-product-stars .star-rating{float:none;margin:0;font-size:.82rem;color:#f59e0b}
.gm-home-product-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:.75rem;margin-top:auto}.gm-home-product-price{font-family:var(--gm-head);font-weight:800;color:var(--gm-heading);line-height:1.15}.gm-home-product-price .price,.gm-home-product-price ins{color:var(--gm-heading);text-decoration:none}.gm-home-product-price del{display:block;color:var(--gm-muted)!important;font-size:.82rem;font-weight:600;margin-top:.15rem}
.gm-home-product-add{width:42px;height:42px;border-radius:8px;border:1.5px solid var(--gm-accent)!important;background:transparent!important;color:var(--gm-accent)!important;display:flex;align-items:center;justify-content:center;transition:.16s;flex:none;text-decoration:none;font-size:1rem}.gm-home-product-add:hover,.gm-home-product-add.added{background:var(--gm-accent)!important;color:var(--gm-on-accent)!important;border-color:var(--gm-accent)!important}
@media(max-width:1199.98px){.gm-home-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){.gm-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gm-home-product-card{padding:12px}.gm-home-product-img{height:128px}.gm-home-product-img img{max-height:128px}.gm-home-product-price-row{align-items:center}.gm-home-product-add{width:38px;height:38px}}
.gm-category-card{display:block;text-decoration:none;background:var(--gm-card);border:1px solid var(--gm-border);border-radius:12px;padding:1.4rem .75rem;color:var(--gm-heading);box-shadow:var(--gm-shadow-soft);height:100%;transition:.18s}.gm-category-card:hover{transform:translateY(-3px);border-color:var(--gm-accent);color:var(--gm-heading);box-shadow:var(--gm-shadow)}.gm-category-card .gm-cat-img{height:84px;display:flex;align-items:center;justify-content:center;margin-bottom:.9rem}.gm-category-card .gm-cat-img img{max-height:84px;width:auto;object-fit:contain}.gm-category-card .gm-cat-img i{font-size:2.4rem;color:var(--gm-accent)}.gm-category-card h3{font-size:.9rem;margin:0;font-weight:600;font-family:var(--gm-head);color:var(--gm-heading)}
@media(min-width:1200px){.gm-cats-row>[class*="col-xl"]{flex:0 0 auto;width:12.5%}}
.gm-promo-strip{background:var(--gm-bg)}
.gm-promo-card{border:0;border-radius:12px;padding:1.4rem 1.3rem;display:flex;align-items:center;gap:1.1rem;height:100%}
.gm-promo-card .gm-promo-ic{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.gm-promo-card .gm-promo-ic i{font-size:1.4rem;color:#fff}
.gm-promo-card strong{display:block;font-family:var(--gm-head);font-weight:800;text-transform:uppercase;font-size:1rem;margin-bottom:.2rem}
.gm-promo-card p{margin:0;color:var(--gm-muted);font-size:.85rem;line-height:1.4}
.gm-promo-card a{font-size:.74rem;font-weight:800;font-family:var(--gm-head);text-decoration:none;text-transform:uppercase;margin-top:.4rem;display:inline-flex;align-items:center;gap:.3rem}
.gm-promo-card.promo-green{background:#f3f9e8}.promo-green .gm-promo-ic{background:#7cb518}.promo-green strong,.promo-green a{color:#5d8d10}
.gm-promo-card.promo-blue{background:#eaf3fd}.promo-blue .gm-promo-ic{background:#2f7de1}.promo-blue strong,.promo-blue a{color:#2f7de1}
.gm-promo-card.promo-amber{background:#fef6e7}.promo-amber .gm-promo-ic{background:#f59e0b}.promo-amber strong,.promo-amber a{color:#b8780a}
.gm-promo-card.promo-purple{background:#f1eefe}.promo-purple .gm-promo-ic{background:#7c5cff}.promo-purple strong,.promo-purple a{color:#7c5cff}
[data-theme="dark"] .gm-promo-card.promo-green{background:rgba(124,181,24,.13)}[data-theme="dark"] .promo-green strong,[data-theme="dark"] .promo-green a{color:#a4d055}
[data-theme="dark"] .gm-promo-card.promo-blue{background:rgba(47,125,225,.15)}[data-theme="dark"] .promo-blue strong,[data-theme="dark"] .promo-blue a{color:#69a8f5}
[data-theme="dark"] .gm-promo-card.promo-amber{background:rgba(245,158,11,.14)}[data-theme="dark"] .promo-amber strong,[data-theme="dark"] .promo-amber a{color:#f0b44a}
[data-theme="dark"] .gm-promo-card.promo-purple{background:rgba(124,92,255,.17)}[data-theme="dark"] .promo-purple strong,[data-theme="dark"] .promo-purple a{color:#a690ff}
[data-theme="dark"] .gm-promo-card p{color:var(--gm-muted)}
.sidebar-filter,.product-tabs-wrapper,.offcanvas,.modal-content,.woocommerce-products-header{background:var(--gm-surface)!important;color:var(--gm-text);border-color:var(--gm-border)!important}.form-control,.form-select,.woocommerce .quantity .qty{background:var(--gm-surface)!important;color:var(--gm-text)!important;border-color:var(--gm-border)!important}.form-control:focus,.form-select:focus{border-color:var(--gm-accent)!important;box-shadow:0 0 0 .2rem color-mix(in srgb,var(--gm-accent) 20%,transparent)!important}.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--gm-surface-alt);color:var(--gm-text);border-top-color:var(--gm-accent)}.woocommerce-breadcrumb,.text-muted,.text-secondary{color:var(--gm-muted)!important}.page-title,.product_title,h1,h2,h3,h4,h5,h6{color:var(--gm-heading)}
.site-footer{background:var(--gm-surface-alt)!important;color:var(--gm-text);border-top:1px solid var(--gm-border)}.footer-links a,.footer-links span,.site-footer small{color:var(--gm-muted)!important}.footer-links a:hover,.social-links a:hover{color:var(--gm-accent)!important}.footer-accordion-btn{color:var(--gm-heading);border-bottom-color:var(--gm-border)}
/* ---- Footer (mockup dark) ---- */
.gm-footer.site-footer{background:#141b24!important;color:#aeb6c2;border-top:0;padding-bottom:0;margin-top:2.5rem}
.gm-footer .gm-foot-grid{border-bottom:1px solid rgba(255,255,255,.08)}
.gm-footer .gm-footer-logo{height:50px!important;width:auto!important;display:block}
.gm-footer .gm-foot-about{font-size:.86rem;line-height:1.7;color:#aeb6c2;max-width:340px;margin:0}
.gm-footer .gm-foot-col h5{color:#fff;font-family:var(--gm-head);font-size:.95rem;font-weight:700;margin-bottom:1.1rem}
.gm-footer .footer-links li{margin-bottom:.7rem}
.gm-footer .footer-links a{font-size:.86rem;color:#aeb6c2!important;text-decoration:none}
.gm-footer .footer-links a:hover{color:var(--gm-accent)!important}
.gm-footer .gm-foot-contact-item{display:flex;gap:.7rem;align-items:flex-start;margin-bottom:.85rem;font-size:.86rem;color:#aeb6c2}
.gm-footer .gm-foot-contact-item i{color:var(--gm-accent);font-size:1rem;flex:none;margin-top:.15rem;width:18px;text-align:center}
.gm-footer .gm-foot-contact-item a{color:#aeb6c2;text-decoration:none}
.gm-footer .gm-foot-contact-item a:hover{color:var(--gm-accent)}
.gm-footer .social-links a{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.08);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;transition:.15s}
.gm-footer .social-links a:hover{background:var(--gm-accent);color:#fff;transform:translateY(-2px)}
.gm-footer .gm-foot-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.4rem 0;font-size:.82rem;color:#aeb6c2}
.gm-footer .gm-pays{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.gm-footer .gm-pay-chip{background:rgba(255,255,255,.08);border-radius:5px;padding:.35rem .65rem;font-size:.7rem;font-weight:600;color:#cfd5de}
.gm-footer .footer-accordion-btn{color:#fff;border-bottom-color:rgba(255,255,255,.12)}
.gm-footer .footer-accordion-btn:hover{color:var(--gm-accent)}
@media(max-width:767.98px){.gm-footer .gm-foot-bottom{flex-direction:column;align-items:flex-start;text-align:start}}
/* ---- Breadcrumb bar (mockup) ---- */
.gm-crumb-bar{background:var(--gm-surface-alt);border-bottom:1px solid var(--gm-border)}
.gm-crumb-bar .woocommerce-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.15rem;min-height:54px;margin:0;padding:.5rem 0;font-size:.85rem;color:var(--gm-muted)}
.gm-crumb-bar .woocommerce-breadcrumb a{color:var(--gm-muted);text-decoration:none}
.gm-crumb-bar .woocommerce-breadcrumb a:hover{color:var(--gm-accent)}

[data-theme="dark"] .bg-white,[data-theme="dark"] .bg-light{background-color:var(--gm-surface)!important}[data-theme="dark"] .text-dark{color:var(--gm-heading)!important}[data-theme="dark"] img{filter:none}[data-theme="dark"] .btn-close{filter:invert(1) grayscale(100%)}
@media(max-width:1199.98px){.gm-logo-mark{width:40px;height:40px}.gm-logo-text{font-size:1.25rem}.header-logo .gm-logo-img{height:40px!important}.gm-theme-switcher .dropdown-menu{inset:auto auto auto 0!important;transform:none!important}.mega-menu-dropdown{display:none!important}}
@media(max-width:575.98px){.header-logo .gm-logo-img{height:34px!important}}
@media(max-width:767.98px){body{padding-bottom:env(safe-area-inset-bottom)!important}.hero-slide{min-height:calc(100svh - 70px)}.hero-slide h1{font-size:2rem}.gm-trust-item{padding:1rem .4rem}.gm-trust-row .col:nth-child(2n)::after{display:none}.section-heading-row{align-items:flex-start;flex-direction:column}.gm-promo-card{align-items:flex-start}.gm-mega-category-grid{grid-template-columns:1fr 1fr}}
@media(max-width:575.98px){.gm-trust-row .col::after{display:none!important}}

/* ---- Enhanced Mega Menu ---- */
.gm-mega-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:1rem;background:var(--gm-surface);border:1px solid var(--gm-border);border-radius:0 0 24px 24px;box-shadow:var(--gm-shadow);padding:1rem;min-height:430px}
.gm-mega-tabs{background:var(--gm-card);border:1px solid var(--gm-border);border-radius:18px;padding:1rem;display:flex;flex-direction:column;gap:.45rem}
.gm-mega-tab{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:.75rem;text-decoration:none;color:var(--gm-text);font-weight:900;border:1px solid transparent;border-radius:14px;padding:.7rem;background:transparent;min-height:58px}
.gm-mega-tab:hover,.gm-mega-tab:focus,.gm-mega-tab.is-active{background:var(--gm-accent-soft);border-color:color-mix(in srgb,var(--gm-accent) 55%,var(--gm-border));color:var(--gm-heading);outline:none}
.gm-mega-tab>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gm-mega-tab>i{color:var(--gm-accent);font-size:.75rem}
.gm-mega-panels{position:relative;min-width:0}.gm-mega-panel-content{display:none;grid-template-columns:minmax(0,1.05fr) minmax(260px,.85fr) minmax(250px,.85fr);gap:1rem;height:100%}.gm-mega-panel-content.is-active{display:grid}.gm-mega-subpanel{background:var(--gm-card);border:1px solid var(--gm-border);border-radius:18px;padding:1.25rem;min-width:0}.gm-mega-title-row{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.gm-mega-title-row h3{margin:0}.gm-mega-title-row a{color:var(--gm-accent-strong);font-size:.82rem;font-weight:900;text-decoration:none;white-space:nowrap}.gm-mega-subcategory-list{display:grid;gap:.65rem}.gm-mega-subcategory{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--gm-text);font-weight:800;border:1px solid var(--gm-border);background:var(--gm-surface-alt);border-radius:14px;padding:.7rem}.gm-mega-subcategory:hover{border-color:var(--gm-accent);color:var(--gm-heading);transform:translateY(-1px)}
.gm-mega-product-grid{display:grid;gap:.7rem}.gm-mega-product{display:grid;grid-template-columns:64px minmax(0,1fr);gap:.75rem;align-items:center;text-decoration:none;color:var(--gm-text);border:1px solid var(--gm-border);border-radius:14px;background:var(--gm-surface-alt);padding:.55rem}.gm-mega-product:hover{border-color:var(--gm-accent);color:var(--gm-heading)}.gm-mega-product-img{display:flex;align-items:center;justify-content:center;background:var(--gm-surface);border-radius:12px;width:64px;height:64px;overflow:hidden}.gm-mega-product-img img{max-width:100%;height:100%;object-fit:contain}.gm-mega-product-info{min-width:0}.gm-mega-product-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800;font-size:.86rem}.gm-mega-product-info strong{display:block;color:var(--gm-accent-strong);font-size:.82rem;margin-top:.15rem}.gm-mega-feature{background:radial-gradient(circle at 80% 18%,rgba(124,181,24,.30),transparent 42%),linear-gradient(135deg,var(--gm-heading),#22300e);background-size:cover;background-position:center;border:1px solid color-mix(in srgb,var(--gm-accent) 45%,transparent);border-radius:18px;padding:1.25rem;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;min-height:100%;overflow:hidden}.gm-mega-feature h3{color:#fff;margin-bottom:.65rem}.gm-mega-feature p:not(.gm-mega-eyebrow){color:rgba(255,255,255,.82);font-size:.92rem}.gm-mega-feature .gm-mega-eyebrow{color:var(--gm-accent-strong)}
.gm-mega-panel-main,.gm-mega-promo{display:none}

/* Center the primary mega menu on the viewport, not on its trigger button. */
.header-nav{position:relative}.gm-all-categories{position:static}.gm-all-categories>.gm-mega-menu{left:calc(50% - 50vw + (100vw - 100%) / 2);right:auto;transform:none;width:100vw;max-width:100vw}.gm-all-categories>.gm-mega-menu>.mega-menu-content{margin-left:auto;margin-right:auto}
body.rtl .header-nav .gm-all-categories>.gm-mega-menu{left:calc(50% - 50vw + (100vw - 100%) / 2)!important;right:auto!important;transform:none!important}

/* ---- Mobile Category Accordion ---- */
.gm-mobile-category-menu{margin-bottom:1rem}.gm-mobile-menu-title{font-weight:900;text-transform:uppercase;color:var(--gm-heading);font-size:.82rem;letter-spacing:.06em;margin-bottom:.7rem}.gm-mobile-accordion{display:grid;gap:.55rem}.gm-mobile-category-item{background:var(--gm-card)!important;border:1px solid var(--gm-border)!important;border-radius:14px!important;overflow:hidden}.gm-mobile-category-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.gm-mobile-category-link{display:flex;align-items:center;gap:.75rem;min-height:54px;padding:.6rem .75rem;text-decoration:none;color:var(--gm-heading);font-weight:900}.gm-mobile-category-toggle{width:50px;min-height:54px;border:0;background:transparent;color:var(--gm-accent);display:flex;align-items:center;justify-content:center}.gm-mobile-category-toggle i{transition:transform .2s}.gm-mobile-category-toggle:not(.collapsed) i{transform:rotate(180deg)}.gm-mobile-panel{padding:0!important}
.gm-mobile-subcategories{display:grid;gap:.15rem;padding:.25rem .75rem .6rem 3.65rem}.gm-mobile-subcategories a{color:var(--gm-text);text-decoration:none;padding:.45rem 0;font-weight:700}.gm-mobile-subcategories a.gm-mobile-see-all{color:var(--gm-accent-strong);font-weight:900}
.gm-mobile-product-block{padding:.6rem .75rem .85rem;border-top:1px solid var(--gm-border)}
.gm-mobile-block-title{font-weight:900;text-transform:uppercase;color:var(--gm-muted);font-size:.7rem;letter-spacing:.06em;margin:.25rem 0 .6rem}
.gm-mobile-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.gm-mobile-product{display:flex;flex-direction:column;gap:.3rem;text-decoration:none;color:var(--gm-text);background:var(--gm-surface-alt);border:1px solid var(--gm-border);border-radius:12px;padding:.5rem}
.gm-mobile-product:hover{border-color:var(--gm-accent)}
.gm-mobile-product-img{display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--gm-surface)}
.gm-mobile-product-img img{width:100%;height:100%;object-fit:contain}
.gm-mobile-product-name{font-weight:700;font-size:.78rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gm-mobile-product-price{font-weight:900;font-size:.82rem;color:var(--gm-accent-strong)}
.gm-mobile-product-price del{color:var(--gm-muted);font-weight:600;font-size:.72rem;margin-inline-end:.25rem}
.gm-mobile-promo{margin-top:.85rem;border-radius:16px;padding:1.1rem;background:radial-gradient(circle at 80% 20%,rgba(124,181,24,.28),transparent 45%),linear-gradient(135deg,var(--gm-surface-alt),var(--gm-card));border:1px solid var(--gm-border);background-size:cover;background-position:center}
.gm-mobile-promo h3{font-weight:900;color:var(--gm-heading);margin:.15rem 0 .4rem;font-size:1.05rem}
.gm-mobile-promo-text{color:var(--gm-text);font-size:.85rem;margin-bottom:.85rem}
.gm-mobile-promo .gm-btn-accent{display:inline-block;text-decoration:none}
body.rtl .gm-mobile-subcategories{padding:.25rem 3.65rem .6rem .75rem}
.gm-mobile-preferences{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.gm-mobile-preferences .mobile-lang-switcher{flex:1;min-width:0}.gm-mobile-theme-switcher{flex:0 0 auto;position:relative}.gm-mobile-theme-switcher .gm-theme-toggle{border:1px solid var(--gm-border);border-radius:999px;background:var(--gm-surface-alt);padding:.35rem .65rem;min-height:34px;color:var(--gm-text)!important}.gm-mobile-theme-switcher .gm-theme-toggle-label{display:inline!important;font-size:.78rem;font-weight:800}.gm-mobile-theme-switcher .dropdown-menu{min-width:10rem}.gm-mobile-theme-switcher .dropdown-menu.show{left:auto!important;right:0!important;top:100%!important;transform:none!important;margin-top:.35rem}
body.rtl .gm-mobile-theme-switcher .dropdown-menu.show{left:0!important;right:auto!important}
@media(max-width:1399.98px){.gm-mega-shell{grid-template-columns:270px minmax(0,1fr)}.gm-mega-panel-content{grid-template-columns:minmax(0,1fr) minmax(240px,.9fr)}.gm-mega-feature{grid-column:1/-1;min-height:180px}}

/* ---- Shop / category filters ---- */
/* Filters aligned on mockup (.fbox cards) */
.gm-shop-filters{background:transparent!important;padding:0!important}
.gm-shop-filters>h5{font-family:var(--gm-head);font-weight:800;font-size:1.05rem;margin-bottom:1rem}
.gm-shop-filters .gm-filter-group{border:1px solid var(--gm-border);border-radius:12px;padding:1.1rem;margin-bottom:1.1rem;background:var(--gm-surface)}
.gm-shop-filters .gm-filter-group>.form-label{font-family:var(--gm-head)!important;font-weight:700!important;font-size:.95rem!important;margin-bottom:.85rem;color:var(--gm-heading)}
.gm-shop-filters .form-check{margin-bottom:.35rem;display:flex;align-items:center;gap:.55rem;padding:.15rem 0}
.gm-shop-filters .form-check .form-check-input{float:none;margin:0;width:16px;height:16px;accent-color:var(--gm-accent)}
.gm-shop-filters .form-check-label{cursor:pointer;font-size:.9rem;color:var(--gm-text)}
.gm-shop-filters .form-check:hover .form-check-label{color:var(--gm-accent)}
.gm-shop-filters .filter-orderby{border-radius:8px!important}
.gm-shop-filters .reset-filters-btn{border-radius:8px!important;font-weight:700}
.gm-select-wrap{position:relative}.gm-select-arrow{position:absolute;top:50%;right:.85rem;transform:translateY(-50%);pointer-events:none;color:var(--gm-muted);font-size:.72rem;line-height:1}.gm-shop-filters .filter-orderby{appearance:none;-webkit-appearance:none;background-color:var(--gm-surface)!important;padding-right:2.25rem!important;cursor:pointer}
body.rtl .gm-select-arrow{right:auto;left:.85rem}body.rtl .gm-shop-filters .filter-orderby{padding-right:.75rem!important;padding-left:2.25rem!important}
.gm-price-slider{position:relative;height:34px}
.gm-price-slider input[type="range"]{position:absolute;left:0;top:8px;width:100%;height:6px;margin:0;background:transparent;pointer-events:none;appearance:none;-webkit-appearance:none}
.gm-price-slider input[type="range"]::-webkit-slider-runnable-track{height:6px;background:var(--gm-border);border-radius:999px}
.gm-price-slider input[type="range"]::-moz-range-track{height:6px;background:var(--gm-border);border-radius:999px}
.gm-price-slider input[type="range"]::-webkit-slider-thumb{width:18px;height:18px;border-radius:50%;border:3px solid var(--gm-surface);background:var(--gm-accent);box-shadow:0 2px 8px rgba(0,0,0,.2);pointer-events:auto;cursor:pointer;appearance:none;-webkit-appearance:none;margin-top:-6px}
.gm-price-slider input[type="range"]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;border:3px solid var(--gm-surface);background:var(--gm-accent);box-shadow:0 2px 8px rgba(0,0,0,.2);pointer-events:auto;cursor:pointer}
.gm-price-slider .filter-min-price{z-index:2}.gm-price-slider .filter-max-price{z-index:3}
.gm-shop-filters .gm-stars-label{display:inline-flex;align-items:center;gap:.15rem;color:#f5a623}
.gm-shop-filters .gm-stars-label span{color:var(--gm-text-muted,#6b7280);margin-inline-start:.25rem}
.gm-shop-filters .filter-rating{margin-top:.35rem}
.products-wrapper.loading{opacity:.5;pointer-events:none;transition:opacity .2s}
/* Product card rating */
.gm-stars{color:#f5a623;font-size:.85rem;display:flex;align-items:center;justify-content:center;gap:.1rem}
.gm-stars .gm-rating-count{color:var(--gm-text-muted,#6b7280);font-size:.78rem;margin-inline-start:.3rem}
/* RTL: keep checkbox/label flow native via Bootstrap RTL; stars mirror naturally */
body.rtl .gm-shop-filters .gm-stars-label{flex-direction:row}

/* ---- Mobile filters: sticky toolbar + offcanvas ---- */
.gm-shop-toolbar{position:sticky;top:var(--gm-header-h,64px);z-index:1020;background:var(--gm-bg,#fff);padding:.5rem 0;margin-inline:-.25rem}
.gm-open-filters-btn{font-weight:600}
.gm-open-filters-btn .gm-active-filter-count{margin-inline-start:.5rem;background:var(--gm-accent,#7cb518);color:var(--gm-on-accent);font-size:.72rem;min-width:1.4rem}
.gm-filters-offcanvas .offcanvas-footer .gm-see-results-btn{font-weight:600}
.gm-filters-offcanvas .gm-see-results-count{margin-inline-start:.25rem}
@media (min-width:992px){
	.gm-filters-offcanvas .offcanvas-body{display:block;width:100%}
	.gm-filters-offcanvas .gm-shop-filters{width:100%}
}
@media (max-width:991.98px){
	/* Sidebar column must not occupy flow space on mobile (offcanvas is fixed). */
	.gm-shop-sidebar-col{margin-bottom:0!important}
	.gm-filters-offcanvas.offcanvas-lg{width:min(86vw,360px);background:var(--gm-surface,#fff);color:var(--gm-text)}
	.gm-filters-offcanvas .gm-shop-filters{background:transparent!important;box-shadow:none;border-radius:0;padding:1rem!important}
	.gm-filters-offcanvas .offcanvas-body{overflow-y:auto}
	.gm-filters-offcanvas .offcanvas-footer{flex:0 0 auto;background:var(--gm-surface,#fff)}
}
[data-theme="dark"] .gm-shop-toolbar{background:var(--gm-bg)}
[data-theme="dark"] .gm-filters-offcanvas.offcanvas-lg,
[data-theme="dark"] .gm-filters-offcanvas .offcanvas-header,
[data-theme="dark"] .gm-filters-offcanvas .offcanvas-footer{background:var(--gm-surface)!important;color:var(--gm-text);border-color:var(--gm-border)!important}

/* ---- Dark mode refinements ---- */
[data-theme="dark"] .card,
[data-theme="dark"] .nouveaute-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .gm-category-card{
	background:linear-gradient(180deg,var(--gm-card),#11170d)!important;
	border-color:var(--gm-border)!important;
	color:var(--gm-text)!important;
	box-shadow:var(--gm-shadow-soft)!important;
}
[data-theme="dark"] .nouveaute-card:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .gm-category-card:hover{border-color:color-mix(in srgb,var(--gm-accent) 42%,var(--gm-border))!important;box-shadow:var(--gm-shadow)!important}
[data-theme="dark"] .card-body,
[data-theme="dark"] .product-card .card-body{background:transparent;color:var(--gm-text)}
[data-theme="dark"] .product-card-img-wrap,
[data-theme="dark"] .gm-category-card .category-icon-wrapper,
[data-theme="dark"] .gm-mega-product-img,
[data-theme="dark"] .gm-mega-category-icon{background-color:var(--gm-surface-alt)!important}
[data-theme="dark"] .featured-products,
[data-theme="dark"] .products-hero,
[data-theme="dark"] .nouveautes,
[data-theme="dark"] .categories-section,
[data-theme="dark"] .gm-promo-strip{background:var(--gm-bg)!important}
[data-theme="dark"] .woocommerce-products-header,
[data-theme="dark"] .sidebar-filter,
[data-theme="dark"] .gm-shop-filters,
[data-theme="dark"] .products-wrapper,
[data-theme="dark"] .product-tabs-wrapper,
[data-theme="dark"] .offcanvas,
[data-theme="dark"] .modal-content{background:var(--gm-surface)!important;color:var(--gm-text)!important;border-color:var(--gm-border)!important}
[data-theme="dark"] .gm-shop-filters{box-shadow:var(--gm-shadow-soft)}
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .woocommerce .quantity .qty,
[data-theme="dark"] .sidebar-filter .form-control,
[data-theme="dark"] .sidebar-filter .form-select{background-color:#11180d!important;color:var(--gm-text)!important;border-color:var(--gm-border)!important}
[data-theme="dark"] .form-control::placeholder{color:var(--gm-muted)!important}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-check-input:focus{border-color:var(--gm-accent)!important;box-shadow:0 0 0 .2rem color-mix(in srgb,var(--gm-accent) 24%,transparent)!important}
[data-theme="dark"] .form-select option{background:#11180d;color:var(--gm-text)}
[data-theme="dark"] .form-check-input{background-color:#11180d!important;border-color:var(--gm-border)!important}
[data-theme="dark"] .form-check-input:checked{background-color:var(--gm-accent)!important;border-color:var(--gm-accent)!important}
[data-theme="dark"] .form-check-input[type="radio"]:checked{background-image:radial-gradient(circle,#111 0 34%,transparent 38%)}
[data-theme="dark"] .form-check-label,
[data-theme="dark"] .form-label{color:var(--gm-text)!important}
[data-theme="dark"] .btn-dark,
[data-theme="dark"] .woocommerce .button,
[data-theme="dark"] .woocommerce button.button,
[data-theme="dark"] .ajax-atc-btn,
[data-theme="dark"] .woocommerce div.product form.cart .button.single_add_to_cart_button{background:linear-gradient(135deg,#18220f,#0f160b)!important;border-color:#334226!important;color:var(--gm-heading)!important}
[data-theme="dark"] .btn-dark:hover,
[data-theme="dark"] .woocommerce .button:hover,
[data-theme="dark"] .woocommerce button.button:hover,
[data-theme="dark"] .ajax-atc-btn:hover,
[data-theme="dark"] .woocommerce div.product form.cart .button.single_add_to_cart_button:hover{background:linear-gradient(135deg,var(--gm-accent),var(--gm-accent-strong))!important;border-color:var(--gm-accent)!important;color:var(--gm-on-accent)!important}
[data-theme="dark"] .btn-outline-dark,
[data-theme="dark"] .btn-outline-secondary{background:#11180d!important;border-color:var(--gm-border)!important;color:var(--gm-text)!important}
[data-theme="dark"] .btn-outline-dark:hover,
[data-theme="dark"] .btn-outline-secondary:hover{background:var(--gm-accent)!important;border-color:var(--gm-accent)!important;color:var(--gm-on-accent)!important}
[data-theme="dark"] .ajax-atc-btn.added{background:var(--gm-accent)!important;border-color:var(--gm-accent)!important;color:var(--gm-on-accent)!important}

/* ---- Header actions mobile : bouton recherche ---- */
.haction-search{background:transparent;border:0;padding:0;cursor:pointer;color:var(--gm-text);line-height:1.15;display:inline-flex;align-items:center}
.haction-search:hover{color:var(--gm-accent)}
.haction-search:hover .ha-ic{color:var(--gm-accent)}
.haction-search:focus-visible{outline:2px solid var(--gm-accent);outline-offset:2px;border-radius:6px}
@media(max-width:767.98px){.head-actions{gap:1rem!important}}
@media(max-width:399.98px){.head-actions{gap:.6rem!important}}

/* ---- Offcanvas recherche mobile (#mobileSearch) ---- */
.gm-search-offcanvas{height:auto;border-bottom:1px solid var(--gm-border);background:var(--gm-surface);--bs-offcanvas-transition:transform .3s ease}
.gm-search-offcanvas .offcanvas-header{padding:.85rem 1rem .65rem;border-bottom:1px solid var(--gm-border)}
.gm-search-offcanvas .offcanvas-title{font-family:var(--gm-head);font-weight:800;font-size:.92rem;color:var(--gm-heading)}
.gm-search-offcanvas .btn-close{filter:none;opacity:.6}
[data-theme="dark"] .gm-search-offcanvas .btn-close{filter:invert(1) grayscale(100%);opacity:.6}
.gm-search-offcanvas .offcanvas-body{padding:1rem;display:flex;align-items:center}
.gm-search-offcanvas .gm-search-form{max-width:none;width:100%;height:50px;margin:0;opacity:0;transform:translateY(-6px) scale(.98);transition:opacity .28s ease .08s,transform .28s ease .08s}
.gm-search-offcanvas.show .gm-search-form{opacity:1;transform:translateY(0) scale(1)}
.gm-search-offcanvas .gm-search-input{font-size:1rem;padding:0 14px}
.gm-search-offcanvas .gm-search-btn{width:52px;font-size:1rem}
[data-theme="dark"] .gm-search-offcanvas{background:var(--gm-surface);border-bottom-color:var(--gm-border)}
[data-theme="dark"] .gm-search-offcanvas .offcanvas-header{border-bottom-color:var(--gm-border)}
