/* Atelier 2.2: identical compact structure, individual shop colors. */
#header .at-header{background:var(--at-paper,#faf7f2);color:var(--at-ink,#2a1823);padding:0;border-bottom:1px solid var(--at-line,#e5dbd7)}
#header .at-header-row{display:flex;flex-wrap:wrap;align-items:center;column-gap:24px;row-gap:0;position:relative;padding-top:8px}
#header .at-header-logo{order:0;flex:0 0 170px;display:flex;align-items:center;padding:0;min-height:62px;margin:0}
#header .at-header-logo .fl-brand{padding:0;margin:0}#header .at-header-logo img{display:block;width:auto;max-width:170px;height:auto;max-height:48px;object-fit:contain}
#header .at-header #_desktop_ps_searchbar{order:1!important;flex:1 1 220px;width:auto;min-width:180px;padding:0;margin:0!important}
#header .at-header .ps-searchbar{width:100%;max-width:520px;margin:auto}#header .at-header .ps-searchbar__input{height:42px;min-height:42px;border-radius:24px;background:var(--at-paper,#fff);border:1px solid var(--at-line,#ddd);color:var(--at-ink,#222)}
#header .at-header-actions{order:2;display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
#header .at-header .header-block{margin:0;padding:0;background:transparent;min-height:0}
#header .at-header .header-block__action-btn,#header .at-header .menu-toggle{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:64px;min-width:44px;min-height:54px;padding:5px 3px!important;margin:0;border:0;border-radius:10px;background:transparent;color:var(--at-ink,#2a1823);text-decoration:none;line-height:1.15}
#header .at-header .header-block__action-btn:hover,#header .at-header .menu-toggle:hover{background:var(--at-panel,#eee4df);color:var(--at-ink,#2a1823)}
#header .at-header .header-block__title{display:block!important;font-size:11px;font-weight:500;line-height:1.2;color:inherit;white-space:nowrap;margin:0;padding:0}
#header .at-header-icon{display:block;flex:none;width:23px;height:23px}
#header .at-header .header-block__action-btn.dropdown-toggle:after{display:none}
#header .at-header .header-block__badge{position:absolute;top:0;right:5px;display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border:2px solid var(--at-paper,#fff);border-radius:20px;background:var(--at-ink,#2a1823);color:var(--at-paper,#fff);font-size:11px;font-weight:700;line-height:1;transform:none;margin:0}
#header .at-header .dropdown-menu{color:var(--at-ink,#222);background:var(--at-paper,#fff);z-index:1050}#header .at-header .dropdown-item{color:inherit}
#header .at-header .ps-mainmenu--desktop{order:3;flex:1 0 100%;width:100%;padding:0;margin:6px 0 0;border-top:1px solid var(--at-line,#ddd);position:static}
#header .at-header .ps-mainmenu__tree{display:flex;align-items:center;justify-content:space-between;gap:2px;flex-wrap:wrap;padding:0;margin:0}
#header .at-header .ps-mainmenu__tree-link{font-size:13px;padding:12px 6px;line-height:1.3;white-space:normal;color:var(--at-ink,#222)}
#header .at-header .ps-mainmenu__tree-item-wrapper{min-height:42px;padding:0}
#header .at-header .ps-mainmenu__tree-dropdown-toggle{padding:6px;min-width:24px}
#header .at-header a:focus-visible,#header .at-header button:focus-visible,#header .at-header input:focus-visible{outline:2px solid var(--at-primary,#693447);outline-offset:3px}
@media(min-width:1200px){#header .at-header .ps-mainmenu__mobile-toggle{display:none}}
@media(min-width:768px) and (max-width:1199.98px){#header .at-header .ps-mainmenu--desktop{order:0;flex:0 0 52px;width:52px;border:0;margin:0}#header .at-header-logo{flex-basis:140px}#header .at-header-logo img{max-width:140px}#header .at-header-row{gap:12px;padding:8px 0}#header .at-header .menu-toggle{width:52px}}
@media(max-width:767.98px){
 #header .at-header-row{column-gap:8px;padding:6px 0 0}
 #header .at-header-logo{flex:1 1 90px;min-width:0;min-height:54px}#header .at-header-logo img{max-width:120px;max-height:40px}
 #header .at-header-actions{gap:2px;order:1}#header .at-header .header-block__action-btn{width:52px;min-height:50px}
 #header .at-header .header-block__title{font-size:10px}#header .at-header .header-block__badge{right:1px}
 #header .at-header .ps-mainmenu--desktop{order:3;flex:1 1 45%;width:auto;margin:4px 0 0;border-top:1px solid var(--at-line,#ddd)}
 #header .at-header .ps-mainmenu__mobile-toggle{display:flex;justify-content:center}#header .at-header .menu-toggle{width:100%;min-height:48px}
 #header .at-header .ps-searchbar--mobile{order:4;flex:1 1 45%;padding:0;justify-content:center;border-top:1px solid var(--at-line,#ddd);margin-top:4px}
 #header .at-header .ps-searchbar--mobile>.header-block{width:100%}#header .at-header .ps-searchbar--mobile>.header-block>a{width:100%;min-height:48px}
 #header .at-header .ps-searchbar__offcanvas .ps-searchbar{max-width:none}#header .at-header .ps-searchbar__offcanvas{color:var(--at-ink,#222);background:var(--at-paper,#fff)}
}
#header .at-header .ps-mainmenu__desktop{width:100%}
@media(max-width:767.98px){#header .at-header .ps-mainmenu__mobile-toggle{width:100%}}
/* 2.2.1: single mobile row, menu / logo / search / account / cart. */
@media(max-width:767.98px){
 #header .at-header-row{flex-wrap:nowrap;column-gap:3px;padding:6px 0}
 #header .at-header .ps-mainmenu--desktop{order:0;flex:0 0 44px;width:44px;margin:0;border:0}
 #header .at-header-logo{order:1;flex:1 1 72px;min-width:0;min-height:50px;justify-content:center}
 #header .at-header-logo .fl-brand,#header .at-header-logo .navbar-brand{width:100%;min-width:0;max-width:130px}
 #header .at-header-logo img{max-width:100%;max-height:38px;margin:auto}
 #header .at-header .ps-searchbar--mobile{order:2;flex:0 0 44px;width:44px;border:0;margin:0}
 #header .at-header-actions{display:contents}
 #header .at-header-actions>[id^="_desktop_"]{display:none!important}
 #header .at-header #_mobile_ps_customersignin{order:3;flex:0 0 48px;width:48px}
 #header .at-header #_mobile_ps_shoppingcart{order:4;flex:0 0 62px;width:62px}
 #header .at-header #_mobile_ps_customersignin .header-block__action-btn{width:48px}
 #header .at-header #_mobile_ps_shoppingcart .header-block__action-btn{width:62px}
 #header .at-header .menu-toggle,#header .at-header .ps-searchbar--mobile>.header-block>a{min-height:50px;width:44px}
 #header .at-header .header-block__badge{right:5px}
}
