:root {
    --cream: #fff7ef;
    --cream-2: #fff1e2;
    --surface: #ffffff;
    --ink: #2a1b16;
    --muted: #806d63;
    --line: #ead8cc;
    --orange: #f28b22;
    --orange-dark: #d96816;
    --brown: #5a3225;
    --brown-dark: #351e18;
    --red-soft: #df5b4f;
    --rose: #ffe5df;
    --green: #188b52;
    --shadow: 0 22px 58px rgba(53, 30, 24, 0.22);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(242, 139, 34, 0.22), transparent 32%),
        linear-gradient(135deg, #3a211b, #20120f);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

[hidden] {
    display: none !important;
}

.customer-app {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: var(--cream);
    box-shadow: var(--shadow);
}

.customer-onboarding {
    min-height: 100vh;
}

.onboarding-splash {
    position: relative;
    min-height: 100vh;
}

.delivery-choice-slide {
    gap: 18px;
}

.choice-hero {
    display: grid;
    gap: 14px;
}

.choice-hero img {
    height: 250px;
    margin: 0;
}

.choice-hero h1 {
    margin: 7px 0 0;
    font-size: 30px;
    line-height: 1.06;
}

.choice-hero p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.delivery-choice-grid {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.delivery-choice-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: center;
    min-height: 116px;
    padding: 14px;
    border: 1px solid rgba(242, 139, 34, 0.28);
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 14px 28px rgba(90, 50, 37, 0.09);
}

.delivery-choice-card > span {
    display: grid;
    width: 48px;
    height: 48px;
    grid-row: span 3;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--orange), var(--red-soft));
    color: #fff;
    font-size: 22px;
}

.delivery-choice-card.city > span {
    background: linear-gradient(135deg, var(--brown), var(--orange));
}

.delivery-choice-card strong,
.delivery-choice-card small,
.delivery-choice-card b {
    display: block;
    min-width: 0;
}

.delivery-choice-card strong {
    font-size: 19px;
}

.delivery-choice-card small {
    color: var(--muted);
    line-height: 1.35;
}

.delivery-choice-card b {
    color: var(--orange-dark);
    font-size: 13px;
}

.app-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 10px;
    background: rgba(255, 247, 239, 0.94);
    backdrop-filter: blur(16px);
}

.brand-mini {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.brand-mini > span,
.splash-brand span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--red-soft));
    color: #fff;
    box-shadow: 0 12px 26px rgba(217, 104, 22, 0.25);
}

.brand-mini strong,
.brand-mini small {
    display: block;
}

.brand-mini strong {
    font-size: 16px;
    line-height: 1.1;
}

.brand-mini small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.icon-button {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fffaf5;
    color: var(--brown);
    font-size: 19px;
}

.header-actions {
    display: inline-flex;
    gap: 7px;
}

.icon-button.whatsapp {
    border-color: rgba(24, 139, 82, 0.22);
    background: #e9fff3;
    color: var(--green);
}

.app-main {
    flex: 1;
    overflow: auto;
    padding: 0 16px 104px;
    scrollbar-width: none;
}

.app-main::-webkit-scrollbar {
    display: none;
}

.app-view {
    display: none;
    animation: viewIn 180ms ease-out;
}

.app-view.active {
    display: block;
}

@keyframes viewIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-flow {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        linear-gradient(160deg, rgba(53, 30, 24, 0.96), rgba(111, 54, 34, 0.94)),
        var(--brown-dark);
}

.splash-flow.hidden {
    display: none;
}

.splash-slide {
    display: none;
    width: min(100%, 430px);
    min-height: min(760px, calc(100vh - 36px));
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #fff9f1, #ffe9d6);
    box-shadow: var(--shadow);
}

.splash-slide.active {
    display: flex;
    flex-direction: column;
}

.splash-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
}

.splash-slide img {
    width: 100%;
    height: 300px;
    margin: 28px 0 22px;
    border-radius: 22px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 18px 42px rgba(53, 30, 24, 0.16);
}

.splash-copy {
    margin-top: auto;
}

.splash-copy p,
.tiny-label {
    margin: 0;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.splash-copy h1 {
    margin: 8px 0 0;
    font-size: 30px;
    line-height: 1.08;
}

.splash-controls {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    margin-top: 24px;
}

.text-button {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--brown);
    font-weight: 900;
}

.primary-button,
.place-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), var(--red-soft));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(217, 104, 22, 0.24);
}

