:root{--cs-blue:#07589f;--cs-blue-dark:#064b89;--cs-orange:#ff5317;--cs-ink:#071a35;--cs-line:#e5eaf0;--cs-bg:#f5f8fc}
body{color:var(--cs-ink);background:var(--cs-bg)}
#header{background:#fff;box-shadow:0 2px 10px rgba(15,48,83,.08)}
#header .header-banner{margin:0}

/* Bandeau bleu supérieur */
.cs-trustbar{background:linear-gradient(90deg,#064f91,#075fa9);color:#fff;font-size:14px;line-height:1.2}
.cs-trustbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cs-trust-items,.cs-contact-items{display:flex;align-items:center;gap:28px;white-space:nowrap}
.cs-contact-items a,.cs-contact-items a:hover,.cs-contact-items *{color:#fff!important;text-decoration:none!important}
.cs-nav1 .contact-link{margin:0!important;padding:0!important}
.cs-nav1 .contact-link a{font-size:0}
.cs-nav1 .contact-link a:before{content:"Besoin d'aide ? ";font-size:14px}
.cs-nav1 .contact-link a[href^="tel:"]{font-size:14px}

/* Grille principale : logo | recherche | actions ; menu dessous */
.cs-header-top{padding:0!important;background:#fff!important}
.cs-header-container{position:relative}
.cs-main-grid{display:grid;grid-template-columns:265px minmax(360px,1fr) auto;grid-template-rows:94px 48px;align-items:center;column-gap:24px;position:relative}
.cs-logo{grid-column:1;grid-row:1;display:flex;align-items:center;height:94px}
.cs-logo h1{margin:0}
#header .cs-logo img.logo{width:auto!important;max-width:250px!important;max-height:76px!important;height:auto!important}
.cs-displaytop{display:contents!important}

/* Recherche au centre */
.cs-main-grid .search-widget{grid-column:2;grid-row:1;position:relative!important;float:none!important;width:100%!important;max-width:none!important;margin:0!important;align-self:center}
.cs-main-grid .search-widget form{position:relative;width:100%;margin:0}
.cs-main-grid .search-widget input[type=text],.cs-main-grid .search-widget input[type=search]{height:52px!important;width:100%!important;border:1px solid #d4deea!important;border-radius:8px!important;background:#fff!important;padding:0 58px 0 18px!important;font-size:15px!important;box-shadow:0 1px 4px rgba(0,0,0,.03)}
.cs-main-grid .search-widget button{right:14px!important;top:50%!important;transform:translateY(-50%);bottom:auto!important;background:transparent!important;color:#061b38!important}

/* Actions compte, panier, module photo */
.cs-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:410px}
.cs-actions>*{float:none!important;margin:0!important}
.cs-actions .user-info,.cs-actions .blockcart{height:auto!important;margin:0!important;padding:0 9px!important;background:transparent!important;text-align:center}
.cs-actions .user-info a,.cs-actions .blockcart a{color:var(--cs-ink)!important;text-decoration:none!important}
.cs-actions .material-icons{display:block;font-size:30px!important;margin:0 auto 2px!important;color:var(--cs-ink)!important}
.cs-actions .blockcart .header{margin:0!important}
.cs-actions .csp-entry{order:99;margin-left:8px!important}
.cs-actions .csp-open{min-width:248px!important;min-height:62px!important;border-radius:8px!important;padding:10px 18px!important;justify-content:flex-start!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;box-shadow:none!important}
.cs-actions .csp-open strong{font-size:0!important;line-height:1.12!important}
.cs-actions .csp-open strong:before{content:"Je ne connais pas ma clé";display:block;font-size:14px;font-weight:700}
.cs-actions .csp-open strong:after{content:"Envoyez une photo";display:block;font-size:18px;font-weight:800;margin-top:3px}
.cs-actions .csp-camera{width:32px;height:23px}

/* Menu sur une ligne distincte */
.cs-main-grid .menu,.cs-main-grid #_desktop_top_menu{grid-column:1 / -1;grid-row:2;position:relative!important;float:none!important;width:100%!important;margin:0!important;align-self:stretch;display:flex!important;align-items:center;justify-content:center;border-top:1px solid var(--cs-line)}
#header .top-menu{margin:0!important;display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:nowrap}
#header .top-menu>li{float:none!important;display:block!important;margin:0!important}
#header .top-menu>li>a{display:block!important;padding:15px 22px 14px!important;color:#071a35!important;font-size:14px!important;font-weight:700!important;line-height:18px!important;text-transform:none!important;white-space:nowrap}
#header .top-menu>li>a:hover{color:#075fa9!important;background:#f5f9fd}
#top-menu ul.sub-menu,.top-menu .popover.sub-menu{display:none!important}

/* Nettoyage des styles Classic qui créaient les grands blancs */
#header .header-top>.container>.row{margin:0}
#header .header-nav{margin:0!important;border:0!important;max-height:none!important}
#wrapper{padding-top:22px;background:var(--cs-bg)}
.carousel{border-radius:10px;overflow:hidden;box-shadow:0 8px 25px rgba(14,52,89,.08)}
.products-section-title{color:var(--cs-ink)!important;font-weight:700!important}
.product-miniature .thumbnail-container{border-radius:10px;overflow:hidden;border:1px solid #e2e8ef;box-shadow:0 4px 14px rgba(14,52,89,.05)}
.btn-primary,.btn-primary:hover{background:var(--cs-orange);border-color:var(--cs-orange)}

/* Tablette : compacter les actions */
@media (min-width:768px) and (max-width:1199px){
 .cs-main-grid{grid-template-columns:190px minmax(260px,1fr) auto;column-gap:14px}
 #header .cs-logo img.logo{max-width:180px!important}
 .cs-actions{min-width:300px;gap:5px}
 .cs-actions .csp-open{min-width:190px!important;padding:9px 12px!important}
 .cs-actions .csp-open strong:before{font-size:12px}.cs-actions .csp-open strong:after{font-size:15px}
 #header .top-menu>li>a{padding-left:11px!important;padding-right:11px!important;font-size:12px!important}
 .cs-trust-items{gap:12px}.cs-contact-items{gap:12px}
}

/* Mobile */
@media(max-width:767px){
 .cs-trustbar{display:none!important}
 #header .header-nav{height:64px!important;background:#fff!important;border-bottom:1px solid #e7edf3!important}
 #header .header-nav .mobile{height:64px;display:flex;align-items:center;justify-content:space-between}
 #header .header-nav .top-logo{position:static!important;margin:0 auto!important}
 #header .header-nav .top-logo img{max-height:48px!important;width:auto!important}
 .cs-header-top{padding:0!important}
 .cs-main-grid{display:block!important}
 .cs-logo,.cs-actions{display:none!important}
 .cs-displaytop{display:block!important}
 .cs-main-grid .search-widget{display:block!important;width:calc(100% - 24px)!important;margin:10px 12px!important}
 .cs-main-grid .search-widget input[type=text],.cs-main-grid .search-widget input[type=search]{height:46px!important}
 .cs-main-grid .menu,.cs-main-grid #_desktop_top_menu{display:none!important}
 #wrapper{padding-top:12px}
 .csp-mobile-entry{display:block!important}
}


/* V4.1 — header réellement pleine largeur sur desktop */
@media (min-width:1200px){
  #header .cs-trustbar-inner,
  #header .cs-header-container{
    width:100%!important;
    max-width:none!important;
    padding-left:42px!important;
    padding-right:42px!important;
  }
  #header .cs-main-grid{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:280px minmax(420px,1fr) auto;
    column-gap:28px;
  }
  #header .cs-logo{justify-content:flex-start!important;}
  #header .cs-main-grid .menu,
  #header .cs-main-grid #_desktop_top_menu{width:100%!important;}
  #header .top-menu{width:100%!important;justify-content:center!important;}
}
@media (min-width:1600px){
  #header .cs-trustbar-inner,
  #header .cs-header-container{padding-left:64px!important;padding-right:64px!important;}
}

/* V4.3 — slots explicites : recherche | compte | panier | photo */
@media (min-width:768px){
 #header .cs-header-container{width:100%!important;max-width:none!important;padding:0 3.2vw!important;}
 #header .cs-main-row{height:104px;display:grid!important;grid-template-columns:minmax(220px,270px) minmax(330px,1fr) 105px 95px minmax(235px,270px);gap:18px;align-items:center;border-bottom:1px solid #e5eaf0;}
 #header .cs-logo{display:flex!important;align-items:center!important;height:auto!important;}
 #header .cs-logo h1{margin:0!important;}
 #header .cs-logo img.logo{width:auto!important;max-width:250px!important;max-height:76px!important;height:auto!important;}
 #header .cs-search-slot{min-width:0;position:relative;}
 #header .cs-search-slot .search-widget{position:relative!important;float:none!important;width:100%!important;max-width:none!important;margin:0!important;}
 #header .cs-search-slot .search-widget form{width:100%!important;margin:0!important;position:relative!important;}
 #header .cs-search-slot .search-widget input[type=text],#header .cs-search-slot .search-widget input[type=search]{width:100%!important;height:52px!important;border:1px solid #d4deea!important;border-radius:8px!important;background:#fff!important;padding:0 55px 0 18px!important;font-size:15px!important;box-shadow:none!important;}
 #header .cs-search-slot .search-widget button{position:absolute!important;right:12px!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;background:transparent!important;border:0!important;color:#071a35!important;}
 #header .cs-search-slot .search-widget button i{font-size:28px!important;}
 #header .cs-account-slot,#header .cs-cart-slot{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;}
 #header .cs-account-slot .user-info,#header .cs-cart-slot .blockcart{margin:0!important;padding:0!important;background:transparent!important;height:auto!important;float:none!important;}
 #header .cs-account-slot a,#header .cs-cart-slot a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;color:#071a35!important;text-decoration:none!important;font-size:14px!important;white-space:nowrap;}
 #header .cs-account-slot .material-icons,#header .cs-cart-slot .material-icons{font-size:30px!important;line-height:32px!important;margin:0 0 3px!important;color:#071a35!important;}
 #header .cs-cart-slot .blockcart .header{margin:0!important;}
 #header .cs-photo-slot{display:flex;align-items:center;justify-content:flex-end;}
 #header .cs-photo-slot .csp-entry{margin:0!important;display:block!important;width:100%;}
 #header .cs-photo-slot .csp-open{width:100%!important;min-width:0!important;min-height:64px!important;border-radius:8px!important;padding:9px 14px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;}
 #header .cs-photo-slot .csp-open strong{font-size:0!important;line-height:1.1!important;color:#fff!important;}
 #header .cs-photo-slot .csp-open strong:before{content:"Je ne connais pas ma clé";display:block;font-size:14px;font-weight:700;white-space:nowrap;}
 #header .cs-photo-slot .csp-open strong:after{content:"Envoyez une photo";display:block;font-size:18px;font-weight:800;margin-top:4px;white-space:nowrap;}
 #header .cs-photo-slot .csp-camera{flex:0 0 auto!important;width:34px!important;height:25px!important;}
 #header .cs-menu-row{height:50px;display:flex!important;align-items:center;justify-content:center;}
 #header .cs-menu-row .menu,#header .cs-menu-row #_desktop_top_menu{width:100%!important;margin:0!important;position:static!important;float:none!important;}
 #header .cs-menu-row .top-menu{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;margin:0!important;}
 #header .cs-menu-row .top-menu>li{float:none!important;margin:0!important;}
 #header .cs-menu-row .top-menu>li>a{padding:16px 20px!important;font-size:14px!important;font-weight:700!important;color:#071a35!important;white-space:nowrap;}
 /* displayTop complet sert uniquement de réserve aux modules non ciblés; masquer les 2 modules déjà rendus */
 #header .cs-fallback-hooks{display:none!important;}
}
@media (min-width:768px) and (max-width:1199px){
 #header .cs-main-row{grid-template-columns:180px minmax(240px,1fr) 85px 80px 195px;gap:8px;}
 #header .cs-logo img.logo{max-width:175px!important;}
 #header .cs-photo-slot .csp-open strong:before{font-size:11px!important} #header .cs-photo-slot .csp-open strong:after{font-size:14px!important}
 #header .cs-menu-row .top-menu>li>a{padding-left:9px!important;padding-right:9px!important;font-size:12px!important;}
}


/* V4.4 — widgets natifs rendus directement + bouton photo relié au modal V3.6 */
@media (min-width:768px){
 #header .cs-main-row{height:104px!important;display:grid!important;grid-template-columns:minmax(220px,270px) minmax(360px,1fr) 110px 105px minmax(250px,285px)!important;gap:18px!important;align-items:center!important;border-bottom:1px solid #e5eaf0!important;}
 #header .cs-search-slot{display:block!important;min-width:0!important;}
 #header .cs-search-slot .search-widget{display:block!important;position:relative!important;float:none!important;width:100%!important;max-width:none!important;margin:0!important;}
 #header .cs-search-slot .search-widget form{display:block!important;width:100%!important;position:relative!important;margin:0!important;}
 #header .cs-search-slot input[type=text],#header .cs-search-slot input[type=search]{display:block!important;width:100%!important;height:52px!important;border:1px solid #d4deea!important;border-radius:8px!important;padding:0 54px 0 18px!important;background:#fff!important;font-size:15px!important;}
 #header .cs-search-slot button{position:absolute!important;right:12px!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;border:0!important;background:transparent!important;color:#071a35!important;}
 #header .cs-account-slot,#header .cs-cart-slot{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-width:0!important;}
 #header .cs-account-slot .user-info,#header .cs-cart-slot .blockcart{display:block!important;float:none!important;margin:0!important;padding:0!important;background:transparent!important;height:auto!important;width:auto!important;}
 #header .cs-account-slot a,#header .cs-cart-slot a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:#071a35!important;text-decoration:none!important;font-size:14px!important;line-height:18px!important;white-space:nowrap!important;}
 #header .cs-account-slot .material-icons,#header .cs-cart-slot .material-icons{display:block!important;font-size:30px!important;line-height:32px!important;margin:0 0 3px!important;color:#071a35!important;}
 #header .cs-cart-slot .blockcart .header{margin:0!important;}
 #header .cs-photo-slot{display:flex!important;align-items:center!important;justify-content:flex-end!important;}
 #header .cs-photo-direct{width:100%!important;min-height:64px!important;border:0!important;border-radius:8px!important;padding:9px 15px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;cursor:pointer!important;box-shadow:none!important;}
 #header .cs-photo-icon{position:relative;display:block;width:34px;height:24px;border-radius:4px;background:#fff;color:transparent;flex:0 0 34px;}
 #header .cs-photo-icon:before{content:"";position:absolute;left:9px;top:5px;width:14px;height:14px;border:3px solid #ff5317;border-radius:50%;box-sizing:border-box;}
 #header .cs-photo-icon:after{content:"";position:absolute;left:9px;top:-4px;width:16px;height:7px;background:#fff;border-radius:3px 3px 0 0;}
 #header .cs-photo-copy{display:block;text-align:left;line-height:1.05;}
 #header .cs-photo-copy strong{display:block!important;color:#fff!important;font-size:14px!important;font-weight:700!important;white-space:nowrap!important;}
 #header .cs-photo-copy b{display:block!important;color:#fff!important;font-size:18px!important;font-weight:800!important;margin-top:4px!important;white-space:nowrap!important;}
 #header .cs-menu-row{height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
 #header .cs-menu-row .menu,#header .cs-menu-row #_desktop_top_menu{display:block!important;width:100%!important;position:static!important;float:none!important;margin:0!important;}
}
@media (min-width:768px) and (max-width:1199px){
 #header .cs-main-row{grid-template-columns:180px minmax(240px,1fr) 88px 82px 205px!important;gap:8px!important;}
 #header .cs-photo-copy strong{font-size:11px!important} #header .cs-photo-copy b{font-size:14px!important}
}

/* V4.5 — correction recherche réelle (ps_searchbar = .search-widgets) + bouton photo sans doublon */
@media (min-width:768px){
  #header .cs-main-row{grid-template-columns:minmax(220px,270px) minmax(520px,1fr) 110px 105px minmax(250px,285px)!important;}
  #header .cs-search-slot{width:100%!important;min-width:0!important;display:block!important;}
  #header .cs-search-slot .search-widgets,
  #header .cs-search-slot #search_widget{display:block!important;position:relative!important;float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
  #header .cs-search-slot .search-widgets form,
  #header .cs-search-slot #search_widget form{display:block!important;position:relative!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
  #header .cs-search-slot .search-widgets form input[type=text],
  #header .cs-search-slot #search_widget form input[type=text]{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:52px!important;margin:0!important;padding:0 58px 0 18px!important;border:1px solid #d4deea!important;border-radius:8px!important;background:#fff!important;font-size:15px!important;color:#071a35!important;box-shadow:0 1px 4px rgba(0,0,0,.03)!important;}
  #header .cs-search-slot .search-widgets form button,
  #header .cs-search-slot #search_widget form button{position:absolute!important;z-index:2!important;right:14px!important;left:auto!important;top:50%!important;bottom:auto!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;transform:translateY(-50%)!important;border:0!important;background:transparent!important;color:#071a35!important;}
  #header .cs-search-slot .search-widgets form button i,
  #header .cs-search-slot #search_widget form button i{font-size:28px!important;line-height:34px!important;}
  #header .cs-search-slot .search-widgets form input::placeholder,
  #header .cs-search-slot #search_widget form input::placeholder{color:#69788a!important;opacity:1!important;}
  #header .cs-photo-direct.csp-open strong:before,
  #header .cs-photo-direct.csp-open strong:after{content:none!important;display:none!important;}
  #header .cs-photo-direct .cs-photo-copy strong{display:block!important;font-size:14px!important;line-height:1.05!important;color:#fff!important;font-weight:700!important;}
  #header .cs-photo-direct .cs-photo-copy b{display:block!important;font-size:18px!important;line-height:1.05!important;color:#fff!important;font-weight:800!important;margin-top:4px!important;}
}
@media (min-width:768px) and (max-width:1199px){
  #header .cs-main-row{grid-template-columns:180px minmax(300px,1fr) 88px 82px 205px!important;}
}

/* V4.6 — finalisation recherche / compte / panier */
@media (min-width:768px){
  /* Le X sous la recherche est le bouton de fermeture du champ natif. */
  #header .cs-search-slot .search-widgets form > i,
  #header .cs-search-slot #search_widget form > i,
  #header .cs-search-slot .search-widgets .clear,
  #header .cs-search-slot #search_widget .clear,
  #header .cs-search-slot .search-widgets [data-search-controller="clear"],
  #header .cs-search-slot #search_widget [data-search-controller="clear"]{display:none!important;visibility:hidden!important;}

  /* Libellé compte conforme à la maquette. */
  #header .cs-account-slot .user-info a{font-size:0!important;}
  #header .cs-account-slot .user-info a:after{content:"Mon compte";display:block;font-size:14px;line-height:18px;color:#071a35;font-weight:400;margin-top:2px;}
  #header .cs-account-slot .user-info .material-icons{font-size:30px!important;}

  /* Panier : garder le widget natif visible, avec icône + compteur + libellé. */
  #header .cs-cart-slot{display:flex!important;visibility:visible!important;opacity:1!important;}
  #header .cs-cart-slot .blockcart{display:block!important;visibility:visible!important;opacity:1!important;min-width:78px!important;}
  #header .cs-cart-slot .blockcart .header{display:block!important;visibility:visible!important;opacity:1!important;}
  #header .cs-cart-slot .blockcart .header a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;font-size:0!important;color:#071a35!important;}
  #header .cs-cart-slot .blockcart .header a:after{content:"Panier";display:block;font-size:14px;line-height:18px;color:#071a35;margin-top:2px;}
  #header .cs-cart-slot .blockcart .header .shopping-cart{display:block!important;font-size:31px!important;line-height:32px!important;margin:0!important;}
  #header .cs-cart-slot .blockcart .cart-products-count{display:block!important;position:absolute!important;transform:translate(18px,-7px)!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:10px!important;background:#075fa9!important;color:#fff!important;font-size:11px!important;line-height:19px!important;text-align:center!important;}
  #header .cs-cart-slot .blockcart .hidden-sm-down{display:none!important;}
}

/* V4.8 — alignement final du header avec vrais modules panier + photo */
@media (min-width:768px){
  #header .cs-main-row{
    display:grid!important;
    grid-template-columns:minmax(225px,260px) minmax(420px,1fr) 105px 95px minmax(255px,285px)!important;
    gap:18px!important;
    align-items:center!important;
    min-height:96px!important;
  }
  #header .cs-logo{grid-column:1!important;}
  #header .cs-search-slot{grid-column:2!important;min-width:0!important;}
  #header .cs-account-slot{grid-column:3!important;display:flex!important;justify-content:center!important;align-items:center!important;}
  #header .cs-cart-slot{grid-column:4!important;display:flex!important;justify-content:center!important;align-items:center!important;position:relative!important;min-width:80px!important;}
  #header .cs-photo-slot{grid-column:5!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;min-width:255px!important;}

  /* Panier natif */
  #header .cs-cart-slot .blockcart{display:block!important;visibility:visible!important;opacity:1!important;background:transparent!important;margin:0!important;padding:0!important;min-width:80px!important;height:auto!important;}
  #header .cs-cart-slot .blockcart .header{margin:0!important;display:block!important;}
  #header .cs-cart-slot .blockcart .header>a{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:#071a35!important;text-decoration:none!important;font-size:0!important;min-width:72px!important;}
  #header .cs-cart-slot .blockcart .shopping-cart{display:block!important;font-size:31px!important;line-height:32px!important;margin:0!important;color:#071a35!important;}
  #header .cs-cart-slot .blockcart .cart-products-count{display:block!important;position:absolute!important;top:-5px!important;left:42px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:12px!important;background:#075fa9!important;color:#fff!important;font-size:11px!important;line-height:20px!important;text-align:center!important;}
  #header .cs-cart-slot .blockcart .header>a:after{content:"Panier";display:block!important;font-size:14px!important;line-height:18px!important;color:#071a35!important;margin-top:3px!important;}
  #header .cs-cart-slot .blockcart .hidden-sm-down{display:none!important;}

  /* Vrai bouton Clé Service Photo V3.6 : son modal reste dans le DOM, donc le JS fonctionne. */
  #header .cs-photo-slot .csp-entry{display:block!important;margin:0!important;width:100%!important;}
  #header .cs-photo-slot .csp-open{width:100%!important;min-width:255px!important;min-height:62px!important;margin:0!important;padding:9px 16px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;color:#fff!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;}
  #header .cs-photo-slot .csp-open strong{font-size:0!important;line-height:1!important;color:#fff!important;}
  #header .cs-photo-slot .csp-open strong:before{content:"Je ne connais pas ma clé"!important;display:block!important;font-size:14px!important;line-height:16px!important;font-weight:700!important;white-space:nowrap!important;}
  #header .cs-photo-slot .csp-open strong:after{content:"Envoyez une photo"!important;display:block!important;font-size:18px!important;line-height:20px!important;font-weight:800!important;margin-top:2px!important;white-space:nowrap!important;}
  #header .cs-photo-slot .csp-camera{display:block!important;width:34px!important;height:26px!important;flex:0 0 34px!important;}
}
@media (min-width:768px) and (max-width:1199px){
  #header .cs-main-row{grid-template-columns:180px minmax(280px,1fr) 88px 80px 205px!important;gap:8px!important;}
  #header .cs-photo-slot{min-width:205px!important;}
  #header .cs-photo-slot .csp-open{min-width:205px!important;padding-left:10px!important;padding-right:10px!important;}
  #header .cs-photo-slot .csp-open strong:before{font-size:12px!important;}
  #header .cs-photo-slot .csp-open strong:after{font-size:15px!important;}
}

/* V4.9 — bouton photo depuis le vrai displayNav2 + panier visuel maquette */
@media (min-width:992px){
  /* Dans le slot photo on appelle displayNav2 complet, mais on ne conserve visuellement que Clé Service Photo. */
  #header .cs-photo-slot > *:not(.csp-entry):not(.csp-modal){display:none!important;}
  #header .cs-photo-slot .user-info,
  #header .cs-photo-slot .blockcart,
  #header .cs-photo-slot .language-selector-wrapper,
  #header .cs-photo-slot .currency-selector{display:none!important;}
  #header .cs-photo-slot .csp-entry{display:flex!important;width:100%!important;margin:0!important;align-items:center!important;justify-content:flex-end!important;}
  #header .cs-photo-slot .csp-open{display:flex!important;width:100%!important;min-width:255px!important;min-height:62px!important;margin:0!important;padding:9px 16px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;color:#fff!important;align-items:center!important;justify-content:center!important;gap:12px!important;box-shadow:none!important;}
  #header .cs-photo-slot .csp-open strong{font-size:0!important;color:#fff!important;line-height:1!important;}
  #header .cs-photo-slot .csp-open strong:before{content:"Je ne connais pas ma clé"!important;display:block!important;font-size:14px!important;line-height:16px!important;font-weight:700!important;white-space:nowrap!important;}
  #header .cs-photo-slot .csp-open strong:after{content:"Envoyez une photo"!important;display:block!important;font-size:18px!important;line-height:20px!important;font-weight:800!important;margin-top:2px!important;white-space:nowrap!important;}
  #header .cs-photo-slot .csp-camera{display:block!important;width:34px!important;height:26px!important;flex:0 0 34px!important;}
  /* Panier : vrai module PrestaShop, habillé comme la maquette. */
  #header .cs-cart-slot{display:flex!important;align-items:center!important;justify-content:center!important;min-width:78px!important;}
  #header .cs-cart-slot .blockcart{display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;height:auto!important;padding:0!important;margin:0!important;}
  #header .cs-cart-slot .blockcart .header{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:70px!important;margin:0!important;padding:0!important;line-height:1!important;}
  #header .cs-cart-slot .blockcart .header > a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;color:#071d3d!important;}
  #header .cs-cart-slot .blockcart .material-icons.shopping-cart{font-size:34px!important;line-height:34px!important;color:#071d3d!important;margin:0!important;}
  #header .cs-cart-slot .blockcart .cart-products-count{position:absolute!important;top:-6px!important;right:7px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:999px!important;background:#0867c9!important;color:#fff!important;font-size:12px!important;font-weight:800!important;box-sizing:border-box!important;}
  #header .cs-cart-slot .blockcart .header:after{content:"Panier";display:block!important;margin-top:5px!important;color:#071d3d!important;font-size:15px!important;font-weight:500!important;line-height:18px!important;}
  #header .cs-cart-slot .blockcart .cart-products-count + span{display:none!important;}
}


/* V4.10 — header final : panier natif + bouton photo direct vers le modal V3.6 */
@media (min-width:768px){
  /* Le module photo V3.6 garde son modal dans displayAfterBodyOpeningTag ; on masque seulement son bouton flottant. */
  body > .csp-mobile-entry{display:none!important;}
  #header .cs-photo-slot > *{display:flex!important;}
  #header .cs-photo-direct{width:100%!important;min-width:255px!important;min-height:62px!important;margin:0!important;padding:9px 16px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;color:#fff!important;align-items:center!important;justify-content:center!important;gap:12px!important;cursor:pointer!important;box-shadow:none!important;}
  #header .cs-photo-direct .cs-photo-copy{display:block!important;text-align:left!important;line-height:1.05!important;}
  #header .cs-photo-direct .cs-photo-copy strong{display:block!important;color:#fff!important;font-size:14px!important;line-height:16px!important;font-weight:700!important;white-space:nowrap!important;}
  #header .cs-photo-direct .cs-photo-copy b{display:block!important;color:#fff!important;font-size:18px!important;line-height:20px!important;font-weight:800!important;margin-top:2px!important;white-space:nowrap!important;}
  #header .cs-photo-direct .cs-photo-icon{position:relative!important;display:block!important;width:34px!important;height:25px!important;border-radius:4px!important;background:#fff!important;flex:0 0 34px!important;}
  #header .cs-photo-direct .cs-photo-icon:before{content:""!important;position:absolute!important;left:9px!important;top:5px!important;width:14px!important;height:14px!important;border:3px solid #ff5317!important;border-radius:50%!important;box-sizing:border-box!important;}
  #header .cs-photo-direct .cs-photo-icon:after{content:""!important;position:absolute!important;left:9px!important;top:-4px!important;width:16px!important;height:7px!important;background:#fff!important;border-radius:3px 3px 0 0!important;}
}
@media (min-width:768px) and (max-width:1199px){
  #header .cs-photo-direct{min-width:205px!important;padding-left:10px!important;padding-right:10px!important;}
  #header .cs-photo-direct .cs-photo-copy strong{font-size:12px!important;}
  #header .cs-photo-direct .cs-photo-copy b{font-size:15px!important;}
}


/* V4.13 — bouton photo propre : aucun texte généré par .csp-open */
#header .cs-photo-direct strong:before,
#header .cs-photo-direct strong:after{content:none!important;display:none!important;}
#header .cs-photo-direct .cs-photo-copy strong{font-size:14px!important;display:block!important;}
#header .cs-photo-direct .cs-photo-copy b{font-size:18px!important;display:block!important;}

/* V4.14 — bouton photo relié directement au modal du header */
#header .cs-photo-direct.csp-open .cs-photo-copy strong:before,#header .cs-photo-direct.csp-open .cs-photo-copy strong:after,#header .cs-photo-direct.csp-open strong:before,#header .cs-photo-direct.csp-open strong:after{content:none!important;display:none!important;}
#header .cs-photo-direct.csp-open .cs-photo-copy strong{display:block!important;font-size:14px!important;line-height:16px!important;color:#fff!important;}
#header .cs-photo-direct.csp-open .cs-photo-copy b{display:block!important;font-size:18px!important;line-height:20px!important;color:#fff!important;margin-top:2px!important;}
#header .cs-photo-direct.csp-open{display:flex!important;width:100%!important;min-width:255px!important;min-height:62px!important;padding:9px 16px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;color:#fff!important;align-items:center!important;justify-content:center!important;gap:12px!important;cursor:pointer!important;}


/* V4.17 — header mobile natif : logo, compte, panier, menu + bouton photo */
@media (max-width:767px){
  #header .cs-mobile-header-v417{display:block!important;height:auto!important;min-height:0!important;background:#fff!important;border-bottom:1px solid #e7edf3!important;padding:0!important;}
  #header .cs-mobile-container-v417{width:100%!important;max-width:none!important;padding:8px 12px 10px!important;}
  #header .cs-mobile-main-v417{height:62px!important;min-height:62px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
  #header .cs-mobile-logo-v417{position:static!important;margin:0!important;flex:1 1 auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;}
  #header .cs-mobile-logo-v417 img{display:block!important;width:auto!important;height:auto!important;max-width:210px!important;max-height:54px!important;margin:0!important;}
  #header .cs-mobile-actions-v417{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:13px!important;flex:0 0 auto!important;}
  #header .cs-mobile-account-v417,#header .cs-mobile-cart-v417{display:flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;}
  #header .cs-mobile-account-v417 .user-info,#header .cs-mobile-cart-v417 .blockcart{margin:0!important;padding:0!important;background:transparent!important;height:auto!important;float:none!important;}
  #header .cs-mobile-account-v417 a,#header .cs-mobile-cart-v417 a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:#071d3d!important;text-decoration:none!important;font-size:11px!important;line-height:13px!important;}
  #header .cs-mobile-account-v417 .material-icons,#header .cs-mobile-cart-v417 .material-icons{font-size:27px!important;line-height:28px!important;color:#071d3d!important;margin:0!important;}
  #header .cs-mobile-cart-v417 .blockcart .header{position:relative!important;margin:0!important;}
  #header .cs-mobile-cart-v417 .cart-products-count{position:absolute!important;top:-6px!important;right:-8px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:10px!important;background:#0867c9!important;color:#fff!important;font-size:11px!important;font-weight:800!important;}
  #header .cs-mobile-menu-v417{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:42px!important;color:#071d3d!important;cursor:pointer!important;font-size:11px!important;line-height:13px!important;}
  #header .cs-mobile-menu-v417 .material-icons{font-size:29px!important;line-height:29px!important;margin:0!important;color:#071d3d!important;}
  #header .cs-mobile-menu-v417 span{display:block!important;margin-top:1px!important;}
  #header .cs-photo-mobile-v417{display:flex!important;width:100%!important;min-height:52px!important;margin:8px 0 0!important;padding:8px 14px!important;border:0!important;border-radius:9px!important;background:linear-gradient(135deg,#ff5b19,#ff4810)!important;color:#fff!important;align-items:center!important;justify-content:center!important;gap:11px!important;cursor:pointer!important;box-shadow:none!important;}
  #header .cs-photo-mobile-camera-v417{position:relative!important;display:block!important;width:32px!important;height:24px!important;flex:0 0 32px!important;border-radius:4px!important;background:#fff!important;}
  #header .cs-photo-mobile-camera-v417:before{content:""!important;position:absolute!important;left:8px!important;top:-5px!important;width:16px!important;height:7px!important;border-radius:3px 3px 0 0!important;background:#fff!important;}
  #header .cs-photo-mobile-camera-v417:after{content:""!important;position:absolute!important;left:9px!important;top:5px!important;width:12px!important;height:12px!important;border:3px solid #ff5317!important;border-radius:50%!important;box-sizing:border-box!important;}
  #header .cs-photo-mobile-copy-v417{display:block!important;text-align:left!important;line-height:1.05!important;}
  #header .cs-photo-mobile-copy-v417 strong{display:block!important;color:#fff!important;font-size:12px!important;line-height:14px!important;font-weight:700!important;white-space:nowrap!important;}
  #header .cs-photo-mobile-copy-v417 b{display:block!important;color:#fff!important;font-size:17px!important;line-height:19px!important;font-weight:800!important;margin-top:2px!important;white-space:nowrap!important;}
  body > .csp-mobile-entry{display:none!important;}
  #csp-modal-header.csp-modal{padding:0!important;align-items:flex-start!important;background:rgba(8,25,43,.75)!important;}
  #csp-modal-header.csp-modal.is-open,#csp-modal-header.csp-modal.open,#csp-modal-header.csp-modal.show{display:block!important;}
  #csp-modal-header .csp-dialog{width:100%!important;max-width:none!important;min-height:100vh!important;border-radius:0!important;margin:0!important;}
  #csp-modal-header .csp-columns{grid-template-columns:1fr!important;}
  #csp-modal-header .csp-photo-grid{grid-template-columns:1fr!important;}
}
@media (max-width:420px){
  #header .cs-mobile-container-v417{padding-left:8px!important;padding-right:8px!important;}
  #header .cs-mobile-logo-v417 img{max-width:180px!important;max-height:48px!important;}
  #header .cs-mobile-actions-v417{gap:7px!important;}
  #header .cs-mobile-account-v417 a,#header .cs-mobile-cart-v417 a,#header .cs-mobile-menu-v417{font-size:10px!important;}
}


/* V4.19 — bouton photo garanti PC + mobile, modal natif V3.6 */
@media (min-width:768px){
  #header .cs-photo-slot{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:flex-end!important;min-width:250px!important;}
  #header .cs-photo-direct{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:relative!important;z-index:20!important;}
}
@media (max-width:767px){
  #header .cs-photo-mobile-v417{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
}
/* Le petit bouton natif V3.6 reste masqué, mais son modal et sa confirmation restent présents. */
body > .csp-mobile-entry{display:none!important;}
#csp-modal-mobile{z-index:999999!important;}

/* V4.20 — correction definitive du bouton photo PC/mobile avec module Clé Service Photo V3.7 */
/* Le bouton flottant/natif du module V3.7 est masqué partout : le formulaire reste présent. */
.csp-mobile-entry,
#cleservice-photo-mobile.csp-mobile-entry,
#footer .csp-mobile-entry,
body .csp-mobile-entry {display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}

/* PC : le bouton du header du thème doit toujours être visible. */
@media (min-width:768px){
  #header .cs-main-row.hidden-sm-down{display:grid!important;visibility:visible!important;opacity:1!important;}
  #header .cs-photo-slot{display:flex!important;visibility:visible!important;opacity:1!important;min-width:205px!important;overflow:visible!important;}
  #header .cs-photo-slot .cs-photo-direct{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;width:100%!important;min-width:205px!important;position:relative!important;z-index:50!important;}
}

/* Mobile : un seul bouton, celui placé sous le header. */
@media (max-width:767px){
  #header .cs-photo-mobile-v417{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
}

/* Le modal V3.7 reste disponible quel que soit l'endroit où displayFooter est rendu. */
#csp-modal-mobile{z-index:999999!important;}

/* V4.21 — correctif PC uniquement. Neutralise l'ancienne règle V4.9 qui masquait le bouton direct. */
@media (min-width:768px){
  #header .cs-photo-slot > button.cs-photo-direct.csp-open{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    width:100%!important;
    min-width:205px!important;
    min-height:62px!important;
    position:relative!important;
    z-index:100!important;
  }
}

/* V4.23 - navigation mobile verticale uniquement. Ne touche pas au bouton photo. */
@media (max-width:767px) {
  #header #mobile_top_menu_wrapper {
    width:100%!important;max-width:100%!important;margin:0!important;
    padding:8px 12px 14px!important;background:#fff!important;
    box-sizing:border-box!important;overflow-x:hidden!important;
  }
  #header #mobile_top_menu_wrapper .js-top-menu,
  #header #mobile_top_menu_wrapper .top-menu,
  #header #mobile_top_menu_wrapper ul[data-depth="0"] {
    display:block!important;width:100%!important;max-width:100%!important;
    float:none!important;flex-direction:column!important;flex-wrap:nowrap!important;
    padding:0!important;margin:0!important;position:static!important;
  }
  #header #mobile_top_menu_wrapper .top-menu li,
  #header #mobile_top_menu_wrapper .top-menu li>a {
    display:block!important;width:100%!important;max-width:100%!important;
    float:none!important;position:relative!important;box-sizing:border-box!important;
    white-space:normal!important;text-align:left!important;
  }
  #header #mobile_top_menu_wrapper .top-menu li>a {
    padding:13px 36px 13px 12px!important;line-height:1.35!important;
    border-bottom:1px solid #e8edf3!important;color:#071a35!important;
  }
  #header #mobile_top_menu_wrapper .top-menu .sub-menu,
  #header #mobile_top_menu_wrapper .top-menu ul[data-depth="1"],
  #header #mobile_top_menu_wrapper .top-menu ul[data-depth="2"] {
    position:static!important;float:none!important;transform:none!important;
    width:100%!important;max-width:100%!important;box-shadow:none!important;
    padding:0 0 0 12px!important;margin:0!important;
  }
  #header #mobile_top_menu_wrapper .top-menu .collapse,
  #header #mobile_top_menu_wrapper .top-menu .collapsing {width:100%!important;}
  #header #mobile_top_menu_wrapper .top-menu .collapse:not(.show):not(.in){display:none!important;}
  #header #mobile_top_menu_wrapper .top-menu .collapse.show,
  #header #mobile_top_menu_wrapper .top-menu .collapse.in{display:block!important;}
}

