:root {
  /* ============ BREAKPOINTS ============ */
  --bp-xs: 375px;
  --bp-sm: 520px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;
  --bp-xxl: 1400px;
  --bp-xxxl: 1920px;

  /* ============ SPACING SCALE ============ */
  --space-base: 1rem;
  --space-2xs: clamp(0.125rem, 1vw, 0.25rem);
  --space-xs: clamp(0.25rem, 1.5vw, 0.5rem);
  --space-sm: clamp(0.5rem, 1.5vw, 1rem);
  --space-md: clamp(0.75rem, 1.5vw, 1.5rem);
  --space-lg: clamp(1rem, 1.5vw, 2rem);
  --space-xl: clamp(1.5rem, 3.5vw, 3rem);
  --space-2xl: clamp(2rem, 3.6vw, 4rem);
  --space-3xl: clamp(3rem, 5vw, 6rem);
  --space-4xl: clamp(4rem, 7vw, 8rem);

  /* ============ GRID SYSTEM ============ */
  --grid-columns: 12;
  --grid-gap: var(--space-md);
  --grid-sides: var(--space-lg);

  /* Container widths */
  --container-sm: 100%;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1200px;
  --container-xxl: 1400px;
  --container-full: min(100% - var(--grid-sides) * 2, var(--container-xl));

  /* Main colors */
  --c-brand: #ffc601;
  --c-main-1: #364b61;
  --c-main-2: #365463;
  --c-bg: #233140;
  --c-second-1: #f2f2f2;
  --c-second-2: #d9d9d9;
  --c-second-3: #d1dbe0;
  --c-second-4: #95a8b1;
  --c-light: #00000026;
  --shadow-color: #0022334d;
  --border-radius: 13.6px;
  --border-radius-light: 4px;
}
/* ============ TYPOGRAPHY ============ */
.hero-title {
  font-size: var(--h-hero, 5.375rem);
}

/* Дополнительные текстовые классы */

.p-large {
  font-size: var(--p-large, 1.25rem);
  line-height: 140%;
}

p,
.p-base {
  font-size: var(--p-base, 1rem);
  line-height: 150%;
}

.p-small {
  font-size: 0.875rem;
  line-height: 160%;
}

@media (max-width: 74.9375rem) {
  :root {
    --grid-columns: 10;
    --container-xl: 71.25rem;
  }
}

@media (max-width: 61.9375rem) {
  :root {
    --grid-columns: 8;
    --container-lg: 60rem;
    --grid-sides: var(--space-md);
  }
}

@media (max-width: 47.9375rem) {
  :root {
    --grid-columns: 6;
    --container-md: 45rem;
    --grid-sides: var(--space-sm);
  }
}

@media (max-width: 32.4375rem) {
  :root {
    --grid-columns: 4;
    --container-sm: 100%;
    --grid-sides: var(--space-xs);
  }
}

/* ============ BASE STYLES ============ */

html {
  font-size: 1rem;
  overflow-x: hidden;
}

@media (max-width: 80rem) {
  html {
    font-size: 0.9375rem;
  }
}

@media (max-width: 61.9375rem) {
  html {
    font-size: 0.875rem;
  }
}

@media (max-width: 47.9375rem) {
  html {
    font-size: 0.8125rem;
  }
}

.header-empty-overlay {
  display: none;
  /* margin-top: var(--space-md);
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  height: clamp(5rem, 6vw, 6.0625rem); */
}

@media (min-width: 992px) {
  .header-empty-overlay {
    display: block;
  }
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  color: var(--c-bg);
  background: var(--c-bg-primary);
}
main {
  flex: 1 0 auto;
  width: 100%;
}

body.popup-open {
  overflow: hidden;
  padding-right: 9.6px;
}

:target {
  scroll-margin-top: 9.375rem;
}

picture {
  display: block;
  line-height: 0;
  font-size: 0;
  width: 100%;
  height: 100%;
}

button,
.button {
  display: inline-block;
  position: relative;
  max-width: 22.25rem;
  width: 100%;
  padding: 1rem;
  background-color: var(--c-brand);
  color: var(--c-bg);
  border-radius: 1.25rem;
  border: none;
  font-family: "Cocomat Pro", sans-serif;
  font-weight: 500;
  font-size: 1.625rem;
  text-align: center;
}

.home-img-slider__cover .title-large {
  font-size: clamp(3.125rem, 5vw, 5.125rem);
  font-weight: 800;
  line-height: 100%;
  color: white;
}

.home-step-slider {
  min-height: calc(100vh - 6.125rem);
  height: auto;
  display: flex;
  flex-flow: column;
  justify-content: end;
  position: relative;
  touch-action: auto;
}

.home-step-slider__cover .title-large {
  font-size: clamp(4.375rem, 5vw, 5.125rem);
  line-height: 110%;
  font-weight: 800;
  color: white;
}

/* Для других страниц (без hero анимации) */
body:not(.homepage) .main-header {
  display: none;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background-color: white;
}

body:not(.homepage) .main {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  padding-top: 0;
}

.product-media {
  position: relative;
  /* max-height: 36.875rem; */
}

@media screen and (min-width: 62rem) {
  body:not(.homepage) .main-header {
    display: block;
  }
  .product-description {
    flex-flow: column;
  }

  .product-media {
    max-height: unset;
  }
}

@media screen and (min-width: 75rem) {
  .product-description {
    flex-flow: column;
  }
}

/* Блокировка скролла */
.scroll-disallowed,
body.scroll-disallowed,
html.scroll-disallowed {
  overflow: hidden !important;
  height: 100% !important;
  width: 100% !important;
  position: fixed !important;
}

/* Разрешение скролла */
.scroll-allowed {
  overflow: auto !important;
  position: static !important;
  height: auto !important;
}

/* Добавьте этот класс к body или html */
.scroll-allowed {
  overscroll-behavior: auto !important;
  height: auto !important;
}

/* ============ LAYOUT COMPONENTS ============ */
.main-header.main-header--start {
  display: none;
}
.main-header.main-header--end {
  display: none;
}

@media (min-width: 992px) {
  .main-header.main-header--end {
    display: block;
  }
}
.page-container {
  width: 100%;
  max-width: var(--container-full);
  margin: 0 auto;
  padding: 0 var(--grid-sides);
}

