/*
Theme Name: Onix Gloria
Theme URI: https://www.onixgloria.ru
Author: Onix Glory cattery
Author URI: https://www.onixgloria.ru
Description: Классическая тема WordPress для питомника сибирских кошек «Onix Gloria». Премиальная палитра «крем/эспрессо/золото», шрифты Playfair Display и Manrope. Включает типы записей: Котята, Помёты, Производители, Заводчики, Отзывы, Вопросы и ответы, Заявки, а также английскую версию (Polylang, /en/). Дизайн и структура перенесены с оригинального сайта onixgloria.ru.
Version: 1.1.28
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onixgloria
Tags: custom-menu, custom-logo, featured-images, one-column, custom-colors
*/

/* =====================================================
   1. ПЕРЕМЕННЫЕ И БАЗА
   ===================================================== */
:root {
  --cream: #FAF7F1;
  --foreground: #2E241C;
  --card: #FFFFFF;
  --primary: #8F682B;
  --primary-hover: #7B5518;
  --primary-fg: #FEFCF6;
  --secondary: #F2EDE3;
  --secondary-fg: #46372A;
  --muted: #F2EFE7;
  --muted-fg: #6C6158;
  --accent: #F1E0BB;
  --accent-fg: #52361D;
  --border: #E3DED4;
  --ring: #AF874D;
  --espresso: #241C15;
  --espresso-fg: #F3F0E7;
  --gold: #CFA555;
  --gold-10: rgba(207, 165, 85, 0.10);
  --gold-15: rgba(207, 165, 85, 0.15);
  --gold-40: rgba(207, 165, 85, 0.40);
  --green-bg: #D1FAE5;
  --green-border: #A7F3D0;
  --green-text: #064E3B;
  --green: #059669;
  --amber-bg: #FEF3C7;
  --amber-border: #FDE68A;
  --amber-text: #78350F;
  --stone-bg: #E7E5E4;
  --stone-border: #D6D3D1;
  --stone-text: #44403C;
  --red: #DC2626;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(36, 28, 21, 0.06);
  --shadow-md: 0 4px 12px rgba(36, 28, 21, 0.10);
  --shadow-lg: 0 12px 28px rgba(36, 28, 21, 0.14);
  --shadow-xl: 0 20px 40px rgba(36, 28, 21, 0.20);
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
}

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('./assets/fonts/manrope-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('./assets/fonts/manrope-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('./assets/fonts/manrope-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('./assets/fonts/manrope-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('./assets/fonts/manrope-600-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('./assets/fonts/manrope-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/manrope-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/manrope-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('./assets/fonts/manrope-800-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('./assets/fonts/manrope-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('./assets/fonts/playfair-display-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('./assets/fonts/playfair-display-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('./assets/fonts/playfair-display-600-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('./assets/fonts/playfair-display-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/playfair-display-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/playfair-display-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('./assets/fonts/playfair-display-800-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('./assets/fonts/playfair-display-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0;
  color: var(--foreground);
  font-weight: 700;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(207, 165, 85, 0.35); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
figure { margin: 0; }
blockquote { margin: 0; }

/* =====================================================
   2. УТИЛИТЫ
   ===================================================== */
.og-container { max-width: 80rem; margin-inline: auto; padding-inline: 16px; }
.og-container-wide { max-width: 90rem; margin-inline: auto; padding-inline: 16px; }
.og-narrow { max-width: 56rem; margin-inline: auto; padding-inline: 16px; }
.og-narrower { max-width: 48rem; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .og-container, .og-container-wide, .og-narrow, .og-narrower { padding-inline: 24px; } }
@media (min-width: 1024px) { .og-container, .og-container-wide, .og-narrow, .og-narrower { padding-inline: 32px; } }

.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 80px; } }
.section-tight { padding-block: 48px; }
@media (min-width: 1024px) { .section-tight { padding-block: 64px; } }
.bg-secondary-soft { background: rgba(242, 237, 227, 0.5); }
.bg-card-bordered { background: var(--card); border-block: 1px solid var(--border); }
.bg-espresso { background: var(--espresso); color: var(--espresso-fg); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.text-center { text-align: center; }
.text-muted { color: var(--muted-fg); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-14 { margin-top: 56px; }
.sec-title { font-size: 30px; font-weight: 700; }
.sec-title-lg { font-size: 30px; }
.sec-sub { margin-top: 12px; color: var(--muted-fg); }
@media (min-width: 640px) { .sec-title, .sec-title-lg { font-size: 36px; } }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
  word-wrap: normal !important;
}

/* =====================================================
   3. КНОПКИ, БЕЙДЖИ, КАРТОЧКИ
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; border: 1px solid transparent;
  padding: 10px 18px; font-size: 14px; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: all 0.2s ease;
  font-family: var(--font-body);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
/* Фиксированные размеры иконок — как в оригинале (Lucide h-3.5…h-8):
   база 16px, бейджи 14-16px, мобильное меню 20px, карточки 20-24px, акценты 28-32px */
.og-ic { width: 16px; height: 16px; flex-shrink: 0; }
.badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.badge-gold svg { width: 14px; height: 14px; }
.nav-toggle svg { width: 20px; height: 20px; }
.grid-2 .text-primary .og-ic { width: 24px; height: 24px; }
.grid-3 .text-primary .og-ic { width: 20px; height: 20px; }
.grid-2 .card-icon-head .og-ic { width: 20px; height: 20px; }
.og-ic.og-ic-28 { width: 28px; height: 28px; }
.og-ic.og-ic-32 { width: 32px; height: 32px; }
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-fg); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--secondary); color: var(--foreground); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold-40); }
.btn-outline-gold:hover { background: var(--gold-10); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--espresso-fg); border-color: rgba(255, 255, 255, 0.2); }
.btn-outline-dark:hover { background: rgba(255, 255, 255, 0.1); color: var(--espresso-fg); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--secondary); color: var(--primary); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: 0.55; cursor: not-allowed; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; border: 1px solid var(--border);
  padding: 3px 12px; font-size: 12px; font-weight: 600; line-height: 1.5;
  background: var(--card); color: var(--foreground);
}
.badge-gold { border-color: var(--gold-40); background: var(--gold-10); color: var(--gold); }
.badge-primary { border-color: rgba(143, 104, 43, 0.4); color: var(--primary); background: transparent; }
.badge-accent { border-color: rgba(143, 104, 43, 0.4); background: rgba(241, 224, 187, 0.4); color: var(--primary); }
.badge-available { border-color: var(--green-border); background: var(--green-bg); color: var(--green-text); }
.badge-reserved { border-color: var(--amber-border); background: var(--amber-bg); color: var(--amber-text); }
.badge-sold { border-color: var(--stone-border); background: var(--stone-bg); color: var(--stone-text); }
.badge-dark { border-color: rgba(207, 165, 85, 0.3); background: rgba(36, 28, 21, 0.85); color: var(--gold); backdrop-filter: blur(6px); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; background: var(--accent); color: var(--primary);
}
.icon-badge svg { width: 20px; height: 20px; }
.icon-badge-lg { width: 48px; height: 48px; border-radius: 14px; }
.icon-badge-lg svg { width: 24px; height: 24px; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
a.card-hover:hover, .card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-pad { padding: 24px; }

/* =====================================================
   4. ШАПКА
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90; width: 100%;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--foreground); }
.brand:hover { color: var(--foreground); }
.brand img { width: 40px; height: 40px; }
.brand-name { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.25; }
.brand-sub { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-fg); line-height: 1.3; }
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav a {
  display: block; white-space: nowrap; border-radius: 8px; padding: 8px 9px;
  font-size: 13px; font-weight: 500; color: rgba(46, 36, 28, 0.8);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--secondary); color: var(--foreground); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-post-ancestor > a,
.main-nav .current-menu-ancestor > a { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .btn-apply { display: none; }
@media (min-width: 768px) { .header-actions .btn-apply { display: inline-flex; } }
@media (min-width: 1280px) { .main-nav { display: block; } }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--foreground); cursor: pointer;
}
@media (min-width: 1280px) { .nav-toggle { display: none; } }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(36, 28, 21, 0.45); opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 99;
  width: 320px; max-width: 86vw; height: 100dvh;
  background: var(--cream); padding: 20px 16px 32px;
  overflow-y: auto; transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-xl);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-menu nav a {
  display: block; border-radius: 10px; padding: 10px 12px;
  font-size: 16px; font-weight: 500; color: var(--foreground);
}
.mobile-menu nav a:hover { background: var(--secondary); }
.mobile-menu nav .current-menu-item > a,
.mobile-menu nav .current_page_item > a { background: var(--accent); color: var(--accent-fg); }
.mobile-menu nav a.mm-sub { font-size: 14px; color: var(--muted-fg); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 12px 0; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

/* =====================================================
   5. ПОДВАЛ
   ===================================================== */
.site-footer { background: var(--espresso); color: var(--espresso-fg); margin-top: auto; }
.site-footer .footer-grid { display: grid; gap: 40px; padding-block: 48px; }
@media (min-width: 768px) { .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer .footer-grid { grid-template-columns: repeat(4, 1fr); padding-block: 64px; } }
.footer-brand-row { display: flex; align-items: center; gap: 10px; }
.footer-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--gold-15); color: var(--gold);
}
.footer-logo svg { width: 20px; height: 20px; }
.footer-brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--espresso-fg); }
.footer-brand-sub { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(243, 240, 231, 0.6); }
.site-footer .footer-about { margin-top: 16px; font-size: 14px; line-height: 1.7; color: rgba(243, 240, 231, 0.7); }
.footer-trust { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--gold); }
.footer-trust svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-heading { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.footer-links { list-style: none; margin-top: 16px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { font-size: 14px; color: rgba(243, 240, 231, 0.75); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-contacts { list-style: none; margin-top: 16px; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(243, 240, 231, 0.75); }
.footer-contacts li + li { margin-top: 12px; }
.footer-contacts svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.footer-contacts a { color: rgba(243, 240, 231, 0.85); }
.footer-contacts a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 24px;
  font-size: 12px; color: rgba(243, 240, 231, 0.5);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom a { color: rgba(243, 240, 231, 0.5); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 16px; }

/* =====================================================
   6. ШАПКА ВНУТРЕННИХ СТРАНИЦ (PageHero)
   ===================================================== */
.page-hero { background: var(--espresso); color: var(--espresso-fg); border-bottom: 1px solid var(--border); }
.page-hero-inner { padding-block: 48px; }
@media (min-width: 1024px) { .page-hero-inner { padding-block: 64px; } }
.breadcrumbs { margin-bottom: 16px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; font-size: 14px; color: rgba(243, 240, 231, 0.6); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: '\203A'; color: rgba(243, 240, 231, 0.35); margin-right: 0; }
.breadcrumbs a { color: rgba(243, 240, 231, 0.6); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .crumb-current { color: var(--gold); }
.page-hero h1 {
  max-width: 48rem; color: var(--espresso-fg);
  font-size: 30px; line-height: 1.15; font-weight: 700; text-wrap: balance;
}
@media (min-width: 640px) { .page-hero h1 { font-size: 36px; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 48px; } }
.page-hero .hero-sub { margin-top: 16px; max-width: 42rem; font-size: 16px; line-height: 1.7; color: rgba(243, 240, 231, 0.7); }
@media (min-width: 640px) { .page-hero .hero-sub { font-size: 18px; } }
.page-hero .hero-sub p + p { margin-top: 12px; }
.page-hero .hero-sub .columns-2 { max-width: none; }
@media (min-width: 1024px) { .page-hero .hero-sub .columns-2 { columns: 2; column-gap: 48px; } }

/* =====================================================
   7. ГЛАВНАЯ: HERO
   ===================================================== */
.hero { position: relative; overflow: hidden; background: var(--espresso); color: var(--espresso-fg); }
.hero-glow { position: absolute; border-radius: 999px; pointer-events: none; }
.hero-glow-1 { right: -128px; top: -128px; width: 384px; height: 384px; background: var(--gold-10); filter: blur(64px); }
.hero-glow-2 { left: -96px; bottom: 0; width: 288px; height: 288px; background: rgba(207, 165, 85, 0.05); filter: blur(64px); }
.hero-grid { display: grid; align-items: center; gap: 40px; padding-block: 56px; position: relative; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(2, 1fr); gap: 64px; padding-block: 96px; } }
.hero-title {
  margin-top: 20px; color: var(--espresso-fg);
  font-size: 36px; font-weight: 700; line-height: 1.12; text-wrap: balance;
}
@media (min-width: 640px) { .hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .hero-title { font-size: 54px; } }
.hero-text { margin-top: 20px; max-width: 36rem; display: grid; gap: 12px; font-size: 16px; line-height: 1.7; color: rgba(243, 240, 231, 0.75); }
@media (min-width: 640px) { .hero-text { font-size: 18px; } }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; font-size: 14px; color: rgba(243, 240, 231, 0.65); }
.hero-chips li { display: flex; align-items: center; gap: 6px; }
.hero-chips svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.hero-chips a { color: rgba(243, 240, 231, 0.65); text-decoration: underline; text-underline-offset: 4px; }
.hero-chips a:hover { color: var(--gold); }
.hero-media { position: relative; }
.hero-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat {
  position: absolute; left: -16px; bottom: 32px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(36, 28, 21, 0.9); backdrop-filter: blur(8px);
  padding: 12px 16px; box-shadow: var(--shadow-xl);
}
@media (min-width: 640px) { .hero-stat { left: -32px; } }
.hero-stat-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gold); line-height: 1.3; }
.hero-stat-label { font-size: 12px; color: rgba(243, 240, 231, 0.6); }

