:root{--shop-header-height:170px;--shop-support-height:0px}
html{scroll-padding-top:calc(var(--shop-header-height) + 16px)}
.shop-header{z-index:50;background:#fff;transition:box-shadow .2s}
.shop-header.is-sticky{position:sticky;top:0}.shop-header.is-scrolled{box-shadow:0 4px 20px #17252b14}
.shop-header .search{min-width:0}
.shop-support{position:fixed;left:20px;bottom:20px;z-index:45;width:max-content;max-width:calc(100vw - 32px)}
.shop-support-menu{position:relative}
.shop-support-toggle{display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 14px;background:#172d38;color:#fff;border:1px solid #ffffff80;border-radius:30px;box-shadow:0 4px 18px #17252b24;font-size:12px;font-weight:700;cursor:pointer;list-style:none;user-select:none}
.shop-support-toggle::-webkit-details-marker{display:none}
.shop-support-toggle-mark{font-size:19px;line-height:1;font-weight:400;transition:transform .2s}
.shop-support-menu[open] .shop-support-toggle-mark{transform:rotate(45deg)}
.shop-support-panel{position:absolute;left:0;bottom:calc(100% + 12px);width:min(292px,calc(100vw - 32px));max-height:min(440px,65dvh);overflow:auto;border:1px solid #dfe5e7;border-radius:15px;background:#fff;padding:15px;box-shadow:0 12px 45px #142b3826;color:#223b46}
.shop-support-heading{margin:0 0 10px;font-size:12px;font-weight:700}
.shop-support-action{display:flex;align-items:center;gap:11px;min-height:55px;padding:8px 3px;border-top:1px solid #edf0f1}
.shop-support-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#eef3f4;color:#3c5966;font-size:23px}
.shop-support-zalo .shop-support-icon{background:#eaf2ff;color:#0868ee;font-size:10px;font-weight:800}
.shop-support-phone .shop-support-icon{background:#fff0e6;color:#ba4a16}
.shop-support-label{flex:1;min-width:0;font-size:12px;font-weight:650;overflow-wrap:anywhere}
.shop-support-label small{display:block;margin-top:2px;color:#78868d;font-size:10px;font-weight:400}
.shop-support-action>span:last-child:not(.shop-support-label){color:#8a999f;font-size:14px}
.shop-support-action:hover .shop-support-label{color:#b9430d}
.shop-support a:focus-visible,.shop-support summary:focus-visible,.shop-back-top:focus-visible{outline:3px solid #0868ee;outline-offset:4px}
.shop-back-top{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:38px;margin-top:8px;padding:8px;border:1px solid #e0e6e9;border-radius:8px;background:#f4f7f8;color:#526976;font-size:11px;cursor:pointer}
.shop-back-top[hidden]{display:none}
.shop-support:not(:has(a)):has(.shop-back-top[hidden]){display:none}
.buy-summary{top:calc(var(--shop-header-height) + 20px)}
.lp-section-nav{top:var(--shop-header-height)}
@media(max-width:760px){
    body.has-shop-support{padding-bottom:0}
    .shop-support{left:max(12px,env(safe-area-inset-left));bottom:calc(14px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}
    .shop-support-toggle{min-height:44px;padding:9px 12px;gap:7px;font-size:11px}
    .shop-support-panel{width:min(292px,calc(100vw - 24px));max-height:min(390px,55dvh)}
    body:has(.lp-mobile-buy) .shop-support{bottom:calc(96px + env(safe-area-inset-bottom))}
    body:has(.lp-mobile-buy) .lp-mobile-buy{bottom:0}
    body:has(.lp-mobile-buy){padding-bottom:90px}
    html:has(.lp-mobile-buy){scroll-padding-bottom:110px}
    body:has(.purchase-page) .shop-support{position:relative;left:auto;bottom:auto;margin:18px 16px;width:calc(100% - 32px);z-index:1}
    body:has(.purchase-page) .shop-support-toggle{justify-content:center;background:#f3f6f7;color:#304e5c;border-color:#dce4e8;box-shadow:none}
    body:has(.purchase-page) .shop-support-panel{position:static;width:100%;max-height:none;margin-top:10px;box-shadow:none}
}
@media(max-width:650px){
    .shop-header .header{padding:10px 0;gap:10px}
    .shop-header .search{max-width:none;flex-basis:100%}
    .shop-header .search input{padding:10px 12px;font-size:16px}
    .shop-header nav{padding:10px 0;scrollbar-width:thin}
    .shop-header nav a{min-height:24px;display:flex;align-items:center}
}
@media(max-width:360px){.shop-header .logo{font-size:16px;gap:6px}.shop-header .logo small{font-size:6px}.shop-header .logo-icon{font-size:24px;padding-inline:8px}.shop-header .cart-link{font-size:11px}}
@media(max-height:500px) and (max-width:760px){.shop-header>nav{display:none}.shop-header .header{padding-block:5px}.shop-support-panel{max-height:45dvh}}
@media(prefers-reduced-motion:reduce){.shop-header,.shop-support-toggle-mark{transition:none}}
.catalog-search-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
