:root {
    /* --brand-red: #99041e; */
    --brand-red: #AA1F27FF;
    --brand-red-dark: #5f0213;
    --brand-yellow: #FDBA4CFF;
    --brand-cream: #fffaf2;
    --brand-ink: #2e1c18;
    --brand-muted: #78645d;
    --brand-border: #f0d59d;
    --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Account signup and OTP verification */
.account-auth-page {
    min-height: 100vh;
    padding: 50px 24px 70px;
    color: #2e1c18;
    /* background: radial-gradient(circle at 8% 20%, rgba(252, 203, 97, .32), transparent 28%), radial-gradient(circle at 94% 76%, rgba(157, 8, 12, .08), transparent 26%), #fffaf2; */
}

.account-auth-shell {
    display: grid;
    grid-template-columns: minmax(340px, .85fr) minmax(0, 1.25fr);
    max-width: 1160px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(157, 8, 12, .12);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(95, 2, 19, .14);
}

.account-auth-brand-panel {
    position: relative;
    display: flex;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #70050a, #9d080c 62%, #b90d13);
}

.account-auth-brand-pattern,
.account-auth-brand-pattern::before,
.account-auth-brand-pattern::after {
    position: absolute;
    content: "";
    border: 2px solid rgba(252, 203, 97, .22);
    border-radius: 50%;
}

.account-auth-brand-pattern {
    width: 330px;
    height: 330px;
    top: -90px;
    right: -110px;
}

.account-auth-brand-pattern::before {
    width: 210px;
    height: 210px;
    top: 58px;
    left: 58px;
}

.account-auth-brand-pattern::after {
    width: 520px;
    height: 520px;
    top: 490px;
    left: -370px;
}

.account-auth-brand-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 58px 48px;
}

.account-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fccb61;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.account-auth-brand-copy h1 {
    margin: 18px 0;
    color: #fff;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: .96;
}

.account-auth-brand-copy > p {
    max-width: 360px;
    margin: 0;
    color: #ffe9bd;
    font-size: 1.04rem;
    line-height: 1.65;
}

.account-auth-brand-copy ul {
    display: grid;
    gap: 13px;
    margin: 35px 0 0;
    padding: 0;
    list-style: none;
    color: #fff8eb;
    font-size: .92rem;
    font-weight: 800;
}

.account-auth-brand-copy li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-auth-brand-copy li i {
    color: #fccb61;
}

.account-auth-form-panel {
    display: flex;
    align-items: center;
    padding: 44px 54px;
}

.account-auth-form-wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.account-signin-shell {
    grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
    max-width: 1020px;
}

.account-signin-shell .account-auth-brand-panel {
    min-height: 610px;
}

.account-signin-form-wrap {
    max-width: 480px;
}

.account-signin-fields {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.account-signin-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #8a746c;
    font-size: .73rem;
    line-height: 1.45;
}

.account-signin-security i {
    color: #9d080c;
    font-size: 1rem;
}

.account-auth-heading > span {
    /* color: #9d080c; */
    color: #AA1F27FF;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.account-auth-heading h2 {
    margin: 5px 0 8px;
    /* color: #65040a; */
    color: #AA1F27FF;
    font-size: clamp(2rem, 3vw, 2.65rem);
    font-weight: 950;
    letter-spacing: -.04em;
}

.account-auth-heading p {
    margin: 0 0 26px;
    color: #78645d;
    font-size: .92rem;
    line-height: 1.6;
}

.account-auth-pending {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #f1d28a;
    border-radius: 12px;
    color: #694408;
    background: #fff8e5;
    font-size: .84rem;
    font-weight: 700;
}

.account-auth-pending i { color: #9d080c; font-size: 1.15rem; }
.account-auth-pending a { margin-left: auto; color: #9d080c; font-weight: 900; }

.account-form-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.45;
}

.account-form-alert.is-error {
    border: 1px solid #efb6ba;
    color: #8c0910;
    background: #fff0f1;
}

.account-form-alert.is-success {
    border: 1px solid #b6dfc3;
    color: #176333;
    background: #edf9f1;
}

.account-auth-form label:not(.account-terms-check) {
    display: block;
    margin-bottom: 7px;
    color: #4d3430;
    /* font-size: .78rem; */
    font-weight: 900;
}

.account-input-wrap,
.account-phone-input {
    display: flex;
    align-items: center;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid #e8d8cb;
    border-radius: 12px;
    background: #fffdf9;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.account-input-wrap:focus-within,
.account-phone-input:focus-within {
    border-color: #9d080c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(157, 8, 12, .08);
}

.account-input-wrap > i {
    flex: 0 0 44px;
    color: #a78c82;
    text-align: center;
}

.account-input-wrap input,
.account-input-wrap textarea,
.account-phone-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #2e1c18;
    background: transparent;
    font-size: .91rem;
    font-weight: 650;
}

.account-input-wrap input { height: 48px; padding: 0 14px 0 0; }
.account-input-wrap textarea { min-height: 67px; padding: 13px 14px 10px 0; resize: vertical; }
.account-input-address { align-items: flex-start; }
.account-input-address > i { padding-top: 15px; }

.account-phone-input > span {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-right: 1px solid #ead8c8;
    color: #fff;
    background: #AA1F27FF;
    font-size: .9rem;
    font-weight: 950;
}

.account-phone-input input { height: 48px; padding: 0 15px; letter-spacing: .035em; }
.account-auth-form small { display: block; margin-top: 5px; color: #967d74; font-size: .7rem; }

.account-password-wrap input { padding-right: 44px; }
.account-password-wrap button {
    flex: 0 0 42px;
    align-self: stretch;
    border: 0;
    color: #856d65;
    background: transparent;
}
.account-password-wrap button:hover { color: #9d080c; }

.account-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    cursor: pointer;
}

.account-terms-check > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.account-terms-check > span {
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 2px solid #d4bdae;
    border-radius: 6px;
    color: transparent;
    background: #fff;
    transition: .16s ease;
}

.account-terms-check > input:checked + span {
    border-color: #9d080c;
    color: #fccb61;
    background: #9d080c;
}

.account-terms-check > input:focus-visible + span { box-shadow: 0 0 0 4px rgba(157, 8, 12, .12); }
.account-terms-check em { color: #6e5952; font-size: .8rem; font-style: normal; line-height: 1.55; }
.account-terms-check a { color: #AA1F27FF; font-weight: 900; }

.account-primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    /* background: linear-gradient(110deg, #82060a, #9d080c); */
    background: #AA1F27FF;
    box-shadow: 0 13px 28px rgba(157, 8, 12, .22);
    /* font-size: .9rem; */
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease;
}

.account-primary-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 17px 32px rgba(157, 8, 12, .28);
}

.account-primary-button:disabled { cursor: wait; opacity: .7; }
.account-auth-switch { margin: 20px 0 0; color: #78645d; text-align: center; font-size: .83rem; }
.account-auth-switch a { color: #AA1F27FF; font-weight: 950; }

.account-otp-page {
    display: grid;
    place-items: center;
}

.account-otp-card {
    width: min(100%, 510px);
    padding: 50px;
    border: 1px solid rgba(157, 8, 12, .13);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(95, 2, 19, .14);
    text-align: center;
}

.account-otp-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border: 8px solid #fff1d0;
    border-radius: 50%;
    color: #fccb61;
    background: #9d080c;
    font-size: 1.75rem;
}

.account-otp-card h1 {
    margin: 8px 0 10px;
    color: #65040a;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 950;
    letter-spacing: -.04em;
}

.account-otp-card > p { margin: 0 0 24px; color: #78645d; font-size: .9rem; }
.account-otp-card > p strong { color: #4a302b; }

.account-otp-inputs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 0 24px;
}

.account-otp-inputs input {
    min-width: 0;
    height: 68px;
    border: 2px solid #ead8c8;
    border-radius: 14px;
    outline: 0;
    color: #65040a;
    background: #fffdf8;
    font-size: 1.75rem;
    font-weight: 950;
    text-align: center;
}

.account-otp-inputs input:focus {
    border-color: #9d080c;
    box-shadow: 0 0 0 4px rgba(157, 8, 12, .09);
}

.account-otp-resend {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin-top: 24px;
    color: #78645d;
    font-size: .82rem;
}

.account-otp-resend button {
    border: 0;
    color: #9d080c;
    background: transparent;
    font-weight: 950;
    text-decoration: underline;
}

.account-otp-resend button:disabled { color: #a7928b; cursor: not-allowed; }
.account-otp-resend small { color: #9a8178; font-size: .7rem; }
.account-otp-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: #6f554e; font-size: .78rem; font-weight: 850; }




@media (max-width: 991.98px) {
    .account-auth-shell { grid-template-columns: 1fr; max-width: 720px; }
    .account-auth-brand-panel { min-height: auto; }
    .account-auth-brand-copy { padding: 36px 42px; }
    .account-auth-brand-copy h1 { font-size: 2.7rem; }
    .account-auth-brand-copy ul { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .account-auth-form-panel { padding: 40px 44px 46px; }
}

@media (max-width: 575.98px) {
    .account-auth-page { padding: 30px 12px 42px; }
    .account-auth-shell { border-radius: 21px; }
    .account-auth-brand-copy { padding: 28px 24px; }
    .account-auth-brand-copy h1 { margin: 12px 0; font-size: 2.2rem; }
    .account-auth-brand-copy > p { font-size: .88rem; }
    .account-auth-brand-copy ul { grid-template-columns: 1fr; margin-top: 22px; font-size: .78rem; }
    .account-auth-form-panel { padding: 30px 20px 34px; }
    .account-auth-heading h2 { font-size: 2rem; }
    .account-otp-card { padding: 38px 20px; border-radius: 21px; }
    .account-otp-inputs { gap: 8px; }
    .account-otp-inputs input { height: 60px; border-radius: 12px; font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
    .entry-account-button {
        position: relative;
    }

    .entry-mobile-account {
        position: relative;
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border-radius: 50%;
        color: var(--brand-red);
        background: var(--brand-yellow);
    }

    .entry-mobile-initials {
        font-size: .7rem;
        font-weight: 1000;
        letter-spacing: .025em;
        line-height: 1;
    }

    .entry-mobile-status {
        position: absolute;
        right: -3px;
        bottom: -2px;
        display: grid;
        width: 15px;
        height: 15px;
        place-items: center;
        border: 2px solid #fff;
        border-radius: 50%;
        color: #fff;
        background: #198754;
        font-size: .58rem;
        line-height: 1;
    }

    .entry-mobile-status i {
        line-height: 1;
    }

    .entry-account-button.dropdown-toggle::after {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--brand-ink);
    /* background: var(--brand-cream); */
}

.fw-black {
    font-weight: 900 !important;
}

.min-w-0 {
    min-width: 0;
}

.eyebrow {
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    text-decoration: none;
    border-radius: 14px;
}

.brand-logo {
    width: auto;
    height: 80px;
    object-fit: contain;
}

.brand-fallback {
    display: none;
    color: var(--brand-yellow);
    font-size: 1.3rem;
    font-weight: 1000;
    letter-spacing: .04em;
}

.basket-pill {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    border-radius: 999px;
    padding: .65rem 1rem;
    color: var(--brand-red);
    background: var(--brand-yellow);
    font-size: .85rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(65,0,12,.18);
}

.basket-pill:hover, .basket-pill:focus {
    color: var(--brand-red);
    background: #ffd17b;
}

.profile-circle {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,194,87,.6);
    border-radius: 50%;
    color: var(--brand-yellow);
    background: rgba(255,255,255,.1);
}

.profile-initials,
.profile-status-badge {
    display: none;
}

/* Show the authenticated customer's initials in the ordering header. */
.ordering-header .profile-circle-signed-in {
    position: relative;
    overflow: visible;
    border-color: var(--brand-yellow);
    color: var(--brand-red);
    background: var(--brand-yellow);
}

.ordering-header .profile-circle-signed-in .profile-account-icon {
    display: none;
}

.ordering-header .profile-circle-signed-in .profile-initials {
    display: inline-block;
    font-size: .78rem;
    font-weight: 1000;
    letter-spacing: .025em;
    line-height: 1;
}

.ordering-header .profile-circle-signed-in .profile-status-badge {
    position: absolute;
    right: -3px;
    bottom: -2px;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 2px solid var(--brand-red);
    border-radius: 50%;
    color: #fff;
    background: #198754;
    font-size: .62rem;
    line-height: 1;
}

.ordering-header .profile-circle-signed-in .profile-status-badge i {
    line-height: 1;
}

.ordering-header .profile-circle-signed-in.dropdown-toggle::after {
    display: none;
}

a.profile-circle {
    display: inline-grid;
    place-items: center;
    text-decoration: none;
}

.account-header-dropdown .dropdown-toggle::after {
    margin-left: .25rem;
    vertical-align: .12em;
}

.account-dropdown-menu {
    min-width: 220px;
    padding: .65rem;
    border: 1px solid #ecd9cb;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(66, 25, 22, .18);
}

.account-dropdown-menu > strong,
.account-dropdown-email {
    display: block;
    padding: .25rem .65rem;
}

.account-dropdown-email {
    overflow: hidden;
    color: #826d66;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-dropdown-menu form {
    margin-top: .4rem;
    padding-top: .4rem;
    border-top: 1px solid #f0e1d6;
}

.account-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    border-radius: 9px;
    color: var(--brand-red);
    font-size: .9rem;
    font-weight: 900;
}

.order-entry-body {
    min-height: 100vh;
    background: #4d0312;
}

.entry-header {
    z-index: 5;
    color: white;
    background: #4d0312;
}

.entry-main {
    min-height: calc(100vh - 82px);
    overflow: hidden;
    color: white;
}

.entry-background {
    position: absolute;
    inset: 0;
    background: #4d0312 url('../images/grilled-composition.png') center/cover no-repeat;
}

.entry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(77,3,18,.68);
}

.entry-copy {
    width: min(100%, 720px);
    z-index: 1;
}

.entry-copy > h1 {
    color: var(--brand-yellow);
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 1000;
    line-height: .98;
    letter-spacing: -.045em;
    text-shadow: 0 4px 18px rgba(40,0,8,.55);
}

.entry-card {
    width: min(100%, 660px);
    padding: clamp(1.4rem, 4vw, 2.3rem);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 26px;
    color: var(--brand-ink);
    background: #fff8ed;
    box-shadow: 0 28px 80px rgba(35,0,7,.38);
}

.entry-card h2 {
    color: var(--brand-red);
    font-weight: 950;
}

.previous-choice {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .8rem 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    background: white;
    font-size: .88rem;
}

.previous-choice strong {
    color: var(--brand-red);
}

.previous-choice span {
    color: var(--brand-muted);
    font-weight: 650;
}

.brand-action {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    padding: .75rem 1.4rem;
    color: white;
    background: var(--brand-red);
    font-weight: 900;
    /* box-shadow: 0 7px 0 var(--brand-red-dark); */
}

.brand-action:hover, .brand-action:focus {
    color: white;
    background: #7f0318;
    transform: translateY(1px);
    box-shadow: 0 5px 0 var(--brand-red-dark);
}

.brand-action:disabled {
    color: white;
    background: #9d787f;
    box-shadow: none;
}

.entry-footer {
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.15);
    background: rgba(153,4,30,.96);
    color: rgba(255,255,255,.85);
}

.ordering-header {
    z-index: 1030;
    overflow: visible; /* hidden */
    color: white;
    background: var(--brand-red);
}

.ordering-pattern {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image: radial-gradient(circle at 12% 18%, var(--brand-yellow) 0 2px, transparent 3px), radial-gradient(circle at 82% 70%, var(--brand-yellow) 0 1px, transparent 2px);
    background-size: 34px 34px, 28px 28px;
    pointer-events: none;
}

.meta-label {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: rgba(255,255,255,.65);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ordering-meta strong {
    display: block;
    margin-top: .35rem;
    overflow: hidden;
    color: var(--brand-yellow);
    /* font-size: .88rem; */
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ordering-meta small {
    display: block;
    margin-top: .18rem;
    overflow: hidden;
    color: rgba(255,255,255,.8);
    font-size: .72rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta-button {
    padding: .5rem;
    border: 0;
    border-radius: 12px;
    color: white;
    background: transparent;
}

.meta-button:hover {
    background: rgba(255,255,255,.1);
}

.order-type-switch {
    display: flex;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.order-type-switch button {
    flex: 1;
    min-height: 31px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: transparent;
    font-size: .76rem;
    font-weight: 900;
}

.order-type-switch button.active {
    color: var(--brand-red);
    background: var(--brand-yellow);
}

.meta-time {
    margin-top: .65rem !important;
}

.brand-modal {
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 26px;
    background: var(--brand-cream);
    box-shadow: 0 30px 90px rgba(26,18,15,.28);
}

.brand-modal .modal-header {
    padding: 1.5rem 1.5rem 0;
}

.brand-modal .modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.order-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .35rem;
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    background: white;
}

.order-choice button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--brand-red);
    background: transparent;
    font-weight: 900;
}

.order-choice button.active {
    color: white;
    background: var(--brand-red);
}

.branch-choice {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    padding: .9rem;
    border: 1px solid #ead8c6;
    border-radius: 16px;
    color: var(--brand-ink);
    background: white;
    transition: .18s ease;
}

.branch-choice:hover, .branch-choice.selected {
    border-color: var(--brand-red);
    background: #fff3df;
    transform: translateY(-1px);
}

.branch-choice strong, .branch-choice small {
    display: block;
}

.branch-choice strong {
    color: var(--brand-red);
    font-size: .92rem;
}

.branch-choice small {
    margin-top: .2rem;
    color: var(--brand-muted);
    font-size: .74rem;
}

.branch-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: var(--brand-red);
    background: var(--brand-yellow);
}

.branch-change-dialog {
    width: min(calc(100% - 1.5rem), 560px);
    margin-right: auto;
    margin-left: auto;
}

.branch-change-modal {
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 28px;
    background: var(--brand-cream);
    box-shadow: 0 30px 90px rgba(65, 0, 12, .32);
}

.branch-change-modal .modal-body {
    padding: 2rem 1.5rem 1.35rem;
}

.branch-change-icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-red);
    background: var(--brand-yellow);
    font-size: 1.8rem;
    box-shadow: 0 10px 26px rgba(153, 4, 30, .18);
}

.branch-change-modal h2 {
    color: var(--brand-red);
    font-size: clamp(1.55rem, 4vw, 2rem);
}

.branch-change-copy {
    margin: .65rem auto 1.25rem;
    color: var(--brand-muted);
    font-size: .9rem;
    font-weight: 650;
}

.branch-change-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    align-items: stretch;
    gap: .55rem;
    text-align: left;
}

.branch-change-location {
    min-width: 0;
    padding: .85rem;
    border: 1px solid #ead8c6;
    border-radius: 16px;
    background: white;
}

.branch-change-location span {
    display: block;
    margin-bottom: .3rem;
    color: var(--brand-muted);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.branch-change-location strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--brand-ink);
    font-size: .82rem;
    line-height: 1.35;
}

