/* Shared site chrome
 * Stage 16F scale tokens (Live confirmed):
 *   desktop ≥1200: artboard 1200
 *   ≤1199: Live Zero Blocks upscale from screen 320; WP tokens authored @390
 *           calc(N_390 * 100vw/390) ≡ Live (N_320 * 100vw/320)
 * Do NOT apply transform/zoom on body/main.
 */
:root {
  --scale-desktop: calc(100vw / 1200);
  --scale-mobile: calc(100vw / 390);
  --artboard-scale: var(--scale-desktop);
  /* Header/footer READY — isolated token (same formula, independent binding) */
  --chrome-scale: var(--scale-desktop);
  --w: var(--artboard-scale);
  --u: calc(min(100vw, 1200px) / 1200);
}

body { padding-top: calc(75 * var(--chrome-scale)); }

/* Product singles: Live header overlays content (bodyPad 0) */
body.single-peotek_product {
  padding-top: 0;
}

.header-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding-left: calc(100 * var(--chrome-scale));
  padding-right: calc(100 * var(--chrome-scale));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(75 * var(--chrome-scale));
  border-bottom: none;
  background: #fff;
  backdrop-filter: none;
  z-index: 50;
  overflow: visible;
}

.header-top {
  min-height: calc(32 * var(--chrome-scale));
  background: #fafafa;
  border-bottom: none;
}

.header-top__inner {
  min-height: calc(32 * var(--chrome-scale));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: calc(11 * var(--chrome-scale));
  box-sizing: border-box;
}

.header-top__contacts {
  display: flex;
  align-items: flex-start;
  gap: calc(8 * var(--chrome-scale));
}

.header-contact,
.header-favorites {
  display: inline-flex;
  align-items: flex-start;
  gap: calc(6 * var(--chrome-scale));
  font-size: calc(11 * var(--chrome-scale));
  line-height: calc(12 * var(--chrome-scale));
  color: #222328;
  min-height: calc(12 * var(--chrome-scale));
}

.header-contact img,
.header-favorites img {
  width: calc(10 * var(--chrome-scale));
  height: calc(10 * var(--chrome-scale));
  flex: 0 0 auto;
  transform: none;
  /* Live top-bar icons render grey; asset SVGs are brand-red */
  filter: grayscale(1) brightness(0.55);
}

.header-contact__text,
.header-favorites__text {
  display: inline-block;
  margin-top: 1.2px;
  line-height: calc(12 * var(--chrome-scale));
}

.header-favorites {
  position: relative;
  padding-right: calc(22 * var(--chrome-scale));
  transform: translateX(-1.94px);
}

.header-favorites__badge {
  position: absolute;
  top: calc(-5 * var(--chrome-scale));
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Live cart counter ≈ 22×19 @1440, pad 4×6, radius pill */
  min-width: calc(18 * var(--chrome-scale));
  height: calc(16 * var(--chrome-scale));
  padding: calc(3 * var(--chrome-scale)) calc(5 * var(--chrome-scale));
  border-radius: 999px;
  background: #d93434;
  color: #fff;
  font-size: calc(9 * var(--chrome-scale));
  line-height: 1;
  box-sizing: border-box;
}

.header-main {
  border-top: none;
}

.header-main__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: calc(43 * var(--chrome-scale));
  gap: calc(16 * var(--chrome-scale));
}

.header-main__left {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--chrome-scale));
  justify-self: start;
  position: relative;
  z-index: 60;
}

.logo { justify-self: center; }

.header-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: calc(18 * var(--chrome-scale));
  /* Tilda Zero: Roboto 11 Normal, #222328, lh 1.15 */
  font-size: calc(11 * var(--chrome-scale));
  font-weight: 400;
  line-height: 1.15;
  color: #222328;
  white-space: nowrap;
}

.header-nav a:hover { opacity: 0.5; }

.catalog-dropdown {
  position: relative;
}

.catalog-button {
  min-height: calc(25 * var(--chrome-scale));
  height: calc(25 * var(--chrome-scale));
  padding: 0 calc(10 * var(--chrome-scale));
  font-size: calc(11 * var(--chrome-scale));
  gap: calc(6 * var(--chrome-scale));
  border-color: #d93434;
  color: #d93434;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.catalog-button img {
  width: calc(12 * var(--chrome-scale));
  height: calc(12 * var(--chrome-scale));
  transition: filter 0.2s ease;
}

