:root {
  --color-ink: #08182e;
  --color-ink-soft: #233348;
  --color-navy: #002746;
  --color-navy-dark: #001f3a;
  --color-red: #c9162d;
  --color-border: #e7ecf2;
  --color-muted: #6b7788;
  --color-surface: #ffffff;
  --color-page: #f7f9fc;
  --shadow-card: 0 10px 24px rgba(8, 24, 46, 0.08);
  --radius: 8px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

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

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.site-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 24, 46, 0.06);
}

.home-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}

.topbar__contacts {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
  gap: 24px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
}

.topbar__item .icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.topbar__item--phone span,
.topbar__item--email span {
  white-space: nowrap;
}

.topbar__item--address span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__item--hours {
  justify-self: end;
}

.header-main {
  min-height: 126px;
  display: grid;
  grid-template-columns: 360px minmax(300px, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.brand__logo {
  width: 96px;
  height: 96px;
}

.brand__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand__text strong {
  color: var(--color-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.brand__text span {
  max-width: 250px;
  color: var(--color-ink-soft);
  font-size: 18px;
  line-height: 1.2;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 64px;
  height: 52px;
  border: 1px solid #cfd7e1;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.search-form input {
  min-width: 0;
  border: 0;
  padding: 0 20px;
  color: var(--color-ink);
  outline: 0;
}

.search-form input::placeholder {
  color: #9aa5b3;
}

.search-form button {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--color-navy-dark);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-form button:hover {
  background: #06395f;
}

.search-form button .icon {
  width: 30px;
  height: 30px;
}

.header-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, auto));
  gap: 28px;
  align-items: center;
  justify-content: end;
}

.header-actions__link {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--color-ink);
  font-size: 14px;
  line-height: 1.15;
}

.header-actions__link .icon {
  width: 30px;
  height: 30px;
}

.header-actions__link small {
  margin-left: 4px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.desktop-nav {
  background: var(--color-navy-dark);
  color: #fff;
}

.desktop-nav__inner {
  min-height: 54px;
  display: flex;
  align-items: stretch;
}

.desktop-nav__catalog {
  min-width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav__catalog .icon {
  width: 20px;
  height: 20px;
}

.desktop-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(22px, 4vw, 58px);
  padding-inline: 28px;
}

.desktop-nav__links a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

.hero {
  background: var(--color-navy);
}

.hero__inner {
  min-height: 336px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

.hero__inner::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: calc(50% - 18px);
  width: 82px;
  background: rgba(0, 31, 58, 0.88);
  clip-path: polygon(54px 0, 82px 0, 28px 100%, 0 100%);
  pointer-events: none;
}

.hero__inner::after {
  content: '';
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: calc(50% - 58px);
  width: 116px;
  background: var(--color-red);
  clip-path: polygon(76px 0, 116px 0, 40px 100%, 0 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 5;
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 44px 92px 34px 0;
  color: #fff;
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  max-width: 570px;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  margin: 16px 0 30px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 0;
  max-width: 535px;
}

.hero__features span {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.hero__features span:last-child {
  border-right: 0;
}

.hero__features .icon {
  width: 50px;
  height: 50px;
}

.hero__image {
  position: relative;
  z-index: 1;
  width: calc(100% + 58px);
  height: 100%;
  margin-left: -58px;
  min-height: 336px;
  object-fit: cover;
  clip-path: polygon(98px 0, 100% 0, 100% 100%, 22px 100%);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: 22px;
}

.home-directions {
  padding-block: 22px 8px;
}

.home-directions .promo-grid {
  padding-block: 0;
}

.promo-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 128px);
  align-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.04);
  overflow: hidden;
}

.promo-card__text {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.promo-card strong,
.category-card strong {
  color: var(--color-ink);
  font-weight: 800;
}

.promo-card strong {
  max-width: 150px;
  font-size: 16px;
  line-height: 1.18;
}

.promo-card span span {
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.28;
}

.promo-card img {
  max-width: 100%;
  width: 128px;
  height: 86px;
  object-fit: contain;
}

.catalog-section {
  padding: 4px 0 34px;
}

.catalog-section--page {
  padding-top: 34px;
}

.catalog-section--home {
  padding-top: 22px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 26px;
  line-height: 1.15;
}

.section-heading > span {
  color: var(--color-muted);
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-ink);
  font-size: 15px;
}

.section-heading a .icon {
  width: 18px;
  height: 18px;
}

.home-catalog-groups {
  display: grid;
  gap: 30px;
}

.home-catalog-group {
  display: grid;
  gap: 14px;
}

.home-catalog-group__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.home-catalog-group__heading h3 {
  margin: 0 0 6px;
  color: var(--color-ink);
  font-size: 22px;
  line-height: 1.18;
}

.home-catalog-group__heading p {
  max-width: 680px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.home-catalog-group__heading a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 800;
}

