/* ===========================================
   БУСИНКИ — 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__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; }

/* 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;
}
.pp-price__current {
  font-family: var(--font-head); font-size: 32px; font-weight: 500; color: var(--text);
}
.pp-price__old {
  text-decoration: line-through; color: var(--text-light); font-size: 18px;
}
.pp-price__sale {
  background: #d33; color: #fff; padding: 4px 10px;
  border-radius: 6px; font-size: 13px; 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-edition {
  padding: 8px 14px; border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 6px; font-size: 14px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.pp-edition__name { color: var(--text-mid); }
.pp-edition__price { font-weight: 500; }

.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-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;
}

/* 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 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; filter: brightness(1.3); }
.seo-footer__bottom {
  border-top: 1px solid #444; padding: 18px 0; font-size: 13px;
}

/* ── 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(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .stones-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .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: 18px; transition: var(--tr); display: flex; flex-direction: column;
}
.stone-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stone-card__photo {
  aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  margin-bottom: 14px; 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: 22px; margin-bottom: 6px; }
.stone-card__color { color: var(--text-mid); font-size: 14px; margin-bottom: 10px; line-height: 1.4; }
.stone-card__count {
  margin-top: auto; font-size: 13px; 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); }
