@import url(reset.css);
@import url(fonts.css);
@import url(colors.css);

/* =========================================================================
   БАЗА
   ========================================================================= */
* { box-sizing: border-box; }

html { background: var(--bg); }
body {
  font-family: 'Cera Pro', Arial, sans-serif;
  font-weight: 300;
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-width: 320px;
  padding-top: 104px; /* компенсация фиксированной шапки */
}

a { text-decoration: none; color: inherit; transition: color .2s ease, background-color .2s ease, opacity .2s ease; }
a:hover { color: var(--purple); }
b, strong { font-weight: 600; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; -webkit-appearance: none; border-radius: 0; }

.cont { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 20px; position: relative; }

.flex { display: flex; }
.flex-center { align-items: center; }
.flex-justify { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.desktop { display: block; }
.mobile { display: none !important; }

/* Заглушка под фото — «оставляем место» */
.ph { background: var(--bg-placeholder); display: block; position: relative; }
.ph::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 44px; height: 44px; opacity: .55;
  background-color: #ffffff;
  -webkit-mask: url(../images/icons/image.svg) no-repeat center / contain;
          mask: url(../images/icons/image.svg) no-repeat center / contain;
}
.ph--dark { background: #101010; }
.hero__media .ph::after, .ph--dark::after, .intro__map.ph::after, .shop-card__map.ph::after, .buy__map .ph::after { display: none; }

/* =========================================================================
   ИКОНКИ (SVG-маска, цвет через background-color)
   ========================================================================= */
.icon {
  display: inline-block;
  width: 22px; height: 22px;
  background-color: var(--text);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
  flex: none;
}
.icon-phone     { -webkit-mask-image: url(../images/icons/phone.svg);      mask-image: url(../images/icons/phone.svg); }
.icon-search    { -webkit-mask-image: url(../images/icons/search.svg);     mask-image: url(../images/icons/search.svg); }
.icon-heart     { -webkit-mask-image: url(../images/icons/heart.svg);      mask-image: url(../images/icons/heart.svg); }
.icon-heart-fill{ -webkit-mask-image: url(../images/icons/heart_2.svg); mask-image: url(../images/icons/heart_2.svg); }
.icon-pin       { -webkit-mask-image: url(../images/icons/point.svg);        mask-image: url(../images/icons/point.svg); }
.icon-play      { -webkit-mask-image: url(../images/icons/play.svg);       mask-image: url(../images/icons/play.svg); }
.icon-arrow     { -webkit-mask-image: url(../images/icons/right.svg);      mask-image: url(../images/icons/right.svg); }

/* =========================================================================
   КНОПКИ
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: auto; padding: 13px 29px;
  border-radius: 8px;
  font-size: var(--fs-16); font-weight: 500;
  color: #fff; background: var(--purple);
  text-align: center; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--purple-hover); color: #fff; }
.btn--sm { height: 50px; padding: 0 24px; border-radius: 8px; font-size: var(--fs-16); }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--purple); }
.btn--ghost:hover { background: var(--purple); color: #fff; }

/* Чипы-переключатели (фильтры, размеры) */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 22px;
  border-radius: 8px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--border-2);
  font-size: var(--fs-14); font-weight: 600; color: var(--purple);
  cursor: pointer;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); }
.chip.is-active { box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); }

/* =========================================================================
   БЕЙДЖИ
   ========================================================================= */
.badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; font-size: var(--fs-12); font-weight: 500; }
.badge-big {font-size: var(--fs-14); height: 24px; padding: 0 8px;}
.badge--sale  { color: var(--red-badge); background: var(--red-badge-bg); }
.badge--stock { color: #fff; background: var(--purple); border-radius: 4px; }

/* =========================================================================
   ЗАГОЛОВКИ
   ========================================================================= */
.section-title {text-align: center; font-size: var(--fs-32); font-weight: 300; text-transform: uppercase; color: var(--text); margin: 0 0 43px 0;}
.page-title {text-align: center; font-size: var(--fs-42); font-weight: 300; text-transform: uppercase; color: var(--text); margin: 0;}
.page-title-h1 {font-size: var(--fs-56);}
.h-collection {font-size: var(--fs-42); font-weight: 300; text-transform: uppercase; color: var(--text); margin: 0 0 31px;}
.section { padding: 88px 0 0 0; }
.section-small { padding: 49px 0 0 0; }
.section--tight { padding: 46px 0 0px 0; }
.section--tight-border {}
.section--tight-border .tab-content {border-bottom: 1px solid var(--border); padding-bottom: 34px;}

/* Хлебные крошки */
.crumbs { display: flex; justify-content: center; gap: 14px; color: var(--text-muted); font-size: var(--fs-15); margin: 60px 0 26px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--purple); }
.crumbs .sep { color: var(--text-muted-2); }
.crumbs .current { color: var(--text-muted); }