/* Панель доверия */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 32px; }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-title { font-weight: 600; line-height: 1.35; color: var(--foreground); }
.trust-text { font-size: 14px; color: var(--muted-fg); }

/* Котята на главной */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.kittens-grid { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kittens-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kittens-grid { grid-template-columns: repeat(4, 1fr); } }

/* Карточка котёнка */
.kitten-card { display: block; height: 100%; border-radius: 16px; color: inherit; }
.kitten-card:hover { color: inherit; }
.kitten-card .card { display: flex; flex-direction: column; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.kitten-card:hover .card { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kitten-media { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--secondary); }
.kitten-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; }
.kitten-card:hover .kitten-media img { transform: scale(1.05); }
.kitten-card.is-sold .kitten-media img { filter: grayscale(35%); }
.kitten-media .badge { position: absolute; left: 12px; top: 12px; }
.kitten-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; width: 100%; height: 100%; color: var(--muted-fg);
}
.kitten-placeholder svg { width: 56px; height: 56px; opacity: 0.3; }
.kitten-placeholder span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.kitten-body { flex: 1; padding: 20px; }
.kitten-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kitten-name-row h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.class-chip {
  white-space: nowrap; border-radius: 6px; background: var(--secondary);
  padding: 4px 8px; font-size: 12px; font-weight: 600; color: var(--secondary-fg);
}
.kitten-meta { margin-top: 12px; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted-fg); }
.kitten-meta li { display: flex; align-items: center; gap: 8px; }
.kitten-meta svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.kitten-meta .color-code { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(108, 97, 88, 0.8); }
.kitten-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); background: rgba(242, 237, 227, 0.4); padding: 16px 20px;
}
.price-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-fg); }
.price-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--primary); }
.more-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.kitten-card:hover .more-link svg, .card-hover:hover .more-link svg { transform: translateX(2px); }