.branch-change-arrow {
    display: grid;
    place-items: center;
    color: var(--brand-red);
    font-size: 1.25rem;
}

.branch-change-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .75rem;
    border-radius: 14px;
    color: #7a0317;
    background: #fff0d5;
    font-size: .76rem;
    font-weight: 800;
}

.branch-change-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: 1rem 1.5rem 1.5rem;
    border: 0;
    background: white;
}

.branch-change-actions .btn {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: .78rem;
}

@media (max-width: 460px) {
    .branch-change-route {
        grid-template-columns: 1fr;
    }

    .branch-change-arrow {
        transform: rotate(90deg);
    }

    .branch-change-actions {
        grid-template-columns: 1fr;
    }
}

.menu-main {
    min-height: 70vh;
}

.menu-intro {
    color: white;
    background: linear-gradient(115deg, #5f0213, var(--brand-red));
}

.menu-intro .eyebrow {
    color: var(--brand-yellow);
}

.menu-intro h1 {
    color: var(--brand-yellow);
}

.menu-intro .lead {
    color: rgba(255,255,255,.82);
    font-size: 1rem;
    font-weight: 600;
}

.menu-search {
    width: min(100%, 340px);
}

.menu-search i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    color: var(--brand-red);
    transform: translateY(-50%);
}

.menu-search .form-control {
    min-height: 50px;
    padding-left: 2.8rem;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(65,0,12,.16);
}

.category-nav {
    top: var(--ordering-header-height, 151px);
    z-index: 1020;
    border-bottom: 1px solid #ecd9c6;
    /* background: rgba(255,250,242,.96); */
    backdrop-filter: blur(14px);
}

.category-nav-shell {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: .65rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.category-rail {
    display: flex;
    min-width: 0;
    gap: .5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-padding-inline: .25rem;
    scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
    display: none;
}

.category-scroll-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--brand-red);
    font-size: 1rem;
    /* box-shadow: 0 5px 0 var(--brand-red-dark); */
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.category-scroll-button:hover:not(:disabled), .category-scroll-button:focus-visible:not(:disabled) {
    color: var(--brand-red);
    background: var(--brand-yellow);
    transform: translateY(1px);
    /* box-shadow: 0 3px 0 #d89524; */
}

.category-scroll-button:focus-visible {
    outline: 3px solid rgba(255,194,87,.65);
    outline-offset: 2px;
}

.category-scroll-button:disabled {
    cursor: default;
    opacity: .3;
    box-shadow: none;
}

.category-pill {
    flex: 0 0 auto;
    padding: .62rem 1rem;
    border: 1px solid #e5cfae;
    border-radius: 999px;
    color: var(--brand-red);
    background: white;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.category-pill:hover, .category-pill.active {
    border-color: var(--brand-red);
    color: white;
    background: var(--brand-red);
}

.menu-section {
    scroll-margin-top: 230px;
    padding: 1.6rem 0 3.6rem;
}

.section-heading {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ead8c6;
}

.section-heading h2 {
    margin: 0;
    color: var(--brand-red);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 950;
}

.section-heading > span {
    color: var(--brand-muted);
    font-size: .78rem;
    font-weight: 800;
}

.product-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #ead8c6;
    border-radius: 22px;
    background: white;
    box-shadow: 0 9px 28px rgba(63,30,19,.07);
    transition: .2s ease;
}

.product-card:hover {
    border-color: var(--brand-yellow);
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(63,30,19,.12);
}

.product-image-button {
    position: relative;
    display: grid;
    width: 100%;
    /* height: 210px; */
    padding: 1.1rem;
    place-items: center;
    overflow: hidden;
    border: 0;
    background: linear-gradient(150deg, #fff9ee, #ffefd1);
}

.product-image-button img {
    width: 100%;
    height: 100%;
    /* width: auto;
    height: auto; */
    object-fit: contain;
    transition: transform .25s ease;
}

.product-card:hover .product-image-button img {
    transform: scale(1.04);
}

.popular-badge {
    position: absolute;
    top: .8rem;
    left: .8rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    color: white;
    background: var(--brand-red);
    font-size: .65rem;
    font-weight: 900;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.product-card h3 {
    color: var(--brand-ink);
    font-size: 18px;
    font-weight: 900;
}

.product-card p {
    display: -webkit-box;
    min-height: 3.7em;
    overflow: hidden;
    color: var(--brand-muted);
    font-size: 16px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card-body strong {
    color: var(--brand-red);
    font-size: 1.08rem;
    font-weight: 950;
}

.add-circle {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--brand-red);
    /* box-shadow: 0 5px 0 var(--brand-red-dark); */
}

.add-circle:hover {
    color: white;
    background: #7f0318;
}

.empty-panel {
    padding: 4rem 1.5rem;
    border: 1px dashed #ddb98c;
    border-radius: 24px;
    text-align: center;
    background: white;
}

.empty-panel > i {
    color: var(--brand-yellow);
    font-size: 3rem;
}

.empty-panel h2 {
    margin-top: .8rem;
    color: var(--brand-red);
    font-weight: 950;
}

.empty-panel p {
    color: var(--brand-muted);
}

.product-modal-dialog {
    width: min(100% - 1rem, 620px);
    max-width: 620px;
}

.product-modal {
    max-height: calc(100dvh - 1rem);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 27px;
    background: var(--brand-cream);
}

.product-modal-close {
    position: absolute;
    top: .9rem;
    right: .9rem;
    z-index: 10;
    width: 18px;
    height: 18px;
    padding: .85rem;
    border-radius: 50%;
    filter: invert(1);
    background-color: #66fbe1;
    opacity: 1;
}

.product-loading {
    display: grid;
    min-height: 420px;
    place-items: center;
    color: var(--brand-red);
}

#productModalContent {
    position: relative;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.product-modal-compact-anchor {
    position: sticky;
    top: 0;
    z-index: 9;
    height: 0;
    overflow: visible;
}

.product-modal-compact {
    display: flex;
    height: 164px;
    align-items: center;
    gap: 1rem;
    padding: 1rem 5.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--brand-border);
    background: rgba(255,255,255,.98);
    box-shadow: 0 10px 26px rgba(65,0,12,.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-105%);
    transition: opacity .2s ease, transform .25s ease;
    backdrop-filter: blur(12px);
}

#productModalContent.is-scrolled .product-modal-compact {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.product-modal-compact img {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    object-fit: contain;
}

.product-modal-compact-copy {
    min-width: 0;
    text-align: left;
}

.product-modal-compact-copy h3 {
    margin: 0 0 .3rem;
    overflow: hidden;
    color: var(--brand-red);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-modal-compact-copy strong {
    color: var(--brand-red);
    font-size: .9rem;
    font-weight: 950;
}

.product-modal-hero {
    position: relative;
    display: flex;
    min-height: 270px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background: white;
}

.product-modal-hero img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-modal-hero h2 {
    margin: .4rem 0 0;
    color: var(--brand-red);
    font-size: 1.7rem;
    font-weight: 950;
}

.product-modal-hero p {
    display: -webkit-box;
    margin: .45rem auto;
    overflow: hidden;
    color: var(--brand-muted);
    font-size: .82rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-modal-hero strong {
    color: var(--brand-red);
    font-size: 1.25rem;
}

.product-options {
    padding: 1rem;
}

.option-block {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 20px;
    background: #fffaf2;
}

.option-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.option-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
}

.option-header p {
    margin: .2rem 0 0;
    color: var(--brand-muted);
    font-size: .76rem;
}

.required-badge {
    flex: 0 0 auto;
    padding: .28rem .55rem;
    border-radius: 999px;
    color: var(--brand-red);
    background: #fff0d5;
    font-size: 14px;/* .62rem */
    font-weight: 900;
}

.option-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: .45rem;
    padding: .75rem;
    border: 1px solid #ead8c6;
    border-radius: 14px;
    cursor: pointer;
    background: white;
}

.option-row:has(input:checked) {
    border-color: var(--brand-red);
    background: #fff4df;
}

.option-row input {
    width: 19px;
    height: 19px;
    accent-color: var(--brand-red);
}

.option-row span {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .90rem;
    font-weight: 800;
}

.option-row small {
    color: var(--brand-red);
    font-weight: 900;
    font-size: 14px;
}

.product-modal-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom));
    border-top: 1px solid #e5a93e;
    background: var(--brand-yellow);
    box-shadow: 0 -12px 34px rgba(50,24,16,.13);
}

.quantity-control {
    display: flex;
    flex: 0 0 auto;
    min-height: 48px;
    align-items: center;
    gap: .3rem;
    padding: .25rem;
    border-radius: 999px;
    background: rgba(255,255,255,.58);
}

.quantity-control button {
    display: grid;
    width: 39px;
    height: 39px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--brand-red);
    background: transparent;
}

.quantity-control strong {
    min-width: 1.7rem;
    text-align: center;
}

.product-add-button {
    flex: 1;
    min-height: 52px;
    border-radius: 999px;
    color: white;
    background: var(--brand-red);
    font-weight: 950;
    box-shadow: 0 6px 0 var(--brand-red-dark);
}

.product-add-button:hover {
    color: white;
    background: #7f0318;
}

.cart-main {
    min-height: 75vh;
}

.btn-outline-brand {
    /* min-height: 46px; */
    border: 2px solid var(--brand-red);
    border-radius: 999px;
    color: var(--brand-red);
    font-weight: 900;
}

.btn-outline-brand:hover {
    color: white;
    background: var(--brand-red);
}

.cart-item {
    display: grid;
    /* grid-template-columns: 120px minmax(0,1fr); */
    grid-template-columns: 170px minmax(0,1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ead8c6;
    border-radius: 22px;
    background: white;
    box-shadow: 0 8px 26px rgba(63,30,19,.06);
}

.cart-thumb {
    display: grid;
    min-height: 120px;
    place-items: center;
    border-radius: 16px;
    background: #fff2da;
}

.cart-thumb img {
    width: 100%;
    height: 105px;
    object-fit: contain;
}

.cart-item-copy h2 {
    margin: 0;
    color: var(--brand-red);
    font-size: 18px;
    font-weight: 950;
}

.cart-size {
    margin: .25rem 0 0;
    color: var(--brand-muted);
    font-size: 14px;
    font-weight: 700;
}

.cart-delete {
    color: var(--brand-red);
}

.cart-item-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: .3rem;
}

.cart-edit {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .65rem;
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    color: var(--brand-red);
    background: var(--brand-cream);
    font-size: .78rem;
    font-weight: 900;
}

.cart-edit:hover {
    border-color: var(--brand-red);
    color: white;
    background: var(--brand-red);
}

.cart-toppings {
    margin: .7rem 0 0;
    padding-left: 1rem;
    color: var(--brand-muted);
    font-size: 16px;
}

.cart-toppings span {
    color: var(--brand-red);
    font-weight: 800;
}

.quantity-control.compact {
    min-height: 42px;
    border: 1px solid #ead8c6;
    background: var(--brand-cream);
}

.quantity-control.compact button {
    width: 32px;
    height: 32px;
}

.cart-line-price {
    color: var(--brand-red);
    font-size: 1.1rem;
}

.cart-summary-card {
    top: 190px;
    padding: 1.4rem;
    border: 1px solid var(--brand-border);
    border-radius: 24px;
    background: white;
    box-shadow: 0 14px 40px rgba(63,30,19,.09);
}

.cart-summary-card h2 {
    color: var(--brand-red);
    font-size: 1.25rem;
    font-weight: 950;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ead8c6;
}

.summary-row.total strong {
    color: var(--brand-red);
    font-size: 1.35rem;
}

.cart-summary-card small {
    display: block;
    margin-top: 1rem;
    color: var(--brand-muted);
    text-align: center;
}

.brand-toast {
    color: white;
    background: var(--brand-red);
}

@media (max-width: 991.98px) {
    .category-nav {
        /* top: 160px; */
    }

    .menu-section {
        scroll-margin-top: 235px;
    }

    .brand-logo {
        height: 75px;
    }
}

@media (max-width: 575.98px) {
    .entry-header .brand-logo {
        height: 46px;
    }

    .entry-copy > h1 {
        font-size: 2.35rem;
    }

    .ordering-header .brand-logo {
        height: 60px;
    }

    .ordering-header .basket-pill {
        min-height: 44px;
        padding: .55rem .7rem;
        font-size: .72rem;
    }

    .profile-circle {
        width: 44px;
        height: 44px;
    }

    .category-nav {
        top: 174px;
    }

    .category-nav-shell {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: .4rem;
        padding-top: .6rem;
        padding-bottom: .6rem;
    }

    .category-scroll-button {
        width: 36px;
        height: 36px;
        font-size: .85rem;
    }

    .category-pill {
        padding: .55rem .8rem;
        font-size: .80rem;
    }

    .menu-section {
        scroll-margin-top: 250px;
    }

    .product-image-button {
        height: 190px;
    }

    .product-modal-dialog {
        width: calc(100% - .5rem);
        margin: .25rem auto;
    }

    .product-modal {
        max-height: calc(100dvh - .5rem);
        border-radius: 22px;
    }

    .product-modal-hero {
        min-height: 250px;
        padding: 2.4rem 1rem 1.2rem;
    }

    .product-modal-hero img {
        height: 155px;
    }

    .product-modal-compact {
        height: 112px;
        gap: .75rem;
        padding: .75rem 4.7rem .75rem .85rem;
    }

    .product-modal-compact img {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
    }

    .product-modal-compact-copy h3 {
        font-size: .92rem;
    }

    .cart-item {
        grid-template-columns: 86px minmax(0,1fr);
    }

    .cart-thumb {
        min-height: 90px;
    }

    .cart-thumb img {
        height: 78px;
    }
}

/* Live delivery tracking */
.tracking-page {
    /* background: radial-gradient(circle at 5% 8%, rgba(255, 194, 87, .2), transparent 25rem),linear-gradient(180deg, #fffaf2 0%, #fff 70%); */
}

.tracking-main {
    min-height: calc(100vh - 150px);
}

.tracking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 1.4rem;
    max-width: 1120px;
}

.tracking-card,
.tracking-details-card,
.tracking-unavailable {
    border: 1px solid #eedbc7;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(95, 2, 19, .09);
}

.tracking-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2.5rem);
}

.tracking-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-red));
    content: '';
}

.tracking-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.tracking-card-header h1 {
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 950;
    letter-spacing: -.035em;
}

.tracking-card-header p:last-child {
    max-width: 38rem;
    margin: .55rem 0 0;
    color: var(--brand-muted);
    font-weight: 650;
}

.tracking-live-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .45rem;
    padding: .52rem .75rem;
    border-radius: 999px;
    color: #176834;
    background: #e9f8ef;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tracking-live-pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2da45a;
    box-shadow: 0 0 0 5px rgba(45, 164, 90, .14);
    animation: tracking-live-pulse 1.6s ease-out infinite;
}

.tracking-live-pill.is-finished {
    color: var(--brand-muted);
    background: #f3eee8;
}

.tracking-live-pill.is-finished i {
    background: var(--brand-muted);
    animation: none;
}

@keyframes tracking-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 164, 90, .35); }
    75%, 100% { box-shadow: 0 0 0 8px rgba(45, 164, 90, 0); }
}

.tracking-order-reference {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.5rem;
    padding: .65rem .85rem;
    border: 1px dashed #dfbea1;
    border-radius: 12px;
    background: #fff9ed;
    font-size: .90rem;
}

.tracking-order-reference span { color: var(--brand-muted); }
.tracking-order-reference strong { color: var(--brand-red); }

.tracking-map-section {
    margin-top: 1.35rem;
}

.tracking-map-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid #ead6c5;
    border-radius: 20px;
    background: #f5eee8;
}

