/* Magazin Unelte - header accessibility-first */

/* Promotional carousel — responsive desktop/mobile */
.mu-mobile-slider{display:block!important;max-width:1400px;margin:0 auto;padding:16px 24px 10px;background:#f5f6f8}
.mu-mobile-slides{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.mu-mobile-slides::-webkit-scrollbar{display:none}
.mu-mobile-slide{position:relative;isolation:isolate;overflow:hidden;flex:0 0 100%;min-height:265px;padding:42px 7%;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-radius:16px;border:0;color:#fff!important;text-decoration:none!important;background:linear-gradient(115deg,#172a39,#38576b)}
.mu-mobile-slide:nth-child(2){background:linear-gradient(115deg,#174b65,#55a6c5)}
.mu-mobile-slide:nth-child(3){background:linear-gradient(115deg,#332f31,#9a5938)}
.mu-mobile-slide:nth-child(4){background:linear-gradient(115deg,#592a27,#d15b37)}
.mu-mobile-slide:nth-child(5){background:linear-gradient(115deg,#284a42,#63998d)}
.mu-mobile-slide .mu-promo-eyebrow{font-size:13px;font-weight:800;letter-spacing:.11em;color:#f6c96b}
.mu-mobile-slide strong{position:relative;z-index:1;max-width:66%;font-size:clamp(27px,3.5vw,47px);line-height:1.12;margin:13px 0 20px;color:#fff}
.mu-mobile-slide small{position:relative;z-index:1;display:inline-flex;padding:11px 18px;border-radius:8px;background:#fff;color:#212121;font-size:15px;font-weight:800}
.mu-promo-symbol{position:absolute;right:9%;top:50%;transform:translateY(-50%);font-size:clamp(100px,16vw,215px);opacity:.85;line-height:1;filter:drop-shadow(0 14px 15px #0004)}
.mu-promo-controls{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 0 0}
.mu-promo-prev,.mu-promo-next{border:1px solid #d3d5d9;background:#fff;color:#303030;border-radius:50%;width:36px;height:36px;font-size:25px;line-height:1;cursor:pointer}
.mu-promo-dots{display:flex;gap:8px}
.mu-promo-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#b5bdc7;cursor:pointer}
.mu-promo-dots button[aria-current=true]{background:#c62828;width:24px;border-radius:9px}
@media(max-width:850px){.mu-mobile-slider{padding:10px 12px 6px}.mu-mobile-slide{flex-basis:100%;min-height:190px;padding:22px 7%;border-radius:12px}.mu-mobile-slide strong{font-size:clamp(23px,6vw,32px);max-width:78%;margin:10px 0 14px}.mu-mobile-slide small{font-size:12px;padding:9px 12px}.mu-mobile-slide .mu-promo-eyebrow{font-size:10px}.mu-promo-symbol{right:4%;font-size:90px;opacity:.55}.mu-promo-controls{padding-top:7px}}

@media(max-width:850px){
.mu-header{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.09)}
body.admin-bar .mu-header{top:46px}
.mu-header-main{padding-top:7px!important;padding-bottom:7px!important}
.mu-logo-image{max-height:43px!important}
.mu-search{height:42px!important}
}

.mu-logo-image{display:block;width:clamp(190px,20vw,285px);height:auto;max-width:100%;object-fit:contain}
@media(max-width:850px){.mu-logo-image{width:100%;max-height:55px;object-fit:contain;object-position:left center}.mu-brand{width:100%;overflow:hidden}}

/* Mobile-first storefront navigation: menu / logo / cart / account, then search */
.mu-mobile-menu,.mu-mobile-slider{display:none}
@media(max-width:850px){
.mu-header-main{display:grid;grid-template-columns:42px minmax(0,1fr) 90px;grid-template-areas:"menu logo actions" "search search search";gap:10px 9px;padding:11px 14px 13px;min-height:auto}
.mu-mobile-menu{display:block;grid-area:menu;position:relative;align-self:center}
.mu-mobile-menu summary{width:42px;height:44px;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;border-radius:7px}
.mu-mobile-menu summary::-webkit-details-marker{display:none}
.mu-mobile-menu-list{position:absolute;left:-14px;top:48px;background:white;width:min(88vw,330px);max-height:72vh;overflow:auto;box-shadow:0 14px 30px #0003;border:1px solid #e3e3e3;border-radius:9px;padding:12px;display:flex;flex-direction:column;z-index:100}
.mu-mobile-menu-list strong{padding:10px;color:#c62828}.mu-mobile-menu-list a{display:block;padding:13px 10px;border-bottom:1px solid #eee;font-size:15px}
.mu-brand{grid-area:logo;min-width:0;justify-self:start;align-self:center}.mu-brand strong{font-size:clamp(16px,4.6vw,22px);white-space:nowrap;letter-spacing:-.7px}.mu-brand small{display:none}
.mu-actions{grid-area:actions;justify-content:flex-end;gap:2px}.mu-actions a{width:44px;min-height:44px;justify-content:center}.mu-actions a span{display:none!important}.mu-actions a svg{display:block;flex-shrink:0}
.mu-search{grid-area:search;order:initial;flex-basis:auto;width:100%;min-width:0;height:46px;margin:0}.mu-search input{padding:0 11px;font-size:15px}.mu-search button{padding:0 15px;font-size:14px}
.mu-nav{display:none}
.mu-mobile-slider{display:block;padding:12px 14px 4px;background:#f5f6f8;overflow:hidden}
.mu-mobile-slides{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}.mu-mobile-slides::-webkit-scrollbar{display:none}
.mu-mobile-slide{flex:0 0 90%;scroll-snap-align:start;min-height:155px;border-radius:12px;padding:23px;background:linear-gradient(110deg,#fff,#ffe9e9);border:1px solid #ead8d8;display:flex;flex-direction:column;justify-content:center;color:#282828;text-decoration:none}
.mu-mobile-slide:nth-child(2){background:linear-gradient(110deg,#fff,#f0f0f0)}.mu-mobile-slide:nth-child(3){background:linear-gradient(110deg,#fff,#fff2eb)}
.mu-mobile-slide span{color:#bc2525;font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:800}.mu-mobile-slide strong{font-size:22px;line-height:1.2;margin:10px 0 5px}.mu-mobile-slide small{font-size:13px;color:#666}
}

.mu-header{background:#fff;color:#292929;border-bottom:1px solid #e5e5e5;font-family:inherit;position:relative;z-index:30}
.mu-header *{box-sizing:border-box}
.mu-header a{text-decoration:none;color:inherit}
.mu-header a:focus-visible,.mu-header button:focus-visible,.mu-header input:focus-visible,.mu-header summary:focus-visible{outline:3px solid #c62828;outline-offset:3px}
.mu-header-main,.mu-nav-inner{max-width:1320px;margin:auto;padding:0 24px;display:flex;align-items:center;gap:28px}
.mu-header-main{min-height:96px}
.mu-brand{flex-shrink:0;display:flex;flex-direction:column;line-height:1.2}
.mu-brand strong{font-size:25px;letter-spacing:-.9px;color:#252525;font-weight:800}
.mu-brand strong span{color:#c62828}
.mu-brand small{font-size:12px;color:#606060;margin-top:5px}
.mu-search{display:flex;flex:1;min-width:180px;height:48px;border:1px solid #b8b8b8;border-radius:9px;overflow:hidden;background:white}
.mu-search:focus-within{outline:2px solid #c62828;outline-offset:1px}
.mu-search input{flex:1;min-width:0;padding:0 16px;border:0!important;box-shadow:none!important;background:white;color:#292929;font-size:16px}
.mu-search button{border:0;border-radius:0;background:#c62828;color:#fff;font-weight:700;padding:0 24px;cursor:pointer}
.mu-search button:hover{background:#a91e1e}
.mu-actions{display:flex;align-items:center;gap:22px;white-space:nowrap}
.mu-actions a{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:650;min-height:44px}
.mu-actions a span:first-child{font-size:23px}
.mu-nav{background:#f7f7f7;border-top:1px solid #e5e5e5}
.mu-nav-inner{min-height:52px;gap:32px}
.mu-nav-inner>a{font-size:15px;font-weight:650;min-height:44px;display:flex;align-items:center}
.mu-categories{position:relative;font-size:15px;font-weight:700}
.mu-categories summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center}
.mu-categories summary::-webkit-details-marker{display:none}
.mu-category-list{position:absolute;top:100%;left:0;min-width:270px;max-height:60vh;overflow:auto;background:white;border:1px solid #dedede;border-radius:9px;box-shadow:0 12px 28px #22222220;padding:8px;display:flex;flex-direction:column}
.mu-category-list a,.mu-category-list span{padding:12px;border-radius:5px;font-weight:500;font-size:15px}
.mu-category-list a:hover{background:#fff0f0}
@media(max-width:850px){.mu-header-main{flex-wrap:wrap;gap:8px 16px;padding:14px 16px}.mu-brand{flex:1}.mu-brand strong{font-size:21px}.mu-actions{gap:12px}.mu-actions a span:last-child{display:none}.mu-search{flex-basis:100%;order:3}.mu-nav-inner{padding:0 16px;gap:22px;overflow:visible}.mu-nav-inner>a{font-size:14px}}
/* Keep mobile navigation and search visible during page scroll */
.mu-header-spacer{height:149px}
@media(min-width:851px){html body .mu-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:9999!important;box-shadow:0 3px 12px rgba(0,0,0,.12)}html body.admin-bar .mu-header{top:32px!important}}
@media(max-width:850px){.mu-header-spacer{height:112px}}
@media(max-width:850px){.mu-header-main{padding:7px 12px!important;gap:6px 8px!important}.mu-search{height:42px!important}.mu-logo-image{max-height:48px!important}}
@media(max-width:850px){
html body .mu-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:9999!important;box-shadow:0 3px 12px rgba(0,0,0,.12)}
html body.admin-bar .mu-header{top:46px!important}
}
@media(max-width:850px){html body .mu-mobile-slider .mu-mobile-slide{flex:0 0 100%;min-height:190px;padding:22px 7%;border:0;display:flex;align-items:flex-start}html body .mu-mobile-slider .mu-mobile-slide strong{font-size:clamp(23px,6vw,32px);line-height:1.12;max-width:78%;color:#fff;margin:10px 0 14px}html body .mu-mobile-slider .mu-mobile-slide small{font-size:12px;color:#212121}html body .mu-mobile-slider .mu-mobile-slide .mu-promo-eyebrow{color:#f6c96b;font-size:10px}}
@media(max-width:420px){.mu-brand strong{font-size:19px}.mu-brand small{font-size:11px}.mu-actions{gap:9px}.mu-search button{padding:0 16px}.mu-nav-inner{gap:16px}}
@media(max-width:850px){.mu-header-main{display:grid;grid-template-columns:42px minmax(0,1fr) 90px;grid-template-areas:"menu logo actions" "search search search";gap:10px 9px;padding:11px 14px 13px;min-height:auto}.mu-mobile-menu{display:block}.mu-brand{flex:initial}.mu-brand strong{font-size:clamp(16px,4.6vw,22px)}.mu-actions{gap:2px}.mu-search{flex:initial;min-width:0;order:initial;flex-basis:auto}.mu-nav{display:none}}
