:root {
    --brand-orange: #f28a18;
    --brand-orange-dark: #c96012;
    --brand-green: #13863f;
    --brand-green-dark: #07552d;
    --ink: #241b12;
    --muted: #6f675f;
    --line: rgba(36, 27, 18, .12);
    --paper: #fffaf0;
    --surface: #ffffff;
    --soft-green: #e7f5df;
    --soft-red: #ffe7df;
    --shadow: 0 22px 60px rgba(36, 27, 18, .13);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(19, 134, 63, .04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(242, 138, 24, .05) 1px, transparent 1px),
        var(--paper);
    background-size: 42px 42px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-bottom: 82px;
}

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

img {
    max-width: 100%;
}

.app-shell {
    overflow: clip;
}

.desktop-nav {
    position: sticky;
    top: 14px;
    z-index: 50;
    padding: 0 0 8px;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    background: rgba(255, 250, 240, .84);
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(36, 27, 18, .08);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.brand-lockup img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(242, 138, 24, .26);
}

.nav-panel nav {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
}

.nav-panel nav a:hover {
    color: var(--brand-green);
}

.btn {
    border-radius: var(--radius);
    font-weight: 800;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-green);
    --bs-btn-border-color: var(--brand-green);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-green-dark);
    --bs-btn-hover-border-color: var(--brand-green-dark);
    box-shadow: 0 12px 22px rgba(19, 134, 63, .22);
}

.btn-ghost {
    --bs-btn-color: var(--ink);
    --bs-btn-bg: rgba(255, 255, 255, .72);
    --bs-btn-border-color: rgba(36, 27, 18, .16);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: rgba(36, 27, 18, .22);
}

.hero-section {
    min-height: 91svh;
    display: flex;
    align-items: center;
    padding: 28px 0 34px;
    position: relative;
}

.hero-grid {
    display: grid;
    gap: 28px;
}

.hero-copy {
    padding-top: 14px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-green-dark);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 0 5px rgba(242, 138, 24, .14);
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

.hero-copy h1 {
    margin: 12px 0 12px;
    font-size: clamp(3.1rem, 13vw, 7.4rem);
    line-height: .88;
    font-weight: 950;
    max-width: 720px;
}

.hero-copy p,
.section-head p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 18px;
}

.contact-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.contact-strip::-webkit-scrollbar,
.category-scroll::-webkit-scrollbar {
    display: none;
}

.contact-strip a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 12px;
    border: 1px solid rgba(36, 27, 18, .12);
    background: rgba(255, 255, 255, .78);
    border-radius: 999px;
    font-weight: 800;
}

.contact-strip i {
    color: var(--brand-green);
}

.hero-visual {
    position: relative;
    min-height: 370px;
}

.visual-card {
    position: relative;
    width: min(74vw, 420px);
    margin: 0 auto;
    aspect-ratio: 1;
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: var(--shadow);
    animation: soft-float 5.8s ease-in-out infinite;
}

.logo-orbit::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 2px dashed rgba(19, 134, 63, .22);
    border-radius: 50%;
    animation: spin-slow 20s linear infinite;
    pointer-events: none;
}

.orbit-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: #fff;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(36, 27, 18, .16);
}

.chip-one {
    left: -8px;
    top: 20%;
    background: var(--brand-orange-dark);
}

.chip-two {
    right: -4px;
    bottom: 18%;
    background: var(--brand-green);
}

.menu-preview {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: min(52vw, 280px);
    max-height: 320px;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: var(--radius);
    box-shadow: 0 20px 44px rgba(36, 27, 18, .18);
    transform: rotate(3deg);
}

.menu-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-band {
    background: var(--brand-green-dark);
    color: #fff;
}

.quick-grid {
    display: grid;
    gap: 1px;
    padding: 0;
    background: rgba(255, 255, 255, .14);
}

.quick-grid div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 16px;
    background: var(--brand-green-dark);
    font-weight: 800;
}

.quick-grid i {
    color: #ffcf75;
    font-size: 1.35rem;
}

.menu-section,
.order-section {
    padding: 58px 0;
}

.section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 9vw, 4.3rem);
    font-weight: 950;
    line-height: .95;
}

.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 18px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(180deg, var(--paper) 72%, rgba(255, 250, 240, 0));
}

