/* Catalog page — Figma 1:946 @ 1920 */

:root {
  /* Мин. ширина карточки: ниже — меньше колонок (4→3→2→1) */
  --product-card-min: 255px;
  --product-grid-gap-x: 12px;
  --popular-card-min: 220px;
}

.catalog {
  padding: 36px 0 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 36px;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 14px;
}

.breadcrumbs__link {
  color: #666666;
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(102, 102, 102, 0.45);
  padding-bottom: 1px;
}

.breadcrumbs__link:hover {
  color: #666666;
  opacity: 0.8;
}

.breadcrumbs__sep {
  display: inline-block;
  width: 10px;
  height: 1px;
  margin: 0 6px;
  background: #dddddd;
  flex-shrink: 0;
  align-self: center;
}

.breadcrumbs__current {
  color: #666666;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
}

.catalog__layout {
  display: grid;
  grid-template-columns: 383px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

/* —— Filters —— */
.filter-panel {
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #fff;
  padding: 0 12px 24px;
  overflow: hidden;
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  margin: 0 -12px 16px;
  padding: 0 16px;
  border-bottom: 1px solid #dddddd;
}

.filter-panel__title {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 23px;
  color: #262626;
}

.filter-panel__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-panel__toggle img {
  display: block;
  width: 15px;
  height: 11px;
  transition: transform 0.2s ease;
}

.filter-panel.is-collapsed > :not(.filter-panel__head) {
  display: none;
}

.filter-panel.is-collapsed {
  padding-bottom: 0;
}

.filter-panel.is-collapsed .filter-panel__head {
  margin-bottom: 0;
  border-bottom: 0;
}

.filter-panel.is-collapsed .filter-panel__toggle img {
  transform: rotate(180deg);
}

.filter-popular {
  background: rgba(255, 216, 1, 0.1);
  border-radius: 8px;
  padding: 16px 17px 18px;
  margin-bottom: 20px;
}

.filter-popular__title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #262626;
}

.filter-popular .filter-row {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 10px;
}

.filter-popular .filter-row:last-child {
  margin-bottom: 0;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  color: #262626;
  cursor: pointer;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid #dddddd;
  border-radius: 3px;
  background: #fff;
  appearance: none;
  margin: 0;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

.filter-check:checked {
  background: var(--color-yellow-login);
  border-color: var(--color-yellow-login);
}

.filter-check:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid #969172;
  border-radius: 50%;
  appearance: none;
  margin: 0;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
}

.filter-radio:checked {
  border-color: #969172;
  background: radial-gradient(
    circle at center,
    #ffcc00 0 6px,
    #fff 7px 100%
  );
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-width: 18px;
  height: 17px;
  padding: 0 6px;
  border-radius: 50px;
  background: #eceef2;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  text-align: center;
  color: #262626;
  flex-shrink: 0;
  box-sizing: border-box;
}

.filter-group {
  margin-bottom: 22px;
}

/* Price / length / manufacturer / color: label left, controls right */
.filter-group--inline {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.filter-group--inline .filter-group__label {
  margin: 10px 0 0;
}

.filter-group--inline:has(> .filter-row) {
  align-items: center;
}

.filter-group--inline:has(> .filter-row) .filter-group__label {
  margin: 0;
}

.filter-group--inline .filter-range {
  margin-bottom: 10px;
}

.filter-group--inline .filter-row {
  align-items: center;
}

.filter-group--inserts {
  align-items: start;
}

.filter-group--inserts .filter-group__label {
  margin-top: 0;
  white-space: pre-line;
}

.filter-group--inserts .filter-row {
  align-items: flex-start;
}

.filter-group__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 300;
  line-height: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #262626;
}

.filter-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 10px;
  margin-left: 0;
}

.filter-group .filter-range {
  margin-left: 0;
}

.filter-range input[type="text"] {
  width: 100%;
  height: 38px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  padding: 0 10px;
  text-align: center;
  background: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  color: #262626;
  box-sizing: border-box;
}

.filter-range__dash {
  display: block;
  width: 14px;
  height: 2px;
  margin: 0 14px;
  background: #262626;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.filter-range__dash--box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 38px;
  margin: 0;
  background: #eceef2;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #262626;
}

.filter-slider {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  user-select: none;
  touch-action: none;
}

.filter-slider__track {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 3px;
  background: #eceef2;
  border-radius: 180px;
  pointer-events: none;
}

.filter-slider__fill {
  position: absolute;
  left: 15px;
  width: 0;
  right: auto;
  height: 4px;
  background: var(--color-yellow-login);
  border-radius: 20px;
  pointer-events: none;
}

.filter-slider__knob {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-yellow-login);
  box-sizing: border-box;
  cursor: grab;
  z-index: 2;
  appearance: none;
  -webkit-appearance: none;
}

.filter-slider__knob:active {
  cursor: grabbing;
}

.filter-slider__knob--min {
  z-index: 3;
}

.filter-slider__knob--max {
  z-index: 4;
}

.filter-reset {
  display: inline-block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 400;
  color: #262626;
  text-decoration: none;
  border-bottom: 1px dashed #262626;
  line-height: 1.2;
  padding-bottom: 1px;
}

.filter-reset:hover {
  opacity: 0.8;
}

/* —— Category nav —— */
.cat-nav {
  margin-top: 32px;
}

.cat-nav__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #262626;
}

.cat-nav__item:hover {
  opacity: 0.85;
}

.cat-nav__item.is-active {
  color: #262626;
  font-weight: 400;
}

.cat-nav__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.cat-nav__chevron {
  margin-left: auto;
  width: 10px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.2;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='20' fill='none'%3E%3Cpath d='M1.5 2.5 L8 10 L1.5 17.5' stroke='%23262626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cat-nav__item.is-active .cat-nav__chevron {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='20' fill='none'%3E%3Cpath d='M1.5 2.5 L8 10 L1.5 17.5' stroke='%23ffd801' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cat-nav__item--child {
  min-height: 44px;
  padding-left: 62px;
  font-size: 14px;
  line-height: 18px;
}

