:root {
    --vpa-ink: #241a16;
    --vpa-muted: #76665e;
    --vpa-orange: #a8003d;
    --vpa-orange-dark: #76002c;
    --vpa-cream: #f7f1e8;
    --vpa-paper: #fffdfa;
    --vpa-green: #23875c;
    --vpa-red: #c2413a;
    --vpa-yellow: #d99a16;
    --vpa-blue: #3478b8;
}

body { background: var(--vpa-cream); color: var(--vpa-ink); min-height: 100vh; }
.navbar-vpa { background: #261a15; box-shadow: 0 3px 18px rgba(36, 26, 22, .18); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--vpa-orange); color: white; font-weight: 800; letter-spacing: -.04em; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.login-logo { width: 82px; height: 82px; object-fit: contain; border-radius: 16px; }
.receipt-logo { width: 92px; height: 92px; object-fit: contain; border-radius: 16px; }
.navbar-brand { letter-spacing: -.03em; }
.main-shell { padding-top: 1.5rem; padding-bottom: 4rem; }
.page-title { font-weight: 800; letter-spacing: -.035em; }
.eyebrow { color: var(--vpa-orange-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card { border: 0; border-radius: 1rem; box-shadow: 0 8px 28px rgba(63, 43, 33, .07); }
.metric-card { min-height: 132px; overflow: hidden; position: relative; }
.metric-card::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: currentColor; opacity: .06; right: -20px; bottom: -30px; }
.metric-value { font-size: clamp(1.6rem, 4vw, 2.35rem); font-weight: 800; letter-spacing: -.04em; }
.text-vpa { color: var(--vpa-orange-dark) !important; }
.btn-vpa { --bs-btn-color: #fff; --bs-btn-bg: var(--vpa-orange); --bs-btn-border-color: var(--vpa-orange); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--vpa-orange-dark); --bs-btn-hover-border-color: var(--vpa-orange-dark); --bs-btn-active-bg: var(--vpa-orange-dark); }
.btn-outline-vpa { --bs-btn-color: var(--vpa-orange-dark); --bs-btn-border-color: #d6a1b5; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--vpa-orange); --bs-btn-hover-border-color: var(--vpa-orange); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--vpa-orange-dark); --bs-btn-active-border-color: var(--vpa-orange-dark); }
.btn-touch { min-height: 48px; padding: .7rem 1rem; font-weight: 700; }
.form-control, .form-select { min-height: 46px; border-radius: .75rem; border-color: #dacdc3; }
.form-control:focus, .form-select:focus { border-color: var(--vpa-orange); box-shadow: 0 0 0 .25rem rgba(232, 93, 36, .14); }
.table-card { min-height: 178px; transition: transform .15s ease, box-shadow .15s ease; border-left: 7px solid currentColor; }
.table-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(63, 43, 33, .13); }
.status-available { color: var(--vpa-green); background: #eaf7f0; }
.status-occupied { color: var(--vpa-red); background: #fbeceb; }
.status-payment_requested { color: #94640a; background: #fff5d9; }
.status-reserved { color: var(--vpa-blue); background: #eaf3fb; }
.status-out_of_service { color: #6c757d; background: #eef0f2; }
.product-card { border: 1px solid #eee1d8; box-shadow: none; height: 100%; }
.menu-product { min-height: 185px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.menu-product:hover { border-color: #d6a1b5; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(63, 43, 33, .08); }
.product-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-price { color: var(--vpa-orange-dark); font-weight: 800; font-size: 1.15rem; }
.sticky-summary { position: sticky; top: 88px; }
.order-builder-card { border: 2px solid #ead4dc; overflow: hidden; }
.builder-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 0; background: white; color: var(--vpa-ink); text-align: left; }
.builder-count { display: inline-grid; min-width: 42px; height: 42px; padding-inline: .65rem; place-items: center; border-radius: 999px; background: var(--vpa-orange); color: white; font-size: 1.1rem; font-weight: 800; }
.builder-empty-icon { display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #f5e8ed; color: var(--vpa-orange); font-size: 1.8rem; }
.selected-items { max-height: 42vh; overflow-y: auto; padding-right: .15rem; }
.selected-item { padding: .85rem; border: 1px solid #eadfd8; border-radius: .8rem; background: #fffdfa; }
.cancelled-item > * { color: #8b8b8b !important; text-decoration: line-through; opacity: .72; }
.cancelled-item > *:last-child { text-decoration: none; }
.quantity-stepper { display: inline-flex; min-height: 42px; align-items: center; overflow: hidden; border: 1px solid #d9cbc3; border-radius: .7rem; background: white; }
.quantity-stepper button { width: 42px; align-self: stretch; border: 0; background: #f4eae4; color: var(--vpa-ink); font-size: 1.2rem; font-weight: 800; }
.quantity-stepper strong { min-width: 38px; text-align: center; }
.receipt { max-width: 760px; margin-inline: auto; background: white; }
.login-wrap { min-height: 100vh; background: radial-gradient(circle at 15% 15%, rgba(232,93,36,.18), transparent 32%), #261a15; }
.login-card { max-width: 460px; width: 100%; }
.badge-soft { background: #f4e7dc; color: #6e3a25; }

@media (max-width: 767.98px) {
    .main-shell { padding-top: 1rem; }
    .sticky-summary { position: static; }
    .table-card { min-height: 150px; }
    .navbar .dropdown-menu { position: absolute; }
}

@media (min-width: 1200px) {
    .builder-toggle { cursor: default; }
    .builder-body { display: block !important; }
}

@media (max-width: 1199.98px) {
    .order-builder-card { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 1035; max-height: calc(100vh - 90px); box-shadow: 0 16px 45px rgba(36, 26, 22, .3); }
    .order-builder-card .builder-body { display: none; overflow-y: auto; }
    .order-builder-card.is-open .builder-body { display: block; }
    .order-builder-card.is-open { overflow-y: auto; }
    .builder-toggle::after { content: '⌃'; color: var(--vpa-orange); font-size: 1.35rem; font-weight: 800; }
    .order-builder-card.is-open .builder-toggle::after { content: '⌄'; }
    .selected-items { max-height: 45vh; }
    body { padding-bottom: 88px; }
}

@media print {
    .no-print, .navbar, .alert { display: none !important; }
    body { background: white; font-size: 12px; }
    .main-shell { padding: 0; }
    .receipt { box-shadow: none; max-width: none; }
}
