:root{--primary:#0068ff;--ink:#0b213e;--muted:#78869a;--border:#e5eaf2;--page:#fafbfe;--white:#fff;--soft:#f1f4f9;--selected:#eef4ff;--nav-selected:#e5f0ff;--tab:#f5f7fb;--danger:#f4424e;--chat:#4564ec;--green:#09c63b;--telegram:#4d88ff;--alipay:#00aeef;--sidebar:253px;--header:70px;--radius:13px;--shadow:0 1px 3px rgba(11,33,62,.08);font-family:Arial,"Microsoft YaHei",sans-serif;color:var(--ink);font-size:16px;background:var(--page)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer;background:var(--white);border:1px solid var(--border)}button,input{border-radius:12px}button{transition:background .15s,border-color .15s}button:hover{border-color:var(--primary)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--telegram);outline-offset:3px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}.skip-link{position:fixed;left:270px;top:-80px;padding:12px;z-index:100;background:var(--white)}.skip-link:focus{top:10px}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);background:var(--white);border-right:1px solid var(--border);z-index:30;overflow-y:auto}.brand{height:var(--header);display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 4px;border-bottom:1px solid var(--border)}.brand img{width:126px;height:48px;object-fit:contain}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:transparent;border:0;padding:0;color:var(--muted)}.sidebar-toggle svg{width:16px}nav{padding:16px 8px 20px 3px}.nav-item{width:100%;height:44px;margin-bottom:3.5px;padding:0 13px;display:flex;align-items:center;gap:14px;text-align:left;background:transparent;border:0;color:var(--muted);border-radius:14px;font-size:16px;white-space:nowrap}.nav-item svg{width:17px;height:17px}.nav-item.active{background:var(--nav-selected);color:var(--primary)}.nav-item:hover{background:var(--tab)}.nav-item.active:hover{background:var(--nav-selected)}
.topbar{height:var(--header);margin-left:var(--sidebar);border-bottom:1px solid var(--border);background:var(--white);display:flex;align-items:center;justify-content:flex-end;padding:0 16px;gap:16px}.topbar-actions{display:flex;align-items:center;gap:16px;color:var(--muted)}.green{color:var(--green)}.telegram{color:var(--telegram)}.language{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--muted);padding:0}.language svg{width:18px}.account{max-width:178px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.balance{color:var(--primary)}.logout{display:flex;gap:5px;align-items:center;padding:7px 13px;background:var(--page);border-radius:12px}.logout svg{width:17px}.mobile-menu{display:none}.nav-backdrop{display:none}
main{margin-left:var(--sidebar);padding:35px 25px 52px 35px}.page-heading{display:flex;align-items:center;gap:13px;height:50px;margin-bottom:27px}.heading-icon{width:43px;height:43px;background:var(--nav-selected);color:var(--primary);display:flex;align-items:center;justify-content:center;border-radius:15px}.heading-icon svg{width:25px;height:25px}h1{font-size:24px;line-height:29px;font-weight:700}.page-heading p{font-size:16px;color:var(--muted);line-height:22px}.product-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:47px;background:var(--tab);border-radius:13px;padding:4px;gap:4px;margin-bottom:24px}.product-tab{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:transparent;color:var(--muted);white-space:nowrap;border-radius:9px}.product-tab svg{width:18px;height:18px}.product-tab.active{color:var(--ink);background:var(--page);box-shadow:var(--shadow)}.filters{display:grid;gap:22px;margin-bottom:25px}.filter-label{display:block;line-height:21px;margin-bottom:5px}.options{display:flex;gap:8px;flex-wrap:wrap}.option{min-height:40px;padding:7px 13px;background:var(--page);border-radius:12px}.option.active{background:var(--primary);color:var(--white);border-color:var(--primary)}
.purchase-layout{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:25px;align-items:start}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 18px}.product-card{position:relative;border:1px solid var(--border);border-radius:var(--radius);background:var(--white);text-align:center;min-width:0;min-height:207px;padding:27px 15px 25px;box-shadow:var(--shadow)}.product-card:nth-child(n+9){min-height:260px}.product-card.selected{background:var(--selected);border-color:var(--telegram);box-shadow:0 0 0 2px rgba(0,104,255,.12)}.product-card h3{font-size:20px;font-weight:700;line-height:28px;letter-spacing:-.65px;white-space:nowrap}.product-card .duration{color:var(--muted);margin-top:9px;line-height:20px}.price{margin:9px 0 19px;font-size:28px;font-weight:700;line-height:33px}.price small{font-size:16px;color:var(--muted);font-weight:400}.quantity{display:flex;justify-content:center;align-items:center;gap:8px}.quantity button{width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:var(--page);border-radius:12px;font-size:24px;font-weight:400;line-height:1}.quantity input{width:70px;height:35px;border:1px solid var(--border);background:var(--page);border-radius:12px;text-align:center;padding:0;appearance:textfield;-moz-appearance:textfield}.quantity input::-webkit-inner-spin-button,.quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.recommend{position:absolute;top:9px;right:9px;border-radius:12px;background:var(--danger);color:var(--white);padding:3px 8px;font-size:11px;line-height:16px;font-weight:700}.selected-mark{position:absolute;right:11px;top:11px;color:var(--primary)}.selected-mark svg{width:20px;height:20px}.subtotal{display:flex;justify-content:center;align-items:center;gap:4px;border-top:1px solid var(--border);margin:17px 10px 0;padding-top:11px;color:var(--muted)}.subtotal strong{font-size:18px;color:var(--primary)}
.checkout{border:1px solid var(--border);border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow);padding:25px 26px 26px;min-width:0}.checkout-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.checkout-heading h2{font-size:20px;line-height:28px;display:flex;align-items:center;gap:10px}.checkout-heading svg{width:21px;height:21px}.checkout-heading>span{font-size:13px;color:var(--muted)}.field-label{display:block;font-size:13px;line-height:20px;margin-bottom:8px}.cart-lines{display:grid;gap:6px;max-height:220px;overflow:auto;min-height:61px}.cart-line{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;background:var(--soft);border-radius:4px;padding:9px;font-size:16px;line-height:23px}.cart-line span{overflow-wrap:anywhere}.empty-cart{padding:15px;background:var(--soft);border-radius:6px;color:var(--muted);font-size:14px}.coupon{margin-top:21px}.coupon-row{display:flex;gap:8px}.coupon-row input{width:0;flex:1;height:44px;border:1px solid var(--border);background:var(--page);padding:0 13px}.coupon-row input::placeholder{color:var(--muted)}.coupon-row button{width:67px;background:var(--page)}.inline-message{font-size:12px;color:var(--muted);line-height:18px;margin-top:6px}.inline-message:empty{display:none}.balance-row{display:flex;align-items:center;justify-content:space-between;background:var(--soft);border-radius:14px;min-height:48px;padding:11px 13px;margin-top:18px}.balance-row strong{color:var(--primary)}.payment-fieldset{margin:21px 0 17px;padding:0;border:0;min-width:0}.payment-fieldset legend{padding:0}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-option{height:87px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--white);border-radius:14px}.payment-option.active{border-color:var(--telegram);background:var(--selected)}.pay-icon{height:26px;display:flex;align-items:center;justify-content:center;font-size:24px}.pay-icon.alipay{width:26px;border-radius:50%;background:var(--alipay);color:var(--white);font-size:19px;font-weight:700}.pay-icon.wechat{color:var(--green)}.pay-icon.wechat svg{fill:var(--green);stroke:var(--white);width:30px;height:28px}.pay-icon.usdt{font-size:26px;font-weight:700}.purchase-button{width:100%;min-height:48px;background:var(--primary);border-color:var(--primary);color:var(--white);border-radius:10px}.purchase-button:hover{filter:brightness(.97)}.chat-button{position:fixed;bottom:25px;right:6px;width:52px;height:52px;border:0;border-radius:50%;background:var(--chat);color:var(--white);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(11,33,62,.15);z-index:20}.chat-button svg{width:29px;height:29px;stroke-width:2.5}
.empty-state{grid-column:1/-1;min-height:207px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;padding:30px}.empty-state h3{font-size:20px}.empty-state p{color:var(--muted);font-size:14px}.empty-state button{padding:10px 18px}dialog{width:min(460px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--border);border-radius:18px;padding:24px;color:var(--ink);box-shadow:0 20px 70px rgba(11,33,62,.18)}dialog::backdrop{background:rgba(11,33,62,.3)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-heading h2{font-size:20px}#dialog-body{font-size:15px;line-height:1.8;margin-bottom:22px}#dialog-body p+p{margin-top:12px}#dialog-body .order-total{font-size:23px;color:var(--primary);font-weight:700;margin-top:14px}.sidebar-collapsed{--sidebar:76px}.sidebar-collapsed .brand{padding:0 5px}.sidebar-collapsed .brand img{display:none}.sidebar-collapsed .brand .icon-button{width:64px}.sidebar-collapsed .brand svg{transform:rotate(180deg)}.sidebar-collapsed .nav-item{justify-content:center;padding:0}.sidebar-collapsed .nav-item .nav-label{display:none}.sidebar-collapsed .nav-item svg{width:21px;height:21px}
.price small{line-height:20px}.brand-lockup{display:flex;align-items:center;gap:5px;min-width:0}.brand .brand-lockup img{width:42px;height:42px}.brand-lockup>div{min-width:0}.brand-lockup strong{display:block;font-size:24px;line-height:28px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-lockup span{display:block;font-size:8px;letter-spacing:1px;line-height:14px;color:var(--muted);white-space:nowrap}.sidebar-collapsed .brand-lockup{display:none}.sidebar-collapsed .brand-lockup img{display:none}
@media(max-width:1750px){.purchase-layout{grid-template-columns:minmax(0,1fr) 350px;gap:20px}.product-card h3{font-size:17px;letter-spacing:-.4px}.product-card{padding-left:8px;padding-right:8px}.quantity input{width:58px}.quantity{gap:6px}.checkout{padding:24px 20px}.product-tab{font-size:14px}}
@media(max-width:1550px){:root{--sidebar:220px}main{padding:32px 24px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card:nth-child(n+9){min-height:207px}.product-card:has(.subtotal){min-height:260px}.purchase-layout{grid-template-columns:minmax(0,1fr) 320px}.nav-item{font-size:14px}.product-tab{gap:6px}.product-tab svg{width:16px}.cart-line{font-size:14px;gap:9px}}
@media(max-width:1200px){:root{--sidebar:190px}.purchase-layout{grid-template-columns:minmax(0,1fr) 290px;gap:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-tabs{display:flex;overflow-x:auto;height:48px}.product-tab{flex:0 0 155px}.checkout{padding:22px 16px}.account{max-width:130px}.topbar-actions{gap:10px}.nav-item{gap:11px}.product-card h3{font-size:17px}}
@media(max-width:1000px){.purchase-layout{grid-template-columns:1fr}.checkout{max-width:100%;padding:25px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card h3{font-size:16px;white-space:normal}.product-card:nth-child(n+9){min-height:240px}.cart-line{grid-template-columns:1fr 1fr}.payment-option{height:80px}}
@media(max-width:700px){:root{--sidebar:0px;--header:60px}.sidebar,.sidebar-collapsed .sidebar{width:253px;transform:translateX(-100%);transition:transform .2s}.nav-open .sidebar{transform:translateX(0)}.nav-open .nav-backdrop{display:block;position:fixed;inset:0;background:rgba(11,33,62,.3);border:0;border-radius:0;z-index:29}.mobile-menu{display:flex}.topbar{justify-content:space-between;padding:0 12px}.topbar-actions{gap:10px}.topbar-actions>.green,.topbar-actions>.telegram,.account{display:none}.logout{font-size:14px;padding:7px 9px}.balance{font-size:14px}main{padding:25px 16px 85px}.page-heading{margin-bottom:23px}h1{font-size:22px}.page-heading p{font-size:14px}.filters{gap:20px}.product-tabs{margin-bottom:22px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{min-height:215px;padding:30px 8px 20px}.product-card h3{font-size:16px;line-height:23px;min-height:46px;white-space:normal;letter-spacing:-.3px}.price{font-size:26px;margin-bottom:15px}.quantity input{width:52px;height:36px}.quantity button{width:36px;height:36px}.quantity{gap:5px}.purchase-layout{gap:22px}.checkout{padding:22px 20px}.option{min-height:44px;padding:9px 12px}.chat-button{right:16px;bottom:17px}.sidebar-collapsed .brand img{display:block}.sidebar-collapsed .brand .icon-button{width:34px}.sidebar-collapsed .nav-item{justify-content:flex-start;padding:0 13px}.sidebar-collapsed .nav-item .nav-label{display:inline}.sidebar-collapsed .nav-item svg{width:17px;height:17px}.sidebar-collapsed .brand svg{transform:none}.recommend{font-size:10px}.cart-line{font-size:14px}}
@media(max-width:700px){.sidebar-collapsed .brand-lockup{display:flex}.sidebar-collapsed .brand-lockup img{display:block}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
