.hcs-form { position: relative; }
.hcs-form-open, #OverallHeader:has(.hcs-form-open) { z-index: 1201; }
.hcs-form-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(33, 33, 33, .6);
}
.hcs-modal::backdrop { background: rgba(33, 33, 33, .6); }
.hcs-panel {
    --hcs-red: #d91321;
    --hcs-orange: #e65828;
    --hcs-rule: #e6e2e3;
    --hcs-muted: #5d5d61;
    color: #171418;
    text-align: left;
    white-space: normal;
    font-size: 14px;
    line-height: 1.35;
}
.hcs-panel *, .hcs-modal * { box-sizing: border-box; }
.hcs-panel [hidden], .hcs-panel[hidden], .hcs-modal [hidden] { display: none !important; }
.hcs-desktop {
    position: absolute;
    z-index: 1200;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 14px 24px;
    padding: 16px 22px;
    max-height: min(68vh, 590px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e5dfe2;
    border-radius: 17px;
    box-shadow: 0 14px 32px #24101c21;
}
#CateringSearchField.hcs-active { outline: 2px solid #ef3444; outline-offset: -2px; }
.hcs-secondary { padding-left: 24px; border-left: 1px solid var(--hcs-rule); }
.hcs-column { min-width: 0; }
.hcs-column section + section { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hcs-rule); }
.hcs-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.hcs-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: inherit; font-size: 17px; font-weight: 750; }
.hcs-icon { flex: none; color: var(--hcs-orange, #e65828); }
.hcs-panel a { color: inherit; text-decoration: none; }
.hcs-panel a:focus-visible, .hcs-panel button:focus-visible, .hcs-modal-header button:focus-visible { outline: 2px solid #e23437; outline-offset: 2px; }
.hcs-panel .hcs-text-action { display: inline-flex; align-items: center; gap: 5px; color: var(--hcs-red); background: none; border: 0; padding: 4px; font: inherit; cursor: pointer; white-space: nowrap; }
.hcs-text-action .hcs-icon { color: currentColor; font-size: .8em; }
.hcs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hcs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fdf0ea; border-radius: 24px; max-width: 100%; overflow-wrap: anywhere; }
.hcs-chip:hover, .hcs-row:hover { background-color: #ffe6dc; }
.hcs-chip .fa-arrow-up { display: none; }
.hcs-history, .hcs-count { background: #f1eff0; }
.hcs-history .hcs-icon, .hcs-row .fa-chevron-right { color: var(--hcs-muted); }
.hcs-count { border-radius: 16px; padding: 3px 9px; color: #47474a; flex: none; font-size: .92em; }
.hcs-row { display: flex; gap: 10px; align-items: center; min-height: 32px; padding: 5px 6px; }
.hcs-row + .hcs-row { border-top: 1px solid #f0edee; }
.hcs-row-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.hcs-desktop .hcs-merchants .hcs-row > .hcs-icon, .hcs-desktop .hcs-quick .fa-chevron-right { display: none; }
.hcs-quick .hcs-row { min-height: 28px; }
.hcs-quick .hcs-row strong { color: var(--hcs-red); }
.hcs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hcs-desktop > .hcs-recommendations {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid var(--hcs-rule);
}
@media (min-width: 1050px) {
    .hcs-desktop .hcs-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.hcs-card { display: block; overflow: hidden; border: 1px solid #ebe5e5; border-radius: 11px; background: #fffaf7; box-shadow: 0 2px 5px #1b131210; }
.hcs-card:hover { background: #fff0e8; }
.hcs-card img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.hcs-card-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px; padding: 8px 9px; }
.hcs-card-text strong { overflow-wrap: anywhere; }
.hcs-card-text .hcs-icon { font-size: .82em; }
.hcs-modal:not([open]) { display: none; }
.hcs-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: none;
    background: white;
    color: #121214;
}
.hcs-modal-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: max(12px, env(safe-area-inset-top)) 16px 10px;
    background: white;
}
.hcs-mobile-input { flex: 1; display: flex; align-items: center; min-width: 0; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 30px; background: #f1f1f2; }
.hcs-mobile-input .hcs-icon { color: #525357; }
.hcs-mobile-input input { width: 100%; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; outline: none; }
.hcs-mobile-input input::-webkit-search-cancel-button { display: none; }
.hcs-mobile-input:focus-within { box-shadow: inset 0 0 0 1px #d7d2d4; }
.hcs-back, .hcs-input-clear { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: none; border-radius: 50%; background: transparent; color: #171418; cursor: pointer; }
.hcs-back .hcs-icon { color: inherit; font-size: 19px; }
.hcs-input-clear { width: 26px; height: 26px; background: #65666a; }
.hcs-input-clear .hcs-icon { color: white; font-size: 13px; }
.hcs-mobile { padding: 7px 18px max(26px, env(safe-area-inset-bottom)); font-size: 15px; }
.hcs-mobile .hcs-heading h2 { font-size: 18px; }
.hcs-mobile .hcs-heading .fa-history { color: var(--hcs-muted); }
.hcs-mobile .hcs-heading .fa-fire { color: var(--hcs-red); }
.hcs-mobile .hcs-column section + section { margin-top: 20px; padding-top: 14px; }
.hcs-mobile .hcs-suggestions .hcs-heading h2 { font-size: 15px; color: var(--hcs-muted); }
.hcs-mobile .hcs-suggestions .hcs-heading .hcs-icon, .hcs-mobile .hcs-merchants .hcs-heading h2 .hcs-icon, .hcs-mobile .hcs-recommendations .hcs-heading .hcs-icon, .hcs-mobile .hcs-quick .hcs-heading { display: none; }
.hcs-mobile .hcs-suggestions .hcs-chips { display: block; }
.hcs-mobile .hcs-suggestions .hcs-chip { display: flex; min-height: 41px; padding: 7px 4px; border-radius: 0; background: none; }
.hcs-mobile .hcs-suggestions .hcs-chip + .hcs-chip { border-top: 1px solid var(--hcs-rule); }
.hcs-mobile .hcs-suggestions .hcs-chip .hcs-icon { color: var(--hcs-muted); }
.hcs-mobile .hcs-suggestions .hcs-chip .fa-arrow-up { display: block; transform: rotate(45deg); }
.hcs-mobile .hcs-row { min-height: 44px; padding-inline: 2px; }
.hcs-mobile .hcs-merchants .hcs-row .fa-store { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fde7e5; color: var(--hcs-red); }
.hcs-mobile .hcs-quick .hcs-icon { color: var(--hcs-muted); }
.hcs-mobile .hcs-quick .hcs-row strong { color: #104c8d; }
.hcs-mobile .hcs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hcs-mobile .hcs-card { background: #faf2e8; border-radius: 15px; }
.hcs-mobile .hcs-card img { aspect-ratio: 1.5; }
.hcs-mobile .hcs-card-text { padding: 11px 12px; }
.hcs-desktop.hcs-has-query .hcs-secondary .hcs-history { margin-right: auto; }
.hcs-desktop.hcs-has-query .hcs-secondary section:has(.hcs-history) .hcs-chips { flex-direction: column; align-items: flex-start; }

.hcs-filter-button { flex: none; min-height: 36px; border: 0; background: transparent; font: inherit; color: #d91321; cursor: pointer; }

.hcs-search-shortcuts { margin-top: 8px; }
.hcs-mobile .hcs-suggestions .hcs-search-shortcuts { display: flex; }
.hcs-mobile .hcs-suggestions .hcs-search-shortcuts .hcs-chip {
    min-height: 34px;
    padding: 5px 10px;
    border: 0;
    border-radius: 24px;
    background: #fdf0ea;
}
.hcs-mobile .hcs-search-shortcuts .hcs-chip .hcs-icon { color: var(--hcs-orange); }
