
#sp-global-header,#sp-global-header *{box-sizing:border-box}
#sp-global-header{position:relative;z-index:1100;width:100%;background:#fff;color:#301746;border-bottom:1px solid #ebe4f3;font-family:Manrope,Arial,sans-serif;line-height:1.3;box-shadow:0 3px 16px rgba(38,19,69,.07)}
#sp-global-header .sp-row{width:min(1160px,calc(100% - 32px));margin:auto;display:flex;gap:clamp(10px,1.1vw,18px);align-items:center;min-height:84px;flex-wrap:nowrap}
#sp-global-header a{color:#32174a;text-decoration:none;border:0;line-height:1.3}
#sp-global-header a:hover{color:#6b23bb}
#sp-global-header .sp-logo{flex:0 0 auto;display:flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:900;color:#5920b9}
#sp-global-header .sp-logo img{display:block;width:52px;height:52px;object-fit:contain}
#sp-global-header .sp-nav{display:flex;align-items:center;justify-content:center;flex:1 1 auto;gap:clamp(8px,.9vw,15px);min-width:0;margin:0;padding:0;background:none;border:0;box-shadow:none;flex-wrap:nowrap;font-size:clamp(11px,.82vw,13px);font-weight:800}
#sp-global-header .sp-nav a{white-space:nowrap;padding:6px 0;color:#351a4c}
#sp-global-header .sp-nav a[aria-current="page"]{color:#7226c0}
#sp-global-header .sp-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;white-space:nowrap}
#sp-global-header .sp-phone{font-size:13px;font-weight:850;color:#35175a}
#sp-global-header .sp-vk{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#edf3ff;color:#3569d4!important;border:1px solid #dfe8ff;font-weight:900;font-size:11px}
#sp-global-header .sp-cart{display:inline-flex;align-items:center;gap:6px;background:#f1e6ff;color:#5520a8;padding:10px 11px;border-radius:12px;font-size:12px;font-weight:900}
#sp-global-header #hamb{display:none;background:transparent;border:0;color:#5520a8;cursor:pointer;font:inherit;font-size:24px;padding:8px;flex:0 0 auto}
#sp-global-header #mobileNav{display:none;width:min(1160px,calc(100% - 32px));margin:auto;padding:4px 0 16px;background:#fff;border:0;box-shadow:none}
#sp-global-header #mobileNav a{color:#301746;padding:12px 10px;border-bottom:1px solid #eee7f5;font-weight:700;font-size:14px}
#sp-global-header #mobileNav.open{display:grid;grid-template-columns:1fr}
@media(max-width:1200px) and (min-width:1031px){#sp-global-header .sp-logo span{display:none}#sp-global-header .sp-nav{gap:8px;font-size:11px}#sp-global-header .sp-actions{gap:7px}#sp-global-header .sp-phone{font-size:12px}#sp-global-header .sp-cart{padding:9px 8px;font-size:11px}}
@media(max-width:1030px){#sp-global-header .sp-nav{display:none}#sp-global-header .sp-row{min-height:72px;gap:12px}#sp-global-header #hamb{display:block;margin-left:4px}#sp-global-header .sp-logo span{display:inline}}
@media(max-width:600px){#sp-global-header .sp-row{gap:7px;min-height:64px}#sp-global-header .sp-logo{font-size:11px;gap:5px}#sp-global-header .sp-logo img{width:44px;height:44px}#sp-global-header .sp-phone{font-size:0}#sp-global-header .sp-phone::before{content:'☎';font-size:21px;color:#5520a8}#sp-global-header .sp-actions{gap:6px}#sp-global-header .sp-vk{width:29px;height:29px}#sp-global-header .sp-cart{font-size:17px;padding:7px}#sp-global-header .sp-cart span{display:none}}
@media(max-width:375px){#sp-global-header .sp-logo span{display:none}}

/* MAX: same touch target as VK, original brand mark. */
#sp-global-header .sp-max{background:#f4edff;border-color:#e8ddfb;flex-shrink:0}
#sp-global-header .sp-max img{display:block;width:22px;height:22px;object-fit:contain}
#sp-global-header .sp-max:hover{background:#e9dcfc}
#sp-global-header .sp-max:focus-visible{outline:3px solid #7b36f2;outline-offset:3px}