.hero-slider {
    position: relative;
    min-height: 236px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--brown-dark);
}

.service-mode-card {
    margin: 2px 0 14px;
    padding: 14px;
    border: 1px solid rgba(242, 139, 34, 0.24);
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf5, #ffe8dc);
    box-shadow: 0 14px 34px rgba(90, 50, 37, 0.1);
}

.service-mode-card h1 {
    margin: 5px 0 12px;
    font-size: 21px;
    line-height: 1.16;
}

.service-mode-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-mode-options button {
    display: grid;
    gap: 6px;
    min-width: 0;
    min-height: 116px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fffdf9;
    color: var(--brown);
    text-align: left;
}

.service-mode-options button.active {
    border-color: rgba(242, 139, 34, 0.7);
    background: #fff3e6;
    box-shadow: inset 0 0 0 1px rgba(242, 139, 34, 0.18);
}

.service-mode-options i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--red-soft));
    color: #fff;
    font-size: 18px;
}

.service-mode-options strong,
.service-mode-options small {
    display: block;
}

.location-access-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(24, 139, 82, 0.18);
    border-radius: 16px;
    background: #f0fff6;
}

.location-access-card > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #dff9eb;
    color: var(--green);
    font-size: 20px;
}

.location-access-card strong,
.location-access-card p {
    display: block;
    margin: 0;
}

.location-access-card p {
    margin-top: 3px;
    color: #4c7a62;
    font-size: 12px;
    line-height: 1.35;
}

.location-access-card button {
    min-height: 36px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 900;
}

.map-preview {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(242, 139, 34, 0.28);
    border-radius: 16px;
    background: linear-gradient(135deg, #fffaf5, #fff0df);
}

.map-preview strong,
.map-preview a {
    display: block;
}

.map-preview a {
    margin-top: 5px;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 900;
}

.service-mode-options strong {
    font-size: 15px;
    line-height: 1.1;
}

.service-mode-options small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 260ms ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 50%;
}

.hero-slide::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(53, 30, 24, 0.88), rgba(53, 30, 24, 0.12));
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    inset: auto 20px 32px 20px;
    width: 78%;
    color: #fff;
}

.hero-overlay span {
    display: inline-flex;
    margin-bottom: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 900;
    padding: 6px 9px;
}

.hero-overlay h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.08;
}

.hero-overlay p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.4;
}

.slider-dots {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 15px;
    display: inline-flex;
    gap: 5px;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
}

.slider-dots .active {
    width: 20px;
    background: var(--orange);
}

.search-card,
.trip-card,
.section-block,
.restaurant-card,
.delivery-card,
.checkout-items,
.live-offer-card,
.payment-card,
.bill-card,
.track-card,
.profile-list,
.profile-hero {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px rgba(53, 30, 24, 0.06);
}

.search-card {
    padding: 12px;
}

.tight-heading {
    margin-bottom: 9px;
}

.tight-heading > span {
    border-radius: 999px;
    background: var(--cream-2);
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 900;
    padding: 6px 9px;
}

.form-hint {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.manual-journey {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.manual-journey[hidden],
[data-pnr-panel][hidden] {
    display: none;
}

.manual-journey label,
.checkout-form label {
    display: grid;
    gap: 6px;
}

.manual-journey label span,
.checkout-form label span {
    color: var(--brown);
    font-size: 12px;
    font-weight: 900;
}

.checkout-form label span small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.auth-card {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    padding: 14px;
}

.auth-mode-tabs {
    margin: 0;
}

.auth-card form {
    display: grid;
    gap: 12px;
}

.auth-card form[hidden] {
    display: none;
}

.auth-card label {
    display: grid;
    gap: 6px;
}

.auth-card label span {
    color: var(--brown);
    font-size: 12px;
    font-weight: 900;
}

.auth-card label span small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.auth-card input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    outline: 0;
    padding: 12px;
}

.auth-card .primary-button {
    width: 100%;
}

.auth-message {
    min-height: 18px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.auth-message.success {
    color: var(--green);
}

.auth-message.error {
    color: var(--red-soft);
}

.manual-journey input,
.manual-journey select,
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    outline: 0;
    padding: 12px;
}

.manual-journey select {
    appearance: none;
}

.segmented-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    border-radius: 14px;
    background: var(--cream-2);
}

.segmented-control button,
.filter-chips button {
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    padding: 10px;
}