/* V4.24 - masquer les sous-categories uniquement dans le menu mobile */
@media (max-width:767px) {
  #header #mobile_top_menu_wrapper .top-menu .sub-menu,
  #header #mobile_top_menu_wrapper .top-menu ul[data-depth="1"],
  #header #mobile_top_menu_wrapper .top-menu ul[data-depth="2"],
  #header #mobile_top_menu_wrapper .top-menu li[data-depth="1"],
  #header #mobile_top_menu_wrapper .top-menu li[data-depth="2"],
  #header #mobile_top_menu_wrapper .top-menu .navbar-toggler,
  #header #mobile_top_menu_wrapper .top-menu .pull-xs-right,
  #header #mobile_top_menu_wrapper .top-menu .collapse,
  #header #mobile_top_menu_wrapper .top-menu .collapsing {
    display:none!important;
  }
}

/* V4.28 - hero fixe, uniquement accueil. Pas de surcharge Smarty index.tpl. */
body#index #carousel, body#index #homepage-slider, body#index .homeslider-container,
body#index #wrapper #carousel, body#index #wrapper .carousel[data-ride="carousel"] {display:none!important;}
#header .cs-hero-v428{width:100%;background:#edf5ff;overflow:hidden;margin:0;padding:0;}
#header .cs-hero-v428-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:1600px;min-height:380px;margin:auto;align-items:stretch;}
#header .cs-hero-v428-copy{padding:45px clamp(22px,5vw,90px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:13px;}
#header .cs-hero-v428-kicker{font-size:13px;letter-spacing:.045em;font-weight:800;color:#095394;margin:0;}
#header .cs-hero-v428-copy h2{font-size:clamp(31px,3.5vw,58px);line-height:1.08;font-weight:850;color:#09264b;margin:0;}
#header .cs-hero-v428-copy h2 span{color:#0865c4;}
#header .cs-hero-v428-lead{font-size:clamp(16px,1.4vw,21px);font-weight:700;color:#153353;margin:0;}
#header .cs-hero-v428-description{font-size:16px;line-height:1.5;color:#304967;margin:0;}
#header .cs-hero-v428-photo{min-height:360px;background:#dbe7f3 url('../img/cleservice-hero-keys.jpg') center center/cover no-repeat;}
#header button.cs-hero-v428-cta.cs-photo-direct{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:auto!important;min-width:0!important;min-height:54px!important;padding:13px 22px!important;border:0!important;border-radius:8px!important;background:#ff5315!important;color:#fff!important;font-size:17px!important;font-weight:800!important;cursor:pointer!important;position:relative!important;z-index:1!important;}
#header .cs-hero-v428-benefits{display:flex;flex-wrap:wrap;justify-content:space-around;gap:16px;background:#fff;padding:20px 16px;color:#123252;font-size:15px;font-weight:700;}
@media(max-width:767px){
 #header .cs-hero-v428-inner{grid-template-columns:1fr;}
 #header .cs-hero-v428-copy{padding:27px 20px 25px;gap:12px;}
 #header .cs-hero-v428-copy h2{font-size:32px;}
 #header .cs-hero-v428-photo{min-height:235px;}
 #header .cs-hero-v428-benefits{display:grid;grid-template-columns:1fr 1fr;font-size:12px;gap:12px;padding:16px;}
 #header button.cs-hero-v428-cta.cs-photo-direct{font-size:15px!important;width:100%!important;}
}

