:root {
    --primary: #b5121b;
    --primary-dark: #7f1017;
    --primary-soft: rgba(181, 18, 27, 0.08);
    --gold: #d9a441;
    --gold-soft: rgba(217, 164, 65, 0.18);
    --cream: #fff7e8;
    --bg: #fff1cc;
    --card: rgba(255, 255, 255, 0.94);
    --text: #221313;
    --muted: #746464;
    --border: rgba(127, 16, 23, 0.11);
    --border-strong: rgba(181, 18, 27, 0.20);
    --shadow: 0 24px 70px rgba(87, 43, 8, 0.14);
    --shadow-soft: 0 12px 32px rgba(87, 43, 8, 0.10);
    --header-height: 86px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 6%, rgba(255, 255, 255, 0.95), transparent 31%),
        radial-gradient(circle at 92% 8%, rgba(217, 164, 65, 0.24), transparent 28%),
        linear-gradient(180deg, #fff8ec 0%, #ffefc7 42%, #fff8ec 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(127, 16, 23, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 16, 23, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 70%);
}

button,
input,
textarea {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

.app-shell {
    min-height: 100vh;
}

/* =========================
   Premium header
========================= */

.top-header {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px max(22px, calc((100vw - 100%) / 2));
    background: rgba(255, 250, 241, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(127, 16, 23, 0.10);
    box-shadow: 0 10px 35px rgba(87, 43, 8, 0.08);
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 13px;
}
.order-track-box {
    max-width: 520px;
}

.tracking-card {
    margin: 18px 0;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8ec, #ffffff);
    border: 1px solid rgba(181, 18, 27, 0.12);
    box-shadow: 0 14px 35px rgba(87, 43, 8, 0.10);
}

.tracking-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

    .tracking-status-row span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
    }

    .tracking-status-row strong {
        color: var(--primary-dark);
        font-size: 18px;
        font-weight: 950;
        text-align: right;
    }

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    position: relative;
    margin: 12px 0 16px;
}

.track-step {
    text-align: center;
    position: relative;
}

    .track-step span {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: inline-grid;
        place-items: center;
        background: #ead8c7;
        border: 3px solid #fff;
        box-shadow: 0 0 0 1px rgba(120, 53, 15, 0.12);
    }

    .track-step label {
        display: block;
        margin-top: 7px;
        font-size: 11px;
        color: var(--muted);
        font-weight: 800;
    }

    .track-step.done span,
    .track-step.active span {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    }

    .track-step.active span {
        animation: trackPulse 1.2s ease-in-out infinite;
    }

    .track-step.done label,
    .track-step.active label {
        color: var(--primary-dark);
    }

    .track-step.rejected span {
        background: #991b1b;
    }

.tracking-message {
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(181, 18, 27, 0.06);
    color: #4a2a2a;
    font-size: 14px;
    line-height: 1.45;
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

    .success-actions button {
        border: none;
        background: var(--primary);
        color: #fff;
        border-radius: 16px;
        padding: 13px 18px;
        font-weight: 900;
        cursor: pointer;
    }

#refreshTrackingButton {
    background: #111827;
}

@keyframes trackPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(181, 18, 27, 0.30);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(181, 18, 27, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(181, 18, 27, 0);
    }
}

@media (max-width: 560px) {
    .tracking-card {
        padding: 14px;
    }

    .tracking-steps {
        gap: 4px;
    }

    .track-step label {
        font-size: 9.5px;
    }

    .track-step span {
        width: 20px;
        height: 20px;
    }

    .tracking-status-row {
        align-items: flex-start;
        flex-direction: column;
    }

        .tracking-status-row strong {
            text-align: left;
        }
}
.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 32%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 26px;
    box-shadow: 0 14px 32px rgba(181, 18, 27, 0.30);
    border: 1px solid rgba(255,255,255,0.22);
}

.brand-row h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.brand-row p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.cart-button {
    border: none;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.18), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(181, 18, 27, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(181, 18, 27, 0.34);
}

