@font-face {
  font-family: "Nuosu SIL";
  src: url("../fonts/nuosu/nuosu-sil-yi-400-4.000.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* ===== СБРОС И БАЗА ===== */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #222222;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* Типографика заголовков — ДЕСКТОП (по умолчанию) */
h1,
.h1 {
  font-size: 34px;
  font-weight: 600;
}

h2,
.h2 {
  font-size: 24px;
  font-weight: 600;
}

h3,
.h3 {
  font-size: 20px;
  font-weight: 600;
}

/* Мобильные размеры заголовков */
@media (max-width: 600px) {
  h1,
  .h1 {
    font-size: 24px;
  }

  h2,
  .h2 {
    font-size: 20px;
  }

  h3,
  .h3 {
    font-size: 18px;
  }
}

/* ====== HEADER (Wisteria) ====== */

.site-header {
  width: 100%;
  border-bottom: 1px solid #f1f1f1;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}

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

/* TOP (white) */
.header-top {
  background: #ffffff;
}

.header-top__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-logo__img {
  height: 64px;
  width: auto;
  display: block;
}

/* Controls (right) */
.header-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Lang */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #777;
  cursor: pointer;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 400;
  line-height: 1;
}

.lang-switch__btn--active {
  color: #000;
  font-weight: 600;
}

.lang-switch__divider {
  color: #999;
}

/* Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.header-icon__glyph {
  font-size: 18px;
  line-height: 1;
  opacity: 0.55;
}

.header-icon__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c38edb;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Burger */
.header-burger {
  width: 32px;
  height: 32px;
  margin-left: 20px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.burger-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(120, 120, 120, 0.7);
}

/* Search (shared) */
.header-search {
  flex: 1 1 auto;
  display: flex;
  margin-right: 50px;
  align-items: center;
  max-width: 520px;
  background: #f5f5f7;
  border-radius: 15px;
  padding: 0 8px 0 18px;
  height: 40px;
}

.header-search__input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: "Montserrat Alternates", sans-serif;
  color: #333;
}

.header-search__input::placeholder {
  color: rgba(160, 160, 160, 1);
}

.header-search__btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #c38edb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.header-search__btn-icon {
  font-size: 14px;
  line-height: 1;
}

/* Desktop vs mobile search blocks */
.header-search--mobile {
  display: none;
}

/* PINK BAR (mobile only) */
.header-pinkbar {
  background: rgba(243, 170, 207, 1);
  display: none;
}

.header-pinkbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

/* Mobile search styling inside pink bar */
.header-search__input--mobile {
  color: #fff;
}

.header-search__input--mobile::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.header-search__btn--mobile {
  background: #c38edb;
}

/* NAV */
.header-nav {
  background: rgba(243, 170, 207, 1);
}

.header-nav__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 19px; /* твой gap */
  flex-wrap: nowrap;
}

.header-nav__link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-family: "Montserrat Alternates", sans-serif;
  white-space: nowrap;
}

/* Desktop burger only visible in top row */
.header-burger--mobile {
  display: none;
}
/* ========================================================= */
/* ===== HERO + RIGHT PROMO (БАЗА: ДЕСКТОП 1440+) ========= */
/* ========================================================= */

/* Внешняя секция с левым hero и правым promo */
.hero-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 60px;

  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
}

/* Левая колонка (hero + точки) */
.hero-left {
  flex: 0 0 71.53%; /* 1030 / 1440 * 100 — МЕНЯЕШЬ ЭТО ПРОЦЕНТ ДЛЯ ШИРИНЫ HERO */
  display: flex;
  flex-direction: column;
}

/* сам hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* блок слайдера: фикс 500px высоты на десктопе */
.hero-wrap {
  width: 100%;
  height: 500px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* один слайд */

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* фон */

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}

.hero-slide__bg--1 {
  background-image: url("../img/hero-main.jpg");
}

.hero-slide__bg--2 {
  background-image: url("../img/hero-main.jpg");
}

.hero-slide__bg--3 {
  background-image: url("../img/hero-main.jpg");
}

/* контент слева */

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 520px;
  padding-left: 40px;
}

.hero__title {
  font-size: 34px;
  font-family: "Montserrat Alternates", sans-serif;

  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #000000;
}

.hero__text {
  margin: 0 0 24px;
  font-size: 14px;
  font-family: "Montserrat Alternates", sans-serif;
  line-height: 1.6;
  color: #666666;
}

.hero__button {
  width: fixed(180px);
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  background: rgba(165, 132, 186, 1);
  color: #fff;
  font-size: 16px;
  font-family: "Montserrat Alternates", sans-serif;

}

.hero__button:hover {
  background-color: #b26bd1;
  transform: translateY(-1px);
}

/* точки под слайдером */

