*{box-sizing:border-box}.csc-skip-link{position:fixed;left:12px;top:-100px;z-index:9999;background:var(--csc-surface);color:var(--csc-dark);padding:10px 16px;border-radius:10px}.csc-skip-link:focus{top:12px}.csc-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(220,232,241,.8);transition:box-shadow .25s ease,transform .25s ease}.csc-header.is-scrolled{box-shadow:0 10px 30px rgba(26,56,79,.08)}.csc-header__inner{width:min(var(--csc-container),calc(100% - (var(--csc-gutter) * 2)));height:var(--csc-header-height);margin:auto;display:flex;align-items:center;gap:26px}.csc-header__brand{display:flex;align-items:center;width:205px;flex:0 0 205px}.csc-header__brand img,.csc-header__brand .custom-logo{display:block;width:auto;max-width:205px;max-height:58px;height:auto}.csc-header__brand .custom-logo-link{display:flex}.csc-nav{display:flex;align-items:center;gap:22px;margin-left:auto}.csc-nav a{position:relative;color:var(--csc-text);text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap}.csc-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-9px;height:2px;border-radius:2px;background:var(--csc-primary);transition:right .2s ease}.csc-nav a:hover:after,.csc-nav a[aria-current=page]:after{right:0}.csc-header__actions{display:flex;align-items:center;gap:10px}.csc-header__account{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--csc-bg);color:var(--csc-dark);transition:.2s ease}.csc-header__account:hover{transform:translateY(-2px);background:var(--csc-primary-soft)}.csc-header__account svg,.csc-header__cta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.csc-header__cta{display:inline-flex;align-items:center;gap:8px;padding:12px 17px;border-radius:999px;background:var(--csc-primary);color:var(--csc-surface);text-decoration:none;font-weight:800;font-size:13px;box-shadow:0 8px 20px rgba(39,134,200,.18);transition:.2s ease}.csc-header__cta:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(39,134,200,.24)}.csc-menu-toggle{display:none;background:none;border:0;color:var(--csc-text);font:inherit}.csc-menu-toggle__icon{width:26px;display:grid;gap:5px}.csc-menu-toggle__icon i{display:block;height:2px;background:currentColor;border-radius:3px;transition:.2s ease}.csc-menu-toggle__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1040px){.csc-header__cta span{display:none}.csc-header__cta{width:42px;height:42px;padding:0;justify-content:center}.csc-nav{gap:16px}}
@media(max-width:1180px){.csc-header__inner{height:72px;width:min(calc(100% - 28px),var(--csc-container))}.csc-header__brand{width:175px;flex-basis:175px}.csc-header__brand img,.csc-header__brand .custom-logo{max-width:175px;max-height:50px}.csc-menu-toggle{display:grid;place-items:center;width:42px;height:42px;margin-left:auto}.csc-nav{position:fixed;left:14px;right:14px;top:78px;display:grid;gap:0;padding:10px;background:var(--csc-surface);border:1px solid var(--csc-border);border-radius:18px;box-shadow:var(--csc-shadow-md);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s ease}.csc-nav.is-open{opacity:1;visibility:visible;transform:none}.csc-nav a{padding:14px 12px;border-radius:12px}.csc-nav a:hover{background:var(--csc-primary-soft)}.csc-nav a:after{display:none}.csc-header__actions{margin-left:4px}.csc-header__cta{display:none}.csc-menu-toggle[aria-expanded=true] .csc-menu-toggle__icon i:nth-child(1){transform:translateY(7px) rotate(45deg)}.csc-menu-toggle[aria-expanded=true] .csc-menu-toggle__icon i:nth-child(2){opacity:0}.csc-menu-toggle[aria-expanded=true] .csc-menu-toggle__icon i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}}


/* =========================================================
   PANIER HEADER — LÉGER + COMPTEUR
   ========================================================= */

.csc-header__cart{
  position:relative;
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--csc-bg);
  color:var(--csc-dark);
  text-decoration:none;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}

