/* =============================================
   BESSMENNO — Custom Styles
   Bootstrap 5 + CSS Variables
   ============================================= */

/* ── Fonts ─────────────────────────────────── */
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-ThinIt.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-LightIt.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Book.ttf') format('truetype');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-BookIt.ttf') format('truetype');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-RegularIt.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-MediumIt.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-SemiBoldIt.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-BoldIt.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-ExtraBoldIt.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}
@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre-BlackIt.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
  ascent-override: 109.375%;
  descent-override: 46.875%;
}

/* ── Placeholder images (удалить после загрузки реальных фото) ─ */
.hero-carousel,
.hero-carousel .carousel-item {
  background: #c8c4bc;
}
.hero-carousel .carousel-item img {
  opacity: 0; /* скрыть сломанные img */
}
.product-card__image-wrap {
  background: #ede9e4;
}
.product-card__image-wrap img {
  opacity: 0;
}
.category-tile__image {
  background: #f0ede8;
}
.category-tile__image img {
  opacity: 0;
}
.news-card__image {
  background: #d6d0c8;
}
.news-card__image img {
  opacity: 0;
}
.stylist-section__bg,
.stylist-section__image-person {
  opacity: 0;
}

/* ── CSS Variables (Design Tokens) ─────────── */
:root {
  /* Colors */
  --clr-dark:         #282622;
  --clr-beige:        #dfded6;
  --clr-border:       #d4d2d2;
  --clr-border-light: rgba(212, 210, 210, 0.4);
  --clr-sale:         #cb0935;
  --clr-white:        #ffffff;
  --clr-muted:        rgba(40, 38, 34, 0.5);
  --clr-light-text:   #bbb;

  /* Typography */
  --font-primary: 'Cygre', 'Montserrat', sans-serif;
  --fs-xs:  12px;
  --fs-sm:  13px;
  --fs-base: 14px;
  --fs-md:  16px;
  --fs-lg:  18px;
  --fs-xl:  22px;
  --fs-2xl: 24px;

  /* Letter spacing */
  --ls-tight: 0.02em;
  --ls-wide:  0.06em;

  /* Layout */
  --header-h: 120px;
  --radius-sm: 3px;
  --radius-md: 5px;

  /* Bootstrap overrides */
  --bs-body-font-family:    var(--font-primary);
  --bs-body-color:          var(--clr-dark);
  --bs-body-bg:             var(--clr-white);
  --bs-border-color:        var(--clr-border);
  --bs-link-color:          var(--clr-dark);
  --bs-link-hover-color:    var(--clr-dark);
}

/* ── Reset & Base ───────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  font-family: var(--font-primary);
  color: var(--clr-dark);
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}
a:hover { opacity: .7; }

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

ul { list-style: none; margin: 0; padding: 0; }

/* ── Utility ────────────────────────────────── */
.text-uppercase-tracked { text-transform: uppercase; letter-spacing: var(--ls-tight); }
.fw-medium { font-weight: 500; }

/* ── Buttons ────────────────────────────────── */
.btn-dark-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: 1px solid var(--clr-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: var(--fs-md);
  letter-spacing: var(--ls-tight);
  padding: 10px 24px;
  height: 40px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-dark-custom:hover {
  background: transparent;
  color: var(--clr-dark);
}

.btn-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-white);
  color: var(--clr-dark);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: var(--fs-md);
  letter-spacing: var(--ls-tight);
  padding: 16px 50px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-light-custom:hover {
  background: var(--clr-beige);
}

/* ── Section header ─────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 30px;
}
.section-header__title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  line-height: 1.3;
  margin: 0;
}
.section-header__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  white-space: nowrap;
}
.section-header__link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
}

/* ── Header Top ─────────────────────────────── */
.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* меню | логотип по центру | иконки */
  align-items: center;
  height: 75px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.header-top > .header-actions { justify-self: end; }

.header-logo {
  flex-shrink: 0;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo-img {
  display: block;
  height: 30px;
  width: auto;
}

/* Main nav links */
.header-nav-main {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-nav-main .nav-link {
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  color: var(--clr-dark);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-nav-main .dropdown-toggle::after {
  display: none;
}
.header-nav-main .nav-link .dropdown-arrow {
  width: 8px;
  height: 5px;
  display: inline-block;
  transition: transform .2s;
}
.header-nav-main .nav-link[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}
/* ── Simple dropdowns: Коллекции / Покупателям ─ */
.header-dropdown-menu {
  border: 1px solid var(--clr-border);
  border-radius: 0;
  padding: 0;
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.header-dropdown-item {
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  color: var(--clr-dark);
  padding: 15px 23px;           /* 16-1 / 24-1 — компенсация border */
  border: 1px solid transparent;
  background: none;
  transition: border-color .15s;
}
.header-dropdown-item:hover,
.header-dropdown-item:focus {
  background: none;
  color: var(--clr-dark);
  border-color: var(--clr-dark);
}

/* ── Catalog mega-menu ──────────────────────── */
.catalog-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  z-index: 1040;
  display: none;
}
.site-header.megamenu-open .catalog-megamenu {
  display: block;
}
.site-header.megamenu-open #catalog-trigger .dropdown-arrow {
  transform: rotate(180deg);
}
.megamenu-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 80px 40px;
}
.megamenu-see-all-row {
  margin-bottom: 24px;
}
.megamenu-see-all {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--clr-dark);
  text-decoration: underline;
  letter-spacing: var(--ls-tight);
}
.megamenu-see-all:hover {
  color: var(--clr-dark);
  text-decoration-color: transparent;
}
.megamenu-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.megamenu-col {
  flex: 0 0 auto;
  min-width: 140px;
}
.megamenu-col-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 16px;
}
.megamenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.megamenu-list li + li {
  margin-top: 10px;
}
.megamenu-list a {
  font-size: var(--fs-base);
  color: var(--clr-dark);
  text-decoration: none;
  letter-spacing: var(--ls-tight);
  transition: opacity .15s;
}
.megamenu-list a:hover {
  opacity: .6;
}
.megamenu-images {
  flex: 1 1 auto;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.megamenu-img-item {
  flex: 0 0 auto;
  width: 160px;
  text-decoration: none;
}
.megamenu-img-wrap {
  width: 160px;
  height: 210px;
  overflow: hidden;
  background: var(--clr-beige);
  margin-bottom: 10px;
}
.megamenu-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.megamenu-img-item:hover .megamenu-img-wrap img {
  transform: scale(1.04);
}
.megamenu-img-label {
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  letter-spacing: var(--ls-tight);
  margin: 0;
}

/* Right icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-search-form {
  display: flex;
  align-items: center;
  height: 45px;
  position: relative;
}
.header-search-input {
  border: none;
  border-bottom: 1px solid var(--clr-border);
  outline: none;
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  color: var(--clr-dark);
  background: transparent;
  width: 200px;
  padding: 4px 32px 4px 0;
  transition: width .3s;
}
.header-search-input::placeholder { color: var(--clr-border); }
.header-search-input:focus { width: 260px; }
.header-search-btn {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--clr-dark);
}

.header-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-dark);
}
.header-icon-btn .badge {
  position: absolute;
  bottom: -3px;
  right: -5px;
  background: var(--clr-beige);
  color: var(--clr-dark);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.02em;
  border-radius: 8px;
  min-width: 13px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  /* MODX Minishop: обновляется через JS */
}

/* ── Header Category Nav ────────────────────── */
/* Лента разделов: линия на всю ширину, сама лента — по ширине контейнера сайта (1320px, поля 48px).
   Поля — у обёртки, а не у прокручиваемого блока, иначе пункты видны за стрелкой. */
.header-categories-bar { border-top: 1px solid var(--clr-border-light); }
.header-categories-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.header-categories {
  overflow-x: auto;
  scrollbar-width: none;
}
.header-categories::-webkit-scrollbar { display: none; }
.header-categories-inner {
  display: flex;
  align-items: stretch;
  min-width: max-content;
}
.header-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-left: 1px solid var(--clr-border-light);
  border-right: 1px solid var(--clr-border-light);
  margin-right: -1px;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--clr-dark);
  text-decoration: none;
  transition: background .2s;
  flex: 1;
  justify-content: center;
}
.header-cat-item:hover { background: var(--clr-beige); opacity: 1; }

/* Стрелки прокрутки с затуханием у краёв контейнера: правая пропадает в конце ленты, левая — в начале */
.header-categories__arrow {
  position: absolute;
  top: 0; bottom: 0;
  width: 44px;
  border: 0;
  background: var(--clr-white);
  color: var(--clr-dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.header-categories__arrow[hidden] { display: none; }
.header-categories__arrow::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 56px;
  pointer-events: none;
}
.header-categories__arrow--next { right: 48px; }
.header-categories__arrow--next::before {
  right: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--clr-white));
}
.header-categories__arrow--prev { left: 48px; }
.header-categories__arrow--prev::before {
  left: 100%;
  background: linear-gradient(to left, rgba(255,255,255,0), var(--clr-white));
}
.header-categories__arrow:hover { opacity: .7; }

/* ── Mobile Header ──────────────────────────── */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-dark);
  transition: transform .3s, opacity .3s;
}
.hamburger-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--clr-white);
  z-index: 999;
  overflow-y: auto;
  padding: 32px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__link {
  display: block;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--clr-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
}

/* ═══════════════════════════════════════════════
   HERO SECTION — Swiper
═══════════════════════════════════════════════ */
.hero-section { position: relative; overflow: hidden; }

.hero-swiper { width: 100%; height: 580px; }

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Text overlay — bottom left, matching Figma */
.hero-slide__caption {
  position: absolute;
  bottom: 60px;
  left: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero-slide__title {
  font-size: 32px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--clr-dark);
  margin: 0;
}
.hero-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: var(--fs-md);
  font-family: var(--font-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: var(--ls-tight);
  transition: opacity .2s;
}
.hero-slide__btn:hover { opacity: .85; color: var(--clr-beige); }

/* Navigation arrows */
.hero-swiper__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.hero-swiper__prev { left: 60px; }
.hero-swiper__next { right: 60px; }

/* Pagination dots */
.hero-swiper__pagination {
  bottom: 24px !important;
}
.hero-swiper__pagination .swiper-pagination-bullet {
  width: 40px;
  height: 1px;
  border-radius: 0;
  background: var(--clr-dark);
  opacity: .35;
  margin: 0 3px !important;
}
.hero-swiper__pagination .swiper-pagination-bullet-active { opacity: 1; }

/* Tagline block AFTER slider */
.hero-tagline {
  padding: 40px 0;
  text-align: center;
}
.hero-tagline__title {
  font-size: var(--fs-xl);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--clr-dark);
  margin-bottom: 8px;
}
.hero-tagline__subtitle {
  font-size: var(--fs-md);
  color: var(--clr-dark);
  letter-spacing: var(--ls-tight);
  margin: 0;
}

/* ═══════════════════════════════════════════════
   PRODUCT CARD
   (используется в Новинках и Рекомендует)
═══════════════════════════════════════════════ */
.product-card {
  position: relative;
  background: var(--clr-white);
  overflow: hidden;
}
.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 327 / 491;
  background: #f5f5f3;
  isolation: isolate;
}

/* Product image Swiper */
.product-img-swiper {
  width: 100%;
  height: 100%;
}
.product-img-swiper .swiper-wrapper { height: 100%; }
.product-img-swiper .swiper-slide { height: 100%; }
.product-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-card__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Без увеличения и осветления при наведении: глобальный a:hover { opacity } на фото не действует */
.product-card__img-link:hover { opacity: 1; }

/* Dots pagination inside image */
.product-img-pagination {
  bottom: 8px !important;
}
.product-img-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 1px;
  border-radius: 0;
  background: var(--clr-dark);
  opacity: .4;
  margin: 0 2px !important;
}
.product-img-pagination .swiper-pagination-bullet-active { opacity: 1; }

/* Prev/Next arrows — hidden by default, shown on hover */
.product-swiper-prev,
.product-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  opacity: 0;
  transition: opacity .2s;
}
.product-swiper-prev { left: 4px; }
.product-swiper-next { right: 4px; }
.product-card:hover .product-swiper-prev,
.product-card:hover .product-swiper-next { opacity: 1; }

/* Color swatches */
.product-card__colors {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.product-card__color {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(40, 38, 34, 0.2);
  flex-shrink: 0;
  transition: transform .15s;
}
.product-card__color:hover {
  transform: scale(1.25);
  border-color: var(--clr-dark);
}

/* SALE badge */
.product-card__badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--clr-white);
  border: 1px solid var(--clr-sale);
  border-radius: var(--radius-sm);
  color: var(--clr-sale);
  font-size: 9px;
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  padding: 2px 6px;
  line-height: 1.1;
}

/* Wishlist button */
.product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  color: var(--clr-dark);
  opacity: .5;
  transition: opacity .2s;
}
.product-card__wishlist:hover,
.product-card__wishlist.is-active { opacity: 1; }
.product-card__wishlist.is-active svg path { fill: var(--clr-dark); }

/* Rating / quick-view */
.product-card__quick {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  color: var(--clr-dark);
  opacity: .6;
  transition: opacity .2s;
}
.product-card__quick:hover { opacity: 1; }

/* Hover overlay (size picker + add to cart) */
.product-card__hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-white);
  padding: 10px 12px 12px;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 25;
}
.product-card:hover .product-card__hover-overlay { transform: translateY(0); }
.product-card__sizes {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  margin-bottom: 8px;
}
.product-card__sizes span {
  cursor: pointer;
  transition: opacity .2s;
}
.product-card__sizes span:hover { text-decoration: underline; }
.product-card__sizes span.is-unavailable { opacity: .35; }
.product-card__add-btn {
  width: 100%;
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: none;
  color: var(--clr-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  /* MODX Minishop: добавить класс ms2_buy_btn и data-id="[[+id]]" */
}
.product-card__add-btn:hover { text-decoration: underline; }

/* Info below image */
.product-card__info {
  padding: 8px 0 0; /* название и цена — по левому краю фото */
}
.product-card__name {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  color: var(--clr-dark);
  line-height: 1.3;
  margin-bottom: 2px;
}
.product-card__name a { color: inherit; text-decoration: none; }
.product-card__price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Кружки справа от цены: не больше 4 в ряд (16px + 6px зазор), остальные переносятся под ними,
   чтобы длинный ряд не сжимал цену */
.product-card__price-wrap .color-swatches {
  margin: 0 0 0 auto; flex-wrap: wrap; justify-content: flex-end;
  max-width: calc(4 * 16px + 3 * 6px); flex-shrink: 0;
}
.product-card__price {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin: 0;
}
.product-card__price-sale { color: var(--clr-sale); }
.product-card__price-old {
  font-size: var(--fs-xs);
  color: rgba(40,38,34,.4);
  text-decoration: line-through;
}
.product-card__discount {
  font-size: var(--fs-xs);
  color: rgba(40,38,34,.4);
}

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
.products-section,
.collection-section,
.news-section {
  padding: 40px 0;
}

/* ── Category Tiles ─────────────────────────── */
.category-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 40px;
}
.category-grid::-webkit-scrollbar { display: none; }