.category-pill {
    border: 1px solid rgba(36, 27, 18, .12);
    background: rgba(255, 255, 255, .84);
    color: var(--ink);
    border-radius: 999px;
    padding: 11px 14px;
    white-space: nowrap;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.category-pill.active,
.category-pill:hover {
    color: #fff;
    background: var(--ink);
    transform: translateY(-1px);
}

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

.menu-card {
    position: relative;
    min-height: 150px;
    padding: 16px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 30px rgba(36, 27, 18, .07);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.menu-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--brand-orange);
}

.menu-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 110px;
    height: 110px;
    border: 18px solid rgba(242, 138, 24, .11);
    border-radius: 50%;
    pointer-events: none;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(36, 27, 18, .11);
}

.menu-card.is-hidden {
    display: none;
}

.menu-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.menu-category {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
}

.menu-card h3 {
    margin: 5px 0 0;
    font-size: 1.2rem;
    line-height: 1.15;
    font-weight: 930;
}

.menu-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
}

.menu-meta span {
    color: var(--muted);
    font-weight: 700;
}

.menu-meta strong {
    font-size: 1.15rem;
    white-space: nowrap;
}

.icon-add {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
    box-shadow: 0 10px 20px rgba(19, 134, 63, .22);
    transition: transform .18s ease, background .18s ease;
}

.icon-add:hover {
    transform: rotate(90deg) scale(1.04);
    background: var(--brand-green-dark);
}

.accent-fresh::before {
    background: var(--brand-green);
}

.accent-fire::before {
    background: #d84d1b;
}

.accent-farm::before {
    background: #7d9b36;
}

.accent-cream::before {
    background: #d3aa63;
}

.accent-signature::before {
    background: var(--brand-orange);
}

.order-section {
    background: linear-gradient(180deg, rgba(19, 134, 63, .08), rgba(255, 250, 240, .4));
}

.order-layout {
    display: grid;
    gap: 22px;
}

.order-panel {
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

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

.form-control,
.form-select {
    border-radius: var(--radius);
    border-color: rgba(36, 27, 18, .18);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(19, 134, 63, .55);
    box-shadow: 0 0 0 .22rem rgba(19, 134, 63, .12);
}

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.map-toolbar span {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

.delivery-map {
    width: 100%;
    height: 260px;
    border: 1px solid rgba(36, 27, 18, .14);
    border-radius: var(--radius);
    overflow: hidden;
    background: #edf3ed;
}

.payment-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    padding: 13px 14px;
    color: var(--brand-green-dark);
    background: var(--soft-green);
    border: 1px solid rgba(19, 134, 63, .16);
    border-radius: var(--radius);
    font-weight: 900;
}

.form-actions {
    display: grid;
    gap: 10px;
}

.cart-panel {
    --bs-offcanvas-width: min(100vw, 430px);
}

.cart-items {
    display: grid;
    gap: 10px;
}

.cart-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: #fff;
}

.cart-row h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 900;
}

.cart-row small {
    color: var(--muted);
    font-weight: 700;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: 999px;
}

.qty-control button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
}

.qty-control b {
    min-width: 18px;
    text-align: center;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(36, 27, 18, .12);
    font-size: 1.1rem;
    font-weight: 900;
}

.cart-total strong {
    font-size: 1.45rem;
}

.cart-warning {
    display: none;
    color: #8d4b08;
    background: #fff0d6;
    border-radius: var(--radius);
    padding: 10px 12px;
    font-weight: 800;
}

.cart-warning.show {
    display: block;
}

.empty-cart {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 180px;
    color: var(--muted);
    font-weight: 900;
}

.empty-cart i {
    font-size: 2.4rem;
    color: rgba(36, 27, 18, .22);
}

.empty-cart .btn {
    margin-top: 6px;
}

.empty-cart .btn i {
    color: inherit;
    font-size: 1rem;
}

.mobile-bottom-nav {
    position: fixed;
    z-index: 100;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    padding: 7px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 48px rgba(36, 27, 18, .18);
    backdrop-filter: blur(18px);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    color: var(--muted);
    background: transparent;
    font-size: .72rem;
    font-weight: 900;
}

.mobile-bottom-nav i {
    font-size: 1.18rem;
}

.mobile-bottom-nav .active,
.mobile-bottom-nav a:hover,
.mobile-bottom-nav button:hover {
    color: #fff;
    background: var(--ink);
}

.mobile-bottom-nav b {
    position: absolute;
    top: 4px;
    right: 14px;
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-orange-dark);
    font-size: .68rem;
}

.floating-cart-btn {
    position: fixed;
    right: 16px;
    bottom: 98px;
    z-index: 99;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
    box-shadow: 0 16px 38px rgba(19, 134, 63, .34);
    transition: transform .18s ease, background .18s ease;
}

