/*==============================================
  zodiac/zodiac.css — Natasha Libelle
  Стили страниц знаков зодиака.
  Подключать ПОСЛЕ shared/base.css.
  Без инлайн-стилей. Без !important.
==============================================*/

/* ══════════════════════════════════════════════
   OVERRIDE ХЕДЕРА над светлым Hero
══════════════════════════════════════════════ */
body:has(.zod-hero) #hd.t .burger span { background: #1c1220; }
body:has(.zod-hero) #hd.t .hd-icon { color: #1c1220; }
body:has(.zod-hero) #hd.t .hd-search__btn { color: #1c1220; }
body:has(.zod-hero) #hd.t .hd-search__btn:hover { color: var(--c-accent); }
body:has(.zod-hero) #hd.t .hd-nav a { color: #1c1220; }

/* ══════════════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ (светлый фон hero)
══════════════════════════════════════════════ */
.zod-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  list-style: none; flex-wrap: wrap;
  font-size: 12px; color: rgba(28,18,32,.4);
  margin-bottom: 28px;
}
.zod-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.zod-breadcrumb li + li::before { content: '/'; opacity: .35; }
.zod-breadcrumb a { color: rgba(28,18,32,.4); transition: color .2s; }
.zod-breadcrumb a:hover { color: var(--c-accent); }
.zod-breadcrumb [aria-current="page"] { color: #1c1220; font-weight: 600; }

/* ══════════════════════════════════════════════
   1. HERO — ЗНАК ЗОДИАКА
   Тёмный фон с атмосферным фото/текстурой.
   Символ знака + заголовок + lead.
   Справа — горизонтальная полоска рекомендуемых камней.
══════════════════════════════════════════════ */
.zod-hero {
  position: relative;
  padding-top: 68px; /* fixed header */
  background: #f8f2f7;
  overflow: hidden;
  max-width: 1920px; margin: 0 auto;
}
@media (max-width: 1100px) { .zod-hero { padding-top: 56px; } }

/* Фоновый паттерн: размытое фото + светлый оверлей */
.zod-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.zod-hero__bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .07;
  filter: saturate(.4);
}
.zod-hero__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(248,242,247,.96) 0%,
    rgba(240,232,245,.88) 50%,
    rgba(248,242,247,.96) 100%
  );
}

/* Декоративная акцентная линия сверху */
.zod-hero::before {
  content: '';
  position: absolute; top: 68px; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--c-accent), transparent);
  z-index: 2; opacity: .25;
}
@media (max-width: 1100px) { .zod-hero::before { top: 56px; } }

.zod-hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  min-height: 86svh;
}

/* ── ЛЕВАЯ КОЛОНКА: символ + текст ── */
.zod-hero__left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px var(--w-pad) 72px 72px;
  border-right: 1px solid rgba(107,63,143,.1);
}

.zod-hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 24px;
}
.zod-hero__eyebrow-line {
  width: 32px; height: 1px;
  background: var(--c-accent); opacity: .4;
  flex-shrink: 0;
}

/* Символ знака */
.zod-hero__symbol {
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1; color: var(--c-accent);
  opacity: .18;
  position: absolute;
  top: 80px; right: 440px;
  pointer-events: none; user-select: none;
  font-family: serif;
}

.zod-hero__title {
  font-family: 'Cormorant Garamond', 'Garamond', serif;
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 300; line-height: 1.0;
  color: #1c1220; margin-bottom: 12px;
  letter-spacing: -.02em;
}
.zod-hero__left > p:first-of-type {
  font-size: 13px; color: rgba(28,18,32,.38);
  letter-spacing: .1em; margin-bottom: 32px;
}
.zod-hero__left > p:nth-of-type(2) {
  font-size: clamp(14px, 1.1vw, 17px);
  color: rgba(28,18,32,.65);
  line-height: 1.85; max-width: 520px;
  margin-bottom: 48px;
}