.cart-button span {
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
    font-weight: 950;
}

/* =========================
   Loading / error
========================= */

.loading-box,
.error-box {
    max-width: 760px;
    margin: 38px auto;
    padding: 26px;
    border-radius: 26px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border);
    font-weight: 800;
}

.loading-box::before {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid rgba(181, 18, 27, 0.15);
    border-top-color: var(--primary);
    animation: pmSpin 0.75s linear infinite;
}

@keyframes pmSpin {
    to {
        transform: rotate(360deg);
    }
}

.error-box {
    color: #b00020;
}

.hidden {
    display: none !important;
}

/* =========================
   Main layout
========================= */

main {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 18px 60px;
}

.outlet-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,249,235,0.94));
    border: 1px solid rgba(181, 18, 27, 0.12);
    box-shadow: var(--shadow);
    border-radius: 32px;
    padding: 30px 34px;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    margin: 6px 0 20px;
}

.outlet-card::before {
    content: "";
    position: absolute;
    inset: -70px -80px auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 164, 65, 0.22), transparent 66%);
}

.outlet-card h2 {
    margin: 0 0 8px;
    font-size: clamp(27px, 3vw, 42px);
    letter-spacing: -0.05em;
    line-height: 1.05;
    font-weight: 950;
}

.outlet-card p {
    margin: 5px 0;
    color: var(--muted);
    font-weight: 600;
}

.qr-badge {
    position: relative;
    background: rgba(181, 18, 27, 0.06);
    color: var(--primary);
    border: 1px solid rgba(181, 18, 27, 0.18);
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(181, 18, 27, 0.08);
}

/* =========================
   Category tabs
========================= */

.category-tabs {
    position: sticky;
    top: var(--header-height);
    z-index: 45;
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 12px 2px 15px;
    margin: 0 0 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::before,
.category-tabs::after {
    content: "";
    flex: 0 0 1px;
}

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

.category-tab {
    flex: 0 0 auto;
    border: 1px solid rgba(127, 16, 23, 0.13);
    background: rgba(255,255,255,0.88);
    color: #3a2525;
    padding: 13px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(87, 43, 8, 0.08);
    transition: all 0.22s ease;
}

.category-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(181, 18, 27, 0.24);
    box-shadow: 0 14px 28px rgba(87, 43, 8, 0.13);
}

.category-tab.active {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(181, 18, 27, 0.24);
}

/* =========================
   Menu content
========================= */

.menu-container {
    width: 100%;
}

.menu-category {
    margin-top: 26px;
    scroll-margin-top: calc(var(--header-height) + 72px);
}

.menu-category h2 {
    font-size: clamp(23px, 2.3vw, 32px);
    margin: 0 0 17px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 950;
    color: #261414;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-category h2::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(181,18,27,0.22), transparent);
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.menu-item {
    position: relative;
    isolation: isolate;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    overflow: hidden;
    min-height: 132px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.menu-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 0% 0%, rgba(217,164,65,0.12), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,0.42), transparent 70%);
    pointer-events: none;
}

.menu-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: 0 22px 48px rgba(87, 43, 8, 0.16);
}

.menu-item-image {
    width: 104px;
    height: 104px;
    border-radius: 22px;
    object-fit: cover;
    background: #f8f1e5;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 26px rgba(31, 21, 21, 0.12);
}

.menu-item-image-placeholder {
    width: 104px;
    height: 104px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 18%, rgba(255,255,255,0.22), transparent 32%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 34px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 12px 26px rgba(181,18,27,0.18);
}

.menu-item-info {
    min-width: 0;
}

.menu-item h3 {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: #241313;
}

.menu-item p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 600;
}

.price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 950;
    letter-spacing: 0.01em;
}

.add-button {
    align-self: center;
    border: none;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.14), transparent 30%),
        linear-gradient(135deg, #242424, #070707);
    color: #fff;
    border-radius: 17px;
    padding: 0 18px;
    min-width: 68px;
    height: 45px;
    cursor: pointer;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.24);
}

