/* Dentins header+footer — exact chrome from dentins-home.css (as on index.php). */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Roboto-cyrillic-300.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

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

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

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

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

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

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

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/OpenSans-Cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

:root {
  --color-text: #262626;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-top-bg: #f8f8f8;
  --color-yellow: #ffcc00;
  --color-yellow-login: #ffd801;
  --color-search-bg: #eeeeee;
  --color-social-bg: #eeeeee;
  --color-nav: #f2f2f2;
  --color-blue: #258ffb;
  --color-border-light: #eeeeee;
  /* ≥1301: pad растёт от 20 к 160 к 1920 и дальше без потолка — контент тянется на ultrawide */
  --side-pad: max(
    20px,
    calc(20px + (100vw - 1300px) * 140 / 620)
  );
  --container: calc(100vw - 2 * max(
    20px,
    calc(20px + (100vw - 1300px) * 140 / 620)
  ));
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-bold: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  font-family: "Roboto", "Open Sans", sans-serif;
  font-weight: var(--font-regular);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: none;
  /* left/right only — do not reset section margin-top/bottom via shorthand */
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--side-pad);
  min-width: 0;
}

.site-header {
  position: relative;
  z-index: 200;
  overflow: hidden;
}

/*
 * Search open: dim EVERYTHING (incl. header) via overlay.
 * Only the search field + suggest stay above the dimmer.
 * Header z-index must drop to auto so label.search can stack above overlay.
 */
body.search-suggest-open .site-header,
body.search-suggest-open .main-bar,
body.search-suggest-open .main-bar__inner {
  overflow: visible !important;
}

body.search-suggest-open .site-header {
  z-index: auto;
}

/* Elevate whole search control (input + magnifier), not #search alone —
   otherwise #search covers .search__btn and the icon disappears */
body.search-suggest-open label.search {
  position: relative;
  z-index: 1001;
}

body.search-suggest-open #search {
  position: relative;
  z-index: auto;
}

/* Top bar — 42px */
.top-bar {
  background: var(--color-top-bg);
  height: 42px;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 43px;
  font-size: 14px;
  font-weight: var(--font-regular);
  line-height: 20px;
}

.top-nav a:hover {
  opacity: 0.7;
}

.socials {
  display: flex;
  align-items: center;
  gap: 13px;
}

.socials__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-social-bg);
  flex-shrink: 0;
}

.socials__btn img {
  display: block;
  width: auto;
  height: 14px;
  transform: scaleY(-1);
}

.socials__btn:hover {
  filter: brightness(0.95);
}

/* Main bar — Figma header 104.5 total with top */
.main-bar {
  background: #fff;
  min-height: 62.5px;
  display: flex;
  align-items: center;
}

.main-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
}

.logo img {
  display: block;
  width: 196px;
  height: 34px;
  object-fit: contain;
}

.btn-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 143px;
  height: 34px;
  padding: 0 12px 0 15px;
  border: 0;
  border-radius: 5px;
  background: var(--color-yellow);
  font-size: 20px;
  font-weight: var(--font-light);
  line-height: 30px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-catalog:hover {
  filter: brightness(0.96);
}

.btn-catalog__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
  height: 14px;
}

.btn-catalog__icon span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.btn-catalog__icon span:nth-child(1),
.btn-catalog__icon span:nth-child(2) {
  width: 20px;
}

.btn-catalog__icon span:nth-child(3) {
  width: 15px;
}

.search {
  position: relative;
  flex: 1 1 clamp(236px, calc(236px + (100vw - 1300px) * 253 / 620), 489px);
  min-width: 0;
  max-width: clamp(236px, calc(236px + (100vw - 1300px) * 253 / 620), 489px);
  height: 34px;
}

.search input {
  width: 100%;
  height: 34px;
  padding: 0 40px 0 10px;
  border: 0;
  border-radius: 6px;
  background: var(--color-search-bg);
  font-size: 14px;
  font-weight: var(--font-regular);
  outline: none;
}

.search input::placeholder {
  color: var(--color-text);
  opacity: 1;
}

/* Hide native blue clear (×) on type=search — keep magnifier always */
.search input[type="search"]::-webkit-search-cancel-button,
.search input[type="search"]::-webkit-search-decoration,
.search input[type="search"]::-webkit-search-results-button,
.search input[type="search"]::-webkit-search-results-decoration,
label.search input[type="search"]::-webkit-search-cancel-button,
label.search input[type="search"]::-webkit-search-decoration,
label.search input[type="search"]::-webkit-search-results-button,
label.search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.search input[type="search"]::-ms-clear,
label.search input[type="search"]::-ms-clear {
  display: none !important;
  width: 0;
  height: 0;
}

