/* ==== Rubik локально (вместо Google Fonts, 152-ФЗ) ==== */
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-italic-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/site/templates/fonts/rubik/rubik-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadBold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadBold.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'VWHead';
  src: url('/site/templates/fonts/VWHeadRegular.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextBold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextBold.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'VWText';
  src: url('/site/templates/fonts/VWTextRegular.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

.height-custom-slider {
    height: calc(100vh - 40px);
}

.slideshow__item{
    justify-content: start;
    align-items: flex-start;
}

.t-banner__content-slideshow .slideshow__item{
  align-items: center;
}

.f-header__logo{
    width: auto;
}

.slideshow__btn{
  border-radius: 50%;
}

.f-header__link,
.f-header__dropdown-control,
.f-header__dropdown-link,
.f-header__btn,
.f-header__form-control {
  font-size: var(--text-base);
}

.height-70vh{
  height: 70vh;
}

.fof__animation svg {
  max-width: 20vh;
}

.f-header__link, .f-header__dropdown-control, .f-header__dropdown-link, .f-header__btn, .f-header__form-control, .main-footer__link {
  transition: 0.4s;
}

.main-footer__link:hover {
  text-decoration: none;
}

.card{
  border-radius: var(--radius-xl);
}

.f-header__nav-control{
  --anim-menu-btn-icon-stroke: 1px;
}

.f-header__item {
  border-bottom: none;
}

.f-header__link, .f-header__dropdown-control, .f-header__dropdown-link{
      padding: var(--space-sm) 0;
}

.f-header__nav::before{
  border-bottom: none;
}

.slideshow__nav-item button{
    height: 0.2em;
    width: 6em;
    border-radius: 0;
    background: white;
}

.slideshow__item {
    justify-content: center;
    align-items: center;
}

.prod-card-v2__badge{
  border-radius: var(--radius-xl);
  background-color: var(--color-bg);
  font-size: var(--text-xs);
}

.header-custom-border-bottom{
  border-bottom: 2px solid var(--color-primary);
}



@media screen and (max-width: 1024px) {
  :root {
    --f-header-height: 60px;
  }
  .custom-reviews-hide-mobile{
    display: none !important;
  }
  .header-custom-border-bottom{
    border-bottom: none;
  }
  .height-custom-slider {
      height: calc(100vh - 60px);
  }
  .text-center-custom-md{
    text-align: center;
  }
  .text-headling-galley-custom{
    color: white;
  }
  .text-sub-galley-custom{
    color: var(--color-contrast-lower);
  }
  .custom-shadow-f-header{
    box-shadow: var(--shadow-md);
  }
}

.story__img{
  margin-bottom: 0;
}


@media (min-width: 64rem) {
    .carousel__item-reviews {
        width: 340px;
    }
}

.form-control{
  border-radius: var(--radius-xl);
}

.prod-card-v2-hover-stock{
  transition: 0.4s;
}

.prod-card-v2-hover-stock-button{
  transition: 0.4s;
}

.prod-card-v2-hover-stock:hover .prod-card-v2-hover-stock-a .prod-card-v2-hover-stock-button{
  background: var(--color-contrast-low);
}

.prod-card-v2-hover-stock:hover{
  background-color: var(--color-bg-lighter);
}

.mega-nav__logo{
    height: auto;
    width: 150px;
}

.mega-nav--desktop .mega-nav__control{
    padding: 0 var(--space-sm);
}

.footer-v5__popular-link{
  background-color: var(--color-primary);
  color: var(--color-white);
  transition: 0.4s;
  border-radius: var(--radius-xl);
  padding: var(--space-xxs) var(--space-sm);
}

.footer-v5__popular-link:hover{
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.mega-nav__item-custom-button{
  border-bottom: 0 !important;
}

.feature-v15__link{
  background-color: var(--color-primary);
  color: var(--color-white);
}

.feature-v15__link-custom {
  background-color: var(--color-bg-darker);
  color: var(--color-black);
}

.feature-v15__icon{
  font-size: 42px;
}

.feature-v15__link-custom:hover{
  background-color: var(--color-bg-darker);
  color: var(--color-black);
}

.chip--primary{
  background-color: var(--color-primary);
  color: var(--color-white);
}

.chip__icon-wrapper-white{
  background-color: var(--color-white);
}

.banner{
  border-radius: var(--radius-xl);
}

.card-v14{
  border-radius: var(--radius-xl);
}

:root {
  --slideshow-height: 100%;
  --slideshow-fade-transition-duration: 0.25s;
  --slideshow-slide-transition-duration: 0.35s;
  --slideshow-prx-transition-duration: 0.5s;
  --slideshow-btn-height: 3.2em;
  --slideshow-btn-icon-size: 1.6em;
  --slideshow-btn-offset: var(--space-xs);
  --ticker-gap-x: var(--space-xl);
  --slideshow-btn-width: 3.2em;
  --form-control-padding-x: var(--space-sm);
}
@media (min-width: 48rem) {
  :root {
    --slideshow-height: 380px;
  }
}
@media (min-width: 64rem) {
  :root {
    --slideshow-height: 430px;
  }
}

.card-v14{
  transition: 0.4s;
}

.mega-nav--desktop .mega-nav__sub-nav, .mega-nav--desktop .mega-nav__search-inner{
  padding: var(--space-lg) 0;
}

.mega-nav--desktop .mega-nav__label{
  margin-bottom: var(--space-xs);
}

.subnav__link{
  padding: var(--space-sm) var(--space-md) var(--space-sm) 0;
}

.subnav__nav::after{
  display: none;
}

.subnav__link{
  color: var(--color-primary); 
}

.subnav__link:hover{
  color: var(--color-primary-lighter); 
}

.link-fx-2{
  padding: 5px 10px;
}

.iframe-badge {
    min-width: 760px;
}

.gallery-custom-darker{
    position: absolute;
    background: black;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.subnav__link-custom-sto{
  color: var(--color-accent);
}

.btn--icon-custom-header{
   border: none;
   background: transparent;
   color: var(--color-black);
   cursor: pointer;
   transition: 0.4s;
}

.btn--icon-custom-header:hover{
  transform: scale(1.1);
}

.footer-v5__popular-link{
  font-size: var(--text-xs);
  background: transparent;
  border: 1px solid var(--color-black);
  color: black;
}

.custom-search-link-style{
  padding: var(--space-xxs) var(--space-md);
  background: var(--color-bg);
  border-radius: 50px;

}

.form-control-customm{
  background: var(--color-bg) !important;
}
.f-header__logo-desc-custom {
    position: absolute;
    top: 10px;
}

.custom-header-hover-link{
  transition: 0.3s;
  color: var(--color-primary);
}

.custom-header-hover-link:hover{
  color: var(--color-primary-lighter);
}









.spoiler-container {
  width: 100%;
}

.text-wrapper {
  position: relative;
  max-height: 35vh; /* исходная видимая высота */
  overflow: hidden;
  transition: max-height 0.5s ease; /* увеличить время для более плавного эффекта */
}

.long-text {
  margin: 0;
  line-height: 1.5;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
}

/* Класс для полного раскрытия текста */
.expanded .text-wrapper {
  max-height: none;
}

.expanded .fade-overlay {
  display: none;
}

.custom-hover-navigation-border{
  transition: 0.3s;
}

.custom-hover-navigation-border:hover{
  border-color: white;
}
.custom-link-mobapp-hover{
  transition: 0.3s;
}
.custom-link-mobapp-hover:hover{
  background-color: var(--color-accent-dark);
}

.custom-search-link-style {
    padding: var(--space-xxs) var(--space-md);
    background: var(--color-bg);
    border-radius: 50px;
}

.custom-search-link-style > a > svg{
  transition: 0.3s;
}

.custom-search-link-style:hover > a > svg{
  transform: scale(1.2);
}
.active-card {
    box-shadow: var(--shadow-xs);
    background-color: var(--color-bg-darker);
    transition: all 0.3s ease;
}

.active-marker .marker-inner {
    transform: scale(1.3);
    background: #ff4444;
    border: 2px solid white;
}

.marker-inner {
    transition: all 0.5s ease-in-out;
}

/* карта в контактах (Яндекс JS API) */
.ymap{position:absolute;inset:0;width:100%;height:100%;}
.ymap-pin{position:absolute;left:-24px;top:-58px;width:48px;height:58px;cursor:pointer;opacity:0;}
.ymap.is-visible .ymap-pin{animation:ymap-pin-drop .8s cubic-bezier(.34,1.56,.64,1) both;}
.ymap-pin__body{position:absolute;left:0;top:0;z-index:2;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--color-white);border:2px solid var(--color-primary);box-shadow:0 10px 24px -6px rgba(0,0,0,.35);transform-origin:50% 120%;transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s;}
.ymap-pin__body::after{content:"";position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid var(--color-primary);}
.ymap-pin:hover .ymap-pin__body{transform:translateY(-4px) scale(1.08);box-shadow:0 16px 28px -8px rgba(0,0,0,.4);}
.ymap-pin__logo{display:block;width:40px;height:auto;}
.ymap-pin__pulse{position:absolute;left:50%;bottom:-6px;width:34px;height:12px;margin-left:-17px;border-radius:50%;background:var(--color-primary);opacity:0;}
.ymap.is-visible .ymap-pin__pulse{animation:ymap-pin-pulse 2s ease-out .8s infinite;}
@keyframes ymap-pin-drop{0%{opacity:0;transform:translateY(-36px);}60%{opacity:1;}100%{opacity:1;transform:none;}}
@keyframes ymap-pin-pulse{0%{opacity:.5;transform:scale(.3);}100%{opacity:0;transform:scale(1.8);}}
@media (prefers-reduced-motion:reduce){.ymap-pin{opacity:1;}.ymap.is-visible .ymap-pin,.ymap.is-visible .ymap-pin__pulse{animation:none;}}
