/* ============================================================
   DBAGS — ONYX THEME
   Dark Luxury: Black Onyx + Champagne Gold + Premium Serif
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ===== Design Tokens ===== */
:root {
  --bg:        #0C0C0E;
  --bg-2:      #131316;
  --bg-3:      #1A1A1E;
  --ink:       #F3F0EA;
  --muted:     #9D978A;
  --muted-2:   #6F6A60;
  --gold:      #C9A86A;
  --gold-lite: #E3CD9E;
  --gold-deep: #8C7444;
  --line:      rgba(201,168,106,.20);
  --line-soft: rgba(242,239,233,.08);
  --serif:     "Cormorant Garamond", Georgia, serif;
  --sans:      "Manrope", system-ui, sans-serif;
  --wrap-max:  1320px;
  --wrap-pad:  40px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-lite); text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.3px; color: var(--ink); }
p { color: var(--muted); line-height: 1.7; }
button { cursor: pointer; }
input, button, select, textarea { outline: none; font-family: var(--sans); }
div, section, input, textarea, select, button, a { transition: color .25s, background .25s, border-color .25s, transform .3s, opacity .25s; }
ul { list-style: none; }
.star { color: #e55; font-size: 12px; }
.text--fail { color: #e55; font-size: 12px; }

/* ===== Wrapper ===== */
.wrap,
.header--overhead__inner,
.header--centerhead__inner,
.header--underhead__inner,
.content--center--inner,
.content--footer__inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

/* ===== Buttons ===== */
.btn,
button.js__add--tocart,
button.js__favor__button,
.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 36px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  transition: all .25s;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover {
  background: var(--gold-lite);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
}

/* ===== Top bar (header--overhead) ===== */
.header--overhead {
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg);
}
.header--overhead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

/* overhead1 slot → chaptersMenu: horizontal mini-nav */
.header--overhead--inner__left {
  display: flex;
  align-items: center;
}
.header--overhead--inner__left .menu--chapters {
  display: flex;
  align-items: center;
  gap: 0;
}
.header--overhead--inner__left .menu--chapters__item {
  display: flex;
  align-items: center;
}
.header--overhead--inner__left .menu--chapters__link {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  padding: 0 14px 0 0;
}
.header--overhead--inner__left .menu--chapters__link:hover,
.header--overhead--inner__left .menu--chapters--link__active {
  color: var(--gold-lite) !important;
}
/* "Меню" mobile toggle — hidden on desktop */
.header--overhead--inner__left .menu--chapters--mobile {
  display: none;
}

/* overhead2 slot → languages */
.header--overhead--inner__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header--overhead--inner__right .languages {
  display: flex;
  gap: 4px;
  align-items: center;
}
.header--overhead--inner__right .language a,
.header--overhead--inner__right .languageact a {
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  display: block;
}
.header--overhead--inner__right .language a {
  color: var(--muted-2);
}
.header--overhead--inner__right .language a:hover {
  color: var(--gold);
}
.header--overhead--inner__right .languageact a {
  background: var(--gold);
  color: var(--bg);
}

/* overhead2 (той самий слот) → loginButtons: Вход / Регистрация */
.header--overhead--inner__right .fnc--login--buttons__container {
  display: flex;
  align-items: center;
}
.header--overhead--inner__right .fnc--login--buttons__inner + .fnc--login--buttons__inner {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.header--overhead--inner__right .fnc--login--buttons__inner button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-family: var(--sans);
}
.header--overhead--inner__right .fnc--login--buttons__inner button:hover {
  color: var(--gold-lite);
}

/* ===== Main Header (header--centerhead) ===== */
.header--centerhead {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: visible;
}
.header--centerhead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  height: 104px;
}

/* ── Logo ── */
.header--centerhead--inner__logo {
  flex-shrink: 0;
}
.header--centerhead--inner__logo a {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header--centerhead--inner__logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* ── column1 → телефон (rights side, pushed via margin) ── */
.header--centerhead--inner__column1 {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--ink);
}
/* Phone icon */
.header--centerhead--inner__column1::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23C9A86A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Divider after phone block */
.header--centerhead--inner__column1::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  background: var(--line-soft);
  margin-left: 11px;
  flex-shrink: 0;
}
.fnc--header--contacts {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: color .25s;
  line-height: 1.3;
}
.fnc--header--contacts:hover { color: var(--gold-lite); }
.fnc--header--contacts b {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
}
.fnc--header--contacts span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: .02em;
}

/* ── column2 → пошук як іконка-кнопка ── */
.header--centerhead--inner__column2 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header--centerhead--inner--column2__in1 {
  display: flex;
  align-items: center;
}
/* слоган — переносимо у зону топбара через absolute */
.header--centerhead--inner--column2__in2 {
  position: absolute;
  bottom: 100%;           /* піднімається рівно на висоту топбара */
  height: 44px;           /* = висота .header--overhead */
  left: auto;
  /* right = wrap-margin + wrap-padding + (lang-block + login-buttons)-width
     wrap: max-width:1320px, padding:0 40px → margin = (100vw - 1320px) / 2
     lang block ≈ 90px + fnc--login--buttons ≈ 145px + gap ≈ 8px×2 → ~250px від правого краю wrap
     max(250px, …) страхує якщо viewport < 1320px */
  right: max(110px, calc((100vw - 1320px) / 2 + 110px));
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
  pointer-events: none;
  z-index: 35;
}
.header--centerhead--inner--column2__in2 b,
.header--centerhead--inner--column2__in2 strong {
  color: var(--gold-lite);
  font-weight: 600;
}
/* Слоган не поміщається в топбар на вузьких екранах (текст фіксованої довжини вилазить за viewport).
   Слот, у якому він опиняється, залежить від сторінки (на головній __in1 займає пошук, а слоган —
   у __in2; на інших сторінках, де head21 не налаштований, слоган падає в __in1) — тому ховаємо
   сам текст (.tagline), а не слот-контейнер, щоб не зачепити пошук чи інший вміст того ж слоту. */
@media (max-width: 880px) {
  .tagline {
    display: none;
  }
}

/* ── Пошук: іконка-кнопка + dropdown при фокусі ── */
.fnc--search {
  position: relative;
}

/* Скидаємо всі CMS-стилі з форми/контейнера */
.fnc--search form,
.fnc--search__container {
  all: unset;
  display: flex;
  align-items: center;
}

/* Поле вводу — приховано за замовчуванням */
.fnc--search__field {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 300px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 0 14px;
  height: 46px;
  z-index: 200;
  align-items: center;
}
.fnc--search__field input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
}
.fnc--search__field input::placeholder { color: var(--muted-2); }

/* Показуємо поле коли є фокус у середині .fnc--search */
.fnc--search:focus-within .fnc--search__field {
  display: flex;
}

/* Кнопка пошуку — іконка 44×44 */
.fnc--search__button {
  display: flex;
}
.fnc--search__button button {
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='none' stroke='%23C9A86A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: border-color .25s;
}
.fnc--search__button button:hover,
.fnc--search:focus-within .fnc--search__button button {
  border-color: var(--gold);
}

/* Дропдаун результатів (CMS автокомпліт) */
.fnc--search--dropdown {
  position: absolute;
  top: calc(100% + 52px);
  right: 0;
  width: 340px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  z-index: 199;
  max-height: 400px;
  overflow-y: auto;
  display: none; /* jQuery сам робить fadeIn/fadeOut */
}
.fnc--search--dropdown__inner {
  padding: 8px 0;
}
.fnc--search--dropdown__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background .2s;
  border-bottom: 1px solid var(--line-soft);
}
.fnc--search--dropdown__row:last-child {
  border-bottom: 0;
}
.fnc--search--dropdown__row:hover {
  background: var(--bg-3);
}
.fnc--search--dropdown__image {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: var(--bg-3);
}
.fnc--search--dropdown__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fnc--search--dropdown__name {
  flex: 1;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.35;
  min-width: 0;
}
.fnc--search--dropdown__row:hover .fnc--search--dropdown__name {
  color: var(--gold-lite);
}
.fnc--search--dropdown__price {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-lite);
  font-weight: 600;
  white-space: nowrap;
}
.fnc--search--dropdown__price span {
  font-size: 11px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-weight: 400;
}

/* ── column3 → іконки в border-box ── */
.header--centerhead--inner__column3 {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-left: -26px;
}
.header--centerhead--inner--column3__in1,
.header--centerhead--inner--column3__in2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Обране (.fnc--favors--container) — border-box 44×44 */
.fnc--favors--container {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .25s;
}
.fnc--favors--container::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='none' stroke='%23C9A86A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  transition: opacity .25s;
}
.fnc--favors--container:hover { border-color: var(--gold); }
.fnc--favors--container:hover::before { opacity: .8; }
/* Ховаємо текстовий лічильник */
.fnc--favors--container__wrap { display: none; }

/* Кошик (.fnc--cart--container) — border-box 44×44 */
.fnc--cart--container {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  margin-left: auto;
  cursor: pointer;
  transition: border-color .25s;
}
.fnc--cart--container::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='none' stroke='%23C9A86A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  transition: opacity .25s;
}
.fnc--cart--container:hover { border-color: var(--gold); }
.fnc--cart--container:hover::before { opacity: .8; }
/* Ховаємо текстовий підпис і порожній стан кошика */
.fnc--cart--container__title,
.fnc--cart--container__empty { display: none; }
/* Лічильник товарів у кошику — реальний клас, який віддає onLoadCart */
.fnc--cart--container__wrap {
  position: absolute;
  top: -7px;
  right: -7px;
}
.fnc--cart--container__quantity {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  line-height: 19px;
  text-align: center;
  display: inline-block;
}
.fnc--cart--container__wrap:empty { display: none; }

