:root {
  --catalog-dark: #15181d;
  --catalog-orange: #f26c22;
  --catalog-cream: #f4f2ee;
  --catalog-card: #fffdf8;
  --catalog-ink: #15181d;
  --catalog-muted: #626970;
  --catalog-border: #dedbd4;
  --catalog-container: min(92%, 1260px);
  --catalog-product-image-ratio: 13 / 10;
  --catalog-product-media-height: 232px;
  --catalog-product-image-max-width: 100%;
  --catalog-product-image-max-height: 214px;
  font-family: Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-padding-top: 116px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--catalog-cream);
  color: var(--catalog-ink);
  font-family: Arial, sans-serif;
}

button,
select,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

h1,
h2,
p {
  margin: 0;
}

.product-page-container {
  width: var(--catalog-container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 1200;
  padding: 10px 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--catalog-dark);
}

.skip-link:focus {
  top: 16px;
}

.catalog-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: var(--catalog-dark);
  color: #fff;
}

.catalog-header-inner {
  width: 100%;
  max-width: none;
  height: 96px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  column-gap: clamp(18px, 2.2vw, 34px);
  align-items: center;
  margin: 0 auto;
  padding: 0 max(4vw, calc((100vw - 1600px) / 2));
}

.catalog-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: visible;
  transform: scale(1);
  transform-origin: center;
  transition: transform 220ms ease;
}

.catalog-brand:hover,
.catalog-brand:focus-visible {
  transform: scale(1.05);
}

.catalog-brand img {
  width: auto;
  max-width: 255px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.24));
  transition: filter 220ms ease;
}

.catalog-brand:hover img,
.catalog-brand:focus-visible img {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.catalog-desktop-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.catalog-desktop-nav a {
  padding: 10px 0;
  color: #fff;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 180ms ease;
}

html[lang="ru"] .catalog-desktop-nav,
html[data-language="ru"] .catalog-desktop-nav {
  gap: 16px;
}

html[lang="ru"] .catalog-desktop-nav a,
html[data-language="ru"] .catalog-desktop-nav a {
  font-size: 14px;
}

html[lang="ar"] .catalog-desktop-nav,
html[data-language="ar"] .catalog-desktop-nav {
  gap: 18px;
}

.catalog-desktop-nav a:hover,
.catalog-desktop-nav a:focus-visible,
.catalog-desktop-nav a.active {
  color: var(--catalog-orange);
}

.catalog-quote-button,
.catalog-mobile-quote {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 20px;
  background: var(--catalog-orange);
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 180ms ease;
}

.catalog-quote-button:hover,
.catalog-mobile-quote:hover {
  background: #dc5918;
}

.catalog-language-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-switcher {
  position: relative;
  z-index: 1001;
  direction: ltr;
  font-family: Arial, sans-serif;
}

.language-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible,
.language-switcher.open .language-toggle {
  color: var(--catalog-orange);
}

.language-toggle svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.55;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 176px;
  padding: 8px;
  border: 1px solid rgba(222, 202, 168, 0.78);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  background: rgba(239, 226, 197, 0.96);
  box-shadow: 0 16px 32px rgba(92, 70, 42, 0.16);
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.language-switcher.open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
}

.language-option {
  min-height: 38px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--catalog-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.active {
  color: var(--catalog-orange);
  background: rgba(250, 214, 190, 0.84);
}

.language-code {
  color: inherit;
  font-weight: 800;
}

.language-name {
  color: #5f6670;
  font-weight: 600;
  text-align: left;
}

.language-option:hover .language-name,
.language-option:focus-visible .language-name,
.language-option.active .language-name {
  color: #a84111;
}

.catalog-menu-button {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.catalog-menu-button svg {
  width: 28px;
  height: 28px;
}

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

.catalog-intro-band {
  width: 100%;
  padding: 56px 0 38px;
  background: var(--catalog-cream);
}

.catalog-intro-layout {
  width: 100%;
  max-width: 1500px;
  padding-right: 24px;
  padding-left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 30px;
  align-items: start;
}

.catalog-title-block {
  min-width: 0;
}

.catalog-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #b94915;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.catalog-eyebrow-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: var(--catalog-orange);
}

.catalog-eyebrow-mark::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 8px;
  border-right: 2px solid var(--catalog-card);
  border-bottom: 2px solid var(--catalog-card);
  transform: rotate(-45deg);
}