.header-mobile {
  display: block;
  position: fixed;
  font-size: 0.75rem;
  font-weight: 500;
  width: 100%;
  min-height: 4.875rem;
  bottom: 0;
  background-color: #fff;
  z-index: 50;
  color: var(--c-brand);
}

.header-mobile__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  color: var(--c-bg);
}

.header-mobile__list li a {
  display: flex;
  flex-flow: column wrap;
  min-height: 4.875rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.icon {
  color: inherit;
  fill: currentColor;
}

.header-mobile__list li.active {
  color: var(--c-brand);
}

.logo {
  display: block;
  width: clamp(3.75rem, 12vw, 7.5rem);
  height: auto;
  aspect-ratio: 70 / 25;
}

.menu-nav {
  height: clamp(5rem, 6vw, 6.0625rem);
  align-content: center;
  border-radius: var(--space-sm);
  background-color: var(--c-second-1);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  /* box-shadow: 0 .125rem .4375rem rgba(0, 0, 0, 0.226); */
}
body .menu-nav a.active-link {
  color: var(--c-brand);
  text-decoration: underline;
}
@media (min-width: 922px) {
  .menu-nav {
    padding-right: var(--space-2xl);
  }
}
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.625rem, 1fr));
  gap: var(--space-sm);
  align-items: center;
  font-weight: 600;
}

.menu-list a {
  display: inline-block;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
}

@keyframes heroTransitionMob {
  0% {
    background: #8b7f72;
  }

  100% {
    height: 91vh;
    margin: var(--space-md);
    background: transparent;
    z-index: 50;
  }
}

.hero button {
  margin: auto var(--space-lg) 50%;
}

@media (min-width: 768px) {
  .hero button {
    margin: auto;
  }
}

/* ============ UTILITY CLASSES ============ */

.section.main-footer {
  color: white;
  background-color: var(--c-bg);
  min-height: 100vh;
}

@media (min-width: 992px) {
  .section.main-footer {
    min-height: auto;
  }
}