.tracking-map-canvas {
    width: 100%;
    height: 340px;
}

.tracking-map-state {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: 1.25rem;
    color: var(--brand-red);
    background: rgba(255, 250, 242, .94);
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
}

.tracking-route-summary {
    position: absolute;
    z-index: 3;
    top: .8rem;
    left: .8rem;
    display: grid;
    gap: .08rem;
    max-width: calc(100% - 1.6rem);
    padding: .62rem .78rem;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 12px;
    color: #fff;
    background: rgba(95, 2, 19, .92);
    box-shadow: 0 8px 24px rgba(46, 28, 24, .18);
}

.tracking-route-summary strong {
    font-size: .79rem;
    font-weight: 900;
}

.tracking-route-summary span {
    color: var(--brand-yellow);
    font-size: .69rem;
    font-weight: 800;
}

.tracking-rider-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    margin-top: .8rem;
    padding: .85rem 1rem;
    border: 1px solid #f0ddcd;
    border-radius: 16px;
    background: #fffaf4;
}

.tracking-rider-icon,
.tracking-rider-phone {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
}

.tracking-rider-icon {
    color: var(--brand-yellow);
    background: var(--brand-red);
    font-size: 1.15rem;
}

.tracking-rider-row > div {
    display: grid;
    min-width: 0;
}

.tracking-rider-row strong {
    overflow: hidden;
    color: var(--brand-ink);
    font-size: .84rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tracking-rider-row span:not(.tracking-rider-icon) {
    color: var(--brand-muted);
    font-size: .73rem;
}

.tracking-rider-phone {
    color: var(--brand-red);
    border: 1px solid var(--brand-border);
    background: #fff;
    text-decoration: none;
}

.tracking-rider-phone:hover,
.tracking-rider-phone:focus {
    color: var(--brand-yellow);
    background: var(--brand-red);
}

.tracking-location-updated {
    margin: .55rem .2rem 0;
    color: var(--brand-muted);
    font-size: .68rem;
    text-align: right;
}

.tracking-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(2rem, 6vw, 4rem) 0 2rem;
    padding: 0;
    list-style: none;
}

.tracking-progress.is-collection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tracking-progress-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .7rem;
    color: #aa9b94;
    text-align: center;
}

.tracking-progress-step:not(:last-child)::after {
    position: absolute;
    z-index: 0;
    top: 25px;
    left: calc(50% + 29px);
    width: calc(100% - 58px);
    height: 5px;
    border-radius: 999px;
    background: #eee6e1;
    content: '';
}

.tracking-progress-step.is-complete:not(:last-child)::after {
    background: var(--brand-yellow);
}

.tracking-step-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    border: 4px solid #f3ece7;
    border-radius: 50%;
    background: #fff;
    font-size: 1.15rem;
}

.tracking-progress-step.is-complete .tracking-step-icon {
    border-color: var(--brand-yellow);
    color: var(--brand-red);
    background: #fff8e8;
}

.tracking-progress-step.is-current .tracking-step-icon {
    color: var(--brand-yellow);
    border-color: var(--brand-red);
    background: var(--brand-red);
    box-shadow: 0 0 0 7px rgba(153, 4, 30, .1);
}

.tracking-step-label {
    font-size: .78rem;
    font-weight: 850;
}

.tracking-progress-step.is-complete .tracking-step-label { color: var(--brand-ink); }
.tracking-progress-step.is-current .tracking-step-label { color: var(--brand-red); }

.tracking-last-updated {
    margin: 1.2rem 0 0;
    color: var(--brand-muted);
    font-size: .76rem;
    text-align: center;
}

.tracking-cancelled,
.tracking-refresh-error {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 1.2rem;
    padding: .9rem 1rem;
    border: 1px solid #f0b6bc;
    border-radius: 14px;
    color: #77101d;
    background: #fff0f1;
}

.tracking-cancelled > i { font-size: 1.4rem; }
.tracking-cancelled div { display: grid; }
.tracking-cancelled span { font-size: .78rem; }
.tracking-refresh-error { font-size: .78rem; font-weight: 700; }

.tracking-details-card {
    align-self: start;
    padding: 1.4rem;
}

.tracking-details-heading {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0e1d5;
}

.tracking-details-heading > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: var(--brand-yellow);
    background: var(--brand-red);
    font-size: 1.15rem;
}

.tracking-details-heading small {
    color: var(--brand-red);
    font-size: .65rem;
    font-weight: 950;
    letter-spacing: .1em;
}

.tracking-details-heading h2 {
    margin: .1rem 0 0;
    color: var(--brand-ink);
    font-size: 1.18rem;
    font-weight: 900;
}

.tracking-details-list { margin: .6rem 0 1.2rem; }
.tracking-details-list > div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: .7rem;
    padding: .72rem 0;
    border-bottom: 1px solid #f4e9df;
}
.tracking-details-list dt { color: var(--brand-muted); font-size: .85rem; font-weight: 650; }
.tracking-details-list dd { margin: 0; color: var(--brand-ink); font-size: .85rem; font-weight: 800; text-align: right; }

.tracking-instructions {
    margin: 0 0 1rem;
    padding: .9rem;
    border-radius: 14px;
    background: #fff7e7;
}
.tracking-instructions span { color: var(--brand-red); font-size: .80rem; font-weight: 900; text-transform: uppercase; }
.tracking-instructions p { margin: .3rem 0 0; color: var(--brand-ink); font-size: .85rem; }

.tracking-unavailable {
    max-width: 660px;
    padding: clamp(2rem, 5vw, 4rem);
}
.tracking-unavailable-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.2rem;
    place-items: center;
    border-radius: 22px;
    color: var(--brand-yellow);
    background: var(--brand-red);
    font-size: 1.8rem;
}
.tracking-unavailable h1 { color: var(--brand-ink); font-weight: 950; }
.tracking-unavailable p:not(.eyebrow) { color: var(--brand-muted); }

@media (max-width: 991.98px) {
    .tracking-layout { grid-template-columns: 1fr; max-width: 760px; }
}

@media (max-width: 575.98px) {
    .tracking-card,
    .tracking-details-card { border-radius: 20px; }
    .tracking-card-header { display: block; }
    .tracking-live-pill { margin-top: 1rem; }
    .tracking-progress { margin-top: 2.2rem; }
    .tracking-progress-step:not(:last-child)::after { top: 21px; left: calc(50% + 23px); width: calc(100% - 46px); height: 4px; }
    .tracking-step-icon { width: 46px; height: 46px; border-width: 3px; font-size: .95rem; }
    .tracking-step-label { font-size: .62rem; }
    .tracking-order-reference { display: flex; justify-content: space-between; }
    .tracking-map-canvas { height: 285px; }
    .tracking-rider-row { padding: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .tracking-live-pill i { animation: none; }
}

/* Mobile ordering header and sticky menu navigation */
@media (max-width: 575.98px) {
    .ordering-header .header-basket-link,
    .ordering-header .header-order-type-column,
    .ordering-header .header-estimated-time-column {
        display: none !important;
    }

    .ordering-header .mobile-header-order-switch {
        display: flex;
        min-width: 0;
        flex: 1 1 auto;
        padding: 3px;
        border-color: rgba(255, 255, 255, .32);
        background: rgba(255, 255, 255, .12);
    }

    .ordering-header .mobile-header-order-switch button {
        min-width: 0;
        min-height: 38px;
        padding: .35rem .45rem;
        font-size: .67rem;
        line-height: 1;
    }

    .ordering-header .header-branch-column {
        width: 100%;
    }

    .ordering-header .header-branch-column .meta-button {
        padding-top: .25rem;
        padding-bottom: .25rem;
    }

    .ordering-header .ordering-meta {
        --bs-gutter-y: .25rem;
    }

    .menu-main .menu-intro {
        display: none;
    }

    .menu-main .category-nav {
        top: var(--ordering-header-height, 128px);
    }

    .menu-main .menu-section {
        scroll-margin-top: calc(var(--ordering-header-height, 128px) + 64px);
    }
}

/* Public website homepage */
.public-site-body {
    padding-top: 80px;
    color: #1f1210;
    /* background: #fff8f2; */
}

.public-header {
    z-index: 1070;
    border-bottom: 1px solid #ead7c7;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 28px rgba(63,24,18,.035);
    backdrop-filter: blur(18px);
}

.public-header-inner {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.public-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.public-logo img {
    width: auto;
    height: 56px;
    object-fit: contain;
}

.public-logo-fallback {
    display: none;
    color: var(--brand-red);
    font-size: 1.2rem;
    font-weight: 1000;
}

.public-menu-toggle {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #1f1210;
    background: transparent;
    font-size: 1.65rem;
}

.public-menu-toggle:hover {
    background: #fff8f2;
}

.public-nav {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.1rem, 2vw, 1.8rem);
}

.public-nav a {
    position: relative;
    padding: .65rem 0;
    color: #1f1210;
    font-size: .82rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.public-nav a:hover {
    color: var(--brand-red);
}

.public-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1rem;
}

.public-account-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: .45rem;
    padding: .55rem .8rem;
    border: 1px solid rgba(153, 4, 30, .2);
    border-radius: 999px;
    color: var(--brand-red);
    background: #fffaf4;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.public-account-button:hover {
    color: var(--brand-red-dark);
    background: #fff2db;
}

.public-socials {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding-left: 1.25rem;
    border-left: 1px solid #ead7c7;
}

.public-socials a, .public-socials span {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid rgba(153,4,30,.18);
    border-radius: 50%;
    color: var(--brand-red);
    background: rgba(153,4,30,.06);
    text-decoration: none;
}

.public-socials a:hover {
    background: rgba(153,4,30,.12);
}

.public-order-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.5rem;
    border: 0;
    border-radius: 999px;
    color: white;
    background: var(--brand-red);
    font-size: .82rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(153,4,30,.2);
}

.public-order-button:hover {
    color: white;
    background: var(--brand-red-dark);
}

.public-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1075;
    background: rgba(18,8,6,.55);
    opacity: 0;
    transition: opacity .25s ease;
    backdrop-filter: blur(4px);
}

.public-drawer-backdrop.open {
    opacity: 1;
}

.public-mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    display: flex;
    width: min(90vw, 420px);
    flex-direction: column;
    background: white;
    box-shadow: 24px 0 70px rgba(26,18,15,.24);
    transform: translateX(-105%);
    transition: transform .3s ease;
}

.public-mobile-drawer.open {
    transform: translateX(0);
}

.drawer-open {
    overflow: hidden;
}

.public-drawer-header {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #ead8c6;
    background: #fff8ed;
}

.public-drawer-header button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid #ead8c6;
    border-radius: 12px;
    color: #1f1210;
    background: white;
}

.public-drawer-nav {
    flex: 1;
    padding: 1.25rem 1rem;
    overflow-y: auto;
}

.public-drawer-nav a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    color: #1f1210;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.public-drawer-nav a:hover {
    color: var(--brand-red);
    background: #fff8ed;
}

.public-drawer-nav i {
    color: var(--brand-red);
    font-size: 1.1rem;
}

.public-drawer-account {
    margin-top: .65rem;
    padding: 1rem;
    border-top: 1px solid #f0ddcf;
    border-radius: 12px;
    background: #fff8ed;
}

.public-drawer-account > span,
.public-drawer-account > small {
    display: block;
}

.public-drawer-account > span {
    color: #2b1916;
    font-size: .85rem;
    font-weight: 900;
}

.public-drawer-account > small {
    margin: .25rem 0 .7rem;
    color: #846f68;
    font-size: .7rem;
}

.public-drawer-account button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0;
    border: 0;
    color: var(--brand-red);
    background: transparent;
    font-size: .8rem;
    font-weight: 900;
}

.public-drawer-footer {
    padding: 1.1rem 1.5rem calc(1.1rem + env(safe-area-inset-bottom));
    border-top: 1px solid #ead8c6;
    background: #fffaf4;
}

.public-drawer-footer a {
    margin-right: 1rem;
    color: #6f5f5a;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
}

.public-drawer-footer p {
    margin: .8rem 0 0;
    color: #806f68;
    font-size: .68rem;
    font-weight: 650;
}

.public-home-main {
    width: 100%;
    overflow-x: hidden;
    background: #fff8f2;
}

.home-hero {
    position: relative;
    padding-bottom: 1.5rem;
    overflow: hidden;
    background: #fff8f2;
}

.home-hero-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 750;
    overflow: hidden;
}

.home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    opacity: 0;
    transition: opacity .7s ease;
}

.home-hero-video.active {
    z-index: 1;
    opacity: 1;
}

.home-hero-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding-top: 1rem;
}

.home-hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d8d0ca;
    transition: width .25s ease, background .25s ease;
}

.home-hero-dots button.active {
    width: 32px;
    background: var(--brand-red);
}

.home-promise {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: #fff8f2;
}

.home-promise h1 {
    margin: 0;
    color: #1f1210;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.home-promise h1 span {
    color: var(--brand-red);
}

.home-promise h2 {
    margin: 1.2rem 0 0;
    color: var(--brand-yellow);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 950;
}

.home-promise p {
    max-width: 540px;
    margin: 1rem 0 0;
    color: #6f5f5a;
    font-size: 1rem;
    line-height: 1.75;
}

.home-primary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.8rem;
    padding: .75rem 1.6rem;
    border: 0;
    border-radius: 999px;
    color: white;
    background: var(--brand-red);
    font-size: .85rem;
    font-weight: 900;
    text-decoration: none;
}

.home-primary-button:hover {
    color: white;
    background: var(--brand-red-dark);
}

.home-promise-visual {
    display: flex;
    min-height: 420px;
    align-items: center;
    justify-content: center;
}

.home-promise-visual img {
    width: 100%;
    height: min(540px, 48vw);
    object-fit: contain;
    filter: drop-shadow(0 34px 38px rgba(63,24,18,.22));
}

.home-app-section {
    padding: 1.5rem .75rem clamp(2.5rem, 5vw, 4rem);
    background: white;
}

.home-wide-container {
    max-width: 1800px;
}

.home-app-panel {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    color: white;
    background: radial-gradient(circle at 43% 42%, rgba(255,194,87,.12), transparent 32%), linear-gradient(135deg, #720014 0%, #990018 45%, #a5001d 68%, #720014 100%);
}

.home-app-panel::after {
    position: absolute;
    inset: 0;
    content: '';
    pointer-events: none;
    background: radial-gradient(circle at 52% 48%, rgba(255,255,255,.08), transparent 38%);
}

.home-app-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 750px;
    grid-template-columns: 1.05fr .96fr .78fr .62fr;
    align-items: center;
    gap: clamp(1.5rem, 2.5vw, 3rem);
    padding: clamp(2.5rem, 4vw, 4rem);
}

.home-app-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.home-app-brand img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.home-app-brand span {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-app-copy h2 {
    margin: 0;
    font-size: clamp(3rem, 3.75vw, 4.75rem);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.04em;
}

.home-app-copy h2 span, .home-app-copy h2 em {
    display: block;
    font-style: normal;
}

.home-app-copy h2 em {
    color: var(--brand-yellow);
}

.home-app-copy h2 small {
    display: block;
    margin-top: .45rem;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0;
}

.home-app-copy > p {
    margin: 1.7rem 0 .65rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.home-app-copy > strong {
    display: inline-block;
    padding: .6rem .9rem;
    border-radius: 7px;
    color: var(--brand-red);
    background: var(--brand-yellow);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.home-app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.home-app-badges img {
    width: auto;
    height: 56px;
    object-fit: contain;
}

.home-app-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-app-mockup img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 600px;
    object-fit: contain;
    filter: drop-shadow(0 34px 80px rgba(0,0,0,.32));
}

.home-app-features > div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.home-app-features > div:last-child {
    border-bottom: 0;
}

.home-app-features > div > i {
    display: grid;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid var(--brand-yellow);
    border-radius: 50%;
    color: var(--brand-yellow);
    font-size: 1.35rem;
}

.home-app-features span, .home-app-features strong, .home-app-features small {
    display: block;
}

.home-app-features strong {
    font-size: clamp(1rem, 1.35vw, 1.45rem);
    font-weight: 950;
}

.home-app-features small {
    margin-top: .25rem;
    color: rgba(255,255,255,.84);
    font-size: .88rem;
}

.home-app-qr {
    display: flex;
    justify-content: flex-start;
}

.home-app-qr > div {
    width: 100%;
    max-width: 270px;
    padding: 1.5rem;
    border-radius: 24px;
    color: #1f1210;
    background: white;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0,0,0,.2);
}

.home-app-qr img {
    width: 100%;
    max-width: 220px;
    object-fit: contain;
}

.home-app-qr strong {
    display: block;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1.1;
}

.home-process {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #fff8f2;
}

.home-section-heading > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.home-section-heading > div span {
    width: 80px;
    height: 1px;
    background: rgba(255,194,87,.75);
}

.home-section-heading > div i {
    color: var(--brand-yellow);
    font-size: 1.35rem;
}

.home-section-heading > div small {
    color: var(--brand-red);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .4em;
    text-transform: uppercase;
}

.home-section-heading h2 {
    margin: 1.6rem 0 0;
    color: #1f1210;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -.035em;
}

.home-section-heading h2 em {
    color: var(--brand-red);
    font-style: normal;
}

.home-section-heading > b {
    display: block;
    width: 80px;
    height: 4px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: var(--brand-yellow);
}

.home-section-heading > p {
    margin: 1.1rem 0 0;
    color: #4f4541;
    font-size: 1.05rem;
}

.home-process-grid {
    margin-top: 2.5rem;
}

.home-process-grid article {
    text-align: center;
}

.home-step-icon {
    position: relative;
    display: grid;
    width: 126px;
    height: 126px;
    margin: 0 auto;
    place-items: center;
    border: 1px solid #ead7c7;
    border-radius: 20px;
    background: white;
    box-shadow: 0 12px 30px rgba(63,24,18,.05);
}

.home-step-icon span {
    position: absolute;
    top: -16px;
    left: -12px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #1f1210;
    background: var(--brand-yellow);
    font-size: .82rem;
    font-weight: 900;
}

.home-step-icon i {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-red);
    background: rgba(153,4,30,.06);
    font-size: 2.5rem;
}

