/* ==========================================================================
   HOMEPAGE FULL-SCREEN BLUR SLIDE-OUT FILTER DRAWER
   Location: css/slider-filters.css
   ========================================================================== */

.tc-home-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(11, 15, 25, 0.78) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 9999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
}

.tc-home-drawer-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.tc-home-filter-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 380px !important;
    max-width: 90vw !important;
    background: #17141c !important; /* Dark Luxury Theme */
    z-index: 9999999 !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.8) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.tc-home-filter-drawer.is-open {
    transform: translateX(0) !important;
}

/* Header */
.tc-home-filter-drawer .bside-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #17141c !important;
    flex-shrink: 0 !important;
}

.tc-home-filter-drawer .bside-header h4 {
    margin: 0 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.3px !important;
}

.tc-home-filter-drawer .bside-close-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.tc-home-filter-drawer .bside-close-btn:hover {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.15) !important;
    transform: scale(1.08) !important;
}

.tc-home-filter-drawer .bside-close-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.5 !important;
}

/* Scroll Area */
.tc-home-filter-drawer .tc-drawer-scroll {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding: 20px 24px 30px 24px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #7c3aed rgba(255, 255, 255, 0.05) !important;
}

.tc-home-filter-drawer .tc-drawer-scroll::-webkit-scrollbar {
    width: 5px !important;
}

.tc-home-filter-drawer .tc-drawer-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02) !important;
}

.tc-home-filter-drawer .tc-drawer-scroll::-webkit-scrollbar-thumb {
    background-color: #7c3aed !important;
    border-radius: 20px !important;
}

/* Pinned Footer */
.tc-slider-drawer-footer {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 18px 24px !important;
    background-color: #17141c !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
    z-index: 10 !important;
}

.tc-slider-drawer-footer .bside-mobile-clear {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50% !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.tc-slider-drawer-footer .bside-mobile-clear:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

.tc-slider-drawer-footer .bside-mobile-clear svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.5 !important;
}

.tc-slider-drawer-footer .bside-mobile-apply {
    flex: 1 !important;
    height: 46px !important;
    padding: 0 24px !important;
    background: #7c3aed !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 14.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tc-slider-drawer-footer .bside-mobile-apply:hover {
    background: #6d28d9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5) !important;
}

.tc-slider-drawer-footer .bside-mobile-apply svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}

@media (max-width: 768px) {
    .tc-home-filter-drawer {
        width: 100% !important;
        max-width: 100vw !important;
    }
}