.hero__slider-dots {
  align-self: flex-start;
  width: 100%;              /* ширина = ширине hero-left */
  max-width: 1030px;        /* можно подрезать, если нужно точное совпадение */
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero__dot {
  width: 40px;
  height: 5px;
  border-radius: 0;
  background-color: #e3c8f2;
}

.hero__dot--active {
  background-color: #c38edb;
}

/* ===== ПРАВЫЙ ПРОМО-БЛОК ===== */

.hero-promo {
  flex: 0 0 28.47%; /* 410 / 1440 * 100 — ЗДЕСЬ РЕГУЛИРУЕШЬ ШИРИНУ ПРАВОГО БЛОКА */
  height: 500px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.hero-promo__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-side.jpg"); /* ← КАРТИНКА ПРАВОГО БЛОКА */
  background-size: cover;
  background-position: center;
}

.hero-promo__content {
  position: absolute;
  bottom: 40px;
  left: 35px;
  color: #000;
  font-family: "Montserrat Alternates", sans-serif;

}

.hero-promo__title {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.hero-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.hero-promo__link span {
  font-size: 20px;
  font-weight: bold;
}

/* ===== BESTSELLERS ===== */

.bestsellers {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #ffffff;
}

.bestsellers__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bestsellers__title {
  font-size: 24px;
  font-weight: 600;
}

.bestsellers__view-all {
  font-size: 13px;
  text-decoration: none;
  color: #777777;
}

/* Слайдер */

.bestsellers-slider {
  position: relative;
}

.bestsellers-slider__viewport {
  position: relative;
  overflow: hidden;
  min-height: 320px; /* чтобы высота не прыгала при смене */
}

/* один слайд */

.bestsellers-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  gap: 20px;
}

.bestsellers-slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* карточка товара */

.product-card {
  flex: 0 0 25%;
  background-color: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.product-card__image-wrap {
  width: 100%;
  height: 200px;      /* фиксируем коробку под картинку */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;   /* скрываем лишнее */
  border-radius: 12px; /* по желанию */
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__title {
    font-size: clamp(12px, 1.4vw, 14px);
    font-weight: 500;
    margin: 0 0 8px;
    min-height: 40px;
  }
  
  .product-card__price {
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 600;
  }
  
  .product-card__stock {
    font-size: clamp(10px, 1.1vw, 12px);
  }
  


.product-card__price-row {
  margin-bottom: 6px;
}

.product-card__price {
  font-size: 14px;
  font-weight: 600;
}

.product-card__stock {
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 600;
  color: #5bb15f;
  margin-bottom: 12px;
}

.product-card__btn {
  margin-top: auto;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #c38edb;
  color: #ffffff;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

/* ===== HOVER OVERLAY НА PRODUCT-CARD ===== */

.product-card {
  position: relative;   /* важно для оверлея */
  overflow: hidden;
}

.product-card__hover {
  position: absolute;
  inset: 0;
  background-color: rgba(195, 142, 219, 0.9); /* фиолетовый с прозрачностью */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-card__hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.product-card__hover-icon {
  font-size: 16px;
}

/* само появление */
.product-card:hover .product-card__hover {
  opacity: 1;
  pointer-events: auto;
}


/* ===== СТРЕЛКИ ДЛЯ ОБОИХ СЛАЙДЕРОВ (БЕСТСЕЛЛЕРЫ + НОВИНКИ) ===== */

.bestsellers-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 60px;
  height: 60px;
  border-radius: 50%;

  /* фон делаем чуть серым */
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;

  /* сама стрелка потемнее */
  color: #8f8f8f;
  font-size: 26px;
  line-height: 1;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* ховер чуть понасыщеннее, чтобы жило */
.bestsellers-slider__arrow:hover {
  background-color: #ebebeb;
  color: #6f6f6f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* отодвигаем стрелки от карточек */
.bestsellers-slider__arrow--prev {
  left: -40px;   /* если будет мало/много — регулируешь тут */
}

.bestsellers-slider__arrow--next {
  right: -40px;
}

/* точки */

.bestsellers-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.bestsellers-dot {
    width: 40px;
    height: 5px;
    border-radius: 0;
    background-color: #e3c8f2;
  }


.bestsellers-dot--active {
  background-color: #c38edb;
}

/* ===== PROMO TWO BLOCK ===== */
/* ===== PROMO TWO (VitaFace -20%) ===== */

.promo-two {
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
}

/* общий блок 840 + 40 + 400 = 1280 */
.promo-two__wrap {
  display: flex;
  gap: 40px;
  width: 1280px;
  transform-origin: top center;
}

/* левая картинка */
.promo-two__image {
  width: 100%;
  height: 100%;
  background-image: url("../img/promo-left.jpg"); /* Путь проверь */
  background-size: cover;
  background-position: center;
  border-radius: 24px 0 0 24px; /* если нужны скругления только справа/слева - смотри по макету */
}

/* правая карточка */
.promo-two__card {
  width: 400px;
  height: 445px;
  background: rgba(165, 132, 186, 1);
margin-right: 20px;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;
  padding: 40px;
}

.promo-two__discount {
  width: 183px;
  height: 80px;
  font-size: 80px; /* как в макете */
  font-weight: 400;
  font-family: "Nuosu SIL", serif;
  line-height: 1;
  margin: 0 0 16px;
}

.promo-two__text {
  width: 316px;
  font-size: 22px;
  font-weight: 500;
  font-family: "Comfortaa",sans-serif ;
  line-height: 1.4;
  margin: 0 0 28px;
}

.promo-two__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 10px;
  background-color: #ffffff;
  color:rgba(165, 132, 186, 1);
  font-size: 16px;
  font-family: "Montserrat Alternates", sans-serif;
  text-decoration: none;
}

/* ===== ABOUT / ПРО КОМПАНІЮ ===== */

.about {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #ffffff;
}

.about__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about__text {
  flex: 0 0 52%;
}

.about__title {
  font-size: 24px;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  margin: 0 0 24px;
}

.about__paragraph {
  margin: 0 0 16px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #555555;
}

/* колонка с картинкой справа */

.about__image-wrap {
  flex: 0 0 48%;
  display: flex;
  justify-content: center;
}

.about__image {
  width: 100%;
  max-width: 480px;
  border-radius: 240px 0 0 240px; /* скругление слева, как в макете-круге */
  object-fit: cover;
}

/* ================= BENEFITS BLOCK ================= */

.benefits {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* левая картинка */

.benefits__image {
  flex: 0 0 33%;
  min-width: 320px;
  background-image: url("../img/benefits-left.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* розовый блок справа */

.benefits__content {
  flex: 1;
  background-color:rgba(242, 170, 206, 1);
  padding: 48px 80px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
  row-gap: 32px;
}

.benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefits__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.benefits__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefits__text {
  flex: 1;
}

.benefits__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
}

.benefits__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
}

/* ===== NEW ITEMS (NEW SLIDER) ===== */

.newitems {
  padding-top: 60px;
  padding-bottom: 60px;
}

.newitems__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.newitems__title {
  font-size: 24px;
  font-weight: 600;
}

.newitems__view-all {
  font-size: 13px;
  color: #777;
}

.newitems-slider {
  position: relative;
}

.newitems-slider__viewport {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.newitems-slide {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.newitems-slide--active {
  opacity: 1;
  pointer-events: auto;
}

.newitems-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-size: 18px;
  cursor: pointer;
}

.newitems-slider__arrow--prev { left: -16px; }
.newitems-slider__arrow--next { right: -16px; }

.newitems-slider__dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.newitems-dot {
  width: 24px;
  height: 4px;
  background: #e3c8f2;
  border-radius: 50px;
  border: none;
}

.newitems-dot--active {
  background: #c38edb;
}

.hair {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hair__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hair__title {
  font-size: 24px;
  font-weight: 600;
}

.hair__view-all {
  font-size: 13px;
  color: #777777;
  text-decoration: none;
}

/* 2 колонки: баннер + товары (≥ 997px) */

.hair__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
}

/* Левый баннер */

.hair-banner {
  position: relative;
  width: 290px;
  height: 664px;              /* ← фиксируем рост */
  overflow: hidden;
  border-radius: 24px;
}
/* затемнение поверх фотки */
.hair-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

/* сама фотография – во весь блок, без искажений */
.hair-banner__img {
  width: 100%;
  height: 100%;
  object-fit: contain;         /* ← не режем, вписываем полностью */
  background-color: #f5f5f5;   /* фон, если по краям остаются поля */
}

/* внутренняя белая рамка + контент */

.hair-banner__content {
  position: absolute;
  inset: 5px;
  border: 5px solid #ffffff;
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;

  padding-bottom: 100px;
  text-align: center;
  color: #ffffff;
}


.hair-banner__sale {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hair-banner__dates {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 400;
}

.hair-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background-color: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

/* Правая сетка карточек (6 шт, 3×2) */

.hair-products__list {
  display: grid;
  grid-template-columns: repeat(3, 290px); /* 3 колонки по 290 */
  grid-auto-rows: 312px;                   /* высота ряда 312 */
  gap: 24px;
  justify-content: space-between;          /* растягиваем по ширине */
}

/* чтобы ховер-оверлей нормально помещался */
.hair-products__list .product-card {
  position: relative;
  width: 290px;
  height: 312px;
  background-color: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* чтобы hover-оверлей не вылезал */
}

.hair-products__list .product-card__image-wrap {
  width: 100%;
  height: 160px;       /* внутри 312px — подгони, если хочешь иначе */
  margin-bottom: 12px;
}

.hair-products__list .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ===== SUBSCRIBE SECTION ===== */

.subscribe {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* сам цветной баннер */
.subscribe__inner {
  position: relative;
  max-width: 100%;
  height: 332px;
  margin-left: auto;
  margin-right: auto;
  
  overflow: visible; /* картинки будут вылезать наружу */
  background: linear-gradient(267.29deg, #9874AF 0.64%, #F6B5CC 98.02%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
}

/* центральный контент */
.subscribe__content {
  max-width: 560px;
  text-align: center;
  color: #ffffff;
}

.subscribe__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.subscribe__subtitle {
  margin: 0 0 24px;
  font-size: 13px;
  opacity: 0.9;
}

/* форма */
.subscribe__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.subscribe__field {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.subscribe__field-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.subscribe__input {
  width: 260px;
  height: 40px;
  border-radius: 999px;
  border: none;
  padding: 0 16px;
  padding-top: 14px; /* чтобы лейбл не перекрывал текст */
  font-size: 13px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.85);
  color: #333333;
}

.subscribe__input:focus {
  background-color: #ffffff;
}

/* кнопка */
.subscribe__button {
  height: 40px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  background-color: #ffffff;
  color: #c290f0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.subscribe__button:hover {
  background-color: #f6ecff;
  transform: translateY(-1px);
}

/* картинки по бокам */

.subscribe__image {
  position: absolute;
  bottom: -40px; /* немного вылезают вниз */
}

.subscribe__image img {
  display: block;
  width: 220px;        /* ширина баночки/флаконов */
  height: auto;        /* сохраняем пропорции */
}

/* левая баночка */
.subscribe__image--left {
  width: 130px;
  left: 40px; /* выходит за левый край баннера */
margin-top: 300px;
}

/* правые бутылочки */
.subscribe__image--right {
  right: 20px; /* выходит за правый край */
  padding-bottom: 35px;
}
.subscribe-shape--tl {
  width: 200px;
  top: -60px;
  left: -40px;
  transform: rotate(-15deg);
}
.subscribe-shape--bl {
  width: 190px;
  bottom: -70px;
  left: 40px;
  transform: rotate(20deg);
}

.subscribe-shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.promo-section {
    width: 100vw;
    height: 597px;
    display: flex;
    overflow: hidden;
}

.promo-item {
    position: relative;
    width: calc(100% / 3);
    height: 100%;
}

.promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 18px;
    color: #fff;
    border-radius: 8px;
}

/* ===== FAQ СЕКЦИЯ (ФОН + РАЗМЕРЫ) ===== */

.faq-section {
  position: relative;
  width: 100%;
  height: 882px;              /* ориентир для десктопа */
  background: #fff7ef;
  overflow: hidden;
}

/* ===== ЦЕНТРАЛЬНЫЙ КОНТЕЙНЕР ===== */

.faq-inner {
  position: relative;
  z-index: 2;                     /* поверх картинок */
  max-width: 1060px;
  margin: 0 auto;
}

.faq-title-main {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px;
}

/* ===== КОНТЕЙНЕР С ВОПРОСАМИ ===== */

.faq-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;                      /* расстояние между вопросами */
}

/* ОДНА КАРТОЧКА-ВЫПАДАЛКА */

.faq-item {
  width: 100%;
  max-width: 1060px;              /* тут твои 1070 ~ 1060 */
  margin: 0 auto;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(34, 35, 58, 0.12);
  overflow: hidden;
  border: 1px solid #ecebfb;
}

/* ШАПКА ВОПРОСА */

.faq-question {
  width: 100%;
  min-height: 70px;               /* высота вопроса по макету */
  padding: 18px 24px;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;

  font-size: 15px;
  font-weight: 500;
  text-align: left;
  color: #2f3040;
}

.faq-question span:first-child {
  flex: 1;                        /* текст занимает всё, стрелка прижата вправо */
}

/* СТРЕЛКА */

.faq-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 30px;
  background: url("img/faq-arrow.png") center center / contain no-repeat;
  display: inline-block;
  transition: transform 0.25s ease;
}

/* при открытом вопросе переворачиваем стрелку */

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

/* ОТВЕТ */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  box-sizing: border-box;
  transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.faq-answer p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #55586b;
}

/* когда открыт */

.faq-item.open .faq-answer {
  padding-top: 8px;
  padding-bottom: 18px;
}

/* ===== 4 КАРТИНКИ ВОКРУГ ===== */

.faq-photos {
  position: absolute;
  z-index: 1;
  pointer-events: none;           /* чтобы не мешали клику по FAQ */
}



.faq-photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ЛЕВАЯ ГРУППА (две картинки слева) */
.faq-photos--left {
  left: 0;
  top: 160px;
  width: 210px;
}

.faq-photo--left-top {
  margin-bottom: 40px;
}

.faq-photo--left-bottom {
  margin-left: 10px;
}

/* ПРАВАЯ ГРУППА (две справа) */
.faq-photos--right {
  right: 0;
  top: 40px;
  width: 230px;
}

.faq-photo--right-top {
  margin-bottom: 40px;
}

.faq-photo--right-bottom {
margin-bottom: 10px;
}
.materials {
  padding-top: 60px;
  padding-bottom: 60px;
}

.materials__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.materials__title {
  font-size: 24px;
  font-weight: 600;
}

.materials__view-all {
  font-size: 13px;
  color: #777;
}

.materials-slider {
  position: relative;
}

.materials-slider__viewport {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.materials-slide {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.materials-slide--active {
  opacity: 1;
  pointer-events: auto;
}

.materials-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-size: 18px;
  cursor: pointer;
}

.materials-slider__arrow--prev { left: -16px; }
.materials-slider__arrow--next { right: -16px; }

.materials-slider__dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.materials-dot {
  width: 24px;
  height: 4px;
  background: #e3c8f2;
  border-radius: 50px;
  border: none;
}

.materials-dot--active {
  background: #c38edb;
}

.catalog-section {
  padding: 40px 0;
}

.catalog-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0 50px;
}

.catalog-card {
  display: block;
  width: 620px;
  height: 345px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* фоны твоих картинок */
.catalog-card--cream {
  background-image: url("../img/promo-cream-desktop.jpg");
}

.catalog-card--hair {
  background-image: url("../img/promo-hair-desktop.jpg");
}

.catalog-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 60%;
  padding-right: 20%;
}

.catalog-card__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 18px;
}

.catalog-card__btn {
  padding: 10px 26px;
  border-radius: 10px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}


/* ===== У СВІТІ WISTERIA ===== */

.wisteria-news {
  width: 100vw;
  padding-top: 40px;
  padding-bottom: 40px;
  box-sizing: border-box;
  background: #ffffff;
}

.wisteria-news .container {
  max-width: 1200px;
  margin: 0 auto;
}

.wisteria-news__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.wisteria-news__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.wisteria-news__view-all {
  font-size: 13px;
  color: #777;
  text-decoration: none;
}

/* Список карточек */

.wisteria-news__list {
  display: flex;
  gap: 24px;
}

/* ОДНА КАРТОЧКА */

.news-card {
  width: 290px;
  height: 523px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Картинка */

.news-card__image-wrap {
  width: 290px;
  height: 383px;
  overflow: hidden;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Метаданные */

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px 0;
  font-size: 11px;
  color: #8a8a8a;
}

.news-card__meta-separator {
  opacity: 0.6;
}

/* Текст */

.news-card__title {
  padding: 6px 16px 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 6px;
}

.news-card__excerpt {
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 12px;
}

/* Ссылка внизу карточки */

.news-card__more {
  margin-top: auto;
  padding: 0 16px 14px;
  font-size: 12px;
  color: #9c63d7;
  text-decoration: none;
}
/* ===== TESTIMONIAL / ВІДГУК ===== */

.testimonial {
  width: 100vw;
  padding: 40px 0;
  background: #ffffff;
}

.testimonial .container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative; /* для стрелок */
}

/* Обёртка слайдера */
.testimonial__slider {
  position: relative;
}

/* Один слайд */
.testimonial-slide {
  display: none;                 /* по умолчанию скрыт */
}

.testimonial-slide--active {
  display: block;                /* показываем только активный */
}

/* Внутренний контент: картинка слева, текст справа */
.testimonial__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 24px 40px;
  background: #f7f5f8;
  border-radius: 16px;
}

/* Блок с продуктами */
.testimonial__product {
  flex: 0 0 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

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

/* Текстовый блок */
.testimonial__text-block {
  flex: 1;
  max-width: 540px;
  color: #555;
}

.testimonial__quote-icon {
  font-size: 40px;
  color: #e48ac7;
  margin-bottom: 8px;
}

.testimonial__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
}

.testimonial__author {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Стрелки слайдера */

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  cursor: pointer;
  font-size: 22px;
  color: #444;
}

.testimonial-arrow--prev {
  left: -20px;
}

.testimonial-arrow--next {
  right: -20px;
}

/* Точки под слайдером */

.testimonial__dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial-dot {
  width: 24px;
  height: 4px;
  border-radius: 50px;
  border: none;
  background: #e0dde5;
  cursor: pointer;
}

.testimonial-dot--active {
  background: #f28ac3;
}
/* Временная заглушка для контента, чтобы видеть футер */

.stub-section {
  padding: 60px 0;
}

.stub-section h1 {
  margin: 0 0 12px;
  color: #222;
}

.stub-section p {
  margin: 0;
  color: #555;
}

/* ================== INSTAGRAM-ЛЕНТА ================== */

.footer-instagram {
  background-color: black;
  padding: 24px 0 12px;
}

.footer-instagram__container {
  position: relative;
}

.footer-instagram__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;              /* важно */
  padding-bottom: 4px;

  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;

  scroll-behavior: smooth;         /* по желанию */
}


.footer-instagram__list::-webkit-scrollbar {
  height: 4px;
}

.footer-instagram__list::-webkit-scrollbar-track {
  background: transparent;
}

.footer-instagram__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
}

.footer-instagram__item {
  flex: 0 0 190px;
  width: 260px;
  height: 261px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-color: #f3f3f3;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-instagram__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-instagram__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-instagram__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.footer-instagram__item:hover::after {
  opacity: 1;
}

/* Серый бейдж с надписью Instagram по центру, как на макете */

.footer-instagram__label {
  position: absolute;
  width: 226px;
  height: 56px;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 20px 22px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 16px;
  font-family: "Comfortaa",sans-serif;
  text-align: center;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* ================== ФУТЕР: ВЕРХНЯЯ ЧАСТЬ ================== */

.site-footer {
  background-color: #000000;
  color: #ffffff;
}

.site-footer__top {
  display: flex;
  padding: 32px 16px 28px;
  gap: 40px;
  align-items: flex-start;
}

/* Колонки футера */

.site-footer__col {
  flex: 1 1 0;
}

.site-footer__col--logo {
  max-width: 260px;
}

.site-footer__col--account {
  max-width: 260px;
}

/* Лого */

.footer-logo__img {
  width: 160px;
  height: auto;
  margin-bottom: 16px;
}

.site-footer__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Заголовки и меню */

.footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 10px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 4px;
}

.footer-menu a {
  font-size: 13px;
  color: #f0f0f0;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-menu a:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* Соцсети */

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.footer-social__item {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.footer-social__item:hover {
  background-color: #ffffff;
  color: #000000;
  opacity: 1;
}

/* Платёжные кнопки */


.footer-payments {
  display: flex;
  flex-direction: column; /* если хочешь вертикально — оставляй */
  gap: 12px;
}

/* Основная кнопка */
.pay-btn {
  width: 58px;               /* меняй под макет */
  height: 40px;               /* меняй под макет */
  border-radius: 4px;
  border: none;
  padding: 0;

  background-color: #ffffff;  /* фон кнопки как на макете */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;       /* регулируешь масштаб логотипа */
  
  cursor: pointer;
  transition: opacity .2s ease;
}

.pay-btn:hover {
  opacity: 0.8;
}

/* ЛОГОТИПЫ */
.pay-apple {
  background-image: url("img/apple-pay.png");
}

.pay-google {
  background-image: url("img/google-pay.png");
}

/* ================== ФУТЕР: НИЖНЯЯ ЧАСТЬ ================== */

.site-footer__bottom {
  border-top: 1px solid #262626;
  padding: 10px 0 14px;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #b3b3b3;
}

.site-footer__privacy {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__privacy:hover {
  color: #ffffff;
}

.site-footer__copy {
  white-space: nowrap;
}


.comfort {
  padding: 80px 0;
  background-color: #ffffff;
}

.comfort__title {
  text-align: center;
  font-size: 24px;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  margin-bottom: 32px;
}

.comfort__text {
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.goals {
  padding: 80px 0;
  background-color: #ffffff;
}

.goals__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* колонки */

.goals__col--image-left,
.goals__col--image-right {
  flex: 0 0 30%;
}

.goals__col--content {
  flex: 1 1 40%;
}

/* картинки */

.goals__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* заголовок + список */

.goals__title {
  text-align: center;
  font-size: 22px;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  margin: 0 0 24px;
}

.goals__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.goals__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.goals__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e5c3f3;
  position: relative;
}

.goals__icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px solid #b26ad9;
}


/* при желании можно кастомизировать по модификатору:
   .goals__icon--drop::before { ... } и т.д. */

.goals__text {
  margin: 0;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #555555;
}


.page-products__layout{
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: start;
}

.filters{
  flex: 0 0 290px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* твой стиль блоков */
.filters__block{
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #555;
}
.filters__block--selected{ border: 1px solid #e0c8f5; }

.filters__block-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.filters__block-title{ font-weight:600; font-size:13px; }
.filters__clear-btn{
  border:none;
  background:transparent;
  font-size:11px;
  color:#c38edb;
  cursor:pointer;
}

.filters__selected-item{ font-size:11px; color:#777; margin-bottom:4px; }

.filters__price-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.filters__price-input{
  width: 86px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 12px;
}
.filters__price-sep{ font-size: 12px; }

/* ===== ДВОЙНОЙ RANGE ===== */
.price-slider{
  position: relative;
  height: 22px;
  margin-top: 6px;
}
.price-slider__track{
  position:absolute;
  left:0;
  right:0;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background:#e9e9e9;
}
.price-slider__range{
  position:absolute;
  top: 9px;
  height: 4px;
  border-radius: 999px;
  background:#a57bc7;
  left: 10%;
  right: 50%;
}

.price-slider input[type="range"]{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height: 22px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.price-slider input[type="range"]::-webkit-slider-thumb{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#a57bc7;
  border: none;
  pointer-events: auto;
  -webkit-appearance:none;
}
.price-slider input[type="range"]::-moz-range-thumb{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#a57bc7;
  border:none;
  pointer-events:auto;
}

/* ===== СПИСКИ ЧЕКБОКСОВ ===== */
.filters__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.filters__checkbox{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  cursor:pointer;
}
.filters__checkbox input{ accent-color:#c38edb; }
.filters__count{
  margin-left:auto;
  font-size:11px;
  color:#b9b9b9;
}

/* ===== АККОРДЕОН (плюс/минус) — ОДНА версия, без дублей ===== */
.filters-acc__head{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border: none;
  background: transparent;
  padding: 0; /* padding пусть будет у filters__block */
  cursor: pointer;
}

.filters-acc__title{
  font-weight:600;
  font-size:13px;
  color:#222;
}

/* Иконка +/− */
.filters-acc__icon{
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 18px;
}
.filters-acc__icon::before,
.filters-acc__icon::after{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:18px;
  height:2px;
  background:#777;
  transform:translateY(-50%);
  border-radius:2px;
}
.filters-acc__icon::after{
  transform: translateY(-50%) rotate(90deg);
}
/* в открытом состоянии “плюс” превращается в “минус” */
.filters-acc.is-open .filters-acc__icon::after{
  opacity:0;
}

/* ВАЖНО:
   НИКАКОГО display:none/block через CSS.
   Плавность делаем через max-height/opacity, а display управляет JS. */
.filters-acc__body{
  /* вместо margin-top лучше padding, чтобы высота считалась стабильно */
  padding-top: 12px;

  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s ease, opacity .2s ease;

  /* display НЕ трогаем здесь */
}

.filters-acc.is-open .filters-acc__body{
  opacity: 1;
}

.filters-acc__body > *{
  min-width: 0;
}

/* ===== PRODUCTS GRID ===== */
.products-grid__top{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}
.products-grid__label{
  font-size: 12px;
  color:#666;
  font-family:"Montserrat", sans-serif;
}
.products-grid__sort{
  border:none;
  background: transparent;
  padding:6px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-size:12px;
  color:#777;
}
.products-grid__sort--active{
  background:#eadcf7;
  color:#7a4fa3;
}

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

.products-grid__pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top: 20px;
}
.pagination__page,
.pagination__arrow{
  border:none;
  background:transparent;
  cursor:pointer;
  font-size: 13px;
  color:#666;
}
.pagination__page--active{
  width:26px;
  height:26px;
  border-radius:999px;
  background:#a57bc7;
  color:#fff;
}

/* ===== RECENT PRODUCTS (ВСЕГДА НИЖЕ) ===== */
.recent-products{
  margin-top: 48px;
}
.recent-products__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 18px;
}
.recent-products__title{
  font-size: 28px;
  margin:0;
}
.recent-products__view-all{
  text-decoration:none;
  font-size: 14px;
  color:#555;
}
.recent-products__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* ===== МОБИЛЬНАЯ КНОПКА ФИЛЬТРА ===== */
.products-grid__filters-btn{
  display:none;
  width:100%;
  border:none;
  border-radius: 10px;
  padding: 12px 14px;
  background:#a57bc7;
  color:#fff;
  font-family:"Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  cursor:pointer;
  margin-bottom: 14px;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.products-grid__filters-icon{
  font-size: 14px;
  line-height: 1;
}

/* ===== DRAWER (мобилка) ===== */
.filters-drawer{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: block;              /* держим в DOM всегда */
  pointer-events: none;        /* кликов нет, пока закрыто */
  opacity: 0;
  transition: opacity .25s ease;
}
.filters-drawer.is-open{
  pointer-events: auto;
  opacity: 1;
}

.filters-drawer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.25);
}

.filters-drawer__panel{
  position:absolute;
  top:0;
  right:0;
  height: 100%;
  width: min(420px, 100%);
  background:#fff;
  display:flex;
  flex-direction:column;

  transform: translateX(100%);      /* спрятано справа */
  transition: transform .28s ease;  /* плавный выезд */
}

.filters-drawer.is-open .filters-drawer__panel{
  transform: translateX(0);
}

.filters-drawer__top{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid #eee;
}
.filters-drawer__back{
  border:none;
  background:transparent;
  font-size: 18px;
  cursor:pointer;
}
.filters-drawer__caption{
  font-family:"Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 600;
}

.filters-drawer__body{
  padding: 14px;
  overflow:auto;
}

/* ===== PRICE SLIDER (НЕ ТРОГАЮ, КАК ТЫ ПРОСИЛ) ===== */
.price-slider{
  position: relative;
  height: 26px;
  margin-top: 8px;
  user-select: none;
}

.price-slider__track{
  position:absolute;
  left:0;
  right:0;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background:#e9e9e9;
  transform: translateY(-50%);
}

.price-slider__range{
  position:absolute;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background:#a57bc7;
  transform: translateY(-50%);
}

.price-slider input[type="range"]{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height: 26px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.price-slider input[type="range"]::-webkit-slider-thumb{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#a57bc7;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  pointer-events: auto;
  -webkit-appearance:none;
}
.price-slider input[type="range"]::-moz-range-thumb{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#a57bc7;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  pointer-events:auto;
}

/* ===== Page wrapper ===== */
.product-cart-page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px 80px;
}

/* ===== TOP layout ===== */
.product-cart__top{
  display: grid;
  grid-template-columns: 510px 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== Gallery ===== */
.product-cart__gallery{
  position: relative;
  width: 510px;
  height: 456px;
  background: #f7f7f7;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
}

.product-cart__fav{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
}

.product-cart__thumbs{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-cart__thumb{
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  cursor: pointer;
}

.product-cart__thumb img{
  width: 100%;
  display: block;
  border-radius: 10px;
}

.product-cart__thumb.is-active{
  border-color: rgba(168, 143, 216, 1);
}

.product-cart__main-img{
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

/* ===== Info ===== */
.product-cart__info{
  min-width: 0;
}

.product-cart__title-row{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.product-cart__title{
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 520px;
}

.product-cart__stock{
  font-size: 13px;
  color: #777;
  margin-top: 10px;
  white-space: nowrap;
}
.product-cart__stock--in{
  color: #2aa65a;
  font-weight: 600;
}

.product-cart__rating{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-size: 13px;
}

.product-cart__stars{
  color: rgba(254, 200, 89, 1);
  letter-spacing: 2px;
}

.product-cart__meta{
  margin-top: 14px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  color: #777;
  font-size: 14px;
}

.product-cart__meta-link{
  color: rgba(168, 143, 216, 1);
  text-decoration: underline;
}

.product-cart__price-row{
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.product-cart__price{
  font-size: 22px;
  font-weight: 800;
}
.product-cart__old-price{
  font-size: 14px;
  color: rgba(170,170,170,1);
  text-decoration: line-through;
}

/* volumes */
.product-cart__volumes{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-cart__volume-btn{
  height: 36px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(199,199,199,1);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.product-cart__volume-btn.is-active{
  background: rgba(168, 143, 216, 1);
  color: #fff;
  border-color: rgba(168, 143, 216, 1);
}

/* buy row */
.product-cart__buy-row{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
}

.product-cart__qty{
  height: 44px;
  border: 1px solid rgba(199,199,199,1);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  background: #fff;
}

.product-cart__qty-btn{
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  color: rgba(199,199,199,1);
}

.product-cart__qty-input{
  border: none;
  outline: none;
  text-align: center;
  font-size: 14px;
}

.product-cart__buy-btn{
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(168, 143, 216, 1);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.product-cart__buy-icon{
  font-size: 16px;
}

/* ===== BOTTOM: Two columns (LEFT tabs, RIGHT desc) ===== */
.product-cart__bottom{
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr 760px;
  gap: 64px;
  align-items: start;
}

.product-cart__bottom-left,
.product-cart__bottom-right{
  min-width: 0;
}

/* ===== Tabs ===== */
.product-cart__tabs{
  margin-top: 0; /* было 46px, теперь отступ даёт bottom */
}

.product-cart__tabs-head{
  display: flex;
  gap: 54px;
  align-items: center;
}

.product-cart__tab{
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-size: 22px;
  font-weight: 800;
  color: rgba(199,199,199,1);
}

.product-cart__tab.is-active{
  color: #111;
}

.product-cart__tabs-body{
  margin-top: 22px;
}

.product-cart__panel{
  display: none;
}
.product-cart__panel.is-active{
  display: block;
}

/* specs */
.product-cart__specs{
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.product-cart__spec{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.product-cart__spec-key{
  font-weight: 800;
  color: #111;
}

.product-cart__spec-val{
  color: #777;
}

/* ===== Reviews form/list ===== */
.product-cart__review-form{
  max-width: 640px;
}

.product-cart__label{
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  color: #111;
  font-weight: 600;
}

.product-cart__req{
  color: rgba(168, 143, 216, 1);
}

.product-cart__textarea{
  width: 100%;
  min-height: 110px;
  border-radius: 10px;
  border: 1px solid rgba(230,230,230,1);
  padding: 12px;
  outline: none;
  resize: vertical;
}

.product-cart__input{
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(230,230,230,1);
  padding: 0 12px;
  outline: none;
}

.product-cart__two-cols{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-cart__submit{
  margin-top: 18px;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: rgba(168, 143, 216, 1);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.product-cart__policy{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(150,150,150,1);
  line-height: 1.5;
}

/* stars input */
.product-cart__stars-input{
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.product-cart__star{
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  color: rgba(220,220,220,1);
  padding: 0;
  line-height: 1;
}

.product-cart__star.is-on{
  color: rgba(254, 200, 89, 1);
}

/* reviews list */
.product-cart__reviews-list{
  margin-top: 28px;
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.product-cart__review-card{
  border-top: 1px solid rgba(235,235,1) ;
  padding-top: 18px;
}

.product-cart__review-card--reply{
  background: rgba(245,245,245,1);
  border-radius: 12px;
  padding: 16px;
  border-top: none;
}

.product-cart__review-stars{
  color: rgba(254, 200, 89, 1);
  letter-spacing: 2px;
}

.product-cart__review-text{
  margin: 10px 0 14px;
  color: #555;
  line-height: 1.7;
  font-size: 13px;
}

.product-cart__review-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 12px;
}

.product-cart__review-subtitle{
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 6px;
}

.product-cart__review-muted{
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.product-cart__review-footer{
  display: flex;
  gap: 10px;
  align-items: center;
  color: #999;
  font-size: 12px;
}

/* ===== Description bottom ===== */
.product-cart__desc{
  margin-top: 0; /* было 44px */
  max-width: 760px;
}

.product-cart__desc-title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
}

.product-cart__desc-text{
  margin: 0;
  color: #666;
  line-height: 1.9;
  font-size: 13px;
}

.product-cart__tags{
  font-family: "Comfortaa",sans-serif;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
}
.product-cart__title--mobile{
  display: none;
}
/* Chrome, Edge, Safari */
.product-cart__qty-input::-webkit-outer-spin-button,
.product-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.product-cart__qty-input {
  -moz-appearance: textfield;
}
/* ===== BLOG PAGE ===== */

.blog {
  padding: 40px 0 60px;
  background: #fff;
}

.blog__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 28px;
}

/* ===== DESKTOP VERSION: > 768px ===== */
/* по умолчанию делаем десктоп */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* CARD */
.news-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* IMAGE */
.news-card__image-wrap {
  width: 100%;
  aspect-ratio: 290 / 383; /* сохраняем пропорцию твоей картинки */
  overflow: hidden;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* META */
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px 0;
  font-size: 11px;
  color: #8a8a8a;
}

.news-card__meta-separator {
  opacity: 0.6;
}

.news-card__title {
  padding: 8px 16px 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;     /* СКОЛЬКО СТРОК */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 12px;

  display: -webkit-box;
  -webkit-line-clamp: 3;     /* СКОЛЬКО СТРОК */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* LINK */
.news-card__more {
  margin-top: auto;
  padding: 0 16px 14px;
  font-size: 12px;
  color: #9c63d7;
  text-decoration: none;
}

/* PAGINATION */
.blog__pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination__page,
.pagination__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 13px;
}

.pagination__page--active {
  background: #9c63d7;
  color: #fff;
}

.page--blog .blog {
  padding: 40px 0 60px;
  background: #fff;
}

.page--blog .blog__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 28px;
}

.page--blog .blog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* BLOG CARD (isolated) */

.news-card-page {
  width: 100%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card-page__image-wrap {
  width: 100%;
  aspect-ratio: 290 / 383;
  overflow: hidden;
}

.news-card-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-page__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px 0;
  font-size: 11px;
  color: #8a8a8a;
}

.news-card-page__meta-separator {
  opacity: 0.6;
}

.news-card-page__title {
  padding: 8px 16px 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-page__excerpt {
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 12px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-page__more {
  margin-top: auto;
  padding: 0 16px 14px;
  font-size: 12px;
  color: #9c63d7;
  text-decoration: none;
}

/* BLOG PAGINATION */

.page--blog .blog__pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
/* =========================
   BLOG OPEN (isolated)
   ========================= */

   .page--blog-open {
    background: #fff;
  }
  
  .blog-open {
    padding: 40px 0 80px;
  }
  
  .blog-open__container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 80px; /* margin left/right 80px как ты просил */
    box-sizing: border-box;
  }
  
  /* page title (верхняя, маленькая, как на скрине) */
  .blog-open__page-title {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px;
    color: #3a3a3a;
  }
  
  /* HERO */
  .blog-open__hero {
    width: 100%;
    height: 583px;          /* как ты просил */
    border-radius: 20px;    /* как ты просил */
    overflow: hidden;
  }
  
  .blog-open__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* META under image (249x18 по смыслу: одна строка) */
  .blog-open__meta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 18px;
    color: #2f2f2f;
    justify-content: flex-start;
  }
  
  .blog-open__meta-sep {
    opacity: 0.6;
  }
  
  .blog-open__meta-tag {
    color: #9c63d7;
    text-decoration: underline;
  }
  
  /* TEXT BLOCK 1 */
  .blog-open__text {
    margin-top: 24px;
  }
  
  .blog-open__title {
    text-align: center; /* обязательно в центре */
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 18px;
    color: #2a2a2a;
  }
  
  .blog-open__paragraph {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #3a3a3a;
    text-align: left;
  }
  
  /* FEATURE BLOCK (скрин4) */
  .blog-open__feature {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 615px; /* справа 615 */
    gap: 24px;
    align-items: start;
  }
  
  .blog-open__feature-right {
    width: 615px;
    height: 549px; /* как ты просил */
    border-radius: 20px;
    overflow: hidden;
  }
  
  .blog-open__feature-img {
    width: 100%;
    height: 100%;
    margin-left: 15px;
    margin-right: 15px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
  }
  
  .blog-open__feature-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: #2a2a2a;
  }
  
  .blog-open__feature-text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
    color: #3a3a3a;
  }
  
  .blog-open__feature-text:last-child {
    margin-bottom: 0;
  }

/*  CONTACTS PAGE (isolated)
   ========================= */

.page--contacts {
  background: #fff;
}

.contacts {
  padding: 40px 0 0;
}

/* margin left/right: 80px */
.contacts__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}

/* top: 2 blocks */
.contacts__top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 28px;
}

/* BLOCK 1 */
.contacts-info__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  color: #2a2a2a;
}

.contacts-info__rows {
  display: grid;
  gap: 14px;
}

.contacts-info__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
}

.contacts-info__label {
  font-size: 14px;
  font-weight: 600;
  color: #b78be0; /* фиолетовый */
}

.contacts-info__value {
  font-size: 14px;
  line-height: 1.6;
  color: #3a3a3a;
}

.contacts-info__link {
  color: #3a3a3a;
  text-decoration: none;
}

/* BLOCK 2 */
.contacts-callback {
  background: rgba(250, 243, 255, 1);
  border-radius: 18px;
  padding: 22px 24px;
  box-sizing: border-box;
}

.contacts-callback__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.contacts-callback__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.contacts-callback__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
}

.contacts-callback__text {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #2a2a2a;
}

/* form row: name + phone + button */
.contacts-callback__form {
  display: grid;
  grid-template-columns: 195px 195px 195px;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.contacts-callback__input {
  height: 44px;
  border: none;
  outline: none;
  background: #ececec;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  box-sizing: border-box;
}

.contacts-callback__btn {
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #f3aacf;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.contacts-callback__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #7a7a7a;
}

.contacts-callback__note-link {
  color: #b78be0;
  text-decoration: underline;
}

.contacts-map {
  width: calc(100% - 160px); /* 80px слева + 80px справа */
  margin: 20px auto 0;
  padding: 12px; /* 10–15px, как ты просил */
  box-sizing: border-box;
}

.contacts-map__frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  border-radius: 18px;
}
.page--seminars {
  background: #fff;
}

.seminars {
  padding: 40px 0 80px;
}

.seminars__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px; /* margin left/right = 80px */
  box-sizing: border-box;
}

.seminars__title {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 600;
  color: #2a2a2a;
}

/* GRID: никаких фиксированных 620px */
.seminars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

/* CARD: убираем фиксы по размеру */
.seminar-card {
  width: 100%;
  height: auto;
  background: rgba(250, 243, 255, 1);
  border-radius: 18px;
  overflow: visible; /* не режем контент */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* top meta row */
.seminar-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 10px;
  box-sizing: border-box;
  font-size: 13px;
  color: #6f6f6f;
  flex-wrap: wrap; /* чтобы не ломалось */
}

.seminar-card__meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.seminar-card__divider {
  opacity: 0.5;
}

.seminar-card__chip {
  color: #b78be0;
  font-weight: 600;
}

.seminar-card__meta-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.seminar-card__meta-item {
  color: #2f2f2f;
  opacity: 0.9;
}

/* BODY: только 2 колонки (текст | картинка), без "колонки 2-3" */
.seminar-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
  align-items: center;
}

/* если у тебя была средняя колонка - просто скрываем */
.seminar-card__col--mid {
  display: none !important;
}

.seminar-card__col--text {
  min-width: 0;
}

.seminar-card__heading {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.seminar-card__desc {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #3a3a3a;
  max-width: 100%;
}

.seminar-card__speaker-name {
  font-size: 18px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 4px;
}

.seminar-card__speaker-role {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 18px;
}

.seminar-card__btn {
  width: 210px;
  max-width: 100%;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #a58cc6;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* IMAGE: без вылезаний */
.seminar-card__col--image {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.seminar-card__img {
  border: 2px solid rgba(243, 170, 207, 1);
  border-radius: 16px;
  padding: 6px; /* по желанию */
  background: #fff;
}

.page--seminar-open {
  background: #fff;
}

.seminar-open {
  padding: 40px;
}

.seminar-open__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}

/* TOP GALLERY */
.seminar-open__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 18px;
}

.seminar-open__photo {
  width: 400px;
  height: 100%;
  border-radius: 70px;
  object-fit: cover;
  display: block;
}

/* TITLE */
.seminar-open__title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #2a2a2a;
}

/* INFO ROW */
.seminar-open__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(243, 170, 207, 0.22);
  margin-bottom: 18px;
}

.seminar-open__info-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #5b5b5b;
  font-size: 13px;
}

.seminar-open__price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(243, 170, 207, 1);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.seminar-open__price-icon {
  opacity: 0.9;
}

/* CONTENT */
.seminar-open__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

/* LEFT PROGRAM */
.seminar-program__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: #2a2a2a;
  letter-spacing: 0.02em;
}

.seminar-program {
  background: rgba(250, 243, 255, 1);
  border-radius: 18px;
  padding: 18px;
  box-sizing: border-box;
}

.seminar-program__block {
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.seminar-program__time {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(243, 170, 207, 1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 10px;
}

.seminar-program__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #2a2a2a;
  vertical-align: middle;
}

.seminar-program__list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #3a3a3a;
  font-size: 12px;
  line-height: 1.55;
}

.seminar-program__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(243, 170, 207, 1);
  border-radius: 14px;
  padding: 10px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.seminar-program__bar-time {
  white-space: nowrap;
}

.seminar-program__note {
  margin: 10px 6px 0;
  font-size: 12px;
  color: #6a6a6a;
}

/* RIGHT SPEAKER */
.seminar-speaker {
  background: rgba(250, 243, 255, 1);
  border-radius: 18px;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
}

.seminar-speaker__photo-wrap {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 10px;
}

.seminar-speaker__photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 2px solid rgba(243, 170, 207, 1);
  border-radius: 16px;
  box-sizing: border-box;
}

.seminar-speaker__name {
  font-size: 16px;
  font-weight: 800;
  color: #2a2a2a;
  margin-bottom: 4px;
}

.seminar-speaker__role {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 12px;
}

.seminar-speaker__btn {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.seminar-speaker__btn--primary {
  background: #a58cc6;
  color: #fff;
  margin-bottom: 10px;
}

.seminar-speaker__btn--secondary {
  background: rgba(243, 170, 207, 1);
  color: #fff;
}

.page--services {
  background: #fff;
}

/* --------- SECTION 1: cards --------- */
.services-cats {
  padding: 40px 0 30px;
}

.services-cats__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px; /* desktop margin L/R 80 */
  box-sizing: border-box;
}

.services-cats__title {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 600;
  color: #2a2a2a;
}

.services-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: start;
}

/* tile */
.service-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.service-tile__img-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #f6f6f6;
  aspect-ratio: 1 / 1;
}

.service-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-tile__label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #3a3a3a;
  margin-top: 10px;
  line-height: 1.25;
}

/* hover “подпрыгивание” */
.service-tile {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-tile:hover {
  transform: translateY(-6px);
}

.service-tile:active {
  transform: translateY(-2px);
}

/* --------- SECTION 2: price --------- */
.services-price {
  padding: 30px 0 0px;
}

.services-price__wrap {
  display: grid;
  grid-template-columns: 260px 1fr; /* слева компактно, справа растяг */
  column-gap: 50px;
  align-items: start;
}

/* картинка в край, без марджинов */
.services-price__image {
  width: 480px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.services-price__img {
  width: 50%;
  height: 850px;
  object-fit: cover;
  display: block;
}


/* прайс справа с margin-right 80px */
.services-price__panel {
  width: 100%;
  margin: 0;
  padding-right: 80px;
  box-sizing: border-box;
}


.services-price__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 22px;
  color: #2a2a2a;
}

/* таблица */
.price-table {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 1);
}

.price-table__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 1);
}