.floating-cart-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background: var(--brand-green-dark);
}

.floating-cart-btn i {
    font-size: 1.45rem;
}

.floating-cart-btn span {
    position: absolute;
    top: -4px;
    right: -3px;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-orange-dark);
    font-size: .78rem;
    font-weight: 950;
}

.order-status-widgets {
    position: fixed;
    right: 16px;
    bottom: 166px;
    z-index: 98;
    display: grid;
    gap: 8px;
    justify-items: end;
    pointer-events: none;
}

.active-orders-widget,
.completed-orders-widget {
    position: relative;
    display: grid;
    justify-items: end;
    pointer-events: auto;
}

.active-orders-widget[hidden],
.completed-orders-widget[hidden] {
    display: none;
}

.active-orders-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 10px 9px 12px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 250, 240, .94);
    box-shadow: 0 16px 38px rgba(36, 27, 18, .14);
    backdrop-filter: blur(16px);
    font-weight: 950;
}

.active-orders-toggle i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-orange);
}

.completed-orders-toggle i {
    background: var(--ink);
}

.active-orders-toggle b {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-green);
    font-size: .78rem;
}

.completed-orders-toggle b {
    background: var(--brand-orange-dark);
}

.active-orders-panel {
    position: absolute;
    right: 0;
    bottom: 54px;
    width: min(340px, calc(100vw - 32px));
    max-height: min(430px, 54vh);
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: calc(var(--radius) + 10px);
    background: rgba(255, 250, 240, .96);
    box-shadow: 0 24px 70px rgba(36, 27, 18, .2);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
}

.active-orders-widget.is-open .active-orders-panel,
.completed-orders-widget.is-open .active-orders-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.active-orders-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.active-orders-head span,
.active-orders-head small {
    display: block;
    font-weight: 950;
}

.active-orders-head small {
    color: var(--muted);
    font-size: .78rem;
    text-align: right;
}

.active-orders-list {
    display: grid;
    gap: 8px;
}

.active-order-link {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 9px;
    border: 1px solid rgba(36, 27, 18, .08);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
}

.active-order-link:hover {
    color: var(--ink);
    border-color: rgba(19, 134, 63, .25);
    background: var(--soft-green);
}

.active-order-link.is-completed {
    border-color: rgba(242, 138, 24, .18);
    background: rgba(255, 250, 240, .86);
}

.active-order-link > i:first-child {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
}

.active-order-link.is-completed > i:first-child {
    background: var(--ink);
}

.active-order-link strong,
.active-order-link span,
.active-order-link small {
    display: block;
}

.active-order-link strong {
    font-size: .95rem;
    font-weight: 950;
}

.active-order-link span,
.active-order-link small {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 800;
}

.active-order-link > i:last-child {
    color: var(--muted);
}

#appToast {
    color: #fff;
    background: var(--ink);
}

.pwa-install-prompt {
    position: fixed;
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 14px;
    z-index: 1300;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    width: min(430px, calc(100% - 28px));
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: calc(var(--radius) + 10px);
    color: var(--ink);
    background: rgba(255, 250, 240, .96);
    box-shadow: 0 24px 70px rgba(36, 27, 18, .22);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.98);
    transition: opacity .22s ease, transform .22s ease;
}

.pwa-install-prompt.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.pwa-install-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: var(--muted);
    background: rgba(36, 27, 18, .06);
}

.pwa-install-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-green));
    box-shadow: 0 14px 30px rgba(19, 134, 63, .2);
}

.pwa-install-icon img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
}

.pwa-install-copy {
    min-width: 0;
    padding-right: 24px;
}

.pwa-install-copy span,
.pwa-install-copy strong,
.pwa-install-copy p {
    display: block;
}

.pwa-install-copy span {
    color: var(--brand-green-dark);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.pwa-install-copy strong {
    margin-top: 2px;
    font-size: 1.02rem;
    line-height: 1.15;
    font-weight: 950;
}

.pwa-install-copy p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 800;
}

.pwa-install-action {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    background: var(--brand-green);
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(19, 134, 63, .26);
}

.pwa-install-action:disabled {
    opacity: .72;
}

body.track-body .pwa-install-prompt {
    bottom: calc(24px + env(safe-area-inset-bottom));
}

.success-modal {
    border: 0;
    border-radius: var(--radius);
}

.success-modal .modal-body {
    display: grid;
    gap: 14px;
    padding: 28px;
    text-align: center;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
    font-size: 2rem;
}

