.fbe-brand-hero {
    margin: 0 0 28px;
    padding: 38px 18px;
    background: #f6f7f9;
    background-position: center;
    background-size: cover;
    color: #161616;
}

.fbe-brand-hero.has-banner {
    color: #fff;
}

.fbe-brand-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.fbe-brand-logo-wrap {
    display: inline-flex;
    width: fit-content;
    max-width: 180px;
    padding: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .92);
}

.fbe-brand-logo {
    max-width: 156px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fbe-brand-name {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0;
}

.fbe-brand-description {
    max-width: 760px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
}

.fbe-brand-description p {
    margin: 0 0 10px;
}

.fbe-featured-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: #015bd5;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.products .product {
    position: relative;
}

.fbe-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0 0 16px;
    padding: 0 14px;
    border: 1px solid #d5d8dc;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font-weight: 700;
}

.fbe-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #015bd5;
    color: #fff;
    font-size: 12px;
}

.fbe-filter-bar {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
}

.fbe-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.fbe-filter-header h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0;
}

.fbe-filter-close {
    display: none;
}

.fbe-filter-form {
    display: grid;
    gap: 16px;
}

.fbe-filter-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.fbe-filter-group legend {
    margin-bottom: 8px;
    font-weight: 700;
}

.fbe-filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.fbe-filter-group input[type="number"] {
    width: 100%;
    min-height: 38px;
    margin: 0 0 10px;
}

.fbe-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fbe-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fbe-active-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #edf2ff;
    color: #1f2937;
    font-size: 13px;
}

.fbe-product-loading {
    opacity: .5;
    pointer-events: none;
}

.fbe-filter-error {
    margin: 0 0 16px;
    padding: 12px;
    border-left: 4px solid #b32d2e;
    background: #fff5f5;
}

@media (min-width: 768px) {
    .fbe-brand-hero {
        padding: 58px 28px;
    }

    .fbe-brand-hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .fbe-brand-name {
        font-size: 50px;
    }

    .fbe-filter-toggle {
        display: none;
    }

    .fbe-filter-form {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
    }

    .fbe-filter-header,
    .fbe-active-filters,
    .fbe-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .fbe-filter-bar {
        position: fixed;
        z-index: 99999;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(88vw, 390px);
        margin: 0;
        overflow: auto;
        transform: translateX(105%);
        transition: transform .2s ease;
        border-radius: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, .16);
    }

    body.fbe-filters-open .fbe-filter-bar {
        transform: translateX(0);
    }

    .fbe-filter-overlay {
        position: fixed;
        z-index: 99998;
        inset: 0;
        display: none;
        background: rgba(0, 0, 0, .38);
    }

    body.fbe-filters-open .fbe-filter-overlay {
        display: block;
    }

    .fbe-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #d5d8dc;
        border-radius: 4px;
        background: #fff;
        font-size: 24px;
        line-height: 1;
    }
}