.category-tile {
  flex: 0 0 calc(100% / 6 - 8px);
  min-width: 180px;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--clr-dark);
  transition: opacity .2s;
}
.category-tile:hover { opacity: .7; }
.category-tile__image {
  width: 100%;
  height: 290px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-tile__image img {
  /*max-height: 220px;*/
  object-fit: contain;
  mix-blend-mode: darken;
}
.category-tile__name {
  font-size: var(--fs-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  text-align: center;
  padding: 8px 0 12px;
}

/* ── News Cards ─────────────────────────────── */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-card__image {
  width: 100%;
  aspect-ratio: 325 / 260;
  object-fit: cover;
  overflow: hidden;
  background: #eee;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.03); }
.news-card__title {
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
  color: var(--clr-dark);
  margin-bottom: 0;
}
.news-card__link {
  font-size: var(--fs-base);
  text-decoration: underline;
  color: var(--clr-dark);
}

/* ── Stylist Banner ─────────────────────────── */
.stylist-section {
  background: var(--clr-dark);
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.stylist-section__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .5;
}
.stylist-section__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 35%, rgba(0,0,0,0) 65%);
}
.stylist-section__image-person {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-width: 55%;
}
.stylist-section__content {
  position: relative;
  z-index: 2;
  padding: 80px 80px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 560px;
  justify-content: center;
}
.stylist-section__title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--clr-beige);
  margin-bottom: 16px;
}
.stylist-section__text {
  font-size: var(--fs-base);
  color: var(--clr-beige);
  line-height: 1.5;
}
.stylist-form { display: flex; flex-direction: column; gap: 16px; }
.stylist-form__field {
  border: none;
  border-bottom: 1px solid rgba(248,248,248,.2);
  background: transparent;
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  color: var(--clr-beige);
  padding: 12px 24px;
  width: 100%;
  max-width: 402px;
  outline: none;
  height: 48px;
}
.stylist-form__field::placeholder { color: rgba(231,231,231,.7); }
.stylist-form__agree {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-base);
  color: var(--clr-beige);
}
.stylist-form__agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(231,231,231,.7);
  border-radius: 2px;
  flex-shrink: 0;
  appearance: none;
  cursor: pointer;
  background: transparent;
  position: relative;
}
.stylist-form__agree input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--clr-beige);
}
.stylist-form__agree a { color: var(--clr-light-text); text-decoration: underline; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--clr-white);
  padding: 60px 0 0;
  overflow: hidden;
}

/* Big logo */
.footer-logo-link {
  display: block;
  text-align: center;
  max-width: 1320px;
  margin: 0 auto 60px;
  padding: 0 48px;
}
.footer-logo-img {
  display: block;
  width: 100%;
  max-width: 1316px;
  height: auto;
  margin: 0 auto;
}

/* Social */
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social__link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-dark);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  transition: background .2s;
}
.footer-social__link:hover { background: var(--clr-beige); opacity: 1; }

/* Footer nav columns */
.footer-nav-cols {
  display: flex;
  gap: clamp(32px, 5vw, 80px);
  flex-wrap: wrap;
}
.footer-nav-col__title {
  font-size: var(--fs-md);
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin-bottom: 16px;
  line-height: 1.4;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col ul li a {
  font-size: var(--fs-base);
  line-height: 1.2;
  color: var(--clr-dark);
}
.footer-nav-col ul li a:hover { text-decoration: underline; opacity: 1; }

/* Newsletter */
.footer-newsletter { display: flex; flex-direction: column; gap: 24px; }
.footer-newsletter__label {
  font-size: var(--fs-base);
  color: var(--clr-dark);
}
.footer-newsletter__input-wrap {
  border-bottom: 1px solid var(--clr-border);
  height: 40px;
  display: flex;
  align-items: center;
  width: 262px;
}
.footer-newsletter__input {
  border: none;
  outline: none;
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  color: var(--clr-dark);
  background: transparent;
  width: 100%;
  padding: 0 16px;
}
.footer-newsletter__input::placeholder { color: var(--clr-border); }
.footer-newsletter__agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
}
.footer-newsletter__agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--clr-dark);
  border-radius: 0;
  flex-shrink: 0;
  appearance: none;
  cursor: pointer;
  background: transparent;
  position: relative;
}
.footer-newsletter__agree input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--clr-dark);
}
.footer-newsletter__agree a {
  text-decoration: underline;
  color: var(--clr-dark);
}

.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contacts a, .footer-contacts span {
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-dark);
}
.footer-legal {
  font-size: var(--fs-sm);
  color: var(--clr-border);
  line-height: 1.2;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  color: var(--clr-dark);
  margin-top: 40px;
  padding: 11px 48px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1199px)
═══════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .header-top { padding: 0 40px; max-width: 1140px; }
  .header-categories-wrap { padding: 0 40px; }
  .header-categories__arrow--next { right: 40px; }
  .header-categories__arrow--prev { left: 40px; }
  .header-cat-item { padding: 10px 16px; font-size: 12px; }
  .footer-logo-link { padding: 0 40px; max-width: 1140px; }
  .footer-bottom { padding: 11px 40px; max-width: 1140px; }
  .stylist-section__content { padding: 60px 40px; }
  .footer-nav-cols { gap: 40px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px)
═══════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root { --header-h: 60px; }

  /* Header */
  .site-header { border-bottom: 1px solid var(--clr-border); }
  .header-top {
    height: 60px;
    padding: 0 16px;
    max-width: 100%;
  }
  .header-logo-text { font-size: 20px; }
  .header-actions { gap: 12px; }

  /* Hero */
  .hero-carousel { height: 400px; }
  .hero-carousel .carousel-control-prev { left: 16px; }
  .hero-carousel .carousel-control-next { right: 16px; }
  .hero-caption__title { font-size: 18px; }
  .hero-caption__subtitle { font-size: 13px; }

  /* Sections */
  .products-section,
  .collection-section,
  .news-section { padding: 32px 0; }

  .section-header { flex-wrap: wrap; gap: 8px; }
  .section-header__title { font-size: 18px; }

  /* Category tiles — horizontal scroll */
  .category-tile {
    flex: 0 0 140px;
    min-width: 140px;
  }
  .category-tile__image { height: 220px; }

  /* Stylist section */
  .stylist-section__content {
    padding: 40px 16px;
    min-height: auto;
    max-width: 100%;
  }
  .stylist-section__image-person { display: none; }
  .stylist-section__gradient {
    background: rgba(0,0,0,.5);
  }
  .stylist-form__field { max-width: 100%; }

  /* Footer */
  .footer-logo-link {
    padding: 0 16px;
    max-width: 100%;
    margin: 0 0 40px;
  }
  .footer-bottom {
    padding: 16px;
    font-size: 12px;
    max-width: 100%;
  }
  .footer-nav-cols { flex-direction: column; gap: 32px; }
  .footer-newsletter__input-wrap { width: 100%; }
  .footer-legal { font-size: 11px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 575px)
═══════════════════════════════════════════════ */
@media (max-width: 575px) {
  .hero-carousel { height: 300px; }
}

/* ═══════════════════════════════════════════════
   CATALOG PAGE
═══════════════════════════════════════════════ */

/* ── Catalog page header ── */
.catalog-page-header {
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 0;
}

.catalog-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 20px;
}

.catalog-title {
  font-size: var(--fs-lg);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}

.catalog-title-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Sort dropdown */
.catalog-sort-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  cursor: pointer;
  white-space: nowrap;
}
.catalog-sort-btn:hover { border-color: var(--clr-dark); }
.catalog-sort-btn::after { display: none; }
.catalog-sort-menu { min-width: 200px; border-radius: var(--radius-sm); border: 1px solid var(--clr-border); padding: 8px 0; }
.catalog-sort-menu .dropdown-item { font-size: var(--fs-sm); padding: 8px 16px; }
.catalog-sort-menu .dropdown-item:hover { background: var(--clr-beige); color: var(--clr-dark); }

/* Grid toggle */
.catalog-grid-toggle {
  display: flex;
  gap: 4px;
}
.catalog-grid-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0aca6;
  transition: border-color .15s, color .15s;
}
.catalog-grid-btn:hover { border-color: var(--clr-dark); color: var(--clr-dark); }
.catalog-grid-btn.is-active { border-color: var(--clr-dark); color: var(--clr-dark); }

/* ── Filter bar ── */
.catalog-filters {
  padding-bottom: 0;
}
.catalog-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px;
}
.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}
.catalog-filter-btn::after { display: none; }
.catalog-filter-btn:hover { border-color: var(--clr-dark); }
.catalog-filter-btn--text { border: none; padding: 7px 14px; text-decoration: underline; text-underline-offset: 3px; }
.catalog-filter-btn--text:hover { text-decoration: none; }
.catalog-filter-btn.is-active {
  background: var(--clr-dark);
  color: var(--clr-beige);
  border-color: var(--clr-dark);
}
.catalog-filter-btn.is-active .filter-arrow {
  transform: rotate(180deg);
}

/* ── Filter panel ── */
.catalog-filter-panel {
  border-top: 1px solid var(--clr-border);
  padding: 20px 0 24px;
}
.catalog-filter-panel__options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.catalog-filter-panel__options--sizes {
  gap: 6px;
}
.catalog-filter-panel__options--colors {
  gap: 10px;
}
.catalog-filter-panel__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

/* Checkbox option */
.catalog-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  user-select: none;
}
.catalog-filter-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.catalog-filter-option__box {
  width: 24px;
  height: 24px;
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  background: var(--clr-white);
}
.catalog-filter-option input:checked + .catalog-filter-option__box {
  background: var(--clr-dark);
  border-color: var(--clr-dark);
}
.catalog-filter-option input:checked + .catalog-filter-option__box::after {
  content: '';
  display: block;
  width: 12px;
  height: 8px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(0, -2px);
}
.catalog-filter-option:hover .catalog-filter-option__box {
  border-color: var(--clr-dark);
}

/* Size buttons */
.catalog-filter-size {
  height: 34px;
  min-width: 48px;
  padding: 0 12px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: none;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}
.catalog-filter-size:hover { border-color: var(--clr-dark); }
.catalog-filter-size.is-selected {
  background: var(--clr-dark);
  color: var(--clr-white);
  border-color: var(--clr-dark);
}

/* Color swatches */
.catalog-filter-color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.catalog-filter-color[data-color="white"] {
  box-shadow: inset 0 0 0 1px var(--clr-border);
}
.catalog-filter-color:hover { transform: scale(1.1); }
.catalog-filter-color.is-selected {
  outline-color: var(--clr-dark);
}

/* Apply / Reset buttons */
.catalog-filter-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  min-width: 190px;
  padding: 0 32px;
  background: var(--clr-dark);
  color: var(--clr-white);
  border: none;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-tight);
  cursor: pointer;
  transition: opacity .15s;
}
.catalog-filter-apply:hover { opacity: .85; }
.catalog-filter-reset-panel {
  background: none;
  border: none;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.catalog-filter-reset-panel:hover { text-decoration: none; }

/* Applied filter tags */
.catalog-filters-applied {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--clr-border);
}
.catalog-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: var(--fs-sm);
  line-height: 1;
}
.catalog-filter-tag__remove {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  opacity: .7;
  transition: opacity .15s;
}
.catalog-filter-tag__remove:hover { opacity: 1; }
.catalog-filters-reset {
  background: none;
  border: none;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  margin-left: 4px;
}
.catalog-filters-reset:hover { text-decoration: none; }

/* ── Pagination & Load more ── */
.catalog-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0 60px;
}

.catalog-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 40px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: var(--fs-sm);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: opacity .15s;
}
.catalog-load-more:hover { opacity: .85; }

.catalog-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
}
.catalog-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--clr-dark);
  text-decoration: none;
  transition: border-color .15s;
}
.catalog-page:hover { border-color: var(--clr-border); }
.catalog-page.is-active { border-color: var(--clr-dark); font-weight: 500; }
.catalog-page-dots { padding: 0 4px; color: #9a9590; }
.catalog-page-next {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  color: var(--clr-dark);
  text-decoration: none;
  font-size: var(--fs-sm);
}
.catalog-page-next:hover { text-decoration: underline; }
.catalog-count-label { font-size: var(--fs-xs); color: #9a9590; margin: 0; }

/* ── Recently Viewed ── */
.recently-viewed {
  padding: 40px 0 60px;
  overflow: hidden;
}
.recently-viewed .section-header {
  margin-bottom: 28px;
}
.section-header__nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.section-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--clr-dark);
  opacity: .5;
  transition: opacity .2s;
}
.section-nav-btn:hover { opacity: 1; }

.recently-viewed .container-xl { overflow: visible; }
.recent-swiper { overflow: visible; }
.recent-slide { width: 250px !important; }

/* ── Product card sale price variant ── */
.product-card__price--sale { color: var(--clr-sale); }
.product-card__price-old {
  font-size: var(--fs-xs);
  color: #9a9590;
  text-decoration: line-through;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--clr-border);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--fs-sm);
}
.breadcrumb-list a { color: #9a9590; text-decoration: none; }
.breadcrumb-list a:hover { color: var(--clr-dark); }
.breadcrumb-list .sep { color: #9a9590; }
.breadcrumb-list li:last-child { color: var(--clr-dark); }

/* ── Product layout ── */
.product-layout {
  display: grid;
  grid-template-columns: 726px 1fr;
  gap: 60px;
  align-items: start;
  padding: 32px 0 60px;
}
@media (max-width: 1200px) {
  .product-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Product gallery (left) ── */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
  aspect-ratio: 2/3;
}
.product-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform .5s ease;
}
.product-gallery__item img:hover { transform: scale(1.04); }
.product-gallery__item--full { grid-column: 1 / -1; aspect-ratio: 4/3; }

/* ── Product gallery: horizontal scroll on tablet & mobile ── */
@media (max-width: 991px) {
  .product-gallery-wrap {
    /* must be 0 so the grid/flex cell doesn't expand to fit children */
    min-width: 0;
    width: 100%;
    /* extend right edge past container padding for peek effect */
    margin-right: -16px;
  }
  .product-gallery {
    display: flex;
    grid-template-columns: unset;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    /* right padding shows a peek of the next card */
    padding-right: 32px;
  }
  .product-gallery::-webkit-scrollbar { display: none; }
  .product-gallery__item {
    flex: 0 0 260px;
    min-width: 260px;
    scroll-snap-align: start;
    aspect-ratio: 2/3;
  }
  .product-gallery__item--full {
    flex: 0 0 340px;
    min-width: 340px;
    aspect-ratio: 4/3;
    grid-column: unset;
  }
  .product-gallery__item img:hover { transform: none; }
}

/* ── Product info (right) ── */
.product-info { position: sticky; top: 100px; }

.product-wishlist-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--clr-dark);
  opacity: .5;
  transition: opacity .2s;
}
.product-wishlist-btn:hover { opacity: 1; }

.product-name {
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 8px;
  padding-right: 32px;
}
.product-desc {
  font-size: var(--fs-sm);
  color: #6b6660;
  line-height: 1.5;
  margin: 0 0 16px;
}
.product-meta {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin: 0 0 20px;
}
.product-meta span { color: var(--clr-dark); }
.product-meta .sep { display: inline-block; width: 1px; height: 12px; background: #ccc; margin: 0 8px; vertical-align: middle; }

.product-price {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 24px;
}
.product-price--sale { color: var(--clr-sale); }
.product-price-old {
  font-size: var(--fs-md);
  color: #9a9590;
  text-decoration: line-through;
  margin-left: 10px;
}
.product-badge {
  display: inline-block;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-left: 10px;
  vertical-align: middle;
}

/* ── Size selector ── */
.product-sizes-label {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin: 0 0 8px;
}
.product-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
}
.product-size-btn {
  min-width: 52px;
  padding: 0 10px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: none;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.product-size-btn:hover:not(.is-unavailable) { border-color: var(--clr-dark); }
.product-size-btn.is-active { border-color: var(--clr-dark); background: var(--clr-dark); color: var(--clr-beige); }
.product-size-btn.is-unavailable { opacity: .4; cursor: not-allowed; }
.product-size-btn .size-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: 9px;
  padding: 1px 4px;
  border-radius: var(--radius-sm);
}
.product-size-bell {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 6px;
  width: 14px;
  height: 14px;
  opacity: .5;
}

/* ── Color selector ── */
.product-colors {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.product-color-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
}
.product-color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(40,38,34,.2);
  flex-shrink: 0;
  transition: transform .15s;
}
.product-color-btn:hover .product-color-swatch { transform: scale(1.2); border-color: var(--clr-dark); }
.product-color-btn.is-active .product-color-swatch { border-color: var(--clr-dark); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--clr-dark); }

