/* Expandable WooCommerce category cards inside the Avanam mobile drawer. */
#mobile-drawer .nbbear-mobile-category-nav {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#mobile-drawer .nbbear-mobile-category-accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 10px 18px;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

#mobile-drawer .nbbear-mobile-category-accordion > summary::-webkit-details-marker {
    display: none;
}

#mobile-drawer .nbbear-mobile-category-chevron {
    width: 9px;
    height: 9px;
    margin: -4px 4px 0 12px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

#mobile-drawer .nbbear-mobile-category-accordion[open] .nbbear-mobile-category-chevron {
    margin-top: 5px;
    transform: rotate(225deg);
}

#mobile-drawer .nbbear-mobile-category-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 0 !important;
    padding: 6px 14px 14px !important;
    list-style: none !important;
}

#mobile-drawer .nbbear-mobile-category-list > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#mobile-drawer .nbbear-mobile-category-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100%;
    min-height: 68px;
    box-sizing: border-box;
    padding: 7px 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: inherit !important;
    text-decoration: none !important;
    background: #fff;
}

#mobile-drawer .nbbear-mobile-category-card img {
    display: block;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin: 0 !important;
    border-radius: 6px;
    object-fit: cover;
}

#mobile-drawer .nbbear-mobile-category-card span {
    min-width: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
}

#mobile-drawer .nbbear-mobile-category-card:focus-visible,
#mobile-drawer .nbbear-mobile-category-accordion > summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