/* Почему сибирская кошка */
.why-card { display: block; height: 100%; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 24px; color: var(--foreground); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--foreground); }
.why-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; transition: background 0.3s ease, color 0.3s ease; }
.why-card .icon-badge svg { width: 24px; height: 24px; }
.why-card:hover .icon-badge { background: var(--primary); color: var(--primary-fg); }
.why-card h3 { margin-top: 16px; font-size: 20px; font-weight: 700; }
.why-card p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--muted-fg); }

/* Баннер помёта */
.litter-banner { position: relative; overflow: hidden; border-radius: 24px; background: var(--espresso); color: var(--espresso-fg); }
.litter-banner-grid { display: grid; align-items: center; gap: 32px; padding: 32px; }
@media (min-width: 640px) { .litter-banner-grid { padding: 40px; } }
@media (min-width: 1024px) { .litter-banner-grid { grid-template-columns: 1fr 360px; padding: 48px; } }
.litter-banner h2 { margin-top: 16px; color: var(--espresso-fg); font-size: 24px; font-weight: 700; }
@media (min-width: 640px) { .litter-banner h2 { font-size: 30px; } }
.litter-banner .litter-desc { margin-top: 12px; max-width: 36rem; line-height: 1.7; color: rgba(243, 240, 231, 0.75); }
.litter-banner-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.litter-banner-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); }
.litter-banner-media img { width: 100%; height: 100%; object-fit: cover; }