.catalog-aside > .cat-nav:first-child {
  margin-top: 0;
}

/* Neutralize OC bootstrap column wrapper inside Dentins aside */
.catalog-page #column-left {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
}

.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.catalog-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-pager .pagination > li {
  display: inline-flex;
}

.catalog-pager .pagination > li > a,
.catalog-pager .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #262626;
  text-decoration: none;
  background: #fff;
}

.catalog-pager .pagination > li.active > span,
.catalog-pager .pagination > li > a:hover {
  border-color: #ffd801;
  background: #fff9db;
}

.catalog-pager__results {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  color: #8c8c8c;
}

.catalog-empty {
  margin: 24px 0 12px;
  font-size: 16px;
  font-weight: 300;
  color: #262626;
}

.catalog-empty__actions {
  margin-bottom: 32px;
}

.aside-reviews {
  margin-top: 28px;
  width: 100%;
  max-width: 386px;
}

/* Live Yandex iframe — 386×590 как на главной / в макете */
.ymap-widget.ymap-widget--live {
  box-sizing: border-box;
  width: 386px;
  max-width: 100%;
  height: 590px;
  min-height: 590px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.ymap-widget.ymap-widget--live iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  border: 0;
  background: #fff;
}

.ymap-widget.ymap-widget--live .ymap-widget__site-link {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 16px 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #b3b3b3;
  text-align: center;
  text-decoration: none;
  background: #fff;
}

.ymap-widget.ymap-widget--live .ymap-widget__site-link:hover {
  color: #999;
}

.ymap-widget.ymap-widget--compact.ymap-widget--live {
  width: 100%;
  max-width: 304px;
  height: 464px;
  min-height: 464px;
}

/* Yandex Maps reviews widget — Figma 2:1634 */
.ymap-widget {
  box-sizing: border-box;
  width: 386px;
  max-width: 100%;
  min-height: 590px;
  padding: 16px 16px 12px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: Roboto, Arial, sans-serif;
  color: #262626;
}

.ymap-widget__head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ymap-widget__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #000;
}

.ymap-widget__brand {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #999;
  white-space: nowrap;
}

.ymap-widget__rating {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.ymap-widget__score {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.02em;
  color: #000;
}

.ymap-widget__rating-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-top: 4px;
}

.ymap-widget__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ymap-widget__stars span {
  display: block;
  width: 16px;
  height: 16px;
  background: #ffcc00;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.ymap-widget__stars--sm span {
  width: 12px;
  height: 12px;
}

.ymap-widget__counts {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #999;
}

.ymap-widget__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 8px 6px 14px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: #f6f6f6;
}

.ymap-widget__cta-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #262626;
}

.ymap-widget__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  background: #258ffb;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.ymap-widget__cta-btn:hover {
  background: #1a7be0;
}

.ymap-widget__list {
  flex: 1;
  min-height: 0;
}

.ymap-review {
  padding: 14px 0 12px;
  border-bottom: 1px solid #eee;
}

.ymap-review:last-child {
  border-bottom: 0;
}

.ymap-review__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ymap-review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.ymap-review__avatar--pink {
  background: #f3d6e2;
}

.ymap-review__avatar--mint {
  background: #cfe8e4;
}

.ymap-review__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: #000;
}

.ymap-review__date {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #999;
}

.ymap-review .ymap-widget__stars {
  margin-bottom: 8px;
}

.ymap-review__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #262626;
}

.ymap-review__more {
  color: #999;
  white-space: nowrap;
}

.ymap-widget__footer {
  margin-top: auto;
  padding-top: 8px;
}

.ymap-widget__more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f7fa;
  color: #198cff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
}

.ymap-widget__more-btn:hover {
  background: #eef2f7;
}

.ymap-widget__site {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #b3b3b3;
  text-align: center;
}

/* —— Main —— */
.catalog-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

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

.catalog-main__title--mobile {
  display: none;
}

.catalog-main__title::after {
  content: "";
  display: block;
  width: 150px;
  height: 4px;
  margin-top: 10px;
  background: var(--color-yellow-login);
}

.catalog-toolbar {
  display: none;
}

.catalog-filter-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 306px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ffcc00;
  border-radius: 4px;
  background: transparent;
  color: #262626;
  font: 300 16px/23px Roboto, Arial, sans-serif;
  cursor: pointer;
}

.catalog-filter-bar img {
  display: none;
}

.catalog-sort--toolbar {
  display: none;
}

.catalog-show-more {
  display: none;
  box-sizing: border-box;
  text-decoration: none;
}

.product-card__buy-label--mobile {
  display: none;
}

.catalog-seo-wrap {
  display: block;
}

.catalog-seo-wrap__widget {
  display: none;
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #262626;
  white-space: nowrap;
}

.catalog-sort a {
  color: #262626;
  text-decoration: none;
  border-bottom: 1px dashed rgba(38, 38, 38, 0.25);
  padding-bottom: 1px;
  line-height: 1.2;
}

.catalog-sort a.is-active {
  color: #262626;
  border-bottom-color: rgba(38, 38, 38, 0.25);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 35px;
  padding: 0 8px 0 16px;
  border-radius: 8px;
  background: rgba(238, 238, 238, 0.5);
  color: #262626;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #dddddd;
  cursor: pointer;
  color: #262626;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

.chip-reset {
  font-size: 16px;
  font-weight: 400;
  color: #262626;
  text-decoration: none;
  border-bottom: 1px dashed #262626;
  line-height: 1.2;
  padding-bottom: 1px;
}

/* —— Product grid —— */
/* auto-fill: пустые колонки сохраняются — одна карточка не растягивается на всю ширину */
.product-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, max(var(--product-card-min), calc(25% - var(--product-grid-gap-x)))), 1fr)
  );
  justify-content: start;
  gap: 20px var(--product-grid-gap-x);
  margin-bottom: 48px;
}

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

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

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

/* —— SEO —— */
.catalog-seo {
  margin: 40px 0 108px;
  max-width: 1170px;
}