.home-process-grid h3 {
    margin: 1.35rem 0 0;
    font-size: 1.2rem;
    font-weight: 900;
}

.home-process-grid article > b {
    display: block;
    width: 48px;
    height: 2px;
    margin: .75rem auto 0;
    background: var(--brand-yellow);
}

.home-process-grid p {
    max-width: 190px;
    margin: .75rem auto 0;
    color: #4f4541;
    font-size: .84rem;
    line-height: 1.6;
}

.home-stores {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #fff8f2;
}

.home-stores-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.home-stores-heading h2 {
    margin: 0;
    color: #1f1210;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 950;
    letter-spacing: -.035em;
}

.home-stores-heading p {
    margin: .55rem 0 0;
    color: #6f5f5a;
}

.home-stores-heading > a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--brand-red);
    font-size: .85rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.home-store-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #ead7c7;
    border-radius: 20px;
    background: white;
    box-shadow: 0 14px 38px rgba(63,24,18,.07);
}

.home-store-card > img {
    width: 100%;
    height: 128px;
    object-fit: cover;
}

.home-store-card > div {
    padding: 1.15rem;
}

.home-store-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
}

.home-store-card h3 {
    margin: 0;
    color: #1f1210;
    font-size: 1rem;
    font-weight: 900;
}

.home-store-card header span {
    padding: .28rem .5rem;
    border-radius: 999px;
    color: #198754;
    background: #e7f6ed;
    font-size: .62rem;
    font-weight: 900;
}

.home-store-card p {
    display: flex;
    gap: .45rem;
    min-height: 4.2em;
    margin: .8rem 0 0;
    color: #6f5f5a;
    font-size: .76rem;
    line-height: 1.55;
}

.home-store-card p i {
    flex: 0 0 auto;
    margin-top: .1rem;
    color: var(--brand-red);
}

.home-store-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .9rem;
    color: #1f1210;
    font-size: .68rem;
    font-weight: 900;
}

.home-store-card footer i {
    margin-right: .25rem;
}

.home-store-card footer .bi-star-fill {
    color: var(--brand-yellow);
}

.home-franchise-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 20px;
    color: white;
    background: var(--brand-red);
    box-shadow: 0 18px 48px rgba(153,4,30,.18);
}

.home-franchise-card > i {
    color: var(--brand-yellow);
    font-size: 2.1rem;
}

.home-franchise-card h3 {
    margin: 1.5rem 0 0;
    font-size: 1.4rem;
    font-weight: 950;
}

.home-franchise-card p {
    margin: .8rem 0 0;
    color: rgba(255,255,255,.8);
    font-size: .78rem;
    line-height: 1.6;
}

.home-franchise-card a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.5rem;
    color: var(--brand-yellow);
    font-size: .76rem;
    font-weight: 900;
    text-decoration: none;
}

.home-newsletter {
    padding: 1rem 0;
    background: white;
}

.home-newsletter-panel {
    display: grid;
    grid-template-columns: 1fr minmax(360px, .92fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    border-radius: 20px;
    color: white;
    background: var(--brand-red);
    box-shadow: 0 18px 46px rgba(153,4,30,.18);
}

.home-newsletter h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 950;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.home-newsletter p {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.8);
    font-size: .82rem;
}

.home-newsletter form {
    display: flex;
}

.home-newsletter input {
    min-width: 0;
    min-height: 48px;
    flex: 1;
    padding: .75rem 1rem;
    border: 0;
    border-radius: 12px 0 0 12px;
    color: #1f1210;
    background: white;
    font-size: .82rem;
    font-weight: 650;
    outline: 0;
}

.home-newsletter button {
    min-height: 48px;
    padding: .75rem 1.75rem;
    border: 0;
    border-radius: 0 12px 12px 0;
    color: #1f1210;
    background: var(--brand-yellow);
    font-size: .82rem;
    font-weight: 900;
}

.public-footer {
    padding: 1.5rem 0 1rem;
    color: white;
    background: var(--brand-red);
}

.public-footer-main {
    display: grid;
    grid-template-columns: 1.1fr .8fr 1.1fr;
    align-items: center;
    gap: 2rem;
}

.public-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1rem;
}

.public-footer-links a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    color: rgba(255,255,255,.9);
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none;
}

.public-footer-links a:hover {
    color: var(--brand-yellow);
    text-decoration: underline;
}

.public-footer-logo {
    display: inline-flex;
    justify-self: center;
    padding: .5rem;
    border-radius: 12px;
    background: white;
}

.public-footer-logo img {
    width: auto;
    height: 52px;
    object-fit: contain;
}

.public-footer-apps {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.public-footer-apps a {
    display: inline-flex;
}

.public-footer-apps img {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.public-footer-apps button {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,194,87,.6);
    border-radius: 9px;
    color: var(--brand-red);
    background: var(--brand-yellow);
}

.public-footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: .75rem;
}

.public-footer-socials a, .public-footer-socials span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: var(--brand-yellow);
    background: rgba(255,255,255,.1);
    text-decoration: none;
}

.public-footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.75);
    font-size: .68rem;
    font-weight: 650;
}

.public-footer-legal > div {
    display: flex;
    gap: 1rem;
}

.public-footer-legal a {
    color: inherit;
    text-decoration: none;
}

.public-footer-legal a:hover {
    color: var(--brand-yellow);
}

@media (max-width: 1199.98px) {
    .home-app-grid {
        min-height: 620px;
        grid-template-columns: 1fr 1fr;
    }

    .home-app-copy, .home-app-features {
        min-width: 0;
    }

    .home-app-mockup img {
        max-height: 440px;
    }

    .home-app-qr {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .public-site-body {
        padding-top: 72px;
    }

    .public-header-inner {
        min-height: 72px;
    }

    .public-logo img {
        height: 48px;
    }

    .home-promise-visual {
        min-height: 320px;
    }

    .home-promise-visual img {
        height: 380px;
    }

    .home-app-panel {
        border-radius: 30px;
    }

    .public-footer-main {
        grid-template-columns: 1fr;
        gap: .8rem;
        text-align: center;
    }

    .public-footer-links, .public-footer-apps {
        justify-content: center;
    }

    .public-footer-logo {
        grid-row: 1;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding-bottom: 1rem;
    }

    .home-app-section {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .home-app-panel {
        border-radius: 22px;
    }

    .home-app-grid {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .home-app-copy {
        grid-column: 1 / -1;
    }

    .home-app-brand {
        margin-bottom: 1rem;
    }

    .home-app-brand img {
        width: 58px;
        height: 58px;
    }

    .home-app-brand span {
        font-size: .9rem;
    }

    .home-app-copy h2 {
        font-size: clamp(1.9rem, 8vw, 3rem);
    }

    .home-app-copy h2 small {
        font-size: clamp(1.65rem, 7vw, 2.4rem);
    }

    .home-app-copy > p {
        margin-top: 1rem;
        font-size: .8rem;
    }

    .home-app-copy > strong {
        font-size: .68rem;
    }

    .home-app-badges {
        margin-top: 1rem;
    }

    .home-app-badges img {
        height: 40px;
    }

    .home-app-mockup img {
        max-height: 220px;
    }

    .home-app-features {
        grid-column: 1 / -1;
        order: 4;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }

    .home-app-features > div {
        min-height: 66px;
        gap: .5rem;
        padding: .5rem;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 12px;
        background: rgba(255,255,255,.04);
    }

    .home-app-features > div > i {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .home-app-features strong {
        font-size: .75rem;
    }

    .home-app-features small {
        display: none;
    }

    .home-app-qr > div {
        padding: .75rem;
        border-radius: 16px;
    }

    .home-app-qr img {
        max-width: 110px;
    }

    .home-app-qr strong {
        margin-top: .5rem;
        font-size: .65rem;
    }

    .home-stores-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-newsletter-panel {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .public-site-body {
        padding-top: 68px;
    }

    .public-header-inner {
        min-height: 68px;
    }

    .public-logo img {
        height: 42px;
    }

    .public-order-button {
        min-height: 40px;
        padding: .6rem 1rem;
        font-size: .72rem;
    }

    .home-promise {
        padding-top: 2rem;
    }

    .home-promise h1 {
        font-size: 1.9rem;
    }

    .home-promise h2 {
        margin-top: .8rem;
        font-size: 1.1rem;
    }

    .home-promise p {
        font-size: .86rem;
        line-height: 1.65;
    }

    .home-promise-visual {
        min-height: 210px;
    }

    .home-promise-visual img {
        height: 230px;
    }

    .home-section-heading > div span {
        width: 48px;
    }

    .home-section-heading h2 {
        font-size: 1.9rem;
    }

    .home-section-heading > p {
        font-size: .84rem;
    }

    .home-step-icon {
        width: 82px;
        height: 82px;
        border-radius: 16px;
    }

    .home-step-icon span {
        top: -12px;
        left: -8px;
        width: 28px;
        height: 28px;
        font-size: .68rem;
    }

    .home-step-icon i {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }

    .home-process-grid h3 {
        margin-top: .9rem;
        font-size: .88rem;
    }

    .home-process-grid p {
        font-size: .72rem;
        line-height: 1.45;
    }

    .home-newsletter form {
        flex-direction: column;
        gap: .65rem;
    }

    .home-newsletter input, .home-newsletter button {
        border-radius: 12px;
    }

    .public-footer-legal {
        flex-direction: column;
        gap: .35rem;
        text-align: center;
    }

    .public-footer-apps img {
        height: 36px;
    }

    .public-footer-apps button {
        display: none;
    }
}

/* Dynamic branches directory */
.branches-page {
    min-height: 70vh;
    color: #351817;
    background: #fff9f1;
}

.branches-hero {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    border-bottom: 1px solid #eed9cb;
    background: linear-gradient(135deg, #fff9f1 0%, #fff1dd 100%);
}

.branches-hero .container-xxl {
    padding-left: clamp(1.25rem, 3vw, 2rem);
    border-left: 4px solid var(--brand-yellow);
}

.branches-hero p {
    margin: 0;
    color: var(--brand-red);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.branches-hero h1 {
    margin: .65rem 0 0;
    color: #351817;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 950;
    letter-spacing: -.045em;
}

.branches-hero span {
    display: block;
    max-width: 660px;
    margin-top: .75rem;
    color: #715d57;
    font-size: .95rem;
    line-height: 1.7;
}

.branches-content {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.branches-content > .container-xxl {
    width: calc(100% - 2rem);
    max-width: 1420px;
    padding-right: 0;
    padding-left: 0;
}

.branches-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: .85rem;
    border: 1px solid #eed9cb;
    border-radius: 20px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 14px 40px rgba(74,32,20,.07);
}

.branches-toolbar label {
    position: relative;
    display: block;
    width: min(100%, 620px);
}

.branches-toolbar label > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: var(--brand-red);
    transform: translateY(-50%);
}

.branches-toolbar input {
    width: 100%;
    min-height: 50px;
    padding: .75rem 1rem .75rem 2.8rem;
    border: 1px solid #e5cbbb;
    border-radius: 14px;
    color: #351817;
    background: #fffdf9;
    font-size: 14px;
    font-weight: 650;
    outline: 0;
}

.branches-toolbar input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(153,4,30,.08);
}

.branches-toolbar > strong {
    flex: 0 0 auto;
    padding-right: .75rem;
    color: var(--brand-red);
    font-size: 16px;
    font-weight: 950;
}

.branches-locator-layout {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    gap: 1.75rem;
    align-items: start;
}

.branches-list {
    display: grid;
    gap: 1rem;
}

.branches-location-card {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid #e8cbbb;
    border-radius: 21px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 34px rgba(74,32,20,.06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.branches-location-card:hover,
.branches-location-card.map-selected {
    border-color: rgba(153,4,30,.48);
    box-shadow: 0 18px 44px rgba(74,32,20,.11);
    transform: translateY(-2px);
}

.branches-card-accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--brand-yellow);
}

.branches-location-card:nth-child(even) .branches-card-accent {
    background: var(--brand-red);
}

.branches-location-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding-bottom: .9rem;
    border-bottom: 1px solid #ecd9cf;
}

.branches-location-number {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--brand-red);
    background: #fff2dc;
    font-size: .76rem;
    font-weight: 950;
}

.branches-location-header h2 {
    margin: 0;
    color: #24100f;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    font-weight: 950;
    letter-spacing: -.025em;
}

.branches-open-status {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: .4rem;
    padding: .3rem .58rem;
    border: 1px solid;
    border-radius: 999px;
    font-size: .58rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.branches-open-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.branches-open-status.is-open {
    border-color: #bde3ca;
    color: #08783a;
    background: #effaf3;
}

.branches-open-status.is-closed {
    border-color: #e4c6c3;
    color: #8c302e;
    background: #fff3f2;
}

.branches-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 0;
    color: #6f5149;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.5;
}

.branches-contact-row span,
.branches-contact-row a {
    display: inline-flex;
    align-items: flex-start;
    gap: .45rem;
}

.branches-contact-row span {
    min-width: 0;
}

.branches-contact-row a {
    flex: 0 0 auto;
    color: #6f5149;
    font-weight: 800;
    text-decoration: none;
}

.branches-contact-row i {
    flex: 0 0 auto;
    color: var(--brand-red);
    font-size: .85rem;
}

.branches-service-grid {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #ead4c6;
    border-radius: 10px;
    background: #fffaf5;
}

.branches-service-grid > div {
    min-width: 0;
    padding: .72rem .65rem;
    border-right: 1px solid #ead4c6;
    border-bottom: 1px solid #ead4c6;
}

.branches-service-grid > div:nth-child(3n) {
    border-right: 0;
}

.branches-service-grid > div:nth-last-child(-n+3) {
    border-bottom: 0;
}

.branches-service-grid span,
.branches-service-grid strong,
.branches-service-grid small {
    display: block;
}

.branches-service-grid span {
    color: #81473c;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
}

.branches-service-grid span i {
    margin-right: .28rem;
    color: var(--brand-red);
    font-size: .8rem;
}

.branches-service-grid strong {
    margin-top: .4rem;
    color: #351817;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.branches-service-grid small {
    margin-top: .16rem;
    color: #866c64;
    font-size: .65rem;
    font-weight: 600;
    line-height: 1.45;
}

.branches-location-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-top: .85rem;
}

.branches-location-actions a,
.branches-location-actions button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid #e4bfae;
    border-radius: 9px;
    color: var(--brand-red);
    background: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 950;
    text-decoration: none;
}

.branches-location-actions .branches-order-button {
    border-color: var(--brand-red);
    color: white;
    background: var(--brand-red);
}

.branches-location-actions a:hover {
    border-color: var(--brand-red);
    background: #fff5f1;
}

.branches-location-actions .branches-order-button:hover {
    color: white;
    background: #790318;
}

.branches-map-column {
    position: sticky;
    top: 90px;
    min-height: min(720px, calc(100vh - 112px));
    overflow: hidden;
    border: 1px solid #e8cbbb;
    border-radius: 24px;
    background: #f2eee4;
    box-shadow: 0 14px 40px rgba(74,32,20,.07);
}

.branches-map {
    width: 100%;
    min-height: min(720px, calc(100vh - 112px));
}

.branches-map-unavailable {
    display: flex;
    min-height: min(720px, calc(100vh - 112px));
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    color: #715d57;
    text-align: center;
}

.branches-map-unavailable i {
    color: var(--brand-red);
    font-size: 2.3rem;
}

.branches-map-unavailable strong {
    margin-top: .75rem;
    color: #351817;
}

.branches-map-unavailable span {
    margin-top: .35rem;
    font-size: .75rem;
}

.branches-map-marker-wrap {
    border: 0;
    background: transparent;
}

.branches-map-marker {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    border-radius: 50%;
    color: white;
    background: var(--brand-red);
    box-shadow: 0 5px 16px rgba(78,15,20,.28);
    font-size: .82rem;
    font-weight: 950;
}

.branches-map-column .leaflet-tooltip {
    border: 0;
    border-radius: 5px;
    color: #351817;
    font-family: inherit;
    font-size: .62rem;
    font-weight: 850;
    box-shadow: 0 5px 14px rgba(74,32,20,.12);
}

.branches-franchise-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 22px;
    color: white;
    background: var(--brand-red);
    box-shadow: 0 18px 48px rgba(153,4,30,.18);
}

.branches-franchise-banner > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.branches-franchise-banner > div > i {
    color: var(--brand-yellow);
    font-size: 2rem;
}