.catalog-title-block h1 {
  max-width: 860px;
  color: var(--catalog-dark);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.catalog-title-block > p:last-child {
  max-width: 760px;
  margin-top: 12px;
  color: var(--catalog-muted);
  font-size: 16px;
  line-height: 1.45;
}

.catalog-filter-control {
  width: 100%;
  align-self: start;
  justify-self: end;
}

.catalog-filter-control > label {
  display: block;
  margin-bottom: 8px;
  color: var(--catalog-muted);
  font-size: 14px;
  font-weight: 400;
}

.catalog-select-wrap {
  position: relative;
}

.catalog-select-wrap select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 14px;
  appearance: none;
  border: 1px solid #d8dde2;
  border-radius: 10px;
  outline: none;
  background: var(--catalog-card);
  color: var(--catalog-dark);
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-select-wrap select:hover {
  border-color: var(--catalog-orange);
  box-shadow: 0 0 0 3px rgba(242, 108, 34, 0.08);
}

.catalog-select-wrap select:focus {
  border-color: var(--catalog-orange);
  box-shadow: 0 0 0 3px rgba(242, 108, 34, 0.12);
}

.catalog-select-wrap svg {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--catalog-muted);
}

.catalog-select-wrap.is-customized > select {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.catalog-custom-select {
  position: relative;
  z-index: 6;
}

.catalog-custom-select.open {
  z-index: 30;
}

.catalog-select-button {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 0 46px 0 16px;
  border: 2px solid #918c84;
  border-radius: 20px;
  outline: none;
  background: #fff;
  color: #15181d;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, border-radius 180ms ease, box-shadow 220ms ease;
}

.catalog-select-button:hover,
.catalog-select-button:focus-visible {
  border-color: var(--catalog-orange);
  box-shadow: 0 0 0 3px rgba(242, 108, 34, 0.12);
}

.catalog-custom-select.open .catalog-select-button {
  border-color: #918c84;
  border-bottom-color: rgba(145, 140, 132, 0.34);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 28px rgba(21, 24, 29, 0.08);
}

.catalog-custom-select .catalog-select-button svg {
  right: 16px;
  width: 18px;
  height: 18px;
  color: #59616b;
}

.catalog-select-menu {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  left: 0;
  display: none;
  max-height: 292px;
  overflow-y: auto;
  padding: 0;
  border: 2px solid #918c84;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(21, 24, 29, 0.16);
  scrollbar-width: none;
}

.catalog-select-menu::-webkit-scrollbar {
  display: none;
}

.catalog-custom-select.open .catalog-select-menu {
  display: block;
}

.catalog-select-option {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 24px;
  border: 0;
  background: #fff;
  color: #5f6670;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.catalog-select-option:hover,
.catalog-select-option:focus-visible {
  outline: none;
  background: #fff1dc;
  color: #c75b19;
}

.catalog-select-option.active {
  background: #fff;
  color: #c75b19;
}

.catalog-select-option.is-placeholder {
  color: #c75b19;
  background: #fff1dc;
}

#catalogCount {
  margin-top: 8px;
  color: var(--catalog-muted);
  font-size: 14px;
  line-height: 1.4;
}

.catalog-products-band {
  width: 100%;
  padding: 0 0 60px;
}

.catalog-layout {
  width: 100%;
  max-width: 1600px;
  padding-right: 32px;
  padding-left: 32px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 126px;
  min-width: 0;
}

.catalog-sidebar > p {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--catalog-border);
  color: var(--catalog-muted);
  font-size: 16px;
  font-weight: 700;
}

.application-filter-group { margin-top: 28px; }
.application-filter-group > p { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--catalog-border); color: var(--catalog-muted); font-size: 16px; font-weight: 700; }
.application-tabs button { text-align: start; }
.catalog-select-group-label { margin-top: 8px; padding: 12px 16px 6px; border-top: 1px solid var(--catalog-border); color: var(--catalog-muted); font-size: 13px; font-weight: 700; }
@media (min-width: 1101px) {
  .catalog-sidebar { max-height: calc(100svh - 146px); overflow-y: auto; scrollbar-width: thin; padding-inline: 4px; }
}

.category-tabs {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.category-tabs button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--catalog-dark);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.category-tabs button span {
  color: var(--catalog-muted);
  font-size: 13px;
}