/* V4.31: cartes catégories, uniquement page d'accueil */
#header .cs-category-cards-v431{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px clamp(16px,3vw,45px);max-width:1600px;margin:auto;background:#fff}
#header .cs-category-card-v431{min-width:0;min-height:170px;display:flex;align-items:center;gap:5px;padding:12px;border-radius:14px;background:#edf6ff;color:#0a2345;text-decoration:none;overflow:hidden;box-shadow:0 1px 4px #0a234511;transition:transform .2s ease,box-shadow .2s ease}
#header .cs-category-card-v431:nth-child(2){background:#fff5e9}#header .cs-category-card-v431:nth-child(3){background:#eaf4ff}#header .cs-category-card-v431:nth-child(4){background:#f1f2f8}
#header .cs-category-card-v431:hover{transform:translateY(-3px);box-shadow:0 5px 18px #0a234522;text-decoration:none}
#header .cs-category-card-v431 img{width:43%;height:145px;object-fit:contain;mix-blend-mode:multiply;flex-shrink:0}
#header .cs-category-content-v431{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
#header .cs-category-content-v431 strong{font-size:clamp(14px,1.2vw,19px);line-height:1.2;color:#0a2345}
#header .cs-category-content-v431 small{font-size:12px;line-height:1.4;color:#3c506b}
#header .cs-category-arrow-v431{align-self:flex-end;border-radius:50%;background:#fff;color:#075baf;font-size:20px;font-weight:700;width:33px;height:33px;display:grid;place-items:center;box-shadow:0 1px 3px #0002}
#header .cs-category-card-v431:not([href]){cursor:default;opacity:.72}
@media(max-width:900px){#header .cs-category-cards-v431{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#header .cs-category-cards-v431{gap:10px;padding:12px 10px}#header .cs-category-card-v431{flex-direction:column;min-height:175px;padding:10px;align-items:center;text-align:center}#header .cs-category-card-v431 img{width:100%;height:85px}#header .cs-category-content-v431{align-items:center;gap:5px}#header .cs-category-content-v431 strong{font-size:13px}#header .cs-category-content-v431 small{font-size:11px}#header .cs-category-arrow-v431{display:none}}

/* V4.32 : cinq cartes sur ordinateur, sans toucher au menu ni au formulaire photo */
@media(min-width:901px){#header .cs-category-cards-v431{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}#header .cs-category-card-v431{padding:9px;min-height:160px}#header .cs-category-card-v431 img{width:39%;height:135px}#header .cs-category-content-v431 strong{font-size:clamp(13px,1.05vw,17px)}}
#header .cs-category-card-v431:nth-child(5){background:#eaf2f6}

/* V4.33 : couleur des cartes après réorganisation */
#header .cs-category-card-v431:nth-child(3){background:#eef7f1}
#header .cs-category-card-v431:nth-child(4){background:#eaf4ff}
#header .cs-category-card-v431:nth-child(5){background:#f1f2f8}

/* V4.34: photo produit propre, sans texte intégré ni chevauchement */
#header .cs-category-card-v431[data-cs-category="residentielle"] img{display:block;position:relative;z-index:1;object-fit:contain;object-position:center;background:transparent;mix-blend-mode:normal;max-width:43%;flex:0 0 43%;}
#header .cs-category-card-v431[data-cs-category="residentielle"] .cs-category-content-v431{position:relative;z-index:2;min-width:0;overflow-wrap:break-word;}
@media(min-width:901px){#header .cs-category-card-v431[data-cs-category="residentielle"] img{max-width:39%;flex-basis:39%;}}
@media(max-width:480px){#header .cs-category-card-v431[data-cs-category="residentielle"] img{width:100%;max-width:100%;flex-basis:auto;}}

/* V4.35 — cartes produits populaires, style Clé Service.
   CSS seulement : les produits restent choisis par ps_featuredproducts. */
body#index .featured-products .products-section-title,
body#index #content .featured-products h2 {color:#09264b!important;font-size:clamp(22px,2vw,29px)!important;font-weight:800!important;letter-spacing:-.02em;text-align:center;margin:24px 0 26px!important;}
body#index .featured-products .product-miniature .thumbnail-container {
  height:300px!important;min-height:0!important;border-radius:15px!important;
  border:1px solid #e2eaf4!important;background:#fff!important;
  box-shadow:0 5px 18px rgba(9,38,75,.07)!important;overflow:hidden!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
body#index .featured-products .product-miniature:hover .thumbnail-container {transform:translateY(-3px);box-shadow:0 10px 25px rgba(9,38,75,.12)!important;}
body#index .featured-products .product-miniature .thumbnail-top {height:204px!important;overflow:hidden!important;background:#fff!important;}
body#index .featured-products .product-miniature .product-thumbnail {height:204px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
body#index .featured-products .product-miniature .product-thumbnail img {
  max-height:190px!important;max-width:94%!important;width:auto!important;height:auto!important;
  object-fit:contain!important;position:static!important;margin:auto!important;
}
body#index .featured-products .product-miniature .product-description {
  position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
  height:94px!important;min-height:0!important;padding:8px 12px 12px!important;
  background:#fff!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:7px!important;
}
body#index .featured-products .product-miniature .product-title {
  margin:0!important;width:100%!important;font-size:13px!important;line-height:1.35!important;
  font-weight:600!important;color:#163858!important;text-align:center!important;
  overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
}
body#index .featured-products .product-miniature .product-title a {color:#163858!important;text-decoration:none!important;}
body#index .featured-products .product-miniature .product-price-and-shipping {
  margin:0!important;text-align:center!important;color:#09264b!important;font-weight:800!important;font-size:16px!important;
}
body#index .featured-products .product-miniature .highlighted-informations {bottom:0!important;}
@media(max-width:767px){
 body#index .featured-products .product-miniature .thumbnail-container{height:265px!important;}
 body#index .featured-products .product-miniature .thumbnail-top,
 body#index .featured-products .product-miniature .product-thumbnail{height:175px!important;}
 body#index .featured-products .product-miniature .product-thumbnail img{max-height:165px!important;}
 body#index .featured-products .product-miniature .product-description{height:88px!important;}
}


