@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;
}

/* 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;
  box-shadow: none;
}

.search input[type="search"]::-webkit-search-cancel-button,
.search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

.search input:focus,
.search input:focus-visible {
  outline: none !important;
  border: 1px solid #ffcc00 !important;
  background: #fff !important;
  box-shadow: none !important;
}

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

.search__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.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 */
.home {
  padding: 36px 0 60px;
  max-width: 100%;
  overflow-x: hidden;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 70px;
}

.advantage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 20px 0;
  min-height: 185px;
}

.advantage__icon {
  display: block;
  width: 80px;
  height: 80px;
  margin-bottom: 11px;
  object-fit: contain;
}

.advantage__text {
  margin: 0;
  max-width: 284px;
  font-size: 20px;
  font-weight: var(--font-light);
  line-height: 26.6px;
  color: var(--color-text);
}

.section {
  margin-bottom: clamp(40px, 4vw, 64px);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section__title {
  margin: 0;
  font-size: 40px;
  font-weight: var(--font-light);
  line-height: 44px;
  color: var(--color-text);
}

.section__title--underline {
  position: relative;
  padding-bottom: 10px;
}

.section__title--underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 4px;
  background: var(--color-yellow-login);
}

.section__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.nav-btn {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.nav-btn > img:first-child {
  display: block;
  width: 40px;
  height: 40px;
}

.nav-btn__arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 10px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nav-btn__arrow--prev {
  transform: translate(-50%, -50%) rotate(180deg);
}

.figma-block {
  display: block;
  width: 100%;
  max-width: 1598px;
  height: auto;
  margin: 0 auto;
}

/* Categories base layout; fluid 1920→1300 — только ≥1301 */
.categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 58px;
  justify-content: space-between;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
}

.categories::-webkit-scrollbar {
  display: none;
}

.categories-progress {
  display: none;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 218px;
  width: 218px;
  min-width: 0;
  max-width: 218px;
  text-align: left;
  color: var(--color-text);
  scroll-snap-align: start;
}

.category-card:hover,
.category-card:focus,
.category-card:visited {
  color: var(--color-text);
}

.category-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 218px;
  height: 218px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #f3f3f3;
  overflow: hidden;
  flex-shrink: 0;
}

.category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.category-card__name {
  display: block;
  width: 187px;
  max-width: 187px;
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 19px;
  color: #262626;
}

/* 1920→1300: плавно уменьшаем, но не ниже размеров макета 1300 */
@media (min-width: 1301px) {
  .categories {
    gap: min(58px, calc(44px + (100vw - 1300px) * 14 / 620));
  }

  .category-card {
    --cat-size: min(218px, calc(170px + (100vw - 1300px) * 48 / 620));
    flex: 0 0 var(--cat-size);
    width: var(--cat-size);
    min-width: var(--cat-size);
    max-width: var(--cat-size);
  }

  .category-card__media {
    --cat-media: min(218px, calc(161px + (100vw - 1300px) * 57 / 620));
    width: var(--cat-media);
    height: var(--cat-media);
    margin-bottom: min(20px, calc(16px + (100vw - 1300px) * 4 / 620));
  }

  .category-card__name {
    width: min(187px, calc(170px + (100vw - 1300px) * 17 / 620));
    font-size: min(16px, calc(14px + (100vw - 1300px) * 2 / 620));
    line-height: min(19px, calc(18.2px + (100vw - 1300px) * 0.8 / 620));
  }
}

.catalog-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 60px);
}

.btn-catalog-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 58px;
  border-radius: 5px;
  background: var(--color-yellow-login);
  font-size: 20px;
  font-weight: var(--font-light);
  line-height: 24px;
}

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

/* Reviews — при 1920 колонки как в макете; уже — равные доли */
.reviews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: space-between;
  column-gap: min(48px, calc(100vw * 48 / 1920));
  row-gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.review-card__avatar {
  display: block;
  width: min(300px, 100%);
  max-width: 300px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 44px;
}