.category-tabs button:hover,
.category-tabs button.active {
  background: var(--catalog-orange);
  color: #fff;
}

.category-tabs button:not(.active):hover {
  background: #ebe8e2;
  color: var(--catalog-dark);
}

.category-tabs button:not(.active):hover span {
  color: var(--catalog-muted);
}

.category-tabs button:hover span,
.category-tabs button.active span {
  color: #fff;
}

.download-catalog-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 20px 14px 10px;
  border-top: 1px solid var(--catalog-border);
  color: #a84111;
  font-size: 14px;
  font-weight: 700;
}

.download-catalog-link svg {
  width: 18px;
  height: 18px;
}

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

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.catalog-product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 54px auto 22px 42px;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(21, 24, 29, 0.06);
  border-radius: 20px;
  background: var(--catalog-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalog-product-card.has-color-options {
  grid-template-rows: 54px auto 10px 22px 42px;
  gap: 8px;
}

.catalog-product-card[data-product-type="drill"],
.catalog-product-card[data-product-type="screwdriver"] {
  --catalog-product-image-max-width: 100%;
  --catalog-product-image-max-height: 212px;
}

.catalog-product-card[data-product-type="impact"],
.catalog-product-card[data-product-type="wrenchKit"] {
  --catalog-product-image-max-width: 100%;
  --catalog-product-image-max-height: 210px;
}

.catalog-product-card[hidden] {
  display: none;
}

.catalog-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(21, 24, 29, 0.11);
}

.catalog-product-card header {
  height: 54px;
  overflow: hidden;
}

.catalog-product-card.has-color-options header {
  height: 54px;
}

.catalog-product-card header span {
  display: block;
  margin-bottom: 4px;
  color: #c44d16;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-product-card h2 {
  height: 36px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--catalog-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.catalog-product-media {
  position: relative;
  width: 100%;
  height: var(--catalog-product-media-height);
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--catalog-card);
}

.catalog-product-card.has-color-options .catalog-product-media {
  height: var(--catalog-product-media-height);
}

.catalog-product-media img {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  max-width: var(--catalog-product-image-max-width);
  max-height: var(--catalog-product-image-max-height);
  margin: auto;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1;
}

.catalog-load-more {
  display: block; margin: 28px auto 0; padding: 12px 28px;
  min-height: 44px; border: 1px solid #cd561c; border-radius: 6px;
  background: #fff; color: #a64011; font: inherit; cursor: pointer;
}
.catalog-load-more[hidden] { display: none; }
.catalog-product-media img:not([src]) { visibility: hidden; }

.catalog-product-card.has-color-options .catalog-product-media img {
  width: auto;
  height: auto;
  max-width: var(--catalog-product-image-max-width);
  max-height: var(--catalog-product-image-max-height);
  object-fit: contain;
  object-position: center;
  transform: none;
}

.catalog-color-switcher {
  min-height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  gap: 3px;
}

.catalog-color-swatch {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  padding: 0;
  border: 1px solid #fffdf8;
  border-radius: 50%;
  outline: none;
  background: var(--swatch-color);
  box-shadow: 0 0 0 1px rgba(21, 24, 29, 0.18);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.catalog-color-swatch:hover,
.catalog-color-swatch:focus-visible,
.catalog-color-swatch.active {
  box-shadow: 0 0 0 2px var(--catalog-orange), 0 0 0 2px rgba(242, 108, 34, 0.1);
}

.catalog-color-swatch:hover,
.catalog-color-swatch:focus-visible {
  transform: translateY(-1px);
}

.catalog-product-meta {
  height: 22px;
  min-height: 22px;
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  overflow: hidden;
}

.catalog-product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid #ece7df;
  border-radius: 999px;
  color: var(--catalog-muted);
  background: #fff;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.catalog-product-card > a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--catalog-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 180ms ease;
}

.catalog-product-card > a:hover {
  background: #dc5918;
}

.catalog-product-card > a svg {
  width: 17px;
  height: 17px;
}

html[lang="ar"] .catalog-intro-layout,
html[data-language="ar"] .catalog-intro-layout,
html[lang="ar"] .catalog-layout,
html[data-language="ar"] .catalog-layout {
  direction: rtl;
}