/* ===== Navigation (header--underhead) — порожній, ховаємо ===== */
.header--underhead { display: none; }

/* ===== Megamenu = sticky nav bar ===== */
.fnc--megamenu {
  position: sticky;
  top: 0;
  background: rgba(12,12,14,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 40;
}
.fnc--megamenu--container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* ── Кожен пункт меню (top-level category) ── */
.fnc--megamenu--category,
.fnc--megamenu--category__active {
  display: flex;
  align-items: stretch;
  position: relative; /* containing block для dropdown */
}

/* ── Посилання пункту ── */
.fnc--megamenu--category__link,
.fnc--megamenu--category__link__active {
  display: flex;
  align-items: center;
  padding: 18px 30px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: color .25s;
}
/* Chevron ▾ */
.fnc--megamenu--category__link::before,
.fnc--megamenu--category__link__active::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%23C9A86A' stroke-width='2.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .3s;
  order: 2;
}
/* Немає підменю (посилання — єдина дитина пункту) — ховаємо шеврон */
.fnc--megamenu--category__link:last-child::before,
.fnc--megamenu--category__link__active:last-child::before {
  display: none;
}
/* Підкреслення gold */
.fnc--megamenu--category__link::after,
.fnc--megamenu--category__link__active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all .3s;
  transform: translateX(-50%);
}
.fnc--megamenu--category:hover .fnc--megamenu--category__link,
.fnc--megamenu--category__link__active {
  color: var(--gold-lite);
}
.fnc--megamenu--category:hover .fnc--megamenu--category__link::after,
.fnc--megamenu--category__link__active::after {
  width: calc((100% - 60px) * 0.8);
}
.fnc--megamenu--category:hover .fnc--megamenu--category__link::before,
.fnc--megamenu--category__active:hover .fnc--megamenu--category__link__active::before {
  transform: rotate(180deg);
}

/* ── Dropdown panel ──
   JS перейменовує __load → __submenu після ініціалізації,
   тому таргетуємо обидва класи. */
.fnc--megamenu--submenu__load,
.fnc--megamenu--submenu {
  display: block;
  position: absolute;
  width: 440px;
  left: 50% !important;   /* перебиваємо JS inline left */
  right: auto !important;
  top: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  z-index: 60;
  box-shadow: 0 28px 56px -16px rgba(0,0,0,.65);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.fnc--megamenu--category:hover .fnc--megamenu--submenu__load,
.fnc--megamenu--category:hover .fnc--megamenu--submenu,
.fnc--megamenu--category__active:hover .fnc--megamenu--submenu__load,
.fnc--megamenu--category__active:hover .fnc--megamenu--submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ── Внутрішній контент: скидаємо JS inline left/right ── */
.fnc--megamenu--submenu__inner {
  left: auto !important;
  right: auto !important;
  position: static !important;
}
.fnc--megamenu--submenu__inner--info {
  padding: 16px 26px 22px;
}
/* Сітка підкатегорій (багато категорій) — компактна панель, завжди 2 колонки */
.fnc--megamenu--submenu__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 30px;
}
/* Одна колонка (мало категорій) */
.fnc--megamenu--submenu__inner--info > .fnc--megamenu--submenu__column {
  display: flex;
  flex-direction: column;
}
/* Колонка в сітці */
.fnc--megamenu--submenu__column {
  display: flex;
  flex-direction: column;
}
.fnc--megamenu--submenu__main {
  margin-bottom: 4px;
}
.fnc--megamenu--submenu__mainlink {
  /* wrapper */
}

/* Посилання рівня 2 */
.fnc--megamenu--submenu__link {
  display: block;
  padding: 11px 2px;
  font-size: 15px;
  color: var(--muted);
  transition: color .2s, padding-left .2s;
}
.fnc--megamenu--submenu__link:hover {
  color: var(--gold-lite);
  padding-left: 6px;
}

/* Посилання рівня 3 */
.fnc--megamenu--submenu__mainsublink {
  padding-left: 2px;
}
.fnc--megamenu--submenu__sublink {
  display: block;
  padding: 5px 2px 5px 14px;
  font-size: 13px;
  color: var(--muted-2);
  border-left: 1px solid var(--line-soft);
  transition: color .2s, padding-left .2s;
}
.fnc--megamenu--submenu__sublink:hover {
  color: var(--gold-lite);
  padding-left: 18px;
}

/* Утиліта */
.fnc--catalog--adapt { display: none !important; }

/* ===== Page wrapper ===== */
section.body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
section.content--center--main {
  flex: 1;
}

/* ===== Under-header slider ===== */
.under--header--slider { display: none; }
.under--header--slider:not(:empty) { display: block; }

/* ===== Content layout ===== */
.content--center--main {
  padding: 0;
}
.content--center--inner {
  display: flex;
  align-items: flex-start;
  gap: 54px;
  padding-top: 54px;
  padding-bottom: 96px;
}
.content--center--inner__center {
  flex: 1;
  min-width: 0;
}
.content--center--inner__left {
  width: 280px;
  flex-shrink: 0;
}
.content--center--inner__right {
  width: 280px;
  flex-shrink: 0;
}

/* ===== Left column: дерево категорій ===== */
.content--left__deliver { margin-bottom: 28px; }
.content--left__deliver:empty { display: none; margin: 0; }
.fnc--column--catalog {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 24px 22px;
}
.fnc--column--catalog__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.fnc--column--category0,
.fnc--column--category__active0,
.fnc--column--category1,
.fnc--column--category__active1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.fnc--column--category__count {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted-2);
}
.fnc--column--catalog__container > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fnc--column--category0 a,
.fnc--column--category__active0 a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .25s;
}
.fnc--column--category1,
.fnc--column--category__active1 { padding-left: 16px; }
.fnc--column--category1 a,
.fnc--column--category__active1 a {
  display: block;
  font-size: 13px;
  color: var(--muted-2);
  transition: color .25s;
}
.fnc--column--category0:hover a,
.fnc--column--category1:hover a { color: var(--gold-lite); }
.fnc--column--category__active0 a,
.fnc--column--category__active1 a { color: var(--gold); }

