/* ========================================================================
   FRONTEND PRIJSLIJST – Versie 6.0
   Layout B + GRID + ACCORDION + badges
   Ontworpen voor hoge compatibiliteit (Colibri / Elementor / Gutenberg)
=========================================================================== */

/* WRAPPER */
.prijslijst-wrapper {
    width: 100%;
    margin-top: 25px;
}

/* ============================================================
   FILTERBAR
============================================================ */
.prijslijst-filterbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding:16px;
    margin-bottom: 25px;
    align-items: flex-end;
    border-bottom: 1px solid #eee;
}


.prijslijst-filter-item {
    flex: 1;
    min-width: 200px;
}

.prijslijst-filter-item.grow {
    flex: 2;
}

.prijslijst-filter-item label {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.prijslijst-filter-item input,
.prijslijst-filter-item select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* ============================================================
   VANAF BADGE
============================================================ */
.from-badge {
    display: inline-block;
    background: #192A51;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

/* ============================================================
   LAYOUT B (Blokken)
============================================================ */

.bl-block {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 0px solid #e5e5e5;
}

.bl-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}

.bl-subinfo {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.bl-variants {
    width: 100%;
}

.bl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.bl-var {
    flex: 1;
    padding-right: 40px;
    font-size: 17px;
    color: #333;
}

.bl-price {
    white-space: nowrap;
    font-weight: 700;
    font-size: 17px;
    color: #333;
}

/* ============================================================
   GRID LAYOUT (3 kolommen)
============================================================ */
.prijslijst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid-item {
    border: 1px solid #e5e5e5;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow .25s ease;
}

.grid-item:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.grid-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}

.grid-title .from-badge {
    margin-left: 10px;
}

.grid-info {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
}

.grid-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 15px;
}

/* ============================================================
   ACCORDION LAYOUT
============================================================ */
.prijslijst-accordion .acc-item {
    border: 1px solid #e5e5e5;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
}

.acc-header {
    padding: 14px 16px;
    background: #fafafa;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.acc-header:hover {
    background: #f0f0f0;
}

.acc-body {
    display: none;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.acc-item.open .acc-body {
    display: block;
}

.acc-cat {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.acc-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 15px;
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet */
@media (max-width: 900px) {
    .prijslijst-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobiel */
@media (max-width: 600px) {

    .prijslijst-filterbar {
        flex-direction: column;
        gap: 12px;
    }

    .bl-row {
        flex-direction: row;
    }

    .bl-var {
        padding-right: 10px;
    }

    .prijslijst-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .acc-header {
        font-size: 16px;
    }
}