.price-table__row::after {
  content: "";
  position: absolute;

  /* точка разделения перед ценой */
  right: 120px;              /* равно ширине колонки цены */
  top: 50%;
  transform: translateY(-50%);

  width: 2px;
  height: 22px;              /* фикс высота палки */
  background: rgba(0, 0, 0, 1);
}

.price-table__name {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 1);
  font-family: "Comfortaa", sans-serif;
}

.price-table__name-accent {
  color: rgba(165, 132, 186, 1);
  font-weight: 600;
  font-family: "Comfortaa", sans-serif;
}

.price-table__price {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: #2a2a2a;
  white-space: nowrap;
}

.price-table__section {
  padding: 32px 0 20px;
  font-size: 18px;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  color: rgba(0, 0, 0, 1);
  text-align: center;
  letter-spacing: 5%;
}

.service-open {
  padding: 0;
  margin: 60px 80px 13px 80px;
}

.service-open__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-open__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-open__title {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.service-open__text p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-open__list {
  margin-top: 20px;
  margin-left: 40px;
  padding-left: 18px;
}

.service-open__list li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.service-open__image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.service-open__buttons {
  margin-top: 40px;
  padding: 0px 80px 0px 80px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service-open__btn {
  background: #b08cc6;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  font-family: "Comfortaa", sans-serif;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 16px;
  line-height: 16px;
}

.service-tips__container {
  margin-left: 80px;
  margin-right: 80px;
}

.service-hero {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: start;
}

.service-hero__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-hero__title {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  color: #4a4a4a;
}

.service-hero__tag {
  font-size: 12px;
  color: #d58fb8;
}

.service-hero__text p {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5f5f5f;
}

.service-hero__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: #f2a6c7;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 18px;
  border-radius: 14px;
  width: 330px;
  max-width: 100%;
}

.service-hero__note {
  margin-top: 8px;
  font-size: 11px;
  color: #a0a0a0;
}

.service-hero__img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.service-info {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.service-beforeafter__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.service-beforeafter__img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.service-beforeafter__divider {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
}

.service-beforeafter__caption {
  margin-top: 8px;
  font-size: 11px;
  color: #a0a0a0;
  text-align: center;
}

.service-specs__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.service-specs__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #4a4a4a;
}

.service-specs__tag {
  font-size: 12px;
  color: #d58fb8;
}

.service-specs__list {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #5f5f5f;
}

.service-gallery,
.service-reviews {
  background: #fbfbfb;
  padding: 44px 0;
  margin: 34px 80px 0px 80px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head--center {
  justify-content: center;
}

.section-head__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #4a4a4a;
}

.section-head__tag {
  font-size: 12px;
  color: #d58fb8;
}

.slider {
  position: relative;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 300ms ease;
  will-change: transform;
}

.slider__page {
  flex: 0 0 100%;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  color: #8b8b8b;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.slider__arrow--prev {
  left: -18px;
}

.slider__arrow--next {
  right: -18px;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.slider__dot {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #ead7ef;
  border: 0;
  cursor: pointer;
}

.slider__dot.is-active {
  background: #d58fb8;
}

.service-gallery-new {
  background: #fbfbfb;
  padding: 44px 0;
  margin-top: 34px;
}

.gslider {
  position: relative;
}

.gslider__viewport {
  overflow: hidden;
  width: 100%;
}

.gslider__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 300ms ease;
  will-change: transform;
}

.gslider__page {
  flex: 0 0 100%;
  width: 100%;
}

.gslider__cards {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 18px;
}

.gslider__card {
  display: block;
  flex: 0 0 calc((100% - 36px) / 3);
  border-radius: 16px;
  overflow: hidden;
}

.gslider__card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.gslider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  color: #8b8b8b;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.gslider__arrow--prev {
  left: 0;
}

