/* ===========================================
   БУСИНКИ — SEO-страницы (товары, категории, инфо)
   =========================================== */

/* Header */
.seo-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
}
.seo-header__inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.seo-header__logo { flex-shrink: 0; text-decoration: none; }
.seo-header__nav { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; }
.seo-header__nav a {
  color: var(--text); text-decoration: none; font-size: 15px;
  transition: var(--tr);
}
.seo-header__nav a:hover { color: var(--gold); }
.seo-header__nav-mobile { display: none; }
.seo-header__phone {
  color: var(--text); font-weight: 500; text-decoration: none;
  white-space: nowrap;
}
.seo-header__wa {
  background: #25D366; color: #fff;
  padding: 8px 16px; border-radius: 20px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: var(--tr);
}
.seo-header__wa:hover { background: #1da851; }

/* Burger (mobile menu) — скрыт на десктопе */
.seo-header__burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.seo-header__burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--tr);
}
.seo-header__burger span:nth-child(1) { top: 13px; }
.seo-header__burger span:nth-child(2) { top: 19px; }
.seo-header__burger span:nth-child(3) { top: 25px; }

.seo-header.is-menu-open .seo-header__burger span:nth-child(1) {
  top: 19px; transform: rotate(45deg);
}
.seo-header.is-menu-open .seo-header__burger span:nth-child(2) { opacity: 0; }
.seo-header.is-menu-open .seo-header__burger span:nth-child(3) {
  top: 19px; transform: rotate(-45deg);
}

/* Mobile layout (≤768px) */
@media (max-width: 768px) {
  .seo-header { padding: 10px 0; }
  /* Мобильная шапка: бургер слева, логотип по центру, корзина справа */
  .seo-header__inner {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    position: relative;
    min-height: 40px;
  }
  .seo-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .seo-header__logo svg { height: 42px !important; width: auto; }
  .seo-header__nav,
  .seo-header__phone,
  .seo-header__wa,
  .seo-header__fav,
  .seo-header__account { display: none; }
  .seo-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .seo-header__cart { display: inline-flex; }
  .seo-header__burger { display: block; margin: 0 auto 0 0; }

  /* Открытое меню — слайд сверху */
  .seo-header.is-menu-open .seo-header__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    box-shadow: 0 10px 24px rgba(44,44,44,0.12);
    padding: 8px 0;
    z-index: 99;
    animation: seoNavSlide 0.22s ease;
  }
  .seo-header.is-menu-open .seo-header__nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .seo-header.is-menu-open .seo-header__nav-mobile { display: block; }
  .seo-header.is-menu-open .seo-header__nav a:last-child {
    border-bottom: none;
  }
  .seo-header.is-menu-open .seo-header__phone,
  .seo-header.is-menu-open .seo-header__wa {
    display: block;
    margin: 10px 24px;
  }
}
@keyframes seoNavSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Breadcrumbs */
.breadcrumbs { padding: 18px 0 6px; }
.bc { font-size: 13px; color: var(--text-mid); }
.bc a { color: var(--text-mid); text-decoration: none; transition: var(--tr); }
.bc a:hover { color: var(--gold); }
.bc__current { color: var(--text); }