.search__btn,
label.search .search__btn,
body.search-suggest-open label.search .search__btn,
label.search:focus-within .search__btn {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1003 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.search__icon {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* —— Search suggest (Figma header autocomplete / search results list) —— */
label.search #search,
label.search .search-field {
  position: relative;
  overflow: visible;
}

/* Figma Input 193:31629 — 550×34, stroke #ffcc00 1px, radius 6 */
label.search input[name="search"]:focus,
label.search input[name="search"]:focus-visible,
.search input[name="search"]:focus,
.search input[name="search"]:focus-visible,
body.search-suggest-open label.search input[name="search"] {
  outline: none !important;
  outline-offset: 0 !important;
  border: 1px solid #ffcc00 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Figma overlay search field width 550 (1920/1300) */
body.search-suggest-open label.search {
  flex: 0 0 550px !important;
  width: 550px !important;
  max-width: 550px !important;
}

/* Keep yellow ring / suggest visible — header normally clips overflow */
.site-header:has(label.search:focus-within) {
  overflow: visible !important;
  z-index: auto;
}

label.search:focus-within {
  position: relative;
  overflow: visible !important;
  z-index: 1001;
}

body.search-suggest-open label.search {
  overflow: visible !important;
}

/*
 * Search suggest — Figma:
 * 1920 Frame 18 97:6978 = 551×436, row 44, img 35, pad L12
 * 1300 Rectangle 17 193:31635 = 551×448 + Frame 18 193:31636
 * 900 Frame 18 193:31739 = 329×436
 * 420 Frame 18 193:31954 = 329×436
 * 360 Frame 18 161:15634 = 329×436
 */
.search-suggest {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 1002;
  box-sizing: border-box;
  width: 551px;
  min-width: 551px;
  max-height: 448px;
  margin: 0;
  padding: 12px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.search-suggest.open {
  display: block;
}

.search-suggest__row {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 20px 0 12px;
  border-bottom: 1px solid #eeeeee;
  color: #262626;
  text-decoration: none;
}

.search-suggest__row:last-child {
  border-bottom: 0;
}

.search-suggest__row:hover {
  background: #f8f8f8;
}

.search-suggest__img {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.search-suggest__img img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.search-suggest__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 400 14px/17px Roboto, Arial, sans-serif;
  color: #262626;
}

.search-suggest__mark {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #ffd801;
  color: #262626;
  font: inherit;
}

.search-suggest__price {
  flex: 0 0 auto;
  display: block;
  margin-left: 12px;
  font: 400 14px/17px Roboto, Arial, sans-serif;
  color: #262626;
  white-space: nowrap;
  text-align: right;
}

.search-suggest__price-new {
  display: block;
  font: 400 14px/17px Roboto, Arial, sans-serif;
  color: #262626;
}

.search-suggest__price-old {
  display: none;
}

.search-suggest__more {
  display: none !important;
}

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.45);
}

.search-overlay.open {
  display: block;
}

/* 900 / 420 / 360 — list 329×436 */
@media (max-width: 1050px) {
  body.search-suggest-open label.search {
    flex: 0 0 329px !important;
    width: 329px !important;
    max-width: 329px !important;
  }

  .search-suggest {
    width: 329px;
    min-width: 329px;
    max-height: 436px;
    padding-top: 0;
  }

  .search-suggest__row {
    padding-right: 17px;
    gap: 9px;
  }
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: var(--font-regular);
  line-height: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact:hover {
  opacity: 0.75;
}

.header-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 4px;
}

.header-share img {
  display: block;
  width: 21px;
  height: 24px;
}

.header-share:hover {
  opacity: 0.75;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 128px;
  height: 38px;
  border-radius: 4px;
  background: var(--color-yellow-login);
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 20px;
  flex-shrink: 0;
}

.btn-login img {
  width: 21px;
  height: 21px;
}

.btn-login:hover {
  filter: brightness(0.96);
}

.cart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 18px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart img {
  width: 28px;
  height: 24px;
}

.cart:hover {
  opacity: 0.75;
}

/* Home */

/* Categories base layout; fluid 1920→1300 — только ≥1301 */

/* 1920→1300: плавно уменьшаем, но не ниже размеров макета 1300 */

/* Reviews — при 1920 колонки как в макете; уже — равные доли */

/* Footer */
.site-footer {
  padding: 40px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1.15fr 0.75fr;
  gap: 40px 48px;
  margin-bottom: 40px;
}

.footer__title {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: var(--font-light);
  line-height: 33px;
  color: var(--color-text);
}

.footer__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.footer__title-row .footer__title {
  margin-bottom: 0;
}

.hide-above-420 {
  display: none;
}

.footer__top--sm {
  flex-shrink: 0;
  line-height: 0;
}

.footer__top--sm img {
  display: block;
  width: 48px !important;
  height: 48px !important;
}

.footer__top--lg img {
  display: block;
  width: 80px;
  height: 80px;
}

.footer__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}

.footer__lists ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__lists li + li {
  margin-top: 14px;
}

.footer__lists a {
  font-size: 16px;
  font-weight: var(--font-light);
  line-height: 1.25;
  color: var(--color-text-secondary);
}

.footer__lists a:hover {
  color: var(--color-text);
}

.footer__account {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 20px;
  color: var(--color-text) !important;
}

.footer__account img {
  width: 21px;
  height: 21px;
}

.footer__contacts-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.socials--footer {
  gap: 14px;
}

.socials__btn--lg {
  width: 34px;
  height: 34px;
}

.footer__top img {
  display: block;
  width: 80px;
  height: 80px;
}

.footer__phone,
.footer__email {
  display: inline-block;
  font-size: 22px;
  font-weight: var(--font-medium);
  line-height: 1.2;
  color: var(--color-text);
  border-bottom: 1px solid rgba(38, 38, 38, 0.2);
  text-decoration: none;
}

.footer__phone {
  margin-bottom: 16px;
}

.footer__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: var(--font-regular);
  color: var(--color-text-muted);
}