.footer-marketplaces {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer-marketplaces a {
  display: inline-block;
}

.footer-socials,
.footer-logo {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.footer-socials {
  display: flex;
  padding-top: var(--space-md);
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  flex-flow: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding-top: var(--space-3xl);
}

.footer-nav ul,
.footer-contacts {
  display: flex;
  flex-flow: column;
  gap: var(--space-md);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-flow: column;
  gap: var(--space-xl);
}

.footer-col {
  display: flex;
  flex-flow: column wrap;
  text-align: center;
  justify-content: center;
  gap: var(--space-sm);
}
.footer-col.marketplaces {
  text-align: center;
}
.footer-col.marketplaces .footer-marketplaces {
  justify-content: center;
}
.footer-contacts {
  gap: var(--space-md);
}

/* ============ FALLBACK FOR NO-WEBP ============ */

.no-webp picture source[type*="webp"] {
  display: none;
}

/* ============ PRINT STYLES ============ */

@media print {
  .main-header,
  .main-footer {
    display: none;
  }
}

@media (min-width: 48rem) {
  body,
  .body {
    padding-bottom: unset;
  }

  .footer-socials,
  .footer-marketplaces {
    justify-content: start;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-nav ul,
  .footer-contacts,
  .footer-logo {
    text-align: left;
    gap: var(--space-sm);
  }

  .footer-nav {
    padding: var(--space-2xl) 0;
  }

  .footer-logo {
    justify-content: start;
    align-items: start;
  }

  .footer-col {
    display: flex;
    text-align: left;
    justify-content: start;
    flex-flow: column wrap;
    gap: var(--space-sm);
  }

  .footer-nav {
    padding: 0;
  }

  h4 {
    margin-bottom: var(--space-md);
  }

  .footer-col.marketplaces {
    text-align: right;
  }
  .footer-col.marketplaces .footer-marketplaces {
    justify-content: end;
  }
}

@media (min-width: 62rem) {
  .home-logo {
    display: none;
  }
  .footer-logo {
    padding-top: var(--space-xl);
  }
  .main-header {
    /* display: block; */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* z-index: 1550; */
    z-index: 150;
    background-color: white;
  }

  .header-container {
    width: 100%;
    padding: var(--space-md) var(--space-md);
    max-width: calc(103rem + var(--space-md) * 2);
    margin: 0 auto;
  }

  .menu-list {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: var(--space-lg);
  }

  .header--dt {
    padding: var(--space-md) var(--space-lg);
  }

  .header-mobile {
    display: none;
  }
}

.grid {
  display: grid;
  gap: var(--space-20);
}

section,
.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section-home-slider {
  padding-bottom: 0;
}

.container {
  width: 100%;
  max-width: calc(103rem + var(--space-md) * 2);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  margin-left: auto;
  margin-right: auto;
}

.container--md {
  max-width: clamp(45rem, 78vw, 80rem);
}

.container--lg {
  max-width: calc(clamp(45rem, 82vw, 93.75rem) + var(--space-md) * 2);
}

@media (min-width: 62rem) {
  .section-home-slider {
    padding-bottom: var(--space-4xl);
  }

  .gallery-video {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
  }

  .gallery-big {
    /* aspect-ratio: 598 / 632; */
    max-width: 598px;
    width: 100%;
    height: 100%;
  }

  .gallery-item {
    width: 100%;
  }
  .gallery-img.gallery-img--big {
    aspect-ratio: unset;
    height: 100%;
  }
  .gallery-img {
    aspect-ratio: 453 / 304;
  }
}

.main-catalog {
  background-color: var(--c-second-1);
}

.catalog {
  width: 100%;
  border-radius: var(--space-md);
  padding: var(--space-lg) 0;
}

.page-container {
  background-color: #f2f2f2;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.page-wrapper {
  display: flex;
  flex-flow: column;
  gap: var(--space-md);
}

.page-header__mob {
  display: block;
  position: fixed;
  width: 100%;
  text-align: center;
  padding-top: var(--space-md);
  background-color: var(--c-second-1);
  min-height: 6.0625rem;
  z-index: 999;
}

.arrow-back {
  display: inline-block;
  position: absolute;
  padding: 0.1875rem 0.9375rem;
  border-radius: 1.875rem;
  left: var(--space-lg);
  background-color: var(--c-second-2);
}

.page-nav-mob {
  margin-top: var(--space-md);
}

.main-catalog {
  display: flex;
  flex-flow: column;
}

.page-menu-mob {
  display: flex;
  gap: 0.4375rem;
  flex-flow: row nowrap;
  overflow-x: auto;
  padding: var(--space-sm) var(--space-lg);
}

.page-menu {
  display: none;
}

.page-menu a {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding: var(--space-xs);
  gap: var(--space-sm);
}

.page-menu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--space-xs);
}

.page-menu-mob a {
  display: inline-block;
  line-height: 0.8;
  background-color: var(--c-second-2);
  border-radius: 1.25rem;
  padding: 0.5rem 0.9375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.page-menu-mob a.active,
.page-menu a.active {
  background-color: var(--c-brand);
}

.page-left-column {
  width: 27%;
  margin-left: calc(-1 * var(--space-lg));
  margin-right: calc(-1 * var(--space-lg));
}

.page-menu-mob li {
  width: auto;
}

.category-wrapper {
  padding-bottom: var(--space-3xl);
}

.category-production {
  display: flex;
  flex-flow: row wrap;
  margin-right: calc(-1 * clamp(0.5rem, 1.3vw, 1.25rem));
  margin-top: var(--space-lg);
  row-gap: var(--space-2xl);
}

.production-title {
  flex-grow: 1;
}

.production-title h4,
.production-title .h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* количество видимых строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 140%;
  font-weight: 500;
  text-align: center;
}

.category-production-item {
  width: 33.33%;
  padding-right: clamp(0.5rem, 1.3vw, 1.25rem);
}

.category-production-item a {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: var(--space-xs);
  text-align: center;
  height: 100%;
}

.category-production-item a:hover {
  text-decoration: none;
}

.catalog-placeholder {
  margin-left: auto;
  padding-right: clamp(0.5rem, 1.3vw, 1.25rem);
}

.production-img {
  aspect-ratio: 3 / 4;
  border-radius: 1.25rem;
  overflow: hidden;
}

.production-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.catalog-instruction__wrappers {
  position: relative;
  max-height: 9.75rem;
  background-color: var(--c-brand);
  overflow: hidden;
  border-radius: 1.25rem;
}

.catalog-instruction {
  position: relative;
  min-height: clamp(153px, 25.2vw, 270px);
  border-radius: 1.25rem;
  max-width: clamp(14.0625rem, 25.8vw, 23.25rem);
  background:
    url("../files/icons/electro.svg") no-repeat right top / contain,
    linear-gradient(180deg, #ffc702, #ffc702);
  padding: clamp(1.125rem, 3.2vw, 1.875rem);
  padding-right: clamp(4.4375rem, 12.2vw, 10.875rem);
}

.catalog-instruction p,
.catalog-instruction .instruction-title {
  position: relative;
  z-index: 1;
  margin-bottom: 0.625rem;
}

.catalog-instruction .instruction-title {
  font-size: clamp(14px, 1.45vw, 20px);
  font-weight: 600;
}

.catalog-instruction p {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
}

.catalog-instruction picture {
  position: absolute;
  top: 5rem;
  right: 0;
  z-index: 0;
}

.catalog-instruction .cat-img {
  position: absolute;
  right: 0.3125rem;
  bottom: 0;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 99 / 142;
  max-width: 6.1875rem;
  z-index: 0;
}

.catalog-instruction-icon {
  display: none;
}

@media (min-width: 32.5rem) {
  /* .category-production {
    grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr));
  } */

  .catalog-instruction__wrappers {
    max-height: 11.75rem;
  }
}

@media (min-width: 48rem) {
  .page-container {
    background-color: white;
  }

  .catalog-instruction__wrappers .cat-img {
    aspect-ratio: 1;
    max-width: 8.125rem;
    height: auto;
    overflow: hidden;
    margin-top: -1.25rem;
    margin-left: 5.625rem;
  }
}

@media (min-width: 992px) {
  .catalog {
    background-color: var(--c-second-1);
  }

  .page-menu-icon {
    display: none;
  }

  .main-catalog {
    padding-top: var(--space-lg);
    background-color: unset;
  }

  .catalog {
    padding: var(--space-lg);
  }

  .page-wrapper {
    flex-flow: row nowrap;
  }

  .page-menu-mob {
    display: none;
  }

  .page-left-column {
    position: relative;
    margin-left: unset;
    margin-right: unset;
  }

  .page-nav {
    display: block;
    position: sticky;
    border-radius: var(--space-md);
    top: calc(clamp(5rem, 6vw, 6.0625rem) + var(--space-md) * 2);
    padding: var(--space-lg);
    background-color: var(--c-second-1);
  }

  .page-container {
    margin-top: unset;
  }

  .page-menu {
    display: flex;
    flex-flow: column;
    gap: var(--space-sm);
  }

  /* .category-production {
    grid-template-columns: repeat(auto-fill, minmax(9.375rem, 1fr));
  } */

  .production-title {
    font-size: 20px;
  }

  .catalog-instruction-icon {
    display: block;
    margin-bottom: var(--space-sm);
  }

  .catalog-instruction__wrappers {
    padding-right: 40%;
    height: 100%;
    border-radius: 1.25rem 1.25rem 0 0;
    overflow: visible;
  }

  .catalog-instruction__wrappers .cat-img {
    position: absolute;
    max-width: 13.125rem;
    width: 100%;
    height: auto;
    right: 0;
    bottom: -2.5rem;
    margin-top: unset;
    margin-right: unset;
  }

  .production-title {
    padding: 0 var(--space-sm) var(--space-xs);
  }

  .category-production-item {
    width: 20%;
  }

  .category-production-item a {
    border-radius: 1.25rem;
  }

  .footer-socials a,
  a {
    transition: all 0.3s ease-in-out;
  }

  .footer-socials a:hover,
  a:hover {
    color: #5b7691;
    transform: translateY(-0.125rem);
    transition: all 0.3s ease-in-out;
  }

  .button:hover,
  .home-catalog__item:hover {
    cursor: pointer;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
    transform: translateY(-0.125rem);
    transition: all 0.3s ease-in-out;
    color: var(--c-bg);
  }

  .page-menu a {
    border-radius: var(--space-xs);
  }

  .page-menu a:hover {
    background-color: #fff;
    transform: translateY(-0.125rem);
    transition: all 0.5s ease-in-out;
  }

  .catalog-instruction .instruction-title {
    position: relative;
    z-index: 1;
    margin-bottom: 1.0625rem;
  }

  .catalog-instruction .cat-img {
    right: 2.5rem;
    aspect-ratio: 154 / 220;
    max-width: 9.625rem;
  }

  .category-production-item {
    width: 25%;
  }

  .catalog-instruction {
    background:
      url("../files/icons/electro.svg") no-repeat right top / contain,
      linear-gradient(180deg, #ffc702 70%, #fff 70%);
  }
}

@media (min-width: 620px) {
  .category-production-item {
    width: 25%;
  }
}

@media (min-width: 1200px) {
  .catalog-instruction__wrappers {
    padding-right: 25%;
  }

  .catalog-instruction__wrappers .cat-img {
    max-width: 12.5rem;
    bottom: -1.875rem;
  }

  .category-production-item {
    width: 20%;
  }
}

@media (min-width: 1400px) {
  .page-menu-icon {
    display: inline-block;
  }

  .catalog-instruction__wrappers .cat-img {
    bottom: -3.125rem;
  }

  .page-menu-icon {
    aspect-ratio: 1;
    max-width: 50px;
    min-width: 50px;
    border-radius: 0.4375rem;
  }
}

.page-product {
  padding-top: 0;
  display: flex;
  flex-flow: column;
}

.product-slider {
  position: relative;
  aspect-ratio: 1;
  margin: 0 auto;
  max-width: 100%;
  height: 70vh;
  border-radius: 20px;
}

.instruction-slider {
  position: relative;
  aspect-ratio: 1;
  margin: 0 auto;
  max-width: 100%;
  height: 70vh;
  border-radius: 20px;
}

.kinescope-play-btn {
  background: #ffc702;
  width: 60px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.product-info {
  position: absolute;
  bottom: 0;
  background-color: white;
  border-radius: 1.25rem 1.25rem 0 0;
  margin: 0 calc(-1 * var(--space-lg));
  box-shadow: 0.125rem -0.25rem 0.625rem #35353518;
  z-index: 10;
  width: -webkit-fill-available;
}

.product-description {
  display: flex;
  flex-flow: column;
  gap: var(--space-md);
  position: relative;
  height: 100vh;
}

@media screen and (min-width: 62rem) {
  .product-description {
    flex-flow: row nowrap;
  }

  .product-slider {
    max-width: 26.25rem;
    max-height: 100%;
  }

  .instruction-slider {
    max-width: 26.25rem;
    max-height: 100%;
  }
}

@media screen and (min-width: 87.5rem) {
  .product-slider {
    max-width: 35.625rem;
  }

  .instruction-slider {
    max-width: 35.625rem;
  }
}

.product-info h2 {
  margin-bottom: var(--space-lg);
}

.product-info__inner {
  padding: var(--space-xl);
}

/* EXPANDABLE TEXT STYLES */

.product-info__description {
  position: relative;
  margin-bottom: var(--space-xl);
  min-height: 4rem;
}

.description-content {
  max-height: 3.75rem;
  min-height: 3.75rem;
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Убираем градиент - он мешает проверке высоты */

.description-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.description-content ul {
  list-style-type: disc;
  padding-left: 30px;
}
.product-info__description.expanded .description-content {
  max-height: 62.5rem;
}

.product-info__description.expanded .description-content::after {
  opacity: 0;
}

.show-more-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0;
  /* transform: translateX(-50%); */
  /* background: white; */
  /* border: .0625rem solid #ddd; */
  /* border-radius: 1.25rem; */
  /* padding: .3125rem .9375rem; */
  cursor: pointer;
  /* display: none; */
  background-color: #f5f5f5;
  /* По умолчанию скрыта */
  /* align-items: center; */
  /* gap: .3125rem; */
  /* font-size: .875rem; */
  /* color: #666; */
  transition: all 0.3s ease;
  z-index: 2;
  width: auto;
}

.custom-fullscreen-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  cursor: pointer;
  z-index: 999;
  margin: var(--space-md);
  width: 1.875rem;
  height: 1.875rem;
  transition: all 0.3s ease;
  background-color: transparent;
  font-size: unset;
}

.custom-fullscreen-btn img {
  width: 1.25rem;
  height: 1.25rem;
}

.show-more-btn:hover {
  border-color: #999;
}

.show-more-btn img {
  transition: transform 0.3s ease;
}

.product-info__description.expanded .show-more-btn img {
  transform: rotate(180deg);
}

/* Кнопка всегда видна, когда нужна */

.show-more-btn.visible {
  display: flex !important;
}

.product-info__description > *,
.product-info__description p,
.product-info__description ul,
.product-info__description blockquote {
  font-size: var(--p-base, 1.25rem);
}

.product-switcher {
  max-width: 100%;
}

.product-switcher a {
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: 1.25rem;
  height: 4.5625rem;
  width: 100%;
  font-size: 1.625rem;
  background-color: var(--c-brand);
  color: var(--c-bg);
}

.product-switcher a.active {
  display: flex;
}

.product-switcher a:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
}

.product-marketplaces {
  display: grid;
  margin: var(--space-xl) auto;
  grid-template-columns: repeat(auto-fit, minmax(5.625rem, 1fr));
  gap: var(--space-xs);
}

.product-marketplaces a:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
}

.product-info .product-marketplaces {
  display: grid;
  margin: var(--space-xl) var(--space-xl) 0;
}

.product-media .product-marketplaces {
  display: none;
}

@media (min-width: 768px) {
  .product-info .product-marketplaces {
    display: none;
  }

  .product-media .product-marketplaces {
    display: grid;
  }
}

.product-marketplaces.product-marketplaces--buy {
  display: none;
}

.product-marketplaces .ozon a {
  background-color: rgba(0, 91, 255, 0.2);
}

.product-marketplaces .wb a {
  background-color: rgba(135, 12, 245, 0.2);
}

.product-marketplaces .yamarket a {
  background-color: rgba(255, 213, 40, 0.2);
}

.product-marketplaces .ozon a,
.product-marketplaces .wb a,
.product-marketplaces .yamarket a {
  display: flex;
  height: 100%;
  font-weight: 500;
  padding: var(--space-sm);
  border-radius: 9.375rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal.swiper-pagination-bullets-dynamic {
  transform: translateX(-50%) translateY(0) !important;
}

/* Стили для пагинации */
.swiper-pagination-vertical.swiper-pagination-bullets,
.swiper-vertical > .swiper-pagination-bullets {
  top: 20%;
}

.swiper-pagination-bullet {
  display: block;
  margin: var(--space-lg) 0 !important;
  width: 0.375rem;
  height: 0.375rem;
}

.swiper-pagination-bullet-active {
  background: #1e3853;
}

.product-slider__item {
  /* display: flex; */
  /* justify-content: center; */
  /* aspect-ratio: 3 / 4; */
  background: #f5f5f5;
  border-radius: 1.25rem;
  overflow: hidden;
}

.product-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.swiper-button-next,
.swiper-button-prev {
  display: none;
}

/* ФИКС для PhotoSwipe 5.4.4 */

.pswp {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999999 !important;
  display: none;
}

.pswp--open {
  display: block;
}

.pswp__scroll-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Предотвращаем влияение на другие элементы */

body.pswp-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

.product-switcher,
.product-marketplaces {
  position: relative;
  z-index: 1;
}

/* Защита ваших элементов */

.product-info__description,
.product-slider,
.product-switcher,
.product-marketplaces {
  position: relative;
  z-index: 1;
  transform: none !important;
}

.main-footer .h3,
.main-footer .h4,
.main-footer .h5 {
  color: white;
  margin-bottom: var(--space-md);
}

@media (min-width: 48rem) {
  .product-slider {
    aspect-ratio: 16 / 9;
  }

  .product-info {
    position: relative;
    background-color: unset;
    border-radius: unset;
    margin: unset;
    box-shadow: none;
  }

  .product-info__inner {
    padding: var(--space-md) 0;
  }

  .product-marketplaces .ozon a,
  .product-marketplaces .wb a,
  .product-marketplaces .yamarket a,
  .product-marketplaces--buy {
    display: flex;
    font-weight: 500;
    padding: var(--space-xs);
    border-radius: 9.375rem;
    text-align: center;
    align-items: center;
  }

  .product-switcher a {
    font-size: 1.625rem;
  }

  .custom-swiper-button-next,
  .custom-swiper-button-prev {
    display: flex;
    position: absolute;
    top: 48%;
    z-index: 99;
    cursor: pointer;
    background-color: transparent;
    color: white;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .custom-swiper-button-prev {
    left: 0;
  }

  .custom-swiper-button-next {
    right: 0;
  }

  @media (min-width: 1200px) {
    .button-prev-outer {
      transform: translateX(-7.5rem);
    }

    .button-next-outer {
      transform: translateX(7.5rem);
    }
  }

  .custom-swiper-button-next:after,
  .custom-swiper-button-prev:after {
    font-size: 1.125rem;
  }

  .home-img-slider__wrapper {
    position: relative;
  }
}

@media (min-width: 62rem) {
  .product {
    width: 100%;
  }

  .product-slider {
    aspect-ratio: 1;
  }

  .product-info {
    margin: unset;
  }

  .product-info__inner {
    padding: var(--space-md) 0;
  }

  .product-info__description {
    margin-bottom: var(--space-lg);
  }

  .product-marketplaces {
    margin-top: var(--space-lg);
  }

  .description-content {
    max-height: 5rem;
    min-height: 5rem;
  }
  .description-content::after {
    /* bottom: 3.75rem; */
  }

  .page-product .product-info {
    padding-top: 0;
  }

  .product-info {
    padding-top: 5rem;
  }
}

@media (min-width: 75rem) {
  /* .description-content {
        max-height: 7.5rem;
        min-height: 7.5rem;
    }

    .description-content::after {
        bottom: 70x;
    } */

  .product-info__inner {
    padding: 0;
  }
}

@media (min-width: 87.5rem) {
  .product-slider {
    height: auto;
  }

  .instruction-slider {
    height: auto;
  }
}

.visible--md {
  display: none !important;
}

.visible--sm {
  display: none !important;
}

.hidden--sm {
  display: block;
}

@media (min-width: 32.5rem) {
  .visible--sm {
    display: block !important;
  }

  .hidden--sm {
    display: none !important;
  }
}

@media (min-width: 48rem) {
  .visible--md {
    display: block !important;
  }

  .hidden--md {
    display: none !important;
  }

  .hero .hero-video--dt {
    display: flex;
    position: relative;
    width: 100%;
    margin-top: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: auto;
    flex-wrap: wrap;
    align-content: end;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    border-radius: 1.25rem;
    z-index: 5;
  }
}

.visible--lg {
  display: none !important;
}

@media (min-width: 62rem) {
  .visible--lg {
    display: block !important;
  }

  .hero .hero-video--dt {
    max-height: 100vh;
  }

  /* .hero-video--dt .video-dt {
    margin-bottom: -5.9375rem;
  } */
}

.hidden--lg {
  display: block;
}

@media (min-width: 62rem) {
  .hidden--lg {
    display: none;
  }
}

address,
dl,
fieldset,
figure,
ol,
p,
pre,
ul {
  margin: unset;
}

.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-3xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: unset;
}

/* Для десктопа (горизонтальная пагинация) */

.swiper-pagination.swiper-pagination-horizontal {
  /* Сбрасываем вертикальные позиции */
  top: auto;
  bottom: 1.25rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(5rem);

  /* Фиксируем размеры */
  width: auto !important;
  min-width: 6.25rem;
  height: 1.25rem;

  /* Флекс-контейнер */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 48rem) {
  .swiper-pagination.swiper-pagination-horizontal {
    /* Сбрасываем вертикальные позиции */
    top: auto;
    bottom: 1.25rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0) !important;

    /* Фиксируем размеры */
    width: auto;
    min-width: 6.25rem;
    height: 1.25rem;

    /* Флекс-контейнер */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
  }

  /* Буллеты - сброс всех позиций */
  .swiper-pagination-bullet {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    display: inline-block;
    float: none;
    vertical-align: middle;

    /* Размеры */
    width: 8px;
    height: 8px;

    /* Анимации */
    transform: none;
    transition: all 300ms;
  }

  /* Динамические буллеты */
  .swiper-pagination-bullets-dynamic {
    /* Сброс трансформаций */
    transform: translateX(-50%);

    /* Размеры контейнера */
    width: auto;
    height: 1.25rem;
    overflow: visible;
    white-space: nowrap;
  }

  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    /* Отключаем абсолютное позиционирование */
    position: relative;
    display: inline-block;
    transform: scale(1);
  }

  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    transform: scale(1.2);
  }

  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform: scale(1.2);
  }

  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next,
  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    transform: scale(1.1);
  }
}