/* ===== Left/right column: товарні віджети (останні переглянуті тощо) ===== */
.fnc--items--column {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 24px 22px;
}
.fnc--items--column__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.fnc--items--column__listitem {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.fnc--items--column__listitem:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
/* фото перед назвою */
.fnc--items--column__main {
  display: flex;
  flex-direction: column;
}
.fnc--items--column__image--left,
.fnc--items--column__image--right {
  order: -1;
  margin-bottom: 12px;
  background: var(--bg-3);
  overflow: hidden;
}
.fnc--items--column__image--left img,
.fnc--items--column__image--right img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.fnc--items--column__name a {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.fnc--items--column__name a:hover { color: var(--gold-lite); }
.fnc--items--column__price {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-lite);
}
.fnc--items--column__price span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
}
.fnc--products--column__buy button {
  width: 100%;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all .25s;
}
.fnc--products--column__buy button:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
}
.fnc--items--column__button { margin-top: 2px; }
.fnc--items--column__button a {
  display: inline-flex;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.fnc--items--column__button a:hover { color: var(--gold-lite); }

/* ===== Breadcrumbs ===== */
.breadcrumbs.breads {
  margin-bottom: 32px;
}
.breads__container { }
.breads__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.breads--inner__item a,
.breads--inner__item__active span {
  color: var(--muted-2);
  font-size: 12.5px;
}
.breads--inner__item a:hover { color: var(--gold); }
.breads--inner__item__active span { color: var(--muted); }
.breads--inner__item__separator {
  color: var(--gold);
  font-size: 10px;
  margin: 0 4px;
}

/* ===== Page h1 ===== */
.content--center--inner--center__column > h1,
.content--center--page > h1,
h1 {
  font-family: var(--serif);
  font-size: clamp(38px,4vw,56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 40px;
}

/* ===== Sorting toolbar ===== */
.fnc--itemshow--container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.fnc--sorting {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fnc--sorting__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
}
.fnc--sorting__wrap select,
select.js__sort--button {
  height: 42px;
  padding: 0 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  border-radius: 0;
  appearance: none;
}
select.js__sort--button:focus { border-color: var(--gold); }

/* ===== Products grid ===== */
.js__list--container,
.fnc--products--list1,
.fnc--products--list2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Hor-вид (список) — один рядок на товар; специфічність вища за медіа-правила */
.js__list--container.fnc--products--listHor {
  grid-template-columns: 1fr !important;
}

/* ===== Product card (vertical) ===== */
.fnc--products--listitem {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.fnc--products--listitem:hover {
  transform: translateY(-5px);
  border-color: var(--line);
}
.fnc--products--listitem__image {
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.fnc--products--listitem__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.fnc--products--listitem__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fnc--products--listitem__icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.fnc--product--icon__top,
.fnc--product--icon__action,
.fnc--product--icon__new {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 11px;
  color: var(--bg);
  background: var(--gold);
}
.fnc--product--icon__top::after { content: "Хіт"; }
.fnc--product--icon__action::after { content: "Акція"; }
.fnc--product--icon__new::after { content: "Новинка"; }

.fnc--products--listitem__main {
  display: flex;
  flex-direction: column;
  padding: 0;
}
/* фото завжди перед назвою (в каталозі view рендерить назву першою) */
.fnc--products--listitem__image { order: -1; }
.fnc--products--listitem__name {
  margin-bottom: 0;
  padding: 14px 22px 0;
}
.fnc--products--listitem__name a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 50px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.fnc--products--listitem__name a:hover { color: var(--gold-lite); }

/* Stars */
.fnc--products--listitem__votes {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 10px 22px 0;
  margin: 0;
}
.fnc--products--listitem__vote {
  width: 15px;
  height: 15px;
  position: relative;
}
.fnc--products--listitem__vote .item--vote,
.fnc--products--listitem__vote .item--vote--act {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}
.fnc--products--listitem__vote .item--vote::before { content: "☆"; color: var(--muted-2); }
.fnc--products--listitem__vote .item--vote--act::before { content: "★"; color: var(--gold); }

/* Availability */
.fnc--products--listitem__info {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .06em;
  text-align: center;
  font-style: italic;
  padding: 6px 22px 0;
  min-height: 24px;
  line-height: 1.4;
}
.fnc--products--listitem__shopinfo {
  padding: 0 22px 22px;
  margin-top: 8px;
}
.fnc--products--listitem__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0 14px;
  font-family: var(--serif);
  font-size: 29px;
  color: var(--gold-lite);
  font-weight: 600;
  letter-spacing: -.01em;
}
.fnc--products--listitem__price > span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: lowercase;
  align-self: flex-end;
  padding-bottom: 3px;
}
.fnc--products--listitem__oldprice {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted-2);
  text-decoration: line-through;
}
.fnc--products--listitem__actprice {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold-lite);
  font-weight: 600;
}
.fnc--products--listitem__actprice > span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 400;
  letter-spacing: .08em;
}
.fnc--products--listitem__buy {
  margin-top: 4px;
}
.fnc--products--listitem__buy button {
  width: 100%;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  border-radius: 0;
  padding: 0;
}
.fnc--products--listitem__buy button:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* Favorites / compare buttons */
.fnc--products--listitem__buttons,
.fnc--products--listhoritem__buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.fnc--products--listitem__favor button,
.fnc--products--listitem__compare button,
.fnc--products--listhoritem__favor button,
.fnc--products--listhoritem__compare button {
  width: 38px;
  height: 38px;
  padding: 0;
  gap: 0; /* перебиває gap:10px з базової групи кнопок — інакше серце зсунуте вліво */
  background: rgba(12,12,14,.72);
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  border-radius: 0;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  backdrop-filter: blur(4px);
}
/* Heart icon — SVG як у fnc--favors--container */
.fnc--products--listitem__favor button::before,
.fnc--products--listhoritem__favor button::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%239D978A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  transition: opacity .2s;
}
.fnc--products--listitem__favor .favor--item__active::before,
.fnc--products--listitem__favor button:hover::before,
.fnc--products--listhoritem__favor .favor--item__active::before,
.fnc--products--listhoritem__favor button:hover::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23C9A86A' stroke='%23C9A86A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fnc--products--listitem__favor button:hover,
.fnc--products--listitem__favor .favor--item__active,
.fnc--products--listhoritem__favor button:hover,
.fnc--products--listhoritem__favor .favor--item__active {
  border-color: var(--gold-deep);
  background: rgba(201,168,106,.08);
}
/* Compare icon */
.fnc--products--listitem__compare button::before,
.fnc--products--listhoritem__compare button::before {
  content: "\21C4";
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
}
.fnc--products--listitem__compare button:hover,
.compare--item__active {
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== Horizontal product card ===== */
.fnc--products--listhoritem {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 18px;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.fnc--products--listhoritem:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}
/* фото і текст лежать в __inner, а не прямими дітьми */
.fnc--products--listhoritem__inner {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.fnc--products--listhoritem__icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.fnc--products--listhoritem__image {
  width: 120px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: var(--bg-3);
  overflow: hidden;
}
.fnc--products--listhoritem__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.fnc--products--listhoritem__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fnc--products--listhoritem__main {
  flex: 1;
  min-width: 0;
  padding-right: 48px; /* щоб назва не залазила під серце-обране */
}
.fnc--products--listhoritem__name a {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.fnc--products--listhoritem__name a:hover { color: var(--gold-lite); }
.fnc--products--listhoritem__votes { display: flex; gap: 3px; margin: 8px 0; }
.fnc--products--listhoritem__vote .item--vote::before { content: "☆"; color: var(--muted-2); font-size: 12px; }
.fnc--products--listhoritem__vote .item--vote--act::before { content: "★"; color: var(--gold); font-size: 12px; }
.fnc--products--listhoritem__info { font-size: 13px; color: var(--muted); }
.fnc--products--listhoritem__shopinfo { margin-top: 12px; }
.fnc--products--listhoritem__price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-lite);
}
.fnc--products--listhoritem__price span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
}
.fnc--products--listhoritem__buy button {
  margin-top: 10px;
  height: 44px;
  padding: 0 22px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 0;
}
.fnc--products--listhoritem__buy button:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ===== Pagination ===== */
.fnc--pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.fnc--paging--button {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--sans);
  padding: 0 10px;
}
.fnc--paging--button:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
}
.fnc--paging--button__now {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  padding: 0 10px;
}

