/* Общая кривая анимаций: быстрый старт и очень мягкая остановка */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }

/* EngineXpress. База: сброс, каркас, шапка, меню, модальные окна, мобильная панель */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Отступ под закреплённую шапку при переходе по якорю. Не scroll-padding: он заставляет страницу прыгать вверх при наборе текста в поиске в шапке */
section[id], footer[id], [id].anchor { scroll-margin-top: 88px; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.ex-search__input:focus-visible { box-shadow: none; }
.ex-search__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.ex-input--vin::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 16px; }
.is-sent #order-title { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-md); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.code { font-family: var(--font-mono); font-weight: 600; letter-spacing: .02em; }
.nowrap { white-space: nowrap; }

/* ---------- Шапка ---------- */
.site-top { background: var(--bg-alt); font-size: 13px; line-height: 18px; color: var(--ink-2); }
.site-top .wrap { display: flex; align-items: center; gap: var(--space-6); height: 36px; }
.site-top__place { display: inline-flex; align-items: center; gap: 6px; }
.site-top__place .ex-ic { width: 15px; height: 15px; color: var(--brand); }
.site-top nav { margin-left: auto; display: flex; gap: var(--space-6); }
.site-top a { text-decoration: none; color: var(--ink-2); }
.site-top a:hover { color: var(--brand); }

.site-head { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .35s var(--ease); }
.site-head.is-scrolled { box-shadow: var(--shadow-sm); }
.site-head__bar { display: flex; align-items: center; gap: var(--space-4); height: var(--header-h); transition: height .35s var(--ease); }
.site-logo { flex: none; display: block; height: 40px; }
.site-logo img { height: 100%; width: auto; }
.cat-btn[aria-expanded="true"] { background: var(--brand-pressed); }
.cat-btn .ex-ic--x { display: none; }
.cat-btn[aria-expanded="true"] .ex-ic--menu { display: none; }
.cat-btn[aria-expanded="true"] .ex-ic--x { display: block; }
.site-head .ex-search { flex: 1; max-width: none; }
.site-head .ex-search__bar { height: var(--control-h); border-width: 1.5px; box-shadow: none; padding: 0 4px 0 var(--space-4); }
.site-head .ex-search__bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.site-head .ex-search__bar .ex-btn { height: 38px; padding: 0 var(--space-4); }
.site-head .ex-search__input { font-size: 16px; }
.site-head__contact { display: flex; align-items: center; gap: var(--space-3); }
.burger { display: none; }

/* Подсказки поиска */
.ex-search { position: relative; }
.ex-search__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: min(70vh, 520px); overflow: auto; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .28s var(--ease), transform .28s var(--ease); margin: 0; }
.ex-search.is-open .ex-search__list { opacity: 1; transform: none; pointer-events: auto; }
.ex-sugg { cursor: pointer; }
.ex-sugg__img { display: grid; place-items: center; font: 700 10px/1 var(--font-sans); color: var(--brand); background: var(--brand-soft); overflow: hidden; }
/* Частые запросы при пустом поиске */
.ex-search__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--space-2) var(--space-3) var(--space-3); }
.ex-search__quick button { border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius-sm); padding: 6px 10px; font: 600 14px/18px var(--font-sans); color: var(--brand); cursor: pointer; }
.ex-search__quick button:hover { background: var(--brand-soft); border-color: var(--brand-tint); }
.ex-sugg__stock { color: var(--success); }
.ex-sugg__order { color: var(--warning); }
.ex-search__empty { padding: var(--space-4); font-size: 15px; color: var(--ink-2); }
.ex-search__empty button { margin-top: var(--space-3); }