/* Product page */
.product-page { padding: 30px 0 60px; }
.pp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: start;
}
@media (max-width: 768px) {
  .pp-grid { grid-template-columns: 1fr; gap: 30px; }
}
.pp-gallery__main {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg); background: var(--bg-alt);
  cursor: zoom-in;
}
.pp-gallery__placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); aspect-ratio: 1;
}
.pp-gallery__thumbs {
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.pp-gallery__thumb {
  width: 70px; height: 70px; object-fit: cover; border-radius: 8px;
  cursor: pointer; opacity: 0.7; transition: var(--tr);
  border: 2px solid transparent;
}
.pp-gallery__thumb:hover { opacity: 1; }
.pp-gallery__thumb.active { opacity: 1; border-color: var(--gold); }

.pp-cat a {
  color: var(--text-mid); text-decoration: none; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.pp-title {
  font-family: var(--font-head); font-size: 36px; font-weight: 500;
  margin: 8px 0 12px; line-height: 1.2;
}
.pp-sku { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.pp-price {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px;
  flex-wrap: wrap;
}
.pp-price--sale {
  align-items: center;
  background: var(--terra-bg);
  border-radius: 14px;
  padding: 14px 18px;
  gap: 12px;
}
.pp-price__current {
  font-family: var(--font-head); font-size: 32px; font-weight: 600; color: var(--text);
}
.pp-price__old {
  text-decoration: line-through; color: var(--text-light); font-size: 18px;
}
.pp-price__sale {
  background: var(--terra); color: #fff; padding: 4px 10px;
  border-radius: 6px; font-size: 13px; font-weight: 700;
}
.pp-price__save {
  flex-basis: 100%;
  color: var(--gold-hover); font-size: 14px; font-weight: 600;
}

.pp-editions { margin-bottom: 22px; }
.pp-editions h3 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 18px; margin-bottom: 10px;
}
.pp-editions__grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pp-edition {
  padding: 10px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text);
  font-family: inherit;
  cursor: pointer; transition: var(--tr);
  min-height: 44px;
}
.pp-edition:hover { border-color: var(--gold); }
.pp-edition.is-active {
  border-color: var(--gold);
  background: #FAF3E8;
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.pp-edition__name { color: var(--text-mid); }
.pp-edition__value { font-weight: 500; }
.pp-edition__price { font-weight: 500; color: var(--text-mid); margin-left: 4px; }

.pp-editions--rows .pp-editions__grid { flex-direction: column; }
.pp-editions--rows .pp-edition {
  width: 100%; justify-content: space-between;
}

/* Cart button in SEO header */
.seo-header__cart {
  display: none; position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt, #F5EDE3);
  align-items: center; justify-content: center;
  color: var(--text); text-decoration: none;
  border: none; cursor: pointer; padding: 0;
}
.seo-header__cart:hover { background: var(--border); }
.seo-header__cart-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--gold);
  color: #fff; font-size: 11px; font-weight: 600;
  line-height: 18px; text-align: center; padding: 0 4px;
}
.seo-header__cart-badge:empty,
.seo-header__cart-badge[data-count="0"] { display: none; }

@media (min-width: 769px) {
  .seo-header__cart { display: inline-flex; margin-left: auto; }
}

.pp-cta {
  display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap;
}
.btn {
  padding: 14px 26px; border-radius: 28px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: var(--tr); display: inline-block; text-align: center;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--gold); color: #fff;
}
.btn-primary:hover { background: var(--gold-hover); }
.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.pp-desc {
  border-top: 1px solid var(--border); padding-top: 24px; margin-bottom: 24px;
}
.pp-desc h3 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 20px; margin-bottom: 10px;
}
.pp-desc__text { line-height: 1.7; color: var(--text-mid); }
.pp-desc__text strong { color: var(--text); }
.pp-desc__text p { margin: 0 0 12px; }
.pp-desc__text p:last-child { margin-bottom: 0; }

.pp-trust {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-alt); padding: 18px 22px; border-radius: var(--radius);
  font-size: 14px; color: var(--text-mid);
}

/* Related */
.related { padding: 50px 0; }
.related h2 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 28px; margin-bottom: 24px;
}
.related__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 768px) { .related__grid { grid-template-columns: repeat(2, 1fr); } }
.rel-card {
  text-decoration: none; color: var(--text);
  background: #fff; border-radius: var(--radius);
  padding: 14px; transition: var(--tr);
  border: 1px solid var(--border);
}
.rel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rel-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; margin-bottom: 10px;
}
.rel-card__title { font-size: 13px; line-height: 1.4; min-height: 36px; }
.rel-card__price {
  font-weight: 500; margin-top: 6px;
  font-family: var(--font-head); font-size: 18px;
}

/* Category page */
.category-page { padding: 30px 0 60px; }
.category-page h1 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 42px; margin-bottom: 14px;
}
@media (max-width: 768px) { .category-page h1 { font-size: 30px; } }
.cat-intro {
  color: var(--text-mid); line-height: 1.6;
  max-width: 800px; margin-bottom: 14px;
}
.cat-count {
  color: var(--text-mid); font-size: 14px; margin-bottom: 28px;
}
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.cat-card {
  text-decoration: none; color: var(--text);
  background: #fff; border-radius: var(--radius);
  padding: 14px; transition: var(--tr);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card__photo {
  aspect-ratio: 1; overflow: hidden; border-radius: 8px;
  margin-bottom: 12px; background: var(--bg-alt);
}
.cat-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--tr);
}
.cat-card:hover .cat-card__photo img { transform: scale(1.05); }
.cat-card__title {
  font-size: 14px; line-height: 1.4; flex: 1; min-height: 38px;
}
.cat-card__price {
  font-family: var(--font-head); font-size: 20px; font-weight: 500;
  margin-top: 8px;
}