.catalog-dropdown:hover .catalog-button,
.catalog-dropdown.is-open .catalog-button,
.catalog-dropdown:focus-within .catalog-button {
  background: #d93434;
  color: #fff;
}

.catalog-dropdown:hover .catalog-button img,
.catalog-dropdown.is-open .catalog-button img,
.catalog-dropdown:focus-within .catalog-button img {
  filter: brightness(0) invert(1);
}

.catalog-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: calc(250 * var(--chrome-scale));
  min-width: 250px;
  padding-top: calc(6 * var(--chrome-scale));
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(-4 * var(--chrome-scale)));
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}

.catalog-panel__head {
  display: none;
}

.catalog-backdrop {
  display: none;
}

.catalog-panel::after {
  content: '';
  position: absolute;
  inset: calc(6 * var(--chrome-scale)) 0 0;
  background: #fff;
  box-shadow: 0 8px 28px rgba(5, 6, 17, 0.12);
  z-index: -1;
}

.catalog-dropdown:hover .catalog-panel,
.catalog-dropdown.is-open .catalog-panel,
.catalog-dropdown:focus-within .catalog-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.catalog-menu {
  list-style: none;
  margin: 0;
  padding: calc(8 * var(--chrome-scale)) 0 0;
  position: relative;
  z-index: 1;
  background: #fff;
}

.catalog-menu__item {
  position: relative;
}

.catalog-menu__link {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--chrome-scale));
  min-height: calc(34 * var(--chrome-scale));
  padding: calc(6 * var(--chrome-scale)) calc(14 * var(--chrome-scale));
  font-size: calc(11 * var(--chrome-scale));
  line-height: 1.25;
  color: #222328;
  text-decoration: none;
}

.catalog-menu__link:hover,
.catalog-menu__item.has-flyout:hover > .catalog-menu__link,
.catalog-menu__item.has-flyout:focus-within > .catalog-menu__link {
  background: #f7f7f8;
}

.catalog-menu__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.catalog-menu__text {
  flex: 1 1 auto;
}

.catalog-menu__arrow {
  width: calc(6 * var(--chrome-scale));
  height: calc(6 * var(--chrome-scale));
  border-right: 1.5px solid #222328;
  border-bottom: 1.5px solid #222328;
  transform: rotate(-45deg);
  flex: 0 0 auto;
  opacity: 0.7;
}

.catalog-flyout {
  position: absolute;
  top: 0;
  left: calc(100% - 2px);
  min-width: calc(220 * var(--chrome-scale));
  background: #fff;
  box-shadow: 0 8px 28px rgba(5, 6, 17, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 71;
}

.catalog-menu__item.has-flyout:hover > .catalog-flyout,
.catalog-menu__item.has-flyout:focus-within > .catalog-flyout,
.catalog-menu__item.has-flyout.is-open > .catalog-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalog-flyout ul {
  list-style: none;
  margin: 0;
  padding: calc(8 * var(--chrome-scale)) 0;
}

.catalog-flyout a {
  display: block;
  padding: calc(8 * var(--chrome-scale)) calc(16 * var(--chrome-scale));
  font-size: calc(11 * var(--chrome-scale));
  color: #222328;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-flyout a:hover {
  background: #f7f7f8;
}

.catalog-flyout__all a {
  font-weight: 500;
  color: #d93434;
}

.catalog-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  margin: calc(8 * var(--chrome-scale)) calc(10 * var(--chrome-scale)) calc(10 * var(--chrome-scale));
  padding: 20px;
  min-height: 0;
  background-color: #d93434;
  background-image: url("../../images/catalog-cta-banner.svg");
  background-size: auto 100%;
  background-position: right -85px top;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.catalog-cta__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.catalog-cta__row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 12px;
}

.catalog-cta__text {
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 1;
}

.catalog-cta__btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: url("../../images/tild6266-6530-4335-b633-623434616433__tag.svg") center / contain no-repeat;
}