.branches-franchise-banner span, .branches-franchise-banner strong, .branches-franchise-banner small {
    display: block;
}

.branches-franchise-banner strong {
    font-size: 1.35rem;
    font-weight: 950;
}

.branches-franchise-banner small {
    margin-top: .25rem;
    color: rgba(255,255,255,.8);
    font-size: .78rem;
}

.branches-franchise-banner > a {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    color: var(--brand-red);
    background: var(--brand-yellow);
    font-size: .76rem;
    font-weight: 950;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .branches-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .branches-toolbar > strong {
        padding: 0 .25rem .25rem;
    }

    .branches-franchise-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .branches-franchise-banner > a {
        justify-content: center;
    }

    .branches-location-header {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .branches-open-status {
        grid-column: 2;
        width: max-content;
    }

    .branches-contact-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .branches-service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .branches-service-grid > div:nth-child(n) {
        border-bottom: 1px solid #ead4c6;
    }

    .branches-service-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .branches-service-grid > div:nth-child(odd) {
        border-right: 1px solid #ead4c6;
    }

    .branches-service-grid > div:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 991.98px) {
    .branches-locator-layout {
        grid-template-columns: 1fr;
    }

    .branches-map-column {
        position: relative;
        top: auto;
        min-height: 430px;
        grid-row: 1;
    }

    .branches-map,
    .branches-map-unavailable {
        min-height: 430px;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .branches-locator-layout {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    }

    .branches-service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .branches-service-grid > div:nth-child(n) {
        border-bottom: 1px solid #ead4c6;
    }

    .branches-service-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .branches-service-grid > div:nth-child(odd) {
        border-right: 1px solid #ead4c6;
    }

    .branches-service-grid > div:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 430px) {
    .branches-service-grid {
        grid-template-columns: 1fr;
    }

    .branches-service-grid > div:nth-child(n) {
        border-right: 0;
        border-bottom: 1px solid #ead4c6;
    }

    .branches-service-grid > div:last-child {
        border-bottom: 0;
    }
}

/* Compact six-column menu version */
.menu-six-column .menu-section {
    padding-bottom: 3rem;
}

.menu-six-column .product-card {
    border-radius: 16px;
}

.menu-six-column .product-image-button {
    height: 150px;
    padding: .7rem;
}

.menu-six-column .product-image-button img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 125px;
    margin: auto;
    object-fit: contain;
}

.menu-six-column .popular-badge {
    top: .55rem;
    left: .55rem;
    padding: .28rem .48rem;
    font-size: .56rem;
}

.menu-six-column .product-card-body {
    padding: .78rem;
}

.menu-six-column .product-card h3 {
    margin-bottom: .4rem;
    font-size: 14px;
    line-height: 1.3;
}

.menu-six-column .product-card p {
    min-height: 3.45em;
    margin-bottom: .7rem;
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
}

.menu-six-column .product-card-body strong {
    font-size: .92rem;
}

.menu-six-column .add-circle {
    width: 34px;
    height: 34px;
    font-size: .78rem;
    /* box-shadow: 0 4px 0 var(--brand-red-dark); */
}

@media (max-width: 575.98px) {
    .menu-six-column .product-image-button {
        height: 165px;
    }

    .menu-six-column .product-image-button img {
        max-height: 140px;
    }
}

/* Checkout */
.checkout-main,
.confirmation-main {
    min-height: 70vh;
    /* background: radial-gradient(circle at 6% 10%, rgba(252, 203, 97, .18), transparent 24rem), #fffaf3; */
}

.checkout-page-heading h1,
.confirmation-card h1 {
    margin: 0;
    color: var(--brand-ink);
    /* font-size: clamp(1.8rem, 4vw, 2.6rem); */
    font-weight: 950;
    letter-spacing: -.04em;
}

.checkout-alert {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e9aaaf;
    border-radius: 16px;
    color: #7b0015;
    background: #fff0f2;
    font-weight: 750;
}

.checkout-alert i {
    color: var(--brand-red);
    font-size: 1.2rem;
}

.checkout-panel {
    margin-bottom: 0.5rem;
    padding: clamp(1.1rem, 3vw, 1.55rem);
    border: 1px solid #efd1bc;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 35px rgba(83, 23, 16, .055);
}

.checkout-panel-title {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

.checkout-panel-title > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: var(--brand-red);
    background: var(--brand-yellow);
    font-weight: 950;
}

.checkout-panel-title h2,
.checkout-order-summary h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.15rem;
    font-weight: 950;
}

.checkout-panel-title p {
    margin: .2rem 0 0;
    color: var(--brand-muted);
    font-size: 14px;
}

.checkout-panel .form-label {
    color: #4c2822;
    /* font-size: 14px; */
    font-weight: 850;
}

.checkout-panel .form-label span {
    color: var(--brand-muted);
    font-weight: 600;
}

.checkout-input {
    min-height: 50px;
    border: 1px solid #e8cbbb;
    border-radius: 13px;
    color: var(--brand-ink);
    background: #fffdf9;
    font-size: 15px;
    font-weight: 600;
}

.checkout-password-wrap {
    position: relative;
}

.checkout-password-wrap .checkout-input {
    padding-right: 48px;
}

.checkout-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--brand-red);
    font-size: 18px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.checkout-password-toggle:hover {
    background: #fff1dc;
}

.checkout-password-toggle:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

/* Checkout account verification modal */
.checkout-otp-modal .modal-dialog {
    max-width: 480px;
    padding: 0 .75rem;
}

.checkout-otp-modal .modal-content {
    overflow: hidden;
    border: 1px solid #edc7a7;
    border-radius: 24px;
    background: #fffaf2;
    box-shadow: 0 28px 80px rgba(46, 28, 24, .25);
}

.checkout-otp-modal .modal-header {
    align-items: flex-start;
    padding: 1.4rem 1.5rem 1.15rem;
    border-bottom: 1px solid #efd9c6;
}

.checkout-otp-modal .modal-title {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.65rem;
    font-weight: 950;
}

.checkout-otp-modal .btn-close {
    flex: 0 0 auto;
    /* margin: 0; */
    padding: .75rem;
    border-radius: 50%;
}

.checkout-otp-modal .modal-body {
    padding: 1.4rem 1.5rem 1.1rem;
}

.checkout-otp-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0 auto .9rem;
    border-radius: 50%;
    color: var(--brand-red);
    background: var(--brand-yellow);
    font-size: 1.55rem;
}

.checkout-otp-copy {
    margin: 0 0 1.1rem;
    color: var(--brand-muted);
    text-align: center;
}

.checkout-otp-copy strong {
    color: var(--brand-ink);
}

.checkout-otp-modal .form-label {
    color: var(--brand-ink);
    font-weight: 850;
}

.checkout-otp-input {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: .35em;
    text-align: center;
}

.checkout-otp-message {
    margin: .75rem 0 0;
    padding: .7rem .8rem;
    border-radius: 10px;
    color: #7b0015;
    background: #fff0f2;
    font-size: .86rem;
    font-weight: 750;
    text-align: center;
}

.checkout-otp-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem .75rem;
    margin-top: .8rem;
}

.checkout-otp-links .btn-link {
    padding: .25rem;
    color: var(--brand-red);
    font-size: .88rem;
    font-weight: 750;
}

.checkout-otp-modal .modal-footer {
    justify-content: flex-end;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid #efd9c6;
    background: rgba(255, 255, 255, .55);
}

.checkout-otp-modal .modal-footer .btn {
    min-height: 44px;
}

@media (max-width: 575.98px) {
    .checkout-otp-modal .modal-dialog {
        width: auto;
        margin: .65rem auto;
        padding: 0 .35rem;
    }

    .checkout-otp-modal .modal-content {
        border-radius: 19px;
    }

    .checkout-otp-modal .modal-header {
        padding: 1.1rem 1rem .9rem;
    }

    .checkout-otp-modal .modal-title {
        font-size: 1.4rem;
    }

    .checkout-otp-modal .modal-body {
        padding: 1.1rem 1rem .9rem;
    }

    .checkout-otp-modal .modal-footer {
        padding: .85rem 1rem 1rem;
    }
}

textarea.checkout-input {
    min-height: 100px;
}

.checkout-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(157, 8, 12, .09);
}

.checkout-choice-grid,
.checkout-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.checkout-choice {
    display: flex;
    min-height: 75px;
    align-items: center;
    gap: .75rem;
    padding: .95rem;
    border: 1px solid #e8cbbb;
    border-radius: 16px;
    color: var(--brand-ink);
    background: #fffdf9;
    text-align: left;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.checkout-choice:hover {
    border-color: #cc8790;
    transform: translateY(-1px);
}

.checkout-choice.active {
    border-color: var(--brand-red);
    background: #fff4e3;
    box-shadow: inset 0 0 0 1px var(--brand-red);
}

.checkout-choice > i:first-child {
    color: var(--brand-red);
    font-size: 1.35rem;
}

.checkout-choice span {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.checkout-choice strong,
.checkout-payment-option strong {
    font-size: 15px;
    font-weight: 900;
}

.checkout-choice small,
.checkout-payment-option small {
    margin-top: .15rem;
    color: var(--brand-muted);
    font-size: 12px;
}

.checkout-choice .choice-check {
    color: var(--brand-red);
    opacity: 0;
}

.checkout-choice.active .choice-check {
    opacity: 1;
}

.checkout-address-search {
    position: relative;
}

.checkout-address-search > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1rem;
    color: var(--brand-red);
    transform: translateY(-50%);
}

.checkout-address-search input {
    padding-left: 2.7rem;
}

.checkout-collection-box {
    display: none;
    align-items: center;
    gap: .5rem;
    padding: 1rem;
    border: 1px solid #e8cbbb;
    border-radius: 16px;
    background: #fff9ee;
}

.checkout-collection-box > i {
    color: var(--brand-red);
    font-size: 1.5rem;
}

.checkout-collection-box strong,
.checkout-collection-box p {
    display: block;
    margin: 0;
}

.checkout-collection-box p {
    margin-top: .15rem;
    color: var(--brand-muted);
    font-size: 13px;
}

.checkout-distance-status {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: .55rem;
    padding: .7rem .85rem;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 750;
}

.checkout-distance-status.is-neutral {
    color: #76584f;
    background: #f8f1e9;
}

.checkout-distance-status.is-success {
    color: #08723d;
    background: #eaf8f0;
}

.checkout-distance-status.is-error {
    color: #9d080c;
    background: #fff0f1;
}

.checkout-time-options {
    display: grid;
    gap: .7rem;
}

.checkout-time-choice,
.checkout-payment-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.checkout-time-choice input,
.checkout-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-time-choice > span,
.checkout-payment-option > span {
    display: flex;
    /* min-height: 72px; */
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem;
    border: 1px solid #e8cbbb;
    border-radius: 15px;
    background: #fffdf9;
}

.checkout-time-choice > span > i,
.checkout-payment-option > span > i {
    color: var(--brand-red);
    font-size: 1.25rem;
}

.checkout-time-choice > span strong,
.checkout-time-choice > span small,
.checkout-payment-option > span strong,
.checkout-payment-option > span small {
    display: block;
}

.checkout-time-choice input:checked + span,
.checkout-payment-option input:checked + span {
    border-color: var(--brand-red);
    background: #fff4e3;
    box-shadow: inset 0 0 0 1px var(--brand-red);
}

.checkout-no-times {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 1rem;
    border-radius: 14px;
    color: var(--brand-red);
    background: #fff0f1;
    font-weight: 750;
}

.invalid-checkout-message {
    display: none;
    margin-top: .55rem;
    color: #b42318;
    font-size: 13px;
    font-weight: 750;
}

.checkout-order-summary {
    top: 125px;
    padding: 1.25rem;
    border: 1px solid #edcda8;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(83, 23, 16, .07);
}

.checkout-estimate {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.0rem;
    padding: 1.05rem 1.15rem;
    border-radius: 13px;
    background: #fff8ec;
}

.checkout-estimate i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 1.35rem;
}

.checkout-estimate small,
.checkout-estimate strong {
    display: block;
}

.checkout-estimate small {
    margin-bottom: .15rem;
    color: #6c5146;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.checkout-estimate strong {
    color: var(--brand-ink);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.15;
}

.checkout-order-summary > h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.035em;
}

.checkout-summary-items {
    display: grid;
    gap: 1rem;
    margin: .7rem 0 1rem;
    padding: .75rem 0 1.2rem;
    border-bottom: 1px solid #edcda8;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
}

.checkout-summary-item > img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 10px;
    background: #fffaf3;
}

.checkout-summary-item-copy {
    min-width: 0;
}

.checkout-summary-item-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: .6rem;
}

.checkout-summary-item-copy strong {
    display: block;
    color: var(--brand-ink);
    /* font-size: 13px; */
    font-weight: 900;
    line-height: 1.35;
}

.checkout-summary-item-copy .checkout-summary-flavour {
    display: block;
    overflow: hidden;
    margin-top: .3rem;
    color: var(--brand-muted);
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
}

.checkout-summary-item-price {
    align-self: start;
    color: var(--brand-red);
    /* font-size: 13px; */
    font-weight: 950;
    white-space: nowrap;
}

.checkout-summary-options {
    margin-top: .4rem;
    border-radius: 10px;
    transition: box-shadow .2s ease;
}

.checkout-summary-options > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 38px;
    padding: .38rem .48rem .38rem .42rem;
    border: 1px solid #edc178;
    border-radius: 10px;
    color: var(--brand-red);
    background: linear-gradient(135deg, #fffaf2 0%, #fff3d9 100%);
    box-shadow: 0 3px 9px rgba(95, 2, 19, .05), inset 0 1px 0 rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.checkout-summary-options > summary::-webkit-details-marker {
    display: none;
}

.checkout-summary-options > summary::marker {
    content: "";
}

.checkout-summary-options > summary > span {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
}

.checkout-summary-options > summary > span::before {
    display: inline-flex;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #fff;
    background: var(--brand-red);
    box-shadow: 0 3px 7px rgba(170, 31, 39, .18);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.checkout-summary-options > summary i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brand-red);
    background: rgba(170, 31, 39, .08);
    font-size: 11px;
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.checkout-summary-options > summary:hover {
    border-color: var(--brand-yellow);
    background: linear-gradient(135deg, #fff8ec 0%, #ffedc8 100%);
    box-shadow: 0 5px 13px rgba(95, 2, 19, .08);
}

.checkout-summary-options > summary:focus-visible {
    outline: 3px solid rgba(253, 186, 76, .35);
    outline-offset: 2px;
}

.checkout-summary-options[open] > summary i {
    transform: rotate(180deg);
    color: #fff;
    background: var(--brand-red);
}

.checkout-summary-options[open] {
    overflow: hidden;
    border: 1px solid #edc178;
    background: #fff;
    box-shadow: 0 6px 16px rgba(95, 2, 19, .07);
}

.checkout-summary-options[open] > summary {
    border: 0;
    border-bottom: 1px solid #edc178;
    border-radius: 9px 9px 0 0;
    box-shadow: none;
}

.checkout-summary-toppings {
    display: grid;
    gap: .25rem;
    margin: 0;
    padding: .35rem;
    color: var(--brand-muted);
    font-size: 12px;
    line-height: 1.4;
}

.checkout-summary-topping-group {
    display: grid;
    grid-template-columns: minmax(78px, 105px) minmax(0, 1fr);
    gap: .4rem;
    padding: .32rem .42rem;
    border-radius: 7px;
    background: var(--brand-cream);
}

.checkout-summary-topping-type {
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 800;
}

.checkout-summary-topping-selections {
    display: grid;
    min-width: 0;
}

.checkout-summary-topping-selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem;
    min-width: 0;
}

.checkout-summary-topping-selection + .checkout-summary-topping-selection {
    margin-top: .2rem;
    padding-top: .2rem;
    border-top: 1px dashed var(--brand-border);
}

.checkout-summary-topping-selection span:first-child {
    overflow-wrap: anywhere;
}

.checkout-summary-topping-selection span:last-child {
    color: var(--brand-red);
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .checkout-summary-topping-group {
        grid-template-columns: 76px minmax(0, 1fr);
        padding: .3rem .38rem;
    }
}

.checkout-summary-totals {
    display: grid;
    gap: .72rem;
}

.checkout-summary-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #5e443c;
    /* font-size: 13px; */
}

.checkout-summary-totals strong {
    color: var(--brand-ink);
    font-weight: 900;
    text-align: right;
}

.checkout-summary-totals .checkout-summary-grand {
    align-items: center;
    margin-top: .35rem;
    padding-top: 1.2rem;
    border-top: 1px solid #edcda8;
    color: var(--brand-ink);
    font-size: 20px;
    font-weight: 950;
}

.checkout-summary-grand strong {
    color: var(--brand-red);
    font-size: 24px;
    letter-spacing: -.03em;
}

.checkout-offer-alert {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin: 1rem 0;
    padding: .9rem;
    border: 1px solid #f0c77f;
    border-radius: 14px;
    color: #543811;
    background: #fff8e8;
}

.checkout-offer-alert.is-applied {
    border-color: #b8dfc9;
    color: #174d34;
    background: #effaf4;
}

.checkout-offer-alert-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--brand-red);
    background: #ffdf98;
    font-size: 17px;
}

.checkout-offer-alert.is-applied .checkout-offer-alert-icon {
    color: #147449;
    background: #d7f1e2;
}