/* SEO block under category grid */
.cat-seo {
  margin-top: 60px; padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 880px;
  line-height: 1.75; color: var(--text);
}
.cat-seo h2 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 26px; margin: 32px 0 12px; color: var(--text);
}
.cat-seo h2:first-child { margin-top: 0; }
.cat-seo p { margin: 0 0 12px; }
.cat-seo a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(196,168,130,0.3); }
.cat-seo a:hover { border-bottom-color: var(--accent); }

.seo-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 6px 0 20px;
}
.seo-pill {
  display: inline-block; padding: 8px 16px;
  background: var(--bg-alt); border-radius: 999px;
  color: var(--text) !important; font-size: 14px;
  border: 1px solid transparent !important;
  transition: var(--tr);
}
.seo-pill:hover { background: var(--accent); color: #fff !important; }

.seo-faq { margin-top: 8px; }
.seo-faq__item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.seo-faq__item summary {
  cursor: pointer; font-weight: 500;
  list-style: none; position: relative;
  padding-right: 30px;
  font-size: 16px;
}
.seo-faq__item summary::-webkit-details-marker { display: none; }
.seo-faq__item summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 22px; font-weight: 300; color: var(--accent);
  transition: transform 0.2s ease;
}
.seo-faq__item[open] summary::after { content: '−'; }
.seo-faq__a { margin-top: 10px; color: var(--text-mid); }
.seo-faq__a p { margin: 0 0 8px; }

@media (max-width: 768px) {
  .cat-seo { margin-top: 40px; padding-top: 28px; }
  .cat-seo h2 { font-size: 22px; }
}

/* Static pages */
.static-page { padding: 30px 0 60px; max-width: 820px; }
.static-page h1 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 38px; margin-bottom: 24px;
}
.static-content { line-height: 1.75; color: var(--text); }
.static-content h2 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 24px; margin: 30px 0 12px;
}
.static-content p { margin-bottom: 14px; color: var(--text-mid); }
.static-content ul, .static-content ol { padding-left: 24px; margin-bottom: 14px; color: var(--text-mid); }
.static-content li { margin-bottom: 6px; }
.static-content a { color: var(--gold); }
.static-content a.btn--primary { color: var(--white); }
.static-content a.btn--outline { color: var(--text); }
.static-content a.btn--outline:hover { color: var(--gold); }
.static-content strong { color: var(--text); }
.info-table {
  width: 100%; border-collapse: collapse; margin: 12px 0 20px;
}
.info-table th, .info-table td {
  border-bottom: 1px solid var(--border); padding: 10px 12px;
  text-align: left; vertical-align: top;
}
.info-table th { background: var(--bg-alt); font-weight: 500; }