.home-logo {
  width: 8.125rem;
  height: auto;
}

.home-img-slider__cover .home-logo {
  display: block;
}

.hero-img {
  position: relative;
  aspect-ratio: 9 / 16;
  top: 0;
  width: 100%;
  height: calc(100vh - 4.875rem);
  z-index: 1;
}

.hero-img-desktop {
  display: none;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-catalog {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  /* padding-left: var(--space-2xl); */
  /* padding-right: var(--space-2xl); */
}

.home-catalog__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.home-catalog-section {
  text-align: center;
}

.home-catalog-section h1 {
  font-weight: 800;
}

.home-catalog__item {
  overflow: hidden;
  display: flex;
  border-radius: 1.25rem;
  background-color: #f2f2f2;
}

.home-catalog__item--big {
  display: none;
  overflow: visible;
  max-height: 43.125rem;
}

.home-catalog__item a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 0 auto;
  width: 100%;
  height: 100%;
}

.home-catalog__item a p {
  margin-top: auto;
  margin-bottom: var(--space-md);
  text-align: center;
  padding: 0 var(--space-sm);
}

/* Для больших карточек сохраняем absolute позиционирование */
.home-catalog__item--big a {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
}

.home-catalog__item--big a p {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.poster-img {
  display: none;
}

.poster-img-mob {
  display: block;
  height: 90vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 6;
  margin: 0 auto;
  padding: var(--space-lg);
}

.poster-img-mob img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
}

