/*
Theme Name: Debaco Child Theme
Theme URI: http://demo.roadthemes.com/debaco/
Author: Plaza-Themes
Author URI: http://plazathemes.com/
Description:  Debaco Child Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, post-formats, sticky-post, threaded-comments
Text Domain: debaco
Template: debaco

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Mobile category filters. The existing shop sidebar is moved into this panel by JS. */
.kv-mobile-filters-trigger,
.kv-mobile-filters-overlay {
    display: none;
}

@media (max-width: 991.98px) {
    .kv-mobile-filters-trigger {
        align-items: center;
        background: #1769ff;
        border: 1px solid #1769ff;
        border-radius: 4px;
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        font: inherit;
        font-weight: 600;
        gap: 9px;
        justify-content: center;
        margin: 18px 0 24px;
        min-height: 48px;
        padding: 0 22px;
    }

    .kv-mobile-filters-trigger:focus-visible,
    .kv-mobile-filters-close:focus-visible {
        outline: 3px solid rgba(23, 105, 255, .35);
        outline-offset: 2px;
    }

    .kv-mobile-filters-icon {
        flex: 0 0 19px;
        height: 19px;
        width: 19px;
    }

    .kv-mobile-filters-overlay:not([hidden]) {
        align-items: stretch;
        background: rgba(0, 0, 0, .48);
        display: flex;
        inset: 0;
        justify-content: flex-end;
        position: fixed;
        z-index: 100000;
    }

    .kv-mobile-filters-panel {
        background: #fff;
        box-shadow: -8px 0 28px rgba(0, 0, 0, .18);
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        max-width: 440px;
        overflow: hidden;
        transform: translateX(100%);
        transition: transform .24s ease;
        width: min(92vw, 440px);
    }

    .kv-mobile-filters-panel.is-open {
        transform: translateX(0);
    }

    .kv-mobile-filters-header {
        align-items: center;
        border-bottom: 1px solid #e8e8e8;
        display: flex;
        flex: 0 0 auto;
        justify-content: space-between;
        padding: 16px 20px;
    }

    .kv-mobile-filters-header h2 {
        font-size: 20px;
        margin: 0;
    }

    .kv-mobile-filters-close {
        align-items: center;
        background: transparent;
        border: 0;
        color: #222;
        cursor: pointer;
        display: inline-flex;
        font-size: 30px;
        height: 40px;
        justify-content: center;
        line-height: 1;
        padding: 0;
        width: 40px;
    }

    .kv-mobile-filters-content {
        flex: 1 1 auto;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 18px 20px 32px;
        -webkit-overflow-scrolling: touch;
    }

    .kv-mobile-filters-content #secondary.sidebar-shop {
        flex: 0 0 100%;
        margin: 0;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    body.kv-mobile-filters-open {
        overflow: hidden;
        touch-action: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kv-mobile-filters-panel {
        transition: none;
    }
}