/* Footer */
.seo-footer {
  background: var(--bg-dark); color: #C0BBB5; margin-top: 60px;
}
.seo-footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding: 50px 0 30px;
}
@media (max-width: 900px)  { .seo-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .seo-footer__inner { grid-template-columns: 1fr; } }
.seo-footer__col h4 {
  color: #fff; font-family: var(--font-head); font-weight: 500;
  font-size: 18px; margin-bottom: 14px;
}
.seo-footer__col a {
  display: block; color: #C0BBB5; text-decoration: none;
  margin-bottom: 8px; font-size: 14px; transition: var(--tr);
}
.seo-footer__col a:hover { color: var(--gold); }
.seo-footer__col p { font-size: 14px; line-height: 1.6; }
.seo-footer__logo { margin-bottom: 14px; }
.seo-footer__logo svg text { fill: #EDE6DD; }
.seo-footer__logo svg path { stroke: var(--gold); opacity: 0.85; }
.seo-footer__logo svg circle { fill: var(--gold); }
.seo-footer__bottom {
  border-top: 1px solid #444; padding: 18px 0; font-size: 13px;
}
.seo-footer__legal {
  margin-top: 4px;
  font-size: 12px;
  color: #8a8580;
  letter-spacing: 0.1px;
}

/* ── Stones index ─────────────────────────────────── */
.stones-index { padding: 30px 0 60px; }
.stones-index h1 { font-family: var(--font-head); font-weight: 500; font-size: 42px; margin-bottom: 18px; }
@media (max-width: 768px) { .stones-index h1 { font-size: 30px; } }

.test-promo {
  background: linear-gradient(135deg, var(--bg-alt), #efe1d0);
  padding: 24px 28px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 36px; flex-wrap: wrap;
}
.test-promo strong { display: block; font-size: 20px; font-family: var(--font-head); margin-bottom: 4px; }
.test-promo span { color: var(--text-mid); font-size: 14px; }

.stones-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1100px) { .stones-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .stones-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .stones-grid { grid-template-columns: 1fr; } }
.stone-card {
  text-decoration: none; color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px; transition: var(--tr); display: flex; flex-direction: column;
}
.stone-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stone-card__photo {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  margin-bottom: 12px; background: var(--bg-alt);
}
.stone-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: var(--tr); }
.stone-card:hover .stone-card__photo img { transform: scale(1.05); }
.stone-card h3 { font-family: var(--font-head); font-weight: 500; font-size: 19px; margin-bottom: 4px; line-height: 1.2; }
.stone-card__color { color: var(--text-mid); font-size: 13px; margin-bottom: 10px; line-height: 1.4; }
.stone-card__count {
  margin-top: auto; font-size: 12px; color: var(--gold); font-weight: 500;
}

