:root {
  --red: #e3272d;
  --red-dark: #b7151b;
  --red-soft: #fff1f1;
  --ink: #121923;
  --ink-2: #202b38;
  --muted: #627080;
  --line: #dfe4e9;
  --line-dark: #c7cfd8;
  --paper: #ffffff;
  --surface: #f4f6f8;
  --surface-2: #e9edf1;
  --success: #16865a;
  --shadow: 0 20px 60px rgba(18, 25, 35, .09);
  --shadow-card: 0 12px 32px rgba(18, 25, 35, .08);
  --radius: 24px;
  --radius-sm: 14px;
  --shell: 1380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body:not(.admin-page) { padding-left: 58px; }
body:not(.admin-page) .skip-link { left: 76px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
svg { display: block; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.7rem); }
h3 { font-size: 1.25rem; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--first { padding-top: 56px; }
.section--soft { background: var(--surface); }
.section--compact { padding-top: 36px; padding-bottom: 90px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 9999; left: 18px; top: 12px; transform: translateY(-150%); padding: 11px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(227, 39, 45, .5); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--red); font-size: .74rem; font-weight: 850; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.eyebrow--light { color: #ff8a8e; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.34rem); line-height: 1.6; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border: 1px solid var(--red); border-radius: 12px; padding: 0 25px; background: var(--red); color: #fff; font-size: .92rem; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 10px 24px rgba(227, 39, 45, .22); }
.button--compact { min-height: 44px; padding-inline: 18px; white-space: nowrap; }
.button--dark { background: var(--ink); border-color: var(--ink); }
.button--dark:hover { background: #000; border-color: #000; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.button--outline { background: transparent; border-color: var(--line-dark); color: var(--ink); }
.button--outline:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.button--light { background: #fff; border-color: #fff; color: var(--ink); }
.button--light:hover { background: #f7f7f7; border-color: #f7f7f7; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.button--wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; }
.text-link span { color: var(--red); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.topline { background: var(--ink); color: #d4dbe2; font-size: .78rem; }
.topline__inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 24px; }
.topline__links { display: flex; align-items: center; gap: 24px; }
.topline a:hover { color: #fff; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(18, 25, 35, .08); }
.header-main { display: grid; min-height: 84px; grid-template-columns: 190px minmax(280px, 1fr) auto auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; min-width: 0; align-items: center; }
.brand img { width: 178px; height: auto; max-height: 54px; object-fit: contain; object-position: left center; }
.brand__text { display: none; font-size: 1.32rem; font-weight: 650; letter-spacing: .055em; }
.brand__text strong { color: var(--red); font-weight: 900; }
.header-search { position: relative; display: flex; height: 46px; max-width: 640px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.header-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 39, 45, .08); }
.header-search input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; padding: 0 54px 0 16px; background: transparent; }
.header-search button { position: absolute; right: 4px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); }
.header-search button:hover { background: #fff; color: var(--red); }
.header-contact { display: flex; min-width: 175px; flex-direction: column; line-height: 1.25; }
.header-contact span { margin-bottom: 4px; color: var(--muted); font-size: .72rem; }
.header-contact a { font-size: 1rem; font-weight: 850; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { border-top: 1px solid var(--line); }
.main-nav__inner { display: flex; min-height: 50px; align-items: center; gap: clamp(20px, 3vw, 46px); }
.main-nav a { position: relative; display: flex; min-height: 50px; align-items: center; color: var(--ink-2); font-size: .88rem; font-weight: 750; }
.main-nav a:not(.catalog-link)::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--red); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav .catalog-link { align-self: stretch; gap: 10px; margin-right: 6px; padding: 0 22px; background: var(--red); color: #fff; }
.main-nav .catalog-link:hover { background: var(--red-dark); }
.mobile-catalog-menu { display: none; }

.side-catalog { position: fixed; z-index: 120; top: 0; left: 0; width: 58px; height: 100vh; height: 100dvh; }
.side-catalog__toggle { position: absolute; z-index: 3; top: 10px; left: 7px; display: flex; overflow: hidden; width: 44px; height: 44px; padding: 0 10px; align-items: center; gap: 10px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 7px 20px rgba(11, 36, 71, .2); transition: width .2s ease, border-radius .2s ease; }
.side-catalog__toggle .icon { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.side-catalog__summary-label { visibility: hidden; opacity: 0; white-space: nowrap; font-size: .86rem; font-weight: 800; transition: opacity .15s ease; }
.side-catalog__backdrop { position: fixed; z-index: 1; inset: 0; visibility: hidden; opacity: 0; padding: 0; border: 0; pointer-events: none; background: rgba(10, 18, 28, .68); transition: opacity .2s ease, visibility .2s ease; }
.side-catalog__panel { position: fixed; z-index: 2; top: 0; left: 0; width: 58px; height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; padding: 64px 8px 12px; border-right: 1px solid var(--line); background: #fff; box-shadow: 8px 0 24px rgba(11, 36, 71, .1); scrollbar-width: thin; transition: width .2s ease; }
.side-catalog.is-open .side-catalog__panel, .side-catalog:hover .side-catalog__panel { width: 274px; }
.side-catalog.is-open .side-catalog__toggle, .side-catalog:hover .side-catalog__toggle { width: 258px; border-radius: 24px; }
.side-catalog.is-open .side-catalog__summary-label, .side-catalog:hover .side-catalog__summary-label { visibility: visible; opacity: 1; }
.side-catalog.is-open .side-catalog__backdrop, .side-catalog:hover .side-catalog__backdrop { visibility: visible; opacity: 1; }
.side-catalog.is-open .side-catalog__backdrop { pointer-events: auto; }
.side-catalog__panel a { display: flex; overflow: hidden; min-height: 46px; padding: 7px 10px; align-items: center; gap: 10px; border-radius: 7px; color: #263d57; font-size: .86rem; font-weight: 700; }
.menu-category { display: flex; min-width: 238px; align-items: center; gap: 10px; }
.menu-category img { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
.side-catalog__panel a:hover, .side-catalog__panel a.is-active, .side-catalog__panel a.is-ancestor { background: var(--surface); color: var(--red); }

.home-hero { overflow: hidden; background: linear-gradient(115deg, #f1f4f7 0 52%, #e5e9ee 52% 100%); }
.home-hero__grid { display: grid; min-height: 640px; grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr); align-items: center; gap: 42px; }
.home-hero__content { display: flex; padding: 54px 0 44px; flex-direction: column; justify-content: center; }
.home-hero h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(3rem, 5.1vw, 5.3rem); }
.home-hero .lead { max-width: 690px; margin-bottom: 34px; }
.home-hero__visual { position: relative; display: grid; overflow: hidden; min-height: 520px; grid-template-rows: minmax(0, 1fr) auto; border: 1px solid rgba(18, 25, 35, .08); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.home-hero__visual::after { display: none; }
.home-hero__visual > img { width: 100%; height: 100%; min-height: 0; padding: 28px 32px 18px; object-fit: contain; object-position: center; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.home-hero__visual:hover > img { transform: scale(1.025); }
.home-hero__visual.home-hero__visual--banner { display: block; min-height: 0; aspect-ratio: 1774 / 887; align-self: start; margin-top: 54px; overflow: hidden; border-radius: 18px; background: #fff; }
.home-hero__visual.home-hero__visual--banner > img { width: 100%; height: 100%; min-height: 0; padding: 0; object-fit: contain; object-position: center; transform: none; }
.home-hero__visual.home-hero__visual--banner:hover > img { transform: none; }
.hero-product-label { position: static; z-index: 1; display: grid; padding: 22px 30px 26px; background: linear-gradient(135deg, #121923, #263646); color: #fff; }
.hero-product-label small { color: #ff9ca0; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-product-label strong { margin: 4px 0 7px; font-size: clamp(1.45rem, 2.4vw, 2.2rem); }
.hero-product-label > span { font-size: .9rem; font-weight: 750; }
.hero-points { display: grid; margin: auto 0 0; padding: 56px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.hero-points li { display: grid; padding-top: 14px; border-top: 1px solid var(--line-dark); color: var(--ink-2); font-size: .85rem; font-weight: 700; }
.hero-points span { margin-bottom: 6px; color: var(--red); font-size: .7rem; font-weight: 900; }

.section-heading { display: flex; margin-bottom: 46px; align-items: end; justify-content: space-between; gap: 34px; }
.section-heading h2 { max-width: 860px; margin-bottom: 0; }
.section-heading > p { max-width: 440px; margin-bottom: 4px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { position: relative; display: grid; min-height: 340px; overflow: hidden; align-content: end; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.category-card::after { position: absolute; inset: 25% 0 0; background: linear-gradient(180deg, transparent, rgba(18, 25, 35, .85)); content: ""; }
.category-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-card); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.category-card:hover img { transform: scale(1.035); }
.category-card__number { position: absolute; z-index: 2; top: 18px; left: 18px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--red); font-size: .72rem; font-weight: 900; }
.category-card__name, .category-card__count { position: relative; z-index: 2; margin-inline: 22px; color: #fff; }
.category-card__name { margin-bottom: 5px; font-size: 1.35rem; font-weight: 850; line-height: 1.15; }
.category-card__count { margin-bottom: 22px; color: #d6dbe0; font-size: .8rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-card); }
.product-card__media { position: relative; display: grid; overflow: hidden; aspect-ratio: 1 / .84; place-items: center; background: #f7f8fa; }
.product-card__media::after { position: absolute; inset: 0; border: 0 solid var(--red); content: ""; transition: border-width .2s ease; }
.product-card:hover .product-card__media::after { border-width: 3px; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; transition: transform .4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card__body { display: flex; min-height: 265px; padding: 22px; flex: 1; flex-direction: column; }
.product-card__category { margin-bottom: 10px; color: var(--red); font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 12px; font-size: 1.15rem; line-height: 1.28; }
.product-card h3 a:hover { color: var(--red); }
.product-card p { display: -webkit-box; overflow: hidden; margin-bottom: 18px; color: var(--muted); font-size: .84rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card__footer { display: flex; margin-top: auto; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__price { font-size: 1.13rem; }
.product-card__link { display: inline-flex; margin-top: 18px; padding-top: 15px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 800; }
.product-card__link span { color: var(--red); font-size: 1.1rem; transition: transform .2s ease; }
.product-card__link:hover { color: var(--ink); }
.product-card__link:hover span { transform: translateX(4px); }
.stock { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 750; }
.stock::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.stock--yes { color: var(--success); }

.solution-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr); align-items: center; gap: clamp(60px, 8vw, 130px); }
.solution-copy h2 { margin-bottom: 28px; }
.solution-copy > p { max-width: 700px; margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; }
.solution-panel { position: relative; overflow: hidden; border-radius: var(--radius); padding: 46px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.solution-panel::before { position: absolute; width: 340px; height: 340px; border: 70px solid rgba(227, 39, 45, .14); border-radius: 50%; right: -170px; top: -180px; content: ""; }
.solution-panel__mark { position: absolute; right: 38px; top: 28px; color: rgba(255, 255, 255, .08); font-size: 5rem; font-weight: 950; letter-spacing: -.08em; }
.solution-panel ol { position: relative; margin: 0; padding: 0; list-style: none; }
.solution-panel li { display: grid; padding: 25px 0; grid-template-columns: 54px 1fr; gap: 18px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.solution-panel li:first-child { padding-top: 0; }
.solution-panel li:last-child { padding-bottom: 0; border: 0; }
.solution-panel li > span { color: #ff7478; font-size: .75rem; font-weight: 900; }
.solution-panel strong { display: block; margin-bottom: 6px; font-size: 1.12rem; }
.solution-panel p { margin: 0; color: #aeb8c3; font-size: .88rem; }
.registry-card { display: grid; min-height: 230px; grid-template-columns: 130px 1fr auto; align-items: center; gap: 42px; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; background: var(--surface); }
.registry-card__icon { display: grid; width: 110px; height: 110px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 2rem; font-weight: 950; letter-spacing: -.05em; }
.registry-card h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 3rem); }
.registry-card p { margin-bottom: 0; color: var(--muted); }

.page-hero { position: relative; overflow: hidden; padding: 78px 0 70px; background: var(--surface); }
.page-hero::after { position: absolute; right: -130px; bottom: -220px; width: 480px; height: 480px; border: 110px solid rgba(227, 39, 45, .06); border-radius: 50%; content: ""; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; margin: 0 0 20px; font-size: clamp(2.7rem, 5vw, 5.2rem); }
.page-hero p, .page-hero__description { max-width: 840px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.breadcrumbs { display: flex; overflow: hidden; margin-bottom: 44px; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.section--catalog { padding-top: 70px; }
.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 42px; }
.catalog-sidebar { position: sticky; top: 158px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.sidebar-title { padding: 20px 22px; border-bottom: 1px solid var(--line); font-weight: 900; }
.catalog-sidebar nav { display: grid; padding: 10px; }
.catalog-sidebar nav a { display: flex; min-height: 42px; padding: 8px 12px; align-items: center; justify-content: space-between; gap: 14px; border-radius: 9px; color: var(--ink-2); font-size: .84rem; font-weight: 700; }
.catalog-sidebar nav a:hover, .catalog-sidebar nav a.is-active { background: var(--surface); color: var(--red); }
.catalog-sidebar nav span { color: var(--muted); font-size: .7rem; }
.sidebar-help { margin: 10px; padding: 18px; border-radius: 10px; background: var(--ink); color: #fff; }
.sidebar-help strong { display: block; margin-bottom: 7px; }
.sidebar-help p { margin-bottom: 12px; color: #adb7c1; font-size: .78rem; }
.sidebar-help a { color: #ff8a8e; font-size: .8rem; font-weight: 800; }
.catalog-toolbar { display: flex; min-height: 54px; margin-bottom: 28px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.catalog-toolbar p { margin: 0; color: var(--muted); font-size: .84rem; }
.sort-form { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; }
.sort-form select { min-width: 176px; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 32px 0 10px; background: #fff; }
.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subcategory-list { display: flex; margin-bottom: 34px; flex-wrap: wrap; gap: 10px; }
.subcategory-list a { display: inline-flex; min-height: 42px; padding: 0 15px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 750; }
.subcategory-list a:hover { border-color: var(--red); color: var(--red); }
.pagination { display: flex; margin-top: 46px; justify-content: center; gap: 8px; }
.pagination a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-weight: 800; }
.pagination a:hover, .pagination a.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.empty-state { margin: 30px 0; border: 1px dashed var(--line-dark); border-radius: var(--radius); padding: 70px 34px; background: var(--surface); text-align: center; }
.empty-state h2 { margin-bottom: 14px; font-size: 2rem; }
.empty-state p { max-width: 620px; margin: 0 auto 28px; color: var(--muted); }
.empty-state .hero-actions { justify-content: center; }

.product-page .breadcrumbs { margin-bottom: 32px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: start; gap: clamp(50px, 6vw, 100px); }
.product-gallery { min-width: 0; }
.product-gallery__stage { position: relative; display: grid; overflow: hidden; aspect-ratio: 1 / .86; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 18px; object-fit: contain; }
.product-gallery__thumbs { display: flex; overflow-x: auto; margin-top: 12px; gap: 10px; padding-bottom: 4px; }
.product-gallery__thumbs button { width: 82px; height: 82px; flex: 0 0 82px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }
.product-gallery__thumbs button.is-active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(227, 39, 45, .12); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { position: sticky; top: 170px; }
.product-categories { display: flex; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.product-categories a { border-radius: 999px; padding: 6px 11px; background: var(--red-soft); color: var(--red); font-size: .7rem; font-weight: 800; }
.product-summary h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 4.2vw, 4.5rem); }
.product-meta { display: flex; margin-bottom: 28px; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .78rem; }
.product-intro { margin-bottom: 28px; color: var(--muted); font-size: 1rem; }
.product-intro p:last-child { margin-bottom: 0; }
.product-price { margin-bottom: 6px; font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; }
.price-note { margin-bottom: 28px; color: var(--muted); font-size: .78rem; }
.product-actions { display: grid; grid-template-columns: 1.5fr .8fr; gap: 10px; }
.product-benefits { display: grid; margin-top: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.product-benefits div { padding: 13px; border-radius: 9px; background: var(--surface); }
.product-benefits strong, .product-benefits span { display: block; }
.product-benefits strong { margin-bottom: 4px; font-size: .74rem; }
.product-benefits span { color: var(--muted); font-size: .66rem; line-height: 1.35; }
.product-details { display: grid; margin-top: 100px; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: start; gap: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
.product-details h2 { margin-bottom: 30px; }
.specifications dl { margin: 0; border-top: 1px solid var(--line); }
.specifications dl > div { display: grid; padding: 13px 0; grid-template-columns: minmax(130px, .85fr) 1.15fr; gap: 20px; border-bottom: 1px solid var(--line); }
.specifications dt { color: var(--muted); }
.specifications dd { margin: 0; font-weight: 700; }

.prose { min-width: 0; color: #313b46; font-size: 1rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.6em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.prose h3 { font-size: 1.35rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto; margin: 28px auto; border-radius: 12px; }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .88rem; -webkit-overflow-scrolling: touch; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose blockquote { margin: 28px 0; border-left: 4px solid var(--red); padding: 12px 24px; background: var(--red-soft); }
.content-layout { max-width: 980px; }
.content-layout--form { display: grid; max-width: none; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; gap: 80px; }
.request-card { position: sticky; top: 170px; border-radius: var(--radius); padding: 34px; background: var(--surface); }
.request-card h2 { margin-bottom: 14px; font-size: 2rem; }
.request-card > p { margin-bottom: 24px; color: var(--muted); font-size: .88rem; }
.request-form { display: grid; gap: 14px; }
.request-form > label:not(.consent) { display: grid; gap: 7px; color: var(--ink-2); font-size: .76rem; font-weight: 800; }
.request-form input[type="text"], .request-form textarea { width: 100%; border: 1px solid var(--line-dark); border-radius: 9px; padding: 12px 13px; background: #fff; outline: 0; font-size: .9rem; font-weight: 400; }
.request-form input[type="text"]:focus, .request-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 39, 45, .08); }
.consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.consent input { margin-top: 2px; accent-color: var(--red); }
.form-field--hidden { position: absolute; left: -9999px; }
.form-message { margin-bottom: 16px; border-radius: 9px; padding: 12px 14px; font-size: .82rem; font-weight: 750; }
.form-message--success { background: #e8f7f0; color: #116946; }
.form-message--error { background: #fff0f0; color: #a81c22; }
.request-card__contacts { display: grid; margin-top: 22px; gap: 5px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 800; }
.request-card__contacts a:hover { color: var(--red); }
.page-search { display: flex; width: min(100%, 720px); margin-top: 30px; gap: 10px; }
.page-search input { min-width: 0; flex: 1; border: 1px solid var(--line-dark); border-radius: 11px; padding: 0 18px; background: #fff; outline: 0; }
.page-search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 39, 45, .08); }
.not-found { min-height: 650px; display: grid; place-items: center; background: var(--surface); }
.not-found__inner { position: relative; max-width: 850px; text-align: center; }
.not-found__code { margin-bottom: -68px; color: rgba(227, 39, 45, .09); font-size: clamp(9rem, 25vw, 19rem); font-weight: 950; letter-spacing: -.1em; line-height: .7; }
.not-found h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 5vw, 5rem); }
.not-found p { max-width: 650px; margin: 0 auto 28px; color: var(--muted); }
.not-found .page-search, .not-found .hero-actions { margin-inline: auto; justify-content: center; }

.contact-band { background: var(--red); color: #fff; }
.contact-band__inner { display: grid; min-height: 260px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 60px; }
.contact-band h2 { max-width: 840px; margin: 0; font-size: clamp(2rem, 3.7vw, 3.8rem); }
.contact-band__actions { display: grid; min-width: 280px; gap: 15px; }
.contact-band__email { text-align: center; font-weight: 800; }
.contact-band__email:hover { text-decoration: underline; }
.site-footer { background: var(--ink); color: #fff; }
.footer-grid { display: grid; padding: 74px 0 58px; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 54px; }
.brand--footer .brand__text { display: block; font-size: 1.55rem; }
.footer-brand p { max-width: 310px; margin: 20px 0 0; color: #9da9b5; font-size: .85rem; }
.site-footer h2 { margin-bottom: 20px; color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { display: grid; margin: 0; padding: 0; gap: 10px; list-style: none; }
.site-footer li, .site-footer a, .site-footer span { color: #aeb7c1; font-size: .82rem; }
.site-footer a:hover { color: #fff; }
.footer-contacts { display: grid; align-content: start; gap: 9px; }
.footer-contacts > a { color: #fff; font-weight: 800; }
.social-links { display: flex; margin-top: 12px; gap: 8px; }
.social-links a { display: inline-flex; min-height: 32px; padding: 0 11px; align-items: center; border: 1px solid #3a4551; border-radius: 7px; }
.footer-bottom { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #303b47; }
.footer-bottom span { color: #798592; font-size: .72rem; }
.floating-call { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 12px 28px rgba(227, 39, 45, .32); transition: transform .2s ease, opacity .2s ease; }
.floating-call:hover { transform: translateY(-3px) scale(1.03); }
.floating-call.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.floating-call svg { width: 24px; height: 24px; }

.admin-page { background: var(--surface); }
.admin-page #main { min-height: calc(100vh - 72px); }
.admin-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 8px 24px rgba(18, 25, 35, .06); backdrop-filter: blur(14px); }
.admin-header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.admin-header .brand img { width: 154px; max-height: 48px; }
.admin-shell { width: min(calc(100% - 64px), 1120px); margin-inline: auto; padding: 58px 0 96px; }
.admin-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; box-shadow: var(--shadow-card); }
.admin-card--narrow { max-width: 560px; margin-inline: auto; }
.admin-card--narrow h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.admin-card--narrow > p:not(.eyebrow):not(.form-alert) { margin-bottom: 26px; color: var(--muted); }
.admin-heading { display: flex; margin-bottom: 32px; align-items: end; justify-content: space-between; gap: 24px; }
.admin-heading h1 { max-width: 850px; margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.4rem); }
.admin-heading .eyebrow { margin-bottom: 10px; }
.admin-stats { display: grid; margin-bottom: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.admin-stat { display: grid; min-height: 142px; align-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; background: #fff; box-shadow: 0 8px 24px rgba(18, 25, 35, .05); }
.admin-stat strong { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.admin-stat span { margin-top: 9px; color: var(--muted); font-size: .86rem; font-weight: 750; }
a.admin-stat:hover { transform: translateY(-2px); border-color: rgba(227, 39, 45, .32); }
.stack-form { display: grid; gap: 18px; }
.stack-form label { display: grid; gap: 7px; color: var(--ink-2); font-size: .78rem; font-weight: 800; }
.stack-form input, .stack-form textarea { width: 100%; border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; background: #fff; outline: 0; font-size: .94rem; font-weight: 400; }
.stack-form input { min-height: 48px; }
.stack-form textarea { min-height: 220px; resize: vertical; line-height: 1.55; }
.stack-form input:focus, .stack-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 39, 45, .08); }
.stack-form .button { justify-self: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-alert { margin-bottom: 22px; border-radius: 10px; padding: 13px 15px; font-size: .84rem; font-weight: 750; }
.form-alert--error { background: #fff0f0; color: #a81c22; }
.form-alert--success { background: #e8f7f0; color: #116946; }
.button--ghost { border-color: var(--line-dark); background: #fff; color: var(--ink); }
.button--ghost:hover { border-color: var(--ink); background: var(--surface); box-shadow: none; }
.admin-product-list { display: grid; }
.admin-product-list a { display: grid; min-width: 0; padding: 17px 4px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.admin-product-list a:first-child { padding-top: 4px; }
.admin-product-list a:last-child { padding-bottom: 4px; border-bottom: 0; }
.admin-product-list a:hover span { color: var(--red); }
.admin-product-list span { min-width: 0; font-weight: 800; }
.admin-product-list small { color: var(--muted); text-align: right; }
.admin-table-wrap { max-width: 100%; overflow-x: auto; }
.admin-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 13px 12px; text-align: left; vertical-align: top; }
.admin-table th { background: var(--surface); font-size: .76rem; text-transform: uppercase; }
.admin-table td { font-size: .84rem; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 170px minmax(230px, 1fr) auto; }
  .header-main > .button { display: none; }
  .header-contact { min-width: 160px; }
  .main-nav__inner { gap: 22px; }
  .home-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: 28px; }
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-grid { gap: 60px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contacts { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  body:not(.admin-page) { padding-left: 0; }
  body:not(.admin-page) .skip-link { left: 18px; }
  .side-catalog { display: none; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .section { padding: 70px 0; }
  .section--first { padding-top: 36px; }
  .topline { display: none; }
  .header-main { min-height: 68px; grid-template-columns: 150px 1fr auto; gap: 16px; }
  .brand img { width: 145px; }
  .header-contact { display: none; }
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; right: 0; left: 0; display: none; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 18px 30px rgba(18, 25, 35, .12); }
  .main-nav.is-open { display: block; }
  .main-nav__inner { display: grid; padding: 12px 18px 20px; gap: 0; }
  .main-nav a, .main-nav .catalog-link { min-height: 48px; margin: 0; border-bottom: 1px solid var(--line); padding: 0 10px; background: transparent; color: var(--ink); }
  .main-nav .catalog-link { color: var(--red); }
  .mobile-catalog-menu { display: grid; padding: 18px 10px 2px; gap: 8px; }
  .mobile-catalog-menu > strong { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-catalog-menu__links { display: grid; }
  .main-nav .mobile-catalog-menu__links a { min-height: 44px; font-size: .84rem; }
  .main-nav .mobile-catalog-menu__links a.is-active, .main-nav .mobile-catalog-menu__links a.is-ancestor { color: var(--red); }
  .home-hero { background: var(--surface); }
  .home-hero__grid { min-height: 0; grid-template-columns: 1fr; gap: 30px; }
  .home-hero__content { padding: 34px 0 0; }
  .home-hero__visual { min-height: 0; grid-template-rows: 360px auto; }
  .home-hero__visual > img { min-height: 0; }
  .home-hero__visual.home-hero__visual--banner { margin-top: 0; }
  .hero-points { padding-top: 44px; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-grid, .product-layout, .product-details, .content-layout--form { grid-template-columns: 1fr; gap: 50px; }
  .product-summary, .request-card { position: static; }
  .product-gallery__stage { aspect-ratio: 1; }
  .product-details { margin-top: 70px; padding-top: 60px; }
  .registry-card { grid-template-columns: 90px 1fr; padding: 34px; }
  .registry-card__icon { width: 84px; height: 84px; font-size: 1.6rem; }
  .registry-card .button { grid-column: 2; justify-self: start; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-sidebar { overflow: hidden; border: 0; background: transparent; }
  .sidebar-title { display: none; }
  .catalog-sidebar nav { display: flex; overflow-x: auto; padding: 2px 0 10px; gap: 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .catalog-sidebar nav a { min-height: 40px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; background: #fff; scroll-snap-align: start; }
  .sidebar-help { display: none; }
  .contact-band__inner { min-height: 0; padding: 58px 0; grid-template-columns: 1fr; gap: 36px; }
  .contact-band__actions { min-width: 0; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contacts { grid-column: auto; }
  .admin-shell { width: min(calc(100% - 36px), 1120px); padding: 44px 0 72px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.05rem; }
  .section { padding: 56px 0; }
  .header-main { grid-template-columns: 126px 1fr auto; gap: 9px; }
  .brand img { width: 122px; }
  .header-search { height: 42px; }
  .header-search input { padding-left: 12px; font-size: .82rem; }
  .menu-toggle { width: 42px; height: 42px; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .home-hero .lead { font-size: 1rem; }
  .home-hero__visual { min-height: 0; grid-template-rows: 250px auto; }
  .home-hero__visual > img { min-height: 0; padding: 20px 18px 12px; }
  .hero-product-label { padding: 18px 20px 20px; }
  .hero-points { grid-template-columns: 1fr; padding-top: 36px; gap: 8px; }
  .hero-points li { grid-template-columns: 32px 1fr; align-items: center; padding: 10px 0; }
  .hero-points span { margin: 0; }
  .hero-actions { align-items: stretch; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .section-heading { display: grid; margin-bottom: 30px; align-items: start; gap: 14px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { min-height: 230px; }
  .category-card__name { margin-inline: 14px; font-size: 1rem; }
  .category-card__count { margin: 0 14px 14px; }
  .category-card__number { top: 12px; left: 12px; width: 32px; height: 32px; }
  .product-grid, .product-grid--catalog { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 1 / .78; }
  .product-card__body { min-height: 235px; }
  .solution-panel { padding: 30px 22px; }
  .solution-panel__mark { display: none; }
  .registry-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .registry-card__icon { width: 72px; height: 72px; }
  .registry-card .button { grid-column: auto; width: 100%; }
  .page-hero { padding: 52px 0 48px; }
  .page-hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .breadcrumbs { margin-bottom: 30px; }
  .catalog-sidebar nav { display: flex; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; padding-bottom: 16px; }
  .sort-form { width: 100%; justify-content: space-between; }
  .sort-form select { min-width: 0; flex: 1; }
  .product-summary h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .product-actions { grid-template-columns: 1fr; }
  .product-benefits { grid-template-columns: 1fr; }
  .product-benefits div { display: grid; grid-template-columns: 100px 1fr; align-items: center; }
  .specifications dl > div { grid-template-columns: 1fr; gap: 4px; }
  .request-card { padding: 26px 20px; }
  .page-search { display: grid; }
  .page-search input { min-height: 50px; }
  .contact-band__actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 58px 0 42px; }
  .footer-bottom { min-height: 90px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .floating-call { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .floating-call svg { width: 21px; height: 21px; }
  .admin-header__inner { min-height: 64px; }
  .admin-header .brand img { width: 132px; }
  .admin-shell { width: min(calc(100% - 24px), 1120px); padding: 32px 0 56px; }
  .admin-card { border-radius: 16px; padding: 22px 18px; }
  .admin-heading { display: grid; align-items: start; }
  .admin-heading .button { justify-self: start; }
  .admin-stats { grid-template-columns: 1fr; gap: 10px; }
  .admin-stat { min-height: 104px; padding: 19px; }
  .form-grid { grid-template-columns: 1fr; }
  .stack-form .button { width: 100%; }
  .admin-product-list a { grid-template-columns: 1fr; gap: 4px; }
  .admin-product-list small { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
