.hotel-results-header {
    padding-top: 4rem;
}

.hotel-results-title {
    margin: 0 0 2px;
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    line-height: 1.1;
    color: #333;
    font-weight: 600;
}

.hotel-results-subtitle {
    margin: 0;
    font-size: 15px;
    color: #666;
    font-weight: 500;
    margin: 0 !important;
}

.hotels-with-filters-wrapper {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (min-width: 992px) and (max-width: 1200px){
    .hotels-with-filters-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 0rem;
    }    
}
.hotels-with-filters-wrapper .widget-block{
    width: calc(33.333% - 10px);
}

.hotels-with-filters-wrapper img.feat-image{
    height: 200px;
    min-height: unset;
}

.hotel-filters-sidebar {
    padding: 2rem;
    border: 1px solid #bab9b9;
    border-radius: 14px;
    margin-top: 40px;
    color: black;
}

@media (min-width: 992px) and (max-width: 1200px){
    .hotel-filters-sidebar {
        padding: 1rem;
    }
}

.hotel-filters-sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 1.3em;
    color: #333;
    border-bottom: 2px solid #F3A600;
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
    font-weight: 600;
    color: black;
}
.filter-group input{
    width: 13px;
    min-width: 13px;
    height: 13px;
    border-color: #131313;
    border-radius: 2px;
}
.filter-group input:before{
    position: relative;
    top: -2px;
    font-size: 17px;
}
/* Price Range Options */
.price-options {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.price-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #bab9b9;
    font-size: 13px;
    padding: 0.4rem 1.5rem;
    border-radius: 6px;
    color: black;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-option:hover {
    background: #f8f9fa;
}

.price-option.active {
    background: #F3A600;
    border-color: #F3A600;
}

.price-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.price-option__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.price-option__count {
    font-size: 10px;
    margin-left: 0.5rem;
}

.price-option.active .price-option__count {
    color: black;
}

/* Rating Filter */
.rating-range-slider {
    margin: 15px 0;
}

.rating-slider {
    position: relative;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    margin: 20px 0;
}

.rating-slider-track {
    position: absolute;
    height: 100%;
    background: #ffa500;
    border-radius: 3px;
    left: 0;
    width: 0;
}

.rating-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    top: 0;
}

.rating-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #ffa500;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.rating-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ffa500;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.rating-value-display {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95em;
    color: #333;
    margin-top: -10px;
    font-weight: 600;
}

#rating-value {
    display: flex;
    align-items: center;
    gap: 4px;
}

#rating-value i {
    color: #ffa500;
}

/* Styles Filter */
.styles-filter {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.styles-filter::-webkit-scrollbar {
    width: 6px;
}

.styles-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.styles-filter::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.styles-filter::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.styles-filter label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    color: black;
}

.styles-filter label:hover {
    color: black;
}

.styles-filter input[type="checkbox"] {
    margin-right: 6px;
    flex-shrink: 0;
}

.style-count {
    margin-left: 4px;
    color: #999;
    font-size: 0.9em;
}

/* Amenities Filter */
.amenities-filter {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.amenities-filter::-webkit-scrollbar {
    width: 6px;
}

.amenities-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.amenities-filter::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.amenities-filter::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.amenities-filter label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
}

.amenities-filter label:hover {
    color: black;
}

.amenities-filter input[type="checkbox"] {
    margin-right: 6px;
    flex-shrink: 0;
}

.amenity-count {
    margin-left: 4px;
    color: #999;
    font-size: 0.9em;
}

/* Filter Buttons */
.filter-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.filter-actions button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.2s;
}

.apply-filters-btn {
    background: #F3A600;
}

.apply-filters-btn:hover {
    background: #f19a02;
}

.reset-filters-btn {
    background: #6c757d;
    color: white;
}

.reset-filters-btn:hover {
    background: #5a6268;
}

/* Results Controls (Count and Sort) */
.hotel-results-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 10px;
    font-size: 13px;
}

.hotel-results-controls .mobile-filter-toggle {
    display: none; /* Hidden on desktop, shown on mobile */
}

.hotel-results-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.hotel-results-count {
    color: #131313;
}

.hotel-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.hotel-sort-label {
    color: #333;
    margin: 0;
    white-space: nowrap;
    margin-right: 7px;
}

.hotel-sort-select {
    padding: 9px 24px 9px 10px;
    height: auto;
    border: 1px solid #bab9b9;
    border-radius: 8px;
    line-height: 17px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.hotel-sort-select:hover {
    border-color: #F3A600;
}

.hotel-sort-select:focus {
    outline: none;
    border-color: #F3A600;
    box-shadow: 0 0 0 3px rgba(0, 119, 181, 0.1);
}

/* Hotels Container */
.hotels-listings-container {
    flex: 1;
    min-width: 0;
}

/* Loading State */
.hotels-listings-container.loading {
    opacity: 0.5;
    pointer-events: none;
}

.hotels-loading-overlay {
    position: relative;
}

.hotels-loading-overlay::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    color: #F3A600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* No Results */
.no-hotels-found {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.no-hotels-found h3 {
    margin: 0 0 10px 0;
    color: #333;
}

/* Mobile Filter Header */
.hotel-filters-mobile-header {
    display: none; /* Hidden by default, shown only on mobile */
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.hotel-filters-mobile-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    border: none;
    padding: 0;
}

.close-filters-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-filters-btn:hover {
    color: #F3A600;
}

.close-filters-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hotels-container .widget-block:first-child{
        margin-top: 0 !important;
    }
    .hotel-results-header{
        padding-top: 3rem;
    }
    .hotels-with-filters-wrapper {
        display: block;
    }

    .hotel-filters-sidebar {
        position: static;
        flex: 1;
        max-width: 100%;
    }

    .hotels-listings-container {
        width: 100%;
    }
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 7px 15px;
    background: #FFDE59;
    color: #333;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
}

.mobile-filter-toggle svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.mobile-filter-toggle:hover {
    background: #ffd633;
}

.mobile-filter-count {
    background: #F3A600;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .hotel-results-title{
        font-size: 26px;
    }
    .hotel-results-controls .mobile-filter-toggle {
        display: flex; /* Show mobile filter button */
    }

    .hotel-sort-label {
        display: none; /* Hide "Sort by:" label on mobile */
    }

    .hotel-results-controls {
        position: sticky;
        top: 0;
        background: white;
        padding: 16px 0;
        margin: 0;
        /* z-index: 100; */
    }

    .hotel-results-count {
        flex: 1;
        text-align: right;
        font-size: 14px;
        line-height: 1;
    }


    .hotel-filters-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 9999;
        padding: 16px;
        margin-top: 0;
        border: none;
        overflow-y: auto;
    }

    .hotel-filters-sidebar.active {
        display: block;
    }

    .hotel-filters-sidebar.active .hotel-filters-mobile-header {
        display: flex;
    }
}