.track-body {
    min-height: 100vh;
    padding: 18px;
}

.track-shell {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.track-card {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 36px);
    padding: 18px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
}

.track-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    text-align: left;
}

.track-topbar .brand-lockup {
    min-width: 0;
    flex-direction: row;
    gap: 8px;
}

.track-topbar .brand-lockup img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
}

.track-topbar .brand-lockup span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-return-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(36, 27, 18, .07);
}

.track-return-btn:hover {
    color: #fff;
    background: var(--ink);
}

.track-contact-footer {
    margin-top: auto;
    padding-top: 18px;
}

.track-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: calc(var(--radius) + 8px);
    background: rgba(255, 250, 240, .9);
    box-shadow: 0 18px 42px rgba(36, 27, 18, .16);
    backdrop-filter: blur(18px);
}

.track-contact-btn {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 9px;
    border: 1px solid rgba(36, 27, 18, .08);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.track-contact-btn:hover {
    transform: translateY(-1px);
    color: var(--ink);
    border-color: rgba(19, 134, 63, .3);
    box-shadow: 0 14px 30px rgba(36, 27, 18, .1);
}

.track-contact-btn i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
}

.track-contact-btn.is-call i {
    background: var(--brand-orange);
}

.track-contact-btn span,
.track-contact-btn strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-contact-btn span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
}

.track-contact-btn strong {
    font-size: .95rem;
    font-weight: 950;
}

.track-head {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.track-head h1 {
    margin: 0;
    font-size: clamp(2rem, 10vw, 4.7rem);
    line-height: .96;
    font-weight: 950;
}

.track-head p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.status-hero {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    color: #fff;
    background: var(--brand-green-dark);
    border-radius: var(--radius);
}

.status-hero i {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--brand-green-dark);
    background: #fff;
    font-size: 1.5rem;
}

.status-hero span,
.status-hero small {
    display: block;
    opacity: .82;
    font-weight: 800;
}

.status-hero strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
}

.status-steps {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 0;
}

.status-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 10px 12px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: 999px;
    color: var(--muted);
    background: #fff;
    font-weight: 900;
}

.status-step.is-hidden {
    display: none;
}

.status-step i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: rgba(36, 27, 18, .22);
}

.status-step.is-done,
.status-step.is-active {
    color: var(--brand-green-dark);
    border-color: rgba(19, 134, 63, .3);
    background: var(--soft-green);
}

.status-step.is-done i,
.status-step.is-active i {
    background: var(--brand-green);
}

.status-step.is-cancelled {
    color: #a52e1c;
    background: var(--soft-red);
    border-color: rgba(165, 46, 28, .25);
}

.status-step.is-cancelled i {
    background: #a52e1c;
}

.track-grid {
    display: grid;
    gap: 14px;
}

.track-grid section,
.event-section,
.feedback-section {
    padding: 16px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: #fff;
}

.track-grid h2,
.event-section h2,
.feedback-section h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 930;
}

.feedback-section {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.feedback-section.is-hidden,
.feedback-form.is-hidden,
.feedback-thanks.is-hidden {
    display: none;
}

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

.feedback-head h2 {
    margin-bottom: 0;
}

.feedback-head > i {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-orange);
    box-shadow: 0 12px 24px rgba(242, 138, 24, .24);
}

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

.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-input label {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    color: rgba(36, 27, 18, .22);
    background: rgba(36, 27, 18, .05);
    cursor: pointer;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
    color: #fff;
    background: var(--brand-orange);
}

.star-input label:hover {
    transform: translateY(-1px);
}

.feedback-upload {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
    padding: 12px;
    border: 1px dashed rgba(19, 134, 63, .35);
    border-radius: var(--radius);
    background: var(--soft-green);
    cursor: pointer;
}

.feedback-upload i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
}

.feedback-upload span,
.feedback-upload small {
    display: block;
    min-width: 0;
}

.feedback-upload span {
    font-weight: 950;
}

.feedback-upload small {
    overflow: hidden;
    color: var(--muted);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-message {
    display: none;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: #a52e1c;
    background: var(--soft-red);
    font-weight: 900;
}

.feedback-message.is-visible {
    display: block;
}

.feedback-thanks {
    display: grid;
    gap: 7px;
    padding: 14px;
    border-radius: var(--radius);
    color: var(--brand-green-dark);
    background: var(--soft-green);
}

.feedback-thanks strong,
.feedback-thanks span,
.feedback-thanks p {
    display: block;
}

.feedback-thanks strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.feedback-thanks span {
    font-weight: 950;
}

.feedback-thanks p {
    margin: 0;
    color: var(--ink);
    font-weight: 750;
}

.feedback-saved-media a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    font-weight: 950;
}