/* V4.36 — réseaux sociaux, module ps_socialfollow.
   Ne change ni les liens ni le fonctionnement du module. */
#footer .block-social,
.footer-container .block-social {
  width:100%; text-align:center; padding:18px 14px 22px;
  margin:10px auto 16px; border-radius:14px;
  background:#edf5ff; box-sizing:border-box;
}
#footer .block-social::before,
.footer-container .block-social::before {
  content:"Suivez Clé Service sur les réseaux sociaux";
  display:block; color:#09264b; font-size:18px; line-height:1.4;
  font-weight:700; margin-bottom:14px;
}
#footer .block-social ul,
.footer-container .block-social ul {
  display:flex; justify-content:center; align-items:center;
  flex-wrap:wrap; gap:12px; padding:0; margin:0; list-style:none;
}
#footer .block-social ul li,
.footer-container .block-social ul li {
  display:flex; align-items:center; justify-content:center;
  float:none; margin:0; width:48px; height:48px;
  border-radius:12px; background:#095695;
  box-shadow:0 3px 9px rgba(9,38,75,.16);
  transition:background-color .2s ease,transform .2s ease;
}
#footer .block-social ul li:hover,
.footer-container .block-social ul li:hover {
  background:#0872bf; transform:translateY(-2px);
}
/* Les icônes du module Classic sont des images de fond sur les liens.
   Le filtre les rend blanches sans changer les URL configurées. */