.add-button:active,
.cart-button:active,
.category-tab:active {
    transform: translateY(0);
}

/* =========================
   Cart drawer
========================= */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 13, 13, 0.42);
    z-index: 80;
    backdrop-filter: blur(3px);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    max-width: 94vw;
    height: 100vh;
    background: #fffaf3;
    z-index: 90;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.20);
    transition: right 0.28s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(127,16,23,0.10);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.70);
}

.cart-header h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
    font-weight: 950;
}

.icon-button {
    border: none;
    background: #f7eee7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #2c1b1b;
    transition: background 0.2s ease, transform 0.2s ease;
}

.icon-button:hover {
    background: #f0ded0;
    transform: rotate(6deg);
}

.cart-items {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.empty-cart {
    color: var(--muted);
    text-align: center;
    padding: 36px 10px;
    font-weight: 700;
}

.cart-line {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(87,43,8,0.06);
}

.cart-line-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cart-line h4 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cart-line small {
    color: var(--muted);
}

.qty-row {
    margin-top: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-row button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f4e6d8;
    cursor: pointer;
    font-weight: 950;
    color: #2a1818;
}

.remove-button {
    margin-left: auto;
    border: none;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-weight: 850;
}

.cart-summary {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,0.72);
}

.cart-summary div {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    color: #463333;
}

.grand-total {
    font-size: 21px;
    color: var(--primary-dark) !important;
    font-weight: 950;
    padding-top: 8px;
    border-top: 1px dashed rgba(127,16,23,0.18);
}

.checkout-form {
    padding: 0 20px 20px;
    display: grid;
    gap: 11px;
}

.checkout-form h3 {
    margin: 6px 0 0;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.checkout-form label {
    font-size: 13px;
    color: var(--muted);
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    border: 1px solid rgba(127,16,23,0.13);
    border-radius: 16px;
    padding: 13px 14px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: var(--text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: rgba(181,18,27,0.42);
    box-shadow: 0 0 0 4px rgba(181,18,27,0.08);
}

.checkout-form textarea {
    min-height: 76px;
    resize: vertical;
}

.place-order-button {
    border: none;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.16), transparent 30%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 15px;
    border-radius: 18px;
    font-weight: 950;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 16px 34px rgba(181,18,27,0.25);
}

.place-order-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* =========================
   Success modal
========================= */

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(20, 13, 13, 0.48);
    display: grid;
    place-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.success-box {
    max-width: 430px;
    width: 100%;
    background:
        radial-gradient(circle at top, rgba(217,164,65,0.14), transparent 38%),
        #fff;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0,0,0,0.24);
    border: 1px solid rgba(181,18,27,0.10);
}

.success-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f9d55, #117a3d);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 950;
    box-shadow: 0 14px 30px rgba(31,157,85,0.24);
}