.track-items,
.track-events {
    display: grid;
    gap: 10px;
}

.track-item,
.track-event {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(36, 27, 18, .08);
}

.track-item:last-child,
.track-event:last-child {
    border-bottom: 0;
}

.track-item strong,
.track-item span,
.track-event strong,
.track-event span,
.track-event small {
    display: block;
}

.track-item span,
.track-event span,
.track-event small {
    color: var(--muted);
    font-weight: 700;
}

.track-info {
    display: grid;
    gap: 10px;
    margin: 0;
}

.track-info div {
    display: grid;
    gap: 2px;
}

.track-info dt {
    color: var(--muted);
    font-size: .82rem;
}

.track-info dd {
    margin: 0;
    font-weight: 900;
}

.track-event {
    justify-content: flex-start;
}

.track-event i {
    color: var(--brand-green);
}

.empty-state {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 68vh;
    text-align: center;
}

.empty-state i {
    font-size: 3rem;
    color: var(--brand-orange-dark);
}

.empty-state h1 {
    margin: 0;
    font-weight: 950;
}

.admin-auth-body,
.admin-body {
    min-height: 100vh;
}

.admin-body {
    padding-bottom: 86px;
}

.admin-auth {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 20px;
}

.admin-auth-card {
    width: min(420px, 100%);
    padding: 24px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
}

.admin-auth-card img {
    display: block;
    width: 82px;
    height: 82px;
    margin: 0 auto 14px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(242, 138, 24, .2);
}

.admin-auth-card h1 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 2rem;
    font-weight: 950;
}

.admin-body {
    display: block;
}

.admin-nav {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(36, 27, 18, .1);
    background: rgba(255, 250, 240, .92);
    backdrop-filter: blur(16px);
}

.admin-nav .brand-lockup {
    margin: 0 auto;
    padding: 4px 8px;
}

.admin-nav .brand-lockup img {
    width: 44px;
    height: 44px;
}

.admin-nav nav {
    display: none;
    gap: 6px;
    overflow-x: auto;
}

.admin-nav nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 900;
    white-space: nowrap;
}

.admin-nav nav a.active,
.admin-nav nav a:hover {
    color: #fff;
    background: var(--ink);
}

.admin-main {
    width: min(1280px, 100%);
    min-width: 0;
    margin: 0 auto;
    padding: 20px 14px 34px;
    overflow-x: clip;
}

.admin-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-page-head h1 {
    margin: 8px 0 0;
    font-size: clamp(2.1rem, 8vw, 4.2rem);
    line-height: .95;
    font-weight: 950;
}

.admin-filter {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 18px;
    padding-bottom: 4px;
}

.admin-filter .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-label-short {
    display: none;
}

.filter-count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-orange-dark);
    font-size: .78rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 8px 16px rgba(36, 27, 18, .12);
}

.btn-brand .filter-count {
    color: var(--brand-green-dark);
    background: #fff;
}

.filter-count.is-zero {
    color: var(--muted);
    background: rgba(36, 27, 18, .1);
    box-shadow: inset 0 0 0 1px rgba(36, 27, 18, .08);
}

.btn-brand .filter-count.is-zero {
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .22);
}

.admin-orders,
.admin-menu-list {
    display: grid;
    gap: 14px;
}

.admin-orders {
    transition: opacity .18s ease;
}

.admin-orders.is-loading {
    opacity: .58;
    pointer-events: none;
}

.admin-order-card,
.admin-form-card,
.admin-menu-category {
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(36, 27, 18, .08);
}

.admin-order-card,
.admin-form-card {
    padding: 16px;
}

.admin-order-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.admin-order-card:hover {
    transform: translateY(-1px);
    border-color: rgba(19, 134, 63, .22);
    box-shadow: 0 18px 42px rgba(36, 27, 18, .1);
}

.admin-order-card.is-expanded {
    border-color: rgba(19, 134, 63, .32);
    box-shadow: 0 24px 54px rgba(36, 27, 18, .13);
}

.admin-order-card.is-removing {
    opacity: 0;
    transform: translateX(18px) scale(.98);
    transition: opacity .24s ease, transform .24s ease;
    pointer-events: none;
}

.admin-order-card.is-new-live {
    animation: admin-live-insert .72s ease both;
}