.checkout-offer-alert-content {
    min-width: 0;
    flex: 1;
}

.checkout-offer-alert-title,
.checkout-offer-alert-text,
.checkout-offer-alert-meta {
    margin: 0;
}

.checkout-offer-alert-title {
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.35;
}

.checkout-offer-alert.is-applied .checkout-offer-alert-title {
    color: #135f3d;
}

.checkout-offer-alert-text {
    margin-top: .22rem;
    font-size: 13px;
    line-height: 1.45;
}

.checkout-offer-alert-text strong {
    color: var(--brand-red);
    font-weight: 950;
}

.checkout-offer-alert.is-applied .checkout-offer-alert-text strong {
    color: #147449;
}

.checkout-offer-alert-meta {
    margin-top: .35rem;
    color: #7c5b31;
    font-size: 11px;
    font-weight: 750;
}

.checkout-offer-progress {
    height: 6px;
    overflow: hidden;
    margin-top: .65rem;
    border-radius: 999px;
    background: #f3dfbd;
}

.checkout-offer-progress-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FDBA4CFF, var(--brand-red));
    transition: width .3s ease;
}

.checkout-terms {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    /* margin: 1rem 0; */
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.45;
}

.checkout-terms input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: .08rem;
    accent-color: var(--brand-red);
}

.checkout-terms {
    /* padding: .7rem .8rem; */
    border: 1px solid transparent;
    border-radius: 12px;
    transition: border-color .2s ease, background-color .2s ease;
}

.was-validated .checkout-terms:has(input:invalid) {
    border-color: #dc3545;
    color: #8f0019;
    background: #fff0f2;
}

.was-validated .checkout-terms input:invalid {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

.was-validated .checkout-terms input:invalid + span {
    color: #8f0019;
    font-weight: 700;
}

.was-validated .checkout-terms input:invalid + span::after {
    /* content: "Please confirm before placing your order."; */
    display: block;
    margin-top: .25rem;
    color: #dc3545;
    font-size: 12px;
    font-weight: 700;
}

.checkout-submit {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border-color: #FDBA4CFF;
    border-radius: 12px;
    color: #21130d;
    background: #FDBA4CFF;
    box-shadow: none;
    /* font-size: 13px; */
    font-weight: 950;
}

.checkout-submit:hover,
.checkout-submit:focus {
    border-color: #ffb52f;
    color: #21130d;
    background: #ffb52f;
}

.checkout-submit i {
    font-size: 1rem;
}

.checkout-submit.is-loading i {
    animation: checkout-spin .8s linear infinite;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-allergy {
    margin: .7rem 0 0;
    color: var(--brand-muted);
    font-size: 13px;
    line-height: 1.55;
}

.checkout-saved-note {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 1rem 0 0;
    color: #5f554e;
    font-size: 14px;
    line-height: 1.45;
}

.checkout-saved-note i {
    flex: 0 0 auto;
    margin-top: .05rem;
    color: #168153;
    font-size: 14px;
}

.confirmation-card {
    max-width: 650px;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #efd1bc;
    border-radius: 28px;
    background: white;
    box-shadow: 0 20px 60px rgba(83, 23, 16, .1);
}

.confirmation-icon {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: white;
    background: var(--brand-red);
    box-shadow: 0 0 0 10px #fff0dc;
    font-size: 2rem;
}

.confirmation-lead {
    margin: .75rem 0 1.5rem;
    color: var(--brand-muted);
    font-size: 16px;
}

.confirmation-reference {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .9rem;
    border: 1px dashed #d8a88c;
    border-radius: 14px;
    background: #fff9ee;
}

.confirmation-reference small,
.confirmation-reference strong {
    display: inline;
}

.confirmation-reference small {
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.confirmation-reference strong {
    overflow-wrap: anywhere;
    color: var(--brand-red);
    font-size: 14px;
}

.confirmation-details {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border-radius: 16px;
    background: #fffaf3;
}

.confirmation-details > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--brand-muted);
    font-size: 14px;
}

.confirmation-details strong {
    color: var(--brand-ink);
}

.confirmation-note {
    margin: 1.25rem 0;
    color: var(--brand-muted);
    font-size: 13px;
}

.confirmation-actions {
    margin-top: 1.1rem;
}

.confirmation-secondary-actions {
    margin-top: 1rem;
}

.confirmation-secondary-actions a {
    color: var(--brand-red);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.confirmation-secondary-actions a:hover,
.confirmation-secondary-actions a:focus {
    color: var(--brand-red-dark);
    text-decoration: underline;
}

/* Individual topping groups inside the order-history details modal. */
.dashboard-order-item-copy {
    min-width: 0;
    width: 100%;
    flex: 1;
}

.dashboard-order-item-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: .75rem;
}

.dashboard-order-items .dashboard-order-item-heading > strong {
    margin: 0;
}

.dashboard-order-items .dashboard-order-product-price {
    color: var(--brand-red);
    white-space: nowrap;
}

.dashboard-order-toppings {
    display: grid;
    gap: .35rem;
    margin: .55rem 0 0;
    padding: .5rem 0 0;
    border-top: 1px dashed var(--brand-border);
    list-style: none;
}

.dashboard-order-items .dashboard-order-toppings > li {
    display: grid;
    grid-template-columns: minmax(105px, 155px) minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
    padding: .45rem .6rem;
    border: 0;
    border-radius: 9px;
    background: var(--brand-cream);
    color: var(--brand-muted);
    font-size: 13px;
    line-height: 1.35;
}

.dashboard-order-topping-selections {
    display: grid;
    min-width: 0;
}

.dashboard-order-topping-selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: .5rem;
    min-width: 0;
    padding: 0 0 .3rem;
    border-bottom: 1px dashed var(--brand-border);
}

.dashboard-order-topping-selection + .dashboard-order-topping-selection {
    padding-top: .3rem;
}

.dashboard-order-topping-selection:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-order-items .dashboard-order-toppings .dashboard-order-topping-type,
.dashboard-order-items .dashboard-order-toppings .dashboard-order-topping-name,
.dashboard-order-items .dashboard-order-toppings .dashboard-order-topping-price {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}

.dashboard-order-items .dashboard-order-toppings .dashboard-order-topping-type {
    color: var(--brand-ink);
    font-weight: 800;
}

.dashboard-order-items .dashboard-order-toppings .dashboard-order-topping-name {
    color: var(--brand-muted);
    overflow-wrap: anywhere;
}

.dashboard-order-items .dashboard-order-toppings .dashboard-order-topping-price {
    color: var(--brand-red);
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .dashboard-order-items .dashboard-order-toppings > li {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: .45rem;
        padding: .4rem .5rem;
    }
}

.pac-container {
    z-index: 20000 !important;
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid #e8cbbb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(52, 17, 13, .14);
    font-family: inherit !important;
}

.pac-container .pac-item {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #f1e4da;
    color: var(--brand-muted);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
}

.pac-container .pac-item:first-child {
    border-top: 0;
}

.pac-container .pac-item:hover,
.pac-container .pac-item-selected {
    background: #fff7e8;
}

.pac-container .pac-icon {
    flex: 0 0 auto;
    margin-top: 0;
    margin-right: 12px;
}

.pac-container .pac-item-query {
    margin-right: 4px;
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 700;
}

.pac-container .pac-matched {
    color: var(--brand-red);
    font-weight: 800;
}

/* Keep Google's required attribution clear and unobstructed. */
.pac-container.pac-logo::after {
    margin: 5px 10px 7px;
}

@media (max-width: 767.98px) {
    .checkout-page-heading {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .checkout-choice-grid,
    .checkout-payment-grid {
        /* grid-template-columns: 1fr; */
    }

    .checkout-panel {
        border-radius: 18px;
    }
}

/* Compact mobile menu cards */
@media (max-width: 575.98px) {
    .menu-main > .container-xxl {
        padding-right: .7rem;
        padding-left: .7rem;
    }

    .menu-main .menu-section {
        padding-top: 1.15rem;
        padding-bottom: 2rem;
    }

    .menu-main .menu-section .row {
        --bs-gutter-y: .75rem;
    }

    .menu-main .product-card {
        display: grid;
        min-height: 116px;
        grid-template-columns: minmax(0, 1fr) 108px;
        grid-template-areas: "content image";
        overflow: hidden;
        border: 1px solid #ead7c7;
        border-radius: 17px;
        background: white;
        box-shadow: 0 7px 20px rgba(83, 23, 16, .06);
    }

    .menu-main .product-card:hover {
        border-color: #e1c4ad;
        box-shadow: 0 7px 20px rgba(83, 23, 16, .06);
        transform: none;
    }

    .menu-main .product-image-button,
    .menu-six-column .product-image-button {
        display: flex;
        width: 108px;
        height: 100%;
        min-height: 114px;
        grid-area: image;
        align-items: center;
        justify-content: center;
        padding: .7rem .65rem;
        background: linear-gradient(135deg, #fffdf8, #fff4df);
    }

    .menu-main .product-image-button img,
    .menu-six-column .product-image-button img {
        display: block;
        width: 92px;
        max-width: 100%;
        height: 92px;
        max-height: 92px;
        margin: auto;
        object-fit: contain;
    }

    .menu-main .product-card:hover .product-image-button img {
        transform: none;
    }

    .menu-main .popular-badge,
    .menu-six-column .popular-badge {
        top: .4rem;
        right: .4rem;
        left: auto;
        padding: .22rem .38rem;
        font-size: .5rem;
    }

    .menu-main .product-card-body,
    .menu-six-column .product-card-body {
        min-width: 0;
        grid-area: content;
        padding: .7rem .35rem .7rem .8rem;
    }

    .menu-main .product-card h3,
    .menu-six-column .product-card h3 {
        display: -webkit-box;
        order: 1;
        margin: 0;
        overflow: hidden;
        color: var(--brand-ink);
        font-size: .88rem;
        font-weight: 900;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .menu-main .product-card-meta {
        order: 2;
        justify-content: flex-start !important;
        margin-top: .28rem !important;
    }

    .menu-main .product-card-body strong,
    .menu-six-column .product-card-body strong {
        color: var(--brand-red);
        font-size: .88rem;
        font-weight: 950;
    }

    .menu-main .product-card p,
    .menu-six-column .product-card p {
        display: -webkit-box;
        min-height: 0;
        order: 3;
        margin: .28rem 0 0;
        overflow: hidden;
        color: #74655f;
        font-size: .76rem;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .menu-main .product-card .add-circle {
        display: none;
    }
}

/* Mobile basket dock and bottom sheet */
.mobile-cart-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1038;
    padding: .65rem .7rem calc(.65rem + env(safe-area-inset-bottom));
    pointer-events: none;
}

.mobile-cart-dock-button {
    display: grid;
    width: 100%;
    min-height: 54px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .45rem .85rem;
    border: 2px solid var(--brand-yellow);
    border-radius: 999px;
    color: white;
    background: var(--brand-red);
    box-shadow: 0 12px 32px rgba(91, 0, 17, .28);
    pointer-events: auto;
}

.mobile-cart-dock-button:focus-visible {
    outline: 3px solid rgba(252, 203, 97, .65);
    outline-offset: 2px;
}

.mobile-cart-count-pill {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    color: #241510;
    background: var(--brand-yellow);
    font-size: .72rem;
    font-weight: 950;
    white-space: nowrap;
}

.mobile-cart-dock-button > strong {
    overflow: hidden;
    font-size: .88rem;
    font-weight: 950;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-cart-dock-total {
    color: var(--brand-yellow);
    font-size: .82rem;
    font-weight: 950;
    white-space: nowrap;
}

.mobile-cart-sheet {
    --bs-offcanvas-height: min(84dvh, 690px);
    height: var(--bs-offcanvas-height);
    max-height: calc(100dvh - .5rem);
    overflow: hidden;
    border: 1px solid #e8cdb9;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    color: var(--brand-ink);
    background: #fffdf9;
    box-shadow: 0 -18px 60px rgba(65, 0, 12, .2);
}

.mobile-cart-sheet::before {
    position: absolute;
    top: .45rem;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: #e1c4ad;
    content: "";
    transform: translateX(-50%);
}

.mobile-cart-sheet-header {
    flex: 0 0 auto;
    align-items: flex-start;
    padding: 1.35rem 1rem .95rem;
    border-bottom: 1px solid #ead7c7;
    background: white;
}

.mobile-cart-sheet-header small {
    display: block;
    margin-bottom: .18rem;
    color: var(--brand-red);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mobile-cart-sheet-header h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.25;
}

.mobile-cart-sheet-header .btn-close {
    width: 34px;
    height: 34px;
    /* margin: -.1rem 0 0; */
    padding: .45rem;
    border-radius: 50%;
    background-color: #fff3df;
    opacity: .8;
}

.mobile-cart-sheet-body {
    padding: 0 1rem;
    overscroll-behavior: contain;
}

.mobile-cart-sheet-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: .8rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid #eadfd6;
    transition: opacity .2s ease;
}

.mobile-cart-sheet-item.is-loading {
    opacity: .45;
    pointer-events: none;
}

.mobile-cart-sheet-stepper {
    display: grid;
    height: 36px;
    grid-template-columns: 22px minmax(20px, 1fr) 22px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e1d8d1;
    border-radius: 999px;
    background: #fffaf2;
}

.mobile-cart-sheet-stepper button {
    display: grid;
    height: 100%;
    padding: 0;
    place-items: center;
    border: 0;
    color: var(--brand-red);
    background: transparent;
    font-size: .75rem;
}

.mobile-cart-sheet-stepper strong {
    color: var(--brand-ink);
    font-size: .76rem;
    text-align: center;
}

.mobile-cart-sheet-item-copy {
    min-width: 0;
}

.mobile-cart-sheet-item-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 28px;
    align-items: start;
    gap: .45rem;
}

.mobile-cart-sheet-item-heading h3 {
    margin: 0;
    color: var(--brand-ink);
    font-size: .9rem;
    font-weight: 950;
    line-height: 1.25;
}

.mobile-cart-sheet-item-title {
    min-width: 0;
}

.mobile-cart-sheet-item-title p {
    margin: .22rem 0 0;
    color: #756761;
    font-size: .72rem;
    line-height: 1.3;
}

.mobile-cart-sheet-item-title p span {
    color: var(--brand-red);
    font-weight: 850;
}

.mobile-cart-sheet-item-heading > strong {
    color: var(--brand-red);
    font-size: .84rem;
    font-weight: 950;
    white-space: nowrap;
}

.mobile-cart-sheet-remove {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--brand-red);
    background: #fff0f1;
    font-size: .75rem;
}

.mobile-cart-option-group {
    margin-top: .65rem;
    padding-left: .65rem;
    border-left: 2px solid var(--brand-red);
}

.mobile-cart-option-group small {
    display: block;
    margin-bottom: .15rem;
    color: #8a7c75;
    font-size: .68rem;
    font-weight: 800;
}

.mobile-cart-option-group p {
    margin: .08rem 0 0;
    color: #473934;
    font-size: .73rem;
    line-height: 1.35;
}

.mobile-cart-option-group p span {
    color: var(--brand-red);
    font-weight: 800;
}

.mobile-cart-sheet-edit {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .75rem;
    padding: 0;
    border: 0;
    color: var(--brand-red);
    background: transparent;
    font-size: .7rem;
    font-weight: 900;
}

.mobile-cart-sheet-empty {
    display: grid;
    min-height: 230px;
    place-items: center;
    align-content: center;
    gap: .7rem;
    color: var(--brand-muted);
}

.mobile-cart-sheet-empty i {
    color: var(--brand-red);
    font-size: 2rem;
}

.mobile-cart-sheet-footer {
    flex: 0 0 auto;
    padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom));
    border-top: 1px solid #ead7c7;
    background: white;
    box-shadow: 0 -8px 24px rgba(63, 24, 18, .06);
}

.mobile-cart-sheet-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
    font-size: .95rem;
    font-weight: 950;
}

.mobile-cart-sheet-total strong {
    color: var(--brand-red);
    font-size: 1.05rem;
}

.mobile-cart-sheet-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: .65rem;
}

.mobile-cart-sheet-actions .btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 950;
}

@media (max-width: 575.98px) {
    body.has-mobile-cart-dock .menu-main {
        padding-bottom: 82px;
    }
}

@media (min-width: 576px) {
    .mobile-cart-dock,
    .mobile-cart-sheet {
        display: none !important;
    }
}
@media (max-width: 575.98px) {
    .category-scroll-button {
        display: none;
    }

    .category-nav-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* New postcode-first ordering home */
.index-order-body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #5a0012;
}

.index-order-body .entry-header {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
}

.index-order-body .entry-header .container-xxl {
    max-width: 1580px;
}

.index-order-body .entry-header .brand-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.index-order-body .entry-header .basket-pill {
    min-height: 58px;
    margin-left: auto;
    padding: .75rem 1.45rem;
    border: 1px solid #FDBA4CFF;
    border-radius: 999px;
    background: #FDBA4CFF;
    color: var(--brand-red);
    box-shadow: none;
    font-size: 1rem;
    font-weight: 950;
}

.index-order-body .entry-header .basket-pill:hover {
    border-color: #ffd172;
    background: #ffd172;
    color: var(--brand-red-dark);
}

.entry-account-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    gap: .65rem;
    padding: .75rem 1.45rem;
    border: 1px solid #FDBA4CFF;
    border-radius: 999px;
    color: white;
    font-size: 1rem;
    font-weight: 950;
    opacity: 1 !important;
}

