.single-product .content-section > .container.bv-product-layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: start;
    gap: 60px;
    width: min(1370px, 100%);
    padding-inline: 15px;
}

.bv-product-main {
    min-width: 0;
}

.bv-product-category-sidebar {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px);
    min-width: 0;
}

.bv-product-category-panel {
    overflow: hidden;
    border: 1px solid #d6e5e9;
    border-radius: 8px;
    background: #fff;
}

.bv-product-category-panel h2 {
    margin: 0;
    padding: 16px 15px;
    background: var(--green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: uppercase;
}

.bv-product-category-family {
    margin: 0;
    padding: 14px 20px;
    border-bottom: 1px solid #d6e5e9;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.bv-product-category-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bv-product-category-panel li + li {
    border-top: 1px solid #e3ecef;
}

.bv-product-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    background: #f3f8f9;
    color: var(--navy);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
    transition: background .18s, color .18s;
}

.bv-product-category-link:hover,
.bv-product-category-link:focus-visible,
.bv-product-category-link.is-active {
    background: #e1f0ed;
    color: var(--green);
}

.bv-product-category-link.is-active {
    box-shadow: inset 3px 0 var(--green);
    font-weight: 700;
}

.bv-product-category-link:focus-visible {
    position: relative;
    outline: 2px solid var(--green);
    outline-offset: -3px;
}

@media (min-width: 1101px) and (max-width: 1280px) {
    .bv-product-layout-with-sidebar .bv-product-cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .single-product .content-section > .container.bv-product-layout-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .bv-product-category-sidebar {
        position: static;
    }

    .bv-product-category-panel ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bv-product-category-panel li {
        border-top: 1px solid #e3ecef;
    }

    .bv-product-category-panel li:nth-child(odd) {
        border-right: 1px solid #e3ecef;
    }

    .bv-product-category-panel li a {
        height: 100%;
    }
}

@media (max-width: 560px) {
    .single-product .content-section > .container.bv-product-layout-with-sidebar {
        width: 100%;
    }

    .bv-product-category-panel ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .bv-product-category-panel li:nth-child(odd) {
        border-right: 0;
    }
}