@keyframes admin-live-insert {
    0% {
        opacity: 0;
        transform: translateY(-14px) scale(.98);
        box-shadow: 0 0 0 0 rgba(19, 134, 63, .26);
    }
    55% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 8px rgba(19, 134, 63, .12);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 34px rgba(36, 27, 18, .08);
    }
}

.admin-order-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-order-card.is-expanded .admin-order-top {
    padding-right: 58px;
}

.admin-order-title {
    min-width: 0;
}

.admin-order-top h2 {
    margin: 0 0 4px;
    font-size: 1.24rem;
    font-weight: 950;
}

.admin-order-title span {
    color: var(--muted);
    font-weight: 800;
}

.admin-order-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: max-content;
}

.admin-order-summary > i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--muted);
    background: rgba(36, 27, 18, .06);
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.admin-order-card.is-expanded .admin-order-summary > i {
    color: #fff;
    background: var(--brand-green);
    transform: rotate(180deg);
}

.admin-summary-total {
    color: var(--ink);
    font-weight: 950;
    white-space: nowrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--brand-green-dark);
    background: var(--soft-green);
    font-size: .84rem;
    font-weight: 950;
}

.feedback-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: max-content;
    padding: 7px 9px;
    border-radius: 999px;
    color: var(--brand-orange-dark);
    background: rgba(242, 138, 24, .12);
    font-weight: 950;
}

.feedback-mini i {
    color: var(--brand-orange);
}

.admin-order-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 18px rgba(36, 27, 18, .12);
}

.admin-order-card.is-expanded .admin-order-close {
    display: grid;
}

.admin-order-details {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(36, 27, 18, .08);
}

.admin-order-card.is-expanded .admin-order-details {
    display: block;
}

.admin-order-quick {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
}

.admin-order-quick span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: max-content;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(36, 27, 18, .06);
    font-size: .86rem;
    font-weight: 900;
}

.admin-order-quick i {
    color: var(--brand-green);
}

.admin-order-content {
    display: grid;
    gap: 16px;
}

.admin-order-content h3,
.admin-form-card h2 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 950;
}

.admin-order-content p {
    color: var(--muted);
    font-weight: 750;
}

.admin-delivery-stack {
    display: grid;
    gap: 10px;
}

.admin-meta-box,
.admin-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(36, 27, 18, .09);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, .8);
    color: var(--muted);
    font-weight: 800;
}

.admin-meta-box i,
.admin-note i {
    color: var(--brand-green);
    margin-top: 2px;
}

.admin-map-link {
    width: max-content;
}

.admin-item-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-item-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(36, 27, 18, .07);
}

.admin-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    font-weight: 950;
}

.admin-note {
    background: #fff0d6;
    color: #7b4a08;
}

.admin-status-history {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(36, 27, 18, .09);
}

.admin-status-history.is-empty {
    display: none;
}

.admin-status-history h3 {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 950;
}

.admin-status-event {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(36, 27, 18, .07);
}

.admin-status-event:last-child {
    border-bottom: 0;
}

.admin-status-event strong,
.admin-status-event span,
.admin-status-event small {
    display: block;
}

.admin-status-event span {
    color: var(--ink);
    font-weight: 750;
}

.admin-status-event small {
    min-width: max-content;
    color: var(--muted);
    font-weight: 800;
}

.admin-feedback-card {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(242, 138, 24, .24);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, .92);
}

.admin-feedback-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-feedback-head h3 {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 950;
}

.admin-feedback-head strong {
    display: block;
    color: var(--brand-orange-dark);
    letter-spacing: 1px;
}

.admin-feedback-head strong span {
    color: var(--ink);
    letter-spacing: 0;
}

.admin-feedback-head small {
    min-width: max-content;
    color: var(--muted);
    font-weight: 800;
}

.admin-feedback-card p {
    margin: 0;
    color: var(--ink);
    font-weight: 750;
}

.admin-feedback-media img,
.admin-feedback-media video {
    display: block;
    width: min(260px, 100%);
    max-height: 220px;
    border-radius: var(--radius);
    border: 1px solid rgba(36, 27, 18, .1);
    object-fit: cover;
    background: #000;
}

.admin-feedback-media-trigger {
    position: relative;
    display: block;
    width: min(260px, 100%);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: #000;
    text-align: left;
}

.admin-feedback-media-trigger img,
.admin-feedback-media-trigger video {
    width: 100%;
}

.admin-feedback-media-trigger span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(36, 27, 18, .78);
    font-size: .82rem;
    font-weight: 950;
    backdrop-filter: blur(10px);
}

.feedback-media-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: #fffaf0;
}