/* Быстрые атрибуты знака */
.zod-hero__attrs {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.zod-attr { display: flex; flex-direction: column; gap: 4px; }
.zod-attr__key {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(28,18,32,.35);
}
.zod-attr__val {
  font-size: 14px; color: #1c1220;
  font-weight: 500;
}

/* ── ПРАВАЯ КОЛОНКА: камни-рекомендации ── */
.zod-hero__right {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 40px 72px 48px;
  gap: 0;
  /* вертикальная линия: уже есть через border-right на .zod-hero__left */
}

.zod-hero__stones-label {
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(28,18,32,.38);
  margin-bottom: 20px;
}

/* Вертикальный список камней */
.zod-stones-list {
  display: flex; flex-direction: column; gap: 3px;
}

.zod-stone-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(107,63,143,.05);
  border: 1px solid rgba(107,63,143,.1);
  text-decoration: none; color: inherit;
  transition: background .2s, border-color .2s;
  position: relative;
}
.zod-stone-row:hover {
  background: rgba(107,63,143,.12);
  border-color: rgba(107,63,143,.28);
}

/* Цветовой кружок камня */
.zod-stone-row__dot {
  width: 20px; height: 20px; border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(107,63,143,.2);
}

.zod-stone-row__info { flex: 1; min-width: 0; }
.zod-stone-row__name {
  font-size: 14px; font-weight: 600;
  color: #1c1220; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.zod-stone-row__why {
  font-size: 11px; color: rgba(28,18,32,.45);
  line-height: 1.4; margin-top: 2px;
  display: block;
}
.zod-stone-row__arr {
  font-size: 14px; color: rgba(28,18,32,.2);
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}
.zod-stone-row:hover .zod-stone-row__arr {
  color: var(--c-accent); transform: translateX(4px);
}

/* Ссылка «Подобрать по другому знаку» */
.zod-hero__all-link {
  margin-top: 24px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(28,18,32,.38); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.zod-hero__all-link:hover { color: var(--c-accent); }
.zod-hero__all-link::after { content: '→'; }

/* ══════════════════════════════════════════════
   2. СТОРИТЕЛЛИНГ — ТЕКСТ О ЗНАКЕ
══════════════════════════════════════════════ */
.zod-story {
  background: #fff;
  padding: 96px 0;
  max-width: 1920px; margin: 0 auto;
}

.zod-story__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

/* Основной текст */
.zod-story__body {
  min-width: 0; /* grid-item: разрешает overflow дочерних элементов */
}

/* ─── Текст зодиака — зона WYSIWYG-редактора ────────────────────────
   Стили на голые теги внутри .zod-story__body — без классов на контенте.
──────────────────────────────────────────────────────────────────── */
.zod-story__section { margin-bottom: 52px; }
.zod-story__section:last-child { margin-bottom: 0; }

/* H2 — вопросы / разделы */
.zod-story__body h2 {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -.02em; color: #1c1220;
  margin-bottom: 16px;
}

/* Параграфы */
.zod-story__body p {
  font-size: clamp(14px, 1vw, 16px);
  color: rgba(28,18,32,.7); line-height: 1.9;
}
.zod-story__body p + p { margin-top: 14px; }

.zod-story__body p strong { color: #1c1220; font-weight: 600; }

/* Маркированный список */
.zod-story__body ul {
  margin: 14px 0 20px;
  padding-left: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.zod-story__body ul li {
  padding-left: 18px;
  position: relative;
  font-size: clamp(14px, 1vw, 16px);
  color: rgba(28,18,32,.7); line-height: 1.8;
}
.zod-story__body ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-accent); opacity: .5;
}

/* Нумерованный список */
.zod-story__body ol {
  margin: 14px 0 20px;
  padding-left: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  counter-reset: zod-ol;
}
.zod-story__body ol li {
  padding-left: 32px;
  position: relative;
  font-size: clamp(14px, 1vw, 16px);
  color: rgba(28,18,32,.7); line-height: 1.8;
  counter-increment: zod-ol;
}
.zod-story__body ol li::before {
  content: counter(zod-ol);
  position: absolute; left: 0; top: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 300;
  color: var(--c-accent); line-height: 1.35;
  width: 22px; text-align: center;
}

/* Цитата — голый <blockquote> */
.zod-story__body blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--c-accent);
  background: rgba(107,63,143,.04);
}

/* <p> внутри blockquote */
.zod-story__body blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 300; line-height: 1.5; color: #1c1220;
  margin-top: 0;
}
.zod-story__body blockquote p::before { content: '«'; }
.zod-story__body blockquote p::after  { content: '»'; }

