.goholic-filter-popup .elementor-element {
    margin-bottom: 15px !important;
}

@media (max-width: 767px) {
    .goholic-filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 9998;
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    .btn-open-filter {
        width: 100%;
    }

    .goholic-filter-overlay.open {
        display: block;
    }

    .btn-close-filter {
        position: absolute;
        top: 10px;
        right: 16px;
        z-index: 10000;
        background: none;
        border: none;
        font-size: 26px;
        line-height: 1;
        color: #333;
    }

    .goholic-filter-popup {
        z-index: 2147483646 !important;
        display: block !important;
        position: fixed !important;
        bottom: 0;
        left: 0;
        max-height: 75vh;
        background: #F7F9FA;
        border-radius: 20px 20px 0 0 !important;
        animation: slideUp 0.3s ease;
        padding: 50px 30px !important;
        max-width: 100vw;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0%);
            opacity: 1;
        }
    }
}

@media (min-width: 768px) {
    .btn-open-filter {
        display: none !important;
    }

    .goholic-filter-overlay {
        display: none !important;
    }

    .goholic-filter-popup {
        position: static !important;
        max-height: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        animation: none !important;
        box-shadow: none !important;
        display: block !important;
    }
}
