/* Streltsov MiniApps Core 0.1.2 */
.sm-standalone { margin: 0; background: #f6f7fb; }
.sm-app { --sm-accent: #665cff; --sm-text: #1b2440; --sm-muted: #7a8497; --sm-border: #e7eaf2; --sm-surface: #fff; font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--sm-text); box-sizing: border-box; min-height: 100vh; -webkit-font-smoothing: antialiased; }
.sm-app *, .sm-app *::before, .sm-app *::after { box-sizing: border-box; }
.sm-app h1,.sm-app h2,.sm-app h3,.sm-app h4,.sm-app p { margin-top: 0; }
.sm-app h1,.sm-app h2,.sm-app h3 { font-family: inherit; font-weight: 760; letter-spacing: -.035em; line-height: 1.18; }
.sm-app h1 { font-size: clamp(28px,4vw,48px); }
.sm-app h2 { font-size: clamp(20px,2.1vw,26px); }
.sm-app p { color: var(--sm-muted); }
.sm-app a { text-decoration: none; color: inherit; }
.sm-app button,.sm-app input,.sm-app select,.sm-app textarea { font-family: inherit; font-size: inherit; }
.sm-app button { cursor: pointer; }
.sm-app button:disabled { opacity: .55; cursor: not-allowed; }
.sm-app input:not([type=checkbox]):not([type=color]):not([type=file]),.sm-app textarea,.sm-app select { border: 1px solid #dde3ef; border-radius: 11px; padding: 12px 13px; width: 100%; background: white; color: #1b2440; outline: none; transition: border-color .2s,box-shadow .2s; }
.sm-app input:focus,.sm-app textarea:focus,.sm-app select:focus { border-color: #867cff !important; box-shadow: 0 0 0 3px #6a61ff13; }
.sm-app textarea { resize: vertical; }
.sm-app input[type=file] { max-width: 100%; font-size: 12px; }
.sm-app label { display: flex; flex-direction: column; gap: 7px; font-weight: 630; font-size: 13px; }
.sm-app label small { font-weight: 400; color: var(--sm-muted); line-height: 1.4; }
.sm-app input[type=checkbox] { accent-color: #6559ff; }
.sm-app .sm-btn { display: inline-flex; gap: 8px; justify-content: center; align-items: center; text-align: center; min-height: 43px; border-radius: 12px; padding: 10px 17px; font-size: 13px; font-weight: 700; border: 1px solid transparent; background: transparent; color: inherit; transition: transform .2s,background .2s,box-shadow .2s; line-height: 1.1; }
.sm-app .sm-btn:hover { transform: translateY(-1px); }
.sm-app .sm-btn-primary { background: linear-gradient(135deg,#6264ff 0%,#875bff 100%); color: white; box-shadow: 0 7px 18px #6264ff2d; }
.sm-app .sm-btn-primary:hover { color: white; box-shadow: 0 9px 23px #6264ff4b; }
.sm-app .sm-btn-outline { background: white; border-color: #e1e5ef; color: #2b3454; }
.sm-app .sm-btn-ghost { color: inherit; border-color: #ffffff26; background: #ffffff13; }
.sm-app .sm-full { width: 100%; }
.sm-app .sm-topbar { display:flex; justify-content:space-between; align-items:center; gap: 16px; min-height: 84px; }
.sm-app .sm-brand { display:flex; align-items:center; gap: 7px; font-weight: 790; font-size: 19px; letter-spacing: -.045em; white-space: nowrap; }
.sm-app .sm-brand img { width: 38px; height: 38px; margin-right: 5px; }
.sm-app .sm-brand span { color: #9c8bff; }
.sm-app .sm-footer { font-size: 12px; color:#8f97ad; padding: 32px 0; text-align: center; }
.sm-app .sm-footer a { color:inherit; text-decoration: underline; text-underline-offset:2px; }
.sm-app .sm-loading { display: flex; min-height: 300px; justify-content:center; align-items:center; font-weight: 600; color:#697389; }
.sm-app .sm-eyebrow { display:inline-block; color:#9389ff; font-weight:770; font-size:11px; letter-spacing:.14em; text-transform: uppercase; margin-bottom:15px; }
.sm-landing { background: radial-gradient(ellipse 750px 480px at 75% 18%,#252162 0%,transparent 68%),radial-gradient(ellipse 560px 400px at 0% 90%,#162955 0%,transparent 70%),#0d1228; color: #f7f9ff; padding: 0 clamp(20px,5vw,80px); }
.sm-landing .sm-topbar,.sm-landing .sm-hero,.sm-landing .sm-benefits,.sm-landing .sm-footer { width: 100%; max-width: 1200px; margin: 0 auto; }
.sm-landing .sm-hero { padding: 90px 0 112px; position: relative; }
.sm-landing .sm-hero::before { content:'▣'; position:absolute; right:7%; top:85px; font-size:270px; line-height:1; color:#7c75ff12; transform:rotate(-12deg); pointer-events:none; }
.sm-landing .sm-hero h1 { font-size:clamp(43px,6.5vw,86px); margin:0 0 28px; max-width:820px; line-height:1.05; }
.sm-landing .sm-hero h1 em { font-style:normal; background:linear-gradient(90deg,#8beaff,#9b80ff); color:transparent; -webkit-background-clip:text; background-clip:text; }
.sm-landing .sm-hero p { color:#aeb9d3; font-size:18px; line-height:1.8; max-width:610px; margin:0 0 30px; }
.sm-landing .sm-hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.sm-landing .sm-hero-actions .sm-btn { min-height:50px; padding:14px 23px; }
.sm-landing .sm-hero-actions .sm-btn-outline { background:#ffffff0a;color:#f0efff;border-color:#4b5274; }
.sm-landing .sm-kicker { margin-top:23px; font-size:12px; color:#7f8bab; }
.sm-landing .sm-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding-bottom:85px; }
.sm-landing .sm-benefits > div { border-radius:20px; padding:29px; border:1px solid #6a70a037; background:#ffffff09; }
.sm-landing .sm-benefits span { color:#8b8bf5; font-size:12px; letter-spacing:.1em; font-weight:750; }
.sm-landing .sm-benefits h3 { font-size:20px; margin:22px 0 9px; }
.sm-landing .sm-benefits p { color:#a3aac4; margin:0; font-size:14px; }
.sm-landing .sm-footer { border-top:1px solid #ffffff1b; }
.sm-dashboard { background:#f6f7fb; }
.sm-dashboard-shell { max-width:1160px; padding:0 24px; margin:0 auto; }
.sm-dashboard .sm-topbar { border-bottom:1px solid #e4e8f1; }
.sm-dashboard .sm-brand { color:#202840; }
.sm-dashboard .sm-nav-right { display:flex; align-items:center; gap:12px; }
.sm-dashboard .sm-user-badge { color:#707a91; font-weight:600; font-size:12px; }
.sm-dashboard .sm-topbar .sm-btn-ghost { background:white; border:1px solid #e4e6f0; }
.sm-dashboard .sm-dash-heading { display:flex; justify-content:space-between; gap:20px; align-items:flex-end; padding:41px 0 26px; }
.sm-dashboard .sm-dash-heading .sm-eyebrow { margin-bottom:5px; }
.sm-dashboard .sm-dash-heading h1 { margin:0 0 7px; font-size:35px; }
.sm-dashboard .sm-dash-heading p { margin:0; }
.sm-dashboard .sm-heading-actions { display:flex; align-items:center; gap:10px; }
.sm-dashboard .sm-heading-actions select { width:auto; max-width:180px; }
.sm-dashboard .sm-tabs { display:flex; gap:12px; border-bottom:1px solid #e1e5ee; overflow-x:auto; scrollbar-width:thin; }
.sm-dashboard .sm-tabs button { background:transparent; border:0; color:#78839a; font-weight:700; font-size:14px; padding:15px 13px; border-bottom:3px solid transparent; white-space:nowrap; }
.sm-dashboard .sm-tabs button.active { color:#6055e9; border-bottom-color:#6e5dff; }
.sm-dashboard .sm-dash-body { padding:27px 0 75px; }
.sm-dashboard .sm-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:17px; margin-bottom:23px; }
.sm-dashboard .sm-stat,.sm-dashboard .sm-panel,.sm-dashboard .sm-order-card,.sm-dashboard .sm-table-wrap { background:#fff; border:1px solid #e6e9f1; border-radius:19px; box-shadow:0 5px 25px #1d2c4e06; }
.sm-dashboard .sm-stat { padding:26px 25px; display:flex; flex-direction:column; gap:2px; }
.sm-dashboard .sm-stat span { color:#737f97; font-weight:600; font-size:13px; }
.sm-dashboard .sm-stat strong { font-size:35px; letter-spacing:-.05em; }
.sm-dashboard .sm-stat small { color:#9ca6b8; }
.sm-dashboard .sm-stat-link { width:100%; text-align:left; cursor:pointer; font:inherit; color:inherit; transition:border-color .16s,box-shadow .16s,transform .16s; }
.sm-dashboard .sm-stat-link:hover { border-color:#beb9ff; box-shadow:0 10px 30px #5349ce17; transform:translateY(-2px); }
.sm-dashboard .sm-stat-link:focus-visible { outline:3px solid #786bff; outline-offset:3px; }
.sm-dashboard .sm-stat-link small { color:#6255dd; font-weight:650; }
.sm-dashboard .sm-order-filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 17px; }
.sm-dashboard .sm-order-filters button { border:1px solid #e1e5ef; background:#fff; color:#5d687f; border-radius:999px; padding:8px 15px; font-size:13px; font-weight:700; transition:background .15s,border-color .15s; }
.sm-dashboard .sm-order-filters button.active { color:#5849de; border-color:#bfb7ff; background:#f1efff; }
.sm-dashboard .sm-order-filters button:focus-visible { outline:3px solid #786bff; outline-offset:2px; }

.sm-dashboard .sm-panel { padding:27px; }
.sm-dashboard .sm-panel-header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:7px; }
.sm-dashboard .sm-panel-header h2 { margin:0; }
.sm-dashboard .sm-panel p { font-size:14px; }
.sm-dashboard .sm-light-dot { font-size:12px; color:#169f73; font-weight:700; }
.sm-dashboard .sm-linkbox { display:flex; gap:10px; margin:22px 0; }
.sm-dashboard .sm-linkbox input { flex:1; }
.sm-dashboard .sm-notice { border-radius:12px; color:#505f81; background:#f4f5ff; font-size:13px; padding:14px 16px; }
.sm-dashboard .sm-quick-actions { display:flex; gap:10px; margin-top:19px; }
.sm-dashboard .sm-first-store,.sm-dashboard .sm-login { margin:55px auto; max-width:620px; text-align:center; }
.sm-dashboard .sm-first-store h1 { font-size:42px; }
.sm-dashboard .sm-create-box { max-width:450px; margin:30px auto; padding:23px; border-radius:20px; background:white; border:1px solid #e7e9f2; display:grid; gap:13px; text-align:left; }
.sm-dashboard .sm-empty { padding:65px 20px; background:white; border:1px dashed #d9dfeb; border-radius:20px; color:#8490a3; text-align:center; }
.sm-dashboard .sm-login .sm-btn { display:flex; margin:12px auto; max-width:340px; }
.sm-dashboard .sm-empty-icon { font-size:55px; color:#8477f4; }
.sm-dashboard .sm-section-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:19px; }
.sm-dashboard .sm-section-heading h2 { margin:0 0 7px; }
.sm-dashboard .sm-section-heading p { margin:0; }
.sm-dashboard .sm-form-panel { margin-bottom:24px; }
.sm-dashboard .sm-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:22px 0; }
.sm-dashboard .sm-form-grid .sm-field-full { grid-column:1/-1; }
.sm-dashboard .sm-form-grid .sm-inline { display:flex; flex-direction:row; align-items:center; }
.sm-dashboard input[type=color] { padding:3px; height:45px; width:78px; cursor:pointer; }
.sm-dashboard .sm-form-actions { display:flex; gap:10px; padding-top:8px; }
.sm-dashboard .sm-close-text { border:0; background:#f4f5fb; padding:8px 12px; border-radius:9px; font-size:16px; }
.sm-dashboard .sm-table-wrap { overflow-x:auto; }
.sm-dashboard .sm-table { width:100%; border-collapse:collapse; font-size:13px; }
.sm-dashboard .sm-table th { background:#fbfbfd; color:#8791a3; font-size:12px; text-align:left; padding:16px 20px; font-weight:650; }
.sm-dashboard .sm-table td { padding:17px 20px; border-top:1px solid #eef0f5; vertical-align:middle; }
.sm-dashboard .sm-small-thumb { width:49px; height:49px; background:#f1f1f8; border-radius:10px; overflow:hidden; flex-shrink:0; }
.sm-dashboard .sm-small-thumb img { width:100%; height:100%; object-fit:cover; }
.sm-dashboard .sm-product-table-name { display:flex; gap:12px; align-items:center; min-width:155px; }
.sm-dashboard .sm-no-photo { display:grid; place-items:center; height:100%; font-size:25px; color:#a5a8ba; }
.sm-dashboard .sm-td-actions { white-space:nowrap; }
.sm-dashboard .sm-td-actions button { border:0; background:transparent; color:#655af0; font-weight:700; font-size:12px; padding:7px; }
.sm-dashboard .sm-td-actions button.sm-danger { color:#d5657d; }
.sm-dashboard .sm-status { font-size:11px; font-weight:750; border-radius:20px; padding:6px 10px; background:#f1f2f6; color:#8390a2; white-space:nowrap; }
.sm-dashboard .sm-status-good { color:#148665; background:#e7faf2; }
.sm-dashboard .sm-order-list { display:grid; gap:16px; }
.sm-dashboard .sm-order-card { padding:21px 25px; }
.sm-dashboard .sm-order-head { display:flex; justify-content:space-between; gap:14px; align-items:center; padding-bottom:17px; border-bottom:1px solid #edf0f6; }
.sm-dashboard .sm-order-head div { display:flex; flex-direction:column; }
.sm-dashboard .sm-order-head span:not(.sm-status) { color:#929cad; font-size:12px; }
.sm-dashboard .sm-order-data { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; padding:18px 0; }
.sm-dashboard .sm-order-data div { display:flex; flex-direction:column; }
.sm-dashboard .sm-order-data small { color:#8490a0; margin-bottom:4px; }
.sm-dashboard .sm-order-items { font-size:13px; background:#fafbff; border-radius:10px; padding:13px 15px; }
.sm-dashboard .sm-order-items > div { margin:4px 0; }
.sm-dashboard .sm-order-items p { margin:7px 0 0; }
.sm-dashboard .sm-order-actions { display:flex; justify-content:end; margin-top:16px; }
.sm-dashboard .sm-order-actions label { flex-direction:row; align-items:center; }
.sm-dashboard .sm-order-actions select { min-width:152px; }
.sm-shop { min-height:100vh; background:#f6f7fc; color:#1d2440; }
.sm-shop .sm-store-wrap { max-width:1100px; margin:0 auto; padding:0 22px; }
.sm-shop .sm-store-top { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:88px; }
.sm-shop .sm-store-identity { display:flex; gap:11px; align-items:center; min-width:0; }
.sm-shop .sm-store-identity img,.sm-shop .sm-store-default-logo { height:47px; width:47px; border-radius:13px; object-fit:cover; background:var(--sm-accent); color:white; display:grid; place-items:center; font-size:26px; flex-shrink:0; }
.sm-shop .sm-store-identity h1 { font-size:17px; margin:0; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; max-width:450px; }
.sm-shop .sm-store-identity span { font-size:11px; color:#8690a1; }
.sm-shop .sm-cart-button { display:flex; align-items:center; gap:9px; border:1px solid #e4e7f0; border-radius:12px; background:white; color:#2d3654; font-weight:750; padding:11px 14px; }
.sm-shop .sm-cart-button span { background:var(--sm-accent); color:white; border-radius:20px; display:grid; min-width:21px; height:21px; place-items:center; padding:0 5px; font-size:11px; }
.sm-shop .sm-store-hero { padding:42px 50px; min-height:220px; border-radius:25px; background:linear-gradient(115deg, #151d41, #352c70); color:#fff; display:flex; align-items:center; justify-content:space-between; overflow:hidden; position:relative; }
.sm-shop .sm-store-hero h2 { font-size:clamp(28px,4vw,43px); margin:0 0 9px; }
.sm-shop .sm-store-hero p { color:#c4c6e7; max-width:540px; margin:0; font-size:14px; }
.sm-shop .sm-store-hero .sm-eyebrow { margin-bottom:7px; color:#9ac6ff; }
.sm-shop .sm-hero-glyph { font-size:170px; line-height:1; color:#a7a6ff1f; transform:rotate(-15deg); }
.sm-shop .sm-category-list { display:flex; flex-wrap:nowrap; overflow:auto; gap:8px; padding:28px 0 19px; scrollbar-width:none; }
.sm-shop .sm-category-list button { border:1px solid #e5e8f0; border-radius:30px; background:#fff; color:#636f88; padding:9px 17px; white-space:nowrap; font-weight:650; font-size:12px; }
.sm-shop .sm-category-list button.active { background:var(--sm-accent); color:white; border-color:transparent; }
.sm-shop .sm-catalog-title { display:flex; justify-content:space-between; align-items:center; margin:10px 0 19px; }
.sm-shop .sm-catalog-title h2 { margin:0; font-size:23px; }
.sm-shop .sm-catalog-title span { color:#8792a6; font-size:12px; }
.sm-shop .sm-products-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.sm-shop .sm-product-card { background:white; border:1px solid #e7eaf2; border-radius:17px; overflow:hidden; min-width:0; transition:transform .2s; }
.sm-shop .sm-product-card:hover { transform:translateY(-2px); }
.sm-shop .sm-product-image { aspect-ratio:1 / .9; background:linear-gradient(135deg,#eeeefa,#e1e5f5); overflow:hidden; }
.sm-shop .sm-product-image img { height:100%; width:100%; object-fit:cover; }
.sm-shop .sm-no-photo { display:grid; place-items:center; height:100%; color:#a8aace; font-size:65px; }
.sm-shop .sm-product-content { padding:15px; }
.sm-shop .sm-product-category { color:var(--sm-accent); text-transform:uppercase; letter-spacing:.055em; font-weight:750; font-size:10px; }
.sm-shop .sm-product-content h3 { font-size:16px; margin:5px 0 8px; overflow-wrap:anywhere; }
.sm-shop .sm-product-content p { font-size:12px; line-height:1.5; color:#858fa2; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; min-height:35px; }
.sm-shop .sm-product-bottom { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-top:13px; }
.sm-shop .sm-product-bottom b { font-size:16px; white-space:nowrap; }
.sm-shop .sm-product-bottom button { border:0; border-radius:10px; height:36px; width:36px; background:var(--sm-accent); color:white; font-size:24px; line-height:1; }
.sm-shop .sm-store-footer { text-align:center; font-size:12px; color:#9ca4b7; padding:52px 0 30px; }
.sm-shop .sm-store-footer a { text-decoration:underline; text-underline-offset:3px; }
.sm-shop .sm-empty { padding:50px 20px; text-align:center; color:#8a94a8; grid-column:1/-1; }
.sm-shop .sm-cart-overlay { position:fixed; inset:0; background:#11182db0; display:flex; justify-content:flex-end; z-index:999999; }
.sm-shop .sm-cart-drawer { width:min(100%,460px); min-height:100vh; overflow-y:auto; padding:25px; background:white; display:flex; flex-direction:column; box-shadow:-15px 0 65px #111b3030; }
.sm-shop .sm-cart-head { display:flex; justify-content:space-between; align-items:center; padding-bottom:20px; border-bottom:1px solid #edf0f5; }
.sm-shop .sm-cart-head h2 { margin:0; font-size:25px; }
.sm-shop .sm-cart-head button { height:35px; width:35px; background:#f5f6fa; border:0; border-radius:10px; }
.sm-shop .sm-cart-lines { padding:18px 0; flex:1; }
.sm-shop .sm-cart-line { display:flex; gap:13px; padding:13px 0; border-bottom:1px solid #eef0f5; }
.sm-shop .sm-cart-line-photo { width:70px; height:70px; border-radius:10px; overflow:hidden; flex-shrink:0; background:#eceef7; }
.sm-shop .sm-cart-line-photo img { width:100%; height:100%; object-fit:cover; }
.sm-shop .sm-cart-line-main { display:flex; flex-direction:column; flex:1; gap:4px; }
.sm-shop .sm-cart-line-main > span { font-size:13px; color:#64708a; }
.sm-shop .sm-quantity { display:flex; align-items:center; gap:14px; margin-top:4px; }
.sm-shop .sm-quantity button { border:0; border-radius:8px; background:#eff1f8; font-weight:700; width:29px; height:27px; font-size:18px; }
.sm-shop .sm-cart-footer { margin-top:auto; padding-top:20px; border-top:1px solid #edf0f5; }
.sm-shop .sm-cart-total { display:flex; justify-content:space-between; align-items:center; margin:14px 0 21px; }
.sm-shop .sm-cart-total span { font-size:14px; color:#8690a3; }
.sm-shop .sm-cart-total strong { font-size:24px; }
.sm-shop .sm-checkout-form { display:flex; flex-direction:column; gap:17px; padding-top:17px; }
.sm-shop .sm-checkout-form p { font-size:13px; }
.sm-shop .sm-checkout-form label { font-size:13px; }
.sm-shop .sm-checkout-form .sm-checkbox-line { display:block; line-height:1.55; font-weight:500; }
.sm-shop .sm-checkout-form .sm-checkbox-line input { margin:0 7px 0 0; vertical-align:middle; }
.sm-shop .sm-checkbox-line a { color:#5d51e6; text-decoration:underline; }
.sm-shop .sm-alert { border-radius:10px; padding:14px; background:#fff2e1; color:#a15b0f; }
.sm-shop .sm-hidden-honeypot { position:absolute; left:-10000px; width:1px; height:1px; opacity:0; }
.sm-shop .sm-success { padding:55px 0; text-align:center; }
.sm-shop .sm-success-icon { width:80px; height:80px; margin:0 auto 18px; border-radius:50%; display:grid; place-items:center; color:white; background:#23ad80; font-size:40px; }
.sm-shop .sm-success h3 { font-size:24px; }
.sm-shop .sm-success .sm-btn { margin-top:14px; }
.sm-toast { position:fixed; left:50%; transform:translate(-50%,20px); bottom:27px; background:#20294b; color:white; border-radius:11px; font-size:13px; padding:13px 19px; z-index:1000000; opacity:0; pointer-events:none; transition:opacity .2s,transform .2s; max-width:90vw; text-align:center; box-shadow:0 12px 24px #15182c40; }
.sm-toast.visible { opacity:1; transform:translate(-50%,0); }
.sm-toast.sm-toast-error { background:#b83f59; }
@media (max-width:900px) { .sm-shop .sm-products-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .sm-dashboard .sm-user-badge { display:none; } }
@media (max-width:650px) {
 .sm-app { font-size:14px; }
 .sm-app .sm-topbar { min-height:72px; }
 .sm-app .sm-brand { font-size:16px; }
 .sm-app .sm-brand img { width:34px; height:34px; margin-right:0; }
 .sm-app .sm-btn { font-size:12px; padding:11px 14px; }
 .sm-landing { padding:0 19px; }
 .sm-landing .sm-hero { padding:62px 0 73px; }
 .sm-landing .sm-hero::before { font-size:150px; top:60px; right:0; }
 .sm-landing .sm-hero h1 { font-size:44px; }
 .sm-landing .sm-hero p { font-size:15px; }
 .sm-landing .sm-benefits { grid-template-columns:1fr; padding-bottom:50px; }
 .sm-landing .sm-benefits > div { padding:22px; }
 .sm-dashboard-shell { padding:0 15px; }
 .sm-dashboard .sm-nav-right .sm-btn { font-size:11px; }
 .sm-dashboard .sm-dash-heading { padding:31px 0 19px; align-items:flex-start; flex-direction:column; }
 .sm-dashboard .sm-dash-heading h1 { font-size:28px; }
 .sm-dashboard .sm-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
 .sm-dashboard .sm-stat { padding:17px 10px; }
 .sm-dashboard .sm-stat span { font-size:11px; }
 .sm-dashboard .sm-stat strong { font-size:27px; }
 .sm-dashboard .sm-stat small { font-size:10px; }
 .sm-dashboard .sm-panel { padding:19px; }
 .sm-dashboard .sm-panel-header { align-items:flex-start; }
 .sm-dashboard .sm-linkbox,.sm-dashboard .sm-section-heading { flex-direction:column; align-items:stretch; }
 .sm-dashboard .sm-form-grid { grid-template-columns:1fr; gap:14px; }
 .sm-dashboard .sm-quick-actions,.sm-dashboard .sm-form-actions { flex-wrap:wrap; }
 .sm-dashboard .sm-order-data { grid-template-columns:1fr 1fr; }
 .sm-dashboard .sm-first-store h1 { font-size:33px; }
 .sm-shop .sm-store-wrap { padding:0 14px; }
 .sm-shop .sm-store-top { min-height:76px; }
 .sm-shop .sm-store-identity img,.sm-shop .sm-store-default-logo { width:40px; height:40px; }
 .sm-shop .sm-store-identity h1 { max-width:175px; font-size:15px; }
 .sm-shop .sm-cart-button { padding:9px 10px; font-size:12px; }
 .sm-shop .sm-store-hero { min-height:195px; padding:28px 25px; border-radius:19px; }
 .sm-shop .sm-hero-glyph { display:none; }
 .sm-shop .sm-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .sm-shop .sm-product-content { padding:11px; }
 .sm-shop .sm-product-content h3 { font-size:14px; }
 .sm-shop .sm-product-content p { font-size:11px; }
 .sm-shop .sm-product-bottom b { font-size:14px; }
 .sm-shop .sm-product-bottom button { width:31px; height:31px; }
 .sm-shop .sm-cart-drawer { padding:19px; }
}
@media (max-width:360px) { .sm-shop .sm-store-identity h1 { max-width:120px; } .sm-shop .sm-product-bottom b { font-size:12px; } }

/* 0.2.0 · shareable store links */
.sm-dashboard .sm-telegram-share { margin:18px 0; padding:19px; border:1px solid #dfdbff; border-radius:17px; background:linear-gradient(145deg,#f5f3ff,#fff); }
.sm-dashboard .sm-share-heading { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.sm-dashboard .sm-share-heading strong { color:#282a51; font-size:17px; }
.sm-dashboard .sm-share-heading p { color:#67718a; margin:3px 0 5px; font-size:13px; }
.sm-dashboard .sm-share-badge { color:#6758dc; background:#e8e4ff; border-radius:99px; padding:5px 9px; font-weight:750; font-size:10px; letter-spacing:.03em; }
.sm-dashboard .sm-telegram-share .sm-linkbox { margin:12px 0; }
.sm-dashboard .sm-share-actions { display:flex; gap:9px; flex-wrap:wrap; }
.sm-dashboard .sm-telegram-share small { display:block; margin-top:12px; color:#7e8399; line-height:1.5; }
.sm-dashboard .sm-share-warning { color:#a84949; }
.sm-shop .sm-store-head-actions { display:flex; align-items:center; gap:7px; }
.sm-shop .sm-store-share { color:#6556dc; border:1px solid #ded9ff; background:#f4f2ff; padding:10px 12px; border-radius:12px; font-weight:700; font-size:12px; }
@media(max-width:650px) {
 .sm-dashboard .sm-telegram-share { padding:14px; }
 .sm-dashboard .sm-telegram-linkbox { flex-direction:column; }
 .sm-dashboard .sm-telegram-linkbox input { width:100%; min-width:0; font-size:12px; }
 .sm-dashboard .sm-telegram-linkbox .sm-btn { width:100%; }
 .sm-dashboard .sm-share-actions .sm-btn { flex:1; }
 .sm-shop .sm-store-head-actions { gap:5px; }
 .sm-shop .sm-store-share { font-size:11px; padding:9px 7px; }
}
@media(max-width:365px) { .sm-shop .sm-store-share { font-size:0; min-width:35px; } .sm-shop .sm-store-share::before { content:'↗'; font-size:18px; } }
/* Streltsov MiniApps 0.3.0 · Universal Commerce Design System */
.sm-app { --sm-ink:#222846; --sm-lav:#f3f0ff; --sm-shadow:0 14px 36px rgba(56,43,118,.10); color:var(--sm-ink); }
.sm-app .sm-ico { width:19px; height:19px; flex:0 0 auto; display:inline-block; vertical-align:middle; }
.sm-app .sm-sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.sm-app button:focus-visible,.sm-app a:focus-visible { outline:3px solid #6257ee; outline-offset:3px; }
.sm-app .sm-btn-primary { background:linear-gradient(125deg,#567cff,var(--sm-accent,#7954ef)); box-shadow:0 9px 22px rgba(104,83,224,.19); }
.sm-app .sm-btn { border-radius:15px; }
/* Seller dashboard */
.sm-dashboard { background:radial-gradient(ellipse at 100% 0%,#eee9ff 0,transparent 48%),#f7f7fe; }
.sm-dashboard .sm-v3-shell { width:100%; max-width:1140px; }
.sm-dashboard .sm-v3-topbar { border:0; min-height:78px; }
.sm-dashboard .sm-back-home { font-size:12px; border-radius:99px; }
.sm-dashboard .sm-merchant-hero { position:relative; isolation:isolate; overflow:hidden; border-radius:29px; min-height:242px; background:linear-gradient(115deg,#4d4089,#6955b7 56%,#a386d7); box-shadow:0 19px 40px #6554b730; color:white; }
.sm-dashboard .sm-merchant-art { position:absolute; inset:0 0 0 auto; width:57%; z-index:-1; display:grid; place-items:center; overflow:hidden; }
.sm-dashboard .sm-merchant-art:after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#54458d 0%,#51408b45 60%,#51408b15); }
.sm-dashboard .sm-merchant-art img { width:100%; height:100%; object-fit:cover; }
.sm-dashboard .sm-merchant-art > span { font-size:220px; color:#ffffff24; transform:rotate(20deg); }
.sm-dashboard .sm-merchant-copy { padding:32px 40px; width:100%; }
.sm-dashboard .sm-merchant-copy .sm-eyebrow { font-size:11px; color:#eee4ff; margin:0 0 10px; }
.sm-dashboard .sm-merchant-copy h1 { color:#fff; font-size:clamp(25px,3.8vw,39px); margin:0 0 9px; }
.sm-dashboard .sm-merchant-copy > p { color:#ede8ff; max-width:360px; font-size:14px; margin:0; }
.sm-dashboard .sm-merchant-bottom { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:30px; }
.sm-dashboard .sm-merchant-store { display:flex; align-items:center; gap:11px; min-width:0; }
.sm-dashboard .sm-merchant-store > img,.sm-dashboard .sm-merchant-store > span { width:47px; height:47px; border-radius:14px; background:#ffffff38; border:1px solid #ffffff55; object-fit:cover; display:grid; place-items:center; flex:none; }
.sm-dashboard .sm-merchant-store strong { font-size:15px; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sm-dashboard .sm-merchant-store small { color:#e8ddff; display:block; font-size:11px; }
.sm-dashboard .sm-merchant-store .sm-ico { width:24px; height:24px; }
.sm-dashboard .sm-hero-open { background:#fff; color:#4436a7; border-radius:99px; min-height:44px; white-space:nowrap; box-shadow:0 6px 15px #33246620; }
.sm-dashboard .sm-store-switch { margin-top:16px; max-width:340px; }
.sm-dashboard .sm-v3-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0 0; border:0; overflow:visible; }
.sm-dashboard .sm-v3-tabs button { display:flex; justify-content:center; align-items:center; gap:9px; color:#343657; background:rgba(255,255,255,.87); border:1px solid #e6e2f5; padding:15px 12px; border-radius:99px; min-width:0; box-shadow:0 4px 12px #4130750b; }
.sm-dashboard .sm-v3-tabs button.active { color:#fff; background:linear-gradient(125deg,#5d81fa,#7747ee); border:1px solid transparent; box-shadow:0 9px 20px #7055ee43; }
.sm-dashboard .sm-v3-tabs .sm-ico { width:19px; height:19px; }
.sm-dashboard .sm-dash-body { padding:22px 0 65px; }
.sm-dashboard .sm-v3-stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:22px; }
.sm-dashboard .sm-v3-stats .sm-stat { min-height:162px; padding:20px; position:relative; display:flex; flex-direction:column; justify-content:flex-start; text-align:left; border:1px solid #e9e5f5; border-radius:22px; background:linear-gradient(145deg,#fff,#f8f5ff); box-shadow:var(--sm-shadow); color:#272b50; }
.sm-dashboard .sm-v3-stats .sm-kpi-icon,.sm-dashboard .sm-v3-share .sm-kpi-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:13px; background:#ede7ff; color:#7754e9; margin-bottom:12px; }
.sm-dashboard .sm-v3-stats .sm-stat > span:not(.sm-kpi-icon) { color:#5d607b; font-size:12px; line-height:1.3; }
.sm-dashboard .sm-v3-stats .sm-stat strong { font-size:clamp(22px,2.3vw,30px); margin:5px 0 2px; color:#242846; line-height:1.2; overflow-wrap:anywhere; }
.sm-dashboard .sm-v3-stats .sm-stat small { font-size:11px; color:#7e799b; display:flex; align-items:center; gap:5px; margin-top:auto; }
.sm-dashboard .sm-v3-stats .sm-stat small .sm-ico { width:13px; height:13px; }
.sm-dashboard .sm-v3-share { padding:22px 25px; border:1px solid #e4dcff; background:linear-gradient(105deg,#eee8ff,#faf8ff 62%,#e8e1fc); box-shadow:var(--sm-shadow); }
.sm-dashboard .sm-v3-share-title { display:flex; gap:14px; align-items:center; }
.sm-dashboard .sm-v3-share .sm-kpi-icon { margin:0; width:48px; height:48px; color:#fff; background:linear-gradient(135deg,#747cff,#7954ec); }
.sm-dashboard .sm-v3-share h2 { font-size:18px; margin:0 0 3px; }
.sm-dashboard .sm-v3-share p { font-size:12px; margin:0; }
.sm-dashboard .sm-v3-share-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:16px; }
.sm-dashboard .sm-v3-share-row input { min-width:0; flex:1 1 260px; font-size:13px; background:#fff !important; border-radius:14px !important; }
.sm-dashboard .sm-v3-share-row .sm-btn { white-space:nowrap; }
.sm-dashboard .sm-v3-recent { margin-top:27px; }
.sm-dashboard .sm-v3-recent .sm-section-heading { margin-bottom:14px; }
.sm-dashboard .sm-v3-recent .sm-section-heading h2,.sm-dashboard .sm-v3-actions h2 { font-size:22px; margin:0 0 6px; }
.sm-dashboard .sm-v3-recent-list { background:#fff; border:1px solid #ece8f5; border-radius:22px; padding:8px 18px; box-shadow:var(--sm-shadow); }
.sm-dashboard .sm-v3-recent-row { width:100%; border:0; border-bottom:1px solid #f0edf7; padding:14px 4px; display:flex; align-items:center; gap:13px; text-align:left; background:transparent; min-width:0; color:#282b48; }
.sm-dashboard .sm-v3-recent-row:last-child { border:0; }
.sm-dashboard .sm-recent-symbol { width:44px; height:44px; display:grid; place-items:center; color:#7459eb; background:#f0eaff; border-radius:14px; flex:none; }
.sm-dashboard .sm-recent-name { flex:1; min-width:0; }
.sm-dashboard .sm-recent-name strong { display:block; font-size:13px; }
.sm-dashboard .sm-recent-name small { display:block; font-size:11px; color:#8b90a5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sm-dashboard .sm-recent-price { font-size:14px; font-weight:800; white-space:nowrap; }
.sm-dashboard .sm-v3-recent-row > .sm-ico { width:14px; color:#a4a1ba; }
.sm-dashboard .sm-order-new { background:#f2eaff; color:#7550c7; }
.sm-dashboard .sm-order-processing { background:#e8f0ff; color:#376bd2; }
.sm-dashboard .sm-order-completed { background:#e5f8ee; color:#148557; }
.sm-dashboard .sm-order-cancelled { background:#fff0f1; color:#ad5060; }
.sm-dashboard .sm-v3-actions { margin-top:28px; }
.sm-dashboard .sm-v3-action-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:13px; }
.sm-dashboard .sm-v3-action-grid button { display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:20px; background:#fff; border:1px solid #eae5f7; border-radius:20px; min-width:0; text-align:left; color:#2e3053; box-shadow:0 8px 23px #544c8b13; }
.sm-dashboard .sm-v3-action-grid button:first-child { background:linear-gradient(125deg,#6179fa,#8f46f1); color:#fff; }
.sm-dashboard .sm-v3-action-grid .sm-ico { width:25px; height:25px; margin-bottom:5px; }
.sm-dashboard .sm-v3-action-grid strong { font-size:14px; }
.sm-dashboard .sm-v3-action-grid small { font-size:11px; color:#8e8fa4; }
.sm-dashboard .sm-v3-action-grid button:first-child small { color:#eae2ff; }
.sm-dashboard .sm-v3-form { box-shadow:var(--sm-shadow); }
.sm-dashboard .sm-v3-form > h3 { font-size:17px; margin:11px 0 12px; }
.sm-dashboard .sm-v3-form > h3:not(:first-child) { margin-top:28px; padding-top:23px; border-top:1px solid #efebf5; }
.sm-dashboard .sm-form-panel .sm-btn-primary { min-height:46px; }
.sm-dashboard .sm-table-wrap,.sm-dashboard .sm-order-card { box-shadow:var(--sm-shadow); }
/* Universal customer storefront */
.sm-shop { background:radial-gradient(ellipse at 4% 0%,#ece5ff 0%,transparent 45%),#f8f7fe; color:#252946; }
.sm-shop[data-theme="ocean"] { background:#f3f8ff; }
.sm-shop[data-theme="rose"] { background:#fff6fb; }
.sm-shop[data-theme="emerald"] { background:#f1faf7; }
.sm-shop[data-theme="amber"] { background:#fffaf3; }
.sm-shop[data-theme="noir"] { background:#f4f5fa; }
.sm-shop .sm-v3-store { max-width:1120px; }
.sm-shop .sm-v3-store-top { min-height:90px; }
.sm-shop .sm-store-identity img,.sm-shop .sm-store-default-logo { width:50px; height:50px; border-radius:15px; box-shadow:0 4px 15px #29204c18; }
.sm-shop .sm-store-default-logo { background:linear-gradient(135deg,#686ff0,var(--sm-accent)); }
.sm-shop .sm-store-default-logo .sm-ico { width:26px; height:26px; }
.sm-shop .sm-store-identity h1 { color:#252646; font-size:18px; }
.sm-shop .sm-store-identity span { font-size:12px; }
.sm-shop .sm-store-share { display:flex; gap:7px; align-items:center; background:#fff; color:#43415e; border:1px solid #e8e4f1; border-radius:99px; box-shadow:0 4px 13px #2d254011; padding:10px 15px; }
.sm-shop .sm-cart-button { border-radius:99px; min-height:43px; background:white; box-shadow:0 5px 15px #3124470b; }
.sm-shop .sm-cart-button .sm-ico { width:20px; height:20px; }
.sm-shop .sm-cart-button span { background:var(--sm-accent); }
.sm-shop .sm-v3-hero { position:relative; min-height:265px; display:block; isolation:isolate; border-radius:27px; padding:38px 42px; background:linear-gradient(116deg,#403576,#6954c1); box-shadow:0 16px 38px #5b4da529; }
.sm-shop .sm-v3-hero-photo,.sm-shop .sm-v3-hero-art { position:absolute; inset:0; width:100%; height:100%; z-index:-2; object-fit:cover; object-position:center; }
.sm-shop .sm-v3-hero-art { color:#ffffff22; font-size:230px; display:grid; place-items:center; }
.sm-shop .sm-v3-hero-tint { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#211c49e8 0%,#2a2457c4 33%,#32275d6b 67%,#30225735 100%); }
.sm-shop .sm-v3-hero-content { position:relative; max-width:680px; }
.sm-shop .sm-v3-hero .sm-eyebrow { color:#ded2ff; font-size:11px; letter-spacing:.17em; margin:0 0 11px; }
.sm-shop .sm-v3-hero h2 { color:white; max-width:460px; font-size:clamp(28px,4.5vw,45px); letter-spacing:-.045em; margin:0 0 10px; }
.sm-shop .sm-v3-hero p { color:#f1eaff; max-width:410px; font-size:14px; line-height:1.6; }
.sm-shop .sm-v3-benefits { display:flex; flex-wrap:wrap; gap:10px 22px; align-items:center; margin-top:25px; }
.sm-shop .sm-v3-benefits span { display:flex; align-items:center; gap:7px; font-size:12px; color:#f6f0ff; }
.sm-shop .sm-v3-benefits .sm-ico { width:17px; height:17px; }
.sm-shop .sm-v3-categories { gap:9px; padding:25px 0 19px; }
.sm-shop .sm-v3-categories button { display:flex; align-items:center; gap:7px; padding:11px 18px; font-size:13px; font-weight:740; border-radius:99px; color:#393a5c; border:1px solid #e9e6f5; box-shadow:0 5px 14px #302c5810; }
.sm-shop .sm-v3-categories button.active { background:linear-gradient(125deg,#6477f3,var(--sm-accent)); box-shadow:0 6px 17px #6552b333; color:white; }
.sm-shop .sm-v3-categories .sm-ico { width:17px; height:17px; }
.sm-shop .sm-v3-catalog-title { margin:8px 0 20px; gap:12px; }
.sm-shop .sm-v3-catalog-title h2 { font-size:clamp(21px,2.4vw,26px); }
.sm-shop .sm-v3-catalog-title p { font-size:12px; margin:4px 0 0; }
.sm-shop .sm-v3-sort { display:flex; min-width:0; position:relative; }
.sm-shop .sm-v3-sort select { padding:10px 28px 10px 13px; border-radius:99px; box-shadow:0 4px 13px #322b4010; color:#4b4a66; border:1px solid #e6e1f2; background:#fff; font-size:12px; font-weight:650; max-width:190px; }
.sm-shop .sm-v3-products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.sm-shop .sm-v3-card { border:1px solid #efebf4; border-radius:22px; box-shadow:var(--sm-shadow); overflow:hidden; background:#fff; }
.sm-shop .sm-v3-card .sm-product-image { aspect-ratio:1 / .88; position:relative; background:linear-gradient(130deg,#f6f0ff,#e8e3f8); }
.sm-shop .sm-v3-photo-open { padding:0; width:100%; height:100%; border:0; background:transparent; display:block; }
.sm-shop .sm-v3-photo-open img { height:100%; width:100%; object-fit:cover; }
.sm-shop .sm-v3-photo-open .sm-no-photo { font-size:56px; }
.sm-shop .sm-v3-card .sm-product-content { padding:17px; }
.sm-shop .sm-v3-card .sm-product-content h3 { font-size:16px; line-height:1.28; }
.sm-shop .sm-v3-card .sm-product-content p { font-size:12px; min-height:34px; }
.sm-shop .sm-v3-card .sm-product-bottom { margin-top:11px; }
.sm-shop .sm-v3-card .sm-product-bottom b { font-size:18px; letter-spacing:-.045em; }
.sm-shop .sm-v3-card .sm-product-bottom button { width:40px; height:40px; border-radius:13px; background:linear-gradient(135deg,#6481ff,var(--sm-accent)); display:grid; place-items:center; box-shadow:0 7px 17px #6557be3a; }
.sm-shop .sm-v3-badge { position:absolute; top:12px; left:12px; z-index:2; padding:6px 10px; border-radius:99px; background:#ffffffec; color:#6d4fe8; font-size:11px; font-weight:800; pointer-events:none; }
.sm-shop .sm-badge-hit { color:#d74444; }
.sm-shop .sm-badge-season { color:#22905b; }
.sm-shop .sm-badge-premium { color:#7650e3; }
.sm-shop .sm-v3-favorite { position:absolute; top:10px; right:10px; z-index:2; width:34px; height:34px; border:0; border-radius:50%; display:grid; place-items:center; background:#ffffffd9; backdrop-filter:blur(8px); color:#7b7292; }
.sm-shop .sm-v3-favorite.selected { color:#c73577; }
.sm-shop .sm-v3-favorite.selected .sm-ico { fill:#ed91b7; }
.sm-shop .sm-store-footer { padding:48px 0 110px; }
.sm-shop .sm-v3-cartdock { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(10px + env(safe-area-inset-bottom)); width:min(calc(100% - 24px),750px); border-radius:22px; z-index:1000; background:linear-gradient(110deg,#685ff2,#753bec); color:white; padding:12px 15px; display:flex; align-items:center; gap:14px; box-shadow:0 13px 31px #5546b26b; }
.sm-shop .sm-v3-dock-icon { width:40px; height:40px; position:relative; flex:none; display:grid; place-items:center; }
.sm-shop .sm-v3-dock-icon .sm-ico { width:28px; height:28px; }
.sm-shop .sm-v3-dock-icon b { position:absolute; top:-7px; right:-5px; width:19px; height:19px; border-radius:50%; background:white; color:var(--sm-accent); font-size:11px; display:grid; place-items:center; }
.sm-shop .sm-v3-dock-label { flex:1; min-width:0; }
.sm-shop .sm-v3-dock-label strong,.sm-shop .sm-v3-dock-label small { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sm-shop .sm-v3-dock-label strong { font-size:14px; }
.sm-shop .sm-v3-dock-label small { font-size:12px; color:#eae2ff; }
.sm-shop .sm-v3-cartdock > button { display:flex; align-items:center; gap:8px; padding:12px 14px; border:0; border-radius:15px; background:#fff; color:#613ed5; font-weight:800; white-space:nowrap; }
.sm-shop .sm-v3-detail-backdrop { position:fixed; inset:0; z-index:1500; background:#131126b0; display:grid; place-items:center; padding:12px; }
.sm-shop .sm-v3-detail { position:relative; width:min(100%,470px); max-height:96vh; overflow-y:auto; background:white; border-radius:23px; box-shadow:0 20px 65px #0004; }
.sm-shop .sm-v3-detail-close { position:absolute; right:13px; top:13px; border:0; background:#fff; border-radius:50%; width:35px; height:35px; font-size:19px; z-index:2; }
.sm-shop .sm-v3-detail-image { width:100%; aspect-ratio:1.6; background:#f2f0fc; }
.sm-shop .sm-v3-detail-image img { width:100%; height:100%; object-fit:cover; }
.sm-shop .sm-v3-detail-body { padding:22px; }
.sm-shop .sm-v3-detail-body > span { color:var(--sm-accent); text-transform:uppercase; font-size:11px; font-weight:800; }
.sm-shop .sm-v3-detail-body h2 { font-size:25px; margin:7px 0 12px; }
.sm-shop .sm-v3-detail-body p { font-size:13px; }
.sm-shop .sm-v3-detail-body strong { display:block; font-size:26px; margin:15px 0; }
.sm-shop .sm-v3-detail-body .sm-btn { gap:8px; }
@media (max-width:900px) {
 .sm-dashboard .sm-v3-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .sm-shop .sm-v3-products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:650px) {
 .sm-dashboard .sm-v3-shell { padding:0 12px; }
 .sm-dashboard .sm-v3-topbar { min-height:66px; }
 .sm-dashboard .sm-back-home { font-size:0; padding:9px; width:40px; min-width:40px; }
 .sm-dashboard .sm-back-home::after { content:'↗'; font-size:19px; }
 .sm-dashboard .sm-merchant-hero { min-height:230px; border-radius:24px; }
 .sm-dashboard .sm-merchant-copy { padding:22px 19px; }
 .sm-dashboard .sm-merchant-copy h1 { font-size:26px; max-width:260px; }
 .sm-dashboard .sm-merchant-copy > p { font-size:12px; max-width:220px; }
 .sm-dashboard .sm-merchant-art { width:65%; }
 .sm-dashboard .sm-merchant-bottom { margin-top:27px; gap:8px; }
 .sm-dashboard .sm-merchant-store > img,.sm-dashboard .sm-merchant-store > span { width:38px; height:38px; border-radius:11px; }
 .sm-dashboard .sm-merchant-store strong { max-width:115px; font-size:13px; }
 .sm-dashboard .sm-merchant-store small { font-size:10px; }
 .sm-dashboard .sm-hero-open { min-height:37px; font-size:11px; padding:9px 12px; }
 .sm-dashboard .sm-v3-tabs { gap:6px; margin-top:13px; }
 .sm-dashboard .sm-v3-tabs button { gap:4px; flex-direction:column; padding:10px 2px; border-radius:13px; font-size:11px; }
 .sm-dashboard .sm-v3-tabs button .sm-ico { width:18px; height:18px; }
 .sm-dashboard .sm-dash-body { padding-top:15px; }
 .sm-dashboard .sm-v3-stats { gap:9px; margin-bottom:15px; }
 .sm-dashboard .sm-v3-stats .sm-stat { min-height:143px; padding:14px; border-radius:19px; }
 .sm-dashboard .sm-v3-stats .sm-kpi-icon { width:33px; height:33px; margin-bottom:9px; }
 .sm-dashboard .sm-v3-stats .sm-stat > span:not(.sm-kpi-icon) { font-size:11px; }
 .sm-dashboard .sm-v3-stats .sm-stat strong { font-size:24px; }
 .sm-dashboard .sm-v3-stats .sm-stat small { font-size:10px; }
 .sm-dashboard .sm-v3-share { padding:17px; }
 .sm-dashboard .sm-v3-share h2 { font-size:15px; }
 .sm-dashboard .sm-v3-share-row .sm-btn { flex:1 1 110px; }
 .sm-dashboard .sm-v3-recent .sm-section-heading h2,.sm-dashboard .sm-v3-actions h2 { font-size:19px; }
 .sm-dashboard .sm-v3-recent-list { padding:6px 10px; }
 .sm-dashboard .sm-v3-recent-row { gap:8px; }
 .sm-dashboard .sm-recent-symbol { width:36px; height:36px; }
 .sm-dashboard .sm-recent-price { font-size:12px; }
 .sm-dashboard .sm-v3-recent-row .sm-status { font-size:10px; padding:5px 6px; }
 .sm-dashboard .sm-v3-recent-row > .sm-ico { display:none; }
 .sm-dashboard .sm-v3-action-grid { gap:8px; }
 .sm-dashboard .sm-v3-action-grid button { padding:12px 9px; border-radius:16px; }
 .sm-dashboard .sm-v3-action-grid strong { font-size:11px; }
 .sm-dashboard .sm-v3-action-grid small { font-size:10px; }
 .sm-shop .sm-v3-store { padding:0 12px; }
 .sm-shop .sm-v3-store-top { min-height:74px; }
 .sm-shop .sm-store-identity h1 { max-width:160px; font-size:15px; }
 .sm-shop .sm-store-identity img,.sm-shop .sm-store-default-logo { width:42px; height:42px; }
 .sm-shop .sm-store-share { padding:9px; }
 .sm-shop .sm-store-share span { display:none; }
 .sm-shop .sm-v3-hero { min-height:220px; border-radius:21px; padding:25px 22px; }
 .sm-shop .sm-v3-hero-tint { background:linear-gradient(90deg,#211c49e8,#2c235acc 55%,#3a285e69); }
 .sm-shop .sm-v3-hero-photo { width:100%; }
 .sm-shop .sm-v3-hero h2 { font-size:clamp(26px,6.9vw,37px); max-width:260px; }
 .sm-shop .sm-v3-hero p { font-size:12px; max-width:220px; }
 .sm-shop .sm-v3-benefits { gap:7px 13px; margin-top:20px; }
 .sm-shop .sm-v3-benefits span { font-size:10px; }
 .sm-shop .sm-v3-benefits .sm-ico { width:14px; height:14px; }
 .sm-shop .sm-v3-categories { padding:18px 0 14px; gap:7px; }
 .sm-shop .sm-v3-categories button { font-size:11px; padding:9px 13px; }
 .sm-shop .sm-v3-catalog-title { align-items:center; }
 .sm-shop .sm-v3-catalog-title h2 { font-size:19px; }
 .sm-shop .sm-v3-sort select { max-width:134px; font-size:11px; padding:9px 20px 9px 9px; }
 .sm-shop .sm-v3-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
 .sm-shop .sm-v3-card { border-radius:19px; }
 .sm-shop .sm-v3-card .sm-product-content { padding:12px; }
 .sm-shop .sm-v3-card .sm-product-content h3 { font-size:14px; margin:4px 0 6px; }
 .sm-shop .sm-v3-card .sm-product-content p { font-size:11px; min-height:32px; }
 .sm-shop .sm-v3-card .sm-product-bottom b { font-size:14px; white-space:normal; }
 .sm-shop .sm-v3-card .sm-product-bottom button { width:34px; height:34px; flex:none; }
 .sm-shop .sm-v3-badge { font-size:10px; top:8px; left:8px; padding:5px 7px; }
 .sm-shop .sm-v3-favorite { top:7px; right:7px; width:30px; height:30px; }
 .sm-shop .sm-v3-cartdock { gap:8px; padding:9px 11px; border-radius:18px; }
 .sm-shop .sm-v3-dock-icon { width:30px; }
 .sm-shop .sm-v3-dock-icon .sm-ico { width:24px; height:24px; }
 .sm-shop .sm-v3-dock-label strong { font-size:11px; }
 .sm-shop .sm-v3-dock-label small { font-size:10px; }
 .sm-shop .sm-v3-cartdock > button { padding:10px 11px; gap:4px; font-size:11px; border-radius:12px; }
 .sm-shop .sm-v3-cartdock > button .sm-ico { width:13px; }
}
@media (max-width:365px) {
 .sm-dashboard .sm-v3-stats .sm-stat { min-height:140px; }
 .sm-dashboard .sm-merchant-copy h1 { font-size:24px; }
 .sm-dashboard .sm-merchant-store strong { max-width:86px; }
 .sm-dashboard .sm-recent-price { display:none; }
 .sm-shop .sm-v3-hero h2 { font-size:26px; }
 .sm-shop .sm-v3-dock-icon { display:none; }
}
@media (prefers-reduced-motion: reduce) { .sm-app * { transition-duration:.01ms !important; scroll-behavior:auto !important; } }
/* Mobile inventory cards: no wide admin table inside Telegram */
.sm-dashboard .sm-v3-mobile-products { display:none; }
@media(max-width:650px) {
 .sm-dashboard .sm-v3-mobile-products { display:grid; gap:10px; }
 .sm-dashboard .sm-table-wrap { display:none; }
 .sm-dashboard .sm-v3-mobile-product { display:flex; gap:11px; background:#fff; border:1px solid #eee9f5; border-radius:17px; padding:12px; align-items:center; min-width:0; box-shadow:0 5px 16px #4034850d; }
 .sm-dashboard .sm-v3-mobile-product .sm-small-thumb { width:54px; height:54px; border-radius:11px; }
 .sm-dashboard .sm-v3-mobile-product-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
 .sm-dashboard .sm-v3-mobile-product-main strong { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 .sm-dashboard .sm-v3-mobile-product-main small { font-size:10px; color:#8d90a5; }
 .sm-dashboard .sm-v3-mobile-product-main b { font-size:13px; }
 .sm-dashboard .sm-v3-mobile-product-actions { display:flex; flex-direction:column; gap:5px; }
 .sm-dashboard .sm-v3-mobile-product-actions button { border:0; background:#f2efff; color:#6957dc; border-radius:8px; padding:6px 8px; font-size:10px; font-weight:700; }
 .sm-dashboard .sm-v3-mobile-product-actions button.sm-danger { background:#fff0f2; color:#b84b60; }
}
@media(max-width:650px) {
 .sm-dashboard { overflow-x:clip; }
 .sm-dashboard .sm-v3-topbar .sm-brand { flex:1 1 auto; min-width:0; font-size:15px; }
 .sm-dashboard .sm-v3-topbar .sm-brand img { width:33px; height:33px; }
 .sm-dashboard .sm-v3-topbar .sm-nav-right { flex:0 0 40px; }
 .sm-dashboard .sm-v3-topbar .sm-nav-right .sm-back-home { font-size:0; width:40px; min-width:40px; height:40px; padding:0; display:grid; place-items:center; }
 .sm-dashboard .sm-v3-topbar .sm-nav-right .sm-back-home::after { font-size:20px; }
}

/* 0.3.1 · Resilient media selection in Telegram desktop/mobile */
.sm-dashboard .sm-media-picker { min-width:0; display:flex; flex-direction:column; gap:11px; background:linear-gradient(135deg,#fcfbff,#f7f6ff); border:1.5px dashed #bdb5ef; border-radius:18px; padding:16px; transition:background .2s,border-color .2s; outline:none; }
.sm-dashboard .sm-media-picker.sm-media-dragging,.sm-dashboard .sm-media-picker:focus { border-color:var(--sm-accent); background:#eeebff; }
.sm-dashboard .sm-media-heading { font-size:13px; color:#27294d; }
.sm-dashboard .sm-media-preview { display:flex; justify-content:center; align-items:center; overflow:hidden; min-height:90px; max-height:178px; background:#ebe9f7; border-radius:13px; color:#918aa8; font-size:12px; font-weight:500; }
.sm-dashboard .sm-media-preview img { width:100%; max-height:178px; object-fit:contain; }
.sm-dashboard .sm-media-picker input[type=file] { max-width:100%; width:100%; font-size:12px; background:#fff; padding:11px; border-radius:11px; border:1px solid #e4dff9; cursor:pointer; }
.sm-dashboard .sm-media-picker input[type=file]::file-selector-button { background:#6958ee; color:#fff; font:700 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; border:0; border-radius:9px; padding:10px 12px; margin-right:12px; cursor:pointer; }
.sm-dashboard .sm-media-picker small { line-height:1.55; font-size:12px; color:#7d8399; font-weight:400; }
.sm-dashboard .sm-media-buttons,.sm-dashboard .sm-media-handoff-result { display:flex; flex-wrap:wrap; gap:8px; }
.sm-dashboard .sm-media-buttons .sm-btn,.sm-dashboard .sm-media-handoff-result .sm-btn { flex:1 1 130px; min-width:0; padding:11px 8px; }
.sm-dashboard .sm-media-handoff-result[hidden] { display:none; }
.sm-dashboard .sm-media-handoff-result { padding:12px; background:#f1edff; border-radius:12px; }
.sm-dashboard .sm-media-handoff-result p { flex:1 1 100%; margin:0; font-size:12px; }
@media(max-width:450px){.sm-dashboard .sm-media-picker{padding:12px}.sm-dashboard .sm-media-buttons .sm-btn{width:100%;flex-basis:100%;}}

/* Streltsov MiniApps 0.3.2 — universal storefront, desktop uploads and order focus */
.sm-shop .sm-v32-shop-tools { display:flex; gap:12px; align-items:center; justify-content:space-between; margin:2px 0 22px; }
.sm-shop .sm-v32-shop-tools > span { flex:none; color:#8b8aa7; font-size:12px; font-weight:700; }
.sm-shop .sm-v32-shop-search { min-width:0; flex:1; display:flex; flex-direction:row; align-items:center; gap:11px; padding:0 16px; border:1px solid #e6e2f6; border-radius:17px; background:#fff; box-shadow:0 9px 22px #35247108; transition:border-color .15s,box-shadow .15s; }
.sm-shop .sm-v32-shop-search:focus-within { border-color:var(--sm-accent); box-shadow:0 0 0 3px #a9a0f72f; }
.sm-shop .sm-v32-shop-search .sm-ico { flex:none; width:19px; height:19px; color:#8578ca; }
.sm-shop .sm-v32-shop-search input[type=search] { min-width:0; width:100%; height:46px; margin:0; padding:0!important; border:0!important; border-radius:0!important; outline:0; background:transparent!important; box-shadow:none!important; color:#262845; font:600 14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.sm-shop .sm-v32-shop-search input[type=search]::placeholder { color:#a2a3b5; font-weight:500; }
.sm-shop .sm-v3-products > [hidden], .sm-shop .sm-v32-search-empty[hidden] { display:none!important; }
.sm-shop .sm-v32-search-empty { margin:20px 0; padding:22px 16px; }
.sm-dashboard .sm-order-highlight { border-color:#927cf7!important; box-shadow:0 0 0 3px #927cf733,0 8px 28px #51449b17!important; }
.sm-dashboard .sm-desktop-media { border-style:solid; border-color:#dcd4fc; background:#f9f7ff; }
.sm-dashboard .sm-desktop-media input[type=file] { display:none; }
.sm-dashboard .sm-desktop-tip { margin:0; color:#5b547f!important; font-size:12px; line-height:1.55; padding:11px 13px; background:#efebff; border-radius:12px; }
.sm-dashboard .sm-desktop-media .sm-media-buttons > [data-action=external-upload] { flex:1 1 100%; }
@media(max-width:650px){
 .sm-shop .sm-v32-shop-tools { align-items:stretch; flex-direction:column; gap:7px; margin:3px 0 15px; }
 .sm-shop .sm-v32-shop-tools > span { display:none; }
 .sm-shop .sm-v32-shop-search { border-radius:14px; }
 .sm-shop .sm-v32-shop-search input[type=search] { height:44px; font-size:13px; }
}

.sm-shop .sm-v32-shop-search input[type=search]:focus { border:0!important; box-shadow:none!important; outline:0!important; }

.sm-dashboard .sm-v32-themes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; }
.sm-dashboard .sm-v32-theme { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px 5px; background:#fafaff; color:#667089; border:1px solid #e9e5f6; border-radius:15px; font-size:11px; font-weight:750; min-width:0; transition:border-color .2s,box-shadow .2s,transform .2s; }
.sm-dashboard .sm-v32-theme:hover { transform:translateY(-1px); }
.sm-dashboard .sm-v32-theme:focus-visible { outline:3px solid #927cf7; outline-offset:2px; }
.sm-dashboard .sm-v32-theme.selected { background:#f1edff; color:#322b5f; border-color:#8472f0; box-shadow:0 0 0 2px #8472f026; }
.sm-dashboard .sm-v32-theme-mark { display:block; width:31px; height:31px; border-radius:11px; background:linear-gradient(130deg,var(--theme-color),#f0ecff); box-shadow:0 3px 9px #160d3e19; }
@media(max-width:650px){.sm-dashboard .sm-v32-themes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.sm-dashboard .sm-v32-theme{padding:10px 5px;}}

/* Streltsov MiniApps Core 0.4.0 — order workflow and delivery */
.sm-dashboard .sm-v4-telegram-check { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:20px; margin:16px 0 5px; border:1px solid #e5defa; background:linear-gradient(125deg,#fff,#f5f1ff); border-radius:20px; }
.sm-dashboard .sm-v4-telegram-check strong { font-size:15px; color:#30294a; }
.sm-dashboard .sm-v4-telegram-check p { margin:4px 0 0; color:#79748a; font-size:12px; line-height:1.5; }
.sm-dashboard .sm-v4-telegram-check .sm-btn { flex:none; }
.sm-dashboard .sm-v4-delivery-options { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.sm-dashboard .sm-v4-delivery-options > b { display:block; width:100%; font-size:13px; color:#4a4264; }
.sm-dashboard .sm-v4-delivery-options label { display:flex; align-items:center; gap:7px; padding:10px 13px; background:#f6f3ff; border:1px solid #e9e4fb; border-radius:12px; color:#50446b; font-size:12px; font-weight:650; }
.sm-dashboard .sm-v4-delivery-options input { width:17px; height:17px; margin:0; accent-color:#7554ef; }
.sm-dashboard .sm-v4-order { overflow:hidden; border:1px solid #ece8f8; border-radius:20px; box-shadow:0 5px 18px #352d670b; }
.sm-dashboard .sm-v4-order .sm-order-items h4 { margin:2px 0 11px; font-size:13px; }
.sm-dashboard .sm-v4-order .sm-order-items p { margin:9px 0 0; overflow-wrap:anywhere; }
.sm-dashboard .sm-v4-status { border-radius:50px; }
.sm-dashboard .sm-v4-shipping { background:#e9f1ff; color:#3369bd; }
.sm-dashboard .sm-v4-cancelled { background:#fff0f3; color:#b34b61; }
.sm-dashboard .sm-v4-completed { background:#e9f7f0; color:#188357; }
.sm-dashboard .sm-v4-notify-state { display:flex; flex-wrap:wrap; gap:7px; align-items:center; padding:12px 0; border-top:1px solid #f0edf8; color:#766d8e; font-size:12px; }
.sm-dashboard .sm-v4-notify-state .sm-ico { width:15px; height:15px; }
.sm-dashboard .sm-v4-notify-state button { border:0; padding:4px 8px; background:#efeaff; color:#6d52dd; border-radius:8px; font-weight:700; cursor:pointer; }
.sm-dashboard .sm-v4-order-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:5px; }
.sm-dashboard .sm-v4-order-steps button { padding:11px 7px; border:1px solid #e3def3; background:#f5f2ff; color:#654fd1; border-radius:11px; font-size:12px; font-weight:750; cursor:pointer; }
.sm-dashboard .sm-v4-order-steps button:hover:not(:disabled) { border-color:#8f7ef0; background:#eae4ff; }
.sm-dashboard .sm-v4-order-steps button:disabled { opacity:.48; cursor:default; }
.sm-dashboard .sm-v4-order-steps button.sm-danger { background:#fff1f2; color:#bc485e; border-color:#ffd8df; }
.sm-shop .sm-v4-gallery { display:flex; gap:9px; overflow-x:auto; padding:10px 16px; background:#fff; }
.sm-shop .sm-v4-gallery button { flex:0 0 62px; width:62px; height:62px; border:2px solid transparent; border-radius:12px; overflow:hidden; background:#f5f4fa; padding:2px; cursor:pointer; }
.sm-shop .sm-v4-gallery button.active { border-color:var(--sm-accent); }
.sm-shop .sm-v4-gallery button img { width:100%; height:100%; object-fit:cover; border-radius:9px; }
.sm-shop .sm-v4-specs { margin:12px 0; background:#f8f7fc; border-radius:12px; padding:12px 15px; }
.sm-shop .sm-v4-specs h4 { margin:0 0 8px; color:#413b63; font-size:13px; }
.sm-shop .sm-v4-specs p { margin:0; padding:5px 0; font-size:12px; color:#6e6982; border-bottom:1px solid #eae7f4; }
.sm-shop .sm-v4-specs p:last-child { border:0; }
.sm-shop .sm-v4-delivery-hint { margin:0; padding:9px 12px; background:#f6f3ff; color:#64577d; border-radius:10px; font-size:12px; line-height:1.55; }
.sm-shop .sm-checkout-form [hidden], .sm-dashboard [hidden] { display:none!important; }
.sm-shop .sm-checkout-form label[data-delivery-address] { display:block; }
.sm-shop .sm-checkout-form label[data-delivery-address][hidden] { display:none!important; }
@media(max-width:650px) {
 .sm-dashboard .sm-v4-telegram-check { flex-direction:column; align-items:stretch; gap:10px; padding:14px; }
 .sm-dashboard .sm-v4-telegram-check .sm-btn { width:100%; justify-content:center; }
 .sm-dashboard .sm-v4-order-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .sm-dashboard .sm-v4-order-steps button { min-height:42px; }
 .sm-dashboard .sm-v4-delivery-options label { flex:1 1 100%; }
}

/* Core 0.5.0 — actual plans and entitlements, responsive merchant interface */
.sm-dashboard .sm-v5-plan-compact { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 18px; padding:19px 22px; border:1px solid #ddd8f7; border-radius:20px; background:linear-gradient(120deg,#fcfbff,#f0ecff); }
.sm-dashboard .sm-v5-plan-compact > div { min-width:0; flex:1; }
.sm-dashboard .sm-v5-plan-eyebrow { display:block; font-size:10px; color:#8572c7; font-weight:800; letter-spacing:.12em; margin:0 0 5px; }
.sm-dashboard .sm-v5-plan-compact h2 { font-size:23px; line-height:1.15; margin:0; color:#332952; }
.sm-dashboard .sm-v5-plan-compact p { margin:7px 0 0; color:#777089; font-size:12px; line-height:1.5; }
.sm-dashboard .sm-v5-plan-compact .sm-btn { flex-shrink:0; white-space:nowrap; }
.sm-dashboard .sm-v5-meter { background:#dfd8f7; border-radius:30px; width:min(330px,100%); height:6px; margin-top:10px; overflow:hidden; }
.sm-dashboard .sm-v5-meter span { background:linear-gradient(90deg,#6151e7,#a265f5); height:100%; border-radius:inherit; display:block; }
.sm-dashboard .sm-v5-plan-compact .sm-v5-expired { color:#a84763; font-weight:700; }
.sm-dashboard .sm-v5-tier-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; }
.sm-dashboard .sm-v5-tier { min-width:0; background:white; border:1px solid #e8e1fa; border-radius:20px; padding:21px 18px; box-shadow:0 7px 24px #3932720b; }
.sm-dashboard .sm-v5-tier.selected { border-color:#8464e8; box-shadow:0 5px 25px #8775e426; }
.sm-dashboard .sm-v5-tier-top { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.sm-dashboard .sm-v5-tier-top strong { font-size:17px; color:#332950; }
.sm-dashboard .sm-v5-tier-top span { white-space:nowrap; border-radius:100px; background:#eae4ff; color:#6951d0; padding:5px 7px; font-size:10px; font-weight:750; }
.sm-dashboard .sm-v5-tier-price { font-size:23px; font-weight:820; color:#392d65; margin-top:14px; }
.sm-dashboard .sm-v5-tier-price small { font-size:12px; font-weight:500; color:#837a99; }
.sm-dashboard .sm-v5-tier ul { list-style:none; padding:0; margin:15px 0 0; display:grid; gap:12px; color:#635d78; font-size:12px; }
.sm-dashboard .sm-v5-tier li::before { content:'✓'; font-weight:900; color:#7158db; margin-right:6px; }
.sm-dashboard .sm-v5-plan-note { padding:19px 23px; background:#f8f6ff; color:#564d75; border-radius:16px; }
.sm-dashboard .sm-v5-plan-note strong { color:#40345d; }
.sm-dashboard .sm-v5-plan-note p { color:#756c91; font-size:12px; line-height:1.7; }
.sm-dashboard .sm-v5-brand-setting { display:grid; gap:9px; margin:18px 0; padding:16px; border:1px solid #e8e2f6; border-radius:14px; background:#f9f8ff; }
.sm-dashboard .sm-v5-brand-setting label { display:flex; align-items:center; gap:9px; font-size:13px; font-weight:700; color:#393452; }
.sm-dashboard .sm-v5-brand-setting input { width:17px; height:17px; accent-color:#7154e8; }
.sm-dashboard .sm-v5-brand-setting small { color:#766d86; font-size:11px; }
.sm-dashboard .sm-v32-theme:disabled { opacity:.4; cursor:not-allowed; filter:grayscale(.35); }
.sm-dashboard .sm-v5-plan-page .sm-section-heading { flex-wrap:wrap; }
@media (max-width:840px) {
 .sm-dashboard .sm-v5-tier-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
 .sm-dashboard .sm-v5-plan-compact { flex-direction:column; align-items:stretch; padding:15px; gap:12px; }
 .sm-dashboard .sm-v5-plan-compact .sm-btn { width:100%; justify-content:center; }
 .sm-dashboard .sm-v5-tier-grid { grid-template-columns:1fr; }
 .sm-dashboard .sm-v5-tier { padding:18px; }
 .sm-dashboard .sm-v5-tier-price { font-size:21px; }
}

.sm-dashboard .sm-v5-create-row { display:flex; align-items:center; gap:12px; margin:3px 0 12px; flex-wrap:wrap; }
.sm-dashboard .sm-v5-create-row span { font-size:12px; color:#766d91; }
.sm-dashboard .sm-v5-new-shop .sm-create-box { margin-top:17px; max-width:560px; }
@media(max-width:600px){.sm-dashboard .sm-v5-create-row .sm-btn { width:100%; justify-content:center; }}

/* 0.6.0: subscription actions */
.sm-dashboard .sm-pay-stars{width:100%;margin-top:19px;justify-content:center}
.sm-dashboard .sm-pay-history{margin-top:16px;padding:20px 23px}
.sm-dashboard .sm-pay-history h3{margin:0 0 12px}
.sm-dashboard .sm-pay-history>div{padding:10px 0;border-top:1px solid #edf0f4;font-size:13px}
.sm-dashboard .sm-pay-history small{display:block;color:#737b8f;font-size:11px;margin-top:5px}
.sm-dashboard .sm-pair-account{margin-top:15px;padding:21px}
.sm-dashboard .sm-pair-account p{font-size:13px;color:#757a88;line-height:1.5}
.sm-dashboard #sm-pair-code{display:block;margin-top:10px;width:100%;max-width:340px;padding:11px 13px;font-size:15px;letter-spacing:.06em;font-family:monospace}
.sm-dashboard #sm-pair-code[hidden]{display:none}

/* 0.6.3: readable, copyable one-time account linking code */
.sm-dashboard .sm-pair-code-row{display:flex;align-items:stretch;gap:10px;margin-top:12px;max-width:570px}
.sm-dashboard .sm-pair-code-row[hidden],.sm-dashboard .sm-pair-copy-help[hidden]{display:none!important}
.sm-dashboard #sm-pair-code{flex:1 1 260px;min-width:0;max-width:none;width:100%;margin:0;padding:12px 13px;font-size:15px;line-height:1.4;letter-spacing:.045em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#f7f8fc;border:1px solid #d7dce8;border-radius:12px;color:#18233c;user-select:text;-webkit-user-select:text}
.sm-dashboard .sm-pair-code-row .sm-btn{flex:0 0 auto;min-height:47px;padding-inline:17px}
.sm-dashboard .sm-pair-copy-help{margin:8px 0 0;font-size:12px;color:#697489}
@media(max-width:540px){.sm-dashboard .sm-pair-code-row{flex-wrap:wrap}.sm-dashboard .sm-pair-code-row .sm-btn{width:100%}.sm-dashboard #sm-pair-code{flex-basis:100%}}

/* 0.6.4 — Billing Center */
.sm-dashboard .sm-plan-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.sm-dashboard .sm-plan-actions .sm-btn{font-size:12px}
.sm-dashboard .sm-billing-center{display:grid;gap:17px;min-width:0}
.sm-dashboard .sm-billing-center .sm-section-heading{align-items:center;flex-wrap:wrap}
.sm-dashboard .sm-billing-kicker,.sm-dashboard .sm-billing-label{display:block;font-size:10px;letter-spacing:.13em;font-weight:850;color:#7c64d4}
.sm-dashboard .sm-billing-kicker{margin-bottom:6px}
.sm-dashboard .sm-billing-hero{padding:23px 26px;overflow:hidden;position:relative;background:linear-gradient(120deg,#fff 10%,#f4f0ff 100%);border:1px solid #e5ddfa;border-radius:20px}
.sm-dashboard .sm-billing-hero:before{content:'';position:absolute;top:-90px;right:-90px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#d9caffaa 0,transparent 67%);pointer-events:none}
.sm-dashboard .sm-billing-head{display:flex;justify-content:space-between;align-items:start;gap:10px}
.sm-dashboard .sm-billing-head h3{margin:6px 0 9px;color:#30284c;font-size:23px;font-weight:800;line-height:1.25}
.sm-dashboard .sm-billing-chip{padding:6px 11px;background:#ebf9f1;border:1px solid #c9ebda;border-radius:30px;color:#177c52;font-size:11px;font-weight:750;white-space:nowrap}
.sm-dashboard .sm-billing-chip.is-expired{color:#a43b55;background:#fff1f4;border-color:#f5ced8}
.sm-dashboard .sm-billing-count{display:block;font-size:clamp(20px,4vw,28px);line-height:1.25;font-weight:850;color:#2c2449;margin:6px 0 8px}
.sm-dashboard .sm-billing-hero p{margin:0 0 13px;color:#726987;line-height:1.6;font-size:13px}
.sm-dashboard .sm-billing-progress{height:8px;border-radius:100px;background:#e5dff2;overflow:hidden;margin:18px 0 8px}
.sm-dashboard .sm-billing-progress span{display:block;height:100%;border-radius:100px;background:linear-gradient(90deg,#7056f1,#9e5cf1)}
.sm-dashboard .sm-billing-hint{font-size:11px;color:#786f8f;display:block;line-height:1.5}
.sm-dashboard .sm-billing-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:21px}
.sm-dashboard .sm-billing-actions .sm-btn{min-height:44px;font-size:12px;white-space:normal;text-align:center;justify-content:center}
.sm-dashboard .sm-billing-notifications{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 23px;border-radius:18px}
.sm-dashboard .sm-billing-notifications h3,.sm-dashboard .sm-billing-history h3{font-size:17px;font-weight:800;line-height:1.3;color:#2c2845;margin:0 0 8px}
.sm-dashboard .sm-billing-notifications p{color:#6f6b81;font-size:12px;line-height:1.6;margin:0 0 5px}
.sm-dashboard .sm-billing-notifications small{font-size:11px;color:#89859c;line-height:1.5}
.sm-dashboard .sm-billing-notifications .sm-btn{flex-shrink:0;min-height:42px}
.sm-dashboard .sm-billing-history{padding:21px 23px;border-radius:18px}
.sm-dashboard .sm-billing-section-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:0 0 13px}
.sm-dashboard .sm-billing-section-heading h3{margin:0}
.sm-dashboard .sm-billing-section-heading span{font-size:11px;color:#88849b}
.sm-dashboard .sm-billing-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #eeeaf4}
.sm-dashboard .sm-billing-history-row>div:last-child{text-align:right}
.sm-dashboard .sm-billing-history-row strong{color:#38324e;font-size:13px;font-weight:780}
.sm-dashboard .sm-billing-history-row small{display:block;margin-top:4px;color:#858096;font-size:11px;line-height:1.5}
.sm-dashboard .sm-billing-history-row small.sm-billing-state-ok{color:#207e62}
.sm-dashboard .sm-billing-empty{font-size:13px;color:#7f7894;line-height:1.6;padding:16px 0}
.sm-dashboard .sm-billing-footnote{font-size:11px;color:#8f8a9e;line-height:1.6;margin:0}
@media(max-width:660px){
 .sm-dashboard .sm-plan-actions{width:100%;justify-content:stretch}
 .sm-dashboard .sm-plan-actions .sm-btn{flex:1 1 145px;justify-content:center}
 .sm-dashboard .sm-billing-hero{padding:20px 18px}
 .sm-dashboard .sm-billing-notifications{flex-direction:column;align-items:stretch;padding:18px}
 .sm-dashboard .sm-billing-notifications .sm-btn{width:100%;justify-content:center}
 .sm-dashboard .sm-billing-actions .sm-btn{flex:1 1 100%;width:100%}
 .sm-dashboard .sm-billing-history{padding:17px}
 .sm-dashboard .sm-billing-history-row{align-items:flex-start}
 .sm-dashboard .sm-billing-history-row small{word-break:break-word}
}

/* 0.7.0 Products & Orders Pro — variant rows, SKU, stock, improved order navigation */
.sm-dashboard .sm-variants-editor{padding:19px 18px;border:1px solid #dedaf4;border-radius:16px;background:linear-gradient(155deg,#fafaff,#f4f7fd);margin:9px 0 12px;min-width:0}
.sm-dashboard .sm-variant-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.sm-dashboard .sm-variant-head h3{margin:0 0 5px;color:#232d4a;font-size:17px}
.sm-dashboard .sm-variant-head p{margin:0;color:#78849d;font-size:12px;line-height:1.5}
.sm-dashboard #sm-variant-rows{display:grid;gap:11px;margin-bottom:11px}
.sm-dashboard .sm-variant-row{background:#fff;border:1px solid #e1e4f2;border-radius:13px;padding:13px;display:grid;grid-template-columns:1.3fr 1fr 1fr .75fr;align-items:end;gap:10px;min-width:0}
.sm-dashboard .sm-variant-row label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;line-height:1.4;color:#45526c;font-weight:750}
.sm-dashboard .sm-variant-row input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:11px 10px;border-radius:10px;border:1px solid #d7dce9;background:#f9fafe;color:#24334d;font-size:13px;font-weight:500}
.sm-dashboard .sm-variant-row .sm-variant-track{display:flex;align-items:center;flex-direction:row;gap:8px;grid-column:1/span 2;font-size:12px}
.sm-dashboard .sm-variant-row .sm-variant-track input{width:16px;height:16px;flex:0 0 auto}
.sm-dashboard .sm-variant-row .sm-btn{grid-column:3/span 2;justify-self:end;min-height:35px;font-size:12px;padding:8px 13px}
.sm-dashboard .sm-variants-editor>small{font-size:11px;color:#7f899a;line-height:1.5;display:block}
.sm-dashboard .sm-orders-search{display:flex;align-items:center;gap:10px;border:1px solid #dde1ef;background:#fff;border-radius:13px;padding:7px 12px;max-width:550px;margin:10px 0 18px}
.sm-dashboard .sm-orders-search svg{color:#878da3;width:18px;height:18px;flex-shrink:0}
.sm-dashboard .sm-orders-search input{border:none!important;box-shadow:none!important;outline:none!important;width:100%;min-height:36px;background:transparent;color:#293550;font-size:13px;flex:1;min-width:0}
.sm-dashboard .sm-order-filters{display:flex;flex-wrap:wrap;gap:7px}
.sm-dashboard .sm-v4-order[hidden]{display:none!important}
.sm-shop .sm-variant-choice{display:block;font-weight:750;font-size:13px;color:#323c55;margin:15px 0 12px}
.sm-shop .sm-variant-choice select{margin-top:8px;display:block;min-height:46px;width:100%;max-width:100%;padding:11px 12px;border:1px solid #cfd7e6;background:#f8faff;border-radius:11px;color:#29334d;font-size:14px}
.sm-shop .sm-variant-choice select:focus-visible{outline:2px solid #7554ef;outline-offset:2px}
.sm-shop .sm-product-bottom button:disabled,.sm-shop .sm-quantity button:disabled{opacity:.37;cursor:not-allowed}
.sm-shop .sm-v3-detail-body>small{display:block;color:#68768e;font-size:12px;margin:4px 0}
@media(max-width:790px){.sm-dashboard .sm-variant-row{grid-template-columns:1fr 1fr}.sm-dashboard .sm-variant-row .sm-variant-track{grid-column:1}.sm-dashboard .sm-variant-row .sm-btn{grid-column:2}}
@media(max-width:470px){.sm-dashboard .sm-variants-editor{padding:14px 11px}.sm-dashboard .sm-variant-head{align-items:stretch;flex-direction:column}.sm-dashboard .sm-variant-head>.sm-btn{width:100%;justify-content:center}.sm-dashboard .sm-variant-row{grid-template-columns:1fr 1fr;padding:10px;gap:9px}.sm-dashboard .sm-variant-row label:first-child{grid-column:1/span 2}.sm-dashboard .sm-variant-row .sm-variant-track{grid-column:1}.sm-dashboard .sm-orders-search{margin-bottom:13px}}

/* 0.7.1: inventory history, reservation deadlines and order timeline */
.sm-dashboard .sm-inventory-history{margin:22px 0;padding:20px 21px}
.sm-dashboard .sm-inventory-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;flex-wrap:wrap}
.sm-dashboard .sm-inventory-history-head h3{margin:0 0 5px;font-weight:800;font-size:17px}
.sm-dashboard .sm-inventory-history-head p{margin:0;color:#69758b;font-size:12px}
.sm-dashboard .sm-inventory-log{display:flex;flex-direction:column;gap:0;max-height:560px;overflow:auto}
.sm-dashboard .sm-inventory-log-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e8ebf2}
.sm-dashboard .sm-inventory-log-row:last-child{border-bottom:0}
.sm-dashboard .sm-inventory-log-row strong{display:block;line-height:1.4;font-size:13px;overflow-wrap:anywhere}
.sm-dashboard .sm-inventory-log-row small{display:block;margin-top:4px;color:#737f93;font-size:11px;line-height:1.45}
.sm-dashboard .sm-log-plus,.sm-dashboard .sm-log-minus{flex:0 0 auto;font-weight:850;font-size:13px;white-space:nowrap}
.sm-dashboard .sm-log-plus{color:#168970}.sm-dashboard .sm-log-minus{color:#bd5057}
.sm-dashboard .sm-order-reserve,.sm-dashboard .sm-order-auto{font-size:12px;line-height:1.6;border-radius:10px;margin:12px 0 6px;padding:10px 12px;background:#fff8ed;border:1px solid #f2deb9;color:#80551b}
.sm-dashboard .sm-order-auto{background:#edf6fa;border-color:#daedf4;color:#325366}
.sm-dashboard .sm-order-history{padding:12px 0;margin:8px 0;border-top:1px solid #e6eaf2}
.sm-dashboard .sm-order-history strong{font-size:12px}
.sm-dashboard .sm-order-history p{font-size:11px;line-height:1.5;color:#6a778f;margin:5px 0}
.sm-dashboard .sm-order-history p span{font-variant-numeric:tabular-nums}
@media(max-width:540px){.sm-dashboard .sm-inventory-history{padding:16px 14px}.sm-dashboard .sm-inventory-history-head .sm-btn{width:100%}}

/* 0.8.0 — Business Analytics & Marketing */
.sm-dashboard .sm-marketing-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.sm-dashboard .sm-marketing-kpis .sm-panel{padding:22px;min-width:0;border-radius:17px}
.sm-dashboard .sm-marketing-kpis small{display:block;font-size:12px;color:#7a8295;font-weight:650;margin-bottom:10px}
.sm-dashboard .sm-marketing-kpis strong{font-size:clamp(22px,2.7vw,32px);font-weight:850;color:#121b32;overflow-wrap:anywhere}
.sm-dashboard .sm-marketing-list{margin:15px 0;padding:22px}
.sm-dashboard .sm-marketing-list h3{margin:0 0 16px}
.sm-dashboard .sm-marketing-list>p{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;margin:0;border-top:1px solid #edf0f6;line-height:1.4}
.sm-dashboard .sm-marketing-list>p small{display:block;color:#798397;margin-top:5px;font-size:12px}
.sm-dashboard .sm-marketing-list>p button{flex-shrink:0}
.sm-dashboard .sm-marketing-list>small{display:block;color:#747d90;margin-top:15px}
.sm-dashboard .sm-order-export{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0}
.sm-dashboard .sm-order-export small{color:#737d91;font-size:12px;max-width:390px}
.sm-dashboard .sm-import-panel{margin:10px 0 21px;padding:20px 22px}
.sm-dashboard .sm-import-panel h3{margin:0 0 9px}
.sm-dashboard .sm-import-panel p{margin:0 0 12px;color:#606b81;font-size:13px}
.sm-dashboard .sm-import-panel small{display:block;margin-top:12px;color:#707d93;font-size:11px;line-height:1.5}
.sm-dashboard .sm-import-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.sm-dashboard .sm-import-form input[type=file]{max-width:100%;font-size:12px}
.sm-shop .sm-old-price{font-size:12px;font-weight:500;text-decoration:line-through;color:#8c98aa;white-space:nowrap}
.sm-shop .sm-price-stack{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 9px}
.sm-shop .sm-promo-apply{display:flex;align-items:flex-end;gap:9px;margin:12px 0}
.sm-shop .sm-promo-apply label{flex:1;min-width:0;margin:0}
.sm-shop .sm-promo-apply input{min-width:0;width:100%;text-transform:uppercase}
.sm-shop .sm-promo-apply button{min-width:115px;min-height:45px}
.sm-shop .sm-coupon-note{font-size:12px;color:#718094;margin:-2px 0 13px}
.sm-shop .sm-shop-repeat{padding-inline:9px;font-size:12px;white-space:nowrap}
@media(max-width:1024px){.sm-dashboard .sm-marketing-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sm-dashboard .sm-marketing-kpis{gap:9px}.sm-dashboard .sm-marketing-kpis .sm-panel{padding:15px}.sm-dashboard .sm-marketing-kpis strong{font-size:22px}.sm-dashboard .sm-marketing-list>p{flex-wrap:wrap}.sm-dashboard .sm-marketing-list>p button{width:100%}.sm-shop .sm-promo-apply{flex-wrap:wrap}.sm-shop .sm-promo-apply button{width:100%}}
/* Six merchant workspaces; avoid four-column nav wrapping unpredictably. */
.sm-dashboard .sm-v3-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.sm-dashboard .sm-v3-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}}
@media(max-width:360px){.sm-dashboard .sm-v3-tabs button{font-size:10px}}
.sm-dashboard .sm-import-template-link{display:inline-flex;margin-top:9px;color:#315dda;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}

/* 0.9.0 Store Builder — isolated editor; public styles are scoped to sm-shop. */
.sm-dashboard .sm-builder-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,365px);gap:23px;align-items:start}
.sm-dashboard .sm-builder-form,.sm-dashboard .sm-builder-preview-wrap{min-width:0}
.sm-dashboard .sm-builder-panel{padding:22px 24px;margin:0 0 16px;background:#fff;border:1px solid #ece8f8;border-radius:22px;box-shadow:0 9px 28px #30215a0b}
.sm-dashboard .sm-builder-panel h3{font-size:18px;margin:0 0 7px;color:#262646}
.sm-dashboard .sm-builder-panel>p{font-size:12px;line-height:1.6;color:#77768c;margin:0 0 16px}
.sm-dashboard .sm-builder-blocks{display:grid;gap:9px}
.sm-dashboard .sm-builder-block{display:flex;align-items:center;gap:10px;border:1px solid #e9e7f3;border-radius:14px;background:#fbfaff;padding:12px}
.sm-dashboard .sm-builder-block-handle{font-size:21px;color:#a19cba;min-width:22px;text-align:center}
.sm-dashboard .sm-builder-block-copy{flex:1;min-width:0}
.sm-dashboard .sm-builder-block-copy b{font-size:13px;color:#2d2c4c;display:block}
.sm-dashboard .sm-builder-block-copy small{font-size:11px;color:#85859d;display:block;line-height:1.35;margin-top:2px}
.sm-dashboard .sm-builder-block-actions{display:flex;align-items:center;gap:5px;flex:none}
.sm-dashboard .sm-builder-block-actions>button{width:29px;height:30px;display:grid;place-items:center;border-radius:9px;border:1px solid #e0dcf0;background:white;color:#615b81;cursor:pointer;font-weight:850}
.sm-dashboard .sm-builder-block-actions>button:disabled{opacity:.35;cursor:not-allowed}
.sm-dashboard .sm-builder-toggle{display:flex;align-items:center;justify-content:center;padding:2px 0 2px 7px;cursor:pointer}
.sm-dashboard .sm-builder-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.sm-dashboard .sm-builder-toggle span{width:34px;height:21px;background:#d9d5e2;border-radius:99px;position:relative;transition:.2s}
.sm-dashboard .sm-builder-toggle span:after{content:'';width:15px;height:15px;position:absolute;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:.2s}
.sm-dashboard .sm-builder-toggle input:checked+span{background:#7253ed}
.sm-dashboard .sm-builder-toggle input:checked+span:after{transform:translateX(13px)}
.sm-dashboard .sm-builder-toggle input:disabled+span{opacity:.5;cursor:not-allowed}
.sm-dashboard .sm-builder-toggle input:focus-visible+span{outline:3px solid #aaa0ff;outline-offset:2px}
.sm-dashboard .sm-builder-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sm-dashboard .sm-builder-panel label:not(.sm-builder-toggle):not(.sm-builder-product){display:block;font-size:12px;font-weight:750;color:#4d4b66}
.sm-dashboard .sm-builder-panel label>input:not([type=checkbox]),.sm-dashboard .sm-builder-panel label>select,.sm-dashboard .sm-builder-panel label>textarea{display:block;margin-top:7px;width:100%;background:#fcfbff;border:1px solid #e0ddea;border-radius:12px;font-size:13px;padding:11px 12px;min-height:43px;box-sizing:border-box;color:#262742}
.sm-dashboard .sm-builder-panel select:disabled,.sm-dashboard .sm-builder-panel input:disabled,.sm-dashboard .sm-builder-panel textarea:disabled{opacity:.55;cursor:not-allowed}
.sm-dashboard .sm-builder-search-label{margin-top:15px}
.sm-dashboard .sm-builder-products{max-height:290px;overflow-y:auto;display:grid;gap:7px;margin-top:10px;border-radius:12px}
.sm-dashboard .sm-builder-product{display:flex!important;gap:12px;align-items:center;padding:9px 10px;border:1px solid #ece9f3;border-radius:12px;background:#fafaff;cursor:pointer}
.sm-dashboard .sm-builder-product[hidden]{display:none!important}
.sm-dashboard .sm-builder-product input{width:17px;height:17px;accent-color:#7554ef;flex:none}
.sm-dashboard .sm-builder-product img,.sm-dashboard .sm-builder-product>span:first-of-type:not(:last-of-type){width:42px;height:42px;object-fit:cover;border-radius:9px;background:#f1effa;display:grid;place-items:center;flex:none}
.sm-dashboard .sm-builder-product>span:last-child{min-width:0;flex:1;font-size:12px;color:#393551;white-space:normal}
.sm-dashboard .sm-builder-product small{display:block;color:#918ca5;font-size:11px;margin-top:2px}
.sm-dashboard .sm-builder-save{position:sticky;bottom:8px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:11px;background:#fff;border:1px solid #e7e2f5;box-shadow:0 8px 24px #493a801b;border-radius:16px;padding:12px 15px}
.sm-dashboard .sm-builder-save span{font-size:12px;font-weight:700;color:#b27a22}
.sm-dashboard .sm-builder-save span[hidden]{display:none!important}
.sm-dashboard .sm-builder-save button{margin-left:auto;white-space:normal;text-align:center}
.sm-dashboard .sm-builder-preview-wrap{position:sticky;top:14px;background:#f5f3fb;border:1px solid #e8e4f3;border-radius:25px;padding:16px}
.sm-dashboard .sm-builder-preview-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}
.sm-dashboard .sm-builder-preview-header b{display:block;font-size:14px;color:#35314b}
.sm-dashboard .sm-builder-preview-header small{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#7d7890}
.sm-dashboard .sm-builder-preview-header a{font-size:11px;color:#6e51e8;text-align:right;font-weight:800;text-decoration:none;flex:none}
.sm-dashboard #sm-builder-preview{--sm-accent:#7554ef}
.sm-dashboard .sm-builder-preview-phone{background:#f9f8fc;border:6px solid #2a2940;border-radius:29px;overflow:hidden;box-shadow:0 15px 27px #27233720;max-height:660px;overflow-y:auto;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.sm-dashboard .sm-builder-preview-top{display:flex;align-items:center;justify-content:space-between;padding:14px 14px;background:white;border-bottom:1px solid #f0eefd;font-size:12px;color:#33314e}
.sm-dashboard .sm-builder-preview-top span{color:var(--sm-accent);font-size:18px}
.sm-dashboard .sm-builder-preview-hero{background:#54428c;color:white;padding:23px 18px;min-height:145px;isolation:isolate;position:relative}
.sm-dashboard .sm-builder-preview-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,#302653ee,#4a398dac),var(--sm-builder-hero,linear-gradient(135deg,#554e8b,#998ce1)) center/cover}
.sm-dashboard .sm-builder-preview-hero small,.sm-dashboard .sm-builder-preview-promo small{font-size:8px;letter-spacing:.08em;color:#f8ddff}
.sm-dashboard .sm-builder-preview-hero h3{font-size:21px;line-height:1.2;margin:7px 0 8px;color:white}
.sm-dashboard .sm-builder-preview-hero p,.sm-dashboard .sm-builder-preview-promo p{font-size:10px;line-height:1.5;color:#efedfa;margin:0}
.sm-dashboard .sm-builder-preview-hero.minimal{background:var(--sm-accent)}
.sm-dashboard .sm-builder-preview-hero.minimal:before{background:linear-gradient(135deg,var(--sm-accent),#39305c)}
.sm-dashboard .sm-builder-preview-hero.split:before{background:linear-gradient(90deg,#302653 0%,#4a398dc4 62%,#4a398d28),var(--sm-builder-hero,linear-gradient(135deg,#554e8b,#998ce1)) center/cover}
.sm-dashboard .sm-builder-preview-benefits{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#fff}
.sm-dashboard .sm-builder-preview-benefits span{font-size:9px;color:#5a5870}
.sm-dashboard .sm-builder-preview-cats{display:flex;gap:6px;overflow:hidden;padding:13px 12px}
.sm-dashboard .sm-builder-preview-cats span{background:white;border:1px solid #e8e3f8;border-radius:99px;white-space:nowrap;padding:6px 9px;font-size:9px;color:#68617d}
.sm-dashboard .sm-builder-preview-section{padding:13px 12px}
.sm-dashboard .sm-builder-preview-section h4{font-size:14px;margin:0 0 12px;color:#302c4c}
.sm-dashboard .sm-builder-preview-search{background:white;border:1px solid #e4def1;color:#8c89a0;border-radius:10px;padding:9px;margin-bottom:9px;font-size:9px}
.sm-dashboard .sm-builder-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sm-dashboard .sm-builder-preview-card{background:white;border:1px solid #efedf3;border-radius:13px;overflow:hidden;min-width:0;padding-bottom:8px}
.sm-dashboard .sm-builder-preview-card img,.sm-dashboard .sm-builder-preview-card>span{width:100%;height:86px;object-fit:cover;display:grid;place-items:center;background:#eeedf7;color:#aaa2d6}
.sm-dashboard .sm-builder-preview-card b{display:block;padding:8px 8px 2px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2e2b42}
.sm-dashboard .sm-builder-preview-card small{padding:0 8px;font-size:10px;font-weight:800;color:var(--sm-accent)}
.sm-dashboard .sm-builder-preview-promo{margin:9px 12px;border-radius:14px;background:linear-gradient(110deg,#4a3f8f,var(--sm-accent));color:white;padding:18px 16px}
.sm-dashboard .sm-builder-preview-promo h3{font-size:17px;color:white;margin:7px 0}
.sm-dashboard .sm-builder-preview-promo>span{display:inline-block;padding:7px 11px;background:white;color:#493c96;border-radius:7px;margin-top:13px;font-size:10px;font-weight:800}
.sm-dashboard .sm-builder-preview-phone footer{font-size:9px;color:#a5a2ac;text-align:center;padding:20px}
.sm-dashboard .sm-builder-preview-phone[data-cards=compact] .sm-builder-preview-card{border-radius:6px}
.sm-dashboard .sm-builder-preview-phone[data-cards=compact] .sm-builder-preview-card img{height:68px}
.sm-dashboard .sm-builder-preview-phone[data-cards=outlined] .sm-builder-preview-card{border:2px solid var(--sm-accent);border-radius:10px}
.sm-dashboard .sm-builder-preview-phone[data-font=editorial] h3,.sm-dashboard .sm-builder-preview-phone[data-font=editorial] h4,.sm-dashboard .sm-builder-preview-phone[data-font=editorial] .sm-builder-preview-card b{font-family:Georgia,serif}
.sm-dashboard .sm-builder-preview-phone[data-font=rounded]{font-family:'Trebuchet MS',system-ui,sans-serif}

/* Store Builder public components */
.sm-shop[data-font=rounded]{font-family:'Trebuchet MS',system-ui,sans-serif}
.sm-shop[data-font=editorial] h1,.sm-shop[data-font=editorial] h2,.sm-shop[data-font=editorial] h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.02em}
.sm-shop[data-cards=outlined] .sm-v3-card{border:2px solid var(--sm-accent);box-shadow:none;border-radius:17px}
.sm-shop[data-cards=compact] .sm-v3-products{gap:10px}
.sm-shop[data-cards=compact] .sm-v3-card{border-radius:12px;box-shadow:none}
.sm-shop[data-cards=compact] .sm-v3-card .sm-product-image{aspect-ratio:1.25}
.sm-shop[data-cards=compact] .sm-v3-card .sm-product-content{padding:11px}
.sm-shop[data-cards=compact] .sm-v3-card .sm-product-content p{display:none}
.sm-shop[data-hero-style=split] .sm-v3-hero-photo{width:100%;object-fit:cover}
.sm-shop[data-hero-style=split] .sm-v3-hero-tint{background:linear-gradient(90deg,#211c49e9 0%,#2c245abc 38%,#35275f55 72%,#35275f1a 100%)}
.sm-shop[data-hero-style=minimal] .sm-v3-hero{background:linear-gradient(125deg,var(--sm-accent),#3f3b62)}
.sm-shop[data-hero-style=minimal] .sm-v3-hero-photo,.sm-shop[data-hero-style=minimal] .sm-v3-hero-art{display:none}
.sm-shop[data-hero-style=minimal] .sm-v3-hero-tint{background:radial-gradient(circle at 90% 20%,#ffffff24,transparent 45%)}
.sm-shop .sm-builder-benefits{display:flex;flex-wrap:wrap;gap:13px 24px;padding:13px 20px;margin:15px 0;background:#fff;border:1px solid #e9e4f5;border-radius:16px;align-items:center;box-shadow:0 5px 18px #3a28720a}
.sm-shop .sm-builder-benefits span{color:#5f6078;font-size:12px;font-weight:650;display:flex;align-items:center;gap:7px}
.sm-shop .sm-builder-benefits .sm-ico{color:var(--sm-accent);width:16px;height:16px}
.sm-shop .sm-builder-featured{padding:20px 0 22px}
.sm-shop .sm-builder-featured .sm-v3-products{margin-top:12px}
.sm-shop .sm-builder-promo{position:relative;overflow:hidden;isolation:isolate;display:flex;justify-content:space-between;min-height:210px;border-radius:24px;background:linear-gradient(120deg,var(--sm-accent),#353254);color:white;margin:18px 0 25px;padding:34px 42px}
.sm-shop .sm-builder-promo h2{font-size:clamp(22px,3vw,33px);font-weight:850;color:white;margin:10px 0}
.sm-shop .sm-builder-promo p{font-size:13px;color:#f5f1ff;max-width:430px;margin:0 0 16px}
.sm-shop .sm-builder-promo-label{font-size:11px;letter-spacing:.13em;color:#fff5bb;font-weight:800}
.sm-shop .sm-builder-promo .sm-btn{background:white!important;color:#4c3d93!important;border:0;display:inline-flex;align-items:center;gap:8px}
.sm-shop .sm-builder-promo-art{font-size:170px;line-height:1;color:#ffffff25;position:absolute;right:30px;top:10px;transform:rotate(15deg);z-index:-1}
.sm-shop .sm-builder-catalog{padding-top:9px}
@media(max-width:950px){.sm-dashboard .sm-builder-shell{grid-template-columns:1fr}.sm-dashboard .sm-builder-preview-wrap{position:static;max-width:460px;margin:0 auto;width:100%}}
@media(max-width:560px){.sm-dashboard .sm-builder-panel{padding:16px;margin-bottom:11px}.sm-dashboard .sm-builder-block{padding:9px 8px;gap:6px}.sm-dashboard .sm-builder-block-handle{min-width:14px;font-size:16px}.sm-dashboard .sm-builder-block-copy b{font-size:11px}.sm-dashboard .sm-builder-block-copy small{font-size:10px}.sm-dashboard .sm-builder-block-actions{gap:3px}.sm-dashboard .sm-builder-block-actions>button{width:24px;height:27px}.sm-dashboard .sm-builder-styles{grid-template-columns:1fr}.sm-dashboard .sm-builder-save{position:static;align-items:stretch;flex-direction:column}.sm-dashboard .sm-builder-save button{width:100%;margin:0}.sm-shop .sm-builder-promo{padding:25px 22px;min-height:185px;border-radius:20px}.sm-shop .sm-builder-promo-art{right:0;font-size:130px}.sm-shop .sm-builder-benefits{gap:8px;padding:12px}.sm-shop .sm-builder-benefits span{font-size:10px}}

.sm-dashboard .sm-builder-preview-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.sm-dashboard .sm-builder-preview-hero:before{background:linear-gradient(95deg,#302653ee,#4a398dac)}
.sm-dashboard .sm-builder-preview-hero.split:before{background:linear-gradient(90deg,#302653 0%,#4a398dc4 62%,#4a398d28)}

/* Commercial Release 1.0.0 — merchant setup checklist */
.sm-launch{margin:16px 0 24px; padding:22px 24px; border:1px solid rgba(112,92,205,.2); border-radius:22px; background:linear-gradient(155deg,#ffffff 0%,#f7f5ff 100%); box-shadow:0 12px 35px rgba(51,41,110,.07); color:#202442}
.sm-launch-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.sm-launch h2{font-size:21px;line-height:1.24;margin:6px 0 7px;letter-spacing:-.02em;color:#222441}
.sm-launch-header p{color:#687188;font-size:13px;line-height:1.5;margin:0}
.sm-launch-kicker{font-weight:800;letter-spacing:.09em;font-size:10px;color:#7659cb}
.sm-launch-progress-label{background:#eee9ff;color:#5849b5;border-radius:40px;padding:6px 10px;white-space:nowrap;font-size:12px;font-weight:800}
.sm-launch-progress{height:7px;background:#e7e3f3;border-radius:10px;overflow:hidden;margin:16px 0}
.sm-launch-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#625cef,#a65be4);transition:width .25s}
.sm-launch-steps{display:grid;gap:9px}
.sm-launch-step{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e9e5f4;background:#fff;border-radius:14px;min-width:0}
.sm-launch-step.is-done{background:#fbfdfc;border-color:#e3efe6}
.sm-launch-step-number{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:10px;background:#eae6ff;color:#6753d8;font-weight:850;font-size:13px}
.sm-launch-step.is-done .sm-launch-step-number{background:#dff7e8;color:#20824a}
.sm-launch-step-body{flex:1;min-width:0;display:grid;gap:2px}
.sm-launch-step-body strong{font-size:13px;color:#202442}
.sm-launch-step-body small{font-size:11px;color:#707890;line-height:1.35}
.sm-launch-step .sm-btn{padding:9px 12px;min-width:86px;font-size:11px;flex-shrink:0;line-height:1.2}
.sm-launch-step-done{font-size:11px;color:#237b4f;font-weight:750;padding-right:6px}
.sm-launch-footer{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sm-launch-ready,.sm-launch-warning{font-size:12px;font-weight:700}
.sm-launch-ready{color:#267e56}.sm-launch-warning{color:#ac6933}
.sm-launch-dismiss{border:0;background:transparent;color:#69718c;text-decoration:underline;cursor:pointer;padding:6px;font:inherit;font-size:12px}
.sm-launch-collapsed{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0 22px;padding:12px 16px;border-radius:14px;background:#fff7eb;border:1px solid #f2dfbf;color:#8a5b25;font-size:12px}
.sm-launch-collapsed .sm-btn{flex-shrink:0;font-size:11px}
@media(max-width:560px){.sm-launch{padding:16px 13px;border-radius:17px}.sm-launch h2{font-size:18px}.sm-launch-step{gap:7px;padding:10px 8px}.sm-launch-step-number{flex-basis:26px;height:26px}.sm-launch-step-body strong{font-size:12px}.sm-launch-step-body small{font-size:10px}.sm-launch-step .sm-btn{min-width:72px;padding:8px 9px;font-size:10px}.sm-launch-collapsed{flex-wrap:wrap}}

/* Seller SEO Hub 1.1.0: seller dashboard, server-rendered fallbacks and public product pages. */
.sm-seo-center{display:grid;gap:18px;min-width:0}.sm-seo-panel{padding:24px;display:grid;gap:16px}.sm-seo-panel h3{margin:0;font-size:1.2rem}.sm-seo-panel>p{margin:0;color:#64748b}.sm-seo-status{display:grid;gap:4px;padding:14px 18px;border-radius:14px;background:#f3f1fb;color:#50448b}.sm-seo-status.is-ready{background:#e6f5ed;color:#167048}.sm-seo-status small{color:inherit;font-size:.8rem}.sm-seo-meta{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.sm-seo-meta div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.sm-seo-meta small{color:#64748b}.sm-seo-meta a{color:#6349da;text-decoration:underline}.sm-seo-panel .sm-form-grid{margin:0}.sm-seo-preview{border:1px solid #d6dcf1;padding:16px;border-radius:14px;display:grid;gap:4px;background:#fff}.sm-seo-preview>strong{font-size:18px;color:#285eb4}.sm-seo-preview>span{font-size:12px;color:#328055}.sm-seo-preview>p{margin:0;color:#5e6472;line-height:1.5}.sm-seo-fallback{max-width:1080px;margin:0 auto;padding:40px 22px;color:#1e293b}.sm-seo-fallback h1,.sm-seo-product h1{font-size:clamp(28px,4vw,46px);letter-spacing:-.04em}.sm-seo-fallback .sm-seo-intro{padding:25px 0}.sm-seo-intro p{line-height:1.7;max-width:780px;white-space:pre-wrap}.sm-seo-logo{width:72px;height:72px;object-fit:contain;border-radius:18px}.sm-seo-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sm-seo-tile{min-width:0;overflow:hidden;border:1px solid #e1e4ee;background:#fff;border-radius:18px;padding:15px;display:grid;gap:8px}.sm-seo-tile>img{height:150px;width:100%;object-fit:cover;border-radius:12px}.sm-seo-tile h3{margin:0;font-size:17px}.sm-seo-tile p{margin:0;line-height:1.5;color:#64748b}.sm-seo-tile a{color:#6147de}.sm-seo-cta{display:inline-flex;gap:6px;padding:13px 23px;align-items:center;justify-content:center;border-radius:13px;color:#fff!important;background:#6552e7;text-decoration:none;font-weight:700}.sm-seo-page{margin:0;background:#f6f5fc;color:#18243b;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.sm-seo-product{max-width:1120px;margin:30px auto;padding:25px}.sm-seo-breadcrumb{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#6a7388;margin-bottom:22px}.sm-seo-breadcrumb a{color:#6151dc}.sm-seo-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;padding:30px;border-radius:25px;background:#fff;box-shadow:0 10px 45px #18243b0e}.sm-seo-product-image>img{width:100%;max-height:550px;object-fit:contain;border-radius:15px;background:#fafafd}.sm-seo-no-image{min-height:280px;background:#f2f2f8;display:grid;place-items:center;color:#7a7e91}.sm-seo-product-info{display:flex;flex-direction:column;align-items:flex-start;gap:17px}.sm-seo-product-info h1{margin:0}.sm-seo-price{font-size:2rem;font-weight:800;margin:0}.sm-seo-description{white-space:normal;line-height:1.8;overflow-wrap:anywhere}.sm-seo-eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#6552e7;font-weight:700}.sm-seo-hint{font-size:14px;color:#64748b;margin:0}
@media(max-width:680px){.sm-seo-meta{grid-template-columns:minmax(0,1fr)}.sm-seo-panel{padding:15px}.sm-seo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sm-seo-product-layout{grid-template-columns:minmax(0,1fr);gap:20px;padding:18px}.sm-seo-product{margin:5px auto;padding:16px}.sm-seo-tile>img{height:115px}}

.sm-product-card .sm-seo-product-link{font-size:12px;color:#5c55b8;display:inline-block;text-decoration:underline;line-height:1.3;overflow-wrap:anywhere;}

/* 1.3.0 Seller acquiring */
.sm-merchant-payment-panel{margin-top:18px}.sm-payment-connection{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px 16px;background:rgba(115,100,243,.055);border:1px solid #e6e0f8;border-radius:12px;margin:15px 0}.sm-payment-settings-form{display:grid;gap:15px}.sm-payment-webhook{margin-top:20px;display:grid;gap:8px;word-break:break-all}.sm-payment-webhook code{font-size:12px;padding:11px;border-radius:9px;background:#f4f4fb;white-space:normal;word-break:break-all}.sm-payment-webhook .sm-btn{justify-self:start}.sm-order-payline{margin:12px 0;padding:10px 13px;background:#f4f3fe;border-radius:10px;font-size:14px;line-height:1.5}.sm-order-payline a{color:#5a49e5}.sm-order-payline button{border:0;background:none;color:#5647d5;text-decoration:underline;cursor:pointer}.sm-field-hint{color:#606779;font-size:13px;line-height:1.5}.sm-merchant-payment-panel input[type=password]{min-width:0;width:100%}@media(max-width:600px){.sm-payment-connection{align-items:flex-start}.sm-merchant-payment-panel .sm-form-grid{grid-template-columns:1fr}}

/* 1.3.1 — Seller support and secure payment form UX */
.sm-dashboard .sm-support-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border-color:#d8d4f8;background:#f5f2ff;color:#6152c4;font-weight:750;padding:10px 13px;border-radius:99px}
.sm-dashboard .sm-support-link .sm-ico{width:16px;height:16px;flex-shrink:0}
.sm-dashboard .sm-support-link:hover,.sm-dashboard .sm-support-link:focus-visible{background:#eae5ff;border-color:#9887f0;color:#4a3cae}
.sm-dashboard .sm-merchant-help,.sm-dashboard .sm-support-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sm-dashboard .sm-merchant-help{border:1px solid #e5e1f3;background:#f9f8ff;padding:16px 18px;border-radius:14px;margin:17px 0}
.sm-dashboard .sm-merchant-help strong{font-size:13px;color:#29314d}
.sm-dashboard .sm-merchant-help p,.sm-dashboard .sm-support-panel p{font-size:12px;line-height:1.6;color:#646b83;margin:5px 0 0}
.sm-dashboard .sm-support-panel{margin-top:18px;padding:22px;background:linear-gradient(135deg,#fff,#f6f3ff)}
.sm-dashboard .sm-support-panel h3{margin:0;color:#2b3152}
.sm-dashboard .sm-support-panel .sm-btn,.sm-dashboard .sm-merchant-help .sm-btn{display:inline-flex;align-items:center;gap:7px}
.sm-dashboard .sm-payment-settings-form input[data-sm-credential]:read-only{background:#f6f7fc;border-color:#dfe3f3;cursor:text}
@media(max-width:650px){
 .sm-dashboard .sm-v3-topbar .sm-nav-right{flex:0 0 auto;gap:7px}
 .sm-dashboard .sm-v3-topbar .sm-support-link{width:40px;min-width:40px;height:40px;padding:0;font-size:0}
 .sm-dashboard .sm-v3-topbar .sm-support-link span{display:none}
 .sm-dashboard .sm-v3-topbar .sm-support-link .sm-ico{width:20px;height:20px}
 .sm-dashboard .sm-merchant-help,.sm-dashboard .sm-support-panel{align-items:stretch;flex-direction:column}
 .sm-dashboard .sm-merchant-help .sm-btn,.sm-dashboard .sm-support-panel .sm-btn{width:100%;justify-content:center}
}


/* Streltsov MiniApps 1.3.2 — seller legal footer, favorites, and love branding */
.sm-shop .sm-seller-footer{padding:30px 18px 110px;text-align:left;color:#74728a}
.sm-shop .sm-seller-footer-inner{max-width:1080px;margin:0 auto;border-top:1px solid #dedbe8;padding:26px 0 10px}
.sm-shop .sm-seller-footer-top{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.sm-shop .sm-seller-footer-about{display:flex;flex-direction:column;gap:5px}
.sm-shop .sm-seller-footer-about strong{font-size:14px;color:#302b44;font-weight:780}
.sm-shop .sm-seller-footer-about small{font-size:11px;color:#8f8a9d}
.sm-shop .sm-seller-footer-links{display:flex;flex-wrap:wrap;gap:11px 20px;max-width:730px;justify-content:flex-end}
.sm-shop .sm-seller-footer-links a,.sm-shop .sm-seller-footer-contacts a{color:#615675;text-decoration:none;font-size:12px;font-weight:550;overflow-wrap:anywhere}
.sm-shop .sm-seller-footer-links a:hover,.sm-shop .sm-seller-footer-contacts a:hover{color:var(--sm-accent);text-decoration:underline}
.sm-shop .sm-seller-footer-contacts{display:flex;gap:12px 20px;flex-wrap:wrap;margin-top:15px}
.sm-shop .sm-brand-credit{margin-top:24px;padding-top:16px;border-top:1px solid #eeebf3;text-align:center;color:#9d98aa;font-size:11px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px}
.sm-shop .sm-brand-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.sm-brand-heart{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;color:#d65795}
.sm-brand-heart .sm-ico{width:12px;height:12px;fill:#f5a3c5;stroke:#c84584;stroke-width:1.5}
.sm-dashboard .sm-builder-preview-phone .sm-brand-heart .sm-ico{width:10px;height:10px}
.sm-shop .sm-wishlist-header{display:flex;align-items:center;gap:6px;border:1px solid #e8e4f1;border-radius:14px;background:#fff;color:#9a467b;padding:9px 10px;cursor:pointer;flex:none}
.sm-shop .sm-wishlist-header .sm-ico{width:18px;height:18px}
.sm-shop .sm-wishlist-header span{font-size:12px;font-weight:750;color:#725676}
.sm-shop .sm-favorites-count{margin-left:3px;font-weight:800;opacity:.65;font-size:11px}
.sm-shop .sm-detail-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sm-shop .sm-detail-title h2{margin:0}
.sm-shop .sm-detail-wish{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:14px;background:#fff4fa;border:1px solid #eed9e6;color:#b54b80;cursor:pointer}
.sm-shop .sm-detail-wish.selected .sm-ico{fill:#e88cb9}
.sm-shop .sm-detail-wish .sm-ico{width:20px;height:20px}
.sm-dashboard .sm-footer-settings label{min-width:0}
@media(max-width:650px){
 .sm-shop .sm-seller-footer{padding:24px 18px 120px}
 .sm-shop .sm-seller-footer-top{flex-direction:column;gap:16px}
 .sm-shop .sm-seller-footer-links{justify-content:flex-start;gap:10px 15px}
 .sm-shop .sm-wishlist-header{padding:8px}
 .sm-shop .sm-wishlist-header .sm-ico{width:17px;height:17px}
}

/* Core 1.3.3 — seller privacy policy generator */
.sm-privacy-generator-panel{border:1px solid rgba(153,106,204,.18)}
.sm-privacy-generator-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sm-privacy-generator-title p{color:#716a80;font-size:13px;margin:4px 0 18px}
.sm-privacy-badge{white-space:nowrap;background:#f7efff;color:#805ba7;border-radius:50px;padding:5px 10px;font-size:12px;font-weight:700}
.sm-privacy-badge.is-ready{background:#ebfaf2;color:#187b52}
.sm-privacy-approval{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:16px 0;line-height:1.55}
.sm-privacy-approval input{width:17px;height:17px;margin-top:3px;flex-shrink:0}
.sm-privacy-status{font-size:13px;line-height:1.6;margin:14px 0;color:#40735b;word-break:break-word}
.sm-privacy-status a{color:#6e3bb9;text-decoration:underline}
.sm-privacy-preview{background:#fff;border:1px solid #e9e3ef;border-radius:16px;margin-top:20px;max-height:620px;overflow:auto;padding:22px 24px;color:#24203a;line-height:1.6}
.sm-privacy-preview h1{font-size:25px;line-height:1.25}.sm-privacy-preview h2{font-size:17px;margin:22px 0 6px}
.sm-privacy-preview .sm-privacy-alert{background:#fff6e0;color:#7d5e1d;padding:10px 12px;border-radius:9px;font-size:13px}
.sm-privacy-preview .sm-privacy-date,.sm-privacy-preview .sm-privacy-kicker{color:#777;font-size:12px}
@media(max-width:560px){.sm-privacy-preview{padding:14px}.sm-privacy-generator-title{display:block}.sm-privacy-badge{display:inline-flex;margin-bottom:12px}}

/* Core 1.3.4: seller legal status for generated privacy policy */
.sm-privacy-legal-hint{font-size:12px;line-height:1.6;color:#7b5870;background:#fbf3f9;border-radius:12px;padding:12px 14px;margin:12px 0 16px}

/* 1.4.0 — catalog columns, inventory labels, incremental catalog */
.sm-shop[data-catalog-columns="2"] .sm-v3-products{grid-template-columns:repeat(2,minmax(0,1fr))}
.sm-shop[data-catalog-columns="3"] .sm-v3-products{grid-template-columns:repeat(3,minmax(0,1fr))}
.sm-shop[data-catalog-columns="4"] .sm-v3-products{grid-template-columns:repeat(4,minmax(0,1fr))}
.sm-shop .sm-stock-tag{position:absolute;top:12px;right:12px;z-index:3;border-radius:99px;padding:5px 9px;background:#fff5db;color:#85540d;font-size:11px;font-weight:800;pointer-events:none;max-width:75%;text-align:center}
.sm-shop .sm-stock-tag.is-unavailable{background:#fff;color:#a13e4a}
.sm-shop .sm-stock-tag.is-preorder{background:#fff1dc;color:#865118}
.sm-shop .sm-availability-note{display:block;font-size:11px;font-weight:700;color:#946126;margin:6px 0}
.sm-shop .sm-availability-note.is-ready{color:#248367}
.sm-shop .sm-availability-note.is-missing{color:#a13e4a}
.sm-shop .sm-catalog-more-wrap{text-align:center;margin:18px auto 0}
.sm-shop .sm-catalog-more-wrap [hidden]{display:none!important}
@media(max-width:900px){.sm-shop[data-catalog-columns] .sm-v3-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.sm-shop[data-catalog-columns] .sm-v3-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-shop .sm-stock-tag{top:8px;right:7px;font-size:10px;padding:4px 6px}}
@media(max-width:365px){.sm-shop .sm-stock-tag{max-width:68%;font-size:9px}}

.sm-shop .sm-sale-badge{position:absolute;z-index:3;left:12px;top:46px;padding:5px 9px;background:#ffe2ec;color:#ad2758;font-size:11px;font-weight:800;border-radius:20px;pointer-events:none}
@media(max-width:640px){.sm-shop .sm-sale-badge{top:35px;left:8px;font-size:10px;padding:4px 6px}}
/* Inventory marker stays away from the wishlist heart in the upper-right corner. */
.sm-shop .sm-stock-tag{top:auto;right:auto;left:12px;bottom:10px;max-width:calc(100% - 24px)}
@media(max-width:640px){.sm-shop .sm-stock-tag{top:auto;right:auto;left:7px;bottom:7px;max-width:calc(100% - 14px)}}

/* 1.5.0 — Custom Domains for Business: seller-owned DNS without Cloudflare proxy */
.sm-dashboard .sm-domain-panel{display:grid;gap:16px;max-width:900px}
.sm-dashboard .sm-domain-head{display:flex;gap:13px;align-items:center;padding-bottom:12px;border-bottom:1px solid #ece7f1}
.sm-dashboard .sm-domain-head>.sm-ico{height:34px;width:34px;padding:8px;background:#f1eafb;color:#6740b5;border-radius:11px;flex:none}
.sm-dashboard .sm-domain-head h3{margin:0 0 4px;overflow-wrap:anywhere;font-size:18px}
.sm-dashboard .sm-domain-head p{margin:0;font-size:13px;color:#6d6086}
.sm-dashboard .sm-domain-dns{padding:20px;background:#faf8ff;border:1px solid #e5dbf3;border-radius:18px;display:grid;gap:10px}
.sm-dashboard .sm-domain-dns h3{margin:0;font-size:17px}
.sm-dashboard .sm-domain-dns p{font-size:13px;line-height:1.6;margin:3px 0;color:#685f7b}
.sm-dashboard .sm-domain-record{display:flex;align-items:flex-start;flex-direction:column;gap:8px;background:white;border:1px solid #e9e3f0;border-radius:12px;padding:14px}
.sm-dashboard .sm-domain-record code{font-size:13px;max-width:100%;overflow-wrap:anywhere;user-select:all;color:#382c60}
.sm-dashboard .sm-domain-dns .sm-form-actions{display:flex;gap:10px;flex-wrap:wrap}
.sm-dashboard .sm-domain-panel a{overflow-wrap:anywhere;color:#6941b8}
.sm-dashboard .sm-domain-error{padding:12px;background:#fff0f0;border-radius:11px;color:#a03939!important}
@media(max-width:620px){.sm-dashboard .sm-domain-dns{padding:14px}.sm-dashboard .sm-domain-dns .sm-form-actions>.sm-btn{width:100%}}
