:root{--accent:var(--brand)}
.hidden{display:none!important}
.user .logout-btn{margin-left:auto;border:1px solid #343944;background:#20242c;color:#aeb5c1;border-radius:8px;padding:7px 9px;display:flex;align-items:center;gap:6px}.user .logout-btn:hover{border-color:var(--brand);color:white;background:#2a2527}.user .logout-btn i{font-style:normal}.user .logout-btn span{font-size:10px;font-weight:700}
@media(max-width:820px){.sidebar-bottom .user .logout-btn{display:flex;padding:7px}.sidebar-bottom .user .logout-btn span{display:none}.sidebar-bottom .user{padding-inline:0;justify-content:center}.sidebar-bottom .user>div{display:none}}
*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-size:14px}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;background:var(--sidebar);color:#d6d9df;padding:22px 14px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.logo{height:42px;padding:0 8px;display:flex;gap:11px;align-items:center;color:white;text-decoration:none;font-size:17px}.logo>span{display:grid;place-items:center;width:30px;height:30px;background:var(--accent);border-radius:9px;font-size:11px;font-weight:800}.store-switcher{margin:22px 0 16px}.store-switcher>small{display:block;color:#757b87;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin:0 9px 8px}.store-switcher>button{border:1px solid #30333a;background:#1c1f25;color:white;border-radius:11px;padding:10px;width:100%;display:flex;align-items:center;text-align:left;gap:9px}.store-switcher button>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.store-switcher button small,.user small{color:#858b96;margin-top:2px}.store-switcher button i{margin-left:auto;color:#878d97}.store-avatar{width:31px;height:31px;border-radius:9px;background:#e6d4b9;color:#624120;display:grid;place-items:center;font-weight:700}.sidebar nav{display:flex;flex-direction:column;gap:3px}.nav-item{width:100%;height:42px;padding:0 11px;border:0;border-radius:9px;background:transparent;color:#999faa;display:flex;align-items:center;gap:11px;text-align:left;font-size:14px}.nav-item:hover,.nav-item.active{background:#252830;color:white}.nav-item.active{box-shadow:inset 3px 0 var(--accent)}.nav-item em{margin-left:auto;background:#343842;padding:2px 7px;border-radius:10px;font-style:normal;font-size:11px}.nav-item .status-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:#25c77a}.sidebar-bottom{margin-top:auto;border-top:1px solid #282b31;padding-top:10px}.user{display:flex;align-items:center;gap:9px;margin-top:10px;padding:11px 8px 2px}.user>div{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#303440;font-size:11px}.user>span{display:flex;flex-direction:column}.user>button{margin-left:auto;border:0;background:transparent;color:#777e89}.workspace{margin-left:246px;width:calc(100% - 246px);min-height:100vh}.topbar{height:82px;padding:0 30px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.eyebrow{display:block;color:#959aa4;font-size:9px;font-weight:700;letter-spacing:.12em;margin-bottom:4px}.topbar h1{font-size:20px;margin:0}.top-actions{display:flex;align-items:center;gap:9px}.saved{font-size:12px;color:#7e8490;margin-right:8px}.btn{border:1px solid var(--line);background:white;border-radius:9px;padding:9px 14px;font-weight:600}.btn.primary{background:var(--accent);border-color:var(--accent);color:white}.builder-view{display:grid;grid-template-columns:minmax(440px,590px) 1fr;height:calc(100vh - 82px)}.editor-panel{background:white;border-right:1px solid var(--line);min-width:0}.tabs{height:55px;border-bottom:1px solid var(--line);padding:0 25px;display:flex;gap:24px}.tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#858b96;font-weight:600}.tabs button.active{color:var(--text);border-color:var(--accent)}.editor-scroll{height:calc(100vh - 137px);overflow:auto;padding:20px 25px 70px}.setting-card{border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-bottom:12px;background:white}.setting-card.compact{padding:14px 18px}.setting-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.compact .setting-title{margin-bottom:0}.setting-title>div{display:flex;align-items:center;gap:11px}.setting-title span span{display:flex;flex-direction:column;gap:3px}.setting-title small{color:var(--muted);font-size:11px}.step-icon{width:31px;height:31px;border-radius:9px;background:var(--brand-soft,#eef4ff);color:var(--accent);display:grid!important;place-items:center;font-weight:800}.step-icon.image{background:var(--surface-alt,#f1f2f5);color:var(--gray-700,#565c67)}.setting-card label{display:block;font-size:12px;font-weight:600;margin-top:13px;position:relative}.setting-card input,.setting-card textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--border-soft);border-radius:9px;padding:10px 12px;outline:0;resize:none}.setting-card textarea{height:64px}.setting-card input:focus,.setting-card textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.setting-card label>small{position:absolute;right:9px;bottom:8px;color:#a1a5ad;font-weight:400;font-size:10px}.link-btn{border:0;background:transparent;color:var(--accent);font-weight:600}.colors{display:flex;gap:12px}.colors button{width:31px;height:31px;border-radius:50%;background:var(--c);border:3px solid white;box-shadow:0 0 0 1px #d9dce1}.colors button.active{box-shadow:0 0 0 2px var(--c)}.preview-area{background:#eceef2;position:relative;display:flex;flex-direction:column;align-items:center;overflow:auto}.preview-toolbar{height:55px;width:100%;padding:0 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe1e5;color:#6f7580;font-size:12px}.preview-toolbar div{background:var(--border-soft);border-radius:7px;padding:3px}.preview-toolbar button{border:0;background:transparent;border-radius:5px;padding:4px 8px;color:#878d96}.preview-toolbar button.active{background:white;color:#222;box-shadow:0 1px 4px #c8cbd0}.phone{width:344px;height:690px;background:#111;border:7px solid #17191d;border-radius:42px;margin:22px 0 10px;box-shadow:0 22px 60px rgba(30,34,42,.18);overflow:hidden}.phone-screen{height:100%;background:#fafafa;border-radius:34px;overflow:hidden;position:relative}.tgbar{height:44px;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #ececef}.tgbar span{color:#818690}.shop-head{display:flex;gap:11px;align-items:center;padding:16px 15px 12px;background:white}.shop-logo{width:43px;height:43px;border-radius:13px;background:#e4d0b3;color:#543a22;display:grid;place-items:center;font-weight:800;font-size:17px}.shop-head h2{font-size:16px;margin:0 0 3px}.shop-head p{font-size:10px;color:#7e8490;margin:0}.search{margin:0 14px 10px;background:#f0f1f3;border-radius:9px;color:#999ea6;padding:9px 11px;font-size:11px}.chips{display:flex;gap:6px;padding:0 14px 12px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chips button{border:1px solid #e2e4e7;background:white;border-radius:16px;padding:6px 10px;font-size:9px;white-space:nowrap;flex:0 0 auto}.chips button.active{background:var(--accent);border-color:var(--accent);color:white}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 14px 78px;width:100%;min-width:0}.product-card{background:white;border-radius:11px;overflow:hidden;box-shadow:0 2px 9px rgba(20,24,30,.05);min-width:0}.product-image{aspect-ratio:1/1;height:auto;display:grid;place-items:center;position:relative}.product-image>span{font-size:40px}.product-image>button{position:absolute;right:6px;top:6px;border:0;border-radius:50%;background:rgba(255,255,255,.85);width:25px;height:25px}.product-info{padding:8px;min-width:0}.product-info>b{font-size:10px;display:block;height:26px;overflow:hidden;text-overflow:ellipsis}.product-info>div{display:flex;align-items:center;justify-content:space-between;margin-top:6px;min-width:0;gap:4px}.product-info strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.buy{border:0;background:var(--accent);color:white;border-radius:7px;width:25px;height:25px}.mobile-nav{position:absolute;inset:auto 0 0;background:rgba(255,255,255,.97);height:62px;border-top:1px solid #e9eaed;display:flex;justify-content:space-around;padding-top:7px}.mobile-nav button{position:relative;border:0;background:transparent;color:#9297a1;font-size:16px;display:flex;flex-direction:column;align-items:center;gap:3px}.mobile-nav button span{font-size:8px}.mobile-nav button.active{color:var(--accent)}.mobile-nav i{position:absolute;right:4px;top:-3px;background:var(--accent);color:white;border-radius:10px;font-size:7px;padding:2px 4px}.preview-note{font-size:11px;color:#898e98;margin:0 0 20px}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);background:#202329;color:white;border-radius:9px;padding:11px 16px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
.auth-gate{position:fixed;inset:0;z-index:1000;background:#f1f2f4;display:none;place-items:center}.auth-gate.show{display:grid}
#appShell{visibility:hidden}body.app-ready #appShell{visibility:visible}.auth-card{width:min(410px,calc(100vw - 32px));background:white;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}.auth-logo{width:42px;height:42px;background:var(--accent);color:white;border-radius:12px;display:grid;place-items:center;font-size:13px;font-weight:800}.auth-card h1{margin:20px 0 6px;font-size:24px}.auth-card>p{color:var(--muted);margin:0 0 20px}.auth-card label,.telegram-form label{display:block;font-size:12px;font-weight:600;margin:12px 0}.auth-card input,.telegram-form input{display:block;width:100%;border:1px solid var(--border-soft);border-radius:9px;padding:11px 12px;margin-top:6px;outline:0}.auth-card input:focus,.telegram-form input:focus{border-color:var(--accent)}.btn.full{width:100%;margin-top:5px}.auth-switch{border:0;background:transparent;color:var(--accent);width:100%;margin-top:14px}.auth-card .form-error{color:#d73a49;font-size:12px;margin:8px 0;min-height:16px}.modal-layer{position:fixed;inset:0;z-index:500;background:rgba(17,19,24,.45);display:none;place-items:center;padding:20px}.modal-layer.show{display:grid}.manage-card{background:white;border-radius:18px;width:min(680px,100%);max-height:82vh;overflow:auto;padding:22px;box-shadow:0 25px 80px rgba(0,0,0,.22)}.manage-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:17px}.manage-head h2{margin:3px 0 0}.close-modal{border:0;background:#f1f2f4;border-radius:50%;width:34px;height:34px;font-size:22px}.product-list>div{display:flex;align-items:center;justify-content:space-between;padding:11px 3px;border-bottom:1px solid var(--line)}.product-list span{display:flex;flex-direction:column;gap:3px}.product-list small{color:var(--muted)}.product-list button{border:0;background:transparent;color:var(--danger)}.empty-list{text-align:center;color:var(--muted);padding:35px}.telegram-form p{color:var(--muted);font-size:12px}.preview-empty{grid-column:1/-1;text-align:center;color:#737984;background:white;border-radius:11px;padding:35px 8px;font-size:12px}.preview-empty small{font-size:9px;color:#a1a5ad}@media(max-width:600px){}
.section-tools{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}.category-form{display:flex;gap:8px}.category-form input,.settings-form input,.settings-form select,.data-row select{border:1px solid var(--border-soft);border-radius:9px;padding:9px 11px;background:white}.category-form input{flex:1}.product-create{grid-template-columns:1.7fr 1.2fr .8fr .8fr auto}.data-table{display:flex;flex-direction:column}.data-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:13px 3px}.data-row>span{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.data-row small{color:var(--muted)}.data-row strong{white-space:nowrap}.manage-empty{text-align:center;padding:45px 10px;color:var(--muted)}.manage-empty>div{font-size:30px}.manage-empty h3{color:var(--text);margin:12px 0 5px}.manage-empty p{margin:0}.plan-card{background:#17191d;color:white;border-radius:16px;padding:22px}.plan-card>span{color:#969ca7;font-size:11px}.plan-card h3{font-size:25px;margin:8px 0}.plan-card p{color:#afb4bc}.plan-note{border:1px solid var(--line);border-radius:13px;padding:16px;margin-top:12px}.plan-note p{color:var(--muted);margin-bottom:0}.settings-form{display:grid;gap:12px}.settings-form label{display:grid;gap:6px;font-size:12px;font-weight:600}.settings-form .check-row{display:flex;align-items:center;gap:8px}.settings-form .check-row input{width:auto}.settings-form .btn{margin-top:5px}@media(max-width:700px){.product-create{grid-template-columns:1fr 1fr}.product-create #productName{grid-column:1/-1}.data-row{align-items:flex-start;flex-wrap:wrap}}
.hidden-input{display:none!important}.logo-thumb{background-size:cover!important;background-position:center!important}.cover-gallery{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.cover-gallery-item{position:relative;width:64px;height:44px;border-radius:8px;overflow:hidden;border:1px solid var(--line)}.cover-gallery-item img{width:100%;height:100%;object-fit:cover;display:block}.cover-gallery-remove{position:absolute;top:2px;right:2px;width:16px;height:16px;border:0;border-radius:50%;background:var(--danger);color:#fff;font-size:11px;line-height:1;display:grid;place-items:center;padding:0}.cover-interval-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;font-size:12px;font-weight:600}.cover-interval-row .segment-options{flex:0 0 auto;width:auto}.toggle-list{display:grid;gap:2px}.toggle-list label{display:flex;align-items:center;justify-content:space-between;margin:0;padding:10px 0;border-bottom:1px solid var(--line)}.toggle-list input{width:34px;height:19px;accent-color:var(--accent)}.phone-screen{background:var(--shop-bg,#fafafa);color:var(--shop-text,#17191d);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.phone-screen[data-font=modern]{font-family:Inter,Arial,sans-serif}.phone-screen[data-font=rounded]{font-family:"Arial Rounded MT Bold",Arial,sans-serif}.phone-screen[data-font=serif]{font-family:Georgia,serif}.phone-screen .tgbar{background:var(--shop-bg,#fafafa)}.phone-screen .shop-head,.phone-screen .product-card{background:var(--shop-surface,#fff)}.phone-screen .product-card,.phone-screen .product-image{border-radius:var(--shop-radius,14px)}.phone-screen[data-card-style=outline] .product-card{box-shadow:none;border:1px solid color-mix(in srgb,var(--shop-text) 14%,transparent)}.phone-screen[data-card-style=flat] .product-card{box-shadow:none;background:transparent}.phone-screen[data-columns="1"] .product-grid{grid-template-columns:1fr}.shop-logo.has-image{background-size:cover;background-position:center}.shop-cover{height:116px;margin:10px 14px 4px;border-radius:var(--shop-radius,14px);position:relative;color:white;overflow:hidden}.shop-cover-slides{position:absolute;inset:0}.shop-cover-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .6s ease}.shop-cover-slide.active{opacity:1}.shop-cover-copy{position:absolute;inset:auto 12px 11px;display:flex;flex-direction:column;gap:3px;z-index:1}.shop-cover b{font-size:14px}.shop-cover span{font-size:9px}.shop-cover-dots{position:absolute;top:9px;right:11px;display:flex;gap:4px;z-index:1}.shop-cover-dots span{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.45)}.shop-cover-dots span.active{background:#fff}.stock-line{display:block;color:#7d8490;font-size:8px;margin-top:3px}.phone-screen .product-info>b{height:auto;min-height:26px}@media(max-width:600px){}
[data-panel][hidden]{display:none!important}.editor-scroll{scroll-behavior:smooth}.tabs button{min-width:78px}.tabs button.active{font-weight:700}
.setting-title span>small{display:block;margin-top:3px}.setting-title span>b{display:block}.design-control{margin-top:16px}.design-control>label{display:block;font-weight:700;font-size:12px;margin-bottom:8px}.visual-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.visual-options button{border:1px solid var(--line);background:white;border-radius:10px;padding:10px;display:flex;align-items:center;gap:9px;color:#626975}.visual-options button.active,.segment-options button.active{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent);color:var(--text);background:color-mix(in srgb,var(--accent) 5%,white)}.card-demo{width:32px;height:25px;background:white;border-radius:5px;display:block;flex:none}.card-demo.soft{box-shadow:0 4px 9px #b9bdc5}.card-demo.outline{border:1px solid #9096a1}.card-demo.flat{background:#eceef1}.grid-demo{width:32px;height:24px;display:block;border-radius:4px;background:linear-gradient(90deg,#d9dde3 46%,transparent 46% 54%,#d9dde3 54%)}.grid-demo.one{background:#d9dde3}.grid-demo.three{background:linear-gradient(90deg,#d9dde3 0 29%,transparent 29% 35%,#d9dde3 35% 64%,transparent 64% 70%,#d9dde3 70%)}.segment-options{display:flex;border:1px solid var(--line);border-radius:10px;padding:3px;background:#f4f5f7}.segment-options button{flex:1;border:1px solid transparent;background:transparent;border-radius:7px;padding:8px 6px;color:#757b86}.color-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.color-field>span{display:block;font-size:11px;font-weight:700;margin-bottom:6px}.color-field>div{height:43px;border:1px solid var(--line);border-radius:9px;padding:5px;display:flex;align-items:center;gap:7px}.color-field input{width:42px;height:31px;border:0;padding:0;background:transparent}.color-field output{font-size:10px;color:#727985;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.contrast-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:15px;padding-top:14px;gap:10px}.contrast-row>span{display:flex;flex-direction:column;gap:3px}.contrast-row small{color:#27a36a}.contrast-row small.warning{color:#d85040}.contrast-row .btn{font-size:11px;padding:8px 10px}.phone-screen[data-columns="3"] .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.phone-screen[data-columns="3"] .product-image>span{font-size:27px}.phone-screen[data-columns="3"] .product-info{padding:6px}.phone-screen[data-columns="3"] .product-info>b{font-size:8px;min-height:22px}.phone-screen[data-columns="3"] .product-info strong{font-size:8px}.phone-screen[data-columns="3"] .buy{width:20px;height:20px;font-size:10px}@media(max-width:600px){.visual-options:not(.grid-options){grid-template-columns:1fr}.color-fields{grid-template-columns:1fr}.contrast-row{align-items:flex-start;flex-direction:column}}
.modal-layer{position:fixed;inset:0 0 0 246px;z-index:400;background:var(--bg);display:none;padding:0;overflow:auto}.modal-layer.show{display:block}.manage-card{width:100%;min-height:100vh;max-height:none;border-radius:0;box-shadow:none;background:white;padding:0 32px 50px}.manage-head{height:82px;margin:0 -32px 28px;padding:0 32px;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:2}.manage-head h2{font-size:21px}.close-modal{width:auto;height:auto;border:1px solid var(--line);border-radius:9px;background:white;padding:9px 13px;font-size:12px;font-weight:700}.manage-card #manageContent{max-width:1180px;margin:0 auto}.manage-head>div{max-width:1180px}.section-open .topbar{visibility:hidden}@media(max-width:820px){.modal-layer{left:70px}.manage-card{padding:0 18px 35px}.manage-head{margin:0 -18px 22px;padding:0 18px}}
.preset-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}.preset-grid button{border:1px solid var(--line);background:white;border-radius:10px;padding:6px;text-align:left;color:#626975}.preset-grid button.active{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent)}.preset-grid i{display:block;width:100%;height:34px;border-radius:6px;background:linear-gradient(90deg,var(--p1) 0 34%,var(--p2) 34% 68%,var(--p3) 68%)}.preset-grid span{display:block;font-size:9px;font-weight:700;margin:6px 2px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:600px){.preset-grid{grid-template-columns:repeat(2,1fr)}}
.design-subtabs{position:sticky;top:-20px;z-index:5;display:flex;gap:5px;background:white;border:1px solid var(--line);border-radius:11px;padding:4px;margin-bottom:12px;box-shadow:0 5px 16px rgba(25,28,35,.05)}.design-subtabs button{flex:1;border:0;border-radius:8px;background:transparent;color:#7b818c;padding:9px;font-weight:700;font-size:11px}.design-subtabs button.active{background:var(--accent);color:white}.setting-hint{margin:2px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.custom-accent{width:31px;height:31px;border:1px dashed #aeb3bc;border-radius:50%;display:grid!important;place-items:center;position:relative;overflow:hidden;margin:0!important}.custom-accent input{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer}.custom-accent span{color:#777;font-size:16px}.phone-screen[data-image-ratio="square"] .product-image{aspect-ratio:1/1}.phone-screen[data-image-ratio="portrait"] .product-image{aspect-ratio:3/4}.phone-screen[data-image-ratio="wide"] .product-image{aspect-ratio:16/9}.phone-screen[data-density="compact"] .product-grid{gap:5px}.phone-screen[data-density="compact"] .product-info{padding:5px}.phone-screen[data-density="spacious"] .product-grid{gap:13px}.phone-screen[data-density="spacious"] .product-info{padding:11px}.phone-screen[data-title-lines="1"] .product-info>b{min-height:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-screen[data-title-lines="2"] .product-info>b,.phone-screen[data-title-lines="3"] .product-info>b{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.phone-screen[data-title-lines="2"] .product-info>b{-webkit-line-clamp:2}.phone-screen[data-title-lines="3"] .product-info>b{-webkit-line-clamp:3}.phone-screen[data-button-style="filled"] .buy{width:auto;padding:0 8px;border-radius:7px}.phone-screen[data-button-style="outline"] .buy{background:transparent;color:var(--accent);border:1px solid var(--accent)}
.catalog-segments{display:grid;grid-template-columns:repeat(4,1fr)}
.telegram-form .form-hint{display:block;color:var(--muted);font-size:11px;line-height:1.45;margin:-5px 0 12px}
.analytics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.period-switch{display:flex;gap:4px;padding:4px;background:#f1f2f4;border-radius:10px}.period-switch button{border:0;background:transparent;color:#747b86;border-radius:7px;padding:8px 12px;font-size:11px;font-weight:700}.period-switch button.active{background:white;color:var(--text);box-shadow:0 2px 8px rgba(25,28,34,.1)}.analytics-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.analytics-metrics>div{border:1px solid var(--line);border-radius:13px;padding:16px;background:white;display:grid;gap:6px}.analytics-metrics small{color:var(--muted)}.analytics-metrics strong{font-size:23px}.metric-change,.metric-caption{font-size:10px;font-weight:700}.metric-change.up{color:#159563}.metric-change.down,.danger{color:#d74747!important}.metric-change.neutral,.metric-caption{color:#9298a2}.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.analytics-card{border:1px solid var(--line);border-radius:14px;padding:18px;background:white;min-width:0}.analytics-card.wide{grid-column:1/-1}.analytics-card header{display:flex;justify-content:space-between;margin-bottom:17px}.analytics-card h3{margin:0 0 4px;font-size:15px}.analytics-card header p{margin:0;color:var(--muted);font-size:10px}.sales-chart{height:220px;display:flex;align-items:flex-end;gap:5px;border-bottom:1px solid var(--line);padding-top:22px;overflow-x:auto}.chart-column{height:100%;min-width:25px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.chart-column>span{font-size:8px;color:#8a909a}.chart-column>i{display:block;width:70%;max-width:24px;background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 68%,#fff));border-radius:5px 5px 1px 1px;min-height:4px}.chart-column>small{font-size:8px;color:#9399a3;height:17px}.analytics-statuses{display:grid;gap:13px}.analytics-statuses>div{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:10px}.analytics-statuses>div>span{height:8px;background:#eceef1;border-radius:10px;overflow:hidden}.analytics-statuses>div>span i{display:block;height:100%;background:var(--accent);border-radius:10px}.analytics-statuses p{display:flex;justify-content:space-between;align-items:center;margin:0}.analytics-statuses p small{color:var(--muted);font-size:9px}.detail-list p{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);margin:0}.detail-list p:last-child{border:0}.detail-list span{color:#6f7580}.top-products{display:grid}.top-products>div{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}.top-products>div:last-child{border:0}.top-products em{width:24px;height:24px;border-radius:7px;background:#f1f2f4;display:grid;place-items:center;font-style:normal;font-size:10px}.top-products span{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.top-products span b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-products small{color:var(--muted);font-size:9px}.top-products strong{font-size:11px;white-space:nowrap}.analytics-card .manage-empty{padding:30px 10px}@media(max-width:750px){.analytics-toolbar{align-items:flex-start;flex-direction:column}.period-switch{width:100%;overflow:auto}.period-switch button{white-space:nowrap}.analytics-metrics{grid-template-columns:1fr 1fr}.analytics-grid{grid-template-columns:1fr}.analytics-card.wide{grid-column:auto}}
.phone-screen .search{display:flex;align-items:center;gap:6px}.phone-screen .search input{width:100%;border:0;background:transparent;outline:0;font-size:10px;color:inherit}.phone-screen .search input::placeholder{color:#999ea6}
.phone-screen .search{position:relative}.phone-screen .search>button{border:0;background:#dfe2e7;color:#737984;border-radius:50%;width:18px;height:18px;padding:0;line-height:16px}.phone-screen .search>small{position:absolute;right:3px;top:31px;z-index:3;background:var(--shop-surface,#fff);border:1px solid color-mix(in srgb,var(--shop-text) 10%,transparent);border-radius:7px;padding:4px 6px;color:#7d8490;font-size:8px;box-shadow:0 3px 10px rgba(20,24,30,.08)}
.product-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8f9fb;margin-bottom:14px}.product-toolbar>div:first-child{display:flex;flex-direction:column;gap:4px}.product-toolbar small{color:var(--muted);font-size:10px}.product-toolbar>div:last-child{display:flex;gap:7px}@media(max-width:760px){.product-toolbar{align-items:flex-start;flex-direction:column}.product-toolbar>div:last-child{width:100%;flex-wrap:wrap}.product-toolbar .btn{flex:1;white-space:nowrap}}
.editor-scroll{padding:22px 28px 72px}.preview-area{padding-inline:clamp(24px,4vw,70px)}.preview-toolbar{margin-inline:calc(clamp(24px,4vw,70px) * -1);width:calc(100% + clamp(48px,8vw,140px))}.phone{width:372px;height:744px;margin-top:26px}.preview-note{margin-top:2px}
.design-color-group{border-top:1px solid var(--line);margin-top:17px;padding-top:16px}.design-color-group>b{display:block;font-size:12px;margin-bottom:10px}.compact-colors{grid-template-columns:1fr 1fr}.phone-screen .buy,.phone-screen .checkout-preview{background:var(--button-color,var(--accent));color:var(--button-text,#fff)}.phone-screen[data-button-style="outline"] .buy{background:transparent;color:var(--button-color,var(--accent));border-color:var(--button-color,var(--accent))}.phone-screen[data-button-size="small"] .buy{height:21px;min-width:21px;font-size:9px;padding-inline:5px}.phone-screen[data-button-size="medium"] .buy{height:27px;min-width:27px;font-size:10.5px;padding-inline:7px}.phone-screen[data-button-size="large"] .buy{height:34px;min-width:34px;font-size:12px;padding-inline:10px}.phone-screen[data-button-size="small"] .checkout-preview{padding:8px;font-size:10px}.phone-screen[data-button-size="medium"] .checkout-preview{padding:11px;font-size:11.5px}.phone-screen[data-button-size="large"] .checkout-preview{padding:14px;font-size:13px}.phone-screen .mobile-nav{background:var(--nav-background,#fff)}.phone-screen .mobile-nav button{color:var(--nav-inactive,#9297a1)}.phone-screen .mobile-nav button.active{color:var(--nav-active,var(--accent))}.phone-screen .mobile-nav i{background:var(--nav-active,var(--accent))}.phone-screen[data-nav-size="compact"] .mobile-nav{height:52px;padding-top:5px}.phone-screen[data-nav-size="compact"] .mobile-nav .nav-svg{width:16px;height:16px}.phone-screen[data-nav-size="compact"] .product-grid{padding-bottom:66px}.phone-screen[data-nav-size="large"] .mobile-nav{height:74px;padding-top:10px}.phone-screen[data-nav-size="large"] .mobile-nav .nav-svg{width:23px;height:23px}.phone-screen[data-nav-size="large"] .mobile-nav button>span:last-of-type{font-size:9px}.phone-screen[data-nav-size="large"] .product-grid{padding-bottom:90px}
@media(min-width:1700px){.editor-scroll{padding:25px 34px 80px}.phone{width:400px;height:800px;margin-top:34px}.preview-area{padding-inline:70px}}
@media(max-width:1200px){.editor-scroll{padding-inline:22px}.phone{width:344px;height:690px}.preview-area{padding-inline:20px}.preview-toolbar{margin-inline:-20px;width:calc(100% + 40px)}}

/* Destructive product action must remain visible in every list layout. */
.product-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.product-list-actions .product-delete{min-height:38px;padding:8px 14px;border:1px solid color-mix(in srgb,var(--danger) 45%,transparent);border-radius:10px;background:color-mix(in srgb,var(--danger) 6%,white);color:var(--danger)!important;cursor:pointer}
.product-list-actions .product-delete:hover{background:#fee4e2;border-color:#f97066}
@media(max-width:700px){.product-list-actions{grid-column:1/-1;justify-content:stretch}.product-list-actions .btn,.product-list-actions .product-delete{flex:1}}

.phone-screen .product-info .product-price-row{display:flex;align-items:center;min-height:24px;margin-top:auto}
.phone-screen .product-purchase-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;margin-top:7px}
.phone-screen .product-purchase-row>.buy{width:100%;min-width:0}
.phone-screen .product-stepper{display:grid;grid-template-columns:28px minmax(18px,auto) 28px;align-items:center;gap:3px}
.phone-screen .product-stepper button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:var(--button-color,var(--accent));color:var(--button-text,#fff);font:inherit;cursor:pointer}
.phone-screen .product-stepper b{text-align:center;font-size:11px}
.phone-screen .product-stepper button:disabled,.phone-screen .product-purchase-row>.buy:disabled{opacity:.45;cursor:not-allowed}
.phone-screen[data-button-size="small"] .product-stepper{grid-template-columns:22px minmax(16px,auto) 22px}
.phone-screen[data-button-size="small"] .product-stepper button{width:22px;height:22px;font-size:11px}
.phone-screen[data-button-size="medium"] .product-stepper{grid-template-columns:28px minmax(18px,auto) 28px}
.phone-screen[data-button-size="medium"] .product-stepper button{width:28px;height:28px;font-size:13px}
.phone-screen[data-button-size="large"] .product-stepper{grid-template-columns:34px minmax(20px,auto) 34px}
.phone-screen[data-button-size="large"] .product-stepper button{width:34px;height:34px;font-size:15px}
.phone-screen .product-purchase-row.purchase-full .product-stepper button:first-child,.phone-screen[data-columns="3"] .product-stepper button:first-child{justify-self:end}
.phone-screen .product-purchase-row.purchase-full .product-stepper button:last-child,.phone-screen[data-columns="3"] .product-stepper button:last-child{justify-self:start}
.phone-screen[data-columns="3"] .product-purchase-row{grid-template-columns:1fr}.phone-screen[data-columns="3"] .product-stepper{grid-template-columns:1fr auto 1fr}

.settings-form section:nth-child(2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:center}
.settings-form section:nth-child(2)>h3,.settings-form section:nth-child(2)>label:first-of-type{grid-column:1/-1}
.settings-form section:nth-child(2)>.check-row{margin-top:16px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}
@media(max-width:520px){.settings-form section:nth-child(2){grid-template-columns:1fr}.settings-form section:nth-child(2)>h3,.settings-form section:nth-child(2)>label:first-of-type{grid-column:auto}}

/* Banner and store identity form one storefront card. */
.phone-screen .shop-hero-card{position:relative;margin:0;background:var(--shop-surface,#fff);overflow:hidden}
.phone-screen .shop-hero-card .shop-cover{height:210px;margin:0}
.phone-screen .shop-hero-card .shop-cover:after{content:"";position:absolute;inset:32% 0 0;background:linear-gradient(180deg,transparent,rgba(7,10,15,.82))}
.phone-screen .shop-hero-card .shop-cover-copy{z-index:1;inset:16px 16px auto}
.phone-screen .shop-hero-card .shop-head{position:absolute;z-index:2;left:0;right:0;bottom:0;margin:0;padding:18px var(--store-gutter);background:transparent;color:#fff}
.phone-screen .shop-hero-card .shop-head h2{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.38)}
.phone-screen .shop-hero-card .shop-head p{color:rgba(255,255,255,.72)}
.phone-screen .shop-hero-card .shop-logo{box-shadow:0 0 0 2px rgba(255,255,255,.6),0 8px 22px rgba(0,0,0,.25)}
.phone-screen .shop-hero-card:has(.shop-cover.hidden) .shop-head{position:relative;color:var(--shop-text,#17191d);background:var(--shop-surface,#fff)}
.phone-screen .shop-hero-card:has(.shop-cover.hidden) .shop-head h2{color:inherit;text-shadow:none}
.phone-screen .shop-hero-card:has(.shop-cover.hidden) .shop-head p{color:var(--card-muted,#747b87)}
.phone-screen{--store-nav-height:60px}
.phone-screen .tgbar{height:50px;padding:10px var(--store-gutter) 0;border-bottom:0}
.phone-screen .mobile-nav{padding:4px 10px 3px}
.phone-screen .mobile-nav button{gap:2px}
.phone-screen .storefront-scroll{position:absolute;inset:0 0 var(--store-nav-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.phone-screen .storefront-scroll::-webkit-scrollbar{display:none}
.phone-screen .storefront-scroll .product-grid{padding-bottom:20px}
.checkout-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.checkout-settings-grid>div{border:1px solid var(--line);border-radius:9px;padding:9px 11px}.checkout-settings-grid .check-row{margin:0}.checkout-settings-grid .check-row.sub{margin-top:7px;padding-left:27px;color:var(--muted);font-size:11px}.checkout-settings-grid input:disabled{opacity:.45}@media(max-width:700px){.checkout-settings-grid{grid-template-columns:1fr}}
.phone-screen .cart-thumb{overflow:hidden}.phone-screen .cart-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.phone-screen .product-image .image-arrow{position:absolute;z-index:3;top:50%;width:24px;height:34px;margin-top:-17px;border:0;border-radius:8px;background:rgba(15,18,24,.5);color:#fff;font-size:20px;opacity:0;transition:opacity .15s}.phone-screen .product-card:hover .image-arrow{opacity:1}.phone-screen .product-image .image-prev{left:5px;right:auto}.phone-screen .product-image .image-next{right:5px}.phone-screen .product-image .image-counter{position:absolute;z-index:2;left:7px;bottom:7px;padding:2px 6px;border-radius:10px;background:rgba(15,18,24,.62);color:#fff;font-size:8px}.preview-detail-image{position:relative;overflow:hidden}.preview-detail-image [data-detail-image]{position:absolute;top:50%;width:32px;height:42px;margin-top:-21px;border:0;border-radius:9px;background:rgba(15,18,24,.55);color:#fff;font-size:24px}.preview-detail-image .detail-image-prev{left:8px}.preview-detail-image .detail-image-next{right:8px}.detail-image-counter{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);padding:3px 8px;border-radius:12px;background:rgba(15,18,24,.65);color:#fff;font-size:9px}
.builder-guide{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:10px}.builder-guide b{grid-row:1/3;color:var(--text)}.builder-guide span{color:var(--text)}.builder-guide small{font-size:9px;color:var(--muted)}@media(max-width:700px){.builder-guide{grid-template-columns:1fr}.builder-guide b{grid-row:auto}.catalog-segments{grid-template-columns:repeat(2,1fr)}}
.store-avatar.has-image,.store-menu-avatar.has-image{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;color:transparent}
.product-list .product-list-row{grid-template-columns:56px minmax(220px,1fr) auto}
.product-list-actions{display:flex;align-items:center;gap:8px}.product-edit-form{display:grid;gap:18px}.product-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-edit-grid label{display:grid;gap:7px;font-weight:700;color:var(--gray-700)}.product-edit-grid .wide{grid-column:1/-1}.product-edit-grid input,.product-edit-grid select,.product-edit-grid textarea,.product-edit-add input{width:100%;border:1px solid var(--border-mid);border-radius:9px;padding:11px 12px;background:#fff}.product-edit-grid textarea{min-height:110px;resize:vertical}.product-edit-images{display:grid;gap:13px;border:1px solid var(--line);border-radius:12px;padding:16px}.product-edit-images>div:first-child{display:flex;flex-direction:column;gap:3px}.product-edit-images small{color:var(--muted)}.product-edit-gallery{display:grid;grid-template-columns:repeat(5,minmax(80px,1fr));gap:10px}.product-edit-gallery>div{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--surface-alt)}.product-edit-gallery img{width:100%;height:100%;object-fit:cover}.product-edit-gallery button{position:absolute;right:6px;top:6px;width:25px;height:25px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--danger);font-weight:800}.product-edit-add{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:9px}.product-edit-actions{display:flex;justify-content:flex-end;gap:9px}@media(max-width:700px){.product-edit-grid{grid-template-columns:1fr}.product-edit-grid .wide{grid-column:auto}.product-edit-gallery{grid-template-columns:repeat(2,1fr)}.product-edit-add{grid-template-columns:1fr}.product-list .product-list-row{grid-template-columns:48px minmax(0,1fr)}.product-list-actions{grid-column:1/-1;justify-content:flex-end}}

/* Responsive application shell: desktop, notebook, tablet and phone. */
html,body{max-width:100%;overflow-x:hidden}
.app-shell,.workspace,.builder-view,.editor-panel,.editor-scroll{min-width:0}
@media(max-width:1350px){
  .editor-scroll{padding-inline:clamp(22px,4vw,48px)}
  body.preview-mode .preview-area{display:flex}
}
@media(max-width:900px){
  .sidebar{width:76px;padding:18px 10px}
  .workspace{margin-left:76px;width:calc(100% - 76px)}
  .modal-layer{left:76px}
  .logo{justify-content:center;padding:0}.logo strong{display:none}
  .store-switcher{margin:22px 0 16px}.store-switcher>small,.store-switcher button span:nth-child(2),.store-switcher button .store-chevron{display:none}
  .store-switcher>button{justify-content:center;padding:8px;min-height:54px}
  .sidebar .nav-item{justify-content:center;padding:0}.sidebar .nav-item span,.sidebar .nav-item em{display:none}
  .sidebar .nav-icon{width:38px;height:38px}
  .sidebar-bottom .user{justify-content:center;padding-inline:0}.sidebar-bottom .user>div,.sidebar-bottom .user>span{display:none}
  .sidebar-bottom .user .logout-btn{margin:0}
  .topbar{padding-inline:20px}
  .saved{display:none}
}
@media(max-width:640px){
  .sidebar{width:64px;padding:12px 7px}
  .workspace{margin-left:64px;width:calc(100% - 64px)}
  .modal-layer{left:64px}
  .logo>span{width:34px;height:34px}
  .store-avatar{width:36px;height:36px}
  .topbar{height:68px;padding:0 12px;gap:8px}
  .topbar h1{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar .eyebrow{display:none}
  .topbar>div:first-child{min-width:0;flex:1}
  .top-actions{flex:0 0 auto;gap:6px}
  .top-actions .btn{min-height:34px;padding:7px 9px;font-size:10px}
  .top-actions .btn.ghost{display:inline-flex}
  .builder-view{height:calc(100dvh - 68px)}
  .tabs{height:50px;padding:0 5px;gap:0}.tabs button{min-width:0;flex:1;padding:0 4px;font-size:11px}
  .editor-scroll{height:calc(100dvh - 118px);padding:12px 10px 64px}
  .setting-card{padding:14px;margin-bottom:10px}
  .design-subtabs{top:-12px;width:100%;overflow-x:auto;justify-content:flex-start}
  .design-subtabs button{flex:0 0 auto;min-width:78px}
  .setting-title{align-items:flex-start;gap:8px}.setting-title>div{min-width:0}
  .setting-title .link-btn{flex:0 0 auto}
  .color-fields{grid-template-columns:1fr}
  .manage-card{padding:0 12px 32px}.manage-head{height:68px;margin-inline:-12px;padding-inline:12px}
  body.preview-mode .preview-area{display:flex;padding:8px;min-height:100dvh}
}
@media(max-width:480px){
  .topbar>div:first-child{display:none}
  .top-actions{width:100%;justify-content:flex-end}
  .top-actions .btn{flex:1;justify-content:center}
  .visual-options.grid-options{grid-template-columns:1fr}
  .segment-options{overflow-x:auto}.segment-options button{min-width:92px}
  .category-form{flex-direction:column}.category-form .btn{width:100%}
}
@media(max-width:380px){
  .sidebar{width:56px;padding-inline:5px}
  .workspace{margin-left:56px;width:calc(100% - 56px)}
  .modal-layer{left:56px}
  .sidebar .nav-icon{width:34px;height:34px}
  .editor-scroll{padding-inline:8px}
}

/* Product photos. */
.phone-screen .product-image>img,.phone-screen .preview-detail-image>img{width:100%;height:100%;display:block;object-fit:cover}
.product-image-picker{min-height:42px;border:1px dashed var(--gray-400);border-radius:8px;background:var(--bg);color:#475467;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:8px;cursor:pointer;min-width:92px}
.product-image-picker span{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-list-thumb{width:48px;height:48px;flex:0 0 48px;border-radius:9px;background:var(--surface-alt);display:grid;place-items:center;overflow:hidden}
.product-list-thumb img{width:100%;height:100%;object-fit:cover}
.product-list-toolbar{margin:6px 0 10px}
.product-list-toolbar input{width:100%;border:1px solid var(--border-soft);border-radius:9px;padding:10px 12px;outline:0}
.product-list-toolbar input:focus{border-color:var(--accent)}
.product-list-pager{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:14px 0 4px;color:var(--muted);font-size:12px}
.product-list-pager button:disabled{opacity:.4;cursor:default}
.pager-numbers{display:flex;align-items:center;gap:4px}
.pager-numbers .pager-page{border:1px solid var(--line);background:white;border-radius:7px;min-width:30px;height:30px;padding:0 6px;font-weight:600;color:var(--text)}
.pager-numbers .pager-page.active{background:var(--accent);border-color:var(--accent);color:white}
.pager-ellipsis{color:var(--muted);padding:0 2px}
.product-photo-action{margin:0!important;cursor:pointer}.product-photo-action span{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid var(--border-mid);border-radius:8px;color:var(--gray-700);font-size:11px;font-weight:700;white-space:nowrap}
@media(max-width:760px){.product-list>div{align-items:flex-start;flex-wrap:wrap}.product-list>div>span{min-width:calc(100% - 64px)}.product-photo-action{margin-left:64px!important}}

/* Purchase control layout by selected button style. */
.phone-screen .product-purchase-row.purchase-full{display:block}
.phone-screen .product-purchase-row.purchase-full .buy.buy-text{width:100%}
.phone-screen .product-purchase-row.purchase-full .product-stepper{width:100%;grid-template-columns:1fr auto 1fr}
.phone-screen .product-purchase-row.purchase-both{display:grid;grid-template-columns:1fr;gap:6px}
.phone-screen .product-purchase-row.purchase-both .buy.buy-text{width:100%}
.phone-screen .product-purchase-row.purchase-both .product-stepper{width:100%;grid-template-columns:1fr auto 1fr}
.phone-screen[data-columns="1"] .product-purchase-row.purchase-both,.phone-screen[data-columns="2"] .product-purchase-row.purchase-both{display:flex;align-items:center;gap:6px}
.phone-screen[data-columns="1"] .product-purchase-row.purchase-both .buy.buy-text,.phone-screen[data-columns="2"] .product-purchase-row.purchase-both .buy.buy-text{flex:1;min-width:0;width:auto}
.phone-screen[data-columns="1"] .product-purchase-row.purchase-both .product-stepper,.phone-screen[data-columns="2"] .product-purchase-row.purchase-both .product-stepper{flex:0 0 auto;width:auto;grid-template-columns:auto auto auto;gap:4px}
.phone-screen[data-columns="2"] .product-purchase-row.purchase-both .buy.buy-text{font-size:11px;padding-left:8px;padding-right:8px}
.phone-screen[data-columns="2"] .product-purchase-row.purchase-both .product-stepper button{width:24px;height:24px;font-size:12px}
.phone-screen[data-columns="2"] .product-purchase-row.purchase-both .product-stepper b{font-size:10px}
.phone-screen .product-purchase-row.purchase-cart{display:flex;align-items:center;justify-content:space-between;gap:8px}
.phone-screen .buy.buy-cart{width:32px;height:32px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center;padding:0}
.phone-screen .buy.buy-cart svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.phone-screen .purchase-cart-price{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-screen[data-button-size="small"] .buy.buy-cart{width:26px;height:26px}
.phone-screen[data-button-size="large"] .buy.buy-cart{width:38px;height:38px}

/* Keep native color swatches aligned independently from text inputs. */
.setting-card .color-field>div{height:54px;padding:6px 8px;align-items:center}
.setting-card .color-field input[type="color"]{display:block;flex:0 0 44px;width:44px!important;height:40px!important;min-height:40px;margin:0!important;padding:0!important;border:0!important;border-radius:6px;background:transparent;box-shadow:none}
.setting-card .color-field input[type="color"]::-webkit-color-swatch-wrapper{padding:0}
.setting-card .color-field input[type="color"]::-webkit-color-swatch{border:0;border-radius:5px}
.setting-card .color-field input[type="color"]::-moz-color-swatch{border:0;border-radius:5px}

/* Compact switches for storefront visibility settings. */
.setting-card .toggle-list{gap:0}
.setting-card .toggle-list label{min-height:44px;margin:0;padding:8px 0}
.setting-card .toggle-list input[type="checkbox"]{-webkit-appearance:none;appearance:none;position:relative;display:block;flex:0 0 36px;width:36px!important;height:20px!important;min-height:20px;margin:0!important;padding:0!important;border:0!important;border-radius:999px;background:var(--border-mid);box-shadow:none;cursor:pointer;transition:.18s}
.setting-card .toggle-list input[type="checkbox"]:after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.25);transition:.18s}
.setting-card .toggle-list input[type="checkbox"]:checked{background:var(--brand)}
.setting-card .toggle-list input[type="checkbox"]:checked:after{transform:translateX(16px)}
.setting-card .toggle-list input[type="checkbox"]:focus-visible{outline:3px solid #c7d7fe;outline-offset:2px}

/* Compact product editor. */
.product-create-card{display:grid;gap:12px;padding:16px;margin-bottom:14px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.product-create-fields{display:grid;grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) 130px 110px;gap:10px}.product-create-fields input,.product-create-fields select,.product-image-source input{width:100%;min-height:40px;margin:0;border:1px solid var(--border-mid);border-radius:8px;padding:9px 11px;background:#fff;color:var(--text)}
.product-image-source{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto auto;align-items:center;gap:9px}.product-image-source>span,.product-image-source>small{color:var(--muted);font-size:11px;white-space:nowrap}.product-image-source .product-image-picker{min-width:116px}.product-image-source .btn{white-space:nowrap}
.product-list{display:grid;gap:8px;background:transparent;border:0;padding:0}.product-list .product-list-row{display:grid;grid-template-columns:48px minmax(210px,1fr) minmax(360px,520px) auto;align-items:center;gap:14px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.product-list-main{display:flex;min-width:0;flex-direction:column;gap:4px}.product-list-main b,.product-list-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-list-main small{color:var(--muted)}
.product-photo-action span{min-height:36px;padding:7px 10px}.product-delete{border:0;background:transparent;color:var(--danger)!important;font-weight:700;padding:8px}
@media(max-width:1050px){.product-list .product-list-row{grid-template-columns:48px minmax(180px,1fr) minmax(280px,1.2fr)}.product-delete{grid-column:3;justify-self:end}.product-create-fields{grid-template-columns:1fr 1fr}.product-image-source{grid-template-columns:1fr auto auto}.product-image-source>small{grid-column:1/-1}.product-image-source>.btn{grid-column:1/-1}}
@media(max-width:700px){.product-list .product-list-row{grid-template-columns:48px minmax(0,1fr);gap:10px}.product-delete{grid-column:2}.product-create-fields{grid-template-columns:1fr}.product-image-source{grid-template-columns:1fr}.product-image-source>span{display:none}.product-image-source .product-image-picker,.product-image-source>.btn{width:100%;grid-column:auto}}

.nav-icon-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.nav-icon-options button{border:1px solid var(--line);background:white;border-radius:10px;padding:10px 5px;color:#747b86;display:flex;flex-direction:column;align-items:center;gap:6px}.nav-icon-options button.active{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,white);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent)}.nav-icon-options svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-icon-options span{font-size:9px;font-weight:700}.mobile-nav .nav-svg{display:block;width:19px;height:19px;font-size:0}.mobile-nav .nav-svg svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-nav .nav-svg svg .fill{fill:currentColor;stroke:none}@media(max-width:600px){.nav-icon-options{grid-template-columns:1fr 1fr}}
.favorite-btn.active{color:#e63f65!important}.preview-cart-list{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;width:100%}.preview-cart-list article{display:flex;align-items:center;gap:8px;background:var(--shop-surface,#fff);border-radius:var(--shop-radius,14px);padding:8px;box-shadow:0 1px 4px rgba(15,18,24,.07),0 0 0 1px color-mix(in srgb,var(--shop-text) 6%,transparent)}.cart-thumb{width:46px;height:46px;border-radius:10px;background:color-mix(in srgb,var(--shop-text) 5%,var(--shop-surface));display:grid;place-items:center;font-size:22px}.preview-cart-list article>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.preview-cart-list article>div b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-cart-list article>div small{font-size:9px;color:#7e8490}.cart-quantity{display:flex;align-items:center;gap:5px}.cart-quantity button,.cart-remove{width:23px;height:23px;border:1px solid color-mix(in srgb,var(--shop-text) 13%,transparent);border-radius:7px;background:transparent;color:inherit}.cart-quantity b{font-size:10px;min-width:12px;text-align:center}.cart-total{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;padding:10px 3px;font-size:12px}.checkout-preview{border:0;border-radius:10px;background:var(--accent);color:white;padding:11px;font-weight:700;width:100%}.mobile-nav button{min-width:64px}.mobile-nav button:not(.active):hover{color:color-mix(in srgb,var(--accent) 65%,#9297a1)}
.product-grid.cart-view{padding-top:106px}.cart-view .preview-cart-list{gap:8px}.cart-view .preview-cart-list article{gap:11px;padding:8px 12px}.cart-view .cart-thumb{width:48px;height:48px;flex:0 0 48px}.cart-view .cart-quantity{gap:7px}.cart-view .cart-quantity button,.cart-view .cart-remove{width:28px;height:28px}.cart-view .cart-total{padding:8px 4px 0;font-size:13px}.cart-view .checkout-preview{margin-top:4px;min-height:42px}.product-grid.favorites-view{padding-top:106px}
.tgbar button{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#818690;font-size:18px;display:grid;place-items:center;padding:0}.tgbar button:hover{background:color-mix(in srgb,var(--shop-text) 6%,transparent);color:var(--shop-text)}.product-card[data-product]{cursor:pointer}.product-card[data-product]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.preview-sheet{position:absolute;inset:44px 0 0;z-index:20;background:var(--shop-bg,#fafafa);overflow-y:auto;padding-bottom:24px}.preview-sheet-head{height:48px;position:sticky;top:0;z-index:2;background:var(--shop-surface,#fff);border-bottom:1px solid color-mix(in srgb,var(--shop-text) 10%,transparent);display:grid;grid-template-columns:36px 1fr 36px;align-items:center;text-align:center;padding:0 12px}.preview-sheet-head button{border:0;background:transparent;color:inherit;font-size:22px}.preview-product-detail{padding:14px}.preview-detail-image{height:250px;border-radius:var(--shop-radius,14px);display:grid;place-items:center}.preview-detail-image>span{font-size:72px}.preview-product-detail>small{display:block;color:#7e8490;margin-top:14px}.preview-product-detail h3{font-size:20px;margin:5px 0 8px}.preview-product-detail p{font-size:12px;line-height:1.55;color:#667085}.preview-detail-stock{font-size:10px;color:#667085}.preview-detail-actions{display:grid;grid-template-columns:1fr 38px auto;gap:8px;align-items:center;margin-top:18px}.preview-detail-actions strong{font-size:17px}.preview-detail-actions button{height:38px;border-radius:9px}.preview-detail-favorite{border:1px solid color-mix(in srgb,var(--shop-text) 15%,transparent);background:var(--shop-surface);color:#e63f65;font-size:18px}.preview-detail-buy,.preview-submit-order,.preview-success button{border:0;background:var(--button-color,var(--accent));color:var(--button-text,#fff);font-weight:700;padding:0 13px}.preview-checkout-form{padding:14px;display:grid;gap:11px}.preview-checkout-form label{display:grid;gap:5px;font-size:10px;font-weight:700}.preview-checkout-form input,.preview-checkout-form select,.preview-checkout-form textarea{width:100%;border:1px solid color-mix(in srgb,var(--shop-text) 14%,transparent);border-radius:9px;background:var(--shop-surface,#fff);color:var(--shop-text);padding:10px;outline:0}.preview-checkout-form textarea{height:70px;resize:none}.preview-checkout-form input:focus,.preview-checkout-form select:focus,.preview-checkout-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 15%,transparent)}.preview-submit-order{height:42px;border-radius:10px;margin-top:4px}.preview-success{text-align:center;padding:70px 24px}.preview-success i{width:54px;height:54px;border-radius:50%;background:var(--accent);color:white;display:grid;place-items:center;margin:auto;font-size:24px;font-style:normal}.preview-success h3{margin:16px 0 7px}.preview-success p{color:#667085;font-size:11px;line-height:1.5}.preview-success button{height:40px;border-radius:9px;margin-top:12px}.preview-menu-list{padding:14px;display:grid;gap:8px}.preview-menu-list button{border:0;background:var(--shop-surface,#fff);color:var(--shop-text);border-radius:var(--shop-radius,14px);padding:13px;text-align:left;font-weight:700}.preview-menu-list span{display:block;color:#7e8490;font-size:9px;font-weight:400;margin-top:3px}
.promo-input-row{display:flex;gap:7px}.promo-input-row input{flex:1;border:1px solid color-mix(in srgb,var(--shop-text) 14%,transparent);border-radius:9px;background:var(--shop-surface,#fff);color:var(--shop-text);padding:10px;outline:0;text-transform:uppercase}.promo-input-row button{border:0;background:color-mix(in srgb,var(--shop-text) 8%,transparent);color:var(--shop-text);border-radius:9px;padding:0 14px;font-weight:700;font-size:11px;white-space:nowrap}.promo-applied{display:flex;align-items:center;justify-content:space-between;gap:10px;background:color-mix(in srgb,var(--accent) 10%,transparent);border-radius:9px;padding:10px 12px;font-size:11px}.promo-applied b{color:var(--accent)}.promo-applied button{border:0;background:transparent;color:#e63f65;font-size:10px;font-weight:700}.checkout-total-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;padding:4px 2px 0}
.order-list{display:flex;flex-direction:column;gap:12px}.order-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.order-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.order-card-head span{display:flex;flex-direction:column;gap:3px}.order-card-head small{color:var(--muted);font-weight:400}.order-card-head select{border:1px solid var(--border-soft);border-radius:9px;padding:8px 10px;background:#fff}.order-card-body{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:14px 16px}.order-items{display:flex;flex-direction:column;gap:6px}.order-item-row{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--gray-700)}.order-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;align-content:start}.order-meta>div{display:flex;flex-direction:column;gap:3px;min-width:0}.order-meta small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.order-meta b{font-size:12px;font-weight:600;word-break:break-word}.order-meta .wide{grid-column:1/-1}.order-card-foot{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line);background:var(--bg)}.order-card-foot strong{font-size:15px}@media(max-width:700px){.order-card-body{grid-template-columns:1fr}}
.font-library{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}.font-library button{min-width:0;border:1px solid var(--line);border-radius:10px;background:white;padding:10px;text-align:left;color:#777e89;display:flex;flex-direction:column;gap:4px}.font-library button b{font-family:var(--font-demo);font-size:15px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-library button span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-library button.active{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent);background:color-mix(in srgb,var(--accent) 5%,white)}
.phone-screen[data-font="system"]{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.phone-screen[data-font="modern"]{font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.phone-screen[data-font="rounded"]{font-family:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",system-ui,sans-serif}.phone-screen[data-font="serif"]{font-family:Georgia,"Times New Roman",serif}.phone-screen[data-font="humanist"]{font-family:"Trebuchet MS",Roboto,Arial,sans-serif}.phone-screen[data-font="readable"]{font-family:Verdana,Geneva,Roboto,sans-serif}.phone-screen[data-font="editorial"]{font-family:"Times New Roman",Times,serif}.phone-screen[data-font="book"]{font-family:Palatino,"Palatino Linotype",Georgia,serif}.phone-screen[data-font="mono"]{font-family:ui-monospace,"SFMono-Regular",Roboto Mono,monospace}.phone-screen[data-font="typewriter"]{font-family:"Courier New",Courier,monospace}.phone-screen[data-font="compact"]{font-family:"Arial Narrow",Roboto Condensed,Arial,sans-serif;font-stretch:condensed}.phone-screen[data-font="neutral"]{font-family:Arial,Helvetica,Roboto,sans-serif}@media(max-width:600px){.font-library{grid-template-columns:1fr 1fr}}
.logo{height:48px;padding:0 10px;gap:12px}.logo>span{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#ff7048,#ff4f2d);box-shadow:0 8px 24px rgba(255,95,53,.25);font-size:12px}.logo strong{font-size:18px;letter-spacing:-.02em}.store-switcher{margin:25px 0 19px}.store-switcher>small{margin-left:11px;color:#686f7c;font-weight:700;letter-spacing:.12em}.store-switcher>button{min-height:64px;border-color:#303641;background:linear-gradient(145deg,#1d212a,#171a21);border-radius:15px;padding:10px 11px;box-shadow:inset 0 1px rgba(255,255,255,.035),0 10px 26px rgba(0,0,0,.13)}.store-avatar{width:38px;height:38px;border-radius:11px}.store-chevron{width:20px;height:20px;display:grid;place-items:center}.store-chevron svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sidebar nav{gap:5px}.nav-item{height:48px;padding:0 10px;border-radius:12px;gap:10px;font-size:14px;font-weight:550;transition:background .18s,color .18s,transform .18s}.nav-item:hover{background:#1d222b;color:var(--surface-alt);transform:translateX(2px)}.nav-item.active{background:linear-gradient(100deg,rgba(255,95,53,.18),rgba(255,95,53,.055));color:white;box-shadow:inset 3px 0 var(--brand),inset 0 0 0 1px rgba(255,255,255,.035)}.nav-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.035);color:#8e96a4;flex:none}.nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.nav-item:hover .nav-icon{color:#d9dde4;background:rgba(255,255,255,.065)}.nav-item.active .nav-icon{color:#ff7654;background:rgba(255,95,53,.13);box-shadow:inset 0 0 0 1px rgba(255,116,82,.14)}.nav-item em{background:#2a303a;color:#c5cad2;min-width:23px;text-align:center;padding:3px 7px}.sidebar-bottom{border-color:#252a33;padding-top:13px}.status-dot{box-shadow:0 0 0 4px rgba(37,199,122,.1),0 0 12px rgba(37,199,122,.35)}.user{margin-top:13px;padding:12px 8px 3px;border-top:1px solid #242933}.user>div{width:38px;height:38px;background:linear-gradient(145deg,#353b49,#282d38);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.user>span b{color:#f0f2f5}.user .logout-btn{width:34px;height:34px;justify-content:center;padding:0;border-radius:10px}.user .logout-btn span{display:none}.user .logout-btn i,.user .logout-btn svg{width:17px;height:17px}.user .logout-btn svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:820px){.sidebar{width:76px;padding-inline:10px}.workspace{margin-left:76px;width:calc(100% - 76px)}.modal-layer{left:76px}.nav-item{padding-inline:11px}.nav-icon{width:34px}.store-switcher>button{padding:8px}.store-avatar{width:38px;height:38px}}

/* TailAdmin Community Edition inspired admin foundation (MIT).
   Storefront theme variables remain scoped to .phone-screen. */
:root{--brand:#465fff;--brand-hover:#3641f5;--brand-soft:#eef4ff;--bg:#f9fafb;--surface:#fff;--text:#101828;--muted:#667085;--line:#e4e7ec;--sidebar:#101828;--radius:12px;--shadow:0 1px 3px rgba(16,24,40,.08),0 1px 2px rgba(16,24,40,.04);--border-soft:#dfe2e7;--border-mid:#d0d5dd;--gray-700:#344054;--gray-400:#98a2b3;--surface-alt:#f2f4f7;--sidebar-hover:#1d2939;--danger:#d92d20}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);font-size:14px}
.sidebar{width:290px;padding:24px 20px 20px;background:var(--sidebar);border-right:1px solid var(--sidebar-hover);box-shadow:none}
.workspace{margin-left:290px;width:calc(100% - 290px)}.modal-layer{left:290px}
.logo{height:44px;padding:0 8px;gap:12px}.logo>span{width:36px;height:36px;border-radius:9px;background:var(--brand);box-shadow:0 6px 18px rgba(70,95,255,.28)}.logo strong{font-size:18px}
.store-switcher{margin:30px 0 22px}.store-switcher>small{margin:0 10px 9px;color:var(--gray-400);font-size:10px;letter-spacing:.1em}.store-switcher>button{min-height:66px;padding:11px 12px;border:1px solid var(--gray-700);border-radius:10px;background:var(--sidebar-hover);box-shadow:none}.store-switcher button small,.user small{color:var(--gray-400)}.store-avatar{width:40px;height:40px;border-radius:9px;background:var(--surface-alt);color:var(--gray-700)}
.sidebar nav{gap:4px}.nav-item{height:46px;padding:0 10px;border-radius:8px;gap:10px;color:var(--gray-400);font-size:14px;font-weight:600}.nav-item:hover{background:var(--sidebar-hover);color:var(--bg);transform:none}.nav-item.active{background:var(--gray-700);color:#fff;box-shadow:none}.nav-icon{width:32px;height:32px;border-radius:7px;background:transparent;color:var(--gray-400)}.nav-item:hover .nav-icon,.nav-item.active .nav-icon{color:#fff;background:transparent;box-shadow:none}.nav-icon svg{width:19px;height:19px}.nav-item.active:before{content:"";width:3px;height:22px;border-radius:3px;background:var(--brand);position:absolute;left:0}.nav-item{position:relative}.nav-item em{background:var(--gray-700);color:var(--border-mid);padding:2px 7px}.nav-item.active em{background:#475467;color:#fff}
.sidebar-bottom{border-color:var(--gray-700);padding-top:14px}.user{border-color:var(--gray-700);padding:14px 8px 2px}.user>div{background:var(--gray-700)}.user .logout-btn{border-color:var(--gray-700);background:var(--sidebar-hover)}.user .logout-btn:hover{border-color:#6172f3;background:var(--gray-700)}
.topbar{height:80px;padding:0 32px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);box-shadow:0 1px 2px rgba(16,24,40,.02);position:relative;z-index:10}.eyebrow{color:var(--gray-400);font-size:10px;letter-spacing:.1em;margin-bottom:5px}.topbar h1{font-size:22px;letter-spacing:-.02em}.top-actions{gap:10px}.saved{color:var(--muted)}.btn{min-height:38px;border-color:var(--border-mid);border-radius:8px;padding:9px 14px;color:var(--gray-700);background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:.16s}.btn:hover{border-color:var(--gray-400);background:var(--bg)}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.builder-view{height:calc(100vh - 80px)}.editor-panel{background:#fff}.tabs{height:58px;padding:0 30px;gap:30px}.tabs button{min-width:84px;color:var(--muted);font-weight:600}.tabs button.active{color:var(--text);border-color:var(--brand)}.editor-scroll{height:calc(100vh - 138px);padding:24px 30px 76px;background:var(--bg)}
.setting-card,.analytics-card,.analytics-metrics>div{border-color:var(--line);border-radius:12px;box-shadow:var(--shadow)}.setting-card{padding:20px;margin-bottom:16px}.setting-card.compact{padding:16px 20px}.setting-title span>b{font-size:14px;color:var(--text)}.setting-title small,.setting-hint{color:var(--muted)}.setting-card label{color:var(--gray-700)}.setting-card input,.setting-card textarea,.category-form input,.settings-form input,.settings-form select,.data-row select{border-color:var(--border-mid);border-radius:8px;min-height:42px;background:#fff;color:var(--text)}.setting-card input:focus,.setting-card textarea:focus,.auth-card input:focus,.telegram-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.link-btn,.auth-switch{color:var(--brand)}
.design-subtabs{top:-24px;border-color:var(--line);border-radius:10px;box-shadow:0 4px 10px rgba(16,24,40,.06)}.design-subtabs button{border-radius:7px}.design-subtabs button.active{background:var(--brand)}
.visual-options button,.segment-options,.font-library button,.nav-icon-options button,.preset-grid button{border-color:var(--border-mid);border-radius:8px}.visual-options button.active,.segment-options button.active,.font-library button.active,.nav-icon-options button.active,.preset-grid button.active{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--bg)}.segment-options{background:var(--surface-alt)}.colors button.active{box-shadow:0 0 0 2px var(--c),0 0 0 5px #fff}
.preview-area{background:var(--surface-alt)}.preview-toolbar{height:58px;border-color:#e4e7ec;color:var(--muted)}.phone{box-shadow:0 24px 56px rgba(16,24,40,.18)}
.preview-close{display:none;position:fixed;right:28px;top:22px;z-index:1002;width:44px;height:44px;border:1px solid var(--border-mid);border-radius:50%;background:#fff;color:var(--text);font-size:28px;line-height:1;box-shadow:0 8px 24px rgba(16,24,40,.14)}
body.preview-mode{overflow:hidden}body.preview-mode .preview-area{position:fixed;inset:0;z-index:1000;padding:20px;background:#eef1f5;overflow:auto}body.preview-mode .preview-toolbar{display:none}body.preview-mode .preview-close{display:grid;place-items:center}body.preview-mode .phone{width:min(460px,calc((100vh - 80px)*580/1186))!important;margin:10px auto 8px}body.preview-mode .preview-note{margin-bottom:10px}
@media(max-width:600px){body.preview-mode .preview-area{padding:8px}body.preview-mode .preview-close{right:14px;top:14px;width:38px;height:38px}body.preview-mode .phone{width:min(100%,calc((100vh - 56px)*580/1186))!important}}
.phone-screen .product-card{color:var(--card-text,#17191d);isolation:isolate}.phone-screen .product-image{overflow:hidden}.phone-screen .product-info{padding:11px 10px 12px;display:flex;flex-direction:column;gap:7px;min-height:92px}.phone-screen .product-info>b{min-height:0!important;line-height:1.35;color:var(--card-text,#17191d)}.phone-screen .product-info>div{margin-top:auto;min-height:30px;gap:8px}.phone-screen .product-info strong{color:var(--card-text,#17191d)}.phone-screen .stock-line{margin:0;color:var(--card-muted,#747b87);line-height:1.3}.phone-screen[data-density="compact"] .product-grid{gap:8px}.phone-screen[data-density="compact"] .product-info{padding:8px;gap:5px;min-height:76px}.phone-screen[data-density="spacious"] .product-grid{gap:16px}.phone-screen[data-density="spacious"] .product-info{padding:14px;gap:9px;min-height:104px}.phone-screen[data-columns="3"] .product-grid{gap:8px;padding-inline:12px}.phone-screen[data-columns="3"] .product-info{padding:7px 6px 8px;gap:4px;min-height:68px}.phone-screen[data-columns="1"] .product-card{min-height:112px}.phone-screen[data-columns="1"] .product-info{min-height:112px;padding:13px}
.modal-layer{background:var(--bg)}.manage-card{background:var(--bg);padding:0 36px 56px}.manage-head{height:80px;margin:0 -36px 30px;padding:0 36px;background:#fff;border-color:var(--line)}.manage-card #manageContent{max-width:1240px}.manage-head h2{font-size:22px}.close-modal{border-color:var(--border-mid);border-radius:8px;color:var(--gray-700);box-shadow:0 1px 2px rgba(16,24,40,.05)}.data-table,.product-toolbar,.plan-note{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:8px 16px}.data-row:last-child{border-bottom:0}.plan-card{background:var(--sidebar)}
.auth-gate{background:var(--surface-alt)}.auth-card{border-color:var(--line);border-radius:14px;box-shadow:0 20px 48px rgba(16,24,40,.12)}.auth-logo{background:var(--brand);border-radius:9px}
@media(max-width:820px){.sidebar{width:76px;padding-inline:10px}.workspace{margin-left:76px;width:calc(100% - 76px)}.modal-layer{left:76px}.topbar{padding:0 18px}.manage-card{padding:0 18px 40px}.manage-head{margin-inline:-18px;padding-inline:18px}}

/* Exact iPhone 17 Pro proportions based on the supplied 580×1186 frame. */
.phone{width:min(430px,calc((100vh - 175px)*580/1186))!important;height:auto!important;aspect-ratio:580/1186;background:none!important;border:0;border-radius:0;box-shadow:none!important;overflow:visible;position:relative;margin-top:16px}
.phone:after{content:"";position:absolute;inset:0;z-index:30;background:url('/assets/iphone-17-pro-silver.png?v=1') center/100% 100% no-repeat;filter:drop-shadow(0 24px 28px rgba(16,24,40,.2));pointer-events:none}
.phone .phone-screen{position:absolute;z-index:1;left:5.333%;right:5.333%;top:2.2%;bottom:2.2%;height:auto;border-radius:13.5%/6.3%;overflow:hidden}
.phone .phone-screen .tgbar{height:64px;padding:19px 17px 0}.phone .phone-screen .preview-sheet{inset:64px 0 0}
@media(min-width:1700px){.phone{width:min(450px,calc((100vh - 175px)*580/1186))!important}}
@media(max-width:1200px){.phone{width:min(390px,calc((100vh - 175px)*580/1186))!important}}
.store-switcher{position:relative}.store-menu{position:absolute;left:0;right:0;top:84px;z-index:80;background:var(--sidebar-hover);border:1px solid var(--gray-700);border-radius:12px;padding:7px;box-shadow:0 18px 40px rgba(0,0,0,.3)}.store-menu-item,.store-create-button{width:100%;border:0;background:transparent;color:var(--border-mid);border-radius:8px;padding:9px;display:flex;align-items:center;gap:9px;text-align:left}.store-menu-item:hover,.store-menu-item.active,.store-create-button:hover{background:var(--gray-700);color:#fff}.store-menu-item>span,.store-create-button>b{width:32px;height:32px;border-radius:8px;background:#475467;display:grid;place-items:center;font-weight:700;flex:none}.store-menu-item>i,.store-create-button>span{display:flex;flex-direction:column;gap:2px;min-width:0;font-style:normal;flex:1}.store-menu-item b,.store-create-button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-menu-item small,.store-create-button small{font-size:9px;color:var(--gray-400)}.store-menu-item em{font-style:normal;color:#8098f9}.store-create-button{border-top:1px solid var(--gray-700);border-radius:0 0 8px 8px;margin-top:5px;padding-top:12px}.store-create-button>b{background:#465fff;color:white;font-size:17px}.new-store-price{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:13px 14px;color:var(--muted)}.new-store-price b{color:var(--text)}.billing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.billing-summary>div{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:7px;box-shadow:var(--shadow)}.billing-summary span{color:var(--muted)}.billing-summary strong{font-size:20px}.billing-period{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.billing-period button{border:1px solid var(--gray-700);background:var(--sidebar-hover);color:var(--border-mid);border-radius:10px;padding:12px;text-align:left;font-weight:700}.billing-period button.active{border-color:#8098f9;background:var(--gray-700);box-shadow:0 0 0 3px rgba(70,95,255,.2)}.billing-period small{display:block;color:var(--gray-400);margin-top:4px}.billing-formula{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;margin-top:14px}.billing-formula p{color:var(--muted);margin:7px 0 0;line-height:1.55}@media(max-width:700px){.billing-summary{grid-template-columns:1fr}.billing-period{grid-template-columns:1fr}}
.design-subtabs{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;padding:5px;gap:3px}.design-subtabs button{flex:1 1 0;min-width:72px;padding-inline:8px;white-space:nowrap;font-size:10px}.design-subtabs button.active{background:var(--brand)}.design-control[hidden],[data-color-panel][hidden]{display:none!important}.design-color-group:not([hidden]){border-top:0;margin-top:0;padding-top:0}.setting-card[data-design-section="display"] .setting-title{margin-bottom:10px}
.settings-form{display:grid;gap:16px;max-width:820px}.settings-form section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:var(--shadow)}.settings-form section h3{margin:0 0 4px}.settings-form section>p{margin:0 0 16px;color:var(--muted);font-size:12px}.settings-form label{display:block;margin-top:14px;font-size:12px;font-weight:700;color:var(--gray-700)}.settings-form input,.settings-form select,.settings-form textarea{display:block;width:100%;margin-top:6px;border:1px solid var(--border-mid);border-radius:8px;padding:10px 12px;background:#fff;color:var(--text)}.settings-form textarea{min-height:96px;resize:vertical}.settings-form .check-row{display:flex;align-items:center;gap:9px}.settings-form .check-row input{width:18px;height:18px;margin:0}.preview-about{padding:18px;display:grid;gap:12px}.preview-about h3{margin:0;font-size:20px}.preview-about>p{margin:0;color:var(--card-muted,var(--muted));font-size:12px;line-height:1.6}.preview-about>div{background:var(--shop-surface,#fff);color:var(--card-text,#17191d);border-radius:var(--shop-radius,14px);padding:13px;display:flex;flex-direction:column;gap:4px}.preview-about small{color:var(--card-muted,var(--muted))}
@media(max-width:600px){.sidebar{width:64px;padding-inline:7px}.workspace{margin-left:64px;width:calc(100% - 64px)}.modal-layer{left:64px}.topbar{height:72px;padding:0 12px}.topbar h1{font-size:16px}.topbar .eyebrow{font-size:8px}.top-actions{gap:5px}.top-actions .btn.primary{min-height:34px;padding:7px 9px;font-size:11px}.builder-view{height:calc(100vh - 72px)}.tabs{height:50px;padding:0 6px;gap:2px}.tabs button{min-width:0;flex:1;padding-inline:4px;font-size:11px}.editor-scroll{height:calc(100vh - 122px);padding:12px 10px 64px}.setting-card{padding:14px;margin-bottom:10px}.design-subtabs{top:-12px}.manage-card{padding:0 12px 32px}.manage-head{height:72px;margin-inline:-12px;padding-inline:12px}.manage-head h2{font-size:17px}.close-modal{padding:7px 9px;font-size:10px}.settings-form section{padding:14px}.product-toolbar{align-items:flex-start}.product-toolbar>div:last-child{width:100%;display:grid;grid-template-columns:1fr 1fr}.analytics-metrics,.analytics-grid{grid-template-columns:1fr}.billing-summary{grid-template-columns:1fr}.auth-card{padding:22px}}

/* Storefront spacing system. Keep every theme on the same visual rhythm. */
.phone-screen{
  --store-gutter:16px;
  --store-section-gap:14px;
  --store-card-gap:12px;
  --store-nav-height:68px;
}
.phone-screen .tgbar{padding-inline:var(--store-gutter);gap:12px}
.phone-screen .shop-cover{height:140px;margin:0;width:100%;border-radius:0}
.phone-screen .shop-cover-slide{background-position:50% 50%!important;background-repeat:no-repeat;background-size:cover}
.phone-screen .shop-cover-copy{inset:auto 14px 13px;gap:4px}
.phone-screen .shop-head{gap:12px;padding:14px var(--store-gutter)}
.phone-screen .shop-logo{flex:0 0 44px;width:44px;height:44px}
.phone-screen .shop-head>div:last-child{min-width:0}
.phone-screen .shop-head h2,.phone-screen .shop-head p{overflow:hidden;text-overflow:ellipsis}
.phone-screen .search{min-height:40px;margin:12px var(--store-gutter) 10px;padding:11px 13px;display:flex;align-items:center;background:color-mix(in srgb,var(--shop-text) 6%,var(--shop-surface));border-radius:var(--shop-radius,9px);color:var(--card-muted,#999ea6)}
.phone-screen[data-search-style="outline"] .search{background:transparent;border:1px solid color-mix(in srgb,var(--shop-text) 18%,transparent)}
.phone-screen[data-search-style="minimal"] .search{background:transparent;border:0;border-bottom:1px solid color-mix(in srgb,var(--shop-text) 18%,transparent);border-radius:0;padding-inline:2px}
.phone-screen .chips{gap:8px;padding:0 var(--store-gutter) 14px}
.phone-screen .chips button{min-height:30px;padding:7px 11px}
.phone-screen .chips[data-layout="wrap"]{flex-wrap:wrap;overflow:visible}
.phone-screen .chips[data-layout="wrap"] button{flex:0 0 auto}
.phone-screen .chips[data-style="compact"] button{min-height:24px;padding:4px 9px;font-size:8px;border-radius:12px}
.phone-screen .chips[data-style="minimal"] button{border:0;background:transparent;padding:6px 2px;border-radius:0;border-bottom:2px solid transparent;color:#7e8490}
.phone-screen .chips[data-style="minimal"] button.active{background:transparent;color:var(--accent);border-bottom-color:var(--accent)}
.phone-screen .product-grid{gap:var(--store-card-gap);padding:0 var(--store-gutter) calc(var(--store-nav-height) + 20px)}
.phone-screen .product-card{min-width:0}
.phone-screen .product-image>button{top:8px;right:8px;width:28px;height:28px}
.phone-screen .product-info{padding:12px;gap:7px;min-width:0;min-height:94px}
.phone-screen .product-info>b{line-height:1.35;overflow-wrap:anywhere}
.phone-screen .product-info>div{gap:10px;min-height:30px}
.phone-screen .buy{flex:0 0 auto}
.phone-screen[data-columns="1"] .product-grid{gap:12px}
.phone-screen[data-columns="1"] .product-card{display:grid;grid-template-columns:116px minmax(0,1fr);min-height:116px}
.phone-screen[data-columns="1"] .product-image{width:116px;height:100%;min-height:116px}
.phone-screen[data-columns="1"] .product-info{padding:14px;min-height:116px}
.phone-screen[data-columns="2"] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.phone-screen[data-columns="3"]{--store-gutter:12px;--store-card-gap:8px}
.phone-screen[data-columns="3"] .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--store-card-gap);padding-inline:var(--store-gutter)}
.phone-screen[data-columns="3"] .product-info{padding:8px 7px;gap:5px;min-height:72px}
.phone-screen[data-density="compact"]{--store-card-gap:8px}
.phone-screen[data-density="compact"] .product-info{padding:9px;gap:5px}
.phone-screen[data-density="spacious"]{--store-card-gap:16px;--store-section-gap:18px}
.phone-screen[data-density="spacious"] .product-info{padding:15px;gap:10px}
.phone-screen[data-columns="3"][data-density="compact"]{--store-card-gap:6px}
.phone-screen[data-columns="3"][data-density="compact"] .product-info{padding:6px 5px;gap:3px;min-height:64px}
.phone-screen[data-columns="3"][data-density="spacious"]{--store-card-gap:10px}
.phone-screen[data-columns="3"][data-density="spacious"] .product-info{padding:9px 8px;gap:6px;min-height:80px}
.phone-screen .mobile-nav{height:var(--store-nav-height);padding:8px 10px 7px;align-items:center;justify-content:stretch}
.phone-screen .mobile-nav button{flex:1;min-width:0;height:100%;justify-content:center;gap:4px}
.phone-screen .mobile-nav button span{line-height:1.15}
.phone-screen .mobile-nav i{top:2px;right:calc(50% - 22px)}
.phone-screen .preview-menu-list{padding:16px;gap:10px}
.phone-screen .preview-menu-list button{padding:14px}
.phone-screen .preview-about{padding:16px;gap:12px}
.phone-screen .preview-about>div{padding:14px;gap:5px}
.phone-screen .preview-sheet-head{padding-inline:16px}
.phone-screen .cart-view{gap:10px;padding-top:16px;padding-bottom:calc(var(--store-nav-height) + 20px)}

.phone-screen .cart-total{margin-top:4px;padding:14px 2px}
.phone-screen .checkout-form{padding:16px;gap:14px}
.phone-screen .checkout-form label{gap:7px}
.phone-screen .preview-success{padding:24px 18px}
@media(max-width:430px){
  .phone-screen{--store-gutter:14px;--store-card-gap:10px}
  .phone-screen[data-columns="1"] .product-card{grid-template-columns:108px minmax(0,1fr)}
  .phone-screen[data-columns="1"] .product-image{width:108px}
}

/* The editor is the primary workspace; preview stays in a compact side panel. */
.builder-view{grid-template-columns:minmax(680px,3fr) minmax(440px,2fr)}
@media(max-width:1500px){.builder-view{grid-template-columns:minmax(610px,58%) minmax(420px,42%)}}
@media(max-width:1120px){.builder-view{grid-template-columns:520px minmax(390px,1fr)}}

/* Floating pill bottom navigation style. */
.phone-screen[data-nav-style="floating"] .mobile-nav{position:absolute;left:14px;right:14px;bottom:12px;height:auto;padding:8px 6px;border-radius:999px;background:var(--nav-background,#fff);box-shadow:0 10px 30px rgba(15,18,24,.18),0 1px 2px rgba(15,18,24,.06);border-top:0}
.phone-screen[data-nav-style="floating"] .mobile-nav button{flex-direction:row;gap:5px;padding:8px 10px;border-radius:999px;color:var(--nav-inactive,#9297a1)}
.phone-screen[data-nav-style="floating"] .mobile-nav button span:not(.nav-svg){font-size:9px}
.phone-screen[data-nav-style="floating"] .mobile-nav button .nav-svg{width:16px;height:16px}
.phone-screen[data-nav-style="floating"] .mobile-nav button.active{background:color-mix(in srgb,var(--nav-active,var(--accent)) 14%,transparent);color:var(--nav-active,var(--accent))}
.phone-screen[data-nav-style="floating"] .mobile-nav i{top:2px;right:2px}
.phone-screen[data-nav-style="floating"][data-nav-size="compact"] .mobile-nav{padding:5px 4px}
.phone-screen[data-nav-style="floating"][data-nav-size="compact"] .mobile-nav button{padding:6px 8px}
.phone-screen[data-nav-style="floating"][data-nav-size="compact"] .mobile-nav button .nav-svg{width:13px;height:13px}
.phone-screen[data-nav-style="floating"][data-nav-size="compact"] .mobile-nav button span:not(.nav-svg){font-size:8px}
.phone-screen[data-nav-style="floating"][data-nav-size="large"] .mobile-nav{padding:11px 8px}
.phone-screen[data-nav-style="floating"][data-nav-size="large"] .mobile-nav button{padding:11px 14px}
.phone-screen[data-nav-style="floating"][data-nav-size="large"] .mobile-nav button .nav-svg{width:20px;height:20px}
.phone-screen[data-nav-style="floating"][data-nav-size="large"] .mobile-nav button span:not(.nav-svg){font-size:10px}
.phone-screen[data-nav-style="floating"] .mobile-nav{background:color-mix(in srgb,var(--nav-background,#fff) 88%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.phone-screen[data-nav-style="floating"] .storefront-scroll{inset:0 0 0}
.phone-screen[data-nav-style="floating"] .product-grid,.phone-screen[data-nav-style="floating"] .cart-view{padding-bottom:76px}
.phone-screen[data-nav-style="floating"][data-nav-size="compact"] .product-grid,.phone-screen[data-nav-style="floating"][data-nav-size="compact"] .cart-view{padding-bottom:64px}
.phone-screen[data-nav-style="floating"][data-nav-size="large"] .product-grid,.phone-screen[data-nav-style="floating"][data-nav-size="large"] .cart-view{padding-bottom:92px}

/* Category tree: root categories with one level of subcategories. */
.category-form{display:flex;gap:8px;flex-wrap:wrap}
.category-form select{border:1px solid var(--border-soft);border-radius:9px;padding:9px 11px;background:#fff}
.category-tree{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.category-node{display:flex;flex-direction:column;gap:4px}
.category-row{display:flex;align-items:center;gap:8px;background:#f8f9fb;border:1px solid var(--line);border-radius:9px;padding:6px 8px}
.category-row-child{margin-left:24px;background:#fff}
.category-name-input{flex:1;min-width:0;border:1px solid transparent;background:transparent;border-radius:6px;padding:5px 7px;font-size:12px;font-weight:600;color:var(--text)}
.category-name-input:hover,.category-name-input:focus{border-color:var(--border-soft);background:#fff;outline:0}
.category-row .link-btn{font-size:11px;white-space:nowrap;flex:0 0 auto}
.category-delete-btn{border:0;background:transparent;color:var(--danger);font-size:15px;line-height:1;flex:0 0 auto;padding:2px 4px}
.category-children{display:flex;flex-direction:column;gap:4px}
.category-drag-handle{flex:0 0 auto;cursor:grab;color:#9297a1;font-size:13px;padding:0 2px;user-select:none}
.category-row.dragging{opacity:.4}
.category-row.drop-target{border-color:var(--accent,#6a5cff);background:color-mix(in srgb,var(--accent,#6a5cff) 8%,#f8f9fb)}
@media(max-width:600px){.category-row{flex-wrap:wrap}.category-row-child{margin-left:12px}}
/* Tablet fix: earlier .builder-view rules above collapse to single column and hide the phone preview at <=950px, killing it on real tablets (iPad portrait etc). Override kept last so it wins the cascade. */
@media(max-width:950px) and (min-width:641px){
  .builder-view{grid-template-columns:minmax(300px,360px) 1fr!important}
  .preview-area{display:flex!important}
  .phone{transform:scale(.6);transform-origin:top center}
}
@media(max-width:640px){
  .builder-view{grid-template-columns:1fr!important}
  .preview-area{display:none!important}
}
.telegram-checklist{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin-bottom:16px;background:#f8f9fb}
.checklist-row{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:var(--muted)}
.checklist-row span{width:18px;height:18px;border-radius:50%;border:1px solid var(--border-mid);display:grid;place-items:center;font-size:11px;flex:0 0 auto}
.checklist-row.done{color:var(--text)}
.checklist-row.done span{background:#1a7f4b;border-color:#1a7f4b;color:#fff}
input[type=checkbox]{accent-color:var(--accent)}
.check-row{display:flex;align-items:center;gap:8px}
.settings-form{max-width:none!important}
#shopScreen .preview-sheet{inset:0}
.phone-screen .cart-view,.phone-screen .favorites-view{padding-top:16px!important}
.phone-screen .product-info>b{font-size:calc(10px * var(--shop-font-scale,1))}
.phone-screen .product-info strong{font-size:calc(11px * var(--shop-font-scale,1))}
.phone-screen[data-columns="3"] .product-info>b{font-size:calc(8px * var(--shop-font-scale,1))}
.phone-screen[data-columns="3"] .product-info strong{font-size:calc(8px * var(--shop-font-scale,1))}
.phone-screen .stock-line{font-size:calc(8px * var(--shop-font-scale,1))}
.phone-screen .shop-head h2{font-size:calc(16px * var(--shop-font-scale,1))}
.phone-screen .shop-head p{font-size:calc(10px * var(--shop-font-scale,1))}
.catalog-load-more{grid-column:1/-1;display:flex;justify-content:center;padding:14px 0}
.catalog-load-more button{border:1px solid var(--border-soft,#dfe2e7);background:#fff;color:var(--text);border-radius:10px;padding:10px 18px;font-weight:600;font-size:12px}
.catalog-spinner{width:20px;height:20px;border-radius:50%;border:2px solid var(--border-soft,#dfe2e7);border-top-color:var(--accent);animation:catalog-spin .7s linear infinite}
@keyframes catalog-spin{to{transform:rotate(360deg)}}
.chip-count{font-style:normal;opacity:.65;font-size:9px}