/* ===== Filter sidebar ===== */
.fnc--filters--container {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 0;
}
.fnc--filters--title {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.fnc--filters--wrap {
  padding: 10px 0;
}
.fnc--filters--item {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.fnc--filters--item:last-child { border-bottom: 0; }
.fnc--filters--item__name {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.fnc--filters--item__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.fnc--filters--item__inner--param {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.fnc--filters--item__inner--param:hover { color: var(--gold-lite); }
/* Checkbox */
input[type="checkbox"].js__brand--check,
input[type="checkbox"].js__filter--check {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
input[type="checkbox"].js__brand--check:checked,
input[type="checkbox"].js__filter--check:checked {
  background: var(--gold);
  border-color: var(--gold);
}
input[type="checkbox"].js__brand--check:checked::after,
input[type="checkbox"].js__filter--check:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: var(--bg);
  font-size: 11px;
  line-height: 1;
}
.label--filter--checkbox {
  display: none;
}
/* Price slider */
.fnc--filters--item__inner--slider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.fnc--filters--item__inner--slider input[type="text"] {
  width: 80px;
  height: 36px;
  padding: 0 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  border-radius: 0;
}
.fnc--filters--item__inner--slider input[type="text"]:focus {
  border-color: var(--gold);
}
.fnc--filter--slider.ui-slider {
  background: var(--line-soft);
  border: 0;
  height: 3px;
  border-radius: 0;
  margin-top: 8px;
}
.fnc--filter--slider .ui-slider-range { background: var(--gold); }
.fnc--filter--slider .ui-slider-handle {
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  top: -6px;
  cursor: pointer;
}
/* Filter buttons */
.fnc--filters--button {
  padding: 18px 22px 22px;
}
.fnc--filters--button button {
  width: 100%;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all .25s;
}
.fnc--filters--button button:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
}
.filtercolumnseparator { height: 1px; background: var(--line-soft); margin: 4px 0; }
.mobile--show--filters button {
  height: 44px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 0;
  display: none;
}

/* ===== Product page (item) ===== */
.itempage--columns {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: flex-start;
  margin-top: 32px;
}
.itempage--left--column { }
/* Main image */
.itempage--item--image {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.itempage--item--image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}
.itempage--item--image__icons { position: absolute; top: 14px; left: 14px; z-index: 2; }
.productin_topitem {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 11px;
}
.productin_topitem::after { content: "Натуральна шкіра"; }
/* Thumbnails */
.fnc--small--images__wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.fnc--small--images__center {
  flex: 1;
  overflow: hidden;
}
.fnc--small--images--inner {
  display: flex;
  gap: 10px;
}
.fnc--small--images--listitem__main {
  width: 84px;
  height: 96px;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-3);
}
.fnc--small--images--listitem__main .fnc--small-image--button {
  height: 100%;
}
.fnc--small--images--listitem__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fnc--small--images--listitem__main:hover,
.fnc--small--images--listitem__main.active {
  border-color: var(--gold);
}
.fnc--small--images__left button,
.fnc--small--images__right button {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.fnc--small--images__left button:hover,
.fnc--small--images__right button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
/* Center column (item info) */
.itempage--center--name h1 {
  font-family: var(--serif);
  font-size: clamp(38px,4vw,56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 20px;
}
.itempage--center--code {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.itempage--center--status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold-lite);
  margin-bottom: 10px;
}
.itempage--center--status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-lite);
}
.itempage--center--rate {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}
.itempage--vote--rate .item--vote,
.itempage--vote--rate .item--vote--act {
  font-size: 15px;
  line-height: 1;
}
.itempage--vote--rate .item--vote::before { content: "☆"; color: var(--muted-2); }
.itempage--vote--rate .item--vote--act::before { content: "★"; color: var(--gold); }
/* Price */
.itempage--center--pricerow {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.itempage--center--prices {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-lite);
}
.itempage--center--prices > span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}
.itempage--center--valutes {
  font-size: 15px;
  color: var(--muted-2);
}
.itempage--center--valutes::before { content: "\2248\00a0"; }
.itempage--center--valutes > span { font-size: 13px; }
/* Buy block */
.itempage--center--buyinfo {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.itempage--center--quantity { display: none; }
.itempage--center--quantity input {
  height: 54px;
  text-align: center;
  padding: 0 8px;
}
.itempage--center--buybutton { flex: 1; }
.itempage--center--buybutton button {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
}
.itempage--center--buybutton button:hover { background: var(--gold-lite); }
.itempage--center--buttons {
  width: 100%;
  display: flex;
  gap: 14px;
}
.itempage--center--oneclick,
.itempage--center--favor { flex: 1; }
.itempage--center--oneclick button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all .25s;
}
.itempage--center--oneclick button,
.itempage--center--favor button {
  width: 100%;
  padding: 0 20px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.itempage--center--oneclick button:hover,
.itempage--center--favor button:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
  background: transparent;
}
/* Задати питання — текстова кнопка */
.itempage--center--quest { margin-top: 18px; }
.itempage--center--quest button {
  background: transparent;
  border: 0;
  padding: 0 0 3px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: all .25s;
}
.itempage--center--quest button:hover {
  color: var(--gold-lite);
  border-color: var(--gold);
}
/* Опис */
.itempage--center--text {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
/* Таби (відгуки і т.д.) */
.itempage--tabs {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.itempage--tabs--buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.js__itempage--tab {
  padding: 12px 24px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: all .25s;
}
.js__itempage--tab:hover {
  color: var(--gold-lite);
  border-color: var(--gold);
}
.itempage--tabs--button__inner--active {
  color: var(--gold-lite);
  border-color: var(--gold);
  background: var(--bg-2);
}
/* Форма відгуку на сторінці товару */
.fnc--addcomment--container {
  max-width: 560px;
  margin-top: 32px;
  padding: 30px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
.fnc--addcomment--title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 20px;
}
.fnc--addcomment--item { margin-bottom: 16px; }
.fnc--addcomment--item:last-child { margin-bottom: 0; }
.fnc--addcomment--vote {
  align-items: center;
  margin-bottom: 0;
}
.fnc--addcomment--vote__name {
  font-size: 13px;
  color: var(--muted);
  margin-right: 10px;
}
.fnc--addcomment--vote__rate {
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.fnc--addcomment--vote__rate .item--vote::before { content: "☆"; color: var(--muted-2); }
.fnc--addcomment--vote__rate .item--vote--act::before { content: "★"; color: var(--gold); }
button.js__addcomment--item--button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--bg);
  transition: all .25s;
}
button.js__addcomment--item--button:hover { background: var(--gold-lite); }
.fnc--addcomment--info { font-size: 13px; color: var(--gold-lite); }
/* Опис товару (вкладка "Опис") */
.itempage--tab--info__text {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.itempage--tab--info__text p { margin-bottom: 16px; }
.itempage--tab--info__text img { max-width: 100%; height: auto; }
.itempage--tab--info__text a { color: var(--gold-lite); text-decoration: underline; }

/* Характеристики товару (вкладка "Характеристики") */
.item--page--chars--container {
  max-width: 760px;
  border-top: 1px solid var(--line-soft);
}
.item--page--chars__row {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.item--page--chars__row--name {
  width: 220px;
  flex-shrink: 0;
  color: var(--muted);
}
.item--page--chars__row--text {
  color: var(--ink);
  font-weight: 500;
}

/* Відгуки на сторінці товару (вкладка "Відгуки") */
.js__list--container > .fnc--comments--list { grid-column: 1/-1; }
.fnc--comments--list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.fnc--comments--listitem {
  padding: 22px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
.fnc--comments--listitem__main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.fnc--comments--listitem__name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold-lite);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.fnc--comments--listitem__date {
  font-size: 12px;
  color: var(--muted-2);
  white-space: nowrap;
}
.fnc--comments--list__votes {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}
.fnc--comments--list__vote { font-size: 14px; line-height: 1; }
.fnc--comments--list__vote .item--vote::before { content: "☆"; color: var(--muted-2); }
.fnc--comments--list__vote .item--vote--act::before { content: "★"; color: var(--gold); }
.fnc--comments--listitem__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* "Товари, які можуть Вас зацікавити" — слайдер під товаром */
.fnc--slider--sameitems {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.fnc--slider--sameitems__title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 28px;
}
.fnc--slider--sameitems__wrap {
  position: relative;
}
.js__slider--sameitem__left,
.js__slider--sameitem__right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.js__slider--sameitem__left { left: -22px; }
.js__slider--sameitem__right { right: -22px; }
.js__sameitem--left,
.js__sameitem--right {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: rgba(12,12,14,.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: border-color .2s, color .2s, opacity .2s;
}
.js__sameitem--left:hover:not(:disabled),
.js__sameitem--right:hover:not(:disabled) {
  border-color: var(--gold-deep);
  color: var(--gold);
}
.js__sameitem--left:disabled,
.js__sameitem--right:disabled {
  cursor: default;
}
.slider--sameitems__inner { overflow: hidden; }
.js__slider--sameitems__container { display: flex; }
.fnc--slider--sameitem__main {
  width: 280px;
  flex-shrink: 0;
}
.fnc--slider--listitem.js__slide--sameitem {
  width: 260px;
  margin-right: 20px;
  box-sizing: border-box;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  transition: transform .3s, border-color .3s;
}
.fnc--slider--listitem.js__slide--sameitem:hover {
  transform: translateY(-5px);
  border-color: var(--line);
}
.fnc--items--slider__icon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.fnc--items--slider__main {
  display: flex;
  flex-direction: column;
}
.fnc--items--slider__image { order: -1; }
.fnc--items--slider__image {
  aspect-ratio: 1 / 1;
  background: var(--bg-3);
  overflow: hidden;
}
.fnc--items--slider__image a { display: block; width: 100%; height: 100%; }
.fnc--items--slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fnc--items--slider__name { padding: 14px 18px 0; }
.fnc--items--slider__name a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 46px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.fnc--items--slider__name a:hover { color: var(--gold-lite); }
.fnc--products--slider__buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.fnc--products--slider__favor button {
  width: 36px;
  height: 36px;
  padding: 0;
  gap: 0;
  background: rgba(12,12,14,.72);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  border-radius: 0;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  backdrop-filter: blur(4px);
}
.fnc--products--slider__favor button::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%239D978A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.fnc--products--slider__favor .favor--item__active::before,
.fnc--products--slider__favor button:hover::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23C9A86A' stroke='%23C9A86A' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fnc--products--slider__favor button:hover,
.fnc--products--slider__favor .favor--item__active {
  border-color: var(--gold-deep);
  background: rgba(201,168,106,.08);
}
.fnc--products--slider__shopinfo {
  padding: 14px 18px 18px;
  margin-top: auto;
}
.fnc--products--slider__price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-lite);
  font-weight: 600;
  margin-bottom: 12px;
}
.fnc--products--slider__price > div > span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 400;
}
.fnc--products--slider__buy button {
  width: 100%;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  border-radius: 0;
}
.fnc--products--slider__buy button:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* Item page mobile */
@media (max-width: 640px) {
  .itempage--item--image img { height: 420px; }
  .itempage--center--buttons { flex-direction: column; }
  .item--page--chars__row { flex-direction: column; gap: 4px; }
  .item--page--chars__row--name {
    width: auto;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .fnc--slider--sameitem__main { width: 220px; }
  .fnc--slider--listitem.js__slide--sameitem { width: 204px; margin-right: 16px; }
  .js__sameitem--left,
  .js__sameitem--right { width: 36px; height: 36px; }
  .js__slider--sameitem__left { left: 4px; }
  .js__slider--sameitem__right { right: 4px; }
}

/* ===== Filters popup (mobile) ===== */
.js__filters--popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  z-index: 200;
  overflow-y: auto;
  padding: 20px;
}
.js__filters--popup--close button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  margin-bottom: 20px;
}
.js__body--background {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 150;
}