/* <footer> или <cite> внутри blockquote */
.zod-story__body blockquote footer,
.zod-story__body blockquote cite {
  margin-top: 10px;
  display: block;
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-accent);
  font-style: normal;
}

/* Вставная таблица камней */
.zod-story__table-wrap {
  margin: 36px 0;
  overflow-x: auto;
}
.zod-stones-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.zod-stones-table thead tr {
  background: rgba(107,63,143,.08);
}
.zod-stones-table thead th {
  padding: 11px 16px; text-align: left;
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(28,18,32,.5);
  white-space: nowrap;
}
.zod-stones-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.zod-stones-table tbody tr:hover { background: rgba(107,63,143,.04); }
.zod-stones-table td {
  padding: 12px 16px; vertical-align: middle;
  color: rgba(28,18,32,.8); line-height: 1.4;
}
.zod-stones-table td:first-child { font-weight: 600; color: #111; }
.zod-stone-swatch {
  display: inline-block;
  width: 12px; height: 12px; border-radius: 50%;
  margin-right: 8px; vertical-align: middle;
  border: 1px solid rgba(0,0,0,.12);
}
.zod-stones-table a {
  color: var(--c-accent); text-decoration: none; font-weight: 600;
  font-size: 11px; letter-spacing: .08em;
  transition: color .2s;
}
.zod-stones-table a:hover { color: #1c1220; }

/* Сайдбар */
.zod-story__aside {}

/* Карточка знака */
.zod-sign-card {
  background: #f8f2f7;
  border: 1px solid rgba(107,63,143,.12);
  padding: 28px;
  margin-bottom: 24px;
}
.zod-sign-card__sym {
  font-size: 48px; line-height: 1;
  color: var(--c-accent); display: block;
  margin-bottom: 10px;
}
.zod-sign-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px); font-weight: 300;
  letter-spacing: 0; line-height: 1.1;
  color: #1c1220; margin-bottom: 4px;
}
.zod-sign-card > p {
  font-size: 11px; color: rgba(28,18,32,.4);
  letter-spacing: .08em; margin-bottom: 20px;
}
.zod-sign-card__props {
  display: flex; flex-direction: column; gap: 8px;
}
.zod-sign-prop {
  display: flex; gap: 12px; align-items: baseline;
}
.zod-sign-prop__key {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(28,18,32,.32);
  flex-shrink: 0; width: 72px;
}
.zod-sign-prop__val {
  font-size: 12px; color: #1c1220;
}

/* Соседние знаки той же стихии */
.zod-element-card {
  background: var(--c-warm);
  padding: 24px 28px;
  border: 1px solid rgba(0,0,0,.06);
}
.zod-element-card__label {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 14px;
}
.zod-element-signs {
  display: flex; flex-direction: column; gap: 10px;
}
.zod-element-sign {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.09);
  transition: color .2s;
}
.zod-element-sign:last-child { border-bottom: none; }
.zod-element-sign:hover .zod-element-sign__name { color: var(--c-accent); }
.zod-element-sign__sym {
  font-size: 22px; color: var(--c-accent);
  flex-shrink: 0; width: 28px; text-align: center;
}
.zod-element-sign__info { flex: 1; }
.zod-element-sign__name {
  font-size: 13px; font-weight: 600; color: #1c1220;
  display: block; transition: color .2s;
}
.zod-element-sign__stones {
  font-size: 11px; color: rgba(28,18,32,.5); margin-top: 2px;
}
.zod-element-sign__arr {
  font-size: 14px; color: rgba(107,63,143,.4);
  transition: color .2s, transform .2s;
}
.zod-element-sign:hover .zod-element-sign__arr {
  color: var(--c-accent); transform: translateX(3px);
}

/* ══════════════════════════════════════════════
   3. ВИТРИНА УКРАШЕНИЙ — главный конверсионный блок
   Видна сразу, без дополнительных кликов.
══════════════════════════════════════════════ */
.zod-products {
  background: var(--c-warm);
  padding: 96px 0;
  max-width: 1920px; margin: 0 auto;
}

