/* SEVER premium v9.1.4 — presentation only; no shop logic changes */
:root{--bg:#ecf1f7;--panel:#fff;--line:#e3eaf3;--text:#101e34;--muted:#697b95;--brand:#0b203b;--brand2:#06172c;--brandText:#fff;--accent:#c7974f;--accent2:#ac7733;--gold:#e7bd78;--gold-light:#fff0d1;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text)}
html{scroll-behavior:smooth}html,body{max-width:100%;overflow-x:hidden}body{background:linear-gradient(180deg,#091b31 0,#102841 280px,#edf2f8 281px,#edf2f8 100%);-webkit-font-smoothing:antialiased}
button,select,input,textarea{font-family:inherit}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d6a960;outline-offset:2px}
.header{background:linear-gradient(122deg,#07182d,#102945 75%,#152d48);box-shadow:none;border-bottom:1px solid #ffffff16;position:sticky;top:0}.header-inner{max-width:1200px;padding:13px 18px;min-height:74px;gap:16px}.brand{font-weight:900;font-size:clamp(22px,4.4vw,29px);letter-spacing:2.3px;display:flex;align-items:center;gap:12px;line-height:1}.brand::before{content:'◆';display:grid;place-items:center;transform:rotate(45deg);font-size:23px;color:#f3cf93;flex:none;text-shadow:0 2px 18px #e8bb7855}.brand::after{content:'ВЫГОДНЫЕ ПОКУПКИ КАЖДЫЙ ДЕНЬ';display:block;max-width:122px;color:#edca91;font-size:8px;font-weight:800;letter-spacing:1.25px;line-height:1.55}.menu-toggle{background:linear-gradient(145deg,#f8e1b4,#d4a45d);border-color:#ffdca0;border-radius:14px;width:44px;height:44px;flex:none;box-shadow:0 6px 18px #0002}.menu-toggle span{background:#14243b}.header-menu{top:calc(100% + 2px);background:#0e233e;border:1px solid #344966;color:#fff;border-radius:17px;box-shadow:0 18px 36px #07182d55}.header-menu button{background:#0e233e;color:#fff;border-color:#ffffff19;font-weight:650}.header-menu button:hover{background:#1b3555}
.main{max-width:1200px;padding:16px clamp(12px,2.6vw,26px) calc(122px + env(safe-area-inset-bottom))}.card,.panel{background:#fff;border:1px solid #e7edf4;border-radius:20px;box-shadow:0 8px 30px #0a234315}.panel{padding:clamp(16px,2.5vw,25px);margin-bottom:14px}.panel h2,h2{font-size:clamp(19px,3.3vw,26px);font-weight:850;letter-spacing:-.55px}.hint,.muted,.status{color:#6a7b93;line-height:1.55}
.hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:radial-gradient(circle at 84% 22%,#bd885d65,transparent 34%),linear-gradient(110deg,#06172c,#102a49 70%,#253b51);min-height:220px;border:1px solid #ffffff21;padding:clamp(24px,4vw,45px);box-shadow:0 16px 40px #071a2e36;margin-bottom:16px;border-radius:25px}.hero:before{content:'✦';position:absolute;right:8%;top:5%;font-size:155px;line-height:1;color:#edc38414;pointer-events:none;z-index:-1}.hero:after{content:'СЕВЕР';position:absolute;right:5%;bottom:0;font-weight:900;font-size:clamp(52px,12vw,145px);letter-spacing:-6px;color:#ffffff08;pointer-events:none;z-index:-1}.hero-eyebrow{font-size:10px;color:#eac48c;letter-spacing:2px;font-weight:850}.hero h1{font-size:clamp(30px,5.3vw,52px);line-height:1.08;letter-spacing:-1.3px;max-width:690px;margin:15px 0}.hero p{font-size:clamp(13px,2.2vw,17px);color:#d7e1ed;max-width:470px}.hero-perks{margin-top:20px}.hero-perks span{background:#ffffff13;border:1px solid #ffffff30;color:#f2e4cd;padding:9px 13px;font-size:11px;font-weight:700}
.search,#search{border:1px solid #e2e9f2;border-radius:18px;background:#fff;min-height:56px;color:#17263e;padding:15px 19px;box-shadow:0 6px 22px #122b4820;font-size:15px;margin-bottom:16px}.search:focus{border-color:#dbb77a;box-shadow:0 0 0 4px #e6bb7952}
.section-title{font-size:13px;font-weight:800;color:#50627b;letter-spacing:.1px}.catalog-toolbar h2,.browse-title{font-size:clamp(20px,3.2vw,27px);color:#14213a;letter-spacing:-.5px;margin:10px 0}.home-categories{gap:clamp(7px,1.5vw,14px);margin:12px 0 20px;grid-template-columns:repeat(5,minmax(0,1fr))}.cat-tile{min-width:0;border-radius:18px;border:1px solid #e9eef4;box-shadow:0 5px 18px #1534590e;padding:10px 6px 13px;gap:9px;font-size:clamp(10px,1.5vw,13px);color:#14243b;background:linear-gradient(150deg,#fff,#f7f9fc);font-weight:750;min-height:112px}.cat-visual{border-radius:13px;background:linear-gradient(145deg,#f8f9fb,#edf2f7);font-size:clamp(24px,4vw,38px);aspect-ratio:1.25}.cat-tile:active,.chip:active{transform:scale(.98)}
.chip{background:#f9fbfe;border-color:#e2e9f2;color:#273d59;padding:10px 16px}.chip.selected{background:#0a223d;border-color:#0a223d;color:#fff}.filters{gap:9px;margin:9px 0 19px}.filters select{background:#fff;border-color:#e3eaf2;border-radius:14px;min-height:47px;padding:10px 12px;color:#1b2c46;box-shadow:0 5px 15px #132f5210;font-weight:650;min-width:0;font-size:13px}
.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(9px,1.8vw,19px)}.item{border:1px solid #e6edf5;border-radius:19px;box-shadow:0 8px 24px #0b244514;background:#fff;transition:transform .2s ease,box-shadow .2s ease}.item:hover{box-shadow:0 12px 26px #0b244526;transform:translateY(-2px)}.photo{height:clamp(145px,37vw,240px);background:#fff;border-color:#f1f4f8}.photo img{padding:clamp(9px,1.4vw,17px)}.photo .badge{left:8px;top:8px;background:#e7f7ec;color:#157342;font-weight:750;border-radius:99px}.favorite-btn{width:34px;height:34px;border-radius:12px;background:#ffffffef;border-color:#e5eaf0;color:#506781;font-size:20px}.favorite-btn.active{color:#c84d69;background:#fff1f4}.item-body{padding:clamp(10px,1.6vw,17px)}.category-label{color:#8392a7}.item strong{font-size:clamp(12px,1.7vw,16px);line-height:1.38;min-height:49px;color:#13223a}.available{color:#158356;font-weight:700}.item-open{color:#556a84;text-decoration:none;font-size:12px}.item-open:hover{text-decoration:underline}.price{font-size:clamp(15px,2.4vw,23px);font-weight:900;letter-spacing:-.65px;color:#0b1c35}.buy{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:7px;align-items:center;min-height:42px}.buy .add-btn,.buy .stepper{justify-self:end;width:105px;height:41px;margin:0}.buy .add-btn{background:linear-gradient(130deg,#0c2745,#071a30);color:#f5d59b;border-radius:12px;font-weight:800;padding:0 8px;box-shadow:0 4px 10px #091e3630}.buy .stepper{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:0;align-items:center;background:#f2f6fb;border:1px solid #e2eaf2;border-radius:12px;padding:3px}.buy .stepper button{width:29px;height:32px;font-size:19px;border-radius:9px;background:transparent;color:#0b2543;padding:0}.buy .stepper b{text-align:center;font-size:12px;min-width:0}.add-btn:hover{background:#173654}.light{background:#f0f4f9;color:#163351;border:1px solid #e0e8f0;border-radius:13px;font-weight:750}.primary,.checkout-btn{background:linear-gradient(120deg,#f6dca7,#d9a55a);border:1px solid #ebc88e;color:#101d31;border-radius:14px;box-shadow:0 7px 18px #b7894538;font-weight:850;padding:13px 18px}.primary:hover,.checkout-btn:hover{background:#f0d299;color:#10233d}
#promo-panel,#recent-panel{margin:16px 0 22px}.promo-row{gap:11px} .status{font-size:12px}
.nav{background:linear-gradient(135deg,#091c32,#0e2947);border-top:1px solid #49607755;box-shadow:0 -8px 24px #061e3633;min-height:73px;padding:9px 4px max(9px,env(safe-area-inset-bottom))}.nav button{color:#ced7e3;font-size:11px;gap:5px;padding:4px 2px;min-width:0}.nav button.active{color:#e9c183}.nav .sym{font-size:23px;line-height:1.1}.nav .label{font-size:11px;font-weight:600}.nav button.active .label{font-weight:800}.floating-cart{background:linear-gradient(130deg,#d7a458,#f1d39b);color:#13233c;bottom:calc(83px + env(safe-area-inset-bottom));box-shadow:0 10px 28px #091c3240;border:1px solid #f0d5a6}
#cart-view>h2,#account-view>h2{background:linear-gradient(120deg,#0a213c,#112f50);border-radius:18px;padding:19px 22px;color:#fff;margin:0 0 15px;box-shadow:0 8px 22px #0a254228}#info-view .panel{margin-top:15px}.line{min-width:0}.line .cart-photo,.line .cart-placeholder{border-radius:13px;background:#f8fafc}.qty button{background:#f0f4f9;color:#0a294a;width:36px;height:36px;border-radius:10px}.checkout-fields label,#auth label{color:#394d68;font-weight:750}.checkout-fields input,.checkout-fields select,.checkout-fields textarea,#auth input:not([type=checkbox]){border:1px solid #dce5ef;border-radius:13px;background:#fff;min-height:47px}.checkout-fields input:focus,.checkout-fields textarea:focus{border-color:#dfb675}.checkout-fields h2{color:#142741}
#account-view .account-hero{background:radial-gradient(circle at 90% 15%,#dbb36d45,transparent 40%),linear-gradient(125deg,#091e36,#173454);color:#fff;border:1px solid #dab47755;box-shadow:0 14px 28px #13284537;border-radius:21px}#account-view .account-hero h2,#account-view .account-hero strong{color:#fff}#account-view .account-hero .hint,#account-view .account-hero span{color:#d5dfed}#account-view .account-eyebrow{color:#f2d19b;letter-spacing:2px}#account-view .account-stats>div{background:#ffffff12;border:1px solid #ffffff27;border-radius:13px}#account-view .account-avatar{background:linear-gradient(135deg,#ffebbd,#d8a65b);color:#192a42;box-shadow:0 4px 16px #0001}#account-view .account-settings-details summary{background:#f1f5f9;border-radius:12px;padding:14px 15px;color:#152b46;font-weight:750}#account-view .account-addresses,#account-view .account-settings{overflow:hidden}#account-view .account-address-form input,#account-view .account-address-form textarea,#account-view input[type=email]{max-width:100%;min-width:0;border-color:#dce6ef;border-radius:12px}#account-view #logout{border:1px solid #ffced3;background:#fff0f1;color:#ba3449;width:100%;min-height:48px}
#auth{max-width:650px;margin:0 auto 20px;padding:clamp(18px,3vw,31px)}#auth .account-welcome{text-align:center;margin-bottom:18px}#auth .account-welcome h2{color:#0c2542}#auth #max-login-box,#auth #telegram-login-box,#auth #email-login-v904{width:100%;max-width:100%;box-sizing:border-box}#auth #max-open{display:flex!important;align-items:center;justify-content:center;min-height:49px;width:100%;max-width:100%;background:linear-gradient(120deg,#0b2544,#243d68);border:0;color:#fff!important;padding:12px 14px!important}#auth #telegram-widget{min-height:45px;overflow:visible;max-width:100%;align-items:center}#auth #telegram-widget iframe{max-width:100%!important}#auth #email-login-v904 button{min-height:47px}#auth #email-login-v904 h3{font-size:18px;color:#142b48}
.product-overlay{padding:12px;background:#06172cc9}.product-dialog{max-width:620px;border-radius:22px;border:1px solid #e5ebf2;box-shadow:0 25px 80px #0006;padding:clamp(16px,3vw,28px)}.product-dialog h2{font-size:clamp(21px,3.4vw,30px);line-height:1.22}.product-dialog .detail-price{color:#0a2340;font-size:clamp(24px,4vw,34px)}.product-dialog .detail-actions{flex-wrap:wrap}.product-dialog .detail-actions button{min-height:48px}.product-close{background:#0c2845;color:#fff;font-size:25px}
#history .order-entry{padding:13px 0}#history .order-summary{padding:8px 0;min-width:0}#history .order-summary strong{font-size:14px;color:#13243e}#history .order-details{background:#f7f9fc;border-radius:14px;padding:12px;margin-top:10px}#history .order-item{align-items:center}#history .order-item b{white-space:nowrap;font-size:13px}
@media(min-width:640px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.photo{height:205px}.home-categories{gap:14px}.cat-tile{font-size:13px;min-height:132px}.brand::after{font-size:9px;max-width:170px}.nav{max-width:1200px;left:50%;right:auto;width:100%;transform:translateX(-50%);border-radius:17px 17px 0 0}}
@media(min-width:980px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}.photo{height:230px}.main{padding-top:22px}.hero{min-height:270px}.item strong{min-height:50px}}
@media(max-width:480px){.main{padding-left:10px;padding-right:10px}.header-inner{padding:10px 14px;min-height:64px}.brand{font-size:24px;gap:9px}.brand::before{font-size:17px}.brand::after{font-size:7px;max-width:106px;letter-spacing:.8px}.hero{padding:22px 17px;min-height:205px}.hero h1{font-size:29px}.home-categories{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.cat-tile{padding:7px 2px 9px;font-size:9px;min-height:97px;border-radius:12px}.cat-visual{font-size:23px;border-radius:9px}.products{gap:8px}.item{border-radius:14px}.photo{height:clamp(130px,39vw,190px)}.item-body{padding:9px}.item strong{font-size:12px}.buy{grid-template-columns:minmax(0,1fr) 85px!important;gap:4px}.buy .add-btn,.buy .stepper{width:85px!important;height:37px!important}.buy .stepper{grid-template-columns:24px minmax(0,1fr) 24px!important}.buy .stepper button{width:22px!important;height:29px!important;font-size:16px!important}.price{font-size:clamp(13px,3.65vw,18px)}.filters select{font-size:12px;padding:9px 6px}.nav .label{font-size:10px}}
@media(max-width:355px){.brand::after{display:none}.cat-tile{font-size:8px;min-height:85px}.cat-visual{font-size:20px}.buy{grid-template-columns:minmax(0,1fr) 76px!important}.buy .add-btn,.buy .stepper{width:76px!important}.buy .stepper{grid-template-columns:21px minmax(0,1fr) 21px!important}.buy .stepper button{width:20px!important}.item-body{padding:8px}.price{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.item{transition:none}.item:hover{transform:none}}
