.rental-body {
    font-family: 'Inter', sans-serif;
}

.rental-body h1,
.rental-body h2,
.rental-body h3,
.rental-body h4,
.rental-body h5,
.rental-body h6 {
    font-family: 'Merriweather', serif;
}

.newsletter-section {
    display: none !important;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-content {
    overflow: hidden;
    opacity: 1;
    transition:
        max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        padding-top 0.3s ease,
        padding-bottom 0.3s ease;
}

.filter-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.select-filter {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

.select-filter::-ms-expand {
    display: none;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00d233;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00d233;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range-slider:focus {
    outline: none;
}

.range-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(0, 210, 51, 0.2);
}

.range-slider:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(0, 210, 51, 0.2);
}

/* Dual Range Slider Styles */
.dual-range-slider-container {
    position: relative;
    padding: 10px 0;
}

.dual-range-track {
    pointer-events: none;
}

.dual-range-fill {
    pointer-events: none;
    transition: left 0.1s ease, width 0.1s ease;
}

.dual-range-input {
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.dual-range-input::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00d233;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: all;
    position: relative;
    z-index: 30;
    margin-top: -4px;
}

.dual-range-input::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00d233;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: all;
    position: relative;
    z-index: 30;
}

.dual-range-input::-webkit-slider-runnable-track {
    background: transparent;
    height: 6px;
}

.dual-range-input::-moz-range-track {
    background: transparent;
    height: 6px;
    border: none;
}

.dual-range-input:focus {
    outline: none;
}

.dual-range-input:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(0, 210, 51, 0.2);
}

.dual-range-input:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(0, 210, 51, 0.2);
}

/* Ensure min slider thumb is always on top when dragging */
.dual-range-input#price-min {
    z-index: 20;
}

.dual-range-input#price-max {
    z-index: 10;
}

.dual-range-input#price-min:active {
    z-index: 30;
}

.dual-range-input#price-max:active {
    z-index: 30;
}

/* Mobile filter modal block styling */
#filter-modal .filter-block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

#filter-modal .filter-block:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#filter-modal .filter-block-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#filter-modal .filter-block-content {
    margin-top: 8px;
}

/* Ensure mobile dual range sliders work correctly */
.dual-range-input#price-min-mobile {
    z-index: 20;
}

.dual-range-input#price-max-mobile {
    z-index: 10;
}

.dual-range-input#price-min-mobile:active {
    z-index: 30;
}

.dual-range-input#price-max-mobile:active {
    z-index: 30;
}