.feedback-media-modal .modal-title {
    font-size: 1rem;
    font-weight: 950;
}

.feedback-media-modal .modal-body {
    padding: 12px;
    background: #120f0b;
}

.feedback-media-modal-body {
    display: grid;
    place-items: center;
    min-height: min(68vh, 620px);
}

.feedback-media-modal-body img,
.feedback-media-modal-body video {
    display: block;
    max-width: 100%;
    max-height: 76vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.feedback-media-modal-body video {
    width: min(980px, 100%);
    background: #000;
}

.admin-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 260px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    color: var(--muted);
    background: #fff;
    font-weight: 950;
}

.admin-empty i {
    font-size: 2.6rem;
    color: rgba(36, 27, 18, .24);
}

.admin-create-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-menu-category {
    padding: 12px;
}

.admin-menu-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--ink);
    background: var(--paper);
    text-align: left;
    font-weight: 950;
}

.admin-menu-category-toggle span,
.admin-menu-category-toggle small {
    display: block;
}

.admin-menu-category-toggle small {
    margin-top: 3px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 850;
}

.admin-menu-category-toggle i {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
    transition: transform .18s ease;
}

.admin-menu-category:not(.is-collapsed) .admin-menu-category-toggle i {
    transform: rotate(180deg);
}

.admin-menu-category-body {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.admin-menu-category.is-collapsed .admin-menu-category-body {
    display: none;
}

.admin-form-card input:disabled,
.admin-category-form input:disabled,
.admin-menu-item input:disabled {
    color: var(--muted);
    background: rgba(36, 27, 18, .06);
    border-style: dashed;
    cursor: not-allowed;
}

.admin-category-form {
    padding: 12px;
    border-radius: var(--radius);
    background: var(--paper);
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 0;
    font-weight: 850;
}

.admin-menu-items {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.admin-menu-item {
    padding: 12px;
    border: 1px solid rgba(36, 27, 18, .08);
    border-radius: var(--radius);
    background: #fff;
}

.admin-delete-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.admin-bottom-nav {
    position: fixed;
    z-index: 100;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(36, 27, 18, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 48px rgba(36, 27, 18, .18);
    backdrop-filter: blur(18px);
}

.admin-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 54px;
    border-radius: 18px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 950;
}

.admin-bottom-nav i {
    font-size: 1.18rem;
}

.admin-bottom-nav a.active,
.admin-bottom-nav a:hover {
    color: #fff;
    background: var(--ink);
}

.report-export-actions {
    display: flex;
    gap: 8px;
}

.report-toolbar {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(36, 27, 18, .07);
}

.report-form {
    display: grid;
    gap: 10px;
}

.report-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 900;
}

.report-quick-ranges {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.report-kpis {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.report-kpis.is-loading {
    opacity: .62;
}

.report-kpi,
.report-panel {
    border: 1px solid rgba(36, 27, 18, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(36, 27, 18, .07);
}

.report-kpi {
    display: grid;
    gap: 7px;
    padding: 15px;
}

.report-kpi i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
}

.report-kpi span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 900;
}

.report-kpi strong {
    font-size: 1.45rem;
    font-weight: 950;
}

.report-layout {
    display: grid;
    align-items: start;
    gap: 14px;
    margin-bottom: 16px;
    min-width: 0;
}

.report-panel {
    align-self: start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 16px;
}

.report-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.report-panel-head h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 950;
}

.report-panel-head span {
    color: var(--muted);
    font-weight: 800;
}

.report-status-list,
.report-top-items,
.report-bars,
.report-feedback-stats,
.report-feedback-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.report-status-row,
.report-feedback-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(36, 27, 18, .08);
    border-radius: var(--radius);
    background: var(--paper);
}

.report-status-row strong,
.report-status-row span,
.report-feedback-row strong,
.report-feedback-row span {
    display: block;
}

.report-status-row span,
.report-feedback-row span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
}

.report-status-row b,
.report-feedback-row b {
    font-weight: 950;
}

.report-status-row em,
.report-feedback-row em {
    grid-column: 1 / -1;
    display: block;
    width: var(--w);
    height: 7px;
    border-radius: 999px;
    background: var(--brand-green);
}

.report-feedback-row strong {
    color: var(--brand-orange-dark);
    letter-spacing: 1px;
}

.report-feedback-row em {
    background: var(--brand-orange);
}