/* ── Stone page ──────────────────────────────────── */
.stone-page { padding: 30px 0 60px; max-width: 1100px; }
.stone-page h1 {
  font-family: var(--font-head); font-weight: 500; font-size: 38px; margin-bottom: 22px;
}
@media (max-width: 768px) { .stone-page h1 { font-size: 28px; } }
.stone-cta {
  background: linear-gradient(135deg, var(--gold), #d8b896);
  color: #fff; padding: 22px 26px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 36px; flex-wrap: wrap;
}
.stone-cta strong { display: block; font-size: 18px; margin-bottom: 4px; }
.stone-cta span { display: block; font-size: 14px; opacity: 0.9; }
.stone-cta .btn-primary { background: #fff; color: var(--gold); }
.stone-cta .btn-primary:hover { background: #fff; opacity: 0.9; }

.stone-article { max-width: 800px; line-height: 1.75; color: var(--text); }
.stone-intro { font-size: 18px; color: var(--text); margin-bottom: 18px; }
.stone-article h2 {
  font-family: var(--font-head); font-weight: 500; font-size: 26px;
  margin: 30px 0 12px;
}
.stone-article p { margin-bottom: 14px; color: var(--text-mid); }
.stone-article a { color: var(--gold); }

.stone-shop { margin-top: 50px; }
.stone-shop h2 {
  font-family: var(--font-head); font-weight: 500; font-size: 30px;
  margin-bottom: 8px;
}
.stone-shop__sub { color: var(--text-mid); margin-bottom: 22px; }

.stone-others { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.stone-others h3 { font-family: var(--font-head); font-weight: 500; font-size: 22px; margin-bottom: 14px; }
.stone-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.stone-link-card {
  padding: 8px 16px; background: var(--bg-alt); color: var(--text);
  border-radius: 20px; text-decoration: none; font-size: 14px;
  transition: var(--tr);
}
.stone-link-card:hover { background: var(--gold); color: #fff; }

/* ── Test page ──────────────────────────────────── */
.test-page { padding: 30px 0 60px; max-width: 920px; }
.test-page h1 {
  font-family: var(--font-head); font-weight: 500; font-size: 38px;
  margin-bottom: 14px;
}
@media (max-width: 768px) { .test-page h1 { font-size: 28px; } }
.test-step h2 {
  font-family: var(--font-head); font-weight: 500; font-size: 26px;
  margin: 30px 0 10px;
}
.test-step p { color: var(--text-mid); margin-bottom: 18px; }
.test-date { display: flex; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.test-date label {
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-mid);
}
.test-date input, .test-date select {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 16px; background: #fff;
}
.test-options {
  display: flex; flex-direction: column; gap: 10px;
}
.test-opt {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 22px; text-align: left; font-size: 16px; cursor: pointer;
  transition: var(--tr); color: var(--text);
}
.test-opt:hover { border-color: var(--gold); transform: translateX(3px); }
.test-opt.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.test-result-title {
  font-family: var(--font-head); font-weight: 500; font-size: 32px;
  margin-bottom: 12px;
}
.test-result-meta {
  background: var(--bg-alt); padding: 14px 22px; border-radius: var(--radius);
  margin-bottom: 30px; font-size: 15px; line-height: 1.7;
}
.test-result-meta strong { color: var(--text); }
.test-stone-block { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.test-stone-block h3 {
  font-family: var(--font-head); font-weight: 500; font-size: 26px;
  margin-bottom: 8px;
}
.test-stone-block h3 .test-more {
  font-family: var(--font-body); font-size: 14px; color: var(--gold);
  text-decoration: none; margin-left: 8px; font-weight: 400;
}
.test-stone-block p { color: var(--text-mid); margin-bottom: 18px; line-height: 1.6; }
.test-cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px;
}

/* ── Subcategory chips ──────────────────────────── */
.subcat-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 26px;
  padding: 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}
.subcat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: var(--tr);
  white-space: nowrap;
}
.subcat-chip:hover {
  border-color: var(--gold);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(196,168,130,0.18);
}
.subcat-chip span {
  font-size: 12px; color: var(--text-light);
  background: var(--bg-alt);
  padding: 1px 7px; border-radius: 10px;
}
.subcat-chip--active {
  background: var(--gold); border-color: var(--gold); color: #fff;
}
.subcat-chip--active span { background: rgba(255,255,255,0.25); color: #fff; }
@media (max-width: 540px) {
  .subcat-chips { padding: 10px; gap: 6px; }
  .subcat-chip { padding: 6px 12px; font-size: 13px; }
}

/* ── Stone HERO (новый, обложечный) ───────────────────── */
.stone-hero {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 50px; align-items: center;
  margin: 30px 0 60px;
}
@media (max-width: 880px) { .stone-hero { grid-template-columns: 1fr; gap: 30px; } }

.stone-hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.stone-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.stone-hero__photo:hover img { transform: scale(1.04); }

.stone-hero__eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-bottom: 14px;
}
.stone-hero__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05; margin: 0 0 18px;
}
.stone-hero__intro {
  font-size: 17px; line-height: 1.65; color: var(--text-mid);
  margin-bottom: 26px; max-width: 540px;
}
.stone-hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 28px;
}
@media (max-width: 540px) { .stone-hero__facts { grid-template-columns: 1fr 1fr; } }
.stone-fact {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 14px 16px;
}
.stone-fact span {
  display: block; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 6px;
}
.stone-fact strong {
  display: block; font-family: var(--font-head); font-weight: 500;
  font-size: 16px; color: var(--text); line-height: 1.2;
}
.stone-hero__cta { font-size: 15px; }

/* Stone article sections */
.stone-article { max-width: 800px; margin: 0 auto; }
.stone-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.stone-section:first-child { border-top: none; padding-top: 0; }
.stone-section h2 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 30px; margin-bottom: 18px;
}
.stone-section p {
  font-size: 16px; line-height: 1.75; color: var(--text-mid);
  margin-bottom: 14px;
}
.stone-disclaimer {
  font-size: 13px; color: var(--text-light); font-style: italic;
  background: var(--bg-alt); padding: 14px 18px; border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

/* Specs grid */
.stone-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 540px) { .stone-specs { grid-template-columns: 1fr; } }
.spec {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 18px 22px;
}
.spec span {
  display: block; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 8px;
}
.spec p {
  font-family: var(--font-head); font-size: 17px; color: var(--text);
  line-height: 1.4; margin: 0;
}
.spec p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Mini cards для других камней */
.stone-mini-grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 16px; margin-top: 20px;
}
@media (max-width: 1024px) { .stone-mini-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px)  { .stone-mini-grid { grid-template-columns: repeat(3, 1fr); } }
.stone-mini-card {
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: var(--tr);
}
.stone-mini-card:hover { transform: translateY(-3px); }
.stone-mini-card__photo {
  width: 84px; height: 84px;
  border-radius: 50%; overflow: hidden;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
}
.stone-mini-card:hover .stone-mini-card__photo { box-shadow: var(--shadow-md); }
.stone-mini-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.stone-mini-card span {
  font-size: 13px; font-weight: 400;
}