/* ── Delivery toggle ── */
.product-delivery-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 20px;
  cursor: pointer;
}
.product-delivery-info { display: flex; gap: 14px; align-items: flex-start; }
.product-delivery-icon { width: 24px; height: 24px; flex-shrink: 0; }
.product-delivery-text { font-size: var(--fs-sm); }
.product-delivery-text strong { display: block; margin-bottom: 2px; }
.product-delivery-text span { font-size: var(--fs-xs); color: #9a9590; }
.product-delivery-switch {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--clr-border);
  flex-shrink: 0;
  position: relative;
  transition: background .2s;
}
.product-delivery-switch.is-on { background: var(--clr-dark); }
.product-delivery-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.product-delivery-switch.is-on::after { transform: translateX(18px); }

/* ── Add to cart buttons ── */
.product-btn-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); /* в узкой колонке кнопки встают друг под другом, а не ломают текст */
  gap: 8px;
  margin-bottom: 16px;
}
.product-btn-cart {
  height: 43px;
  white-space: nowrap;
  border: 1px solid var(--clr-dark);
  border-radius: var(--radius-md);
  background: none;
  color: var(--clr-dark);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.product-btn-cart:hover { background: var(--clr-beige); }
.product-btn-buy {
  height: 43px;
  white-space: nowrap;
  border: none;
  border-radius: var(--radius-md);
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: opacity .15s;
}
.product-btn-buy:hover { opacity: .85; }

/* Installment */
.product-installment {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  color: #6b6660;
  padding: 12px 0;
  margin-bottom: 8px;
}
.product-installment svg { flex-shrink: 0; }

/* Contact links */
.product-contacts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.product-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  text-decoration: none;
}
.product-contact-link:hover { text-decoration: underline; }
.product-contact-link svg { flex-shrink: 0; }

/* ── Accordion ── */
.product-accordion { border-top: 1px solid var(--clr-border); }
.product-accordion-item { border-bottom: 1px solid var(--clr-border); }
.product-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  color: var(--clr-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product-accordion-btn svg { flex-shrink: 0; transition: transform .2s; }
.product-accordion-btn.is-open svg { transform: rotate(180deg); }
.product-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.product-accordion-body.is-open { max-height: 1000px; }
.product-accordion-body-inner { padding: 0 0 20px; font-size: var(--fs-sm); line-height: 1.6; color: #6b6660; }

/* ── Gift hint banner ── */
.product-gift-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--clr-beige);
  border-radius: var(--radius-sm);
  margin-top: 16px;
  cursor: pointer;
  text-decoration: none;
  color: var(--clr-dark);
}
.product-gift-banner__text { font-size: var(--fs-sm); }
.product-gift-banner svg { flex-shrink: 0; }

/* ── Share ── */
.product-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: var(--fs-xs);
  color: #9a9590;
}
.product-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  color: var(--clr-dark);
  transition: border-color .15s;
}
.product-share-link:hover { border-color: var(--clr-dark); }

/* ── Lookbook / Образы ── */
.lookbook-section { padding: 60px 0; }
.lookbook-header { margin-bottom: 28px; }
.lookbook-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.lookbook-grid::-webkit-scrollbar { display: none; }
.lookbook-item {
  flex: 0 0 304px;
  height: 436px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
}
.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Similar products ── */
.similar-section { padding: 20px 0 60px; }
.similar-header { margin-bottom: 28px; }

/* ── Popup / Modal ── */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(40,38,34,.4);
  z-index: 1040;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-backdrop-custom.is-open { display: flex; }

.modal-popup {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 40px;
  max-width: 480px;
  width: calc(100% - 48px);
  position: relative;
  animation: popupIn .25s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(.96) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-popup__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.modal-popup__title { font-size: var(--fs-lg); font-weight: 400; text-transform: uppercase; margin: 0 0 12px; letter-spacing: var(--ls-tight); }
.modal-popup__text { font-size: var(--fs-sm); color: #6b6660; line-height: 1.5; margin: 0 0 24px; }
.modal-popup__input-row { display: flex; gap: 8px; }
.modal-popup__input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  outline: none;
  transition: border-color .15s;
}
.modal-popup__input:focus { border-color: var(--clr-dark); }
.modal-popup__submit {
  height: 48px;
  padding: 0 24px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.modal-popup__submit:hover { opacity: .85; }

/* ═══════════════════════════════════════════════
   BOUTIQUE PAGE
═══════════════════════════════════════════════ */
.boutique-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.boutique-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.boutique-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40,38,34,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  gap: 8px;
}
.boutique-hero__subtitle {
  font-size: var(--fs-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: .8;
}
.boutique-hero__title {
  font-size: 48px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.boutique-hero__address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  opacity: .85;
  margin-top: 4px;
}

/* Stylist block */
.boutique-stylist {
  padding: 60px 0;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.boutique-stylist__title { font-size: var(--fs-xl); font-weight: 400; text-transform: uppercase; margin: 0 0 16px; }
.boutique-stylist__text { font-size: var(--fs-sm); color: #6b6660; line-height: 1.6; margin: 0 0 28px; }

/* Gallery */
.boutique-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 60px;
}
.boutique-gallery__item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--clr-beige);
  aspect-ratio: 3/4;
}
.boutique-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.boutique-gallery__item:hover img { transform: scale(1.03); }

/* Info block */
.boutique-info {
  padding: 60px 0;
  background: var(--clr-beige);
}
.boutique-info__title { font-size: var(--fs-xl); font-weight: 400; text-transform: uppercase; margin: 0 0 12px; }
.boutique-info__address { font-size: var(--fs-sm); color: #6b6660; margin: 0 0 6px; }
.boutique-info__hours { font-size: var(--fs-sm); color: #6b6660; margin: 0 0 24px; }

.boutique-map {
  height: 460px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e5e5e5;
  margin-bottom: 32px;
}
.boutique-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boutique-map iframe { width: 100%; height: 100%; border: none; }
.boutique-map__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #9a9590; font-size: var(--fs-sm);
}

.boutique-contact-block { display: flex; flex-direction: column; gap: 6px; }
.boutique-contact-item { font-size: var(--fs-sm); color: var(--clr-dark); }
.boutique-contact-item a { color: var(--clr-dark); text-decoration: none; }
.boutique-contact-item a:hover { text-decoration: underline; }

/* ── Photo strip ── */
.boutique-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 60px;
}
.boutique-photo-strip__item {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--clr-beige);
}
.boutique-photo-strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.boutique-photo-strip__item:hover img { transform: scale(1.05); }

/* ── Tour link ── */
.boutique-tour-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 36px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: var(--fs-sm);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity .15s;
}
.boutique-tour-btn:hover { opacity: .85; color: var(--clr-beige); }

/* ═══════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════ */
.about-hero {
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 60px;
  background: var(--clr-beige);
}
.about-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-tagline {
  text-align: center;
  padding: 20px 0 40px;
}
.about-tagline__title {
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 12px;
}
.about-tagline__subtitle {
  font-size: var(--fs-sm);
  color: #6b6660;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-mission-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 32px;
}

/* Mission cards */
.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 60px;
}
.about-mission-card {}
.about-mission-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--clr-beige);
  margin-bottom: 16px;
}
.about-mission-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-mission-card__title { font-size: var(--fs-md); font-weight: 500; text-transform: uppercase; letter-spacing: var(--ls-tight); margin: 0 0 8px; }
.about-mission-card__text { font-size: var(--fs-sm); color: #6b6660; line-height: 1.6; margin: 0; }

/* Dark collections banner */
.about-collections-banner {
  background: var(--clr-dark);
  color: var(--clr-beige);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  margin-bottom: 60px;
}
.about-collections-banner__content {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.about-collections-banner__title { font-size: var(--fs-xl); font-weight: 400; text-transform: uppercase; margin: 0; }
.about-collections-banner__text { font-size: var(--fs-sm); opacity: .7; line-height: 1.6; margin: 0; }
.about-collections-banner__img {
  overflow: hidden;
}
.about-collections-banner__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Recommend section */
.about-recommend { padding: 20px 0 60px; }

/* ═══════════════════════════════════════════════
   NEWS PAGE
═══════════════════════════════════════════════ */
.news-header {
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--clr-border);
}
.news-page-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  padding: 40px 0 60px;
}

.news-card {
  display: block;
  text-decoration: none;
  color: var(--clr-dark);
}
.news-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
  margin-bottom: 16px;
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card:hover .news-card__img img { transform: scale(1.03); }
.news-card__title { font-size: var(--fs-md); font-weight: 400; margin: 0 0 8px; line-height: 1.4; }
.news-card__excerpt { font-size: var(--fs-sm); color: #6b6660; line-height: 1.6; margin: 0 0 12px; }
.news-card__link { font-size: var(--fs-sm); color: var(--clr-dark); text-decoration: underline; text-underline-offset: 3px; }
.news-card:hover .news-card__link { text-decoration: none; }

.news-load-more-wrap { text-align: center; padding: 0 0 40px; }
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 0 40px;
  font-size: var(--fs-sm);
}

/* ── News Article ── */
.article-header { padding: 32px 0 24px; }
.article-title { font-size: 28px; font-weight: 400; margin: 0; }

.article-body {
  max-width: 900px;
}
.article-body p { font-size: var(--fs-sm); line-height: 1.7; color: #4a4642; margin: 0 0 20px; }
.article-body h3 { font-size: var(--fs-md); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; margin: 32px 0 12px; }
.article-img {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
  margin: 28px 0;
}
.article-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.also-read-title { font-size: var(--fs-lg); font-weight: 400; text-transform: uppercase; margin: 0; }
.also-read-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0 60px;
}
.also-read-card { display: block; text-decoration: none; color: var(--clr-dark); }
.also-read-card__img { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-sm); background: var(--clr-beige); margin-bottom: 12px; }
.also-read-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.also-read-card:hover .also-read-card__img img { transform: scale(1.04); }
.also-read-card__title { font-size: var(--fs-sm); margin: 0 0 6px; line-height: 1.4; }
.also-read-card__link { font-size: var(--fs-xs); color: #9a9590; text-decoration: underline; }

/* ═══════════════════════════════════════════════
   CLIENT SERVICES PAGES (Delivery/Payment/Return/Care)
═══════════════════════════════════════════════ */

/* ── Client services landing tiles ── */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  margin: 40px 0 60px;
}
.service-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: #fff;
  text-decoration: none;
  color: var(--clr-dark);
  font-size: var(--fs-lg);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  transition: background .2s;
}
.service-tile:hover { background: var(--clr-beige); color: var(--clr-dark); }

/* ── Two-column service layout (sidebar + content) ── */
.service-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 40px 0 60px;
  align-items: start;
}
@media (max-width: 768px) {
  .service-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Sidebar nav ── */
.service-sidebar { position: sticky; top: 100px; }
.service-sidebar__nav { list-style: none; padding: 0; margin: 0; }
.service-sidebar__item { padding: 0; }
.service-sidebar__link {
  display: block;
  font-size: var(--fs-sm);
  color: #9a9590;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  padding: 6px 0;
  transition: color .15s;
}
.service-sidebar__link:hover { color: var(--clr-dark); }
.service-sidebar__link.is-active {
  color: var(--clr-dark);
  font-weight: 500;
}

/* ── Service content area ── */
.service-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 24px;
}
.service-intro {
  font-size: var(--fs-sm);
  color: #4a4642;
  line-height: 1.7;
  max-width: 840px;
  margin: 0 0 32px;
}

/* ── Service accordion ── */
.service-accordion { border-top: 1px solid var(--clr-border); }
.service-accordion__item { border-bottom: 1px solid var(--clr-border); }
.service-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--clr-dark);
  cursor: pointer;
  text-align: left;
}
.service-accordion__icon {
  flex-shrink: 0;
  transition: transform .25s ease;
}
.service-accordion__item.is-open .service-accordion__icon { transform: rotate(180deg); }
.service-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.service-accordion__body.is-open { max-height: 2000px; }
.service-accordion__content {
  padding-bottom: 24px;
  font-size: var(--fs-sm);
  color: #4a4642;
  line-height: 1.7;
}

/* ── Delivery table rows ── */
.delivery-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.delivery-table td {
  padding: 5px 0;
  font-size: var(--fs-sm);
  vertical-align: top;
  line-height: 1.5;
}
.delivery-table td:first-child {
  width: 200px;
  color: #9a9590;
  white-space: nowrap;
}

/* ── Return / Care bullet list ── */
.service-list {
  padding: 0 0 0 20px;
  margin: 0 0 16px;
}
.service-list li {
  font-size: var(--fs-sm);
  color: #4a4642;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ── Care icons row ── */
.care-icons {
  display: flex;
  gap: 16px;
  margin: 16px 0;
  font-size: 22px;
  color: var(--clr-dark);
}

/* ── Payment logos ── */
.payment-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.payment-logo {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--clr-dark);
}

/* ═══════════════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════════════ */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  padding: 40px 0 60px;
  align-items: start;
}
@media (max-width: 992px) {
  .contacts-layout { grid-template-columns: 1fr; }
}

.contacts-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 16px;
}
.contacts-intro {
  font-size: var(--fs-sm);
  color: #4a4642;
  line-height: 1.7;
  margin: 0 0 28px;
}
.contacts-block { margin-bottom: 24px; }
.contacts-block__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin: 0 0 6px;
}
.contacts-block p,
.contacts-block a {
  font-size: var(--fs-sm);
  color: #4a4642;
  line-height: 1.7;
  display: block;
  text-decoration: none;
  margin: 0;
}
.contacts-block a:hover { color: var(--clr-dark); text-decoration: underline; }
.contacts-block a[href^="tel"] { color: var(--clr-dark); font-weight: 400; }

/* ── Question form card ── */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 30px;
  align-self: start;
}
.contact-form-card__title {
  font-size: var(--fs-md);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 24px;
}
.contact-form-field { margin-bottom: 20px; }
.contact-form-field label {
  display: block;
  font-size: var(--fs-xs);
  color: #9a9590;
  margin-bottom: 8px;
}
.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--clr-border);
  border-radius: 0;
  padding: 6px 16px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus { border-bottom-color: var(--clr-dark); }
.contact-form-field textarea {
  resize: none;
  min-height: 80px;
}
/* Counter inside textarea wrapper */
.contact-form-textarea-wrap {
  position: relative;
}
.contact-form-textarea-wrap textarea {
  padding-bottom: 22px; /* space for counter */
}
.contact-form-counter {
  position: absolute;
  bottom: 6px;
  right: 16px;
  font-size: 11px;
  color: #9a9590;
  pointer-events: none;
}
.contact-form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-xs);
  color: #4a4642;
  margin-bottom: 20px;
  cursor: pointer;
  line-height: 1.5;
}
.contact-form-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--clr-dark);
  cursor: pointer;
}
.contact-form-agree a { color: var(--clr-dark); }

/* ═══════════════════════════════════════════════
   PRIVACY POLICY PAGE
═══════════════════════════════════════════════ */
.policy-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--clr-border);
}
.policy-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}
.policy-body {
  max-width: 900px;
  padding: 40px 0 60px;
}
.policy-body p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: #4a4642;
  margin: 0 0 16px;
}
.policy-body h3 {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin: 28px 0 8px;
  color: var(--clr-dark);
}
.policy-body a { color: var(--clr-dark); }

/* ═══════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════ */
.error-404-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 80px;
}
.error-404__num {
  font-size: 120px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.error-404__title {
  font-size: var(--fs-lg);
  font-weight: 400;
  margin: 0 0 12px;
}
.error-404__text {
  font-size: var(--fs-sm);
  color: #6b6660;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 0 32px;
}
.error-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 40px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: var(--radius-md);
  letter-spacing: 0.04em;
  transition: opacity .15s;
}
.error-404__btn:hover { opacity: .85; color: var(--clr-beige); }