/* Мега-меню каталога */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mega__in { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-10); height: auto; padding-top: var(--space-8); padding-bottom: var(--space-10); align-items: start; }
.mega__sections a { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--space-4); border-radius: var(--radius-md); text-decoration: none; font-weight: 600; }
.mega__sections a:hover, .mega__sections a.is-active { background: var(--brand-soft); color: var(--brand); }
.mega__sections span { color: var(--ink-3); font-weight: 500; font-size: 14px; }
.mega__title { font-size: 14px; color: var(--ink-3); margin-bottom: var(--space-3); }
.mega__brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px var(--space-6); }
.mega__brands a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.mega__brands a:hover { color: var(--brand); border-color: var(--brand); }
.mega__brands a span { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--space-4); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: #020b4799; opacity: 0; transition: opacity .35s var(--ease); }
.modal.is-open .modal__bg { opacity: 1; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; background: var(--bg); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .4s var(--ease), opacity .35s var(--ease); }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; right: var(--space-4); top: var(--space-4); width: 40px; height: 40px; border-radius: var(--radius-full); border: 0; background: var(--bg-alt); display: grid; place-items: center; color: var(--ink-2); }
.modal__close:hover { background: var(--brand-soft); color: var(--brand); }
.modal__title { font: 700 24px/30px var(--font-sans); letter-spacing: -.01em; margin: 0 48px var(--space-2) 0; }
.modal__lead { color: var(--ink-2); margin-bottom: var(--space-6); }
.modal__item { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--brand-soft); margin-bottom: var(--space-5); }
.modal__item b { display: block; font-weight: 700; }
.modal__item small { display: block; font-size: 13px; color: var(--ink-2); }
.form { display: grid; gap: var(--space-4); }
.form .ex-field { min-width: 0; }
.form__legal { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.form__legal a { color: var(--ink-2); }
.form__done { display: none; text-align: center; padding: var(--space-6) 0 var(--space-2); }
.form__done-ic { width: 72px; height: 72px; margin: 0 auto var(--space-5); border-radius: var(--radius-full); background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.form__done-ic .ex-ic { width: 36px; height: 36px; stroke-width: 2; }
.form__done-ic path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-sent .form__done { display: block; }
.is-sent .form__done-ic path { animation: draw .65s .25s var(--ease) forwards; }
.is-sent .form, .is-sent .modal__item, .is-sent .modal__lead { display: none; }
.form__error { display: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--danger-soft); color: var(--danger); font-size: 14px; }
.form__error.is-shown { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Футер ---------- */
.site-foot { margin-top: 0; }
.site-foot .ex-footer__in { padding-bottom: calc(var(--space-6) + 0px); }

/* ---------- Мобильная панель ---------- */
.mbar { display: none; }

@media (max-width: 1080px) {
  .site-head__contact .ex-phone { display: none; }
  .mega__brands { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .wrap { padding: 0 var(--space-4); }
  .site-top { display: none; }
  .site-head__bar, .site-head.is-scrolled .site-head__bar { height: auto; flex-wrap: wrap; row-gap: var(--space-2); padding-top: 10px; padding-bottom: 10px; }
  .site-logo { height: 32px; }
  .cat-btn, .site-head__contact { display: none; }
  .site-head .ex-search { order: 3; flex: 1 0 100%; }
  .site-head .ex-search__bar { height: 44px; }
  .site-head .ex-search__bar .ex-btn { height: 34px; }
  .burger { display: grid; margin-left: auto; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); }
  .mega__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-top: var(--space-5); max-height: calc(100vh - 120px); overflow: auto; }
  .mega__brands { grid-template-columns: repeat(2, 1fr); }
  .mbar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; width: auto; }
  body { padding-bottom: 72px; }
  .modal { place-items: end center; padding: 0; }
  .modal__box { border-radius: var(--radius-xl) var(--radius-xl) 0 0; max-width: none; padding: var(--space-6) var(--space-4) calc(var(--space-6) + env(safe-area-inset-bottom)); transform: translateY(100%); }
}

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

/* ---------- Подсказки поиска: фото товара ---------- */
.ex-sugg__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Текстовые страницы (политика и т. п.) ---------- */
.doc { padding: var(--space-10) 0 var(--space-24); }
.doc__in { max-width: 800px; }
.doc .ex-crumbs { margin-bottom: var(--space-6); }
.doc h1 { font: 700 40px/46px var(--font-sans); letter-spacing: -.02em; margin-bottom: var(--space-3); text-wrap: balance; }
.doc__date { color: var(--ink-3); font-size: 14px; margin-bottom: var(--space-10); }
.doc h2 { font: 700 22px/28px var(--font-sans); margin: var(--space-10) 0 var(--space-3); }
.doc p, .doc li { font-size: 17px; line-height: 27px; color: var(--ink-2); }
.doc p + p { margin-top: var(--space-3); }
.doc ul { margin-top: var(--space-2); display: grid; gap: 6px; }
.doc li { position: relative; padding-left: var(--space-5); }
.doc li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc a { color: var(--accent); }
@media (max-width: 640px) { .doc h1 { font-size: 28px; line-height: 34px; } .doc { padding-top: var(--space-6); } }