/* SEO-search bar (на статических страницах) */
.seo-search {
  padding: 12px 32px 14px;
  border-top: 1px solid var(--border);
}
.seo-search .search-form {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 18px;
  transition: var(--tr); max-width: 720px; margin: 0 auto;
}
.seo-search .search-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(196,168,130,0.15);
}
.seo-search .search-form__icon { color: var(--text-light); flex-shrink: 0; }
.seo-search .search-form__input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 15px; color: var(--text);
}
.seo-search .search-form__input::placeholder { color: var(--text-light); }

/* ── Account / личный кабинет ───────────────────────────── */
.account-page { max-width: 640px; }
.account-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 28px 24px;
  margin-top: 8px;
}
.account-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.account-input {
  flex: 1 1 240px; min-width: 0;
  padding: 13px 16px; font-size: 16px;
  font-family: var(--font-body); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg); transition: border-color .15s;
}
.account-input:focus { outline: none; border-color: var(--gold); }
.account-input::placeholder { color: var(--text-light); }
.account-input--code {
  flex: 0 0 auto; width: 180px;
  font-size: 22px; letter-spacing: 6px; text-align: center;
}
.account-form .btn { flex: 0 0 auto; }
.account-error { color: #C0392B; margin-top: 12px; font-size: 14px; }
.account-links { margin-top: 18px; font-size: 14px; }
.account-links a { color: var(--gold); }
.order-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px;
}
.order-card__head { margin-bottom: 6px; }
.order-card ul { margin-top: 8px; }

/* ── Личный кабинет: дашборд ──────────────────────── */
.account-greeting {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.account-greeting__name {
  margin: 0; font-family: var(--font-head); font-weight: 500;
  font-size: 23px; color: var(--text); line-height: 1.2;
}
.account-cashback {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25;
}
.account-cashback span { font-size: 12px; color: var(--text-mid); }
.account-cashback strong { font-family: var(--font-head); font-size: 20px; color: var(--gold); }

.account-section { margin-top: 26px; }
.account-section__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: 19px; margin: 0 0 14px;
}

.account-profile { display: flex; flex-direction: column; gap: 13px; max-width: 360px; }
.account-field { display: flex; flex-direction: column; gap: 5px; }
.account-field__label {
  font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--text-mid);
}
.account-input--sm { flex: none; width: 100%; padding: 10px 13px; font-size: 15px; }
.account-profile__actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.account-saved { color: #2e7d32; font-size: 14px; }

.account-orders { display: flex; flex-direction: column; gap: 10px; }
.account-order {
  display: block; text-decoration: none; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 16px; transition: var(--tr);
}
.account-order:hover { border-color: var(--gold); }
.account-order__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 7px;
}
.account-order__id { font-weight: 600; font-size: 14px; letter-spacing: 0.2px; }
.account-order__status {
  font-size: 12px; font-weight: 500; white-space: nowrap;
  padding: 3px 11px; border-radius: 50px;
  background: var(--bg-alt); color: var(--text-mid);
}
.account-order__status--paid,
.account-order__status--delivered { background: #e7f3ea; color: #2e7d32; }
.account-order__status--pending,
.account-order__status--assembling,
.account-order__status--shipped { background: #fdf3e3; color: #b07a25; }
.account-order__status--cancelled,
.account-order__status--failed { background: #fbeaea; color: #c0392b; }
.account-order__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-mid);
}
.account-order__sum { font-weight: 600; color: var(--text); }
.account-empty { color: var(--text-mid); }

/* Выйти - маленькая ссылка в уголке */
.account-logout { margin-top: 22px; text-align: right; }
.account-logout a {
  display: inline-block; padding: 6px 4px;
  font-size: 13px; color: var(--text-light); text-decoration: none;
}
.account-logout a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .account-card { padding: 22px 18px; }
  .account-form .btn { width: 100%; justify-content: center; }
  .account-input--code { width: 100%; }
  .account-greeting__name { font-size: 21px; }
  .account-profile { max-width: none; }
}