/* ═══════════════════════════════════════════════
   WISHLIST / FAVOURITES PAGE
═══════════════════════════════════════════════ */
.wishlist-header {
  padding: 24px 0 0;
}
.wishlist-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}
.wishlist-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}
.wishlist-count {
  font-size: var(--fs-sm);
  color: #9a9590;
  margin-left: 12px;
}
.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wishlist-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  font-size: var(--fs-xs);
  color: var(--clr-dark);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .15s;
}
.wishlist-action-btn:hover { border-color: var(--clr-dark); color: var(--clr-dark); }
.wishlist-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  background: none;
  border: none;
  cursor: pointer;
}
.wishlist-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--clr-border);
}

/* Empty state (shared) */
.page-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px 80px;
}
.page-empty-state__text {
  font-size: var(--fs-md);
  color: #6b6660;
  margin: 0 0 28px;
}
.page-empty-state__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 40px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: var(--radius-md);
  letter-spacing: 0.04em;
  transition: opacity .15s;
}
.page-empty-state__btn:hover { opacity: .85; color: var(--clr-beige); }

/* Wishlist product grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 20px 0 40px;
}
@media (max-width: 992px) { .wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .wishlist-grid { grid-template-columns: repeat(2, 1fr); } }

.wishlist-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 60px;
}

/* ═══════════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════════ */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 0;
}
.cart-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}
.cart-share-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--clr-dark);
  opacity: .6;
  transition: opacity .2s;
}
.cart-share-btn:hover { opacity: 1; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 28px 0 60px;
  align-items: start;
}
@media (max-width: 1100px) { .cart-layout { grid-template-columns: 1fr 320px; gap: 24px; } }
@media (max-width: 768px) { .cart-layout { grid-template-columns: 1fr; } }

/* Cart item row */
.cart-items { border-top: 1px solid var(--clr-border); }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
}
.cart-item__img {
  width: 88px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
  flex-shrink: 0;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__body { display: flex; flex-direction: column; gap: 6px; padding-right: 28px; }
.cart-item__name {
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.35;
}
.cart-item__meta {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin: 0;
}
.cart-item__attr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--clr-dark);
}
.cart-item__attr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.cart-item__select {
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  color: var(--clr-dark);
  background: #fff url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L7 1' stroke='%23282622' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}
.cart-item__qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  width: fit-content;
  height: 32px;
  overflow: hidden;
}
.cart-item__qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-dark);
  transition: background .15s;
}
.cart-item__qty-btn:hover { background: var(--clr-beige); }
.cart-item__qty-val {
  width: 32px;
  text-align: center;
  font-size: var(--fs-sm);
  border-left: 1px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
  line-height: 30px;
}
.cart-item__price {
  font-size: var(--fs-md);
  font-weight: 400;
  margin: 0;
}
.cart-item__price--sale { color: var(--clr-sale); }
.cart-item__price-old {
  font-size: var(--fs-xs);
  color: #9a9590;
  text-decoration: line-through;
}
.cart-item__remove {
  position: absolute;
  top: 20px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #9a9590;
  transition: color .15s;
  line-height: 1;
}
.cart-item__remove:hover { color: var(--clr-dark); }

/* Cart summary panel */
.cart-summary {
  position: sticky;
  top: 100px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.cart-summary__title {
  font-size: var(--fs-md);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 16px;
}
.cart-summary__thumbs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.cart-summary__thumb {
  width: 60px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
  flex-shrink: 0;
}
.cart-summary__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--fs-sm);
  margin-bottom: 8px;
}
.cart-summary__row--discount { color: var(--clr-sale); }
.cart-summary__divider { border: none; border-top: 1px solid var(--clr-border); margin: 12px 0; }
.cart-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cart-summary__total-label { font-size: var(--fs-sm); font-weight: 500; }
.cart-summary__total-price { font-size: var(--fs-lg); font-weight: 400; }
.cart-summary__total-old {
  font-size: var(--fs-xs);
  color: #9a9590;
  text-decoration: line-through;
  margin-right: 8px;
}
.cart-summary__bonus {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin: 0 0 16px;
}
.cart-summary__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-xs);
  color: #4a4642;
  margin-bottom: 14px;
  cursor: pointer;
  line-height: 1.5;
}
.cart-summary__consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--clr-dark);
}
.cart-summary__consent a { color: var(--clr-dark); }
.cart-summary__btn {
  display: block;
  width: 100%;
  height: 46px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 46px;
  transition: opacity .15s;
  font-family: inherit;
  margin-bottom: 10px;
}
.cart-summary__btn:hover { opacity: .85; color: var(--clr-beige); }
.cart-summary__btn--outline {
  background: #fff;
  color: var(--clr-dark);
  border: 1px solid var(--clr-border);
}
.cart-summary__btn--outline:hover { border-color: var(--clr-dark); color: var(--clr-dark); opacity: 1; }

/* Cart summary mini-accordion (promo/bonus/gift) */
.cart-accordion { border-top: 1px solid var(--clr-border); margin-top: 10px; }
.cart-accordion__item { border-bottom: 1px solid var(--clr-border); }
.cart-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: var(--fs-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-dark);
  cursor: pointer;
  font-family: inherit;
}
.cart-accordion__icon { transition: transform .2s; flex-shrink: 0; }
.cart-accordion__item.is-open .cart-accordion__icon { transform: rotate(180deg); }
.cart-accordion__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.cart-accordion__body.is-open { max-height: 200px; }
.cart-accordion__content { padding-bottom: 16px; }
.cart-accordion__input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cart-accordion__input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-family: inherit;
  color: var(--clr-dark);
}
.cart-accordion__input:focus { outline: none; border-color: var(--clr-dark); }
.cart-accordion__apply {
  height: 38px;
  padding: 0 14px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity .15s;
}
.cart-accordion__apply:hover { opacity: .85; }
.cart-accordion__note {
  font-size: var(--fs-xs);
  color: #6b6660;
  margin: 8px 0 0;
}
.cart-accordion__bonus-avail {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin-bottom: 10px;
}
.cart-accordion__bonus-val {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--clr-dark);
}

/* ═══════════════════════════════════════════════
   CHECKOUT (Cart/Order) PAGE
═══════════════════════════════════════════════ */
.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: #9a9590;
  text-decoration: none;
  padding: 20px 0 0;
}
.checkout-back:hover { color: var(--clr-dark); }
.checkout-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 12px 0 32px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  padding-bottom: 60px;
  align-items: start;
}
@media (max-width: 1100px) { .checkout-layout { grid-template-columns: 1fr 320px; gap: 32px; } }
@media (max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } }

.checkout-section {
  margin-bottom: 32px;
}
.checkout-section-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 18px;
}
.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-fields--full { grid-template-columns: 1fr; }
.checkout-field { display: flex; flex-direction: column; gap: 5px; }
.checkout-field label { font-size: var(--fs-xs); color: #9a9590; }
.checkout-field input,
.checkout-field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-family: inherit;
  color: var(--clr-dark);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.checkout-field input:focus,
.checkout-field textarea:focus { border-color: var(--clr-dark); }
.checkout-field textarea { height: 80px; padding: 12px 14px; resize: vertical; }
.checkout-phone-wrap { position: relative; }
.checkout-phone-flag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}
.checkout-field input[type="tel"] { padding-left: 36px; }
.checkout-autofill {
  font-size: var(--fs-xs);
  color: var(--clr-dark);
  text-decoration: none;
  display: inline-block;
  margin: 4px 0 12px;
}
.checkout-autofill:hover { text-decoration: underline; }
.checkout-counter {
  text-align: right;
  font-size: var(--fs-xs);
  color: #9a9590;
  margin-top: 4px;
}

/* Delivery & Payment options */
.checkout-options { display: flex; flex-direction: column; gap: 8px; }
.checkout-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color .15s;
}
.checkout-option:hover { border-color: var(--clr-dark); }
.checkout-option.is-selected { border-color: var(--clr-dark); }
.checkout-option__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.checkout-option.is-selected .checkout-option__radio {
  border-color: var(--clr-dark);
  background: var(--clr-dark);
  box-shadow: inset 0 0 0 3px #fff;
}
.checkout-option__text { flex: 1; }
.checkout-option__label {
  font-size: var(--fs-sm);
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}
.checkout-option__note {
  font-size: var(--fs-xs);
  color: #9a9590;
  display: block;
}
.checkout-option__price {
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  color: var(--clr-dark);
}
.checkout-option__price--free { color: #4a9c6c; }

/* ═══════════════════════════════════════════════
   ORDER COMPLETE PAGE
═══════════════════════════════════════════════ */
.order-complete {
  padding: 40px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}
.order-complete__header {
  text-align: center;
  padding-bottom: 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--clr-border);
}
.order-complete__title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 12px;
}
.order-complete__note {
  font-size: var(--fs-sm);
  color: #6b6660;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}
.order-complete__note a { color: var(--clr-dark); }
.order-complete__btn--dark {
  background: var(--clr-dark);
  color: var(--clr-beige);
  border-color: var(--clr-dark);
}
.order-complete__btn--dark:hover { opacity: .85; color: var(--clr-beige); }
.order-complete__heading {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  text-align: center;
  margin: 0 0 40px;
}
.order-complete__num {
  font-size: var(--fs-md);
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 24px;
  letter-spacing: 0.03em;
}
.order-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.order-items-table th {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: #9a9590;
  text-align: left;
  padding: 0 12px 12px 0;
  border-bottom: 1px solid var(--clr-border);
}
.order-items-table td {
  font-size: var(--fs-sm);
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
}
.order-items-table .item-img {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
}
.order-items-table .item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.order-items-table .item-name { font-weight: 400; display: block; margin-bottom: 4px; }
.order-items-table .item-art { font-size: var(--fs-xs); color: #9a9590; }
.order-items-table .item-price { white-space: nowrap; font-weight: 400; }

.order-info-section { margin-bottom: 28px; }
.order-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 0;
  font-size: var(--fs-sm);
  padding: 20px 0;
  border-top: 1px solid var(--clr-border);
}
.order-info-grid dt { color: #9a9590; }
.order-info-grid dd { margin: 0; font-weight: 400; }

.order-cost-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 0;
  font-size: var(--fs-sm);
  padding: 20px 0;
  border-top: 1px solid var(--clr-border);
}
.order-cost-list dt { color: #6b6660; }
.order-cost-list dd { margin: 0; text-align: right; }
.order-cost-list dd.is-discount { color: var(--clr-sale); }
.order-cost-list .order-total dt,
.order-cost-list .order-total dd { font-size: var(--fs-md); font-weight: 500; color: var(--clr-dark); padding-top: 8px; border-top: 1px solid var(--clr-border); }

.order-complete__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  justify-content: center;
}
.order-complete__btn {
  height: 46px;
  padding: 0 32px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  background: #fff;
  color: var(--clr-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s;
}
.order-complete__btn:hover { border-color: var(--clr-dark); color: var(--clr-dark); }

/* ═══════════════════════════════════════════════
   ORDER FAILED PAGE
═══════════════════════════════════════════════ */
.order-failed-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 100px;
}
.order-failed__title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 20px;
}
.order-failed__text {
  font-size: var(--fs-sm);
  color: #6b6660;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 36px;
}
.order-failed__icon {
  margin-bottom: 28px;
  opacity: .7;
}
.order-failed__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 36px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  text-decoration: none;
  border: 1px solid var(--clr-dark);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  transition: opacity .15s;
}
.order-failed__btn:hover { opacity: .85; color: var(--clr-beige); }
.order-failed__btn--outline {
  background: #fff;
  color: var(--clr-dark);
  border-color: var(--clr-border);
}
.order-failed__btn--outline:hover { border-color: var(--clr-dark); color: var(--clr-dark); opacity: 1; }

/* ═══════════════════════════════════════════════
   CART PAGE – REDESIGNED TO MATCH FIGMA
═══════════════════════════════════════════════ */

/* Page title row */
.cart-page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 0;
}
.cart-page-title {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}
.cart-page-share {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-dark);
  padding: 4px;
  display: flex;
  align-items: center;
  opacity: .6;
  transition: opacity .15s;
}
.cart-page-share:hover { opacity: 1; }

/* 2-column cart layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0 52px;
  padding: 24px 0 60px;
  align-items: start;
}
@media (max-width: 1100px) { .cart-layout { grid-template-columns: 1fr 360px; gap: 0 32px; } }
@media (max-width: 860px)  { .cart-layout { grid-template-columns: 1fr; } }

/* Cart items list */
.cart-items { border-top: 1px solid var(--clr-border); }

/* Individual cart item */
.cart-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
}

.cart-item__img {
  width: 160px;
  height: 240px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
  flex-shrink: 0;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Item body */
.cart-item__body {
  display: flex;
  flex-direction: column;
  padding-right: 28px; /* space for × */
  min-width: 0;
}

/* × remove button — absolute top-right */
.cart-item__remove {
  position: absolute;
  top: 28px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #9a9590;
  line-height: 1;
  transition: color .15s;
}
.cart-item__remove:hover { color: var(--clr-dark); }

/* Product name */
.cart-item__name {
  font-size: var(--fs-md);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 6px;
  line-height: 1.3;
}
.cart-item__name a { color: inherit; text-decoration: none; }

/* Article number */
.cart-item__art {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin: 0 0 16px;
}

/* Attribute rows: Цвет / Размер / Количество */
.cart-item__attrs {
  border-top: 1px solid var(--clr-border);
  margin-bottom: auto;
}
.cart-item__attr-row {
  display: flex;
  align-items: center;
  height: 40px;
  border-bottom: 1px solid var(--clr-border);
}
.cart-item__attr-label {
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  width: 110px;
  flex-shrink: 0;
}
.cart-item__attr-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
}
.cart-item__color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.08);
}

/* Size dropdown – borderless, inline */
.cart-item__size-select {
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L7 1' stroke='%23282622' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 4px center;
  appearance: none;
  padding: 0 20px 0 0;
  font-size: var(--fs-sm);
  font-family: inherit;
  color: var(--clr-dark);
  cursor: pointer;
  outline: none;
}
.cart-item__size-select:hover { border-bottom-color: var(--clr-border); }

/* Qty stepper */
.cart-item__qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  height: 32px;
  overflow: hidden;
  width: fit-content;
}
.cart-item__qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-dark);
  transition: background .15s;
}
.cart-item__qty-btn:hover { background: var(--clr-beige); }
.cart-item__qty-val {
  width: 32px;
  text-align: center;
  font-size: var(--fs-sm);
  border-left: 1px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
  line-height: 30px;
}

/* Price row */
.cart-item__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cart-item__price {
  font-size: var(--fs-lg);
  font-weight: 400;
  margin: 0;
}
.cart-item__price--sale { color: var(--clr-sale); }
.cart-item__price-old {
  font-size: var(--fs-sm);
  color: #9a9590;
  text-decoration: line-through;
}
.cart-item__price-pct {
  font-size: var(--fs-xs);
  color: var(--clr-sale);
}

/* ── SUMMARY PANEL ── */
.cart-summary {
  position: sticky;
  top: 100px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 28px 28px 0;
}

/* Cost rows */
.cart-summary__rows { margin-bottom: 0; }
.cart-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--fs-sm);
  padding: 5px 0;
}
.cart-summary__label { color: var(--clr-dark); }
.cart-summary__val { color: var(--clr-dark); }
.cart-summary__val--disc { color: var(--clr-sale); }

/* Divider above Итого */
.cart-summary__divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin: 12px 0 0;
}

/* Итого row: label left, old+new prices right */
.cart-summary__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0 4px;
}
.cart-summary__total-label {
  font-size: var(--fs-md);
  font-weight: 400;
}
.cart-summary__total-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cart-summary__total-old {
  font-size: var(--fs-sm);
  color: #9a9590;
  text-decoration: line-through;
}
.cart-summary__total-new {
  font-size: var(--fs-lg);
  font-weight: 400;
}

/* "Вернется баллами" row */
.cart-summary__bonus-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #9a9590;
  padding-bottom: 16px;
}
.cart-summary__bonus-val { color: #b59560; font-size: var(--fs-sm); }

/* Consent checkbox */
.cart-summary__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-xs);
  color: #4a4642;
  margin: 0 0 14px;
  cursor: pointer;
  line-height: 1.5;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
}
.cart-summary__agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--clr-dark);
}
.cart-summary__agree a { color: var(--clr-dark); }

