:root {
  --green: #16784b;
  --green-dark: #0f5c39;
  --green-soft: #eaf5ef;
  --ink: #18211d;
  --muted: #65716b;
  --line: #dce3df;
  --surface: #ffffff;
  --canvas: #f4f6f5;
  --amber: #a55a00;
  --amber-soft: #fff4df;
  --red: #b42318;
  --red-soft: #fff0ee;
  --blue: #155eef;
  --shadow: 0 10px 35px rgba(24, 33, 29, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon { width: 18px; height: 18px; stroke-width: 2; flex: none; }
.btn { min-height: 40px; border: 1px solid transparent; border-radius: 6px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; background: var(--surface); color: var(--ink); white-space: nowrap; }
.btn:hover { filter: brightness(.97); }
.btn:focus-visible, .input:focus-visible, .select:focus-visible, .nav-item:focus-visible { outline: 3px solid rgba(21, 94, 239, .22); outline-offset: 1px; }
.btn-primary { background: var(--green); color: white; }
.btn-secondary { border-color: var(--line); }
.btn-danger { color: var(--red); border-color: #f0c7c2; }
.btn-icon { width: 40px; padding: 0; border-color: var(--line); }
.btn-sm { min-height: 34px; padding: 0 11px; font-size: 13px; }
.input, .select, .textarea { width: 100%; min-height: 42px; border: 1px solid #cfd8d3; border-radius: 6px; background: white; padding: 9px 11px; color: var(--ink); }
.textarea { min-height: 90px; resize: vertical; }
.textarea.tall { min-height: 132px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 650; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.error-text { color: var(--red); font-size: 13px; min-height: 18px; }
.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wrap { flex-wrap: wrap; }
.muted { color: var(--muted); }
.money { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.badge { display: inline-flex; min-height: 25px; align-items: center; padding: 2px 8px; border-radius: 999px; background: #edf1ef; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.green { color: var(--green-dark); background: var(--green-soft); }
.badge.amber { color: var(--amber); background: var(--amber-soft); }
.badge.red { color: var(--red); background: var(--red-soft); }
.empty { padding: 46px 24px; text-align: center; color: var(--muted); border: 1px dashed #cbd5d0; border-radius: 6px; background: white; }
.empty .icon { width: 32px; height: 32px; margin: 0 auto 10px; }

/* Auth */
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 520px) 1fr; background: white; }
.auth-panel { padding: clamp(26px, 5vw, 72px); display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 820; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 6px; }
.auth-form { width: min(100%, 380px); margin: auto; }
.auth-form h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: 0; }
.auth-switch { margin-top: 20px; font-size: 14px; }
.link-btn { border: 0; padding: 0; color: var(--green); background: transparent; font-weight: 700; }
.auth-scene { min-height: 100vh; position: relative; overflow: hidden; background: #26312c url('/auth-universal-catalog.png') center/cover no-repeat; color: white; display: flex; align-items: flex-end; padding: clamp(32px, 6vw, 90px); }
.auth-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,21,.15), rgba(10,30,21,.92)); }
.auth-copy { position: relative; z-index: 1; max-width: 580px; }
.auth-copy h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: 0; }
.auth-copy p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); }
.turnstile-widget { min-height: 65px; width: 100%; display: flex; align-items: center; }
.turnstile-widget > div, .turnstile-widget iframe { max-width: 100%; }
.turnstile-loading { min-height: 65px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #f8faf9; color: var(--muted); display: flex; align-items: center; gap: 10px; font-size: 13px; }
.turnstile-loading .spinner { width: 20px; height: 20px; border-width: 2px; margin: 0; }
.turnstile-status { margin-top: -7px; color: var(--muted); font-size: 11px; }
.turnstile-status.success-text { color: var(--green); }
.oauth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.oauth-divider::before, .oauth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.oauth-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.oauth-provider { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.share-catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; }
.share-catalog > img { width: 220px; height: 220px; border: 1px solid var(--line); background: #fff; padding: 8px; }
@media (max-width: 560px) { .share-catalog { grid-template-columns: 1fr; } .share-catalog > img { margin: 0 auto; } }

/* Admin */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.admin-shell.sidebar-collapsed { grid-template-columns: 76px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 20px 14px; background: #14251d; color: white; display: flex; flex-direction: column; overflow: hidden; }
.sidebar .brand { padding: 0 8px 22px; }
.sidebar .brand-mark { background: white; color: var(--green-dark); }
.nav { min-height: 0; display: grid; align-content: start; gap: 4px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.nav-item { width: 100%; min-height: 42px; border: 0; border-radius: 6px; padding: 0 11px; background: transparent; color: #c9d7d0; display: flex; align-items: center; gap: 11px; text-align: left; font-weight: 600; }
.nav-item:hover { color: white; background: rgba(255,255,255,.07); }
.nav-item.active { color: white; background: rgba(255,255,255,.13); }
.sidebar-toggle { min-height: 42px; margin-top: auto; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: transparent; color: #c9d7d0; display: flex; align-items: center; gap: 11px; font-weight: 650; }
.sidebar-toggle:hover { color: white; background: rgba(255,255,255,.07); }
.sidebar-collapsed .sidebar { padding-inline: 10px; }
.sidebar-collapsed .sidebar .brand { justify-content: center; padding-inline: 0; }
.sidebar-collapsed .brand-text, .sidebar-collapsed .nav-item span, .sidebar-collapsed .sidebar-toggle span { display: none; }
.sidebar-collapsed .nav-item, .sidebar-collapsed .sidebar-toggle { justify-content: center; padding-inline: 0; }
.mobile-nav-more { display:none; }
.mobile-section-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.mobile-section-item { min-height:86px; padding:14px 10px; border:1px solid var(--line); border-radius:7px; background:var(--surface); color:var(--ink); display:grid; place-items:center; align-content:center; gap:8px; font-weight:750; }
.mobile-section-item .icon { width:24px; height:24px; color:var(--green); }
.mobile-section-item.active { border-color:var(--green); background:color-mix(in srgb,var(--green) 8%,var(--surface)); }
.sidebar-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.12); }
.tenant-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-main { min-width: 0; }
.topbar { min-height: 68px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 20; }
.topbar-context { min-width: 0; display: grid; gap: 3px; }
.topbar-title { font-size: 18px; font-weight: 780; }
.topbar-meta { min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.topbar-meta > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar-meta > * + *::before { content: '·'; margin-right: 8px; color: #9aa8a1; }
.topbar-meta strong { max-width: 260px; color: var(--ink); }
.catalog-switch-button { max-width: 280px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 750; display: inline-flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-switch-button .icon { width: 14px; height: 14px; }
.topbar-actions { flex: none; }
.notification-button { position: relative; }
.notification-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid white; border-radius: 10px; background: var(--red); color: white; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.catalog-moderation-bar { min-height: 62px; padding: 10px 28px; border-bottom: 1px solid #e3d7ab; background: #fff8df; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-moderation-bar > div:first-child { min-width: 0; display: flex; align-items: center; gap: 10px; }
.catalog-moderation-bar > div:first-child > .icon { width: 21px; height: 21px; color: #8a6200; flex: none; }
.catalog-moderation-bar span { min-width: 0; display: grid; gap: 2px; }
.catalog-moderation-bar strong { font-size: 14px; }
.catalog-moderation-bar small { color: #685c39; font-size: 12px; }
.catalog-moderation-bar.rejected { border-color: #e8c6c6; background: #fff1f1; }
.catalog-moderation-bar.rejected > div:first-child > .icon { color: var(--red); }
.main-content { padding: 28px; max-width: 1500px; margin: 0 auto; }
.page-head { margin-bottom: 22px; }
.page-head h1 { margin: 0 0 5px; font-size: 26px; letter-spacing: 0; }
.page-head p { margin: 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.stat-label { color: var(--muted); font-size: 13px; }
.stat-value { margin-top: 8px; font-size: 25px; font-weight: 800; font-variant-numeric: tabular-nums; }
.panel { border: 1px solid var(--line); border-radius: 6px; background: white; overflow: hidden; }
.panel-head { min-height: 58px; padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-head h2 { margin: 0; font-size: 16px; }
.toolbar { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.selection-line { min-height: 42px; margin-bottom: 10px; padding: 8px 12px; border: 1px solid var(--line); background: white; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pagination { min-height: 58px; padding: 10px 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; }
.search { position: relative; flex: 1; max-width: 460px; }
.search .icon { position: absolute; left: 12px; top: 12px; color: var(--muted); }
.search .input { padding-left: 40px; }
.table-wrap { overflow-x: auto; scrollbar-gutter: stable; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { height: 43px; padding: 8px 14px; border-bottom: 1px solid var(--line); background: #f8faf9; color: var(--muted); text-align: left; font-size: 12px; font-weight: 750; white-space: nowrap; }
td { min-height: 54px; padding: 11px 14px; border-bottom: 1px solid #edf0ee; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfb; }
.clickable-row, [data-product-row] { cursor: pointer; }
.products-admin-table th:last-child, .products-admin-table td:last-child { position: sticky; right: 0; z-index: 2; background: white; box-shadow: -1px 0 var(--line); }
.products-admin-table th:last-child { z-index: 3; background: #f8faf9; }
.products-admin-table tbody tr:hover td:last-child { background: #fbfcfb; }
.products-admin-table td:last-child { width: 104px; }
.product-cell { display: flex; align-items: center; gap: 11px; min-width: 240px; }
.product-thumb { width: 44px; height: 44px; padding: 3px; border-radius: 5px; object-fit: contain; background: #f7f9f8; flex: none; }
.product-title { font-weight: 700; }
.sku { color: var(--muted); font-size: 12px; margin-top: 3px; }
.status-select { min-height: 32px; border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; background: white; }
.import-zone { width: 100%; min-height: 168px; margin-bottom: 18px; padding: 30px 22px; border: 2px dashed #bfcac4; border-radius: 6px; background: white; text-align: center; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 5px; }
.import-zone.drag { border-color: var(--green); background: var(--green-soft); }
.import-zone .icon { width: 34px; height: 34px; color: var(--green); margin: 0 0 6px; }
.import-zone input { display: none; }
.import-result { padding: 14px 16px; background: var(--green-soft); color: var(--green-dark); border-radius: 6px; }
.two-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 18px; align-items: start; }
.settings-form { padding: 18px; }
.audit-list { display: grid; }
.audit-item { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category-item { min-height: 150px; padding: 17px; border: 1px solid var(--line); border-radius: 6px; background: white; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; position: relative; }
.category-check { position: absolute; top: 13px; right: 13px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: white; }
.category-check input { width: 17px; height: 17px; accent-color: var(--green); }
.category-item h3 { margin: 14px 0 3px; font-size: 16px; }
.category-item p { margin: 0; color: var(--muted); font-size: 13px; }
.category-icon { width: 38px; height: 38px; border-radius: 6px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.danger-notice { border-color: #e8c6c6; background: var(--red-soft); color: var(--red); }
.notification-list { display: grid; max-height: 65vh; overflow-y: auto; }
.notification-item { width: 100%; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); text-align: left; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; }
.notification-item.unread { background: var(--green-soft); }
.notification-icon { width: 36px; height: 36px; border-radius: 6px; background: white; color: var(--green); display: grid; place-items: center; }
.notification-item > span:last-child { min-width: 0; display: grid; gap: 3px; }
.notification-item small, .notification-item time { color: var(--muted); font-size: 12px; line-height: 1.4; }
.support-list { display: grid; gap: 10px; }
.support-ticket { width: 100%; min-height: 82px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.support-ticket:hover { border-color: var(--green); }
.support-ticket > span { display: grid; gap: 5px; }
.support-ticket > span:last-child { justify-items: end; color: var(--muted); font-size: 12px; }
.support-ticket small, .support-ticket time { color: var(--muted); font-size: 12px; }
.support-thread { max-height: 52vh; padding: 4px; overflow-y: auto; display: grid; gap: 10px; }
.support-message { max-width: 88%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #f8faf9; }
.support-message.admin { justify-self: end; background: var(--green-soft); border-color: #cce5d8; }
.support-message > div { display: flex; justify-content: space-between; gap: 16px; }
.support-message time { color: var(--muted); font-size: 11px; }
.support-message p { margin: 7px 0 0; white-space: pre-wrap; line-height: 1.5; }
.support-reply-form { margin-top: 16px; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.consent-check input { margin-top: 3px; flex: none; }
.consent-check a { color: var(--green); font-weight: 700; }
.support-mode-bar { min-height: 54px; padding: 9px 22px; border-bottom: 1px solid #e9c46a; background: #fff8df; display: flex; align-items: center; gap: 10px; }
.support-mode-bar > span { min-width: 0; display: grid; gap: 2px; flex: 1; }
.support-mode-bar small { color: #78621e; }
.topbar-balance { white-space: nowrap; }
.topbar-balance.active, .topbar-plan.active { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.balance-overview { margin-bottom: 18px; border-radius: 7px; background: #102a20; color: white; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(230px,.7fr); overflow: hidden; }
.balance-amount, .balance-plan { min-height: 132px; padding: 24px 28px; display: grid; align-content: center; gap: 5px; }
.balance-amount span, .balance-plan span, .balance-plan small { color: #bcd4c9; }
.balance-amount strong { font-size: 36px; line-height: 1.1; }
.balance-plan { border-left: 1px solid rgba(255,255,255,.16); }
.balance-plan strong { font-size: 20px; }
.billing-history-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.billing-history-panel { min-width: 0; overflow: hidden; }
.billing-ledger { display: grid; }
.billing-ledger > div { min-height: 62px; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.billing-ledger > div:last-child { border-bottom: 0; }
.billing-ledger span { min-width: 0; display: grid; gap: 4px; }
.billing-ledger strong { overflow-wrap: anywhere; line-height: 1.35; }
.billing-ledger-amount { flex: none; white-space: nowrap; text-align: right; }
.billing-ledger small { color: var(--muted); }
.billing-ledger .positive { color: var(--green); }
.billing-ledger .negative { color: var(--red); }
.billing-period { width: max-content; margin: 0 auto 22px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: white; display: flex; }
.billing-period button { min-height: 38px; padding: 0 18px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-weight: 750; }
.billing-period button.active { background: var(--green); color: white; }
.billing-period span { margin-left: 5px; font-size: 11px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.pricing-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; display: flex; flex-direction: column; gap: 20px; }
.pricing-card.featured { border: 2px solid var(--green); box-shadow: 0 8px 24px rgba(17,91,57,.1); }
.pricing-card.trial-offer, .landing-price-card.trial-offer { border-color: #168451; box-shadow: 0 12px 30px rgba(17,91,57,.13); }
.trial-badge { align-self: flex-start; padding: 7px 10px; border-radius: 5px; background: #e4f6ec; color: #0b6a3e; font-size: 12px; font-weight: 850; }
.pricing-card-head > span { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pricing-card h2 { margin: 5px 0 14px; font-size: 22px; }
.pricing-price { display: flex; align-items: baseline; gap: 7px; }
.pricing-price strong { font-size: 30px; }
.pricing-price small { color: var(--muted); }
.pricing-features { display: grid; gap: 11px; flex: 1; }
.pricing-features > div { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.pricing-features .icon { color: var(--green); flex: none; }
.pricing-features .unavailable { color: var(--muted); }
.pricing-features .unavailable .icon { color: #a5ada9; }
.pricing-balance { margin-top: 18px; padding: 15px 18px; border: 1px solid var(--line); background: white; display: flex; justify-content: center; gap: 12px; }
.referral-panel { max-width: 920px; margin: 18px auto 0; }
.referral-panel .panel-head > .icon { width: 28px; height: 28px; color: var(--green); }
.referral-link { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 8px; }
.referral-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); }
.referral-stats > div { padding: 14px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.referral-stats > div:last-child { border-right: 0; }
.referral-stats span { color: var(--muted); font-size: 12px; }
.referral-stats strong { font-size: 20px; }
.referral-list { margin-top: 12px; display: grid; }
.referral-list > div { min-height: 54px; padding: 9px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.referral-list > div > span:first-child { display: grid; gap: 3px; }
.referral-list small { color: var(--muted); }
.referral-invite-notice { padding: 12px; border: 1px solid #b8dfca; border-radius: 7px; background: #edf9f2; color: #0b6a3e; display: flex; align-items: center; gap: 10px; }
.referral-invite-notice .icon { flex: none; }
.referral-invite-notice span { display: grid; gap: 2px; }
.referral-invite-notice small { color: #3f6e57; }
.trial-settings { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #f8faf9; }
.trial-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.trial-settings-head p { margin: 4px 0 0; }
.trial-settings-fields { margin-top: 14px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { position: absolute; inset: 0; border-radius: 12px; background: #a9b3ae; cursor: pointer; transition: background .2s ease; }
.switch span::after { content: ''; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.payment-details { padding: 14px; border: 1px solid var(--line); background: #f8faf9; }
.payment-details p { margin: 7px 0 0; line-height: 1.55; }
.billing-requests-head { margin-top: 24px; }
.platform-enter-company { margin-top: 5px; font-size: 12px; }
.platform-trusted-control { margin-top: 8px; display: grid; grid-template-columns: auto minmax(150px,260px); align-items: center; gap: 8px; }
.platform-trusted-control .input { min-height: 36px; }
.platform-user-plan-form { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.platform-user-plan-form .panel-head { margin-bottom: 12px; }
.platform-user-plan-form h3 { margin: 0; font-size: 17px; }
.compact-list-row { min-height: 54px; padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compact-list-row > span:first-child { display: grid; gap: 3px; }
.compact-list-row small { color: var(--muted); }
.profile-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-stat-grid > div { padding: 12px; border: 1px solid var(--line); border-radius: 6px; display: grid; gap: 5px; }
.profile-stat-grid span { color: var(--muted); font-size: 12px; }
.catalog-switch-list { margin-bottom: 14px; display: grid; gap: 8px; }
.catalog-switch-item { width: 100%; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.catalog-switch-item.active { border-color: var(--green); background: var(--green-soft); }
.catalog-switch-item > span:first-child { min-width: 0; display: grid; gap: 3px; }
.catalog-switch-item small { color: var(--muted); }
.platform-company-actions { margin-top:8px; display:flex; align-items:center; gap:6px; }
.platform-company-actions .link-btn { margin-right:4px; }
.danger-icon { color:var(--red); }
.danger-icon:hover { border-color:var(--red); background:#fff1f1; color:var(--red); }
.image-upload-row { display: flex; align-items: flex-start; gap: 14px; }
.upload-preview { width: 118px; height: 96px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; flex: none; }
.logo-preview { width: 96px; height: 64px; padding: 5px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: white; flex: none; }
.import-options { margin-bottom: 14px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.import-mapping { margin-bottom: 14px; }
.mapping-grid { padding: 16px; display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 12px; }
.switch-row { min-height: 56px; display: flex; align-items: center; gap: 11px; }
.switch-row input { width: 19px; height: 19px; accent-color: var(--green); }
.switch-row span { display: grid; gap: 3px; }
.catalog-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.catalog-fields .switch-row { min-height: 42px; }
.catalog-fields .required-setting { grid-column: 1 / -1; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.catalog-info-settings, .catalog-banner-settings { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); display: grid; gap: 10px; }
.catalog-info-setting { padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); display: grid; gap: 9px; }
.catalog-info-setting .switch-row { min-height: 38px; padding: 0; border: 0; background: transparent; }
.catalog-info-setting .form-grid { gap: 9px; }
.catalog-info-setting .field label, .catalog-banner-settings .field label { font-size: 11px; }
.catalog-banner-settings.locked { opacity: .72; }
.banner-upload-help { margin-top: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 10px 12px; align-items: center; color: var(--muted); font-size: 12px; }
.banner-upload-help > div { display: grid; gap: 3px; }
.banner-upload-help strong { color: var(--ink); font-size: 13px; }
.banner-upload-help span { line-height: 1.45; }
.banner-upload-help small { grid-column: 1 / -1; }
.banner-upload-help .loading { opacity: .65; pointer-events: none; }
.custom-domain-panel .panel-head { align-items: flex-start; }
.custom-domain-wizard { display: grid; gap: 14px; }
.domain-step { min-width: 0; padding: 20px; border: 1px solid #cbd8d1; border-radius: 8px; background: #f8faf9; }
.domain-step:first-of-type { border-top: 1px solid var(--line); padding-top: 18px; }
.domain-step-heading { display: flex; gap: 12px; align-items: flex-start; }
.domain-step-heading h3 { margin: 1px 0 5px; font-size: 16px; }
.domain-step-heading p { margin: 0; color: var(--muted); line-height: 1.5; }
.domain-step-number { min-width: 62px; height: 30px; padding: 0 10px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #0f633e; border-radius: 5px; background: #16784b; color: #fff; box-shadow: 0 1px 2px rgba(15,99,62,.18); font-size: 12px; font-weight: 800; }
.domain-step-body { min-width: 0; display: grid; gap: 12px; margin-top: 16px; }
.favicon-domain-control { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; align-items: center; }
.favicon-domain-control > img,.favicon-placeholder { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }
.favicon-placeholder { display: grid; place-items: center; color: var(--muted); }
.favicon-placeholder svg { width: 24px; height: 24px; }
.domain-input-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.domain-input-row .btn { min-height: 44px; }
.domain-help { margin: 0; color: var(--muted); line-height: 1.5; }
.domain-help code { padding: 2px 5px; border-radius: 4px; background: var(--canvas); color: var(--ink); }
.domain-register-callout { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) minmax(220px,auto); gap: 12px; align-items: center; margin-top: 4px; padding: 14px; border: 1px solid #b8d7c7; border-radius: 7px; background: #f1f8f4; }
.domain-register-callout > span { color: var(--accent); }
.domain-register-callout p { margin: 3px 0 0; color: var(--muted); line-height: 1.45; }
.domain-register-callout .btn { max-width: 290px; justify-self: end; white-space: normal; text-align: center; line-height: 1.25; }
.dns-instructions { display: grid; gap: 12px; }
.dns-record-card { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.dns-record-card header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.dns-record-card header > div { display: grid; gap: 3px; }
.dns-record-card header small { color: var(--muted); line-height: 1.45; }
.dns-type { min-width: 52px; padding: 6px 9px; border-radius: 5px; background: color-mix(in srgb,var(--accent) 12%,white); color: var(--accent); text-align: center; font-weight: 850; }
.dns-record-fields { display: grid; grid-template-columns: minmax(160px,.7fr) minmax(260px,1.3fr); gap: 12px; }
.dns-record-field { min-width: 0; display: grid; gap: 6px; }
.dns-record-field > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.dns-copy-value { min-width: 0; min-height: 44px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.dns-copy-value code { min-width: 0; padding: 10px 12px; overflow-wrap: anywhere; font: 12px/1.45 ui-monospace,Consolas,monospace; }
.dns-copy-button { width: 48px; height: 100%; min-height: 42px; padding: 0; border-width: 0 0 0 1px; border-radius: 0; white-space: nowrap; }
.dns-copy-button svg { width: 18px; height: 18px; }
.dns-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 6px; background: #edf7f2; color: #245c43; }
.dns-note svg { flex: 0 0 auto; margin-top: 2px; }
.dns-note p { margin: 0; line-height: 1.5; }
.custom-domain-result { padding: 16px 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); text-align: left; }
.custom-domain-result .domain-result-content { width: 100%; max-width: 100%; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; align-items: center; justify-content: start; text-align: left; }
.custom-domain-result .domain-result-content > div { min-width: 0; display: grid; gap: 3px; justify-items: start; text-align: left; }
.custom-domain-result .domain-result-content strong,
.custom-domain-result .domain-result-content span { display: block; width: 100%; text-align: left; }
.custom-domain-result span { overflow-wrap: anywhere; }
.custom-domain-result .domain-result-content > svg { width: 22px; height: 22px; margin: 0; align-self: center; }
.custom-domain-result.success { border-color: #8dc7aa; background: #edf8f2; color: #12633e; }
.custom-domain-result.error { border-color: #e5a8a8; background: #fff2f2; color: #9d2424; }
.domain-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.locked-feature { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.locked-feature > span { color: var(--accent); }
.locked-feature p { margin: 4px 0 0; color: var(--muted); }
.seller-payment-panel .panel-head { align-items: flex-start; }
.payment-provider-settings { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.payment-setup-guide { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.payment-setup-guide h3 { margin: 0 0 10px; font-size: 17px; }
.payment-setup-guide ol { margin: 0 0 16px; padding-left: 22px; color: var(--text); }
.payment-setup-guide li { margin: 0 0 9px; line-height: 1.5; }
.payment-setup-guide .row { flex-wrap: wrap; align-items: center; }
.seller-payment-panel .dns-copy-value { width: 100%; }
.banner-settings-preview { grid-column: 1 / -1; width: min(100%, 560px); height: auto; aspect-ratio: 35 / 13; object-fit: cover; border: 1px solid var(--line); border-radius: 7px; }
.banner-validation-status { grid-column: 1 / -1; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9f8; color: var(--muted); line-height: 1.45; display: grid; gap: 2px; }
.banner-validation-status.success { border-color: color-mix(in srgb, var(--green) 36%, var(--line)); background: color-mix(in srgb, var(--green) 7%, white); color: var(--green-dark); }
.banner-validation-status.error { border-color: #e7a2a2; background: #fff1f1; color: #9d2525; box-shadow: 0 0 0 3px rgba(178,52,52,.08); }
.banner-validation-status.error strong { color: #8e1f1f; font-size: 14px; }
.banner-validation-status.error small { color: #9d4545; }
.platform-trusted-toggle { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 12px; font-weight: 750; }
.platform-trusted-toggle input { accent-color: var(--green); }
.switch-row small { color: var(--muted); }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 18px; align-items: start; }
.settings-layout.tabbed-settings { display: block; }
.settings-tabs { position: sticky; z-index: 8; top: 68px; margin: -4px 0 18px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; background: color-mix(in srgb,var(--surface) 94%,transparent); backdrop-filter: blur(12px); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.settings-tabs button { min-height: 40px; padding: 8px 13px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
.settings-tabs button.active { background: var(--green); color: #fff; }
.settings-tabs .icon { width: 17px; height: 17px; }
.settings-tab-content > [data-settings-panel] { display: none; }
.settings-tab-content > [data-settings-panel].active { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.settings-tab-content > [data-settings-panel="company"] .panel, .settings-tab-content > [data-settings-panel="catalog"] .panel, .settings-tab-content > [data-settings-panel="orders"] .panel, .settings-tab-content > [data-settings-panel="currency"] .panel, .settings-tab-content > [data-settings-panel="history"] .panel { grid-column: 1 / -1; }
.page-head-copy { min-width: 0; }
.page-head-copy p { margin-bottom: 0; }
#settings-save-top { flex: none; }
.settings-form-error:empty { display: none; }
.palette-list { display: flex; flex-wrap: wrap; gap: 9px; }
.palette { width: 64px; height: 38px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: white; display: flex; overflow: hidden; }
.palette:hover { border-color: var(--ink); }
.palette i { flex: 1; height: 100%; background: var(--c); }
.color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.color-grid label { color: var(--muted); font-size: 11px; text-align: center; }
.color-grid input { display: block; width: 100%; height: 38px; margin-top: 5px; padding: 2px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.catalog-preview { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--p-text); background: var(--p-bg); }
.preview-head { height: 46px; padding: 0 12px; background: var(--p-surface); display: flex; align-items: center; justify-content: space-between; font-weight: 750; }
.preview-head b { padding: 6px 9px; border-radius: 4px; background: var(--p-accent); color: white; font-size: 11px; }
.preview-body { margin: 12px; padding: 13px; background: var(--p-surface); border-radius: 5px; display: grid; gap: 7px; }
.preview-body small { color: var(--p-accent); font-weight: 800; }
.preview-body span { color: var(--muted); font-size: 11px; }
.preview-body div { display: flex; align-items: center; justify-content: space-between; }
.preview-body button { border: 0; border-radius: 4px; padding: 6px 9px; background: var(--p-accent); color: white; font-size: 11px; }

/* Catalog */
.catalog-page { min-height: 100vh; background: var(--canvas); padding-bottom: 64px; overflow-x: clip; font-size: 13px; }
html:has(.catalog-page), html:has(.catalog-state-page), body:has(.catalog-page), body:has(.catalog-state-page) { max-width:100%; overflow-x:hidden; }
.catalog-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.catalog-header-inner { max-width: 1280px; min-height: 52px; margin: 0 auto; padding: 6px 18px; display: grid; grid-template-columns: minmax(165px, .7fr) minmax(240px, 1.4fr) auto; align-items: center; gap: 15px; }
.catalog-header .search { max-width: 420px; }
.catalog-header .search .input { min-height: 38px; padding-left: 36px; font-size: 13px; }
.catalog-header .search .icon { left: 11px; top: 10px; width: 18px; height: 18px; }
.catalog-page .input, .catalog-page .select, .catalog-page .btn-secondary { background: var(--surface); color: var(--ink); }
.catalog-page .panel { background: var(--surface); }
.catalog-brand-name { min-width: 0; font-size: 15px; font-weight: 820; overflow: hidden; display: flex; align-items: center; gap: 8px; }
.catalog-brand-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-logo { width: 32px; height: 32px; object-fit: contain; flex: none; }
.cart-btn { position: relative; }
.cart-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: white; color: var(--green); font-size: 11px; font-weight: 800; }
.catalog-inner { width: 100%; max-width: 1280px; min-width: 0; margin: 0 auto; padding: 18px; }
#catalog-products, .catalog-table { min-width: 0; max-width: 100%; }
.catalog-table .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; contain: inline-size paint; }
.catalog-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.catalog-info h1 { margin: 0 0 5px; font-size: 26px; letter-spacing: 0; }
.catalog-info p { margin: 0; color: var(--muted); }
.catalog-notice { max-width: 760px; margin-top: 9px; padding-left: 10px; border-left: 3px solid var(--green); color: var(--ink); font-size: 12px; line-height: 1.45; white-space: pre-line; }
.catalog-actions { margin-top: auto; padding-top: 16px; display: flex; align-items: stretch; gap: 9px; flex-direction: column; }
.catalog-actions > .row { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.catalog-actions .btn { min-height: 38px; padding: 0 12px; border-radius: 6px; font-size: 12px; }
.catalog-hero { display: grid; gap: 10px; margin-bottom: 14px; }
.catalog-hero-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(380px, 1fr); gap: 28px; align-items: stretch; }
.catalog-hero-main.no-banner { grid-template-columns: minmax(0, 1fr); }
.catalog-supplier-card { min-width: 0; padding: 12px 0 16px; border: 0; background: transparent; display: flex; flex-direction: column; }
.catalog-supplier-copy { min-width: 0; }
.catalog-supplier-card h1 { margin: 10px 0 6px; font-size: 24px; line-height: 1.08; letter-spacing: 0; }
.catalog-supplier-card p { max-width: 760px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.trusted-badge { width: max-content; max-width: 100%; padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--green) 12%, var(--surface)); color: var(--green); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.trusted-badge .icon { width: 17px; height: 17px; }
.catalog-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 0; border: 0; }
.catalog-fact, .catalog-fact:first-child { min-width: 0; min-height: 62px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); display: flex; align-items: center; gap: 9px; }
.catalog-fact > span { width: 32px; height: 32px; border: 1px solid color-mix(in srgb,var(--green) 42%,var(--line)); border-radius: 50%; color: var(--green); display: grid; place-items: center; flex: none; }
.catalog-fact .icon { width: 16px; height: 16px; }
.catalog-fact div { min-width: 0; display: grid; gap: 3px; }
.catalog-fact strong { font-size: 11px; line-height: 1.2; }
.catalog-fact small { color: var(--muted); font-size: 10px; line-height: 1.25; }
.catalog-hero-banner { position: relative; isolation: isolate; min-width: 0; min-height: 225px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); overflow: hidden; display: flex; align-items: center; }
.catalog-hero-banner::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.28) 72%, rgba(255,255,255,0) 100%); }
.catalog-hero-banner > div { position: relative; z-index: 2; width: min(68%,400px); padding: 20px; }
.catalog-hero-banner h2 { margin: 0 0 7px; color: var(--green); font-size: 18px; line-height: 1.18; }
.catalog-hero-banner p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; white-space: pre-line; }
.catalog-banner-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.catalog-shop-layout { display: block; }
.catalog-results { min-width: 0; }
.catalog-filter-dropdown { position: relative; width: min(340px,100%); }
.catalog-filter-dropdown > summary { min-height: 40px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; transition: border-color .15s ease, box-shadow .15s ease; }
.catalog-filter-dropdown > summary::-webkit-details-marker { display: none; }
.catalog-filter-dropdown > summary:hover, .catalog-filter-dropdown[open] > summary { border-color: color-mix(in srgb,var(--green) 55%,var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb,var(--green) 8%,transparent); }
.catalog-filter-dropdown > summary > .icon:first-child { width: 20px; height: 20px; color: var(--green); flex: none; }
.catalog-filter-dropdown > summary > span { min-width: 0; flex: 1; display: grid; gap: 1px; }
.catalog-filter-dropdown > summary strong { font-size: 14px; }
.catalog-filter-dropdown > summary small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-filter-dropdown > summary > b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--green); color: white; font-size: 12px; display: grid; place-items: center; }
.catalog-filter-dropdown > summary > .icon:last-child { width: 17px; height: 17px; color: var(--muted); transition: transform .15s ease; }
.catalog-filter-dropdown[open] > summary > .icon:last-child { transform: rotate(180deg); }
.catalog-filter-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 25; width: min(360px,calc(100vw - 28px)); padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 18px 48px rgba(17,35,27,.16); display: grid; gap: 13px; }
.catalog-filter-menu .field { margin: 0; }
.catalog-filter-menu .field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 750; }
.catalog-filter-menu .btn { width: 100%; min-height: 42px; }
.filter-switch { position: relative; cursor: pointer; }
.filter-switch > input { position: absolute; opacity: 0; pointer-events: none; }
.filter-switch > span { min-height: 58px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; gap: 10px; }
.filter-switch > span > .icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.filter-switch > span > span { display: grid; gap: 2px; }
.filter-switch strong { font-size: 13px; }
.filter-switch small { color: var(--muted); font-size: 11px; }
.filter-switch > input:checked + span { border-color: var(--green); background: color-mix(in srgb,var(--green) 7%,var(--surface)); }
.filter-switch > input:checked + span > .icon { color: var(--green); }
.mobile-columns-control { display: none; }
.mobile-columns-control button { width: 40px; height: 36px; }
.mobile-columns-control .icon { width: 18px; height: 18px; }
.category-tabs { display: flex; gap: 5px; overflow-x: auto; padding: 3px 0 9px; margin-bottom: 12px; scrollbar-width: thin; }
.mobile-category-picker { display: none; margin-bottom: 14px; }
.mobile-category-picker label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.category-btn { min-height: 34px; border: 1px solid transparent; border-radius: 5px; padding: 0 11px; background: transparent; white-space: nowrap; color: var(--muted); font-weight: 650; }
.category-btn:hover { background: color-mix(in srgb, var(--surface) 75%, transparent); border-color: var(--line); }
.category-btn.active { background: var(--surface); color: var(--green); border-color: var(--line); box-shadow: inset 0 -2px var(--green); }
.category-btn.category-more { color: var(--green); border-color: color-mix(in srgb, var(--green) 35%, white); }
.catalog-toolbar { position: relative; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.catalog-toolbar-left { min-width: 0; display: flex; align-items: center; gap: 13px; }
.catalog-toolbar-left .catalog-filter-dropdown { width: 280px; }
.catalog-toolbar .segmented button { height: 36px; }
.catalog-show-more { width: min(100%, 360px); margin: 18px auto 0; display: flex; }
.catalog-show-more[hidden] { display: none; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.segmented button { width: 35px; height: 30px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.segmented button.active { background: #edf1ef; color: var(--ink); }
.products-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.products-grid.no-images .product-card h3 { min-height: 42px; margin-top: 10px; }
.product-card { min-width: 0; border: 1px solid color-mix(in srgb, var(--line) 82%, transparent); border-radius: 8px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease; box-shadow: 0 8px 26px rgba(22,39,31,.045); cursor: pointer; }
.product-card:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); transform: translateY(-1px); }
.product-card-image { aspect-ratio: 3 / 4; width: 100%; object-fit: contain; padding: 8px; background: color-mix(in srgb, var(--canvas) 58%, var(--surface)); }
.product-card > .image-placeholder { aspect-ratio: 3 / 4; width: 100%; }
.product-card-gallery { position: relative; aspect-ratio: 3 / 4; width: 100%; overflow: hidden; background: color-mix(in srgb, var(--canvas) 58%, var(--surface)); }
.product-card-gallery-track { height: 100%; display: flex; transition: transform .24s ease; }
.product-card-gallery-track .product-card-image { flex: 0 0 100%; height: 100%; min-width: 100%; }
.product-card-gallery-arrow { position: absolute; top: 50%; z-index: 2; width: 32px; height: 40px; border: 1px solid color-mix(in srgb, var(--line) 72%, transparent); border-radius: 6px; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: translateY(-50%); transition: opacity .15s ease, background .15s ease; box-shadow: 0 3px 12px rgba(20,35,28,.12); }
.product-card-gallery:hover .product-card-gallery-arrow, .product-card-gallery:focus-within .product-card-gallery-arrow { opacity: 1; }
.product-card-gallery-arrow:hover { background: #fff; }
.product-card-gallery-arrow.prev { left: 7px; }
.product-card-gallery-arrow.next { right: 7px; }
.product-card-gallery-arrow .icon { width: 18px; height: 18px; }
.product-card-gallery-dots { position: absolute; z-index: 2; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 12px; background: rgba(255,255,255,.88); }
.product-card-gallery-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #aab4af; }
.product-card-gallery-dots button.active { width: 16px; border-radius: 4px; background: var(--green); }
.product-card:focus-visible { outline: 3px solid color-mix(in srgb,var(--green) 35%,transparent); outline-offset: 2px; }
.image-service-upload { position: relative; width: max-content; }
.image-service-upload.loading { opacity: .58; pointer-events: none; }
.image-placeholder { aspect-ratio: 4/3; display: grid; place-items: center; background: #edf1ef; color: #8b9891; }
.image-placeholder .icon { width: 35px; height: 35px; }
.product-card-body { padding: 11px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin: 7px 0 4px; font-size: 13px; line-height: 1.3; min-height: 34px; }
.product-description { color: var(--muted); font-size: 12px; line-height: 1.45; }
.product-card .product-description { margin: 0 0 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.custom-field-list { display: grid; gap: 5px; margin-top: 10px; }
.custom-field-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 7px; border-radius: 4px; font-size: 12px; }
.custom-field-list span { color: var(--muted); }
.custom-field-list strong { text-align: right; overflow-wrap: anywhere; }
.custom-value { display: inline-block; max-width: 220px; overflow-wrap: anywhere; }
.readonly-value { background: var(--canvas); min-height: 42px; display: flex; align-items: center; }
.color-input { padding: 4px; min-height: 42px; }
.highlight-settings { padding: 12px; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; }
.export-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.export-columns-panel, .export-submit { grid-column: 1 / -1; }
.export-formats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.format-choice { min-width: 0; }
.format-choice input { position: absolute; opacity: 0; pointer-events: none; }
.format-choice > span { min-height: 92px; display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; gap: 3px 9px; align-content: center; padding: 14px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: var(--surface); }
.format-choice .icon { grid-row: 1 / 3; align-self: center; }
.format-choice small { color: var(--muted); }
.format-choice input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: color-mix(in srgb,var(--green) 6%,var(--surface)); }
.export-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.export-submit { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.price-basis { margin-top: 2px; color: var(--muted); font-size: 11px; }
.wholesale-tiers { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.wholesale-tiers span { padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--green-dark); background: color-mix(in srgb, var(--canvas) 70%, var(--surface)); font-size: 10px; font-weight: 700; }
.price-tier-list { display: grid; gap: 8px; margin-top: 8px; }
.price-tier-row { display: grid; grid-template-columns: 1fr 1fr 38px; gap: 8px; }
.product-image-editor-list { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:8px 0; }
.product-image-editor-item { min-width:0;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--canvas);display:grid;gap:8px; }
.product-image-editor-item.main { border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green); }
.product-image-editor-item img { width:100%;aspect-ratio:3/4;object-fit:contain;border-radius:5px;background:#fff; }
.product-image-editor-item strong { display:block;min-height:34px;font-size:12px;line-height:1.35; }
.product-image-editor-item .row { gap:5px; }
.product-image-editor-item .btn { min-width:0; }
.product-image-upload-status { min-height:44px;margin-top:9px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--green) 30%,var(--line));border-radius:6px;background:color-mix(in srgb,var(--green) 7%,var(--surface));display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700; }
.product-image-upload-status[hidden] { display:none; }
.product-image-upload-status .spinner { width:20px;height:20px;border-width:2px;margin:0;flex:0 0 auto; }
.product-image-upload-status.success .spinner { display:none; }
.product-image-upload-status.success { color:var(--green); }
.rate-list { display: flex; gap: 8px; flex-wrap: wrap; }
.rate-list span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: #f8faf9; font-size: 12px; }
.report-period { width: 150px; }
.compact-head { padding-inline: 0; margin-top: 12px; }
.dashboard-grid.platform-overview { grid-template-columns: minmax(0,1fr); }
.platform-integrations { width: min(100%, 1040px); margin: 0 auto; }
.platform-tabs { position: sticky; z-index: 8; top: 68px; margin: -4px 0 18px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; background: color-mix(in srgb,var(--surface) 94%,transparent); backdrop-filter: blur(12px); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.platform-tabs button, .platform-settings-tabs button { min-height: 40px; padding: 8px 13px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
.platform-tabs button.active, .platform-settings-tabs button.active { background: var(--green); color: #fff; }
.platform-tabs button b { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--amber); color: #251d08; display: inline-grid; place-items: center; font-size: 11px; }
.platform-tabs .icon, .platform-settings-tabs .icon { width: 17px; height: 17px; }
.platform-tab-content > [data-platform-panel] { display: none; }
.platform-tab-content > [data-platform-panel].active { display: grid; gap: 18px; }
.infrastructure-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.infrastructure-head h2 { margin:0 0 3px; }
.server-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(310px,1fr)); gap:16px; }
.server-card { min-width:0; padding:20px; border:1px solid var(--line); border-radius:7px; background:var(--surface); box-shadow:0 8px 24px rgb(18 36 27 / 5%); }
.server-card.unavailable { border-color:#efb5b5; }
.server-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.server-card-head > div { min-width:0; display:flex; align-items:center; gap:9px; }
.server-card-head strong { overflow-wrap:anywhere; }
.status-dot { width:10px; height:10px; flex:0 0 10px; border-radius:50%; box-shadow:0 0 0 4px color-mix(in srgb,currentColor 12%,transparent); }
.status-dot.online { color:#168053; background:#168053; }
.status-dot.offline { color:#bd3030; background:#bd3030; }
.server-role { margin:8px 0 18px 19px; color:var(--muted); font-size:13px; }
.resource-list { display:grid; gap:13px; }
.resource-row > div:first-child { margin-bottom:6px; display:flex; justify-content:space-between; gap:10px; font-size:13px; }
.resource-track { height:7px; overflow:hidden; border-radius:4px; background:#e6ebe8; }
.resource-track span { display:block; height:100%; border-radius:inherit; }
.resource-track span.green { background:#168053; }
.resource-track span.amber { background:#d39419; }
.resource-track span.red { background:#c63f3f; }
.server-details { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 18px; }
.server-details div { min-width:0; }
.server-details dt { color:var(--muted); font-size:12px; }
.server-details dd { margin:3px 0 0; font-weight:700; overflow-wrap:anywhere; }
.server-weight-form{margin-top:14px;padding-top:13px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) 76px auto;align-items:end;gap:9px}.server-weight-form label{display:grid;gap:2px}.server-weight-form label span{font-weight:700}.server-weight-form label small{color:var(--muted)}.server-weight-form .input{height:40px;text-align:center}.server-weight-form .btn{height:40px}
.server-card-foot { margin-top:17px; color:var(--muted); font-size:12px; }
.infrastructure-loading .icon { animation:spin 1s linear infinite; }
.traffic-overview { margin:14px 0 16px; padding:14px 16px; border:1px solid var(--line); border-radius:7px; background:var(--surface-muted); }
.traffic-overview > div { display:flex; align-items:center; gap:12px; }
.traffic-overview .icon { width:22px; height:22px; color:var(--accent); flex:0 0 auto; }
.traffic-overview span { display:grid; gap:3px; min-width:0; }
.traffic-overview small { color:var(--muted); line-height:1.4; }
.server-tags { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 4px; }
.server-card-stale { border-color:#e8c979; }
.server-stale-note { margin:10px 0; padding:9px 10px; border-radius:6px; background:#fff8df; color:#755600; font-size:13px; line-height:1.4; }
.status-dot.warning { background:#d79b13; box-shadow:0 0 0 4px #fff1c8; }
@keyframes spin { to { transform:rotate(360deg); } }
.platform-settings-tabs { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; }
.platform-settings-tabs button.active { background: color-mix(in srgb,var(--green) 12%,var(--surface)); color: var(--green-dark); }
.platform-settings-group { display: none; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; }
.platform-settings-group.active { display: grid; }
.platform-settings-group > .hint, .platform-settings-group > .row, .platform-settings-group > .switch-row, .platform-settings-group > .span-2 { grid-column: 1 / -1; }
.platform-integrations > .error-text { margin-top: 12px; }
.platform-integrations > button[type="submit"] { margin-top: 14px; }
.product-card-foot { margin-top: auto; padding-top: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product-price { font-size: 18px; font-weight: 820; }
.stock { margin-top: 3px; color: var(--green-dark); font-size: 12px; }
.stock.out { color: var(--red); }
.pick-list-document { border: 1px solid var(--border); background: #fff; padding: 18px; }
.pick-list-title { display: grid; gap: 3px; padding-bottom: 14px; border-bottom: 2px solid var(--green); margin-bottom: 14px; }
.pick-list-title span { color: var(--green); font-size: 11px; font-weight: 800; }
.pick-list-title strong { font-size: 22px; }
.pick-list-title small { color: var(--muted); }
.pick-list-document .pick-row { border-bottom: 1px solid var(--border); padding-block: 10px; }
.pick-list-document .cart-total { margin-top: 16px; }
.qty-control { height: 36px; display: grid; grid-template-columns: 34px 42px 34px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.qty-control button { border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.qty-control button:disabled { color: #a9b3ae; background: #f3f5f4; }
.qty-control span { display: grid; place-items: center; border-inline: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.qty-control input { width: 100%; min-width: 0; border: 0; border-inline: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: center; font: inherit; font-size: 13px; font-weight: 750; appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.catalog-table .qty-control { display: inline-grid; }
.mobile-cart-bar { display: none; position: fixed; z-index: 25; left: 12px; right: 12px; bottom: 12px; min-height: 56px; padding: 8px 14px; border: 0; border-radius: 7px; background: var(--green); color: white; box-shadow: var(--shadow); align-items: center; justify-content: space-between; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 16px; margin-bottom: 18px; align-items: stretch; }
.dashboard-heading .eyebrow { display:block; margin-bottom:6px; color:var(--muted); font-size:12px; font-weight:700; }
.dashboard-heading h1 { margin-bottom:5px; }
.dashboard-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(330px,1.45fr); gap:14px; margin-bottom:16px; }
.dashboard-summary-card,.dashboard-chart-card { min-width:0; padding:18px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.dashboard-summary-card { display:grid; gap:13px; }
.dashboard-summary-card > span,.dashboard-chart-card header span { color:var(--muted); font-size:13px; font-weight:650; }
.dashboard-summary-card > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dashboard-summary-card strong { font-size:29px; line-height:1; }
.dashboard-summary-card i { width:42px; height:42px; border-radius:7px; display:grid; place-items:center; color:var(--green); background:var(--green-soft); }
.dashboard-summary-card i .icon { width:21px; height:21px; }
.dashboard-summary-card small { color:var(--green); }
.dashboard-chart-card { padding-bottom:12px; }
.dashboard-chart-card header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.dashboard-chart-card header div { display:grid; gap:4px; }
.dashboard-chart-card header strong { font-size:19px; }
.dashboard-chart-card header small { color:var(--muted); }
.dashboard-chart-range { width:auto; min-width:104px; min-height:34px; padding:5px 30px 5px 10px; font-size:12px; }
.dashboard-chart-card svg { display:block; width:100%; height:112px; margin-top:8px; overflow:visible; }
.dashboard-chart-card path { fill:none; stroke:var(--line); stroke-width:.7; }
.dashboard-chart-card polyline { fill:none; stroke:var(--green); stroke-width:2; vector-effect:non-scaling-stroke; }
.dashboard-chart-days { display:flex; justify-content:space-between; gap:5px; color:var(--muted); font-size:10px; }
.dashboard-chart-days span { min-width: 0; flex: 1 1 0; text-align: center; font-variant-numeric: tabular-nums; }
.dashboard-work-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(310px,.7fr); gap:16px; margin-bottom:16px; align-items:stretch; }
.dashboard-work-grid > .panel { margin:0; }
.dashboard-stock-panel { display:flex; flex-direction:column; }
.stock-overview-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:13px 16px 0; }
.stock-overview-row span { display:grid; gap:3px; }
.stock-overview-row span small { color:var(--muted); }
.stock-overview-row > b { color:var(--green); }
.stock-overview-row > i { grid-column:1/-1; height:5px; overflow:hidden; border-radius:4px; background:var(--line); }
.stock-overview-row > i em { display:block; height:100%; background:var(--green); }
.stock-overview-row.low > b { color:#a16900; }
.stock-overview-row.low > i em { background:#d39118; }
.stock-overview-row.empty-stock > b { color:var(--red); }
.stock-overview-row.empty-stock > i em { background:var(--red); }
.dashboard-stock-footer { margin-top:auto; padding:16px; color:var(--muted); font-size:12px; }
.dashboard-popular { margin-bottom:0; }
.dashboard-product-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; padding:16px; }
.dashboard-product-strip article { min-width:0; display:grid; align-content:start; gap:6px; }
.dashboard-product-image { aspect-ratio:4/3; border-radius:7px; overflow:hidden; background:var(--canvas); display:grid; place-items:center; color:var(--muted); }
.dashboard-product-image img { width:100%; height:100%; object-fit:contain; }
.dashboard-product-image > .icon { width:28px; height:28px; }
.dashboard-product-strip article > strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-product-strip article > small { color:var(--muted); }
.dashboard-product-strip article > b { font-size:15px; }
.chart-bars { min-height: 190px; padding: 20px 16px 12px; display: flex; align-items: flex-end; gap: 7px; }
.chart-column { flex: 1; min-width: 14px; height: 155px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; }
.chart-bar { width: min(100%, 28px); min-height: 3px; background: var(--green); border-radius: 3px 3px 0 0; }
.chart-column small, .chart-value { color: var(--muted); font-size: 10px; }
.rank-list { display: grid; }
.rank-row { min-height: 61px; padding: 10px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 24px minmax(0,1fr) auto; gap: 10px; align-items: center; }
.rank-row:last-child { border-bottom: 0; }
.contact-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.catalog-footer { margin-top: 28px; padding: 20px 0 70px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.cookie-notice { position: fixed; z-index: 40; left: 18px; right: 18px; bottom: 18px; max-width: 920px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; }
.cookie-notice p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.legal-text { display: grid; gap: 8px; line-height: 1.55; }
.legal-text h3 { margin: 8px 0 0; font-size: 15px; }
.legal-text p { margin: 0; color: var(--muted); }
.legal-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; }
.consent-row input { margin-top: 3px; }
.legal-inline { padding: 10px 12px; border-left: 3px solid var(--green); background: var(--green-soft); color: var(--muted); font-size: 12px; line-height: 1.5; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.company-details { display: grid; border-top: 1px solid var(--line); }
.company-details > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(120px,.7fr) minmax(0,1.3fr); gap: 16px; }
.company-details span { color: var(--muted); font-size: 12px; }
.company-details strong { overflow-wrap: anywhere; }
.status-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px; }
.status-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.report-downloads { margin-bottom: 18px; }
.report-download-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.report-download-grid .btn { min-width: 0; justify-content: flex-start; }
.funnel-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.funnel-row > div { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: #f7f9f8; display: grid; gap: 3px; }
.funnel-row strong { font-size: 22px; }
.funnel-row span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.permission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; }
.permission-grid .switch-row { min-height: 42px; }
.access-summary { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; max-width: 300px; }
.compact-stats .stat-value { font-size: 24px; }
.order-logistics { padding: 13px; border: 1px solid var(--line); background: #f8faf9; display: grid; gap: 5px; }
.payment-result { margin-top: 18px; padding: 14px; border: 1px solid var(--line); background: #f8faf9; text-align: left; display: grid; gap: 7px; white-space: pre-line; }
.payment-result small { color: var(--muted); }
.moderation-lock { min-height: 260px; padding: 30px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 18px; align-items: center; }
.moderation-lock-icon { width: 54px; height: 54px; border-radius: 7px; background: #fff3c4; color: #805d00; display: grid; place-items: center; }
.moderation-lock-icon .icon { width: 25px; height: 25px; }
.moderation-lock h2 { margin: 0 0 7px; font-size: 20px; }
.moderation-lock p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.55; }

/* Modal & cart */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 20px; background: rgba(17, 28, 23, .56); display: grid; place-items: center; }
.modal { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 7px; background: white; box-shadow: var(--shadow); }
.modal.wide { width: min(880px, 100%); }
.modal-head { min-height: 62px; padding: 12px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; background: white; z-index: 2; }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-body { padding: 22px; }
.modal-foot { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.product-detail-layout { display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);gap:26px;align-items:start; }
.product-detail-gallery { min-width:0;display:grid;gap:10px; }
.product-detail-main { width:100%;aspect-ratio:3/4;border:1px solid var(--line);border-radius:8px;background:var(--canvas);overflow:hidden;display:grid;place-items:center; }
.product-detail-main-image { width:100%;height:100%;object-fit:contain; }
.product-detail-thumbs { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px; }
.product-detail-thumbs button { padding:3px;border:1px solid var(--line);border-radius:6px;background:#fff;aspect-ratio:1;overflow:hidden; }
.product-detail-thumbs button.active { border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green); }
.product-detail-thumbs img { width:100%;height:100%;object-fit:contain; }
.product-detail-info { min-width:0;display:grid;gap:12px; }
.product-detail-price { font-size:28px;font-weight:850; }
.product-detail-meta { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.product-detail-meta > div { padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--canvas);display:grid;gap:3px; }
.product-detail-meta span,.product-detail-properties span,.product-detail-tiers span { color:var(--muted);font-size:12px; }
.product-detail-description,.product-detail-properties,.product-detail-tiers { padding-top:12px;border-top:1px solid var(--line); }
.product-detail-description h3,.product-detail-properties h3,.product-detail-tiers h3 { margin:0 0 8px;font-size:15px; }
.product-detail-description p { margin:0;white-space:pre-line;line-height:1.6;overflow-wrap:anywhere; }
.product-detail-properties > div,.product-detail-tiers > div { display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent); }
.product-detail-properties strong,.product-detail-tiers strong { text-align:right;overflow-wrap:anywhere; }
.product-detail-cart { display:flex;align-items:center; }
.minimum-order-progress { margin-top:8px;padding:11px;border-radius:6px;background:var(--canvas);display:grid;gap:8px; }
.minimum-order-progress.pending { color:#8b4d00;background:#fff6e5; }
.minimum-order-progress.ready { color:var(--green-dark);background:var(--green-soft); }
.minimum-order-progress span { font-size:12px; }
.minimum-order-progress progress { width:100%;height:7px;accent-color:var(--green); }
.copy-field { padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9f8; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.copy-field .input { min-width: 0; min-height: 44px; background: var(--surface); }
.copy-field .btn { min-height: 44px; padding-inline: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-tools { margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-line-total { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.cart-line:last-child { border-bottom: 0; }
.picker-summary { margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); background: #f7f9f8; display: flex; justify-content: space-between; gap: 12px; }
.pick-row { grid-template-columns: auto minmax(0,1fr) auto; }
.pick-check { width: 34px; height: 34px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-weight: 800; }
.pick-check input { position: absolute; opacity: 0; }
.pick-row.picked { opacity: .5; text-decoration: line-through; background: #f4f6f5; }
.pick-row.picked .pick-check { background: var(--green); color: white; }
.cart-total { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--ink); display: grid; gap: 8px; }
.total-main { font-size: 20px; font-weight: 820; }
.success { padding: 20px 0; text-align: center; }
.success-mark { width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); border-radius: 50%; }
.success-mark .icon { width: 30px; height: 30px; }
.toasts { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: grid; gap: 9px; }
.toast { width: min(360px, calc(100vw - 36px)); padding: 13px 15px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 6px; background: white; box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { border-left-color: var(--red); }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 1050px) {
  .dashboard-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dashboard-chart-card { grid-column:span 2; }
  .dashboard-work-grid { grid-template-columns:1fr; }
  .dashboard-product-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-cols { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-tabs { top: 58px; margin-inline: -4px; }
  .settings-tab-content > [data-settings-panel].active { grid-template-columns: 1fr; }
  .settings-tab-content > [data-settings-panel].active > * { grid-column: 1 !important; }
  .mapping-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .report-download-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .trial-settings-fields, .referral-stats { grid-template-columns: 1fr; }
  .referral-stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .referral-stats > div:last-child { border-bottom: 0; }
  .dashboard-heading { align-items:flex-start; }
  .dashboard-summary-grid { grid-template-columns:1fr 1fr; gap:9px; }
  .dashboard-summary-card { padding:13px; }
  .dashboard-summary-card strong { font-size:23px; }
  .dashboard-chart-card { grid-column:1/-1; }
  .dashboard-product-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-card-gallery-arrow { width:28px;height:36px;opacity:1; }
  .product-card-gallery-arrow.prev { left:5px; }
  .product-card-gallery-arrow.next { right:5px; }
  .product-image-editor-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-detail-layout { grid-template-columns:1fr;gap:18px; }
  .product-detail-main { width:min(100%,420px);margin:0 auto; }
  .product-detail-thumbs { width:min(100%,420px);margin:0 auto; }
  .export-layout { grid-template-columns: 1fr; }
  .export-columns { grid-template-columns: 1fr 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-scene { display: none; }
  .admin-shell, .admin-shell.sidebar-collapsed { grid-template-columns: 1fr; padding-bottom: 74px; }
  .sidebar { position: fixed; z-index: 50; inset: auto 0 0; width: 100%; height: 70px; padding: 5px 7px; display: block; border-top: 1px solid rgba(255,255,255,.14); }
  .sidebar .brand, .sidebar-foot { display: none; }
  .sidebar-toggle { display: none; }
  .nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:2px; overflow:visible; }
  .nav-item { width:100%; min-width:0; height:60px; min-height:60px; justify-content:center; flex-direction:column; gap:3px; padding:4px 2px; }
  .nav-item.mobile-secondary { display:none; }
  .mobile-nav-more { display:flex; }
  .nav-item span { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; font-size:10px; line-height:1.1; }
  .nav-item .icon { width: 21px; height: 21px; }
  .topbar { padding: 0 16px; }
  .catalog-moderation-bar { padding: 10px 14px; align-items: flex-start; flex-direction: column; }
  .catalog-moderation-bar > .row { width: 100%; }
  .catalog-moderation-bar > .row .btn { flex: 1 1 auto; }
  .topbar-meta span:first-of-type { display: none; }
  .main-content { padding: 20px 14px; }
  .catalog-header-inner { grid-template-columns: 1fr auto; padding: 9px 14px; }
  .catalog-header .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .catalog-inner { padding: 18px 14px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .import-options { grid-template-columns: 1fr; }
  .mapping-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .catalog-table { display: block; }
  .category-tabs { display: none; }
  .mobile-category-picker { display: block; }
  .mobile-cart-bar.show { display: flex; }
  .platform-tabs { top: 58px; margin-inline: -4px; }
  .server-grid { grid-template-columns:1fr; }
  .server-card { padding:16px; }
  .server-details { grid-template-columns:1fr; }
  .platform-settings-tabs { overflow: hidden; gap: 2px; }
  .platform-settings-tabs button { flex: 1 1 0; min-width: 0; padding-inline: 5px; font-size: 12px; }
  .platform-settings-group { grid-template-columns: 1fr; }
  .platform-settings-group > * { grid-column: 1 !important; }
  .moderation-lock { grid-template-columns: auto minmax(0,1fr); padding: 20px; }
  .moderation-lock > .btn { grid-column: 1 / -1; }
  .billing-history-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .server-weight-form{grid-template-columns:minmax(0,1fr) 72px}.server-weight-form .btn{grid-column:1/-1;width:100%}
  .favicon-domain-control { grid-template-columns: 52px minmax(0,1fr); align-items: start; gap: 12px; }
  .favicon-domain-control > img,.favicon-placeholder { width: 48px; height: 48px; }
  .export-columns, .export-formats { grid-template-columns: 1fr; }
  .auth-panel { padding: 22px; }
  .auth-form h1 { font-size: 26px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat { padding: 13px; }
  .stat-value { font-size: 20px; }
  .page-head.row-between { align-items: flex-start; }
  .page-head .btn span { display: none; }
  .page-head #settings-save-top span { display: inline; }
  #settings-save-top { padding-inline: 10px; }
  .topbar-actions .btn span { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card-body { padding: 11px; }
  .product-card h3 { font-size: 14px; }
  .product-card-foot { align-items: stretch; flex-direction: column; }
  .qty-control { width: 100%; grid-template-columns: 1fr 42px 1fr; }
  .catalog-info { align-items: flex-start; flex-direction: column; }
  .catalog-actions { width: 100%; align-items: flex-start; }
  .catalog-actions > .row { width: 100%; flex-wrap: wrap; }
  .catalog-actions > .row .btn { flex: 1 1 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .price-tier-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 38px; }
  .category-grid { grid-template-columns: 1fr; }
  .profile-stat-grid { grid-template-columns: 1fr; }
  .support-ticket { align-items: flex-start; }
  .image-upload-row { flex-direction: column; }
  .upload-preview { width: 100%; height: 150px; }
  .color-grid { grid-template-columns: repeat(3, 1fr); }
  .mapping-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal { width: 100%; max-height: 92vh; border-radius: 7px 7px 0 0; }
  .modal-body { padding: 18px; }
  .modal-foot { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:12px 14px; }
  .modal-foot .btn { min-width:0; width:100%; min-height:44px; padding-inline:10px; white-space:normal; text-align:center; line-height:1.25; }
  .modal-foot .btn:only-child { grid-column:1 / -1; }
  .modal-foot .btn:last-child:nth-child(odd) { grid-column:1 / -1; }
  .settings-form .row { flex-wrap:wrap; }
  .settings-form .row .btn { min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
  .orders-table { overflow:visible; }
  .orders-table table, .orders-table tbody { display:block; width:100%; }
  .orders-table thead { display:none; }
  .orders-table tr { display:grid; grid-template-columns:1fr 1fr; gap:9px 14px; padding:14px; border-bottom:1px solid var(--line); }
  .orders-table tr:last-child { border-bottom:0; }
  .orders-table td { display:grid; gap:3px; padding:0; border:0; min-width:0; white-space:normal; }
  .orders-table td::before { content:attr(data-label); color:var(--muted); font-size:11px; font-weight:700; }
  .orders-table td:nth-child(2) { grid-row:span 2; }
  .orders-table td:last-child { align-content:end; }
  .cart-line { grid-template-columns: 1fr auto; }
  .cart-line > div:first-child { min-width:0; }
  .cart-line > div:first-child strong, .cart-line .sku { overflow-wrap:anywhere; }
  .cart-line .money { grid-column: 2; }
  .cookie-notice { left: 8px; right: 8px; bottom: 8px; grid-template-columns: 1fr auto; }
  .cookie-notice > div { grid-column: 1 / -1; }
  .catalog-footer { flex-direction: column; }
  .status-summary { grid-template-columns: 1fr; }
  .funnel-row { grid-template-columns: 1fr 1fr; }
  .permission-grid { grid-template-columns: 1fr; }
  .legal-links { grid-template-columns: 1fr; }
  .balance-overview { grid-template-columns: 1fr; }
  .balance-amount, .balance-plan { min-height: 108px; padding: 20px; }
  .balance-plan { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .balance-amount strong { font-size: 30px; }
  .report-download-grid { grid-template-columns: 1fr; }
  .report-download-grid .btn { padding-inline: 10px; font-size: 12px; }
}

.report-range { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; }
.report-range .field { min-width:145px; }
.publication-panel { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; padding:18px 20px; }
.publication-panel p { margin:8px 0 0; color:var(--muted); }
.review-note { display:grid; gap:4px; margin-top:10px; padding:11px 13px; border-left:3px solid var(--danger); background:color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.review-note span { color:var(--muted); }
.moderation-list { display:grid; }
.moderation-item { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:22px; align-items:center; padding:18px 20px; border-top:1px solid var(--line); }
.moderation-item:first-child { border-top:0; }
.moderation-main { min-width:0; }
.moderation-main p { margin:9px 0 0; color:var(--muted); }
.moderation-meta { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:10px; color:var(--muted); font-size:13px; }
.moderation-meta span { display:inline-flex; align-items:center; gap:5px; }
.moderation-meta .icon { width:15px; height:15px; }
.moderation-stats { display:flex; gap:18px; }
.moderation-stats div { display:grid; gap:2px; min-width:72px; }
.moderation-stats span { color:var(--muted); font-size:12px; }
.moderation-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.catalog-preview-banner { position:sticky; top:0; z-index:90; display:flex; align-items:center; justify-content:center; gap:10px; padding:10px 18px; color:#513d00; background:#fff1bf; border-bottom:1px solid #dfc86d; }
.catalog-preview-banner div { display:grid; }
.catalog-preview-banner span { font-size:13px; }
.catalog-state-page { min-height:100vh; padding:28px clamp(20px,6vw,80px); background:#f4f7f5; color:var(--ink); display:grid; grid-template-rows:auto 1fr auto; }
.catalog-state-brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; }
.catalog-state-brand .icon { width:24px; height:24px; color:var(--green); }
.catalog-state-content { width:min(720px,100%); margin:auto; padding:70px 0 90px; }
.catalog-state-icon { width:72px; height:72px; margin-bottom:24px; border:1px solid #cddbd4; border-radius:8px; background:white; color:var(--green); display:grid; place-items:center; box-shadow:0 10px 30px rgba(22,48,36,.08); }
.catalog-state-icon .icon { width:34px; height:34px; }
.catalog-state-label { color:var(--green); font-size:13px; font-weight:800; text-transform:uppercase; }
.catalog-state-page h1 { max-width:680px; margin:14px 0; font-size:clamp(38px,6vw,68px); line-height:1.02; letter-spacing:0; }
.catalog-state-page p { max-width:600px; margin:0; color:var(--muted); font-size:18px; line-height:1.65; }
.catalog-state-actions { margin-top:30px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.catalog-state-footer { padding-top:20px; border-top:1px solid #dce5e0; color:var(--muted); font-size:13px; }
@media (max-width:520px) { .catalog-state-page { padding:20px; } .catalog-state-content { padding:48px 0 64px; } .catalog-state-page h1 { font-size:40px; } .catalog-state-actions { align-items:stretch; flex-direction:column; } .catalog-state-actions .btn { width:100%; } }

@media (max-width: 800px) {
  .publication-panel { align-items:flex-start; flex-direction:column; }
  .moderation-item { grid-template-columns:1fr; }
  .moderation-actions { justify-content:flex-start; }
  .page-head.row-between:has(.report-range) { align-items:stretch; flex-direction:column; }
  .report-range { width:100%; }
  .report-range .field { flex:1 1 145px; }
}

@media print {
  body * { visibility: hidden !important; }
  .modal, .modal * { visibility: visible !important; }
  .modal { position: absolute; inset: 0; width: 100%; max-height: none; box-shadow: none; }
  .modal-head button, .modal-foot, .contact-actions, .field { display: none !important; }
  .pick-list-document { border: 0; padding: 0; }
  .two-cols { display: block !important; }
  .two-cols > .stack { display: none !important; }
}

@media (max-width: 1050px) {
  .catalog-hero-main { grid-template-columns: 1fr; }
  .catalog-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-shop-layout { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .domain-step { grid-template-columns: 1fr; gap: 14px; }
  .catalog-supplier-card, .catalog-hero-main.no-banner .catalog-supplier-card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 26px rgba(22,39,31,.04); }
  .catalog-supplier-card h1 { font-size: 24px; }
  .catalog-hero-banner { min-height: 190px; }
  .catalog-hero-banner::after { background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.78) 62%, rgba(255,255,255,.08)); }
  .catalog-hero-banner > div { width: 74%; padding: 18px; }
  .catalog-hero-banner h2 { font-size: 18px; }
  .catalog-hero-banner p { font-size: 13px; }
  .catalog-banner-image { min-height: 0; max-height: none; }
  .catalog-toolbar { gap: 10px; align-items: center; }
  .catalog-toolbar-left { min-width: 0; flex: 1; }
  .catalog-toolbar-left .catalog-filter-dropdown { width: min(280px,100%); }
  .catalog-toolbar > .row { justify-content: space-between; }
  .mobile-columns-control { display: inline-flex; }
  html[data-catalog-mobile-columns="1"] .catalog-page .products-grid { grid-template-columns: 1fr; }
  html[data-catalog-mobile-columns="1"] .catalog-page .product-card { display: grid; grid-template-columns: minmax(132px, 42%) minmax(0, 1fr); }
  html[data-catalog-mobile-columns="1"] .catalog-page .product-card-image,
  html[data-catalog-mobile-columns="1"] .catalog-page .product-card > .image-placeholder { width: 100%; height: auto; min-height: 0; aspect-ratio: 3/4; object-fit: contain; align-self:start; }
  html[data-catalog-mobile-columns="2"] .catalog-page .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .catalog-toolbar-left .catalog-filter-dropdown { width: 100%; }
  .catalog-toolbar-left .hint { display: none; }
  .catalog-filter-menu { width: 100%; }
  .catalog-facts { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; gap: 8px; padding: 0; border: 0; overflow: visible; }
  .catalog-fact, .catalog-fact:first-child { min-height: 68px; padding: 10px; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
  .catalog-fact { min-width: 0; }
  .catalog-fact strong, .catalog-fact small { overflow-wrap: anywhere; }
  .catalog-fact > span { width: 32px; height: 32px; }
  .catalog-supplier-card { padding: 18px; }
  .catalog-supplier-card h1 { font-size: 24px; }
  .catalog-supplier-card p { font-size: 14px; }
  .catalog-actions { margin-top: 18px; }
  .catalog-actions > .row { display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-actions > .row .btn:first-child { grid-column: 1 / -1; }
  .catalog-actions .btn { width: 100%; min-height: 48px; padding-inline: 12px; white-space: normal; line-height: 1.25; }
  .trusted-badge { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .catalog-info-setting .form-grid, .catalog-banner-settings .form-grid { grid-template-columns: 1fr; }
  .banner-upload-help { grid-template-columns: 1fr; }
  .domain-input-row, .locked-feature, .domain-register-callout { grid-template-columns: 1fr; }
  .payment-setup-guide .row > .btn, .payment-setup-guide .row > .link-btn { width: 100%; justify-content: center; }
  .dns-record-fields { grid-template-columns: 1fr; }
  .dns-copy-button span { display: none; }
  .domain-actions { display: grid; grid-template-columns: 1fr; }
  .domain-actions .btn { width: 100%; }
  .banner-upload-help small, .banner-validation-status { grid-column: auto; }
  .banner-settings-preview { grid-column: auto; }
  .copy-field { grid-template-columns: 1fr; padding: 9px; }
  .copy-field .btn { width: 100%; }
}

@media (min-width: 801px) {
  .mobile-columns-control { display: none !important; }
}

@media (min-width: 1500px) {
  .catalog-inner, .catalog-header-inner { max-width: 1280px; }
}
/*
Добавьте весь этот файл в конец:
public/styles.css
*/

/* Landing */
.landing {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 9%, rgba(22, 120, 75, .13), transparent 25rem),
    linear-gradient(180deg, #f8faf9 0%, #ffffff 32%, #f4f6f5 100%);
  color: var(--ink);
}
.landing-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.landing-brand { justify-self: start; }
.landing-nav { display: flex; align-items: center; gap: 30px; color: #53615a; font-size: 14px; font-weight: 600; }
.landing-nav a { transition: color .2s ease; }
.landing-nav a:hover { color: var(--green); }
.landing-auth-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.btn-ghost { border: 0; background: transparent; color: var(--ink); padding-inline: 18px; }
.btn-large { min-height: 52px; padding-inline: 24px; border-radius: 13px; font-weight: 750; }
.landing-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 76px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: 64px;
}
.landing-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid #cfe5d8;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(20,70,48,.06);
}
.landing-badge .icon { width: 16px; height: 16px; }
.landing-hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 820;
}
.landing-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #58655f;
  font-size: 19px;
  line-height: 1.65;
}
.landing-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.landing-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; color: #59665f; font-size: 13px; font-weight: 650; }
.landing-trust span { display: flex; align-items: center; gap: 7px; }
.landing-trust .icon { width: 16px; height: 16px; color: var(--green); }
.landing-product-preview { position: relative; }
.landing-product-preview::before {
  content: "";
  position: absolute;
  inset: 8% 2% -8% 10%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(22,120,75,.16);
  filter: blur(70px);
}
.preview-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(24,33,29,.13);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 35px 90px rgba(23,58,41,.2);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}
.preview-topbar { height: 42px; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; border-bottom: 1px solid #e5ebe7; background: #f8faf9; padding: 0 13px; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c6d0ca; }
.preview-address { justify-self: center; width: min(270px, 100%); padding: 6px 12px; border: 1px solid #e1e7e3; border-radius: 8px; background: #fff; color: #8a958f; text-align: center; font-size: 9px; }
.preview-content { min-height: 400px; display: grid; grid-template-columns: 126px 1fr; }
.preview-sidebar { padding: 18px 12px; background: #102b20; color: rgba(255,255,255,.64); }
.preview-logo { display: flex; align-items: center; gap: 7px; margin-bottom: 23px; color: #fff; font-size: 10px; }
.preview-logo .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.preview-sidebar > span { display: flex; align-items: center; gap: 7px; margin: 5px 0; padding: 8px; border-radius: 7px; font-size: 8px; font-weight: 600; }
.preview-sidebar > span.active { background: rgba(255,255,255,.1); color: #fff; }
.preview-sidebar .icon { width: 11px; height: 11px; }
.preview-main { padding: 24px 22px; background: #f5f7f6; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.preview-heading small, .preview-heading strong { display: block; }
.preview-heading small { margin-bottom: 4px; color: #89958f; font-size: 8px; }
.preview-heading strong { font-size: 16px; }
.preview-heading button { border: 0; border-radius: 7px; background: var(--green); color: #fff; padding: 8px 10px; font-size: 8px; font-weight: 700; }
.preview-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 19px; }
.preview-stats article { padding: 13px; border: 1px solid #e1e7e3; border-radius: 10px; background: #fff; }
.preview-stats small, .preview-stats b, .preview-stats em { display: block; }
.preview-stats small { color: #7c8982; font-size: 7px; }
.preview-stats b { margin-top: 7px; font-size: 19px; }
.preview-stats em { margin-top: 5px; color: var(--green); font-size: 7px; font-style: normal; }
.preview-catalog { margin-top: 14px; padding: 14px; border: 1px solid #e1e7e3; border-radius: 11px; background: #fff; }
.preview-catalog-head { display: flex; justify-content: space-between; align-items: center; font-size: 9px; }
.preview-catalog-head span { color: var(--green); font-size: 7px; }
.preview-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 11px; }
.preview-products article { font-size: 7px; }
.preview-products b, .preview-products span { display: block; margin-top: 5px; }
.preview-products span { color: var(--green-dark); font-weight: 750; }
.preview-image { aspect-ratio: 1.25; border-radius: 8px; background: linear-gradient(135deg,#dbeae2,#8ebaa4); }
.preview-image.p2 { background: linear-gradient(135deg,#ece4d4,#c7a777); }
.preview-image.p3 { background: linear-gradient(135deg,#d9e2ec,#8da4b8); }
.landing-problem {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 54px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
  border: 1px solid #dce5e0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24,33,29,.07);
}
.section-kicker { display: block; margin-bottom: 14px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.landing-problem h2, .section-heading h2, .audience-copy h2, .landing-final-cta h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.landing-problem p, .section-heading p, .audience-copy p { margin: 0; color: #65716b; font-size: 17px; line-height: 1.7; }
.landing-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.landing-pricing { border-top: 1px solid #dfe6e2; }
.landing-pricing-heading { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.landing-billing-period { margin: 0; }
.landing-pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 40px; }
.landing-price-card { position: relative; min-width: 0; padding: 26px; border: 1px solid #dce3df; border-radius: 8px; background: #fff; display: flex; flex-direction: column; gap: 24px; }
.landing-price-card.featured { border: 2px solid var(--green); box-shadow: 0 14px 36px rgba(17,91,57,.1); }
.landing-price-card header > span { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.landing-price-card h3 { margin: 7px 0 17px; font-size: 25px; }
.landing-price { display: flex; align-items: baseline; gap: 8px; }
.landing-price strong { font-size: 31px; line-height: 1; }
.landing-price small, .landing-pricing-note { color: #65716b; }
.landing-price-features { display: grid; gap: 11px; flex: 1; }
.landing-price-features > div { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.landing-price-features .icon { width: 18px; height: 18px; flex: none; color: var(--green); }
.landing-pricing-note { margin: 18px 0 0; text-align: center; font-size: 13px; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p { max-width: 650px; margin-top: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { min-height: 260px; padding: 29px; border: 1px solid #dfe6e2; border-radius: 20px; background: rgba(255,255,255,.9); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(24,33,29,.09); }
.feature-card.feature-main { grid-row: span 2; min-height: 536px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(155deg,#123a2b,#0d241c); color: #fff; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: auto; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.feature-main .feature-icon { background: rgba(255,255,255,.12); color: #fff; }
.feature-card h3 { margin: 28px 0 11px; font-size: 21px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: #66736c; line-height: 1.65; }
.feature-main p { color: rgba(255,255,255,.68); }
.landing-steps { border-top: 1px solid #dfe6e2; }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.steps-grid article { padding: 27px 25px; border-radius: 18px; background: #fff; border: 1px solid #e0e7e3; }
.steps-grid span { width: 44px; height: 44px; display:grid; place-items:center; border-radius:8px; background:var(--green-soft); color:var(--green-dark); font-size:15px; font-weight:850; letter-spacing:0; }
.steps-grid h3 { margin: 28px 0 10px; font-size: 19px; }
.steps-grid p { margin: 0; color: #6a756f; font-size: 14px; line-height: 1.65; }
.audience-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.audience-copy p { margin-top: 20px; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.audience-tags span { padding: 15px 19px; border: 1px solid #d8e4dd; border-radius: 999px; background: #fff; color: #405149; font-size: 14px; font-weight: 700; }
.landing-final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 36px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(65,173,117,.25), transparent 18rem),
    #102d22;
  color: #fff;
}
.section-kicker.light { color: #79d4a6; }
.landing-final-cta p { max-width: 700px; margin: 18px 0 0; color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.6; }
.landing-final-actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.btn-light { border-color: #fff; background: #fff; color: #133426; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; }
.landing-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: #738078;
  font-size: 13px;
}
.landing-footer p { margin: 0; text-align: center; }
.landing-footer > span { justify-self: end; }
.landing-footer-links { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0; }
.landing-footer-links a { position:relative; padding:7px 12px; color:#56635c; text-decoration:none; font-weight:650; white-space:nowrap; }
.landing-footer-links a:hover { color:var(--green); }
.landing-footer-links a + a::before { content:""; position:absolute; left:0; top:50%; width:1px; height:14px; background:#d8e0dc; transform:translateY(-50%); }

@media (max-width: 980px) {
  .landing-pricing-grid { grid-template-columns: 1fr; }
  .landing-pricing-heading { grid-template-columns: 1fr; }
  .landing-billing-period { justify-self: start; }
  .landing-header { grid-template-columns: 1fr auto; }
  .landing-nav { display: none; }
  .landing-hero { grid-template-columns: 1fr; padding-top: 54px; gap: 52px; }
  .landing-hero-copy { text-align: center; }
  .landing-badge, .landing-hero-actions, .landing-trust { margin-left: auto; margin-right: auto; justify-content: center; }
  .landing-lead { margin-left: auto; margin-right: auto; }
  .landing-product-preview { max-width: 680px; margin: 0 auto; width: 100%; }
  .landing-problem { grid-template-columns: 1fr; gap: 22px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card.feature-main { grid-row: auto; grid-column: span 2; min-height: 360px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .audience-section { grid-template-columns: 1fr; gap: 40px; }
  .landing-final-cta { grid-template-columns: 1fr; }
  .landing-final-actions { flex-direction: row; min-width: 0; }
}
@media (max-width: 640px) {
  .landing-header { width: min(100% - 24px, 1180px); min-height: 70px; }
  .landing-auth-actions .btn-ghost { display: none; }
  .landing-auth-actions .btn { padding-inline: 13px; min-height: 40px; font-size: 13px; }
  .landing-hero { width: min(100% - 24px, 1180px); padding: 44px 0 65px; }
  .landing-hero h1 { font-size: 46px; }
  .landing-lead { font-size: 16px; line-height: 1.6; }
  .landing-hero-actions { display: grid; width: 100%; }
  .landing-trust { gap: 10px 16px; }
  .preview-window { transform: none; border-radius: 15px; }
  .preview-content { grid-template-columns: 82px 1fr; min-height: 310px; }
  .preview-sidebar { padding: 12px 7px; }
  .preview-sidebar > span { font-size: 0; justify-content: center; }
  .preview-sidebar .icon { width: 14px; height: 14px; }
  .preview-main { padding: 15px 10px; }
  .preview-stats { gap: 5px; }
  .preview-stats article { padding: 8px; }
  .preview-stats b { font-size: 14px; }
  .preview-products { gap: 5px; }
  .landing-problem, .landing-section, .landing-final-cta, .landing-footer { width: min(100% - 24px, 1180px); }
  .landing-problem { padding: 31px 25px; }
  .landing-section { padding: 82px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.feature-main { grid-column: auto; min-height: 330px; }
  .steps-grid { grid-template-columns: 1fr; }
  .landing-final-cta { padding: 38px 25px; }
  .landing-final-actions { flex-direction: column; }
  .landing-footer { padding: 30px 0; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .landing-footer > span { justify-self: center; }
  .landing-footer-links { max-width:360px; }
  .landing-footer-links a { padding:6px 9px; }
}
.mailing-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.mailing-head h2{margin:0 0 4px}.mailing-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.mailing-stat-grid>div{display:grid;gap:5px;padding:18px;border:1px solid var(--line);background:var(--surface);border-radius:8px}.mailing-stat-grid span,.mailing-stat-grid small{color:var(--muted)}.mailing-stat-grid strong{font-size:28px}.mailing-compose{margin-bottom:16px}.mailing-recipient-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #b9dfca;background:#eef8f2;border-radius:6px}.mailing-recipient-summary span{color:var(--muted);font-size:13px}.mailing-actions{align-items:flex-end;justify-content:flex-end}.platform-contact-tabs{display:flex;gap:4px;margin-bottom:12px;border-bottom:1px solid var(--line)}.platform-contact-tabs button{border:0;background:transparent;padding:10px 14px;font:inherit;font-weight:700;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent}.platform-contact-tabs button.active{color:var(--accent);border-color:var(--accent)}
@media(max-width:760px){.mailing-head{align-items:center}.mailing-stat-grid{grid-template-columns:1fr}.mailing-stat-grid strong{font-size:24px}.mailing-recipient-summary{align-items:flex-start;flex-direction:column}.mailing-actions{width:100%;flex-wrap:wrap}.mailing-actions .btn{flex:1;min-width:150px}}