.csc-header__cart:hover{
  transform:translateY(-2px);
  background:var(--csc-primary-soft);
  color:var(--csc-primary);
}

.csc-header__cart svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.csc-header__cart-count{
  position:absolute;
  top:-3px;
  right:-4px;
  min-width:18px;
  height:18px;
  display:grid;
  place-items:center;
  padding:0 4px;
  border:2px solid #fff;
  border-radius:999px;
  background:var(--csc-primary);
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:900;
  box-shadow:0 4px 10px rgba(40,107,154,.18);
}

.csc-header__cart-count[hidden]{
  display:none!important;
}

.csc-header__cart.has-items{
  color:var(--csc-primary);
  background:var(--csc-primary-soft);
}

.csc-header__cart.is-updated{
  animation:cscCartPulse .34s ease;
}

@keyframes cscCartPulse{
  0%{transform:scale(1)}
  48%{transform:scale(1.1)}
  100%{transform:scale(1)}
}

@media(max-width:1180px){
  .csc-header__actions{
    gap:7px;
  }

  .csc-header__cart,
  .csc-header__account{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .csc-header__cart-count{
    top:-4px;
    right:-5px;
  }
}


/* Correctif d'alignement — spécifique au thème client CSC. */
.csc-header__inner{min-height:72px;height:var(--csc-header-height,80px);gap:clamp(12px,1.4vw,24px);min-width:0}
.csc-header__brand{display:flex;align-items:center;justify-content:flex-start;width:clamp(160px,17vw,235px);flex:0 0 clamp(160px,17vw,235px);min-width:0;align-self:center}
.csc-header__brand .custom-logo-link{display:flex;align-items:center;width:100%;min-width:0;text-decoration:none}
.csc-header__brand img,.csc-header__brand .custom-logo,.csc-header__brand .custom-logo-link img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:60px!important;object-fit:contain;object-position:left center}
.csc-nav{min-width:0;flex:0 1 auto;gap:clamp(12px,1.1vw,21px)}
.csc-nav a{font-size:clamp(12px,.9vw,14px)}
.csc-header__actions{flex:0 0 auto;gap:8px}
.csc-header__cta{white-space:nowrap;flex:0 0 auto}
.csc-header__cart,.csc-header__account{flex:0 0 42px}
@media (max-width:1370px) and (min-width:1181px){
 .csc-header__inner{gap:14px}
 .csc-header__brand{width:175px;flex-basis:175px}
 .csc-nav{gap:12px}
 .csc-header__cta{padding:11px 13px;font-size:12px}
}
@media (max-width:1180px){
 .csc-header__inner{height:72px;min-height:72px;gap:12px}
 .csc-header__brand{width:190px;flex:0 1 190px}
 .csc-header__brand img,.csc-header__brand .custom-logo,.csc-header__brand .custom-logo-link img{max-height:52px!important}
 .csc-menu-toggle{display:grid;flex:0 0 42px}
 .csc-nav{z-index:1010;position:absolute;left:14px;right:14px;top:calc(100% + 6px);width:auto;margin:0;display:grid;gap:0;padding:10px;background:var(--csc-surface,#fff);border:1px solid var(--csc-border,#dce8f1);border-radius:18px;box-shadow:var(--csc-shadow-md,0 15px 35px rgba(0,0,0,.12));opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s}
 .csc-nav.is-open{opacity:1;visibility:visible;transform:none}
 .csc-nav a{font-size:14px;padding:14px 12px}
 .csc-header__actions{margin-left:0}
 .csc-header__cta{display:none}
}
@media (max-width:480px){
 .csc-header__inner{width:calc(100% - 24px);gap:7px}
 .csc-header__brand{flex:1 1 auto;width:auto;max-width:185px}
 .csc-header__actions{gap:5px}
 .csc-header__cart,.csc-header__account{width:36px;height:36px;flex-basis:36px}
 .csc-menu-toggle{width:36px;height:36px;flex-basis:36px}
}
