/* Catalogue reference: typography, geometry and motion. The SLKV palette stays in the page components.
   Inter font license: assets/fonts/OFL-Inter.txt. */
@import url("assets/fonts/inter.css");

:root {
  --ui-font: "Inter", Arial, sans-serif;
  --ui-radius-sm: 4px;
  --ui-radius: 8px;
  --ui-radius-panel: 14px;
  --ui-ease: cubic-bezier(.2,.8,.2,1);
  --ui-fast: 220ms;
  --ui-reveal: 520ms;
  --ui-ink: #17191c;
  --ui-muted: #6b7178;
  --ui-line: #d3d6da;
  --ui-blue: #0b47a8;
}

body[data-ui-theme="catalog-reference"] {
  font-family: var(--ui-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
body[data-ui-theme] :is(button,input,select,textarea) { font-family: var(--ui-font); }
body[data-ui-theme] h1 {
  font: 500 clamp(40px,3.65vw,52px)/1.06 var(--ui-font) !important;
  letter-spacing: -.025em !important;
  text-wrap: balance;
}
body[data-ui-theme] h2 {
  font-family: var(--ui-font) !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: -.02em !important;
  text-wrap: balance;
}
body[data-ui-theme] h3 {
  font-family: var(--ui-font) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -.015em;
}
body[data-ui-theme] p { text-wrap: pretty; }
body[data-ui-theme] :is(input,textarea,select) { accent-color: var(--ui-blue); }
body[data-ui-theme] ::selection { background: #0b47a826; }
body[data-ui-theme] a { text-underline-offset: 3px; }
body[data-ui-theme] :is(input,textarea) { caret-color: var(--ui-blue); }
body[data-ui-theme] :is(a,button,input,textarea,select):focus-visible {
  outline: 2px solid #2f6bda;
  outline-offset: 3px;
}
.ui-control { border-radius: var(--ui-radius) !important; font-weight: 500 !important; }
.ui-panel { border-radius: var(--ui-radius-panel) !important; }
.ui-label { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.ui-rule { mask-image: linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent); }

/* Shared navigation: fixed-size emblem and compact, readable Inter labels. */
body[data-ui-theme] #shared-header { font: 400 14px/1.55 var(--ui-font); }
body[data-ui-theme] #shared-header header>div { gap: 18px; }
body[data-ui-theme] #shared-header nav { font-size: 13px !important; gap: 0 !important; }
body[data-ui-theme] #shared-header nav a { padding: 9px 8px; border-radius: 8px; }
body[data-ui-theme] #shared-header nav a>span { display: none; }
body[data-ui-theme] #shared-header header>a { font-size: 14px; }
body[data-ui-theme] #shared-header [aria-label="Союзлифткомплект — главная"]>span:last-child {
  font: 500 12px/1.18 var(--ui-font) !important;
  letter-spacing: .045em !important;
}
body[data-ui-theme] #shared-header [data-sh-mouseenter="hCat"] { font-size: 14px !important; padding-inline: 14px !important; gap: 9px !important; }
body[data-ui-theme] #shared-header form { min-width: 172px !important; }
body[data-ui-theme] #shared-header [data-sh-ref="qRef"] { font-size: 13px !important; padding-right: 78px !important; }
body[data-ui-theme] #shared-header [data-sh-ref="qRef"]+span { right: 78px !important; }
body[data-ui-theme] #shared-header [data-sh-ref="qRef"]~span>span>span { font-size: 13px; }
body[data-ui-theme] #shared-header form>span:nth-of-type(3) { display:none!important; }
body[data-ui-theme] #shared-header [data-sh-ref="qRef"]+span>span { transform:none!important;transition:none!important; }
body[data-ui-theme] #shared-header [data-sh-mouseenter="hCat"]>span:first-child { display:none; }
body[data-ui-theme] #shared-header form button { padding-inline: 12px !important; font-size: 13px !important; }
body[data-ui-theme] #site-footer { font-family: var(--ui-font); font-size: 14px; }
body[data-ui-theme] #site-footer .sf-grid { gap: 40px; }
body[data-ui-theme] #site-footer .sf-phone { font: 500 clamp(27px,2.4vw,34px)/1.12 var(--ui-font); letter-spacing: -.035em; }
body[data-ui-theme] #site-footer .sf-label { font: 500 11px/1.4 var(--ui-font); letter-spacing: .08em; text-transform: uppercase; }
body[data-ui-theme] #site-footer .sf-email { font-size: 18px; }
body[data-ui-theme] #site-footer .sf-navigation { font-size: 13px; }
body[data-ui-theme] #site-footer address { font-size: 15px; }
body[data-ui-theme] #site-footer .sf-messenger { border-radius: 8px; }

/* Page-specific proportions keep the existing content hierarchy and colour blocks. */
body[data-ui-page="index"] [data-screen-label="Первый экран"] h1 { font-size: clamp(40px,3.7vw,52px) !important; }
body[data-ui-page="index"] [data-screen-label="Первый экран"] h1+p { font-size: 17px !important; max-width: 440px !important; }
body[data-ui-page="index"] [data-screen-label="Первый экран"] h1+p+div { flex-wrap: wrap; }
body[data-ui-page="index"] [data-screen-label="Первый экран"] h1+p+div>a { height: 48px !important; font-size: 13px !important; padding-inline: 18px !important; gap: 12px !important; }
body[data-ui-page="index"] [data-shine] { font-size: 17px !important; }
body[data-ui-page="index"] [data-shine] { background:none!important;color:#fff!important; }
body[data-ui-page="selection"] [aria-label="О подборе"] h1 { font-size: clamp(38px,3.5vw,48px) !important; }
body[data-ui-page="selection"] [aria-label="О подборе"] a[href^="tel:"] { font-size: 26px !important; }
body[data-ui-page="selection"] [aria-labelledby="sel-h2"] { padding: 32px !important; gap: 24px !important; }
body[data-ui-page="selection"] [aria-labelledby="sel-h2"] { box-shadow:none!important; }
body[data-ui-page="selection"] #sel-h2 { font-size: 28px !important; }
body[data-ui-page="catalog"] [data-screen-label="Карточка товара"] h1 { font-size: 32px !important; line-height: 1.18 !important; }
.product-layout { grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)!important;gap:40px!important; }
.product-media { border-radius:14px!important; }
body[data-ui-page="catalog"] [data-screen-label="Карточка · сведения"] h2 { font-size:25px!important; }
body[data-ui-page="admin"] h1, body[data-ui-page="account"] h1 { font-size: 40px !important; }
body[data-ui-page="admin"] h2, body[data-ui-page="account"] h2 { font-size: 25px !important; }
body[data-ui-theme] .service-page { font-family: var(--ui-font); }
body[data-ui-theme] .service-layout { gap: 64px; }
body[data-ui-theme] .service-form { border-radius: 14px; gap: 10px; }
body[data-ui-theme] .service-lead { font-size: 17px; }
body[data-ui-theme] :is(.service-form input,.service-form textarea,.service-form button,.service-button,.photo-drop,.photo-preview) { border-radius: 8px; }
body[data-ui-theme] .service-contact a { font: 500 26px/1.2 var(--ui-font); letter-spacing: -.025em; }
body[data-ui-theme] .service-eyebrow { font: 500 11px/1.4 var(--ui-font); letter-spacing: .1em; }
body[data-ui-theme] .journey-stages button { font: 500 17px/1.3 var(--ui-font); }
body[data-ui-theme] .journey-stages button>span { font-family: var(--ui-font); }
body[data-ui-theme] .lift-tabs button { border-radius: 8px; }
body[data-ui-theme] .lift-panel { border-radius: 14px; }
body[data-ui-theme] .lift-copy h2 { font-size: 32px !important; }
body[data-ui-theme] .lift-copy p { font-size: 15px !important; }
body[data-ui-theme] .lift-considerations dl>div { font-size: 14px; }

/* The catalogue's three-column composition, adapted to the original light/blue scheme. */
.catalog-hall {
  margin-top: 36px; display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr) minmax(272px,1fr);
  gap: 32px; align-items: stretch; padding: 28px;
  background: #fff; border: 1px solid #e1e0da; border-radius: 14px;
}
.catalog-hall-intro { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.catalog-hall-search { display: flex; flex-direction: column; gap: 18px; }
.catalog-hall-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
body[data-ui-theme] .catalog-hall-heading h2 { font-size: 26px !important; }
.catalog-hall-total { font-size: 12px; color: #6b7178; white-space: nowrap; font-variant-numeric: tabular-nums; }
.catalog-hall-search form { display:flex; align-items:center; height:52px; margin:0; border:1px solid #b9c0c9; border-radius:8px; transition:border-color 200ms ease,box-shadow 200ms ease; }
.catalog-hall-search form:focus-within { border-color:#0b47a8; box-shadow:0 0 0 3px #0b47a812; }
.catalog-hall-search-icon { width:40px; display:flex; justify-content:center; color:#6b7178; flex:none; }
.catalog-hall-search input { flex:1; min-width:0; height:100%; border:0; background:transparent; color:#17191c; font:400 14px/1 var(--ui-font); outline:none!important; }
.catalog-hall-search button { height:38px; margin-right:6px; padding:0 12px; border:0; border-radius:8px; background:#0b47a8; color:#fff; font:500 13px/1 var(--ui-font); cursor:pointer; transition:background 220ms ease; }
.catalog-hall-search button:hover { background:#083784; }
.catalog-examples { display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;line-height:1.5;color:#6b7178; }
.catalog-examples a { border:1px solid #d3d6da;border-radius:4px;padding:3px 7px;color:#4e555d;text-decoration:none;font-size:11px;transition:border-color 160ms ease,color 160ms ease; }
.catalog-examples a:hover { border-color:#0b47a8;color:#0b47a8; }
.catalog-selected { margin-top:auto; padding-top:24px; position:relative; min-height:180px; }
.catalog-selected::before { content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,#d3d6da,#d3d6da calc(100% - 48px),transparent); }
.catalog-selected-label { font-size:11px;letter-spacing:.04em;color:#6b7178; }
.catalog-selected-copy { display:flex;flex-direction:column;gap:10px;margin-top:14px;transition:opacity 320ms ease,transform 420ms var(--ui-ease); }
body[data-ui-theme] .catalog-selected h3 { margin:0;font-size:28px;letter-spacing:-.02em; }
.catalog-selected-copy>span { font-size:13px;color:#6b7178; }
.catalog-selected-actions { display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:8px; }
.catalog-selected-actions a { font-size:12px;font-weight:500;text-decoration:none; }
.catalog-selected-actions a:first-child { display:inline-flex;align-items:center;gap:12px;height:40px;padding:0 14px;border:1px solid #0b47a8;border-radius:8px;transition:background 220ms ease; }
.catalog-selected-actions a:first-child:hover { background:#eef2f9;color:#0b47a8; }
.catalog-elevator { display:flex;flex-direction:column;align-items:center;gap:14px;min-width:0; }
.catalog-indicator { height:46px;padding:8px 20px;display:flex;align-items:center;gap:14px;border-radius:4px;background:#0a0e14;color:#8fb5ff;box-shadow:inset 0 0 0 1px #ffffff12; }
.catalog-indicator-arrows { display:flex;flex-direction:column;gap:4px; }
.catalog-digits { display:flex;height:30px;overflow:hidden;font:500 30px/30px var(--ui-font);font-variant-numeric:tabular-nums;text-shadow:0 0 14px #6b9cf266; }
.catalog-digit { display:flex;flex-direction:column;transition:transform 640ms cubic-bezier(.65,0,.25,1); }
.catalog-digit>span { flex:none;height:30px; }
.catalog-elevator-frame { position:relative;width:100%;flex:1;min-height:460px;padding:14px 14px 0;border-radius:8px 8px 0 0;background:linear-gradient(90deg,#bcc1c7,#e4e6e9 28%,#d3d7db 72%,#b7bcc2);box-shadow:inset 0 0 0 1px #00000014,0 24px 36px -30px #17191c80; }
.catalog-elevator-car { position:relative;display:block;height:100%;min-height:446px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px #00000020; }
.catalog-elevator-light { position:absolute;left:12%;right:12%;top:0;height:2px;background:linear-gradient(90deg,transparent,#8fb5ff,transparent); }
.catalog-hall-art { position:absolute;inset:12% 5%;background-size:contain;background-repeat:no-repeat;background-position:center;transition:transform 4200ms var(--ui-ease); }
.catalog-hall-empty { position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;text-align:center; }
.catalog-hall-empty strong { font:500 100px/1 var(--ui-font);color:transparent;-webkit-text-stroke:1px #7191bc; }
.catalog-hall-empty span { font-size:14px;color:#6b7178; }
.catalog-door { position:absolute;top:0;bottom:0;width:50%;z-index:2;background:repeating-linear-gradient(90deg,#ffffff18 0 1px,#00000005 1px 4px),linear-gradient(90deg,#a7aeb5,#d7dade 78%,#c2c7cc); }
.catalog-door-left { left:0;box-shadow:inset -1px 0 #00000040; }
.catalog-door-right { right:0;background:repeating-linear-gradient(90deg,#ffffff18 0 1px,#00000005 1px 4px),linear-gradient(270deg,#a7aeb5,#d7dade 78%,#c2c7cc);box-shadow:inset 1px 0 #00000040; }
.catalog-door-seam { position:absolute;top:8%;bottom:8%;left:50%;width:1px;z-index:3;background:#8fb5ff;box-shadow:0 0 10px #6b9cf2;transition:opacity 300ms ease; }
.catalog-sill { width:calc(100% + 24px);height:4px;margin-top:-14px;background:linear-gradient(90deg,transparent,#9aa0a6 24px,#9aa0a6 calc(100% - 24px),transparent); }
.catalog-directory { min-width:0;align-self:start;display:flex;flex-direction:column;padding:16px 10px 12px;border-radius:14px;background:#11161e;color:#fff; }
.catalog-directory-label { display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 8px 12px;padding-bottom:12px;border-bottom:1px solid #ffffff14;color:#aeb4bb;font-size:11px;letter-spacing:.04em; }
.catalog-directory-label>span:last-child { letter-spacing:0;white-space:nowrap; }
.catalog-directory a { display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:36px;padding:6px 8px;border-radius:8px;text-decoration:none;transition:background 220ms ease,color 220ms ease; }
.catalog-directory a:hover,.catalog-directory a:focus-visible { background:#ffffff0c !important; }
.catalog-directory a[aria-current="true"] { background:#1b2a40!important;box-shadow:inset 2px 0 #6b9cf2; }
.catalog-directory-number { display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:11px;font-variant-numeric:tabular-nums;transition:box-shadow 240ms ease,color 240ms ease; }
.catalog-directory-title { font-size:13px;line-height:1.3; }
.catalog-directory-count { font-size:11px;font-variant-numeric:tabular-nums;color:#aeb4bb; }
.catalog-brands { display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:24px; }
.catalog-brands>span { margin-right:8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6b7178; }
.catalog-brands a { display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:4px 10px;border:1px solid #d3d6da;border-radius:8px;font-size:12px;color:#17191c;text-decoration:none;transition:border-color 220ms ease,background 220ms ease; }
.catalog-brands a:hover { border-color:#0b47a8;background:#fff; }
.catalog-brands a span { font-size:11px;color:#6b7178; }

@media(max-width:1280px) {
  body[data-ui-theme] #shared-header header>div { gap:10px!important; }
  body[data-ui-theme] #shared-header nav a { padding-inline:6px; }
  .catalog-hall { gap:24px;padding:24px;grid-template-columns:minmax(0,1fr) 260px 290px; }
}
@media(max-width:700px) {
  .product-layout { grid-template-columns:minmax(0,1fr)!important; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  body[data-ui-theme] *,body[data-ui-theme] *::before,body[data-ui-theme] *::after {
    animation:none!important;transition:none!important;
  }
  .catalog-hall-art { transform:none!important; }
}

/* Compact, semantic presentation of the original product text. */
.product-description { display:flex; flex-direction:column; gap:16px; }
.product-copy { display:flex; flex-direction:column; gap:16px; max-width:800px; color:#2b3036; font-size:16px; line-height:1.55; }
.product-copy p, .product-copy dl, .product-copy ul { margin:0; }
.product-copy p { max-width:700px; }
.product-copy-parameters { border:1px solid #dedcd5; border-radius:8px; padding:4px 18px; background:#fff; }
.product-copy-parameters>div { display:grid; grid-template-columns:minmax(150px,210px) minmax(0,1fr); gap:20px; padding:10px 0; border-bottom:1px solid #ecebe7; }
.product-copy-parameters>div:last-child { border-bottom:0; }
.product-copy-parameters dt { color:#5c636b; }
.product-copy-parameters dd { margin:0; overflow-wrap:anywhere; }
.product-copy ul { padding-left:20px; }
.product-copy li { padding-left:3px; margin:4px 0; }
.product-copy li::marker { color:#0b47a8; }
@media(max-width:600px) {
 .product-copy { font-size:15px; gap:14px; }
 .product-copy-parameters { padding:4px 14px; }
 .product-copy-parameters>div { grid-template-columns:1fr; gap:3px; padding:9px 0; }
 .product-copy-parameters dt { font-size:13px; }
}

/* Catalog directions use the existing card and tab vocabulary. */
.catalog-equipment-links { display:grid; grid-template-columns:minmax(180px,1fr) minmax(0,3fr); gap:32px; padding:26px 0; margin-top:24px; border-top:1px solid #d5d8dc; border-bottom:1px solid #d5d8dc; }
.catalog-equipment-links>div:first-child>span { font-size:12px; color:#6b7178; }
body[data-ui-theme] .catalog-equipment-links h2 { margin:7px 0 0; font-size:24px!important; }
.catalog-equipment-links>div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.catalog-equipment-links a { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:15px 17px; border:1px solid #d5d8dc; border-radius:8px; text-decoration:none; color:#17191c; font-size:14px; transition:background 220ms,border-color 220ms; }
.catalog-equipment-links a:hover { background:#eef2f9; border-color:#9cb2d5; }
.catalog-equipment-links a span { white-space:nowrap; color:#5c636b; font-size:12px; }
.catalog-scope-nav { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0; }
.catalog-scope-nav a { display:flex; align-items:center; gap:12px; padding:10px 14px; border:1px solid #d5d8dc; border-radius:8px; font-size:14px; color:#4e555d; text-decoration:none; }
.catalog-scope-nav a[aria-current=page] { background:#eef2f9; border-color:#0b47a8; color:#0b47a8; }
.catalog-scope-nav a span { font-size:12px; font-variant-numeric:tabular-nums; }
.catalog-series-link { display:inline-flex; align-items:center; gap:16px; margin-top:24px; padding:12px 16px; border:1px solid #647388; border-radius:8px; text-decoration:none; color:#dce7f7; font-size:14px; }
.catalog-series-link:hover { background:#1b283b; color:#fff; }
@media(max-width:760px) { .catalog-equipment-links { grid-template-columns:1fr; gap:18px; } }
@media(max-width:480px) { .catalog-equipment-links>div:last-child { grid-template-columns:1fr; } }