.gslider__arrow--next {
  right: 0;
}

.gslider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.gslider__dot {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #ead7ef;
  border: 0;
  cursor: pointer;
}

.gslider__dot.is-active {
  background: #d58fb8;
}

.reviews {
  margin-top: 10px;
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  transition: transform 300ms ease;
  will-change: transform;
}

.reviews__page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  align-items: start;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.review-card__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.review-card__ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 44px;
  border: 2px solid #d1a1dd;
}

.review-card__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card__text {
  font-size: 12px;
  line-height: 1.6;
  color: #6a6a6a;
}

.review-card__name {
  margin-top: 8px;
  font-size: 12px;
  color: #b07cc6;
  font-weight: 600;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.reviews__dot {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #ead7ef;
  border: 0;
  cursor: pointer;
}

.reviews__dot.is-active {
  background: #d58fb8;
}

/* ===== Modal base ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  width: min(596px, calc(100% - 32px));
  margin: 40px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.2);
  padding: 26px 26px 22px;
  outline: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: rgba(20,20,20,0.6);
}

.modal__close:hover {
  color: rgba(20,20,20,0.9);
}

/* ===== Tabs ===== */
.auth-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 6px;
  margin-bottom: 18px;
}

.auth-tabs__btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  color: rgba(20,20,20,0.35);
  padding: 8px 10px;
  position: relative;
}