.journey-mode-tabs {
    margin-bottom: 10px;
}

.journey-mode-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.segmented-control .active,
.filter-chips .active {
    background: #fff;
    color: var(--orange-dark);
    box-shadow: 0 8px 18px rgba(53, 30, 24, 0.08);
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--orange-dark);
}

.input-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.search-card .primary-button {
    width: 100%;
    margin-top: 10px;
}

.trip-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
}

.trip-card strong,
.delivery-card strong,
.card-head h3,
.menu-card h2,
.profile-hero h1,
.view-title h1 {
    margin: 0;
}

.trip-card p,
.restaurant-card p,
.menu-card p,
.delivery-card p,
.checkout-items p,
.eta-panel p,
.timeline p,
.profile-hero p,
.offer-scroller p,
.testimonial-list p,
.refer-card p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    border-radius: 999px;
    background: #e9fff3;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    padding: 6px 9px;
    white-space: nowrap;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-top: 14px;
}

.shortcut-grid button {
    display: grid;
    gap: 6px;
    place-items: center;
    min-height: 70px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--brown);
    font-size: 11px;
    font-weight: 900;
}

.shortcut-grid i {
    color: var(--orange-dark);
    font-size: 20px;
}

.section-block {
    padding: 13px;
}

.available-stations-block[hidden] {
    display: none;
}

.station-results-heading {
    align-items: flex-start;
}

.station-results-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.station-results-heading > span {
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--cream-2);
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 900;
    padding: 7px 9px;
    white-space: nowrap;
}

.station-restaurant-list {
    display: grid;
    gap: 12px;
}

.station-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.city-restaurant-card .station-restaurant {
    border-top: 0;
}

.station-head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px;
    background: #fff8ef;
}

.station-head strong,
.station-head p {
    display: block;
    margin: 0;
}

.station-head > div {
    min-width: 0;
}

.station-head strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.station-head p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.station-step {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.station-kitchen-count {
    border-radius: 999px;
    background: #fff;
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 900;
    padding: 7px 9px;
    white-space: nowrap;
}

.station-restaurants {
    display: grid;
    gap: 0;
    padding: 0;
}

.station-restaurant {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto 18px;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 72px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    text-align: left;
    padding: 11px;
}

.station-restaurant strong,
.station-restaurant small {
    display: block;
}

.restaurant-copy {
    min-width: 0;
}

.restaurant-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.restaurant-detail-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 4px;
}

.food-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.min-order-label {
    border-radius: 999px;
    background: var(--cream-2);
    color: var(--brown);
    font-size: 10px;
    font-weight: 900;
    padding: 4px 7px;
    white-space: nowrap;
}

.restaurant-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: #ecf8ef;
    color: #247a3b;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 8px;
    white-space: nowrap;
}

.restaurant-rating i {
    color: #e8a420;
    font-size: 10px;
}

.station-restaurant small,
.station-empty {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.restaurant-dot {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--rose);
    color: var(--red-soft);
}

.station-restaurant > .bi-chevron-right {
    grid-column: 4;
    color: var(--orange-dark);
}

.station-empty {
    padding: 8px 4px;
}

.station-empty-state {
    gap: 10px;
    padding: 18px 14px;
}

.station-empty-state .primary-button {
    width: 100%;
    margin-top: 4px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.section-heading h2,
.payment-card h2,
.bill-card h2 {
    margin: 0;
    font-size: 17px;
}

.section-heading button {
    border: 0;
    background: transparent;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.how-grid article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.how-grid img {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: cover;
    object-position: var(--focus-x, 50%) 50%;
}

.how-grid strong {
    display: block;
    padding: 8px 5px 9px;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
}

.offer-scroller {
    display: grid;
    grid-auto-columns: minmax(178px, 1fr);
    grid-auto-flow: column;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.offer-scroller::-webkit-scrollbar {
    display: none;
}

.offer-scroller article,
.testimonial-list article,
.refer-card {
    display: flex;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
    background: #fff4df;
}

.offer-scroller article > span,
.refer-card > span {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
}

.offer-scroller strong,
.testimonial-list strong,
.refer-card strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.live-grid {
    display: grid;
    gap: 10px;
}

.live-grid article,
.service-card > div,
.live-offer-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
}

.live-grid article > span,
.service-card span,
.live-offer-card > i {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 13px;
    background: var(--cream-2);
    color: var(--orange-dark);
}

.live-grid strong,
.service-card strong,
.live-offer-card strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.live-grid p,
.service-card p,
.live-offer-card p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.promo-card {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    padding: 13px;
}

.promo-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-heading > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: var(--cream-2);
    color: var(--orange-dark);
}

.promo-heading strong {
    display: block;
    font-size: 14px;
}

.promo-heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.promo-heading p.success {
    color: var(--green);
}

.promo-heading p.error {
    color: var(--red-soft);
}

.promo-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 8px;
}