.header-search {
  display: flex;
  align-items: stretch;
  position: relative;
  width: calc(265 * var(--chrome-scale));
  height: calc(25 * var(--chrome-scale));
  /* Live Tilda search frame: red 1px border (#d93434) */
  border: 1px solid #d93434;
  background: #fff;
  box-sizing: border-box;
  overflow: visible;
}

.header-search__results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 80;
  width: calc(320 * var(--chrome-scale));
  max-height: calc(280 * var(--chrome-scale));
  overflow: auto;
  background: #fff;
  border: 1px solid #e4e7eb;
  box-shadow: 0 8px 24px rgba(5, 6, 17, 0.08);
}

.header-search__results[hidden] {
  display: none !important;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  /* room for absolute Live search button (30 artboard) */
  padding: 0 calc(34 * var(--chrome-scale)) 0 calc(10 * var(--chrome-scale));
  font-size: calc(11 * var(--chrome-scale));
  color: #505156;
  background: transparent;
}

.header-search button {
  /* Live: red search plate overlays right edge of frame (36×30 @1440) */
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  z-index: 2;
  flex: none;
  width: calc(30 * var(--chrome-scale) + 1px);
  height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  line-height: 0;
}

.header-search button img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: fill;
}

.logo img {
  width: calc(170 * var(--chrome-scale));
  height: calc(29 * var(--chrome-scale));
  object-fit: contain;
}

/* ===== Footer (window, artboard 200) ===== */
.site-footer {
  border-top: 1px solid #e8e8ea;
  background: #fff;
  padding: 0;
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(200 * var(--chrome-scale));
  padding: calc(22 * var(--chrome-scale)) calc(100 * var(--chrome-scale)) calc(24 * var(--chrome-scale));
  background: #fff;
}

.footer-brand {
  width: calc(172 * var(--chrome-scale));
  margin-right: calc(28 * var(--chrome-scale));
  flex: 0 0 auto;
}

.footer-company {
  width: calc(72 * var(--chrome-scale));
  margin-right: calc(16 * var(--chrome-scale));
  flex: 0 0 auto;
}

.footer-catalog {
  width: calc(420 * var(--chrome-scale));
  flex: 0 0 auto;
}

.footer-contacts {
  width: calc(275 * var(--chrome-scale));
  margin-left: auto;
  flex: 0 0 auto;
  display: grid;
  gap: calc(10 * var(--chrome-scale));
  justify-items: start;
}

.footer-logo {
  display: block;
  width: calc(170 * var(--chrome-scale));
  height: calc(30 * var(--chrome-scale));
  margin-bottom: calc(9 * var(--chrome-scale));
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-copy {
  margin: 0 0 calc(13 * var(--chrome-scale));
  font-size: calc(10 * var(--chrome-scale));
  line-height: 1.15;
  color: #505156;
}

.footer-accent {
  display: block;
  margin: 0 0 calc(10 * var(--chrome-scale));
  font-size: calc(9 * var(--chrome-scale));
  line-height: 1.15;
  color: #d93434;
}

.footer-accent--muted {
  color: #050611;
}

.footer-accent:hover { opacity: 0.5; }

.footer-title {
  margin: 0 0 calc(10 * var(--chrome-scale));
  font-size: calc(10 * var(--chrome-scale));
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #505156;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
  font-size: calc(9 * var(--chrome-scale));
  line-height: 1.35;
  color: #050611;
}

.footer-links > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: block;
  position: static;
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.footer-links a:hover { opacity: 0.5; }

.footer-catalog__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: calc(10 * var(--chrome-scale));
  align-items: start;
}

.footer-catalog__cols .footer-links {
  min-width: 0;
}

.footer-contact {
  display: grid;
  grid-template-columns: calc(10 * var(--chrome-scale)) minmax(0, 1fr);
  gap: calc(5 * var(--chrome-scale));
  align-items: start;
  font-size: calc(9 * var(--chrome-scale));
  line-height: 1.15;
  color: #050611;
}

.footer-contact img {
  width: calc(10 * var(--chrome-scale));
  height: calc(10 * var(--chrome-scale));
  margin-top: calc(1 * var(--chrome-scale));
}

