#filter-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: 300px;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, .1);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    box-sizing: border-box
}

#filter-drawer.is-open {
    transform: translateX(0)
}

#filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 9998
}

#filter-overlay.visible {
    opacity: 1;
    pointer-events: auto
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
    flex: 0 0 auto
}

.filter-body {
    padding: 16px;
    overflow: auto;
    
    min-height: 0
}

.filter-footer {
    padding: 12px 16px;
    border-top: 1px solid #eee;
    background: #fff;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    flex: 0 0 auto
}

.filter-group {
    margin-bottom: 16px
}

.filter-group h4 {
    margin: 8px 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #444
}

.chk {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    padding: 6px 8px;
    border-radius: 6px
}

.chk:hover {
    background: #f6f6f6
}

.chk input {
    margin: 0
}

/* Tidy up standard Woo list (non-invasive) */
.woocommerce ul.products {
    list-style: none;
    margin: 0;
    padding: 0
}

/* Floating open button (left middle) */
.pf-float-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 0 6px 6px 0;
    padding: 0
}



@media (max-width:768px) {
    .pf-float-btn {
        left: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%)
    }

    #filter-drawer {
        width: 80vw;
        max-width: 80vw
    }
}



span.pf-btn-label {
    /* padding-top: 25px; */
    margin-right: 50px;
    margin: 15px 10px 15px 10px;
    font-size: 1rem; }



    button#filter-open {padding: 0;
    }
/* Product profesii list format */

.product-profesii.pf-format-list .pf-profesii-intro {/* margin: 0 0 8px 0; */color: #333;font-weight: 600;margin: 0;padding: 0;}
.product-profesii.pf-format-list .pf-profesie-item {display:flex;align-items:center;gap:8px;/* padding:6px 0; */}
.product-profesii.pf-format-list .pf-profesie-check { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:#e6f7ea; color:#117a3a; font-weight:700; font-size:12px; }
.product-profesii.pf-format-list .pf-profesie-label a { color: inherit; text-decoration: none; }
.product-profesii.pf-format-list .pf-profesie-label { color:#333; }

/* Heading inserted on archives when profesie param present */
.pf-profesie-heading{ margin:12px 0 10px; display:flex; gap:8px; align-items:baseline; font-size:15px; font-family:inherit; line-height:1.2 }
.pf-profesie-heading .pf-archive-prefix{ font-weight:600; color:#222 }
.pf-profesie-heading .pf-profesie-name{ font-weight:700; color:#117a3a }
/* When we hide the original page title we may want to reduce margin impact */
.page-title[style*="display: none"], .pf-profesie-heading + .page-title[style*="display: none"]{ display:none !important; }


.product-profesii.pf-format-list {
    border-radius: 10px;
    border: solid #189b30;
    margin-top: 10px;
    padding: 15px;
}