/* О питомнике на главной */
.about-grid { display: grid; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); gap: 64px; } }
.about-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-caption {
  position: absolute; left: 16px; bottom: 16px;
  border-radius: 8px; background: rgba(36, 28, 21, 0.85); backdrop-filter: blur(6px);
  padding: 8px 12px; font-size: 12px; font-weight: 500; color: var(--gold); max-width: calc(100% - 32px);
}
.about-text h2 { font-size: 30px; }
.about-text .about-par { margin-top: 16px; display: grid; gap: 16px; line-height: 1.7; color: var(--muted-fg); }
.stats-row { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-box { border-radius: 12px; background: var(--secondary); padding: 16px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1.25; }
@media (min-width: 640px) { .stat-num { font-size: 30px; } }
.stat-label { margin-top: 4px; font-size: 12px; color: var(--muted-fg); }
@media (min-width: 640px) { .stat-label { font-size: 14px; } }

/* Отзывы на главной */
.review-card { display: flex; flex-direction: column; height: 100%; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 24px; }
.review-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px 16px 0 0; background: var(--secondary); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card .review-photo { margin: -24px -24px 16px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.review-body { flex: 1; display: flex; flex-direction: column; }
.review-quote { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--muted-fg); }
.review-body .review-toggle { margin-top: auto; padding-top: 10px; }
.review-quote-full { display: none; }
.review-body.is-expanded .review-quote-short { display: none; }
.review-body.is-expanded .review-quote-full { display: block; }
.review-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 10px; padding: 0; align-self: flex-start;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--primary);
}
.review-toggle:hover { text-decoration: underline; }
.review-toggle svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.review-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.review-body + .review-author { margin-top: 16px; }
.review-author { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.review-author .name { font-weight: 600; color: var(--foreground); }
.review-author .meta { font-size: 14px; color: var(--muted-fg); }
.review-author-row { display: flex; align-items: center; gap: 12px; }
.avatar-letter {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent); color: var(--primary);
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
}

