/* noUiSlider Custom Styling for Cherry Blossom Theme */
.yazawa-slider-wrapper .noUi-target {
    background: #fce7f3;
    border: none;
    box-shadow: none;
    height: 6px;
}

.yazawa-slider-wrapper .noUi-connect {
    background: #ED837C;
}

.yazawa-slider-wrapper .noUi-handle {
    border: 2px solid #ED837C;
    background: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    top: -7px;
    right: -10px;
    cursor: pointer;
}

.yazawa-slider-wrapper .noUi-handle:before,
.yazawa-slider-wrapper .noUi-handle:after {
    display: none;
}

.yazawa-slider-wrapper .noUi-handle:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/* Responsive Filter Standard CSS (No Tailwind Required) */
.yazawa-mobile-toggle-btn {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 7rem;
    z-index: 40;
    border-radius: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(237, 131, 124, 0.3);
    box-shadow: 0 0 15px rgba(237, 131, 124, 0.15);
}

.yazawa-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.yazawa-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.yazawa-sidebar {
    position: fixed;
    top: 90px;
    bottom: 0;
    right: 0;
    z-index: 2050;
    width: 85vw;
    max-width: 350px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.yazawa-sidebar.active {
    transform: translateX(0);
}

.yazawa-header-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.yazawa-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

@media (max-width: 1023px) {
    .yazawa-mobile-toggle-btn {
        display: flex !important;
    }

    .yazawa-header-desktop {
        display: none !important;
    }

    .yazawa-header-mobile {
        display: flex !important;
    }

    .yazawa-sidebar .glass-panel {
        border-radius: 0 !important;
        border: none !important;
        min-height: 100vh;
    }
}

@media (min-width: 1024px) {
    .yazawa-mobile-overlay {
        display: none !important;
    }

    .yazawa-sidebar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        max-width: none !important;
        transform: translateX(0) !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow-y: visible !important;
        height: auto !important;
        z-index: 1 !important;
    }
}

/* Loading Spinner Overlay */
.yazawa-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.yazawa-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.yazawa-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #fce7f3;
    border-top: 4px solid #ED837C;
    border-radius: 50%;
    animation: yazawa-spin 1s linear infinite;
}

@keyframes yazawa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}