.promo-entry input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: 0;
    outline: 0;
    padding: 11px 12px;
    text-transform: uppercase;
}

.promo-entry button {
    border: 0;
    border-radius: 13px;
    background: var(--orange);
    color: #fff;
    font-weight: 900;
}

.promo-entry button.remove {
    background: var(--brown);
}

.restaurant-card {
    overflow: hidden;
}

.restaurant-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: 34% 54%;
}

.restaurant-card > div {
    padding: 13px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card-head span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: var(--brown);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 8px;
}

.card-head i {
    color: #ffd36e;
}

.testimonial-list {
    display: grid;
    gap: 9px;
}

.testimonial-list article {
    align-items: center;
    background: #fff;
}

.testimonial-list article > span,
.avatar {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--red-soft));
    color: #fff;
    font-weight: 900;
}

.view-title {
    padding-top: 4px;
}

.view-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.view-title h1 {
    margin-top: 4px;
    font-size: 27px;
    line-height: 1.1;
}

.soft-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    padding: 0 10px;
}

.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 14px 0;
    scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.filter-chips button {
    border: 1px solid var(--line);
    background: #fff;
    white-space: nowrap;
}

.menu-list {
    display: grid;
    gap: 12px;
}

.restaurant-summary {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff4df;
    padding: 12px;
}

.restaurant-summary[hidden] {
    display: none;
}

.restaurant-summary strong,
.restaurant-summary p {
    display: block;
    margin: 0;
}

.restaurant-summary p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 7px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    padding: 26px 16px;
    text-align: center;
}

.empty-state i {
    color: var(--orange-dark);
    font-size: 26px;
}

.empty-state strong {
    color: var(--ink);
}

.empty-state p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.empty-state.slim {
    padding: 14px;
}

.menu-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 76px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.menu-card img {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    object-fit: cover;
    object-position: var(--focus-x, 50%) var(--focus-y, 50%);
}

.menu-card h2 {
    font-size: 15px;
}

.menu-card strong {
    display: block;
    margin-top: 7px;
    color: var(--brown);
}

.menu-action {
    display: grid;
    width: 76px;
    place-items: center;
}

.add-item-button {
    width: 76px;
    min-height: 34px;
    border: 1px solid rgba(242, 139, 34, 0.38);
    border-radius: 12px;
    background: #fff8ef;
    color: var(--orange-dark);
    font-weight: 900;
}

.qty-stepper {
    display: grid;
    grid-template-columns: 26px 24px 26px;
    align-items: center;
    width: 76px;
    min-height: 34px;
    overflow: hidden;
    border: 1px solid rgba(242, 139, 34, 0.45);
    border-radius: 12px;
    background: #fff8ef;
    color: var(--orange-dark);
}

.qty-stepper button {
    display: grid;
    width: 26px;
    height: 34px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--orange-dark);
    padding: 0;
}

.qty-stepper strong {
    display: block;
    margin: 0;
    color: var(--brown);
    font-size: 13px;
    text-align: center;
}

.food-mark {
    display: inline-block;
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 3px;
    color: var(--green);
    background: radial-gradient(circle at center, currentColor 0 3px, transparent 4px);
}

.menu-card .food-mark {
    margin-bottom: 5px;
}

.nonveg-mark {
    color: var(--red-soft);
}

.egg-mark {
    color: #d39716;
}

.delivery-card {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 13px;
}

.delivery-card > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--rose);
    color: var(--red-soft);
}

.delivery-card button {
    border: 0;
    background: transparent;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
}

.checkout-items {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.checkout-items article,
.bill-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    border-bottom: 1px solid var(--line);
}

.checkout-items article:last-child {
    border-bottom: 0;
}

.checkout-items span {
    font-weight: 900;
    white-space: nowrap;
}