.home-catalog-group__heading a .icon {
  width: 17px;
  height: 17px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.catalog-grid--page {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  min-width: 0;
  min-height: 142px;
  display: grid;
  grid-template-rows: 96px auto;
  justify-items: center;
  align-items: end;
  gap: 8px;
  padding: 16px 12px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-bottom: 2px solid #d84d5b;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.category-card img {
  width: 132px;
  height: 88px;
  object-fit: contain;
}

.category-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 15px;
  line-height: 1.2;
}

.category-card--large {
  min-height: 220px;
  grid-template-rows: 118px auto minmax(36px, auto);
  align-items: center;
  padding: 20px;
}

.category-card--large img {
  width: 170px;
  height: 112px;
}

.category-card--large span {
  color: var(--color-muted);
  text-align: center;
  font-size: 14px;
}

.benefits {
  margin-top: auto;
  background: var(--color-navy-dark);
  color: #fff;
}

.benefits__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}

.benefit {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.benefit .icon {
  width: 44px;
  height: 44px;
}

.benefit span {
  display: grid;
  gap: 4px;
}

.benefit strong {
  font-size: 15px;
  line-height: 1.2;
}

.benefit small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.35;
}

.page {
  min-height: 48vh;
  background: var(--color-page);
  padding-bottom: 44px;
}

.category-page {
  min-height: 420px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 48px;
}

.category-page__image {
  display: grid;
  place-items: center;
  min-height: 280px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.category-page__image img {
  width: 280px;
  height: 190px;
  object-fit: contain;
}

.category-page__content {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.category-page h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

.category-page p {
  max-width: 640px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 18px;
}

.back-link {
  color: var(--color-muted);
  font-size: 14px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
}

.empty-state {
  padding: 24px;
  background: #fff;
  border: 1px dashed #cfd7e1;
  border-radius: var(--radius);
  color: var(--color-muted);
}

.empty-state--wide {
  grid-column: 1 / -1;
}

.product-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.04);
}

.product-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  color: var(--color-ink);
  font-size: 14px;
}