.footer__hours img {
  width: 21px;
  height: 21px;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

.footer__cities,
.footer__countries,
.footer__legal p {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: var(--font-light);
  line-height: 16.77px;
  color: var(--color-text-secondary);
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
}

.footer__legal p:last-child {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ===== Breakpoint 1300 (Figma 181:4916) — 1000…1300 ===== */
/* При 1300px — pad 20 / content 1260 точно; уже — пропорционально к 1000 */
@media (max-width: 1300px) and (min-width: 1000px) {
  :root {
    --side-pad: min(20px, calc(100vw * 20 / 1300));
    --container: calc(100vw - 2 * min(20px, calc(100vw * 20 / 1300)));
  }

  .top-nav {
    gap: 32px;
    font-size: 14px;
  }

  .main-bar__inner {
    gap: 12px;
  }

  .logo {
    width: 175px;
  }

  .logo img {
    width: 175px;
    height: 30px;
  }

  .search {
    flex: 0 1 236px;
    max-width: 236px;
    min-width: 180px;
  }

  .btn-login {
    width: 108px;
    height: 38px;
  }

  .header-share {
    width: 20px;
    height: 20px;
    margin-left: 0;
  }

  .header-share img {
    width: 18px;
    height: 20px;
  }

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  .footer__title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 22px;
  }

  .footer__lists a {
    font-size: 14px;
  }

  .footer__phone,
  .footer__email {
    font-size: 18px;
  }

  .footer__hours {
    font-size: 16px;
  }

  .footer__cities,
  .footer__countries,
  .footer__legal p {
    font-size: 12px;
    line-height: 15.6px;
  }
}

/* ===== Continuum 420→900 (361…999): плавный pad, без скачка на стыке ===== */
/* При 420 — 12px; при 900 — 77px; между — линейная интерполяция */
@media (max-width: 999px) and (min-width: 361px) {
  :root {
    --side-pad: clamp(
      12px,
      calc(12px + (100vw - 420px) * 65 / 480),
      77px
    );
    --container: calc(
      100vw - 2 * clamp(
        12px,
        calc(12px + (100vw - 420px) * 65 / 480),
        77px
      )
    );
  }
}

/* ===== Breakpoint 900 (Figma 181:6721) — 700…999 ===== */
/* Структура макета 900; pad уже из continuum. Точно при 900 */
@media (max-width: 999px) and (min-width: 700px) {
  .hide-900 {
    display: none !important;
  }

  .top-nav {
    gap: clamp(16px, calc(100vw * 28 / 900), 28px);
    font-size: 12px;
    line-height: 20px;
  }

  .socials {
    gap: clamp(8px, calc(100vw * 13 / 900), 13px);
  }

  .main-bar__inner {
    gap: clamp(10px, calc(100vw * 16 / 900), 16px);
  }

  .logo {
    width: clamp(118px, calc(100vw * 141 / 900), 141px);
  }

  .logo img {
    width: 100%;
    height: auto;
    max-height: 24px;
  }

  .btn-catalog {
    order: 10;
    margin-left: auto;
    width: auto;
    min-width: clamp(108px, calc(100vw * 131 / 900), 131px);
    height: clamp(30px, calc(100vw * 34 / 900), 34px);
    padding: 0 14px 0 12px;
    font-size: clamp(14px, calc(100vw * 15 / 900), 15px);
    line-height: 1.3;
  }

  .contact {
    font-size: clamp(13px, calc(100vw * 16 / 900), 16px);
  }

  .header-share {
    width: 24px;
    height: 24px;
    margin-left: clamp(4px, calc(100vw * 8 / 900), 8px);
  }

  .header-share img {
    width: 21px;
    height: 24px;
  }

  

  

  

  

  

  

  

  

  

  /* 4 карточки в ряд без наложений текста */
  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  /* Footer — Figma 182:8172 @900: row1 Assort|Contacts; row2 Dentins under Assort */
  .site-footer {
    padding: clamp(24px, calc(100vw * 30 / 900), 30px) 0 clamp(32px, calc(100vw * 40 / 900), 40px);
  }

  .footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 247px);
    grid-template-areas:
      "assort contacts"
      "site contacts";
    column-gap: clamp(20px, calc(100vw * 35 / 900), 35px);
    row-gap: clamp(28px, calc(100vw * 36 / 900), 36px);
    gap: clamp(28px, calc(100vw * 36 / 900), 36px) clamp(20px, calc(100vw * 35 / 900), 35px);
    align-items: start;
    margin-bottom: clamp(24px, calc(100vw * 28 / 900), 28px);
  }

  .footer__col:first-child {
    grid-area: assort;
    max-width: 464px;
  }

  .footer__col:nth-child(2) {
    grid-area: site;
    max-width: 464px;
  }

  .footer__col--contacts {
    grid-area: contacts;
    position: relative;
    width: min(247px, 100%);
    align-self: start;
  }

  .footer__col:first-child .footer__lists {
    display: grid;
    grid-template-columns: minmax(0, 201px) minmax(0, 230px);
    column-gap: clamp(16px, calc(100vw * 33 / 900), 33px);
    gap: 0 clamp(16px, calc(100vw * 33 / 900), 33px);
  }

  .footer__lists--site {
    display: grid;
    grid-template-columns: minmax(0, 158px) minmax(0, 177px);
    column-gap: clamp(24px, calc(100vw * 46 / 900), 46px);
    gap: 0 clamp(24px, calc(100vw * 46 / 900), 46px);
    max-width: 381px;
  }

  .footer__title,
  .footer__title-row .footer__title {
    font-size: 20px;
    font-weight: var(--font-light);
    line-height: 24px;
    margin-bottom: 27px;
  }

  .footer__title-row {
    margin-bottom: 27px;
  }

  .footer__title-row .footer__title {
    margin-bottom: 0;
  }

  .footer__col--contacts > .footer__title,
  .footer__col:nth-child(2) > .footer__title {
    margin-bottom: 24px;
  }

  .footer__lists a {
    font-size: 12px;
    font-weight: var(--font-light);
    line-height: 14.4px;
    color: var(--color-text);
  }

  .footer__lists li + li,
  .footer__lists--site li + li {
    margin-top: 16px;
  }

  .footer__account {
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
  }

  .footer__contacts-top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .footer__top--lg {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
  }

  .footer__top--lg img {
    width: 80px;
    height: 80px;
  }

  .socials--footer {
    gap: 14px;
  }

  .socials__btn--lg {
    width: 34px;
    height: 34px;
  }

  .footer__phone,
  .footer__email {
    font-size: 16px;
    font-weight: var(--font-medium);
    line-height: 19.2px;
  }

  .footer__phone {
    margin-bottom: 22px;
  }

  .footer__hours {
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 16px;
    gap: 11px;
  }

  .footer__hours img {
    width: 24px;
    height: 24px;
  }

  .footer__bottom {
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
  }

  .footer__cities,
  .footer__countries,
  .footer__legal p {
    font-size: 12px;
    font-weight: var(--font-light);
    line-height: 15.6px;
  }

  .footer__cities {
    margin-bottom: 12px;
  }

  .footer__countries {
    margin-bottom: 12px;
  }

  .footer__legal {
    flex-direction: column;
    gap: 16px;
  }

  .footer__legal p:last-child {
    white-space: normal;
  }
}