.success-box h2 {
    margin: 8px 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.success-box h1 {
    color: var(--primary);
    margin: 10px 0;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.success-box p {
    color: var(--muted);
    font-weight: 700;
}

.success-box button {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 18px;
    padding: 14px 20px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(181,18,27,0.22);
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
    :root {
        --header-height: 78px;
    }

    main {
        max-width: 760px;
        padding: 18px 14px 50px;
    }

    .item-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-item {
        grid-template-columns: 92px minmax(0, 1fr) auto;
        min-height: 116px;
        padding: 14px;
        border-radius: 24px;
    }

    .menu-item-image,
    .menu-item-image-placeholder {
        width: 88px;
        height: 88px;
        border-radius: 19px;
    }

    .menu-item h3 {
        font-size: 16.5px;
    }

    .price {
        font-size: 16.5px;
    }
}

@media (max-width: 620px) {
    :root {
        --header-height: 74px;
    }

    .top-header {
        padding: 12px 14px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        font-size: 23px;
    }

    .brand-row {
        gap: 10px;
    }

    .brand-row h1 {
        font-size: 20px;
    }

    .brand-row p {
        font-size: 11px;
    }

    .cart-button {
        padding: 10px 12px;
        font-size: 13px;
    }

    .cart-button span {
        min-width: 22px;
        height: 22px;
    }

    .outlet-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
        border-radius: 26px;
        margin-top: 4px;
    }

    .qr-badge {
        padding: 11px 16px;
    }

    .category-tabs {
        gap: 8px;
        padding-top: 10px;
    }

    .category-tab {
        padding: 11px 16px;
        font-size: 13px;
    }

    .menu-category {
        margin-top: 22px;
    }

    .menu-category h2 {
        font-size: 22px;
    }

    .menu-item {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .menu-item-image,
    .menu-item-image-placeholder {
        width: 74px;
        height: 74px;
        border-radius: 16px;
        font-size: 28px;
    }

    .add-button {
        grid-column: 2;
        justify-self: start;
        height: 39px;
        min-width: 82px;
        padding: 0 16px;
        border-radius: 15px;
        margin-top: 3px;
    }

    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
        right: -105vw;
    }
}

@media (max-width: 390px) {
    .brand-row p {
        display: none;
    }

    .outlet-card {
        padding: 20px;
    }

    .menu-item h3 {
        font-size: 15.5px;
    }

    .menu-item p {
        font-size: 12.5px;
    }
}

/* ===== Mobile/Search/Image Fix Patch - 2026-06-25 ===== */

.menu-search-wrap {
    margin: 18px 0 14px;
    position: sticky;
    top: var(--header-height);
    z-index: 46;
    padding: 8px 0 10px;
    background: linear-gradient(180deg, rgba(255,248,236,0.96), rgba(255,248,236,0.70));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.menu-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(181, 18, 27, 0.14);
    border-radius: 22px;
    padding: 10px 14px;
    box-shadow: 0 12px 28px rgba(55, 20, 20, 0.08);
}

.menu-search-box input {
    flex: 1;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 800;
    background: transparent;
    color: #2a1717;
}

.search-icon {
    opacity: 0.72;
    flex: 0 0 auto;
}

.clear-search-button {
    border: none;
    background: #f5ece8;
    color: #4a2b2b;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.empty-menu-result {
    margin: 24px 0;
    padding: 22px;
    background: #fff;
    border-radius: 22px;
    text-align: center;
    font-weight: 900;
    color: #5b4141;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.qty-row {
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
}

.qty-controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.qty-row button {
    flex-shrink: 0;
}

.remove-button {
    max-width: 96px;
    min-width: 82px;
    width: auto !important;
    padding: 8px 12px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 999px !important;
    background: #f4e9e3 !important;
    color: #5b2a2a !important;
    box-shadow: none !important;
    margin-left: 0 !important;
}

.cart-item-title {
    min-width: 0;
}

.cart-item-title h4 {
    word-break: break-word;
}

.cart-line-total {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .menu-search-wrap {
        top: var(--header-height);
        margin: 10px 0 8px;
        padding: 8px 0;
    }

    .menu-search-box {
        border-radius: 18px;
        padding: 9px 12px;
    }

    .menu-search-box input {
        font-size: 15px;
    }

    .cart-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        right: -105vw;
        left: auto;
    }

    .cart-line {
        padding: 16px 14px !important;
        overflow: hidden;
    }

    .cart-line-top {
        gap: 10px;
    }

    .cart-line h4 {
        font-size: 18px;
        line-height: 1.2;
    }

    .qty-row {
        margin-top: 14px;
        width: 100%;
    }

    .qty-controls-left button {
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }

    .remove-button {
        max-width: 86px;
        min-width: 76px;
        height: 42px;
        font-size: 13px !important;
    }

    .checkout-form input,
    .checkout-form textarea {
        font-size: 16px;
    }
}