html[lang="ar"] .catalog-title-block,
html[data-language="ar"] .catalog-title-block,
html[lang="ar"] .catalog-filter-control,
html[data-language="ar"] .catalog-filter-control,
html[lang="ar"] .catalog-sidebar,
html[data-language="ar"] .catalog-sidebar,
html[lang="ar"] .catalog-product-card,
html[data-language="ar"] .catalog-product-card {
  text-align: right;
}

html[lang="ar"] .catalog-eyebrow,
html[data-language="ar"] .catalog-eyebrow,
html[lang="ar"] .download-catalog-link,
html[data-language="ar"] .download-catalog-link,
html[lang="ar"] .catalog-product-card > a,
html[data-language="ar"] .catalog-product-card > a,
html[lang="ar"] .category-tabs button,
html[data-language="ar"] .category-tabs button,
html[lang="ar"] .catalog-product-meta,
html[data-language="ar"] .catalog-product-meta {
  flex-direction: row-reverse;
}

html[lang="ar"] .catalog-select-wrap select,
html[data-language="ar"] .catalog-select-wrap select {
  padding-right: 14px;
  padding-left: 42px;
}

html[lang="ar"] .catalog-select-button,
html[data-language="ar"] .catalog-select-button {
  padding-right: 16px;
  padding-left: 46px;
  text-align: right;
}

html[lang="ar"] .catalog-select-option,
html[data-language="ar"] .catalog-select-option {
  text-align: right;
}

html[lang="ar"] .catalog-select-wrap svg,
html[data-language="ar"] .catalog-select-wrap svg {
  right: auto;
  left: 18px;
}

html[lang="ar"] .catalog-custom-select .catalog-select-button svg,
html[data-language="ar"] .catalog-custom-select .catalog-select-button svg {
  right: auto;
  left: 16px;
}

html[lang="ar"] .catalog-product-card > a svg,
html[data-language="ar"] .catalog-product-card > a svg {
  transform: rotate(180deg);
}

html[lang="ru"] .catalog-title-block h1,
html[data-language="ru"] .catalog-title-block h1 {
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.08;
}

html[lang="ru"] .catalog-product-card h2,
html[data-language="ru"] .catalog-product-card h2 {
  font-size: 17px;
}