/* FAQ */
.faq-list { border: 1px solid var(--border); border-radius: 16px; background: var(--card); overflow: hidden; }
details.faq-item { border-bottom: 1px solid var(--border); }
details.faq-item:last-child { border-bottom: none; }
details.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; text-align: left; color: var(--foreground);
  transition: background 0.2s ease;
}
@media (min-width: 640px) { details.faq-item summary { font-size: 18px; } }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { background: var(--muted); }
.faq-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--primary); transition: transform 0.3s ease; }
.faq-icon svg { width: 16px; height: 16px; }
details[open].faq-item summary { background: var(--muted); }
details[open].faq-item .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; line-height: 1.75; color: var(--muted-fg); font-size: 16px; }
.cta-card {
  border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(241, 224, 187, 0.6), var(--card) 60%, var(--card));
  padding: 32px; text-align: center;
}
@media (min-width: 640px) { .cta-card { padding: 48px; } }
.cta-card h2 { font-size: 24px; }
@media (min-width: 640px) { .cta-card h2 { font-size: 30px; } }
.cta-card p { margin: 12px auto 0; max-width: 42rem; color: var(--muted-fg); }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-accent { border-radius: 24px; border: 1px solid var(--border); background: rgba(241, 224, 187, 0.3); padding: 32px; text-align: center; }
.cta-espresso { background: var(--espresso); color: var(--espresso-fg); }
.cta-espresso h2 { color: var(--espresso-fg); }
.cta-espresso p { color: rgba(243, 240, 231, 0.7); }

/* =====================================================
   8. АРХИВЫ И СПИСКИ
   ===================================================== */
.litter-list { display: grid; gap: 40px; }
.litter-item { display: grid; gap: 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 24px; }
@media (min-width: 640px) { .litter-item { padding: 32px; } }
@media (min-width: 1024px) { .litter-item { grid-template-columns: 320px 1fr; } }
.litter-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--secondary); }
.litter-media img { width: 100%; height: 100%; object-fit: cover; }
.litter-media .litter-letter {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  font-family: var(--font-display); font-size: 60px; font-weight: 700; color: rgba(108, 97, 88, 0.25);
}
.litter-item h2 { font-size: 24px; font-weight: 700; }
.litter-meta-line { margin-top: 4px; font-size: 14px; color: var(--muted-fg); }
.litter-desc { margin-top: 12px; flex: 1; line-height: 1.7; color: var(--muted-fg); }
.litter-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.litter-tags .tag { border-radius: 999px; border: 1px solid var(--border); background: var(--secondary); padding: 4px 12px; font-size: 12px; font-weight: 500; color: var(--secondary-fg); }
.producer-group { margin-bottom: 64px; }
.producer-group:last-child { margin-bottom: 0; }
.producer-cards { margin-top: 32px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .producer-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .producer-cards { grid-template-columns: repeat(3, 1fr); } }
.producer-card { display: block; height: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.producer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--foreground); }
.producer-media { position: relative; aspect-ratio: 4 / 3; background: var(--secondary); }
.producer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.producer-card:hover .producer-media img { transform: scale(1.05); }
.producer-media .producer-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 100%; background: linear-gradient(135deg, rgba(241, 224, 187, 0.5), var(--secondary));
}
.producer-media .producer-fallback .letter { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: rgba(143, 104, 43, 0.5); }
.producer-media .producer-fallback .code { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(108, 97, 88, 0.7); }
.producer-body { padding: 20px; }
.producer-body h3 { font-size: 20px; font-weight: 700; }
.producer-card:hover .producer-body h3 { color: var(--primary); }
.producer-color { margin-top: 4px; font-size: 14px; color: var(--muted-fg); }
.producer-birth { margin-top: 2px; font-size: 12px; color: rgba(108, 97, 88, 0.8); }
.producer-tests { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-fg); }
.producer-tests svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.producer-pedigree { margin-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-fg); }
.producer-pedigree svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

