/* AuMoinsChere 1.5.12 — responsive header/footer, same intrinsic logo asset. */
html,body{max-width:100%;overflow-x:clip}
.topbar{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-height:76px!important;
  height:auto!important;
  padding:10px clamp(12px,3vw,40px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:clamp(8px,1.5vw,24px)!important;
}
.topbar .brand.brand-logo-only{
  transform:none!important;position:static!important;
  display:flex!important;flex:0 1 236px!important;
  width:auto!important;min-width:0!important;max-width:236px!important;
  height:auto!important;margin:0!important;padding:0!important;
  align-items:center!important;overflow:visible!important;
}
.topbar .brand.brand-logo-only .site-header-logo,
.topbar .brand.brand-logo-only img{
  display:block!important;
  transform:none!important;
  width:100%!important;height:auto!important;
  max-width:236px!important;max-height:58px!important;
  aspect-ratio:666/158!important;object-fit:contain!important;
}
.topbar .main-nav{
  flex:1 1 auto!important;min-width:0!important;
  display:flex;align-items:center;justify-content:center;
  gap:clamp(8px,1.7vw,26px);
}
.topbar .main-nav .nav-link{white-space:nowrap}
.topbar .top-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:8px!important;min-width:0!important}
.site-footer .footer-logo-only,
.site-footer .footer-brand{transform:none!important;width:min(236px,100%)!important;max-width:100%!important;display:flex!important}
.site-footer .footer-logo-only img.footer-main-logo,
.site-footer .footer-logo-only img{
  display:block!important;transform:none!important;
  width:100%!important;height:auto!important;max-width:236px!important;
  max-height:58px!important;aspect-ratio:666/158!important;object-fit:contain!important;
}
@media(max-width:980px){
  .topbar{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    grid-template-areas:"menu brand actions"!important;
    gap:8px!important;align-items:center!important;
    min-height:68px!important;
    padding:8px 12px!important;
    position:sticky!important;
  }
  .topbar #mobileNavToggle{
    grid-area:menu;display:grid!important;place-items:center!important;
    min-width:44px!important;width:44px!important;height:44px!important;
    margin:0!important;padding:0!important;flex:none!important;
  }
  .topbar .brand.brand-logo-only{
    grid-area:brand!important;
    width:100%!important;min-width:0!important;max-width:220px!important;
    justify-self:start!important;flex:none!important;
  }
  .topbar .brand.brand-logo-only .site-header-logo,
  .topbar .brand.brand-logo-only img{
    width:100%!important;height:auto!important;max-width:220px!important;
    max-height:50px!important;
  }
  .topbar .top-actions{grid-area:actions!important;justify-self:end!important;gap:6px!important}
  .topbar #mainNav.main-nav{
    position:absolute!important;top:calc(100% - 1px)!important;
    left:10px!important;right:10px!important;width:auto!important;
    flex:none!important;max-height:calc(100dvh - 74px)!important;
    display:none!important;overflow-y:auto!important;z-index:1000!important;
  }
  .topbar #mainNav.main-nav.open{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .site-footer .footer-logo-only img.footer-main-logo{width:100%!important;height:auto!important;max-height:50px!important}
}
@media(max-width:580px){
  .topbar{grid-template-columns:40px minmax(0,1fr) auto!important;gap:6px!important;padding:8px 9px!important;min-height:60px!important}
  .topbar #mobileNavToggle{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important}
  .topbar .brand.brand-logo-only{max-width:168px!important}
  .topbar .brand.brand-logo-only .site-header-logo,
  .topbar .brand.brand-logo-only img{max-width:168px!important;max-height:42px!important}
  .topbar .cart-btn{font-size:12px!important;padding:9px 10px!important;min-height:40px!important;border-radius:11px!important;white-space:nowrap!important}
  .topbar .customer-profile-shortcut{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .site-footer .footer-logo-only{max-width:168px!important}
  .site-footer .footer-logo-only img.footer-main-logo{max-width:168px!important;max-height:42px!important}
}
@media(max-width:370px){
  .topbar{gap:4px!important;padding-inline:7px!important}
  .topbar .brand.brand-logo-only{max-width:138px!important}
  .topbar .brand.brand-logo-only img{max-width:138px!important}
  .topbar .cart-btn{padding:8px 7px!important;font-size:11px!important}
  .topbar .customer-profile-shortcut{width:34px!important;height:34px!important;flex-basis:34px!important}
}
/* Le profil conserve la même navigation et le même footer que la boutique. */
.account-page .account-site-header{z-index:95!important}
.account-page .site-footer{margin-top:28px!important}
.account-page .site-footer .footer-inner{max-width:1200px;margin-inline:auto}
