body{margin:0;background:#F4F7FA}
a{color:#014A77}a:hover{color:#00599B}
@keyframes defile{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.marquee-track{animation:defile 45s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.marquee-track{animation:none}}

*{box-sizing:border-box}
@media (min-width:701px){header>div{flex-wrap:nowrap!important}header>div>*{flex-shrink:0}header .mainnav{flex-shrink:1;justify-content:center}header>div>div{flex-wrap:nowrap!important}.mainnav a{white-space:nowrap}}
@media (max-width:1360px){.hide-m{display:none!important}}
@media (max-width:700px){
 h1{font-size:40px!important}
 h2{font-size:30px!important}
 section{padding-left:20px!important;padding-right:20px!important}
 .hero-card{left:12px!important;top:12px!important}
 .hero-slider{height:300px!important}
 .band{padding:28px!important}
 .hide-m,.hero-card{display:none!important}
 header>div{padding:12px 20px!important}
}

/* Menu flottant : l'en-tête reste visible en haut de l'écran pendant le défilement. */
.site-header { position: sticky; top: 0; z-index: 1000; transition: box-shadow .2s ease; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(1, 74, 119, .12); }
html { scroll-padding-top: 96px; }

/* Catalogue */
.lg-shop { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.lg-side { flex: 1 1 240px; max-width: 280px; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; font-size: 14px; }
.lg-main { flex: 999 1 560px; min-width: 0; }
.lg-side details { background: #fff; border: 1px solid #D5DEE6; border-radius: 14px; padding: 6px 14px 10px; margin-bottom: 14px; }
.lg-side summary { font-family: Archivo, sans-serif; font-weight: 700; font-size: 16px; padding: 8px 0; cursor: pointer; color: #014A77; }
.lg-side ul { list-style: none; margin: 0; padding: 0; }
.lg-side ul.children { padding-left: 14px; border-left: 1px solid #E8EEF3; margin-left: 4px; }
.lg-side li { margin: 2px 0; color: #4A5560; }
.lg-side li a { display: inline-block; padding: 4px 0; text-decoration: none; color: #014A77; }
.lg-side li a:hover { color: #00599B; text-decoration: underline; }
.lg-side li.current-cat > a, .lg-side a.is-on { font-weight: 700; background: #FBE329; padding: 2px 8px; border-radius: 6px; }
.lg-side .lg-brands span { color: #8A97A3; }
.lg-univers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 8px 0 32px; }
.lg-uni { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #D5DEE6; border-radius: 16px; padding: 12px; text-decoration: none; color: #014A77; transition: border-color .15s, box-shadow .15s; }
.lg-uni:hover { border-color: #00599B; box-shadow: 0 6px 18px rgba(1, 74, 119, .10); }
.lg-uni-img { display: flex; align-items: center; justify-content: center; height: 120px; background: #F4F7FA; border-radius: 10px; overflow: hidden; }
.lg-uni-img img { max-width: 100%; max-height: 110px; object-fit: contain; }
.lg-uni-name { font-family: Archivo, sans-serif; font-weight: 700; font-size: 16px; margin-top: 6px; }
.lg-uni-n { font-size: 13px; color: #4A5560; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.lg-chips a { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 14px; background: #fff; border: 1px solid #D5DEE6; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: #014A77; }
.lg-chips a:hover { border-color: #014A77; }
.lg-chips a span { color: #8A97A3; font-weight: 500; }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; color: #014A77; }
.woocommerce-products-header__title { font-family: Archivo, sans-serif; font-weight: 800; font-size: 40px; margin: 8px 0 16px; }
@media (max-width: 860px) { .lg-side { position: static; max-width: none; max-height: none; } .lg-side details:not([open]) { padding-bottom: 6px; } }

/* Menu déroulant « Catalogue » */
.lg-dd { position: relative; }
.lg-dd-menu { display: none; position: absolute; left: -16px; top: 100%; padding-top: 12px; z-index: 1001; }
.lg-dd-menu ul { list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid #D5DEE6; border-radius: 14px; box-shadow: 0 14px 34px rgba(1, 74, 119, .14); min-width: 240px; }
.lg-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: #014A77; font-weight: 500; white-space: nowrap; }
.lg-dd-menu a:hover { background: #E3F0F8; }
.lg-dd-menu li.lg-dd-all a { font-weight: 700; border-top: 1px solid #E8EEF3; margin-top: 4px; }
.lg-dd:hover .lg-dd-menu, .lg-dd:focus-within .lg-dd-menu { display: block; }

/* Menu mobile */
.lg-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #D5DEE6; background: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
@media (max-width: 700px) {
 .lg-burger { display: inline-flex; }
 .site-header > div { flex-wrap: wrap !important; }
 .site-header .mainnav { display: none !important; order: 10; flex-basis: 100%; flex-direction: column; gap: 0 !important; padding: 8px 0 4px; border-top: 1px solid #E8EEF3; font-size: 17px !important; }
 .site-header.is-open .mainnav { display: flex !important; }
 .site-header .mainnav > a, .site-header .mainnav .lg-dd > a { display: block; padding: 13px 4px; border-bottom: 1px solid #F0F3F6; }
 .site-header .lg-dd { display: block; }
 .site-header .lg-dd-menu { display: none !important; }
 .site-header .lg-dd.is-open .lg-dd-menu { display: block !important; position: static; padding: 0 0 8px 12px; }
 .site-header .lg-dd-menu ul { border: 0; box-shadow: none; padding: 0; min-width: 0; }
 .site-header .lg-dd-menu a { padding: 10px 8px; font-size: 16px; }
 .site-header.is-open { max-height: 100vh; overflow-y: auto; }
}
@media (max-width: 700px) {
 .site-header .lg-tel { padding: 0 !important; width: 44px; justify-content: center; }
 .site-header .lg-tel-txt { display: none; }
 .site-header > div { justify-content: space-between !important; }
}
@media (max-width: 380px) { .site-header > div > a:first-child span span:last-child { display: none; } }
@media (max-width: 700px) {
 .site-header > div { gap: 10px !important; flex-wrap: wrap !important; }
 .site-header > div > div { gap: 8px !important; flex-wrap: nowrap !important; margin-left: auto; }
}
@media (max-width: 700px) { .site-header a[aria-label="Catalogue"] { display: none !important; } }

/* Barre de recherche de l'en-tête */
.lg-search{display:flex;gap:8px;max-width:1200px;margin:0 auto;padding:0 24px 14px}
.lg-search[hidden]{display:none!important}
.lg-search input[type=search]{flex:1;height:46px;padding:0 16px;border:1px solid #D5DEE6;border-radius:10px;font-size:16px}
.lg-search button{height:46px;padding:0 20px;border:0;border-radius:10px;background:#014A77;color:#fff;font-weight:600;cursor:pointer}
