.ds-buttons{
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
}
.category-page {
    min-height: 100vh;
    background: var(--light);
}

/* Хлебные крошки */
.breadcrumb-nav {
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
}

/* Заголовок категории */
.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border-radius: 10px;
}

.category-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Стили для фильтров */
.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.filter-title {
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    font-weight: 600;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.filter-options .form-check {
    margin-bottom: 8px;
}

.filter-options .form-check-label {
    font-size: 0.9rem;
    color: #666;
}

.price-inputs .form-control {
    font-size: 0.9rem;
}

.filter-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Стили для карточек туров */
.tour-card {
    border: none;
    border-radius: 15px;
    /*overflow: hidden;*/
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.tour-card:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tour-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1rem;
}

.discount-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.8rem;
}
.metki-block{
    position: absolute;
    top: 15px;
    left: 5px;
    display: flex;
    /* width: 100%;
     max-width: 180px;*/
    flex-wrap: wrap;
    flex-direction: column;
}
.popular-badge {
    background: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    margin-top: 3px;
    /* position: absolute;
     top: 15px;
     left: 15px;*/
    font-size: 0.8rem;
}

.tour-meta {
    font-size: 0.85rem;
}

.tour-features .badge {
    font-size: 0.75rem;
}

/* Пагинация */
.pagination {
    justify-content: center;
}

.page-link {
    color: var(--secondary);
    border: 1px solid #dee2e6;
    margin: 0 2px;
    border-radius: 8px;
}

.page-link:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* Состояние пустого результата */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    opacity: 0.5;
}

/* Адаптивность */
@media (max-width: 991.98px) {
    .filter-sidebar {
        position: static;
    }

    #filterCollapse {
        max-height: 400px;
        overflow-y: auto;
    }

    .category-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin: 20px auto 0;
    }
}

@media (max-width: 768px) {
    .tour-card {
        margin-bottom: 20px;
    }
}

/* Бейджи в заголовке */
.category-badges .badge {
    font-size: 0.9rem;
    padding: 8px 15px;
}
.tour-page {
    background: var(--light);
    min-height: 100vh;
}

/* Хлебные крошки */
.breadcrumb-nav {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

/* Заголовок тура */
.tour-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 25px 0;
    border-radius: 10px;
}

.tour-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.tour-subtitle {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Галерея */
.tour-gallery {
    margin-bottom: 30px;
}

.gallery-slider {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-slider img {
    height: 485px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
}

/* Боковая панель */
.tour-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: var(--dark);
    font-weight: 600;
    text-align: right;
}

.season-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.season-badge {
    background: var(--light);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--dark);
}

.price-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.book-button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Табы контента */
.content-tabs {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.nav-tabs {
    border-bottom: 2px solid #e9ecef;
    padding: 0 20px;
    background: var(--light);
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--secondary);
}

.nav-tabs .nav-link.active {
    background: none;
    border: none;
// border-bottom: 3px solid var(--primary);
    color: var(--primary);
}

.tab-content {
    padding: 30px;
}

/* Аккордеон программы */
.program-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 10px;
    border-radius: 10px !important;
    overflow: hidden;
}

.program-accordion .accordion-button {
    background: var(--light);
    border: none;
    padding: 20px;
    font-weight: 600;
    color: var(--dark);
}

.program-accordion .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: white;
    box-shadow: none;
}

.program-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.program-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.program-accordion .accordion-body {
    padding: 20px;
    background: white;
}

/* Таблица цен */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.price-table th,
.price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.price-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--dark);
}

.price-table tr:hover {
    background: #f8f9fa;
}

/* Включено в стоимость */
.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

/*.included-list li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}*/

/* Дополнительные туры */
.related-tours {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.t-section-title {
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
}

.t-section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.tour-card-body {
    padding: 20px;
}

.tour-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.tour-card-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .tour-gallery img {
        height: 250px;
    }

    .tour-sidebar {
        position: static;
        margin-top: 20px;
    }

    .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}