.catalog-seo h2 {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 500;
  line-height: 33px;
  color: #262626;
}

.catalog-seo__title--mob,
.catalog-seo__lead--mob,
.catalog-seo__snippet--mob {
  display: none;
}

.catalog-seo h2 + p,
.catalog-seo h2 + ul {
  margin-top: 0;
}

.catalog-seo h2 + ul {
  margin-top: -2px; /* Figma: 30px from heading to list */
}

.catalog-seo p + h2 {
  margin-top: 8px; /* Figma: 22px after intro paragraph (14 + 8) */
}

.catalog-seo p {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  color: #262626;
}

.catalog-seo li {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  color: #262626;
}

.catalog-seo ul {
  margin: 0 0 20px;
  padding-left: 40px;
  list-style-type: disc;
}

.catalog-seo ul + h2 {
  margin-top: 0; /* Figma: 20px after list */
}

.catalog-seo li::marker {
  color: #262626;
}

.catalog-seo strong {
  font-weight: 700;
}

.catalog-seo a {
  color: #262626;
  text-decoration: none;
  border-bottom: 2px solid var(--color-yellow-login);
  padding-bottom: 1px;
}

.catalog-seo a:hover {
  opacity: 0.85;
}

.catalog-seo__snippet,
.catalog-seo__more,
.catalog-seo__clip,
.catalog-seo__fade {
  display: none;
}

/* Live CMS category description */
.catalog-seo--cms .catalog-seo__cms {
  display: block;
}

.catalog-seo--cms .catalog-seo__cms > *:first-child {
  margin-top: 0;
}

.catalog-seo--cms .catalog-seo__cms > *:last-child {
  margin-bottom: 0;
}

.catalog-seo--cms > .catalog-seo__more--cms {
  display: none;
}

/* —— Popular strip —— */
.catalog-popular {
  margin-bottom: 112px;
}

.catalog-popular .section__head {
  margin-bottom: 28px;
  justify-content: flex-start;
}

.catalog-popular .section__title {
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
}

.catalog-popular__row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.catalog-popular__row::-webkit-scrollbar {
  display: none;
}

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

.catalog-popular .product-card__media {
  padding: 16px 12px 8px;
}

.catalog-advantages {
  margin-bottom: 0;
}

.catalog-advantages .advantage__text {
  max-width: 274px;
  font-size: 20px;
  font-weight: 300;
  line-height: 26.6px;
  color: #666666;
}

/* Catalog header tweaks vs home — desktop base; узкие брейкпоинты переопределяют */

/* Footer — Figma 7:697 proportions @ 1920 (fluid fr, exact feel at 1920) */

.catalog-popular__nav {
  display: none;
}

/* —— Breakpoint 1300 (Figma 184:10782) — 1000…1300 —— */
@media (max-width: 1300px) and (min-width: 1000px) {
  /* Header continuum — sizes from styles.css */
  

  

  

  

  

  

  

  

  /* Ниже ~1180 текст контактов не влезает — иконки */
  

  

  .catalog {
    padding: 28px 0 0;
  }

  .breadcrumbs {
    margin-bottom: 28px;
  }

  .catalog__layout {
    grid-template-columns: minmax(200px, calc(280px + (100vw - 1000px) * 103 / 300)) minmax(0, 1fr);
    gap: 15px;
  }

  .catalog-main__title {
    font-size: 40px;
    line-height: 47px;
  }

  .catalog-main__title::after {
    margin-top: 5px;
  }

  .catalog-main__head {
    margin-bottom: 38px;
  }

  .catalog-chips {
    margin-bottom: 16px;
  }

  .product-grid {
    --product-card-min: 260px;
    --product-grid-gap-x: 10px;
    gap: 10px var(--product-grid-gap-x);
    margin-bottom: 40px;
  }

  .product-card {
    width: 100%;
    max-width: none;
    min-height: 500px;
  }

  .product-card__badge {
    top: 20px;
    left: 20px;
  }

  .product-card__media {
    padding: 10px 14px 8px;
  }

  .product-card__media img {
    width: 100%;
    max-width: 253px;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
    object-fit: contain;
  }

  .product-card__dots {
    margin: 0 14px 14px;
  }

  .product-card__body {
    padding: 0 16px 20px;
  }

  .product-card__title {
    width: 234px;
    max-width: 100%;
  }

  .catalog-seo {
    max-width: 864px;
    margin: 40px 0 60px;
  }

  .catalog-seo h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 33px;
    margin: 0 0 24px;
  }

  .catalog-seo p + h2 {
    margin-top: 6px;
  }

  .catalog-seo h2 + ul {
    margin-top: 0;
  }

  .catalog-seo p,
  .catalog-seo li {
    font-size: 16px;
    line-height: 22.4px;
    margin: 0 0 12px;
  }

  .catalog-seo ul {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
  }

  .catalog-seo li {
    margin: 0 0 16px;
  }

  .catalog-popular {
    margin-bottom: 60px;
  }

  .catalog-popular .section__head {
    margin-bottom: 32px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .catalog-popular .section__title {
    font-size: 32px;
    line-height: 47px;
    padding-bottom: 5px;
  }

  .catalog-popular__nav {
    display: flex;
  }

  .catalog-popular__row {
    --popular-card-min: 240px;
    gap: 12px;
  }

  .catalog-popular .product-card {
    flex: 0 0 calc((100% - 36px) / 4);
    width: calc((100% - 36px) / 4);
    max-width: none;
    min-height: 499px;
  }

  .catalog-popular .product-card__media {
    padding: 10px 19px 8px;
  }

  .catalog-popular .product-card__media img {
    width: 100%;
    max-width: 270px;
    height: auto;
    aspect-ratio: 1;
    max-height: none;
  }

  .catalog-popular .product-card__dots {
    margin: 0 19px 14px;
  }

  .catalog-popular .product-card__title {
    width: auto;
    max-width: 100%;
  }

  .catalog-popular .product-card__buy,
  .catalog-popular .btn-buy {
    width: 130px;
  }

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

  .ymap-widget {
    width: 386px;
    max-width: 100%;
  }

  .cat-nav__item {
    min-height: 52px;
  }

  .filter-panel {
    padding: 0 12px 24px;
  }

  /* Footer — Figma 184:11327 */
  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  
}