/* ===== Breakpoint 420 (Figma 182:8174) — 361…699 ===== */
/* Мобильный каркас; pad из continuum. Точно при 420 */
@media (max-width: 699px) and (min-width: 361px) {
  .hide-900,
  .hide-420 {
    display: none !important;
  }

  .top-bar__inner {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .top-bar {
    height: 32px;
    background: #f8f8f8;
  }

  .top-nav {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: space-between;
    gap: 0;
    font-size: 12px;
    font-weight: var(--font-regular);
    line-height: 20px;
    color: var(--color-text);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .main-bar {
    min-height: 42px;
    overflow: hidden;
  }

  .main-bar__inner {
    gap: clamp(12px, calc(100vw * 24 / 420), 28px);
    padding-top: 6px;
    padding-bottom: 6px;
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .logo {
    width: clamp(87px, calc(100vw * 118 / 420), 132px);
    flex-shrink: 1;
    min-width: 0;
  }

  .logo img {
    width: 100%;
    height: auto;
    max-height: clamp(20px, calc(100vw * 22 / 420), 24px);
  }

  .contact {
    font-size: 0;
    gap: 0;
    flex-shrink: 0;
    width: clamp(24px, calc(100vw * 28 / 420), 28px);
    height: clamp(24px, calc(100vw * 28 / 420), 28px);
  }

  .contact span {
    display: none;
  }

  .contact img {
    width: 100%;
    height: 100%;
  }

  .contact--phone {
    order: 2;
  }

  .contact--mail {
    order: 3;
  }

  .header-share {
    order: 4;
    width: clamp(24px, calc(100vw * 28 / 420), 28px);
    height: clamp(24px, calc(100vw * 28 / 420), 28px);
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-share img {
    width: clamp(21px, calc(100vw * 24 / 420), 24px);
    height: auto;
  }

  .btn-catalog {
    order: 5;
    margin-left: 0;
    width: clamp(96px, calc(100vw * 108 / 420), 124px);
    min-width: 0;
    flex-shrink: 1;
    height: clamp(30px, calc(100vw * 32 / 420), 34px);
    padding: 0 8px 0 10px;
    border-radius: 4.5px;
    font-size: clamp(14px, calc(100vw * 16 / 420), 16px);
    font-weight: var(--font-light);
    line-height: 1.2;
    gap: 6px;
  }

  .btn-catalog__icon {
    width: 20px;
    height: 15px;
    gap: 3.5px;
  }

  .btn-catalog__icon span {
    height: 1.8px;
  }

  .btn-catalog__icon span:nth-child(1),
  .btn-catalog__icon span:nth-child(2) {
    width: 18px;
  }

  .btn-catalog__icon span:nth-child(3) {
    width: 14px;
  }

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  .site-footer {
    padding: 20px 0 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 32px;
  }

  .footer__title-row {
    margin-bottom: 12px;
    align-items: center;
  }

  .hide-above-420 {
    display: block;
    flex-shrink: 0;
  }

  .footer__title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: var(--font-light);
    line-height: 33px;
  }

  .footer__title-row .footer__title {
    margin-bottom: 0;
  }

  .footer__lists {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__lists li + li {
    margin-top: 16px;
  }

  .footer__lists a {
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 18.2px;
    color: var(--color-text);
  }

  .footer__lists--site {
    gap: 16px;
  }

  .footer__account {
    margin-top: 17px;
    gap: 12px;
    font-size: 16px;
    font-weight: var(--font-regular);
    line-height: 20px;
  }

  .footer__contacts-top {
    justify-content: flex-start;
    margin-bottom: 14px;
  }

  .socials--footer {
    gap: 14px;
  }

  .footer__phone {
    margin-bottom: 17px;
    font-size: 16px;
    font-weight: var(--font-medium);
    line-height: 20px;
  }

  .footer__hours {
    gap: 11px;
    margin: 0 0 21px;
    font-size: 16px;
    font-weight: var(--font-regular);
    line-height: 16px;
    color: var(--color-text-muted);
  }

  .footer__hours img {
    width: 24px;
    height: 24px;
  }

  .footer__email {
    font-size: 16px;
    font-weight: var(--font-medium);
    line-height: 20px;
  }

  .footer__bottom {
    padding-top: 22px;
  }

  .footer__cities {
    margin-bottom: 16px;
  }

  .footer__countries {
    margin-bottom: 16px;
  }

  .footer__cities,
  .footer__countries,
  .footer__legal p {
    font-size: 13px;
    font-weight: var(--font-light);
    line-height: 19.5px;
  }

  .footer__legal {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }

  .footer__legal p:last-child {
    white-space: normal;
  }
}

/* ===== Breakpoint 360 (Figma 134:5851) — ≤360 ===== */
/* При 360px — pad 16 / content 328 точно */
@media (max-width: 360px) {
  :root {
    --side-pad: 16px;
    --container: calc(100vw - 32px);
  }

  .hide-900,
  .hide-420 {
    display: none !important;
  }

  .top-bar__inner {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .top-bar {
    height: 32px;
    background: #f8f8f8;
  }

  .top-nav {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: space-between;
    gap: 0;
    font-size: 12px;
    font-weight: var(--font-regular);
    line-height: 20px;
    color: var(--color-text);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .main-bar {
    min-height: 42px;
    overflow: hidden;
  }

  .main-bar__inner {
    gap: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
    min-width: 0;
    max-width: 100%;
  }

  .logo {
    width: 87px;
    margin-right: 7px;
    flex-shrink: 0;
  }

  .logo img {
    width: 87px;
    height: 15px;
  }

  .contact {
    font-size: 0;
    gap: 0;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
  }

  .contact span {
    display: none;
  }

  .contact img {
    width: 20px;
    height: 20px;
  }

  .contact--phone {
    order: 2;
  }

  .contact--mail {
    order: 3;
  }

  .header-share {
    order: 4;
    width: 20px;
    height: 20px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-share img {
    width: 17px;
    height: 20px;
  }

  .btn-catalog {
    order: 5;
    margin-left: 4px;
    width: 106px;
    min-width: 0;
    flex-shrink: 1;
    height: 30px;
    padding: 0 8px 0 10px;
    border-radius: 4.5px;
    font-size: 16px;
    font-weight: var(--font-light);
    line-height: 27px;
    gap: 8px;
  }

  .btn-catalog__icon {
    width: 20px;
    height: 15px;
    gap: 3.5px;
  }

  .btn-catalog__icon span {
    height: 1.8px;
  }

  .btn-catalog__icon span:nth-child(1),
  .btn-catalog__icon span:nth-child(2) {
    width: 18px;
  }

  .btn-catalog__icon span:nth-child(3) {
    width: 13px;
  }

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  .site-footer {
    padding: 20px 0 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 32px;
  }

  .footer__title-row {
    margin-bottom: 12px;
    align-items: center;
  }

  .hide-above-420 {
    display: block;
    flex-shrink: 0;
  }

  .footer__title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: var(--font-light);
    line-height: 33px;
  }

  .footer__title-row .footer__title {
    margin-bottom: 0;
  }

  .footer__lists {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__lists li + li {
    margin-top: 16px;
  }

  .footer__lists a {
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 18.2px;
    color: var(--color-text);
  }

  .footer__account {
    margin-top: 17px;
    gap: 12px;
    font-size: 16px;
    font-weight: var(--font-regular);
    line-height: 20px;
  }

  .footer__contacts-top {
    justify-content: flex-start;
    margin-bottom: 14px;
  }

  .socials--footer {
    gap: 14px;
  }

  .footer__phone {
    margin-bottom: 17px;
    font-size: 16px;
    font-weight: var(--font-medium);
    line-height: 20px;
  }

  .footer__hours {
    gap: 11px;
    margin: 0 0 21px;
    font-size: 16px;
    font-weight: var(--font-regular);
    line-height: 16px;
    color: var(--color-text);
  }

  .footer__hours img {
    width: 24px;
    height: 24px;
  }

  .footer__email {
    font-size: 16px;
    font-weight: var(--font-medium);
    line-height: 20px;
  }

  .footer__bottom {
    padding-top: 22px;
  }

  .footer__cities,
  .footer__countries,
  .footer__legal p {
    font-size: 13px;
    font-weight: var(--font-light);
    line-height: 19.5px;
  }

  .footer__legal {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }

  .footer__legal p:last-child {
    white-space: normal;
  }
}

@media (min-width: 1921px) {
  .search {
    max-width: none;
  }
  .main-bar__inner {
    gap: clamp(20px, calc(100vw * 20 / 1920), 40px);
  }
}

/* Узкая карточка: «Купить» под ценами (как Figma 420) */

/* Совсем узко: старая цена под основной, если в ряд с ней не лезет */

/* —— Home live popular products: один ряд как в макете —— */

/* Header/footer always use home --side-pad */
.site-header,
.site-footer {
  --side-pad: max(
    20px,
    calc(20px + (100vw - 1300px) * 140 / 620)
  );
  --container: calc(100vw - 2 * max(
    20px,
    calc(20px + (100vw - 1300px) * 140 / 620)
  ));
}
@media (max-width: 1300px) and (min-width: 1000px) {
  .site-header,
  .site-footer {
    --side-pad: min(20px, calc(100vw * 20 / 1300));
    --container: calc(100vw - 2 * min(20px, calc(100vw * 20 / 1300)));
  }
}
@media (max-width: 999px) and (min-width: 361px) {
  .site-header,
  .site-footer {
    --side-pad: clamp(
        12px,
        calc(12px + (100vw - 420px) * 65 / 480),
        77px
      );
    --container: calc(
        100vw - 2 * clamp(
          12px,
          calc(12px + (100vw - 420px) * 65 / 480),
          77px
        )
      );
  }
}
@media (max-width: 360px) {
  .site-header,
  .site-footer {
    --side-pad: 16px;
    --container: calc(100vw - 32px);
  }
}

/* Beat page artboard .container locks — H/F always home fluid chrome */
html body .site-header .container,
html body .site-footer .container {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--side-pad) !important;
  padding-right: var(--side-pad) !important;
}

/* Do not add .product-page / .catalog-page / .articles-page H/F overrides here.
   Those body classes are for content stages; live header/footer must use the
   fluid home rules above at every viewport. */

/* ===== Catalog mega menu — Figma 54:3602 / 193:25139 / 193:25331 / 215:17250 / 215:18467 ===== */
:root {
  /* Figma 54:2921 Меню — header 130, overlay from 131, panel from 151 */
  --catalog-header-h: 130px;
}

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

/* Header stays above the dimmer; panel starts strictly below header */
body.catalog-menu-open .site-header {
  position: relative;
  z-index: 1001;
}

.btn-catalog.active {
  filter: brightness(0.96);
}

body.catalog-menu-open .cookie-toast {
  display: none !important;
}

.catalog-overlay {
  position: fixed !important;
  /* Figma 54:2921: header 130 → overlay from 131 (never under header) */
  top: var(--catalog-header-h) !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1000 !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Figma: panel 20px under overlay top (151 − 131) */
  padding: 20px var(--side-pad) 24px !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: rgba(38, 38, 38, 0.5) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.catalog-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s;
}

.catalog-overlay .catalog-menu-panel,
.catalog-menu-panel {
  box-sizing: border-box;
  /* Figma 54:3602 — 1599×733; live width = header content column */
  width: var(--container) !important;
  max-width: var(--container) !important;
  height: 733px !important;
  max-height: calc(100vh - var(--catalog-header-h) - 44px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.catalog-overlay.open .catalog-menu-panel {
  transform: none !important;
  opacity: 1 !important;
}

.catalog-menu-mobile-bar {
  display: none;
}

.catalog-menu-body {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

/* Left rail 439px + 1px divider @ Figma Line 75 */
.catalog-menu-categories {
  box-sizing: border-box;
  flex: 0 0 439px;
  width: 439px;
  max-width: 439px;
  margin: 0;
  padding: 32px 0 40px; /* first row @ y=32 */
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid rgba(38, 38, 38, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px; /* Frame 11 itemSpacing; row content ~20px → pitch 44 */
}

.catalog-menu-cat {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 10px;
  align-items: center;
  column-gap: 17px; /* icon@20 → text@72 */
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0 28px 0 20px; /* icons left≈20 */
  color: #262626 !important;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none !important;
  background: transparent;
  z-index: 0;
}

/* Active highlight bar 439×35, centered on row (Figma Rect 9) */
.catalog-menu-cat.active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: -1;
  height: 35px;
  transform: translateY(-50%);
  background: rgba(255, 204, 0, 0.1);
  pointer-events: none;
}

.catalog-menu-cat__icon {
  width: 35px;
  height: 35px;
  margin: -7.5px 0; /* center 35px icon on 20px row */
  object-fit: contain;
  border-radius: 0;
}

.catalog-menu-cat__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chevron always visible; active = yellow (Figma Vector 6) */
.catalog-menu-cat.has-children::after {
  content: "";
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  border-top: 1.5px solid #262626;
  border-right: 1.5px solid #262626;
  background: none;
  font: none;
  opacity: 1;
  transform: rotate(45deg);
  justify-self: end;
}

.catalog-menu-cat:not(.has-children)::after {
  content: none;
}

.catalog-menu-cat:hover {
  color: #262626 !important;
}

.catalog-menu-cat.active {
  background: transparent;
  color: #262626 !important;
}

.catalog-menu-cat.has-children.active::after {
  border-top-color: #ffcc00;
  border-right-color: #ffcc00;
}

/* Subs: two vertical columns (Figma Frame 17 + Frame 16), fill top→bottom */
.catalog-menu-subs {
  flex: 1 1 auto;
  display: block;
  column-count: 2;
  column-gap: 118px; /* 943 − 516 − 309 */
  min-width: 0;
  margin: 0;
  padding: 38px 40px 32px 32px; /* 439+32≈471 icon start */
  overflow-x: hidden;
  overflow-y: auto;
}

.catalog-menu-sub {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  width: 100%;
  max-width: 452px;
  margin: 0 0 24px;
  padding: 0;
  break-inside: avoid;
  page-break-inside: avoid;
  color: #262626 !important;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none !important;
  background: transparent;
}

.catalog-menu-sub__icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  object-fit: contain;
  border-radius: 0;
}

.catalog-menu-sub span {
  position: relative;
  display: inline-block;
  padding-top: 8px;
  padding-bottom: 6px;
}

/* Figma Group 115 — yellow underline on hover/active sub */
.catalog-menu-sub:hover span,
.catalog-menu-sub.is-on span {
  box-shadow: inset 0 -1px 0 #ffcc00;
}

.catalog-menu-sub:hover {
  color: #262626 !important;
  background: transparent;
  text-decoration: none !important;
}

.catalog-menu-subs__empty {
  display: none;
}

@media (max-width: 1600px) and (min-width: 1000px) {
  .catalog-menu-subs {
    column-gap: 48px;
    padding: 32px 28px 28px 24px;
  }
}

@media (max-width: 1300px) and (min-width: 1000px) {
  .catalog-menu-categories {
    flex: 0 0 min(439px, 36%);
    width: min(439px, 36%);
  }

  .catalog-menu-subs {
    column-gap: 32px;
  }
}

@media (max-width: 999px) and (min-width: 700px) {
  .catalog-overlay {
    top: var(--catalog-header-h) !important;
    padding: 0 !important;
    background: rgba(38, 38, 38, 0.5) !important;
  }

  .catalog-overlay .catalog-menu-panel,
  .catalog-menu-panel {
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100vh - var(--catalog-header-h)) !important;
    height: calc(100vh - var(--catalog-header-h)) !important;
    border-radius: 0 !important;
  }

  .catalog-menu-body {
    height: 100%;
    max-height: none;
    flex-direction: column;
  }

  .catalog-menu-categories {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid rgba(38, 38, 38, 0.1);
    padding: 24px 16px;
    gap: 16px;
  }

  .catalog-menu-cat {
    height: 35px;
    min-height: 35px;
  }

  .catalog-menu-cat__icon {
    margin: 0;
  }

  .catalog-menu-subs {
    column-count: 1;
    column-gap: 0;
    padding: 24px 16px 40px;
  }
}

@media (max-width: 699px) {
  .catalog-overlay {
    top: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    z-index: 1100 !important;
  }

  .catalog-overlay .catalog-menu-panel,
  .catalog-menu-panel {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .catalog-menu-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    height: 56px;
    padding: 0 16px;
  }

  .catalog-menu-logo img {
    display: block;
    width: 118px;
    height: auto;
  }

  .catalog-menu-close {
    position: relative;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .catalog-menu-close::before,
  .catalog-menu-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    background: #262626;
  }

  .catalog-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .catalog-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .catalog-menu-body {
    flex: 1 1 auto;
    flex-direction: column;
    height: auto;
    max-height: none;
    overflow-y: auto;
  }

  .catalog-menu-categories {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    border-right: 0;
    padding: 8px 12px 16px;
  }

  .catalog-menu-cat {
    gap: 12px;
    padding-right: 28px;
  }

  .catalog-menu-subs {
    flex: 0 0 auto;
    grid-template-columns: 1fr;
    padding: 8px 12px 40px;
    border-top: 1px solid rgba(38, 38, 38, 0.08);
  }
}

@media (max-width: 360px) {
  .catalog-menu-mobile-bar {
    padding: 0 12px;
  }

  .catalog-menu-categories,
  .catalog-menu-subs {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Project rule: ALL breadcrumbs ALWAYS #666666 (every page / breakpoint) */
[class$="-bc__link"],
[class$="-bc__link"]:link,
[class$="-bc__link"]:visited,
[class$="-bc__link"]:hover,
[class$="-bc__link"]:focus,
[class$="-bc__link"]:active,
[class$="-bc__current"],
[class*="-bc__label"] {
  color: #666666 !important;
  text-decoration-color: #666666 !important;
}