.video-mob {
  display: block;
  position: relative;
  height: 100vh;
  width: 100vw;
}

@media (min-width: 48rem) {
  .poster-img-mob {
    display: none;
  }
  .poster-img {
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 6;
    aspect-ratio: 1648 / 862;
    max-width: calc(103rem + var(--space-md) * 2);
    width: 100%;
    max-height: 820px;
    padding: var(--space-md);
    margin: 0 auto;
  }

  .poster-img img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.home-catalog__item .home-catalog__img {
  max-height: 200px;
}
.home-catalog__item--big .home-catalog__img {
  aspect-ratio: 620/704;
  position: absolute;
  bottom: 0;
  max-height: 580px;
  margin-top: calc(-1 * var(--space-4xl));
}

.home-catalog__img {
  aspect-ratio: 1;
  width: 100%;
  flex-shrink: 0;
}

.home-catalog__item--big .home-catalog__img img {
  border-radius: 1.25rem;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.home-catalog__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.button-wrapper {
  width: 100%;
}

.button-wrapper {
  display: flex;
  justify-content: center;
}

.brand-video {
  overflow: hidden;
  margin: 0 auto;
}

.brand-video-mob {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand-video-mob .video-wrapper {
  position: relative;
  aspect-ratio: 9/16;
  width: 80%;
}

.brand-video img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-step-slider__cover {
  display: flex;
  flex-flow: column;
  gap: var(--space-2xl);
  align-items: center;
  text-align: center;
  min-height: 47vh;
  background-color: var(--c-brand);
  border-radius: 1.25rem;
  padding: var(--space-4xl) var(--space-2xl) var(--space-2xl);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.home-step-slider__cover .home-logo {
  aspect-ratio: 155 / 63;
  width: 9.6875rem;
}

.home-step-slider__cover .home-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 62rem) {
  .home-step-slider__cover {
    align-items: start;
    text-align: left;
  }
}

.home-step-slider__cover .title-large {
  color: white;
}

.slider-wrapper {
  /* width: 100%; */
  overflow-x: hidden;
  position: relative;
  touch-action: pan-y pinch-zoom;
  margin-top: -8.75rem;
  margin-left: calc(-1 * var(--space-lg));
  margin-right: calc(-1 * var(--space-lg));
}

.slider-container {
  /* overflow: hidden; */
  width: 100%;
  cursor: grab;
}

.slider-container.grabbing {
  cursor: grabbing;
}

.slider-line__track {
  /* width: 204.375rem; */
  width: 251.375rem;
  /* height: 26.25rem; */
  /* aspect-ratio: 4096 / 420; */
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
}

@media (min-width: 400px) {
  .slider-line__track {
    width: 370rem;
  }
}

.slider-line__img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
}

.slider-line__img img {
  width: 100%;
  max-width: unset;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Индикаторы точек останова */

.breakpoints {
  display: none;
  position: absolute;
  bottom: var(--space-lg);
  left: 0;
  right: 0;
  /* display: flex; */
  justify-content: center;
  gap: var(--space-md);
  z-index: 10;
}

.breakpoint {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 0.125rem solid white;
  cursor: pointer;
  transition: all 0.3s;
}

.breakpoint.active {
  background: var(--c-brand);
  transform: scale(1.2);
}

.progress-bar {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.1875rem;
  background: var(--c-brand);
  transition: width 0.3s;
  z-index: 11;
}

.swipe-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3rem;
  height: auto;
  aspect-ratio: 1;
  margin: var(--space-md);
}

.home-img-slider {
  display: none;
}

@media (min-width: 48rem) {
  .home-catalog__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-catalog__item--big {
    display: flex;
    grid-column: 3 / 5;
    grid-row: 1 / 3;
  }
}

@media (min-width: 62rem) {
  .hero-img {
    display: none;
  }

  .home-logo {
    display: none;
  }

  .hero-img-desktop {
    display: block;
    aspect-ratio: 1648 / 862;
    padding: var(--space-lg);
  }

  .hero-img-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
  }

  .home-step-slider {
    display: none;
  }

  .home-img-slider {
    display: block;
    max-width: 87.5rem;
  }

  .home-img-slider__img {
    aspect-ratio: 1400 / 874;
    overflow: hidden;
    border-radius: clamp(1.25rem, 2vw, 1.875rem);
  }

  .home-img-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
  }

  .home-img-slider__cover {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-flow: column;
    gap: var(--space-lg);
    background-color: var(--c-brand);
    border-radius: clamp(1.25rem, 2vw, 1.875rem);
    padding: var(--space-xl);
    height: 46%;
    width: 49%;
  }

  .home-img-slider__first-path {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: clamp(1.25rem, 2vw, 1.875rem);
    background-image: url("../img/path.webp");
    height: 46%;
    width: 49%;
  }
}

