/* =========================================================
   ЛОКАЛЬНЫЕ ШРИФТЫ
   Файлы лежат в /css/fonts/
   ========================================================= */

@font-face {
  font-family: "Onest";
  src: url("/css/fonts/Onest-VariableFont_wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("/css/fonts/Unbounded-VariableFont_wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --hf-accent: var(--color_gl, #f0b159);
  --hf-accent-hover: var(--color_gl_hover, #d89a43);
  --hf-dark: var(--color_dop, #111111);
  --hf-dark-hover: var(--color_dop_hover, #2a2a2a);
  --hf-bg: #f2f2f2;
  --hf-surface: #ffffff;
  --hf-text: #161616;
  --hf-muted: #737373;
  --hf-border: #dddddd;
  --hf-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --hf-radius: 12px;
  --hf-container: 1400px;

  --font-main: "Onest", Arial, sans-serif;
  --font-accent: "Unbounded", "Onest", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-main);
}

body {
  margin: 0;
  color: var(--hf-text);
  background: #ffffff;
}

/* Акцентный шрифт используем только там, где он не мешает читаемости */
h1,
.accent-title,
.section-title,
.site-footer__section h2 {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.font-main {
  font-family: var(--font-main) !important;
}

.font-accent {
  font-family: var(--font-accent) !important;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-header,
.site-footer {
  color: var(--hf-text);
  font-family: var(--font-main);
}

.site-header {
  position: relative;
  z-index: 1000;
  background: rgba(242, 242, 242, 0.98);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.site-header.is-scrolled {
  position: sticky;
  top: 0;
  border-bottom-color: var(--hf-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(12px);
}

.site-header__container,
.site-footer__container {
  width: min(calc(100% - 48px), var(--hf-container));
  margin: 0 auto;
}

.site-header__container {
  min-height: 102px;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto 42px minmax(190px, auto);
  align-items: center;
  gap: 20px;
}

.site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--hf-text);
  text-decoration: none;
}

.site-brand__logo {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.site-brand__logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-brand__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-brand__text strong {
  font-family: var(--font-accent);
  overflow: hidden;
  color: var(--hf-text);
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand__text small {
  margin-top: 4px;
  color: var(--hf-accent);
  font-size: 14px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #282828;
  border: 1px solid var(--hf-border);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.site-nav a+a {
  margin-left: 4px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--hf-text);
  border-color: var(--hf-accent);
  background: var(--hf-accent);
}

.site-header__menu-shell {
  position: relative;
}

.site-menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  color: var(--hf-text);
  border: 1px solid var(--hf-border);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-menu-toggle span {
  width: 15px;
  height: 1px;
  display: block;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus-visible,
.site-menu-toggle[aria-expanded="true"] {
  border-color: var(--hf-accent);
  background: var(--hf-accent);
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 240px;
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  border-radius: 0 0 var(--hf-radius) var(--hf-radius);
  background: var(--hf-surface);
  box-shadow: var(--hf-shadow);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.site-menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-menu-panel nav {
  display: flex;
  flex-direction: column;
}

.site-menu-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #1d1d1d;
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.site-menu-panel a:hover,
.site-menu-panel a.is-active {
  color: var(--hf-accent-hover);
  background: #faf7f1;
  padding-left: 24px;
}

/* Повышенная специфичность нужна, чтобы общее правило
   .site-menu-panel nav { display:flex } не включало мобильное меню на десктопе. */
.site-menu-panel .site-menu-panel__mobile,
.site-menu-panel .site-menu-panel__contacts {
  display: none;
}

.site-header__phones {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__phone-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--hf-accent);
  font-size: 17px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

a.site-header__phone-icon:hover {
  color: #ffffff;
  background: var(--hf-accent-hover);
  transform: translateY(-2px);
}

.site-header__phone-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header__phone-list a {
  color: var(--hf-text);
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__phone-list a:hover {
  color: var(--hf-accent-hover);
}

.site-menu-overlay {
  position: fixed;
  z-index: 990;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(2px);
}

.site-footer {
  flex: 0 0 auto;
  background: var(--hf-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.site-footer__container {
  padding-top: 58px;
  padding-bottom: 34px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1fr;
  gap: clamp(44px, 7vw, 120px);
}

.site-footer__section h2 {
  margin: 0 0 24px;
  color: var(--hf-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.footer-contact-row>i {
  margin-top: 3px;
  color: var(--hf-accent);
  font-size: 18px;
}

.footer-contact-row>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.footer-contact-row span {
  color: var(--hf-accent);
  font-size: 13px;
  line-height: 1.4;
}

.footer-contact-row a,
.footer-contact-row strong {
  color: var(--hf-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.footer-contact-row a:hover {
  color: var(--hf-accent-hover);
}

.footer-contact-row a[href^="mailto:"] {
  color: var(--hf-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__to-top {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  color: var(--hf-text);
  background: var(--hf-surface);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer__to-top:hover {
  color: #ffffff;
  background: var(--hf-accent);
  transform: translateY(-3px);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__nav a {
  color: #2d2d2d;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--hf-accent-hover);
}

.site-footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.site-footer__socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #8c8c8c;
  border: 1px solid #ffffff;
  background: transparent;
  font-size: 18px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-footer__socials a:hover {
  color: #ffffff;
  border-color: var(--hf-accent);
  background: var(--hf-accent);
}

.site-footer__cta p {
  max-width: 430px;
  margin: 0 0 20px;
  color: #313131;
  font-size: 15px;
  line-height: 1.55;
}

.site-footer__cta-button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--hf-accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.site-footer__cta-button:hover {
  color: #ffffff;
  background: var(--hf-accent-hover);
  box-shadow: 0 12px 24px rgba(216, 154, 67, 0.25);
  transform: translateY(-2px);
}

.site-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 32px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.site-footer__bottom p {
  margin: 0;
  color: #353535;
  font-size: 14px;
}

.site-footer__requisites {
  display: flex;
  gap: 28px;
  color: #3b3b3b;
  font-size: 14px;
}

.site-footer__requisites strong {
  font-weight: 400;
}

.site-menu-toggle:focus-visible,
.site-nav a:focus-visible,
.site-menu-panel a:focus-visible,
.site-header__phone-list a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(240, 177, 89, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1320px) {
  .site-header__container {
    grid-template-columns: minmax(245px, 1fr) auto 42px minmax(175px, auto);
    gap: 14px;
  }

  .site-nav a {
    padding-inline: 11px;
    font-size: 13px;
  }

  .site-header__phone-list a {
    font-size: 14px;
  }
}

@media (max-width: 1120px) {
  .site-header__container {
    grid-template-columns: minmax(240px, 1fr) 44px minmax(180px, auto);
  }

  .site-nav {
    display: none;
  }

  .site-menu-panel {
    width: min(390px, calc(100vw - 48px));
    max-height: min(70vh, 620px);
    overflow-y: auto;
    padding: 10px;
    border-radius: var(--hf-radius);
  }

  .site-menu-panel .site-menu-panel__desktop {
    display: none !important;
  }

  .site-menu-panel .site-menu-panel__mobile {
    display: flex;
  }

  .site-menu-panel .site-menu-panel__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--hf-border);
  }

  .site-menu-panel__contacts a {
    gap: 10px;
    color: var(--hf-text);
    font-weight: 600;
  }

  .site-menu-panel__contacts i {
    width: 18px;
    color: var(--hf-accent-hover);
    text-align: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 72px;
  }

  .site-footer__cta {
    grid-column: 1 / -1;
    max-width: 620px;
  }
}

@media (max-width: 760px) {

  .site-header__container,
  .site-footer__container {
    width: min(calc(100% - 28px), var(--hf-container));
  }

  .site-header__container {
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
  }

  .site-brand {
    gap: 10px;
  }

  .site-brand__logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .site-brand__text strong {
    font-family: var(--font-main);
    max-width: 190px;
    font-size: 16px;
  }

  .site-brand__text small {
    max-width: 180px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-menu-toggle,
  .site-header__phone-icon {
    width: 44px;
    height: 44px;
  }

  .site-header__phones {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header__phone-list {
    display: none;
  }

  .site-header__phone-icon {
    cursor: pointer;
  }

  .site-header__menu-shell {
    grid-column: 2;
    grid-row: 1;
  }

  .site-menu-panel {
    position: fixed;
    top: 78px;
    right: 0;
    width: min(92vw, 390px);
    max-height: calc(100dvh - 78px);
    padding: 12px;
    border-radius: 0 0 0 var(--hf-radius);
    transform: translateX(100%);
  }

  .site-header.is-scrolled .site-menu-panel {
    top: 78px;
  }

  .site-menu-panel.is-open {
    transform: translateX(0);
  }

  .site-menu-panel a {
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 8px;
    font-size: 15px;
  }

  .site-footer__container {
    padding-top: 42px;
    padding-bottom: 26px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-footer__cta {
    grid-column: auto;
  }

  .site-footer__section h2 {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.45;
  }

  .site-footer__cta-button {
    width: 100%;
    min-height: 56px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 14px;
    margin-top: 38px;
  }

  .site-footer__requisites {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .site-brand__text strong {
    font-family: var(--font-main);
    max-width: 145px;
  }

  .site-brand__text small {
    max-width: 145px;
  }

  .site-menu-panel {
    width: 100%;
    border-radius: 0;
  }

  .footer-contact-row a,
  .footer-contact-row strong {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
}

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

  .site-header,
  .site-menu-toggle,
  .site-menu-toggle span,
  .site-menu-panel,
  .site-menu-panel a,
  .site-footer a {
    transition: none !important;
  }
}

.site-footer__section {
  height: 100%;
}

.projection-hero {
  padding: 50px 0 50px;
  background: var(--color-background, #efefef);
}

.projection-hero__container {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 465px minmax(0, 1fr);
  gap: 28px;
}

/* Левая информационная панель */

.projection-hero__info {
  min-height: 550px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("/img/hero-pattern.webp") center / cover no-repeat;
}

.projection-hero__label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  margin-bottom: 14px;
  background: var(--color-dop, #111111);
  color: #ffffff;
  font-family: var(--font-main, "Onest", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.projection-hero__title {
  margin: 0;
  color: var(--color-text, #111111);
  font-family: var(--font-accent, "Unbounded", sans-serif);
  font-size: clamp(29px, 2.5vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.projection-hero__description {
  max-width: 310px;
  margin: 24px 0 0;
  color: var(--color-text-light, #737373);
  font-family: var(--font-main, "Onest", sans-serif);
  font-size: 15px;
  line-height: 1.45;
}

.projection-hero__action p {
  margin: 0 0 18px;
  color: var(--color-text-light, #737373);
  font-family: var(--font-main, "Onest", sans-serif);
  font-size: 14px;
  line-height: 1.45;
}

.projection-hero__button {
  min-height: 60px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: var(--color-gl, #f0b159);
  color: #ffffff;
  font-family: var(--font-main, "Onest", sans-serif);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.projection-hero__button:hover {
  background: var(--color-gl-hover, #d89a43);
  transform: translateY(-2px);
}

.projection-hero__button i {
  font-size: 16px;
}

/* Правая часть с изображением */

.projection-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 550px;
  overflow: hidden;
  background: #d8d8d8;
}

.projection-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.projection-hero__overlay {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom,
      transparent,
      rgba(0, 0, 0, 0.08) 30%,
      rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* Статистика */

.projection-hero__stats {
  position: absolute;
  right: 50px;
  bottom: 98px;
  left: 50px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.projection-hero__stat {
  position: relative;
  padding-top: 13px;
  color: #ffffff;
}

.projection-hero__stat::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--color-gl, #f0b159);
}

.projection-hero__stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-main, "Onest", sans-serif);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1;
}

.projection-hero__stat span {
  display: block;
  font-family: var(--font-main, "Onest", sans-serif);
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Стрелки */

.projection-hero__arrows {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
}

.projection-hero__arrow {
  width: 54px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(17, 17, 17, 0.78);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.projection-hero__arrow:hover {
  background: var(--color-gl, #f0b159);
  color: #ffffff;
}

/* Адаптив */

@media (max-width: 1180px) {
  .projection-hero__container {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
  }

  .projection-hero__info,
  .projection-hero__visual {
    min-height: 510px;
  }

  .projection-hero__stats {
    right: 30px;
    left: 30px;
    gap: 18px;
  }

  .projection-hero__stat span {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .projection-hero {
    padding-top: 15px;
  }

  .projection-hero__container {
    grid-template-columns: 1fr;
  }

  .projection-hero__info {
    min-height: auto;
    padding: 26px;
  }

  .projection-hero__description {
    max-width: 600px;
  }

  .projection-hero__action {
    margin-top: 55px;
  }

  .projection-hero__button {
    width: fit-content;
  }

  .projection-hero__visual {
    min-height: 480px;
  }
}

@media (max-width: 650px) {
  .projection-hero {
    padding: 10px 0 45px;
  }

  .projection-hero__container {
    width: min(100% - 24px, 1400px);
    gap: 12px;
  }

  .projection-hero__info {
    padding: 20px 18px;
  }

  .projection-hero__title {
    font-size: clamp(27px, 9vw, 38px);
  }

  .projection-hero__description {
    margin-top: 18px;
    font-size: 14px;
  }

  .projection-hero__action {
    margin-top: 42px;
  }

  .projection-hero__button {
    width: 100%;
    min-height: 56px;
    font-size: 13px;
  }

  .projection-hero__visual {
    min-height: 520px;
  }

  .projection-hero__stats {
    right: 18px;
    bottom: 72px;
    left: 18px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .projection-hero__stat {
    padding-top: 9px;
  }

  .projection-hero__stat strong {
    margin-bottom: 4px;
    font-size: 23px;
  }

  .projection-hero__stat span {
    font-size: 11px;
  }

  .projection-hero__arrow {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 400px) {
  .projection-hero__label {
    font-size: 12px;
  }

  .projection-hero__title {
    font-size: 26px;
  }

  .projection-hero__visual {
    min-height: 500px;
  }
}

:root {
  --drevo-font-main: var(--cards-font-main,
      var(--font-main, "Manrope", Arial, sans-serif));
  --drevo-font-mono: var(--cards-font-mono,
      var(--font-mono, "JetBrains Mono", monospace));
  --drevo-bg: #efefed;
  --drevo-surface: #ffffff;
  --drevo-text: #080808;
  --drevo-muted: #858585;
  --drevo-border: rgba(8, 8, 8, 0.1);
  --drevo-accent: #f2a640;
  --drevo-accent-hover: #df942a;
  --drevo-container: 1430px;
  --drevo-side-gap: 48px;
}

.drevo-page,
.drevo-page * {
  box-sizing: border-box;
}

.drevo-page {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%,
      rgba(255, 255, 255, 0.82),
      transparent 33%),
    repeating-linear-gradient(124deg,
      rgba(0, 0, 0, 0.012) 0,
      rgba(0, 0, 0, 0.012) 1px,
      transparent 1px,
      transparent 8px),
    var(--drevo-bg);
  color: var(--drevo-text);
  font-family: var(--drevo-font-main);
}

.drevo-page__container,
.drevo-contact__container {
  width: min(calc(100% - var(--drevo-side-gap)), var(--drevo-container));
  max-width: var(--drevo-container);
  margin: 0 auto;
}

.drevo-page__container {
  padding: 30px 0 88px;
}

/* ---------- Хлебные крошки ---------- */

.drevo-breadcrumbs {
  margin: 0 0 22px;
}

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

.drevo-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--drevo-muted);
  font-family: var(--drevo-font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.drevo-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: #b7b7b7;
}

.drevo-breadcrumbs__link {
  color: var(--drevo-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.drevo-breadcrumbs__link:hover {
  color: var(--drevo-text);
}

.drevo-breadcrumbs__current {
  display: block;
  max-width: min(52vw, 560px);
  overflow: hidden;
  color: var(--drevo-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Заголовки ---------- */

.drevo-ui-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px 7px;
  background: #080808;
  color: #fff;
  font-family: var(--drevo-font-main);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.drevo-page__header,
.drevo-section-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}

.drevo-page__header {
  max-width: 1260px;
  margin: 0 0 34px;
}

.drevo-page__title,
.drevo-section-heading__title,
.drevo-contact__title,
.drevo-empty__title {
  display: block;
  margin: 0;
  color: var(--drevo-text);
  font-family: var(--drevo-font-main);
  font-size: clamp(40px, 4.8vw, 70px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.062em;
  text-transform: uppercase;
}

.drevo-section-heading {
  margin-bottom: 30px;
}

.drevo-section-heading__title {
  font-size: clamp(34px, 3.7vw, 54px);
}

/* ---------- Текст страницы ---------- */

.drevo-page__content {
  max-width: 980px;
  margin: 0 0 58px;
  color: #4f4f4f;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.72;
}

.drevo-page__content> :first-child {
  margin-top: 0;
}

.drevo-page__content> :last-child {
  margin-bottom: 0;
}

.drevo-page__content h2,
.drevo-page__content h3,
.drevo-page__content h4 {
  margin: 1.65em 0 0.65em;
  color: var(--drevo-text);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.drevo-page__content h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.drevo-page__content h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.drevo-page__content p,
.drevo-page__content ul,
.drevo-page__content ol,
.drevo-page__content blockquote,
.drevo-page__content table {
  margin: 0 0 1.2em;
}

.drevo-page__content a {
  color: var(--drevo-text);
  text-decoration-color: var(--drevo-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.drevo-page__content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.drevo-page__content blockquote {
  padding: 22px 24px;
  border-left: 4px solid var(--drevo-accent);
  background: rgba(255, 255, 255, 0.58);
  color: #333;
}

.drevo-page__content table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--drevo-border);
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.58);
}

.drevo-page__content th,
.drevo-page__content td {
  padding: 13px 15px;
  border: 1px solid var(--drevo-border);
  text-align: left;
}

/* ---------- Слайдер ---------- */

.drevo-slider-section {
  margin: 0 0 72px;
}

.drevo-slider {
  position: relative;
  overflow: hidden;
}

.drevo-slider__slide {
  position: relative;
  display: flex;
  min-height: clamp(420px, 48vw, 680px);
  overflow: hidden;
  align-items: flex-end;
  background-color: #202020;
  background-image: var(--drevo-slide-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.drevo-slider__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(5, 5, 5, 0.84) 0%,
      rgba(5, 5, 5, 0.58) 42%,
      rgba(5, 5, 5, 0.08) 78%,
      transparent 100%);
}

.drevo-slider__content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 70px);
  color: #fff;
}

.drevo-slider__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.7vw, 68px);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.drevo-slider__text {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.55;
}

.drevo-slider .splide__arrow {
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: rgba(8, 8, 8, 0.88);
  opacity: 1;
}

.drevo-slider .splide__arrow svg {
  fill: #fff;
}

.drevo-slider .splide__pagination__page {
  width: 24px;
  height: 3px;
  margin: 4px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.55);
}

.drevo-slider .splide__pagination__page.is-active {
  background: var(--drevo-accent);
  transform: none;
}

/* ---------- Кнопки ---------- */

.drevo-button,
.drevo-child-card__link,
.drevo-contact__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 15px 20px;
  background: var(--color_gl);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s ease;
  text-decoration: none;
}

.drevo-button:hover,
.drevo-child-card__link:hover,
.drevo-contact__submit:hover {
  background: var(--drevo-accent-hover);
  transform: translateY(-2px);
}

.drevo-button--light {
  background: #fff;
  color: #080808;
}

.drevo-button--light:hover {
  background: var(--drevo-accent);
  color: #fff;
}

/* ---------- Галерея ---------- */

/* .drevo-gallery-section,
.drevo-child-pages,
.drevo-page__cards {
  margin-top: 72px;
} */

.drevo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.drevo-gallery__item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #ddd;
}

.drevo-gallery__item::after {
  content: "↗";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(8, 8, 8, 0.86);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.drevo-gallery__item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.drevo-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.drevo-gallery__item:hover .drevo-gallery__image {
  transform: scale(1.035);
}

/* ---------- Дочерние страницы ---------- */

.drevo-child-pages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.drevo-child-card {
  display: flex;
  min-height: 270px;
  padding: 24px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 78% 22%,
      rgba(255, 255, 255, 0.8),
      transparent 38%),
    repeating-linear-gradient(118deg,
      rgba(0, 0, 0, 0.012) 0,
      rgba(0, 0, 0, 0.012) 1px,
      transparent 1px,
      transparent 7px),
    rgba(255, 255, 255, 0.38);
}

.drevo-child-card__number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 28px;
  padding-left: 12px;
  background: linear-gradient(var(--drevo-accent), var(--drevo-accent)) left center / 3px 17px no-repeat;
  color: var(--drevo-text);
  font-family: var(--drevo-font-mono);
  font-size: 16px;
  font-weight: 750;
}

.drevo-child-card__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.drevo-child-card__text {
  margin: 0 0 24px;
  color: var(--drevo-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.drevo-child-card__link {
  width: fit-content;
  min-height: 48px;
  margin-top: auto;
}

/* ---------- Форма внизу страницы ---------- */

.drevo-contact {
  padding: 76px 0;
  background:
    radial-gradient(circle at 76% 14%,
      rgba(255, 255, 255, 0.74),
      transparent 35%),
    repeating-linear-gradient(124deg,
      rgba(0, 0, 0, 0.013) 0,
      rgba(0, 0, 0, 0.013) 1px,
      transparent 1px,
      transparent 8px),
    #e7e7e5;
  border-top: 1px solid rgba(8, 8, 8, 0.05);
}

.drevo-contact__container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
}

.drevo-contact__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.drevo-contact__title {
  max-width: 720px;
  font-size: clamp(40px, 4.5vw, 66px);
}

.drevo-contact__text {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--drevo-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.drevo-contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.drevo-contact__field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.drevo-contact__field-label {
  color: #606060;
  font-family: var(--drevo-font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.drevo-contact__input {
  width: 100%;
  height: 60px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  outline: 0;
  background: #fff;
  color: var(--drevo-text);
  font-family: var(--drevo-font-main);
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.drevo-contact__input::placeholder {
  color: #a0a0a0;
  font-weight: 500;
}

.drevo-contact__input:focus {
  border-color: var(--drevo-accent);
  box-shadow: 0 0 0 3px rgba(242, 166, 64, 0.13);
}

.drevo-contact__submit {
  width: fit-content;
  min-width: 190px;
  min-height: 60px;
  margin-top: 18px;
}

.drevo-contact__submit span {
  font-size: 22px;
  font-weight: 500;
}

.drevo-contact__privacy {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #929292;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.drevo-contact__privacy a {
  color: #555;
  text-underline-offset: 3px;
}

/* ---------- Пустая страница ---------- */

.drevo-page--empty {
  min-height: 70vh;
}

.drevo-empty {
  display: flex;
  min-height: 60vh;
  max-width: 920px;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}

.drevo-empty__text {
  max-width: 600px;
  margin: 0 0 12px;
  color: var(--drevo-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1120px) {
  .drevo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drevo-child-pages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drevo-contact__container {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  :root {
    --drevo-side-gap: 28px;
  }

  .drevo-page__container {
    padding-top: 22px;
    padding-bottom: 60px;
  }

  .drevo-breadcrumbs {
    margin-bottom: 30px;
  }

  .drevo-breadcrumbs__current {
    max-width: 64vw;
  }

  .drevo-page__title,
  .drevo-contact__title,
  .drevo-empty__title {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 0.98;
  }

  .drevo-section-heading__title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .drevo-page__content {
    margin-bottom: 44px;
    font-size: 15px;
    line-height: 1.65;
  }

  .drevo-slider-section,
  .drevo-gallery-section,
  .drevo-child-pages,
  .drevo-page__cards {
    margin-top: 52px;
  }

  .drevo-slider__slide {
    min-height: 440px;
  }

  .drevo-slider__shade {
    background: linear-gradient(0deg,
        rgba(5, 5, 5, 0.9) 0%,
        rgba(5, 5, 5, 0.52) 58%,
        rgba(5, 5, 5, 0.1) 100%);
  }

  .drevo-slider__content {
    padding: 26px 22px 54px;
  }

  .drevo-slider__title {
    font-size: clamp(31px, 10vw, 46px);
  }

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

  .drevo-child-pages__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .drevo-child-card {
    min-height: 240px;
    padding: 20px;
  }

  .drevo-contact {
    padding: 56px 0;
  }

  .drevo-contact__form {
    grid-template-columns: 1fr;
  }

  .drevo-contact__submit {
    width: 100%;
  }
}

@media (max-width: 440px) {
  :root {
    --drevo-side-gap: 22px;
  }

  .drevo-ui-label {
    padding: 7px 9px 6px;
    font-size: 10px;
  }

  .drevo-gallery {
    grid-template-columns: 1fr;
  }

  .drevo-gallery__item {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {

  .drevo-page *,
  .drevo-page *::before,
  .drevo-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

section.goods-catalog .goods-catalog__image-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

section.goods-catalog .card_default_img {
  position: relative;
}

section.goods-catalog .card_default_name a {
  color: inherit;
  text-decoration: none;
  min-height: 56px;
}

section.goods-catalog .card_default_name a:hover {
  color: var(--offer-accent);
}

.drevo-catalog__heading {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.drevo-catalog__categories {
  display: grid;
  gap: clamp(56px, 8vw, 112px);
}

.drevo-catalog__category {
  min-width: 0;
}

.drevo-catalog__category-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 38px);
  padding-top: 18px;
  border-top: 1px solid rgba(8, 8, 8, 0.22);
}

.drevo-catalog__category-label {
  color: rgba(8, 8, 8, 0.58);
  font-family: var(--cards-font-main, inherit);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drevo-catalog__category-title {
  max-width: 1260px;
  margin: 0;
  color: #080808;
  font-family: var(--cards-font-main, inherit);
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

/* render_goods уже создаёт section + wrapper — убираем лишние отступы внутри каталога. */
.drevo-catalog .goods-catalog {
  margin: 0;
  padding: 0;
}

.drevo-catalog .goods-catalog>.wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.drevo-catalog__empty {
  padding: 28px;
  border: 1px solid rgba(8, 8, 8, 0.16);
  color: rgba(8, 8, 8, 0.65);
  font-family: var(--cards-font-main, inherit);
  font-size: 15px;
}

@media (max-width: 700px) {
  .drevo-catalog__category-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .drevo-catalog__categories {
    gap: 64px;
  }

  .drevo-catalog__category-title {
    font-size: clamp(30px, 10vw, 44px);
  }
}

/* Единый каталог select_goods.php */
.all-goods-catalog {
  --catalog-accent: var(--color_gl, #f0b159);
  --catalog-accent-hover: var(--color_gl_hover, #d89a43);
  --catalog-black: var(--color_dop, #000000);
  --catalog-black-hover: var(--color_dop_hover, #242424);
  --catalog-gray: #757575;
  --catalog-line: rgba(9, 9, 9, 0.14);
  --catalog-soft: #f4f2ef;
  --catalog-font: var(--cards-font-main, "Manrope", Arial, sans-serif);

  padding: clamp(34px, 5vw, 78px) 0 clamp(70px, 8vw, 130px);
  color: var(--catalog-black);
  font-family: var(--catalog-font);
  background: #fff;
}

.all-goods-catalog * {
  box-sizing: border-box;
}

.all-goods-catalog [hidden] {
  display: none !important;
}

.all-goods-catalog__container {
  width: min(100% - 32px, 1400px);
  margin: 0 auto;
}

.all-goods-catalog__header {
  padding-bottom: clamp(28px, 4vw, 56px);
}

.all-goods-catalog__eyebrow,
.catalog-toolbar__control-label,
.catalog-category-section__parent-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.all-goods-catalog__eyebrow {
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 11px;
  color: #fff;
  background: var(--catalog-black);
}

.all-goods-catalog__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.all-goods-catalog__title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.all-goods-catalog__title strong {
  color: var(--catalog-accent);
  font-weight: inherit;
}

.all-goods-catalog__stats {
  display: flex;
  flex: 0 0 auto;
  border-top: 1px solid var(--catalog-line);
  border-bottom: 1px solid var(--catalog-line);
}

.all-goods-catalog__stat {
  min-width: 112px;
  padding: 16px 18px;
}

.all-goods-catalog__stat+.all-goods-catalog__stat {
  border-left: 1px solid var(--catalog-line);
}

.all-goods-catalog__stat strong,
.all-goods-catalog__stat span {
  display: block;
}

.all-goods-catalog__stat strong {
  font-size: 28px;
  line-height: 1;
}

.all-goods-catalog__stat span {
  margin-top: 6px;
  color: var(--catalog-gray);
  font-size: 12px;
}

.catalog-toolbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1.8fr) repeat(3,
      minmax(160px, 1fr)) minmax(200px, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #eeeeeef5;
  backdrop-filter: blur(14px);
}

.catalog-toolbar__search,
.catalog-toolbar__field,
.catalog-toolbar__price-group {
  min-width: 0;
}

.catalog-toolbar__control-label {
  margin-bottom: 7px;
  color: #0d0d0d85;
}

.catalog-toolbar__search-box,
.catalog-toolbar__select-wrap,
.catalog-toolbar__price-inputs {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  background: #fff;
}

.catalog-toolbar__search-box>i {
  flex: 0 0 auto;
  margin-left: 15px;
  color: #7b7b7b;
}

.catalog-toolbar__search-input,
.catalog-toolbar__select,
.catalog-toolbar__price-inputs input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--catalog-black);
  font: inherit;
  font-size: 13px;
  background: transparent;
}

.catalog-toolbar__search-input {
  height: 46px;
  padding: 0 42px 0 11px;
}

.catalog-toolbar__search-input::placeholder,
.catalog-toolbar__price-inputs input::placeholder {
  color: #999;
}

.catalog-toolbar__search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  place-items: center;
  color: #777;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.catalog-toolbar__select {
  height: 46px;
  padding: 0 40px 0 13px;
  appearance: none;
  cursor: pointer;
}

.catalog-toolbar__select-wrap>i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--catalog-accent);
  pointer-events: none;
  transform: translateY(-50%);
}

.catalog-toolbar__price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  padding: 0 10px;
}

.catalog-toolbar__price-inputs input {
  height: 46px;
  padding: 0 4px;
  text-align: center;
  appearance: textfield;
}

.catalog-toolbar__price-inputs input::-webkit-inner-spin-button,
.catalog-toolbar__price-inputs input::-webkit-outer-spin-button {
  appearance: none;
}

.catalog-toolbar__price-inputs>span {
  color: #aaa;
}

.catalog-toolbar__reset {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--catalog-accent);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.catalog-toolbar__reset:hover {
  color: var(--catalog-black);
  background: var(--catalog-accent-hover);
}

.catalog-toolbar :is(input, select, button):focus-visible,
.catalog-product-row__buy:focus-visible,
.catalog-product-row__details:focus-visible,
.catalog-product-row__name:focus-visible,
.catalog-product-row__image:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--catalog-accent) 42%, transparent);
  outline-offset: 2px;
}

.catalog-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 15px 0;
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-result-bar p {
  margin: 0;
  font-size: 14px;
}

.catalog-result-bar strong {
  color: var(--catalog-accent);
  font-size: 20px;
}

.catalog-result-bar>span {
  color: var(--catalog-gray);
  font-size: 12px;
}

.catalog-category-section {
  padding: 22px 0px;
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-category-section__header {
  margin-bottom: 10px;
}

.catalog-category-section__number {
  color: var(--catalog-accent);
  font-size: 14px;
  font-weight: 700;
}

.catalog-category-section__heading {
  padding-left: calc(var(--catalog-category-depth, 0) * 18px);
}

.catalog-category-section__parent-label {
  margin-bottom: 7px;
  color: var(--catalog-gray);
}

.catalog-category-section__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.catalog-category-section__count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--catalog-gray);
  font-size: 12px;
}

.catalog-category-section__count strong {
  color: var(--catalog-black);
  font-size: 20px;
}

.catalog-product-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(150px, auto) minmax(238px,
      290px);
  align-items: center;
  gap: 22px;
  min-height: 120px;
  padding: 14px 0;
  border-bottom: 1px solid var(--catalog-line);
  transition:
    background-color 180ms ease,
    padding 180ms ease;
}

.catalog-product-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: var(--catalog-soft);
}

.catalog-product-row__image {
  display: block;
  width: 92px;
  height: 92px;
  overflow: hidden;
  background: #e9e6e1;
  text-decoration: none !important;
}

.catalog-product-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.catalog-product-row__image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(9, 9, 9, 0.38);
  font-size: 25px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 58%), #e9e6e1;
}

.catalog-product-row:hover .catalog-product-row__image img {
  transform: scale(1.045);
}

.catalog-product-row:hover .catalog-product-row__image-fallback {
  color: var(--catalog-accent);
}

.catalog-product-row__main {
  min-width: 0;
}

.catalog-product-row__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.catalog-product-row__article,
.catalog-product-row__stock,
.catalog-product-row__unit {
  font-size: 11px;
  line-height: 1.2;
}

.catalog-product-row__article {
  color: var(--catalog-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-product-row__stock {
  padding: 5px 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-product-row__stock.is-in-stock {
  color: #146c3a;
  background: #e7f5ec;
}

.catalog-product-row__stock.is-to-order {
  color: #725225;
  background: #f6eddc;
}

.catalog-product-row__name {
  display: inline;
  color: var(--catalog-black);
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.catalog-product-row__name:hover {
  color: var(--catalog-accent);
}

.catalog-product-row__unit {
  display: block;
  margin-top: 7px;
  color: var(--catalog-gray);
}

.catalog-product-row__price {
  text-align: right;
  white-space: nowrap;
}

.catalog-product-row__price strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.catalog-product-row__price span {
  margin-left: 3px;
  color: var(--catalog-gray);
  font-size: 13px;
}

.catalog-product-row__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.catalog-product-row__details,
.catalog-product-row__buy {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.catalog-product-row__details {
  border: 1px solid var(--catalog-black);
  color: var(--catalog-black);
  background: transparent;
}

.catalog-product-row__details:hover {
  border-color: var(--catalog-black-hover);
  color: #fff;
  background: var(--catalog-black-hover);
}

.catalog-product-row__buy {
  border: 1px solid var(--catalog-accent);
  color: white;
  background: var(--catalog-accent);
}

.catalog-product-row__buy:hover {
  border-color: var(--catalog-accent-hover);
  color: white;
  background: var(--catalog-accent-hover);
}

.catalog-category-section__empty {
  padding: 24px 0;
  color: var(--catalog-gray);
  font-size: 14px;
}

.catalog-global-empty {
  padding: clamp(58px, 8vw, 110px) 20px;
  text-align: center;
}

.catalog-global-empty__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  place-items: center;
  color: #fff;
  font-size: 22px;
  background: var(--catalog-accent);
}

.catalog-global-empty h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.catalog-global-empty p {
  margin: 13px 0 24px;
  color: var(--catalog-gray);
}

.catalog-global-empty button {
  min-height: 48px;
  padding: 0 19px;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--catalog-black);
  cursor: pointer;
}

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

@media (max-width: 1180px) {
  .catalog-toolbar {
    grid-template-columns: 2fr repeat(2, 1fr);
  }

  .catalog-toolbar__search {
    grid-column: span 2;
  }

  .catalog-toolbar__reset {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .all-goods-catalog__heading-row {
    display: block;
  }

  .all-goods-catalog__stats {
    width: max-content;
    margin-top: 26px;
  }

  .catalog-toolbar {
    position: relative;
    top: auto;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toolbar__search {
    grid-column: 1 / -1;
  }

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

  .catalog-product-row__image {
    width: 76px;
    height: 76px;
  }

  .catalog-product-row__price {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .catalog-product-row__actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: stretch;
    grid-template-columns: 1fr;
    min-width: 138px;
  }
}

@media (max-width: 620px) {
  .all-goods-catalog__container {
    width: min(100% - 20px, 1260px);
  }

  .all-goods-catalog__title {
    max-width: 100%;
    font-size: clamp(28px, 8.5vw, 34px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    overflow-wrap: normal;
  }

  .all-goods-catalog__stats {
    width: 100%;
  }

  .all-goods-catalog__stat {
    flex: 1;
    min-width: 0;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .catalog-toolbar__search,
  .catalog-toolbar__field,
  .catalog-toolbar__price-group,
  .catalog-toolbar__reset {
    grid-column: auto;
  }

  .catalog-result-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .catalog-category-section__header {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-category-section__count {
    grid-column: 2;
  }

  .catalog-category-section__heading {
    padding-left: calc(var(--catalog-category-depth, 0) * 8px);
  }

  .catalog-product-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0 18px;
  }

  .catalog-product-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .catalog-product-row__image {
    width: 70px;
    height: 70px;
  }

  .catalog-product-row__price {
    grid-column: 2;
    grid-row: auto;
  }

  .catalog-product-row__actions {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .catalog-product-row__details,
  .catalog-product-row__buy {
    min-height: 46px;
    padding: 0 12px;
  }
}

/* FIX: единая высота элементов фильтра цены */
.catalog-toolbar__price-inputs {
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  overflow: hidden;
}

.catalog-toolbar__price-inputs label {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0;
}

.catalog-toolbar__price-inputs input[type="number"] {
  display: block;
  height: 46px;
  min-height: 0;
  max-height: 46px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  line-height: 46px;
}

/* FIX: глобальные стили ссылок не подчёркивают текст и иконки кнопок */
.all-goods-catalog .catalog-product-row__details,
.all-goods-catalog .catalog-product-row__details:hover,
.all-goods-catalog .catalog-product-row__details:focus,
.all-goods-catalog .catalog-product-row__details:active,
.all-goods-catalog .catalog-product-row__buy,
.all-goods-catalog .catalog-product-row__buy:hover,
.all-goods-catalog .catalog-product-row__buy:focus,
.all-goods-catalog .catalog-product-row__buy:active {
  text-decoration: none !important;
}

.all-goods-catalog .catalog-product-row__details span,
.all-goods-catalog .catalog-product-row__details i,
.all-goods-catalog .catalog-product-row__buy span,
.all-goods-catalog .catalog-product-row__buy i {
  display: inline-flex;
  text-decoration: none !important;
}

.all-goods-catalog .catalog-product-row__details i,
.all-goods-catalog .catalog-product-row__buy i {
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 620px) {
  .all-goods-catalog {
    padding-top: 26px;
  }

  .all-goods-catalog__header {
    padding-bottom: 24px;
    overflow: hidden;
  }

  .all-goods-catalog__title,
  .all-goods-catalog__title strong {
    max-width: 100%;
  }

  .all-goods-catalog__title strong {
    display: block;
    margin-top: 4px;
  }
}

/* Автономная страница товара */
.product-page {
  --product-dark: var(--color_dop, #000000);
  --product-dark-hover: var(--color_dop_hover, #242424);
  --product-accent: var(--color_gl, #f0b159);
  --product-accent-hover: var(--color_gl_hover, #d89a43);
  --product-muted: #747474;
  --product-line: #dedede;
  --product-surface: #f2f1ef;
  --product-white: #ffffff;

  width: 100%;
  overflow: hidden;
  color: var(--product-dark);
  background: var(--product-white);
  font-family: var(--cards-font-main, "Manrope", Arial, sans-serif);
}

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

.product-page__container {
  width: min(100% - 40px, 1380px);
  margin-inline: auto;
  padding: 28px 0 96px;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #858585;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-breadcrumbs a,
.product-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  color: var(--product-accent-hover);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  min-height: 680px;
  border-top: 1px solid var(--product-dark);
  border-bottom: 1px solid var(--product-dark);
}

.product-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 28px 20px 0;
  border-right: 1px solid var(--product-dark);
}

.product-hero__image-stage {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 530px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(240, 177, 89, 0.1), transparent 48%),
    var(--product-surface);
}

.product-hero__image-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  background: var(--product-accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.product-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 650px;
  padding: 34px;
  object-fit: contain;
}

.product-hero__image-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #8b8b8b;
  text-align: center;
}

.product-hero__image-fallback i {
  font-size: clamp(58px, 7vw, 106px);
  color: var(--product-accent);
}

.product-hero__image-fallback span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero__visual-note {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.product-hero__visual-note span {
  max-width: 240px;
  color: var(--product-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.product-hero__visual-note strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.product-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 42px 0 36px 48px;
}

.product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
}

.product-ui-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--product-dark);
  background: var(--product-accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--product-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.product-stock.is-in-stock {
  color: #218357;
}

.product-stock.is-to-order {
  color: var(--product-accent-hover);
}

.product-hero__title {
  max-width: 760px;
  margin: 0 0 32px;

  color: var(--product-dark);
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;

  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 768px) {
  .product-hero__title {
    margin-bottom: 24px;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
}

.product-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid var(--product-line);
  border-bottom: 1px solid var(--product-line);
}

.product-fact {
  min-width: 0;
  padding: 18px 16px 18px 0;
}

.product-fact+.product-fact {
  padding-left: 16px;
  border-left: 1px solid var(--product-line);
}

.product-fact span,
.product-price__label {
  display: block;
  margin-bottom: 8px;
  color: var(--product-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-fact strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.product-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: stretch;
  gap: 16px;
  padding-top: 26px;
}

.product-price {
  min-width: 0;
}

.product-price__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price__value strong {
  overflow-wrap: anywhere;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 550;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.product-price__value span {
  font-size: 19px;
  font-weight: 700;
}

.product-price del {
  display: block;
  margin-top: 8px;
  color: #999;
  font-size: 14px;
}

.product-buy-button {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  color: var(--product-dark) !important;
  background: var(--product-accent);
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.product-buy-button:hover {
  color: var(--product-white) !important;
  background: var(--product-dark-hover);
}

.product-buy-button i,
.product-back-link i,
.product-empty__link span {
  text-decoration: none !important;
}

.product-hero__helper {
  max-width: 530px;
  margin: 22px 0 0;
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-details {
  border-top: 1px solid var(--product-dark);
  border-bottom: 1px solid var(--product-dark);

  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
}

.product-details__block {
  min-width: 0;
  padding: 54px 42px 60px 0;
}

.product-details__block+.product-details__block {
  padding-right: 0;
  padding-left: 42px;
  border-left: 1px solid var(--product-dark);
}

.product-details__block:only-child {
  grid-column: 1 / -1;
  padding-right: 0;
}

.product-details__content {
  width: 100%;
  max-width: none;
}

.product-details__content h2 {
  margin: 14px 0 26px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.048em;
  text-transform: uppercase;
}

.product-rich-text {
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.75;
}

.product-rich-text> :first-child {
  margin-top: 0;
}

.product-rich-text> :last-child {
  margin-bottom: 0;
}

.product-rich-text ul,
.product-rich-text ol {
  padding-left: 22px;
}

.product-rich-text table {
  width: 100%;
  border-collapse: collapse;
}

.product-rich-text td,
.product-rich-text th {
  padding: 12px 0;
  border-bottom: 1px solid var(--product-line);
  text-align: left;
}

.product-rich-text--technical p,
.product-rich-text--technical li {
  border-bottom-color: var(--product-line);
}

.product-back-link,
.product-empty__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: var(--product-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-back-link:hover,
.product-empty__link:hover {
  color: var(--product-accent-hover);
}

.product-page--empty {
  min-height: 68vh;
}

.product-empty {
  max-width: 900px;
  padding: 80px 0;
}

.product-empty__title {
  margin: 20px 0;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.product-empty__text {
  max-width: 540px;
  color: var(--product-muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  }

  .product-hero__content {
    padding-left: 32px;
  }

  .product-purchase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .product-page__container {
    width: min(100% - 28px, 1380px);
    padding-top: 18px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-hero__visual {
    padding: 20px 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--product-dark);
  }

  .product-hero__image-stage {
    min-height: 420px;
  }

  .product-hero__content {
    padding: 30px 0 34px;
  }

  .product-hero__title {
    max-width: 100%;
    font-size: clamp(32px, 8.5vw, 50px);
    line-height: 0.98;
    letter-spacing: -0.052em;
  }

  .product-details {
    grid-template-columns: 1fr;
  }

  .product-details__block,
  .product-details__block+.product-details__block,
  .product-details__block:only-child {
    grid-column: auto;
    padding: 44px 0;
    border-left: 0;
  }

  .product-details__block+.product-details__block {
    border-top: 1px solid var(--product-dark);
  }
}

@media (max-width: 560px) {
  .product-page__container {
    width: min(100% - 22px, 1380px);
    padding-bottom: 64px;
  }

  .product-breadcrumbs {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .product-hero__image-stage {
    min-height: 310px;
  }

  .product-hero__image {
    padding: 24px;
  }

  .product-hero__meta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .product-hero__title {
    margin-bottom: 30px;
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .product-hero__facts {
    grid-template-columns: 1fr;
  }

  .product-fact,
  .product-fact+.product-fact {
    padding: 14px 0;
    border-left: 0;
  }

  .product-fact+.product-fact {
    border-top: 1px solid var(--product-line);
  }

  .product-purchase {
    gap: 22px;
  }

  .product-buy-button {
    min-height: 64px;
  }

  .product-details__block,
  .product-details__block+.product-details__block,
  .product-details__block:only-child {
    padding: 38px 0;
  }

  .product-details__content h2 {
    margin-bottom: 22px;
    font-size: clamp(27px, 8.5vw, 38px);
  }

  .product-rich-text {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* Три товара на главной в стиле select_goods */
.home-goods {
  --catalog-accent: var(--color_gl, #f0b159);
  --catalog-accent-hover: var(--color_gl_hover, #d89a43);
  --catalog-black: var(--color_dop, #000);
  --catalog-black-hover: var(--color_dop_hover, #242424);
  --catalog-gray: #757575;
  --catalog-line: rgba(9, 9, 9, 0.14);
  --catalog-soft: #f4f2ef;
  --catalog-font: var(--cards-font-main, "Manrope", Arial, sans-serif);

  padding: clamp(58px, 7vw, 110px) 0;
  color: var(--catalog-black);
  font-family: var(--catalog-font);
  background: #fff;
}

.home-goods,
.home-goods * {
  box-sizing: border-box;
}

.home-goods__container {
  width: min(100% - 32px, 1400px);
  margin: 0 auto;
}

.home-goods__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  flex-direction: column;
}

.home-goods__label {
  width: max-content;
  padding: 8px 11px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--catalog-black);
}

.home-goods__title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.home-goods__title strong {
  color: var(--catalog-accent);
  font-weight: inherit;
}

.home-goods .catalog-product-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(150px, auto) minmax(238px,
      290px);
  align-items: center;
  gap: 22px;
  min-height: 120px;
  padding: 14px 0;
  border-bottom: 1px solid var(--catalog-line);
  transition:
    background-color 180ms ease,
    padding 180ms ease;
}

.home-goods .catalog-product-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: var(--catalog-soft);
}

.home-goods .catalog-product-row__image {
  display: block;
  width: 92px;
  height: 92px;
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
  background: #e9e6e1;
}

.home-goods .catalog-product-row__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.home-goods .catalog-product-row__image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(9, 9, 9, 0.38);
  font-size: 25px;
  text-decoration: none !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 58%), #e9e6e1;
}

.home-goods .catalog-product-row__image-fallback i {
  text-decoration: none !important;
}

.home-goods .catalog-product-row:hover .catalog-product-row__image img {
  transform: scale(1.045);
}

.home-goods .catalog-product-row:hover .catalog-product-row__image-fallback {
  color: var(--catalog-accent);
}

.home-goods .catalog-product-row__main {
  min-width: 0;
}

.home-goods .catalog-product-row__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.home-goods .catalog-product-row__article,
.home-goods .catalog-product-row__stock,
.home-goods .catalog-product-row__unit {
  font-size: 11px;
  line-height: 1.2;
}

.home-goods .catalog-product-row__article {
  color: var(--catalog-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-goods .catalog-product-row__stock {
  padding: 5px 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-goods .catalog-product-row__stock.is-in-stock {
  color: #146c3a;
  background: #e7f5ec;
}

.home-goods .catalog-product-row__stock.is-to-order {
  color: #725225;
  background: #f6eddc;
}

.home-goods .catalog-product-row__name {
  display: inline;
  color: var(--catalog-black);
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-decoration: none !important;
}

.home-goods .catalog-product-row__name:hover {
  color: var(--catalog-accent);
}

.home-goods .catalog-product-row__unit {
  display: block;
  margin-top: 7px;
  color: var(--catalog-gray);
}

.home-goods .catalog-product-row__price {
  text-align: right;
  white-space: nowrap;
}

.home-goods .catalog-product-row__price strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.home-goods .catalog-product-row__price span {
  margin-left: 3px;
  color: var(--catalog-gray);
  font-size: 13px;
}

.home-goods .catalog-product-row__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.home-goods .catalog-product-row__details,
.home-goods .catalog-product-row__buy {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.home-goods .catalog-product-row__details span,
.home-goods .catalog-product-row__details i,
.home-goods .catalog-product-row__buy span,
.home-goods .catalog-product-row__buy i {
  display: inline-flex;
  text-decoration: none !important;
}

.home-goods .catalog-product-row__details {
  border: 1px solid var(--catalog-black);
  color: var(--catalog-black);
  background: transparent;
}

.home-goods .catalog-product-row__details:hover {
  border-color: var(--catalog-black-hover);
  color: #fff;
  background: var(--catalog-black-hover);
}

.home-goods .catalog-product-row__buy {
  border: 1px solid var(--catalog-accent);
  color: var(--catalog-black);
  background: var(--catalog-accent);
}

.home-goods .catalog-product-row__buy:hover {
  border-color: var(--catalog-accent-hover);
  color: var(--catalog-black);
  background: var(--catalog-accent-hover);
}

.home-goods__catalog-action {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
}

.home-goods__catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: min(100%, 280px);
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--catalog-black);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  text-transform: uppercase;
  background: var(--catalog-black);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.home-goods__catalog-link span,
.home-goods__catalog-link i {
  text-decoration: none !important;
}

.home-goods__catalog-link:hover {
  border-color: var(--catalog-accent);
  color: var(--catalog-black);
  background: var(--catalog-accent);
}

.home-goods :is(a, button):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--catalog-accent) 42%, transparent);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .home-goods .catalog-product-row {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 15px;
  }

  .home-goods .catalog-product-row__image {
    width: 76px;
    height: 76px;
  }

  .home-goods .catalog-product-row__price {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .home-goods .catalog-product-row__actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: stretch;
    grid-template-columns: 1fr;
    min-width: 138px;
  }
}

@media (max-width: 620px) {
  .home-goods {
    padding: 50px 0 64px;
  }

  .home-goods__container {
    width: min(100% - 20px, 1400px);
  }

  .home-goods__header {
    display: block;
    padding-bottom: 26px;
    overflow: hidden;
  }

  .home-goods__label {
    margin-bottom: 18px;
  }

  .home-goods__title {
    max-width: 100%;
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .home-goods__title strong {
    display: block;
    margin-top: 20px;
    margin-top: 4px;
  }

  .home-goods .catalog-product-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0 18px;
  }

  .home-goods .catalog-product-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .home-goods .catalog-product-row__image {
    width: 70px;
    height: 70px;
  }

  .home-goods .catalog-product-row__price {
    grid-column: 2;
    grid-row: auto;
  }

  .home-goods .catalog-product-row__actions {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .home-goods .catalog-product-row__details,
  .home-goods .catalog-product-row__buy {
    min-height: 46px;
    padding: 0 12px;
  }

  .home-goods__catalog-action {
    justify-content: stretch;
  }

  .home-goods__catalog-link {
    width: 100%;
    min-width: 0;
  }
}

.smart-price {
  --price-dark: var(--color_dop, #000000);
  --price-dark-hover: var(--color_dop_hover, #242424);
  --price-accent: var(--color_gl, #f0b159);
  --price-accent-hover: var(--color_gl_hover, #d89a43);
  margin-bottom: 10px;
  color: var(--price-dark);
  font-family: var(--cards-font-main, inherit);
}

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

.smart-price__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 26px;
}

.smart-price__eyebrow,
.smart-price-toolbar__label,
.smart-price-group__parent {
  display: block;
  margin-bottom: 9px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.smart-price__title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.smart-price__title strong {
  color: var(--price-accent);
  font-weight: inherit;
}

.smart-price__intro {
  max-width: 700px;
  margin: 18px 0 0;
  color: #656565;
  font-size: 15px;
  line-height: 1.6;
}

.smart-price__summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.smart-price__summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.smart-price__summary strong {
  font-size: 18px;
}

.smart-price-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3,
      minmax(155px, 1fr)) minmax(220px, 1.1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 18px;
  border: 1px solid #dedede;
  background: #f7f7f5;
}

.smart-price-toolbar__search,
.smart-price-toolbar__field,
.smart-price-toolbar__price {
  display: block;
  min-width: 0;
}

.smart-price-toolbar__search-control,
.smart-price-toolbar__select,
.smart-price-toolbar__price-controls {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6d6d6;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.smart-price-toolbar__search-control:focus-within,
.smart-price-toolbar__select:focus-within,
.smart-price-toolbar__price-controls:focus-within {
  border-color: var(--price-accent);
  box-shadow: 0 0 0 3px rgba(240, 177, 89, 0.16);
}

.smart-price-toolbar__search-control>i {
  flex: 0 0 auto;
  margin-left: 14px;
  color: #777;
}

.smart-price-toolbar input,
.smart-price-toolbar select,
.smart-price-toolbar button {
  font: inherit;
}

.smart-price-toolbar input,
.smart-price-toolbar select {
  width: 100%;
  height: 44px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--price-dark);
  font-size: 13px;
}

.smart-price-toolbar__search-control input {
  padding: 0 42px 0 11px;
}

.smart-price-toolbar__search-control button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
}

.smart-price-toolbar__select select {
  appearance: none;
  padding: 0 40px 0 13px;
  cursor: pointer;
}

.smart-price-toolbar__select>i {
  position: absolute;
  top: 50%;
  right: 14px;
  pointer-events: none;
  transform: translateY(-50%);
}

.smart-price-toolbar__price-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.smart-price-toolbar__price-controls label {
  display: block;
  min-width: 0;
  height: 44px;
}

.smart-price-toolbar__price-controls input {
  display: block;
  height: 44px;
  padding: 0 12px;
  text-align: center;
}

.smart-price-toolbar__price-controls>span {
  color: #999;
}

.smart-price-toolbar__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--price-dark);
  background: var(--price-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.smart-price-toolbar__reset:hover {
  border-color: var(--price-dark-hover);
  background: var(--price-dark-hover);
}

.smart-price-result {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 12px 2px;
  border-bottom: 1px solid #ddd;
  color: #6f6f6f;
  font-size: 13px;
}

.smart-price-result p {
  margin: 0;
  color: var(--price-dark);
}

.smart-price-result__accordion-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.smart-price-result__accordion-actions button {
  padding: 7px 10px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: var(--price-dark);
  font-size: 11px;
  cursor: pointer;
}

.smart-price-result__accordion-actions button:hover {
  border-color: var(--price-accent);
}

.smart-price-groups {
  border-bottom: 1px solid #d8d8d8;
}

.smart-price-group {
  border-top: 1px solid #d8d8d8;
}

.smart-price-group[hidden] {
  display: none;
}

.smart-price-group__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  background: #fff;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.smart-price-group__summary::-webkit-details-marker {
  display: none;
}

.smart-price-group__summary:hover,
.smart-price-group[open]>.smart-price-group__summary {
  background: #f7f7f5;
}

.smart-price-group__name {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.smart-price-group__parent {
  margin-bottom: 7px;
  color: var(--price-accent-hover);
}

.smart-price-group__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.smart-price-group__count,
.smart-price-group__range {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
}

.smart-price-group__count strong {
  margin-right: 4px;
  color: var(--price-dark);
}

.smart-price-group__chevron {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--price-dark);
  place-items: center;
}

.smart-price-group__chevron i {
  transition: transform 0.25s ease;
}

.smart-price-group[open] .smart-price-group__chevron i {
  transform: rotate(180deg);
}

.smart-price-group__panel {
  padding: 0 20px 20px;
  background: #f7f7f5;
}

.smart-price-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2.2fr) minmax(110px, 0.8fr) minmax(120px,
      0.85fr) minmax(130px, 0.9fr) minmax(110px, 0.7fr);
  gap: 14px;
  align-items: center;
}

.smart-price-grid--head {
  min-height: 38px;
  padding: 0 16px;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.smart-price-row {
  min-height: 72px;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  background: #fff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.smart-price-row:hover {
  border-color: var(--price-accent);
  transform: translateY(-1px);
}

.smart-price-row[hidden] {
  display: none;
}

.smart-price-row__product a {
  color: var(--price-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.smart-price-row__product a:hover {
  color: var(--price-accent-hover);
}

.smart-price-row__product>span {
  display: block;
  margin-top: 5px;
  color: #888;
  font-size: 11px;
}

.smart-price-row__article {
  color: #666;
  font-size: 12px;
}

.smart-price-row__stock span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid #ddd;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.smart-price-row__stock .is-in-stock {
  border-color: rgba(32, 128, 72, 0.28);
  background: rgba(32, 128, 72, 0.08);
  color: #17663a;
}

.smart-price-row__stock .is-to-order {
  color: #777;
}

.smart-price-row__price {
  white-space: nowrap;
}

.smart-price-row__price strong {
  font-size: 17px;
  font-weight: 700;
}

.smart-price-row__price span {
  color: #777;
  font-size: 12px;
}

.smart-price-row__action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 100px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--price-accent);
  background: var(--price-accent);
  color: var(--price-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.smart-price-row__action a:hover {
  border-color: var(--price-accent-hover);
  background: var(--price-accent-hover);
}

.smart-price-row__action a,
.smart-price-row__action a * {
  text-decoration: none !important;
}

.smart-price-empty {
  padding: 54px 20px;
  text-align: center;
}

.smart-price-empty>i {
  margin-bottom: 14px;
  color: var(--price-accent-hover);
  font-size: 32px;
}

.smart-price-empty h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.smart-price-empty p {
  margin: 0 0 18px;
  color: #777;
}

.smart-price-empty button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--price-dark);
  background: var(--price-dark);
  color: #fff;
  cursor: pointer;
}

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

@media (max-width: 1120px) {
  .smart-price-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smart-price-toolbar__search {
    grid-column: span 2;
  }

  .smart-price-grid {
    grid-template-columns: minmax(220px, 2fr) minmax(95px, 0.7fr) minmax(110px,
        0.8fr) minmax(120px, 0.8fr) minmax(100px, 0.65fr);
  }
}

@media (max-width: 820px) {
  .smart-price {
    margin: 34px 0 48px;
  }

  .smart-price__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .smart-price__summary {
    justify-content: flex-start;
  }

  .smart-price-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .smart-price-toolbar__search {
    grid-column: 1 / -1;
  }

  .smart-price-toolbar__reset {
    width: 100%;
  }

  .smart-price-result {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .smart-price-result__accordion-actions {
    width: 100%;
    margin-left: 0;
  }

  .smart-price-group__summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .smart-price-group__meta {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .smart-price-group__chevron {
    margin-left: auto;
  }

  .smart-price-grid--head {
    display: none;
  }

  .smart-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 16px;
  }

  .smart-price-row__product,
  .smart-price-row__action {
    grid-column: 1 / -1;
  }

  .smart-price-row>[data-label]::before {
    display: block;
    margin-bottom: 6px;
    color: #8a8a8a;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .smart-price-row__action a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .smart-price__title {
    font-size: clamp(34px, 10.5vw, 48px);
    overflow-wrap: anywhere;
  }

  .smart-price-toolbar {
    grid-template-columns: 1fr;
  }

  .smart-price-toolbar__search,
  .smart-price-toolbar__field,
  .smart-price-toolbar__price,
  .smart-price-toolbar__reset {
    grid-column: auto;
  }

  .smart-price-group__summary {
    min-height: 0;
    padding: 16px 12px;
  }

  .smart-price-group__name {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .smart-price-group__range {
    display: none;
  }

  .smart-price-group__panel {
    padding: 0 8px 12px;
  }

  .smart-price-row {
    grid-template-columns: 1fr;
  }

  .smart-price-row__product,
  .smart-price-row__action {
    grid-column: auto;
  }

  .smart-price-result__accordion-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.main-cats {
  padding-bottom: 60px;
  background: #fff;
}

.main-cats__container {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
}

.main-cats__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.main-cats__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--color_dop, #000000);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-cats__title {
  margin: 0;
  color: var(--color_dop, #000000);
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.main-cats__title strong {
  color: var(--color_gl, #f0b159);
  font-weight: inherit;
}

.main-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.main-cat-card {
  --main-cat-card-image: none;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 318px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
  background-color: var(--color_dop_hover, #242424);
  background-image: var(--main-cat-card-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s ease;
}

.main-cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.74) 42%,
      rgba(0, 0, 0, 0.34) 72%,
      rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0%, transparent 60%);
}

.main-cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.main-cat-card__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 72px;
  pointer-events: none;
}

.main-cat-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 318px;
  width: 100%;
  padding: 34px 112px 34px 34px;
}

.main-cat-card__index {
  display: inline-flex;
  width: max-content;
  margin-bottom: 10px;
  color: var(--color_gl, #f0b159);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-cat-card__title {
  max-width: 470px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.main-cat-card__description {
  display: -webkit-box;
  max-width: 430px;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.main-cat-card__arrow {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--color_dop, #000000);
  background: var(--color_gl, #f0b159);
  font-size: 25px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.main-cat-card__arrow i {
  display: block;
  line-height: 1;
}

.main-cat-card:hover,
.main-cat-card:focus-visible {
  transform: none;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.main-cat-card:hover .main-cat-card__arrow,
.main-cat-card:focus-visible .main-cat-card__arrow {
  color: #fff;
  background: var(--color_gl_hover, #d89a43);
  transform: translateX(4px);
}

.main-cat-card:focus-visible {
  outline: 3px solid var(--color_gl, #f0b159);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .main-cat-card__title {
    font-size: clamp(25px, 3vw, 34px);
  }

  .main-cat-card__content {
    padding-right: 100px;
  }
}

@media (max-width: 820px) {
  .main-cats {
    padding: 60px 0;
  }

  .main-cats__grid {
    grid-template-columns: 1fr;
  }

  .main-cat-card,
  .main-cat-card__content {
    min-height: 285px;
  }
}

@media (max-width: 560px) {
  .main-cats {
    padding: 48px 0;
  }

  .main-cats__container {
    width: min(calc(100% - 24px), 1180px);
  }

  .main-cats__header {
    margin-bottom: 22px;
  }

  .main-cats__grid {
    gap: 14px;
  }

  .main-cat-card,
  .main-cat-card__content {
    min-height: 260px;
  }

  .main-cat-card__content {
    padding: 26px 82px 26px 24px;
  }

  .main-cat-card__arrow {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .main-cat-card__description {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {

  .main-cat-card,
  .main-cat-card__arrow {
    transition: none;
  }
}

.main-cat-card,
.main-cat-card:hover,
.main-cat-card:focus,
.main-cat-card:focus-visible {
  transform: none !important;
  background-size: cover !important;
  background-position: center center !important;
}

.sg-catalog {
  padding: 54px 0 80px;
  background: #fff;
  color: #111;
}

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

.sg-catalog__container {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.sg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

.sg-breadcrumbs a {
  color: #555;
  text-decoration: none;
}

.sg-breadcrumbs a:hover {
  color: var(--color_gl_hover, #d89a43);
}

.sg-breadcrumbs__current {
  color: #111;
  font-weight: 700;
}

.sg-catalog__header {
  margin-bottom: 34px;
}

.sg-catalog__label {
  display: block;
  margin-bottom: 11px;
  color: var(--color_gl, #f0b159);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sg-catalog__title {
  max-width: 1050px;
  margin: 0;
  color: var(--color_dop, #000);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.sg-catalog__title strong {
  color: var(--color_gl, #f0b159);
  font-weight: inherit;
}

.sg-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) minmax(170px, 0.8fr) minmax(190px,
      0.9fr) minmax(210px, 0.9fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 18px;
  margin-bottom: 34px;
  background: #efefef;
  border-top: 3px solid var(--color_dop, #000);
}

.sg-toolbar label,
.sg-toolbar__price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.sg-toolbar label>span,
.sg-toolbar__price>span {
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sg-toolbar input,
.sg-toolbar select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: 0;
  color: #222;
  background: #fff;
  font: inherit;
}

.sg-toolbar input:focus,
.sg-toolbar select:focus {
  border-color: var(--color_gl, #f0b159);
}

.sg-toolbar__price>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sg-toolbar__submit,
.sg-toolbar__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sg-toolbar__submit {
  color: var(--color_dop, #000);
  background: var(--color_gl, #f0b159);
}

.sg-toolbar__submit:hover {
  color: #fff;
  background: var(--color_gl_hover, #d89a43);
}

.sg-toolbar__reset {
  color: #fff;
  background: var(--color_dop_hover, #242424);
}

.sg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid #111;
}

.sg-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sg-section-heading>span {
  color: #777;
  font-size: 13px;
}

.sg-category-section+.sg-products,
.sg-category-section+.sg-category-section {
  margin-top: 58px;
}

.sg-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sg-category-card {
  --sg-category-image: none;
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  color: #fff;
  background-color: var(--color_dop_hover, #242424);
  background-image: var(--sg-category-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-decoration: none;
}

.sg-category-card__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.62);
  transition: background-color 0.22s ease;
}

.sg-category-card:hover .sg-category-card__shade,
.sg-category-card:focus-visible .sg-category-card__shade {
  background: rgba(0, 0, 0, 0.54);
}

.sg-category-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 390px;
  max-width: 680px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 118px 38px 36px;
}

.sg-category-card__index {
  margin-bottom: 10px;
  color: var(--color_gl, #f0b159);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sg-category-card__title {
  max-width: 580px;
  margin-bottom: 13px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.sg-category-card__description {
  display: -webkit-box;
  max-width: 500px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sg-category-card__count {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.sg-category-card__arrow {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #111;
  background: var(--color_gl, #f0b159);
  font-family: Arial, sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.sg-category-card:hover .sg-category-card__arrow,
.sg-category-card:focus-visible .sg-category-card__arrow {
  color: #fff;
  background: var(--color_gl_hover, #d89a43);
}

.sg-products {
  margin-top: 58px;
}

.sg-product-list {
  border-top: 1px solid #ddd;
}

.sg-product-row {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr) 170px 210px;
  gap: 22px;
  align-items: center;
  min-height: 150px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.sg-product-row__image {
  display: block;
  width: 155px;
  height: 118px;
  overflow: hidden;
  background: #f1f1f1;
  text-decoration: none;
}

.sg-product-row__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.sg-product-row__image-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #999;
  font-size: 12px;
  font-weight: 700;
}

.sg-product-row__main {
  min-width: 0;
}

.sg-product-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 9px;
  color: #888;
  font-size: 12px;
}

.sg-product-row__meta a {
  color: var(--color_gl_hover, #d89a43);
  text-decoration: none;
}

.sg-product-row__name {
  display: block;
  max-width: 760px;
  margin-bottom: 12px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.sg-product-row__name:hover {
  color: var(--color_gl_hover, #d89a43);
}

.sg-product-row__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #777;
  font-size: 13px;
}

.sg-product-row__bottom .is-stock {
  color: #268044;
  font-weight: 800;
}

.sg-product-row__bottom .is-order {
  color: #a66c16;
  font-weight: 800;
}

.sg-product-row__price {
  text-align: right;
  white-space: nowrap;
}

.sg-product-row__price strong {
  color: #111;
  font-size: 24px;
  font-weight: 900;
}

.sg-product-row__price span {
  margin-left: 3px;
  color: #555;
  font-size: 15px;
}

.sg-product-row__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sg-product-row__details,
.sg-product-row__contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #111;
  border-radius: 0;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sg-product-row__details {
  color: #111;
  background: #fff;
}

.sg-product-row__details:hover {
  color: #fff;
  background: #111;
}

.sg-product-row__contact {
  border-color: var(--color_gl, #f0b159);
  color: #111;
  background: var(--color_gl, #f0b159);
}

.sg-product-row__contact:hover {
  border-color: var(--color_gl_hover, #d89a43);
  color: #fff;
  background: var(--color_gl_hover, #d89a43);
}

.sg-empty {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid #ddd;
  background: #f7f7f7;
}

.sg-empty strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.sg-empty span {
  color: #777;
}

@media (max-width: 1180px) {
  .sg-toolbar {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .sg-toolbar__submit,
  .sg-toolbar__reset {
    width: 100%;
  }

  .sg-product-row {
    grid-template-columns: 140px minmax(0, 1fr) 150px;
  }

  .sg-product-row__actions {
    grid-column: 2 / -1;
    max-width: 430px;
  }
}

@media (max-width: 820px) {
  .sg-catalog {
    padding: 38px 0 60px;
  }

  .sg-catalog__container {
    width: min(100% - 28px, 1400px);
  }

  .sg-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .sg-toolbar__search {
    grid-column: 1 / -1;
  }

  .sg-category-grid {
    grid-template-columns: 1fr;
  }

  .sg-category-card,
  .sg-category-card__content {
    min-height: 330px;
  }

  .sg-product-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }

  .sg-product-row__image {
    width: 120px;
    height: 105px;
  }

  .sg-product-row__price,
  .sg-product-row__actions {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .sg-toolbar {
    grid-template-columns: 1fr;
  }

  .sg-toolbar__search {
    grid-column: auto;
  }

  .sg-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sg-category-card,
  .sg-category-card__content {
    min-height: 285px;
  }

  .sg-category-card__content {
    padding: 28px 82px 28px 24px;
  }

  .sg-category-card__title {
    font-size: 29px;
  }

  .sg-category-card__arrow {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 38px;
  }

  .sg-product-row {
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: start;
  }

  .sg-product-row__image {
    width: 94px;
    height: 86px;
  }

  .sg-product-row__name {
    font-size: 17px;
  }

  .sg-product-row__price strong {
    font-size: 21px;
  }

  .sg-product-row__actions {
    grid-template-columns: 1fr;
  }
}

.not-found-page {
  position: relative;
  max-width: 1400px;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 40px;
  border: 1px solid rgba(240, 177, 89, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 25%,
      rgba(240, 177, 89, 0.12),
      transparent 38%),
    linear-gradient(145deg, rgba(36, 36, 36, 0.96), rgba(0, 0, 0, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

.not-found-page::before,
.not-found-page::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(240, 177, 89, 0.08);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.not-found-page::before {
  top: -170px;
  left: -120px;
}

.not-found-page::after {
  right: -150px;
  bottom: -190px;
}

.not-found-page__code {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -53%);
  font-size: clamp(180px, 28vw, 430px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(240, 177, 89, 0.035);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.not-found-page__content {
  position: relative;
  width: min(100%, 720px);
  text-align: center;
  z-index: 1;
}

.not-found-page__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(240, 177, 89, 0.26);
  background: rgba(240, 177, 89, 0.08);
  color: var(--color_gl);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.not-found-page h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.not-found-page__lead {
  max-width: 610px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.7;
}

.not-found-page__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.not-found-page__button {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.not-found-page__button:hover {
  transform: translateY(-2px);
}

.not-found-page__button--primary {
  background: var(--color_gl);
  color: var(--color_dop);
  box-shadow: 0 10px 30px rgba(240, 177, 89, 0.2);
}

.not-found-page__button--primary:hover {
  background: var(--color_gl_hover);
  box-shadow: 0 14px 34px rgba(216, 154, 67, 0.24);
}

.not-found-page__button--secondary {
  border-color: rgba(255, 255, 255, 0.1);
  background: var(--color_dop);
  color: #fff;
}

.not-found-page__button--secondary:hover {
  border-color: rgba(240, 177, 89, 0.3);
  background: var(--color_dop_hover);
  color: var(--color_gl);
}

.not-found-page__meta {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .not-found-page {
    min-height: 520px;
    padding: 60px 22px;
    border-radius: 20px;
  }

  .not-found-page__lead {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .not-found-page {
    min-height: 470px;
    padding: 48px 16px;
  }

  .not-found-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .not-found-page__button {
    width: 100%;
  }
}


.news-page {
  padding: 48px 0 70px;
  max-width: 1400px;
  margin: 0 auto;
}

.news-page__head {
  margin-bottom: 28px;
}

.news-page__title {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--color_dop);
}

.news-page__subtitle {
  margin: 0;
  font-size: 15px;
  color: #777;
}

/* На странице акций полностью убираем скругления. */
.news-page *,
.news-single * {
  border-radius: 0 !important;
}

/* GRID — карточки компактнее, на широком экране 4 в ряд. */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* CARD */
.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  overflow: hidden;
}

.news-card__media {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
  background: #f3f3f3;
}

.news-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-card:hover .news-card__image {
  transform: scale(1.035);
}

/* BADGE */
.news-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: var(--color_dop);
}

.news-badge--promo {
  background: var(--color_gl);
  color: #000;
}

/* BODY */
.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.news-card__meta {
  margin-bottom: 8px;
}

.news-card__date {
  font-size: 11px;
  color: #999;
}

/* TITLE */
.news-card__title {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 700;
}

.news-card__title a {
  color: #000;
  text-decoration: none;
}

.news-card__title a:hover {
  color: var(--color_dop);
}

.news-card__title--small {
  font-size: 16px;
}

/* TEXT */
.news-card__text {
  flex: 1;
  margin-bottom: 15px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #666;
}

.news-card__text--small {
  font-size: 12px;
}

/* LINK */
.news-card__link,
.news-empty__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
}

.news-card__link i {
  color: var(--color_gl);
}

/* EMPTY */
.news-empty {
  padding: 55px 20px;
  text-align: center;
  background: #f7f7f7;
  border: 1px solid #ececec;
}

.news-empty__icon {
  margin-bottom: 16px;
  font-size: 34px;
  color: var(--color_gl);
}

.news-empty__title {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}

.news-empty__text {
  margin-bottom: 18px;
  font-size: 14px;
  color: #777;
}

/* SINGLE */
.news-single {
  padding: 50px 0 75px;
}

.news-single__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.news-single__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #000;
  font-size: 13px;
  text-decoration: none;
}

.news-single__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  color: #999;
}

.news-single__breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.news-article {
  max-width: 950px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.news-article__meta .news-badge {
  position: static;
}

.news-article__date {
  font-size: 12px;
  color: #999;
}

.news-article__title {
  margin: 0 0 28px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 500;
}

.news-article__cover {
  margin-bottom: 30px;
}

.news-article__image {
  display: block;
  width: 50%;
  height: auto;
}

.news-article__content {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.news-article__content img {
  max-width: 100%;
  height: auto;
}

.news-single__groups {
  margin-top: 40px;
}

/* RELATED */
.news-related {
  margin-top: 58px;
}

.news-related__title {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
}

.news-related-slider {
  margin: 0 -9px;
}

.news-related-slide {
  padding: 0 9px;
}

.news-card--slider .news-card__media {
  height: 155px;
}

.news-card--slider .news-card__body {
  padding: 14px;
}

.news-card--slider .news-card__text {
  margin-bottom: 12px;
}

.news-related .slick-custom-btn {
  border-radius: 0 !important;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-article__title {
    font-size: 36px;
  }
}

@media (max-width: 650px) {

  .news-page,
  .news-single {
    padding: 34px 0 50px;
  }

  .news-page__head {
    margin-bottom: 22px;
  }

  .news-page__title {
    font-size: 34px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card__media {
    height: 190px;
  }

  .news-card__body {
    padding: 15px;
  }

  .news-card__title {
    font-size: 17px;
  }

  .news-single__top {
    display: block;
  }

  .news-single__breadcrumbs {
    display: none;
  }

  .news-article__title {
    font-size: 29px;
  }

  .news-article__content {
    font-size: 15px;
  }
}

.contacts {
  color: var(--color_dop);
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 50px;
}

.contacts__item {
  position: relative;
  padding-left: 18px;
}

.contacts__item::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;

  width: 4px;
  height: 32px;

  border-radius: 4px;
  background: var(--color_gl);
}

.contacts__title {
  display: block;
  margin-bottom: 7px;

  font-size: 14px;
  font-weight: 600;
  color: #777;
}

.contacts__item p {
  margin: 0;

  font-size: 16px;
  line-height: 1.5;
}

.contacts__item a {
  color: var(--color_dop);
  text-decoration: none;
  transition: color 0.2s;
}

.contacts__item a:hover {
  color: var(--color_gl_hover);
}

.contacts__item small {
  color: #777;
}

/* Мобильная версия */
@media (max-width: 700px) {
  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}