#footer .block-social ul li a,
.footer-container .block-social ul li a {
  display:block; width:40px; height:40px;
  margin:0; border:0; background-color:transparent!important;
  filter:brightness(0) invert(1);
}
#footer .block-social ul li a:focus-visible,
.footer-container .block-social ul li a:focus-visible {
  outline:2px solid #fff; outline-offset:2px;
}
@media(max-width:767px){
  #footer .block-social::before,.footer-container .block-social::before{font-size:16px;}
  #footer .block-social,.footer-container .block-social{padding:16px 10px;}
}

/* V4.37 : icônes SVG explicites, indépendantes du sprite Classic */
#footer .block-social ul li a,.footer-container .block-social ul li a{background-image:none!important;filter:none!important;position:relative;font-size:0!important;display:flex!important;align-items:center;justify-content:center;text-decoration:none!important;}
#footer .block-social ul li a::before,.footer-container .block-social ul li a::before{content:""!important;display:block!important;position:static!important;width:25px!important;height:25px!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;opacity:1!important;filter:none!important;}
#footer .block-social ul li.facebook a::before,#footer .block-social ul li a.facebook::before,.footer-container .block-social ul li.facebook a::before,.footer-container .block-social ul li a.facebook::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M13.7%2022v-8.7h2.9l.45-3.4H13.7V7.7c0-1%20.28-1.65%201.7-1.65h1.8V3.02A23%2023%200%200%200%2014.57%202c-2.62%200-4.42%201.6-4.42%204.54V9.9H7.2v3.4h2.95V22z%22%2F%3E%3C%2Fsvg%3E")!important;}
#footer .block-social ul li.twitter a::before,#footer .block-social ul li a.twitter::before,.footer-container .block-social ul li.twitter a::before,.footer-container .block-social ul li a.twitter::before,#footer .block-social ul li.x a::before,#footer .block-social ul li a.x::before,.footer-container .block-social ul li.x a::before,.footer-container .block-social ul li a.x::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M18.9%202H22l-6.77%207.74L23.2%2022h-6.24l-4.9-7.43L5.55%2022H2.4l7.25-8.28L1.8%202h6.4l4.43%206.77L18.9%202zm-1.1%2018h1.73L7.25%203.9H5.4z%22%2F%3E%3C%2Fsvg%3E")!important;}
#footer .block-social ul li.youtube a::before,#footer .block-social ul li a.youtube::before,.footer-container .block-social ul li.youtube a::before,.footer-container .block-social ul li a.youtube::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M21.6%207.1a2.7%202.7%200%200%200-1.9-1.9C18%204.75%2012%204.75%2012%204.75s-6%200-7.7.45a2.7%202.7%200%200%200-1.9%201.9A28%2028%200%200%200%202%2012a28%2028%200%200%200%20.4%204.9%202.7%202.7%200%200%200%201.9%201.9c1.7.45%207.7.45%207.7.45s6%200%207.7-.45a2.7%202.7%200%200%200%201.9-1.9A28%2028%200%200%200%2022%2012a28%2028%200%200%200-.4-4.9ZM10%2015.4V8.6l6%203.4z%22%2F%3E%3C%2Fsvg%3E")!important;}
#footer .block-social a[title*="Facebook"]::before,.footer-container .block-social a[title*="Facebook"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M13.7%2022v-8.7h2.9l.45-3.4H13.7V7.7c0-1%20.28-1.65%201.7-1.65h1.8V3.02A23%2023%200%200%200%2014.57%202c-2.62%200-4.42%201.6-4.42%204.54V9.9H7.2v3.4h2.95V22z%22%2F%3E%3C%2Fsvg%3E")!important;}
#footer .block-social a[title*="Twitter"]::before,.footer-container .block-social a[title*="Twitter"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M18.9%202H22l-6.77%207.74L23.2%2022h-6.24l-4.9-7.43L5.55%2022H2.4l7.25-8.28L1.8%202h6.4l4.43%206.77L18.9%202zm-1.1%2018h1.73L7.25%203.9H5.4z%22%2F%3E%3C%2Fsvg%3E")!important;}
#footer .block-social a[title*="Youtube"]::before,.footer-container .block-social a[title*="Youtube"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M21.6%207.1a2.7%202.7%200%200%200-1.9-1.9C18%204.75%2012%204.75%2012%204.75s-6%200-7.7.45a2.7%202.7%200%200%200-1.9%201.9A28%2028%200%200%200%202%2012a28%2028%200%200%200%20.4%204.9%202.7%202.7%200%200%200%201.9%201.9c1.7.45%207.7.45%207.7.45s6%200%207.7-.45a2.7%202.7%200%200%200%201.9-1.9A28%2028%200%200%200%2022%2012a28%2028%200%200%200-.4-4.9ZM10%2015.4V8.6l6%203.4z%22%2F%3E%3C%2Fsvg%3E")!important;}