.review-card--2 .review-card__avatar {
  margin-bottom: 28px;
}

.review-card__name {
  width: 300px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: var(--font-regular);
  line-height: 29px;
  text-align: center;
  color: var(--color-text);
}

.review-card__role {
  margin: 0 0 40px;
  font-size: 14px;
  font-weight: var(--font-regular);
  line-height: 19px;
  color: var(--color-text);
  opacity: 0.85;
}

.review-card__subject {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 22px;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.review-card__subject-full {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.review-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: var(--font-light);
  line-height: 1.4;
  color: var(--color-text);
}

.review-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: var(--font-regular);
  line-height: 29px;
  color: var(--color-blue);
  cursor: pointer;
}

.review-card__more img {
  display: block;
  width: 12px;
  height: 6px;
}

.review-card__more:hover {
  color: #188bff;
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.reviews-dots__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

.reviews-dots__dot.is-active {
  background: #262626;
}

.about {
  display: grid;
  grid-template-columns: 386px 1fr;
  column-gap: 52px;
  align-items: start;
  margin-top: 48px;
}

.about__widget {
  width: 386px;
  max-width: 100%;
  min-width: 0;
}

.about__widget img {
  display: block;
  width: 100%;
  max-width: 386px;
  height: auto;
}

.about__ymap {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 386px;
  height: 590px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.about__ymap iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
}

.about__ymap-link {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 16px 12px;
  position: static;
  text-decoration: none;
  color: #b3b3b3;
  font-size: 12px;
  font-family: YS Text, "Roboto", sans-serif;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: #fff;
  border: 0;
}

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

.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1099px;
}

.about__text p {
  margin: 0;
  font-size: 20px;
  font-weight: var(--font-light);
  line-height: 28px;
  color: var(--color-text);
}

.about__text strong {
  font-weight: var(--font-bold);
}

.about__fade {
  max-height: 140px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  transition: max-height 0.45s ease;
}

.about__fade.is-expanded {
  -webkit-mask-image: none;
  mask-image: none;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 248px;
  height: 61px;
  margin-top: 24px;
  border: 2px solid var(--color-yellow-login);
  border-radius: 4px;
  background: #fff;
  font-size: 17px;
  font-weight: var(--font-regular);
  line-height: 17px;
  color: var(--color-text);
  cursor: pointer;
}

.btn-read-more:hover {
  background: var(--color-yellow-login);
}

.btn-read-more[hidden] {
  display: none;
}

