@font-face {
  font-family: 'Roboto-Regular';
  src: url('./Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto-Medium';
  src: url('./Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto-Light';
  src: url('./Roboto-Light.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto_Condensed-SemiBold';
  src: url('./Roboto_Condensed-SemiBold.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto_Condensed';
  src: url('./Roboto_Condensed-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto_Condensed-Medium';
  src: url('./Roboto_Condensed-Medium.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto_Condensed-Light';
  src: url('./Roboto_Condensed-Light.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ (UI KIT ИЗ FIGMA)
   ========================================================================== */

:root {
  /* --- Цветовая палитра --- */
  --color-brand-primary: #000000;    /* Основной фирменный цвет (кнопки, акценты) */
  --color-brand-secondary: #ffffff;  /* Вторичный цвет */
  --color-accent: #match-figma;      /* Цвет привлечения внимания (лейблы, скидки) */
  
  /* Нейтральные оттенки (Текст и фоны) */
  --color-text-main: #1a1a1a;        /* Основной текст */
  --color-text-muted: #757575;       /* Второстепенный текст / подсказки */
  --color-bg-main: #ffffff;          /* Основной фон страницы */
  --color-bg-secondary: #f5f5f7;     /* Фон карточек, альтернативных секций */
  --color-border: #e5e5e5;           /* Цвет линий, разделителей и границ */

  /* Интерактивные состояния (Hover/Active) */
  --color-brand-primary-hover: #hover-state;
  --color-accent-hover: #hover-state;

  /* --- Типографика --- */
  --font-family-base1: 'Roboto-Regular', sans-serif;
  --font-family-heading1: 'Roboto_Condensed-SemiBold', sans-serif; 

  /* Базовые размеры (интегрируются с учетом резиновой верстки) */
  --fs-base: 16px;
  --line-height-base: 1.5; 

  /* --- Скругления и Бордеры --- */
  --radius-sm: 4px;                  /* Для мелких элементов (чекбоксы, бейджи) */
  --radius-md: 8px;                  /* Для кнопок, инпутов, миниатюр */
  --radius-lg: 16px;                 /* Для карточек товаров, баннеров, поп-апов */

  /* --- Сетка и Отступы (Layout) --- */
  --container-max-width: 1200px;     /* Ширина контентной части из Figma */
  --container-padding: 40px;         /* Боковые безопасные отступы */
  --section-margin-desktop: 96px;    /* Вертикальный отступы между секциями */
  --section-margin-mobile: 40px;

  /* --- Анимации --- */
  --transition-base: all 0.3s ease;
}

/* Переопределение глобальных параметров документа */
body {
  font-family: var(--font-family-base1) !important;
  color: var(--color-text-main) !important;
  background-color: var(--color-bg-main) !important;
  font-size: var(--fs-base);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
}

/* Принудительная привязка заголовков к переменным */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family-heading1) !important;
  color: var(--color-text-main);
  font-weight: 600;
}
.header__content{max-width: 1216px !important; margin: 0 auto; padding: 10px 0 !important;}
main .layout__content{max-width: 1216px !important;}
/* ==========================================================================
   КОМПОНЕНТ: Кастомный подвал (Figma Match)
   ========================================================================== */
 
.custom-footer {
  background-color: #000000; 
  background-image: url('./footer.svg'); background-size: cover;   
  color: #ffffff;
  border-radius: 10px 10px 0 0;
  padding: 50px 0 40px;
  margin-top: var(--section-margin-desktop, 96px);
  position: relative;
  overflow: hidden;
}
.custom-footer__container {
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1216px;
}

.custom-footer__menus {
  display: flex;
  gap: 100px; 
  flex-grow: 1;
}

.custom-footer__menu-col {
  min-width: 140px;
}

.custom-footer__title {
  font-family: 'Roboto_Condensed-Medium';
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px 0;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.custom-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-footer__link {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-size: 14px;
  line-height: 24px;
  transition: color var(--transition-base, 0.3s ease);
}

.custom-footer__link:hover,
.custom-footer__link._is-current {
  color: #ffffff;
}

.custom-footer__sidebar {
  max-width: 50%;
  width: 100%;
  text-align: center;
}
@media all and (max-width: 767px){
  .custom-footer__sidebar .custom-footer__text-block {
    text-align: right;
  }
  .custom-footer__sidebar {
    max-width: 100%;
  }
}

.custom-footer__text-block {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 1);
  width: 350px;
  text-align: left;
  margin: 42px auto;
}

.custom-footer__copyright {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.custom-footer__copyright-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 960px) {
  .custom-footer__container {
    flex-direction: column;
    gap: 48px;
  }
  
  .custom-footer__menus {
    gap: 60px;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .custom-footer {
    border-radius: 16px 16px 0 0;
    padding: 60px 16px 30px;
    margin-top: 0;
  }
  .custom-footer__menus {
    /*flex-direction: column;*/
    gap: 36px; 
  }
  
  .custom-footer__title {
    margin-bottom: 16px;
  }

  .custom-footer__text-block{width: auto; margin: 0;}
}

.main-header {
  width: 100%;
  position: relative;
  z-index: 100; 
  background: transparent;
}

.main-header__container {
  max-width: 1216px;
  margin: 0 auto;
  box-sizing: border-box;
}
.main-header__container._space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


  .main-header__main-bar .main-header__container._space-between {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: stretch;
  }
  .main-header__logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
  }


  .main-header__actions {
    grid-column: 3;
    justify-content: flex-end;
  }
  

  .main-header__primary-nav {
    grid-column: 1;
    justify-content: flex-start;
  } 

.main-header__top-black {
  background: #000000;
  color: #ffffff;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}


.main-header__info-bar {
  //background: #ffffff;
  padding: 12px 0;
  background: #DEDDD8;
}
.main-header__secondary-nav {
  display: flex;
  gap: 24px;
}
.main-header__secondary-nav a {
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}
.main-header__secondary-nav a:hover { color: #FF5867; }
.main-header__phone {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}


.main-header__main-bar {
  /*padding: 20px 0;*/
  padding: 12px 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
  position: relative;
  z-index: 2;
  background: white;
} 
.main-header__main-bar svg[stroke]{color: #000; stroke: #000; fill: #000;}
.main-header__main-bar svg{fill:#000;color: #000; stroke: #000;} 
.main-header._is-home .main-header__main-bar svg[stroke]{color: #fff; stroke: #fff; fill: #fff;}
.main-header._is-home .main-header__main-bar svg{fill:#fff;color: #fff; stroke: #fff;}
/* 1. Если у SVG в HTML прописан stroke="currentColor" (как у нашей корзины) */
.main-header__main-bar svg[stroke="currentColor"] { 
  stroke: currentColor;
  fill: none !important; /* Жестко запрещаем заливку внутренностей */
}
.main-header__main-bar svg[stroke="currentColor"] path {
  stroke: currentColor;
  fill: none !important;
}

/* 2. Если у SVG в HTML прописан дефолтный fill="currentColor" (залитые иконки, например, закрашенный поиск) */
.main-header__main-bar svg[fill="currentColor"],
.main-header__main-bar svg:not([stroke]) {
  fill: currentColor;
}
.main-header__main-bar svg[fill="currentColor"] path,
.main-header__main-bar svg:not([stroke]) path {
  fill: currentColor;
}
.main-header__primary-nav { display: flex; gap: 32px; }
.main-header__primary-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  position: relative;
}

.main-header__primary-nav a:before {
  content: " ";
  display: block;
  height: 4px;
  position: absolute;
  top: calc(100% + 1px);
  border-radius: 100px;
  background: #FF5867;
  width: 0;
  opacity: 0;
  transition-property: opacity, width;
  transition: ease 0.15s;
}

.main-header__primary-nav a:hover,
.main-header__primary-nav a.active
{
  color: #FF5867;
}
.main-header__primary-nav a:hover:before,
.main-header__primary-nav a.active:before {
  width: 100%;
  opacity: 1;
}

.main-header__logo img { height: 28px; width: auto; display: block; }
.main-header__actions { display: flex; gap: 20px; align-items: center; }
.main-header__action-btn {
  background: none; border: none; cursor: pointer; padding: 4px; color: #000000;
}
.main-header__burger { display: none; }

@media (min-width: 1025px) {
  .main-header._is-home .main-header__info-bar {
    background: #ffffff;
  }
  .main-header._is-home .main-header__main-bar {
    background: transparent !important;
  }

  .main-header._is-home .main-header__primary-nav a,
  .main-header._is-home .main-header__action-btn {
    color: #ffffff !important;
    transition: color 0.2s ease;
  }
  .main-header._is-home .main-header__main-bar:hover {
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .main-header._is-home .main-header__main-bar:hover .main-header__primary-nav a { 
    color: #000000 !important; 
  }
  
  .main-header._is-home .main-header__main-bar:hover .main-header__action-btn { 
    color: #000000 !important; 
  }
  /* 2. Перекрашиваем ЛИНЕЙНЫЕ иконки (корзину) в черный контур */
  .main-header._is-home .main-header__main-bar:hover svg[stroke="currentColor"],
  .main-header._is-home .main-header__main-bar:hover svg[stroke="currentColor"] path {
    stroke: #000000 !important;
  }

  /* 3. Перекрашиваем СПЛОШНЫЕ иконки (если будут) в черную заливку */
  .main-header._is-home .main-header__main-bar:hover svg[fill="currentColor"],
  .main-header._is-home .main-header__main-bar:hover svg:not([stroke]) path {
    fill: #000000 !important;
  }
  
  .main-header._is-home .main-header__main-bar:hover .main-header__logo img { 
    filter: none; 
  }

  .hero-banner {
    /*margin-top: -160px;*/
    z-index: 1;
  }
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-banner__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-banner__bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-banner__content {
  position: relative;
  z-index: 2;
  width: 100%; 
  height: 100%;
  display: flex;
  align-items: flex-end; 
  justify-content: flex-end;   
  padding-bottom: 80px;
  box-sizing: border-box;
}

.hero-banner__text-block {
  color: #ffffff;  
  text-align: right; 
}
.hero-banner__container { max-width: 1216px; margin: 0 auto; width: 100%; padding: 0 20px; }
.hero-banner__title { font-size: 32px; font-family: 'Roboto_Condensed-Light' !important; line-height: 40px; margin: 0 0 16px 0;color: #fff;}
.hero-banner__subtitle {font-size: 16px;font-family: 'Roboto-Regular'; color: #ffffff; margin: 0;} 
.mobile-sidebar{display: none;} 

@media (max-width: 1024px) {
  .main-header__info-bar,
  .main-header__primary-nav { display: none !important; } 
  .main-header._is-home .main-header__main-bar {
    background: transparent !important;
    border-bottom: none;
  }

  .main-header._is-home .main-header__burger span {
    background: #ffffff !important;
  }

  .main-header._is-home .main-header__action-btn {
    color: #ffffff !important;
  } 
  
  .main-header__main-bar { padding: 14px 0;}
  .main-header__action-btn { color: #000000 !important; }
  .main-header._is-home { position: relative !important; }
  .main-header__burger {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 24px; height: 24px; background: none; border: none; cursor: pointer; padding: 0;
  } 
  .main-header__burger span { width: 100%; height: 2px; background: #000000; }

  .hero-banner { height: calc(100vh - 100px); max-height: 560px; }
  .hero-banner__content {
    justify-content: right !important; 
    padding-bottom: 40px;
  }
  .hero-banner__text-block {
    text-align: right !important; 
    max-width: 100%;
  } 
  .hero-banner__title { font-size: 20px; line-height: 24px; }
  .hero-banner__subtitle { font-size: 14px; }

  .mobile-sidebar {
    display: block !important; 
    position: fixed; 
    top: 39.5px;  
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 999;
    visibility: hidden; 
    transition: visibility 0.3s ease;
  }
  .mobile-sidebar._is-open { visibility: visible; }
  
  .mobile-sidebar__backdrop {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.5);
    opacity: 0; 
    transition: opacity 0.3s ease;
  }
  .mobile-sidebar._is-open .mobile-sidebar__backdrop { opacity: 1; }

  .mobile-sidebar__content {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 280px; 
    height: 100%;
    background: #ffffff; 
    box-sizing: border-box; 
    padding: 60px 24px;
    transform: translateX(-100%); 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-sidebar._is-open .mobile-sidebar__content { transform: translateX(0); }

  .mobile-sidebar__close {
    position: absolute; top: 16px; left: 12px; background: none; border: none; font-size: 24px; cursor: pointer; font-family: 'Roboto-Regular'; padding: 0; margin: 0;
  }

  .mobile-sidebar__primary-nav { display: flex; flex-direction: column; gap: 13px; margin-bottom: 25px; }
  .mobile-sidebar__primary-nav a { font-size: 30px; font-family: 'Roboto-Regular'; color: #000000; text-decoration: none; }
  .mobile-sidebar__primary-nav a:hover { color: #FF5867;}

  .mobile-sidebar__secondary-nav {
    display: flex; flex-direction: column; gap: 16px;
    background: #DEDDD8; margin: 0 -24px; padding: 61px 24px; height: 100%;
  }
  .mobile-sidebar__secondary-nav a { font-size: 20px; text-decoration: none;font-family: 'Roboto-Light'; }
  .hero-banner {
    margin-top: -60px; 
    height: calc(100vh - 60px); 
    max-height: 560px;
    z-index: 1;
  }
  .main-header__main-bar .main-header__container._space-between{padding: 0 16px;}
  .main-header._is-home {
    position: fixed !important; 
    top: 0;
    left: 0;
  } 
}

.hero-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-banner__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 3.96%, rgba(0, 0, 0, 0.3) 15%),
linear-gradient(180deg, rgba(0, 0, 0, 0) 66.88%, rgba(0, 0, 0, 0.4) 94.1%);    
  z-index: 2;
  pointer-events: none;
}
.hero-banner__bg img,
.hero-banner__bg picture {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; 
} 
.option-razmer_ru, .option-osnovnoj_cvet{display: none;}
.product .option-selector .option-value.is-radio>span{width: 64px; height: 40px; padding: 0 !important; line-height: 40px; text-align: center;}
.is-disabled.is-radio>span{color: #E8E8E8 !important;}
.breadcrumb{color:#646B71; font-size: 14px;}
.widget-type_system_widget_v4_breadcrumbs_1 .breadcrumb-wrapper ul>*:not(:last-child):after{margin: 0 8px !important;}
.widget-type_widget_v4_product_8_93110cc96172ecd55fbb7f51c98c0acd .product__price-cur{font-size: 24px; font-family: 'Roboto_Condensed'; font-weight: normal; } 
.widget-type_widget_v4_product_8_93110cc96172ecd55fbb7f51c98c0acd .product__title{width: 90%;}
.product-form__area-user-controls{justify-content: flex-end !important;}
.product__sku{color: #646B71 !important; font-size: 14px !important;} 
.add-cart-counter__btn {height: 40px !important;}

.custom-slider__grid-container {
  max-width: 1216px;
  margin: 0 auto;
  box-sizing: border-box; 
}

.custom-slider__scrollbar-container {
  width: 100%;
  height: 2px; 
  background-color: #d9d9d9;
  margin-top: 0; 
  position: relative;
}

.custom-slider__outer-wrapper {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}
.custom-slider__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 24px 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.custom-slider__track::-webkit-scrollbar {
  display: none !important;
}

.custom-slider__item {
  flex: 0 0 284px !important;
  width: 284px !important;
  min-width: 284px !important;
  scroll-snap-align: start;
  box-sizing: border-box;
}


.custom-slider__item._spacer-left {
  flex: 0 0 calc((100vw - 1216px) / 2 - 24px) !important;
  width: calc((100vw - 1216px) / 2 - 24px) !important;
  min-width: calc((100vw - 1216px) / 2 - 24px) !important;
  scroll-snap-align: start !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.custom-slider__item._spacer-right {
  flex: 0 0 calc((100vw - 1216px) / 2) !important;
  width: calc((100vw - 1216px) / 2) !important;
  min-width: calc((100vw - 1216px) / 2) !important;
  scroll-snap-align: start !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1256px) {
  .custom-slider__grid-container{padding: 0 16px;} 
  .custom-slider__track {
    padding-left: 16px !important;
    padding-right: 16px !important; 
    gap: 16px !important;
    
    scroll-padding-left: 16px !important; 
  }

  .custom-slider__item._spacer-left,
  .custom-slider__item._spacer-right {
    display: none !important;
  }

  .custom-slider__item {
    flex: 0 0 43.5vw !important;
    width: 43.5vw !important;
    min-width: 43.5vw !important;
    scroll-snap-align: start !important;
    margin: 0 !important; 
  }
} 

@media (max-width: 480px) {
  .custom-slider__track {
    padding-left: 16px !important;
    scroll-padding-left: 16px !important;
  }
  
  .custom-slider__item {
    flex: 0 0 43vw !important;
    width: 43vw !important;
    min-width: 43vw !important;
    margin: 0 !important;
  }
}

.custom-slider__scrollbar-thumb, .activity-slider__scrollbar-thumb {
  position: absolute;
  top: -1px;
  left: 0;
  height: 4px;
  width: 25%; 
  background-color: #FF5867; 
  border-radius: 2px;
  will-change: transform, width;
} 

.custom-slider__item .product-card__image{text-align: center;}
.custom-slider__item .product-card__image img{max-width: 100%; object-fit: contain; height: 208px;} 
.product-card{padding: 8px;}  
.product-card a{text-decoration: none;}
.product-card__title{font-size: 18px;font-family: 'Roboto_Condensed-SemiBold'; line-height: 24px; margin-bottom: 8px;}
.product-preview__price{font-family: 'Roboto_Condensed';font-size: 20px;line-height: 24px;} 


.activity-slider-section {
  margin: 60px 0;
  width: 100%;
}

.activity-slider__grid-container {
  max-width: 1216px;
  margin: 0 auto;
  box-sizing: border-box;
}

.activity-slider__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.activity-slider__outer-wrapper {
  width: 100%;
  position: relative;
}

.activity-slider__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 24px 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.activity-slider__track::-webkit-scrollbar { display: none !important; }

.activity-slider__item {
  flex: 0 0 312px !important;
  width: 312px !important;
  min-width: 312px !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start;
  box-sizing: border-box; 
}
.inner-collections .activity-slider__item{width: 292px !important; flex: 0 0 292px !important;min-width: 292px !important;} 
.inner-collections .activity-card img{height: 256px;}
.inner-collections .activity-card{aspect-ratio: 292 / 256;}
.activity-slider__item._spacer-left {
  flex: 0 0 calc((100vw - 1216px) / 2 - 16px) !important;
  width: calc((100vw - 1216px) / 2 - 16px) !important;
  min-width: calc((100vw - 1216px) / 2 - 16px) !important;
  scroll-snap-align: start !important; 
  opacity: 0; visibility: hidden; pointer-events: none;
}

.activity-slider__item._spacer-right {
  flex: 0 0 calc((100vw - 1216px) / 2) !important;
  width: calc((100vw - 1216px) / 2) !important;
  min-width: calc((100vw - 1216px) / 2) !important;
  scroll-snap-align: start !important;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.activity-slider__scrollbar-container {
  width: 100%;
  height: 2px;
  background-color: #e5e5e5;
  margin-top: 40px;
  position: relative; 
}

.activity-slider__scrollbar-thumb {
  position: absolute;
  top: -1px;
  left: 0;
  height: 4px;
  background-color: #FF5867; 
  border-radius: 2px;
  will-change: transform, width;
} 

.activity-card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 312 / 424; 
  overflow: hidden;
  text-decoration: none;
}
.activity-card:after{content:""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.8) 100%);
}
.activity-card img {
  width: 100%;
  display: block;
  max-width: 100%; 
  object-fit: cover;  
  height: 424px;} 

.activity-card__title {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 32px;
  z-index: 1;
  font-family: 'Roboto_Condensed-Light'; 
}


.activity-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
  scrollbar-width: none; /* Скрываем дефолтный скроллбар в Firefox */
}

/* Скрываем дефолтный скроллбар в Chrome/Safari */
.activity-slider__track::-webkit-scrollbar {
  display: none;
}

/* Фикс для кастомного ползунка */
.activity-slider__scrollbar-container {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.activity-slider__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  will-change: transform;
}

.activity-slider__scrollbar-thumb.is-dragging {
  cursor: grabbing;
}
.activity-slider__scrollbar-container {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.activity-slider__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  will-change: transform;
}

.activity-slider__scrollbar-thumb._is-dragging {
  cursor: grabbing;
}

@media (max-width: 1256px) {
  .activity-slider__grid-container {
    padding: 0 16px;
  }
  
  .activity-slider__track {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 16px !important;
    scroll-padding-left: 16px !important;
  }

  .activity-slider__item._spacer-left,
  .activity-slider__item._spacer-right {
    display: none !important; 
  }
  .activity-slider__item {
    flex: 0 0 calc((100vw - 48px) / 2) !important;
    width: calc((100vw - 48px) / 2) !important;
    min-width: calc((100vw - 48px) / 2) !important;
    scroll-snap-align: start !important;
  }
  .activity-card__title{font-size: 28px;} 
}

@media (max-width: 480px) {
  .activity-card img{height: 272px; }
  .activity-slider__item {
    flex: 0 0 43vw !important;
    width: 43vw !important; 
    min-width: 43vw !important;
  }
}
.product-card {
  position: relative;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  box-sizing: border-box;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border-radius: 4px;
}
@media all and (max-width: 480px) {
  .product-card {
    padding: 8px 2px 2px;
  }
}

.product-card__image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card__title a {
  color: #1a1a1a;
  text-decoration: none;
}

.product-card__price-block {
  margin-bottom: 3px;
}
.product-card__price-block .span {
  font-size: 20px;
  font-family: 'Roboto_Condensed';
}
.product-card__price._old {
  font-size: 13px;
  color: #b5b5b5;
  text-decoration: line-through;
  margin-right: 6px;
}

.product-card__hover-holder {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card__sizes-list,
.product-card__colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__size-badge {
  font-size: 13px;
  color: #646B71;
  font-weight: 500;
  font-family: 'Roboto_Condensed-Medium'; 
}

.product-card__color-thumb {
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 2px;
  background: #ffffff;
}
.product-card__color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__color-thumb._is-active,
.product-card__color-thumb:hover {
}

@media (min-width: 1025px) {
  .product-card__hover-holder_wrap {
    clip-path: inset(0px -20px -20px -20px);
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0px;
    padding-left: 14px;
    padding-right: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 10;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .product-card__hover-holder {
    /* width: 100%; */
    background: #ffffff;
    box-sizing: border-box;
  }
  .product-card {
    border-radius: 4px;
    transition: box-shadow 0.2s ease, z-index 0.2s ease;
  }

  .product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); 
    z-index: 99; 
    border-radius: 4px 4px 0 0; 
  }

  .product-card:hover .product-card__hover-holder_wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
  }
}

@media (max-width: 1024px) {
  .product-card__hover-holder {
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    width: auto !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 12px;
  }
  .product-card__size-badge {
    font-size: 11px;
  }
  .product-card__price._current {
    font-size: 16px;
  }
}


.infra-info-section {
  width: 100%;
  margin: 80px 0;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
}

.infra-info__container {
  max-width: 1216px;
  margin: 0 auto;
  box-sizing: border-box;  
  display: grid;
  grid-template-columns: 384px 1fr 1fr; 
  gap: 40px 32px;
  grid-template-areas: 
    "title title title"
    "image intro intro"
    "image tech1 tech2"
    "guide tech1 tech2"; 
}


.infra-info__main-title { grid-area: title; font-size: 36px; font-family: 'Roboto_Condensed-SemiBold'; margin: 0; line-height: 100%; }
.infra-info__intro-text { grid-area: intro; font-size: 16px; line-height: 24px; }
.infra-info__main-image { grid-area: image; width: 100%; }
.infra-info__guide-block { grid-area: guide; font-size: 16px; line-height: 24px; }
.infra-info__tech-card._tech-1 { grid-area: tech1; }
.infra-info__tech-card._tech-2 { grid-area: tech2; }

.infra-info__main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.infra-info__tech-img {
  width: 100%;
  margin-bottom: 20px;
  background-color: #f5f5f7;
}
.infra-info__tech-img img {
  width: 100%;
  height: auto;
  display: block;
}

._highlight-red {
  color: #FF5867;
  font-weight: 500;
}

.infra-info__subtitle {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.infra-info__list {
  padding-left: 18px;
  margin: 0 0 20px 0;
}
.infra-info__list li {
  margin-bottom: 12px;
}

.infra-info__tech-title {
  font-family: 'Roboto_Condensed-Medium';
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.infra-info__tech-text {
  font-family: 'Roboto-Regular'; 
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.infra-info__summary{margin: 0;}
.infra-info__tech-text strong {
  font-family: 'Roboto-Medium';
}

@media (max-width: 1024px) {
  .infra-info-section {
    margin: 40px 0;
  }
  
  .infra-info__container {
    padding: 0 16px;
    grid-template-columns: 100%;
    grid-template-areas: none;
    gap: 32px;
    display: flex;
    flex-direction: column;
  }

  .infra-info__main-title  { order: 1; font-size: 24px; }
  .infra-info__intro-text  { order: 2; }
  .infra-info__main-image  { order: 3; max-width: 100%; margin: 0 auto; }
  .infra-info__guide-block { order: 4; margin-top: 16px; }
  .infra-info__tech-card._tech-1 { order: 5; }
  .infra-info__tech-card._tech-2 { order: 6; }
  
  .infra-info__subtitle,
  .infra-info__tech-title {
    font-size: 20px;
    margin-bottom: 16px; 
  }
  .infra-info__main-image img{height: 228px;}
} 


.quotes-slider-section {
  width: 100%;
  margin: 60px 0;
}

.quotes-slider__container {
  max-width: 1216px;
  height: 360px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  background-image: url('https://static.insales-cdn.com/files/1/7689/126991881/original/waves.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quotes-slider__track {
  width: 100%;
  display: flex;
  overflow: hidden;
}

.quotes-slider__item {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}
.quote-card {
  width: 864px;
  min-height: 272px;
  background-color: #111111;
  //background-image: url('https://static.insales-cdn.com/assets/1/4017/11055025/1780766551/footer.svg');
  background-image: url('https://static.insales-cdn.com/files/1/3345/129994001/original/Mask_group.jpg');
  background-size: cover;
  
  padding: 40px 60px;
  box-sizing: border-box;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.quote-card__text {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #e5e5e5;
  margin: 0 0 24px 0;
  max-width: 740px;
}

.quote-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.quote-card__desc {
  font-size: 12px;
  color: #888888;
}

.quotes-slider__pagination {
  position: absolute;
  bottom: 81px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 3;
}

.quotes-slider__dot {
  width: 32px;
  height: 2px;
  background-color: #D9D9D9;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.quotes-slider__dot._is-active {
  background-color: #FF5867;
  height: 4px;
  margin-top: -1px; 
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .quotes-slider__container {
    height: auto;
    min-height: 400px; 
    padding: 24px 16px;
    background-size: cover;
  }

  .quote-card {
    width: 100%;
    min-height: auto;
    padding: 32px 20px 60px 20px; 
  }

  .quote-card__text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .quotes-slider__pagination {
    bottom: 40px;
  }
  .main-header__actions{gap: 5px;}
}
.quotes-slider__outer-wrapper {
  width: 100%;
  overflow: hidden;
}

.quotes-slider__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.quotes-slider__track::-webkit-scrollbar { display: none !important; }


.quotes-slider__item {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 20px;
}

/* ==========================================================================
   SMART STICKY HEADER (ФИКСАЦИЯ И СКРОЛЛ)
   ========================================================================== */

/* 1. Глобальная фиксация */
.main-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* Плавная анимация выезда шапки и перекрашивания фона */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

/* 2. Мобильный паттерн: прячем за верхний край при скролле вниз */
.main-header._is-hidden {
  transform: translateY(-100%);
}

/* --- 3. ИНВЕРСИЯ ЦВЕТА ПРИ ВЫХОДЕ ЗА БАННЕР (ГЛАВНАЯ СТРАНИЦА) --- */

/* Меняем фон главной панели на белый */
.main-header._is-home._is-scrolled .main-header__main-bar {
  background: #ffffff !important;
}

/* Так как твои SVG-иконки и тексты настроены на наследование (currentColor), 
   достаточно просто сменить цвет родительских кнопок и ссылок */
.main-header._is-home._is-scrolled .main-header__primary-nav a,
.main-header._is-home._is-scrolled .main-header__action-btn,
.main-header._is-home._is-scrolled .main-header__burger {
  color: #000000 !important;
}

/* Резервное правило для обводок SVG (если currentColor где-то не сработает) */
.main-header._is-home._is-scrolled .main-header__main-bar svg[stroke="currentColor"],
.main-header._is-home._is-scrolled .main-header__main-bar svg[stroke="currentColor"] path {
  stroke: #000000 !important;
}
.main-header._is-home._is-scrolled .main-header__main-bar svg[fill="currentColor"],
.main-header._is-home._is-scrolled .main-header__main-bar svg:not([stroke]) path {
  fill: #000000 !important;
  color: #000;
  stroke: #000;
}
/* Состояние отсутствующего размера строго по Figma */
.option-selector .option-value.is-disabled > span {
  position: relative;
  color: #b5b5b5 !important; /* Серый текст */
  border-color: #e5e5e7 !important;
  background-color: #ffffff !important;
  cursor: not-allowed !important;
  
  /* МАГИЯ ГРАДИЕНТА: рисуем тонкую серую линию из левого нижнего угла в правый верхний */
  background-image: linear-gradient(
    to top right,
    transparent calc(50% - 1px),
    #e5e5e7 calc(50% - 1px),
    #e5e5e7 calc(50% + 1px),
    transparent calc(50% + 1px)
  ) !important;
}

/* Убираем ховер-эффекты для заблокированной плашки */
.option-selector .option-value.is-disabled:hover > span {
  border-color: #e5e5e7 !important;
  background-color: #ffffff !important;
}