.report-bar-row {
    display: grid;
    grid-template-columns: 46px minmax(120px, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.report-bar-row span,
.report-bar-row strong {
    font-weight: 900;
}

.report-bar-row span {
    color: var(--muted);
}

.report-bar-row div {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(36, 27, 18, .08);
}

.report-bar-row b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
}

.report-product {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(36, 27, 18, .08);
}

.report-product:last-child {
    border-bottom: 0;
}

.report-product > b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
}

.report-product strong,
.report-product span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.report-product span {
    color: var(--muted);
    font-weight: 800;
}

.report-product em {
    min-width: max-content;
    font-style: normal;
    font-weight: 950;
}

.report-panel .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.report-feedback-card {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(36, 27, 18, .08);
    border-radius: var(--radius);
    background: var(--paper);
}

.report-feedback-card strong,
.report-feedback-card span {
    display: block;
}

.report-feedback-card strong {
    font-weight: 950;
}

.report-feedback-card span {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
}

.report-feedback-card p {
    margin: 0;
    font-weight: 750;
}

.report-table {
    margin: 0;
}

.report-table > :not(caption) > * > * {
    padding: .55rem .5rem;
}

.report-table th {
    color: var(--muted);
    font-size: .82rem;
}

.report-empty,
.report-loading {
    padding: 18px;
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(36, 27, 18, .05);
    font-weight: 900;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .58s ease, transform .58s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes soft-float {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

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

@media (min-width: 576px) {
    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-actions {
        grid-template-columns: auto 1fr;
        justify-content: end;
    }

    .report-form {
        grid-template-columns: repeat(2, minmax(160px, 1fr)) auto;
        align-items: end;
    }

    .report-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-main {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .report-panel {
        padding: 12px;
    }

    .report-panel-head {
        display: grid;
    }

    .report-product {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .report-product em {
        grid-column: 2;
        min-width: 0;
        justify-self: start;
    }

    .report-table {
        min-width: 620px;
    }

    .contact-strip {
        gap: 8px;
        padding-bottom: 0;
    }

    .contact-strip a {
        flex: 0 0 44px;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        font-size: 0;
    }

    .contact-strip i {
        font-size: 1.15rem;
    }

    .admin-order-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-order-summary {
        width: 100%;
        justify-content: space-between;
    }

    .admin-order-card.is-expanded .admin-order-top {
        padding-right: 52px;
    }

    .admin-status-event {
        display: grid;
    }

    .admin-filter {
        gap: 6px;
    }

    .admin-filter .btn {
        padding: 9px 10px;
        gap: 6px;
        font-size: .86rem;
    }

    .filter-label-full {
        display: none;
    }

    .filter-label-short {
        display: inline;
    }

    .filter-count {
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        font-size: .72rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 88vh;
        padding: 70px 0 44px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
        align-items: center;
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .order-layout {
        grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
        align-items: start;
    }

    .track-body {
        padding: 18px;
    }

    .track-card {
        padding: 26px;
    }

    .track-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        justify-items: initial;
        text-align: left;
    }

    .track-topbar .brand-lockup {
        flex-direction: row;
    }

    .track-topbar .brand-lockup img {
        width: 40px;
        height: 40px;
    }

    .track-contact-actions {
        position: static;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        grid-template-columns: repeat(2, minmax(150px, auto));
        justify-content: end;
    }

    body.track-body .pwa-install-prompt {
        bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .track-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
    }

    .admin-order-content {
        grid-template-columns: minmax(0, 1.2fr) minmax(240px, .7fr) minmax(230px, .65fr);
    }

    .admin-create-grid {
        grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    }

    .report-layout {
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    }

    .report-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }

    .admin-bottom-nav {
        display: none;
    }

    .floating-cart-btn {
        right: 28px;
        bottom: 28px;
    }

    .order-status-widgets {
        right: 28px;
        bottom: 100px;
    }

    .pwa-install-prompt {
        right: 24px;
        bottom: calc(24px + env(safe-area-inset-bottom));
        left: auto;
        margin: 0;
    }

    .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-scroll {
        top: 82px;
    }

    .admin-body {
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .admin-nav {
        position: sticky;
        top: 0;
        align-self: start;
        display: grid;
        align-content: start;
        justify-content: stretch;
        min-height: 100vh;
        padding: 18px;
        border-right: 1px solid rgba(36, 27, 18, .1);
        border-bottom: 0;
    }

    .admin-nav .brand-lockup {
        margin: 0;
        padding: 0;
    }

    .admin-nav nav {
        display: grid;
        overflow: visible;
    }

    .admin-main {
        padding: 28px 24px 44px;
    }

    .report-kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
