:root {
  color-scheme: light;
  --page: #f4f5f0;
  --surface: #ffffff;
  --surface-soft: #f8f9f5;
  --line: #dde1d8;
  --line-strong: #c5ccc0;
  --text: #20251e;
  --muted: #737b70;
  --brand: #c7e43a;
  --brand-dark: #78920b;
  --danger: #bd5752;
  --success: #498161;
  --shadow: 0 20px 60px rgba(30, 38, 25, .10);
  --shadow-soft: 0 4px 18px rgba(30, 38, 25, .06);
}
:root[data-theme="dark"] { color-scheme: dark; --page: #171a16; --surface: #232722; --surface-soft: #1d211c; --line: #353c32; --line-strong: #4b5547; --text: #f1f3ed; --muted: #a0a99b; --brand: #c9e83b; --brand-dark: #c9e83b; --danger: #ef8580; --success: #78c397; --shadow: 0 22px 64px rgba(0, 0, 0, .30); --shadow-soft: 0 5px 22px rgba(0, 0, 0, .18); }
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--page); color: var(--text); font: 400 14px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.locked { overflow: hidden; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero, .catalog, .info-grid, .support-strip { scroll-margin-top: 88px; }
.accent { color: var(--brand-dark); }
.muted, .muted-copy, .empty-copy { color: var(--muted); }
.notice-bar { min-height: 34px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .02em; padding: 7px 16px; text-align: center; }
.notice-bar span { margin: 0 7px; color: var(--brand-dark); }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: var(--page); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; font-size: 20px; font-weight: 850; letter-spacing: -.07em; }
.brand-mark { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: var(--text); color: var(--brand); font-size: 18px; font-weight: 900; }
.brand-image { background: url('https://avatars.yandex.net/get-music-content/15018579/6640e562.a.36371193-1/m1000x1000') center / cover; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; color: var(--muted); font-size: 12px; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .header-button, .profile-button { min-height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.icon-button { width: 38px; padding: 0; }
.header-button, .profile-button { padding: 0 12px; font-size: 11px; font-weight: 700; }
.header-button:hover, .icon-button:hover, .profile-button:hover { border-color: var(--line-strong); }
.profile-button { display: inline-flex; align-items: center; gap: 7px; max-width: 180px; }
.profile-button #profileText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 11px; }
.counter { display: inline-grid; min-width: 18px; height: 18px; place-items: center; margin-left: 4px; border-radius: 10px; background: var(--brand); color: #263000; font-size: 10px; font-weight: 900; }
.mobile-menu { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr); gap: 50px; min-height: 590px; align-items: center; padding-top: 66px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow:before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { max-width: 680px; margin: 18px 0 20px; font-size: clamp(46px, 6.3vw, 82px); line-height: .99; letter-spacing: -.09em; }
.hero h1 span { color: var(--brand-dark); }
.hero-copy > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 0 17px; font-size: 11px; font-weight: 850; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--text); color: var(--page); }
.button.primary:hover { background: var(--brand-dark); color: #1c2600; }
.button.secondary { border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.button.secondary:hover { border-color: var(--brand-dark); }
.button.full { width: 100%; }
.button.small-button { min-height: 34px; padding: 0 12px; }
.hero-actions .button { min-width: 155px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 50px; color: var(--muted); font-size: 10px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row b { color: var(--text); font-size: 9px; }
.hero-art { min-height: 410px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(140deg, #dce7b3, #a1b87a 48%, #415338); box-shadow: var(--shadow); }
:root[data-theme="dark"] .hero-art { background: linear-gradient(140deg, #40512b, #253427 48%, #111912); }
.art-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 34px 34px; }
.art-card { position: absolute; border: 1px solid rgba(255,255,255,.48); border-radius: 14px; background: #182617; color: #eef5de; box-shadow: 0 20px 40px rgba(12, 19, 12, .22); }
.art-card-main { top: 78px; left: 12%; width: 67%; padding: 25px; transform: rotate(-7deg); }
.art-card-side { right: 6%; bottom: 52px; width: 42%; padding: 17px; transform: rotate(8deg); }
.art-card span, .art-card small { display: block; color: #c8d7b0; font-size: 9px; letter-spacing: .11em; }
.art-card strong { display: block; margin: 25px 0 12px; font-size: 40px; letter-spacing: -.07em; }
.art-card-side strong { margin: 12px 0 9px; font-size: 22px; }
.art-orbit { position: absolute; right: -50px; bottom: -115px; width: 330px; height: 330px; border: 1px solid rgba(241, 255, 202, .55); border-radius: 50%; box-shadow: 0 0 0 22px rgba(241, 255, 202, .07), 0 0 0 46px rgba(241, 255, 202, .05); }
.catalog { padding: 68px 0 110px; }
.section-heading, .panel-heading, .page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading { margin-bottom: 25px; }
.section-heading h2, .panel-heading h2 { margin: 10px 0 0; font-size: 32px; letter-spacing: -.07em; }
.section-heading .muted { font-size: 11px; }
.section-heading .muted b { color: var(--text); }
.catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) 190px 180px; gap: 9px; margin-bottom: 12px; }
.search-field { height: 43px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 0 12px; }
.search-field span { color: var(--muted); font-size: 20px; line-height: 1; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.field { width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: var(--surface); padding: 9px 12px; font-size: 12px; }
.field:focus, .search-field:focus-within { border-color: var(--brand-dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.textarea { min-height: 105px; resize: vertical; line-height: 1.5; }
.category-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 23px; }
.pill { min-height: 32px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); color: var(--muted); padding: 0 14px; font-size: 10px; font-weight: 800; }
.pill:hover, .pill.active { border-color: var(--brand); background: var(--brand); color: #263000; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-cover { height: 168px; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, var(--card-accent), var(--card-bg)); }
.product-cover:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.25)); }
.product-icon { position: relative; z-index: 1; display: grid; width: 86px; height: 86px; place-items: center; border: 4px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--icon-bg); color: var(--icon-color); box-shadow: 0 10px 25px rgba(0,0,0,.18); font-size: 32px; font-weight: 850; }
.badges { position: absolute; z-index: 2; top: 11px; left: 11px; right: 11px; display: flex; justify-content: space-between; gap: 7px; }
.badges span { border-radius: 5px; background: rgba(17, 24, 17, .75); color: #fff; padding: 5px 7px; font-size: 9px; font-weight: 800; }
.product-body { padding: 16px; }
.product-body h3 { margin: 0 0 6px; overflow: hidden; font-size: 15px; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.product-description { min-height: 20px; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 15px; }
.price { font-size: 22px; font-weight: 850; letter-spacing: -.07em; }
.old-price { color: var(--muted); font-size: 10px; text-decoration: line-through; }
.discount { border-radius: 4px; background: color-mix(in srgb, var(--brand) 30%, transparent); color: var(--brand-dark); padding: 3px 5px; font-size: 9px; font-weight: 800; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; color: var(--muted); font-size: 10px; }
.stock-good { color: var(--success); }
.product-buy { width: 100%; min-height: 39px; margin-top: 15px; border: 0; border-radius: 7px; background: var(--text); color: var(--page); font-size: 11px; font-weight: 850; }
.product-buy:hover { background: var(--brand-dark); color: #1b2400; }
.loading, .empty { grid-column: 1 / -1; padding: 45px 20px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); text-align: center; font-size: 12px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-bottom: 80px; }
.info-card, .support-strip, .panel, .stat-card { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-soft); }
.info-card { min-height: 205px; padding: 24px; }
.info-card h3 { margin: 33px 0 9px; font-size: 19px; letter-spacing: -.05em; }
.info-card p, .support-strip p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.support-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 28px; padding: 27px; }
.support-strip h2 { margin: 10px 0 7px; font-size: 25px; letter-spacing: -.06em; }
.telegram-link { display: inline-block; margin-top: 13px; color: var(--brand-dark); font-size: 11px; font-weight: 850; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--brand-dark); text-decoration: underline; }
.drawer { position: fixed; z-index: 31; top: 0; right: 0; display: flex; width: min(450px, 100%); height: 100dvh; flex-direction: column; border-left: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transform: translateX(100%); transition: transform .25s ease; }
.drawer.open { transform: translateX(0); }
.drawer-header, .drawer-footer { padding: 20px 23px; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 8px 0 0; font-size: 22px; letter-spacing: -.06em; }
.close-button { border: 0; background: transparent; color: var(--muted); padding: 0 2px; font-size: 27px; line-height: 1; }
.drawer-content { flex: 1; overflow-y: auto; padding: 8px 23px; }
.drawer-footer { border-top: 1px solid var(--line); }
.total-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.total-line strong { font-size: 24px; letter-spacing: -.07em; }
.microcopy { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.cart-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; font-size: 18px; font-weight: 850; }
.cart-item h4 { margin: 0 0 4px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item p { margin: 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cart-actions { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.qty-button, .remove-button { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); color: var(--muted); padding: 3px 7px; font-size: 10px; }
.remove-button { border: 0; background: transparent; padding-left: 2px; }
.cart-empty { padding: 70px 15px; color: var(--muted); text-align: center; font-size: 12px; }
.overlay { position: fixed; z-index: 30; inset: 0; background: rgba(17, 24, 17, .58); opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.modal { position: fixed; z-index: 40; top: 50%; left: 50%; width: min(460px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, -47%); transition: opacity .2s, transform .2s; }
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal-inner { padding: 25px; }
.modal-top { display: flex; align-items: center; justify-content: space-between; }
.modal h2 { margin: 14px 0 8px; font-size: 27px; letter-spacing: -.07em; }
.modal-copy { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.form-submit { margin-top: 20px; }
.small-gap { margin-top: 8px; }
.text-button { border: 0; background: transparent; color: var(--brand-dark); padding: 0; font-size: 11px; font-weight: 800; }
.text-button:hover { text-decoration: underline; }
.form-message { min-height: 18px; margin: 11px 0 0; color: var(--danger); font-size: 11px; line-height: 1.45; }
.dev-code { margin-top: 10px; border: 1px solid #dfd084; border-radius: 8px; background: #fff9d9; color: #665811; padding: 10px; font-size: 10px; }
.dev-code strong { display: block; margin-top: 3px; font-size: 22px; letter-spacing: .12em; }
.account-view, .admin-view { padding-top: 55px; padding-bottom: 90px; }
.page-heading { align-items: end; margin-bottom: 30px; }
.page-heading h1 { margin: 14px 0 8px; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.09em; }
.page-heading p, .page-heading #accountEmail { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; gap: 8px; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .8fr); gap: 17px; align-items: start; }
.account-main, .account-side { display: grid; gap: 17px; }
.panel { min-width: 0; padding: 22px; }
.panel-heading { align-items: center; margin-bottom: 18px; }
.panel-heading h2 { font-size: 20px; }
.orders-list, .delivery-list { display: grid; gap: 9px; }
.order-card { border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); padding: 14px; }
.order-top, .order-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-top strong { font-size: 12px; }
.order-top span, .order-items, .order-bottom { color: var(--muted); font-size: 10px; }
.order-items { margin: 8px 0 12px; line-height: 1.6; }
.order-bottom { flex-wrap: wrap; }
.status-badge { display: inline-flex; border-radius: 100px; background: color-mix(in srgb, var(--brand) 25%, transparent); color: var(--brand-dark); padding: 4px 8px; font-size: 9px; font-weight: 800; }
.status-badge.neutral { background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); }
.status-badge.danger { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }
.delivery-card { border: 1px solid var(--line); border-radius: 9px; padding: 14px; }
.delivery-card h3 { margin: 0 0 12px; font-size: 13px; }
.secret-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 11px; }
.secret-row span { color: var(--muted); }
.secret-value { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 17px; }
.stat-card { padding: 16px; }
.stat-card span, .stat-card small { display: block; color: var(--muted); font-size: 10px; }
.stat-card strong { display: block; margin: 10px 0 3px; font-size: 24px; letter-spacing: -.07em; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.lower-grid { margin-top: 17px; }
.admin-form { margin-bottom: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.form-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.form-actions { display: flex; gap: 8px; margin-top: 17px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
.table-row { display: grid; grid-template-columns: 1.25fr .7fr .7fr 1fr; align-items: center; gap: 10px; min-width: 520px; padding: 12px 13px; border-bottom: 1px solid var(--line); font-size: 10px; }
.table-row:last-child { border-bottom: 0; }
.table-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-head { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.table-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.table-button { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); padding: 5px 7px; font-size: 9px; }
.table-button:hover { border-color: var(--brand-dark); color: var(--text); }
.table-button.danger-button { color: var(--danger); }
.table-button.danger-button:hover { border-color: var(--danger); }
.admin-catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; gap: 8px; align-items: center; margin: 0 0 12px; }
.admin-catalog-count { color: var(--muted); font-size: 10px; text-align: right; white-space: nowrap; }
.product-admin-head { display: none; }
.product-admin-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(145px, .8fr) minmax(250px, 1.5fr); gap: 14px; min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 9px; margin: 8px; background: var(--surface-soft); }
.product-admin-row:last-child { border-bottom: 1px solid var(--line); }
.product-admin-row .table-actions { align-items: center; justify-content: flex-end; }
.admin-product-title strong, .admin-product-title small, .admin-stock strong, .admin-stock small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-product-title small, .admin-stock small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.admin-stock strong { color: var(--text); font-size: 10px; }
.admin-product-meta strong, .admin-product-meta span, .admin-product-meta small { display: block; }
.admin-product-meta strong { font-size: 11px; }
.admin-product-meta span { margin-top: 3px; color: var(--success); font-size: 10px; font-weight: 800; }
.admin-product-meta small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.product-publish-toggle { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; color: var(--text); font-size: 11px; }
.product-publish-toggle input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand-dark); }
.product-publish-toggle strong, .product-publish-toggle small { display: block; }
.product-publish-toggle small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.compact-table { margin-top: 17px; }
.compact-table .table-row { grid-template-columns: 1fr 1fr .8fr .6fr; min-width: 430px; }
.order-head, .admin-order-row { grid-template-columns: 1.4fr .7fr 1fr .7fr; }
.inventory-summary { min-height: 18px; margin-top: 13px; color: var(--muted); font-size: 10px; }
.ticket-card { border-bottom: 1px solid var(--line); padding: 12px 0; }
.ticket-card:last-child { border-bottom: 0; }
.ticket-card strong { display: block; font-size: 11px; }
.ticket-card p { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ticket-admin-message { border-left: 2px solid var(--brand); padding-left: 9px; color: var(--text) !important; }
.ticket-customer-message { border-left: 2px solid var(--line-strong); padding-left: 9px; }
.ticket-reply { min-height: 72px; margin-top: 10px; }
.ticket-card small { color: var(--muted); font-size: 9px; }
.telegram-ticket-details { margin: 10px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); padding: 10px; }
.telegram-ticket-details p { margin: 5px 0; overflow-wrap: anywhere; }
.ticket-source { display: inline-flex; border-radius: 100px; background: var(--brand); color: #263000; padding: 3px 7px; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.ticket-profile-link { display: block; overflow-wrap: anywhere; color: var(--brand-dark); font-size: 10px; font-weight: 800; }
.ticket-review-actions { margin-top: 10px; }
.legal-document { max-width: 820px; margin-bottom: 50px; }
.legal-document h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.04em; }
.legal-document h2:not(:first-child) { margin-top: 28px; }
.legal-document p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.payment-summary { border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); padding: 13px; margin: 17px 0; font-size: 11px; }
.payment-summary strong { display: block; margin-top: 6px; font-size: 22px; letter-spacing: -.06em; }
.toast { position: fixed; z-index: 60; right: 20px; bottom: 20px; max-width: min(370px, calc(100% - 40px)); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); padding: 12px 15px; color: var(--text); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
code { border-radius: 4px; background: var(--surface-soft); padding: 2px 4px; color: var(--brand-dark); font-size: 10px; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; min-height: 0; } .hero-art { min-height: 350px; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-layout, .admin-grid { grid-template-columns: 1fr; } }
 @media (max-width: 700px) { .container { width: min(100% - 28px, 560px); } .header-inner { min-height: 63px; gap: 9px; } .main-nav { position: absolute; top: 100%; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: var(--surface); box-shadow: var(--shadow); } .main-nav.open { display: flex; } .main-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); } .main-nav a:last-child { border-bottom: 0; } .mobile-menu { display: block; } .header-button { padding: 0 8px; } .profile-button { max-width: 40px; padding: 0 8px; } .profile-button #profileText { display: none; } .hero { padding-top: 42px; padding-bottom: 52px; } .hero h1 { font-size: clamp(42px, 14vw, 63px); } .hero-art { min-height: 300px; } .art-card-main { top: 55px; } .art-card strong { font-size: 31px; } .trust-row { margin-top: 34px; gap: 10px 16px; } .catalog { padding-top: 45px; } .catalog-tools { grid-template-columns: 1fr 1fr; } .search-field { grid-column: 1 / -1; } .section-heading { display: block; } .section-heading .muted { display: block; margin-top: 9px; } .info-grid { grid-template-columns: 1fr; padding-bottom: 45px; } .support-strip, .footer, .page-heading { display: block; } .support-strip .button, .heading-actions { margin-top: 17px; } .footer { line-height: 2; } .stats-grid { grid-template-columns: repeat(2, 1fr); } .form-columns { grid-template-columns: 1fr; } .order-bottom { align-items: flex-start; flex-direction: column; } .admin-catalog-tools { grid-template-columns: 1fr; } .admin-catalog-count { text-align: left; } .product-admin-row { grid-template-columns: 1fr 1fr; } .product-admin-row .table-actions { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 440px) { .header-actions { gap: 4px; } .icon-button, .header-button, .profile-button { min-height: 35px; } .icon-button { width: 35px; } .header-button { font-size: 0; width: 35px; padding: 0; } .header-button .counter { font-size: 10px; margin: 0; } .header-button#adminButton { font-size: 0; } .header-button#adminButton:before { content: 'A'; font-size: 12px; } .product-grid { grid-template-columns: 1fr; } .catalog-tools { grid-template-columns: 1fr; } .search-field { grid-column: auto; } .hero-actions .button { width: 100%; } .modal-inner, .panel { padding: 18px; } }