/* ----- Заводчики (карточки на «О питомнике» + отдельные страницы) ----- */
.breeder-cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .breeder-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .breeder-cards { grid-template-columns: repeat(3, 1fr); } }
.breeder-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.breeder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--foreground); }
.breeder-media { position: relative; aspect-ratio: 4 / 5; background: var(--secondary); }
.breeder-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.breeder-card:hover .breeder-media img { transform: scale(1.05); }
.breeder-media .breeder-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; background: linear-gradient(135deg, rgba(241, 224, 187, 0.5), var(--secondary));
}
.breeder-media .breeder-fallback .letter { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: rgba(143, 104, 43, 0.5); }
.breeder-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.breeder-body h3 { font-size: 20px; font-weight: 700; }
.breeder-card:hover .breeder-body h3 { color: var(--primary); }
.breeder-short { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted-fg); }
.breeder-more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary); }
.breeder-more svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; }
.breeder-card:hover .breeder-more svg { transform: translateX(4px); }
.breeder-card:hover .breeder-more { color: var(--primary-hover); }
.breeder-bio { max-width: 46rem; font-size: 17px; line-height: 1.8; color: var(--muted-fg); }
.breeder-bio p { margin-top: 16px; }
.breeder-bio p:first-child { margin-top: 0; }
.breeder-bio h2, .breeder-bio h3, .breeder-bio h4 { color: var(--foreground); margin-top: 28px; }
.breeder-bio ul, .breeder-bio ol { margin-top: 16px; padding-left: 20px; }
.breeder-bio a { color: var(--primary); text-decoration: underline; }

/* =====================================================
   9. ОТДЕЛЬНЫЕ СТРАНИЦЫ (CPT)
   ===================================================== */
.single-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .single-grid { grid-template-columns: repeat(2, 1fr); gap: 56px; } }
.single-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--secondary); box-shadow: var(--shadow-md); }
.single-photo img { width: 100%; height: 100%; object-fit: cover; }
.single-photo .photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; color: var(--muted-fg); padding: 24px; text-align: center; }
.single-photo .photo-placeholder svg { width: 80px; height: 80px; opacity: 0.25; }
.single-photo .photo-placeholder p { max-width: 320px; font-size: 14px; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.price-block { margin-top: 24px; }
.price-block .price-cap { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-fg); }
.price-block .price-big { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--primary); }
.single-desc { margin-top: 24px; line-height: 1.75; color: var(--muted-fg); }
.info-card { margin-top: 24px; display: grid; gap: 12px 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 20px; }
@media (min-width: 640px) { .info-card { grid-template-columns: repeat(2, 1fr); } }
.info-row { display: flex; align-items: flex-start; gap: 10px; }
.info-row svg { width: 16px; height: 16px; margin-top: 2px; color: var(--primary); flex-shrink: 0; }
.info-row .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); }
.info-row .value { font-size: 14px; font-weight: 500; color: var(--foreground); }
.single-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.single-note { margin-top: 16px; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted-fg); }
.single-note svg { width: 16px; height: 16px; margin-top: 2px; color: var(--primary); flex-shrink: 0; }
.parents-grid { margin-top: 24px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .parents-grid { grid-template-columns: repeat(2, 1fr); } }
.parent-card { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 20px; }
.parent-card .label { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); }
.parent-card .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.parent-card .name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.siblings-grid { margin-top: 24px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .siblings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .siblings-grid { grid-template-columns: repeat(4, 1fr); } }
.sibling-card { display: block; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 16px; color: var(--foreground); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.sibling-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--foreground); }
.sibling-card .row { display: flex; align-items: center; justify-content: space-between; }
.sibling-card .name { font-weight: 600; }
.sibling-card:hover .name { color: var(--primary); }
.sibling-card .cls { font-size: 12px; color: var(--muted-fg); }
.sibling-card .sub { margin-top: 4px; font-size: 14px; color: var(--muted-fg); }

.producer-single-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .producer-single-grid { grid-template-columns: 420px 1fr; gap: 56px; } }
.producer-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--secondary); box-shadow: var(--shadow-md); }
.producer-photo img { width: 100%; height: 100%; object-fit: cover; }
.producer-photo .photo-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; background: linear-gradient(135deg, rgba(241, 224, 187, 0.5), var(--secondary)); padding: 24px; text-align: center; }
.producer-photo .photo-fallback .letter { font-family: var(--font-display); font-size: 80px; font-weight: 700; color: rgba(143, 104, 43, 0.4); }
.producer-photo .photo-fallback p { max-width: 240px; font-size: 14px; color: var(--muted-fg); }
.producer-facts { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .producer-facts { grid-template-columns: repeat(2, 1fr); } }
.fact-card { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 20px; }
.fact-card .label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted-fg); }
.fact-card .label svg { width: 16px; height: 16px; color: var(--primary); }
.fact-card .value { margin-top: 8px; font-weight: 600; }
.fact-card .value .code { margin-left: 8px; font-size: 14px; font-weight: 400; color: var(--muted-fg); }
.tests-list { margin-top: 12px; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted-fg); }
.tests-list li { display: flex; align-items: center; gap: 8px; }
.tests-list li::before { content: '\2713'; color: var(--green); font-weight: 700; }
.pedigree-card { margin-top: 24px; }
.pedigree-card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.pedigree-card h3 svg { width: 20px; height: 20px; color: var(--primary); }

/* =====================================================
   10. КОНТЕНТНЫЕ БЛОКИ (страницы)
   ===================================================== */