/* 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;
}

.figma-block--1300,
.figma-block--900,
.figma-block--420,
.figma-block--360 {
  display: none;
}

.product-card-360 {
  display: none;
  position: relative;
  box-sizing: border-box;
  width: 328px;
  height: 480px;
  margin: 0;
  border: 0;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.product-card-360__media {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 322px;
  height: 291px;
  overflow: hidden;
  background: #fff;
}

.product-card-360__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-360__badges {
  position: absolute;
  left: 15px;
  top: 14px;
  z-index: 2;
  display: flex;
  gap: 4px;
}

.product-card-360__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff4b3;
  font-size: 10px;
  font-weight: var(--font-regular);
  line-height: 12px;
  color: #b69b05;
  white-space: nowrap;
}

.product-card-360__prices {
  position: absolute;
  left: 12px;
  top: 317px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.product-card-360__price {
  font-size: 14px;
  font-weight: var(--font-medium);
  line-height: 18px;
  color: var(--color-text);
}

.product-card-360__old {
  position: relative;
  font-size: 10px;
  font-weight: var(--font-regular);
  line-height: 12px;
  color: #666666;
}

.product-card-360__old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #666666;
}

.product-card-360__qty {
  position: absolute;
  left: 158px;
  top: 313px;
  display: flex;
  align-items: center;
  width: 170px;
  height: 24px;
}

.product-card-360__qty button {
  width: 26px;
  height: 24px;
  padding: 0;
  border: 0;
  background: #eeeeee;
  font-size: 20px;
  font-weight: var(--font-regular);
  line-height: 24px;
  color: #777777;
  cursor: pointer;
}

.product-card-360__qty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 24px;
  background: #fff;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  font-size: 12px;
  font-weight: var(--font-regular);
  line-height: 14px;
  color: var(--color-text);
}

.product-card-360__name {
  position: absolute;
  left: 12px;
  top: 357px;
  width: 282px;
  margin: 0;
  font-size: 16px;
  font-weight: var(--font-light);
  line-height: 20.8px;
  color: var(--color-text);
}

.product-card-360__sku {
  position: absolute;
  left: 12px;
  top: 444px;
  font-size: 12px;
  font-weight: var(--font-light);
  line-height: 16px;
  color: var(--color-text);
}

.product-card-360__brand {
  position: absolute;
  left: 251px;
  top: 434px;
  display: block;
  width: 65px;
  height: 26px;
  object-fit: contain;
}

.review-card__subject-short {
  display: none;
}

/* ===== 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;
  }

  .home {
    padding: 28px 0 48px;
  }

  .advantages {
    margin-bottom: 48px;
    overflow: hidden;
  }

  .advantage {
    padding: 10px 8px 0;
    min-height: 160px;
  }

  .advantage__text {
    font-size: 16px;
    line-height: 20.8px;
    max-width: 263px;
  }

  .section__title {
    font-size: 32px;
    line-height: 42px;
  }

  .section--reviews .section__title {
    font-size: 40px;
    line-height: 44px;
  }

  .categories {
    gap: min(44px, calc(100vw * 44 / 1300));
  }

  .category-card {
    flex: 0 0 min(170px, calc(100vw * 170 / 1300));
    width: min(170px, calc(100vw * 170 / 1300));
    min-width: min(170px, calc(100vw * 170 / 1300));
    max-width: min(170px, calc(100vw * 170 / 1300));
  }

  .category-card__media {
    width: min(161px, calc(100vw * 161 / 1300));
    height: min(161px, calc(100vw * 161 / 1300));
    margin-bottom: 16px;
  }

  .category-card__name {
    width: 170px;
    max-width: 187px;
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 18.2px;
    color: #262626;
  }

  .figma-block--1920 {
    display: none;
  }

  .figma-block--1300 {
    display: block;
    max-width: none;
    width: 100%;
  }

  .catalog-cta-wrap {
    margin-top: 40px;
  }

  .reviews {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .review-card {
    max-width: 320px;
  }

  .review-card__avatar {
    width: 280px;
    height: 280px;
    margin-bottom: 28px;
  }

  .review-card__name {
    width: 280px;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 12px;
  }

  .review-card__role {
    margin-bottom: 24px;
    font-size: 13px;
  }

  .review-card__subject {
    font-size: 14px;
    line-height: 18px;
  }

  .review-card__text {
    font-size: 14px;
  }

  .review-card__more {
    font-size: 16px;
    line-height: 21px;
  }

  .about {
    grid-template-columns: 386px 1fr;
    column-gap: 37px;
    margin-top: 40px;
  }

  .about__title {
    font-size: 30px;
    line-height: 33px;
  }

  .about__text {
    max-width: 838px;
    gap: 16px;
  }

  .about__text p {
    font-size: 16px;
    line-height: 22.4px;
  }

  .about__fade {
    max-height: 110px;
  }

  .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;
  }

  .home {
    padding: clamp(16px, calc(100vw * 20 / 900), 20px) 0 clamp(32px, calc(100vw * 40 / 900), 40px);
  }

  .advantages {
    margin-bottom: clamp(28px, calc(100vw * 40 / 900), 40px);
    gap: clamp(8px, 1.2vw, 16px);
  }

  .advantage {
    padding: clamp(4px, 0.8vw, 8px) clamp(2px, 0.4vw, 4px) 0;
    min-height: 0;
    min-width: 0;
  }

  .advantage__icon {
    width: clamp(52px, calc(100vw * 64 / 900), 72px);
    height: clamp(52px, calc(100vw * 64 / 900), 72px);
  }

  .advantage__text {
    font-size: clamp(11px, calc(100vw * 14 / 900), 14px);
    line-height: 1.3;
    max-width: none;
    width: 100%;
  }

  .section__title {
    font-size: clamp(20px, calc(100vw * 24 / 900), 24px);
    line-height: 1.3;
  }

  .section--reviews .section__title {
    font-size: clamp(20px, calc(100vw * 24 / 900), 24px);
    line-height: 1.3;
  }

  .section {
    margin-bottom: clamp(28px, calc(100vw * 40 / 900), 48px);
  }

  .section--products {
    margin-bottom: clamp(24px, calc(100vw * 32 / 900), 40px);
  }

  /* 4 карточки в ряд без наложений текста */
  .categories {
    gap: clamp(10px, calc(100vw * 18 / 900), 25px);
    justify-content: space-between;
  }

  .category-card,
  .category-card:nth-child(4) {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 170px;
    align-items: center;
  }

  .category-card__media {
    width: min(100%, 161px);
    height: auto;
    aspect-ratio: 1;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(10px, calc(100vw * 16 / 900), 16px);
  }

  .category-card__name {
    width: 100%;
    max-width: none;
    text-align: center;
    font-size: clamp(11px, calc(100vw * 14 / 900), 14px);
    font-weight: var(--font-light);
    line-height: 1.25;
    overflow-wrap: break-word;
  }

  .figma-block--1920,
  .figma-block--1300 {
    display: none;
  }

  .figma-block--900 {
    display: block;
    max-width: none;
    width: 100%;
    height: auto;
  }

  .catalog-cta-wrap {
    margin-top: clamp(20px, calc(100vw * 32 / 900), 32px);
  }

  .btn-catalog-cta {
    width: 100%;
    max-width: none;
    height: 48px;
    font-size: 16px;
  }

  .reviews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, calc(100vw * 24 / 900), 24px);
  }

  .review-card {
    max-width: none;
    min-width: 0;
  }

  .review-card__avatar {
    width: min(100%, 210px);
    height: auto;
    aspect-ratio: 1;
    margin-bottom: clamp(14px, calc(100vw * 20 / 900), 20px);
  }

  .review-card__name {
    width: min(100%, 210px);
    font-size: clamp(14px, calc(100vw * 16 / 900), 16px);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .review-card__role {
    margin-bottom: clamp(12px, calc(100vw * 18 / 900), 18px);
    font-size: clamp(11px, calc(100vw * 12 / 900), 12px);
  }

  .review-card__subject {
    font-size: clamp(12px, calc(100vw * 13 / 900), 13px);
    line-height: 1.3;
  }

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

  .about {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
    column-gap: clamp(12px, calc(100vw * 17 / 900), 17px);
    margin-top: clamp(24px, calc(100vw * 32 / 900), 32px);
  }

  .about__widget img {
    width: 100%;
    max-width: 304px;
    height: auto;
  }

  .about__title {
    font-size: clamp(14px, calc(100vw * 16 / 900), 16px);
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .about__text {
    max-width: none;
    gap: 16px;
  }

  .about__text p {
    font-size: clamp(13px, calc(100vw * 14 / 900), 14px);
    line-height: 1.4;
  }

  .about__fade {
    max-height: 110px;
  }

  /* 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;
  }

  .home {
    padding: clamp(10px, calc(100vw * 14 / 420), 14px) 0 clamp(24px, calc(100vw * 32 / 420), 32px);
  }

  .advantages {
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    gap: clamp(8px, 2vw, 16px) clamp(8px, 2vw, 12px);
    margin-bottom: clamp(24px, calc(100vw * 34 / 420), 34px);
  }

  .advantage {
    padding: 0;
    min-height: 0;
    width: 100%;
  }

  .advantage:first-child .advantage__text,
  .advantage:nth-child(2) .advantage__text,
  .advantage__text {
    max-width: none;
    width: 100%;
  }

  .advantage__icon {
    width: clamp(48px, calc(100vw * 60 / 420), 60px);
    height: clamp(48px, calc(100vw * 60 / 420), 60px);
    margin-bottom: clamp(8px, calc(100vw * 12 / 420), 12px);
  }

  .advantage__text {
    font-size: clamp(12px, calc(100vw * 14 / 420), 14px);
    line-height: 1.3;
  }

  .section {
    margin-bottom: clamp(28px, calc(100vw * 40 / 420), 40px);
  }

  .section--products {
    margin-bottom: clamp(24px, calc(100vw * 32 / 420), 32px);
  }

  .section__head {
    margin-bottom: clamp(14px, calc(100vw * 20 / 420), 20px);
  }

  .section__title {
    font-size: clamp(20px, calc(100vw * 24 / 420), 24px);
    line-height: 1.3;
  }

  .section--reviews .section__title {
    font-size: clamp(20px, calc(100vw * 24 / 420), 24px);
    line-height: 1.3;
  }

  .section--categories .section__nav {
    display: none;
  }

  .section--categories .section__head {
    margin-bottom: clamp(16px, calc(100vw * 24 / 420), 24px);
  }

  .categories {
    gap: clamp(10px, calc(100vw * 14 / 420), 18px);
    width: calc(100% + var(--side-pad));
    margin-right: calc(var(--side-pad) * -1);
    overflow-x: auto;
  }

  .category-card {
    flex: 0 0 clamp(90px, calc(100vw * 110 / 420), 140px);
    width: clamp(90px, calc(100vw * 110 / 420), 140px);
    min-width: 0;
    max-width: none;
    align-items: center;
  }

  .category-card:first-child {
    flex: 0 0 clamp(120px, calc(100vw * 149 / 420), 168px);
    width: clamp(120px, calc(100vw * 149 / 420), 168px);
    min-width: 0;
    max-width: none;
  }

  .category-card:nth-child(2) {
    margin-right: clamp(4px, calc(100vw * 6 / 420), 8px);
  }

  .category-card:nth-child(3) {
    flex: 0 0 clamp(96px, calc(100vw * 116 / 420), 148px);
    width: clamp(96px, calc(100vw * 116 / 420), 148px);
  }

  .category-card__media {
    width: clamp(90px, calc(100vw * 110 / 420), 140px);
    height: clamp(90px, calc(100vw * 110 / 420), 140px);
    margin-bottom: clamp(8px, calc(100vw * 12 / 420), 14px);
  }

  .category-card:first-child .category-card__media {
    width: clamp(90px, calc(100vw * 110 / 420), 140px);
    height: clamp(90px, calc(100vw * 110 / 420), 140px);
  }

  .category-card__name {
    width: 100%;
    max-width: none;
    font-size: clamp(12px, calc(100vw * 14 / 420), 14px);
    font-weight: var(--font-light);
    line-height: 1.3;
    text-align: center;
  }

  .category-card:nth-child(2) .category-card__name {
    max-width: none;
  }

  .category-card:nth-child(3) .category-card__name {
    max-width: none;
  }

  .categories-progress {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    height: 2px;
    margin-top: clamp(16px, calc(100vw * 24 / 420), 24px);
    background: #e8e8e8;
  }

  .categories-progress span {
    display: block;
    width: 25%;
    min-width: 48px;
    height: 2px;
    background: #bdbdbd;
    transition: width 0.25s ease;
  }

  .figma-block--1920,
  .figma-block--1300,
  .figma-block--900 {
    display: none;
  }

  .figma-block--420 {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .catalog-cta-wrap {
    margin-top: clamp(16px, calc(100vw * 24 / 420), 24px);
  }

  .btn-catalog-cta {
    width: 100%;
    max-width: none;
    height: clamp(32px, calc(100vw * 36 / 420), 36px);
    font-size: clamp(14px, calc(100vw * 16 / 420), 16px);
  }

  .section--reviews {
    overflow: visible;
  }

  .reviews {
    display: flex;
    grid-template-columns: none;
    gap: clamp(12px, calc(100vw * 16 / 420), 16px);
    width: calc(100% + var(--side-pad));
    margin-right: calc(var(--side-pad) * -1);
    overflow-x: auto;
  }

  .review-card {
    flex: 0 0 clamp(220px, calc(100vw * 264 / 420), 264px);
    width: clamp(220px, calc(100vw * 264 / 420), 264px);
    max-width: clamp(220px, calc(100vw * 264 / 420), 264px);
  }

  .review-card__avatar {
    width: clamp(150px, calc(100vw * 189 / 420), 189px);
    height: auto;
    aspect-ratio: 1;
    max-width: 100%;
    margin-bottom: clamp(16px, calc(100vw * 24 / 420), 24px);
  }

  .review-card__name {
    width: auto;
    max-width: none;
    font-size: clamp(14px, calc(100vw * 16 / 420), 16px);
    font-weight: var(--font-bold);
    line-height: 1.3;
    text-align: left;
    margin-bottom: clamp(8px, calc(100vw * 11 / 420), 11px);
  }

  .review-card__role {
    margin-bottom: clamp(16px, calc(100vw * 25 / 420), 25px);
    font-size: clamp(12px, calc(100vw * 14 / 420), 14px);
    line-height: 1.3;
  }

  .review-card__subject {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: clamp(8px, calc(100vw * 12 / 420), 12px);
    font-size: clamp(14px, calc(100vw * 16 / 420), 16px);
    font-weight: var(--font-bold);
    line-height: 21px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .review-card__subject-full {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .review-card__text {
    max-width: 264px;
    font-size: 14px;
    line-height: 21px;
  }

  .review-card__more {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .about__widget img {
    width: 100%;
    max-width: none;
  }

  .about__title {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 16px;
  }

  .about__text {
    max-width: none;
    gap: 16px;
  }

  .about__text p {
    font-size: 14px;
    line-height: 21px;
  }

  .about__fade {
    max-height: 150px;
  }

  .btn-read-more {
    width: 100%;
    max-width: none;
  }

  .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;
  }

  .home {
    padding: 14px 0 32px;
  }

  .advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    column-gap: 25px;
    max-width: none;
    width: 100%;
    gap: 0 25px;
    margin-bottom: 34px;
    overflow: hidden;
  }

  .advantage {
    padding: 0;
    min-height: 0;
    width: 100%;
  }

  .advantage:first-child .advantage__text {
    max-width: 176px;
  }

  .advantage:nth-child(2) .advantage__text {
    max-width: 165px;
  }

  .advantage__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .advantage__text {
    font-size: 14px;
    line-height: 18.2px;
    max-width: 176px;
  }

  .section {
    margin-bottom: 40px;
  }

  .section__head {
    margin-bottom: 20px;
  }

  .section__title {
    font-size: 24px;
    font-weight: var(--font-light);
    line-height: 31px;
  }

  .section--reviews .section__title {
    font-size: 24px;
    line-height: 31px;
  }

  .section--categories .section__nav {
    display: none;
  }

  .section--categories .section__head {
    margin-bottom: 24px;
  }

  .section--products .nav-btn {
    width: 30px;
    height: 30px;
  }

  .section--products .nav-btn > img:first-child {
    width: 30px;
    height: 30px;
  }

  .section--products .nav-btn__arrow {
    width: 5px;
    height: 7px;
  }

  .section--reviews .nav-btn {
    width: 40px;
    height: 40px;
  }

  .categories {
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .categories::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    flex: 0 0 110px;
    width: 110px;
    min-width: 0;
    max-width: none;
    align-items: center;
  }

  .category-card:first-child {
    flex: 0 0 149px;
    width: 149px;
    min-width: 0;
    max-width: none;
  }

  .category-card:nth-child(2) {
    margin-right: 6px;
  }

  .category-card:nth-child(3) {
    flex: 0 0 116px;
    width: 116px;
    min-width: 0;
    max-width: none;
  }

  .category-card__media {
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
  }

  .category-card__name {
    width: 100%;
    max-width: 149px;
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 18.2px;
    text-align: center;
  }

  .category-card:nth-child(2) .category-card__name {
    max-width: 101px;
  }

  .category-card:nth-child(3) .category-card__name {
    max-width: 116px;
  }

  .categories-progress {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    height: 2px;
    margin-top: 24px;
    background: #e8e8e8;
  }

  .categories-progress span {
    display: block;
    width: 25%;
    min-width: 48px;
    height: 2px;
    background: #bdbdbd;
    transition: width 0.25s ease;
  }

  .figma-block--1920,
  .figma-block--1300,
  .figma-block--900,
  .figma-block--420 {
    display: none !important;
  }

  .product-card-360 {
    display: block;
    width: 100%;
    max-width: 328px;
    height: auto;
    min-height: 480px;
  }

  .catalog-cta-wrap {
    margin-top: 24px;
  }

  .btn-catalog-cta {
    width: 100%;
    max-width: none;
    height: 36px;
    border-radius: 5px;
    background: var(--color-yellow-login);
    font-size: 16px;
    font-weight: var(--font-light);
    line-height: 20px;
  }

  .section--reviews {
    overflow: visible;
  }

  .reviews {
    display: flex;
    grid-template-columns: none;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .reviews::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 264px;
    width: 264px;
    max-width: 264px;
  }

  .review-card__avatar {
    width: 189px;
    height: 189px;
    margin-bottom: 24px;
  }

  .review-card__name {
    width: auto;
    max-width: 222px;
    font-size: 16px;
    font-weight: var(--font-regular);
    line-height: 20.8px;
    text-align: left;
    margin-bottom: 11px;
  }

  .review-card__role {
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 18.2px;
    color: var(--color-text);
  }

  .review-card__subject-full {
    display: none;
  }

  .review-card__subject-short {
    display: inline;
  }

  .review-card__subject {
    max-width: 240px;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: var(--font-medium);
    line-height: 20.8px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .review-card__text {
    max-width: 264px;
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 21px;
    color: var(--color-text);
  }

  .review-card__more {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 24px;
    min-width: 0;
    max-width: 100%;
  }

  .about__widget {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .about__widget img {
    width: 100%;
    max-width: none;
  }

  .about__title {
    font-size: 20px;
    font-weight: var(--font-medium);
    line-height: 26px;
    margin-bottom: 24px;
  }

  .about__text {
    max-width: none;
    gap: 16px;
  }

  .about__text p {
    font-size: 14px;
    font-weight: var(--font-light);
    line-height: 21px;
  }

  .about__fade {
    max-height: 150px;
  }

  .btn-read-more {
    width: 100%;
    max-width: none;
    height: 61px;
    border: 2px solid #ffd801;
    border-radius: 5px;
    font-size: 17px;
    font-weight: var(--font-regular);
    line-height: 17px;
  }

  .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);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background: #fff;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  container-name: product-card;
}

.product-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff4b3;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  color: #b79b05;
  white-space: nowrap;
}

.product-card__badge img {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

.product-card__media {
  display: block;
  padding: 30px 19px 8px;
  position: relative;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-card__media--gallery img[hidden] {
  display: none !important;
}

.product-card__dots {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin: 0 19px 14px;
  cursor: default;
}

.product-card__dots span {
  flex: 1;
  height: 3px;
  background: #e8e8e8;
  cursor: pointer;
}

.product-card__dots span.is-active {
  background: var(--color-yellow-login, #ffd801);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px 16px;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
}

.product-card__price {
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 19px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.product-card__old {
  font-size: 12px;
  line-height: 14px;
  color: #666666;
  text-decoration: line-through;
  flex: 0 0 auto;
  white-space: nowrap;
}

.product-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
  min-width: 117px;
  height: 36px;
  padding: 0 12px;
  border: 2px solid var(--color-yellow-login);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: var(--font-regular);
  cursor: pointer;
  color: var(--color-text);
}

.product-card__buy img {
  width: 19px;
  height: 19px;
}

.product-card__buy:hover {
  background: #fffdf2;
}

/* Узкая карточка: «Купить» под ценами (как Figma 420) */
@container product-card (max-width: 279px) {
  .product-card__buy {
    flex: 0 0 100%;
    width: min(169px, 100%);
    min-width: 0;
    max-width: 169px;
    margin-left: 0;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 300;
    line-height: 18px;
  }

  .product-card__buy img {
    width: 16px;
    height: 16px;
  }
}

/* Совсем узко: старая цена под основной, если в ряд с ней не лезет */
@container product-card (max-width: 159px) {
  .product-card__old {
    flex: 0 0 100%;
  }
}

.product-card__name {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  color: #262626;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}

.product-card__sku {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  color: #262626;
  text-decoration: none;
}

.product-card__sku-label {
  color: rgba(38, 38, 38, 0.5);
}

.product-card__sku-value {
  color: #262626;
}

.product-card__sku:hover {
  opacity: 0.85;
}

.product-card__brand {
  width: 65px;
  height: 26px;
  object-fit: contain;
}


/* —— Home live popular products: один ряд как в макете —— */
.home-products {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 0 0 8px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-products::-webkit-scrollbar {
  display: none;
}

.home-products .product-card {
  flex: 0 0 calc((100% - 64px) / 5);
  width: calc((100% - 64px) / 5);
  max-width: none;
  min-width: 220px;
  scroll-snap-align: start;
}

.home-products .product-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1300px) {
  .home-products {
    gap: 12px;
  }
  .home-products .product-card {
    flex-basis: calc((100% - 36px) / 4);
    width: calc((100% - 36px) / 4);
    min-width: 200px;
  }
}

@media (max-width: 999px) {
  .home-products {
    gap: 12px;
  }
  .home-products .product-card {
    flex: 0 0 min(280px, 78vw);
    width: min(280px, 78vw);
    max-width: min(280px, 78vw);
    min-width: 0;
  }
}

@media (max-width: 360px) {
  /* Live products — как .product-card-360 в home-preview */
  .home-products {
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-products::-webkit-scrollbar {
    display: none;
  }

  .home-products .product-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 328px;
    min-width: 0;
    min-height: 480px;
    border: 0;
    border-radius: 5px;
  }

  .home-products .product-card__media {
    aspect-ratio: 322 / 291;
  }

  .home-products .product-card__price {
    font-size: 14px;
    line-height: 18px;
  }

  .home-products .product-card__name {
    font-size: 16px;
    font-weight: var(--font-light);
    line-height: 20.8px;
  }

  .home-products .product-card__sku {
    font-size: 12px;
    line-height: 16px;
  }
}

/* Home: show all advantages + categories + reviews on narrow screens (scroll/grid, not hide) */
@media (max-width: 999px) {
  .home .advantages .advantage.hide-420,
  .home .advantages .advantage.hide-900,
  .home .categories .category-card.hide-420,
  .home .categories .category-card.hide-900,
  .home .reviews .review-card.hide-420,
  .home .reviews .review-card.hide-900 {
    display: flex !important;
  }
}

