/* Единая типографика и доработки дизайна поверх style.css.
   Шрифты: Montserrat — заголовки, Inter — текст, Noto Sans Georgian — грузинские буквы (подхватывается сам). */

:root {
  --font-body: 'Inter', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Montserrat', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}
button, input, select, textarea {
  font-family: inherit;
}
#navbar .nav-link,
#navbar .nav-link h6 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
}

/* ---------- Заголовок раздела каталога (H1) ---------- */
.section-title h1 {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.section-title h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-color), #8b5cf6);
  transform: translateX(-50%);
}
.section-title p {
  font-family: var(--font-body);
  font-size: 17px;
  text-shadow: none;
}

/* ---------- Главный заголовок на главной (H1) ---------- */
.main-page-title h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.main-page-title h1 b,
.main-page-title h1 strong {
  font-weight: inherit;
}
.main-page-title p {
  font-family: var(--font-body);
}

/* ---------- Карточка товара ---------- */
.eq-info .eq-name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.eq-info .eq-name a {
  color: var(--text-primary);
  text-decoration: none;
}
.eq-info .eq-name a:hover {
  color: var(--accent-color);
}
.eq-brand {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
}
.eq-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.eq-specs {
  border-top: 1px solid rgba(18, 66, 101, 0.1);
}
[data-theme="dark"] .eq-specs {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.eq-specs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  cursor: pointer;
}
.eq-specs summary::-webkit-details-marker {
  display: none;
}
.eq-specs summary::after {
  content: '\F282'; /* bi-chevron-down */
  font-family: 'bootstrap-icons';
  font-size: 13px;
  transition: transform 0.25s;
}
.eq-specs[open] summary::after {
  transform: rotate(180deg);
}
.eq-specs .equipment-characteristics {
  max-height: 300px;
  overflow: auto;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
  color: var(--text-secondary);
  scrollbar-width: thin;
}
.eq-specs .equipment-characteristics ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.eq-specs .equipment-characteristics li {
  position: relative;
  padding: 5px 0 5px 16px;
  border-bottom: 1px dashed rgba(18, 66, 101, 0.1);
}
[data-theme="dark"] .eq-specs .equipment-characteristics li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.eq-specs .equipment-characteristics li::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
}
.eq-specs .equipment-characteristics p {
  margin: 0 0 6px;
}
.eq-price {
  text-align: center;
}
.eq-price .eq-price-main,
.eq-price .price-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 16px;
}
.eq-price-value {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}
.eq-price .price-new .eq-price-value {
  color: #e5484d;
}
.eq-price-unit {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.eq-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 600;
  color: #e62117;
  text-decoration: none;
}
.eq-video:hover {
  color: #b5130e;
}
.main-equipment-photo,
.modern-card-image {
  height: auto;
}

/* ---------- Переключатель языков ---------- */
.lang-switch-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 12px !important;
  border: 1px solid rgba(36, 135, 206, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.lang-switch-btn .bi-translate {
  font-size: 16px;
}
.lang-switch-menu {
  min-width: 200px;
  padding: 6px;
  border: 1px solid rgba(18, 66, 101, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(18, 66, 101, 0.35);
}
[data-theme="dark"] .lang-switch-menu {
  border-color: rgba(255, 255, 255, 0.1);
  background: #16213e;
}
.lang-switch-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 10px !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
[data-theme="dark"] .lang-switch-item {
  color: #e4e4e4;
}
.lang-switch-item:hover {
  background: rgba(36, 135, 206, 0.08);
}
.lang-switch-item.is-active {
  color: var(--accent-color);
  background: rgba(36, 135, 206, 0.1);
}
.lang-switch-item .bi-check2 {
  margin-left: auto;
}
.lang-switch-badge {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Подвал ---------- */
.modern-glass-footer .footer-links li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.modern-glass-footer .footer-links li > i {
  flex-shrink: 0;
}
