/* Shared chrome on all storefront routes; native responsive module IDs stay intact. */
.mgm-header-right{display:contents}
#header .magmara-topbar .magmara-topbar__inner{width:100%;max-width:none;min-height:30px;justify-content:center;padding:5px 16px;font-size:12px;line-height:20px;text-align:center}
#header .magmara-topbar__brand{letter-spacing:.12px;font-size:12px;line-height:20px}
#header .header-bottom.mgm-unified-header{padding:0}
#header .header-bottom.mgm-unified-header .header-bottom__container{width:100%;max-width:none;padding-inline:20px}
#header .mgm-unified-header .header-bottom__row{--bs-gutter-x:0;display:flex;flex-wrap:nowrap;align-items:center;gap:16px;min-height:72px;padding:0;margin:0}
#header .mgm-unified-header .header-bottom__row>*{padding:0}
#header .mgm-unified-header .header-bottom__logo{width:144px;min-height:0;padding:0;margin:0!important;flex:0 0 144px}
#header .mgm-unified-header .header-bottom__logo img{width:144px;max-width:100%;height:auto}
#header .mgm-unified-header .mgm-menu-holder{order:1;flex:1 1 auto;width:auto;max-width:none;min-width:0;border:0}
#header .mgm-unified-header .mgm-nav__list{justify-content:flex-start;gap:0 14px;flex-wrap:nowrap}
#header .mgm-unified-header .mgm-nav__link{font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;min-height:72px;padding:0;white-space:nowrap}
#header .mgm-unified-header .mgm-nav__dropdown>summary{width:20px;height:72px;padding:0;min-height:0}
#header .mgm-unified-header .mgm-menu-caret{width:5px;height:5px;border-width:0 1px 1px 0}
#header .mgm-unified-header #_desktop_ps_searchbar{order:2;flex:0 1 135px;width:135px;min-width:90px;margin:0!important}
#header .mgm-unified-header .ps-searchbar{width:100%;min-width:0}
#header .mgm-unified-header .ps-searchbar__form{margin:0;border-bottom:1px solid #ccc;background:transparent}
#header .mgm-unified-header .ps-searchbar__input{min-height:36px;height:36px;width:100%;padding:7px 25px 7px 27px;border:0;border-radius:0;background:transparent;font-size:12px;text-overflow:ellipsis;box-shadow:none}
#header .mgm-unified-header .ps-searchbar__magnifier{font-size:19px;left:0;color:#555}
#header .mgm-unified-header .ps-searchbar__dropdown{min-width:min(350px,90vw);right:0;left:auto}
#header .mgm-unified-header .mgm-header-tools{order:3;flex:0 0 auto;width:auto;align-items:center;gap:10px;margin:0}
#header .mgm-unified-header .header-block{min-height:0;height:auto}
#header .mgm-unified-header .header-block__action-btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;min-width:38px;padding:4px;color:#333;text-decoration:none;font-size:11px;line-height:1.25}
#header .mgm-unified-header .header-block__title{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
#header .mgm-unified-header .header-block__icon{font-size:22px;color:inherit}
@supports(mask-image:url('')){#header .mgm-unified-header :is(.ps-customersignin,.ps-shoppingcart) .header-block__icon{display:block;width:22px;height:22px;font-size:0;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}#header .mgm-unified-header .ps-customersignin .header-block__icon{mask-image:url('../img/ui/header-user.svg')}#header .mgm-unified-header .ps-shoppingcart .header-block__icon{mask-image:url('../img/ui/header-bag.svg')}}
@supports(mask-image:url('')){#header :is(#_mobile_ps_customersignin,#_mobile_ps_shoppingcart) .header-block__icon{display:block;width:22px;height:22px;font-size:0;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}#header #_mobile_ps_customersignin .header-block__icon{mask-image:url('../img/ui/header-user.svg')}#header #_mobile_ps_shoppingcart .header-block__icon{mask-image:url('../img/ui/header-bag.svg')}}
#header .mgm-unified-header .ps-customersignin .header-block__action-btn:after{content:'Konto';font-size:10px;border:0;margin:0;width:auto;height:auto}
#header .mgm-mini-cart__icon{display:block;width:22px;height:22px;flex:none;background:url('../img/ui/header-bag.svg') center/contain no-repeat}
#header .mgm-mini-cart__label{font-size:10px}
@media(max-width:767px){#header .mgm-mini-cart__label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
#header .mgm-unified-header .header-block__badge{position:absolute;top:0;right:0;min-width:15px;height:15px;padding:1px 3px;font-size:10px;line-height:13px;background:var(--magmara-action);color:#fff}
#header .mgm-unified-header .mgm-nav__panel{left:20px;right:20px;max-width:none;top:100%}
@media(min-width:1440px){#header .mgm-unified-header .header-bottom__row{gap:24px}#header .mgm-unified-header .header-bottom__logo{width:160px;flex-basis:160px}#header .mgm-unified-header .header-bottom__logo img{width:160px}#header .mgm-unified-header .mgm-nav__list{gap:0 20px}#header .mgm-unified-header .mgm-nav__link{font-size:13px}#header .mgm-unified-header #_desktop_ps_searchbar{flex-basis:170px;width:170px}}
@media(max-width:1199px){#header .mgm-unified-header .header-bottom__row{min-height:66px;gap:14px}#header .mgm-unified-header .mgm-menu-holder{order:-1;flex:0 0 34px;width:34px}#header .mgm-unified-header .header-bottom__logo{margin-right:auto!important}#header .mgm-unified-header #_desktop_ps_searchbar{flex:0 1 250px;width:250px}#header .mgm-unified-header .ps-mainmenu__mobile-toggle button{min-width:34px;padding:5px}}
@media(max-width:767px){#header .header-bottom.mgm-unified-header .header-bottom__container{padding-inline:12px}#header .mgm-unified-header .header-bottom__row{min-height:60px;gap:6px}#header .mgm-unified-header .header-bottom__logo{width:132px;flex-basis:132px}#header .mgm-unified-header .header-bottom__logo img{width:132px}#header .mgm-unified-header .ps-searchbar--mobile{order:2}#header .mgm-unified-header #_mobile_ps_customersignin{order:3}#header .mgm-unified-header #_mobile_ps_shoppingcart{order:4}#header .mgm-unified-header .header-block__action-btn{min-width:32px;min-height:42px;padding:4px}#header .mgm-unified-header .header-block__action-btn:after{display:none}#header .mgm-unified-header .header-block__badge{top:1px}#header .mgm-unified-header .ps-searchbar__offcanvas .ps-searchbar{width:100%}#header .mgm-unified-header .ps-searchbar__offcanvas .ps-searchbar__input{height:44px;min-height:44px;font-size:16px}}
@media(max-width:359px){#header .mgm-unified-header .header-bottom__row{gap:3px}#header .mgm-unified-header .header-bottom__logo{width:112px;flex-basis:112px}#header .mgm-unified-header .header-bottom__logo img{width:112px}}

/* Equal side columns keep the desktop logo centered in the viewport. */
@media(min-width:1200px){
 #header .mgm-unified-header .header-bottom__row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:16px}
 #header .mgm-unified-header .header-bottom__logo{grid-column:2;grid-row:1;justify-self:center}
 #header .mgm-unified-header .mgm-menu-holder{grid-column:1;grid-row:1;width:100%;min-width:0;order:0}
 #header .mgm-unified-header .mgm-header-right{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0}
 #header .mgm-unified-header .mgm-nav__list{justify-content:flex-start;gap:0 8px}
 #header .mgm-unified-header .mgm-nav__dropdown>summary{width:24px}
 #header .mgm-unified-header #_desktop_ps_searchbar{flex:0 1 170px;min-width:90px}
}
@media(min-width:1200px) and (max-width:1439px){
 #header .mgm-unified-header .mgm-nav__list{column-gap:0}
 #header .mgm-unified-header .mgm-nav__link{font-size:12px}
}

/* Compact native cart preview, styled to match the MAGMARA storefront. */
#header .mgm-mini-cart{position:relative}
#header .mgm-mini-cart__panel{display:none;position:absolute;right:0;top:calc(100% + 10px);z-index:1080;width:360px;max-width:calc(100vw - 32px);max-height:min(580px,calc(100dvh - 130px));grid-template-rows:minmax(0,1fr) auto;background:#fff;border:1px solid #e9e9e9;border-radius:0 0 12px 12px;box-shadow:0 8px 25px #00000014;color:#292929;text-align:left;font-family:inherit;font-size:14px;line-height:1.4}
#header .mgm-mini-cart__panel:before{content:'';position:absolute;left:0;right:0;bottom:100%;height:12px}
#header .mgm-mini-cart--open .mgm-mini-cart__panel{display:grid}
#header .mgm-mini-cart__products{list-style:none;padding:0;margin:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}
#header .mgm-mini-cart__product{display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;margin:0;padding:0;border-bottom:1px solid #eee;min-height:126px}
#header .mgm-mini-cart__product:last-child{border-bottom:0}
#header .mgm-mini-cart__photo{display:block;align-self:stretch;background:#f5f5f5;min-height:126px}
#header .mgm-mini-cart__photo img{display:block;width:88px;height:126px;object-fit:contain;object-position:center;max-width:none;margin:0}
#header .mgm-mini-cart__details{display:flex;flex-direction:column;min-width:0;padding:16px 22px 16px 0}
#header .mgm-mini-cart__name{display:block;color:inherit;text-decoration:none;font-size:14px;line-height:1.35;font-weight:400;overflow-wrap:anywhere}
#header .mgm-mini-cart__name:hover{text-decoration:underline;text-underline-offset:3px}
#header .mgm-mini-cart__attribute{font-size:12px;color:#747474;line-height:1.5}
#header .mgm-mini-cart__price{display:block;margin-top:auto;padding-top:10px;text-align:right;font-size:14px;font-weight:600;white-space:nowrap}
#header .mgm-mini-cart__summary{padding:22px 24px 26px;border-top:1px solid #eee;background:#fafafa;border-radius:0 0 12px 12px}
#header .mgm-mini-cart__line{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:13px;font-size:12px;text-transform:uppercase}
#header .mgm-mini-cart__line>span:last-child{white-space:nowrap;text-align:right}
#header .mgm-mini-cart__total{font-size:14px;margin-bottom:20px;font-weight:600}
#header .mgm-mini-cart__total strong{font-size:16px;font-weight:600;white-space:nowrap}
#header .mgm-mini-cart__total small{display:block;font-size:11px;line-height:1.6;font-weight:400}
#header a.mgm-mini-cart__view{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 18px;background:var(--magmara-action,#a80a0b);border:1px solid var(--magmara-action,#a80a0b);border-radius:3px;color:#fff;text-decoration:none;font-size:14px;font-weight:600;line-height:1.3;text-transform:none}
#header a.mgm-mini-cart__view:hover{filter:brightness(.94)}
#header .mgm-mini-cart__panel a:focus-visible{outline:2px solid var(--magmara-action,#a80a0b);outline-offset:3px}
#header .mgm-mini-cart__empty{padding:28px 24px;background:#fafafa;border-radius:0 0 12px 12px}
#header .mgm-mini-cart__empty p{margin:0 0 22px;font-size:16px;text-align:center}
@media(min-width:768px){#header .mgm-mini-cart:not([data-mini-cart-ready]):is(:hover,:focus-within) .mgm-mini-cart__panel{display:grid}}
@media(max-width:767px){#header .mgm-mini-cart__panel{display:none!important}}
@media(max-height:500px){#header .mgm-mini-cart__panel{max-height:calc(100dvh - 105px)}#header .mgm-mini-cart__summary{padding:12px 20px}#header .mgm-mini-cart__line{margin-bottom:8px}}