/* V4.38 — Pied de page Clé Service : présentation uniquement.
   Les modules ps_linklist, ps_customeraccountlinks, ps_contactinfo et ps_socialfollow
   conservent leurs contenus, URL et hooks. */
#footer .footer-container {
  background:#eaf3fd!important;
  border-top:1px solid #d9e7f6;
  padding:32px 0 24px!important;
}
#footer .footer-container > .container {max-width:1320px;}
/* Cartes des colonnes : les classes sont celles du footer Classic. */
#footer .footer-container .links .wrapper,
#footer .footer-container .block-contact {
  background:#fff;
  border:1px solid #dce8f6;
  border-radius:14px;
  padding:20px 22px!important;
  margin-bottom:18px;
  height:calc(100% - 18px);
  box-shadow:0 4px 16px rgba(9,38,75,.055);
  box-sizing:border-box;
}
#footer .footer-container .links .h3,
#footer .footer-container .links .h3 a,
#footer .footer-container .block-contact .h3,
#footer .footer-container .block-contact .h4,
#footer .footer-container .block-contact .h4 a {
  color:#09264b!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:800!important;
  text-transform:uppercase;
  margin:0 0 14px!important;
}
#footer .footer-container .links .h3::after,
#footer .footer-container .block-contact .h4::after {
  content:"";display:block;width:46px;height:3px;
  border-radius:3px;background:#0871c7;margin-top:9px;
}
#footer .footer-container .links li a,
#footer .footer-container .block-contact,
#footer .footer-container .block-contact a,
#footer .footer-container .links .collapse {
  color:#42566d!important;
  font-size:14px;
  line-height:1.6;
}
#footer .footer-container .links li {margin:0 0 5px;}
#footer .footer-container .links li a:hover,
#footer .footer-container .block-contact a:hover {
  color:#0868b5!important;
  text-decoration:underline!important;
}
#footer .footer-container .block-contact a[href^="tel:"],
#footer .footer-container .block-contact a[href^="mailto:"] {
  color:#0871c7!important;
  overflow-wrap:anywhere;
}
/* Ne pas transformer le bloc réseaux sociaux en carte blanche. */
#footer .footer-container .block-social {height:auto;}
@media(max-width:767px) {
  #footer .footer-container {padding:20px 0!important;}
  #footer .footer-container .links .wrapper,
  #footer .footer-container .block-contact {
    height:auto;
    padding:16px!important;
    margin-bottom:12px;
  }
  #footer .footer-container .links .title {color:#09264b!important;}
  #footer .footer-container .links .title .h3 {margin-bottom:0!important;}
  #footer .footer-container .links .title .h3::after {display:none;}
  #footer .footer-container .links .collapse {margin-top:10px;}
}

