:root {
    --brand: #2563eb;
    --brand-contrast: #fff;
    --ink: #172033;
    --muted: #667085;
    --line: #e7eaf0;
    --surface: #ffffff;
    --canvas: #f6f7f9;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 18px 50px rgba(20, 31, 51, .08);
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -ms-overflow-style: none; scrollbar-width: none; scroll-behavior: smooth; }
html::-webkit-scrollbar { width: 0; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.55; }
body.cart-is-open { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-header {
    align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(231,234,240,.9);
    display: flex; height: 68px; justify-content: space-between; padding: 0 max(22px, calc((100vw - 1240px) / 2));
    position: sticky; top: 0; z-index: 30; backdrop-filter: blur(16px);
}
.brand-mark { align-items: center; color: var(--ink); display: inline-flex; font-size: 15px; font-weight: 800; gap: 10px; text-decoration: none; }
.brand-mark__symbol, .login-dialog__icon, .error-card__mark {
    align-items: center; background: var(--brand); border-radius: 11px; color: var(--brand-contrast); display: inline-flex;
    font-weight: 900; height: 36px; justify-content: center; width: 36px;
}
.header-actions { display: flex; gap: 10px; }
.cart-trigger { align-items: center; background: var(--ink); border: 0; border-radius: 999px; color: white; display: flex; font-weight: 700; gap: 9px; padding: 8px 9px 8px 16px; }
.cart-trigger__count { align-items: center; background: var(--brand); border-radius: 50%; color: var(--brand-contrast); display: inline-flex; height: 28px; justify-content: center; min-width: 28px; padding: 0 6px; }

.hero { background: #293246; color: white; min-height: 380px; overflow: hidden; position: relative; }
.hero--fallback { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 68%, #162139), color-mix(in srgb, var(--brand) 26%, #182031)); }
.hero--fallback::before { background: radial-gradient(circle, rgba(255,255,255,.12) 0 2px, transparent 3px); background-size: 28px 28px; content: ""; inset: 0; opacity: .5; position: absolute; }
.hero__image { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.hero__shade { background: linear-gradient(90deg, rgba(12,18,31,.9) 0%, rgba(12,18,31,.62) 50%, rgba(12,18,31,.2) 100%); inset: 0; position: absolute; }
.hero__content { margin: auto; max-width: 1240px; padding: 74px 28px 68px; position: relative; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .13em; margin: 0 0 11px; text-transform: uppercase; }
.eyebrow--brand { color: var(--brand); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.045em; line-height: 1; margin: 0; max-width: 800px; }
.hero__description { color: rgba(255,255,255,.82); font-size: 18px; max-width: 650px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__meta span { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 13px; padding: 8px 13px; backdrop-filter: blur(10px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions form { margin: 0; }
.button--hero-primary { background: var(--brand); color: var(--brand-contrast); min-height: 46px; padding-inline: 22px; }
.button--hero-secondary { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.42); color: white; min-height: 46px; padding-inline: 22px; backdrop-filter: blur(10px); }

.page-shell { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 330px; margin: -32px auto 0; max-width: 1240px; padding: 0 28px 70px; position: relative; z-index: 2; }
.content-column { min-width: 0; }
.notice-card { background: color-mix(in srgb, var(--brand) 7%, white); border: 1px solid color-mix(in srgb, var(--brand) 24%, white); border-radius: var(--radius-md); display: flex; gap: 16px; margin-bottom: 24px; padding: 21px 24px; }
.notice-card__icon { align-items: center; background: var(--brand); border-radius: 50%; color: var(--brand-contrast); display: flex; flex: 0 0 auto; font-family: Georgia, serif; font-weight: 700; height: 28px; justify-content: center; width: 28px; }
.notice-card h2 { font-size: 16px; margin: 1px 0 4px; }
.formatted-content > :first-child { margin-top: 0; }
.formatted-content > :last-child { margin-bottom: 0; }
.formatted-content a { color: var(--brand); font-weight: 700; }

.menu-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.section-heading { align-items: end; display: flex; gap: 20px; justify-content: space-between; padding: 30px 32px 22px; }
.section-heading h2, .cart-panel h2 { font-size: 29px; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.week-switch { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.week-switch a { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.week-switch a:hover { color: var(--brand); }
.week-switch a.is-active { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ordering-note { color: var(--muted); font-size: 13px; margin: 0; text-align: right; }
.day-tabs { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(7, minmax(82px, 1fr)); overflow-x: auto; overflow-y: hidden; }
.day-tabs.day-tabs--5 { grid-template-columns: repeat(5, minmax(82px, 1fr)); }
.day-tab { background: white; border: 0; border-right: 1px solid var(--line); color: var(--muted); min-height: 92px; padding: 12px 8px 10px; position: relative; }
.day-tab:last-child { border-right: 0; }
.day-tab strong, .day-tab span, .day-tab small { display: block; }
.day-tab span { font-size: 12px; font-weight: 700; }
.day-tab strong { color: var(--ink); font-size: 17px; margin: 3px 0 1px; }
.day-tab small { font-size: 10px; }
.day-tab::after { background: var(--brand); bottom: -1px; content: ""; height: 3px; left: 12px; opacity: 0; position: absolute; right: 12px; transform: scaleX(.3); transition: .2s ease; }
.day-tab.is-active { background: color-mix(in srgb, var(--brand) 6%, white); color: var(--brand); }
.day-tab.is-active::after { opacity: 1; transform: scaleX(1); }
.day-tab:focus-visible, .button:focus-visible, .icon-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: -3px; }
.day-tab__short { display: none !important; }

.menu-panel { padding: 28px 32px 34px; }
.menu-panel__heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 22px; }
.menu-panel__day { color: var(--muted); font-size: 13px; font-weight: 700; }
.menu-panel__heading h3 { font-size: 24px; letter-spacing: -.025em; margin: 0; }
.today-pill, .diet-tag { background: color-mix(in srgb, var(--brand) 10%, white); border: 1px solid color-mix(in srgb, var(--brand) 22%, white); border-radius: 999px; color: var(--brand); font-size: 11px; font-weight: 800; padding: 6px 10px; }
.closed-pill { background: #fff1f1; border: 1px solid #f1b8b8; border-radius: 999px; color: #962e2e; font-size: 11px; font-weight: 800; padding: 6px 10px; }
.day-message { background: #fff8e6; border: 1px solid #f4dda2; border-radius: 12px; margin-bottom: 20px; padding: 14px 16px; }
.meal-list { display: grid; gap: 12px; }
.meal-card { align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: 5px 1fr auto; min-height: 124px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.meal-card:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 12px 30px rgba(20,31,51,.07); transform: translateY(-1px); }
.meal-card.is-selected { border-color: color-mix(in srgb, var(--brand) 55%, white); background: color-mix(in srgb, var(--brand) 3%, white); }
.meal-card--closed { background: #fafbfc; }
.meal-card--closed:hover { border-color: var(--line); box-shadow: none; transform: none; }
.meal-card--closed .meal-card__accent { background: #c9ced6; }
.meal-card__accent { background: color-mix(in srgb, var(--brand) 60%, white); }
.meal-card__body { align-self: center; padding: 20px; }
.meal-card__topline { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.meal-type { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.diet-tags { display: flex; gap: 5px; }
.meal-card h4 { font-size: 17px; line-height: 1.35; margin: 5px 0 0; }
.allergens { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.meal-card__order { align-items: flex-end; align-self: center; display: flex; flex-direction: column; gap: 12px; min-width: 150px; padding: 20px; }
.meal-closed { align-items: flex-end; color: #7b3440; display: flex; flex-direction: column; text-align: right; }
.meal-closed strong { font-size: 11px; }
.meal-closed small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.meal-price { font-size: 17px; }

.button { border: 0; border-radius: 10px; font-size: 13px; font-weight: 800; min-height: 40px; padding: 9px 16px; transition: filter .2s ease, transform .2s ease; }
.button:hover { filter: brightness(.96); transform: translateY(-1px); }
.button--primary { background: var(--brand); color: var(--brand-contrast); }
.button--outline { background: transparent; border: 1px solid color-mix(in srgb, var(--brand) 50%, white); color: var(--brand); }
.button--quiet { background: #edf0f4; color: var(--ink); }
.button--danger { background: #c93636; color: white; }
.button--wide { width: 100%; }
.button--link { align-items: center; display: inline-flex; justify-content: center; text-decoration: none; }
.button:disabled { cursor: not-allowed; filter: grayscale(.4); opacity: .62; transform: none; }

.empty-menu { align-items: center; background: #fafbfc; border: 1px dashed #d8dde6; border-radius: var(--radius-md); display: flex; flex-direction: column; padding: 48px 22px; text-align: center; }
.empty-menu__icon { color: var(--brand); font-size: 38px; }
.empty-menu h4 { font-size: 18px; margin: 6px 0 3px; }
.empty-menu p { color: var(--muted); margin: 0; }

.cart-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); max-height: calc(100vh - 104px); overflow: auto; padding: 24px; position: sticky; top: 88px; }
.cart-panel__header { align-items: center; display: flex; justify-content: space-between; }
.icon-button { align-items: center; background: #eef1f5; border: 0; border-radius: 50%; color: var(--ink); display: inline-flex; font-size: 24px; height: 38px; justify-content: center; width: 38px; }
.cart-panel__close { display: none; }
.cart-empty { align-items: center; color: var(--muted); display: flex; flex-direction: column; padding: 55px 12px; text-align: center; }
.cart-empty > span { color: var(--brand); font-weight: 800; }
.cart-empty p { color: var(--ink); font-weight: 700; margin: 12px 0 2px; }
.cart-empty small { font-size: 12px; }
.cart-items { display: grid; gap: 12px; margin-top: 20px; }
.cart-item { border-bottom: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: 1fr auto; padding-bottom: 14px; }
.cart-item h3 { font-size: 14px; line-height: 1.35; margin: 0; }
.cart-item__date { color: var(--muted); font-size: 11px; }
.cart-item__price { font-size: 13px; font-weight: 800; }
.quantity { align-items: center; display: flex; gap: 7px; }
.quantity button { align-items: center; background: #eef1f5; border: 0; border-radius: 7px; display: flex; height: 28px; justify-content: center; width: 28px; }
.quantity span { font-size: 13px; font-weight: 800; min-width: 18px; text-align: center; }
.cart-summary { border-top: 2px solid var(--ink); margin-top: 20px; padding-top: 18px; }
.cart-summary > div { display: flex; font-size: 18px; justify-content: space-between; }
.cart-summary p { color: var(--muted); font-size: 11px; }
.cart-backdrop { display: none; }

.service-strip { background: white; border-top: 1px solid var(--line); display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); padding: 30px max(28px, calc((100vw - 1184px) / 2)); }
.service-strip > div { align-items: center; display: grid; gap: 1px 12px; grid-template-columns: 42px 1fr; }
.service-strip > div > span { align-items: center; background: color-mix(in srgb, var(--brand) 9%, white); border-radius: 50%; color: var(--brand); display: flex; font-weight: 800; grid-row: 1 / 3; height: 42px; justify-content: center; width: 42px; }
.service-strip strong { font-size: 13px; }
.service-strip small { color: var(--muted); }
.site-footer { color: var(--muted); display: flex; font-size: 12px; gap: 24px; justify-content: space-between; margin: auto; max-width: 1240px; padding: 25px 28px 34px; }
.site-footer > div, .site-footer nav { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer nav { justify-content: flex-end; }
.site-footer a { color: var(--brand); font-weight: 750; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.login-dialog { border: 0; border-radius: 24px; box-shadow: 0 30px 100px rgba(16,24,40,.25); max-height: calc(100vh - 32px); max-width: 430px; overflow-y: auto; padding: 32px; width: calc(100% - 32px); }
.registration-dialog { max-width: 580px; }
.login-dialog::backdrop { background: rgba(16,24,40,.62); backdrop-filter: blur(4px); }
.dialog-close-form { float: right; }
.login-dialog__intro { text-align: center; }
.login-dialog__icon { height: 48px; margin-bottom: 14px; width: 48px; }
.login-dialog h2 { font-size: 30px; letter-spacing: -.04em; margin: 0; }
.login-dialog__intro > p:last-child { color: var(--muted); font-size: 14px; }
.login-form { display: grid; gap: 9px; margin-top: 24px; }
.login-form label { font-size: 13px; font-weight: 800; }
.login-form input, .login-form textarea, .login-form select, .profile-form input, .profile-form textarea, .profile-form select { background: white; border: 1px solid #d5dae3; border-radius: 10px; margin-bottom: 7px; min-height: 46px; padding: 9px 12px; width: 100%; }
.login-form textarea, .profile-form textarea { font: inherit; resize: vertical; }
.login-form input:focus, .login-form textarea:focus, .login-form select:focus, .profile-form input:focus, .profile-form textarea:focus, .profile-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); outline: none; }
.login-form__status { background: #fff8e6; border-radius: 10px; color: #765710; font-size: 12px; margin: 5px 0 0; padding: 11px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid > div { min-width: 0; }
.form-grid label { display: block; margin-bottom: 9px; }
.field-hint, .optional { color: var(--muted); font-size: 11px; font-weight: 500; }
.field-hint { margin: -7px 0 5px; }
.dialog-switch { color: var(--muted); font-size: 12px; margin: 7px 0 0; text-align: center; }
.dialog-switch button { background: none; border: 0; color: var(--brand); font-size: inherit; font-weight: 800; padding: 0; }
.honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.checkout-dialog { max-width: 650px; }
.checkout-form { gap: 10px; }
.delivery-fields { background: color-mix(in srgb, var(--brand) 5%, white); border: 1px solid color-mix(in srgb, var(--brand) 20%, #d5dae3); border-radius: 13px; display: grid; gap: 8px; padding: 14px; }
.delivery-fields[hidden] { display: none; }
.field-error { color: #962e2e; font-size: 12px; margin: -2px 0 5px; }
.option-fieldset { border: 0; margin: 8px 0; padding: 0; }
.option-fieldset legend { font-size: 13px; font-weight: 800; margin-bottom: 9px; }
.option-grid { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-card { cursor: pointer; position: relative; }
.option-card input { opacity: 0; pointer-events: none; position: absolute; }
.option-card span { align-items: center; background: #fafbfc; border: 1px solid #d5dae3; border-radius: 11px; display: flex; font-size: 12px; font-weight: 750; min-height: 48px; padding: 10px 12px; }
.option-card input:checked + span { background: color-mix(in srgb, var(--brand) 8%, white); border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 10%, transparent); }
.option-card input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.checkout-disclaimer { color: var(--muted); font-size: 11px; margin: 4px 0; text-align: center; }
.terms-consent { align-items: flex-start; background: #fafbfc; border: 1px solid #d5dae3; border-radius: 11px; display: flex; gap: 10px; line-height: 1.45; margin-top: 6px; padding: 12px; }
.terms-consent input { flex: 0 0 auto; margin: 2px 0 0; min-height: 18px; padding: 0; width: 18px; }
.terms-consent a { color: var(--brand); }
.cart-configuration-error { background: #fff1f1; border-radius: 8px; color: #962e2e !important; padding: 9px; }

.legal-shell { margin: auto; max-width: 1180px; padding: 62px 28px 80px; }
.legal-hero { margin-bottom: 30px; max-width: 760px; }
.legal-hero h1 { font-size: clamp(38px, 6vw, 62px); letter-spacing: -.05em; line-height: 1; margin: 0; }
.legal-hero > p:last-child { color: var(--muted); font-size: 17px; }
.legal-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr); }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px; }
.legal-card h2 { font-size: 25px; letter-spacing: -.03em; margin: 0 0 20px; }
.legal-content { color: #344054; line-height: 1.75; white-space: pre-line; }
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }
.legal-empty { color: var(--muted); }
.operator-details { display: grid; gap: 15px; margin: 22px 0 0; }
.operator-details > div { border-top: 1px solid var(--line); padding-top: 13px; }
.operator-details dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.operator-details dd { line-height: 1.55; margin: 4px 0 0; overflow-wrap: anywhere; }
.operator-details a { color: var(--brand); }

.flash-message { border: 1px solid; border-radius: 13px; font-size: 14px; font-weight: 650; margin-bottom: 20px; padding: 14px 17px; }
.flash-message--success { background: #ecfdf3; border-color: #a7e7bd; color: #176b37; }
.flash-message--error { background: #fff1f1; border-color: #f1b8b8; color: #962e2e; }
.checkout-flash, .auth-flash { margin: 18px 0 4px; }

.account-shell { margin: auto; max-width: 1180px; padding: 58px 28px 80px; }
.account-hero { margin-bottom: 30px; }
.account-hero h1 { font-size: clamp(38px, 6vw, 58px); letter-spacing: -.05em; line-height: 1; margin: 0; }
.account-hero > p:last-child { color: var(--muted); }
.account-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); }
.account-card { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.account-card__heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 24px; }
.account-card h2 { font-size: 27px; letter-spacing: -.035em; margin: 0; }
.status-pill { background: #ecfdf3; border: 1px solid #a7e7bd; border-radius: 999px; color: #176b37; font-size: 11px; font-weight: 800; padding: 6px 10px; }
.profile-form { display: grid; gap: 9px; }
.profile-form label { font-size: 13px; font-weight: 800; }
.profile-form textarea { font: inherit; resize: vertical; }
.profile-address { background: color-mix(in srgb, var(--brand) 4%, white); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); border-radius: 14px; display: grid; gap: 9px; margin: 5px 0 7px; padding: 16px; }
.profile-address legend { color: var(--ink); font-size: 15px; font-weight: 850; padding: 0 7px; }
.checkbox-row { align-items: center; background: color-mix(in srgb, var(--brand) 5%, white); border: 1px solid color-mix(in srgb, var(--brand) 18%, white); border-radius: 11px; display: flex; gap: 9px; margin: 9px 0; padding: 12px; }
.checkbox-row input { accent-color: var(--brand); margin: 0; min-height: auto; width: auto; }
.company-fields { border-left: 3px solid color-mix(in srgb, var(--brand) 45%, white); display: grid; gap: 8px; margin-bottom: 12px; padding-left: 18px; }
.account-side { display: grid; gap: 24px; }
.account-empty { align-items: center; background: #fafbfc; border: 1px dashed #d8dde6; border-radius: 14px; display: flex; flex-direction: column; padding: 30px 18px; text-align: center; }
.account-empty > span { color: var(--brand); font-size: 22px; font-weight: 900; }
.account-empty h3 { font-size: 16px; margin: 8px 0 2px; }
.account-empty p { color: var(--muted); font-size: 12px; margin: 0; }
.account-records { border-top: 1px solid var(--line); }
.account-record { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; padding: 14px 0; text-align: left; }
.account-record > div { display: flex; flex-direction: column; }
.account-record small { color: var(--muted); font-size: 11px; }
.account-record__value { align-items: flex-end; text-align: right; }
.account-record--link { color: inherit; text-decoration: none; }
.account-record--link:hover strong { color: var(--brand); }
.account-card-link { color: var(--brand); display: inline-flex; font-size: 12px; font-weight: 800; margin-top: 18px; text-decoration: none; }
.account-card-link:hover { text-decoration: underline; }
.account-balance { border: 1px solid; border-radius: 14px; margin-bottom: 20px; overflow: hidden; padding: 16px; }
.account-balance > div { display: flex; flex-direction: column; }
.account-balance > div > span { font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.account-balance > div > strong { font-size: 27px; letter-spacing: -.04em; margin-top: 2px; }
.account-balance > div > small { font-size: 11px; }
.account-balance dl { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); margin: 15px 0 0; }
.account-balance dl > div { background: rgba(255,255,255,.68); border-radius: 9px; padding: 9px; }
.account-balance dt, .balance-overview dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.account-balance dd, .balance-overview dd { font-size: 12px; font-weight: 850; margin: 3px 0 0; }
.account-balance--positive { background: #ecfdf3; border-color: #a7e7bd; color: #176b37; }
.account-balance--negative { background: #fff8e6; border-color: #f4dda2; color: #765710; }
.account-balance--settled { background: #f4f6f8; border-color: #d8dde6; color: #475467; }

.payments-shell { margin: auto; max-width: 1040px; padding: 58px 28px 80px; }
.balance-overview { align-items: stretch; border: 1px solid; border-radius: 20px; display: grid; gap: 20px; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.5fr); margin-bottom: 26px; overflow: hidden; padding: 24px; }
.balance-overview__main { display: flex; flex-direction: column; justify-content: center; }
.balance-overview__main > span { font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.balance-overview__main > strong { font-size: 38px; letter-spacing: -.05em; line-height: 1; margin: 7px 0; }
.balance-overview__main > small { font-size: 12px; }
.balance-overview dl { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-radius: 13px; }
.balance-overview dl > div { background: rgba(255,255,255,.75); padding: 13px; }
.payment-list { display: grid; gap: 14px; }
.payment-list-card { background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 24px; }
.payment-list-card--reversed { background: #fff8f8; opacity: .78; }
.payment-list-card__heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.payment-list-card__heading h2 { font-size: 20px; margin: 7px 0 0; }
.payment-list-card__heading > strong { font-size: 22px; }
.payment-state { background: color-mix(in srgb, var(--brand) 9%, white); border-radius: 999px; color: var(--brand); font-size: 9px; font-weight: 850; padding: 5px 8px; }
.payment-list-card dl { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.payment-list-card dl > div { background: #fafbfc; padding: 11px; }
.payment-list-card dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.payment-list-card dd { font-size: 12px; font-weight: 800; margin: 3px 0 0; overflow-wrap: anywhere; }
.payment-list-card > p { color: var(--muted); font-size: 11px; margin: 13px 0 0; }

.orders-shell, .order-detail-shell { margin: auto; max-width: 1040px; padding: 58px 28px 80px; }
.order-list { display: grid; gap: 14px; }
.order-list-card { align-items: center; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); color: inherit; display: flex; gap: 20px; justify-content: space-between; padding: 22px 24px; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.order-list-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-1px); }
.order-list-card h2 { font-size: 20px; margin: 8px 0 1px; }
.order-list-card p { color: var(--muted); font-size: 12px; margin: 0; }
.order-list-card__total { align-items: flex-end; display: flex; flex-direction: column; gap: 5px; text-align: right; }
.order-list-card__total strong { font-size: 20px; }
.order-list-card__total span { color: var(--brand); font-size: 11px; font-weight: 800; }
.order-status { background: #eef1f5; border-radius: 999px; color: #475467; display: inline-flex; font-size: 10px; font-weight: 850; padding: 5px 9px; }
.order-status--partially_cancelled { background: #fff8e6; color: #765710; }
.order-status--cancelled { background: #fff1f1; color: #962e2e; }
.order-status--completed { background: #ecfdf3; color: #176b37; }
.pagination { align-items: center; display: flex; gap: 14px; justify-content: center; margin-top: 28px; }
.pagination > span { color: var(--muted); font-size: 12px; }

.order-detail-hero { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 28px; }
.order-detail-hero h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -.05em; line-height: 1; margin: 0; }
.order-detail-hero p:last-child { color: var(--muted); margin-bottom: 0; }
.order-summary-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.order-summary-grid > div { background: white; display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.order-summary-grid span, .order-summary-grid small { color: var(--muted); font-size: 11px; }
.order-summary-grid strong { font-size: 15px; }
.order-detail-card { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.order-items-detail { border-top: 1px solid var(--line); }
.order-item-detail { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) auto; padding: 20px 0; }
.order-item-detail.is-cancellation { background: #fff8f8; color: #8f2f2f; margin-inline: -12px; padding-inline: 12px; }
.order-item-detail__badges { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.order-item-detail__badges > span:first-child { color: var(--muted); font-size: 11px; font-weight: 750; }
.cancelled-badge { background: #ffe3e3; border-radius: 999px; color: #962e2e; font-size: 10px; font-weight: 850; padding: 4px 8px; }
.order-item-detail h3 { font-size: 17px; margin: 7px 0 2px; }
.order-item-detail p { color: var(--muted); font-size: 12px; margin: 0; }
.order-item-detail__action { align-items: flex-end; display: flex; flex-direction: column; gap: 8px; text-align: right; }
.order-item-detail__action > strong { font-size: 17px; }
.order-item-detail__action small { color: var(--muted); font-size: 10px; }
.order-detail-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.payment-instructions { align-items: center; background: color-mix(in srgb, var(--brand) 5%, white); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line)); border-radius: 18px; display: grid; gap: 22px; grid-template-columns: minmax(190px, 1fr) minmax(360px, 1.45fr) auto; margin-bottom: 24px; padding: 22px; }
.payment-instructions h2, .success-payment h2 { font-size: 22px; letter-spacing: -.03em; margin: 0; }
.payment-instructions p:not(.eyebrow), .success-payment > p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 7px 0 0; }
.payment-instructions__data { display: grid; gap: 1px; grid-template-columns: minmax(90px, .8fr) minmax(150px, 1.35fr) minmax(90px, .7fr); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.payment-instructions__data--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.payment-instructions__data > div { background: white; min-width: 0; padding: 12px; }
.payment-instructions__data dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.payment-instructions__data dd { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 850; margin: 4px 0 0; overflow-wrap: anywhere; }
.payment-instructions__account dd { white-space: nowrap; }
.payment-instructions__warning { color: #962e2e !important; font-weight: 750; }
.payment-instructions--paid { background: #ecfdf3; border-color: #a7e7bd; }
.payment-instructions--paid .payment-instructions__paid-eyebrow { color: #176b37; }
.payment-paid-mark { align-items: center; background: #176b37; border-radius: 50%; color: white; display: inline-flex; font-size: 22px; font-weight: 900; height: 46px; justify-content: center; width: 46px; }
.payment-qr-dialog { max-width: 560px; text-align: center; }
.payment-qr-dialog__image { align-items: center; background: white; border: 1px solid var(--line); border-radius: 18px; display: flex; justify-content: center; margin-top: 22px; min-height: 320px; overflow: hidden; padding: 12px; }
.payment-qr-dialog__image img { display: block; height: auto; max-width: 100%; width: 420px; }

.success-shell { margin: auto; max-width: 820px; padding: 58px 20px 80px; }
.success-card { background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(26px, 6vw, 52px); text-align: center; }
.success-mark { align-items: center; background: color-mix(in srgb, var(--brand) 12%, white); border-radius: 50%; color: var(--brand); display: inline-flex; font-size: 30px; font-weight: 900; height: 66px; justify-content: center; margin-bottom: 18px; width: 66px; }
.success-card h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -.05em; line-height: 1.05; margin: 0; }
.success-number { color: var(--muted); }
.success-number strong { color: var(--ink); }
.success-notice { border: 1px solid; border-radius: 12px; font-size: 13px; margin: 24px 0; padding: 13px; }
.success-notice--ok { background: #ecfdf3; border-color: #a7e7bd; color: #176b37; }
.success-notice--warning { background: #fff8e6; border-color: #f4dda2; color: #765710; }
.success-details { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 26px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.success-details > div { background: #fafbfc; display: flex; flex-direction: column; gap: 4px; padding: 15px 10px; }
.success-details span { color: var(--muted); font-size: 11px; }
.success-details strong { font-size: 13px; }
.success-items { border-top: 1px solid var(--line); margin-top: 25px; text-align: left; }
.success-item { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 15px; justify-content: space-between; padding: 15px 0; }
.success-item div { display: flex; flex-direction: column; }
.success-item small { color: var(--muted); }
.success-total { display: flex; font-size: 22px; justify-content: space-between; padding: 22px 0; }
.success-actions { display: flex; gap: 10px; justify-content: center; }
.success-payment { background: color-mix(in srgb, var(--brand) 5%, white); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line)); border-radius: 16px; margin: 26px 0; padding: 20px; text-align: left; }
.success-payment .payment-instructions__data { margin: 16px 0; }

.error-page { align-items: center; background: linear-gradient(145deg, #f4f6fa, #e8edf5); display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.error-card { background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); max-width: 520px; padding: 46px; text-align: center; }
.error-card__mark { height: 52px; margin-bottom: 20px; width: 52px; }
.error-card h1 { font-size: 34px; letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.error-card p:not(.eyebrow) { color: var(--muted); margin: 18px 0 25px; }

@media (max-width: 960px) {
    .page-shell { display: block; }
    .account-layout { grid-template-columns: 1fr; }
    .account-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-panel { border-radius: 24px 24px 0 0; bottom: 0; left: 0; max-height: 82vh; position: fixed; right: 0; top: auto; transform: translateY(105%); transition: transform .25s ease; z-index: 60; }
    .cart-panel.is-open { transform: translateY(0); }
    .cart-panel__close { display: inline-flex; }
    .cart-backdrop { background: rgba(16,24,40,.55); border: 0; inset: 0; opacity: 0; position: fixed; transition: opacity .25s ease; visibility: hidden; z-index: 50; }
    .cart-backdrop.is-open { display: block; opacity: 1; visibility: visible; }
}

@media (max-width: 720px) {
    .site-header { height: 60px; padding: 0 16px; }
    .hero { min-height: 360px; }
    .hero__shade { background: linear-gradient(0deg, rgba(12,18,31,.9), rgba(12,18,31,.38)); }
    .hero__content { padding: 80px 20px 50px; }
    .hero h1 { font-size: 42px; }
    .hero__description { font-size: 16px; }
    .hero__meta { align-items: flex-start; flex-direction: column; }
    .hero__actions { align-items: stretch; flex-direction: column; max-width: 300px; }
    .hero__actions .button { width: 100%; }
    .page-shell { margin-top: -22px; padding: 0 12px 48px; }
    .notice-card { padding: 18px; }
    .section-heading { align-items: start; flex-direction: column; padding: 24px 20px 18px; }
    .ordering-note { text-align: left; }
    .day-tabs { grid-template-columns: repeat(7, minmax(64px, 1fr)); }
    .day-tabs.day-tabs--5 { grid-template-columns: repeat(5, minmax(64px, 1fr)); }
    .day-tab { min-height: 82px; }
    .day-tab__long { display: none !important; }
    .day-tab__short { display: block !important; }
    .day-tab small { display: none; }
    .menu-panel { padding: 22px 16px 24px; }
    .meal-card { grid-template-columns: 4px 1fr; }
    .meal-card__order { align-items: center; border-top: 1px solid var(--line); flex-direction: row; grid-column: 2; justify-content: space-between; min-width: 0; padding: 13px 18px; }
    .login-order-button { font-size: 12px; }
    .service-strip { grid-template-columns: 1fr; padding: 28px 20px; }
    .site-footer { padding-inline: 20px; }
    .site-footer, .site-footer nav { align-items: flex-start; flex-direction: column; }
    .legal-shell { padding: 42px 14px 60px; }
    .legal-layout { grid-template-columns: 1fr; }
    .account-shell { padding: 42px 14px 60px; }
    .account-card { padding: 22px 18px; }
    .account-side { grid-template-columns: 1fr; }
    .orders-shell, .order-detail-shell { padding: 42px 14px 60px; }
    .payments-shell { padding: 42px 14px 60px; }
    .balance-overview { grid-template-columns: 1fr; }
    .balance-overview dl, .payment-list-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .order-summary-grid { grid-template-columns: 1fr; }
    .payment-instructions { align-items: stretch; grid-template-columns: 1fr; }
    .payment-instructions__data { grid-template-columns: 1fr; }
    .order-item-detail { align-items: flex-start; grid-template-columns: 1fr; }
    .order-item-detail__action { align-items: flex-start; text-align: left; }
}

@media (max-width: 430px) {
    .day-tabs { grid-template-columns: repeat(7, minmax(54px, 1fr)); }
    .day-tabs.day-tabs--5 { grid-template-columns: repeat(5, minmax(54px, 1fr)); }
    .day-tab strong { font-size: 14px; }
    .meal-card__topline { align-items: start; flex-direction: column; }
    .error-card { padding: 34px 22px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .header-actions .button { font-size: 11px; padding-inline: 10px; }
    .option-grid, .success-details { grid-template-columns: 1fr; }
    .success-actions { flex-direction: column; }
    .order-list-card, .order-detail-hero, .order-detail-actions { align-items: flex-start; flex-direction: column; }
    .balance-overview dl, .payment-list-card dl { grid-template-columns: 1fr; }
    .order-list-card__total { align-items: flex-start; text-align: left; }
}