.auth-tabs__btn[aria-selected="true"] {
  color: rgba(20,20,20,0.95);
}

.auth-tabs__btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 34px;
  height: 2px;
  background: #9b7bb5;
  border-radius: 2px;
}

/* ===== Title ===== */
.auth-title {
  text-align: center;
  margin: 8px 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: rgba(20,20,20,0.95);
}

.auth-subtitle {
  text-align: center;
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(20,20,20,0.75);
}

/* ===== Form fields ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

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

.field__input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(155, 123, 181, 0.55);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.field__input::placeholder {
  color: rgba(20,20,20,0.28);
}

.field__input:focus {
  border-color: rgba(155, 123, 181, 1);
  box-shadow: 0 0 0 3px rgba(155, 123, 181, 0.15);
}

/* ===== Upload ===== */
.auth-hint {
  margin: 8px 0 2px;
  font-size: 12px;
  color: rgba(20,20,20,0.75);
  text-align: center;
}

.upload {
  display: block;
}

.upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload__box {
  display: block;
  padding: 12px 14px;
  border: 1px dashed rgba(155, 123, 181, 0.6);
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(20,20,20,0.55);
  cursor: pointer;
  user-select: none;
}

.upload__box.is-dragover {
  border-color: rgba(155, 123, 181, 1);
  background: rgba(155, 123, 181, 0.08);
  color: rgba(20,20,20,0.75);
}

/* ===== Button ===== */
.btn {
  height: 44px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.btn--primary {
  margin-top: 4px;
  background: #9b7bb5;
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.97);
}

/* ===== Bottom links ===== */
.auth-bottom {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(20,20,20,0.55);
}

.auth-link {
  color: rgba(155, 123, 181, 1);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.cart-page {
  padding: 26px 0 80px;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.cart-container {
  max-width: 1200px;
}

.cart-crumbs {
  font-size: 12px;
  color: rgba(17,17,17,0.5);
  margin-bottom: 16px;
}

.cart-crumbs__link {
  color: rgba(17,17,17,0.5);
  text-decoration: none;
}

.cart-crumbs__link:hover { text-decoration: underline; }

.cart-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-title {
  font-size: 34px;
  font-weight: 500;
  color: rgba(17,17,17,0.8);
  margin: 0;
}

.cart-title__badge {
  font-size: 14px;
  color: rgba(155, 123, 181, 1);
}

/* layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: start;
}

/* left head row */
.cart-head {
  display: grid;
  grid-template-columns: 1fr 170px 140px 90px;
  gap: 14px;
  padding: 10px 0;
  font-size: 12px;
  color: rgba(17,17,17,0.45);
  border-bottom: 1px solid rgba(17,17,17,0.08);
}

.cart-list {
  display: flex;
  flex-direction: column;
}

/* cart item row */
.cart-item {
  display: grid;
  grid-template-columns: 1fr 170px 140px 90px;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17,17,17,0.08);
}

.cart-item__product {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.cart-item__img {
  width: 54px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 auto;
}

.cart-item__meta { min-width: 0; }

.cart-item__name {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(17,17,17,0.85);
}

.cart-item__sub {
  margin: 0 0 6px;
  font-size: 11px;
  color: rgba(17,17,17,0.45);
}

.cart-item__stock {
  margin: 0;
  font-size: 11px;
  color: rgba(46, 170, 126, 1);
}

.cart-item__price {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cart-item__price-val {
  font-size: 18px;
  font-weight: 500;
  color: rgba(17,17,17,0.85);
}

/* qty */
.qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(155, 123, 181, 0.08);
  border-radius: 8px;
  padding: 6px;
}

.qty__btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  color: rgba(17,17,17,0.75);
  font-size: 16px;
  line-height: 1;
}

.qty__btn:hover { filter: brightness(0.98); }

.qty__input {
  width: 44px;
  height: 28px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 12px;
  outline: none;
  color: rgba(17,17,17,0.85);
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* actions */
.cart-item__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
  font-size: 18px;
  color: rgba(155, 123, 181, 1);
}

.icon-btn--trash { color: rgba(255, 84, 138, 1); }

.cart-continue {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(17,17,17,0.75);
  text-decoration: none;
}

.cart-continue:hover { text-decoration: underline; }

/* summary */
.cart-summary {
  background: #fff;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.cart-summary__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(155, 123, 181, 1);
}

.cart-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: rgba(17,17,17,0.75);
}

.sum-row__value--zero { color: rgba(17,17,17,0.35); }

.sum-row--total {
  padding-top: 10px;
  border-top: 1px solid rgba(17,17,17,0.08);
  font-size: 12px;
}

.sum-row--total .sum-row__value {
  font-weight: 600;
  color: rgba(17,17,17,0.85);
}

.cart-summary__btn {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(155, 123, 181, 1);
}

.cart-summary__btn:hover { 
  filter: brightness(0.97); 
}

/*
  ACCOUNT PAGE
*/
.account-page{
  padding: 28px 0 80px;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.account-container{
  max-width: 1200px;
}

.account-title{
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 600;
  color: rgba(17,17,17,0.7);
}

.account-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
}

/* left nav */
.account-nav__card{
  background: #fff;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.account-nav__item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  color: rgba(17,17,17,0.55);
  text-decoration: none;
  font-size: 13px;
}

.account-nav__ico{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(155,123,181,1);
  flex: 0 0 auto;
}

.account-nav__item--active{
  color: rgba(155,123,181,1);
}

.account-nav__item:hover{
  background: rgba(155,123,181,0.08);
}

/* content */
.account-content{
  padding-top: 6px;
}

.account-section-title{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(17,17,17,0.65);
}

