/* ===== ТЕМА: светлая / тёмная ===== */
/* Плавный переход между темами */
html {
  color-scheme: light dark;
}
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"]  { color-scheme: dark; }

body {
  transition: background-color .35s ease, color .35s ease;
}

/* Тёмная тема — переопределяем переменные */
[data-theme="dark"] {
  --paper: #1d1b18;
  --paper-bright: #262320;
  --ink: #e8e0d4;
  --muted: #9a948c;
  --line: #3a3530;
  --charcoal: #0d0b09;
  --orange: #f2a900;
  --orange-dark: #c97c00;
}

/* Кнопка переключения темы в шапке */
/* Переопределяем header-phone как flex, чтобы кнопка была справа в одну строку */
.header-phone {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-phone small,
.header-phone > span {
  display: flex;
  flex-direction: column;
}
/* «Магазин в Ставрополе» — крупнее и заметнее */
.header-phone small {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange, #f2a900);
  white-space: nowrap;
}
.theme-toggle {
  background: none;
  border: 1px solid var(--line, #555);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8e0d4;
  transition: border-color .3s, color .3s, transform .3s;
  flex-shrink: 0;
  line-height: 1;
  margin-left: 16px;
}
.theme-toggle:hover {
  border-color: var(--orange, #f2a900);
  color: var(--orange, #f2a900);
  transform: scale(1.08);
}
@media (max-width: 640px) {
  .theme-toggle { width: 34px; height: 34px; font-size: 16px; }
}

/* ----- Фикс жёстких цветов → переменные (для тёмной темы) ----- */

/* 404 — тень на тёмном фоне */
[data-theme="dark"] .error-404-code {
  text-shadow: 0 16px 40px rgba(242, 169, 0, .15);
}

/* Секция about — карточки фото */
[data-theme="dark"] .store-photo {
  background: var(--line, #3a3530);
}

/* Категории — убираем тени */
[data-theme="dark"] .category-card {
  box-shadow: none;
}

/* Карточки товаров — фон body */
[data-theme="dark"] .product-body {
  background: var(--paper-bright, #262320);
}

/* Форма заявки */
[data-theme="dark"] .order-section {
  background: var(--paper, #1d1b18);
}

/* Сервисная карточка */
[data-theme="dark"] .service-card-dark {
  background: var(--paper-bright, #262320);
}

/* Футер */
[data-theme="dark"] .site-footer {
  border-top-color: var(--line, #3a3530);
}

/* Кнопка «наверх» */
[data-theme="dark"] .to-top {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .to-top:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}

/* Поля ввода — тёмный фон */
[data-theme="dark"] .order-form input,
[data-theme="dark"] .order-form textarea {
  background: var(--paper-bright, #262320);
  color: var(--ink, #e8e0d4);
  border-color: var(--line, #3a3530);
}
[data-theme="dark"] .order-form input::placeholder,
[data-theme="dark"] .order-form textarea::placeholder {
  color: var(--muted, #9a948c);
}

/* Рейтинг Яндекс — полупрозрачный тёмный вместо белого */
[data-theme="dark"] .yandex-rating {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line, #3a3530);
}
[data-theme="dark"] .yandex-rating:hover {
  background: rgba(255, 255, 255, .10);
}

/* Блок «Заметка» под картой */
[data-theme="dark"] .map-note {
  background: rgba(255, 255, 255, .05);
}

/* Фото вывески */
[data-theme="dark"] .sign-section img {
  background: var(--paper-bright, #262320);
}

/* Карточки «Похожие товары» */
[data-theme="dark"] .related-card img {
  background: var(--paper-bright, #262320);
}

/* Каталог — фильтры, строка поиска */
[data-theme="dark"] .catalog-tools select,
[data-theme="dark"] .catalog-tools input[type="search"],
[data-theme="dark"] .search-box input {
  background: var(--paper-bright, #262320);
  color: var(--ink, #e8e0d4);
  border-color: var(--line, #3a3530);
}

/* Каталог — кнопка «Показать ещё» */

/* Общие поля ввода — перекраска для тёмной темы */
[data-theme="dark"] input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--paper-bright, #262320);
  color: var(--ink, #e8e0d4);
  border-color: var(--line, #3a3530);
}
[data-theme="dark"] .load-more-wrap .button-secondary {
  color: var(--ink, #e8e0d4);
  border-color: var(--line, #3a3530);
}

/* Product grid — карточки товаров (на всякий случай перебиваем) */
[data-theme="dark"] .product-card {
  box-shadow: 0 12px 36px rgba(0, 0, 0, .15);
}

/* Секция hero — текст на тёмном фоне */
[data-theme="dark"] .hero-copy h1 {
  color: #fff;
}

/* Пустое состояние каталога */
[data-theme="dark"] .empty-state {
  background: rgba(255, 255, 255, .04);
}

/* Pagination / Load more */
[data-theme="dark"] .product-more {
  color: var(--orange, #f2a900);
}

/* Секция «О магазине» (about) */
[data-theme="dark"] .about-section {
  background: var(--paper, #1d1b18);
}

/* Секция «Контакты» — левая колонка (текст) */
[data-theme="dark"] .contact-copy {
  background: var(--paper, #1d1b18);
}
[data-theme="dark"] .contact-copy dl > div {
  border-bottom-color: var(--line, #3a3530);
}

/* Секция «Контакты» — правая колонка (карта) */
[data-theme="dark"] .contact-map {
  background: var(--line, #3a3530);
}

/* Сервисная карточка (светлая) — фон */
[data-theme="dark"] .service-card {
  background: var(--paper, #1d1b18);
}
[data-theme="dark"] .service-card > p:not(.eyebrow) {
  color: var(--muted, #9a948c);
}
/* Сервисная карточка (тёмная) — уже есть, но добавим border */
[data-theme="dark"] .service-card-dark {
  border-color: var(--line, #3a3530);
}

/* ===== КОНЕЦ БЛОКА ТЕМЫ ===== */

/* Дополнения: крупный блок с девизом и наглядная схема проезда */
.motto-section {
  position: relative;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 18% 16%, #f2a90024, transparent 40%),
    radial-gradient(circle at 82% 84%, #f2a90018, transparent 44%),
    linear-gradient(135deg, #1d1b18, #10100e);
  padding: clamp(76px, 9vw, 140px) clamp(22px, 7vw, 124px);
  overflow: hidden;
}
.motto-section::before,
.motto-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}
.motto-section::before {
  /* искры-блики */
  width: 118px;
  height: 118px;
  right: -46px;
  top: -46px;
  background: radial-gradient(circle, #f2a90066, transparent 68%);
}
.motto-section::after {
  width: 164px;
  height: 164px;
  left: -64px;
  bottom: -64px;
  background: radial-gradient(circle, #f2a9003d, transparent 70%);
}
.motto-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}
.motto-section .eyebrow {
  color: var(--orange, #f2a900);
  margin-bottom: 26px;
}
.motto-section h2 {
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin: 0 0 22px;
  font-family: Arial Narrow, Roboto Condensed, Impact, sans-serif;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.04;
}
.motto-section h2 .motto-accent {
  display: block;
  color: var(--orange, #f2a900);
  letter-spacing: -.02em;
  font-size: clamp(56px, 8.4vw, 132px);
  line-height: .98;
  text-shadow: 0 12px 44px #f2a90038;
}
.motto-section__lead {
  max-width: 620px;
  margin: 0 auto;
  color: #bdb6ac;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}
.motto-section__divider {
  width: 74px;
  height: 4px;
  margin: 34px auto 0;
  background: linear-gradient(90deg, transparent, var(--orange, #f2a900), transparent);
  border-radius: 4px;
}

/* ===== УЛУЧШЕНИЯ ПАТЧА 10 ===== */

/* Липкая шапка с тенью */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(18, 16, 14, .96);
  transition: box-shadow .3s, background .3s;
  border-bottom: 2px solid var(--orange, #f2a900);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(54, 43, 28, .12);
}

/* Header colors on dark bg */
.site-header .brand-name,
.site-header .desktop-nav a,
.site-header .header-phone a,
.site-header .header-phone small {
  color: #e8e0d4;
}
.site-header .brand-name span {
  color: var(--orange, #f2a900);
}
.site-header .desktop-nav a:hover {
  color: var(--orange, #f2a900);
}

/* Brand mark — логотип-эмблема */
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: url('/images/icons/brand-machine.webp') center/cover no-repeat, var(--orange, #f2a900);
  flex-shrink: 0;
}
.brand-mark span {
  display: none;
}


/* Плавное появление секций при прокрутке */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Кнопка «наверх» */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border: 2px solid var(--orange, #f2a900);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbd13, #ef9900);
  color: #1d1d1a;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px #e08b0038;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px #e08b0052;
}
.to-top:focus-visible {
  outline: 3px solid #4385ff;
  outline-offset: 3px;
}

/* Красивая 404 */
.error-404-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background:
    radial-gradient(circle at 20% 20%, #f2a90018, transparent 40%),
    radial-gradient(circle at 80% 80%, #f2a90012, transparent 40%),
    var(--paper-bright, #fbf8f1);
}
.error-404-code {
  font-family: Arial Narrow, Roboto Condensed, Impact, sans-serif;
  font-size: clamp(96px, 18vw, 220px);
  font-weight: 900;
  line-height: .9;
  color: var(--orange, #f2a900);
  letter-spacing: -.04em;
  text-shadow: 0 16px 40px #e08b0030;
  margin-bottom: 8px;
}
.error-404-section h1 {
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-family: Arial Narrow, Roboto Condensed, Impact, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}
.error-404-section p {
  max-width: 480px;
  color: var(--muted, #6c675f);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.directions-section {
  background: var(--paper, #f5efe5);
  padding: clamp(72px, 8vw, 120px) clamp(22px, 7vw, 124px);
}
.directions-section__head {
  max-width: 1480px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}
.directions-section__head h2 {
  margin: 0 0 14px;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-family: Arial Narrow, Roboto Condensed, Impact, sans-serif;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.02;
}
.directions-section__lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted, #6a645b);
  font-size: 17px;
  line-height: 1.65;
}
.directions-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.directions-map-card {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  border: 1px solid var(--line, #d5c9b8);
  border-radius: 14px;
  background: var(--paper-bright, #fff);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(54, 43, 28, .16);
}
.directions-map-card__image {
  position: relative;
  display: block;
  background: #d8e6e7;
  overflow: hidden;
}
.directions-map-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1395 / 694;
  object-fit: contain;
}
.directions-map-card__image::after {
  content: "Нажмите, чтобы открыть схему крупно";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  color: #fff;
  border-radius: 7px;
  background: rgba(23, 23, 21, .88);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s, transform .2s;
}
.directions-map-card__image:hover::after,
.directions-map-card__image:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.directions-map-card__image:focus-visible {
  outline: 3px solid #4385ff;
  outline-offset: -3px;
}

.directions-map-card figcaption {
  margin: 0;
  padding: 18px clamp(18px, 3vw, 34px);
  color: var(--muted, #6a645b);
  border-top: 1px solid var(--line, #d5c9b8);
  font-size: 14px;
  line-height: 1.6;
}
.contact-actions .directions-jump {
  border-color: #8d7c64;
}

@media (max-width: 820px) {
  .motto-section h2 {
    font-size: clamp(36px, 8vw, 64px);
  }
  .motto-section h2 .motto-accent {
    font-size: clamp(48px, 10.5vw, 92px);
  }
  .directions-section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .directions-section__actions {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .motto-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .motto-section__lead {
    font-size: 15px;
  }
  .motto-section h2 {
    font-size: clamp(30px, 9vw, 44px);
  }
  .motto-section h2 .motto-accent {
    font-size: clamp(40px, 12vw, 64px);
  }
  .to-top {
    right: 14px;
    bottom: 72px;           /* выше кнопки «Позвонить» */
    width: 46px;
    height: 46px;
  }
  .directions-section {
    padding-left: 14px;
    padding-right: 14px;
  }
  .directions-section__head {
    padding: 0 8px;
  }
  .directions-section__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .directions-section__actions .button {
    width: 100%;
  }
  .directions-map-card {
    border-radius: 10px;
  }
  .directions-map-card__image {
    overflow-x: auto;
  }
  .directions-map-card img {
    min-width: 760px;
  }
  .directions-map-card__image::after {
    display: none;
  }
}
/* Hero background — welder photo */
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/store/welder-workshop-hero.webp') center/cover no-repeat;
  opacity: 0.85;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,16,14, 0.7) 0%, rgba(18,16,14, 0.2) 50%, transparent 100%);
}

/* ---- Category landing pages ---- */
.category-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 50px clamp(22px, 5vw, 80px) 80px;
}
.category-page .breadcrumbs {
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted, #6c675f);
}
.category-page .breadcrumbs a {
  color: var(--muted, #6c675f);
  text-decoration: none;
}
.category-page .breadcrumbs a:hover {
  color: var(--orange, #f2a900);
}
.category-page .section-heading {
  margin-bottom: 30px;
}
.category-page .section-heading h1 {
  font-family: Arial Narrow, Roboto Condensed, Impact, sans-serif;
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.category-page .section-lead {
  max-width: 700px;
  color: var(--muted, #6c675f);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}
.category-count {
  margin-bottom: 28px;
  color: var(--muted, #6c675f);
  font-size: 15px;
}
.category-back {
  margin-top: 44px;
  text-align: center;
}

/* ---- FAQ section ---- */
.faq-section {
  background: var(--paper-bright, #fbf8f1);
  padding: clamp(60px, 8vw, 100px) clamp(22px, 7vw, 124px);
}
.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}
.faq-inner .eyebrow {
  text-align: center;
  margin-bottom: 14px;
}
.faq-inner h2 {
  text-align: center;
  font-family: Arial Narrow, Roboto Condensed, Impact, sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 40px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line, #d5c9b8);
  border-radius: 10px;
  background: var(--paper-bright, #fff);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--orange, #f2a900);
  margin-left: 16px;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-item summary:focus-visible {
  outline: 3px solid #4385ff;
  outline-offset: -3px;
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted, #6c675f);
  border-top: 1px solid var(--line, #efebe4);
  margin-top: 0;
  padding-top: 14px;
}

/* ---- Шапка: показываем десктопное меню ---- */
.desktop-nav {
  display: flex !important;
}
@media (max-width: 860px) {
  .desktop-nav {
    display: none !important;
  }
}

/* ---- Значок бренда: дуга вместо крестика ---- */
.brand-mark:before,
.brand-mark:after,
.brand-mark span:before,
.brand-mark span:after {
  display: none !important;
}
.brand-mark {
  background: url("/images/icons/brand-machine.webp") center/contain no-repeat !important;
}

/* ---- Hero text styling ---- */
.hero-text {
  max-width: 680px !important;
  color: var(--muted, #6c675f);
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.65 !important;
  margin-bottom: 32px !important;
  letter-spacing: .01em;
}
.hero-text br + br {
  display: none;
}
@media (max-width: 640px) {
  .hero-text {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }
}

/* ===== Галерея товара ===== */
.product-gallery {
  margin-top: 12px;
}

.gallery-counter {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}

.gallery-thumbs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail-image .gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid var(--border, #e5e5e5);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  background: #f5f5f5;
}

.product-detail-image .gallery-thumb:hover {
  border-color: var(--accent, #e03a1a);
  transform: scale(1.05);
}

.product-detail-image .gallery-thumb.active {
  border-color: var(--accent, #e03a1a);
  box-shadow: 0 0 0 2px rgba(224, 58, 26, 0.2);
}

/* ===== Лайтбокс ===== */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.gallery-lightbox-body {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.15s ease;
}

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 10px;
  user-select: none;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.gallery-lightbox-prev { left: 16px; }
.gallery-lightbox-next { right: 16px; }

@media (max-width: 600px) {
  .gallery-thumb {
    width: 56px;
    height: 56px;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }

  .gallery-lightbox-close {
    width: 36px;
    height: 36px;
    font-size: 22px;
    top: 8px;
    right: 8px;
  }
}

/* ===== Мобильные фиксы: хедер + кнопки ===== */
@media (max-width: 640px) {
  /* Компактный хедер на телефоне */
  .site-header {
    min-height: 56px !important;
    padding: 8px 14px !important;
    gap: 12px;
  }

  /* Кнопка «Позвонить» — меньше и не перекрывается */
  .mobile-call {
    bottom: 12px;
    right: 12px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
    z-index: 59; /* ниже чем .to-top (90) */
  }
}