.reviews-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.reviews-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.r-slider-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.r-slides-group {
    flex: 0 0 100%;
    display: flex;
    gap: 20px;
}

.review-card {
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 25px;
    gap: 25px;
    min-height: 200px;
    max-height: 200px; /* Максимальная высота */
    position: relative;
    transition: max-height 0.3s ease;
}

.review-card.expanded {
    max-height: 500px; /* Высота при раскрытии */
}

.review-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    align-self: flex-start;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.review-text {
    line-height: 1.5;
    color: #333;
}

/* Градиент для скрытия текста */
.text-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, white);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.review-card.expanded .text-fade {
    opacity: 0;
}

/* Кнопка показать отзыв */
.show-more-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.show-more-btn:hover {
    background: #1d3774;
    transform: translateY(-1px);
}

.show-more-btn.hidden {
    display: none;
}

.r-slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.r-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.r-slider-dot.active {
    background: var(--primary);
}

.fixed-actions {
    flex: 0 0 280px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.actions-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.yandex-btn {
    background: #ffcc00;
    color: #000;
}

.yandex-btn:hover {
    background: #ffdb4d;
}

.gis-btn {
    background: #ff6b35;
}

.gis-btn:hover {
    background: #ff845c;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .reviews-section {
        flex-direction: column;
    }

    .fixed-actions {
        width: 100%;
        position: static;
        margin-top: 30px;
    }

    .review-card {
        flex: 0 0 100%;
        flex-direction: column;
        max-height: 180px;
    }

    .review-card.expanded {
        max-height: 400px;
    }

    .review-image {
        align-self: center;
        flex: 0 0 120px;
        width: 120px;
        height: 120px;
    }

    .r-slides-group {
        gap: 15px;
    }
}

/* Десктоп - 2 карточки */
@media (min-width: 769px) {
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 430px) {
    .review-card {
        padding: 20px;
        gap: 15px;
        max-height: 260px;
    }

    .review-card.expanded {
        max-height: 350px;
    }

    .review-image {
        flex: 0 0 80px;
        height: 80px;
    }

    .show-more-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}
/*FaQ*/
.faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 36px;
    position: relative;
}

.faq-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #0071c2;
    margin: 10px auto 0;
    border-radius: 2px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
   /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
   /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);*/
}

.faq-question {
    padding: 22px 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    flex: 1;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.4s ease;
    margin-left: 15px;
    min-width: 20px;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #f9f9f9;
}

.faq-answer-content {
    padding: 25px;
    color: #444;
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}
.faq-item.active{
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.emoji {
    font-size: 1.2em;
    margin-right: 5px;
}

.highlight {
    background: linear-gradient(120deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #0071c2;
}

.highlight p {
    margin-bottom: 10px;
}

.highlight p:last-child {
    margin-bottom: 0;
}

.bonus-list {
    list-style-type: none;
    margin: 15px 0;
}

.bonus-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.bonus-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0071c2;
    font-weight: bold;
}

.step-list {
    counter-reset: step-counter;
    list-style-type: none;
    margin: 15px 0;
}

.step-list li {
    padding: 12px 0;
    padding-left: 45px;
    position: relative;
    counter-increment: step-counter;
    border-bottom: 1px dashed #e0e0e0;
}

.step-list li:last-child {
    border-bottom: none;
}

.step-list li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 30px;
    height: 30px;
    background: #0071c2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.payment-option {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.payment-option h4 {
    color: #0071c2;
    margin-bottom: 8px;
    font-size: 16px;
}

.address {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #0071c2;
}

/* Адаптивность */
@media (max-width: 992px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 20px;
    }

    .payment-options {
        flex-direction: column;
    }

    .payment-option {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 24px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-icon {
        font-size: 18px;
    }

    .step-list li {
        padding-left: 40px;
    }
}