/* Разделитель */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* =========================================================================
   ШАПКА
   ========================================================================= */
.header { background: #fff; border-bottom: 1px solid var(--border); position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: box-shadow .25s ease, border-color .25s ease; }
.header__row { display: flex; align-items: center; height: 104px; gap: 26px; transition: height .25s ease; }

/* Компактная шапка при скролле */
.header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header.is-scrolled .header__row { height: 67px; }
.header.is-scrolled .header__nav,
.header.is-scrolled .header__contacts,
.header.is-scrolled .header__city .desktop { display: none; }
.header.is-scrolled .logo { transform: scale(.78); }
.header__left, .header__right { display: flex; align-items: center; gap: 28px; flex: 1; }
.header__right { justify-content: flex-end; gap: 100px; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
.icon-btn .icon { width: 22px; height: 22px; background-color: var(--text); }
.icon-btn:hover .icon { background-color: var(--purple); }

.header__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 26px; }
.header__burger span { display: block; height: 2px; width: 26px; background: var(--text); border-radius: 2px; transition: background-color .2s ease; }
.header__burger:hover span { background: var(--purple); }
.header__burger-text { font-size: var(--fs-15); }

.header__nav { display: flex; align-items: center; gap: 44px; }
.header__nav a { font-size: var(--fs-16); color: var(--text); white-space: nowrap; }
.header__nav a:hover { color: var(--purple); }

.header__contacts { font-size: var(--fs-15); }
.header__city { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-15); color: var(--text); }
.header__city .icon { width: 22px; height: 22px; }
.header__city b { font-weight: 500; }