a.entry-account-button {
    text-decoration: none;
}

.entry-account-button i {
    color: #FDBA4CFF;
    font-size: 1.25rem;
}

.index-order-main {
    min-height: 100vh;
    isolation: isolate;
}

.index-order-background,
.index-order-overlay {
    position: absolute;
    inset: 0;
}

.index-order-background {
    z-index: -3;
    background-color: #5a0012;
    background-image: url('../images/grilled-composition.png');
    background-position: center;
    background-size: cover;
}

.index-order-overlay {
    z-index: -2;
    background: rgba(82, 0, 16, .64);
}

.index-order-copy {
    width: min(100%, 840px);
    padding-top: 7.5rem;
}

.index-order-copy h1 {
    margin: 0;
    /* color: #FDBA4CFF; */
    color: #FDBA4CFF;
    font-size: clamp(2.6rem, 4.2vw, 4.25rem);
    font-weight: 950;
    line-height: .98;
    text-shadow: 0 3px 0 rgba(91, 0, 15, .28);
}

.index-order-card {
    width: min(100%, 840px);
    padding: 2.25rem 2.6rem 2.05rem;
    border: 1px solid rgba(255, 194, 77, .72);
    border-radius: 32px;
    background: #fff8ed;
    box-shadow: 0 13px 0 rgba(75, 0, 12, .58), 0 24px 45px rgba(30, 0, 5, .18);
}

.index-order-card h2 {
    margin: 0 0 1.7rem;
    color: var(--brand-red);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 950;
}

.index-order-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.index-order-actions button {
    display: inline-flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: .9rem 1.3rem;
    border: 0;
    border-radius: 999px;
    background: var(--brand-red);
    color: white;
    box-shadow: 0 9px 0 #740016;
    font-size: 1.15rem;
    font-weight: 950;
    transition: transform .18s ease, background-color .18s ease;
}

.index-order-actions button:hover {
    transform: translateY(-2px);
    background: #c60025;
}

.index-order-actions button:active {
    transform: translateY(3px);
}

.index-order-actions i {
    color: #FDBA4CFF;
    font-size: 1.25rem;
}

.index-order-footer {
    z-index: 2;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 194, 77, .22);
    background: rgba(174, 0, 32, .95);
    color: white;
    font-size: .85rem;
    font-weight: 900;
}

.index-order-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.35rem;
}

.index-order-footer a {
    color: white;
    text-decoration: none;
}

.index-order-footer a:hover {
    color: #FDBA4CFF;
}

.home-order-dialog {
    width: min(840px, calc(100% - 1.5rem));
    max-width: 840px;
}

.home-order-modal {
    overflow: hidden;
    border: 1px solid #edc9a7;
    border-radius: 28px;
    background: #fffdf9;
    box-shadow: 0 28px 80px rgba(35, 0, 7, .3);
}

.home-order-close {
    position: absolute;
    z-index: 5;
    top: 1rem;
    right: 1rem;
    width: 2.6rem;
    height: 2.6rem;
    padding: .65rem;
    border: 1px solid #ead4c0;
    border-radius: .7rem;
    background-color: white;
    box-shadow: 0 3px 8px rgba(35, 0, 7, .08);
    opacity: 1;
}

.home-order-modal-header {
    padding: 1.7rem 4rem 1.6rem;
    border-bottom: 1px solid #ead2bd;
    background: #fff8ed;
    text-align: center;
}

.home-order-modal-header img {
    width: 66px;
    height: 66px;
    margin-bottom: .8rem;
    object-fit: contain;
}

.home-order-modal-header h2 {
    margin: 0;
    color: #171313;
    font-size: clamp(1.75rem, 4vw, 2.15rem);
    font-weight: 950;
}

.home-order-modal-header p {
    margin: .35rem 0 0;
    color: #715347;
}

.home-order-modal-body {
    padding: 1.65rem;
}

.home-order-type-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
    padding: .38rem;
    border: 1px solid #edd2b8;
    border-radius: 14px;
    background: #fff8ed;
}

.home-order-type-switch button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6e4d40;
    font-weight: 950;
}

.home-order-type-switch button.active {
    background: var(--brand-red);
    color: white;
}

.home-order-type-switch button i {
    color: inherit;
}

.home-order-search-panel {
    margin-top: 1.3rem;
    padding: 1rem;
    border: 1px solid #edd2b8;
    border-radius: 14px;
    background: #fff8ed;
}

.home-order-search-panel > label {
    display: block;
    margin-bottom: .8rem;
    color: #281b17;
    font-size: .9rem;
    font-weight: 950;
}

.home-order-search-controls {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    gap: .75rem;
}

.home-order-postcode-field {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: .7rem;
    padding: 0 1rem;
    border: 1px solid #e9cdb3;
    border-radius: 11px;
    background: white;
}

.home-order-postcode-field:focus-within {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(174, 0, 32, .1);
}

.home-order-postcode-field i {
    color: var(--brand-red);
    font-size: 1.1rem;
}

.home-order-postcode-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #251915;
    font-weight: 800;
}

.home-current-location,
.home-order-search-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 11px;
    font-weight: 950;
}

.home-current-location {
    padding: .75rem 1rem;
    border: 1px solid #e9cdb3;
    background: white;
    color: var(--brand-red);
}

.home-current-location.is-loading i {
    animation: spin .8s linear infinite;
}

.home-order-search-button {
    min-width: 100px;
    padding: .75rem 1.15rem;
    border: 1px solid #FDBA4CFF;
    background: #FDBA4CFF;
    color: #20140f;
    box-shadow: 0 3px 7px rgba(85, 42, 0, .14);
}

.home-current-location:disabled,
.home-order-search-button:disabled,
.home-branch-select:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.home-order-search-error {
    margin-top: .75rem;
    color: var(--brand-red);
    font-size: .82rem;
    font-weight: 850;
}

.home-branch-results {
    margin-top: 1.45rem;
}

.home-branch-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.home-branch-results-heading h3 {
    margin: 0;
    color: var(--brand-red);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-branch-results-heading span {
    color: #715347;
    font-size: .78rem;
    font-weight: 900;
}

.home-branch-results-list {
    display: grid;
    gap: .8rem;
}

.home-branch-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e9c8ab;
    border-radius: 13px;
    background: white;
}

.home-branch-result.is-unavailable {
    background: #faf7f3;
}

.home-branch-result-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
}

.home-branch-result-heading h4 {
    margin: 0;
    color: #251a16;
    font-size: 1.08rem;
    font-weight: 950;
}

.home-branch-result-heading > span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 950;
    text-transform: uppercase;
}

.home-branch-result-heading > span i {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: currentColor;
}

.home-branch-result-heading .is-open {
    border: 1px solid #bde4cc;
    background: #eefaf3;
    color: #08743c;
}

.home-branch-result-heading .is-closed {
    border: 1px solid #ecc5c5;
    background: #fff1f1;
    color: #a02929;
}

.home-branch-address {
    display: flex;
    gap: .6rem;
    margin: .65rem 0 .8rem;
    color: #755649;
    font-size: .84rem;
}

.home-branch-address i {
    color: var(--brand-red);
}

.home-branch-address small {
    display: block;
    margin-top: .15rem;
    color: #977a6e;
}

.home-branch-result-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem 1.2rem;
}

.home-branch-result-details div {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    font-size: .76rem;
}

.home-branch-result-details span {
    color: #765548;
}

.home-branch-result-details strong {
    color: #50352c;
}

.home-branch-unavailable {
    margin: .7rem 0 0;
    color: #9a2835;
    font-size: .76rem;
    font-weight: 800;
}

.home-branch-unavailable i {
    margin-right: .35rem;
}

.home-branch-result.is-browse-only {
    border-color: #efc477;
    background: #fffaf0;
}

.home-branch-browse-note {
    margin: .7rem 0 0;
    color: #8a5900;
    font-size: .76rem;
    font-weight: 800;
}

.home-branch-browse-note i {
    margin-right: .35rem;
}

.home-branch-select {
    min-width: 170px;
    min-height: 50px;
    padding: .75rem 1rem;
    border: 0;
    border-radius: 10px;
    background: #FDBA4CFF;
    color: #20140f;
    box-shadow: 0 4px 8px rgba(85, 42, 0, .12);
    font-size: .84rem;
    font-weight: 950;
}

.home-branch-result.is-unavailable .home-branch-select {
    background: #e5ddd7;
    box-shadow: none;
    color: #695a54;
}

.home-branch-empty {
    display: grid;
    justify-items: center;
    gap: .35rem;
    padding: 2rem 1rem;
    border: 1px dashed #dfc2a7;
    border-radius: 13px;
    color: #765548;
    text-align: center;
}

.home-branch-empty i {
    color: var(--brand-red);
    font-size: 1.5rem;
}

.home-branch-empty strong {
    color: #2c1d18;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767.98px) {
    .index-order-body .entry-header .container-xxl {
        padding-top: .8rem !important;
        padding-bottom: .8rem !important;
    }

    .index-order-body .entry-header .brand-logo {
        width: 54px;
        height: 54px;
    }

    .index-order-body .entry-header .basket-pill,
    .entry-account-button {
        min-height: 45px;
        padding: .55rem .85rem;
        font-size: .8rem;
    }

    .index-order-copy {
        padding-top: 6rem;
    }

    .index-order-card {
        padding: 1.6rem 1.2rem 1.5rem;
        border-radius: 23px;
    }

    .index-order-actions button {
        min-height: 60px;
        font-size: .95rem;
    }

    .home-order-dialog {
        width: calc(100% - .75rem);
        margin-right: auto;
        margin-left: auto;
    }

    .home-order-modal {
        border-radius: 20px;
    }

    .home-order-modal-header {
        padding: 1.35rem 3.5rem 1.2rem;
    }

    .home-order-modal-header img {
        width: 52px;
        height: 52px;
    }

    .home-order-modal-body {
        padding: 1rem;
    }

    .home-order-search-controls {
        grid-template-columns: 1fr auto;
    }

    .home-order-postcode-field {
        grid-column: 1 / -1;
    }

    .home-current-location {
        width: 100%;
    }

    .home-branch-result {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .home-branch-select {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .index-order-body .entry-header .basket-pill {
        min-width: 46px;
        justify-content: center;
    }

    .entry-account-button {
        width: 46px;
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

    .index-order-copy h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .index-order-actions {
        grid-template-columns: 1fr;
    }

    .index-order-footer nav {
        justify-content: center;
        gap: .8rem 1rem;
    }

    .home-order-type-switch button {
        min-height: 44px;
        font-size: .82rem;
    }

    .home-order-search-controls {
        grid-template-columns: 1fr;
    }

    .home-order-postcode-field {
        grid-column: auto;
    }

    .home-order-search-button {
        width: 100%;
    }

    .home-branch-result-details {
        grid-template-columns: 1fr;
    }
}

/* Index viewport and colour refinements */
.index-order-body {
    /* --index-home-red: #620014; */
    --index-home-red: #AA1F27FF;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    background: var(--index-home-red);
}

.index-order-body .entry-header {
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
}

.index-order-main {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    background: var(--index-home-red);
}

.index-order-main > section {
    min-height: 0;
    padding-top: clamp(5.5rem, 13vh, 8rem) !important;
    padding-bottom: clamp(.65rem, 2vh, 1.5rem) !important;
}

.index-order-background {
    background-color: var(--index-home-red);
    background-position: center center;
    background-size: cover;
}

.index-order-overlay {
    background: rgba(98, 0, 20, .56);
}

.index-order-copy {
    width: min(100%, 900px);
    padding-top: 0;
}

.index-order-copy h1 {
    font-size: clamp(1.75rem, min(4.2vw, 7vh), 4.25rem);
    line-height: .98;
}

.index-order-heading-line {
    display: block;
}

.index-order-heading-nowrap {
    white-space: nowrap;
}

.index-order-card {
    width: min(100%, 840px);
    margin-top: clamp(.85rem, 2.8vh, 1.5rem) !important;
    padding: clamp(1.15rem, 3.2vh, 2.25rem) clamp(1rem, 3vw, 2.6rem) clamp(1.1rem, 3vh, 2.05rem);
}

.index-order-card h2 {
    margin-bottom: clamp(.8rem, 2.5vh, 1.7rem);
    font-size: clamp(1.15rem, min(2.4vw, 4vh), 2rem);
}

.index-order-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.55rem, 1.3vw, 1rem);
}

.index-previous-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    margin: 0 0 clamp(.75rem, 1.8vh, 1.25rem);
    padding: clamp(.65rem, 1.5vh, .9rem) 1rem;
    border: 1px solid #efc477;
    border-radius: 13px;
    background: white;
    color: #6f5044;
    line-height: 1.35;
}

.index-previous-selection strong {
    color: var(--brand-red);
    font-size: clamp(.78rem, 1vw, .9rem);
    font-weight: 950;
}

.index-previous-selection span {
    font-size: clamp(.76rem, 1vw, .88rem);
    font-weight: 650;
}

.index-previous-selection i {
    padding: 0 .15rem;
    font-style: normal;
}

.index-order-actions button {
    min-height: clamp(48px, 8vh, 72px);
    padding: .65rem 1rem;
    font-size: clamp(.8rem, 1.2vw, 1.15rem);
}

.index-order-actions button.is-selected {
    outline: 4px solid #f5bd49;
    outline-offset: 0;
    box-shadow: 0 9px 0 #740016, 0 0 0 7px rgba(245, 189, 73, .18);
}

.index-order-footer {
    flex: 0 0 auto;
    padding: clamp(.55rem, 1.5vh, 1rem) 0;
    background: var(--index-home-red);
}

@media (max-width: 575.98px) {
    .index-order-body .entry-header .brand-logo {
        width: clamp(42px, 13vw, 54px);
        height: clamp(42px, 13vw, 54px);
    }

    .index-order-main > section {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .index-order-copy h1 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }

    .index-order-card {
        border-radius: 20px;
    }

    .index-previous-selection span {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .index-order-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .index-order-actions button {
        min-width: 0;
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .index-order-footer {
        font-size: .72rem;
    }
}

@media (max-height: 650px) {
    .index-order-body .entry-header .container-xxl {
        padding-top: .55rem !important;
        padding-bottom: .55rem !important;
    }

    .index-order-body .entry-header .brand-logo {
        width: 46px;
        height: 46px;
    }

    .index-order-body .entry-header .basket-pill,
    .index-order-body .entry-account-button {
        min-height: 42px;
        padding-top: .45rem;
        padding-bottom: .45rem;
    }

    .index-order-main > section {
        padding-top: 4.5rem !important;
        padding-bottom: .45rem !important;
    }

    .index-order-card {
        padding-top: .9rem;
        padding-bottom: .9rem;
    }

    .index-previous-selection {
        margin-bottom: .65rem;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .index-order-actions button {
        min-height: 46px;
        box-shadow: 0 5px 0 #740016;
    }

    .index-order-footer {
        padding-top: .45rem;
        padding-bottom: .45rem;
    }
}

@media (max-height: 500px) {
    .index-order-copy h1 {
        font-size: clamp(1.45rem, 7vh, 2.15rem);
    }

    .index-order-card {
        margin-top: .6rem !important;
    }

    .index-order-card h2 {
        margin-bottom: .55rem;
    }

    .index-order-footer {
        font-size: .76rem;
    }
}

/* Compatibility fallback when an older shared header omits index-order-body. */
body.order-entry-body:has(.index-order-main) {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    background: #620014;
}

body.order-entry-body:has(.index-order-main) .entry-header {
    position: absolute !important;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
}

/* Dedicated branch-results modal */
.branch-results-dialog {
    height: min(90vh, 820px);
}

.branch-results-modal {
    height: 100%;
}

.branch-results-modal-header {
    flex: 0 0 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.branch-results-modal-header img {
    width: 48px;
    height: 48px;
    margin-bottom: .35rem;
}

.branch-results-modal-header h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.branch-results-modal-header p {
    margin-top: .2rem;
}

.branch-results-modal-body {
    min-height: 0;
    overflow-y: auto;
}

.branch-results-modal-body > .home-order-search-error {
    margin: 0 0 .8rem;
    padding: .7rem .85rem;
    border: 1px solid #efc2c9;
    border-radius: 10px;
    background: #fff2f4;
}

@media (max-width: 575.98px) {
    .branch-results-dialog {
        width: calc(100% - .5rem);
        height: calc(100dvh - .5rem);
        margin: .25rem auto;
    }

    .branch-results-modal {
        border-radius: 18px;
    }

    .branch-results-modal-header {
        padding: .85rem 3.4rem .75rem;
    }

    .branch-results-modal-header img {
        width: 40px;
        height: 40px;
    }

    .branch-results-modal-body {
        padding: .85rem;
    }
}

/* Compact mobile cart card alignment */
@media (max-width: 575.98px) {
    .cart-item {
        position: relative;
        grid-template-columns: 66px minmax(0, 1fr);
        gap: .55rem;
        padding: .7rem;
    }

    .cart-thumb {
        width: 66px;
        min-height: 66px;
        align-self: start;
        border-radius: 12px;
    }

    .cart-thumb img {
        width: 60px;
        height: 60px;
    }

    .cart-item-copy {
        min-width: 0;
    }

    .cart-item-copy > .d-flex:first-child {
        display: block !important;
    }

    .cart-item-copy > .d-flex:first-child > div:first-child {
        min-width: 0;
        padding-right: 76px;
    }

    .cart-item-copy h2 {
        font-size: .8rem;
        line-height: 1.22;
    }

    .cart-size {
        margin-top: .16rem;
        font-size: .68rem;
        line-height: 1.2;
    }

    .cart-item-actions {
        position: absolute;
        top: .65rem;
        right: .6rem;
        z-index: 2;
        gap: .12rem;
    }

    .cart-edit {
        gap: .18rem;
        padding: .26rem .4rem;
        font-size: .62rem;
    }

    .cart-delete {
        width: 26px;
        height: 26px;
        padding: 0;
        font-size: .68rem;
    }

    .cart-toppings {
        margin-top: .48rem;
        padding-left: .9rem;
        font-size: .7rem;
        line-height: 1.42;
    }

    .cart-toppings li + li {
        margin-top: .08rem;
    }

    .quantity-control.compact {
        min-height: 36px;
    }

    .quantity-control.compact button {
        width: 28px;
        height: 28px;
    }

    .quantity-control.compact strong {
        font-size: .75rem;
    }

    .cart-line-price {
        font-size: .92rem;
    }
}
/* Cart delete confirmation modal */
.cart-delete-confirm-dialog {
    width: calc(100% - 1.5rem);
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
}

.cart-delete-confirm-modal {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid #efcfaa;
    border-radius: 28px;
    background: #fffaf3;
    box-shadow: 0 24px 70px rgba(54, 7, 15, .28);
    text-align: center;
}

.cart-delete-confirm-modal::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-red), #d10b2d 58%, #FDBA4CFF);
    content: '';
}

.cart-delete-confirm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.cart-delete-confirm-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    place-items: center;
    border: 1px solid #f0c8ce;
    border-radius: 50%;
    color: var(--brand-red);
    background: #fff0f2;
    font-size: 1.65rem;
}

.cart-delete-confirm-copy > span {
    display: block;
    margin-bottom: .35rem;
    color: var(--brand-red);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .13em;
}

.cart-delete-confirm-copy h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.55rem;
    font-weight: 950;
}