/* Добавим медиа-запрос для кнопок */

@media (max-width: 48rem) {
  .nav-btn {
    display: none !important;
  }
}

/* Добавим индикатор свайпа */

.swipe-hint {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 123, 255, 0.8);
  color: white;
  padding: 0.3125rem 0.9375rem;
  border-radius: 1.25rem;
  font-size: 0.75rem;
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  /* display: none; */
  z-index: 1000;
}

.popup-wrapper {
  display: flex;
  position: relative;
  top: 50px;
  justify-content: right;
  align-items: start;
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.popup {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 48rem) {
  .popup-wrapper {
    display: flex;
    justify-content: right;
    align-items: start;
    max-width: calc(103rem + var(--space-lg) * 2);
    width: 100%;
    top: 0;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 62rem) {
  .popup {
    width: 78%;
    max-height: 51.5625rem;
  }
}

@media (min-width: 75rem) {
  /* .hero-video--dt .video-dt {
    margin-bottom: -7.8125rem;
  } */
}

.popup-header {
  padding: 1.25rem 1.875rem;
  background: #f8f9fa;
  border-bottom: 0.0625rem solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-modal {
  position: relative;
  padding: var(--space-lg) 0;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  height: 100vh;
}

.product-overlay {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
}

.popup-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 2.125rem;
  height: 2.125rem;
  margin-top: var(--space-md);
  margin-right: var(--space-md);
  z-index: 99;
}

.popup-content {
  flex: 1;
  padding: 1.875rem;
  overflow-y: auto;
}

.popup-footer {
  padding: 1.25rem 1.875rem;
  background: #f8f9fa;
  border-top: 0.0625rem solid #dee2e6;
  display: flex;
  justify-content: flex-end;
  gap: 0.9375rem;
}

.action-btn {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1rem;
}

.secondary-btn {
  background: #6c757d;
  color: white;
}

.hidden {
  display: none;
}

#slider {
  touch-action: pan-y pan-x !important;
  -webkit-tap-highlight-color: transparent !important;
  pointer-events: auto !important;
}

#slider .slider-line__track,
#slider .slider-line__img {
  touch-action: pan-y pan-x !important;
}