/* V4.39 : le module ps_customeraccountlinks utilise .block_myaccount_infos,
   et non .links .wrapper comme les listes de liens. */
#footer .footer-container .block_myaccount_infos {
  background:#fff!important;
  border:1px solid #dce8f6!important;
  border-radius:14px!important;
  padding:20px 22px!important;
  margin-bottom:18px!important;
  min-height:154px;
  box-shadow:0 4px 16px rgba(9,38,75,.055)!important;
  box-sizing:border-box!important;
}
#footer .footer-container .block_myaccount_infos .myaccount-title,
#footer .footer-container .block_myaccount_infos .myaccount-title a {
  color:#09264b!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:800!important;
  text-transform:uppercase;
  margin:0 0 14px!important;
}
#footer .footer-container .block_myaccount_infos .myaccount-title::after {
  content:"";display:block;width:46px;height:3px;
  border-radius:3px;background:#0871c7;margin-top:9px;
}
#footer .footer-container .block_myaccount_infos li a,
#footer .footer-container .block_myaccount_infos .account-list a {
  color:#42566d!important;font-size:14px!important;line-height:1.6!important;
}
#footer .footer-container .block_myaccount_infos li a:hover,
#footer .footer-container .block_myaccount_infos .account-list a:hover {
  color:#0868b5!important;text-decoration:underline!important;
}
@media(max-width:767px){
  #footer .footer-container .block_myaccount_infos {
    padding:16px!important;margin-bottom:12px!important;min-height:0;
  }
  #footer .footer-container .block_myaccount_infos .myaccount-title::after {display:none;}
}


