.hotel-card__location .stars.count50 {
    background: transparent url(/images/str5.png) no-repeat center;
}
.hotel-card__location .stars.count40 {
    background: transparent url(/images/str4.png) no-repeat center;
}
.hotel-card__location .stars.count30 {
    background: transparent url(/images/str3.png) no-repeat center;
}
.hotel-card__location .stars.count20 {
    background: transparent url(/images/str2.png) no-repeat center;
}
.hotel-card__location .stars.count10 {
    background: transparent url(/images/str1.png) no-repeat center;
}

.select2-results__option {
    font-family: 'Inter', sans-serif;
    font-style: normal;
}

main .tour-headding .bread-crumbs {
    margin: auto;
    padding: 98px 0 50px;
    max-width: 100%;
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .pagination {
        margin: auto;
        width: 1350px;
        max-width: 100%;
    }
}

ul.pagination.menu {
    margin-top: 30px;
}

.tour__description * {
    font-family: 'Inter', sans-serif;
    font-style: normal;
}

main .tour-headding h1 {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.0703125px;
    color: #101828;
}

main .tour-headding__wrapper .tour-headding {
    max-width: 100%;
    width: 1000px;
    margin: 0 auto 20px auto;
    font-family: inherit;
}

/* ==========================================
   КОНТЕЙНЕРЫ И СЕТКА КАТАЛОГА
   ========================================== */
.catalog_wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto 20px auto;
    font-family: inherit;
    box-sizing: border-box;
}

.catalog-page {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    width: 100%;
}

.filters {
    width: 240px;
}

.filters .filter-wrapp {
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 15px;
    box-sizing: border-box;
}

.filters-header {
    padding: 20px 5px 30px;
}

.hotels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Кнопка переключения фильтра на мобильных */
.filters-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: background 0.2s, border-color 0.2s;
}

.filters-toggle-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* ==========================================
   КАРТОЧКА ОТЕЛЯ
   ========================================== */
.hotel-card a {
    text-decoration: none;
}

.hotel-card {
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease;
    box-sizing: border-box;
}

.hotel-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hotel-card__image {
    height: 190px;
}

.hotel-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hotel-card__content {
    padding: 16px;
}

.hotel-card__title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;    min-height: 65px;

}

.hotel-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #6b7280;
}

.hotel-card__location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hotel-card__rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotel-card__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 10px;
    background: #7c3aed;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hotel-card__reviews {
    font-size: 14px;
    color: #6b7280;
}

.hotel-card__divider {
    height: 1px;
    background: #e5e7eb;
    margin: 18px 0 14px;
}

.hotel-card__features {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #6b7280;
}

.feature-btn:hover {
    color: #111827;
}

/* ==========================================
   ЭЛЕМЕНТЫ ФИЛЬТРОВ
   ========================================== */
.filter-group {
    margin-bottom: 16px;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.select2-container--default .select2-selection__rendered {
    line-height: 38px;
    padding-left: 12px;
}

.select2-container--default .select2-selection__arrow {
    height: 38px;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background: #f9fafb;
}

/* Раскрывающиеся блоки фильтров */
.filter-group-collapse {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.filter-collapse__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.filter-collapse__title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    font-family: inherit;
}

.filter-collapse__icon {
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.filter-collapse__icon svg {
    transition: transform 0.2s ease;
    display: block;
}

.filter-group-collapse.active .filter-collapse__icon svg {
    transform: rotate(180deg);
}

.filter-collapse__content {
    display: none;
    padding-bottom: 16px;
}

/* Кнопки звёзд */
.stars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.star-box {
    position: relative;
    flex: 1 1 calc(33.333% - 8px);
    min-width: 70px;
}

.star-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.star-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 38px;
    padding: 6px 10px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-sizing: border-box;
    width: 100%;
}

.star-box.numer label.star-checkbox-label.numer {
    justify-content: space-between;
    padding-left: 30px;
    background-image: url(/images/staar.png);
    background-repeat: no-repeat;
    background-position: 11px center;
}

.star-checkbox-label:hover {
    background-color: #e5e7eb;
    color: #1f2937;
    border-color: #d1d5db;
}

.star-checkbox-input:checked + .star-checkbox-label {
    background-color: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

.star-box.numer {
    flex: 1 1 calc(25% - 8px);
    min-width: 60px;
}

.star-box:not(.numer) {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
}

/* ==========================================
   АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================================== */

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    .catalog_wrapper {
        padding: 0 16px;
    }

    .catalog-page {
        grid-template-columns: 220px 1fr;
        gap: 16px;
    }

    .filters {
        width: 220px;
    }

    .hotels {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hotel-card__image {
        height: 160px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .filters-toggle-btn {
        display: flex;
    }

    .catalog-page {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .filters {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .filters.is-open {
        display: block;
    }

    .hotels {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hotel-card__image {
        height: 200px;
    }

    .hotel-card__title {
        font-size: 18px;
    }

    .star-box.numer {
        flex: 1 1 calc(33.333% - 8px);
    }
}

/* Маленькие экраны (до 350px) */
@media (max-width: 350px) {
    .star-box {
        flex: 1 1 calc(50% - 8px);
    }
}

     @media (max-width: 490px) {
    .tour-headding__wrapper {
        min-height: 95px !important;
    }
    .tour-headding {
    height: auto!important;
    padding: 0 0 10px!important;
}
}
@media (min-width: 425px) and (max-width: 767px) {
    main {
        .tour-headding {
            height: auto !important;
            padding: 0 0 10px !important;
        }
    }
}