/* ===== Category items section (center-items widgets) ===== */
.fnc--center-topitems,
.fnc--center-actitems,
.fnc--center-newitems,
.fnc--center-lasitems {
  padding: 64px 0;
}
.fnc--center-topitems__title,
.fnc--center-actitems__title,
.fnc--center-newitems__title,
.fnc--center-lasitems__title {
  font-family: var(--serif);
  font-size: clamp(28px,3vw,42px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -.3px;
}
.fnc--center-topitems__ver--container,
.fnc--center-actitems__ver--container,
.fnc--center-newitems__ver--container,
.fnc--center-lasitems__ver--container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fnc--center-topitems__button a,
.fnc--center-actitems__button a,
.fnc--center-newitems__button a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.fnc--center-topitems__button a:hover,
.fnc--center-actitems__button a:hover,
.fnc--center-newitems__button a:hover { color: var(--gold-lite); }

/* ===== Blog article list ===== */
.fnc--articles--list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* Сторінка /blog обгортає список у спільний .js__list--container (той самий, що й у
   каталозі товарів) — без цього список статей стає лише ОДНІЄЮ колонкою каталожної сітки
   замість повної ширини */
.js__list--container > .fnc--articles--list {
  grid-column: 1 / -1;
}
.fnc--articles--listitem {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s, border-color .3s;
  cursor: pointer;
}
.fnc--articles--listitem:hover {
  transform: translateY(-5px);
  border-color: var(--line);
}
.fnc--articles--listitem__main { flex: 1; }
.fnc--articles--listitem__image {
  background: var(--bg-3);
  overflow: hidden;
}
.fnc--articles--listitem__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.fnc--articles--listitem__name {
  padding: 22px 22px 10px;
}
.fnc--articles--listitem__name a {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  text-wrap: pretty;
}
.fnc--articles--listitem__name a:hover { color: var(--gold-lite); }
.fnc--articles--listitem__info {
  padding: 0 22px 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Захист від будь-якого форматування, вставленого в "Короткий текст" з адмінки —
   заголовки/списки/посилання завжди зводяться до одного звичайного рядка тексту */
.fnc--articles--listitem__info h1,
.fnc--articles--listitem__info h2,
.fnc--articles--listitem__info h3,
.fnc--articles--listitem__info h4,
.fnc--articles--listitem__info h5,
.fnc--articles--listitem__info h6,
.fnc--articles--listitem__info p {
  font: inherit;
  color: inherit;
  margin: 0;
  display: inline;
}
.fnc--articles--listitem__info a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}
.fnc--articles--listitem__info strong,
.fnc--articles--listitem__info b { font-weight: 600; }
.fnc--articles--listitem__info em,
.fnc--articles--listitem__info i { font-style: italic; }
.fnc--articles--listitem__info u { text-decoration: underline; }
.fnc--articles--listitem__info s { text-decoration: line-through; }
.fnc--articles--listitem__info ul,
.fnc--articles--listitem__info ol {
  display: inline;
  padding: 0;
  margin: 0;
  list-style: none;
}
.fnc--articles--listitem__info li { display: inline; }
.fnc--articles--listitem__info li::after { content: " "; }
.fnc--articles--listitem__info img,
.fnc--articles--listitem__info br { display: none; }
.fnc--articles--listitem__date {
  padding: 8px 22px 20px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ===== Blog center block (homepage) ===== */
.fnc--center--articles {
  padding: 0;
}
.fnc--center--articles__title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 32px;
}
.fnc--center--articles .onyx-carousel {
  margin-bottom: 36px;
}
.fnc--center--articles__container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 20px;
  cursor: grab;
}
.fnc--center--articles__container::-webkit-scrollbar {
  display: none;
}
.fnc--center--articles__container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.fnc--center--articles__container .fnc--center--articles__listitem {
  flex: 0 0 calc((100% - 20px * 2.15) / 3.15);
  scroll-snap-align: start;
}
.fnc--center--articles__listitem {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.fnc--center--articles__listitem:hover {
  transform: translateY(-5px);
  border-color: var(--line);
}
.fnc--center--articles--listitem__image {
  background: var(--bg-3);
  overflow: hidden;
}
.fnc--center--articles--listitem__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.fnc--center--articles__listitem:hover .fnc--center--articles--listitem__image img {
  transform: scale(1.04);
}
.fnc--center--articles__listitem__main {
  padding: 16px 22px 0;
}
.fnc--center--articles--listitem__name a {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.fnc--center--articles--listitem__name a:hover { color: var(--gold-lite); }
.fnc--center--articles--listitem__info {
  padding: 10px 22px 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* "Докладніше" кнопка */
.fnc--center--articles__button {
  text-align: center;
  margin-top: 4px;
}
.fnc--center--articles__button a {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.fnc--center--articles__button a:hover {
  color: var(--gold-lite);
  border-color: var(--gold);
}

/* ===== Blog article / Chapter content ===== */
.content--center--article {
  max-width: 760px;
}
.content--center--page__text {
  max-width: none;
  padding: 8px 0 16px;
  line-height: 1.8;
}
.content--center--page {
  padding-bottom: 24px;
}
.content--center--article .page--article--back {
  margin-bottom: 24px;
}
.content--center--article .page--article--back a {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 2px;
}
.content--center--article .page--article--back a:hover { color: var(--gold-lite); }

/* Article typography */
.content--center--article p,
.content--center--page__text p,
.content--center--note__body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}
.content--center--article h1 {
  font-size: clamp(38px,4vw,56px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.content--center--page__text h1 {
  font-size: clamp(28px,2.8vw,38px);
  line-height: 1.15;
  color: var(--gold-lite);
  margin-bottom: 16px;
}
.content--center--article h2,
.content--center--page__text h2 {
  font-family: var(--serif);
  font-size: clamp(28px,3vw,38px);
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 16px;
}
.content--center--article h3,
.content--center--page__text h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}
.content--center--article strong,
.content--center--page__text strong {
  color: var(--ink);
  font-weight: 600;
}
.content--center--article a,
.content--center--page__text a {
  color: var(--gold);
}
.content--center--article a:hover,
.content--center--page__text a:hover { color: var(--gold-lite); }
.content--center--article ul,
.content--center--page__text ul,
.content--center--article ol,
.content--center--page__text ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.content--center--article ul li,
.content--center--page__text ul li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}
.content--center--article ul li::before,
.content--center--page__text ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.content--center--article ol li { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.content--center--article blockquote,
.content--center--page__text blockquote {
  border-left: 3px solid var(--gold-deep);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(201,168,106,.04);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.content--center--article img,
.content--center--page__text img {
  border: 1px solid var(--line-soft);
  max-width: 100%;
  height: auto;
}
.content--center--article hr,
.content--center--page__text hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-deep) 30%, var(--gold-deep) 70%, transparent);
  width: 60px;
  margin: 36px auto;
}

/* ===== Note / Info page ===== */
.content--center--note {
  max-width: 860px;
}
.notemenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  width: 220px;
  float: left;
  margin-right: 48px;
}
.notetabposition { }
.notetab,
.notetabact {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  transition: color .25s;
}
.notetab a { color: var(--muted); }
.notetab:hover a { color: var(--gold-lite); }
.notetabact { color: var(--gold); border-left: 2px solid var(--gold); padding-left: 14px; }
.notetabact a { color: var(--gold); }

/* ===== Cart ===== */
.content--center--page--cart {
  padding: 0;
}
.fnc--cartlist--section {
  margin-bottom: 40px;
}
.fnc--cartlist--container table {
  width: 100%;
  border-collapse: collapse;
}
.fnc--cartlist--row__title td {
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-soft);
}
.fnc--cartlist--row {
  border-bottom: 1px solid var(--line-soft);
}
.fnc--cartlist--row td {
  padding: 18px 12px;
  vertical-align: middle;
  color: var(--ink);
}
.fnc--cartlist--cell__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.fnc--cartlist--cell__code {
  font-size: 12px;
  color: var(--muted-2);
}
.fnc--cartlist--cell__price,
.fnc--cartlist--cell__amount {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-lite);
  font-weight: 600;
  white-space: nowrap;
}
/* Специфічність вища за загальне input[type="number"] (рядок нижче в файлі) — інакше воно перебиває ширину/паддінг */
.fnc--cartlist--cell__qnt input[type="number"] {
  width: 60px;
  height: 40px;
  padding: 0;
  text-align: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  border-radius: 0;
}
.fnc--cartlist--cell__qnt input[type="number"]:focus { border-color: var(--gold); }

/* Підсумковий рядок кошика */
.fnc--cartlist--row__total td {
  padding: 20px 12px 6px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.fnc--cartlist--cell__total__text {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.fnc--cartlist--cell__total__summ {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold-lite);
  white-space: nowrap;
}
img.cartimg {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--bg-3);
}
.fnc--cartlist--cell__delete button,
.fnc--cartlist--cell__delete a {
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--muted-2);
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}
.fnc--cartlist--cell__delete button:hover { border-color: var(--gold); color: var(--gold); }
.fnc--cartlist--params__table { font-size: 12px; color: var(--muted-2); }
.fnc--cartlist--params__table--name { padding-right: 8px; color: var(--muted-2); }
.fnc--cartlist--params__table--param { color: var(--muted); }

/* Cart order form */
.cart--page--container {
  max-width: 640px;
}
.cart--page--title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 30px;
  padding-top: 40px;
}
.cart--page--inner__line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.cart--page--inner--block__name {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart--page--inner--block__param input[type="text"],
.cart--page--inner--block__param input[type="tel"],
.cart--page--inner--block__param select,
.cart--page--inner--block__param textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 14px;
  border-radius: 0;
}
.cart--page--inner--block__param textarea {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
}
.cart--page--inner--block__param input:focus,
.cart--page--inner--block__param select:focus,
.cart--page--inner--block__param textarea:focus {
  border-color: var(--gold);
}
select option { background: var(--bg-2); color: var(--ink); }

/* Оплата (кошик) */
.cart--page--payment__line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart--page--payment__line:last-child { border-bottom: 0; }
.cart--page--payment__line--left input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.cart--page--payment__line--right button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  transition: color .25s;
}
.cart--page--payment__line--right button:hover { color: var(--gold-lite); }
.cart--page--payment__line:has(input:checked) .cart--page--payment__line--right button {
  color: var(--gold-lite);
  font-weight: 600;
}