/* —— Breakpoint 900 (Figma 184:11328) — 700…999 —— */
@media (max-width: 999px) and (min-width: 700px) {
  

  

  

  

  

  

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

  .breadcrumbs {
    margin-bottom: 24px;
  }

  .catalog__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .catalog-aside {
    display: none;
  }

  .catalog-aside.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 20px 16px 48px;
    overflow: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
  }

  html.catalog-filters-open,
  html.catalog-filters-open body {
    overflow: hidden;
  }

  .catalog-main__title {
    font-size: 24px;
    line-height: 31px;
  }

  .catalog-main__title::after {
    margin-top: 5px;
  }

  .catalog-main__head {
    margin-bottom: 40px;
  }

  .catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .catalog-filter-bar {
    display: inline-flex;
    flex: 0 0 306px;
    width: 306px;
    max-width: 306px;
  }

  .catalog-sort--toolbar {
    display: flex;
    margin-left: auto;
    font-size: 14px;
    line-height: 19px;
  }

  .catalog-sort--chips {
    display: none;
  }

  .catalog-chips {
    margin-bottom: 48px;
  }

  .product-grid {
    --product-card-min: 230px;
    --product-grid-gap-x: 10px;
    gap: 10px var(--product-grid-gap-x);
    margin-bottom: 40px;
  }

  .product-card {
    width: 100%;
    max-width: none;
    min-height: 428px;
  }

  .product-card__badge {
    top: 12px;
    left: 12px;
  }

  .product-card__media {
    padding: 8px 12px 6px;
  }

  .product-card__media img {
    width: 100%;
    max-width: 218px;
    height: auto;
    aspect-ratio: 1;
    max-height: none;
    margin: 0 auto;
  }

  .product-card__dots {
    margin: 0 12px 12px;
  }

  .product-card__body {
    padding: 0 12px 16px;
  }

  .product-card__title,
  .product-card__name {
    width: 195px;
    max-width: 100%;
    font-size: 14px;
    line-height: 18px;
  }

  .product-card__price {
    font-size: 14px;
    line-height: 18px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-card__old {
    font-size: 12px;
    line-height: 14px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-card__buy {
    width: 91px;
    min-width: 91px;
    height: 30px;
    font-size: 14px;
  }

  .product-card__sku {
    font-size: 14px;
    line-height: 19px;
  }

  .catalog-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 746px;
    max-width: 100%;
    height: 36px;
    margin: 0 0 48px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #ffd801;
    color: #262626;
    font: 300 16px/20px Roboto, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  .catalog-show-more:hover {
    filter: brightness(0.97);
  }

  .catalog-seo-wrap {
    display: grid;
    grid-template-columns: 304px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin-bottom: 48px;
  }

  .catalog-seo-wrap__widget {
    display: block;
  }

  .catalog-seo-wrap__widget .ymap-widget {
    box-sizing: border-box;
    width: 304px;
    height: 464px;
    min-height: 464px;
    max-height: 464px;
    padding: 16px 16px 10px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
  }

  .catalog-seo-wrap__widget .ymap-widget--live {
    padding: 0;
  }

  .catalog-seo-wrap__widget .ymap-widget__title {
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
  }

  .catalog-seo-wrap__widget .ymap-widget__brand {
    font-size: 11px;
    line-height: 11px;
  }

  .catalog-seo-wrap__widget .ymap-widget__score {
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
  }

  .catalog-seo-wrap__widget .ymap-widget__stars span {
    width: 13px;
    height: 13px;
  }

  .catalog-seo-wrap__widget .ymap-widget__counts {
    font-size: 10px;
    line-height: 12px;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta {
    min-height: 50px;
    padding: 8px 10px 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta-text {
    font-size: 12px;
    line-height: 15px;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta-btn {
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 13px;
  }

  .catalog-seo-wrap__widget .ymap-widget__more-btn {
    min-height: 32px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 13px;
  }

  .catalog-seo-wrap__widget .ymap-widget__site {
    margin-top: 8px;
    font-size: 9px;
    line-height: 16px;
  }

  .catalog-seo {
    position: relative;
    max-width: 425px;
    margin: 0;
    min-height: 464px;
  }

  .catalog-seo h2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 20.8px;
    margin: 0 0 18px;
    color: #262626;
  }

  .catalog-seo > p:first-of-type {
    font-size: 14px;
    font-weight: 300;
    line-height: 19.6px;
    margin: 0 0 19px;
    color: #262626;
  }

  .catalog-seo > h2.catalog-seo__subtitle {
    margin: 0 0 12px;
    max-width: 422px;
  }

  .catalog-seo__clip {
    position: relative;
    display: block;
    width: 422px;
    max-width: 100%;
    height: 143px;
    margin: 0;
  }

  .catalog-seo p.catalog-seo__snippet--desk {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 422px;
    max-width: 100%;
    height: 120px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    line-height: 19.6px;
    letter-spacing: 0;
    color: #262626;
    /* Figma text fill: white gradient over glyphs (186:15013) */
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 38%,
      rgba(0, 0, 0, 0.55) 58%,
      rgba(0, 0, 0, 0.15) 75%,
      transparent 92%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 38%,
      rgba(0, 0, 0, 0.55) 58%,
      rgba(0, 0, 0, 0.15) 75%,
      transparent 92%
    );
  }

  .catalog-seo p.catalog-seo__snippet--desk strong {
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .catalog-seo__fade {
    display: none;
  }

  .catalog-seo__more {
    position: absolute;
    top: 82px;
    left: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 248px;
    height: 61px;
    margin: 0;
    padding: 15px 40px;
    border: 2px solid #ffd801;
    border-radius: 5px;
    background: #fff;
    color: #262626;
    font-family: Roboto, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 17px;
    white-space: nowrap;
    cursor: pointer;
  }

  .catalog-seo__more:hover {
    background: #ffd801;
  }

  .catalog-seo__rest {
    display: none;
  }

  .catalog-seo.is-open {
    min-height: 0;
  }

  .catalog-seo.is-open .catalog-seo__clip {
    display: none;
  }

  .catalog-seo.is-open .catalog-seo__rest {
    display: block;
  }

  .catalog-seo p,
  .catalog-seo li {
    font-size: 14px;
    line-height: 19.6px;
    margin: 0 0 12px;
  }

  .catalog-seo ul {
    margin: 0 0 16px;
    padding-left: 24px;
  }

  .catalog-seo li {
    margin: 0 0 12px;
  }

  .catalog-seo-wrap__widget .ymap-widget {
    padding: 16px 16px 0;
  }

  .catalog-seo-wrap__widget .ymap-widget--live {
    padding: 0;
  }

  .catalog-seo-wrap__widget .ymap-widget__list {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  .catalog-seo-wrap__widget .ymap-widget__list::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
  }

  .catalog-seo-wrap__widget .ymap-widget__footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 8px 0 10px;
    background: #fff;
  }

  .catalog-seo-wrap__widget .ymap-widget__site {
    margin-top: 6px;
  }

  .catalog-seo-wrap__widget .ymap-review {
    padding: 10px 0 8px;
  }

  .catalog-seo-wrap__widget .ymap-review__avatar {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .catalog-seo-wrap__widget .ymap-review__name {
    font-size: 12px;
    line-height: 14px;
  }

  .catalog-seo-wrap__widget .ymap-review__date {
    font-size: 11px;
    line-height: 13px;
  }

  .catalog-seo-wrap__widget .ymap-review__text {
    font-size: 12px;
    line-height: 16px;
  }

  .catalog-popular {
    margin-bottom: 40px;
  }

  .catalog-popular .section__head {
    margin-bottom: 32px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .catalog-popular .section__title {
    font-size: 24px;
    line-height: 31px;
    padding-bottom: 5px;
  }

  .catalog-popular__nav {
    display: flex;
  }

  .catalog-popular__row {
    --popular-card-min: 220px;
    gap: 12px;
  }

  .catalog-popular .product-card {
    flex: 0 0 min(280px, 78vw);
    width: min(280px, 78vw);
    max-width: min(280px, 78vw);
    min-width: 0;
    min-height: 428px;
  }

  .catalog-popular .product-card__media img {
    width: 100%;
    max-width: 218px;
    height: auto;
    aspect-ratio: 1;
  }

  .catalog-popular .product-card__title,
  .catalog-popular .product-card__name {
    width: auto;
    max-width: 100%;
  }

  .catalog-popular .product-card__buy {
    width: 91px;
  }

  .catalog-advantages {
    margin-bottom: 40px;
  }

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

  /* Footer — Figma 184:11805 */
  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  
}

.catalog-show-more--popular {
  display: none;
}

.top-nav__guarantee-short {
  display: none;
}

/* —— Breakpoint 420 (Figma 184:11806) — ≤699 —— */
@media (max-width: 699px) {
  .top-nav__guarantee-full {
    display: none;
  }

  .top-nav__guarantee-short {
    display: inline;
  }

  .catalog-main__title--desktop {
    display: none;
  }

  .catalog-main__title--mobile {
    display: block;
  }

  .catalog-main__title--360 {
    display: none;
  }

  /* Header — exact Figma 420 */
  

  

  /* Header sizes/continuum — только styles.css; тут layout order */
  

  

  

  

  

  

  

  

  .catalog {
    padding: 32px 0 0;
  }

  .breadcrumbs {
    min-height: 20px;
    height: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 20px;
    align-items: center;
  }

  .breadcrumbs__link {
    color: #262626;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    border-bottom: 1px solid rgba(38, 38, 38, 0.35);
  }

  .breadcrumbs__link:hover {
    color: #262626;
  }

  .breadcrumbs__current {
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
  }

  .breadcrumbs__sep {
    width: 10px;
    margin: 0 6px;
  }

  .catalog__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .catalog-aside {
    display: none !important;
  }

  .catalog-aside.is-open {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 1200;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 16px 12px 40px;
    overflow: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
  }

  .product-card__buy-label {
    display: none;
  }

  .product-card__buy-label--mobile {
    display: inline;
  }

  .catalog-main__title {
    font-size: 24px;
    font-weight: 300;
    line-height: 31px;
  }

  .catalog-main__title::after {
    display: block;
    width: 150px;
    height: 4px;
    margin-top: 10px;
    background: #ffcc00;
  }

  .catalog-main__head {
    margin-bottom: 24px;
  }

  .catalog-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
  }

  .catalog-filter-bar {
    display: inline-flex;
    flex: none;
    width: 100%;
    max-width: none;
    height: 40px;
    border: 1px solid #ffcc00;
    border-radius: 4px;
    background: transparent;
    font: 300 16px/23px Roboto, sans-serif;
  }

  .catalog-sort--toolbar {
    display: flex;
    align-items: center;
    height: 19px;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: #262626;
  }

  .catalog-sort--toolbar a,
  .catalog-sort--toolbar span {
    box-sizing: border-box;
    height: 19px;
    padding: 0;
    border: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: #262626;
  }

  .catalog-sort--toolbar a,
  .catalog-sort--toolbar a.is-active {
    border-bottom: 1px dashed rgba(38, 38, 38, 0.25);
    text-decoration: none;
  }

  .catalog-sort--chips {
    display: none !important;
  }

  .catalog-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .chip {
    height: 35px;
    padding: 0 8px 0 16px;
    border-radius: 8px;
    background: rgba(238, 238, 238, 0.5);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: #262626;
  }

  /* Figma 188:15044 — text 143×19 + dashed underline */
  .catalog-page .chip-reset {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 143px;
    height: 22px;
    margin-top: 8px;
    padding: 0;
    padding-bottom: 2px;
    border: 0 !important;
    border-bottom: 1px dashed #262626 !important;
    background: transparent;
    font: 400 16px/19px Roboto, sans-serif;
    color: #262626;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .catalog-page .chip-reset__label {
    display: block;
    width: 143px;
    height: 19px;
    font: inherit;
    line-height: 19px;
    color: inherit;
  }

  .catalog-page .chip-reset::after {
    display: none;
  }

  .product-grid {
    /* Figma 184:11806 — 2×194 + gap 8 = 396 */
    --product-card-min: 194px;
    --product-grid-gap-x: 8px;
    gap: 8px var(--product-grid-gap-x);
    margin-bottom: 16px;
  }

  .product-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 414px;
    border: 1px solid #dddddd;
    border-radius: 5px;
  }

  .product-card__badge {
    top: 12px;
    left: 12px;
    height: 22px;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    color: #b69b05;
  }

  .product-card__media {
    /* image 188×169 @ y=49 → top pad 49, side 3 */
    padding: 49px 3px 0;
  }

  .product-card__media img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 188 / 169;
    object-fit: contain;
  }

  .product-card__dots {
    display: none;
  }

  .product-card__body {
    padding: 6px 12px 16px;
  }

  /* Figma: цена+старая в ряд; «Купить» 169×32 отдельной строкой под ними */
  .product-card__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 12px;
    margin-bottom: 16px;
  }

  .product-card__price {
    font-size: 14px;
    font-weight: 500;
    line-height: 18.2px;
    color: #262626;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-card__old {
    font-size: 10px;
    font-weight: 400;
    line-height: 13px;
    color: #666666;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-card__buy {
    flex: 0 0 100%;
    box-sizing: border-box;
    width: 169px !important;
    min-width: 169px !important;
    max-width: 169px !important;
    height: 32px !important;
    margin-left: 0 !important;
    padding: 0 8px;
    border-width: 2px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 300;
    line-height: 18px;
    color: #262626;
  }

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

  .product-card__name {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 300;
    line-height: 15.6px;
    color: #262626;
  }

  .product-card__sku {
    font-size: 12px;
    font-weight: 300;
    line-height: 15.6px;
    color: #262626;
    text-decoration: none;
  }

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

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

  .product-card__brand {
    width: 56px;
    height: auto;
  }

  .catalog-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 36px;
    margin: 0 0 60px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #ffd801;
    color: #262626;
    font: 300 16px/20px Roboto, sans-serif;
    text-decoration: none;
  }

  .catalog-seo-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
  }

  .catalog-seo-wrap__widget {
    display: block;
    width: 100%;
  }

  /* Yandex widget — Figma 184:12150 */
  .catalog-seo-wrap__widget .ymap-widget {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 605px;
    min-height: 605px;
    max-height: 605px;
    padding: 22px 21px 0;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
  }

  .catalog-seo-wrap__widget .ymap-widget--live {
    padding: 0;
  }

  .catalog-seo-wrap__widget .ymap-widget__head-top {
    align-items: center;
    margin-bottom: 12px;
  }

  .catalog-seo-wrap__widget .ymap-widget__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: #000;
  }

  .catalog-seo-wrap__widget .ymap-widget__brand {
    display: inline-block;
    width: auto;
    height: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: #9b9b9b;
    white-space: nowrap;
  }

  .catalog-seo-wrap__widget .ymap-widget__brand img {
    display: none;
  }

  .catalog-seo-wrap__widget .ymap-widget__rating {
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
  }

  .catalog-seo-wrap__widget .ymap-widget__score {
    font-size: 47px;
    font-weight: 400;
    line-height: 57px;
    letter-spacing: 0;
    color: #000;
  }

  .catalog-seo-wrap__widget .ymap-widget__rating-meta {
    gap: 8px;
    padding-top: 9px;
  }

  .catalog-seo-wrap__widget .ymap-widget__stars span {
    width: 16px;
    height: 16px;
    background: #ffcc00;
  }

  .catalog-seo-wrap__widget .ymap-widget__stars--sm span {
    width: 16px;
    height: 16px;
  }

  .catalog-seo-wrap__widget .ymap-widget__counts {
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: #999;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta {
    box-sizing: border-box;
    width: 100%;
    min-height: 66px;
    height: 66px;
    padding: 0 14px 0 13px;
    margin-bottom: 0;
    border-radius: 6px;
    background: #f6f6f6;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 19px;
    color: #262626;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta-btn {
    box-sizing: border-box;
    width: 140px;
    min-width: 140px;
    height: 41px;
    min-height: 41px;
    padding: 0 12px;
    border-radius: 8px;
    background: #258ffb;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
  }

  .catalog-seo-wrap__widget .ymap-widget__list {
    position: relative;
    flex: 1;
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
  }

  .catalog-seo-wrap__widget .ymap-widget__list::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
    z-index: 1;
  }

  .catalog-seo-wrap__widget .ymap-review {
    padding: 24px 0 16px;
    border-bottom: 1px solid #f6f6f6;
  }

  .catalog-seo-wrap__widget .ymap-review:first-child {
    padding-top: 24px;
  }

  .catalog-seo-wrap__widget .ymap-review__user {
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
  }

  .catalog-seo-wrap__widget .ymap-review__avatar {
    width: 41px;
    height: 41px;
    font-size: 20px;
  }

  .catalog-seo-wrap__widget .ymap-review__name {
    font-size: 15px;
    font-weight: 500;
    line-height: 21px;
  }

  .catalog-seo-wrap__widget .ymap-review__date {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: #999;
  }

  .catalog-seo-wrap__widget .ymap-review .ymap-widget__stars {
    margin-bottom: 8px;
  }

  .catalog-seo-wrap__widget .ymap-review__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #262626;
  }

  .catalog-seo-wrap__widget .ymap-widget__footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    padding: 0 0 8px;
    background: transparent;
  }

  .catalog-seo-wrap__widget .ymap-widget__more-btn {
    box-sizing: border-box;
    width: 266px;
    max-width: 100%;
    min-height: 41px;
    height: 41px;
    margin: 0 auto;
    padding: 0 12px;
    border-radius: 8px;
    background: #f5f7fa;
    color: #258ffb;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
  }

  .catalog-seo-wrap__widget .ymap-widget__site {
    margin: 5px 0 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    color: #999;
    text-align: center;
  }

  .catalog-seo {
    max-width: none;
    min-height: 0;
    margin: 0;
  }

  .catalog-seo__title--desk,
  .catalog-seo__lead--desk,
  .catalog-seo__snippet--desk,
  .catalog-seo__subtitle {
    display: none !important;
  }

  .catalog-seo__title--mob,
  .catalog-seo__lead--mob,
  .catalog-seo__snippet--mob {
    display: block;
  }

  .catalog-seo h2.catalog-seo__title--mob {
    width: 313px;
    max-width: 100%;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    margin: 0 0 24px;
  }

  .catalog-seo > p.catalog-seo__lead--mob {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    margin: 0 0 16px;
  }

  .catalog-seo__clip {
    position: relative;
    display: block;
    width: 100%;
    height: 167px;
    min-height: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .catalog-seo p.catalog-seo__snippet--mob {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: #262626;
  }

  .catalog-seo__more {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 61px;
    margin: 0;
    padding: 15px 40px;
    border: 2px solid #ffd801;
    border-radius: 5px;
    background: #fff;
    color: #262626;
    font: 400 17px/17px Roboto, sans-serif;
    cursor: pointer;
  }

  .catalog-seo__clip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 61px;
    height: 72px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 70%);
  }

  .catalog-seo__rest {
    display: none;
  }

  .catalog-seo.is-open .catalog-seo__clip {
    display: none;
  }

  .catalog-seo.is-open .catalog-seo__rest {
    display: block;
  }

  .catalog-seo.is-open .catalog-seo__subtitle,
  .catalog-seo.is-open .catalog-seo__lead--desk,
  .catalog-seo.is-open .catalog-seo__title--desk {
    display: none !important;
  }

  .catalog-popular {
    margin-bottom: 40px;
  }

  .catalog-popular .section__head {
    margin-bottom: 24px;
    align-items: flex-start;
  }

  .catalog-popular .section__title {
    font-size: 24px;
    font-weight: 300;
    line-height: 31px;
    padding-bottom: 10px;
  }

  .catalog-popular .section__title::after,
  .catalog-popular .section__title--underline::after {
    width: 150px;
    height: 4px;
  }

  .catalog-popular__nav {
    display: none !important;
  }

  .catalog-popular__row {
    --popular-card-min: 194px;
    gap: 8px;
    margin-bottom: 40px;
  }

  .catalog-popular .product-card {
    flex: 0 0 min(240px, 72vw);
    width: min(240px, 72vw);
    max-width: min(240px, 72vw);
    min-width: 0;
    min-height: 414px;
  }

  .catalog-popular .product-card__media {
    padding: 49px 3px 0;
  }

  .catalog-popular .product-card__media img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 188 / 169;
  }

  .catalog-show-more--popular {
    display: flex;
    margin: 0;
  }

  .catalog-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 12px 20px;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    margin: 40px 0 32px;
    overflow: visible;
  }

  /* Show all 4 advantages on mobile (same as home) */
  .catalog-advantages .advantage.hide-420,
  .catalog-advantages .advantage.hide-900 {
    display: flex !important;
  }

  .catalog-advantages .advantage {
    width: 100%;
    min-height: 0;
    padding: 0;
    text-align: center;
  }

  .catalog-advantages .advantage__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
  }

  .catalog-advantages .advantage__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 18.2px;
    max-width: none;
    color: #262626;
  }

  /* Footer — Figma 184:12120 */
  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  /* Scroll-top sits by Ассортимент (Figma x=360) */
  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  
}