/* V4.40 — carte "Votre compte" : sélecteurs alternatifs selon le markup
   réel du module ps_customeraccountlinks (classe ou identifiant). */
#footer .footer-container #block_myaccount_infos,
#footer .footer-container .block-myaccount-infos,
#footer .footer-container .block-account,
#footer .footer-container .row > [class*="col-"]:has(> .myaccount-title),
#footer .footer-container .row > [class*="col-"]:has(> #block_myaccount_infos),
#footer .footer-container .row > [class*="col-"]:has(> .block_myaccount_infos),
#footer .footer-container .row > [class*="col-"]:has(> .account-list):not(:has(> .links)) {
  background:#fff!important;
  border:1px solid #dce8f6!important;
  border-radius:14px!important;
  padding:20px 22px!important;
  margin-bottom:18px!important;
  box-shadow:0 4px 16px rgba(9,38,75,.055)!important;
  box-sizing:border-box!important;
}
/* Quand le bloc est imbriqué dans une colonne, styliser uniquement le bloc
   pour éviter une double bordure. */
#footer .footer-container [class*="col-"]:has(> #block_myaccount_infos) > #block_myaccount_infos,
#footer .footer-container [class*="col-"]:has(> .block_myaccount_infos) > .block_myaccount_infos {
  background:transparent!important;border:0!important;padding:0!important;
  margin:0!important;box-shadow:none!important;min-height:0!important;
}
#footer .footer-container #block_myaccount_infos .myaccount-title,
#footer .footer-container #block_myaccount_infos .myaccount-title a,
#footer .footer-container .block-account .myaccount-title,
#footer .footer-container .block-account .myaccount-title a {
  color:#09264b!important;font-size:16px!important;font-weight:800!important;
  text-transform:uppercase;line-height:1.35!important;margin:0 0 14px!important;
}
#footer .footer-container #block_myaccount_infos .myaccount-title::after,
#footer .footer-container .block-account .myaccount-title::after {
  content:"";display:block;width:46px;height:3px;border-radius:3px;
  background:#0871c7;margin-top:9px;
}
/* Supprime uniquement la mention PrestaShop, pas les liens du footer. */
#footer p:has(a[href*="prestashop-project.org"]),
#footer p:has(a[href*="prestashop.com"]),
#footer .copyright:has(a[href*="prestashop-project.org"]),
#footer .copyright:has(a[href*="prestashop.com"]) {
  display:none!important;
}
@media(max-width:767px){
  #footer .footer-container #block_myaccount_infos,
  #footer .footer-container .block-account,
  #footer .footer-container .row > [class*="col-"]:has(> .myaccount-title),
  #footer .footer-container .row > [class*="col-"]:has(> #block_myaccount_infos),
  #footer .footer-container .row > [class*="col-"]:has(> .block_myaccount_infos) {
    padding:16px!important;margin-bottom:12px!important;
  }
}