.header__fav { position: relative; display: inline-flex; }
.header__fav .icon { width: 24px; height: 24px; }
.header__fav .count {
  position: absolute; top: -7px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 500; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Логотип */
.logo { position: relative; width: 161px; height: 69px; background: url(../images/icons/logo.svg) no-repeat; background-size: contain; transition: transform .25s ease; transform-origin: center; }
.logo:hover { color: inherit; }

/* Каталог-меню (выезжающее) */
.catalog-menu { position: fixed; top: 0; left: 0; bottom: 0; width: 380px; max-width: 88vw; background: #fff; box-shadow: 4px 0 40px rgba(0,0,0,.12); transform: translateX(-100%); transition: transform .3s ease; z-index: 80; padding: 30px; overflow-y: auto; }
.catalog-open .catalog-menu { transform: translateX(0); }
.catalog-menu__close { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: var(--fs-15); }
.catalog-menu__close .x { position: relative; width: 18px; height: 18px; }
.catalog-menu__close .x::before, .catalog-menu__close .x::after { content: ""; position: absolute; top: 8px; left: 0; width: 18px; height: 2px; background: var(--text); }
.catalog-menu__close .x::before { transform: rotate(45deg); }
.catalog-menu__close .x::after  { transform: rotate(-45deg); }
.catalog-menu__list li { list-style: none; }
.catalog-menu__list a { display: block; padding: 14px 0; font-size: var(--fs-18); border-bottom: 1px solid var(--border-light); }
.catalog-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 70; }
.catalog-open .catalog-overlay { opacity: 1; visibility: visible; }

/* =========================================================================
   ПОДВАЛ
   ========================================================================= */
.footer { padding: 57px 0 36px 0; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.footer__logo { align-self: start; }
.footer__col { display: flex; flex-direction: column; gap: 32px; padding: 26px 0 0 0; }
.footer__col a { font-size: var(--fs-16); text-transform: uppercase; color: var(--text); }
.footer__col a:hover { color: var(--purple); }
.footer__phone { font-size: var(--fs-16); font-weight: bold; }
.footer__hours { font-size: var(--fs-12); margin: -28px 0 -21px 0; }
.footer__mail { font-size: var(--fs-16); text-transform: none !important; letter-spacing: 0 !important; }
.footer__bottom { display: grid; align-items: center; justify-content: space-between; gap: 20px; margin-top: 89px; padding-top: 42px; border-top: 1px solid var(--border); 
  grid-template-columns: 0.53fr 1.1fr 0.5fr;
}
.footer__bottom span, .footer__bottom a { font-size: var(--fs-12); }
.footer__bottom a:hover { color: var(--purple); }

/* =========================================================================
   КАРТОЧКА ТОВАРА (в слайдерах / сетках)
   ========================================================================= */
.slider-products {margin: -35px 0 0 0;}
.scroll-style {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 22px;
}

/* Total width of the scrollbar */
.scroll-style::-webkit-scrollbar {width: 4px; height: 4px; /* For horizontal scrollbars */}
/* Background track area */
.scroll-style::-webkit-scrollbar-track {background: #f1f1f1; border-radius: 4px;}
/* The draggable handle */
.scroll-style::-webkit-scrollbar-thumb {background: #888; border-radius: 4px; border: 2px solid #000; /* Creates padding effect around thumb */}
/* Draggable handle on hover */
.scroll-style::-webkit-scrollbar-thumb:hover {background: #555;}

.scroll-style-sale {padding-bottom: 30px;}
.slider-products .slider__track {padding: 25px 25px; margin: 0 -25px;}
.slider-products .slider__arrow {top: 42%;}
.product { position: relative; display: flex; flex-direction: column; text-align: center; padding: 17px 10px 10px 10px; border-radius: 10px; background: transparent; }
.product:hover,
.product--active { background: #fff; box-shadow: 0 0px 30px rgba(0,0,0,.10); }
.product__media { position: relative; height: 330px; margin-bottom: 11px; }
.product__media .ph, .product__media img { height: 100%;}
.product__media .img {position: relative; display: flex; height: 326px; width: 100%; margin: 0 auto; align-items: end;}
.product__media .img img {display: block; height: 100%; margin: 0 auto;}
.product__badge { position: absolute; top: -8px; left: 4px; z-index: 2; }
.product__fav {  right: -2px; top: -7px; position: absolute; z-index: 2; width: 24px; height: 24px; }
.product__fav .icon { width: 16px; height: 16px; background-color: var(--text);}
.product__fav:hover .icon { background-color: var(--purple); }
.product__fav.is-active .icon { background-color: var(--red); }
.product__swatches { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 7px; }
.product__name { font-size: var(--fs-16); color: var(--text); margin-bottom: 2px; }
.product__price { font-size: var(--fs-16); font-weight: 600; }
.product__price .old { font-weight: 300; color: var(--price-old); text-decoration: line-through; margin-right: 8px; }
.product__price .new { color: var(--red); font-weight: bold; }
.product__price .per { color: var(--text); }

/* Свотчи-квадраты */
.swatch { width: 18px; height: 18px; border-radius: 2px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch--blue { background-color: var(--sw-blue); }
.swatch--red { background-color: var(--sw-red); }
.swatch--yellow { background-color: var(--sw-yellow); }
.swatch--green { background-color: var(--sw-green); }
.swatch--gray { background-color: var(--sw-gray); }
.swatch--black { background-color: var(--sw-black); }
.swatch--white { background-color: var(--sw-white); }
.swatch--more { font-size: var(--fs-13); color: var(--text-muted); box-shadow: none; width: auto; }

/* =========================================================================
   СЛАЙДЕР (статичная разметка)
   ========================================================================= */
.slider { position: relative; }
.slider-clients {}
.slider-clients .slider__track--4-4 > * {flex-basis: 32%;}
.slider__track { display: flex; gap: 4px; /*overflow: hidden;*/ }
.slider__track > * { flex: 0 0 19.5%; min-width: 0; }
.slider__track--4 > * { flex-basis: 25%; }
.slider__track--3 > * { flex-basis: 33.333%; }
.slider__track--4-4 {gap: 25px;}
.slider__track--4-4 > * {flex-basis: 23.5%;}
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.10);
}
.slider__arrow .icon { width: 18px; height: 18px; background-color: var(--text); }
.slider__arrow:hover .icon { background-color: var(--purple); }
.slider__arrow--prev { left: -23px; }
.slider__arrow--prev .icon { transform: rotate(180deg); }
.slider__arrow--next { right: -23px; }

/* Прогресс-бар слайдера */
.progress { height: 2px; background: var(--border); margin-top: 26px; position: relative; }
.progress__bar { position: absolute; left: 0; top: -0.5px; height: 3px; background: #111; width: 34%; }

/* =========================================================================
   ГЛАВНАЯ · HERO
   ========================================================================= */
.hero { position: relative; height: 730px; overflow: hidden; }
.hero__media { position: absolute; inset: 0;}
.hero__media .ph { width: 100%; height: 100%; background: url(../images/slide.jpg) no-repeat center; background-size: cover;}
.hero__inner { position: relative; height: 100%; }
.hero__content { position: absolute; top: 70px; left: 80px; max-width: 470px; color: #fff; }
.hero__content-text {min-height: 462px;}
.hero__label { font-size: var(--fs-16); font-weight: 500; margin-bottom: 34px; }
.hero__title { font-size: 64px; font-weight: 300; letter-spacing: 0; line-height: .82; margin-bottom: 26px; }
.hero__text { font-size: var(--fs-20); line-height: 1.45; margin-bottom: 42px; }
.hero__note { font-size: var(--fs-12); color: rgba(255,255,255,.85); margin-top: 38px; max-width: 380px; }
.hero .btn {  }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 12px; }
.hero__dots span { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #000; }
.hero__dots span.is-active { background: #54179f; border-color: #54179f; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); display: inline-flex; align-items: center; justify-content: center; }
.hero__arrow .icon { width: 18px; height: 18px; background-color: var(--text); }
.hero__arrow--prev { left: 14px; }
.hero__arrow--prev .icon { transform: rotate(180deg); }
.hero__arrow--next { right: 14px; }

/* =========================================================================
   ГЛАВНАЯ · ФОТО-КАРТОЧКИ С ПОДПИСЬЮ
   ========================================================================= */
.photo-card { position: relative; border-radius: 6px; overflow: hidden; height: 324px; }
.photo-card .ph, .photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 11px 22px; color: #fff; font-size: var(--fs-16); background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* Блок «Познакомьтесь» */
.intro { background: var(--lavender); border-radius: 18px; padding: 20px 20px 20px 53px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: center; }
.intro__title { font-size: var(--fs-34); font-weight: 300; line-height: 1.25; margin-bottom: 24px; }
.intro__text { font-size: var(--fs-14); color: var(--text-body); line-height: 1.6; }
.intro__map { height: 240px; border-radius: 12px; overflow: hidden; }

/* Каталог-плитки (категории) */
.cat-card { position: relative; height: 328px; border-radius: 8px; overflow: hidden; }
.cat-card .ph, .cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__caption {position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 13px 22px; color: #fff; font-size: var(--fs-18); background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); text-align: center; }

/* =========================================================================
   ГЛАВНАЯ · АКЦИЯ
   ========================================================================= */
.promo-banner-cont {position: relative;}
.promo-banner-scroll-cont {position: relative; overflow-y: hidden; padding-bottom: 30px;}
.promo-banner-scroll {display: flex; gap: 4px;}
.promo-banner { display: grid; grid-template-columns: 1.78fr 1fr; gap: 0; border-radius: 4px; overflow: hidden; flex: 0 0 100%;}
.promo-banner__media { height: 100%; }
.promo-banner__media .ph { width: 100%; height: 100%; }
.promo-banner__media img {height: 100%; object-fit: cover;}
.promo-banner__body { background: var(--lavender); padding: 60px 51px 40px 51px; display: flex; flex-direction: column; justify-content: center; }
.promo-banner__title { font-size: var(--fs-32); font-weight: 300; text-transform: uppercase; line-height: 1.2; margin-bottom: 20px; }
.promo-banner__text { font-size: var(--fs-14); line-height: 1.6; margin-bottom: 40px; max-width: 360px; min-height: 126px;}
.promo-banner__note { font-size: var(--fs-12); margin-top: 37px; line-height: 1.6; }
.promo-banner .btn {width: max-content;}

/* =========================================================================
   ГЛАВНАЯ · СКИДКИ (промо-карты)
   ========================================================================= */
.promo-card { position: relative; border-radius: 10px; overflow: hidden; padding: 34px 26px 26px 26px; min-height: 400px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.promo-card--blue { background: var(--promo-blue) url(../images/promo/promo-card--blue.jpg) center; no-repeat; background-size: cover; }
.promo-card--cyan { background: var(--promo-cyan) url(../images/promo/promo-card--cyan.jpg) center; no-repeat; background-size: cover; }
.promo-card--pink { background: var(--promo-pink) url(../images/promo/promo-card--pink.jpg) center; no-repeat; background-size: cover; }
.promo-card--gray { background: var(--promo-gray); }
.promo-card__code { background: #fff; border-radius: 20px; padding: 2px 16px; font-size: var(--fs-14); margin-top: 78px; }
.promo-card__value { font-size: 60px; font-weight: 600; margin: 8px 0 -1px 0; }
.promo-card__sub { font-size: var(--fs-16); font-weight: 600; line-height: 1.35; padding: 0 20px;}
.promo-card__term { margin-top: auto; font-size: var(--fs-12); opacity: .85; }
.promo-card--blue .promo-card__value { color: #2985c8; }
.promo-card--cyan .promo-card__value { color: #178085; }
.promo-card--pink .promo-card__value { color: #d9df03; }
.promo-card--gray .promo-card__value { color: #1a1a1a; }
.promo-card--blue .promo-card__sub { color: #2985c8; }
.promo-card--cyan .promo-card__sub { color: #178085; }
.promo-card--pink .promo-card__sub { color: #d9df03; }

/* =========================================================================
   ГЛАВНАЯ · БЫСТРЫЙ ПОДБОР
   ========================================================================= */
.quick { background: var(--lavender); border-radius: 18px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.quick__form { padding: 52px; display: flex; flex-direction: column; gap: 24px; }
.quick-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 18px; }
.quick-row__label { font-size: var(--fs-15); color: var(--text); }
.quick-row__controls { display: flex; flex-wrap: wrap; gap: 12px; }
.quick__preview { position: relative; }
.quick__preview .ph { position: absolute; }
.quick .btn { align-self: flex-start; margin-top: 8px; }

/* Свотчи выбора (с обводкой) */
.pick-swatch { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); position: relative; cursor: pointer; }
.pick-swatch.is-active { box-shadow: 0 0 0 2px var(--purple); }
.pick-swatch .chevron { width: 10px; height: 10px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg) translate(-1px,-1px); }

/* Поля цены + ползунок */
.price-inputs { display: flex; align-items: center; gap: 14px; }
.price-inputs input { width: 130px; height: 46px; padding: 0 16px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--border-2); font-size: var(--fs-15); }
.price-inputs .clear { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--border-2); position: relative; }
.price-inputs .clear::before, .price-inputs .clear::after { content: ""; position: absolute; width: 14px; height: 2px; background: var(--text); }
.price-inputs .clear::before { transform: rotate(45deg); }
.price-inputs .clear::after  { transform: rotate(-45deg); }
.range { position: relative; height: 4px; background: #cfe0d3; border-radius: 4px; margin: 6px 0; }
.range__fill { position: absolute; height: 4px; background: #86c28e; border-radius: 4px; left: 8%; right: 30%; }
.range__handle { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--purple); transform: translate(-50%,-50%); }

/* =========================================================================
   ГЛАВНАЯ · СЕРВИС ДЛЯ ВАС
   ========================================================================= */
.service-card { position: relative; height: 300px; border-radius: 8px; overflow: hidden; background: var(--bg-placeholder); }
.service-card .ph, .service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card__num { position: absolute; top: 34px; left: 34px; font-size: 40px; font-weight: bold; color: rgba(255,255,255,.9); line-height: 1; }
.service-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 21px 22px; color: #fff; font-size: var(--fs-17); background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); text-align: center; }

/* =========================================================================
   ГЛАВНАЯ · ЕДИНЫЙ СТИЛЬ (интерактивное фото)
   ========================================================================= */
.hotspot-image { position: relative; height: 674px; border-radius: 6px; overflow: hidden; }
.hotspot-image .ph, .hotspot-image img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; display: inline-flex; align-items: center; gap: 10px; transform: translate(-50%,-50%); }
.hotspot__label { color: #fff; font-size: var(--fs-15); font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hotspot__dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 7px solid var(--purple); box-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* Галерея-сетка (Про идеи) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid .ph { height: 340px; border-radius: 6px; }

/* Видео о нас */
.video-block { background: var(--lavender); border-radius: 18px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: flex-start; padding: 22px 22px 22px 52px; }
.video-block__title { font-size: var(--fs-32); font-weight: 300; text-transform: uppercase; margin-bottom: 12px; }
.video-block__text { font-size: var(--fs-14); color: var(--text-body); }
.video-block__body {padding: 30px 0 0 0;}
.video { position: relative; height: 232px; border-radius: 0px; overflow: hidden; background: #000; }
.video__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.video__play .icon { width: 26px; height: 26px; background-color: #111; }

/* CTA */
.cta { background: var(--lavender); border-radius: 18px; text-align: center; padding: 70px 40px 55px 40px; }
.cta__title { font-size: var(--fs-32); font-weight: 300; text-transform: uppercase; margin-bottom: 12px; }
.cta__text { font-size: var(--fs-14); color: var(--text-body); margin-bottom: 25px; }

/* Магазины / Где мы находимся */
.shop-card { background: #fffbf6; padding: 0 0 22px 0; border-radius: 8px; }
.shop-card__map { height: 295px; border-radius: 8px 8px 0 0; overflow: hidden; margin-bottom: 18px; }
.shop-card__name { font-size: var(--fs-16); font-weight: 600; margin-bottom: 9px; padding: 0 0 0 25px; }
.shop-card__addr { font-size: var(--fs-14); color: var(--text-body); margin-bottom: 4px; padding:0 0 0 25px; }
.shop-card__row { display: flex; align-items: center; gap: 22px; font-size: var(--fs-14); padding:0 0 0 25px; }
.shop-card__row a { color: var(--text); }
.shop-card__row a:hover { color: var(--purple); }

/* =========================================================================
   КАТАЛОГ · КОЛЛЕКЦИИ
   ========================================================================= */
.collection { margin-bottom: 20px; padding: 39px 0 0 0; }
.section-small .collection:first-child {border-top: 1px solid var(--border);}
.collection__row { display: flex; gap: 4px; align-items: stretch; }
.collection__row > .collection-cover { flex: 0 0 20%; }
.collection__row > .product { flex: 0 0 20%; }
.collection-cover { position: relative; border-radius: 6px; overflow: hidden; }
.collection-cover .ph, .collection-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 440px; }
.collection-cover__btn { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.collection-cover__btn .btn { width: 100%; }

/* =========================================================================
   КАРТОЧКА ТОВАРА (страница)
   ========================================================================= */
.pp { display: grid; grid-template-columns: 152px minmax(0,1fr) 541px; gap: 34px; align-items: start; margin: 0 0 20px 0; }
.pp__thumbs { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pp__thumbs-arrow { width: 32px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }
.pp__thumbs-arrow .icon { width: 18px; height: 18px; background-color: var(--text); transform: rotate(-90deg); }
.pp__thumbs-arrow--up {margin-bottom: 6px;}
.pp__thumbs-arrow--down {margin-top: 6px;}
.pp__thumbs-arrow--down .icon { transform: rotate(90deg); }
.pp__thumb { width: 148px; height: 168px; border-radius: 8px; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px var(--border); }
.pp__thumb .ph, .pp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp__thumb.is-active { box-shadow: 0 0 0 2px var(--purple); }

.pp__main { display: flex; flex-direction: column; align-items: center; }
.pp__main-top { width: 100%; display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.pp__fav { width: 26px; height: 26px; }
.pp__fav .icon { width: 24px; height: 24px; background-color: var(--text); }
.pp__fav:hover .icon { background-color: var(--purple); }
.pp__image { width: 100%; max-width: 460px; height: 672px; }
.pp__image .ph, .pp__image img { width: 100%; height: 100%; object-fit: contain; }
.pp__price { font-size: var(--fs-26); font-weight: 600; margin: 22px 0 16px; }
.pp__price .new { color: var(--red); }
.pp__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; max-width: 560px; }

.pp__config { display: flex; flex-direction: column; gap: 46px; }
.config-group { position: relative; width: 94%;}
.config-group__label { font-size: var(--fs-15); color: var(--text); margin-bottom: 25px; }
.config-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 95%; }
.config-thumb { text-align: center; cursor: pointer; }
.config-thumb__img { height: 190px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); background: var(--bg-placeholder); margin-bottom: 12px; }
.config-thumb__img .ph, .config-thumb__img img { width: 100%; height: 100%; object-fit: contain; }
.config-thumb.is-active .config-thumb__img { box-shadow: 0 0 0 2px var(--purple); background: #fff; }
.config-thumb__name { font-size: var(--fs-15); color: var(--text); }
.config-thumb.is-active .config-thumb__name { font-weight: 600; }
.config-group__next { position: absolute; right: -24px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.config-group__next .icon { width: 18px; height: 18px; background-color: var(--text); }

.config-swatches { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 16px; }
.config-swatches__label { font-size: var(--fs-15); }
.config-swatches__list { display: flex; flex-wrap: wrap; gap: 10px; }

.config-sizes { display: grid; grid-template-columns: 95px 1fr; align-items: center; gap: 16px; }
.config-sizes__label { font-size: var(--fs-15); }
.config-sizes__list { display: flex; flex-wrap: wrap; gap: 12px; }

/* Табы */
.tabs { display: flex; gap: 54px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.tab { padding-bottom: 10px; font-size: var(--fs-16); color: var(--text-muted); font-weight: 600; position: relative; cursor: pointer; }
.tab.is-active { color: var(--text); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); }
.tab-content { font-size: var(--fs-15); color: var(--text-body); line-height: 1.5; }
.tab-content p { margin-bottom: 18px; }

/* Варианты открывания */
.open-card { position: relative; height: 400px; border-radius: 8px; overflow: hidden; background: var(--bg-placeholder); }
.open-card .ph, .open-card img { width: 100%; height: 100%; object-fit: contain; }
.open-card__play { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.open-card__play .icon { width: 30px; height: 30px; background-color: #fff; }
.open-card__caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; padding: 40px 16px 18px; color: #fff; font-size: var(--fs-16); background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0)); }

/* Где купить (карточка) */
.buy { display: grid; grid-template-columns: 1.15fr 0.6fr; gap: 0; }
.buy__map { position: relative; height: 420px; border-radius: 8px 0 0 8px; overflow: hidden; }
.buy__ymap { position: absolute; inset: 0; width: 100%; height: 100%; }
.buy__list { max-height: 420px; overflow-y: auto; background: #fffbf6;}
/* Total width of the scrollbar */
.buy__list::-webkit-scrollbar {width: 4px; height: 4px; /* For horizontal scrollbars */}
/* Background track area */
.buy__list::-webkit-scrollbar-track {background: #f1f1f1; border-radius: 4px;}
/* The draggable handle */
.buy__list::-webkit-scrollbar-thumb {background: #888; border-radius: 4px; border: 2px solid #000; /* Creates padding effect around thumb */}
/* Draggable handle on hover */
.buy__list::-webkit-scrollbar-thumb:hover {background: #555;}
.shop-item { padding: 30px 37px 26px 37px; border-bottom: 1px solid var(--border); }
.shop-item.is-active,
.shop-item:hover { background: #fff4e6; }
.shop-item__name { font-weight: 600; margin-bottom: 9px; }
.shop-item__addr { font-size: var(--fs-14); color: var(--text-body); margin-bottom: 8px; }
.shop-item__mail, .shop-item__phone { font-size: var(--fs-14); color: var(--text-body); margin-bottom: 7px; }
.shop-item__call { font-size: var(--fs-14); font-weight: 500; }

/* Галерея-плитки (панели / рейки) */
.tile { position: relative; height: 480px; border-radius: 6px; overflow: hidden; }
.tile .ph, .tile img { width: 100%; height: 100%; object-fit: cover; }
.tile__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 26px 20px; color: #fff; font-size: var(--fs-16); background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); text-align: center; }