/* CTA buttons */
.cart-summary__btn {
  display: block;
  width: 100%;
  height: 46px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 46px;
  transition: opacity .15s;
  font-family: inherit;
  margin-bottom: 10px;
}
.cart-summary__btn:hover { opacity: .85; color: var(--clr-beige); }
.cart-summary__btn--outline {
  background: #fff;
  color: var(--clr-dark);
  border: 1px solid var(--clr-border);
  line-height: 44px;
}
.cart-summary__btn--outline:hover { border-color: var(--clr-dark); color: var(--clr-dark); opacity: 1; }

/* Accordion wrapper needs margin for the panel */
.cart-summary > .cart-accordion:first-of-type { margin-top: 4px; }

.cart-accordion__inner { padding-bottom: 14px; }

/* ═══════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════ */
.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: #9a9590;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 24px 0 20px;
  transition: color .15s;
}
.checkout-back-link:hover { color: var(--clr-dark); }
.checkout-section-title {
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0 0 14px;
  padding-top: 28px;
}
.checkout-section-title:first-child { padding-top: 0; }
.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-field label {
  font-size: var(--fs-xs);
  color: #9a9590;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.checkout-field input,
.checkout-field textarea,
.checkout-field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  font-family: inherit;
  background: #fff;
  transition: border-color .15s;
  appearance: none;
}
.checkout-field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 80px;
}
.checkout-field input:focus,
.checkout-field textarea:focus,
.checkout-field select:focus { outline: none; border-color: var(--clr-dark); }
.checkout-field select {
  background: #fff url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L7 1' stroke='%23282622' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
}
.checkout-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.checkout-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color .15s;
  user-select: none;
}
.checkout-option:hover { border-color: #888; }
.checkout-option.is-selected { border-color: var(--clr-dark); }
.checkout-option__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
}
.checkout-option.is-selected .checkout-option__radio {
  border-color: var(--clr-dark);
  background: var(--clr-dark);
  box-shadow: inset 0 0 0 3px #fff;
}
.checkout-option__info { flex: 1; }
.checkout-option__name {
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  margin: 0 0 2px;
  font-weight: 400;
}
.checkout-option__desc {
  font-size: var(--fs-xs);
  color: #9a9590;
  margin: 0;
}
.checkout-option__price {
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  white-space: nowrap;
}
.checkout-submit-btn {
  display: block;
  width: 100%;
  height: 50px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  transition: opacity .15s;
  margin-top: 24px;
}
.checkout-submit-btn:hover { opacity: .85; }
.checkout-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-xs);
  color: #4a4642;
  line-height: 1.5;
  margin-top: 14px;
}
.checkout-agree input { accent-color: var(--clr-dark); margin-top: 2px; flex-shrink: 0; }
.checkout-agree a { color: var(--clr-dark); }

/* Checkout summary side panel */
.checkout-summary-items {
  border-top: 1px solid var(--clr-border);
  margin-bottom: 16px;
}
.checkout-summary-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--clr-border);
}
.checkout-summary-item__img {
  width: 52px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-beige);
}
.checkout-summary-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.checkout-summary-item__name {
  font-size: var(--fs-xs);
  color: var(--clr-dark);
  margin: 0 0 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.checkout-summary-item__meta { font-size: 11px; color: #9a9590; margin: 0; }

/* ═══════════════════════════════════════════════
   LIGHTBOX — попап-галерея товара (Figma 6:15495 Product/Photo)
   Сетка: миниатюры 165px | сцена (фото + нижняя панель) | зум 120px
═══════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #fff;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  color: var(--clr-dark);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--clr-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: .8;
  transition: opacity .15s;
}
.lightbox__close:hover { opacity: 1; }

/* Миниатюры слева: 105×143, стрелки сверху и снизу */
.lightbox__thumbs {
  width: 165px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 24px;
  gap: 6px;
}
.lightbox__thumbs-arrow {
  background: none;
  border: none;
  color: var(--clr-dark);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
  transition: opacity .15s;
  flex-shrink: 0;
}
.lightbox__thumbs-arrow:hover { opacity: 1; }
.lightbox__thumbs-track {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.lightbox__thumbs-track::-webkit-scrollbar { display: none; }
.lightbox__thumb {
  width: 105px;
  height: 143px;
  object-fit: cover;
  cursor: pointer;
  opacity: .55;
  flex-shrink: 0;
  transition: opacity .15s;
  display: block;
  border-radius: 2px;
}
.lightbox__thumb.is-active,
.lightbox__thumb:hover { opacity: 1; }

/* Сцена: фото и нижняя панель под ним */
.lightbox__stage {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0 60px; /* в полях сидят стрелки листания */
}
.lightbox__main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  position: relative;
}
.lightbox__img-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .2s ease;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}
.lightbox__img.is-zoomed { cursor: grab; }
.lightbox__img.is-zoomed:active { cursor: grabbing; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--clr-dark);
  cursor: pointer;
  padding: 12px;
  z-index: 1;
  opacity: .7;
  transition: opacity .15s;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: -52px; }
.lightbox__nav--next { right: -52px; }

/* Зум: единый блок с рамкой, «+» / процент / «−» */
.lightbox__zoom {
  width: 120px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox__zoom-btn,
.lightbox__zoom-val {
  width: 57px;
  background: #fff;
  border: 1px solid #dfdddd;
  color: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.lightbox__zoom-btn {
  height: 48px;
  cursor: pointer;
  transition: background .15s;
}
.lightbox__zoom-btn:first-child { border-radius: 4px 4px 0 0; border-bottom: 0; }
.lightbox__zoom-btn:last-child  { border-radius: 0 0 4px 4px; border-top: 0; }
.lightbox__zoom-btn:hover { background: #f4f3f1; }
.lightbox__zoom-val {
  height: 48px;
  font-size: 13px;
  white-space: nowrap;
}

/* Нижняя панель: описание слева, кнопка и сердце справа */
.lightbox__bottom {
  height: 60px;
  border: 1px solid #e4e2df;
  border-top: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  flex-shrink: 0;
  background: #fff;
}
.lightbox__caption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--clr-dark);
  margin: 0;
  flex: 1;
  max-width: 435px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lightbox__caption:empty { display: none; }
.lightbox__bottom-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}
.lightbox__btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 400px;
}
.lightbox__btn-row .product-btn-cart,
.lightbox__btn-row .product-btn-buy {
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 16px;
}
.lightbox__btn-row .product-btn-cart:hover { color: var(--clr-dark); }
.lightbox__btn-row .product-btn-buy:hover { color: var(--clr-beige); }
.lightbox__wish-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-dark);
}
.lightbox__wish-btn.voted svg { fill: currentColor; }

@media (max-width: 991.98px) {
  .lightbox__thumbs { width: 120px; }
  .lightbox__thumb { width: 80px; height: 109px; }
  .lightbox__zoom { width: 90px; }
  .lightbox__stage { padding: 0 48px; }
  .lightbox__nav--prev { left: -44px; }
  .lightbox__nav--next { right: -44px; }
  .lightbox__btn-row { width: auto; }
}

/* Мобильный: фото на весь экран, миниатюры внизу лентой, зум скрыт (щипок и свайп) */
@media (max-width: 767.98px) {
  .lightbox { flex-direction: column; }
  .lightbox__close { top: 12px; right: 8px; }
  .lightbox__zoom { display: none; }
  .lightbox__stage { order: 1; flex: 1; min-height: 0; padding: 0; }
  .lightbox__main { padding: 52px 0 0; }
  .lightbox__nav { padding: 8px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__thumbs {
    order: 2;
    width: 100%;
    flex-direction: row;
    padding: 10px 12px;
    gap: 4px;
  }
  .lightbox__thumbs-arrow { display: none; }
  .lightbox__thumbs-track {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    justify-content: flex-start;
  }
  .lightbox__thumb { width: 52px; height: 70px; }
  .lightbox__bottom {
    height: auto;
    min-height: 60px;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #e4e2df;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .lightbox__caption { flex: 1 1 100%; max-width: none; -webkit-line-clamp: 2; }
  .lightbox__bottom-actions { flex: 1 1 100%; margin-left: 0; gap: 12px; }
  .lightbox__btn-row { flex: 1; width: auto; }
  .lightbox__btn-row .product-btn-cart,
  .lightbox__btn-row .product-btn-buy { padding: 0 8px; font-size: 12px; }
}

/* ═══════════════════════════════════════
   AUTH DRAWER
═══════════════════════════════════════ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1090;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.auth-overlay.is-open { opacity: 1; pointer-events: auto; }

.auth-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.auth-drawer.is-open { transform: translateX(0); }

.auth-drawer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  min-height: 64px;
}
.auth-drawer__back,
.auth-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--clr-dark);
  display: flex;
  align-items: center;
  line-height: 1;
}

.auth-step { padding: 0 48px 48px; }

.auth-step__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
}
.auth-step__subtitle {
  font-size: 13px;
  text-align: center;
  color: var(--clr-dark);
  line-height: 1.55;
  margin-bottom: 32px;
}

.auth-phone-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 20px;
  padding-bottom: 10px;
  gap: 8px;
}
.auth-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}
.auth-phone-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--clr-dark);
  background: transparent;
  min-width: 0;
}
.auth-phone-input::placeholder { color: #bbb; }

.auth-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--clr-dark);
  margin-bottom: 20px;
  cursor: pointer;
}
.auth-consent-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.auth-consent-box {
  width: 18px; height: 18px; min-width: 18px;
  border: 1px solid var(--clr-border);
  border-radius: 3px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.auth-consent-label input:checked ~ .auth-consent-box { background: var(--clr-dark); border-color: var(--clr-dark); }
.auth-consent-label input:checked ~ .auth-consent-box::after {
  content: '';
  display: block;
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.auth-consent-label a { color: var(--clr-dark); text-decoration: underline; }

.auth-submit-btn {
  width: 100%;
  height: 52px;
  background: var(--clr-dark);
  color: var(--clr-beige);
  border: none;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .15s;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.auth-submit-btn:hover { opacity: .85; }

.auth-or { text-align: center; font-size: 13px; color: #aaa; margin-bottom: 16px; }

.auth-tg-btn {
  width: 100%;
  height: 52px;
  background: #2AABEE;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .15s;
}
.auth-tg-btn:hover { opacity: .9; }

.auth-otp-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.auth-otp-box {
  width: 64px; height: 64px;
  border: 1px solid var(--clr-border);
  font-size: 24px;
  font-family: inherit;
  color: var(--clr-dark);
  text-align: center;
  outline: none;
  background: transparent;
  transition: border-color .15s;
  -moz-appearance: textfield;
}
.auth-otp-box::-webkit-inner-spin-button,
.auth-otp-box::-webkit-outer-spin-button { -webkit-appearance: none; }
.auth-otp-box:focus { border-color: var(--clr-dark); }

.auth-resend { text-align: center; font-size: 13px; color: #888; }

@media (max-width: 575px) {
  .auth-drawer { width: 100%; }
  .auth-step { padding: 0 24px 40px; }
  .auth-otp-box { width: 56px; height: 56px; font-size: 20px; }
}

/* ═══════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════ */
.profile-wrap { padding: 40px 0 80px; }

/* шаблон кабинета использует .profile-page — без отступа контент упирался в шапку */
.profile-page { padding: 32px 0 80px; }

/* у страницы избранного отступа тоже не было — заголовок упирался в шапку */
.wishlist-page { padding: 32px 0 80px; }
.wishlist-empty { color: var(--clr-muted); }

/* Избранное: кнопка «Поделиться» в строке заголовка, подпись чужого списка */
.wishlist-share {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--clr-border); border-radius: var(--radius-md);
  padding: 9px 16px; font-family: inherit; font-size: var(--fs-sm); color: var(--clr-dark);
  cursor: pointer; transition: border-color .15s;
}
.wishlist-share:hover { border-color: var(--clr-dark); }
.wishlist-share svg { flex-shrink: 0; }
.wishlist-share.is-copied { border-color: var(--clr-dark); }
.wishlist-shared-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--clr-border); border-radius: var(--radius-md);
  font-size: var(--fs-sm); color: var(--clr-muted);
}
.wishlist-shared-note a { color: var(--clr-dark); text-decoration: underline; white-space: nowrap; }
@media (max-width: 575.98px) {
  .wishlist-share span { display: none; }
  .wishlist-share { padding: 9px 11px; }
}

.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 60px;
  align-items: start;
}

.profile-sidebar__nav { list-style: none; padding: 0; margin: 0; }

