/* ============================================================
   fcc-tables.css — редизайн таблиц цен по всему сайту.
   Утверждённый дизайн (примерка на /chauffeurs/airports-transfer):
   единый serif-шрифт (Georgia) одного веса для названий и цен,
   все цены чёрные; заголовки обычным регистром с золотым штрихом
   строго под текстом; нежная рамка со скруглением; тонкие линии
   между строками; мягкая кремовая подсветка строки при наведении.
   Внедрение: чистый CSS поверх существующих <table> в контенте,
   разметка и данные не меняются.
   Подключение: <link rel="stylesheet" href="/css/fcc-tables.css?v=1">
   Скоуп: .fcc-chf-desc (страницы услуг) + .text-content (общая
   контент-зона: города, аэропорты, cars, отели, business-aviation,
   book-ride, основная таблица Meet & Greet). Карусель .example-prices
   не входит — у неё отдельный файл fcc-cars.css.
   Высокая специфичность html body — чтобы перебить !important темы.
   ============================================================ */

html body .fcc-chf-desc table,
html body .text-content table,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
  border: 1px solid #e0d9c8 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: none !important;
  margin: 24px 0 !important;
  font-variant-numeric: tabular-nums;
}

/* Сброс фонов/рамок ячеек и строк от темы (в т.ч. зебра-полосы) */
html body .fcc-chf-desc table th,
html body .fcc-chf-desc table td,
html body .text-content table th,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th,
html body .text-content table td,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price td {
  background: transparent !important;
  border: none !important;
}
html body .fcc-chf-desc table tr,
html body .fcc-chf-desc table thead,
html body .fcc-chf-desc table tbody,
html body .text-content table tr,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tr,
html body .text-content table thead,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price thead,
html body .text-content table tbody,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tbody {
  background: transparent !important;
}

/* Шапка: serif обычным регистром + золотой штрих под текстом */
html body .fcc-chf-desc table th,
html body .text-content table th,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  padding: 18px 14px 12px !important;
  vertical-align: bottom;
}
html body .fcc-chf-desc table th:first-child,
html body .text-content table th:first-child,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th:first-child {
  text-align: left !important;
  padding-left: 22px !important;
}
html body .fcc-chf-desc table th::after,
html body .text-content table th::after,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #a8863f;
  margin: 7px auto 0;
}
html body .fcc-chf-desc table th:first-child::after,
html body .text-content table th:first-child::after,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th:first-child::after {
  margin-left: 2px;
  margin-right: auto;
}

/* Тело: тот же serif, тот же вес, всё чёрное */
html body .fcc-chf-desc table td,
html body .text-content table td,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price td {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 16.5px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  text-align: left !important;
  padding: 15px 14px !important;
  border-bottom: 1px solid #ded8c8 !important;
}
html body .fcc-chf-desc table td:first-child,
html body .text-content table td:first-child,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price td:first-child {
  text-align: left !important;
  padding-left: 22px !important;
}

/* Вложенные strong/b/span в ячейках — не ломают единый вес и шрифт */
html body .fcc-chf-desc table th *,
html body .fcc-chf-desc table td *,
html body .text-content table th *,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th *,
html body .text-content table td *,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price td * {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Тема утолщает последнюю колонку — гасим */
html body .fcc-chf-desc table tr td:last-child,
html body .fcc-chf-desc table tbody tr td:last-child,
html body .text-content table tr td:last-child,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tr td:last-child,
html body .text-content table tbody tr td:last-child,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tbody tr td:last-child {
  font-weight: 400 !important;
}

/* Первая и последняя строки — воздух внутри рамки */
html body .fcc-chf-desc table tr:first-child td,
html body .text-content table tr:first-child td,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tr:first-child td { padding-top: 18px !important; }
html body .fcc-chf-desc table tr:last-child td,
html body .text-content table tr:last-child td,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tr:last-child td {
  border-bottom: none !important;
  padding-bottom: 20px !important;
}

/* Мягкая подсветка строки */
html body .fcc-chf-desc table tbody tr,
html body .text-content table tbody tr,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tbody tr { transition: background .25s ease; }
html body .fcc-chf-desc table tbody tr:hover td,
html body .text-content table tbody tr:hover td,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price tbody tr:hover td { background: #ece7d9 !important; }

@media (prefers-reduced-motion: reduce) {
  html body .fcc-chf-desc table tbody tr,
  html body .text-content table tbody tr,
  html body section.listing-left-right div:not(.example-prices) > table.fcc-price tbody tr { transition: none; }
}

/* ============================================================
   Единый стандарт выравнивания (решение заказчика 20.07.2026):
   первая колонка (названия) — слева, все колонки цен — справа,
   золотой штрих строго под текстом. Селекторы с table.fcc-price
   продублированы, чтобы перевесить старые инлайн-<style> блоки
   страниц (.fcc-price … !important) — они различаются по типам
   страниц и давали разнобой.
   ============================================================ */
html body .fcc-chf-desc table th:not(:first-child),
html body .text-content table th:not(:first-child),
html body .fcc-chf-desc table.fcc-price th:not(:first-child),
html body .text-content table.fcc-price th:not(:first-child),
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th:not(:first-child),
html body .fcc-chf-desc table td:not(:first-child),
html body .text-content table td:not(:first-child),
html body .fcc-chf-desc table.fcc-price td:not(:first-child),
html body .text-content table.fcc-price td:not(:first-child),
html body section.listing-left-right div:not(.example-prices) > table.fcc-price td:not(:first-child) {
  text-align: right !important;
}
html body .fcc-chf-desc table th:not(:first-child)::after,
html body .text-content table th:not(:first-child)::after,
html body .fcc-chf-desc table.fcc-price th:not(:first-child)::after,
html body .text-content table.fcc-price th:not(:first-child)::after,
html body section.listing-left-right div:not(.example-prices) > table.fcc-price th:not(:first-child)::after {
  margin: 7px 2px 0 auto !important;
}

/* Мобильные: компактнее, широкие таблицы прокручиваются */
@media (max-width: 560px) {
  html body .fcc-chf-desc table th,
  html body .text-content table th,
  html body section.listing-left-right div:not(.example-prices) > table.fcc-price th { font-size: 14px !important; padding: 14px 8px 10px !important; }
  html body .fcc-chf-desc table td,
  html body .text-content table td,
  html body section.listing-left-right div:not(.example-prices) > table.fcc-price td { font-size: 14px !important; padding: 12px 8px !important; }
  html body .fcc-chf-desc table th:first-child,
  html body .fcc-chf-desc table td:first-child,
  html body .text-content table th:first-child,
  html body section.listing-left-right div:not(.example-prices) > table.fcc-price th:first-child,
  html body .text-content table td:first-child,
  html body section.listing-left-right div:not(.example-prices) > table.fcc-price td:first-child { padding-left: 14px !important; }
}