.account-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  max-width: 640px;
}

.acc-input{
  width: 100%;
  height: 36px;
  padding: 10px 14px;
  border: 1px solid rgba(155,123,181,0.75);
  border-radius: 10px;
  outline: none;
  font-size: 12px;
  background: #fff;
  color: rgba(17,17,17,0.75);
}

.acc-input::placeholder{
  color: rgba(17,17,17,0.28);
}

.acc-input:focus{
  border-color: rgba(155,123,181,1);
  box-shadow: 0 0 0 3px rgba(155,123,181,0.15);
}

.account-password-row{
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 640px;
}

.acc-edit-pass{
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(255,84,138,1);
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.acc-edit-pass:hover{
  background: rgba(255,84,138,0.08);
}

.account-divider{
  max-width: 640px;
  height: 1px;
  background: rgba(17,17,17,0.08);
  margin: 10px 0 18px;
}

.acc-save{
  width: 180px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(155,123,181,1);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
}

.acc-save:hover{ filter: brightness(0.97); }

/*
  MOBILE trigger
*/
.account-mobile-trigger{
  display: none;
  width: 100%;
  border: 1px solid rgba(155,123,181,0.75);
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px;
  margin: 0 0 14px;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.account-mobile-trigger__left{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.account-mobile-trigger__icon{
  width: 22px;
  height: 22px;
  color: rgba(155,123,181,1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-mobile-trigger__text{
  color: rgba(155,123,181,1);
  font-size: 16px;
  font-weight: 500;
}

.account-mobile-trigger__chev{
  float: right;
  color: rgba(17,17,17,0.6);
}

/*
  MODALS base 
*/
.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.modal.is-open{ display: block; }

.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.45);
  backdrop-filter: blur(2px);
}

/*
   Account menu modal 
*/
.acc-menu-dialog{
  position: relative;
  width: min(520px, calc(100% - 36px));
  margin: 110px auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.2);
  padding: 14px;
  outline: none;
}

.acc-menu-header{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 10px 14px;
  border-bottom: 1px solid rgba(17,17,17,0.08);
}

.acc-menu-header__left{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(155,123,181,1);
  font-size: 18px;
  font-weight: 500;
}

.acc-menu-header__icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(155,123,181,1);
}

.acc-menu-header__chev{
  color: rgba(17,17,17,0.6);
}

.acc-menu-list{
  padding: 10px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acc-menu-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(17,17,17,0.55);
  font-size: 16px;
}

.acc-menu-item__ico{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(155,123,181,1);
  flex: 0 0 auto;
}

.acc-menu-item--active{
  color: rgba(155,123,181,1);
}

.acc-menu-item:hover{
  background: rgba(155,123,181,0.08);
}

/* 
Password modal
*/
.acc-pass-dialog{
  position: relative;
  width: min(620px, calc(100% - 36px));
  margin: 80px auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.2);
  padding: 22px;
  outline: none;
}

.acc-pass-title{
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 600;
  color: rgba(17,17,17,0.7);
}

.acc-input--big{
  height: 56px;
  border-radius: 16px;
  font-size: 18px;
  padding: 16px 18px;
  border-color: rgba(155,123,181,0.8);
}

.acc-pass-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc-pass-hint{
  margin: 0;
  font-size: 18px;
  color: rgba(17,17,17,0.6);
}

.acc-pass-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.acc-save--wide{
  width: 280px;
  height: 64px;
  border-radius: 16px;
  font-size: 18px;
}

.acc-cancel{
  height: 64px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,0.12);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  color: rgba(17,17,17,0.65);
}

.acc-cancel:hover{
  background: rgba(17,17,17,0.04);
}

/* DESKTOP inline password block */
.acc-pass-inline{
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.acc-pass-hint-inline{
  margin: 0;
  font-size: 11px;
  color: rgba(17,17,17,0.45);
}

.acc-tab{ display:none; }
.acc-tab.is-active{ display:block; }

.acc-wish-title{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(17,17,17,0.65);
}

.acc-wish-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.acc-wish-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
  min-height: 240px;
}

.acc-wish-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,84,138,0.12);
  color: rgba(255,84,138,1);
}

.acc-wish-like{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
  color: rgba(155,123,181,1);
  font-size: 18px;
}

.acc-wish-like:hover{
  background: rgba(155,123,181,0.08);
}

.acc-wish-imgwrap{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-top: 10px;
}