/* Изображение должно позволять только горизонтальное перетаскивание */
/* #slider img {
  touch-action: pan-x !important;
  -webkit-user-drag: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
} */

.slider-container {
  /* overflow: hidden; */
  width: 100%;
  cursor: grab;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}

/* При dragging разрешаем только горизонтальный скролл */
.slider-container.grabbing {
  cursor: grabbing;
  touch-action: pan-y !important;
}

.slider-container.grabbing img {
  touch-action: pan-x !important;
}

/* Для лучшей чувствительности на мобильных */
@media (max-width: 61.9375rem) {
  #slider {
    touch-action: pan-y pan-x !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .slider-line__track {
    will-change: transform !important;
    backface-visibility: hidden !important;
  }
}

/* Разрешаем скролл на мобильных */
@media (max-width: 991px) {
  /* body {
    overflow-y: auto !important;
  } */

  .slider-wrapper {
    touch-action: pan-y pan-x;
  }
}

.slider-container {
  /* overflow: hidden; */
  width: 100%;
  cursor: grab;
  touch-action: pan-y pan-x !important;
  -webkit-overflow-scrolling: touch !important;
}

.slider-container.grabbing {
  cursor: grabbing;
  touch-action: pan-x !important;
}

/* Для лучшей чувствительности на мобильных */
@media (max-width: 61.9375rem) {
  #slider {
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .slider-line__track {
    will-change: transform !important;
    backface-visibility: hidden !important;
  }
}

/* Для десктопов */
@media (min-width: 62rem) {
  .description-content.has-gradient::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.75rem;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
  }
}

/* Для мобильных */
@media (max-width: 61.9375rem) {
  .description-content.has-gradient::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
  }
}

.description-content {
  position: relative;
  overflow: hidden;
}

/* Стили для полноэкранного режима */
:fullscreen #fullscreen-video-container iframe,
:-webkit-full-screen #fullscreen-video-container iframe,
:-moz-full-screen #fullscreen-video-container iframe,
:-ms-fullscreen #fullscreen-video-container iframe {
  object-fit: contain !important;
  width: 100% !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
}

.uk-lightbox-iframe {
  aspect-ratio: 3/4;
  height: 80%;
  width: unset;
}

.product-info-line {
  display: none;
}

@media (min-width: 48rem) {
  .product-description {
    height: auto;
  }

  .product-overlay {
    display: none;
  }

  .product-info {
    position: unset;
    bottom: unset;
  }

  .product-info-line {
    display: block;
    width: 100%;
    margin: var(--space-md) 0;
    height: 0.0625rem;
    background-color: #afafaf;
  }
}

@media (min-width: 62rem) {
  .product-switcher {
    max-width: 30.9375rem;
  }
}

/* Убираем возможные проблемы с переполнением */
.slider-line__track {
  overflow: visible !important;
}

/* Для плавных циклических переходов */
.slider-line__track {
  will-change: transform;
  backface-visibility: hidden;
}

/* Индикаторы точек */
.breakpoint {
  transition: all 0.3s ease;
}

/* Разрешаем скролл на мобильных */
@media (max-width: 991px) {
  .slider-wrapper {
    touch-action: pan-y pan-x;
  }
}

/* О компании */

.about-page .p-large {
  margin-bottom: 12px;
}
.heading-wrapper {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: clamp(40px, 2.5vw, 70px);
  max-width: 680px;
}
.about-heading {
  font-size: clamp(13px, 2.5vw, 23px);
  line-height: 130%;
  margin-bottom: 15px;
}
.about-history {
  position: relative;
}

.about-history__content p {
  text-indent: 3%;
  text-align: justify;
}

/* Мобильная версия (по умолчанию) */
.about-history__blockquote {
  max-width: 686px;
  margin-bottom: var(--space-2xl);
  width: 100%;
}
blockquote {
  padding: 0 var(--space-md);
}
/* Десктоп: float + обтекание */
@media (min-width: 768px) {
  .blockquote {
    padding: 0;
  }
  .about-history__blockquote {
    float: right;
    margin-left: clamp(50px, 9vw, 170px);
    margin-bottom: var(--space-3xl);
    width: calc(50% - 55px);
    max-width: 650px;
  }
}