.product-table th,
.product-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.product-table th {
  background: var(--color-page);
  color: var(--color-ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  white-space: nowrap;
}

.sort-link small {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1;
}

.sort-link.is-active {
  color: var(--color-navy);
}

.sort-link.is-active small {
  color: var(--color-red);
}

.product-table tbody tr:last-child td {
  border-bottom: 0;
}

.product-table td:first-child {
  min-width: 280px;
  font-weight: 700;
}

.product-link {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.favorite-form {
  margin: 0;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  min-width: 132px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.favorite-button:hover,
.favorite-button.is-active {
  border-color: var(--color-red);
  color: var(--color-red);
}

.favorite-button.is-active {
  background: #fff7f8;
}

.favorite-button .icon {
  width: 18px;
  height: 18px;
}

.mobile-bottom-nav {
  display: none;
}

.site-footer {
  flex: 0 0 auto;
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__inner {
  display: grid;
  gap: 24px;
  padding-block: 34px 28px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(170px, 0.65fr));
  gap: 32px;
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.site-footer__logo img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.site-footer__logo strong {
  display: block;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  line-height: 1.1;
}

.site-footer__logo small {
  display: block;
  max-width: 300px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.site-footer__brand p {
  max-width: 390px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer__section {
  display: grid;
  gap: 10px;
  align-content: start;
  font-style: normal;
}

.site-footer__section h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer__section a,
.site-footer__section span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

.site-footer__section a {
  text-decoration: none;
}

.site-footer__section a:hover {
  color: #fff;
}

.site-footer__contacts a {
  overflow-wrap: anywhere;
}

.site-footer__notice {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer__notice a {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-nav__links a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
}

.desktop-nav__links a.is-active {
  background: var(--color-red);
}

.designer-catalog,
.info-page > .container {
  padding-block: 26px 54px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-ink-soft);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--color-ink);
}

.breadcrumbs span {
  color: var(--color-muted);
}

.page-title {
  margin: 0 0 22px;
  color: var(--color-ink);
  font-size: 36px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.page-lead {
  max-width: 760px;
  margin: -8px 0 28px;
  color: var(--color-ink-soft);
}

.accent-line {
  display: block;
  width: 62px;
  height: 3px;
  margin: -12px 0 20px;
  background: var(--color-red);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catalog-sidebar {
  display: grid;
  gap: 0;
  padding: 16px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.catalog-sidebar h2 {
  margin: 0 18px 10px;
  font-size: 17px;
  line-height: 1.2;
}

.catalog-sidebar__group {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.catalog-sidebar__group:first-of-type {
  border-top: 0;
}

.catalog-sidebar__group:not([open]) > a {
  display: none;
}

.catalog-sidebar__section {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.catalog-sidebar__section::-webkit-details-marker {
  display: none;
}

.catalog-sidebar__section::after {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.catalog-sidebar__group[open] > .catalog-sidebar__section {
  color: var(--color-red);
  background: #fff7f8;
}

.catalog-sidebar__group[open] > .catalog-sidebar__section::after {
  transform: rotate(225deg);
}

.catalog-sidebar a {
  min-height: 36px;
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 10px;
  align-items: center;
  padding: 8px 14px 8px 18px;
  border-left: 3px solid transparent;
  color: var(--color-ink);
  font-size: 14px;
}

.catalog-sidebar a.is-active {
  border-left-color: var(--color-red);
  color: var(--color-red);
  font-weight: 800;
}

.catalog-sidebar .icon {
  width: 16px;
  height: 16px;
}

.catalog-content {
  min-width: 0;
}

.catalog-intro {
  margin-bottom: 20px;
}

.catalog-intro h1,
.catalog-intro h2 {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 28px;
  line-height: 1.15;
}

.catalog-intro p {
  max-width: 860px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 15px;
}

.catalog-toolbar {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.catalog-toolbar button,
.catalog-toolbar label,
.filter-label,
.view-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
}

.filter-label {
  padding: 0 14px;
  background: #f3f6fb;
}

.catalog-toolbar button {
  padding: 0 14px;
  cursor: pointer;
}

.catalog-toolbar .filter-submit {
  padding-inline: 18px;
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  color: #fff;
}

.catalog-toolbar .filter-reset {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #cfd7e1;
  border-radius: 4px;
  background: #fff;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 800;
}

.catalog-toolbar button .icon,
.filter-label .icon,
.catalog-toolbar label .icon {
  width: 16px;
  height: 16px;
}

.catalog-toolbar label {
  padding-left: 12px;
}

.catalog-toolbar label span {
  white-space: nowrap;
}

.catalog-toolbar select,
.select-field select {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  outline: 0;
}

.catalog-toolbar select {
  max-width: 168px;
}

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

.view-toggle {
  width: 40px;
  justify-content: center;
}

.view-toggle .icon {
  width: 20px;
  height: 20px;
}

.view-toggle.is-active {
  background: var(--color-navy-dark);
  color: #fff;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 154px 1fr;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.04);
  overflow: hidden;
}

.product-card__image {
  display: grid;
  place-items: center;
  padding: 16px 16px 4px;
}

.product-card__image img {
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.product-card__body {
  display: grid;
  grid-template-rows: 58px 18px 18px 18px auto;
  gap: 8px;
  padding: 0 16px 12px;
}

.product-card__body h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  line-height: 1.22;
  max-height: 58px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__body h3 a {
  overflow-wrap: anywhere;
}

.product-card__body p,
.product-card__body small {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card__body strong {
  margin-top: 2px;
  color: var(--color-ink);
  font-size: 19px;
  line-height: 1.15;
}

.product-card__body strong small {
  color: var(--color-ink);
  font-size: 12px;
}

.stock {
  display: inline-flex;
  align-items: center;
  color: #0d6947;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.stock--available {
  color: #0d6947;
}

.stock--limited {
  color: #b76300;
}

.stock--low {
  color: var(--color-red);
}

.stock--preorder {
  color: var(--color-muted);
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 0 16px 16px;
}

.auto-clip-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.auto-clip-type {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: #fff;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.auto-clip-type:hover,
.auto-clip-type.is-active {
  border-color: var(--color-navy-dark);
  background: var(--color-navy-dark);
  color: #fff;
}

.auto-clip-type small {
  flex: 0 0 auto;
  min-width: 25px;
  padding: 2px 6px;
  border-radius: 10px;
  background: #edf2f8;
  color: var(--color-ink-soft);
  text-align: center;
  font-size: 11px;
}

.auto-clip-type.is-active small,
.auto-clip-type:hover small {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.auto-clip-results-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.auto-clip-results-heading h3 {
  margin: 0;
  font-size: 20px;
}

.auto-clip-results-heading span {
  color: var(--color-ink-soft);
  font-size: 13px;
}

.auto-clip-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.auto-clip-product {
  min-width: 0;
  display: grid;
  grid-template-rows: 168px 1fr;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.auto-clip-product__image {
  display: grid;
  place-items: center;
  padding: 14px 14px 4px;
}

.auto-clip-product__image img {
  width: 100%;
  height: 146px;
  object-fit: contain;
}

.auto-clip-product__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px 14px;
}

.auto-clip-product__body h3 {
  max-width: 100%;
  min-height: 50px;
  margin: 0;
  color: var(--color-ink);
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.auto-clip-product__article {
  max-width: 100%;
  color: var(--color-ink-soft);
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.auto-clip-product__body > strong {
  margin-top: auto;
  color: var(--color-ink);
  font-size: 18px;
}

.auto-clip-product__body > strong small {
  font-size: 11px;
}

.auto-clip-product__footer {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.auto-clip-product__footer .stock {
  min-width: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.auto-clip-product .favorite-form {
  width: 36px;
  min-width: 36px;
}

.auto-clip-product .favorite-button {
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 4px;
  padding: 0;
}

.auto-clip-product .favorite-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.product-list {
  display: grid;
  gap: 12px;
}

.product-list-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.04);
}

.product-list-photo {
  width: 96px;
}

.product-list-photo summary {
  width: 96px;
  height: 76px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: #fff;
  cursor: zoom-in;
  list-style: none;
}

.product-list-photo summary::-webkit-details-marker {
  display: none;
}

.product-list-photo summary img {
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.product-list-photo[open] summary {
  border-color: var(--color-navy-dark);
}

.product-list-photo__large {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 24, 46, 0.68);
  pointer-events: none;
}

.product-list-photo__large img {
  width: min(720px, 86vw);
  max-height: 82vh;
  object-fit: contain;
  padding: 22px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.product-list-item__content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(140px, 0.9fr) minmax(110px, auto) minmax(110px, auto);
  gap: 14px;
  align-items: center;
}

.product-list-item__content h3,
.product-list-item__content p,
.product-list-item__content small {
  margin: 0;
}

.product-list-item__content h3 {
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.25;
}

.product-list-item__content p,
.product-list-item__content small {
  color: var(--color-ink-soft);
  font-size: 14px;
}

.cart-button,
.heart-button,
.outline-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 800;
}

.cart-button {
  gap: 8px;
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 14px;
}

.cart-button .icon {
  width: 18px;
  height: 18px;
}

.heart-button,
.outline-button {
  border: 1px solid #cfd7e1;
  background: #fff;
  color: var(--color-ink);
}

.heart-button .icon {
  width: 20px;
  height: 20px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(300px, 1fr) minmax(340px, 420px);
  gap: 32px;
  align-items: start;
}

.product-gallery__main {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.product-gallery__main img {
  width: 100%;
  height: 330px;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.product-gallery__thumbs span {
  height: 84px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.product-gallery__thumbs span.is-active {
  border-color: var(--color-ink);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 68px;
  object-fit: contain;
}

.product-gallery__thumbs .icon {
  width: 36px;
  height: 36px;
  color: var(--color-ink-soft);
}

.product-summary {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.product-gallery,
.product-buy-panel {
  min-width: 0;
}

.product-summary h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: 34px;
  line-height: 1.12;
}

.product-summary p {
  margin: 0;
  color: var(--color-ink-soft);
}

.spec-list {
  width: 100%;
  margin: 8px 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 6px 0;
  border-bottom: 1px dotted #c9d2de;
}

.spec-list dt {
  color: var(--color-muted);
}

.spec-list dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 800;
  text-align: right;
}

.help-card {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px 1fr 22px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #f3f6fb;
  border-radius: 4px;
}

.help-card small {
  display: block;
  margin-top: 2px;
  color: var(--color-ink-soft);
}

.help-card .icon {
  width: 30px;
  height: 30px;
}

.product-buy-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}

.option-group {
  display: grid;
  gap: 8px;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chips span,
.option-chips a {
  min-width: 46px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.option-chips span.is-active,
.option-chips a.is-active {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  color: #fff;
}

.select-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.select-field select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 0 12px;
  font-weight: 400;
}

.product-table-wrap--compact {
  box-shadow: none;
}

.product-table--compact {
  min-width: 0;
  font-size: 13px;
}

.product-table--compact th,
.product-table--compact td {
  padding: 10px 9px;
}

.product-table--compact td:first-child {
  min-width: auto;
  font-weight: 400;
}

.outline-button {
  width: 100%;
  min-height: 42px;
  color: var(--color-ink);
}

.page .benefits {
  margin-top: 10px;
  background: #f3f6fb;
  color: var(--color-ink);
}

.page .benefit small {
  color: var(--color-ink-soft);
}

.info-page {
  background: #fff;
}

.info-split,
.wholesale-hero,
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.info-copy h2,
.info-block h2,
.client-section h2,
.why-section h2,
.warehouse-copy h2 {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1.2;
}

.info-copy p,
.warehouse-copy p,
.contacts-copy p,
.wholesale-copy p {
  margin: 0 0 16px;
  color: var(--color-ink-soft);
  font-size: 16px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.metric-card,
.terms-strip > div,
.why-grid > div,
.wholesale-benefits > div,
.client-grid article,
.service-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.metric-card {
  background: #fff;
  padding: 18px;
  border-right: 0;
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card span {
  min-width: 0;
}

.metric-card .icon,
.terms-strip .icon,
.why-grid .icon,
.wholesale-benefits .icon,
.client-grid .icon,
.service-card .icon {
  width: 34px;
  height: 34px;
  color: var(--color-ink);
}

.metric-card strong,
.terms-strip strong,
.why-grid span,
.wholesale-benefits strong,
.client-grid strong,
.service-card strong {
  color: var(--color-ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.metric-card small,
.terms-strip small,
.wholesale-benefits small,
.client-grid small,
.service-card small {
  display: block;
  margin-top: 4px;
  color: var(--color-ink-soft);
  font-size: 13px;
  overflow-wrap: break-word;
}

.photo-panel,
.wholesale-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-navy);
}

.about-visual-stack {
  min-width: 0;
  display: grid;
  gap: 32px;
  align-content: start;
}

.yandex-rating-badge {
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
}

.yandex-rating-badge iframe {
  display: block;
  width: 150px;
  height: 80px;
  max-width: 100%;
  border: 0;
}

.photo-panel img,
.wholesale-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.photo-panel figcaption,
.wholesale-photo figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: rgba(0, 31, 58, 0.9);
  color: #fff;
}

.photo-panel figcaption small,
.wholesale-photo figcaption small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
}

.warehouse-showcase {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 2fr);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.warehouse-images {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.warehouse-images img {
  width: 100%;
  height: 188px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.primary-button--navy {
  gap: 8px;
  background: var(--color-navy-dark);
}

.primary-button--light {
  gap: 8px;
  background: #fff;
  color: var(--color-ink);
}

.why-section {
  margin-top: 34px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: #f3f6fb;
  border-radius: 4px;
}

.why-grid > div {
  padding: 22px 18px;
  border-right: 1px solid #dce4ee;
}

.why-grid > div:last-child {
  border-right: 0;
}

.info-block {
  margin-top: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 148px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.notice-line,
.cta-strip,
.terms-strip {
  display: grid;
  align-items: center;
  margin-top: 18px;
  background: #f3f6fb;
  border-radius: 4px;
}

.notice-line {
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 18px;
  color: var(--color-ink);
  font-size: 14px;
}

.notice-line .icon {
  width: 24px;
  height: 24px;
}

.cta-strip {
  grid-template-columns: 54px 1fr auto auto;
  gap: 24px;
  min-height: 92px;
  padding: 18px 28px;
}

.cta-strip > .icon {
  width: 44px;
  height: 44px;
}

.cta-strip small {
  display: block;
  margin-top: 4px;
  color: var(--color-ink-soft);
}

.cta-strip--dark {
  background: var(--color-navy-dark);
  color: #fff;
}

.cta-strip--dark small {
  color: rgba(255, 255, 255, 0.78);
}

.terms-strip {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 18px 26px;
}

.terms-strip > div {
  padding: 0 26px;
  border-right: 1px solid #dce4ee;
}

.terms-strip > div:last-child {
  border-right: 0;
}

.wholesale-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
  gap: 0;
  margin-top: 34px;
}

.wholesale-benefits > div {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 18px;
  border-right: 1px solid var(--color-border);
}

.wholesale-benefits > div span {
  min-width: 0;
}

.wholesale-benefits > div:first-child {
  padding-left: 0;
}

.wholesale-benefits > div:last-child {
  border-right: 0;
}

.marketplaces-page {
  padding-bottom: 42px;
}

.marketplaces-heading {
  max-width: 780px;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.marketplace-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 212px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(8, 24, 46, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marketplace-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(8, 24, 46, 0.12);
}

.marketplace-card__top {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 28px;
}

.marketplace-card--ozon .marketplace-card__top {
  background: #eef6ff;
}

.marketplace-card--wb .marketplace-card__top {
  background: #f8f1ff;
}

.marketplace-card--ym .marketplace-card__top {
  background: #fffbea;
}

.marketplace-card__logo {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.12);
}

.marketplace-card__logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.marketplace-card h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1.15;
  text-align: center;
}

.marketplace-card__body {
  display: grid;
  grid-template-rows: minmax(80px, auto) auto auto;
  gap: 22px;
  padding: 28px 24px 24px;
}

.marketplace-card__body p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 16px;
}

.marketplace-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--color-muted);
  font-size: 14px;
}

.marketplace-rating,
.marketplace-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.marketplace-rating .icon {
  width: 22px;
  height: 22px;
  color: #f0b400;
  fill: currentColor;
  stroke: currentColor;
}

.marketplace-rating strong {
  color: #d99a00;
}

.marketplace-reviews .icon {
  width: 20px;
  height: 20px;
  color: var(--color-muted);
}

.marketplace-card__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(8, 24, 46, 0.14);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.marketplace-card__button:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.marketplace-card__button .icon {
  width: 18px;
  height: 18px;
}

.marketplace-card--ozon .marketplace-card__button {
  background: #2364e8;
}

.marketplace-card--wb .marketplace-card__button {
  background: #9626dd;
}

.marketplace-card--ym .marketplace-card__button {
  background: #d39000;
}

.client-section {
  margin-top: 26px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client-grid article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.contacts-layout {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.contact-card > .icon {
  width: 66px;
  height: 76px;
  padding: 18px;
  background: var(--color-navy-dark);
  color: #fff;
}

.contact-card small,
.contact-card a {
  display: block;
  margin-top: 4px;
  color: var(--color-ink);
  font-weight: 800;
}

.map-panel {
  position: relative;
  min-height: 382px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #eef3f7;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
}

.reviews-panel {
  width: min(100%, 700px);
  height: 1200px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
}

.reviews-panel iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 1180px) {
  .header-main {
    grid-template-columns: 320px minmax(240px, 1fr) auto;
    gap: 22px;
  }

  .brand__text strong {
    font-size: 30px;
  }

  .header-actions {
    gap: 18px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalog-grid--page {
    grid-template-columns: repeat(3, 1fr);
  }

  .desktop-nav__catalog {
    min-width: 220px;
  }

  .desktop-nav__links {
    gap: 12px;
    padding-inline: 14px;
    justify-content: space-between;
  }

  .desktop-nav__links a {
    padding-inline: 6px;
    font-size: 13px;
  }

  .product-detail {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  }

  .product-buy-panel {
    grid-column: 1 / -1;
  }

  .metric-strip,
  .marketplace-grid,
  .why-grid,
  .wholesale-benefits,
  .client-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card,
  .why-grid > div,
  .wholesale-benefits > div,
  .terms-strip > div {
    border-right: 0;
  }
}

@media (max-width: 960px) {
  body {
    padding-bottom: 78px;
  }

  .site-footer__inner {
    gap: 20px;
    padding-block: 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__brand p,
  .site-footer__notice p {
    font-size: 13px;
    line-height: 1.55;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__inner {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .topbar__contacts {
    justify-self: end;
    gap: 16px;
  }

  .topbar__item--hours {
    display: none;
  }

  .topbar__item {
    font-size: 13px;
  }

  .topbar__item .icon {
    width: 17px;
    height: 17px;
  }

  .header-main {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-block: 20px 14px;
  }

  .brand {
    gap: 14px;
  }

  .brand__logo {
    width: 84px;
    height: 84px;
  }

  .brand__text strong {
    font-size: 32px;
  }

  .brand__text span {
    max-width: 250px;
    font-size: 18px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: #fff;
    color: var(--color-ink);
    cursor: pointer;
  }

  .menu-toggle .icon {
    width: 34px;
    height: 34px;
  }

  .header-main__search {
    grid-column: 1 / -1;
    height: 60px;
    grid-template-columns: 1fr 72px;
  }

  .header-actions,
  .desktop-nav {
    display: none;
  }

  .designer-catalog,
  .info-page > .container {
    padding-block: 22px 36px;
  }

  .catalog-layout,
  .product-detail,
  .info-split,
  .wholesale-hero,
  .contacts-layout,
  .warehouse-showcase {
    grid-template-columns: 1fr;
  }

  .about-visual-stack {
    gap: 20px;
  }

  .yandex-rating-badge {
    min-height: 112px;
    padding: 16px;
  }

  .catalog-sidebar {
    display: grid;
    gap: 8px;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .catalog-sidebar h2 {
    display: none;
  }

  .catalog-sidebar__group {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
  }

  .catalog-sidebar__section {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .catalog-sidebar a {
    min-height: 48px;
    padding: 9px 12px;
    border-left: 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
  }

  .catalog-sidebar a.is-active {
    background: #fff7f8;
    border-bottom-color: var(--color-red);
  }

  .catalog-toolbar__spacer {
    display: none;
  }

  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-list-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .product-list-photo,
  .product-list-photo summary {
    width: 82px;
  }

  .product-list-photo summary {
    height: 68px;
  }

  .product-list-photo summary img {
    height: 54px;
  }

  .product-list-item__content {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-summary h1 {
    font-size: 30px;
  }

  .product-gallery__main {
    min-height: 300px;
  }

  .product-gallery__main img {
    height: 250px;
  }

  .metric-strip,
  .marketplace-grid,
  .why-grid,
  .wholesale-benefits,
  .client-grid,
  .service-grid,
  .terms-strip,
  .cta-strip {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .terms-strip > div,
  .why-grid > div,
  .wholesale-benefits > div {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .metric-card:last-child,
  .terms-strip > div:last-child,
  .why-grid > div:last-child,
  .wholesale-benefits > div:last-child {
    border-bottom: 0;
  }

  .terms-strip {
    gap: 10px;
    padding: 0;
    background: transparent;
  }

  .terms-strip > div {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    background: #fff;
  }

  .terms-strip > div:last-child {
    border-bottom: 1px solid var(--color-border);
  }

  .wholesale-benefits > div {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 0;
  }

  .wholesale-benefits > div:first-child {
    padding-left: 0;
  }

  .wholesale-benefits > div:last-child {
    padding-right: 0;
  }

  .warehouse-images {
    grid-template-columns: repeat(3, 1fr);
  }

  .marketplace-card {
    grid-template-rows: 176px 1fr;
  }

  .marketplace-card__body {
    grid-template-rows: auto auto auto;
  }

  .mobile-menu {
    display: grid;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-card);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
    font-weight: 700;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .hero {
    background: #fff;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 8px;
    margin-top: 10px;
  }

  .hero__inner::before,
  .hero__inner::after {
    display: none;
  }

  .hero__content {
    min-height: 250px;
    display: grid;
    align-content: center;
    padding: 28px 28px 22px;
    background: var(--color-navy);
  }

  .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin-left: 0;
    min-height: 100%;
    opacity: 0.28;
    clip-path: none;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 34px;
  }

  .hero p {
    max-width: 560px;
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero__features {
    grid-template-columns: repeat(4, 1fr);
    max-width: 560px;
  }

  .hero__features span {
    padding-inline: 8px;
    font-size: 10px;
  }

  .hero__features .icon {
    width: 38px;
    height: 38px;
  }

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-card {
    grid-template-columns: 1fr 112px;
  }

  .benefits__inner {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 22px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    min-height: 72px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 8px 6px 10px;
    background: var(--color-navy-dark);
    color: #fff;
    box-shadow: 0 -10px 24px rgba(0, 31, 58, 0.18);
  }

  .mobile-bottom-nav__item {
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
  }

  .mobile-bottom-nav__item .icon {
    width: 27px;
    height: 27px;
  }

  .mobile-bottom-nav__item.is-active {
    color: #ea2f46;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer__logo {
    align-items: flex-start;
  }

  .site-footer__logo img {
    width: 56px;
    height: 56px;
  }

  .site-footer__notice {
    padding: 14px;
  }

  .topbar__item--address span {
    max-width: 218px;
    white-space: normal;
    line-height: 1.25;
  }

  .topbar__item--email {
    display: none;
  }

  .header-main {
    padding-top: 18px;
  }

  .brand__logo {
    width: 70px;
    height: 70px;
  }

  .brand__text strong {
    font-size: 26px;
  }

  .brand__text span {
    max-width: 210px;
    font-size: 15px;
  }

  .search-form {
    height: 54px;
    grid-template-columns: 1fr 64px;
  }

  .search-form input {
    padding-inline: 16px;
    font-size: 15px;
  }

  .hero__content {
    min-height: 310px;
    padding: 30px 24px 22px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero__features {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__features span {
    padding-inline: 5px;
    border-right-color: rgba(255, 255, 255, 0.2);
  }

  .hero__features .icon {
    width: 32px;
    height: 32px;
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 18px;
  }

  .promo-card {
    min-height: 218px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    padding: 16px;
  }

  .promo-card strong {
    font-size: 16px;
  }

  .promo-card img {
    justify-self: center;
    width: 132px;
    height: 96px;
  }

  .section-heading {
    align-items: flex-start;
    margin-top: 8px;
  }

  .home-catalog-groups {
    gap: 24px;
  }

  .home-catalog-group__heading {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading a {
    max-width: 150px;
    justify-content: flex-end;
    text-align: right;
    font-size: 14px;
  }

  .catalog-grid,
  .catalog-grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    min-height: 174px;
    grid-template-rows: 112px auto;
    padding: 14px 10px 12px;
  }

  .category-card img {
    width: 140px;
    height: 102px;
  }

  .category-card--large {
    min-height: 220px;
    grid-template-rows: 118px auto minmax(42px, auto);
  }

  .benefits {
    background: var(--color-page);
    color: var(--color-ink);
  }

  .benefits__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 24px 30px;
  }

  .benefit {
    grid-template-columns: 48px 1fr;
    padding: 0;
    color: var(--color-ink);
  }

  .benefit small {
    color: var(--color-ink-soft);
  }

  .category-page {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }

  .category-page h1 {
    font-size: 30px;
  }

  .page-title {
    font-size: 32px;
  }

  .catalog-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }

  .catalog-toolbar button,
  .catalog-toolbar label,
  .filter-label {
    flex: none;
    justify-content: center;
  }

  .catalog-toolbar .filter-label {
    grid-column: 1 / -1;
    min-height: auto;
    justify-content: flex-start;
    padding: 0 2px 2px;
    border: 0;
    background: transparent;
    font-size: 14px;
  }

  .catalog-toolbar .filter-control {
    min-width: 0;
    display: grid;
    gap: 4px;
    justify-content: stretch;
    padding: 8px 10px;
  }

  .catalog-toolbar .filter-control span {
    color: var(--color-ink-soft);
    font-size: 12px;
    line-height: 1.2;
  }

  .catalog-toolbar .filter-control select {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-weight: 800;
  }

  .catalog-toolbar .filter-control--sort,
  .catalog-toolbar .filter-submit,
  .catalog-toolbar .filter-reset {
    grid-column: 1 / -1;
  }

  .catalog-toolbar .filter-control--sort {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .catalog-toolbar .filter-submit,
  .catalog-toolbar .filter-reset {
    width: 100%;
    justify-content: center;
  }

  .catalog-toolbar .view-toggle {
    width: auto;
    min-width: 0;
  }

  .photo-panel img,
  .wholesale-photo img {
    height: 300px;
  }

  .photo-panel figcaption,
  .wholesale-photo figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .wholesale-copy p {
    margin-bottom: 22px;
  }

  .wholesale-benefits {
    gap: 10px;
    margin-top: 24px;
  }

  .wholesale-benefits > div,
  .terms-strip > div,
  .client-grid article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    background: #fff;
  }

  .wholesale-benefits > div:first-child,
  .wholesale-benefits > div:last-child {
    padding: 14px;
  }

  .wholesale-benefits > div {
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .wholesale-benefits > div:last-child {
    border-bottom: 1px solid var(--color-border);
  }

  .wholesale-benefits .icon,
  .terms-strip .icon,
  .client-grid .icon {
    width: 32px;
    height: 32px;
  }

  .wholesale-benefits strong,
  .terms-strip strong,
  .client-grid strong {
    font-size: 15px;
    line-height: 1.25;
  }

  .wholesale-benefits small,
  .terms-strip small,
  .client-grid small {
    font-size: 13px;
    line-height: 1.35;
  }

  .terms-strip {
    gap: 10px;
    padding: 0;
    background: transparent;
  }

  .terms-strip > div {
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .terms-strip > div:last-child {
    border-bottom: 1px solid var(--color-border);
  }

  .client-grid {
    gap: 10px;
  }

  .cta-strip {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    margin-bottom: 28px;
  }

  .cta-strip > .icon {
    width: 34px;
    height: 34px;
  }

  .cta-strip .primary-button,
  .cta-strip > strong {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cta-strip > strong {
    text-align: center;
  }

  .map-panel {
    min-height: 320px;
  }

  .reviews-panel {
    height: 1200px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .site-footer__inner {
    gap: 16px;
    padding-block: 16px;
  }

  .site-footer__logo strong {
    font-size: 21px;
  }

  .site-footer__section {
    gap: 8px;
  }

  .site-footer__brand p,
  .site-footer__notice p {
    font-size: 12px;
    line-height: 1.5;
  }

  .topbar__item {
    gap: 6px;
    font-size: 12px;
  }

  .topbar__item--address span {
    max-width: 184px;
  }

  .brand {
    gap: 10px;
  }

  .brand__logo {
    width: 62px;
    height: 62px;
  }

  .brand__text strong {
    font-size: 23px;
  }

  .brand__text span {
    max-width: 180px;
    font-size: 14px;
  }

  .menu-toggle {
    width: 42px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero__features span {
    font-size: 9px;
  }

  .promo-card {
    min-height: 206px;
  }

  .category-card strong {
    font-size: 14px;
  }

  .page-title {
    font-size: 28px;
  }

  .catalog-toolbar button:nth-of-type(n + 4) {
    display: none;
  }

  .product-card-grid {
    gap: 12px;
  }

  .product-card {
    grid-template-rows: 132px 1fr;
  }

  .product-card__image img {
    height: 110px;
  }

  .product-card__body {
    grid-template-rows: 54px 18px 18px 18px auto;
    gap: 7px;
    padding-inline: 12px;
  }

  .product-card__body h3 {
    max-height: 54px;
  }

  .product-card__actions {
    grid-template-columns: 1fr 40px;
    padding: 0 12px 12px;
  }

  .auto-clip-types {
    grid-template-columns: 1fr;
  }

  .auto-clip-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .auto-clip-product {
    grid-template-rows: 132px 1fr;
  }

  .auto-clip-product__image img {
    height: 112px;
  }

  .auto-clip-product__body {
    padding: 8px 10px 10px;
  }

  .auto-clip-product__body h3 {
    min-height: 64px;
    font-size: 13px;
  }

  .cart-button {
    font-size: 0;
  }

  .cart-button .icon {
    width: 22px;
    height: 22px;
  }

  .product-summary h1 {
    font-size: 26px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-gallery__thumbs span {
    height: 64px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .spec-list dd {
    text-align: left;
  }

  .warehouse-images {
    grid-template-columns: 1fr;
  }

  .warehouse-images img {
    height: 150px;
  }

  .contact-card {
    grid-template-columns: 56px 1fr;
  }

  .contact-card > .icon {
    width: 56px;
  }
}