.zod-products__head {
  margin-bottom: 36px;
}
.zod-products__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 10px;
}
.zod-products__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; letter-spacing: 0; color: #1c1220;
  line-height: 1.1;
  margin-bottom: 8px;
}
.zod-products__head > p {
  font-size: 14px; color: rgba(28,18,32,.6); line-height: 1.65;
  max-width: 560px;
}

/* Табы по камням */
.zod-tabs {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 28px;
  border-bottom: 1px solid #e0dbd5;
  overflow-x: auto; scrollbar-width: none;
}
.zod-tabs::-webkit-scrollbar { display: none; }

.zod-tab {
  flex-shrink: 0;
  padding: 11px 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(28,18,32,.4);
  background: none; border: none;
  cursor: pointer; white-space: nowrap;
  position: relative; transition: color .2s;
}
.zod-tab::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.zod-tab:hover { color: #1c1220; }
.zod-tab.is-active { color: var(--c-accent); }
.zod-tab.is-active::after { transform: scaleX(1); }

/* Панели */
.zod-tab-panel { display: none; }
.zod-tab-panel.is-active { display: block; }

/* Журнальная сетка (3 кол., первая — flagship) */
.zod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e8e3de;
  border-left: 1px solid #e8e3de;
}

/* ── Карточка товара (.pcard, переиспользуем из catalog/stone) ── */
.pcard {
  background: #fff;
  display: flex; flex-direction: column;
  color: inherit;
  position: relative; overflow: hidden;
  transition: background .25s;
  border-right: 1px solid #e8e3de;
  border-bottom: 1px solid #e8e3de;
}
.pcard:hover { background: #fdfcfb; }

/* Ссылка-обёртка картинки */
.pcard__img-link {
  display: block; flex-shrink: 0;
  text-decoration: none;
}

/* Кнопка «В избранное» — позиционируется относительно .pcard */
.pcard__wish {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px;          /* ≥40×40 — минимум для тапа */
  background: rgba(255,255,255,.85);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  opacity: 0;
  transition: opacity .2s, background .2s;
}
.pcard:hover .pcard__wish { opacity: 1; }
@media (hover: none) {
  .pcard__wish { opacity: 1; }
}
.pcard__wish:hover { background: #fff; }
.pcard__wish svg { color: #888; transition: color .2s; }
.pcard__wish.is-wish svg { color: #c0457a; }

.pcard__img {
  position: relative; overflow: hidden;
  /* Белая подложка — см. catalog.css. */
  background: #fff; flex-shrink: 0;
  padding-bottom: 100%;
}
.pcard__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  /* contain — см. catalog/catalog.css. */
  object-fit: contain;
  object-position: var(--obj-pos, center center);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.pcard:hover .pcard__img img { transform: scale(1.04); }

/* ── БОЛЬШАЯ КАРТОЧКА (span 2) ── */
.zod-grid .pcard--big {
  grid-column: span 2;
}
.zod-grid .pcard--big .pcard__img { padding-bottom: 64%; }
.zod-grid .pcard--big .pcard__img img {
  object-fit: contain;   /* см. базовое правило .pcard__img img */
  object-position: var(--obj-pos, center center);
}
.zod-grid .pcard--big .pcard__name { font-size: 20px; }
.zod-grid .pcard--big .pcard__meta > p { display: block; }
.zod-grid .pcard--big .pcard__meta { padding: 22px 28px 28px; }
.zod-grid .pcard--big .pcard__price { font-size: 17px; }

/* ── УЗКАЯ КАРТОЧКА рядом с big: фото заполняет всю высоту строки ── */
.zod-grid .pcard--narrow-hero {
  display: grid;
  grid-template-rows: 1fr auto;
  align-self: stretch;
}
.zod-grid .pcard--narrow-hero .pcard__img-link {
  display: block; height: 100%; overflow: hidden;
}
.zod-grid .pcard--narrow-hero .pcard__img {
  padding-bottom: 0; height: 100%; max-height: 100%;
}
.zod-grid .pcard--narrow-hero .pcard__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;   /* см. базовое правило .pcard__img img */
  object-position: var(--obj-pos, center center);
}
.zod-grid .pcard--narrow-hero .pcard__meta > p { display: block; }

/* ── Три обычные карточки: квадратный aspect ratio ── */
.zod-grid .pcard:not(.pcard--big):not(.pcard--cta):not(.pcard--narrow-hero) .pcard__img {
  padding-bottom: 100%;
}

.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 3px 9px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; background: #111; color: #fff;
}
.pcard__badge--accent { background: var(--c-accent); }

.pcard__meta {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.pcard__col {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 5px;
}
.pcard__name {
  font-size: 15px; font-weight: 600; color: #1c1220;
  line-height: 1.3; margin-bottom: 6px; transition: color .2s;
  text-decoration: none; display: block;
}
.pcard:hover .pcard__name { color: var(--c-accent); }
.pcard__name:hover { color: var(--c-accent); }
.pcard__meta > p {
  font-size: 13px; color: rgba(28,18,32,.6); line-height: 1.65;
  margin-bottom: 14px; flex: 1; display: none;
}
.pcard__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px;
}
.pcard__price { font-size: 15px; font-weight: 700; color: #111; }
.pcard__arrow { font-size: 16px; color: #ccc; transition: color .2s, transform .2s; }
.pcard:hover .pcard__arrow { color: var(--c-accent); transform: translateX(4px); }

/* Камень-тег на карточке */
.pcard__stone-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #333;
}
.pcard__stone-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

/* CTA-плитка — на всю ширину, розовый фон */
.zod-grid .pcard--cta {
  grid-column: span 3;
  background: #f8f2f7;
  border: 1px solid rgba(107,63,143,.18);
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; text-align: center;
  text-decoration: none; color: inherit;
  transition: background .25s;
}
.zod-grid .pcard--cta:hover { background: #f0e8ef; }
.zod-grid .pcard--cta .pcard--cta__body {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  padding: 40px 32px;
}
.zod-grid .pcard--cta .pcard--cta__body svg { color: var(--c-accent); opacity: .45; }
.zod-grid .pcard--cta .pcard--cta__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300;
  color: #1c1220; line-height: 1.35;
}
.zod-grid .pcard--cta .pcard--cta__sub {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-accent);
}

/* «Показать все» — кнопки приведены к эталону about/atele */
.zod-products__more {
  margin-top: 40px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
/* btn--ghost-k на светлом розовом фоне → акцентный фиолетовый */
.zod-products__more .btn--ghost-k,
.zod-signs-related__all .btn--ghost-k {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.zod-products__more .btn--ghost-k:hover,
.zod-signs-related__all .btn--ghost-k:hover {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   4. КАМНИ — ДЕТАЛЬНЫЙ РАЗБОР
══════════════════════════════════════════════ */
.zod-stones-detail {
  background: #f8f2f7;
  padding: 96px 0;
  max-width: 1920px; margin: 0 auto;
}

.zod-stones-detail__head {
  margin-bottom: 56px;
}
.zod-stones-detail__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 10px;
}
.zod-stones-detail__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; color: #1c1220; line-height: 1.1;
  letter-spacing: 0;
}

/* Список камней */
.zod-stone-items {
  display: flex; flex-direction: column;
  gap: 0; /* без gap — используем border-bottom */
}

.zod-stone-item {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 0;
  background: rgba(107,63,143,.03);
  border-bottom: 1px solid rgba(107,63,143,.1);
  overflow: hidden;
  transition: background .25s;
}
.zod-stone-item:first-child { border-top: 1px solid rgba(107,63,143,.1); }
.zod-stone-item:hover { background: rgba(107,63,143,.08); }

/* Фото камня */
.zod-stone-item__img {
  position: relative; overflow: hidden;
  background: #080510;
}
.zod-stone-item__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .8;
  transition: opacity .3s, transform .5s;
}
.zod-stone-item:hover .zod-stone-item__img img {
  opacity: 1; transform: scale(1.05);
}

/* Текст */
.zod-stone-item__text {
  padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.zod-stone-item__color {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(107,63,143,.2);
  margin-bottom: 12px; display: block;
}
.zod-stone-item__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 300; letter-spacing: 0; line-height: 1.15;
  color: #1c1220; margin-bottom: 8px;
}
.zod-stone-item__text > p {
  font-size: 13px; color: rgba(28,18,32,.62);
  line-height: 1.75; max-width: 480px;
  margin-bottom: 16px;
}
.zod-stone-item__props {
  display: flex; gap: 24px 32px; flex-wrap: wrap;
}
.zod-stone-item__prop {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 130px;
}
.zod-stone-item__prop-key {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(28,18,32,.3);
}
.zod-stone-item__prop-val {
  font-size: 12px; color: rgba(28,18,32,.7);
}

/* Кнопка-ссылка */
.zod-stone-item__cta {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 28px 28px;
  gap: 8px;
  border-left: 1px solid rgba(107,63,143,.1);
  text-decoration: none; color: inherit;
  min-width: 160px;
  transition: background .2s;
}
.zod-stone-item:hover .zod-stone-item__cta { background: rgba(107,63,143,.08); }
.zod-stone-item__cta-label {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-accent);
  text-align: center;
}
.zod-stone-item__cta-main {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-accent);
  text-align: center; transition: gap .2s;
  display: flex; align-items: center; gap: 6px;
}
.zod-stone-item__cta-main::after { content: '→'; }
.zod-stone-item:hover .zod-stone-item__cta-main { gap: 10px; }