.content-lead { font-size: 18px; line-height: 1.75; color: var(--muted-fg); max-width: 48rem; }
.two-col-text { display: grid; gap: 24px; line-height: 1.75; color: var(--muted-fg); max-width: 48rem; }
@media (min-width: 1024px) { .two-col-text { columns: 2; column-gap: 48px; display: block; } }
.rich-cols { display: grid; align-items: flex-start; gap: 40px; }
@media (min-width: 1024px) { .rich-cols { grid-template-columns: repeat(2, 1fr); gap: 56px; } }
.rich-cols .sticky-media { align-self: flex-start; position: sticky; top: 96px; }
.rich-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.rich-media img { width: 100%; height: 100%; object-fit: cover; }
.rich-text p { margin-bottom: 16px; line-height: 1.75; color: var(--muted-fg); }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text strong { color: var(--foreground); }
.steps-list { list-style: none; display: grid; gap: 12px; font-size: 14px; counter-reset: step; }
.steps-list li { display: flex; gap: 12px; line-height: 1.65; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--accent); color: var(--primary);
  font-size: 12px; font-weight: 700; counter-increment: step;
}
.step-num::before { content: counter(step); }
.check-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list { grid-template-columns: repeat(2, 1fr); } }
.check-item { display: flex; align-items: flex-start; gap: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); padding: 16px; }
.check-item svg { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; color: var(--green); }
.check-item span { font-size: 14px; line-height: 1.65; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table-wrap th { text-align: left; padding: 14px 16px; font-weight: 600; color: var(--muted-fg); border-bottom: 1px solid var(--border); background: var(--muted); }
.table-wrap td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap td.td-strong { font-weight: 600; white-space: nowrap; }
.card-icon-head { display: flex; align-items: flex-start; gap: 12px; }
.card-icon-head svg { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.card-danger { border-color: rgba(220, 38, 38, 0.25); }
.card-danger .card-icon-head svg { color: var(--red); }
.card-safe { border-color: rgba(5, 150, 105, 0.25); }
.card-safe .card-icon-head svg { color: var(--green); }
.contact-cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { height: 100%; }
.contact-card .cap { margin-top: 16px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); }
.contact-card .val { margin-top: 4px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--foreground); }
.contact-card a.val:hover { color: var(--primary); }
.contact-card .hint { margin-top: 4px; font-size: 12px; color: var(--muted-fg); }
.contacts-lower { margin-top: 48px; display: grid; gap: 32px; }
@media (min-width: 1024px) { .contacts-lower { grid-template-columns: repeat(2, 1fr); } }
.map-frame { height: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--card); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (min-width: 1024px) { .map-frame iframe { height: 100%; min-height: 380px; } }
.call-card { display: flex; flex-direction: column; justify-content: center; height: 100%; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 32px; }
.call-card svg { width: 32px; height: 32px; color: var(--primary); }
.call-card h2 { margin-top: 16px; font-size: 24px; }
.call-card p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted-fg); }
.call-card .btn { align-self: flex-start; margin-top: 24px; }
.call-card .docs-mail { margin-top: 16px; font-size: 12px; color: var(--muted-fg); }

/* =====================================================
   11. ФОРМЫ
   ===================================================== */
.form-card { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 24px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.tabs { display: inline-flex; gap: 4px; border-radius: 12px; background: var(--secondary); padding: 4px; margin-bottom: 24px; }
.tab { border: none; border-radius: 8px; background: transparent; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--secondary-fg); cursor: pointer; font-family: var(--font-body); transition: background 0.2s ease, box-shadow 0.2s ease; }
.tab.is-active { background: var(--card); box-shadow: var(--shadow-sm); color: var(--foreground); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 500; color: var(--foreground); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); padding: 10px 14px; font-size: 14px; color: var(--foreground);
  font-family: var(--font-body); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px rgba(175, 135, 77, 0.2);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(108, 97, 88, 0.6); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field-full { grid-column: 1 / -1; }