/* Кнопка "Оформити замовлення" */
.cart--page--checkout { margin-top: 20px; }
.cart--page--checkout button {
  width: 100%;
  height: 54px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
}
.cart--page--checkout button:hover { background: var(--gold-lite); }
.cart--page--checkout button:disabled { opacity: .5; cursor: not-allowed; }

/* Заголовок сторінки /payment */
.fnc--payment--title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 30px;
  padding-top: 40px;
}

/* Підказки міст/відділень Нової пошти — API повертає довгий список,
   тому робимо його компактним випадаючим списком, а не розтягуємо сторінку */
.cart--page--inner--block__param { position: relative; }
.js__cart--cities--field--container,
.js__cart--warehouses--field--container {
  position: relative;
}
.js__cart--cities--field--inner,
.js__cart--warehouses--field--inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 260px;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.6);
}
/* Сотні елементів підказки одразу — глобальний transition на div (рядок 47)
   лагає при масовій вставці, тут він не потрібен */
.js__cart--cities--field--inner div,
.js__cart--warehouses--field--inner div {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
  transition: none;
}
.js__cart--cities--field--inner div:last-child,
.js__cart--warehouses--field--inner div:last-child {
  border-bottom: 0;
}
.js__cart--cities--field--inner div:hover,
.js__cart--warehouses--field--inner div:hover {
  background: var(--bg-3);
  color: var(--gold-lite);
}

/* Cart submit */
button.js__send--order,
.cart--order--submit {
  height: 54px;
  padding: 0 36px;
  background: var(--gold);
  border: 0;
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  margin-top: 24px;
  width: 100%;
}
button.js__send--order:hover { background: var(--gold-lite); }

/* ===== Універсальний попап (js__body--popup: кошик, логін, callme…) ===== */
.js__body--popup {
  display: none;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 300;
  width: min(520px, calc(100vw - 32px));
  max-height: 86vh;
  overflow: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0,0,0,.8);
  padding: 30px;
}
.js__body--popup.js__cart--popup {
  width: min(960px, calc(100vw - 32px));
}
.js__body--popup.js__big--images--popup {
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 12px;
}
/* Хрестик закриття */
.popup--container__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.popup--container__close button {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0;
  cursor: pointer;
  border-radius: 0;
  position: relative;
  transition: all .25s;
}
.popup--container__close button::before {
  content: "✕";
  font-size: 14px;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.popup--container__close button:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
}
.fnc--login--popup--container { padding-top: 10px; }
/* Кнопки під кошиком у попапі */
.fnc--cartpopup--buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.fnc--cartpopup--continue button,
.fnc--cartpopup--gotocart button {
  height: 50px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all .25s;
}
.fnc--cartpopup--continue button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.fnc--cartpopup--continue button:hover {
  border-color: var(--gold);
  color: var(--gold-lite);
}
.fnc--cartpopup--gotocart button {
  background: var(--gold);
  border: 0;
  color: var(--bg);
}
.fnc--cartpopup--gotocart button:hover { background: var(--gold-lite); }
.fnc--cartpopup--empty {
  padding: 20px 10px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

/* ===== Forms (reviews, contact, feedback) ===== */
.fnc--addcomment,
.feedback--form,
.commentsform {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 30px;
}
.fnc--addcomment h3,
.feedback--form h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 24px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 0;
  width: 100%;
  transition: border-color .25s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: none;
}
input[type="text"].error,
input.error,
select.error,
textarea.error {
  border-color: #b54040;
}

/* ===== Reviews section ===== */
.fnc--addcomment--vote {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.fnc--addcomment--vote .vote--star {
  font-size: 22px;
  color: var(--muted-2);
  cursor: pointer;
}
.fnc--addcomment--vote .vote--star.active,
.fnc--addcomment--vote .vote--star:hover { color: var(--gold); }

.comment--item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.comment--item__name { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.comment--item__text { font-size: 14px; color: var(--muted); line-height: 1.7; }
.comment--item__date { font-size: 12px; color: var(--muted-2); margin-top: 8px; }

/* ===== Форма зворотного зв'язку ===== */
.fnc--feedback {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  margin: 64px 0;
}
.fnc--feedback--container {
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
}
.fnc--feedback__title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin-bottom: 8px;
}
.fnc--feedback__second--title {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
}
.fnc--feedback--main__line {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 24px;
  align-items: start;
  margin-bottom: 16px;
}
.fnc--feedback--main__name {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  padding-top: 13px;
  line-height: 1.4;
}
.fnc--feedback--main__name .star { color: var(--gold); margin-left: 2px; }
.fnc--feedback--main__button {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.fnc--feedback--main__button button {
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 0 40px;
  height: 48px;
  cursor: pointer;
  transition: background .2s;
}
.fnc--feedback--main__button button:hover { background: var(--gold-lite); }

/* ===== Відгуки (центр) ===== */
.fnc--center--comments {
  padding: 0;
}
.fnc--center--comments__title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
}
.fnc--center--comments__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fnc--center--comments__listitem {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fnc--center--comments--listitem__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fnc--center--comments--listitem__name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
}
.fnc--center-comments--listitem__date {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .04em;
}
.fnc--center--comments--listitem__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.fnc--center--comments--listitem__item a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color .25s;
}
.fnc--center--comments--listitem__item a:hover { color: var(--gold-lite); }

/* ===== Footer ===== */
.content--footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
}
.content--footer__inner {
  padding-top: 72px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Верхня секція: 4 колонки ── */
.content--footer__inner .footer--top,
.content--footer__inner > div:first-child {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 28px;
  align-items: start;
}

/* ── Логотип / бренд ── */
.footer--logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-decoration: none !important;
  color: inherit;
}
.footer--mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-deep);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: .04em;
}
.footer--brand { line-height: 1.1; }
.footer--name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.footer--name span { color: var(--gold); }
.footer--sub {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ── Опис ── */
.footer--about p,
.content--footer__inner .footer--about > p {
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.75;
  max-width: 260px;
  margin-top: 2px;
}

/* ── Заголовки колонок ── */
.content--footer__inner h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

/* ── Списки ── */
.content--footer__inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.content--footer__inner ul li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}
.content--footer__inner a { color: var(--muted); transition: color .2s; }
.content--footer__inner a:hover { color: var(--gold-lite); }
.content--footer__inner p { color: var(--muted); }
.content--footer__inner b,
.content--footer__inner strong { color: var(--ink); font-weight: 600; }

/* ── Контакти: зробити ім'я + телефон compact ── */
.footer--contact ul li { line-height: 1.45; }

/* ── Соцмережі ── */
.footer--social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer--social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2) !important;
  transition: border-color .2s, color .2s !important;
}
.footer--social a:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* ── Нижня смуга ── */
.content--footer__inner .footer--bottom,
.content--footer__inner > div:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: .02em;
}
.content--footer__inner > div:last-child a,
.footer--bottom a { color: var(--gold-deep); transition: color .2s; }
.content--footer__inner > div:last-child a:hover,
.footer--bottom a:hover { color: var(--gold); }

/* ===== Mobile menu ===== */
.mobilemenuchapters {
  display: none;
}

/* ===== No items found ===== */
.noitemsfound {
  padding: 60px 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 15px;
}
.no--info--find { color: var(--muted-2); font-size: 14px; padding: 20px 0; }