/* ══════════════════════════════════════════════
   5. ПЕРЕЛИНКОВКА: другие знаки стихии
══════════════════════════════════════════════ */
.zod-signs-related {
  background: var(--c-warm);
  padding: 80px 0;
  max-width: 1920px; margin: 0 auto;
}

.zod-signs-related__head { margin-bottom: 40px; }
.zod-signs-related__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c-accent);
  display: block; margin-bottom: 10px;
}
.zod-signs-related__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300; letter-spacing: 0; color: #1c1220;
  line-height: 1.1;
}

/* Сетка знаков */
.zod-signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e8e3de;
  border-left: 1px solid #e8e3de;
}

.zod-sign-card-link {
  background: #fff;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: background .25s;
  border-right: 1px solid #e8e3de;
  border-bottom: 1px solid #e8e3de;
}
.zod-sign-card-link:hover { background: #fdfcfb; }

.zod-sign-card-link__img {
  position: relative; overflow: hidden;
  padding-bottom: 65%;
  background: rgba(107,63,143,.08);
}
.zod-sign-card-link__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .75;
  transition: opacity .35s, transform .5s;
}
.zod-sign-card-link:hover .zod-sign-card-link__img img {
  opacity: .92; transform: scale(1.04);
}
.zod-sign-card-link__sym {
  position: absolute; bottom: 14px; left: 18px;
  font-size: 32px; color: rgba(255,255,255,.55);
  line-height: 1; z-index: 2;
}

