.commerce-browse-switcher { position: relative; }
/* Carry Food is the permanent commerce brand; market identity belongs in the locale selector. */
.commerce-customer-header { min-height: 70px; border-bottom-color: #e56a1a; border-bottom-width: 3px; }
.commerce-customer-brand--food img { width: 158px; height: 50px; }
.commerce-browse-switcher > button { white-space: nowrap; }
.commerce-locale-trigger { white-space: nowrap; }
.commerce-locale-trigger .bi-chevron-down { font-size: .6rem; opacity: .7; }

.commerce-browse-menu {
    width: min(920px, calc(100vw - 2rem));
    max-height: min(720px, calc(100vh - 6rem));
    padding: 0 !important;
    overflow: auto;
    color: #102a3b !important;
    background: #fff !important;
    border: 1px solid #dce6e2 !important;
    border-radius: 20px !important;
    box-shadow: 0 22px 60px rgba(4, 35, 48, .24) !important;
}

.commerce-browse-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    color: #fff;
    background: #062838;
}
.commerce-browse-menu__head span { font-size: .9rem; font-weight: 900; }
.commerce-browse-menu__head span i { margin-right: .4rem; color: #ffba00; }
.commerce-browse-menu__head small { color: #c9dad8; font-size: .72rem; }

.commerce-browse-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
    padding: 1rem;
}
.commerce-browse-menu section { min-width: 0; }
.commerce-browse-menu h3 {
    margin: 0 0 .35rem;
    padding: .35rem .45rem;
    color: #087856;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.commerce-browse-menu section > a {
    display: flex !important;
    align-items: center !important;
    gap: .6rem !important;
    min-height: 54px !important;
    padding: .55rem .45rem !important;
    color: #102a3b !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}
.commerce-browse-menu section > a:hover { background: #edf8f3 !important; }
.commerce-browse-menu section > a > i {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: #087856;
    background: #e3f6ed;
    border-radius: 11px;
    font-size: .9rem;
}
.commerce-browse-menu section > a span,
.commerce-browse-menu section > a strong,
.commerce-browse-menu section > a small { display: block !important; min-width: 0; }
.commerce-browse-menu section > a strong { font-size: .78rem; line-height: 1.15; }
.commerce-browse-menu section > a small { margin-top: .12rem; color: #66756f; font-size: .64rem; font-weight: 500; line-height: 1.25; }

.commerce-browse-menu__foot {
    display: flex;
    gap: .6rem;
    padding: .8rem 1rem;
    background: #f4f8f6;
    border-top: 1px solid #e1e9e5;
}
.commerce-browse-menu__foot > a {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem !important;
    color: #174b3c !important;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none !important;
}
.commerce-browse-menu__foot > a:hover { background: #e3f2eb; }

@media (max-width: 900px) {
    .commerce-browse-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .commerce-customer-brand--food img { width: 118px; height: 42px; }
    .commerce-locale-trigger span { display: none; }
    .commerce-locale-trigger .bi-chevron-down { display: none; }
    .commerce-browse-switcher > button .bi-chevron-down { display: none; }
    .commerce-browse-menu {
        position: fixed !important;
        inset: .5rem !important;
        width: auto !important;
        max-height: none;
        transform: none !important;
        border-radius: 18px !important;
    }
    .commerce-browse-menu__head { position: sticky; top: 0; z-index: 1; }
    .commerce-browse-menu__head small { display: none; }
    .commerce-browse-menu__grid { grid-template-columns: 1fr; padding: .65rem; }
    .commerce-browse-menu__foot { position: sticky; bottom: 0; flex-wrap: wrap; }
}