.profile-nav-link {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  padding: 9px 0;
  transition: color .15s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.profile-nav-link:hover { color: var(--clr-dark); }
.profile-nav-link.is-active { color: var(--clr-dark); font-weight: 600; }

.profile-section { display: none; }
.profile-section.is-active { display: block; }

.profile-section__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Personal Info */
.profile-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.profile-field { margin-bottom: 28px; }
.profile-field__label { font-size: 12px; color: #888; letter-spacing: .03em; margin-bottom: 8px; display: block; }
.profile-field__wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 8px;
  gap: 8px;
}
.profile-field__input {
  flex: 1; border: none; outline: none;
  font-size: 14px; font-family: inherit;
  color: var(--clr-dark); background: transparent; min-width: 0;
}
.profile-field__input::placeholder { color: #c8c8c8; }
.profile-field__icon { color: #bbb; display: flex; align-items: center; flex-shrink: 0; }
.profile-field__edit-btn {
  background: none; border: none; padding: 2px; cursor: pointer;
  color: #aaa; display: flex; align-items: center; transition: color .15s;
}
.profile-field__edit-btn:hover { color: var(--clr-dark); }
.profile-save-btn {
  height: 48px; padding: 0 40px;
  background: var(--clr-dark); color: var(--clr-beige);
  border: none; font-size: 13px; font-family: inherit;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: opacity .15s; margin-top: 8px;
}
.profile-save-btn:hover { opacity: .85; }

/* Orders */
.order-card { border-bottom: 1px solid var(--clr-border); padding: 24px 0; }
.order-card:first-child { border-top: 1px solid var(--clr-border); }
.order-card__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.order-card__number { font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.order-card__total { font-size: 14px; font-weight: 600; }
.order-card__sub { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.order-card__date { font-size: 13px; color: #888; }
.order-status { font-size: 13px; font-weight: 500; }
.order-status--done { color: #2a7a2a; }
.order-status--cancelled { color: #c0392b; }
.order-thumbs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.order-thumb { width: 64px; height: 80px; object-fit: cover; background: var(--clr-beige); }
.order-card__bottom { text-align: right; }
.order-details-btn {
  background: none; border: none; font-size: 13px; font-family: inherit;
  color: var(--clr-dark); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; padding: 0;
}
.order-details-btn:hover { text-decoration: underline; }

.order-detail-panel { display: none; }
.order-detail-panel.is-open { display: block; }
.order-back-btn {
  background: none; border: none; font-size: 13px; font-family: inherit;
  cursor: pointer; display: inline-flex; align-items: center;
  gap: 6px; padding: 0; color: var(--clr-dark); margin-bottom: 24px;
}
.order-back-btn:hover { text-decoration: underline; }
.order-detail__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.order-detail__title { font-size: 17px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.order-detail__date { font-size: 13px; color: #888; margin-bottom: 4px; }
.order-detail__count { font-size: 13px; color: #888; margin-bottom: 24px; }

.order-items-table { width: 100%; border-collapse: collapse; }
.order-items-table th {
  font-size: 12px; color: #888; text-align: left;
  padding: 0 12px 12px 0; border-bottom: 1px solid var(--clr-border);
  font-weight: 400; letter-spacing: .03em;
}
.order-items-table th:not(:first-child) { text-align: center; }
.order-items-table th:last-child { text-align: right; padding-right: 0; }
.order-items-table td {
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 14px; vertical-align: middle;
}
.order-items-table td:not(:first-child) { text-align: center; }
.order-items-table td:last-child { text-align: right; padding-right: 0; }
.order-item__cell { display: flex; align-items: center; gap: 16px; }
.order-item__img { width: 60px; height: 76px; object-fit: cover; background: var(--clr-beige); flex-shrink: 0; }
.order-item__name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.order-item__attr { font-size: 12px; color: #888; }
.order-delivery { padding: 20px 0; border-bottom: 1px solid var(--clr-border); }
.order-delivery__row { display: flex; gap: 40px; margin-bottom: 8px; }
.order-delivery__label { font-size: 13px; color: #888; min-width: 180px; }
.order-delivery__value { font-size: 13px; }
.order-total-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.order-total-row__label { font-size: 13px; color: #888; }
.order-total-row__value { font-size: 16px; font-weight: 600; }

/* Bonuses */
.bonuses-balance { margin-bottom: 32px; }
.bonuses-balance__label { font-size: 14px; margin-bottom: 8px; }
.bonuses-balance__amount { font-size: 32px; font-weight: 700; letter-spacing: .01em; margin-bottom: 10px; }
.bonuses-balance__info { font-size: 13px; color: #888; line-height: 1.7; }
.bonuses-history__title { font-size: 15px; font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; }
.bonuses-table { width: 100%; border-collapse: collapse; }
.bonuses-table th {
  font-size: 12px; color: #888; text-align: left;
  padding: 0 0 10px; border-bottom: 1px solid var(--clr-border);
  font-weight: 400; letter-spacing: .03em;
}
.bonuses-table th:not(:first-child) { text-align: right; }
.bonuses-table td { padding: 14px 0; border-bottom: 1px solid var(--clr-border); font-size: 13px; vertical-align: top; }
.bonuses-table td:not(:first-child) { text-align: right; }
.bonus-plus { color: #2a7a2a; font-weight: 500; }
.bonus-minus { color: #c0392b; font-weight: 500; }
.bonuses-rules-link {
  display: inline-block; margin-top: 24px; font-size: 13px;
  color: var(--clr-dark); text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer; background: none; border: none; font-family: inherit; padding: 0;
}
.bonuses-rules-link:hover { opacity: .7; }

/* Bonus Rules */
.rules-content { font-size: 14px; line-height: 1.7; max-width: 640px; }
.rules-section { margin-bottom: 24px; }
.rules-section__title { font-weight: 600; margin-bottom: 8px; }
.rules-list { list-style: none; padding: 0; margin: 0 0 8px; }
.rules-list li { padding-left: 14px; position: relative; margin-bottom: 4px; font-size: 13px; }
.rules-list li::before { content: '·'; position: absolute; left: 0; }
.bonus-levels { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.bonus-levels th, .bonus-levels td { padding: 8px 16px; border: 1px solid var(--clr-border); text-align: left; }
.bonus-levels th { background: #f8f7f5; font-weight: 500; }

/* Gift Cards */
.gift-card-desc { font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.gift-card-form { display: flex; align-items: stretch; margin-bottom: 20px; max-width: 560px; }
.gift-card-input {
  flex: 1; height: 52px;
  border: 1px solid var(--clr-border); border-right: none;
  padding: 0 16px; font-size: 14px; font-family: inherit;
  outline: none; min-width: 0;
}
.gift-card-input::placeholder { color: #c8c8c8; }
.gift-card-input:focus { border-color: var(--clr-dark); }
.gift-card-btn {
  height: 52px; padding: 0 24px;
  background: var(--clr-dark); color: var(--clr-beige);
  border: 1px solid var(--clr-dark); font-size: 13px;
  font-family: inherit; letter-spacing: .04em;
  cursor: pointer; white-space: nowrap; transition: opacity .15s;
}
.gift-card-btn:hover { opacity: .85; }
.gift-card-terms { font-size: 13px; color: var(--clr-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Subscription */
.subscription-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--clr-border);
}
.subscription-item:first-child { border-top: 1px solid var(--clr-border); }
.subscription-item__img { width: 80px; height: 100px; object-fit: cover; background: var(--clr-beige); }
.subscription-item__name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.subscription-item__attr { font-size: 13px; color: #888; line-height: 1.7; }
.subscription-item__avail { font-size: 13px; color: #2a7a2a; margin-top: 2px; }
.subscription-item__unavail { font-size: 13px; color: #888; margin-top: 2px; }
.unsub-btn {
  background: none; border: none; font-family: inherit;
  font-size: 13px; color: var(--clr-dark);
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer; padding: 0; margin-top: 8px; display: inline-block;
}
.unsub-btn:hover { opacity: .7; }

/* Profile mobile */
@media (max-width: 767px) {
  .profile-layout { grid-template-columns: 1fr; gap: 0; }
  .profile-sidebar {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin-bottom: 24px;
    border-bottom: 1px solid var(--clr-border);
  }
  .profile-sidebar::-webkit-scrollbar { display: none; }
  .profile-sidebar__nav { display: flex; white-space: nowrap; padding-bottom: 12px; }
  .profile-nav-link { flex-shrink: 0; padding: 8px 16px; border-bottom: 2px solid transparent; }
  .profile-nav-link.is-active { border-bottom-color: var(--clr-dark); }
  .profile-form-row { grid-template-columns: 1fr; gap: 0; }
  .gift-card-form { flex-direction: column; }
  .gift-card-input { border-right: 1px solid var(--clr-border); }
  .order-delivery__row { flex-direction: column; gap: 2px; }
  .bonuses-table { font-size: 12px; }
  .bonuses-balance__amount { font-size: 26px; }
  .subscription-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .subscription-item { grid-template-columns: 1fr; gap: 10px; }
}
.checkout-summary-item__price { font-size: var(--fs-sm); white-space: nowrap; }

/* ═══════════════════════════════════════════════
   MOBILE HERO — centering + arrow positioning
═══════════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero-slide__caption {
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    text-align: center;
    width: 88%;
    bottom: 40px;
  }
  .hero-slide__title { font-size: 22px; }
  .hero-swiper__prev { left: 12px; }
  .hero-swiper__next { right: 12px; }

  /* Hero section height */
  .hero-section { height: 480px; }
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-slide { height: 480px; }
}

/* ═══════════════════════════════════════════════
   SEARCH POPUP
═══════════════════════════════════════════════ */
.search-popup {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1080;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
}
.search-popup.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.search-popup__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  max-height: calc(100vh - var(--header-h) - 60px);
  overflow: hidden;
}
.search-popup__left {
  padding: 28px 40px 28px 0;
  border-right: 1px solid var(--clr-border);
}
.search-popup__right {
  padding: 28px 0 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.search-popup__section-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-dark);
  margin: 0 0 16px;
  opacity: .55;
}
.search-popup__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.search-popup__product-card {
  text-decoration: none;
  color: var(--clr-dark);
}
.search-popup__product-card img {
  width: 100%;
  aspect-ratio: 5/7;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.search-popup__product-name {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 4px;
}
.search-popup__product-price {
  font-size: 12px;
  opacity: .7;
  margin: 0;
}
.search-popup__see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--clr-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.search-popup__input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--clr-dark);
  padding-bottom: 8px;
}
.search-popup__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--fs-base);
  color: var(--clr-dark);
  background: transparent;
  font-family: var(--font-primary);
}
.search-popup__input::placeholder { color: rgba(40,38,34,.4); }
.search-popup__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.search-popup__cat-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  font-size: 12px;
  color: var(--clr-dark);
  text-decoration: none;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.search-popup__cat-chip:hover {
  border-color: var(--clr-dark);
  background: var(--clr-dark);
  color: #fff;
}
.search-popup__trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 6px;
}
.search-popup__trending-list li a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  font-size: 12px;
  color: var(--clr-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.search-popup__trending-list li a:hover {
  border-color: var(--clr-dark);
  background: var(--clr-dark);
  color: #fff;
  opacity: 1;
}

@media (max-width: 991px) {
  .search-popup {
    max-height: calc(100vh - var(--header-h));
    overflow: hidden;
  }
  .search-popup__inner {
    grid-template-columns: 1fr;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .search-popup__left { border-right: none; padding-right: 0; border-top: 1px solid var(--clr-border); order: 1; }
  .search-popup__right { padding-left: 0; border-top: none; order: 0; padding-bottom: 32px; }
  .search-popup__products { grid-template-columns: repeat(2, 1fr); }
  .search-popup__cats-section { display: none; }
}

body.search-popup-open { overflow: hidden; }

/* ── Category filter icon ── */
.catalog-filter-option__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.catalog-filter-panel__options--categories {
  gap: 12px 32px;
}

/* ═══════════════════════════════════════════════
   TABLET BREAKPOINT (≤ 991px) — hamburger + compact header
═══════════════════════════════════════════════ */
@media (max-width: 991px) {
  .header-nav-main { display: none; }
  .hamburger-btn { display: flex; }
  .header-categories-bar { display: none; }
  /* Show search icon only — hide text input */
  .header-search-input { display: none; }
  .header-search-form { width: auto; height: auto; }
  .header-search-btn { position: static; display: flex; align-items: center; }
  /* Compact header */
  .header-top { max-width: 100%; padding: 0 20px; display: flex; justify-content: space-between; }
  .header-logo-img { height: 24px; }
  .header-actions { gap: 14px; }
}

/* ═══════════════════════════════════════════════
   TASK 2 — Filter button shape: rounded rect not pill
═══════════════════════════════════════════════ */
.catalog-filter-btn { border-radius: var(--radius-md); }

/* ═══════════════════════════════════════════════
   TASK 4 — Vertical alignment: force line-height 1 on all button-like elements
═══════════════════════════════════════════════ */
.btn-dark-custom,
.btn-light-custom,
.catalog-filter-btn,
.catalog-filter-apply,
.hero-slide__btn,
.header-nav-main .nav-link,
.header-cat-item,
.section-nav-btn,
.header-search-btn,
.header-icon-btn,
.hamburger-btn {
  line-height: 1;
}

/* ═══════════════════════════════════════════════
   MOBILE NAV — accordion structure
═══════════════════════════════════════════════ */
.mobile-nav { padding: 0 24px; }
.mnav-section { border-bottom: 1px solid var(--clr-border); }
.mnav-section__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--clr-dark);
  cursor: pointer;
  text-align: left;
  line-height: 1;
  text-decoration: none;
}
.mnav-section__arrow { transition: transform .25s; flex-shrink: 0; }
.mnav-section__btn.is-open .mnav-section__arrow { transform: rotate(180deg); }
.mnav-section__panel { display: none; padding-bottom: 12px; }
.mnav-section__panel.is-open { display: block; }
.mnav-cat-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  color: var(--clr-dark);
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
}
.mnav-cat-link svg { flex-shrink: 0; opacity: .7; }
.mnav-sub-link {
  display: block;
  padding: 8px 4px;
  color: var(--clr-dark);
  text-decoration: none;
  font-size: var(--fs-sm);
  opacity: .75;
}
.mnav-sub-link:hover,
.mnav-cat-link:hover { opacity: 1; }

/* ═══════════════════════════════════════════════
   TASK 3 — Mobile catalog filter toggle
═══════════════════════════════════════════════ */
.catalog-filter-mobile-btn { display: none; }
@media (max-width: 767px) {
  .catalog-filter-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    background: none;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    color: var(--clr-dark);
    cursor: pointer;
    line-height: 1;
    margin-bottom: 12px;
  }
  .catalog-filter-bar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .catalog-filter-bar.is-mobile-open { display: flex; }
}

/* ═══════════════════════════════════════════════
   TASK 5 — Stylist section: container-aligned content
═══════════════════════════════════════════════ */
.stylist-section__content-outer {
  position: relative;
  z-index: 2;
}
/* Override content to remove fixed horizontal padding — container handles it */
.stylist-section__content {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 767px) {
  .stylist-section__content { padding-top: 48px; padding-bottom: 48px; }
}

/* ═══════════════════════════════════════════════
   TASK 6 — Footer mobile accordion
═══════════════════════════════════════════════ */
.footer-nav-col__title .fnav-arrow { display: none; }

@media (max-width: 767px) {
  .footer-nav-cols { gap: 0; }
  .footer-nav-col { width: 100%; border-top: 1px solid var(--clr-border); }
  .footer-nav-col:last-child { border-bottom: 1px solid var(--clr-border); }
  .footer-nav-col__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
    padding: 14px 0;
    user-select: none;
  }
  .footer-nav-col__title .fnav-arrow { display: inline-block; transition: transform .25s; flex-shrink: 0; }
  .footer-nav-col__title.is-open .fnav-arrow { transform: rotate(180deg); }
  .footer-nav-col ul { display: none; padding-bottom: 14px; }
  .footer-nav-col ul.is-open { display: flex; }
}

/* ═══════════════════════════════════════════════
   TASK 7 — Footer bottom: studio credit on same line
═══════════════════════════════════════════════ */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-studio-credit { font-size: var(--fs-sm); color: rgba(40,38,34,.55); }
.footer-studio-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-studio-credit a:hover { color: var(--clr-dark); }

/* ==========================================================================
   Текстовая страница (шаблон «Текстовая страница» — static.tpl)
   Юридические документы, доставка, оплата, возврат, уход.
   ========================================================================== */
.static-page { padding: 32px 0 80px; }

.static-cover { margin-bottom: 32px; }
.static-cover__img { display: block; width: 100%; height: auto; }

.static-content { max-width: 860px; }

.static-page .page-title {
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: var(--ls-tight);
}

.static-intro {
  margin-bottom: 24px;
  font-size: var(--fs-md);
  color: var(--clr-muted);
}

.static-body {
  font-size: var(--fs-base);
  line-height: 1.7;
}
.static-body > *:first-child { margin-top: 0; }

.static-body h2 {
  margin: 40px 0 14px;
  font-size: var(--fs-xl);
  font-weight: 400;
  letter-spacing: var(--ls-tight);
}
.static-body h3 {
  margin: 30px 0 12px;
  font-size: var(--fs-lg);
  font-weight: 500;
}

.static-body p { margin: 0 0 14px; }

/* глобальный сброс убирает маркеры — в тексте они нужны */
.static-body ul,
.static-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.static-body ul { list-style: disc; }
.static-body ol { list-style: decimal; }
.static-body li { margin-bottom: 8px; }
.static-body li > ul { list-style: circle; }
.static-body li > ul,
.static-body li > ol { margin: 8px 0 0; }

.static-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.static-body a:hover { opacity: 0.6; }

.static-body strong { font-weight: 600; }

.static-body table {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
}
.static-body th,
.static-body td {
  padding: 10px 12px;
  border: 1px solid var(--clr-border);
  vertical-align: top;
}

@media (max-width: 767.98px) {
  .static-page { padding: 20px 0 56px; }
  .static-page .page-title { font-size: 26px; }
  .static-body h2 { margin-top: 30px; font-size: var(--fs-lg); }
}

/* Согласия в форме оформления заказа */
.checkout-consent { display: flex; flex-direction: column; gap: 10px; }
.checkout-consent__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: 1.5;
  cursor: pointer;
}
.checkout-consent__item input { margin-top: 3px; flex: 0 0 auto; }
.checkout-consent__item a { text-decoration: underline; text-underline-offset: 2px; }

/* Вход по SMS: ошибки полей и повторная отправка кода */
.auth-error {
  margin: 6px 0 0;
  min-height: 16px;
  font-size: var(--fs-xs);
  line-height: 1.3;
  color: var(--clr-sale);
}
.auth-error:empty { min-height: 0; margin: 0; }

.auth-resend {
  margin-top: 18px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--clr-muted);
}
.auth-resend.is-active {
  color: var(--clr-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-phone-flag { display: block; flex-shrink: 0; }

/* Личный кабинет: префикс поля, подсказка, пустые состояния */
.profile-field__prefix { color: var(--clr-muted); flex-shrink: 0; }
.profile-field__hint { margin: 6px 0 0; font-size: var(--fs-xs); color: var(--clr-muted); }
.profile-field__input:disabled { color: var(--clr-muted); background: transparent; }
.profile-empty { color: var(--clr-muted); }
.profile-form__note { margin-top: 12px; font-size: var(--fs-sm); }
.profile-guest { max-width: 520px; }
.profile-guest p { margin: 12px 0 24px; color: var(--clr-muted); }

/* История покупок */
.profile-order { padding: 24px 0; border-bottom: 1px solid var(--clr-border-light); }
.profile-order__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.profile-order__num { font-weight: 600; letter-spacing: var(--ls-wide); text-transform: uppercase; }
.profile-order__date { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--clr-muted); }
.profile-order__meta { text-align: right; }
.profile-order__total { display: block; font-weight: 600; }
.profile-order__status { font-size: var(--fs-sm); }
.profile-order__products { display: flex; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.profile-order__product img { width: 96px; height: 128px; object-fit: cover; display: block; }
.profile-order__noimg { display: block; width: 96px; height: 128px; background: #f2f2f0; }

/* Бонусная программа */
.profile-bonus__label { color: var(--clr-muted); margin-bottom: 4px; }
.profile-bonus__value { font-size: 34px; margin: 0 0 8px; }
.profile-bonus__value span { font-size: var(--fs-lg); }
.profile-bonus__level,
.profile-bonus__reserve { font-size: var(--fs-sm); color: var(--clr-muted); margin: 0 0 4px; }
.profile-bonus__subtitle { margin: 32px 0 12px; font-size: var(--fs-lg); font-weight: 400; }
.profile-bonus__table-wrap { overflow-x: auto; }
.profile-bonus__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.profile-bonus__table th {
  text-align: left; padding: 8px 12px 8px 0; font-weight: 400;
  color: var(--clr-muted); border-bottom: 1px solid var(--clr-border-light);
}
.profile-bonus__table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--clr-border-light); }
.profile-bonus__amount--plus { color: #2f8f4e; }
.profile-bonus__amount--minus { color: var(--clr-sale); }

/* Номер телефона в подсказке над полем кода — одной строкой */
.auth-sms-hint__phone { white-space: nowrap; }

/* ==========================================================================
   Оверлей поиска во всю ширину (иконка в шапке)
   ========================================================================== */
/* без анимации прозрачности: переход подвисал и панель оставалась полупрозрачной */
.search-overlay {
  position: fixed; inset: 0; z-index: 1080;
  background: var(--clr-white);
  overflow-y: auto;
}

.search-overlay__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding-top: 28px;
  padding-bottom: 48px;
  align-items: start;
}

.search-overlay__title,
.search-overlay__block-title {
  margin: 0 0 18px;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--clr-muted);
}
.search-overlay__title { font-size: var(--fs-xl); color: var(--clr-dark); text-transform: uppercase; }

.search-overlay__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.search-product { display: block; color: var(--clr-dark); text-decoration: none; }
.search-product__img {
  display: block; width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; margin-bottom: 10px; background: #f2f2f0;
}
.search-product__img--empty { display: block; }
.search-product__name { display: block; font-size: var(--fs-sm); line-height: 1.4; }
.search-product__price { display: block; margin-top: 4px; font-size: var(--fs-md); }

/* «Смотреть все» — как кнопки макета: без скруглений, белый капс, ровно по центру */
.search-overlay__all.btn-dark-custom {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 640px; height: 46px; margin-top: 28px; padding: 0 24px;
  border-radius: 0; color: var(--clr-white);
  font-size: var(--fs-sm); font-weight: 500; line-height: 1;
  letter-spacing: var(--ls-wide); text-transform: uppercase; text-decoration: none;
}
.search-overlay__all.btn-dark-custom:hover { background: var(--clr-dark); color: var(--clr-white); opacity: .85; }
.search-overlay__empty { margin-top: 32px; text-align: center; line-height: 1.6; }
.search-overlay__empty a { color: var(--clr-dark); text-decoration: underline; }

.search-overlay__form {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--clr-dark);
}
.search-overlay__icon { color: var(--clr-dark); flex-shrink: 0; }
.search-overlay__input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-family: var(--font-primary); font-size: var(--fs-md); color: var(--clr-dark);
  padding: 4px 0;
}
.search-overlay__input::placeholder { color: var(--clr-muted); }
.search-overlay__input::-webkit-search-cancel-button { display: none; }
.search-overlay__close {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  color: var(--clr-dark); display: flex; flex-shrink: 0;
}
.search-overlay__close:hover { opacity: .6; }

.search-overlay__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.search-overlay__tag {
  border: 1px solid var(--clr-border);
  padding: 7px 14px; font-size: var(--fs-sm);
  color: var(--clr-dark); text-decoration: none;
  transition: border-color .15s ease;
}
.search-overlay__tag:hover { border-color: var(--clr-dark); color: var(--clr-dark); }

.search-overlay__block { margin-top: 28px; }
.search-overlay__list { list-style: none; margin: 0; padding: 0; }
.search-overlay__list-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; color: var(--clr-dark); text-decoration: none;
  border-bottom: 1px solid var(--clr-border-light);
}
.search-overlay__list-link:hover { color: var(--clr-dark); opacity: .65; }
.search-overlay__list li:last-child .search-overlay__list-link { border-bottom: 0; }

@media (max-width: 991.98px) {
  .search-overlay__inner { grid-template-columns: 1fr; gap: 32px; }
  .search-overlay__right { order: -1; }
  .search-overlay__products { grid-template-columns: repeat(2, 1fr); }
}

/* Счётчик избранного в шапке */
.header-icon-btn .badge.js-favorites-count {
  position: absolute; top: -4px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--clr-dark); color: var(--clr-white);
  font-size: 10px; line-height: 16px; text-align: center;
}

/* Избранное на карточке товара (msFavorites) */
.product-card__wishlist-wrap { position: absolute; top: 12px; right: 12px; z-index: 3; }
.product-card__wishlist {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--clr-dark);
  cursor: pointer;
  background: transparent; border: 0;
  transition: opacity .15s ease;
}
.product-card__wishlist:hover { opacity: .6; }
.product-card__wishlist svg { pointer-events: none; }
/* msFavorites вешает класс voted, когда товар уже в избранном */
.product-card__wishlist.voted svg { fill: var(--clr-dark); }
/* load вешает msFavorites на время запроса; блокировать клики им не стоит — класс иногда залипает */
.product-card__wishlist.load { opacity: .55; }

/* Страница результатов поиска */
.catalog-title__label { margin: 0 0 4px; font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--clr-muted); }
.search-results-page { padding-bottom: 80px; }
.search-results-form { display: flex; gap: 12px; margin-bottom: 28px; max-width: 560px; }
.search-results-form__input {
  flex: 1; border: 0; border-bottom: 1px solid var(--clr-dark);
  background: transparent; padding: 8px 0;
  font-family: var(--font-primary); font-size: var(--fs-md); color: var(--clr-dark);
  outline: none;
}
.search-results-form__input::-webkit-search-cancel-button { display: none; }
.search-results-form__btn {
  border: 0; background: var(--clr-dark); color: var(--clr-white);
  padding: 10px 28px; font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide); text-transform: uppercase; cursor: pointer;
}
.search-results-form__btn:hover { opacity: .85; }

.search-empty { padding: 56px 0 40px; text-align: center; }
#mse2_results > .search-empty { width: 100%; max-width: 100%; flex: 0 0 100%; }
.search-empty__title {
  font-size: var(--fs-md); line-height: 1.5;
  margin: 0 0 24px;
}
.search-empty__text { color: var(--clr-muted); line-height: 1.6; }
.search-empty__text a { color: var(--clr-dark); text-decoration: underline; }
.search-empty__btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 480px; height: 52px; margin: 0 auto;
  background: var(--clr-dark); color: var(--clr-beige);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm); letter-spacing: var(--ls-wide); text-transform: uppercase;
  text-decoration: none; transition: opacity .15s;
}
.search-empty__btn:hover { opacity: .85; color: var(--clr-beige); }

/* ==========================================================================
   Фильтры каталога и поиска (mFilter2)
   ========================================================================== */
.catalog-filters { margin-bottom: 8px; }

.cf__bar {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--clr-border-light);
}
.cf__pills { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; flex: 1; }
.cf__tools { flex-shrink: 0; }

/* мобильные элементы панели фильтров на десктопе не нужны */
.cf-sheet__head, .cf-sheet__foot, .cf-mobile-btn { display: none; }

/* группа: пилюля + панель. display:contents делает их прямыми детьми flex-полосы,
   и панель (flex-basis 100%) переносится на новую строку, раздвигая контент, как в макете */
.cf-group { display: contents; margin: 0; padding: 0; border: 0; min-width: 0; }
.cf-pill {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: none;
  padding: 8px 14px;
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  font-family: var(--font-primary); font-size: var(--fs-sm); color: var(--clr-dark);
  cursor: pointer; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cf-pill:hover { border-color: var(--clr-dark); }
.cf-pill__chevron { transition: transform .15s ease; }
.cf-group.is-open .cf-pill { background: var(--clr-dark); border-color: var(--clr-dark); color: var(--clr-white); }
.cf-group.is-open .cf-pill__chevron { transform: rotate(180deg); }
.cf-group.has-selected .cf-pill { border-color: var(--clr-dark); }

/* панель — во всю ширину полосы, в потоке */
.cf-panel { flex: 0 0 100%; order: 100; background: var(--clr-white); }
.cf-panel__inner { padding: 18px 0 6px; border-top: 1px solid var(--clr-border-light); margin-top: 6px; }
.cf-panel__options { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-bottom: 20px; }
.cf-panel__options--range { gap: 14px 24px; }
.cf-panel__apply { padding: 12px 36px; }

/* значение-чекбокс */
.cf-option {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-sm); color: var(--clr-dark); cursor: pointer; user-select: none;
}
.cf-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-option__box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1px solid var(--clr-border); border-radius: var(--radius-sm);
  background: var(--clr-white); position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.cf-option input:checked ~ .cf-option__box { background: var(--clr-dark); border-color: var(--clr-dark); }
.cf-option input:checked ~ .cf-option__box::after {
  content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px;
  border: solid var(--clr-white); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}
.cf-option__num::after { content: attr(data-num); color: var(--clr-muted); font-size: var(--fs-xs); }
.cf-option.is-disabled { opacity: .35; pointer-events: none; }

/* кружок цвета */
.cf-option--color { gap: 8px; }
.cf-swatch {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid rgba(40, 38, 34, .18); box-sizing: border-box;
  transition: box-shadow .15s ease;
}
.cf-option--color input:checked ~ .cf-swatch { box-shadow: 0 0 0 2px var(--clr-white), 0 0 0 3px var(--clr-dark); }

/* пилюля-переключатель (новинки): сама пилюля — чекбокс */
.cf-group--toggle { display: contents; }
.cf-pill--toggle { position: relative; }
.cf-pill--toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-pill--toggle.is-on,
.cf-pill--toggle:has(input:checked) { background: var(--clr-dark); border-color: var(--clr-dark); color: var(--clr-white); }
.cf-pill__num::after { content: attr(data-num); margin-left: 2px; font-size: var(--fs-xs); color: var(--clr-muted); }
/* на тёмной активной пилюле счётчик должен читаться */
.cf-pill--toggle.is-on .cf-pill__num::after,
.cf-pill--toggle:has(input:checked) .cf-pill__num::after { color: var(--clr-beige); }
.cf-pill--toggle.is-disabled { opacity: .4; pointer-events: none; }

/* диапазон цены */
.cf-range { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.cf-range__input {
  width: 110px; padding: 6px 8px;
  border: 1px solid var(--clr-border); background: var(--clr-white);
  font-family: var(--font-primary); font-size: var(--fs-sm); color: var(--clr-dark);
}
.cf-range__input:focus { outline: none; border-color: var(--clr-dark); }
.cf-range__cur { color: var(--clr-muted); }

/* сортировка */
.cf-sort__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--clr-border); background: var(--clr-white);
  font-family: var(--font-primary); font-size: var(--fs-sm); color: var(--clr-dark); cursor: pointer;
}
.cf-sort__btn::after { margin-left: 2px; }
.cf-sort__menu { border-radius: 0; border-color: var(--clr-border); font-size: var(--fs-sm); }
.cf-sort__menu .dropdown-item { padding: 8px 14px; }
.cf-sort__menu .dropdown-item.active,
.cf-sort__menu .dropdown-item:active { background: var(--clr-dark); color: var(--clr-white); }

/* Выбранные значения — чипы рисует mFilter2 внутри #mse2_selected
   (<strong>подпись:</strong> + a.mse2_selected_link > em + sup). Его собственный CSS
   задаёт #mse2_selected серый фон и блочный вывод, поэтому здесь селекторы по id. */
#mse2_mfilter #mse2_selected_wrapper.cf-selected { display: none; align-items: flex-start; gap: 12px; min-height: 0; margin: 0; padding: 14px 0 4px; }
#mse2_mfilter #mse2_selected_wrapper.cf-selected.is-visible { display: flex; }
#mse2_mfilter #mse2_selected {
  flex: 1 1 auto; min-width: 0;
  background: transparent; padding: 0; border-radius: 0;
  font-size: var(--fs-xs); line-height: 1;
}
#mse2_mfilter #mse2_selected > strong {
  display: inline-block; margin: 0 6px 8px 0; padding: 7px 0;
  font-weight: 400; text-transform: none; color: var(--clr-muted);
}
#mse2_mfilter #mse2_selected .mse2_selected_link {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 8px 8px 0; padding: 7px 10px;
  background: #f2f2f0; text-decoration: none; text-transform: none;
}
#mse2_mfilter #mse2_selected .mse2_selected_link:hover { background: #e8e7e3; }
#mse2_mfilter #mse2_selected .mse2_selected_link em { font-style: normal; color: var(--clr-dark); }
#mse2_mfilter #mse2_selected .mse2_selected_link sup {
  font-size: 13px; line-height: 1; vertical-align: 0; color: var(--clr-dark);
}
.cf-selected__reset {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; padding: 7px 0;
  font-family: var(--font-primary); font-size: var(--fs-xs); font-weight: 600;
  color: var(--clr-dark); cursor: pointer; white-space: nowrap;
}
.cf-selected__reset:hover { opacity: .6; }