.catalog-empty {
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.catalog-empty:not([hidden]) {
  display: grid;
}

.catalog-empty svg {
  width: 42px;
  height: 42px;
  color: var(--catalog-orange);
}

.catalog-empty h2 {
  font-size: 26px;
}

.catalog-empty p {
  color: var(--catalog-muted);
}

.catalog-footer {
  width: 100%;
  padding: 30px 0;
  background: var(--catalog-dark);
  color: #fff;
}

.catalog-footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.catalog-footer-inner strong {
  font-size: 18px;
}

.catalog-footer nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.catalog-footer a,
.catalog-footer p {
  color: #b4b9c0;
  font-size: 14px;
}

.catalog-footer a:hover {
  color: var(--catalog-orange);
}

@media (max-width: 1600px) {
  .catalog-product-meta {
    gap: 3px;
  }

  .catalog-product-meta span {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 11px;
  }
}

@media (max-width: 1500px) and (min-width: 1025px) {
  .catalog-brand img {
    max-width: 240px;
    height: 52px;
  }

  .catalog-desktop-nav {
    gap: 22px;
  }

  .catalog-desktop-nav a,
  .language-toggle {
    font-size: 16px;
  }

  .catalog-quote-button {
    padding-inline: 24px;
    font-size: 17px;
  }
}

@media (max-width: 1199px) {
  .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-header-inner {
    column-gap: 24px;
  }

  .catalog-desktop-nav {
    gap: 20px;
  }

  .language-toggle {
    font-size: 16px;
  }
}

@media (max-width: 1100px) {
  .catalog-header-inner {
    height: 80px;
    padding: 0 4vw;
  }

  .catalog-brand img {
    max-width: 190px;
    height: 40px;
  }

  .catalog-desktop-nav,
  .catalog-language-slot,
  .catalog-header-inner > .catalog-quote-button {
    display: none;
  }

  .catalog-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .catalog-menu-button {
    display: grid;
    justify-self: end;
  }

  .catalog-mobile-menu {
    max-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    background: var(--catalog-dark);
    transition: max-height 280ms ease, opacity 180ms ease, visibility 0s linear 280ms, padding-bottom 280ms ease;
  }

  .catalog-mobile-menu.open {
    max-height: 740px;
    padding-bottom: 20px;
    opacity: 1;
    visibility: visible;
    transition: max-height 280ms ease, opacity 180ms ease, visibility 0s, padding-bottom 280ms ease;
  }

  .catalog-mobile-menu > a:not(.catalog-mobile-quote) {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2c3036;
    color: #fff;
    font-size: 17px;
  }

  .catalog-mobile-language-slot,
  .catalog-mobile-menu .language-switcher-mobile {
    width: 100%;
    margin: 4px 0 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2c3036;
  }

  .catalog-mobile-menu .language-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 0;
    color: #fff;
    font-size: 17px;
  }

  .catalog-mobile-menu .language-toggle svg:first-child {
    margin-right: 8px;
  }

  .catalog-mobile-menu .language-toggle span {
    margin-right: auto;
  }

  .catalog-mobile-menu .language-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    transition: max-height 240ms ease, margin-top 240ms ease, padding 240ms ease;
  }

  .catalog-mobile-menu .language-switcher.open .language-menu {
    max-height: 220px;
    margin-top: 8px;
    padding: 8px;
  }

  .catalog-mobile-menu .language-option {
    color: #fff;
    background: transparent;
  }

  .catalog-mobile-menu .language-option:hover,
  .catalog-mobile-menu .language-option:focus-visible,
  .catalog-mobile-menu .language-option.active {
    color: var(--catalog-orange);
    background: rgba(242, 108, 34, 0.16);
  }

  .catalog-mobile-menu .language-name {
    color: #b4b9c0;
  }

  .catalog-mobile-menu .language-option:hover .language-name,
  .catalog-mobile-menu .language-option:focus-visible .language-name,
  .catalog-mobile-menu .language-option.active .language-name {
    color: #ffd2bb;
  }

  .catalog-mobile-menu > a.active {
    color: var(--catalog-orange);
  }

  .catalog-mobile-quote {
    width: 100%;
    margin-top: 18px;
  }

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

  .catalog-sidebar {
    display: none;
  }

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

  .catalog-title-block h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --catalog-container: calc(100% - 32px);
    --catalog-product-media-height: 214px;
    --catalog-product-image-max-width: 100%;
    --catalog-product-image-max-height: 198px;
  }

  .catalog-intro-band {
    padding: 40px 0;
  }

  .catalog-intro-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .catalog-title-block h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .catalog-title-block > p:last-child {
    font-size: 16px;
    line-height: 1.5;
  }

  .catalog-filter-control > label,
  #catalogCount {
    font-size: 14px;
  }

  .catalog-select-button {
    min-height: 44px;
    border-radius: 18px;
    font-size: 15px;
  }

  .catalog-custom-select.open .catalog-select-button {
    border-radius: 18px 18px 0 0;
  }

  .catalog-select-option {
    min-height: 40px;
    font-size: 16px;
  }

  .catalog-product-card header span {
    font-size: 16px;
  }

  .catalog-product-meta span {
    font-size: 13px;
  }

  .catalog-products-band {
    padding: 0 0 40px;
  }

  .catalog-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .catalog-product-card {
    padding: 16px;
  }

  .catalog-product-card header {
    height: 52px;
  }

  .catalog-product-card.has-color-options header {
    height: 52px;
  }

  .catalog-product-card h2 {
    font-size: 15px;
  }

  .catalog-product-media {
    height: var(--catalog-product-media-height);
    min-height: 0;
  }

  .catalog-product-card.has-color-options .catalog-product-media {
    height: var(--catalog-product-media-height);
  }

  .catalog-product-media img {
    width: auto;
    height: auto;
    max-width: var(--catalog-product-image-max-width);
    max-height: var(--catalog-product-image-max-height);
    aspect-ratio: auto;
    object-fit: contain;
  }

  .catalog-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .catalog-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 24px;
  }
}

@media (hover: none), (pointer: coarse) {
  .catalog-product-card:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  }
}

.catalog-subcategories {
  display: grid;
  gap: 6px;
  margin-inline-start: 14px;
  padding-inline-start: 10px;
  border-inline-start: 1px solid #d9572b;
}
.category-tabs .catalog-subcategories button {
  font-size: 13px;
  min-width: 0;
  text-align: start;
}
.category-tabs button.has-active-child { color: #b94820; }
.catalog-select-menu .catalog-select-subcategory { padding-inline-start: 30px; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