.footer-contact--address {
  max-width: calc(275 * var(--chrome-scale));
}

.footer-contact:hover { opacity: 0.5; }

.button--footer {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  margin-top: calc(10 * var(--chrome-scale));
  width: calc(94 * var(--chrome-scale));
  height: calc(20 * var(--chrome-scale));
  min-height: calc(20 * var(--chrome-scale));
  max-height: calc(20 * var(--chrome-scale));
  padding: 1px 0 0;
  gap: 0;
  border: 1px solid #d93434;
  background: transparent;
  color: #d93434;
  font-size: calc(9 * var(--chrome-scale));
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-indent: 0;
  clip-path: none;
}

.button--footer::before,
.button--footer::after {
  content: none;
  display: none;
}

.button--footer:hover {
  background: #d93434;
  color: #fff;
}


.header-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: end;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.header-mobile-search,
.header-mobile-actions .header-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: #d93434;
  cursor: pointer;
}

.header-mobile-search {
  /* Live renders the full 40×40 red plate from SVG */
  background: transparent;
}

.header-mobile-search img {
  /* SVG already has white glyph on red rect — invert turns the red square white */
  /* Live: magnifier glyph is larger inside 40×40 red plate */
  width: 40px;
  height: 40px;
  filter: none;
}

.header-mobile-actions .header-burger span {
  background: #fff;
}

.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #050611;
  transition: 0.2s ease;
}