.cart-delete-confirm-copy p {
    margin: .65rem auto 0;
    color: #75645d;
    font-size: .9rem;
    line-height: 1.5;
}

.cart-delete-confirm-copy p strong {
    color: var(--brand-red);
}

.cart-delete-confirm-error {
    margin-top: 1rem;
    padding: .7rem .8rem;
    border: 1px solid #efbdc5;
    border-radius: 12px;
    color: #93051d;
    background: #fff0f2;
    font-size: .78rem;
    font-weight: 800;
}

.cart-delete-confirm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.35rem;
}

.cart-delete-confirm-actions .btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 950;
}

.cart-delete-keep {
    border: 1px solid #e7cdb7;
    color: var(--brand-red);
    background: white;
}

.cart-delete-keep:hover,
.cart-delete-keep:focus-visible {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background: #fff2df;
}

.cart-delete-confirm {
    border: 1px solid var(--brand-red);
    color: white;
    background: var(--brand-red);
    box-shadow: 0 7px 0 #720014;
}

.cart-delete-confirm:hover,
.cart-delete-confirm:focus-visible {
    border-color: var(--brand-red-dark);
    color: white;
    background: var(--brand-red-dark);
}

.cart-delete-confirm:disabled {
    border-color: #b98b93;
    background: #b98b93;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .cart-delete-confirm-modal {
        padding: 1.65rem 1.05rem 1.15rem;
        border-radius: 22px;
    }

    .cart-delete-confirm-icon {
        width: 58px;
        height: 58px;
        margin-bottom: .8rem;
        font-size: 1.35rem;
    }

    .cart-delete-confirm-copy h2 {
        font-size: 1.25rem;
    }

    .cart-delete-confirm-copy p {
        font-size: .8rem;
    }

    .cart-delete-confirm-actions {
        gap: .55rem;
        margin-top: 1.1rem;
    }

    .cart-delete-confirm-actions .btn {
        min-height: 44px;
        padding: .55rem .65rem;
        font-size: .74rem;
    }
}

/* Privacy policy and terms pages */
.legal-page {
    min-height: 70vh;
    color: var(--brand-ink);
    /* background: #fff9f2; */
}

.legal-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.25rem, 7vw, 1.25rem) 0;
    color: white;
    background: linear-gradient(115deg, var(--brand-red-dark), var(--brand-red));
}

.legal-hero::before,
.legal-hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.legal-hero::before {
    top: -160px;
    right: 7%;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(255, 194, 87, .09);
}

.legal-hero::after {
    right: -55px;
    bottom: -130px;
    width: 290px;
    height: 290px;
    background: rgba(255, 194, 87, .08);
}

.legal-hero-copy {
    width: min(100%, 760px);
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--brand-yellow);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: .75rem 0 0;
    color: white;
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    font-weight: 1000;
    line-height: .98;
    /* letter-spacing: -.045em; */
}

.legal-hero p {
    max-width: 650px;
    margin: 1.0rem 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(.9rem, 2vw, 1.05rem);
    font-weight: 600;
    line-height: 1.7;
}

.legal-content-section {
    padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--ordering-header-height, 151px) + 16px);
    max-height: calc(100vh - var(--ordering-header-height, 151px) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #edd5c1 transparent;
    padding: 1.25rem;
    border: 1px solid #edd5c1;
    border-radius: 22px;
    background: #fffdf9;
    box-shadow: 0 18px 48px rgba(83, 35, 22, .06);
}

.legal-sidebar > span {
    display: block;
    margin-bottom: .7rem;
    color: var(--brand-red);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.legal-sidebar nav {
    display: grid;
    gap: .2rem;
}

.legal-sidebar nav a {
    display: flex;
    min-height: 39px;
    align-items: center;
    padding: .55rem .7rem;
    border-radius: 10px;
    color: #604b45;
    /* font-size: .78rem; */
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
}

.legal-sidebar nav a:hover,
.legal-sidebar nav a:focus-visible {
    color: var(--brand-red);
    background: #fff1df;
}

.legal-help-card {
    margin-top: 1.15rem;
    padding: 1rem;
    border-radius: 15px;
    color: white;
    background: var(--brand-red);
}

.legal-help-card > i {
    color: var(--brand-yellow);
    font-size: 1.35rem;
}

.legal-help-card strong,
.legal-help-card p {
    display: block;
}

.legal-help-card strong {
    margin-top: .55rem;
    font-size: .92rem;
}

.legal-help-card p {
    margin: .35rem 0 .65rem;
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    line-height: 1.5;
}

.legal-help-card a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--brand-yellow);
    font-size: .72rem;
    font-weight: 900;
    text-decoration: none;
}

.legal-document {
    overflow: hidden;
    border: 1px solid #edd5c1;
    border-radius: 28px;
    background: white;
    box-shadow: 0 24px 65px rgba(83, 35, 22, .07);
}

.legal-section {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 1.25rem;
    padding: clamp(1.4rem, 4vw, 2.35rem);
    scroll-margin-top: calc(var(--ordering-header-height, 151px) + 24px);
    font-weight: bold;
}

.legal-section + .legal-section {
    border-top: 1px solid #f0ddcd;
}

.legal-section-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: var(--brand-red);
    background: #fff0d7;
    font-size: .72rem;
    font-weight: 950;
}

.legal-section h2 {
    margin: .2rem 0 .8rem;
    color: #281715;
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-weight: 950;
    letter-spacing: -.025em;
}

.legal-section p,
.legal-section li,
.legal-definitions dd {
    color: #6e5a53;
    font-size: .92rem;
    line-height: 1.75;
}

.legal-section p {
    margin: 0;
}

.legal-section p + p {
    margin-top: .8rem;
}

.legal-list {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding-left: 1.45rem;
}

.legal-list li::before {
    position: absolute;
    top: .72em;
    left: .15rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 4px #fff0d7;
    content: '';
}

.legal-definitions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin: 1.25rem 0 0;
}

.legal-definitions > div {
    padding: 1rem;
    border: 1px solid #f0ddcd;
    border-radius: 14px;
    background: #fffaf4;
}

.legal-definitions dt {
    margin-bottom: .35rem;
    color: var(--brand-red);
    font-size: .92rem;
    font-weight: 950;
}

.legal-definitions dd {
    margin: 0;
    font-size: .90rem;
    line-height: 1.6;
}

.legal-definitions a {
    color: var(--brand-red);
    font-weight: 800;
}

.legal-section-alert {
    background: #fff9ea;
}

.legal-section-alert .legal-section-number {
    color: #8b2d00;
    background: var(--brand-yellow);
}

@media (max-width: 991.98px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .legal-sidebar {
        position: sticky;
        z-index: 1020;
        top: var(--ordering-header-height, 128px);
        width: 100%;
        min-width: 0;
        max-width: 100%;
        max-height: none;
        padding: .65rem;
        overflow: hidden;
        border-radius: 16px;
        background: #fffdf9;
        box-shadow: 0 10px 24px rgba(83, 35, 22, .08);
    }

    .legal-sidebar > span {
        display: none;
    }

    .legal-sidebar nav {
        display: flex;
        gap: .5rem;
        width: 100%;
        min-width: 0;
        padding: 1px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
    }

    .legal-sidebar nav::-webkit-scrollbar {
        display: none;
    }

    .legal-sidebar nav a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: .6rem .9rem;
        border: 1px solid #edd5c1;
        border-radius: 999px;
        background: white;
        font-size: .78rem;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .legal-sidebar nav a:hover,
    .legal-sidebar nav a:focus-visible {
        border-color: var(--brand-red);
        color: white;
        background: var(--brand-red);
    }

    .legal-help-card {
        display: none;
    }

    .legal-section {
        scroll-margin-top: calc(var(--ordering-header-height, 128px) + 76px);
    }
}

@media (max-width: 575.98px) {
    .legal-hero {
        padding: 2.7rem 0;
    }

    .legal-hero h1 {
        font-size: 2.35rem;
    }

    .legal-sidebar {
        padding: .6rem;
        border-radius: 14px;
    }

    .legal-sidebar nav {
        display: flex;
    }

    .legal-document {
        border-radius: 20px;
    }

    .legal-section {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: .75rem;
        padding: 1.15rem;
    }

    .legal-section-number {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: .65rem;
    }

    .legal-section h2 {
        margin-top: .1rem;
        font-size: 1.08rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: .8rem;
        line-height: 1.65;
    }

    .legal-definitions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .checkout-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .checkout-choice {
        min-height: 50px;
        padding: 10px 12px;
        gap: 8px;
        border-radius: 14px;
    }

    .checkout-choice > i:not(.choice-check) {
        flex: 0 0 auto;
        font-size: 18px;
    }

    .checkout-choice span {
        min-width: 0;
    }

    .checkout-choice span strong {
        display: block;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .checkout-choice span small {
        display: none;
    }

    .checkout-choice .choice-check {
        margin-left: auto;
        font-size: 14px;
    }
}

/* Hide Bootstrap validation icon from checkout password fields only */
.was-validated #checkoutAccountPassword:invalid,
.was-validated #checkoutAccountConfirmPassword:invalid,
#checkoutAccountPassword.is-invalid,
#checkoutAccountConfirmPassword.is-invalid {
    background-image: none !important;
    padding-right: 48px !important;
}

/* Compact two-row ordering header on phones. */
@media (max-width: 575.98px) {
    .ordering-header > .container-xxl {
        padding-top: .45rem !important;
        padding-bottom: .45rem !important;
    }

    .ordering-header > .container-xxl > .row {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: .55rem;
        row-gap: .38rem;
        margin: 0;

        --bs-gutter-x: .75rem;
        --bs-gutter-y: .38rem;
    }
    /* .ordering-header > .container-xxl > .row {
        grid-template-columns: 64px minmax(0, 1fr);
    } */
    .ordering-header > .container-xxl > .row > :nth-child(1),
    .ordering-header > .container-xxl > .row > :nth-child(2) {
        width: auto;
        padding: 0;
    }

    .ordering-header > .container-xxl > .row > :nth-child(1) {
        grid-column: 1;
    }

    .ordering-header > .container-xxl > .row > :nth-child(2) {
        grid-column: 2;
    }

    .ordering-header > .container-xxl > .row > :nth-child(2) > .d-flex {
        width: 100%;
        gap: .45rem !important;
    }

    .ordering-header > .container-xxl > .row > :nth-child(3) {
        grid-column: 1 / -1;
        width: auto;
        padding: 0;
    }

    .ordering-header .brand-link {
        min-height: 40px;
    }
    /* .ordering-header .brand-logo {
        width: auto;
        height: 60px;
    } */
    .ordering-header .brand-logo {
        width: auto;
        max-width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .ordering-header .profile-circle {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: .85rem;
    }

    .ordering-header .profile-circle-signed-in {
        position: relative;
        overflow: visible;
        border-color: var(--brand-yellow);
        color: var(--brand-red);
        background: var(--brand-yellow);
    }

    .ordering-header .profile-circle-signed-in .profile-account-icon {
        display: none;
    }

    .ordering-header .profile-initials {
        display: inline-block;
        font-size: .68rem;
        font-weight: 1000;
        letter-spacing: .025em;
        line-height: 1;
    }

    .ordering-header .profile-status-badge {
        position: absolute;
        right: -3px;
        bottom: -2px;
        display: grid;
        width: 15px;
        height: 15px;
        place-items: center;
        border: 2px solid var(--brand-red);
        border-radius: 50%;
        color: #fff;
        background: #198754;
        font-size: .58rem;
        line-height: 1;
    }

    .ordering-header .profile-status-badge i {
        line-height: 1;
    }

    .ordering-header .account-header-dropdown .dropdown-toggle::after {
        display: none;
    }
    /* .ordering-header .mobile-header-order-switch {
        flex: 1 1 auto;
        max-width: none;
        padding: 3px;
    } */
    .ordering-header .mobile-header-order-switch {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
        margin-left: 0;
        padding: 3px;
    }

    .ordering-header .mobile-header-order-switch button {
        /* min-height: 32px;
        padding: .3rem .5rem;
        font-size: .64rem; */
        min-width: 0;
        min-height: 32px;
        padding: .3rem .35rem;
        font-size: .80rem;
        white-space: nowrap;
    }

    .ordering-header .ordering-meta {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin: 0;
    }

    .ordering-header .header-branch-column {
        padding: 0;
    }

    .ordering-header .header-branch-column .meta-button {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 20px;
        min-height: 39px;
        align-items: center;
        gap: .4rem;
        padding: .35rem .5rem;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 11px;
        background: rgba(255, 255, 255, .08);
    }

    .ordering-header .header-branch-column .meta-button::after {
        grid-column: 3;
        color: var(--brand-yellow);
        content: "›";
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }

    .ordering-header .header-branch-column .meta-label {
        display: grid;
        grid-column: 1;
        width: 22px;
        height: 22px;
        place-items: center;
        color: var(--brand-yellow);
        font-size: 0;
    }

    .ordering-header .header-branch-column .meta-label i {
        font-size: .78rem;
    }

    .ordering-header .header-branch-column strong {
        grid-column: 2;
        margin: 0;
        color: #fff;
        font-size: .85rem;
        line-height: 1.2;
    }

    .ordering-header .header-branch-column small {
        display: none;
    }

    .menu-main .category-nav {
        top: var(--ordering-header-height, 101px);
    }

    .menu-main .menu-section {
        scroll-margin-top: calc(var(--ordering-header-height, 101px) + 64px);
    }
}

@media (max-width: 360px) {
    .ordering-header .mobile-header-order-switch {
        max-width: 140px;
    }

    .ordering-header .mobile-header-order-switch button {
        padding-right: .35rem;
        padding-left: .35rem;
        font-size: .6rem;
    }
}

.was-validated
.checkout-address-search:has(#checkoutAddressSearch[required]:invalid)
+ #checkoutAddressHelp {
    color: #dc3545;
    font-weight: 700;
}

.was-validated
.checkout-address-search:has(#checkoutAddressSearch[required]:valid)
+ #checkoutAddressHelp {
    color: #198754;
}

/* Match the signed-in account control to the basket pill on the index header. */
@media (max-width: 575.98px) {
    .index-order-body .entry-header .entry-account-button.dropdown-toggle {
        width: 52px;
        min-width: 52px;
        min-height: 45px;
        justify-content: center;
        padding: 0;
        border-color: #FDBA4CFF;
        border-radius: 999px;
        color: var(--brand-red);
        background: #FDBA4CFF;
        box-shadow: none;
    }

    .index-order-body .entry-header .entry-account-button.dropdown-toggle:hover,
    .index-order-body .entry-header .entry-account-button.dropdown-toggle:focus {
        border-color: #ffd172;
        color: var(--brand-red-dark);
        background: #ffd172;
    }

    .index-order-body .entry-header .entry-mobile-account {
        width: 36px;
        height: 36px;
        color: inherit;
        background: transparent;
    }

    .index-order-body .entry-header .entry-mobile-initials {
        font-size: .76rem;
    }

    .index-order-body .entry-header .entry-mobile-status i {
        color: #fff;
        font-size: .58rem;
    }
}

@media (max-width: 575.98px) and (max-height: 650px) {
    .index-order-body .entry-header .entry-account-button.dropdown-toggle {
        min-height: 42px;
    }
}