.zod-sign-card-link__meta {
  padding: 20px 22px 24px;
  flex: 1; display: flex; flex-direction: column;
}
.zod-sign-card-link__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400;
  letter-spacing: 0; line-height: 1.25;
  color: #1c1220;
  margin-bottom: 4px; transition: color .2s;
}
.zod-sign-card-link:hover .zod-sign-card-link__name { color: var(--c-accent); }
.zod-sign-card-link__meta > p:first-of-type {
  font-size: 11px; color: rgba(28,18,32,.4);
  letter-spacing: .06em; margin-bottom: 10px;
}
.zod-sign-card-link__meta > p:nth-of-type(2) {
  font-size: 12px; color: rgba(28,18,32,.6);
  margin-bottom: auto; line-height: 1.5;
}
.zod-sign-card-link__arrow {
  margin-top: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-accent);
  display: flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.zod-sign-card-link__arrow::after { content: '→'; }
.zod-sign-card-link:hover .zod-sign-card-link__arrow { gap: 8px; }

/* Ссылка «Все знаки» */
.zod-signs-related__all {
  margin-top: 32px; text-align: center;
}

/* ══════════════════════════════════════════════
   АНИМАЦИИ ПОЯВЛЕНИЯ (scroll-in)
══════════════════════════════════════════════ */
.zod-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.zod-anim.is-visible {
  opacity: 1;
  transform: none;
}

/* Кнопка-CTA внутри hero: без инлайн margin */
.zod-hero__cta-wrap { margin-top: 40px; }