/* —— Breakpoint 360 (Figma 184:9839) — ≤360 —— */
@media (max-width: 360px) {
  

  /* Header sizes — styles.css ≤360; тут order + сброс desktop min-width */
  

  

  

  

  .catalog {
    padding: 32px 0 0;
  }

  .catalog-main__title--420 {
    display: none !important;
  }

  .catalog-main__title--360.catalog-main__title--mobile {
    display: block !important;
  }

  .breadcrumbs {
    min-height: 20px;
    height: 20px;
    margin-bottom: 20px;
  }

  .catalog-main__title {
    font-size: 24px;
    font-weight: 300;
    line-height: 31px;
  }

  .catalog-main__title::after {
    width: 150px;
    height: 4px;
    margin-top: 10px;
  }

  .catalog-main__head {
    margin-bottom: 24px;
  }

  .catalog-toolbar {
    gap: 20px;
    margin-bottom: 20px;
  }

  .catalog-filter-bar {
    width: 100%;
    height: 40px;
    font: 300 16px/23px Roboto, sans-serif;
  }

  .catalog-sort--toolbar {
    height: 19px;
    gap: 12px;
    font-size: 14px;
    line-height: 19px;
  }

  .catalog-chips {
    gap: 20px;
    margin-bottom: 32px;
  }

  .product-grid {
    --product-card-min: 328px;
    grid-template-columns: minmax(0, 328px);
    justify-content: start;
    gap: 12px;
    margin-bottom: 16px;
  }

  .product-card {
    width: 328px;
    min-width: 0;
    max-width: 328px;
    min-height: 491px;
    border: 1px solid #dddddd;
    border-radius: 5px;
  }

  .product-card__badge {
    top: 12px;
    left: 12px;
    height: 22px;
    font-size: 12px;
    line-height: 12px;
    color: #b69b05;
  }

  .product-card__media {
    padding: 2px 3px 0;
  }

  .product-card__media img {
    width: 322px;
    height: 291px;
    max-height: 291px;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .product-card__dots {
    display: none;
  }

  .product-card__body {
    padding: 16px 12px 16px;
  }

  .product-card__price-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
  }

  .product-card__price {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #262626;
  }

  .product-card__old {
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    color: #666666;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-card__buy {
    flex: 0 0 169px;
    width: 169px !important;
    min-width: 169px !important;
    max-width: 169px;
    height: 32px !important;
    margin-left: auto !important;
    padding: 0;
    border-width: 2px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 300;
    line-height: 18px;
    color: #262626;
  }

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

  .product-card__name {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 300;
    line-height: 20.8px;
    color: #262626;
  }

  .product-card__sku {
    font-size: 12px;
    font-weight: 300;
    line-height: 15.6px;
    color: #262626;
    text-decoration: none;
  }

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

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

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

  .catalog-show-more {
    width: 100%;
    max-width: 328px;
    height: 36px;
    margin: 0 auto 60px;
    font: 300 16px/20px Roboto, sans-serif;
  }

  .catalog-seo-wrap {
    gap: 40px;
    margin-bottom: 40px;
  }

  /* Yandex widget — Figma 184:10170 */
  .catalog-seo-wrap__widget .ymap-widget {
    box-sizing: border-box;
    width: 100%;
    height: 501px;
    min-height: 501px;
    max-height: 501px;
    padding: 17px 17px 0;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
  }

  .catalog-seo-wrap__widget .ymap-widget--live {
    padding: 0;
  }

  .catalog-seo-wrap__widget .ymap-widget__head-top {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .catalog-seo-wrap__widget .ymap-widget__title {
    margin: 0;
    max-width: 198px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #262626;
  }

  .catalog-seo-wrap__widget .ymap-widget__brand {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    color: #9b9b9b;
  }

  .catalog-seo-wrap__widget .ymap-widget__rating {
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
  }

  .catalog-seo-wrap__widget .ymap-widget__score {
    font-size: 39px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: 0;
    color: #262626;
  }

  .catalog-seo-wrap__widget .ymap-widget__rating-meta {
    gap: 6px;
    padding-top: 6px;
  }

  .catalog-seo-wrap__widget .ymap-widget__stars {
    gap: 2px;
  }

  .catalog-seo-wrap__widget .ymap-widget__stars span {
    width: 14px;
    height: 14px;
    background: #ffcc00;
  }

  .catalog-seo-wrap__widget .ymap-widget__stars--sm span {
    width: 14px;
    height: 14px;
  }

  .catalog-seo-wrap__widget .ymap-widget__counts {
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    color: #999;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta {
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    height: 54px;
    padding: 0 12px 0 12px;
    margin-bottom: 0;
    border-radius: 6px;
    background: #f6f6f6;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    color: #262626;
  }

  .catalog-seo-wrap__widget .ymap-widget__cta-btn {
    box-sizing: border-box;
    width: 116px;
    min-width: 116px;
    height: 34px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #258ffb;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
  }

  .catalog-seo-wrap__widget .ymap-widget__list {
    position: relative;
    flex: 1;
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
  }

  .catalog-seo-wrap__widget .ymap-widget__list::after {
    height: 51px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  }

  .catalog-seo-wrap__widget .ymap-review {
    padding: 16px 0 12px;
    border-bottom: 1px solid #f6f6f6;
  }

  .catalog-seo-wrap__widget .ymap-review:first-child {
    padding-top: 16px;
  }

  .catalog-seo-wrap__widget .ymap-review__user {
    gap: 10px;
    margin-bottom: 10px;
    align-items: flex-start;
  }

  .catalog-seo-wrap__widget .ymap-review__avatar {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .catalog-seo-wrap__widget .ymap-review__name {
    font-size: 13px;
    font-weight: 500;
    line-height: 17px;
  }

  .catalog-seo-wrap__widget .ymap-review__date {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    color: #999;
  }

  .catalog-seo-wrap__widget .ymap-review .ymap-widget__stars {
    margin-bottom: 6px;
  }

  .catalog-seo-wrap__widget .ymap-review__text {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    color: #262626;
  }

  .catalog-seo-wrap__widget .ymap-widget__footer {
    padding: 0 0 6px;
  }

  .catalog-seo-wrap__widget .ymap-widget__more-btn {
    width: 221px;
    max-width: 100%;
    min-height: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f5f7fa;
    color: #198cff;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
  }

  .catalog-seo-wrap__widget .ymap-widget__site {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    color: #b3b3b3;
  }

  .catalog-seo h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
  }

  .catalog-seo p,
  .catalog-seo li {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
  }

  .catalog-popular .section__title {
    font-size: 24px;
    font-weight: 300;
    line-height: 31px;
  }

  .catalog-popular .section__title::after,
  .catalog-popular .section__title--underline::after {
    width: 150px;
    height: 4px;
  }

  .catalog-popular__nav {
    display: flex !important;
    gap: 8px;
  }

  .catalog-popular__nav .nav-btn {
    width: 30px;
    height: 30px;
  }

  .catalog-popular__nav .nav-btn img:first-child {
    width: 30px;
    height: 30px;
  }

  .catalog-popular__row {
    --popular-card-min: 328px;
    gap: 12px;
    margin-bottom: 32px;
  }

  .catalog-popular .product-card {
    flex: 0 0 328px;
    width: 328px;
    max-width: 328px;
    min-width: 0;
    min-height: 480px;
  }

  .catalog-popular .product-card__media {
    padding: 2px 3px 0;
  }

  .catalog-popular .product-card__media img {
    width: 322px;
    height: 291px;
    max-height: 291px;
  }

  .catalog-popular .product-card__buy {
    flex: 0 0 169px;
    width: 169px !important;
    min-width: 169px !important;
    max-width: 169px;
    height: 32px !important;
    font-size: 12px;
  }

  .catalog-show-more--popular {
    margin-bottom: 60px;
  }

  .catalog-advantages {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
    margin-bottom: 40px;
  }

  .catalog-advantages .advantage__icon {
    width: 60px;
    height: 60px;
  }

  .catalog-advantages .advantage__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 18.2px;
    color: #262626;
  }

  

  

  

  

  

  

  

  

  

  
}

