body {
    padding-bottom: 32px;
}

.storefront-main {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    padding-top: var(--nav-height);
    position: relative;
    z-index: 1;
}

.storefront-header {
    padding-inline: max(16px, calc((100vw - 1120px) / 2));
}

.storefront-greeting {
    margin-top: 0;
    padding: 28px 0 12px;
}

.branch-pill {
    display: inline-flex;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: var(--radius-full);
    background: rgba(196, 168, 130, 0.2);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.storefront-search {
    display: grid;
    gap: 7px;
    margin: 14px 0;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.storefront-search input,
.checkout-label .form-input {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline-color: var(--accent);
    background: var(--bg-card);
    color: var(--text);
    font: inherit;
}

.cat-scroll {
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.promo-banner {
    min-height: 96px;
    margin: 20px 0 28px;
    padding: 20px;
}

.promo-banner .promo-text p {
    max-width: 34ch;
    line-height: 1.4;
}

.promo-icon {
    color: white;
    font-size: 32px;
}

.menu-section {
    padding: 0 0 40px;
}

.menu-section-header {
    align-items: flex-end;
}

.storefront-branch-caption {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.food-card-name {
    min-height: 2.4em;
    border: 0;
    background: none;
    text-align: left;
}

.food-card-category {
    min-height: 1em;
}

.add-btn:disabled {
    width: auto;
    padding-inline: 10px;
    border-radius: var(--radius-full);
    cursor: not-allowed;
    opacity: 0.55;
    font-size: 11px;
}

.empty-menu {
    padding: 40px 12px;
    color: var(--text-muted);
    text-align: center;
}

.cart-drawer {
    z-index: 70;
}

.cart-overlay {
    z-index: 60;
}

.cart-drawer-header h2 {
    font-size: 20px;
}

.cart-checkout {
    display: grid;
    gap: 12px;
}

.checkout-label {
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.checkout-message {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.send-order-btn {
    min-height: 48px;
    border: 0;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.send-order-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.storefront-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    color: var(--primary);
    cursor: pointer;
}

.cart-empty {
    padding: 24px 0;
    color: var(--text-muted);
    text-align: center;
}

[hidden] {
    display: none !important;
}

@media (min-width: 760px) {
    .storefront-main {
        width: min(100% - 48px, 1120px);
    }

    .storefront-greeting {
        padding-top: 40px;
    }
}