.form-consent { font-size: 12px; line-height: 1.6; color: var(--muted-fg); }
.form-actions { display: flex; }
.form-notice { border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 20px; }
.form-notice-success { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green-text); }
.form-notice-error { background: #FEE2E2; border: 1px solid #FECACA; color: #991B1B; }
.og-honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* =====================================================
   12. БЛОГ
   ===================================================== */
.blog-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.blog-cat {
  display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--border);
  padding: 8px 18px; font-size: 14px; font-weight: 600; line-height: 1.4;
  background: var(--card); color: var(--foreground);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.blog-cat:hover { border-color: rgba(143, 104, 43, 0.4); background: rgba(241, 224, 187, 0.4); color: var(--primary); }
.blog-cat.is-active { border-color: rgba(143, 104, 43, 0.4); background: var(--accent); color: var(--primary); }
.post-cards { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-cards { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--foreground); }
.post-cover { position: relative; aspect-ratio: 16 / 10; background: var(--secondary); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-cover .badge { position: absolute; left: 12px; top: 12px; }
.post-cover .cover-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(241, 224, 187, 0.4), var(--secondary)); font-family: var(--font-display); font-size: 36px; font-weight: 700; color: rgba(143, 104, 43, 0.3); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post-card-body h2 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.post-card:hover .post-card-body h2 { color: var(--primary); }
.post-card-body .excerpt { margin-top: 8px; flex: 1; font-size: 14px; line-height: 1.7; color: var(--muted-fg); }
.post-card-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted-fg); }
.post-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--muted-fg); }
.post-single-meta svg { width: 16px; height: 16px; color: var(--primary); }
.post-cover-big { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.post-cover-big img { width: 100%; height: 100%; object-fit: cover; }
.entry-content { margin-top: 32px; font-size: 16px; line-height: 1.8; color: var(--foreground); }
.entry-content h2 { font-size: 26px; margin: 36px 0 14px; }
@media (min-width: 640px) { .entry-content h2 { font-size: 30px; } }
.entry-content h3 { font-size: 22px; margin: 28px 0 12px; }
.entry-content p { margin-bottom: 16px; line-height: 1.8; }
.entry-content strong { color: var(--foreground); }
.entry-content ul, .entry-content ol { margin: 0 0 16px 22px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; line-height: 1.75; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; margin: 0 0 16px; color: var(--muted-fg); font-style: italic; }
.blog-cta { margin-top: 48px; border-radius: 16px; border: 1px solid var(--border); background: rgba(241, 224, 187, 0.3); padding: 24px; text-align: center; }
.blog-cta h2 { font-size: 20px; }
.blog-cta p { margin-top: 8px; font-size: 14px; color: var(--muted-fg); }
.back-link { margin-top: 32px; }

/* Пагинация */
.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--card);
  font-size: 14px; font-weight: 600; color: var(--foreground);
}
.pagination .page-numbers:hover { background: var(--secondary); }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

/* =====================================================
   13. 404
   ===================================================== */
.error-404 { text-align: center; padding-block: 96px; }
.error-404 .code { font-family: var(--font-display); font-size: 96px; font-weight: 700; color: var(--accent); line-height: 1; }
.error-404 h1 { margin-top: 12px; font-size: 30px; }
.error-404 p { margin: 16px auto 0; max-width: 36rem; color: var(--muted-fg); }
.error-404 .btn { margin-top: 24px; }

/* =====================================================
   14. АНИМАЦИЯ ПОЯВЛЕНИЯ
   ===================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   15. КОНТЕНТ ЗАПИСЕЙ WORDPRESS
   ===================================================== */
.entry-page { max-width: 56rem; }
.entry-page > *:first-child { margin-top: 0; }
.entry-page h2 { font-size: 26px; margin: 36px 0 14px; }
.entry-page h3 { font-size: 22px; margin: 28px 0 12px; }
.entry-page img { border-radius: 12px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
/* =====================================================
   Переключатель языка (RU / EN, Polylang)
   ===================================================== */
.lang-switch {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 3px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: var(--card);
}
.lang-switch a,
.lang-switch .lang-current {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 5px 9px;
        border-radius: 999px;
        text-decoration: none;
}
.lang-switch a { color: var(--muted-fg); transition: color .15s ease, background-color .15s ease; }
.lang-switch a:hover { color: var(--primary); background: var(--accent); }
.lang-switch .lang-current { color: var(--primary); background: var(--accent); }
.lang-switch-mobile { margin-right: auto; background: transparent; border-color: rgba(255,255,255,.18); }
@media (max-width: 767px) {
        .lang-switch:not(.lang-switch-mobile) { display: none; }
}

/* =====================================================
   ПОДВАЛ: утилиты WordPress
   ===================================================== */
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--muted-fg); padding-top: 6px; text-align: center; }
.sticky { display: block; }

/* =====================================================
   Галерея Flickr (фотопоток питомника по тегу)
   ===================================================== */
.og-flickr { margin-top: 24px; }
.og-flickr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.og-flickr-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; font-weight: 700; color: var(--foreground); }
.og-flickr-title svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.og-flickr-album { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted-fg); text-decoration: underline; text-underline-offset: 2px; }
.og-flickr-album svg { width: 12px; height: 12px; }
.og-flickr-album:hover { color: var(--primary); }
.og-flickr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .og-flickr-grid { grid-template-columns: repeat(3, 1fr); } }
.og-flickr-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--secondary); }
.og-flickr-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.og-flickr-item:hover img { transform: scale(1.05); }