.acc-wish-img{
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.acc-wish-name{
  margin: 10px 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(17,17,17,0.85);
  min-height: 32px;
}

.acc-wish-price-row{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.acc-wish-price{
  font-size: 12px;
  font-weight: 600;
  color: rgba(17,17,17,0.75);
}

.acc-wish-stock{
  font-size: 11px;
  color: rgba(46,170,126,1);
  margin-bottom: 10px;
}

.acc-wish-actions{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
}

.acc-wish-cart{
  width: 44px;
  height: 36px;
  border: 1px solid rgba(155,123,181,0.35);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: rgba(155,123,181,1);
}

.acc-wish-buy{
  height: 36px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(155,123,181,1);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
}

.acc-wish-buy:hover{ filter: brightness(0.97); }

.acc-orders { width: 100%; }

.acc-orders__filters{
  display:flex;
  align-items:center;
  gap:28px;
  padding:8px 0 18px;
  border-bottom:1px solid rgba(0,0,0,.08);
  margin-bottom:18px;
  flex-wrap:wrap;
}

.acc-orders__label{
  font-family:"Montserrat", sans-serif;
  font-weight:500;
  font-size:18px;
  color:#111;
}

.acc-orders__filter{
  border:0;
  background:transparent;
  cursor:pointer;
  font-family:"Montserrat", sans-serif;
  font-weight:500;
  font-size:18px;
  color:rgba(0,0,0,.28);
  padding:6px 0;
}

.acc-orders__filter.is-active{ color:#111; }

.acc-orders__list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.acc-order{
  background:#fff;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
  overflow:hidden;
}

.acc-order__head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 18px;
  background:transparent;
  border:0;
  cursor:pointer;
  text-align:left;
}

.acc-order__left{ flex:1; min-width:0; }

.acc-order__top{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  font-family:"Montserrat", sans-serif;
}

.acc-order__num{ font-weight:600; color:#111; }
.acc-order__date{ color: rgba(0,0,0,.55); font-weight:500; }
.acc-order__sep{ color: rgba(0,0,0,.22); }

.acc-order__status{
  font-weight:600;
  font-size:13px;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(138,106,214,.10);
  color:#8a6ad6;
}

.acc-order__status--canceled{
  background:rgba(224,91,91,.10);
  color:#e05b5b;
}
.acc-order__status--delivered{
  background:rgba(53,169,107,.12);
  color:#35a96b;
}

.acc-order__thumbs{
  display:flex;
  gap:12px;
  margin-top:12px;
}

.acc-order__thumb{
  width:78px;
  height:58px;
  object-fit:cover;
  border-radius:12px;
  background:#f4f4f6;
}

.acc-order__right{
  display:flex;
  align-items:center;
  gap:18px;
  flex-shrink:0;
}

.acc-order__sum{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  font-family:"Montserrat", sans-serif;
}

.acc-order__sum-label{
  font-size:12px;
  color: rgba(0,0,0,.45);
}

.acc-order__sum-val{
  font-weight:800;
  font-size:16px;
  color:#111;
}

.acc-order__chev{
  width:34px;
  height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.03);
  color: rgba(0,0,0,.55);
  font-size:18px;
  line-height:1;
}

.acc-order__body{
  padding:18px 18px 18px;
  border-top:1px solid rgba(0,0,0,.06);
  background:#fff;
}

.acc-order__info{
  display:grid;
  grid-template-columns: 1fr 280px;
  gap:22px;
  margin-bottom:18px;
}

.acc-order__info-row{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap:16px;
  padding:8px 0;
  border-bottom:1px solid rgba(0,0,0,.05);
  font-family:"Montserrat", sans-serif;
  font-size:13px;
  color: rgba(0,0,0,.65);
}

.acc-order__info-row b{
  color:#111;
  font-weight:600;
}

.acc-order__info-col--sum{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
}

.acc-order__sum-big{
  width:100%;
  padding-top:6px;
  font-family:"Montserrat", sans-serif;
  text-align:right;
  color:#111;
}

.acc-order__sum-big span{
  display:block;
  font-size:12px;
  color: rgba(0,0,0,.45);
  margin-bottom:6px;
}

.acc-order__sum-big b{
  font-size:18px;
  font-weight:900;
}

.acc-order__items{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.acc-order-item{
  display:grid;
  grid-template-columns: 110px 1fr 220px;
  gap:16px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid rgba(0,0,0,.05);
}

.acc-order-item:last-child{ border-bottom:0; padding-bottom:0; }

.acc-order-item__img{
  width:110px;
  height:82px;
  border-radius:14px;
  object-fit:cover;
  background:#f4f4f6;
}

.acc-order-item__name{
  display:inline-block;
  font-family:"Montserrat", sans-serif;
  font-weight:600;
  font-size:13px;
  color:#8a6ad6;
  text-decoration:underline;
  line-height:1.3;
}

.acc-order-item__small{
  margin-top:8px;
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  font-family:"Montserrat", sans-serif;
  font-size:12px;
  color: rgba(0,0,0,.55);
}

.acc-order-item__right{
  text-align:right;
  font-family:"Montserrat", sans-serif;
  color:#111;
}

.acc-order-item__qty{
  font-size:12px;
  color: rgba(0,0,0,.55);
  margin-bottom:6px;
}

.acc-order-item__price b{
  font-weight:900;
  font-size:14px;
}

.acc-address{ width:100%; }

.acc-address__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.acc-address__title{
  font-family:"Montserrat", sans-serif;
  font-weight:600;
  color:#111;
  margin:0;
}

.acc-address__list{
  border-top:1px solid rgba(0,0,0,.06);
}

.acc-address__row{
  display:grid;
  grid-template-columns: 140px 1fr 40px;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
  align-items:start;
}

.acc-address__label{
  color:rgba(0,0,0,.45);
  font-family:"Montserrat", sans-serif;
  font-size:13px;
}

.acc-address__value{
  font-family:"Montserrat", sans-serif;
  font-size:13px;
  color:#111;
  line-height:1.4;
}

.acc-address__edit{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(138,106,214,.35);
  background:rgba(138,106,214,.08);
  color:#8a6ad6;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.acc-address-form{
  padding-top:16px;
}

.acc-address-form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px 22px;
}

.acc-afield{ display:flex; flex-direction:column; gap:8px; }

.acc-afield__label{
  font-family:"Montserrat", sans-serif;
  font-size:12px;
  color:#111;
}

.acc-aselect,
.acc-ainput{
  width:100%;
  height:44px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  padding:0 14px;
  font-family:"Montserrat", sans-serif;
  font-size:13px;
  color:#111;
  outline:none;
}

.acc-address-form__row3{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:18px 22px;
}

.acc-address-form__actions{
  grid-column:1 / -1;
  display:flex;
  gap:18px;
  align-items:center;
  padding-top:8px;
}

/* АДАПТИВ: БРЕЙКПОИНТЫ*/
@media (max-width: 1440px) {
  .hero-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__title {
    font-size: 36px;
  }
    /* ==== PROMO TWO ==== */
    .promo-two__wrap {
      transform: scale(0.95);
    }
    .benefits__content {
      padding: 40px 48px;
      column-gap: 40px;
    }
    .hair__layout {
      grid-template-columns: 270px minmax(0, 1fr);
    }
  
    .hair-banner {
      width: 270px;
    }
  
    .hair-products__list {
      grid-template-columns: repeat(3, 1fr); /* пусть сами чуть сжимаются */
    }
  
    .hair-products__list .product-card {
      width: 100%;
    }
  }

  @media (min-width: 1171px) {
    
    .product-cart__bottom-right {
      display: block;
    }
  
    .product-cart__tab--desc {
      display: none;
    }
  
    .product-cart__panel--desc {
      display: none !important;
    }
  }
  

@media (max-width: 1170px) {
  .hero-left {
    flex: 0 0 68%;       
  }

  .hero-promo {
    flex: 0 0 32%;       
  }

  .hero__content {
    padding-left: 24px;
  }

  .hero__title {
    font-size: 32px;
  }

 /* ==== PROMO TWO ==== */
 .promo-two {
  padding-top: 40px;
  padding-bottom: 40px;
}

.promo-two__wrap {
  flex-direction: column;  
  max-width: 360px;        
  width: 100%;
  max-width: 1280px; 
  gap: 0;
}

/* верхняя картинка */
.promo-two__image {
  width: 100%;
  height: 220px;           
  border-radius: 12px 12px 0 0;
  background-size: cover;
  background-position: center;
}

/* нижний фиолетовый блок */
.promo-two__card {
  width: 100%;
  height: auto;
  margin-right: 0;
  border-radius: 0 0 12px 12px;  /* снизу скругляем, сверху ровная грань */
  padding: 28px 20px;
}

.promo-two__discount {
  font-size: 40px;
  height: auto;
  width: auto;
  margin-bottom: 12px;
}

.promo-two__text {
  width: 100%;
  font-size: 16px;
  margin-bottom: 20px;
}

.promo-two__btn {
  padding: 10px 24px;
  font-size: 14px;
}

.benefits__image {
  flex: 0 0 30%;
  min-width: 260px;
}

.benefits__title {
  font-size: 15px;
}

.benefits__desc {
  font-size: 13px;
}

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

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

.product-cart__bottom {
  grid-template-columns: 1fr;
  gap: 32px;
}

.product-cart__bottom-right {
  display: none;
}

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

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

.product-cart__desc {
  margin-top: 0;
  max-width: 100%;
}

.product-cart__desc-title{
  display: none;
}

.product-cart__desc--in-tabs {
  max-width: 100%;
}

.product-cart__tab--desc {
  display: inline-flex;
}

.product-cart__panel--desc {
  display: none;
}
.product-cart__title{
  display: none;
}
.product-cart__title--mobile{
  display: inline;
}


.product-cart__top{
  display: flex;
  flex-direction: column;
}

.product-cart__title{
  order: 1;
}

.product-cart__gallery{
  order: 2;
}

.product-cart__info{
  order: 3;
  width: 100%;
}

}

@media (max-width: 997px) {
  /* HERO + PROMO */
  .hero-section {
    max-width: 100%;
    padding-top: 24px;
    padding-bottom: 40px;
    padding-left: 16px;
    padding-right: 16px;

    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-left,
  .hero-promo {
    flex: 0 0 auto;
    width: 100%;
  }

  .hero-wrap,
  .hero-promo {
    width: 100%;
    height: auto;
  }

  .hero-slider {
    height: auto;
    min-height: 380px;
  }

  .hero__inner {
    justify-content: center;
    text-align: center;
  }

  .hero__content {
    max-width: 90%;
    padding-left: 0;
    padding-right: 0;
  }

  .hero__slider-dots {
    width: 100%;
    max-width: 500px;
  }

  .hero-promo__content {
    left: 24px;
    bottom: 24px;
  }

  .hero-promo__title {
    font-size: 28px;
  }


.benefits {
  flex-direction: column;
}

.benefits__image {
  width: 100%;
  min-height: 220px;
}

.benefits__content {
  padding: 32px 20px 40px;
  grid-template-columns: 1fr; /* 4 пункта в одну колонку */
  row-gap: 24px;
}

.benefits__item {
  gap: 12px;
}

.hair__layout {
  display: block;
}

.hair {
  padding-left: 35px;
  padding-right: 35px;
}

.hair .container {
  max-width: none;
  padding: 0;
}

.hair__top {
  display: none;            /* заголовок и ссылка убираем, как в макете */
}


.hair-products__list {
  display: none;            /* карточки только на десктопе */
}

.hair-banner {
  width: 100%;
    height: 100%;
    margin: 0 auto;          /* центрируем внутри hair с паддингами 35px */
    max-width: 100%;         /* на совсем узких экранах не вылезет */
    border-radius: 24px;
    overflow: hidden;
}
.hair-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* на мобиле лучше красиво закрыть всё, чем белые поля */
}

.hair-banner__content {
  inset: 32px;              /* чуть больше отступ рамки на фулл-экране */

}
.subscribe__inner {
  padding: 28px 20px 40px;
  border-radius: 24px;
}

.subscribe__content {
  max-width: 100%;
}

.subscribe__title {
  font-size: 18px;
}

.subscribe__form {
  flex-direction: column;
  align-items: stretch;
}

.subscribe__field,
.subscribe__input {
  width: 100%;
}

.subscribe__button {
  width: 100%;
  justify-content: center;
}

.subscribe__image {
  bottom: -30px;
}
.subscribe__image img {
  display: block;
  width: 220px;        /* ширина баночки/флаконов */
  height: auto;        /* сохраняем пропорции */
}

.subscribe__image--left {
  left: -10px;
  transform: scale(0.8);
  transform-origin: left bottom;
}

.subscribe__image--right {
  right: -10px;
  transform: scale(0.8);
  transform-origin: right bottom;
}
.catalog-row {
  flex-direction: column;    /* ставим один под другим */
  align-items: center;
  gap: 16px;
  margin: 0;
}

.catalog-card {
  width: 260px;
  height: 160px;
  border-radius: 12px;
  background-size: cover;
  background-position: left center;
}

.catalog-card__content {
  padding: 18px 16px;
  align-items: center;
  justify-content: center;
}

.catalog-card__title {
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.catalog-card__btn {
  padding: 8px 20px;
  font-size: 13px;
  margin: 0 auto;
}
.contacts__container {
  padding: 0 24px; /* НЕ 80px */
}

.contacts__top {
  grid-template-columns: 1fr;
  gap: 24px;
}

.contacts-info__row {
  grid-template-columns: 140px 1fr;
}

.contacts-map {
  width: calc(100% - 48px);
  padding: 12px;
}

.services-cats__container {
  padding: 0 10px;
}

/* секция 1: карточки вертикально */
.services-cats__grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-tile__img-wrap {
  aspect-ratio: 1 / 1; /* как в скрине */
  border-radius: 16px;
}

.service-tile__label {
  margin-top: 8px;
}

.services-price__wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-price__panel {
  order: 1;
  width: 100%;
  padding: 10px 10px;
  margin: 0;
  box-sizing: border-box;
}

.services-price__image {
  order: 2;
  width: 100%;
  height: 136px;
  margin: 0;
  padding: 0;
  overflow: hidden;

  position: relative; /* важно для absolute у img */
}

/* 2) крутим ТОЛЬКО картинку, но даём ей правильные размеры */
.services-price__img {
  position: absolute;
  top: 50%;
  left: 50%;

  /* до поворота: 136px × 100vw, после поворота станет 100vw × 136px */
  width: 200px;
  height: 100vw;

  object-fit: cover;
  display: block;

  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

/* 3) заголовок */
.services-price__title {
  font-size: 24px;
  margin: 20px 0 16px;
  text-align: center;
}

/* 4) таблица во всю ширину */
.price-table {
  width: 100%;
}

.price-table__row {
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
}

.price-table__name {
  font-size: 13px;
  line-height: 1.45;
}

.price-table__price {
  font-size: 13px;
  font-weight: 600;
}

.service-open {
  margin: 40px 10px 0px 10px
}

.service-open__container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.service-open__top {
  display: contents;
}

.service-open__content {
  order: 1;
}

.service-open__buttons {
  order: 2;
  padding: 0px
  ;
}

.service-open__image {
  order: 3;
  border-radius: 0%;
}


.service-hero {
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-hero__title {
  font-size: 22px;
}

.service-hero__media {
  order: 2;
}

.service-info {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.service-gallery,
.service-reviews {
  padding: 34px 0;
}

.slider__arrow--prev {
  left: -8px;
}

.slider__arrow--next {
  right: -8px;
}

.service-gallery-new {
  padding: 34px 0;
}

.gslider__cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gslider__card {
  flex: unset;
}

.gslider__arrow--prev {
  left: -6px;
}

.gslider__arrow--next {
  right: -6px;
}

.reviews__page {
  grid-template-columns: 1fr;
}

}
/* 4) совсем узкие (телефоны) */
@media (max-width: 768px) {
  
  .header-top__inner {
    padding: 12px 0;
  }

  /* Hide lang switch on mobile */
  .lang-switch {
    display: none;
  }

  /* Hide desktop centered search */
  .header-search--desktop {
    display: none;
  }

  /* Show pink bar with burger + search */
  .header-pinkbar {
    display: block;
  }

  .header-search--mobile {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.47); /* твой цвет */
    padding: 0 8px 0 16px;
  }

  /* Burger location: only in pink bar */
  .header-burger--desktop {
    display: none;
  }
  .header-burger--mobile {
    display: inline-flex;
  }

  /* Nav: hidden by default on mobile */
  .header-nav {
    display: none;
  }

  /* If menu opened */
  .site-header.is-menu-open .header-nav {
    display: block;
  }

  .header-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
  }

  .header-nav__link {
    display: block;
    padding: 12px 16px;
  }

  .header-nav__link:active {
    opacity: 0.9;
  }
  
  .hero__title {
    font-size: 24px;
  }

  .hero__content {
    padding-left: 0;
    padding-right: 0;
  }

  /* ==== PROMO TWO ==== */
  .promo-two__wrap {
    display: flex;
    gap: 40px;
    width: 100%;
    height: 100%;
    transform-origin: top center;
  }
  

  .promo-two__discount {
    font-size: 30px;
  }

  .promo-two__text {
    font-size: 14px;
  }

  .promo-two__btn {
    font-size: 14px;
    padding: 10px 22px;
  }

  .about__title {
    font-size: 20px;
  }

  .about__paragraph {
    font-size: 12px;
  }
  .about {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* контейнер превращаем в колонку */
  .about__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* "распаковываем" .about__text, чтобы его дети стали
     как бы прямыми элементами .about__inner */
  .about__text {
    flex: none;
    display: contents;
  }

  /* порядок элементов на мобиле:

     1 — заголовок
     2 — верхний текст
     3 — картинка
     4 — нижний текст
  */

  .about__title {
    order: 1;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .about__text-top {
    order: 2;
  }

  .about__image-wrap {
    order: 3;
    width: 100%;
    margin: 0px 0;
  }

  .about__image {
    width: 100%;
    max-width: none;
    border-radius: 300px 0px 0 0; /* можешь подкрутить, если нужно другое скругление */
    object-fit: cover;
  }

  .about__text-bottom {
    order: 4;
    margin-top: 8px;
  }

  .about__paragraph {
    font-size: 13px;
    line-height: 1.6;
  }

  .benefits__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .benefits__title {
    font-size: 14px;
  }

  .benefits__desc {
    font-size: 12px;
  }
  .hair-banner__sale {
    font-size: 20px;
  }

  .hair-banner__btn {
    padding: 8px 24px;
    font-size: 13px;
  }

  .promo-section {
    height: 1107px;
    flex-direction: column;
  }
  
  .promo-item {
    width: 100%;
    height: 369px;
  }
  
  .promo-title {
    bottom: 15px;
    left: 15px;
    font-size: 16px;
  }
  
  .faq-section {
    height: 625px;            /* твои цифры для мобилки */
  }
  
  .faq-inner {
  max-width: 340px;
  margin: 0 auto;
}

.faq-title-main {
  font-size: 20px;
  margin-bottom: 12px;
}

.faq-accordion {
  gap: 16px;
}

.faq-item {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(34, 35, 58, 0.16);
}

.faq-question {
  padding: 14px 16px;
  font-size: 14px;
  min-height: 70px;
}

.faq-answer {
  padding: 0 16px;
}

.faq-item.open .faq-answer {
  padding-top: 8px;
  padding-bottom: 14px;
}

/* КАРТИНКИ В МОБИЛЕ: ПРИЖИМАЕМ К КРАЯМ, КАК В МАКЕТЕ */

.faq-photos--left {
  display: none;
}

.faq-photo--left-top {
  margin-bottom: 20px;
}

.faq-photos--right {
  right: -40px;
  top: 0;
  width: 190px;
}

.faq-photo--right-top {
  margin-bottom: 40px;
}

.wisteria-news {
  height: auto;                 /* чтобы не было обрезаний */
  padding-top: 24px;
  padding-bottom: 24px;
}
.catalog-cards {
  flex-direction: column;
  gap: 20px;
}

.catalog-card {
  width: 100%;
  height: 500px;   /* делаем выше */
  border-radius: 16px;
  background-size: cover;
  padding: 20px;
  position: relative;
}

.catalog-card__content {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: auto;
  text-align: right;        /* аккуратное расположение текста */
  padding: 0;
}

.catalog-card__title {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 10px;
  max-width: 160px;         /* чтобы текст красиво переносился */
}

.catalog-card__btn {
  font-size: 14px;
  padding: 8px 16px;
}

.wisteria-news .container {
  max-width: 340px;
}

.wisteria-news__top {
  margin-bottom: 16px;
}

.wisteria-news__list {
  display: block;
}

.news-card {
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
}

.news-card__image-wrap {
  width: 100%;
  height: 270px;
}

/* показываем только первую карточку */
.news-card:nth-child(n + 2) {
  display: none;
}

.news-card__excerpt {
  margin-bottom: 8px;
}

.testimonial {
  padding: 24px 0;
}

.testimonial .container {
  max-width: 340px;
  padding: 0 16px;
}

.testimonial__inner {
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px;
  gap: 18px;
}

.testimonial__product {
  width: 100%;
  justify-content: center;
}

.testimonial__product-img {
  max-width: 220px;
}

.testimonial__text-block {
  max-width: 100%;
}

.testimonial__text {
  font-size: 13px;
}

.testimonial__author {
  font-size: 13px;
}

.testimonial-arrow--prev {
  left: -4px;
}

.testimonial-arrow--next {
  right: -4px;
}

.footer-instagram {
  background-color:#000;
  padding: 24px 0 12px;
}

.footer-instagram__container {
  position: relative;
}

.footer-instagram__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.footer-instagram__list::-webkit-scrollbar {
  height: 4px;
}

.footer-instagram__list::-webkit-scrollbar-track {
  background: transparent;
}

.footer-instagram__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
}

.footer-instagram__item {
  flex: 0 0 190px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-color: #f3f3f3;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-instagram__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.footer-instagram__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-instagram__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.footer-instagram__item:hover::after {
  opacity: 1;
}

/* Серый бейдж с надписью Instagram по центру, как на макете */

.footer-instagram__label {
  position: absolute;
  width: 226px;
  height: 56px;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 20px 22px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 16px;
  font-family: "Comfortaa",sans-serif;
  text-align: center;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* ================== ФУТЕР: ВЕРХНЯЯ ЧАСТЬ ================== */

.site-footer {
  background-color: #000000;
  color: #ffffff;
}

.site-footer__top {
  display: flex;
  padding: 32px 16px 28px;
  gap: 40px;
  align-items: flex-start;
}

/* Колонки футера */

.site-footer__col {
  flex: 1 1 0;
}

.site-footer__col--logo {
  max-width: 260px;
}

.site-footer__col--account {
  max-width: 260px;
}

/* Лого */

.footer-logo__img {
  width: 160px;
  height: auto;
  margin-bottom: 16px;
}

.site-footer__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Заголовки и меню */

.footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 10px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 4px;
}

.footer-menu a {
  font-size: 13px;
  color: #f0f0f0;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-menu a:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* Соцсети */

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.footer-social__item {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.footer-social__item:hover {
  background-color: #ffffff;
  color: #000000;
  opacity: 1;
}

/* Платёжные кнопки */

.footer-payments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-payments__btn {
  border-radius: 8px;
  padding: 8px 14px;
  background-color: #ffffff;
  color: #000000;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  min-width: 120px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-payments__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 255, 255, 0.18);
}

.footer-payments__small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-payments__big {
  font-size: 14px;
  font-weight: 600;
}

/* ================== ФУТЕР: НИЖНЯЯ ЧАСТЬ ================== */

.site-footer__bottom {
  border-top: 1px solid #262626;
  padding: 10px 0 14px;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #b3b3b3;
}

.site-footer__privacy {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__privacy:hover {
  color: #ffffff;
}

.site-footer__copy {
  white-space: nowrap;
}

  .container {
      padding: 0 12px;
  }

  .footer-instagram {
      padding-top: 18px;
      padding-bottom: 8px;
  }

  .footer-instagram__label {
    position: absolute;
    width: 226px;
    height: 56px;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    z-index: 2;
    padding: 8px 22px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    border: 1px;
    border-color: rgb(221, 221, 221, 1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  }

  .footer-instagram__item {
    flex: 0 0 auto;          
    width: 260px;
    height: 261px;
  
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-color: #f3f3f3;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .footer-instagram__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;         
  }
  
  .site-footer__top {
      flex-direction: column;
      padding-top: 24px;
      padding-bottom: 20px;
      gap: 22px;
  }

  .site-footer__col--logo,
  .site-footer__col,
  .site-footer__col--account {
      max-width: 100%;
  }

  .site-footer__col--logo {
      text-align: left;
  }

  .footer-logo__img {
      margin-bottom: 10px;
  }

  .site-footer__text {
      max-width: 280px;
  }

  .footer-title {
      margin-bottom: 6px;
  }

  .footer-menu li + li {
      margin-top: 3px;
  }

  .footer-social {
      margin-top: 16px;
      margin-bottom: 16px;
  }

  .footer-payments {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .pay-img-btn {
    width: 58px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    border: none;
    padding: 0;
    background: #fff;
}

.pay-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}


  .site-footer__bottom-inner {
      flex-direction: column;
      align-items: flex-start;
      font-size: 11px;
  }

  .comfort {
    padding: 40px 0;
  }

  .comfort__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .comfort__text {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .goals {
    padding: 40px 0;
  }

  .goals__inner {
    flex-direction: column;     
    gap: 24px;
  }

  .goals__col--image-left,
  .goals__col--content,
  .goals__col--image-right {
    flex: none;
    width: 100%;                
  }

  .goals__image {
    width: 100%;
    border-radius: 0;           
  }

  .goals__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .goals__list {
    gap: 14px;
  }

  .goals__text {
    font-size: 13px;
  }
  .recent-products__title {
    font-size: 22px;
  }

  .page-products__layout{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .filters--desktop{
    display:none; 
  }

  .products-grid__filters-btn{
    display:inline-flex;
  }

  .products-grid__list{
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 колонки на мобилке */
    gap: 14px;
  }

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

  .recent-products__title{
    font-size: 22px;
  }

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

  .product-cart__gallery{
    width: 100%;
    height: auto;
    grid-template-columns: 86px 1fr;
  }

  .product-cart__main-img{
    min-height: 320px;
  }

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

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

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

  .product-cart__review-cols{
    grid-template-columns: 1fr;
  }
  .blog {
    padding: 28px 0 50px;
  }

  .blog__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .blog__grid .news-card:nth-child(n + 5) {
    display: none;
  }
  .blog__pagination {
    margin-top: 28px;
    gap: 6px;
  }

  .pagination__page,
  .pagination__arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  
  .page--blog .blog__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page--blog .blog__grid .news-card-page:nth-child(n + 5) {
    display: none;
  }

  .page--blog .blog__pagination {
    margin-top: 28px;
    gap: 6px;
  }

  .page--blog .pagination__page,
  .page--blog .pagination__arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .blog-open {
    padding: 28px 0 60px;
  }

  .blog-open__container {
    padding: 0 16px; 
  }

  .blog-open__hero {
    height: 320px;
    border-radius: 10px;
  }

  .blog-open__meta {
    font-size: 12px;
    gap: 8px;
  }

  .blog-open__title {
    font-size: 20px;
  }

  .blog-open__feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-open__feature-right {
    width: 330px;
    height: 383px;
    border-radius: 10px; 
    order: -1; 
  }

  .contacts__container {
    padding: 0 16px;
  }

  .contacts__top {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 18px;
  }

  .contacts-info__row {
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }

  .contacts-callback {
    padding: 18px 16px;
  }

  .contacts-callback__form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contacts-callback__btn {
    width: 100%;
  }

  .contacts-map {
    width: calc(100% - 32px);
    margin: 14px auto 0;
    padding: 10px;
  }

  .contacts-map__frame {
    height: 415px;
  }

  .seminars__container {
    padding: 0 16px;
  }

  .seminar-card__meta {
    padding: 14px 16px 8px;
  }

  .seminar-card__body {
    padding: 16px;
  }

  .seminar-open__container {
    padding: 0 16px;
  }

  .seminar-open__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .seminar-open__gallery .seminar-open__photo:nth-child(2) {
    display: none;
  }

  .seminar-open__photo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }

  .seminar-open__title {
    text-align: left;
    font-size: 18px;
  }

  .seminar-open__info {
    flex-direction: column;
    align-items: flex-start;
  }

  .seminar-open__price {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .seminars__container {
    padding: 0 24px;
  }
  
  .seminars__grid {
    grid-template-columns: 1fr;
  }
  
  .seminar-card__body {
    grid-template-columns: 1fr;
  }
  
  .seminar-card__col--image {
    order: -1; 
  }
  
  .seminar-card__btn {
    width: 100%;
  }
  
  .seminar-open__container {
    padding: 0 24px;
  }
  
  .seminar-open__content {
    grid-template-columns: 1fr;
  }
  
  .seminar-speaker {
    max-width: 420px;
    margin: 0 auto;
  }
  
  .seminar-open__gallery {
    gap: 14px;
  }

  .price-table {
    --price-col: 86px;    
    --row-gap: 10px;      
    --divider-h: 22px;    
  }

  .price-table__row {
    padding: 14px 0;      
  }

  .price-table__name {
    max-width: 100%;
    
    white-space: normal;        
    word-break: normal;         
    overflow-wrap: break-word;  
    hyphens: auto;              

    line-height: 0.5;
  }
  .price-table__price {
    font-size: 13px;
    padding-left: 10px;
  }

  .price-table__section {
    padding: 22px 0 14px;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .modal__dialog {
    width: min(360px, calc(100% - 24px));
    margin: 20px auto;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .auth-tabs {
    gap: 18px;
  }

  .auth-tabs__btn {
    font-size: 16px;
  }

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

  .cart-title { font-size: 26px; }

  .cart-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cart-head { display: none; }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .cart-item__product { gap: 12px; }
  .cart-item__img { width: 52px; height: 68px; }

  .cart-item__qty {
    display: flex;
    justify-content: flex-start;
  }

  .cart-item__price {
    justify-content: flex-start;
  }

  .cart-item__actions {
    justify-content: flex-start;
  }

  .cart-summary {
    padding: 18px;
  }

  .account-layout{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-nav{
    display: none;
  }

  .account-mobile-trigger{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .account-grid{
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .account-divider,
  .account-password-row{
    max-width: 100%;
  }

  .acc-save{
    width: 100%;
    height: 56px;
    border-radius: 14px;
    font-size: 16px;
  }

  .acc-pass-dialog{
    margin-top: 40px;
    padding: 18px;
  }

  .acc-pass-title{
    font-size: 30px;
  }

  .acc-input--big{
    height: 58px;
  }

  .acc-save--wide{
    width: 100%;
  }

  .acc-pass-actions{
    flex-direction: column;
    align-items: stretch;
  }

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

  .acc-wish-card{
    padding: 12px;
    border-radius: 12px;
  }

  .acc-wish-imgwrap{
    height: 90px;
  }

  .acc-wish-img{
    max-height: 90px;
  }

  .acc-wish-actions{
    grid-template-columns: 40px 1fr;
  }

  .acc-wish-cart{
    width: 40px;
    height: 34px;
  }

  .acc-wish-buy{
    height: 34px;
    font-size: 12px;
  }

  .acc-orders__label,
  .acc-orders__filter{ font-size:16px; }

  .acc-order__head{ padding:12px; }
  .acc-order__thumb{ width:56px; height:42px; }

  .acc-order__info{ grid-template-columns: 1fr; }
  .acc-order__info-row{ grid-template-columns: 1fr; }

  .acc-order-item{ grid-template-columns: 72px 1fr; }
  .acc-order-item__img{ width:72px; height:56px; border-radius:12px; }

  .acc-order-item__right{
    grid-column: 2 / -1;
    text-align:left;
    display:flex;
    gap:16px;
    align-items:center;
  }

  .acc-address__row{
    grid-template-columns: 1fr 34px;
    gap:10px;
  }
  .acc-address__label{ grid-column:1 / 2; }
  .acc-address__value{ grid-column:1 / 2; }
  .acc-address__edit{ grid-column:2 / 3; margin-top:2px; }

  .acc-address-form__grid{ grid-template-columns: 1fr; }
  .acc-address-form__row3{ grid-template-columns: 1fr; }
  .acc-address-form__actions{ flex-direction:column; align-items:stretch; }
}