.max-price-slider-container {
    padding: 20px 10px;
    font-family: inherit;
}

.max-price-slider-header {
    display: none;
}

.max-price-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #ff6b6b;
    border-radius: 50%;
    display: none;
}

.max-price-loading.active {
    display: inline-block;
    animation: max-price-spin 0.8s linear infinite;
}

@keyframes max-price-spin {
    to { transform: rotate(360deg); }
}

.max-price-slider-wrapper {
    position: relative;
    height: 24px;
    margin-bottom: 20px;
}

.max-price-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 1px;
}

.max-price-slider-range {
    position: absolute;
    height: 100%;
    background: #1a1a1a;
    border-radius: 1px;
}

.max-price-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}

.max-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.15s, box-shadow 0.15s;
}

.max-price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.max-price-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

.max-price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.max-price-inputs {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.max-price-input-group {
    flex: 1;
    max-width: 48%;
}

.max-price-input-group input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.max-price-input-group input:focus {
    border-color: #ccc;
}

.max-price-input-group .currency-prefix {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
}

/* Loading overlay for loop grid */
.max-price-filtering .elementor-loop-container,
.max-price-filtering [class*="elementor-loop"] {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s;
}

