﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

/* ============================================================
   КАРТОЧКА ЭКСКУРСИИ — single-excursion.php
   ============================================================ */

/* ── Хлебные крошки ── */
.exc-breadcrumbs { font-size: 0.85rem; color: #888; margin-bottom: 20px; }
.exc-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.exc-breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.exc-breadcrumbs li:not(:last-child)::after { content: '›'; color: #bbb; }
.exc-breadcrumbs a { color: #1a73e8; text-decoration: none; }
.exc-breadcrumbs a:hover { text-decoration: underline; }
.exc-breadcrumbs li.current { color: #555; }

/* ── Лейаут: основной + сайдбар ── */
.exc-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.exc-main { min-width: 0; }
@media (max-width: 960px) {
    .exc-layout { grid-template-columns: 1fr; }
}

/* ── Заголовок ── */
.exc-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a2e;
    margin-bottom: 14px;
}

/* ── Мета-строка (рейтинг, длительность, язык) ── */
.exc-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #555;
}
.exc-rating { display: flex; align-items: center; gap: 6px; }
.exc-rating .stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 1px; }
.exc-rating .rating-val { font-weight: 700; color: #1a1a2e; font-size: 1rem; }
.exc-rating .rating-count { color: #888; }
.exc-meta-item { display: flex; align-items: center; gap: 5px; }
.exc-meta-item svg { color: #888; flex-shrink: 0; }

/* ── Бейджи ── */
.exc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.exc-badge--instant { background: #e8f5e9; color: #2e7d32; }
.exc-badge--kids    { background: #fff3e0; color: #e65100; }
.exc-badge--type    { background: #e8eaf6; color: #3949ab; }
.exc-badge--lg      { font-size: 0.85rem; padding: 6px 14px; }

/* ── Фото ── */
.exc-photo {
    position: relative;
    margin-bottom: 24px;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f0f0;
}
.exc-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.exc-unavailable-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.3rem; font-weight: 700;
}
.exc-unavailable-overlay::after { content: 'Недоступно'; }

/* ── Теги категорий ── */
.exc-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.exc-cat-tag {
    background: #f0f4ff;
    color: #3949ab;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
}
.exc-cat-tag:hover { background: #e8eaf6; }

/* ── Короткое описание ── */
.exc-short-info {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #1a73e8;
}

/* ── Основное описание ── */
.exc-description {
    font-size: 0.97rem;
    color: #333;
    line-height: 1.75;
    margin-bottom: 10px;
}
.exc-description p { margin-bottom: 12px; }

/* ── Универсальный блок ── */
.exc-block {
    margin: 32px 0;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}
.exc-block:last-of-type { border-bottom: none; }
.exc-blocktitle,
.exc-block__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Что посмотрим ── */
.exc-places ul {
    columns: 2;
    column-gap: 24px;
    list-style: none;
    padding: 0;
}
.exc-places li {
    padding: 4px 0 4px 18px;
    position: relative;
    font-size: 0.92rem;
    color: #333;
    break-inside: avoid;
}
.exc-places li::before { content: '•'; position: absolute; left: 0; color: #1a73e8; }
@media (max-width: 600px) { .exc-places ul { columns: 1; } }

/* ── Включено / Не включено ── */
.exc-included-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .exc-included-wrap { grid-template-columns: 1fr; } }
.exc-included { padding: 16px 20px; border-radius: 12px; font-size: 0.9rem; line-height: 1.7; }
.exc-included h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.exc-included--yes { background: #f1f8e9; }
.exc-included--yes h3 { color: #2e7d32; }
.exc-included--no  { background: #fce4ec; }
.exc-included--no h3 { color: #c62828; }

/* ── Маршрут ── */
.exc-route-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 0.92rem; }
.route-dot {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800; color: white;
}
.route-dot--start { background: #4caf50; }
.route-dot--end   { background: #f44336; }

/* ── Что взять с собой ── */
.exc-take-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exc-take-list li {
    background: #fff8e1;
    color: #5d4037;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
}

/* ── Гид ── */
.exc-guide-inner { display: flex; align-items: center; gap: 16px; }
.exc-guide-photo {
    width: 72px; height: 72px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 3px solid #e8eaf6;
}
.exc-guide-name { font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: 4px; }
.exc-guide-rating { font-size: 0.88rem; color: #888; }
.exc-guide-rating::before { content: '★ '; color: #f5a623; }

/* ── FAQ ── */
.exc-faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}
.exc-faq-q {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}
.exc-faq-q:hover { background: #f8f9fa; }
.exc-faq-q[aria-expanded="true"] { background: #f0f4ff; color: #1a73e8; }
.faq-arrow { transition: transform 0.2s; flex-shrink: 0; }
.exc-faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.exc-faq-a {
    display: none;
    padding: 0 18px 14px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
    background: #f0f4ff;
}

/* ── Расписание ── */
.exc-cal { display: inline-block; margin: 0 20px 20px 0; vertical-align: top; }
.exc-cal-header { font-weight: 700; font-size: 0.95rem; color: #1a1a2e; margin-bottom: 10px; text-align: center; }
.exc-cal-grid { display: grid; grid-template-columns: repeat(7, 38px); gap: 3px; }
.exc-cal-dow { text-align: center; font-size: 0.7rem; font-weight: 700; color: #aaa; padding: 4px 0; text-transform: uppercase; }
.exc-cal-day {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 0.82rem; font-weight: 600;
}
.exc-cal-day--empty  { background: none; }
.exc-cal-day--off    { color: #ccc; }
.exc-cal-day--past   { color: #ddd; }
.exc-cal-day--free   { background: #e8f5e9; color: #2e7d32; }
.exc-cal-day--busy   { background: #fce4ec; color: #c62828; }
.exc-cal-legend { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: #666; margin-top: 12px; }
.exc-cal-legend .exc-cal-day { width: 28px; height: 28px; font-size: 0.72rem; border-radius: 6px; }
.exc-cal-note { font-size: 0.76rem; color: #bbb; margin-top: 6px; }
@media (max-width: 600px) {
    .exc-cal { display: block; margin-right: 0; }
    .exc-cal-grid { grid-template-columns: repeat(7, 1fr); }
    .exc-cal-day { width: auto; height: 34px; }
}

/* ── Отзывы ── */
.exc-reviews-summary { font-size: 0.85rem; color: #888; margin-left: 8px; font-weight: 400; }
.exc-reviews-list { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.exc-review-item {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 16px 18px;
}
.exc-review-item--hidden { display: none; }
.exc-review-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.exc-review-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: #1a73e8; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; font-weight: 700;
}
.exc-review-name  { font-weight: 700; font-size: 0.88rem; color: #1a1a2e; }
.exc-review-stars { color: #f5a623; font-size: 0.85rem; margin-top: 2px; }
.exc-review-date  { margin-left: auto; font-size: 0.75rem; color: #bbb; white-space: nowrap; }
.exc-review-text  { font-size: 0.88rem; color: #444; line-height: 1.65; }
.exc-reviews-more {
    margin-top: 16px;
    padding: 10px 20px;
    border: 2px solid #e8eaf6;
    border-radius: 10px;
    background: #fff;
    color: #1a73e8;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
    display: block;
    width: 100%;
    text-align: center;
}
.exc-reviews-more:hover { background: #f0f4ff; }
@keyframes revealReview {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Похожие экскурсии ── */
.exc-related { margin: 40px 0 0; }
.exc-related__title { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin-bottom: 18px; }
.exc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .exc-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .exc-related-grid { grid-template-columns: 1fr; } }
.exc-rel-card {
    display: flex; flex-direction: column;
    border-radius: 12px; overflow: hidden;
    border: 1px solid #eee; text-decoration: none; color: inherit;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.exc-rel-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.exc-rel-photo { position: relative; overflow: hidden; }
.exc-rel-photo img { width: 100%; height: 175px; object-fit: cover; display: block; transition: transform 0.3s; }
.exc-rel-card:hover .exc-rel-photo img { transform: scale(1.04); }
.exc-rel-rating {
    position: absolute; bottom: 8px; left: 8px;
    background: rgba(0,0,0,0.55); color: #ffc107;
    padding: 2px 8px; border-radius: 20px; font-size: 0.76rem; font-weight: 600;
}
.exc-rel-instant {
    position: absolute; top: 8px; right: 8px;
    background: #e8f5e9; border-radius: 50%;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.exc-rel-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.exc-rel-title { font-size: 0.88rem; font-weight: 700; color: #1a1a2e; line-height: 1.4; }
.exc-rel-desc  { font-size: 0.78rem; color: #888; line-height: 1.5; flex: 1; }
.exc-rel-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 0.78rem; color: #aaa; }
.exc-rel-price { font-size: 0.97rem; font-weight: 800; color: #d32f2f; }

/* ============================================================
   САЙДБАР — бронирование
   ============================================================ */
.exc-sidebar { position: sticky; top: 20px; }
.exc-booking-card {
    background: #fff;
    border: 1px solid #e8eaf6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

/* Цена */
.exc-price-block { margin-bottom: 16px; }
.exc-price-old { font-size: 1rem; color: #bbb; text-decoration: line-through; margin-bottom: 2px; }
.exc-price-main {
    font-size: 2rem; font-weight: 900; color: #d32f2f; line-height: 1.1;
    display: flex; align-items: baseline; gap: 4px;
}
.exc-price-main span { font-size: 1.1rem; font-weight: 700; }
.exc-price-main--unknown::after { content: 'Цена по запросу'; font-size: 1rem; font-weight: 500; color: #888; }
.exc-price-label { font-size: 0.82rem; color: #888; margin-top: 2px; }

/* Калькулятор */
.exc-calc { margin: 16px 0; }
.exc-calc-label { font-size: 0.82rem; color: #888; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.exc-calc-row {
    display: flex; align-items: center; gap: 8px;
    background: #f8f9fa; border-radius: 10px; padding: 8px 14px;
}
.calc-btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid #e0e0e0; background: #fff;
    font-size: 1.2rem; font-weight: 700; color: #333;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.15s; flex-shrink: 0;
}
.calc-btn:hover { border-color: #1a73e8; color: #1a73e8; }
#calc-persons {
    width: 50px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e !important;
    padding: 4px 0;
    -moz-appearance: textfield;
}
#calc-persons::-webkit-inner-spin-button,
#calc-persons::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-unit { font-size: 0.88rem; color: #888; }
.exc-calc-total { font-size: 0.9rem; color: #555; margin-top: 10px; }
.exc-calc-total strong { font-size: 1.3rem; color: #d32f2f; font-weight: 800; }

/* Кнопка бронирования */
.exc-btn-book {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 16px 20px;
    background: #2ecc71;
    color: white; font-size: 1.05rem; font-weight: 700;
    border-radius: 12px; text-decoration: none;
    margin: 16px 0 12px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(46,204,113,0.3);
}
.exc-btn-book:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46,204,113,0.4);
    color: white;
}
.exc-btn-book::after { content: '↗'; font-size: 1rem; }
.exc-no-url { text-align: center; color: #bbb; font-size: 0.9rem; padding: 14px 0; }

/* Источник */
.exc-source-label { font-size: 0.78rem; color: #888; text-align: center; margin-top: -6px; }

/* Способ оплаты */
.exc-pay-type { font-size: 0.82rem; color: #666; text-align: center; margin: 6px 0 12px; }

/* Список фактов */
.exc-facts {
    list-style: none; padding: 0; margin: 12px 0 0;
    display: flex; flex-direction: column; gap: 8px;
}
.exc-facts li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; color: #444;
}
.exc-facts svg { color: #888; flex-shrink: 0; }


/* Каталог */

.excursion-card { max-width: 900px; margin: 0 auto; padding: 20px; }
.price-header { display: flex; gap: 15px; align-items: center; }
.price-main { font-size: 3em; color: #d32f2f; font-weight: bold; }
.instant { background: #4caf50; color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.8em; }
.kids { font-size: 1.5em; }
.rating-stars { color: #ffc107; font-size: 1.4em; }
.hero-photo img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; }
.btn-book { background: #ff6b35; color: white; padding: 18px 40px; border-radius: 8px; font-size: 1.2em; }
.group-calc { display: flex; gap: 10px; align-items: center; }
.guide-avatar { width: 60px; height: 60px; border-radius: 50%; float: left; margin-right: 15px; }

/* ЭКСКУРСИЯ — КАРТОЧКА */
.excursion-card { max-width: 950px; margin: 0 auto; padding: 30px 20px; line-height: 1.6; }
.price-header { 
    display: flex; gap: 20px; align-items: flex-start; margin-bottom: 25px; 
}
.price-main { 
    font-size: 3.2em; color: #d32f2f; font-weight: 800; line-height: 1; 
}
.instant { 
    background: linear-gradient(45deg, #4caf50, #45a049); 
    color: white; padding: 8px 16px; border-radius: 25px; font-size: 0.85em; 
    font-weight: 600; text-transform: uppercase; 
}
.kids { font-size: 2em; }

.excursion-meta { 
    display: flex; gap: 25px; margin-bottom: 25px; flex-wrap: wrap; 
}
.rating-stars { 
    color: #ffc107; font-size: 1.6em; font-weight: bold; 
}
.rating-stars::after { content: '(' attr(data-reviews) ')'; color: #666; font-size: 0.9em; }
.hero-photo { margin-bottom: 30px; overflow: hidden; border-radius: 16px; }
.hero-photo img { width: 100%; height: 380px; object-fit: cover; }

.booking-block { 
    display: flex; gap: 20px; margin-bottom: 40px; align-items: center; flex-wrap: wrap; 
}
.btn-book { 
    background: linear-gradient(45deg, #ff6b35, #f57c00); 
    color: white; padding: 20px 45px; border-radius: 12px; font-size: 1.25em; 
    font-weight: 600; text-decoration: none; box-shadow: 0 8px 25px rgba(255,107,53,0.3);
    transition: all 0.3s; 
}
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255,107,53,0.4); }

.group-calc { 
    display: flex; gap: 12px; align-items: center; background: #f8f9fa; 
    padding: 15px 25px; border-radius: 12px; 
}
.group-calc input { width: 70px; padding: 8px; border: 2px solid #e9ecef; border-radius: 8px; }
.calc-total { font-size: 1.3em; font-weight: 700; color: #d32f2f; }

.excursion-content h1 { font-size: 2.2em; margin-bottom: 20px; color: #333; }
.sights-block { 
    background: #f8f9fa; padding: 25px; border-radius: 12px; margin: 40px 0; 
}
.sights-block h3 { color: #495057; margin-bottom: 20px; font-size: 1.4em; }
.sights-block ul { columns: 2; column-gap: 30px; }
.sights-block li { margin-bottom: 8px; padding-left: 0; }

.guide-info { 
    display: flex; gap: 20px; background: white; padding: 25px; 
    border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin: 40px 0; 
}
.guide-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }


/* =====================================================
   ДОБАВИТЬ В КОНЕЦ style.css — блоки: расписание,
   отзывы, похожие экскурсии
   ===================================================== */

/* ── Расписание ── */
.exc-schedule { }
.exc-cal { display: inline-block; margin: 0 16px 20px 0; vertical-align: top; }
.exc-cal-header { font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: 10px; text-align: center; }
.exc-cal-grid {
    display: grid; grid-template-columns: repeat(7, 36px);
    gap: 3px;
}
.exc-cal-dow {
    text-align: center; font-size: 0.72rem; font-weight: 700;
    color: #999; padding: 4px 0; text-transform: uppercase;
}
.exc-cal-day {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 0.85rem; font-weight: 500;
}
.exc-cal-day--empty  { background: none; }
.exc-cal-day--off    { color: #ccc; background: none; }
.exc-cal-day--past   { color: #ccc; background: none; }
.exc-cal-day--free   { background: #e8f5e9; color: #2e7d32; font-weight: 700; }
.exc-cal-day--busy   { background: #fce4ec; color: #c62828; }
.exc-cal-legend {
    display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #666;
    margin-top: 10px;
}
.exc-cal-legend .exc-cal-day { width: 28px; height: 28px; font-size: 0.75rem; border-radius: 6px; }
.exc-cal-note { font-size: 0.78rem; color: #aaa; margin-top: 8px; }
@media (max-width: 600px) {
    .exc-cal { display: block; margin-right: 0; }
    .exc-cal-grid { grid-template-columns: repeat(7, 1fr); }
    .exc-cal-day { width: auto; height: 32px; }
}

/* ── Отзывы ── */
.exc-reviews-summary {
    font-size: 0.88rem; font-weight: 400; color: #666; margin-left: 8px;
}
.exc-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.exc-review-item {
    background: #fafafa; border-radius: 12px; padding: 18px 20px;
    border: 1px solid #f0f0f0;
}
.exc-review-head {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px;
}
.exc-review-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: #1a73e8; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
}
.exc-review-name  { font-weight: 700; font-size: 0.9rem; color: #1a1a2e; }
.exc-review-stars { color: #f5a623; font-size: 0.9rem; margin-top: 2px; }
.exc-review-date  { margin-left: auto; font-size: 0.78rem; color: #aaa; white-space: nowrap; }
.exc-review-text  { font-size: 0.88rem; color: #444; line-height: 1.65; }

/* ── Похожие экскурсии ── */
.exc-related { margin: 40px 0 0; }
.exc-related__title {
    font-size: 1.3rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px;
}
.exc-related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .exc-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .exc-related-grid { grid-template-columns: 1fr; } }

.exc-rel-card {
    display: flex; flex-direction: column;
    border-radius: 14px; overflow: hidden;
    border: 1px solid #eee; text-decoration: none; color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
}
.exc-rel-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }

.exc-rel-photo { position: relative; overflow: hidden; }
.exc-rel-photo img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.3s; }
.exc-rel-card:hover .exc-rel-photo img { transform: scale(1.04); }

.exc-rel-rating {
    position: absolute; bottom: 8px; left: 8px;
    background: rgba(0,0,0,0.55); color: #ffc107;
    padding: 3px 8px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
}
.exc-rel-instant {
    position: absolute; top: 8px; right: 8px;
    background: #e8f5e9; border-radius: 50%;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.exc-rel-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.exc-rel-title { font-size: 0.9rem; font-weight: 700; color: #1a1a2e; line-height: 1.4; }
.exc-rel-desc  { font-size: 0.8rem; color: #777; line-height: 1.5; flex: 1; }
.exc-rel-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; font-size: 0.8rem; color: #888;
}
.exc-rel-price { font-size: 1rem; font-weight: 800; color: #d32f2f; }
.exc-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 960px) {
    .exc-layout { grid-template-columns: 1fr; }
}


/* ============================================================
   КАТАЛОГ ЭКСКУРСИЙ — archive-excursion.php
   ============================================================ */

.cat-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* ── Хлебные крошки ── */
.cat-breadcrumbs {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 12px;
}
.cat-breadcrumbs a { color: #1a73e8; text-decoration: none; }
.cat-breadcrumbs a:hover { text-decoration: underline; }

/* ── Заголовок ── */
.cat-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.cat-count { font-size: 0.9rem; color: #888; margin-bottom: 24px; }

/* ── Лейаут: сайдбар-фильтр + основная ── */
.cat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) {
    .cat-layout { grid-template-columns: 1fr; }
}

/* ════ ФИЛЬТРЫ ════ */
.cat-filters {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 20px;
}
.cat-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
}
.cat-filters-reset {
    font-size: 0.78rem;
    color: #888;
    text-decoration: none;
}
.cat-filters-reset:hover { color: #d32f2f; }

.cat-filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}
.cat-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cat-filter-group--highlight {
    background: #fff8e1;
    margin: -8px -8px 16px;
    padding: 12px;
    border-radius: 10px;
    border-bottom: none;
}
.cat-filter-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Селект */
.cat-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}
.cat-select:focus { outline: none; border-color: #1a73e8; }

/* Типы — радиокнопки */
.cat-type-list { display: flex; flex-direction: column; gap: 6px; }
.cat-type-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; color: #444; cursor: pointer;
}
.cat-type-item input[type="radio"] { accent-color: #1a73e8; }

/* Слайдер цены */
.cat-range {
    width: 100%;
    accent-color: #1a73e8;
    margin-top: 8px;
    cursor: pointer;
}

/* Кнопки рейтинга */
.cat-rating-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-rating-btn {
    padding: 5px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}
.cat-rating-btn.active,
.cat-rating-btn:hover { border-color: #f5a623; background: #fff8e1; color: #b37400; }

/* Чекбоксы */
.cat-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.88rem; }
.cat-checkbox input { accent-color: #1a73e8; width: 16px; height: 16px; }
.cat-checkbox-big { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: #e65100; }
.cat-checkbox-big input { accent-color: #e65100; width: 16px; height: 16px; }

/* ════ ОСНОВНАЯ КОЛОНКА ════ */
.cat-main { min-width: 0; }

/* Тулбар */
.cat-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.cat-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.82rem; color: #888; }
.cat-sort-btn {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.8rem; font-weight: 500; color: #555;
    text-decoration: none; background: #fff;
    transition: all 0.15s;
}
.cat-sort-btn.active,
.cat-sort-btn:hover { border-color: #1a73e8; background: #e8f0fe; color: #1a73e8; }

/* Мобильная кнопка фильтров */
.cat-mobile-filter-btn {
    display: none;
    align-items: center; gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.85rem; font-weight: 600; color: #555;
    background: #fff; cursor: pointer;
    position: relative;
}
.cat-filter-dot {
    position: absolute; top: 5px; right: 5px;
    width: 7px; height: 7px; border-radius: 50%; background: #1a73e8;
}
@media (max-width: 900px) {
    .cat-mobile-filter-btn { display: flex; }
    .cat-filters {
        position: fixed; top: 0; left: 0; height: 100vh; width: 280px;
        z-index: 1000; transform: translateX(-100%);
        transition: transform 0.25s ease; overflow-y: auto;
        border-radius: 0 16px 16px 0;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    .cat-filters--open { transform: translateX(0); }
}

/* Активные теги-фильтры */
.cat-active-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-active-tag {
    padding: 4px 12px;
    background: #e8f0fe; color: #1a73e8;
    border-radius: 20px; font-size: 0.78rem; font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.cat-active-tag:hover { background: #d2e3fc; }

/* ════ СЕТКА КАРТОЧЕК ════ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cat-grid { grid-template-columns: 1fr; } }

/* Карточка */
.cat-card {
    display: flex; flex-direction: column;
    border-radius: 14px; overflow: hidden;
    border: 1px solid #eee; background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.cat-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.11); transform: translateY(-3px); }

/* Фото карточки */
.cat-card-link { display: block; text-decoration: none; }
.cat-card-photo { position: relative; overflow: hidden; height: 195px; background: #f0f4f8; }
.cat-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-card:hover .cat-card-photo img { transform: scale(1.05); }
.cat-card-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #f0f4f8 0%, #e8eaf6 100%); }

/* Бейджи на фото */
.cat-card-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700;
    backdrop-filter: blur(4px);
}
.cat-card-badge--instant { background: rgba(232,245,233,0.95); color: #2e7d32; }
.cat-card-badge--kids    { background: rgba(255,255,255,0.9); left: auto; right: 10px; }

/* Тело карточки */
.cat-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cat-card-meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    font-size: 0.75rem; color: #999; margin-bottom: 8px;
    align-items: center;
}
.cat-card-city, .cat-card-dur, .cat-card-lang {
    display: flex; align-items: center; gap: 3px;
}
.cat-card-title {
    font-size: 0.93rem; font-weight: 700; color: #1a1a2e;
    margin-bottom: 6px; line-height: 1.4;
}
.cat-card-title a { text-decoration: none; color: inherit; }
.cat-card-title a:hover { color: #1a73e8; }
.cat-card-desc { font-size: 0.78rem; color: #888; line-height: 1.5; flex: 1; margin-bottom: 10px; }

/* Футер карточки */
.cat-card-footer {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 12px;
}
.cat-card-price-old { font-size: 0.75rem; color: #bbb; text-decoration: line-through; }
.cat-card-price {
    font-size: 1.15rem; font-weight: 800; color: #d32f2f;
    display: flex; align-items: baseline; gap: 2px;
}
.cat-card-price span { font-size: 0.85rem; }
.cat-price-unknown { font-size: 0.82rem; font-weight: 500; color: #888; }
.cat-card-rating { display: flex; align-items: center; gap: 4px; }
.cat-card-stars { color: #f5a623; font-size: 1rem; }
.cat-card-rating-val { font-weight: 700; font-size: 0.9rem; color: #333; }
.cat-card-reviews { font-size: 0.75rem; color: #aaa; }

/* Кнопка */
.cat-card-btn {
    display: block; text-align: center;
    padding: 9px 16px;
    background: #1a73e8; color: white;
    border-radius: 10px; font-size: 0.85rem; font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.cat-card-btn:hover { background: #1557b0; color: white; }

/* ════ ПАГИНАЦИЯ ════ */
.cat-pagination {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 6px; margin-top: 36px;
}
.cat-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border: 1.5px solid #e0e0e0; border-radius: 10px;
    font-size: 0.9rem; font-weight: 600; text-decoration: none; color: #555;
    background: #fff; transition: all 0.15s;
}
.cat-pagination .page-numbers.current,
.cat-pagination .page-numbers:hover { border-color: #1a73e8; background: #e8f0fe; color: #1a73e8; }
.cat-pagination .page-numbers.dots { border: none; }

/* ════ ПУСТОЙ РЕЗУЛЬТАТ ════ */
.cat-empty {
    text-align: center; padding: 60px 20px; color: #888;
}
.cat-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.cat-empty h3 { font-size: 1.2rem; color: #1a1a2e; margin-bottom: 8px; }
.cat-empty p { font-size: 0.9rem; margin-bottom: 20px; }
.cat-empty-reset {
    display: inline-block; padding: 10px 24px;
    background: #1a73e8; color: white; border-radius: 10px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
}

/* SVG-иконки */
.ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ico--star { color: #f5a623; }
.cat-empty-icon .ico { width: 40px; height: 40px; color: #bbb; }
.cat-card-badge .ico { width: 13px; height: 13px; }
.cat-card-stars .ico { width: 15px; height: 15px; }
.cat-rating-btn .ico { width: 12px; height: 12px; }
.cat-active-tag .ico { width: 9px; height: 9px; margin-left: 4px; }
.cat-checkbox-big .ico, .cat-checkbox .ico { color: inherit; }

/* ── Списки включено / не включено ── */
.exc-incl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.exc-included--yes .exc-incl-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: #2e5c1e;
    line-height: 1.5;
}
.exc-included--yes .exc-incl-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 5px;
    width: 13px; height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 9' fill='none' stroke='%232e7d32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 4 5 8 12 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}
.exc-included--no .exc-incl-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: #7b1c1c;
    line-height: 1.5;
}
.exc-included--no .exc-incl-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 5px;
    width: 11px; height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11' fill='none' stroke='%23c62828' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='1' y1='1' x2='10' y2='10'/%3E%3Cline x1='10' y1='1' x2='1' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

html { scroll-behavior: smooth; }

.rating-anchor {
    color: inherit;
    text-decoration: underline dotted;
    cursor: pointer;
    transition: color 0.15s;
}
.rating-anchor:hover { color: #1a73e8; }



/* ── Ближайшая дата ── */
.exc-next-date {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f0fff4;
    border: 1px solid #b7ebc8;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 0.85rem;
    color: #2e7d32;
    margin-bottom: 12px;
}
.exc-next-date svg { flex-shrink: 0; color: #2e7d32; }
.exc-next-date strong { color: #1b5e20; }
.exc-next-dot {
    margin-left: auto;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46,204,113,0.25);
    animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46,204,113,0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(46,204,113,0.08); }
}

/* ── Роадмап мест ── */
.exc-roadmap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.exc-roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.exc-roadmap-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 28px;
}
.exc-roadmap-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #1a73e8;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.exc-roadmap-item:first-child .exc-roadmap-num { background: #2ecc71; }
.exc-roadmap-item:last-child  .exc-roadmap-num { background: #e74c3c; }
.exc-roadmap-line {
    width: 2px;
    flex: 1;
    min-height: 18px;
    background: #d0e4f7;
    margin: 2px 0;
}
.exc-roadmap-item:first-child .exc-roadmap-line,
.exc-roadmap-item:nth-last-child(2) .exc-roadmap-line {
    background: #d0e4f7;
}
.exc-roadmap-item:nth-last-child(2) .exc-roadmap-line { background: linear-gradient(to bottom, #1a73e8, #e74c3c); }
.exc-roadmap-label {
    font-size: 0.9rem;
    color: #444;
    padding: 5px 0 12px;
    line-height: 1.4;
}

/* ── Свободные места ── */
.exc-seats-left {
    margin-left: auto;
    background: #fff3cd;
    color: #856404;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Цитата лучшего отзыва ── */
.exc-best-quote {
    position: relative;
    background: #f8f9ff;
    border-left: 3px solid #1a73e8;
    border-radius: 0 10px 10px 0;
    padding: 12px 14px 12px 36px;
    margin: 10px 0 6px;
}
.exc-bq-icon {
    position: absolute;
    left: 10px; top: 12px;
    color: #1a73e8;
    opacity: 0.4;
}
.exc-bq-text {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
    margin: 0 0 6px;
    font-style: italic;
}
.exc-bq-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.exc-bq-stars { color: #f5a623; font-size: 0.8rem; }
.exc-bq-name  { font-size: 0.78rem; color: #666; }

/* ── Бейдж Популярное ── */
.exc-badge--popular {
    background: linear-gradient(135deg, #ff6b35, #f7c59f);
    color: #7a2000;
    font-weight: 700;
}