.about-history__content {
  min-height: 400px;
  /* Пример */
}

/* Верхняя линия */
.top-line {
  display: block;
  width: 100%;
  max-width: 374px;
  height: 3px;
  background-color: #d9d9d9;
  margin-bottom: var(--space-2xl);
}

.about-backstage {
  clear: both;
}

.about-backstage .button-wrapper {
  padding-bottom: 108px;
}

.gallery-1-4 {
  padding: 108px 0;
}

.gallery-1-4-dt {
  display: none;
}

#backstageSlider .swiper-pagination {
  padding-top: 50px;
  min-height: 50px;
  position: relative;
  transform: translateX(-50%);
  gap: 24px;
}

#backstageSlider .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
}

#backstageSlider a {
  display: block;
  aspect-ratio: 384 / 298;
  border-radius: 20px;
  overflow: hidden;
}

#backstageSlider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-statistic,
.about-statistic ul {
  margin-bottom: 108px;
}

.about-statistic li {
  margin-bottom: var(--space-3xl);
}

.about-statistic__content::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 7px;
  left: 0;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
  background: url("../files/icons/check-circle.svg") no-repeat center / cover;
}

.about-statistic__content {
  position: relative;
  padding-left: 40px;
}

.about-statistic__content p {
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.about-statistic__content span {
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.about-statistic .img-wrapper {
  overflow: hidden;
  border-radius: 20px;
}

.about-statistic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blockquote.blockquote--float {
  float: right;
  margin-left: clamp(50px, 9vw, 170px);
  margin-bottom: var(--space-3xl);
  width: calc(50% - 55px);
  max-width: 650px;
  width: 100%;
}
.blockquote {
  margin: 0;
  max-width: 620px;
}
blockquote {
  color: var(--c-bg);
  font-size: clamp(30px, 3vw, 55px);
  line-height: 140%;
  font-style: normal;
  line-height: 1.3;
}
.figure-text-layout {
  display: flex;
  flex-flow: row wrap;
  gap: var(--space-lg);
  padding-bottom: 108px;
}

.main-blockquote-cat {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.main-blockquote-cat picture {
  width: auto;
}

.main-blockquote-cat img {
  margin: 0 auto;
}

@media (min-width: 992px) {
  .gallery-1-4-dt {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr);
    grid-template-rows: auto auto;
    row-gap: 24px;
    column-gap: 34px;
    grid-template-areas:
      "big item2 item3"
      "big item4 item5";
  }

  .gallery-big {
    grid-area: big;
  }

  .gallery-img {
    display: block;
    border-radius: 20px;
    overflow: hidden;
  }

  .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .gallery-item:nth-child(2) {
    grid-area: item2;
  }

  .gallery-item:nth-child(3) {
    grid-area: item3;
  }

  .gallery-item:nth-child(4) {
    grid-area: item4;
  }

  .gallery-item:nth-child(5) {
    grid-area: item5;
  }

  .about-statistic ul {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: 74px;
  }

  .about-statistic li {
    margin-bottom: 0;
  }

  .about-statistic .img-wrapper {
    aspect-ratio: 1562 / 610;
  }

  .about-statistic .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .figure-text-layout {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    max-width: 1164px;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .main-blockquote-cat {
    max-width: 490px;
    width: 100%;
  }
}

/* ВРЕМЕННО для отладки */
a {
  color: inherit;
  text-decoration: none !important;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

/* Скрываем мобильный логотип по умолчанию */
.home-logo--mobile {
  display: none;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  text-align: center;
  width: 100%;
  pointer-events: none;
}

/* Стили для мобильной версии */
@media (max-width: 767px) {
  .home-logo--mobile {
    display: block;
  }

  /* Позиционируем над постером */
  .poster-img-mob {
    position: relative;
  }

  .home-logo--mobile img {
    width: 130px;
    height: 53px;
    margin: 0 auto;
    display: block;
  }
}

/* Скрываем мобильный логотип на десктопе */
@media (min-width: 768px) {
  .home-logo--mobile {
    display: none !important;
  }
}

.uk-lightbox-items-fit > * > :not(iframe) {
  background-color: white;
}

/* HERO */

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  text-align: center;
  width: 100%;
  pointer-events: none;
}

.hero-content .button {
  pointer-events: auto;
}

/* Контейнер для видео на десктопе */
.video-full-dt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  overflow: hidden;
}

.video-full-dt video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Контейнер для видео на мобильных */
.hero-video-mob {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  /* height: 100vh; */
  z-index: 999;
  overflow: hidden;
}

.hero-video-mob video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Мобильный логотип */
.home-logo--mobile {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1003;
  text-align: center;
  width: auto;
  pointer-events: none;
}

.home-logo--mobile img {
  max-width: 130px;
  height: auto;
}

.homepage .main-header {
  display: none;
}

@media (min-width: 992px) {
  .homepage .main-header {
    display: block;
  }
}

/* Анимация для хедера */
.main-header {
  transition: all 0.3s ease;
}

.main-header--start {
  opacity: 0;
  visibility: hidden;
}

.main-header--end {
  opacity: 1;
  visibility: visible;
}

/* Блокировка скролла */
.scroll-disallowed,
body.scroll-disallowed,
html.scroll-disallowed {
  overflow: hidden !important;
  height: 100% !important;
  width: 100% !important;
  position: fixed !important;
}

.scroll-allowed {
  overflow: auto !important;
  position: static !important;
  height: auto !important;
}

/* Десктоп версия */
@media (min-width: 768px) {
  .hero-video-mob {
    display: none;
  }
}

/* Мобильная версия */
@media (max-width: 767px) {
  .video-full-dt {
    display: none;
  }

  .home-logo--mobile {
    top: 20px;
  }
}

/* Стили для сворачивания текста */
#info-description .description-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#info-description .description-content {
  max-height: none; /* По умолчанию полная высота */
}

#info-description:not(.expanded) .description-content {
  max-height: 200px; /* Свернутое состояние */
}

#info-description .show-more-btn svg {
  transition: transform 0.3s ease;
}

/* Градиент для свернутого текста */
#info-description:not(.expanded) .description-content {
  position: relative;
}

#info-description:not(.expanded) .description-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
}
