@media (max-width: 768px) {
  #ast-mobile-header .ast-builder-grid-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
  }
  #ast-mobile-header .site-header-primary-section-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }
  #ast-mobile-header .site-header-primary-section-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end;
    min-width: 52px;
  }
  #ast-mobile-header .site-title a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }
}
@media (max-width: 420px) {
  #ast-mobile-header .site-title a {
    font-size: 0 !important;
  }
  #ast-mobile-header .site-title a::after {
    content: "Chez Emil";
    font-size: 20px;
  }
}

/* Logo du header : source HD, dimensions d'affichage volontairement compactes. */
#masthead .custom-logo-link{display:flex;align-items:center}
#masthead .custom-logo{width:48px!important;height:48px!important;max-width:48px!important;object-fit:contain}
@media(max-width:921px){#ast-mobile-header .site-logo-img{box-sizing:content-box!important;width:40px!important;min-width:40px!important;max-width:40px!important;flex:0 0 40px!important;padding-right:10px!important;justify-content:flex-start!important}#ast-mobile-header .custom-logo-link{width:40px!important;min-width:40px!important;max-width:40px!important;flex:0 0 40px!important;justify-content:flex-start!important}#masthead .custom-logo{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;object-fit:contain}}

.cem-site-sidebar{position:fixed;z-index:99998;inset:0 auto 0 0;display:flex;flex-direction:column;width:268px;padding:20px 16px;overflow-y:auto;border-right:1px solid #e3e7ed;background:#fff;box-shadow:8px 0 28px rgba(23,32,51,.06);color:#172033}.admin-bar .cem-site-sidebar{top:32px}.cem-sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding:0 8px 14px;border-bottom:1px solid #edf0f4}.cem-sidebar-brand{color:#172033!important;font-size:1.25rem;font-weight:850;text-decoration:none}.cem-sidebar-head button{display:none;border:0;background:transparent;color:#172033;font-size:28px}.cem-site-sidebar nav{display:grid;gap:8px}.cem-site-sidebar a{color:#334155;text-decoration:none}.cem-sidebar-home{padding:10px 12px;border-radius:9px;font-weight:800}.cem-site-sidebar details{padding-top:10px;border-top:1px solid #edf0f4}.cem-site-sidebar summary{padding:7px 12px;color:#687287;cursor:pointer;font-size:.76rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.cem-site-sidebar details>div{display:grid;gap:2px;margin-top:3px}.cem-site-sidebar details a{padding:8px 12px;border-radius:8px;font-size:.92rem}.cem-site-sidebar a:hover,.cem-site-sidebar a:focus{background:#fff2ef;color:#c62f25}.cem-sidebar-guide{margin-top:2px;border-top:1px solid #edf0f4}.cem-sidebar-socials{display:grid;gap:4px;margin-top:auto;padding:20px 8px 2px;border-top:1px solid #edf0f4}.cem-sidebar-socials strong{margin-bottom:5px;color:#687287;font-size:.76rem;letter-spacing:.07em;text-transform:uppercase}.cem-sidebar-socials a,.cem-sidebar-social-pending{display:flex;align-items:center;gap:8px;padding:5px 4px;border-radius:8px;font-size:.78rem}.cem-sidebar-social-pending{color:#687287}.cem-sidebar-socials span>svg{width:14px;height:14px;fill:currentColor}.cem-sidebar-socials a>span,.cem-sidebar-social-pending>span{display:grid;flex:0 0 23px;height:23px;place-items:center;border-radius:7px;color:#fff}.cem-social-x,.cem-social-tiktok{background:#111}.cem-social-facebook{background:#1877f2}.cem-social-youtube{background:#f00}.cem-social-instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d 58%,#fcb045)}.cem-sidebar-socials em{overflow:hidden;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cem-sidebar-toggle,.cem-sidebar-overlay{display:none}.cem-sidebar-enabled #ast-desktop-header .ast-builder-menu{display:none!important}.cem-sidebar-enabled #ast-desktop-header .site-branding{display:flex;min-width:max-content;align-items:center}.cem-sidebar-enabled #ast-desktop-header .site-title,.cem-sidebar-enabled #ast-desktop-header .site-title a{display:block!important;max-width:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important}.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-left{min-width:max-content}@media(min-width:1100px){.cem-sidebar-enabled #page{width:auto;margin-left:268px}}
@media(min-width:922px) and (max-width:1099px){.cem-sidebar-enabled #ast-desktop-header .ast-builder-grid-row.ast-grid-center-col-layout{grid-template-columns:max-content minmax(0,1fr) max-content!important}.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-center{display:none!important}.cem-sidebar-enabled #ast-desktop-header .ast-site-identity{padding-right:12px}.cem-sidebar-enabled #ast-desktop-header .site-title a{font-size:clamp(18px,2.15vw,24px)!important}}
@media(max-width:1099px){.cem-site-sidebar{width:min(310px,86vw);transform:translateX(-105%);transition:transform .22s ease}.admin-bar .cem-site-sidebar{top:46px}.cem-sidebar-open .cem-site-sidebar{transform:none}.cem-sidebar-head button{display:block}.cem-sidebar-toggle{position:fixed;z-index:99997;left:12px;bottom:76px;display:flex;align-items:center;gap:7px;padding:10px 14px;border:0;border-radius:999px;background:#172033;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);font:inherit;font-weight:800}.cem-sidebar-overlay{position:fixed;z-index:99996;inset:0;display:block;visibility:hidden;background:rgba(15,23,42,.48);opacity:0;transition:opacity .2s}.cem-sidebar-open .cem-sidebar-overlay{visibility:visible;opacity:1}.cem-sidebar-enabled #ast-mobile-header .ast-builder-menu{display:none!important}}
@media(max-width:1099px){.cem-sidebar-toggle{bottom:52px}}
.cem-sidebar-standalone{padding:10px 12px;border-radius:9px;font-weight:800}
.cem-sidebar-search{display:flex;gap:6px;margin:0 0 12px;padding:0 4px}.cem-sidebar-search input{min-width:0;flex:1;padding:9px 10px;border:1px solid #d9dee7;border-radius:8px;background:#fff;color:#172033;font:inherit}.cem-sidebar-search button{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;padding:0;border:0;border-radius:8px;background:#172033;color:#fff;cursor:pointer}.cem-sidebar-search button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:921px){#ast-mobile-header .ast-header-html-1{display:none!important}}
.search .ast-archive-description{display:none!important}
.cem-search-page{width:min(1320px,calc(100% - 48px));margin:38px auto 72px}.cem-search-heading{margin-bottom:28px;padding:26px 30px;border:1px solid #e5e9ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(23,32,51,.05)}.cem-search-heading h1{margin:2px 0 4px;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.18}.cem-search-heading>p:last-child{margin:0;color:#687287;font-weight:700}.cem-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cem-search-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e4e8ee;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(23,32,51,.055);transition:transform .18s ease,box-shadow .18s ease}.cem-search-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(23,32,51,.1)}.cem-search-card-title{min-height:3.7em;margin:0;padding:18px 19px 14px;border-bottom:1px solid #edf0f4;font-size:1.05rem;line-height:1.33}.cem-search-card-title a{color:#172033;text-decoration:none}.cem-search-card-title a:hover{color:#c62f25}.cem-search-card-content{display:flex;min-height:185px;flex:1}.cem-search-card-image{position:relative;display:flex;width:45%;min-width:155px;aspect-ratio:1/1;align-items:center;justify-content:center;padding:14px;background:#fff}.cem-search-card-image img{display:block;width:100%!important;height:100%!important;max-height:210px;object-fit:contain!important;object-position:center}.cem-search-no-image{color:#8b94a5;font-size:.82rem;font-weight:700;text-align:center}.cem-search-card-body{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;padding:18px}.cem-search-card-badges{position:absolute;z-index:2;top:8px;left:8px;display:flex;max-width:calc(100% - 16px);flex-wrap:wrap;gap:5px}.cem-search-card-badges--inline{position:static;margin-bottom:12px}.cem-search-domain,.cem-search-deal-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;box-shadow:0 2px 8px rgba(23,32,51,.1);font-size:.62rem;font-weight:850;letter-spacing:.025em;text-transform:uppercase}.cem-search-domain{background:rgba(238,242,247,.94);color:#4c586d}.cem-search-deal-badge{background:rgba(255,240,237,.96);color:#b92b23}.cem-search-price{margin:0 0 15px;color:#4c586d;font-size:.92rem}.cem-search-price strong{display:block;color:#172033;font-size:1.2rem}.cem-search-price small{display:block;margin-top:3px;font-size:.78rem}.cem-search-price--missing{color:#7d8798;font-size:.84rem;font-weight:700}.cem-search-card-cta{display:inline-flex;margin-top:auto;padding:9px 13px;border-radius:9px;background:#172033;color:#fff!important;font-size:.8rem;font-weight:850;text-decoration:none!important;transition:background .18s ease,transform .18s ease}.cem-search-card-cta:hover,.cem-search-card-cta:focus{background:#c62f25;transform:translateY(-1px)}.cem-search-editorial-excerpt{margin:0 0 14px;color:#687287;font-size:.86rem;line-height:1.55}.cem-search-empty{padding:42px;border-radius:16px;background:#fff;text-align:center}.cem-search-empty .search-form{max-width:480px;margin:20px auto 0}.cem-search-page .navigation.pagination{grid-column:1/-1;margin-top:30px}
@media(max-width:1180px){.cem-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cem-search-page{width:min(100% - 24px,1320px);margin-top:20px}.cem-search-heading{padding:20px}.cem-search-grid{grid-template-columns:1fr;gap:14px}.cem-search-card-title{min-height:0;padding:15px;font-size:.98rem}.cem-search-card-content{min-height:150px}.cem-search-card-image{width:42%;min-width:125px;padding:10px}.cem-search-card-body{padding:15px}.cem-search-price strong{font-size:1.08rem}}
@media(max-width:420px){.cem-search-card-image{min-width:112px}.cem-search-card-badges{gap:4px}.cem-search-domain,.cem-search-deal-badge{font-size:.56rem}.cem-search-card-cta{padding:8px 10px}}

/* Header utilitaire : la navigation complète reste dans la barre latérale. */
.cem-header-shortcuts{display:none}.cem-header-tagline{display:block;margin-top:2px;color:#687287;font-size:.68rem;font-weight:700;line-height:1.25;white-space:nowrap}.cem-header-search-toggle{display:none}
@media(min-width:1100px){.cem-sidebar-enabled #ast-desktop-header .ast-builder-grid-row.ast-grid-center-col-layout{grid-template-columns:minmax(220px,.75fr) minmax(0,.25fr) minmax(600px,1.7fr)!important}.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-center{display:none!important}.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-right{grid-column:2/4!important;display:flex!important;min-width:0;align-items:center;justify-content:flex-end;gap:14px}.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-right-center{min-width:260px;max-width:470px;flex:1}.cem-sidebar-enabled #ast-desktop-header .ast-header-html-1,.cem-sidebar-enabled #ast-desktop-header .ast-builder-html-element,.cem-sidebar-enabled #ast-desktop-header .asl_w_container{width:100%!important}.cem-header-shortcuts.is-mounted{display:flex;align-items:center;gap:6px}.cem-header-shortcuts a{display:inline-flex;min-height:40px;align-items:center;gap:6px;padding:8px 10px;border:1px solid #e2e7ee;border-radius:10px;background:#fff;color:#263147!important;font-size:.76rem;font-weight:800;text-decoration:none!important;white-space:nowrap;transition:border-color .18s ease,background .18s ease,color .18s ease}.cem-header-shortcuts a:hover,.cem-header-shortcuts a:focus-visible{border-color:#f0b8b3;background:#fff3f1;color:#b92b23!important;outline:none}}
@media(min-width:922px) and (max-width:1099px){.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-right{display:flex!important;align-items:center;gap:9px}.cem-sidebar-enabled #ast-desktop-header .site-header-primary-section-right-center{min-width:230px;max-width:420px;flex:1}.cem-sidebar-enabled #ast-desktop-header .ast-header-html-1,.cem-sidebar-enabled #ast-desktop-header .ast-builder-html-element,.cem-sidebar-enabled #ast-desktop-header .asl_w_container{width:100%!important}}
@media(max-width:1099px){#masthead .cem-sidebar-toggle.cem-header-menu-toggle{position:static;z-index:auto;left:auto;bottom:auto;display:grid!important;width:42px;height:42px;flex:0 0 42px;place-items:center;padding:0;border-radius:10px;box-shadow:none;font-size:0}#masthead .cem-sidebar-toggle.cem-header-menu-toggle>span:first-child{font-size:21px;line-height:1}#masthead .cem-sidebar-toggle.cem-header-menu-toggle>span:last-child{display:none}}
@media(max-width:921px){#ast-mobile-header .site-header-primary-section-center{display:none!important}#ast-mobile-header .site-header-primary-section-right{display:flex!important;align-items:center;gap:7px;min-width:auto}.cem-header-search-toggle{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;padding:0;border:1px solid #e2e7ee;border-radius:10px;background:#fff;color:#172033}.cem-header-search-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.cem-sidebar-enabled #ast-mobile-header.cem-mobile-search-open .ast-builder-grid-row{grid-template-rows:auto auto!important;row-gap:10px}.cem-sidebar-enabled #ast-mobile-header.cem-mobile-search-open .site-header-primary-section-center{display:flex!important;grid-column:1/-1!important;grid-row:2!important;width:100%;padding:0 16px 12px}.cem-sidebar-enabled #ast-mobile-header.cem-mobile-search-open .ast-header-html-1,.cem-sidebar-enabled #ast-mobile-header.cem-mobile-search-open .ast-builder-html-element,.cem-sidebar-enabled #ast-mobile-header.cem-mobile-search-open .asl_w_container{display:block!important;width:100%!important}.cem-header-tagline{display:none}}

/* Product search rendered in the desktop and mobile headers. */
.cem-header-product-search{position:relative;width:100%;min-width:0}
.cem-header-product-search-form{position:relative;width:100%;margin:0}
.cem-header-product-search-control{position:relative;display:flex;width:100%;height:42px}
.cem-header-product-search-control input[type=search]{width:100%;min-width:0;height:42px;margin:0;padding:0 44px 0 13px;border:1px solid #d5dbe4;border-radius:10px;background:#fff;color:#172033;font:inherit;box-shadow:none}
.cem-header-product-search-control input[type=search]:focus{border-color:#3154a5;outline:2px solid rgba(49,84,165,.16);outline-offset:1px}
.cem-header-product-search-control button{position:absolute;top:0;right:0;width:42px;height:42px;margin:0;padding:0;border:0;border-radius:0 10px 10px 0;background:transparent!important;color:#172033!important;box-shadow:none!important;cursor:pointer}
.cem-header-product-search-control button::before{position:absolute;top:11px;left:10px;width:14px;height:14px;border:2px solid currentColor;border-radius:50%;content:""}
.cem-header-product-search-control button::after{position:absolute;top:25px;left:25px;width:8px;height:2px;border-radius:2px;background:currentColor;content:"";transform:rotate(45deg);transform-origin:left center}
.cem-header-product-search-results{position:absolute;z-index:99999;top:47px;right:0;width:min(590px,92vw);max-height:min(520px,70vh);overflow-y:auto;border:1px solid #d9dfe8;border-radius:12px;background:#fff;box-shadow:0 18px 38px rgba(23,32,51,.19)}
.cem-header-product-suggestion{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:70px;padding:8px 11px;border-bottom:1px solid #edf0f4;color:#172033!important;text-decoration:none!important}
.cem-header-product-suggestion:last-child{border-bottom:0}.cem-header-product-suggestion:hover,.cem-header-product-suggestion[aria-selected=true]{background:#f5f7fb}
.cem-header-product-suggestion-media{display:grid;width:54px;height:52px;place-items:center;border-radius:8px;background:#f7f8fa}.cem-header-product-suggestion-media img{display:block;width:100%;height:100%;object-fit:contain}
.cem-header-product-suggestion-body{display:flex;min-width:0;flex-direction:column;gap:3px}.cem-header-product-suggestion-title,.cem-header-product-suggestion-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cem-header-product-suggestion-title{font-size:.86rem;font-weight:800;line-height:1.3}.cem-header-product-suggestion-meta{color:#687287;font-size:.7rem}
.cem-header-product-suggestion-price{color:#c83227;font-size:.78rem;font-weight:850;white-space:nowrap}.cem-header-product-suggestion-price.is-unavailable{color:#727d8f}
.cem-header-product-search-status{min-height:0;margin:0;color:#687287;font-size:.7rem}.cem-header-product-search-results:not([hidden])+.cem-header-product-search-status{padding-top:3px}
@media(min-width:1100px){.cem-sidebar-enabled #ast-desktop-header .cem-header-product-search{width:100%!important}}
@media(max-width:921px){.cem-sidebar-enabled #ast-mobile-header.cem-mobile-search-open .cem-header-product-search{display:block!important;width:100%!important}.cem-header-product-search-results{right:auto;left:0;width:100%;max-height:min(460px,62vh)}.cem-header-product-suggestion{grid-template-columns:50px minmax(0,1fr)}.cem-header-product-suggestion-media{width:50px;height:48px}.cem-header-product-suggestion-price{grid-column:2;margin-top:-2px}}
@media(max-width:921px){#ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row{position:relative!important}#ast-mobile-header .site-header-primary-section-left{padding-right:104px;overflow:hidden}#ast-mobile-header .site-branding,#ast-mobile-header .ast-site-identity,#ast-mobile-header .ast-site-title-wrap{min-width:0!important}#ast-mobile-header .site-header-primary-section-right{position:absolute!important;z-index:3;top:50%;right:12px;transform:translateY(-50%)}#ast-mobile-header.cem-mobile-search-open .site-header-primary-section-right{top:27px}}
