:root{
  --blue:#0a5cff;--blue-2:#0646d8;--blue-3:#0d2f78;--blue-soft:#eef5ff;--blue-pale:#f7faff;
  --ink:#0a1020;--text:#121826;--muted:#748198;--line:#dce7f8;--line-soft:#edf2fa;--white:#fff;
  --shadow:0 20px 60px rgba(16,57,126,.10);--shadow-soft:0 12px 32px rgba(18,60,130,.07);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:#f7faff}button,input,textarea{font:inherit}a{color:inherit}.site-bg{min-height:100vh;background:radial-gradient(circle at 20% 0%,#fff 0,#f9fbff 34%,#f2f7ff 100%)}
.site-header{height:74px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid #e9f0fb;position:sticky;top:0;z-index:200}.site-header-inner{max-width:1110px;height:100%;margin:auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;text-decoration:none}.brand-logo-wrap{width:144px;height:46px;border-radius:14px;overflow:hidden;background:#0b5eff;display:block;box-shadow:0 9px 24px rgba(10,92,255,.20)}.brand-logo-img{width:100%;height:100%;object-fit:cover;object-position:center;filter:hue-rotate(-36deg) saturate(1.9) brightness(1.17)}.header-actions{display:flex;align-items:center;gap:11px}.header-chip{height:38px;padding:0 13px;border:1px solid var(--line);border-radius:14px;background:#f7faff;color:#52637e;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.04em}.header-chip i{width:8px;height:8px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 5px rgba(10,92,255,.09)}.lang-switch{background:#eef4ff;border:1px solid #d6e3f8;padding:3px;border-radius:13px;display:flex;gap:2px}.lang-switch a{text-decoration:none;padding:7px 10px;border-radius:10px;color:#6d7d96;font-size:11px;font-weight:900}.lang-switch a.active{background:#fff;color:var(--blue);box-shadow:0 4px 12px rgba(15,57,121,.10)}
.page-shell{max-width:1110px;margin:0 auto;padding:24px 16px 54px}.hero-card{position:relative;min-height:252px;border-radius:31px;overflow:hidden;padding:35px 38px;background:linear-gradient(135deg,#176cff 0%,#0752e6 58%,#082d79 100%);box-shadow:0 22px 56px rgba(8,73,190,.24);color:#fff;margin-bottom:17px}.hero-copy{position:relative;z-index:2;max-width:720px}.hero-kicker{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.14);font-size:10px;font-weight:950;letter-spacing:.08em}.hero-card h1{font-size:49px;line-height:1.03;letter-spacing:-.045em;margin:17px 0 13px;max-width:760px}.hero-card p{margin:0;color:#e9f1ff;font-size:14px;line-height:1.55}.hero-glow{position:absolute;border-radius:50%;background:rgba(255,255,255,.12)}.hero-glow-a{width:210px;height:210px;right:-55px;top:-92px}.hero-glow-b{width:280px;height:280px;left:-150px;bottom:-190px;background:rgba(255,255,255,.06)}.hero-logo-panel{position:absolute;right:28px;bottom:27px;width:190px;height:72px;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.96);box-shadow:0 18px 44px rgba(0,31,94,.22);z-index:2}.hero-logo-panel img{width:100%;height:100%;object-fit:cover;filter:hue-rotate(-36deg) saturate(1.9) brightness(1.2)}
.layout-grid{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:17px;align-items:start}.main-form{display:flex;flex-direction:column;gap:17px}.surface-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow-soft)}.products-card,.customer-card{padding:27px}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.eyebrow{font-size:10px;font-weight:950;letter-spacing:.12em;color:var(--blue)}.section-head h2,.social-copy h3{margin:7px 0 6px;font-size:28px;letter-spacing:-.04em}.section-head p{margin:0;color:var(--muted);font-size:12px}.step-badge{width:48px;height:48px;border-radius:16px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:950}.items-list{display:flex;flex-direction:column;gap:10px}.product-item{display:grid;grid-template-columns:minmax(0,1fr) 150px 54px;gap:10px;padding:13px;border:1px solid var(--line);border-radius:20px;background:#fff;transition:.16s}.product-item.selected{border-color:#bcd3ff;background:#fbfdff;box-shadow:0 0 0 3px rgba(10,92,255,.035)}.micro-label{display:block;margin:0 0 7px 3px;color:#506078;font-size:10px;font-weight:850}.search-control{height:54px;border:1px solid var(--line);border-radius:16px;background:#f9fbff;display:flex;align-items:center;padding:0 8px 0 14px;transition:.15s}.search-control:focus-within{background:#fff;border-color:#8eb6ff;box-shadow:0 0 0 4px rgba(10,92,255,.055)}.search-icon{width:15px;height:15px;border:2px solid #8190a8;border-radius:50%;position:relative;flex:0 0 auto}.search-icon:after{content:"";position:absolute;width:7px;height:2px;background:#8190a8;right:-5px;bottom:-3px;transform:rotate(45deg);border-radius:2px}.selected-thumb{display:none;width:38px;height:38px;border-radius:11px;background:#fff;border:1px solid #e5edf9;overflow:hidden;flex:0 0 auto;margin-right:8px}.selected-thumb.visible{display:grid;place-items:center}.selected-thumb img{width:100%;height:100%;object-fit:contain}.product-search{width:100%;height:50px;border:0;background:transparent;outline:0;padding:0 11px;font-size:14px;color:var(--text)}.product-search::placeholder{color:#a0acc0}.search-arrow{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#1268ff,#064bdd);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 7px 15px rgba(10,92,255,.22)}.product-search-block{position:relative}.suggest{display:none;position:absolute;z-index:120;left:0;right:0;top:calc(100% + 9px);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 60px rgba(16,55,120,.18);padding:7px;max-height:390px;overflow:auto}.suggest button{width:100%;border:0;background:#fff;display:grid;grid-template-columns:58px minmax(0,1fr) 34px;gap:11px;align-items:center;text-align:left;padding:9px;border-radius:14px;cursor:pointer;transition:.12s}.suggest button:hover{background:#f3f7ff}.suggest-image{width:58px;height:58px;border-radius:13px;border:1px solid #e5edf8;background:#fff;overflow:hidden;display:grid;place-items:center;color:var(--blue);font-weight:900}.suggest-image img{width:100%;height:100%;object-fit:contain}.product-fallback{display:grid;place-items:center;color:var(--blue);font-weight:950}.suggest-copy strong{display:block;font-size:13px;line-height:1.35}.suggest-copy small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.suggest-plus{width:31px;height:31px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:950}.empty{padding:15px;color:var(--muted);font-size:12px}.qty{height:54px;display:grid;grid-template-columns:42px 1fr 42px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.qty button{border:0;background:#fff;color:var(--blue);font-size:20px;cursor:pointer}.qty button:hover{background:var(--blue-soft)}.qty input{width:100%;min-width:0;border:0;border-left:1px solid var(--line-soft);border-right:1px solid var(--line-soft);outline:0;text-align:center;font-weight:850}.remove{height:54px;margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#fff;color:#f26169;font-size:21px;cursor:pointer}.remove:hover{background:#fff5f6;border-color:#ffccd0}.add-product{margin-top:12px;border:0;background:transparent;color:var(--blue);font-weight:900;padding:9px 0;display:flex;align-items:center;gap:9px;cursor:pointer}.add-icon{width:31px;height:31px;border-radius:11px;background:var(--blue-soft);display:grid;place-items:center;font-size:18px}
.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.wide{grid-column:1/-1}.field-label{font-size:12px;font-weight:800;color:#43536c}.field-label b{color:var(--blue);margin-left:3px}.field input,.field textarea,.login input,.fieldedit input,.fieldedit textarea{width:100%;border:1px solid var(--line);border-radius:16px;background:#fbfcff;color:var(--text);outline:0;transition:.15s}.field input{height:54px;padding:0 14px}.field textarea,.fieldedit textarea{padding:14px;resize:vertical;min-height:112px}.field input:focus,.field textarea:focus{background:#fff;border-color:#91b6ff;box-shadow:0 0 0 4px rgba(10,92,255,.055)}
/* Custom TG-style select */
.choice-control{position:relative}.choice-trigger{height:54px;width:100%;border:1px solid var(--line);border-radius:16px;background:#fbfcff;padding:0 15px;display:flex;align-items:center;justify-content:space-between;color:#111827;cursor:pointer;text-align:left}.choice-trigger:hover{background:#fff;border-color:#b7cff8}.choice-chevron{color:var(--blue);font-size:20px;font-weight:900}.choice-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:160;background:#fff;border:1px solid #d9e6f8;border-radius:20px;padding:8px;box-shadow:0 24px 62px rgba(15,52,116,.20)}.choice-control.open .choice-menu{display:block}.choice-control.open .choice-trigger{background:#fff;border-color:#8eb6ff;box-shadow:0 0 0 4px rgba(10,92,255,.055)}.choice-menu-head{display:flex;justify-content:space-between;align-items:center;padding:7px 9px 10px;font-size:11px;font-weight:900;color:#5b6c84}.choice-close{border:0;background:#eef4ff;color:#587097;width:28px;height:28px;border-radius:9px;font-size:18px;cursor:pointer}.choice-options{display:flex;flex-direction:column;gap:5px}.choice-option{border:0;background:#fff;min-height:52px;border-radius:14px;padding:9px 11px;display:grid;grid-template-columns:28px minmax(0,1fr) 24px;align-items:center;text-align:left;gap:9px;color:#111827;cursor:pointer}.choice-option:hover{background:#f4f8ff}.choice-radio{width:23px;height:23px;border:1.5px solid #c9d8ef;border-radius:8px;background:#f8fbff}.choice-check{color:transparent;font-weight:950}.choice-option.selected{background:#eef5ff;color:#074fd7;font-weight:800}.choice-option.selected .choice-radio{border-color:var(--blue);background:var(--blue);box-shadow:inset 0 0 0 6px #fff}.choice-option.selected .choice-check{color:var(--blue)}
.checkout-side{position:sticky;top:92px;display:flex;flex-direction:column;gap:12px}.summary-card{padding:25px}.summary-card h3{margin:6px 0 18px;font-size:24px;letter-spacing:-.035em}.summary-items{display:flex;flex-direction:column;gap:5px;max-height:290px;overflow:auto}.summary-empty{font-size:12px;color:var(--muted);padding:9px 0}.summary-product{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line-soft);font-size:11px;line-height:1.3}.summary-thumb{width:43px;height:43px;border-radius:10px;border:1px solid #e5edf8;background:#fff;display:grid;place-items:center;overflow:hidden;color:var(--blue);font-weight:900}.summary-thumb img{width:100%;height:100%;object-fit:contain}.summary-name{min-width:0}.summary-product b{color:var(--blue)}.summary-divider{height:1px;background:var(--line);margin:15px 0}.summary-row{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:13px}.summary-row span{color:#5e6c82}.submit-button{width:100%;height:54px;border:0;border-radius:16px;background:linear-gradient(135deg,#1268ff,#0748d8);color:#fff;font-weight:950;cursor:pointer;box-shadow:0 11px 22px rgba(10,92,255,.20);transition:.16s}.submit-button:hover{transform:translateY(-1px);box-shadow:0 14px 27px rgba(10,92,255,.26)}.desktop-submit{margin-top:17px}.privacy-note{margin:10px 0 0;text-align:center;color:#919db0;font-size:10px;line-height:1.45}.help-strip{border:1px solid var(--line);border-radius:20px;background:#fff;padding:15px 16px;display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center}.help-icon{width:34px;height:34px;border-radius:12px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:950}.help-strip b,.help-strip small{display:block}.help-strip b{font-size:12px}.help-strip small{font-size:10px;color:var(--muted);line-height:1.45;margin-top:3px}.mobile-submit-card{display:none}
.social-card{margin-top:17px;background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px 25px;box-shadow:var(--shadow-soft);display:flex;justify-content:space-between;gap:22px;align-items:center}.social-copy h3{font-size:22px}.social-links{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.social-links a{text-decoration:none;border:1px solid var(--line);border-radius:16px;padding:10px 12px;display:flex;gap:9px;align-items:center;background:#fbfdff;min-width:154px;transition:.14s}.social-links a:hover{border-color:#a9c6fb;background:#f4f8ff;transform:translateY(-1px)}.social-icon{width:32px;height:32px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:950}.social-links b,.social-links small{display:block}.social-links b{font-size:11px}.social-links small{margin-top:2px;font-size:9px;color:var(--muted)}
/* Success */
.success-bg{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 0%,#fff,#edf4ff)}.success-shell{width:min(520px,100%)}.success-card{text-align:center;padding:42px 32px}.success-logo{margin:0 auto 24px;width:min(260px,72%);height:76px;display:flex;align-items:center;justify-content:center}.success-logo img{display:block;max-width:100%;max-height:76px;width:auto;height:auto;object-fit:contain}.success-card h1{margin:8px 0 10px;font-size:30px;letter-spacing:-.04em}.success-card>p{color:var(--muted);font-size:14px;line-height:1.55}.link-button{display:grid;place-items:center;text-decoration:none;margin-top:24px}
/* Admin */
.center{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#fff,var(--blue-soft))}.success,.login{max-width:540px;width:100%;text-align:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:var(--shadow)}.login input{height:50px;padding:0 14px;margin:14px 0}.error{color:#c62020}.sent{color:#0c8b4a}.pending{color:#946300}.adminshell{max-width:1220px;margin:0 auto;padding:32px 22px 70px}.adminnav{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 26px}.adminnav a{color:var(--text);text-decoration:none;background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:10px;font-weight:750}.adminnav a:hover{border-color:var(--blue);color:var(--blue)}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 12px 34px rgba(4,35,91,.06);margin-bottom:16px}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:16px}.stats b{font-size:36px;display:block;color:var(--blue)}.stats span{color:var(--muted)}.orderline{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line-soft)}.inline{display:flex;gap:12px;align-items:center}.tablewrap{overflow:auto;margin-top:16px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px;border-bottom:1px solid var(--line-soft);white-space:nowrap}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.admin-product-img{width:48px;height:48px;border-radius:10px;object-fit:contain;border:1px solid var(--line)}.fieldedit{display:grid;grid-template-columns:2fr auto auto auto 1.5fr auto;gap:12px;align-items:center;margin-bottom:10px}.fieldedit small{display:block;color:var(--muted);margin-bottom:4px}.num{width:80px!important}.ghost,.primary{border:0;border-radius:10px;padding:12px 16px;font-weight:850;cursor:pointer}.ghost{background:var(--blue-soft);color:var(--blue)}.primary{background:var(--blue);color:#fff}.small{width:auto;padding:9px 13px}.note{color:var(--muted)}
@media(max-width:980px){.layout-grid{grid-template-columns:1fr}.checkout-side{position:static}.summary-card,.help-strip{display:none}.mobile-submit-card{display:block;padding:22px}.social-card{align-items:flex-start;flex-direction:column}.social-links{justify-content:flex-start;width:100%}.social-links a{flex:1}.hero-logo-panel{width:165px}}
@media(max-width:720px){.site-header{height:67px}.site-header-inner{padding:0 10px}.brand-logo-wrap{width:121px;height:40px;border-radius:12px}.header-chip{display:none}.page-shell{padding:12px 8px 44px}.hero-card{border-radius:26px;min-height:230px;padding:27px 24px;margin-bottom:11px}.hero-card h1{font-size:36px;max-width:470px}.hero-card p{font-size:12px;padding-right:90px}.hero-logo-panel{width:125px;height:49px;border-radius:14px;right:20px;bottom:21px}.main-form{gap:11px}.surface-card{border-radius:23px}.products-card,.customer-card{padding:20px 14px}.section-head{margin-bottom:17px}.section-head h2{font-size:24px}.section-head p{font-size:11px}.step-badge{width:42px;height:42px;border-radius:14px}.product-item{grid-template-columns:minmax(0,1fr) 46px;gap:8px;padding:10px}.product-search-block{grid-column:1/-1}.qty-block{grid-column:1}.remove{grid-column:2;grid-row:2;align-self:end}.qty{max-width:190px}.fields-grid{grid-template-columns:1fr;gap:14px}.field.wide{grid-column:auto}.field input,.choice-trigger{height:52px}.mobile-submit-card{padding:18px 14px}.submit-button{height:52px}.social-card{padding:19px 14px}.social-links{display:grid;grid-template-columns:1fr}.choice-menu{position:fixed;left:10px;right:10px;top:auto;bottom:14px;border-radius:24px;padding:10px;box-shadow:0 24px 80px rgba(8,36,90,.25)}.choice-menu:before{content:"";position:absolute;left:50%;top:-7px;width:58px;height:5px;border-radius:999px;background:#d7e2f3;transform:translateX(-50%)}.choice-option{min-height:57px}.suggest{position:fixed;left:10px;right:10px;top:76px;max-height:62vh;border-radius:22px}}
@media(max-width:420px){.lang-switch a{padding:6px 8px}.hero-card h1{font-size:32px}.hero-card p{padding-right:0;max-width:245px}.hero-logo-panel{display:none}.social-links a{min-width:0}}

/* v5: real brand icons, conditional business fields, Nova Poshta picker, live prices */
.brand-logo-wrap{width:185px;height:52px;background:transparent;border-radius:0;box-shadow:none;overflow:visible}.brand-logo-img{object-fit:contain;object-position:left center;filter:none}.hero-logo-panel{background:rgba(255,255,255,.96);padding:8px 12px;width:210px;height:64px}.hero-logo-panel img{object-fit:contain;filter:none}
.social-icon{font-size:17px}.social-icon-instagram{background:linear-gradient(135deg,#ffe6f0,#eef1ff);color:#d62976}.social-icon-web{background:#edf5ff;color:#0a5cff}.social-icon-telegram{background:#eaf7ff;color:#229ed9}
.social-icon i{line-height:1}
.conditional-hidden{display:none!important}
.summary-name small{display:block;color:#8290a5;font-size:9px;margin-top:4px}.summary-total-row{font-size:15px;padding-top:11px}.summary-total-row b{font-size:17px;color:var(--blue)}.price-total-row{border-top:1px solid var(--line-soft);padding-top:11px;margin-top:6px}
.suggest button{grid-template-columns:58px minmax(0,1fr) auto 30px}.suggest-price{color:var(--blue);font-weight:900;font-size:12px;white-space:nowrap;padding:0 4px}
.delivery-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-part{min-width:0}.delivery-mini-label{display:block;font-size:10px;font-weight:850;color:#69778c;margin-bottom:6px}.np-search-wrap{position:relative}.np-search-wrap>input[type=text]{padding-left:42px}.np-input-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#7f96b9;z-index:2}.np-search-wrap input:disabled{background:#f5f7fb;color:#98a4b5;cursor:not-allowed}.np-suggest{display:none;position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:190;background:#fff;border:1px solid #d9e6f8;border-radius:18px;box-shadow:0 24px 60px rgba(17,53,114,.18);padding:7px;max-height:300px;overflow:auto}.np-suggest button{width:100%;border:0;background:#fff;border-radius:13px;padding:10px 11px;display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;text-align:left;cursor:pointer}.np-suggest button:hover{background:#f3f7ff}.np-suggest button>i{color:var(--blue)}.np-suggest b,.np-suggest small{display:block}.np-suggest b{font-size:11px}.np-suggest small{font-size:10px;color:#718097;line-height:1.35;margin-top:3px}.np-empty{padding:12px;color:#7a879a;font-size:11px}.np-type-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#edf4ff;color:var(--blue)}.np-type-icon.locker{background:#eef9ff;color:#1687c8}
@media(max-width:720px){.brand-logo-wrap{width:145px;height:42px}.delivery-picker{grid-template-columns:1fr}.np-suggest{position:fixed;left:10px;right:10px;top:auto;bottom:14px;max-height:56vh;border-radius:23px;box-shadow:0 24px 80px rgba(8,36,90,.25)}.suggest-price{font-size:11px}.suggest button{grid-template-columns:52px minmax(0,1fr) 30px}.suggest-price{grid-column:2;justify-self:start}.hero-logo-panel{width:155px;height:54px}}

/* v6 delivery layout: the city and branch fields occupy a full form row */
.field[data-field-key="delivery"]{grid-column:1/-1}
.field[data-field-key="delivery"] .delivery-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.field[data-field-key="delivery"] .delivery-part{width:100%}
.field[data-field-key="delivery"] .np-search-wrap>input[type=text]{width:100%}
.np-empty.np-error{color:#b42318;background:#fff4f2;border-radius:12px;line-height:1.4}
@media(max-width:720px){.field[data-field-key="delivery"] .delivery-picker{grid-template-columns:1fr;gap:12px}}
.product-rule-note{margin-top:8px;padding:9px 12px;border-radius:12px;background:#eef5ff;color:#0756d9;font-size:12px;font-weight:700;line-height:1.35;border:1px solid #d5e5ff}
.heatflow-inline-note{color:#0756d9;font-weight:700}
