.site-header .mas-shop-tools{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto;order:2}.site-header .primary-nav{order:1}.site-header .menu-toggle{order:3}.site-header .mas-shop-icon{position:relative;display:grid;place-items:center;width:44px;height:44px;color:#e0e3ef;border-radius:10px;transition:color .2s,background .2s;flex-shrink:0}.mas-shop-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.mas-box-link svg{width:34px;height:34px;stroke-width:4}.mas-shop-icon:hover,.mas-shop-icon:focus-visible{color:#8bdeff;background:#222638}.mas-box-count{position:absolute;right:0;top:0;background:#b9a1ff;color:#111113;border-radius:20px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;font:700 11px Arial}.mas-box-count[hidden]{display:none}.mas-box-spark{stroke:#b9a1ff;opacity:0}.mas-box-link:has(.mas-box-count:not([hidden])){color:#8bdeff}.mas-box-link:has(.mas-box-count:not([hidden])) .mas-box-spark{opacity:1}.mas-box-pulse{animation:mas-box-pulse .65s ease-out}@keyframes mas-box-pulse{50%{filter:drop-shadow(0 0 9px #8bdeff);transform:scale(1.12)}}
.mas-shop-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(460px,100%);max-width:100%;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #49465f;background:#141520;color:#e8e8f4;padding:24px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}.mas-shop-drawer::backdrop{background:#0009}.mas-shop-drawer[open]{display:flex;flex-direction:column;gap:20px}.mas-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #39394a;padding-bottom:16px}.mas-drawer-head small{color:#b9a1ff;letter-spacing:2px}.mas-drawer-head h2{font-size:30px;margin:10px 0;letter-spacing:-.04em}.mas-drawer-head p{margin:0;color:#b9bbc9}.mas-drawer-close{width:44px;height:44px;border:1px solid #49465f;border-radius:10px;background:#222431;color:white;font-size:28px;cursor:pointer}.mas-drawer-content{flex:1}.mas-shop-drawer ul{list-style:none;padding:0;margin:0}.mas-shop-drawer .mini_cart_item{position:relative;padding:16px 0 16px 32px;border-bottom:1px solid #39394a;min-height:90px;display:flow-root}.mas-shop-drawer .mini_cart_item img{float:right;width:88px;height:auto;margin-left:12px;border-radius:6px}.mas-shop-drawer .remove{position:absolute;left:0;top:16px;color:#c5b5ff;font-size:22px}.mas-shop-drawer .quantity{display:block;color:#a7e2ff;margin-top:8px}.mas-shop-drawer .woocommerce-mini-cart__total{padding:18px 0;font-size:18px}.mas-shop-drawer .woocommerce-mini-cart__buttons{display:grid;gap:10px}.mas-shop-drawer .button,.mas-drawer-fallback{display:block;text-align:center;padding:13px;border-radius:10px;background:#b9a1ff;color:#111113;font-weight:600}.mas-drawer-fallback{background:#242638;color:#e8e8f4}.mas-shop-drawer .woocommerce-mini-cart__buttons:not(:empty)~.mas-drawer-fallback{display:none}
@media(min-width:901px){.site-header .header-inner:has(.mas-shop-tools) .primary-nav{gap:clamp(10px,1.3vw,24px);margin-left:auto}.site-header .header-inner:has(.mas-shop-tools) .nav-list{gap:clamp(8px,1vw,22px)}.site-header .mas-shop-tools{margin-left:8px;order:2}.site-header .header-inner:has(.mas-shop-tools){gap:8px}.site-header .header-inner:has(.mas-shop-tools) .nav-cta{padding-inline:14px}}
@media(max-width:900px){.site-header .mas-shop-tools{order:0;margin-left:auto;margin-right:8px}.site-header .menu-toggle{order:0}.site-header .mas-shop-icon{width:44px;height:44px}.site-header .header-inner:has(.mas-shop-tools){gap:4px}.site-header .header-inner:has(.mas-shop-tools) .brand{flex-shrink:1;min-width:50px}}
@media(prefers-reduced-motion:reduce){.mas-box-pulse{animation:none}.mas-shop-icon{transition:none}}

/* 4.9.3: desktop navigation, account, box, CTA; mobile tools before toggle. */
@media(min-width:901px){.site-header .header-inner:has(.mas-shop-tools) .mas-nav-cta-mobile{display:none}.site-header .header-inner:has(.mas-shop-tools) .mas-nav-cta-desktop{display:inline-flex;order:3;flex-shrink:0}.site-header .header-inner:has(.mas-shop-tools) .primary-nav{order:1}.site-header .header-inner:has(.mas-shop-tools) .mas-shop-tools{order:2;margin-left:8px}}
@media(max-width:900px){.site-header .header-inner .mas-nav-cta-desktop{display:none}}