.cf__total { margin: 14px 0 18px; font-size: var(--fs-sm); color: var(--clr-muted); }

@media (max-width: 767.98px) {
  /* полоса: кнопка «Фильтры» слева, сортировка справа */
  .cf__bar { border-bottom: 0; padding-bottom: 8px; }
  .cf__tools { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; }
  .cf-mobile-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1px solid var(--clr-border); background: var(--clr-white);
    font-family: var(--font-primary); font-size: var(--fs-sm); color: var(--clr-dark); cursor: pointer;
  }
  .cf-mobile-btn__badge {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--clr-dark); color: var(--clr-white);
    font-size: 11px; line-height: 18px; text-align: center;
  }
  .cf-sort { margin-left: auto; }

  /* панель фильтров на весь экран */
  .cf-sheet {
    position: fixed; inset: 0; z-index: 1090;
    display: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    background: var(--clr-white); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .cf-sheet.is-open { display: flex; }
  .cf-sheet__head {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border-light);
  }
  .cf-sheet__title { font-size: var(--fs-lg); text-transform: uppercase; letter-spacing: var(--ls-tight); }
  .cf-sheet__close { border: 0; background: transparent; padding: 4px; display: flex; color: var(--clr-dark); cursor: pointer; }

  /* группы — аккордеон на всю ширину */
  .cf-group { display: block; border-bottom: 1px solid var(--clr-border-light); }
  .cf-group--toggle { display: block; padding: 14px 20px; }
  .cf-pill {
    width: 100%; justify-content: space-between;
    padding: 16px 20px; border: 0; font-size: var(--fs-md);
  }
  .cf-group.is-open .cf-pill { background: var(--clr-white); color: var(--clr-dark); }
  .cf-group.is-open .cf-pill__chevron { transform: rotate(180deg); }
  .cf-panel { flex: none; order: 0; }
  .cf-panel__inner { padding: 0 20px 18px; margin: 0; border-top: 0; }
  .cf-panel__options { gap: 14px 22px; }
  .cf-panel__apply { display: none; }             /* применяет кнопка в подвале панели */
  .cf-pill--toggle { width: auto; padding: 8px 14px; border: 1px solid var(--clr-border); font-size: var(--fs-sm); }
  .cf-pill--toggle.is-on, .cf-pill--toggle:has(input:checked) { background: var(--clr-dark); color: var(--clr-white); }

  .cf-sheet__foot {
    position: sticky; bottom: 0; z-index: 2; margin-top: auto;
    display: flex; gap: 12px; padding: 14px 20px;
    background: var(--clr-white); border-top: 1px solid var(--clr-border-light);
  }
  .cf-sheet__reset {
    flex: 0 0 auto; border: 1px solid var(--clr-border); background: var(--clr-white);
    padding: 0 18px; font-family: var(--font-primary); font-size: var(--fs-sm); color: var(--clr-dark); cursor: pointer;
  }
  .cf-sheet__apply { flex: 1; height: 46px; border-radius: 0; text-transform: uppercase; letter-spacing: var(--ls-wide); font-size: var(--fs-sm); }
  .cf-sheet__count { margin-left: 6px; }
}