.coupon-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 13px;
    border: 1px dashed rgba(242, 139, 34, 0.45);
    border-radius: 16px;
    background: #fff4df;
    color: var(--orange-dark);
    font-weight: 900;
}

.payment-card,
.bill-card {
    padding: 13px;
}

.checkout-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    padding: 13px;
}

.checkout-form h2 {
    margin: 0;
    font-size: 17px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.full-field {
    grid-column: 1 / -1;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 10px;
}

.payment-options button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    color: var(--brown);
    font-weight: 900;
}

.payment-options .active {
    border-color: rgba(242, 139, 34, 0.5);
    background: #fff4df;
    color: var(--orange-dark);
}

.bill-card {
    padding-bottom: 4px;
}

.bill-card h2 {
    margin-bottom: 4px;
}

.bill-card div {
    padding-right: 0;
    padding-left: 0;
    color: var(--muted);
    font-size: 13px;
}

.bill-card [data-discount-row][hidden] {
    display: none !important;
}

.bill-card .total {
    border-bottom: 0;
    color: var(--ink);
    font-size: 16px;
}

.place-order-button {
    width: 100%;
    margin-top: 14px;
}

.track-card {
    padding: 13px;
}

.account-gate {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 22px 16px;
    text-align: center;
}

.account-gate[hidden],
.orders-workspace[hidden],
.order-detail-panel[hidden],
.profile-list button[hidden] {
    display: none;
}

.account-gate > span {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    place-items: center;
    border-radius: 16px;
    background: var(--cream-2);
    color: var(--orange-dark);
    font-size: 24px;
}

.account-gate h2,
.account-gate p {
    margin: 0;
}

.account-gate h2 {
    font-size: 18px;
}

.account-gate p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.account-gate .primary-button {
    width: 100%;
}

.orders-workspace,
.orders-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.orders-list[hidden] {
    display: none;
}

.customer-order-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: center;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    padding: 12px;
    text-align: left;
}

.order-status-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--cream-2);
    color: var(--orange-dark);
}

.order-status-icon.progress {
    background: #fff1dc;
}

.order-status-icon.success {
    background: #e9fff3;
    color: var(--green);
}

.order-status-icon.danger {
    background: #fff0ef;
    color: var(--red-soft);
}

.customer-order-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.customer-order-copy b,
.customer-order-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-order-copy b {
    font-size: 13px;
}

.customer-order-copy small {
    color: var(--muted);
    font-size: 11px;
}

.order-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.order-card-topline strong {
    font-size: 12px;
}

.order-status-badge {
    border-radius: 999px;
    background: var(--cream-2);
    color: var(--orange-dark);
    font-size: 9px;
    font-weight: 900;
    padding: 5px 7px;
    white-space: nowrap;
}

.order-status-badge.success {
    background: #e9fff3;
    color: var(--green);
}

.order-status-badge.danger {
    background: #fff0ef;
    color: var(--red-soft);
}

.back-to-orders {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    padding: 0;
}

.order-detail-panel {
    display: grid;
    gap: 12px;
}

.tracking-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brown), var(--red-soft));
    color: #fff;
    padding: 16px;
}

.tracking-hero.success {
    background: linear-gradient(135deg, #236441, #39a56d);
}

.tracking-hero.danger {
    background: linear-gradient(135deg, #8e2d2d, #d85f57);
}

.tracking-hero span,
.tracking-hero h2,
.tracking-hero p {
    margin: 0;
}

.tracking-hero > div > span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 900;
}

.tracking-hero h2 {
    margin-top: 5px;
    font-size: 21px;
}

.tracking-hero p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.tracking-hero-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 22px;
}

.tracking-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
}

.tracking-summary-grid > div {
    display: grid;
    gap: 4px;
    min-width: 0;
    background: #fff;
    padding: 11px;
}

.tracking-summary-grid span,
.tracking-route-card span {
    color: var(--muted);
    font-size: 10px;
}

.tracking-summary-grid strong,
.tracking-route-card strong {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.delivery-otp-card {
    border: 1px dashed rgba(242, 139, 34, 0.55);
    border-radius: 16px;
    background: #fff8ef;
    padding: 14px;
    text-align: center;
}

.delivery-otp-card span,
.delivery-otp-card strong,
.delivery-otp-card p {
    display: block;
    margin: 0;
}

.delivery-otp-card span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.delivery-otp-card strong {
    margin-top: 4px;
    color: var(--orange-dark);
    font-size: 28px;
    letter-spacing: 4px;
}

.delivery-otp-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.tracking-info-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 12px;
}