/* ══════════════════════════════════════════════
   АДАПТИВ
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .zod-hero__left { padding: 56px 48px 56px 48px; }
  .zod-hero__right { padding: 56px 32px; }
  .zod-story__layout { grid-template-columns: 1fr 300px; gap: 48px; }
  .zod-stone-item { grid-template-columns: 180px 1fr auto; }
  .zod-stone-item__cta { min-width: 130px; padding: 24px 20px; }
}

@media (max-width: 900px) {
  /* Hero — стек */
  .zod-hero__inner { grid-template-columns: 1fr; }
  .zod-hero__left { border-right: none; border-bottom: 1px solid rgba(107,63,143,.1); padding: 48px var(--w-pad); }
  .zod-hero__right { padding: 40px var(--w-pad); }
  .zod-hero__symbol { display: none; }

  /* Story */
  .zod-story__layout { grid-template-columns: 1fr; gap: 40px; }
  .zod-story { padding: 64px 0; }

  /* Сетка товаров — 2 колонки */
  .zod-grid { grid-template-columns: repeat(2, 1fr); }
  .zod-grid .pcard:first-child { grid-column: span 2; }

  /* Камни-детали */
  .zod-stone-item { grid-template-columns: 1fr; }
  .zod-stone-item__img { padding-bottom: 56%; position: relative; height: auto; }
  .zod-stone-item__img img { position: absolute; }
  .zod-stone-item__cta { flex-direction: row; border-left: none; border-top: 1px solid rgba(107,63,143,.1); padding: 16px 24px; min-width: auto; }

  /* Знаки стихии */
  .zod-signs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  /* Hero */
  .zod-hero__attrs { gap: 16px; }
  .zod-hero__left > p:nth-of-type(2) { margin-bottom: 32px; }

  /* Ателье */
  .zod-products__more .btn { width: 100%; justify-content: center; }

  /* Табы */
  .zod-tabs { overflow-x: auto; }
}

/* ── МОБИЛЬНЫЕ СЛАЙДЕРЫ (≤767px) ──────────────────
   .zod-grid       — товары знака
   .zod-signs-grid — знаки стихии
   таблица камней    — горизонтальный скролл с min-width
─────────────────────────────────────────────── */
@media (max-width: 767px) {

  /* ── Товары знака ── */
  .zod-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--w-pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    border-top: none;
    border-left: none;
    grid-template-columns: unset;
    margin-left: calc(-1 * var(--w-pad));
    margin-right: calc(-1 * var(--w-pad));
    padding-left: var(--w-pad);
    padding-right: var(--w-pad);
  }
  .zod-grid::-webkit-scrollbar { display: none; }

  /* все pcard — одинаковые, сброс flagship-привилегий */
  .zod-grid .pcard {
    flex: 0 0 75vw;
    width: 75vw;
    min-width: 0;
    scroll-snap-align: start;
    border: 1px solid #e8e3de;
    border-radius: 2px;
  }
  .zod-grid .pcard:first-child { grid-column: unset; }
  .zod-grid .pcard:first-child .pcard__img { padding-bottom: 100%; }
  .zod-grid .pcard:first-child .pcard__name { font-size: 16px; }
  .zod-grid .pcard:first-child .pcard__meta > p { display: block; }
  .zod-grid .pcard:first-child .pcard__meta { padding: 18px 20px 22px; }

  /* ── Таблица камней ── */
  /* table-wrap остаётся в потоке .W — overflow-x: auto работает */
  .zod-story__table-wrap {
    margin: 24px 0;
  }
  .zod-stones-table {
    min-width: 520px; /* таблица не сжимается — скроллится внутри wrap */
    width: max-content;
  }
  .zod-stones-table thead th,
  .zod-stones-table td {
    padding: 10px 12px;
  }

  /* ── Знаки стихии ── */
  .zod-signs-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--w-pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    border-top: none;
    border-left: none;
    grid-template-columns: unset;
    margin-left: calc(-1 * var(--w-pad));
    margin-right: calc(-1 * var(--w-pad));
    padding-left: var(--w-pad);
    padding-right: var(--w-pad);
    margin-top: 0;
  }
  .zod-signs-grid::-webkit-scrollbar { display: none; }

  .zod-sign-card-link {
    flex: 0 0 72vw;
    width: 72vw;
    min-width: 0;
    scroll-snap-align: start;
    border: 1px solid #e8e3de;
    border-radius: 2px;
  }
}
