/* SmartAlarme Academy 4.3 / Accessibility-first mega menus */
.sa43-header{--sa43-ink:#12385d;--sa43-blue:#176be8;--sa43-border:#d9e7f5;overflow:visible!important}
.sa43-header .sa4-header-inner{position:relative;overflow:visible}
.sa43-header .sa4-nav{align-items:center;gap:clamp(2px,.5vw,9px)}
.sa43-header .sa43-navitem{position:relative;white-space:normal;flex-shrink:0;gap:0;border-radius:11px;transition:background-color .18s ease}
.sa43-header .sa43-navitem>a{font-weight:720;white-space:nowrap;transition:color .18s ease}
.sa43-header .sa43-navitem.expanded{background:#eaf3fc}
.sa43-header .sa43-trigger{width:25px;height:35px;min-width:25px;border:0;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;padding:3px;color:#517ba5;background:transparent;cursor:pointer;transition:background .18s,color .18s}
.sa43-header .sa43-trigger:hover,.sa43-header .sa43-trigger:focus-visible{background:#dceeff;color:#155fca}
.sa43-header .sa43-trigger svg{width:16px;height:16px;transition:transform .2s ease}
.sa43-header .sa43-navitem.expanded .sa43-trigger svg{transform:rotate(180deg)}
.sa43-portals{position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:120;pointer-events:none;min-width:0}
.sa43-panel{width:min(1280px,calc(100vw - 34px));margin:0 auto;display:grid;grid-template-columns:minmax(175px,225px) minmax(0,1fr) minmax(160px,210px);gap:19px;padding:20px;background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(247,251,255,.99));border:1px solid #d4e3f4;border-top:1px solid #e6effa;border-radius:0 0 23px 23px;box-shadow:0 28px 70px #123e6929,0 4px 15px #123e690b;max-height:calc(100dvh - 105px);overflow-y:auto;overscroll-behavior:contain;pointer-events:auto;animation:sa43-enter .22s cubic-bezier(.2,.8,.2,1) both}
.sa43-panel[hidden],.sa43-mobile[hidden]{display:none!important}
.sa43-kicker,.sa43-section-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#3374ce;font-weight:820}
.sa43-intro{min-width:0;position:relative;background:linear-gradient(160deg,#eaf5ff,#f6faff);border:1px solid #e2eefc;border-radius:18px;padding:24px 17px 80px;overflow:hidden}
.sa43-intro h2{font-size:clamp(20px,1.5vw,25px);letter-spacing:-.035em;line-height:1.2;margin:15px 0 12px;color:var(--sa43-ink)}
.sa43-intro p{font-size:12px;line-height:1.6;color:#56718f;margin:0 0 16px}
.sa43-all,.sa43-featured-link,.sa43-mobile-all{font-size:12px;font-weight:780;color:#1565c8;display:inline-flex;gap:7px;align-items:center}
.sa43-arrow{width:16px;height:16px;flex-shrink:0}
.sa43-intro-decoration{position:absolute;left:0;right:0;bottom:0;height:66px;background:linear-gradient(180deg,transparent,#d8eafb7d)}
.sa43-intro-decoration span{position:absolute;bottom:15px;width:58px;height:24px;background:#9fcdf5;border:1px solid #fff9;border-radius:7px;transform:skewY(-23deg) rotate(-8deg);box-shadow:12px 8px 0 #80b5ed70}
.sa43-intro-decoration span:nth-child(1){left:25px}.sa43-intro-decoration span:nth-child(2){left:95px;bottom:33px;width:35px;height:34px;background:#4d99f3}.sa43-intro-decoration span:nth-child(3){left:150px;bottom:18px;width:35px}
.sa43-menu-content{min-width:0;padding:3px 0}.sa43-section-label{margin:0 0 12px 4px;color:#758ca8}
.sa43-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sa43-panel--brands .sa43-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sa43-card{position:relative;min-width:0;display:flex;align-items:center;gap:11px;padding:10px 9px;min-height:103px;border:1px solid #e2ebf8;border-radius:15px;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 5px 15px #163e6210;transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s;overflow:hidden;white-space:normal}
.sa43-panel--brands .sa43-card{min-height:92px;padding:8px;gap:7px}
.sa43-card:hover,.sa43-card:focus-visible{transform:perspective(700px) rotateX(2deg) rotateY(-2deg) translateY(-4px);border-color:#9fc9ff;box-shadow:0 15px 32px #1e5fac26;background:#fff;z-index:2}
.sa43-card-art{width:75px;height:73px;min-width:75px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:radial-gradient(ellipse at 38% 20%,#fff 0,#dceeff 75%);transform:translateZ(8px)}
.sa43-panel--brands .sa43-card-art{width:58px;height:60px;min-width:58px}
.sa43-card-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 4px #1d68bb19);transition:transform .25s ease}
.sa43-card:hover .sa43-card-art img,.sa43-card:focus-visible .sa43-card-art img{transform:translateY(-3px) scale(1.06)}
.sa43-card-copy{display:flex;align-items:start;flex-direction:column;min-width:0;flex:1;gap:3px}
.sa43-card-copy strong{font-size:12px;line-height:1.28;color:#173a63;letter-spacing:-.012em;overflow-wrap:anywhere}
.sa43-card-copy small{font-size:10px;line-height:1.42;color:#617890;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.sa43-explore{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#1569d5;font-weight:750;opacity:.75;transform:translateY(1px);transition:transform .2s,opacity .2s}
.sa43-explore .sa43-arrow{width:12px;height:12px}.sa43-card:hover .sa43-explore,.sa43-card:focus-visible .sa43-explore{opacity:1;transform:translateY(0)}
.sa43-featured{min-width:0;display:flex;flex-direction:column;align-items:start;gap:10px;padding:13px;border:1px solid #dbe8f8;background:linear-gradient(150deg,#e9f4ff,#fff);border-radius:18px}
.sa43-featured-art{width:100%;height:118px;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse at 50% 50%,#c4e2ff,#eaf5ff 70%);border-radius:13px;overflow:hidden}
.sa43-featured-art img{width:170px;height:112px;object-fit:contain}
.sa43-featured strong{font-size:14px;color:#173a63;line-height:1.4}.sa43-featured p{font-size:10px;color:#7a8ea4;margin:auto 0 0}
.sa43-mobile{display:none}
.sa43-bars{width:18px;height:14px;display:inline-block;position:relative;border-top:2px solid currentColor;border-bottom:2px solid currentColor;margin-left:7px}.sa43-bars:before{content:"";position:absolute;left:0;right:0;top:5px;border-top:2px solid currentColor}
@keyframes sa43-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1370px) and (min-width:1101px){.sa43-header .sa4-logo{min-width:175px;gap:6px}.sa43-header .sa4-logo-icon{width:35px;height:35px}.sa43-header .sa43-navitem>a{font-size:9.8px;padding:9px 4px}.sa43-header .sa43-trigger{width:18px;min-width:18px;padding:1px}.sa43-header .sa4-shop{padding:11px 9px;font-size:10px}.sa43-panel{width:calc(100vw - 24px);grid-template-columns:190px minmax(0,1fr) 176px;gap:11px;padding:13px}.sa43-panel--brands .sa43-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sa43-card-art{width:58px;min-width:58px}.sa43-card{gap:8px;padding:8px}.sa43-card-copy strong{font-size:11px}}
@media(max-width:1100px){.sa43-header .sa4-header-inner{height:auto;min-height:78px}.sa43-header .sa4-menu-toggle{display:inline-flex;align-items:center}.sa43-portals{display:none!important}.sa43-header .sa4-nav{display:none;order:4;flex-basis:100%;width:100%;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - 90px);overflow-x:hidden;overflow-y:auto;background:white;padding:8px 3px 18px}.sa43-header .sa4-nav.open{display:flex}.sa43-header .sa43-navitem{width:100%;display:flex;flex-wrap:wrap;border-bottom:1px solid #edf2fa;gap:0}.sa43-header .sa43-navitem>a{font-size:14px;flex:1;padding:13px 9px}.sa43-header .sa43-trigger{width:48px;min-width:48px;height:44px}.sa43-header .sa43-trigger svg{width:19px;height:19px}.sa43-mobile{display:block;width:100%;flex-basis:100%;min-width:0;border-radius:14px;background:linear-gradient(#f1f8ff,#fafcff);border:1px solid #e2effb;padding:12px;margin:0 0 12px}.sa43-mobile>p{font-size:12px;margin:2px 2px 13px;color:#607e9e}.sa43-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sa43-card--mobile{min-height:86px}.sa43-mobile-all{margin:13px 3px 4px}.sa43-mobile-grid .sa43-card-art{width:62px;min-width:62px;height:62px}.sa43-header .sa4-navitem.expanded{background:#f7fbff}}
@media(max-width:630px){.sa43-header .sa4-logo small{font-size:6px}.sa43-header .sa4-shop{max-width:145px}.sa43-mobile-grid{grid-template-columns:1fr}.sa43-card--mobile{min-height:76px}.sa43-mobile-grid .sa43-card-art{height:56px;width:60px;min-width:60px}.sa43-header .sa4-nav{max-height:calc(100dvh - 84px)}}
@media(prefers-reduced-motion:reduce){.sa43-panel,.sa43-card,.sa43-card-art img,.sa43-trigger svg,.sa43-explore{animation:none!important;transform:none!important;transition:none!important}}
/* Mobile navigation is a scrollable overlay: expanding a category never grows the sticky header. */
@media (max-width:1100px){
 .sa43-header .sa4-header-inner{position:relative;flex-wrap:nowrap;min-height:78px}
 .sa43-header .sa4-nav{position:absolute;top:calc(100% - 1px);left:12px;right:12px;width:auto;flex-basis:auto;order:initial;max-height:calc(100dvh - 94px);padding:10px 12px 18px;overflow-y:auto;overflow-x:hidden;border:1px solid #dce8f6;border-radius:0 0 17px 17px;box-shadow:0 20px 45px #123c6728;z-index:160}
 .sa43-header .sa4-nav.open{display:flex}
 .sa43-header .sa4-menu-toggle{flex-shrink:0;margin-left:auto;order:3}
 .sa43-header .sa4-shop{flex-shrink:1;min-width:0;order:2;margin-left:auto}
}
@media (max-width:630px){
 .sa43-header .sa4-header-inner{padding:5px 12px;gap:5px}
 .sa43-header .sa4-logo{font-size:12px;min-width:0;flex:0 1 135px;gap:5px}
 .sa43-header .sa4-logo-icon{width:30px;height:30px;min-width:30px}
 .sa43-header .sa4-logo-icon svg{width:22px}
 .sa43-header .sa4-logo b{font-size:14px}
 .sa43-header .sa4-logo small{font-size:5.5px;letter-spacing:.4px}
 .sa43-header .sa4-shop{max-width:125px;font-size:9px;line-height:1.18;padding:8px 6px;white-space:normal}
 .sa43-header .sa4-shop span{margin-left:2px}
 .sa43-header .sa4-menu-toggle{font-size:11px;white-space:nowrap;padding:7px 6px}
 .sa43-header .sa43-bars{width:14px;margin-left:4px}
}
@media (max-width:1100px){
 .sa43-header .sa4-nav{justify-content:flex-start!important;align-content:stretch}
 .sa43-header .sa43-navitem{flex-shrink:0}
}
