:root {
  --paper: #f4f7fb;
  --ink: #152033;
  --pine: #2050a0;
  --pine-2: #0f2d66;
  --copper: #2050a0;
  --card: #ffffff;
  --line: #d5deeb;
  --muted: #5a6a80;
  --shadow: 0 18px 40px rgba(15, 45, 102, .08);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sheet-top, 160px) + 12px); }
body { margin: 0; line-height: 1.5; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 5; }
.site-header { position: sticky; top: 0; background: rgba(244, 247, 251, .96); backdrop-filter: blur(10px); z-index: 5; }
.head { display: grid; grid-template-columns: auto auto auto auto; grid-template-areas: "logo phones hours icons"; justify-content: space-between; align-items: center; padding: 12px 0 0; position: relative; }
.logo { grid-area: logo; display: flex; flex-direction: column; gap: 2px; text-decoration: none; min-width: 0; }
.logo img { height: 35.2px; width: auto; max-width: 100%; }
.logo small { font-weight: 650; color: var(--muted); letter-spacing: .12em; font-size: 12.1px; text-transform: uppercase; }
.head-icons { grid-area: icons; justify-self: end; }
.head-nav { display: none; }
.bar { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 10px; padding: 8px 0; position: relative; }
.nav-wrap { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; position: relative; }
.nav-toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.nav-toggle-label { display: none; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-start; align-items: center; flex: 1 1 auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 650; font-size: 14.5px; }
.nav a[aria-current="page"] { color: var(--pine); font-weight: 750; }
.head-phones { grid-area: phones; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.head-phones a { color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 650; line-height: 1.35; white-space: nowrap; }
.head-phones a:not(.head-tel) { font-size: 11.9px; }
.head-phones a:hover { color: var(--pine); }
.head-tel { font-size: 17px; font-weight: 750; letter-spacing: -.02em; color: var(--pine); }
.head-hours { grid-area: hours; display: flex; flex-direction: column; align-items: flex-start; justify-self: start; gap: 2px; color: var(--ink); font-weight: 700; font-size: 13px; line-height: 1.25; text-align: left; white-space: nowrap; }
.icons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-start; }
.head-icons .icons { flex-wrap: nowrap; gap: 4px; }
.site-footer .icons { display: grid; grid-template-columns: repeat(4, 31.27px); grid-auto-rows: 31.27px; gap: 5.86px; justify-content: end; align-content: start; }
.site-footer .icon { width: 31.27px; height: 31.27px; }
.site-footer .icon img { width: 22.47px; height: 22.47px; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; text-decoration: none; background: transparent; border: 0; }
.icon img { width: 46px; height: 46px; max-width: none; object-fit: contain; transform-origin: center; }
.icon-tg img { transform: scale(.695); }
.icon-mail img { transform: scale(.705); }
.icon-ig img { transform: scale(.706); }
.icon-gis img { transform: scale(.739); }
.icon-google img { transform: scale(.7); }
.icon-yandex img { transform: scale(.712); }
.icon-tag { font-size: 11px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.icon:hover { transform: translateY(-1px); }
.nav a:hover { color: var(--pine); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.site-footer .icon-tag { color: #f4f7fb; }
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 24px; align-items: end; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-grid { display: grid; grid-template-columns: auto max-content auto; gap: 24px 36px; justify-content: space-between; align-items: start; }
.footer-hours { white-space: nowrap; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--copper); font-weight: 750; margin: 0 0 8px; }
h1 { font-size: clamp(28px, 5vw, 64px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; margin: 0 0 16px; }
.lead { font-size: 19px; max-width: 62ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn, button.btn { display: inline-block; background: var(--pine); color: #fff; text-decoration: none; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; }
.btn:hover, button.btn:hover { background: var(--pine-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--pine); border-color: var(--pine); }
.panel, .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.panel { padding: 22px; max-width: 360px; }
.panel ol { padding-left: 18px; }
.section { padding: 28px 0 48px; }
.section-alt { background: #e7eef8; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.card { padding: 16px; text-decoration: none; color: inherit; min-height: 180px; }
.card h3 { margin: 12px 0 6px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 0 0 10px; }
.card strong { color: var(--pine); }
.card img, .ph { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; background: #e7eef8; }
.ph { display: grid; place-items: center; font-size: 42px; color: var(--pine); }
.page { padding: 28px 0 72px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.search { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0; scroll-margin-top: calc(var(--sheet-top, 160px) + 12px); }
.search label { margin: 0; line-height: 1; }
.search input, .admin-form input, .admin-form textarea, .admin-form select { width: min(420px, 100%); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; }
.search input, .search input::placeholder { text-align: left; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chips a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); background: #fff; }
.chips a.is-on { background: var(--pine); color: #fff; }
.product { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 28px; align-items: start; }
.product img { border-radius: 18px; }
.price { font-size: 28px; font-weight: 750; color: var(--pine); }
.file-list { list-style: none; padding: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.contacts p { margin: 0 0 8px; }
.contacts p:last-child { margin-bottom: 0; }
.office { margin-top: 40px; }
.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.office-shot { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #d7e0e8; cursor: zoom-in; aspect-ratio: 4 / 3; }
.office-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 56px 16px 16px; background: rgba(15, 32, 51, .82); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 88px); width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }
.prose p, .prose li { font-size: 18px; }
.site-footer { background: var(--pine-2); color: #f4f7fb; padding: 28px 0 24px; }
.site-footer a { color: #f4f7fb; }
.made-by { margin: 16px 16px 0; text-align: center; font-size: 11px; line-height: 1.4; }
.site-footer .made-by a { color: rgba(244, 247, 251, .45); text-decoration: none; }
.site-footer .made-by a:hover { color: rgba(244, 247, 251, .75); }
.footer-brand, .footer-phones { display: flex; flex-direction: column; gap: 0; line-height: 22.8px; }
.footer-brand { align-items: center; text-align: center; }
.footer-brand p, .footer-phones p { margin: 0; line-height: 22.8px; }
.footer-brand p { width: auto; text-align: center; }
.dock { display: none; }
.admin { background: var(--paper); }
.admin-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 12px 16px; background: var(--pine-2); color: #fff; }
.admin-bar a { color: #fff; }
.admin-bar a.admin-brand { font-weight: 750; text-decoration: none; }
.admin-bar a.admin-brand:hover { color: #fff; text-decoration: none; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.admin-nav a { text-decoration: none; font-weight: 650; border-bottom: 2px solid transparent; padding: 2px 0; }
.admin-nav a[aria-current="page"] { font-weight: 750; border-bottom-color: #fff; }
.admin-out { margin-left: auto; }
.admin-main { padding: 24px 0 64px; }
.admin-form { display: grid; gap: 12px; max-width: 640px; margin-bottom: 28px; }
.admin-form label { display: grid; gap: 4px; font-weight: 650; }
.ga-block { margin-top: 0; padding-top: 0; }
.ga-block h2 { font-size: clamp(24px, 3vw, 32px); }
.stat-fold > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.stat-fold > summary::-webkit-details-marker { display: none; }
.stat-fold > summary::marker { content: ""; }
.stat-fold > summary h2 { margin: 0; color: var(--pine); }
.stat-fold > summary::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg); }
.stat-fold[open] > summary { margin-bottom: 16px; }
.stat-fold[open] > summary::before { margin-top: 4px; transform: rotate(45deg); }
.stat-fold > summary:hover h2 { color: var(--pine-2); }
.ga-block h3 { font-size: 18px; margin: 20px 0 8px; letter-spacing: -.02em; color: var(--pine); }
.ga-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.ga-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); min-width: 0; }
.ga-label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.ga-value { margin: 8px 0 0; font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.ga-missing { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.ga-meta { margin: 6px 0 0; font-size: 14px; }
.ga-empty { margin: 0 0 12px; color: var(--muted); }
.ga-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ga-table { width: 100%; border-collapse: collapse; background: #fff; }
.ga-table th, .ga-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ga-table th { font-size: 13px; color: var(--muted); font-weight: 650; }
.ga-table tr:last-child td { border-bottom: 0; }
.ga-table td:last-child, .ga-table th:last-child { text-align: right; white-space: nowrap; width: 1%; }
.ga-path { overflow-wrap: anywhere; }
.ga-path .muted { display: block; margin-top: 2px; }
.ord-total { margin: 0 0 8px; color: var(--ink); font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1.15; }
.ga-table th.num, .ga-table td.num { text-align: right; white-space: nowrap; width: 1%; }
.gsc-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.gsc-block h2 { font-size: clamp(24px, 3vw, 32px); }
.gsc-block h3 { font-size: 18px; margin: 20px 0 8px; letter-spacing: -.02em; color: var(--pine); }
.gsc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ord-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.ord-block h2 { font-size: clamp(24px, 3vw, 32px); }
.ord-block h3 { font-size: 18px; margin: 20px 0 4px; letter-spacing: -.02em; color: var(--pine); }
.ord-chart { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px 12px; margin: 12px 0; }
.ord-chart h3 { margin: 0 0 4px; }
.ord-chart .muted { margin: 0 0 12px; }
.ord-scroll { overflow: visible; max-width: 100%; }
.ord-bars { display: grid; align-items: end; gap: 8px 4px; width: 100%; min-width: 0; }
.ord-bars-m { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ord-bars-d { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 8px 2px; }
.ord-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; max-width: 100%; }
.ord-n { display: block; max-width: 100%; font-size: 11px; font-weight: 750; line-height: 1; min-height: 14px; margin-bottom: 4px; color: var(--ink); text-align: center; white-space: nowrap; }
.ord-zero .ord-n { color: var(--muted); font-weight: 650; }
.ord-track { height: 112px; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--line); }
.ord-bar { display: block; width: 14px; max-width: 72%; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #3c72c8, var(--pine)); }
.ord-x { display: block; max-width: 100%; margin-top: 6px; font-size: 11px; line-height: 1.15; color: var(--muted); text-align: center; white-space: nowrap; }
.ord-bars-d .ord-x { font-size: 10px; letter-spacing: -.03em; }
.search label { font-weight: 650; }
.check { grid-template-columns: 20px 1fr; align-items: center; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table td, .admin-table th { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mail-table { margin: 0 0 28px; }
.mail-table td:first-child { overflow-wrap: anywhere; }
.mail-actions { white-space: nowrap; text-align: right; width: 1%; }
.mail-actions form { display: inline; margin: 0 0 0 16px; }
.mail-actions button { background: none; border: 0; padding: 0; color: var(--pine); font: inherit; font-weight: 650; cursor: pointer; }
.mail-actions button:hover { text-decoration: underline; }
.mail-actions a { font-weight: 650; text-decoration: none; }
.mail-actions a:hover { text-decoration: underline; }
.muted { color: var(--muted); font-size: 13px; }
.choice { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; display: grid; gap: 8px; background: #fff; }
.choice legend { font-weight: 750; padding: 0 6px; }
.check.indent { margin-left: 22px; }
.sheet-count { color: var(--muted); margin: 0 0 10px; }
.sheet-scroll { border: 1px solid #c5d2e4; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.sheet { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: 14px; table-layout: fixed; }
.sheet th { position: sticky; top: var(--sheet-top, 0px); z-index: 4; background: #1a448c; color: #fff; text-align: left; font-weight: 650; padding: 10px 12px; }
.sheet td { padding: 8px 12px; border-bottom: 1px solid #e6edf5; vertical-align: top; overflow-wrap: anywhere; }
.sheet .col-sheet { width: 16%; }
.sheet .col-stock { width: 132px; }
.sheet .col-price { width: 118px; }
.sheet .col-cart { width: 214px; }
.sheet th.col-cart, .sheet .cart-cell { text-align: right; }
.sheet .cart-cell { white-space: nowrap; }
.qty-step { display: inline-flex; align-items: center; vertical-align: middle; margin-right: 6px; border: 1px solid #c5d2e4; border-radius: 999px; overflow: hidden; background: #fff; }
.qty-step button { width: 22px; height: 26px; border: 0; background: #eef3fa; color: var(--pine-2); font: inherit; font-weight: 750; line-height: 1; cursor: pointer; padding: 0; }
.qty-step button:hover { background: #d9e6f8; }
.qty-field { width: 34px; height: 26px; border: 0; border-left: 1px solid #e6edf5; border-right: 1px solid #e6edf5; text-align: center; font: inherit; font-size: 13px; font-weight: 700; padding: 0; background: #fff; color: var(--ink); }
.to-cart { background: #fff; color: var(--pine); border: 1px solid var(--pine); border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; vertical-align: middle; }
.to-cart:hover, .to-cart.is-in { background: var(--pine); color: #fff; }
.nav-cart { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--pine); border: 1px solid var(--pine); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 750; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.nav-cart.is-in, .nav-cart:hover { background: var(--pine); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cart-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 6; width: min(420px, calc(100vw - 24px)); max-height: min(70vh, 640px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 16px 18px; }
.cart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-head h2 { margin: 0; }
.cart-x { border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.item-open { color: var(--pine); font-weight: 650; text-decoration: none; }
.item-open:hover { text-decoration: underline; }
.item-pop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 80; background: rgba(15, 32, 51, .45); }
.item-pop[hidden] { display: none; }
.item-pop .item-card { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; }
.item-card { position: relative; width: min(420px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px 14px; }
.item-card-page { margin: 8px 0 24px; }
.item-card h2, .item-card h1 { margin: 0 32px 6px 0; font-size: 18px; line-height: 1.3; }
.item-card .cart-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; }
.item-card-meta, .item-card-sku, .item-card-stock { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.item-card-price { margin: 6px 0 12px; font-weight: 750; color: var(--pine-2); font-size: 18px; }
.item-card-buy { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
body.item-open-lock { overflow: hidden; }
.rent-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 12px; }
.rent-shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #eef3fa; cursor: zoom-in; }
.rent-shot img { width: 100%; height: 220px; object-fit: contain; background: #eef3fa; }
.rent-place { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 4px 0 2px; }
.rent-place p { margin: 0; }
.rent-maps { flex: 0 0 auto; gap: 0; }
.rent-maps .icon { width: 48px; height: 48px; }
.rent-maps .icon img { width: 34px; height: 34px; }
.rent-view { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 48px 16px 16px; background: rgba(15, 32, 51, .72); }
.rent-view[hidden] { display: none; }
.rent-view img { max-width: min(1100px, 100%); max-height: calc(100vh - 80px); object-fit: contain; background: #fff; border-radius: 12px; }
.rent-view-x { position: fixed; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.cart-form { display: grid; gap: 10px; }
.cart-form input, .cart-form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line p { margin: 0; grid-column: 1 / -1; }
.cart-line .muted { grid-column: 1 / -1; }
.cart-line input { width: 72px; }
.cart-drop { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.cart-empty { margin: 0; }
.sheet .num, .sheet th.col-price { text-align: right; font-variant-numeric: tabular-nums; }
.sheet th.col-price { white-space: nowrap; }
.sheet td.num { font-weight: 750; color: var(--pine-2); }
.sheet .sku { color: var(--muted); font-size: 13px; }
.sheet .stock { text-align: center; white-space: nowrap; font-weight: 750; }
.sheet tr.item.alt td { background: #f7faff; }
.sheet tr.item:hover td { background: #eaf2ff; }
.sheet tr.grp td { background: #d9e6f8; color: #0f2d66; font-weight: 750; letter-spacing: -.01em; }
.sheet tr.sub td { background: #eef4fc; color: #2050a0; font-weight: 650; padding-left: 28px; }
.sheet tr.band td { background: #0f2d66; color: #fff; font-weight: 700; }
.stock-yes { color: #0d7a3f; }
.stock-many { color: #0a5c30; }
.stock-no { color: #5c6b7c; font-weight: 650; }
.admin-photo { width: 160px; border-radius: 12px; }
.flash { background: #e7eef8; padding: 10px 12px; border-radius: 10px; }
.flash-order { background: #2050a0; color: #fff; font-weight: 700; padding: 14px 16px; }
.error { color: #8d2b1f; }
@media (max-width: 1100px) {
  .head { grid-template-columns: 1fr; grid-template-areas: "logo" "phones" "hours" "icons"; justify-content: start; gap: 10px; }
  .head-hours { justify-self: start; align-items: flex-start; text-align: left; }
  .head-icons { justify-self: start; }
  .head-icons .icons { flex-wrap: wrap; }
  .nav { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .contacts { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .footer-grid, .product { display: block; }
  .panel { max-width: none; margin-top: 20px; }
  .hero { padding: 32px 0 8px; }
  .footer-grid > div + div { margin-top: 18px; }
  .footer-brand { align-items: stretch; width: 100%; }
  .footer-brand p { width: 100%; }
  .footer-hours { white-space: normal; }
  .rent-shot img { height: 132px; }
  .rent-place { align-items: flex-start; }
}
@media (max-width: 980px) {
  .gsc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .head { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo cart menu"; gap: 8px 10px; align-items: center; padding: 8px 0; }
  .bar { display: contents; }
  .logo { grid-area: logo; }
  .logo img { height: 30.8px; }
  .nav-cart { grid-area: cart; margin-left: 0; }
  .nav-toggle-label { grid-area: menu; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--pine); border-radius: 999px; background: #fff; color: var(--pine); font-weight: 750; cursor: pointer; }
  .nav-toggle-label::after { content: "+"; font-size: 20px; line-height: 1; }
  .nav-toggle:checked ~ .bar .nav-toggle-label::after { content: "–"; }
  .nav-toggle:focus-visible ~ .bar .nav-toggle-label { outline: 2px solid var(--pine); outline-offset: 2px; }
  .head-phones, .head-hours, .head-icons, .nav { display: none; grid-area: auto; }
  .nav-toggle:checked ~ .head-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; grid-column: 1 / -1; }
  .nav-toggle:checked ~ .head-hours { display: flex; grid-column: 1 / -1; white-space: normal; }
  .nav-toggle:checked ~ .head-icons { display: block; grid-column: 1 / -1; }
  .nav-toggle:checked ~ .bar .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; grid-column: 1 / -1; padding-bottom: 4px; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .head-icons .icon { width: 44px; height: 44px; }
  .head-icons .icon img { width: 32px; height: 32px; }
  .head-icons .icons { display: grid; grid-template-columns: repeat(4, 44px); justify-content: start; gap: 4px; }
  .cart-panel { left: 0; right: 0; width: auto; max-height: calc(100vh - 140px); }
  .site-footer .icons { grid-template-columns: repeat(4, 31.27px); grid-auto-rows: 31.27px; gap: 5.86px; justify-content: start; }
  .site-footer .icon { width: 31.27px; height: 31.27px; }
  .site-footer .icon img { width: 22.47px; height: 22.47px; }
  .cards { grid-template-columns: 1fr; }
  .section-head { display: grid; gap: 6px; }
  .search { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "field submit"; align-items: center; }
  .search label { grid-area: label; }
  .search input { grid-area: field; width: 100%; min-width: 0; }
  .search .btn { grid-area: submit; }
  .lead, .prose p, .prose li { font-size: 16px; }
  .page { padding-top: 20px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 3; }
  .dock a { text-align: center; padding: 14px; text-decoration: none; font-weight: 750; }
  .dock a:last-child { background: var(--pine); color: #fff; }
  .admin-form input, .admin-form textarea, .admin-form select { width: 100%; }
  .admin-table { display: block; overflow-x: auto; }
  .ga-cards, .gsc-cards { grid-template-columns: 1fr; }
  .ga-value, .ord-total { font-size: 28px; }
  .ord-chart { padding-left: 8px; padding-right: 8px; }
  .ord-bars-d { gap: 8px 0; }
  .ord-bars-d .ord-n { font-size: 8px; letter-spacing: -.04em; }
  .ord-bars-d .ord-x { writing-mode: vertical-rl; text-orientation: upright; font-size: 8px; line-height: 1; letter-spacing: 0; min-height: 56px; margin-top: 4px; }
  .sheet-scroll { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .sheet { display: block; min-width: 0; }
  .sheet thead { display: none; }
  .sheet tbody { display: block; }
  .sheet tr.band, .sheet tr.grp, .sheet tr.sub { display: block; margin: 14px 0 8px; }
  .sheet tr.band td, .sheet tr.grp td, .sheet tr.sub td { display: block; border-radius: 10px; }
  .sheet tr.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "stock price" "cart cart"; gap: 6px 12px; margin: 0 0 10px; padding: 12px; background: #fff; border: 1px solid #c5d2e4; border-radius: 14px; }
  .sheet tr.item:has(.sheet-name) { grid-template-areas: "sheet sheet" "name name" "stock price" "cart cart"; }
  .sheet tr.item td { display: block; padding: 0; border: 0; background: transparent; }
  .sheet tr.item.alt td, .sheet tr.item:hover td { background: transparent; }
  .sheet td.sheet-name { grid-area: sheet; color: var(--muted); font-size: 12px; font-weight: 650; }
  .sheet td.name { grid-area: name; font-size: 16px; }
  .sheet td.stock { grid-area: stock; text-align: left; }
  .sheet td.num { grid-area: price; text-align: left; font-size: 18px; }
  .sheet td.cart-cell { grid-area: cart; text-align: right; white-space: normal; }
  .qty-step button, .qty-field { height: 36px; }
  .qty-step button { width: 36px; }
  .qty-field { width: 42px; font-size: 15px; }
  .to-cart { padding: 8px 12px; }
}
.page-jump { position: fixed; z-index: 4; left: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; width: 40px; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(15, 45, 102, .1); }
.page-jump button { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 36px; margin: 0; padding: 0; border: 0; background: #fff; color: var(--pine); cursor: pointer; }
.page-jump button + button { border-top: 1px solid var(--line); }
.page-jump button:first-child { border-radius: 13px 13px 0 0; }
.page-jump button:last-child { border-radius: 0 0 13px 13px; }
.page-jump button:hover, .page-jump button:focus-visible { background: #eef3fa; color: var(--pine-2); }
.page-jump-ico { display: block; box-sizing: content-box; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; }
.page-jump button[data-jump="top"] .page-jump-ico { border-bottom: 8px solid currentColor; }
.page-jump button[data-jump="foot"] .page-jump-ico { border-top: 8px solid currentColor; }
.shop-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 72ch; }
.shop-note h1, .shop-note h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; color: var(--pine); margin: 0 0 10px; }
.shop-note h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.02em; color: var(--pine); margin: 18px 0 8px; }
.shop-note p { margin: 0 0 10px; font-size: 16px; }
.shop-note p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .page-jump { left: max(8px, env(safe-area-inset-left)); top: auto; bottom: max(calc(50vh - 44px), calc(76px + env(safe-area-inset-bottom))); transform: none; width: 44px; }
  .page-jump button { height: 44px; }
}