@media (max-width: 1199px) {
  body {
    /* Confirmed Live switch ≤1199: Zero Block upscale from screen 320.
       WP tokens authored @390 → --scale-mobile = 100vw/390 (equiv). */
    --artboard-scale: var(--scale-mobile);
    --chrome-scale: var(--scale-mobile);
    --w: var(--artboard-scale);
    --u: var(--scale-mobile);
    padding-top: calc(80 * var(--chrome-scale));
    /* Readability floor — do NOT scale root font with artboard (Live sizes atoms explicitly) */
    font-size: 15px;
  }

  /* Keep header offset on mobile product pages (desktop may overlay hero) */
  body.single-peotek_product {
    padding-top: calc(80 * var(--chrome-scale));
  }

  .header-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: calc(16 * var(--chrome-scale));
    padding-right: calc(16 * var(--chrome-scale));
  }

  .container {
    padding-left: calc(16 * var(--artboard-scale));
    padding-right: calc(16 * var(--artboard-scale));
  }

  /* Header — Live t396 fixed board: top ~32 + main ~48 = 80 @390 */
  .site-header {
    height: calc(80 * var(--chrome-scale));
    box-shadow: 0 1px 0 #eee;
    overflow: visible;
  }

  .header-top {
    min-height: calc(32 * var(--chrome-scale));
    height: calc(32 * var(--chrome-scale));
  }

  .header-top__inner {
    min-height: calc(32 * var(--chrome-scale));
    height: calc(32 * var(--chrome-scale));
    gap: 8px;
    padding-top: calc(8 * var(--chrome-scale));
    align-items: flex-start;
  }

  .header-top__contacts {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .header-contact,
  .header-favorites {
    font-size: calc(12 * var(--chrome-scale));
    line-height: calc(15 * var(--chrome-scale));
    min-height: calc(15 * var(--chrome-scale));
    gap: calc(4 * var(--chrome-scale));
  }

  .header-contact img,
  .header-favorites img {
    width: calc(12 * var(--chrome-scale));
    height: calc(12 * var(--chrome-scale));
  }

  .header-favorites span:not(.header-favorites__badge) {
    display: none;
  }

  .header-favorites {
    padding-right: calc(18 * var(--chrome-scale));
    transform: none;
  }

  .header-favorites__badge {
    top: calc(-2 * var(--chrome-scale));
    min-width: calc(18 * var(--chrome-scale));
    height: calc(14 * var(--chrome-scale));
    font-size: calc(10 * var(--chrome-scale));
  }

  .header-main {
    height: calc(48 * var(--chrome-scale));
  }

  .header-main__grid {
    grid-template-columns: auto 1fr auto;
    min-height: calc(48 * var(--chrome-scale));
    height: calc(48 * var(--chrome-scale));
    gap: 10px;
    align-items: center;
  }

  .header-main__left {
    order: 1;
  }

  .logo {
    order: 2;
    justify-self: center;
  }

  .logo img {
    width: calc(132 * var(--chrome-scale));
    height: auto;
  }

  .header-search {
    display: none;
  }

  .catalog-button {
    min-height: calc(39 * var(--chrome-scale));
    height: calc(39 * var(--chrome-scale));
    font-size: calc(14 * var(--chrome-scale));
    padding: 0 calc(12 * var(--chrome-scale));
  }

  .header-mobile-actions {
    gap: calc(6 * var(--chrome-scale));
  }

  .header-mobile-search,
  .header-burger {
    width: calc(39 * var(--chrome-scale));
    height: calc(39 * var(--chrome-scale));
  }

  /* Live t978 mobile: catalog slides in as a side drawer */
  .catalog-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 74;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(5, 6, 17, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s;
  }

  body.is-catalog-open .catalog-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .catalog-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - 12px);
    max-width: 400px;
    min-width: 0;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 8px 0 28px rgba(5, 6, 17, 0.12);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
    transition: transform 0.28s ease, visibility 0.28s;
    z-index: 76;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-panel::after {
    display: none;
  }

  /* Hover must not open the drawer on touch / narrow viewports */
  .catalog-dropdown:hover .catalog-panel,
  .catalog-dropdown:focus-within .catalog-panel {
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
  }

  .catalog-dropdown.is-open .catalog-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .catalog-panel__head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 2;
    height: 52px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  .catalog-panel__back {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .catalog-panel__back::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-left: 2px solid #050611;
    border-bottom: 2px solid #050611;
    transform: rotate(45deg);
  }

  .catalog-panel__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #050611;
  }

  .catalog-menu {
    padding: 18px 0 0;
    background: #fff;
  }

  .catalog-menu__link {
    min-height: 0;
    padding: 0 26px;
    font-size: 18px;
    line-height: 1.35;
    gap: 12px;
  }

  /* Live mobile t978: category icons only from 1199+ */
  .catalog-menu__icon {
    display: none;
  }

  .catalog-menu__item {
    margin-bottom: 15px;
  }

  .catalog-menu__item:last-child {
    margin-bottom: 0;
  }

  /* Down chevron like Live mobile */
  .catalog-menu__arrow {
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    margin-top: -4px;
  }

  .catalog-menu__item.is-open > .catalog-menu__link .catalog-menu__arrow {
    transform: rotate(225deg);
    margin-top: 2px;
  }

  .catalog-flyout {
    position: static;
    min-width: 0;
    box-shadow: none;
    background: #f7f7f8;
    margin: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .catalog-menu__item.has-flyout.is-open > .catalog-flyout {
    display: block;
  }

  .catalog-flyout a {
    white-space: normal;
    padding: 10px 26px;
    font-size: 15px;
  }

  .catalog-cta {
    margin: 12px 10px 16px;
    padding: 20px;
    min-height: 0;
    background-size: auto 100%;
    background-position: right -85px top;
  }

  .catalog-cta__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
  }

  .catalog-cta__row {
    margin-top: 12px;
    gap: 16px;
    align-items: flex-end;
  }

  .catalog-cta__text {
    flex: 6 1 0;
    min-width: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
  }

  .catalog-cta__btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  body.is-catalog-open {
    overflow: hidden;
  }

  body.is-catalog-open .site-header {
    z-index: 80;
  }

  .header-burger {
    display: none;
  }

  .header-mobile-actions {
    display: inline-flex;
    order: 3;
  }

  .header-nav {
    position: fixed;
    top: calc(80 * var(--chrome-scale));
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 24px;
    background: #fff;
    border-bottom: 1px solid #e4e7eb;
    box-shadow: 0 12px 30px rgba(5, 6, 17, 0.08);
    white-space: normal;
    justify-self: stretch;
  }

  .header-nav a {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  body.is-menu-open .header-nav {
    display: flex;
  }

  body.is-menu-open .header-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.is-menu-open .header-burger span:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .header-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-mobile-search-panel {
    position: fixed;
    top: calc(80 * var(--chrome-scale));
    left: 0;
    right: 0;
    z-index: 55;
    padding: 12px 0;
    background: #fff;
    border-bottom: 1px solid #e4e7eb;
    box-shadow: 0 8px 24px rgba(5, 6, 17, 0.08);
  }

  .header-mobile-search-panel[hidden] {
    display: none !important;
  }

  .header-mobile-search-form {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
    height: 44px;
    border: 1px solid #d93434;
    background: #fff;
    box-sizing: border-box;
    overflow: visible;
  }

  .header-mobile-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 52px 0 12px;
    font-size: 15px;
    color: #505156;
    background: transparent;
  }

  .header-mobile-search-form button {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    z-index: 2;
    flex: none;
    width: 45px;
    height: auto;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    display: block;
    line-height: 0;
  }

  .header-mobile-search-form button img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: fill;
    filter: none;
  }

  .header-mobile-search-form .header-search__results {
    top: calc(100% + 4px);
    width: 100%;
  }

  body.is-search-open {
    overflow: hidden;
  }

  /* Live footer Zero Block #rec818666130 @320 → ~707px @390 */
  .site-footer {
    --footer-m: calc(100vw / 320);
  }

  .footer-shell {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: calc(15 * var(--footer-m)) calc(10 * var(--footer-m)) calc(30 * var(--footer-m));
    gap: calc(22 * var(--footer-m));
  }

  .footer-brand,
  .footer-company,
  .footer-catalog,
  .footer-contacts {
    width: 100%;
    margin: 0;
  }

  .footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: calc(33 * var(--footer-m));
    row-gap: 0;
  }

  .footer-logo {
    width: calc(219 * var(--footer-m));
    height: calc(42 * var(--footer-m));
    margin: 0 0 calc(15 * var(--footer-m));
    flex: 0 0 100%;
  }

  .footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .footer-copy {
    flex: 0 0 100%;
    margin: 0 0 calc(11 * var(--footer-m));
    font-size: calc(10 * var(--footer-m));
    line-height: 1.15;
  }

  /* Live: «Скачать каталог» red + «Карта сайта» dark, side-by-side @ top 82 */
  .footer-accent {
    display: inline-block;
    margin: 0;
    font-size: calc(9 * var(--footer-m));
    line-height: 1.15;
    color: #d93434;
  }

  .footer-accent--muted {
    color: #050611;
  }

  .footer-title {
    margin: 0 0 calc(15 * var(--footer-m));
    font-size: calc(13 * var(--footer-m));
    line-height: 1.15;
  }

  /* Live company: 2 columns (Главная|Технологии / О нас|Дилеры / …) */
  .footer-company .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: calc(10 * var(--footer-m));
    row-gap: 10px;
    /* Live atoms stay 11px — do not upscale with --footer-m */
    font-size: 11px;
    line-height: 1.35;
  }

  /* Live catalog: 3 cols @ left 10 / 103 / 209 (320), text 11px */
  .footer-catalog__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Live text gaps ~14–20px between columns — not 3px */
    column-gap: calc(12 * var(--footer-m));
    row-gap: 0;
  }

  .footer-catalog__cols .footer-links {
    min-width: 0;
    gap: 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .footer-catalog__cols .footer-links a {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    line-height: 1.35;
  }

  .footer-contacts {
    justify-items: start;
    width: 100%;
    gap: calc(12 * var(--footer-m));
  }

  .footer-contact {
    grid-template-columns: calc(13 * var(--footer-m)) minmax(0, 1fr);
    gap: calc(5 * var(--footer-m));
    font-size: calc(11 * var(--footer-m));
    line-height: 1.15;
  }

  .footer-contact img {
    width: calc(13 * var(--footer-m));
    height: calc(12 * var(--footer-m));
  }

  .footer-contact--address {
    max-width: calc(300 * var(--footer-m));
  }

  .button--footer {
    width: calc(106 * var(--footer-m));
    min-height: calc(26 * var(--footer-m));
    height: calc(26 * var(--footer-m));
    padding: 0;
    font-size: calc(11 * var(--footer-m));
  }
}
