#menu_all_categories_dropdown .featured-products > .row > div > a {
    max-width: 100%;
    min-width: 0;
}

#menu_all_categories_dropdown .featured-products .card-body[style*="background-image"] {
    height: auto;
    max-width: 100%;
    background-size: 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.5rem;
}

/* Reuse the theme's product background at the requested thumbnail dimensions. */
#menu_all_categories_dropdown .featured-products .card-body[style*="background-image"]::before {
    content: "";
    width: 120px;
    max-width: 100%;
    height: 120px;
    flex: 0 0 120px;
    background-image: inherit;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

#menu_all_categories_dropdown .featured-products .card-body[style*="background-image"] > .bg-secondary {
    background-color: transparent !important;
    color: var(--bs-body-color, #20242b) !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    text-align: start;
}

#menu_all_categories_dropdown .featured-products .card-body[style*="background-image"] .fs-5 {
    font-size: 0.9rem !important;
    font-weight: 600;
    overflow-wrap: anywhere;
}

#menu_all_categories_dropdown .featured-products .card-body[style*="background-image"] .fs-6 {
    font-size: 0.8rem !important;
    overflow-wrap: anywhere;
}

#menu_all_categories_dropdown .featured-products .card-body[style*="background-image"] .fs-6:empty {
    display: none;
}
