.css_bf_navbar {
    width: 100%;
    max-width: var(--maxwidth);
    font-family: 'Arial';
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.9);
    padding:10px;
    margin:auto;
    margin-bottom:10px;

}

.css_bf_navbar_total {
    font-size: 22px;
    color: #790e0e;
}

.css_bf_title {
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;     /* vertical center */
    justify-content: center; /* optional: horizontal center */
    height: 30px;            /* set a height for demo */
    
}

.css_bf_title:hover{
    background-color:#444444;
}

.css_bf_title a  {
    color:#ffffff !important;
    font-size: 24px;
}

.css_bf_title a:hover {
    color:#ffffdb !important;
    text-decoration: none;
}


.css_bf_cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 10px 10px 10px 10px;
}

.css_bf_cat_item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 10px;
    /*background-color: #0a789d;*/
    background-color: #9b3935;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.css_bf_cat_item:hover {
    /*background-color: #0891b2;*/
    background-color:#f8b1a8;
    color: #ffffff;
    text-decoration: none;
}

.css_bf_select_wrapper {
    display: none;
}

@media (max-width: 799px) {
    .css_bf_cats {
        display: none;
    }

    .css_bf_select_wrapper {
        display: block;
        position: relative;
        width: 100%;
        margin: 20px 0;
    }

    .css_bf_select {
        width: 100%;
        padding: 12px 40px 12px 15px;
        font-size: 16px;
        background-color: #ffffff;
        color: #000000;
        border: 1px solid #a0a0a0;
        border-radius: 4px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        position: relative;
        box-sizing: border-box;
    }

    .css_bf_select_arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #666666;
        pointer-events: none;
        transition: transform 0.3s ease;
    }

    .css_bf_select_wrapper.css_open .css_bf_select_arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .css_bf_dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border: 1px solid #a0a0a0;
        border-top: none;
        border-radius: 0 0 4px 4px;
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        margin-top: -4px;
    }

    .css_bf_select_wrapper.css_open .css_bf_dropdown {
        display: block;
    }

    .css_bf_dropdown_item {
        display: block;
        padding: 12px 15px;
        font-size: 16px;
        color: #000000;
        text-decoration: none;
        border-bottom: 1px solid #e0e0e0;
        cursor: pointer;
        background-color: #ffffff;
    }

    .css_bf_dropdown_item:last-child {
        border-bottom: none;
    }

    .css_bf_dropdown_item:hover {
        background-color: #f0f0f0;
    }
}

.css_bf_content_wrapper {
    /* background-image: url('/images/bfbg.png'); */
    background-image: url('/images/bfbg.jpg');

    background-repeat: repeat;
    background-position: top left;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    display: block;
}

.css_bf_content_wrapper::after {
    content: "";
    display: block;
    clear: both;
}

.css_bf_content_wrapper_inner::after {
    content: "";
    display: block;
    clear: both;
}

.css_bf_content_wrapper_inner {
    background-color: rgba(200, 200, 200, 0.5) !important;
    width: 100%;
    max-width: var(--maxwidth);
    margin: 0 auto;
    display: block;
    min-height: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* ← CENTRAT! */
    gap: 20px;
    /* spațiu între produse */
    padding: 10px 0;
}

@media (max-width: 799px) {
    .css_bf_content_wrapper {
        padding: 10px;
        min-height: 300px;
        background-repeat: repeat;
    }
}