@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #132d45;
  --muted: #52677a;
  --navy: #10263b;
  --hero: #0b1e31;
  --blue: #1764a9;
  --blue-hover: #10528d;
  --line: #dbe5ee;
  --wash: #f2f6fa;
  --white: #fff;
  --radius: 8px;
  font-family: "Golos Text", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ol, ul, dl { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { letter-spacing: -.035em; }
h3 { letter-spacing: -.02em; }
a { color: var(--blue); text-underline-offset: .19em; }
a:hover { color: var(--blue-hover); }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { display: block; flex: none; }
:focus-visible { outline: 3px solid #408fde; outline-offset: 3px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 3; top: 12px; left: 12px; padding: 12px 18px; background: var(--white); }
.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px;
  background: var(--blue); color: var(--white); font-size: .9rem; font-weight: 630;
  line-height: 1.25; text-align: center; text-decoration: none;
}
.button:hover { background: var(--blue-hover); color: var(--white); }
.button svg { width: 20px; height: 20px; }
.button-small { min-height: 38px; padding: 8px 13px; font-size: .82rem; }
.button-light { color: var(--blue); background: var(--wash); border-color: var(--line); }
.button-light:hover { color: var(--blue-hover); background: #e6f0f9; border-color: #bad2e8; }
.button-inverse { color: var(--white); background: transparent; border-color: #8296ab; }
.button-inverse:hover { background: #ffffff18; color: var(--white); border-color: var(--white); }

.topbar { background: var(--wash); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 39px; font-size: .81rem; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover, .topbar a[aria-current] { color: var(--blue); text-decoration: underline; }
.topbar nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.location { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.location svg { color: var(--blue); width: 16px; height: 16px; }
.header { border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); min-height: 84px; }
.logo { display: inline-flex; flex: none; align-items: center; }
.logo img { display: block; width: 243px; height: auto; }
.catalog-button { flex: none; }
.global-search {
  display: flex; align-items: stretch; flex: 1 1 18rem; min-width: 0; min-height: 46px;
  background: var(--wash); border: 1px solid var(--line); border-radius: 6px;
}
.global-search:focus-within { border-color: var(--blue); }
.global-search input { min-width: 0; width: 100%; background: transparent; border: 0; padding: 10px 0 10px 14px; color: var(--ink); border-radius: 6px 0 0 6px; font-size: .9rem; }
.global-search input::placeholder { color: var(--muted); }
.global-search button { display: grid; place-items: center; width: 48px; flex: none; border: 0; color: var(--blue); background: transparent; border-radius: 0 6px 6px 0; }
.global-search button:hover { background: #e3edf8; }
.global-search svg { width: 21px; height: 21px; }
.masthead-contact { display: grid; justify-items: end; gap: 1px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 720; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone svg { color: var(--blue); width: 17px; height: 17px; }
.business-hours { font-size: .75rem; color: var(--muted); }

.home { padding-top: 26px; padding-bottom: 64px; }
.hero { display: grid; align-items: center; min-height: 436px; position: relative; isolation: isolate; background: var(--hero); color: var(--white); overflow: hidden; border-radius: 11px; }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 72% 15%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--hero) 30%, #0b1e31f7 36%, #0b1e31aa 49%, #0b1e3100 68%); }
.hero-copy { padding: 50px clamp(30px, 4.25vw, 62px); }
.hero-service { color: #bcd4ec; font-size: .92rem; font-weight: 560; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.35rem, 4.35vw, 3.78rem); line-height: 1.05; letter-spacing: -.049em; font-weight: 760; }
.hero h1 span { display: block; }
.hero-description { max-width: 45ch; margin-top: 20px; color: #dbe7f3; font-size: clamp(.96rem, 1.24vw, 1.1rem); line-height: 1.57; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button-hero { background: #2070b8; }
.button-hero:hover { background: #185d9a; }

.service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding: 20px 0; }
.service-strip > div { display: flex; gap: 12px; align-items: center; padding: 3px 24px; }
.service-strip > div:first-child { padding-left: 4px; }
.service-strip > div + div { border-left: 1px solid var(--line); }
.service-strip svg { color: var(--blue); width: 28px; height: 28px; }
.service-strip strong, .service-strip small { display: block; }
.service-strip strong { font-size: .94rem; font-weight: 670; }
.service-strip small { color: var(--muted); margin-top: 3px; font-size: .78rem; }

.home-catalog, .home-brands, .home-work { margin-top: 42px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2, .quote-banner h2 { font-size: clamp(1.55rem, 2.65vw, 2.15rem); font-weight: 720; }
.section-link { display: inline-flex; align-items: center; gap: 7px; flex: none; font-weight: 630; font-size: .92rem; text-decoration: none; }
.section-link:hover { text-decoration: underline; }
.section-link svg { width: 18px; height: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card {
  position: relative; display: grid; grid-template-columns: 1fr 93px; align-items: center; gap: 6px;
  min-height: 130px; padding: 14px 12px 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #f5f8fb; color: var(--ink); text-decoration: none;
}
.category-card:hover { border-color: #9ebddd; background: #eef5fc; color: var(--blue-hover); }
.category-copy { display: grid; gap: 6px; align-self: center; min-width: 0; padding-bottom: 12px; }
.category-copy strong { font-size: 1rem; font-weight: 690; line-height: 1.3; overflow-wrap: anywhere; }
.category-copy small { color: var(--muted); font-size: .79rem; }
.category-art { display: grid; place-items: center; width: 100%; height: 100%; max-height: 104px; }
.category-art img { width: 100%; height: 100%; max-height: 98px; object-fit: contain; }
.category-art svg { width: 50px; height: 50px; color: #3a72a4; stroke-width: 1.2; }
.category-arrow { position: absolute; left: 16px; bottom: 11px; color: var(--blue); }
.category-arrow svg { width: 14px; height: 14px; }
.brand-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.brand-grid li { display: grid; place-items: center; min-height: 92px; padding: 17px; border-bottom: 1px solid var(--line); }
.brand-grid li:not(:nth-child(7n + 1)) { border-left: 1px solid var(--line); }
.brand-grid img { width: 100%; max-width: 125px; height: 44px; object-fit: contain; }

.process-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process-list li { padding-top: 17px; border-top: 2px solid #b6cce2; }
.process-number { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 4px; color: var(--blue); background: var(--wash); font-weight: 700; margin-bottom: 12px; }
.process-list h3 { font-size: 1.05rem; }
.process-list p { margin-top: 8px; color: var(--muted); font-size: .91rem; max-width: 31ch; }
.quote-banner { margin-top: 52px; padding: clamp(24px, 3.3vw, 44px); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #eaf3fb; border: 1px solid #d5e5f3; }
.quote-banner p { margin-top: 8px; max-width: 60ch; color: var(--muted); }
.quote-banner .button { flex: none; }

.footer { color: #e3edf6; background: var(--navy); }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { padding-block: 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 26px; }
.footer-logo { display: inline-flex; background: var(--white); padding: 9px; border-radius: 5px; }
.footer-logo img { width: 216px; }
.footer-grid h2 { color: #fff; font-size: 1rem; font-weight: 670; letter-spacing: -.01em; }
.footer-grid p { margin-top: 12px; color: #c3d3e2; font-size: .88rem; line-height: 1.65; }
.footer-grid ul { list-style: none; padding: 0; margin-top: 12px; font-size: .88rem; display: grid; gap: 8px; }
.footer-phone, .footer-email { display: block; margin-top: 11px; }
.footer-phone { font-weight: 690; font-variant-numeric: tabular-nums; }
.footer-email { font-size: .88rem; margin-top: 3px; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 26px; padding-block: 17px; border-top: 1px solid #ffffff2c; color: #c3d3e2; font-size: .77rem; }
.footer-bottom a:last-child { margin-left: auto; }

.interior { padding-bottom: 64px; min-height: 55vh; }
.breadcrumbs { padding-block: 22px 0; font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs svg { width: 13px; height: 13px; color: #71899f; }
.page-heading { margin: 24px 0 26px; }
.page-heading h1 { font-size: clamp(1.85rem, 4vw, 2.95rem); font-weight: 740; overflow-wrap: anywhere; }
.page-heading p { margin-top: 9px; color: var(--muted); font-size: 1rem; overflow-wrap: anywhere; }
.catalog-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 22px; align-items: start; }
.subgroups { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.subgroups a { text-decoration: none; color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 5px; font-size: .83rem; padding: 7px 10px; overflow-wrap: anywhere; }
.subgroups a:hover { color: var(--blue); border-color: #a7c4df; }
.subgroups a span { color: var(--muted); margin-left: 4px; }
.filter-panel, .side-categories { border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; }
.filter-panel summary, .side-categories h2 { font-size: .98rem; font-weight: 680; letter-spacing: -.015em; }
.catalog-filters { margin-top: 13px; display: grid; gap: 12px; }
.filter-reset { font-size: .83rem; justify-self: center; }
.side-categories { margin-top: 16px; }
.side-categories h2 { margin-bottom: 10px; }
.side-categories a { display: block; padding: 7px 8px; border-radius: 4px; font-size: .83rem; line-height: 1.4; color: var(--ink); text-decoration: none; }
.side-categories a:hover, .side-categories a.selected { color: var(--blue-hover); background: var(--wash); }
.side-categories a.selected { font-weight: 650; }

.product-list { border: 1px solid var(--line); border-radius: var(--radius); }
.product-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) 158px; align-items: center; gap: 16px; padding: 17px; }
.product-row + .product-row { border-top: 1px solid var(--line); }
.row-art { background: var(--wash); border-radius: 5px; display: grid; place-items: center; width: 82px; height: 82px; padding: 6px; }
.row-art img { width: 100%; height: 70px; object-fit: contain; }
.product-placeholder { display: grid; justify-items: center; gap: 10px; color: #52789e; text-align: center; }
.product-placeholder svg { width: 36px; height: 36px; stroke-width: 1.25; }
.product-code { font-size: .78rem; color: var(--muted); display: block; margin-bottom: 4px; }
.row-copy h2 { font-size: 1rem; font-weight: 670; line-height: 1.35; letter-spacing: -.012em; overflow-wrap: anywhere; }
.row-copy h2 a { color: var(--ink); text-decoration: none; }
.row-copy h2 a:hover { color: var(--blue); text-decoration: underline; }
.product-tags { margin-top: 8px; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.product-tags li { padding: 2px 7px; border-radius: 3px; background: var(--wash); color: var(--muted); font-size: .72rem; }
.product-tags .model-count { background: #eaf3fb; color: var(--blue-hover); font-weight: 630; }
.row-action { display: grid; align-content: center; justify-items: end; gap: 7px; }
.row-action strong { font-size: .88rem; font-weight: 650; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding-inline: 8px; border-radius: 5px; font-size: .86rem; }
.pagination a { text-decoration: none; border: 1px solid var(--line); }
.pagination a:hover { background: var(--wash); }
.pagination [aria-current="page"] { color: var(--white); background: var(--blue); font-weight: 650; }
.pagination .page-gap { min-width: 14px; padding: 0; }
.empty { display: grid; justify-items: start; gap: 12px; padding: clamp(20px, 4vw, 38px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--wash); }
.empty p { color: var(--muted); max-width: 62ch; }
.empty svg { color: var(--blue); }
.error-page { margin-top: 32px; }

.product-detail { display: grid; grid-template-columns: minmax(260px, 39%) minmax(0, 1fr); align-items: start; gap: 34px; margin-top: 25px; }
.detail-art { display: grid; place-items: center; min-height: 355px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafc; }
.detail-art img { width: 100%; height: 310px; object-fit: contain; }
.detail-art > small { color: var(--muted); font-size: .78rem; }
.detail-art .product-placeholder svg { width: 96px; height: 96px; stroke-width: .85; }
.detail-info h1 { font-size: clamp(1.65rem, 3.25vw, 2.65rem); overflow-wrap: anywhere; }
.full-title { color: var(--muted); margin-top: 12px; }
.detail-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.detail-meta span { color: var(--blue-hover); background: var(--wash); padding: 5px 9px; border-radius: 4px; font-size: .83rem; }
.execution-picker { margin-top: 19px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: #f7fafd; scroll-margin-top: 12px; }
.execution-picker h2 { font-size: 1.03rem; margin-bottom: 11px; }
.dimension-picker + .dimension-picker { margin-top: 12px; }
.dimension-picker > span { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 620; }
.dimension-picker ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.dimension-picker li { min-width: 0; }
.dimension-picker li > * {
  display: grid; place-items: center; min-width: 42px; min-height: 38px; padding: 6px 10px;
  background: var(--white); border: 1px solid #c4d3e1; border-radius: 5px;
  color: var(--ink); font-size: .85rem; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere;
}
.dimension-picker a:hover { color: var(--blue); border-color: var(--blue); }
.dimension-picker [aria-current] { background: var(--blue); border-color: var(--blue); color: var(--white); font-weight: 650; }
.detail-code { margin-top: 13px; }
.detail-quote { display: grid; justify-items: start; gap: 7px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
.detail-quote strong { font-size: 1.25rem; }
.detail-quote p { color: var(--muted); font-size: .93rem; }
.detail-quote .button { margin-top: 7px; }
.product-section { max-width: 900px; margin-top: 34px; }
.product-section h2, .prose h2, .info-brands h2 { margin-bottom: 13px; font-size: 1.5rem; }
.specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .91rem; }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 9px 13px; overflow-wrap: anywhere; }
.specs dt { background: var(--wash); color: var(--muted); }
.prose { max-width: 73ch; }
.prose p + p { margin-top: 9px; }
.prose p + h2, .prose a + h2 { margin-top: 25px; }
.prose > a { display: inline-block; margin-top: 9px; }
.info-brands { margin-top: 28px; }
.info-brands .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-brands .brand-grid li { border-left: none; }

.contact-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(245px, 32%); gap: 26px; }
.contact-card { background: var(--wash); border: 1px solid var(--line); padding: 22px; border-radius: var(--radius); }
.contact-card h2 { font-size: 1.22rem; margin-bottom: 12px; }
.contact-card a { display: flex; align-items: center; gap: 8px; font-weight: 620; margin-bottom: 8px; }
.contact-card a svg { width: 18px; height: 18px; }
.contact-card p { color: var(--muted); font-size: .89rem; }
.contact-card p + p { margin-top: 13px; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 28px); }
.form-panel h2 { font-size: 1.15rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span { color: var(--ink); font-weight: 600; font-size: .84rem; }
.field input, .field select, .field textarea {
  min-width: 0; width: 100%; min-height: 42px; background: var(--white); border: 1px solid #c4d3e1;
  border-radius: 5px; padding: 8px 10px; color: var(--ink); font-size: .93rem; line-height: 1.42;
}
.field input[type="file"] { padding: 7px; font-size: .81rem; }
.field textarea { resize: vertical; }
.field-hint { color: var(--muted); font-size: .83rem; }
.check-field { display: flex; align-items: flex-start; gap: 8px; font-size: .87rem; }
.check-field input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.inquiry-form { display: grid; justify-items: stretch; gap: 15px; }
.inquiry-form .button, .quantity { justify-self: start; }
.quantity { width: 140px; }
.inquiry-product { display: grid; gap: 4px; padding: 12px; border-radius: 5px; background: var(--wash); font-weight: 620; }
.inquiry-product small { color: var(--muted); font-weight: 450; }
.confirmation { display: grid; justify-items: start; align-content: start; gap: 14px; background: var(--wash); border-radius: var(--radius); padding: 25px; }
.confirmation-icon { color: #12634f; background: #e4f3ec; padding: 8px; border-radius: 5px; }
.notice { background: #fff0ec; border: 1px solid #edcec4; border-radius: 5px; color: #862b18; padding: 10px 13px; font-size: .9rem; }
.notice-success { background: #e6f4ee; border-color: #c0e1d2; color: #155f49; }

.admin-body { background: #f5f8fb; }
.admin-header { background: var(--white); border-bottom: 1px solid var(--line); }
.admin-header-inner, .admin-header nav, .admin-header-actions { display: flex; align-items: center; gap: 17px; }
.admin-header-inner { min-height: 70px; justify-content: space-between; }
.admin-header a { font-weight: 620; }
.admin-header .logo img { width: 214px; }
.admin-login { display: grid; place-items: start center; padding-block: clamp(30px, 8vw, 110px); }
.admin-login .form-panel { width: min(100%, 420px); display: grid; gap: 14px; }
.admin-login h1 { font-size: 1.75rem; }
.admin-login p { color: var(--muted); }
.admin-login .button { justify-self: start; }
.setup-info { font-size: .91rem; }
.setup-info code { color: var(--ink); }
.admin-main { padding-block: 28px 56px; }
.admin-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.admin-title h1 { font-size: clamp(1.6rem, 3.5vw, 2.45rem); }
.admin-title p { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.admin-filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, .7fr) minmax(132px, .4fr) auto; gap: 12px; align-items: end; margin-bottom: 15px; }
.admin-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .89rem; }
.admin-table th, .admin-table td { text-align: left; padding: 11px 13px; }
.admin-table th { background: #eaf1f8; white-space: nowrap; }
.admin-table td { border-top: 1px solid var(--line); }
.admin-table small { display: block; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.admin-product-link { font-weight: 600; overflow-wrap: anywhere; }
.admin-id, .admin-sku { font-variant-numeric: tabular-nums; color: var(--muted); }
.admin-action svg { width: 18px; height: 18px; }
.badge { display: inline-block; white-space: nowrap; padding: 3px 7px; border-radius: 4px; background: #edf1f4; color: #4b5c6b; font-size: .77rem; font-weight: 620; }
.badge-live { background: #e4f3ec; color: #1c654e; }
.back-link { display: inline-block; margin-bottom: 12px; font-size: .87rem; }
.admin-main > .notice { margin-bottom: 13px; }
.admin-edit-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(235px, 28%); gap: 15px; }
.admin-edit-grid .form-panel, .admin-edit-aside { display: grid; align-content: start; gap: 12px; }
.admin-edit-aside > .button { justify-self: start; }
.admin-photo { border: 1px solid var(--line); width: 100%; height: 150px; object-fit: contain; border-radius: 5px; }
.execution-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-model-count { color: var(--blue-hover); font-weight: 600; }
.model-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.model-settings summary { font-weight: 650; }
.model-settings form { display: grid; gap: 12px; margin-top: 13px; max-width: 720px; }
.model-settings button { justify-self: start; }
.model-executions, .model-attach { margin-top: 20px; }
.model-executions h2, .model-attach h2 { margin-bottom: 10px; font-size: 1.2rem; }
.model-table td:nth-child(-n+2) { font-variant-numeric: tabular-nums; }
.model-table tr:target td { background: #eaf3fb; }
.model-search { display: grid; grid-template-columns: minmax(0, 480px) auto; justify-content: start; align-items: end; gap: 10px; margin: 12px 0; }
.model-candidates { list-style: none; padding: 0; }
.model-candidates li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.model-candidates small { display: block; color: var(--muted); }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 15px; }
.admin-tabs a { padding: 8px 12px; border-radius: 5px; font-size: .9rem; text-decoration: none; border: 1px solid var(--line); background: var(--white); }
.admin-tabs [aria-current] { background: var(--blue); color: var(--white); }
.inquiry-list { display: grid; gap: 12px; }
.inquiry-record { display: grid; gap: 10px; overflow-wrap: anywhere; }
.inquiry-record-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px; }
.inquiry-record-head small { color: var(--muted); }
.inquiry-record-head h2 { margin-top: 3px; }
.inquiry-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.inquiry-message { white-space: pre-wrap; }

@media (max-width: 1120px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .masthead .logo img { width: 209px; }
  .footer-grid { gap: 18px; }
}

@media (max-width: 870px) {
  .shell { width: calc(100% - 40px); }
  .masthead { gap: 12px; min-height: 74px; }
  .masthead .logo img { width: 166px; }
  .masthead .button { padding-inline: 13px; }
  .header-phone { font-size: .88rem; }
  .header-phone svg { display: none; }
  .service-strip > div { gap: 8px; padding-inline: 12px; }
  .service-strip strong { font-size: .84rem; }
  .service-strip small { font-size: .73rem; }
  .catalog-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 14px; }
  .product-row { grid-template-columns: 64px minmax(0, 1fr) 130px; gap: 11px; padding: 12px; }
  .row-art { width: 64px; height: 64px; }
  .row-art img { height: 52px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .topbar-inner { min-height: 35px; gap: 8px; font-size: .72rem; }
  .topbar nav { gap: 13px; }
  .masthead {
    display: grid; grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas: "brand contact" "catalog search"; gap: 10px 12px; padding-block: 11px;
  }
  .masthead .logo { grid-area: brand; justify-self: start; width: 177px; }
  .masthead .logo img { width: 100%; }
  .masthead-contact { grid-area: contact; justify-self: end; }
  .catalog-button { grid-area: catalog; justify-self: start; min-height: 41px; }
  .global-search { grid-area: search; min-height: 41px; }
  .global-search input { font-size: .81rem; }
  .global-search button { width: 39px; }
  .home { padding-top: 14px; padding-bottom: 38px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 24px 20px 215px; }
  .hero-service { margin-bottom: 12px; font-size: .81rem; }
  .hero h1 { font-size: clamp(1.78rem, 7.4vw, 2.75rem); }
  .hero-description { margin-top: 13px; font-size: .92rem; max-width: 46ch; }
  .hero-actions { margin-top: 17px; gap: 8px; }
  .hero-actions .button { min-height: 42px; padding-inline: 11px; font-size: .8rem; }
  .hero-image { inset: auto 0 0; width: 100%; height: 235px; object-position: 60% 20%; }
  .hero::after { top: auto; height: 238px; background: linear-gradient(180deg, var(--hero) 0%, #0b1e318c 20%, #0b1e3100 51%); }
  .service-strip { padding: 13px 0; }
  .service-strip > div { align-items: start; gap: 5px; padding-inline: 8px; }
  .service-strip svg { width: 20px; height: 20px; }
  .service-strip strong { font-size: .77rem; }
  .service-strip small { display: none; }
  .home-catalog, .home-brands, .home-work { margin-top: 30px; }
  .section-head { margin-bottom: 14px; }
  .section-link { font-size: .81rem; }
  .section-link svg { width: 15px; height: 15px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-card { min-height: 118px; }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-grid li { padding: 12px; min-height: 73px; }
  .brand-grid li:not(:nth-child(7n + 1)) { border-left: 0; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .quote-banner { margin-top: 32px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 15px; padding-block: 26px; }
  .footer-bottom a:last-child { margin-left: 0; }
  .interior { padding-bottom: 40px; }
  .breadcrumbs { padding-top: 15px; }
  .page-heading { margin: 18px 0 20px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .side-categories { display: none; }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .catalog-filters .field:first-of-type { grid-column: 1 / -1; }
  .catalog-filters .button { justify-self: start; align-self: end; }
  .filter-reset { justify-self: start; align-self: center; }
  .product-detail { grid-template-columns: 1fr; gap: 15px; }
  .detail-art { min-height: 184px; padding: 13px; }
  .detail-art img { height: 220px; }
  .detail-art .product-placeholder svg { width: 65px; height: 65px; }
  .contact-layout, .admin-edit-grid { grid-template-columns: 1fr; }
  .admin-header .logo img { width: 150px; }
  .admin-header-inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .admin-header nav, .admin-header-actions { gap: 8px 12px; font-size: .84rem; }
  .admin-filters { grid-template-columns: 1fr 1fr; gap: 9px; }
  .admin-filters .field:first-child { grid-column: 1 / -1; }
  .admin-filters .button { justify-self: start; }
  .admin-table th, .admin-table td { padding: 8px; }
  .product-table th:nth-child(3), .product-table .admin-sku, .product-table th:last-child, .product-table .admin-action { display: none; }
}

@media (max-width: 460px) {
  .execution-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .execution-fields .field:first-child { grid-column: 1 / -1; }
  .model-table { font-size: .8rem; }
  .topbar nav a[href="/payment"] { display: none; }
  .masthead .logo { width: 158px; }
  .business-hours { display: none; }
  .global-search input { padding-inline-start: 8px; }
  .category-card { grid-template-columns: 1fr; gap: 5px; padding: 10px 11px 13px; min-height: 158px; align-content: start; }
  .category-copy { grid-row: 2; padding: 0; gap: 3px; }
  .category-copy strong { font-size: .86rem; }
  .category-copy small { font-size: .72rem; }
  .category-art, .category-art img { height: 71px; }
  .category-art svg { width: 42px; height: 42px; }
  .category-arrow { left: auto; right: 6px; bottom: 6px; }
  .section-head { align-items: start; }
  .section-link { padding-top: 4px; }
  .service-strip > div { flex-direction: column; }
  .product-row { grid-template-columns: 53px minmax(0, 1fr); }
  .row-art { width: 53px; height: 53px; align-self: start; }
  .row-art img { height: 41px; }
  .row-art .product-placeholder svg { width: 28px; height: 28px; }
  .row-action { grid-column: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .row-action .button { min-height: 34px; font-size: .73rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 355px) {
  .masthead .logo { width: 142px; }
  .header-phone { font-size: .8rem; }
  .section-head { flex-wrap: wrap; gap: 5px; }
  .section-link { padding-top: 0; }
  .hero-actions .button { padding-inline: 8px; font-size: .74rem; }
}