/* ===== Search page ===== */
.fnc--search--list { }
.fnc--searchresult--item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fnc--searchresult--item__name a {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.fnc--searchresult--item__name a:hover { color: var(--gold-lite); }
.fnc--searchresult--item__text { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ===== View block switch (list/grid) ===== */
.fnc--viewblock--items {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fnc--viewblock--table .js__view-items,
.fnc--viewblock--table__active .js__view-items,
.fnc--viewblock--list .js__view-items,
.fnc--viewblock--list__active .js__view-items {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  transition: border-color .25s;
}
/* сітка (Ver) */
.fnc--viewblock--table .js__view-items {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239D978A' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E");
}
.fnc--viewblock--table__active .js__view-items {
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C9A86A' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E");
}
/* список (Hor) */
.fnc--viewblock--list .js__view-items {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239D978A' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13'/%3E%3Cpath d='M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
}
.fnc--viewblock--list__active .js__view-items {
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C9A86A' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13'/%3E%3Cpath d='M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
}
.fnc--viewblock--table .js__view-items:hover,
.fnc--viewblock--list .js__view-items:hover {
  border-color: var(--gold);
}
/* Кількість на сторінці */
select.js__perpage--change {
  height: 42px;
  padding: 0 36px 0 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23C9A86A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
select.js__perpage--change:focus { border-color: var(--gold); }

/* ===== Account / Login page ===== */
.page--login,
.page--account {
  max-width: 440px;
  margin: 0 auto;
  padding: 60px 0;
}
.page--login h1,
.page--account h1 {
  font-size: clamp(28px,3vw,42px);
  margin-bottom: 32px;
}

/* ===== Registration page (registration--main) ===== */
.registration--center--page { padding: 8px 0 40px; }
.registration--main {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  max-width: 680px;
  margin: 0 auto;
  padding: 48px;
}
.registration--main__title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin-bottom: 36px;
}
.registration--main__line {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 24px;
  align-items: start;
  margin-bottom: 16px;
}
.registration--main__name {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  padding-top: 13px;
  line-height: 1.4;
}
.registration--main__name .star { color: var(--gold); margin-left: 2px; }
.registration--main__param input[type="radio"],
.registration--main__param input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
  margin-right: 6px;
  vertical-align: middle;
}
.registration--main__param > div {
  padding-top: 13px;
  font-size: 14px;
  color: var(--muted);
}
.registration--main__button {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.registration--main__button button {
  width: 100%;
  height: 54px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
}
.registration--main__button button:hover { background: var(--gold-lite); }
.js__registration--page--info {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 48px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  text-align: center;
  font-size: 16px;
  color: var(--ink);
}

/* ===== Comparison, Favorites ===== */
.fnc--compare--table { width: 100%; border-collapse: collapse; }
.fnc--compare--table th,
.fnc--compare--table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
}
.fnc--compare--table th { color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== Slider (if used) ===== */
.slider--container { position: relative; overflow: hidden; }
.slider--item { display: none; }
.slider--item.active { display: block; }

/* ===== jQuery UI overrides ===== */
.ui-widget { font-family: var(--sans); }
.ui-widget-content { background: var(--bg-2); border-color: var(--line); }
.ui-state-default, .ui-widget-content .ui-state-default { background: var(--bg-3); border-color: var(--line); color: var(--ink); }
.ui-state-active, .ui-widget-content .ui-state-active { background: var(--gold); border-color: var(--gold-deep); color: var(--bg); }
.ui-slider-horizontal { height: 4px; }
.ui-slider .ui-slider-handle { width: 16px; height: 16px; top: -6px; border-radius: 50%; background: var(--gold); border: 0; }
.ui-slider .ui-slider-range { background: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  :root { --wrap-pad: 30px; }

  .js__list--container,
  .fnc--products--list1,
  .fnc--products--list2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .fnc--center-topitems__ver--container,
  .fnc--center-actitems__ver--container,
  .fnc--center-newitems__ver--container,
  .fnc--center-lasitems__ver--container {
    grid-template-columns: repeat(2, 1fr);
  }
  .fnc--articles--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .itempage--columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .content--center--inner {
    flex-direction: column;
    gap: 32px;
  }
  .content--center--inner__left {
    width: 100%;
    order: 2;
  }
  .content--center--inner__center {
    width: 100%;
  }
  .content--footer__inner .footer--top,
  .content--footer__inner > div:first-child {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .header--overhead { display: none; }
  .header--underhead { display: none; }
  .fnc--megamenu { display: none !important; }
  .header--centerhead__inner {
    height: 74px;
    justify-content: flex-start;
    gap: 10px;
  }
  .burger {
    margin-left: 0;
    margin-right: 12px;
    padding-left: 8px;
  }
  .header--centerhead--inner__column1 {
    margin-left: auto;
    order: auto;
    width: auto;
    flex: none;
  }
  .header--centerhead--inner__column1::before,
  .header--centerhead--inner__column1::after {
    display: none;
  }
  .fnc--header--contacts {
    display: none;
  }
  .header--centerhead--inner__column3 .header--centerhead--inner--column3__in1 {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .header--overhead--inner__left { display: none; }

  /* header--centerhead: на 820px вже встановлено height:74px — не перебиваємо */
  .header--centerhead--inner__column1 {
    order: unset;
    width: auto;
    flex: none;
  }

  .header--underhead .header--underhead__inner {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .header--underhead .header--underhead__inner::-webkit-scrollbar { display: none; }
  .header--underhead--inner__left a,
  .header--underhead--inner__right a {
    white-space: nowrap;
    padding: 16px 20px;
  }
}

@media (max-width: 640px) {
  :root { --wrap-pad: 16px; }

  /* ── Картки товарів / блогу — 1 колонка ── */
  .js__list--container,
  .fnc--products--list1,
  .fnc--products--list2 {
    grid-template-columns: 1fr;
  }
  .fnc--center-topitems__ver--container,
  .fnc--center-actitems__ver--container,
  .fnc--center-newitems__ver--container,
  .fnc--center-lasitems__ver--container {
    grid-template-columns: 1fr;
  }
  .fnc--articles--list,
  .fnc--center--articles__container {
    grid-template-columns: 1fr;
  }

  /* ── Відгуки — 1 колонка ── */
  .fnc--center--comments__grid {
    grid-template-columns: 1fr;
  }

  /* ── Форма зворотного зв'язку ── */
  .fnc--feedback {
    margin: 40px 0;
  }
  .fnc--feedback--container {
    padding: 28px 20px;
  }
  .fnc--feedback--main__line {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .fnc--feedback--main__name {
    padding-top: 0;
  }
  .fnc--feedback--main__button {
    justify-content: stretch;
  }
  .fnc--feedback--main__button button {
    width: 100%;
  }

  /* ── Реєстрація ── */
  .registration--main {
    padding: 28px 20px;
  }
  .registration--main__line {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .registration--main__name {
    padding-top: 0;
  }

  /* ── Футер ── */
  .content--footer__inner .footer--top,
  .content--footer__inner > div:first-child {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .content--footer__inner .footer--bottom,
  .content--footer__inner > div:last-child {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer--about p,
  .content--footer__inner .footer--about > p { max-width: 100%; }

  /* ── Заголовки секцій ── */
  .fnc--center-newitems__title,
  .fnc--center-lasitems__title,
  .fnc--center--articles__title,
  .fnc--center--comments__title {
    font-size: 28px !important;
  }

  .mobile--show--filters button { display: inline-flex; }
  .content--center--inner__left .fnc--filters--container {
    display: none;
  }
}

/* ===== Back to top button ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 200;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, border-color .25s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--gold);
  background: var(--bg-3);
}

/* ===== Fixed header on mobile scroll ===== */
@media (max-width: 820px) {
  .header--centerhead {
    position: sticky;
    top: 0;
    z-index: 80;
    transition: box-shadow .25s, background .25s;
  }
  .header--centerhead.header--stuck {
    background: rgba(12,12,14,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,.5);
    border-bottom-color: var(--line-soft);
  }
}

/* ===== Mobile burger + drawer ===== */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 14px;
}
.burger svg {
  color: var(--gold);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 90;
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.drawer-head .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.drawer-head .logo .mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-lite);
  letter-spacing: -2px;
}
.drawer-head .logo .name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
}
.drawer-head .logo .name span {
  color: var(--gold);
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.drawer-close svg {
  color: var(--gold);
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-soft) transparent;
}
.drawer-nav::-webkit-scrollbar {
  width: 4px;
}
.drawer-nav::-webkit-scrollbar-track {
  background: transparent;
}
.drawer-nav::-webkit-scrollbar-thumb {
  background: var(--line-soft);
  border-radius: 2px;
}

.dnav-group {
  border-top: 1px solid var(--line-soft);
}
.dnav-group:first-child {
  border-top: 0;
}

.dnav-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}
/* посилання всередині кнопки */
.dnav-top-link {
  flex: 1;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.dnav-group.open .dnav-top-link { color: var(--gold-lite); }
/* одиночна категорія без підкатегорій */
a.dnav-top-single {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
}
a.dnav-top-single:hover { color: var(--gold-lite); }
.dnav-top .chev {
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}
.dnav-group.open .dnav-top {
  color: var(--gold-lite);
}
.dnav-group.open .dnav-top .chev {
  transform: rotate(180deg);
}

.dnav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--bg);
}
.dnav-group.open .dnav-sub {
  max-height: 280px;
}
.dnav-sub a {
  display: block;
  padding: 8px 18px 8px 32px;
  font-size: 13px;
  color: var(--muted);
}
.dnav-sub a:hover {
  color: var(--gold-lite);
}

.drawer-links {
  padding: 4px 0;
  border-top: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.drawer-links a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.drawer-links a.on {
  color: var(--gold-lite);
  font-weight: 600;
}
.drawer-links a:hover {
  color: var(--gold-lite);
}

.drawer-foot {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.drawer-foot .dphone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.drawer-foot .dphone svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.drawer-foot .dphone b {
  font-weight: 600;
  font-size: 13px;
  display: block;
  line-height: 1.2;
}
.drawer-foot .dphone span {
  font-size: 11px;
  color: var(--muted-2);
}
/* HTML з поля header (fnc--header--contacts) в drawer-foot */
.drawer-foot .dphone-content { flex: 1; }
.drawer-foot .dphone-content .fnc--header--contacts {
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.drawer-foot .dphone-content .fnc--header--contacts b {
  font-size: 13px;
  font-weight: 600;
}
.drawer-foot .dphone-content .fnc--header--contacts span {
  font-size: 11px;
  color: var(--muted-2);
}
.drawer-lang {
  display: flex;
  gap: 4px;
  align-items: center;
}
.drawer-lang a {
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  display: block;
  color: var(--muted-2);
}
.drawer-lang a:hover {
  color: var(--gold);
}
.drawer-lang a.on {
  background: var(--gold);
  color: var(--bg);
}

@media (max-width: 820px) {
  .burger {
    display: flex;
  }
}

/* ===== Карусель «Новинки» ===== */
.onyx-carousel {
  position: relative;
}
.fnc--center-newitems__ver--container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 24px;
  cursor: grab;
}
.fnc--center-newitems__ver--container::-webkit-scrollbar {
  display: none;
}
.fnc--center-newitems__ver--container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.fnc--center-newitems__ver--container .fnc--products--listitem {
  flex: 0 0 calc((100% - 24px * 3.15) / 4.15);
  scroll-snap-align: start;
}
.onyx-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: rgba(12,12,14,.72);
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: border-color .2s, color .2s, opacity .2s;
}
.onyx-carousel__arrow:hover {
  border-color: var(--gold-deep);
  color: var(--gold);
}
.onyx-carousel__arrow--prev { left: -22px; }
.onyx-carousel__arrow--next { right: -22px; }
.onyx-carousel__arrow[disabled] {
  opacity: .25;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 820px) {
  .fnc--center-newitems__ver--container .fnc--products--listitem {
    flex: 0 0 68%;
  }
  .fnc--center--articles__container .fnc--center--articles__listitem {
    flex: 0 0 68%;
  }
  .onyx-carousel__arrow {
    width: 36px;
    height: 36px;
  }
  .onyx-carousel__arrow--prev { left: 4px; }
  .onyx-carousel__arrow--next { right: 4px; }
}

/* ===== Відгуки (слайдер) ===== */
.fnc--slider--comments {
  padding: 64px 0;
  text-align: center;
}
.fnc--slider--comments__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px,3vw,42px);
  color: var(--ink);
  letter-spacing: -.3px;
  margin-bottom: 40px;
}
.fnc--slider--comments--container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.fnc--slider--comments__left,
.fnc--slider--comments__right {
  flex-shrink: 0;
}
.js__comment--slider--left,
.js__comment--slider--right {
  width: 44px;
  height: 44px;
  background: rgba(12,12,14,.72);
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .2s, color .2s;
}
.js__comment--slider--left:hover,
.js__comment--slider--right:hover {
  border-color: var(--gold-deep);
  color: var(--gold);
}
.fnc--slider--comments__main {
  flex: 1;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 40px 48px;
}
.fnc--slider--comments__name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.fnc--slider--comments__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px,2vw,23px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
}
.fnc--slider--comments__item {
  margin-bottom: 12px;
}
.fnc--slider--comments__item a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: underline;
  transition: color .25s;
}
.fnc--slider--comments__item a:hover { color: var(--gold-lite); }
.fnc--slider--comments__date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .04em;
}

@media (max-width: 640px) {
  .fnc--slider--comments {
    padding: 40px 0;
  }
  .fnc--slider--comments--container {
    gap: 12px;
  }
  .js__comment--slider--left,
  .js__comment--slider--right {
    width: 36px;
    height: 36px;
  }
  .fnc--slider--comments__main {
    padding: 28px 20px;
  }
}

/* ===== Ліва колонка "О компании" (дерево розділів) ===== */
.fnc--column--chapters {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 24px 22px;
}
.fnc--column--chapters__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.fnc--column--chapter0,
.fnc--column--chapter__active0,
.fnc--column--chapter1,
.fnc--column--chapter__active1 {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.fnc--column--chapters__container > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fnc--column--chapter0 a,
.fnc--column--chapter__active0 a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .25s;
}
.fnc--column--chapter1,
.fnc--column--chapter__active1 { padding-left: 16px; }
.fnc--column--chapter1 a,
.fnc--column--chapter__active1 a {
  display: block;
  font-size: 13px;
  color: var(--muted-2);
  transition: color .25s;
}
.fnc--column--chapter0:hover a,
.fnc--column--chapter1:hover a { color: var(--gold-lite); }
.fnc--column--chapter__active0 a,
.fnc--column--chapter__active1 a { color: var(--gold); }

/* ===== Центральний список розділів (картки "О компании") ===== */
.fnc--center--chapters { padding: 0; }
.fnc--center--chapters__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fnc--center--chapters__list--item {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s, border-color .3s;
}
.fnc--center--chapters__list--item:hover {
  transform: translateY(-5px);
  border-color: var(--line);
}
.fnc--center--chapters--item__main {
  display: flex;
  flex-direction: column;
}
.fnc--center--chapters--item__image {
  order: -1;
  background: var(--bg-3);
  overflow: hidden;
}
.fnc--center--chapters--item__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.fnc--center--chapters__list--item:hover .fnc--center--chapters--item__image img {
  transform: scale(1.04);
}
.fnc--center--chapters--item__name {
  padding: 16px 22px 0;
}
.fnc--center--chapters--item__name a {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.fnc--center--chapters--item__name a:hover { color: var(--gold-lite); }
.fnc--center--chapters--item__additional {
  padding: 10px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fnc--center--chapters--item__info {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.fnc--center--chapters--item__info img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  display: block;
}
.fnc--center--chapters--item__button a {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.fnc--center--chapters--item__button a:hover {
  color: var(--gold-lite);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .fnc--center--chapters__container {
    grid-template-columns: 1fr;
  }
}

/* ===== Print ===== */
@media print {
  body { background: #fff; color: #000; }
  .header, .header--underhead, .content--footer, .fnc--filters--container { display: none; }
}

/* ===== Контакти: стильна картка (графік роботи + реквізити) ===== */
.contact-page {
  max-width: 860px;
  margin: 56px auto;
}
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 56px 48px;
  text-align: center;
}
.contact-card__title {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.contact-card__title:after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
}
.contact-schedule {
  margin: 36px 0 0;
}
.contact-schedule__row {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.contact-schedule__row strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .02em;
  color: var(--gold-lite);
  margin-top: 8px;
}
.contact-schedule__row + .contact-schedule__row {
  margin-top: 22px;
}
.contact-schedule__row--muted strong {
  font-size: 20px;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}
.contact-grid__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-grid__icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-grid__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.contact-grid__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.contact-grid__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.contact-grid__value a {
  color: var(--ink);
}
.contact-grid__value a:hover {
  color: var(--gold-lite);
}
@media (max-width: 640px) {
  .contact-card { padding: 36px 20px; }
  .contact-card__title { font-size: 22px; }
  .contact-schedule__row strong { font-size: 22px; }
  .contact-grid { gap: 24px 32px; }
}

/* ===== Реальний рейтинг (текст поруч із зірками) ===== */
.products--rating--count {
  margin-left: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}
.itempage--center--rate .products--rating--count {
  font-size: 13px;
  align-self: center;
}

/* ===== USD-еквівалент ціни на картці товару ===== */
.fnc--products--listitem__price > .products--price--usd {
  margin-left: 5px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  align-self: baseline;
  position: relative;
  top: -1px;
}

/* ===== Кошик: мобільні лейбли (приховані на десктопі, таблиця й так зрозуміла) ===== */
.fnc--cartlist--mobile-label {
  display: none;
}

/* ===== Кошик: картки замість таблиці на мобільних ===== */
@media (max-width: 640px) {
  .fnc--cartlist--container table,
  .fnc--cartlist--container tbody {
    display: block;
    width: 100%;
  }
  .fnc--cartlist--container tr,
  .fnc--cartlist--container td {
    display: block;
    width: 100%;
  }
  tr.fnc--cartlist--row__title {
    display: none;
  }
  tr.fnc--cartlist--row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    padding: 16px 44px 16px 16px;
    margin-bottom: 14px;
  }
  .fnc--cartlist--row td {
    padding: 0;
  }
  td.fnc--cartlist--cell__img {
    width: 80px;
    flex-shrink: 0;
    margin-right: 14px;
  }
  td.fnc--cartlist--cell__name {
    width: auto;
    flex: 1;
    min-width: 0;
    font-size: 16px;
    margin-bottom: 10px;
  }
  td.fnc--cartlist--cell__code {
    width: 100%;
    order: 1;
    margin-bottom: 10px;
  }
  td.fnc--cartlist--cell__qnt,
  td.fnc--cartlist--cell__price,
  td.fnc--cartlist--cell__amount {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 16px;
  }
  td.fnc--cartlist--cell__delete {
    position: absolute;
    top: 16px;
    right: 16px;
    width: auto;
  }
  .fnc--cartlist--mobile-label {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-2);
  }
  tr.cart--row--delivery,
  tr.cart--row--bonuses,
  tr.cart--row--promocode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .cart--row--delivery td.fnc--cartlist--cell__img,
  .cart--row--bonuses td.fnc--cartlist--cell__img,
  .cart--row--promocode td.fnc--cartlist--cell__img,
  .cart--row--delivery td.fnc--cartlist--cell__qnt,
  .cart--row--bonuses td.fnc--cartlist--cell__qnt,
  .cart--row--promocode td.fnc--cartlist--cell__qnt,
  .cart--row--delivery td.fnc--cartlist--cell__price,
  .cart--row--promocode td.fnc--cartlist--cell__price {
    display: none;
  }
  .cart--row--delivery td.fnc--cartlist--cell__name,
  .cart--row--bonuses td.fnc--cartlist--cell__name,
  .cart--row--promocode td.fnc--cartlist--cell__name {
    width: auto;
    margin-bottom: 0;
    font-size: 14px;
  }
  .cart--row--delivery td.fnc--cartlist--cell__amount,
  .cart--row--bonuses td.fnc--cartlist--cell__price,
  .cart--row--bonuses td.fnc--cartlist--cell__amount,
  .cart--row--promocode td.fnc--cartlist--cell__amount {
    width: auto;
    display: block;
    border-top: 0;
    padding: 0;
  }
  tr.fnc--cartlist--row__total {
    border: 0;
    padding: 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .fnc--cartlist--row__total td {
    padding: 0;
    border-top: 0;
    width: auto;
  }
}