/* ---------- Карточка товара (главная, каталог, похожие) ---------- */
.pcard { display: flex; flex-direction: column; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); text-decoration: none; overflow: hidden; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.pcard__code { position: absolute; left: var(--space-5); bottom: 40px; font: 700 30px/1 var(--font-sans); letter-spacing: -.02em; color: var(--brand); }
.pcard__vol { position: absolute; left: var(--space-5); bottom: 16px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.pcard__art { position: absolute; right: -14px; top: 30px; width: 62%; color: var(--brand); opacity: .16; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding-top: var(--space-4); flex: 1; }
.pcard__title { font: 600 17px/23px var(--font-sans); }
.pcard__title a { text-decoration: none; color: var(--ink); }
.pcard__title a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pcard__fit { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.pcard__mf { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.pcard__foot { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.pcard .ex-price { font-size: 21px; line-height: 26px; }
.pcard .ex-specs { margin-top: 2px; }
@media (max-width: 640px) {
  .pcard { flex-direction: row; gap: var(--space-4); }
  .pcard__media { width: 38%; flex: none; aspect-ratio: 1 / 1; align-self: flex-start; }
  .pcard__code { font-size: 20px; left: var(--space-3); bottom: 34px; }
  .pcard__vol { left: var(--space-3); bottom: 12px; }
  .pcard__tags .tag--new { display: none; }
  .pcard__art { display: none; }
  .pcard__body { padding-top: 0; }
  .pcard__title { font-size: 16px; line-height: 21px; }
  .pcard__mf, .pcard .ex-specs { display: none; }
  .pcard .ex-price { font-size: 18px; }
}

/* ---------- Текстовая ссылка-действие ---------- */
.tlink { display: inline-flex; align-items: center; padding: 0; border: 0; background: none; font: 600 15px/22px var(--font-sans); color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--brand-tint); cursor: pointer; transition: text-decoration-color .3s var(--ease); }
.tlink:hover { text-decoration-color: var(--brand); }

/* ---------- Хлебные крошки ---------- */
.crumbs { padding: var(--space-6) 0 var(--space-4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .crumbs { padding-top: var(--space-4); overflow-x: auto; scrollbar-width: none; }
  .crumbs ol { flex-wrap: nowrap; white-space: nowrap; }
}

/* ---------- Фото-слоты ---------- */
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--bg-sunken); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--empty { background: var(--bg-sunken) repeating-linear-gradient(135deg, transparent 0 14px, #02137b0a 14px 15px); box-shadow: inset 0 0 0 1px var(--line); }
.ph__brief { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); max-width: 460px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: #fffffff0; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.ph__brief b { display: block; margin-bottom: 4px; font: 600 13px/18px var(--font-sans); color: var(--brand); }

/* ---------- Формы заявок внутри страниц ---------- */
[data-form-host].is-sent [data-lead-form] { display: none; }
[data-form-host].is-sent .form__done { display: block; }

/* ---------- Шапка: кнопка «Каталог» и поиск ниже ---------- */
.site-head .cat-btn { height: 42px; padding: 0 var(--space-5); }
.site-head .ex-search__bar { height: 42px; }
.site-head .ex-search__bar .ex-btn { height: 32px; padding: 0 14px; font-size: 15px; }
.site-head .ex-msg { width: 42px; height: 42px; }
:root { --header-h: 64px; }

/* ---------- Мега-меню: кнопка «Весь каталог» ---------- */
.mega__all { margin-top: var(--space-5); justify-content: space-between; }
.mega__all span { color: var(--on-brand-muted); font-weight: 500; }

/* ---------- Плашки товара: градиент с плавным переливом ---------- */
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--radius-full); color: #fff; font: 600 13px/1 var(--font-sans); white-space: nowrap; background-size: 300% 100%; animation: tag-flow 7s ease-in-out infinite alternate; text-shadow: 0 1px 1px #0000001f; }
.tag--new { background-image: linear-gradient(100deg, #02137b, #2457f5 35%, #4f86ff 55%, #1a2fb0 80%, #02137b); }
.tag--stock { background-image: linear-gradient(100deg, #2b7a3a, #4caf50 35%, #6cc49a 60%, #3d9a55 85%, #2b7a3a); animation-delay: -2.3s; }
.tag--order { background-image: linear-gradient(100deg, #e8582c, #f7943a 35%, #f26a3a 60%, #cf3f4c 85%, #e8582c); animation-delay: -4.1s; }
@keyframes tag-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .tag { animation: none; } }

/* ---------- Выпадающие списки в стиле сайта ---------- */
.dd { position: relative; min-width: 0; }
.dd__native { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; cursor: pointer; background-image: none !important; padding-right: 14px !important; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease); }
.dd__btn:disabled { cursor: default; }
.dd__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__btn.is-empty .dd__val { color: var(--ink-3); }
.dd__chev { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.dd.is-open .dd__chev { transform: rotate(180deg); }
.dd.is-open .dd__btn { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dd__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; max-height: 320px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 16px 40px #020b4729, 0 2px 6px #020b4714; outline: none; overscroll-behavior: contain; scrollbar-width: thin;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 50% 0; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.dd.is-up .dd__list { top: auto; bottom: calc(100% + 8px); transform: translateY(8px) scale(.98); transform-origin: 50% 100%; }
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
.dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 9px; color: var(--ink); font: 500 15px/20px var(--font-sans); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.dd__opt--empty { color: var(--ink-3); }
.dd__opt.is-active { background: var(--brand-soft); color: var(--brand); }
.dd__opt[aria-selected="true"] { font-weight: 600; color: var(--brand); }
.dd__opt[aria-disabled="true"] { opacity: .4; cursor: default; }
.dd__check { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.dd__opt[aria-selected="true"] .dd__check { opacity: 1; transform: none; }
.dd__opt--empty[aria-selected="true"] { font-weight: 500; color: var(--ink-3); }
.dd__opt--empty .dd__check { display: none; }
.cat__sort .dd { min-width: 230px; }
@media (max-width: 860px) { .cat__sort .dd { min-width: 0; width: 100%; max-width: 230px; } .dd__list { max-height: 50vh; } }

/* ---------- Шапка в духе маркетплейса: действия с подписями, вторая строка с разделами ---------- */
.site-head .ex-search__bar { padding-right: 4px; }
.site-head .hsearch__go { width: 52px; padding: 0 !important; border-radius: 9px; }
.site-head .hsearch__go .ex-ic { width: 20px; height: 20px; color: #fff; }
.hact { flex: none; display: flex; gap: 2px; }
.hact__a { display: grid; justify-items: center; gap: 3px; min-width: 64px; padding: 6px 8px; border: 0; border-radius: var(--radius-md); background: none; color: var(--ink-2); font: 500 12px/14px var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: color .3s var(--ease), background-color .3s var(--ease); }
.hact__a .ex-ic { width: 22px; height: 22px; color: var(--brand); transition: transform .4s var(--ease); }
.hact__a:hover { background: var(--brand-soft); color: var(--brand); }
.hact__a:hover .ex-ic { transform: translateY(-2px); }
.hphone { flex: none; display: grid; text-decoration: none; color: var(--ink); padding-left: var(--space-2); }
.hphone b { font: 700 17px/22px var(--font-sans); white-space: nowrap; }
.hphone span { color: var(--ink-3); font-size: 12px; line-height: 16px; white-space: nowrap; }
.hphone:hover b { color: var(--brand); }

/* Вторая строка не участвует в раскладке страницы: висит под шапкой и уезжает под неё.
   Высота шапки в потоке всегда одна и та же, поэтому страница не дёргается и прокрутка не сбивается. */
.hsub { position: absolute; left: 0; right: 0; top: 100%; z-index: -1; background: var(--bg); border-bottom: 1px solid var(--line); transition: transform .5s var(--ease), opacity .35s var(--ease), visibility 0s; }
.site-head.sub-hidden .hsub { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .5s var(--ease), opacity .35s var(--ease), visibility 0s .5s; }
.site-head { border-bottom-color: transparent; }
.site-head.sub-hidden { border-bottom-color: var(--line); }
.hsub-space { height: 45px; }
@media (max-width: 860px) { .hsub-space { display: none; } .site-head { border-bottom-color: var(--line); } }
.hsub__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 44px; font-size: 14px; }
.hsub__links, .hsub__info { display: flex; align-items: center; gap: var(--space-5); min-width: 0; white-space: nowrap; }
.hsub__links { overflow: hidden; }
.hsub a { color: var(--ink-2); text-decoration: none; transition: color .3s var(--ease); }
.hsub a:hover { color: var(--brand); }
.hsub__brand { color: var(--ink-3) !important; }
.hsub__brand:hover { color: var(--brand) !important; }
.hsub__place { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.hsub__place .ex-ic { width: 15px; height: 15px; color: var(--brand); }
@media (max-width: 1240px) { .hphone span { display: none; } }
@media (max-width: 1080px) { .hphone { display: none; } .hact__a { min-width: 56px; } .hact__a:first-child span { font-size: 0; } .hact__a:first-child span::after { content: "VIN"; font-size: 12px; } }
@media (max-width: 860px) { .hact, .hphone, .hsub { display: none; } }