.tracking-info-card > span,
.tracking-info-card > a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    background: var(--cream-2);
    color: var(--orange-dark);
}

.tracking-info-card > a {
    width: 36px;
    height: 36px;
    background: var(--orange);
    color: #fff;
}

.tracking-info-card small,
.tracking-info-card strong,
.tracking-info-card p {
    display: block;
    margin: 0;
}

.tracking-info-card small,
.tracking-info-card p {
    color: var(--muted);
    font-size: 10px;
}

.tracking-items-card,
.tracking-route-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 13px;
}

.tracking-items-card h2,
.track-card h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.tracking-items-card > div,
.tracking-route-card > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.tracking-items-card > div:last-child,
.tracking-route-card > div:last-child {
    border-bottom: 0;
}

.tracking-route-card > div {
    align-items: flex-start;
}

.tracking-route-card strong {
    max-width: 68%;
    text-align: right;
}

.timeline article small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.logout-row {
    color: var(--red-soft) !important;
}

.eta-panel {
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brown), var(--red-soft));
    color: #fff;
    padding: 15px;
}

.eta-panel strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.2;
}

.eta-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.timeline {
    display: grid;
    gap: 0;
    margin-top: 13px;
}

.timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding-bottom: 18px;
}

.timeline article:last-child {
    padding-bottom: 0;
}

.timeline article::before {
    position: absolute;
    top: 35px;
    bottom: 0;
    left: 17px;
    width: 2px;
    content: "";
    background: var(--line);
}

.timeline article:last-child::before {
    display: none;
}

.timeline article > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--muted);
}

.timeline .done > span {
    background: var(--green);
    color: #fff;
}

.timeline .active > span {
    background: var(--orange);
    color: #fff;
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.profile-hero .avatar {
    width: 58px;
    height: 58px;
}

.profile-list {
    overflow: hidden;
}

.profile-list button {
    display: grid;
    grid-template-columns: 30px 1fr 18px;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 56px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    text-align: left;
    font-weight: 800;
}

.profile-list button:last-child {
    border-bottom: 0;
}

.profile-list i:first-child {
    color: var(--orange-dark);
    font-size: 18px;
}

.cart-bar {
    position: sticky;
    z-index: 25;
    right: 0;
    bottom: 76px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: auto 16px 10px;
    padding: 12px;
    border-radius: 18px;
    background: var(--brown-dark);
    color: #fff;
    box-shadow: 0 16px 34px rgba(53, 30, 24, 0.24);
}

.cart-bar.is-empty {
    display: none;
}

.cart-bar strong,
.cart-bar span {
    display: block;
}

.cart-bar span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

.cart-bar button {
    min-height: 40px;
    border: 0;
    border-radius: 13px;
    background: var(--orange);
    color: #fff;
    font-weight: 900;
    padding: 0 14px;
}

.bottom-nav {
    position: sticky;
    z-index: 24;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 10px 12px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 250, 245, 0.96);
    backdrop-filter: blur(14px);
}

.bottom-nav button {
    display: grid;
    gap: 3px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #aa9488;
    font-size: 10px;
    font-weight: 900;
}

.bottom-nav i {
    font-size: 20px;
}

.bottom-nav .active {
    color: var(--orange-dark);
}

.app-drawer {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: none;
    background: rgba(35, 20, 16, 0.58);
}

.app-drawer.open {
    display: block;
}

.drawer-panel {
    width: min(84vw, 350px);
    min-height: 100%;
    padding: 16px;
    background: var(--cream);
    box-shadow: var(--shadow);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-links {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}

.drawer-links button,
.drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    padding: 0 12px;
    text-align: left;
}

.drawer-links i {
    color: var(--orange-dark);
    font-size: 19px;
}

.refer-card {
    align-items: center;
    margin-top: 20px;
}

@media (min-width: 520px) {
    body {
        padding: 18px 0;
    }

    .customer-app {
        min-height: calc(100vh - 36px);
        max-height: 920px;
        border: 10px solid #17100d;
        border-radius: 34px;
    }
}

@media (max-width: 380px) {
    .app-header {
        padding-right: 12px;
        padding-left: 12px;
    }

    .app-main {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hero-overlay h1 {
        font-size: 23px;
    }

    .how-grid {
        gap: 6px;
    }
}