/* ═══════════════════════════════════════════════
   ЛЕНТЫ С ГОРИЗОНТАЛЬНОЙ ПРОКРУТКОЙ НА МОБИЛЬНОМ
   Выходят за поля контейнера (px-4 = 24px, px-md-5 = 48px): первая карточка
   стоит на линии контента, хвост уходит за правый край экрана, при прокрутке
   карточки уезжают влево до края экрана.
═══════════════════════════════════════════════ */
:root { --container-x: 24px; }
@media (min-width: 768px) { :root { --container-x: 48px; } }

@media (max-width: 991.98px) {
  .product-gallery-wrap {
    width: auto;
    margin-left: calc(-1 * var(--container-x));
    margin-right: calc(-1 * var(--container-x));
  }
  .product-gallery {
    padding-left: var(--container-x);
    padding-right: var(--container-x);
    scroll-padding-inline: var(--container-x);
  }
  .category-grid,
  .lookbook-grid {
    margin-left: calc(-1 * var(--container-x));
    margin-right: calc(-1 * var(--container-x));
    padding-left: var(--container-x);
    padding-right: var(--container-x);
    scroll-padding-inline: var(--container-x);
  }
  .recent-swiper {
    overflow: hidden;
    margin-left: calc(-1 * var(--container-x));
    margin-right: calc(-1 * var(--container-x));
    padding-left: var(--container-x);
    padding-right: var(--container-x);
  }

  /* Хлебные крошки — одной строкой, прокрутка без полоски, затухание справа */
  .breadcrumb-row .container-xl { position: relative; }
  .breadcrumb-list {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: calc(-1 * var(--container-x));
    margin-right: calc(-1 * var(--container-x));
    padding-left: var(--container-x);
    padding-right: calc(var(--container-x) + 24px);
  }
  .breadcrumb-list::-webkit-scrollbar { display: none; }
  .breadcrumb-list li { flex-shrink: 0; }
  .breadcrumb-row .container-xl::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 64px;
    background: linear-gradient(to right, rgba(255,255,255,0), var(--clr-white) 75%);
    pointer-events: none;
  }
}

/* На тач-экранах в слайдерах («Смотрите также» и т.п.) фото в карточке не листаются —
   внутренний свайп мешал листать сам слайдер. В сетке каталога листание остаётся. */
@media (max-width: 991.98px) {
  .swiper .product-card .product-swiper-prev,
  .swiper .product-card .product-swiper-next,
  .swiper .product-card .product-img-pagination { display: none; }
}

/* Сетки товаров: побольше воздуха между рядами (Bootstrap ставит margin-top детям через --bs-gutter-y) */
.catalog-grid,
.row.g-1.row-cols-2 { --bs-gutter-y: 1.75rem; }

/* Кружки цветов в карточке и на странице товара */
.color-swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.color-swatch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color .15s;
}
.color-swatch i {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); /* чтобы белый не пропадал на белом */
}
.color-swatch.is-current { border-color: var(--clr-dark); }
.color-swatch:hover { border-color: var(--clr-dark); opacity: 1; }
.color-swatches--lg { gap: 8px; margin: 0; }
.color-swatches--lg .color-swatch { width: 28px; height: 28px; }
.color-swatches--lg .color-swatch i { width: 20px; height: 20px; }
.product-colors-block { margin-bottom: 20px; }

/* ═══════════════════════════════════════════════
   КОРЗИНА (bc-) И ОФОРМЛЕНИЕ ЗАКАЗА (bo-) — Figma 1:6044, 9:15183
   Левая колонка 760px, правая карточка 497px, зазор 63px в контейнере 1320.
═══════════════════════════════════════════════ */
.bc-page, .bo-page { padding-bottom: 80px; }
.bc__layout,
.bo,
.oc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 497px;
  gap: 40px 63px;
  align-items: start;
}
@media (max-width: 1199.98px) {
  .bc__layout, .bo, .oc { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
}
@media (max-width: 991.98px) {
  .bc__layout, .bo, .oc { grid-template-columns: 1fr; }
}

/* Товар в корзине */
.bc-item {
  position: relative;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 50px;
  padding: 0 0 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--clr-border-light);
}
.bc-item:last-child { border-bottom: 0; margin-bottom: 0; }
.bc-item__img {
  display: block; width: 185px; aspect-ratio: 185 / 277;
  border-radius: var(--radius-sm); overflow: hidden; background: #f5f5f3;
}
.bc-item__img:hover { opacity: 1; }
.bc-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-item__body { display: flex; flex-direction: column; padding-right: 48px; min-width: 0; }
.bc-item__name {
  font-size: 18px; line-height: 26px; font-weight: 400; text-transform: uppercase;
  letter-spacing: var(--ls-tight); margin: 0 0 8px; max-width: 450px;
}
.bc-item__name a { color: var(--clr-dark); }
.bc-item__art { font-size: 13px; color: var(--clr-muted); margin: 0 0 20px; }
.bc-item__art span { color: var(--clr-dark); }
.bc-item__attrs {
  display: grid; grid-template-columns: 141px 159px; row-gap: 6px; align-items: center; margin: 0;
}
.bc-item__attrs dt { font-size: 13px; color: var(--clr-muted); font-weight: 400; }
.bc-item__attrs dd { margin: 0; min-height: 36px; display: flex; align-items: center; font-size: 13px; }
.bc-item__color { gap: 10px; padding-left: 28px; }
.bc-item__box {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 36px; border: 1px solid var(--clr-border); border-radius: var(--radius-sm);
}
.bc-qty {
  display: grid; grid-template-columns: 36px 1fr 36px; width: 100%; height: 36px;
  border: 1px solid var(--clr-border); border-radius: var(--radius-sm); overflow: hidden;
}
.bc-qty__btn {
  background: none; border: 0; cursor: pointer; font-size: 16px; color: var(--clr-dark);
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.bc-qty__btn:hover { background: var(--clr-beige); }
.bc-qty__input {
  border: 0; text-align: center; font-family: inherit; font-size: 13px; color: var(--clr-dark);
  -moz-appearance: textfield; appearance: textfield; min-width: 0; outline: none;
}
.bc-qty__input::-webkit-outer-spin-button, .bc-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bc-item__price { margin: auto 0 0; padding-top: 20px; display: flex; align-items: baseline; gap: 10px; }
.bc-item__price-now { font-size: 20px; }
.bc-item__price-now.is-sale { color: var(--clr-sale); }
.bc-item__price-old { font-size: 14px; color: var(--clr-muted); text-decoration: line-through; }
.bc-item__remove { position: absolute; top: 0; right: 0; }
.bc-item__remove button {
  background: none; border: 0; padding: 0; width: 24px; height: 24px; cursor: pointer;
  color: var(--clr-muted); display: flex; align-items: center; justify-content: center; transition: color .15s;
}
.bc-item__remove button:hover { color: var(--clr-dark); }

/* Итог (общая карточка корзины, оформления и страницы заказа) */
.bc-summary,
.bo-summary {
  border: 1px solid var(--clr-border-light);
  border-radius: 4px;
  padding: 40px 48px;
  position: sticky; top: 100px;
}
.bc-summary__rows { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--clr-border-light); }
.bc-summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 21px; padding: 4px 0; }
.bc-summary__row dt { color: var(--clr-muted); font-weight: 400; }
.bc-summary__row dd { margin: 0; text-align: right; }
.bc-summary__row .is-muted { color: var(--clr-muted); font-size: 12px; }
.bc-summary__row.is-sale dd { color: var(--clr-sale); }
.bc-summary__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 24px; }
.bc-summary__btn {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 43px;
  background: var(--clr-dark); color: var(--clr-beige); border: 1px solid var(--clr-dark);
  border-radius: var(--radius-md); font-family: inherit; font-size: 14px; cursor: pointer;
  text-decoration: none; transition: opacity .15s; margin-bottom: 12px;
}
.bc-summary__btn:hover { opacity: .85; color: var(--clr-beige); }
.bc-summary__btn--outline { background: none; color: var(--clr-dark); }
.bc-summary__btn--outline:hover { color: var(--clr-dark); background: var(--clr-beige); opacity: 1; }
.bc-summary__note { font-size: 12px; color: var(--clr-muted); line-height: 1.5; margin: 12px 0 0; }

/* Оформление: поля */
.bo-back {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-size: 13px; color: var(--clr-muted);
}
.bo-back:hover { color: var(--clr-dark); opacity: 1; }
.catalog-page-header--tight .catalog-title-row { padding-top: 16px; }
.bo-section { margin-bottom: 40px; }
.bo-section__title { font-size: 18px; font-weight: 400; text-transform: uppercase; letter-spacing: var(--ls-tight); margin: 0 0 24px; }
.bo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bo-address { display: grid; gap: 16px; margin-top: 24px; }
.bo-address[hidden] { display: none; }
.bo-field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.bo-field__label { font-size: 14px; color: var(--clr-dark); }
.bo-field__input {
  width: 100%; height: 37px; padding: 0 16px;
  border: 1px solid var(--clr-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; color: var(--clr-dark); background: #fff; outline: none;
  transition: border-color .15s;
}
.bo-field__input::placeholder { color: var(--clr-muted); }
.bo-field__input:focus { border-color: var(--clr-dark); }
.bo-field.error .bo-field__input, .bo-field__input.error { border-color: var(--clr-sale); }
.bo-field__textarea { height: 88px; padding: 8px 16px; resize: vertical; }
.bo-field--comment { margin-top: 24px; }
.bo-field__counter { position: absolute; right: 16px; bottom: 8px; font-size: 12px; color: var(--clr-muted); pointer-events: none; }
.bo-phone { display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.bo-phone__flag { display: flex; align-items: center; justify-content: center; height: 37px; border: 1px solid var(--clr-border); border-radius: var(--radius-sm); }
.bo-autofill { display: inline-block; margin-top: 20px; font-size: 14px; color: var(--clr-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Оформление: карточки выбора */
.bo-options { display: flex; flex-direction: column; gap: 8px; }
.bo-option {
  display: flex; align-items: flex-start; gap: 15px; padding: 20px;
  border: 1px solid var(--clr-border-light); border-radius: 4px; cursor: pointer;
  transition: border-color .15s;
}
.bo-option:hover, .bo-option.is-selected { border-color: var(--clr-dark); }
.bo-option input { position: absolute; opacity: 0; pointer-events: none; }
.bo-option__radio {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--clr-dark);
  display: flex; align-items: center; justify-content: center; margin-top: -1px;
}
.bo-option__radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--clr-dark); transform: scale(0); transition: transform .15s; }
.bo-option.is-selected .bo-option__radio::after { transform: scale(1); }
.bo-option__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bo-option__head { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 22px; }
.bo-option__price { white-space: nowrap; }
.bo-option__desc { font-size: 13px; line-height: 20px; color: var(--clr-muted); }
.bo-option.error { border-color: var(--clr-sale); }

/* Оформление: правая колонка */
.bo-summary__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.bo-summary__title { font-size: 18px; text-transform: uppercase; letter-spacing: var(--ls-tight); }
.bo-summary__count { font-size: 14px; color: var(--clr-muted); }
.bo-summary__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.bo-summary__thumb { display: block; aspect-ratio: 125 / 187; border-radius: var(--radius-sm); overflow: hidden; background: #f5f5f3; }
.bo-summary__thumb:hover { opacity: 1; }
.bo-summary__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-summary__thumb--more { display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--clr-dark); background: var(--clr-beige); }
.bo-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--clr-muted); margin-bottom: 12px; cursor: pointer; }
.bo-consent input { width: 16px; height: 16px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--clr-dark); }
.bo-consent a { color: var(--clr-dark); text-decoration: underline; }
.bo-submit { margin-top: 12px; }
.bo-submit[disabled] { opacity: .6; cursor: default; }

/* Страница «Заказ оформлен» */
.oc__num { font-size: 18px; margin: 0 0 12px; }
.oc__note { font-size: 14px; line-height: 1.6; color: var(--clr-muted); margin: 0 0 24px; max-width: 560px; }
.oc__note a { color: var(--clr-dark); text-decoration: underline; }
.oc__pay { max-width: 400px; margin-bottom: 32px; }
.oc__items { border-top: 1px solid var(--clr-border-light); }
.oc-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--clr-border-light); }
.oc-item__img { display: block; width: 60px; aspect-ratio: 2 / 3; border-radius: var(--radius-sm); overflow: hidden; background: #f5f5f3; }
.oc-item__img:hover { opacity: 1; }
.oc-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oc-item__name { font-size: 14px; text-transform: uppercase; letter-spacing: var(--ls-tight); color: var(--clr-dark); }
.oc-item__meta { font-size: 13px; color: var(--clr-muted); margin: 4px 0 0; }
.oc-item__price { font-size: 15px; white-space: nowrap; }

/* Кнопка корзины в шапке: бейдж только когда в корзине есть товары */
.header-icon-btn.msMiniCart .badge { display: none; }
.header-icon-btn.msMiniCart.full .badge { display: flex; }

/* Страница товара: строка «есть вопрос» под кнопками */
.product-ask { font-size: 13px; color: var(--clr-muted); margin: 12px 0 24px; }
.product-ask a { color: var(--clr-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767.98px) {
  .bc-item { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
  .bc-item__img { width: 120px; }
  .bc-item__body { padding-right: 32px; }
  .bc-item__name { font-size: 15px; line-height: 22px; }
  .bc-item__attrs { grid-template-columns: 90px minmax(0, 1fr); }
  .bc-item__color { padding-left: 0; }
  .bc-summary, .bo-summary { padding: 24px 20px; position: static; }
  .bo-grid { grid-template-columns: 1fr; }
  .bo-option { padding: 16px; }
  .bo-section__title, .bo-summary__title { font-size: 16px; }
  .oc-item { grid-template-columns: 52px minmax(0, 1fr); }
  .oc-item__price { grid-column: 2; }
}

/* Узкий экран: в шапке 4 иконки и гамбургер — логотип и зазоры компактнее, чтобы не наезжали */
@media (max-width: 575.98px) {
  .header-top { padding: 0 16px; }
  .header-logo-img { height: 19px; }
  .header-actions { gap: 10px; }
  .header-icon-btn { width: 22px; height: 22px; }
  .header-icon-btn img { width: 22px; height: 22px; }
}

/* «Весь образ на фото» — аккордеон на странице товара: карточки как в каталоге, в две колонки */
.look-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 8px; }
.look-items .product-card__wishlist-wrap { display: none; }   /* в узкой колонке сердечко мешает фото */
