:root {
    --bg: #fff8ec;
    --surface: #fff;
    --ink: #542d20;
    --muted: #806b61;
    --brand: #f47b35;
    --brand-dark: #c95825;
    --pandan: #5f8d4e;
    --pink: #f48fb1;
    --yellow: #ffd166;
    --blue: #6ec6e8;
    --soft: #fff0d9;
    --line: #ead8c5;
    --dark: #542d20;
    --success: #5f8d4e;
    --warning: #d9822b;
    --danger: #b84848;
    --shadow: 0 18px 50px rgba(84, 45, 32, 0.1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
}
a {
    text-decoration: none;
    color: inherit;
}
button,
input,
textarea,
select {
    font: inherit;
}
.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}
.narrow {
    width: min(760px, calc(100% - 40px));
    margin: auto;
} /* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    background: #fffaf0;
    border-bottom: 2px solid #ead8c5;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    height: 90px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 110px;
    height: 75px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 45px;
}

.nav-links a {
    text-decoration: none;
    color: #542d20;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #5f8d4e;
}

/* =========================
   VIDEO HERO
========================= */

.video-hero {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Solid base prevents the global batik background
       from showing through the transparent video. */
    background: #66584e;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Keep the background video subtle so the text stays readable. */
    opacity: 0.42;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(60, 35, 20, 0.22);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 850px;
    text-align: center;
    color: #fff;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #ffd166;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
}

.hero-content h1 {
    margin: 0 0 25px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
}

.hero-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #fff8ec;
    font-size: 18px;
    line-height: 1.6;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: #f48fb1;
    color: #542d20;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s;
}

.hero-button:hover {
    background: #ffd166;
    transform: translateY(-3px);
}
.hero-card span {
    font-size: 0.72rem;
    color: var(--brand);
    font-weight: 800;
    text-transform: uppercase;
}
.hero-card small {
    color: var(--muted);
    margin-top: 3px;
}
.section {
    padding: 76px 0;
}
.soft-section {
    background: var(--soft);
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
}
.section-heading h2,
.center-heading h2,
.about-grid h2,
.owner-grid h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0;
}
.text-link {
    font-weight: 800;
    color: var(--brand);
}
.text-link.centered {
    display: block;
    text-align: center;
    margin-top: 18px;
}
.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.food-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(64, 41, 25, 0.04);
}
.food-image {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 5.4rem;
}
.placeholder.aiskrim-goreng {
    background: linear-gradient(135deg, #f8dce6, #ffeef3);
}
.placeholder.waffles {
    background: linear-gradient(135deg, #f6dfb8, #fff0ce);
}
.placeholder.ramen {
    background: linear-gradient(135deg, #f5d2c0, #ffe4d6);
}
.food-category-tag,
.unavailable-label {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(255, 255, 255, 0.9);
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
}
.unavailable-label {
    left: auto;
    right: 14px;
    background: #5d514b;
    color: white;
}
.food-card-body {
    padding: 20px;
}
.food-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}
.food-card p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.9rem;
    min-height: 44px;
}
.food-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}
.food-card-bottom strong {
    font-size: 1.05rem;
}
.circle-arrow {
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.center-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 34px;
}
.center-heading p {
    color: var(--muted);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.category-card {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    gap: 20px;
    min-height: 220px;
    transition: 0.2s;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.category-icon {
    font-size: 3rem;
}
.category-card span {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 800;
}
.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin: 4px 0 8px;
}
.category-card p {
    color: var(--muted);
    line-height: 1.55;
}
.category-card b {
    font-size: 0.88rem;
    color: var(--brand);
}
.about-grid,
.owner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.about-grid p,
.owner-grid p {
    color: var(--muted);
    line-height: 1.75;
}
.about-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.about-panel div {
    height: 180px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 4rem;
}
.cta {
    background: var(--dark);
    color: #fff;
    border-radius: 28px;
    padding: 44px 48px;
    margin-bottom: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 0;
    max-width: 640px;
}
.footer {
    background: #241b17;
    color: #eee2da;
    padding: 58px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.8fr;
    gap: 50px;
}
.footer p,
.footer a {
    color: #c7b8ae;
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.footer h4 {
    margin: 0 0 8px;
}
.copyright {
    border-top: 1px solid #443630;
    margin-top: 35px;
    padding-top: 18px;
    color: #8e7f76;
    font-size: 0.8rem;
}
.footer-brand {
    color: #fff;
}
.page-hero {
    padding: 72px 0 54px;
    background: linear-gradient(135deg, #fff2e9, #f8eee6);
}
.page-hero.compact {
    padding: 52px 0 40px;
}
.page-hero h1 {
    font-size: 3.7rem;
}
.page-hero p {
    color: var(--muted);
    max-width: 650px;
}
.category-emoji {
    font-size: 3.8rem;
    display: block;
    margin-bottom: 12px;
}
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.filter-tabs a,
.filter-tabs button {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 16px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
}
.filter-tabs .active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}
.detail-section {
    padding-top: 48px;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
}
.detail-image {
    min-height: 520px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9rem;
    position: relative;
}
.detail-image small {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 12px;
}
.detail-info {
    padding-top: 8px;
}
.back-link {
    display: inline-block;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 24px;
}
.pill {
    display: inline-block;
    background: var(--soft);
    color: var(--brand);
    padding: 8px 12px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 800;
}
.detail-info h1 {
    font-size: 3rem;
    margin-top: 12px;
}
.detail-desc {
    color: var(--muted);
    line-height: 1.7;
}
.detail-price {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 20px 0;
}
.order-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.order-form label,
.panel-form label {
    font-weight: 800;
    margin-top: 10px;
}
.order-form label span {
    font-weight: 500;
    color: var(--muted);
}
.qty-control {
    display: flex;
    width: max-content;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.qty-control button {
    width: 46px;
    height: 46px;
    border: 0;
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.qty-control input {
    width: 56px;
    border: 0;
    text-align: center;
    font-weight: 800;
    background: #fff;
}
.order-form textarea,
.panel-form input,
.panel-form textarea,
.panel-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    background: #fff;
    outline: none;
}
.live-total {
    display: flex;
    justify-content: space-between;
    background: var(--soft);
    padding: 15px;
    border-radius: 14px;
    margin-top: 6px;
}
.success-note,
.error-note {
    padding: 12px 14px;
    border-radius: 12px;
    margin: 10px 0 16px;
}
.success-note {
    background: #e6f5ed;
    color: #256a4a;
}
.error-note {
    background: #fdeaea;
    color: #9a3434;
}
.unavailable-box {
    padding: 18px;
    background: #f2e7e4;
    border-radius: 14px;
    color: #75453e;
}
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-state > div {
    font-size: 4rem;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 30px;
}
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cart-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    display: grid;
    grid-template-columns: 88px 1fr auto auto;
    align-items: center;
    gap: 16px;
}
.cart-thumb {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
}
.cart-main h3 {
    margin: 0 0 5px;
}
.cart-main p {
    margin: 0;
    color: var(--muted);
}
.cart-main small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}
.cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-qty button {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}
.cart-subtotal {
    text-align: right;
}
.remove-link {
    border: 0;
    background: none;
    color: var(--danger);
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 8px;
}
.summary-card,
.tracking-card,
.payment-card,
.success-card,
.contact-card,
.admin-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(50, 31, 19, 0.04);
}
.summary-card {
    align-self: start;
    position: sticky;
    top: 95px;
}
.summary-card h3 {
    margin-top: 0;
}
.summary-card > div,
.summary-line,
.order-mini-list > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 12px 0;
}
.summary-card hr {
    border: 0;
    border-top: 1px solid var(--line);
}
.summary-total {
    font-size: 1.1rem;
    font-weight: 800;
}
.summary-remark {
    display: block;
    color: var(--muted);
    margin-top: -6px;
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 30px;
}
.panel-form {
    display: flex;
    flex-direction: column;
}
.panel-form h2 {
    margin-top: 0;
}
.panel-form p {
    color: var(--muted);
}
.payment-shell {
    min-height: 70vh;
}
.payment-card {
    text-align: center;
    padding: 36px;
}
.mock-badge {
    display: inline-block;
    background: #fff1c9;
    color: #8b6500;
    padding: 7px 10px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 800;
}
.payment-logo {
    font-size: 1.7rem;
    font-weight: 900;
    margin-top: 20px;
}
.payment-logo span {
    color: var(--brand);
}
.payment-meta {
    margin: 26px 0;
    text-align: left;
    background: var(--soft);
    padding: 18px;
    border-radius: 14px;
}
.payment-meta div {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.success-card {
    text-align: center;
    padding: 42px;
}
.success-icon {
    width: 72px;
    height: 72px;
    background: #e3f4ea;
    color: var(--success);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 2rem;
}
.queue-box {
    margin: 28px 0;
    background: var(--dark);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.queue-box strong {
    font-size: 3rem;
    letter-spacing: 0.08em;
}
.success-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.success-meta div {
    background: var(--soft);
    padding: 14px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.success-meta span {
    font-size: 0.75rem;
    color: var(--muted);
}
.status.paid {
    color: var(--success);
}
.pickup-alert {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff4d7;
    border: 1px solid #f2d387;
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 18px;
}
.pickup-alert i {
    font-size: 1.5rem;
    color: #c27b00;
}
.pickup-alert div {
    display: flex;
    flex-direction: column;
}
.pickup-alert.completed {
    background: #e6f5ed;
    border-color: #b9dfca;
}
.pickup-alert.completed i {
    color: var(--success);
}
.tracking-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.tracking-top > div {
    background: var(--soft);
    padding: 16px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
}
.tracker {
    margin: 28px 0;
}
.track-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    position: relative;
    padding-bottom: 24px;
    opacity: 0.45;
}
.track-step:before {
    content: '';
    position: absolute;
    left: 22px;
    top: 42px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--line);
}
.track-step:last-child:before {
    display: none;
}
.track-step.done {
    opacity: 1;
}
.track-dot {
    width: 44px;
    height: 44px;
    border: 2px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    font-weight: 800;
}
.track-step.done .track-dot {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}
.track-step.current strong {
    color: var(--brand);
}
.track-step span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 3px;
}
.order-mini-list {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.demo-controls {
    margin-top: 20px;
    background: #fff5ed;
    border: 1px dashed #e5aa84;
    padding: 18px;
    border-radius: 16px;
}
.demo-controls p {
    color: var(--muted);
}
.demo-controls form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}
.contact-row {
    display: flex;
    gap: 14px;
    margin: 20px 0;
}
.contact-row i {
    width: 38px;
    height: 38px;
    background: var(--soft);
    color: var(--brand);
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.contact-row div {
    display: flex;
    flex-direction: column;
}
.contact-row span {
    color: var(--muted);
    font-size: 0.9rem;
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--dark);
    color: #fff;
    display: grid;
    place-items: center;
}
.map-placeholder {
    min-height: 380px;
    border-radius: 22px;
    background: linear-gradient(135deg, #e8dfd7, #f7f0ea);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.map-placeholder i {
    font-size: 3.2rem;
    color: var(--brand);
}
.map-placeholder p {
    color: var(--muted);
}
.owner-photo {
    height: 360px;
    border-radius: 24px;
    background: #eadfd8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #776960;
}
.owner-photo i {
    font-size: 5rem;
    margin-bottom: 12px;
}
/* admin */
.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f7e9df, #fffaf5);
    padding: 25px;
}
.admin-login-card {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
}
.admin-login-card .brand {
    margin-bottom: 30px;
}
.admin-login-card h1 {
    font-size: 2rem;
    margin: 5px 0;
}
.admin-login-card p {
    color: var(--muted);
}
.demo-credential {
    display: block;
    text-align: center;
    color: var(--muted);
    margin: 14px 0;
}
.admin-body {
    background: #f5f2ef;
}
.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px 1fr;
}
.admin-sidebar {
    background: #241b17;
    color: #fff;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-brand {
    color: #fff;
    margin-bottom: 28px;
}
.admin-label {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: #7f7068;
    margin: 8px 10px;
}
.admin-sidebar nav,
.sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.admin-sidebar nav a,
.sidebar-bottom a {
    padding: 11px 12px;
    border-radius: 11px;
    color: #c9bbb3;
    display: flex;
    gap: 11px;
    align-items: center;
}
.admin-sidebar nav a:hover,
.sidebar-bottom a:hover {
    background: #382a24;
    color: #fff;
}
.sidebar-bottom {
    margin-top: auto;
}
.admin-main {
    min-width: 0;
}
.admin-topbar {
    padding: 28px 34px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-topbar h1 {
    margin: 2px 0 0;
    font-size: 2rem;
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-avatar,
.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}
.admin-user div:last-child {
    display: flex;
    flex-direction: column;
}
.admin-user span {
    font-size: 0.75rem;
    color: var(--muted);
}
.admin-content {
    padding: 16px 34px 40px;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-card i {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center;
}
.stat-card div {
    display: flex;
    flex-direction: column;
}
.stat-card span {
    font-size: 0.8rem;
    color: var(--muted);
}
.stat-card strong {
    font-size: 1.4rem;
}
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.panel-heading.standalone {
    margin-bottom: 14px;
}
.panel-heading h2 {
    margin: 0;
}
.panel-heading p {
    margin: 5px 0 0;
    color: var(--muted);
}
.table-wrap {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
th,
td {
    text-align: left;
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}
th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.status-chip {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 800;
    background: #eee;
}
.status-chip.paid,
.status-chip.completed {
    background: #e4f3ea;
    color: #24704d;
}
.status-chip.pending {
    background: #fff1cb;
    color: #9d6b00;
}
.status-chip.preparing {
    background: #e9eefb;
    color: #4862a4;
}
.status-chip.ready-for-pickup {
    background: #f5e7fb;
    color: #824ea1;
}
.status-chip.cancelled {
    background: #f8e3e3;
    color: #954040;
}
.table-action {
    font-weight: 800;
    color: var(--brand);
}
.table-food {
    display: flex;
    align-items: center;
    gap: 10px;
}
.table-food > span {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--soft);
    display: grid;
    place-items: center;
}
.table-actions {
    display: flex;
    gap: 8px;
}
.table-actions a,
.table-actions button {
    border: 0;
    background: none;
    color: var(--brand);
    font-weight: 700;
    cursor: pointer;
}
.table-actions .danger {
    color: var(--danger);
}
.narrow-admin {
    max-width: 760px;
}
.admin-panel.panel-form {
    padding: 26px;
}
.admin-panel.panel-form select {
    appearance: auto;
}
.admin-filters button {
    cursor: pointer;
}
.detail-admin-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0 24px;
}
.info-grid > div {
    background: var(--soft);
    padding: 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}
.info-grid span {
    font-size: 0.75rem;
    color: var(--muted);
}
.order-admin-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.order-admin-item span {
    display: flex;
    flex-direction: column;
}
.order-admin-item small {
    color: var(--muted);
    margin-top: 3px;
}
.status-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-card {
    text-align: center;
}
.profile-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    margin: 0 auto;
}
.profile-card .info-grid {
    text-align: left;
}
@media (max-width: 900px) {
    .hero-grid,
    .detail-grid,
    .about-grid,
    .owner-grid,
    .contact-grid,
    .checkout-grid,
    .cart-layout,
    .detail-admin-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        min-height: 370px;
    }
    .food-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .summary-card {
        position: static;
    }
    .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: relative;
        height: auto;
    }
    .admin-sidebar nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-bottom {
        flex-direction: row;
        margin-top: 18px;
    }
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav-container {
        height: 75px;
        padding: 0 18px;
    }

    .logo img {
        width: 85px;
        height: 60px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .main-nav {
        display: none;
    }

    .video-hero {
        height: calc(100vh - 75px);
        min-height: 550px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 15px;
    }

    .food-grid,
    .category-grid,
    .footer-grid,
    .success-meta,
    .stat-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }
    .section-heading {
        align-items: start;
        gap: 10px;
    }
    .section-heading .text-link {
        display: none;
    }
    .category-card {
        min-height: auto;
    }
    .about-panel div {
        height: 120px;
        font-size: 3rem;
    }
    .cta {
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-image {
        min-height: 330px;
        font-size: 6rem;
    }
    .cart-item {
        grid-template-columns: 70px 1fr;
    }
    .cart-thumb {
        width: 70px;
        height: 70px;
    }
    .cart-qty,
    .cart-subtotal {
        grid-column: 2;
    }
    .cart-subtotal {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .tracking-top {
        grid-template-columns: 1fr;
    }
    .admin-topbar,
    .admin-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .admin-user {
        display: none;
    }
    .admin-sidebar {
        padding: 18px 14px;
    }
    .admin-sidebar nav a {
        font-size: 0.8rem;
    }
    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================================
   PROMO 3 PCS - FLAVOUR SELECTION
   ========================================================= */

.flavour-selection {
    margin-bottom: 28px;
}

.flavour-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.flavour-heading label {
    margin: 0;
    font-weight: 700;
    color: #542d20;
}

#flavourCount {
    font-size: 14px;
    font-weight: 700;
    color: #f47b35;
    background: #fff4e3;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Flavour grid */

.flavour-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Individual flavour */

.flavour-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #ead8c5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

/* Hide original checkbox */

.flavour-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Custom checkbox */

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #d6bda9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    transition: all 0.2s ease;
}

.custom-checkbox i {
    display: none;
    color: #fff;
    font-size: 11px;
}

/* Checked state */

.flavour-option:has(.flavour-checkbox:checked) {
    border-color: #f48fb1;
    background: #fff0f5;
}

.flavour-option:has(.flavour-checkbox:checked) .custom-checkbox {
    background: #f48fb1;
    border-color: #f48fb1;
}

.flavour-option:has(.flavour-checkbox:checked) .custom-checkbox i {
    display: block;
}

/* Disabled state */

.flavour-option:has(.flavour-checkbox:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Flavour text */

.flavour-name {
    font-size: 14px;
    font-weight: 600;
    color: #542d20;
}

/* Helper text */

.flavour-help {
    display: block;
    margin-top: 10px;
    color: #8b6b5b;
    font-size: 13px;
}

/* =========================================================
   ERROR MESSAGE
   ========================================================= */

.error-note {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff0f0;
    border: 1px solid #f3b4b4;
    color: #a33a3a;
    font-size: 14px;
}

/* =========================================================
   CART - SELECTED FLAVOURS
   ========================================================= */

.cart-flavours {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6f5142;
}

.cart-flavours strong {
    color: #542d20;
}

.cart-flavours ul {
    margin: 5px 0 0 18px;
    padding: 0;
}

.cart-flavours li {
    margin-bottom: 2px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .flavour-grid {
        grid-template-columns: 1fr;
    }

    .flavour-heading {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }
}

/* =========================================================
   CART + ADMIN ICONS
   ========================================================= */

.nav-icon-link,
.nav-admin-link {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #542d20 !important;
    transition: 0.2s ease;
}

.nav-icon-link:hover,
.nav-admin-link:hover {
    background: #fff0d9;
    color: #f47b35 !important;
}

.nav-icon-link i,
.nav-admin-link i {
    font-size: 17px;
}

.nav-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50px;
    background: #f48fb1;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 19px;
    text-align: center;
    border: 2px solid #fffaf0;
}

.menu-add-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

@media (max-width: 640px) {
    .nav-links {
        gap: 8px;
    }

    .nav-icon-link,
    .nav-admin-link {
        width: 34px;
        height: 34px;
    }

    .menu-add-cart span {
        display: none;
    }
}

/* Menu page category navigation */
.menu-category-bar {
    background: #493737;
    color: #fff;
}

.menu-category-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.menu-category-links a {
    display: inline-block;
    padding: 14px 18px 11px;
    border-bottom: 3px solid transparent;
    color: inherit;
    font-weight: 800;
    white-space: nowrap;
}

.menu-category-links a:hover,
.menu-category-links a:focus-visible,
.menu-category-links a.active {
    border-bottom-color: #ffd166;
}

.menu-section {
    padding-top: 48px;
}

@media (max-width: 640px) {
    .menu-category-links {
        justify-content: flex-start;
        overflow-x: auto;
    }
}

/* PHASE 2 QR PAYMENT */
.qr-payment-card {
    background: #fff;
    border: 1px solid #ead8c5;
    border-radius: 24px;
    padding: 34px;
    text-align: center;
}
.qr-box {
    max-width: 320px;
    margin: 24px auto;
}
.qr-box img {
    width: 100%;
    display: block;
    border-radius: 18px;
}
.qr-note {
    font-size: 13px;
    color: #80685b;
}
.receipt-upload-form {
    text-align: left;
    margin-top: 24px;
}
.receipt-upload-form label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #542d20;
}
.receipt-upload-form label span {
    font-weight: 400;
    color: #80685b;
}
.receipt-upload-form input[type='file'] {
    width: 100%;
    padding: 14px;
    border: 1px dashed #d6bda9;
    border-radius: 12px;
    background: #fffaf4;
    margin-bottom: 16px;
}


/* =========================================================
   FINAL UI POLISH
   Buttons + Cart + Payment + Admin + Login
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL BUTTONS
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 11px 18px;

    border: 1px solid transparent;
    border-radius: 12px;

    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);

    box-shadow:
        0 9px 22px
        rgba(244, 123, 53, 0.24);
}

.btn-secondary {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.btn-secondary:hover {
    background: #3f2118;
    border-color: #3f2118;

    box-shadow:
        0 9px 22px
        rgba(84, 45, 32, 0.18);
}

.btn-light {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.btn-light:hover {
    background: var(--soft);
    border-color: #dfc4a8;
}

.btn-small {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 0.86rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled,
button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---------------------------------------------------------
   FOOD DETAILS + QUANTITY
   --------------------------------------------------------- */

.order-form .btn-primary {
    margin-top: 12px;
}

.qty-control button {
    color: var(--ink);
    font-weight: 800;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.qty-control button:hover {
    background: var(--soft);
    color: var(--brand);
}

/* ---------------------------------------------------------
   CART
   --------------------------------------------------------- */

.summary-card .btn {
    width: 100%;
    margin-top: 10px;
}

.summary-card .btn + .btn {
    margin-top: 9px;
}

.cart-qty button:hover {
    background: var(--soft);
    border-color: #dfc4a8;
    color: var(--brand);
}

.remove-link {
    padding: 0;
    font-weight: 700;
}

.remove-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   QR PAYMENT + RECEIPT UPLOAD
   --------------------------------------------------------- */

.qr-payment-card {
    box-shadow:
        0 18px 45px
        rgba(84, 45, 32, 0.08);
}

.qr-box {
    overflow: hidden;
    border-radius: 22px;
}

.qr-box img {
    max-height: 440px;
    object-fit: contain;
    background: #fff;
}

.receipt-upload-form {
    margin-top: 28px;
}

.receipt-upload-form label {
    align-items: center;
}

.receipt-upload-form input[type='file'] {
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.receipt-upload-form input[type='file']:hover {
    border-color: var(--brand);
    background: #fff7ee;
}

.receipt-upload-form
input[type='file']::file-selector-button {
    margin-right: 12px;

    padding: 10px 15px;

    border: 0;
    border-radius: 9px;

    background: var(--dark);
    color: #fff;

    font-weight: 800;
    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.receipt-upload-form
input[type='file']::file-selector-button:hover {
    background: var(--brand);
}

.receipt-upload-form .btn-primary {
    margin-top: 2px;
}

/* ---------------------------------------------------------
   ADMIN LAYOUT
   --------------------------------------------------------- */

.admin-body {
    background:
        linear-gradient(
            180deg,
            #f8f5f1 0%,
            #fffaf4 100%
        );
}

.admin-shell {
    grid-template-columns: 270px minmax(0, 1fr);
}

.admin-sidebar {
    background:
        linear-gradient(
            180deg,
            #241b17 0%,
            #1d1613 100%
        );

    padding:
        28px
        20px;

    box-shadow:
        10px 0 30px
        rgba(50, 31, 19, 0.05);
}

.admin-brand {
    font-size: 1.1rem;
    font-weight: 800;
}

.admin-sidebar nav a,
.sidebar-bottom a {
    min-height: 44px;
    padding:
        11px
        13px;

    border:
        1px solid
        transparent;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.admin-sidebar nav a:hover,
.sidebar-bottom a:hover {
    background: #382a24;
}

.admin-sidebar nav a.active {
    background:
        linear-gradient(
            135deg,
            #4a342a,
            #3a2922
        );

    color: #fff;

    border-color:
        rgba(
            255,
            255,
            255,
            0.05
        );
}

.admin-sidebar nav a.active i {
    color: var(--yellow);
}

.admin-main {
    min-width: 0;
    width: 100%;
}

.admin-topbar {
    padding:
        30px
        36px
        18px;

    border-bottom:
        1px solid
        rgba(
            234,
            216,
            197,
            0.6
        );

    background:
        rgba(
            255,
            250,
            244,
            0.72
        );

    backdrop-filter:
        blur(8px);
}

.admin-topbar h1 {
    color: var(--ink);
}

.admin-content {
    width: 100%;
    padding:
        24px
        36px
        46px;
}

.admin-panel {
    background: #fff;

    border:
        1px solid
        var(--line);

    box-shadow:
        0 14px 34px
        rgba(
            84,
            45,
            32,
            0.06
        );
}

.admin-panel h2,
.admin-panel h3 {
    color: var(--ink);
}

.admin-panel-help {
    margin-top: -4px;
    margin-bottom: 20px;
    color: var(--muted);
}

/* ---------------------------------------------------------
   ADMIN DASHBOARD STATS
   --------------------------------------------------------- */

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

    gap: 16px;
}

.stat-card {
    min-height: 108px;

    box-shadow:
        0 10px 28px
        rgba(
            84,
            45,
            32,
            0.05
        );

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 32px
        rgba(
            84,
            45,
            32,
            0.08
        );
}

.stat-card i {
    flex: 0 0 auto;
}

/* ---------------------------------------------------------
   ADMIN TABLES
   --------------------------------------------------------- */

.table-wrap {
    border-radius: 16px;
    overflow-x: auto;
}

table {
    background: #fff;
}

thead {
    background: #fff9f2;
}

th {
    color: #80685b;
}

tbody tr {
    transition:
        background 0.18s ease;
}

tbody tr:hover {
    background: #fffaf5;
}

td {
    vertical-align: middle;
}

.table-food > span {
    font-size: 1.35rem;
}

.table-actions {
    align-items: center;
    flex-wrap: wrap;
}

.table-actions form {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.table-actions a,
.table-actions button,
.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 7px 11px;

    border:
        1px solid
        #ead8c5;

    border-radius: 9px;

    background: #fff;
    color: var(--ink);

    font-size: 0.8rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.table-actions a:hover,
.table-actions button:hover,
.table-action:hover {
    background: var(--soft);
    color: var(--brand);
    border-color: #dfc4a8;
}

.table-actions .danger {
    background: #fff8f8;
    color: var(--danger);
    border-color: #f0cece;
}

.table-actions .danger:hover {
    background: #fdeaea;
    color: #9a3434;
    border-color: #eebcbc;
}

/* ---------------------------------------------------------
   ADMIN FORMS
   --------------------------------------------------------- */

.narrow-admin {
    width:
        min(
            820px,
            100%
        );

    margin-right: auto;
}

.panel-form {
    gap: 6px;
}

.panel-form label {
    color: var(--ink);
}

.panel-form input,
.panel-form textarea,
.panel-form select {
    min-height: 46px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.panel-form textarea {
    min-height: 120px;
    resize: vertical;
}

.panel-form input:focus,
.panel-form textarea:focus,
.panel-form select:focus {
    border-color: var(--brand);

    box-shadow:
        0 0 0 4px
        rgba(
            244,
            123,
            53,
            0.10
        );

    background: #fff;
}

.panel-form input[type='checkbox'] {
    width: auto;
    min-height: auto;
    box-shadow: none;
}

.admin-order-total {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------
   ADMIN LOGIN - AESTHETIC
   --------------------------------------------------------- */

.admin-login-page {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(
                255,
                209,
                102,
                0.28
            ),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(
                244,
                143,
                177,
                0.22
            ),
            transparent 30%
        ),
        #fff8ec;
}

.admin-login-wrapper {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 38px 20px;
}

.admin-login-card {
    width:
        min(
            450px,
            100%
        );

    padding:
        36px
        38px;

    border:
        1px solid
        var(--line);

    border-radius: 26px;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        );

    box-shadow:
        0 24px 60px
        rgba(
            84,
            45,
            32,
            0.12
        );
}

.admin-login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.admin-login-logo img {
    width: 92px;
    height: 92px;

    object-fit: contain;

    border-radius: 20px;
}

.admin-login-heading {
    margin-bottom: 28px;
    text-align: center;
}

.admin-login-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--brand);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.16em;
}

.admin-login-heading h1 {
    margin:
        0
        0
        7px;

    color: var(--ink);

    font-size: 2.15rem;
}

.admin-login-heading p {
    margin: 0;
    color: var(--muted);
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 0.88rem;
    font-weight: 800;
}

.admin-login-input {
    min-height: 52px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding:
        0
        15px;

    border:
        1px solid
        var(--line);

    border-radius: 13px;

    background: #fffaf5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.admin-login-input i {
    width: 19px;
    color: #c87546;
}

.admin-login-input input {
    width: 100%;

    padding:
        14px
        0;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--ink);
}

.admin-login-input input::placeholder {
    color: #b29b8f;
}

.admin-login-input:focus-within {
    border-color: var(--brand);
    background: #fff;

    box-shadow:
        0 0 0 4px
        rgba(
            244,
            123,
            53,
            0.10
        );
}

.admin-login-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 2px;
    padding: 13px 18px;

    border: 0;
    border-radius: 13px;

    background: var(--brand);
    color: #fff;

    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-login-button:hover {
    background: var(--brand-dark);

    transform:
        translateY(
            -2px
        );

    box-shadow:
        0 9px 22px
        rgba(
            244,
            123,
            53,
            0.24
        );
}

.admin-login-error {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;
    padding: 12px 14px;

    border:
        1px solid
        #f0c6c6;

    border-radius: 11px;

    background: #fff1f1;
    color: #a33a3a;

    font-size: 0.88rem;
}

.admin-login-back {
    margin-top: 24px;
    text-align: center;
}

.admin-login-back a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--brand);

    font-size: 0.88rem;
    font-weight: 800;
}

.admin-login-back a:hover {
    color: var(--ink);
}

/* ---------------------------------------------------------
   TRACKING
   --------------------------------------------------------- */

.tracking-card {
    margin-top: 24px;
}

.order-mini-list span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-mini-list small {
    color: var(--muted);
}

/* ---------------------------------------------------------
   RESPONSIVE ADMIN
   --------------------------------------------------------- */

@media (max-width: 1050px) {

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

@media (max-width: 760px) {

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        position: relative;

        width: 100%;
        height: auto;
    }

    .admin-sidebar nav {
        display: grid;

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

    .sidebar-bottom {
        margin-top: 18px;
    }

    .admin-topbar {
        padding:
            22px
            18px
            15px;
    }

    .admin-content {
        padding:
            18px
            18px
            36px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-user {
        display: none;
    }

    .detail-admin-grid {
        grid-template-columns: 1fr;
    }

    .receipt-upload-form label {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {

    .admin-login-card {
        padding:
            28px
            22px;

        border-radius: 22px;
    }

    .admin-login-heading h1 {
        font-size: 1.8rem;
    }

    .admin-login-logo img {
        width: 78px;
        height: 78px;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ADMIN FORM / PAYMENT EXTRAS
   ========================================================= */

.admin-checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 14px;
}

.admin-check {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;

    margin: 0 !important;
    padding: 11px 13px;

    border: 1px solid var(--line);
    border-radius: 11px;

    background: #fffaf5;

    cursor: pointer;
}

.admin-check input {
    accent-color: var(--brand);
}

.payment-action-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.btn-approve {
    background: #e7f5eb;
    color: #2d754e;
    border-color: #c9e7d3;
}

.btn-approve:hover {
    background: #d9efdf;
    color: #225f3e;
}

.btn-reject {
    background: #fff0f0;
    color: #a23d3d;
    border-color: #efcaca;
}

.btn-reject:hover {
    background: #fbe1e1;
    color: #8c2f2f;
}

.verified-label,
.muted-text {
    color: var(--muted);
    font-size: 0.82rem;
}

.status-chip.awaiting-verification,
.status-chip.awaiting-receipt {
    background: #fff1cb;
    color: #9d6b00;
}

.status-chip.rejected {
    background: #f8e3e3;
    color: #954040;
}

@media (max-width: 560px) {
    .admin-checkbox-row {
        flex-direction: column;
    }

    .admin-check {
        width: 100%;
    }
}


/* =========================================================
   ADMIN RECEIPT REVIEW
   ========================================================= */

.admin-flash-message {
    margin-bottom: 18px;
}

.success-note {
    padding: 13px 15px;

    border:
        1px solid
        #cce8d5;

    border-radius: 12px;

    background: #eaf7ee;
    color: #2f704c;
}

.admin-receipt-section {
    margin-top: 28px;
    padding-top: 24px;

    border-top:
        1px solid
        var(--line);
}

.admin-receipt-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 18px;
}

.admin-receipt-heading h3 {
    margin:
        0
        0
        5px;
}

.admin-receipt-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 0.86rem;
}

.admin-receipt-preview {
    display: flex;
    justify-content: center;

    padding: 16px;
    margin-bottom: 12px;

    border:
        1px solid
        var(--line);

    border-radius: 16px;

    background: #fffaf4;
}

.admin-receipt-preview img {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 520px;

    object-fit: contain;

    border-radius: 11px;
}

.receipt-verification-box {
    margin-top: 18px;
    padding: 18px;

    border:
        1px solid
        var(--line);

    border-radius: 15px;

    background: #fffaf4;
}

.receipt-verification-box h4 {
    margin:
        0
        0
        5px;

    color: var(--ink);
}

.receipt-verification-box p {
    margin:
        0
        0
        14px;

    color: var(--muted);

    font-size: 0.86rem;
}

.receipt-action-buttons {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;
}

.receipt-action-buttons form {
    margin: 0;
}

.receipt-action-buttons .btn {
    min-height: 45px;
}

.btn-approve {
    border:
        1px solid
        #bfe0ca;

    background: #e4f5e9;
    color: #276846;
}

.btn-approve:hover {
    border-color: #78b88e;

    background: #d3eddb;
    color: #1f583a;
}

.btn-reject {
    border:
        1px solid
        #edc1c1;

    background: #fff0f0;
    color: #a23d3d;
}

.btn-reject:hover {
    border-color: #d88c8c;

    background: #f9dddd;
    color: #852d2d;
}

.receipt-result {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 16px;
    padding: 14px;

    border-radius: 13px;
}

.receipt-result i {
    font-size: 1.35rem;
}

.receipt-result div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.receipt-result span {
    font-size: 0.82rem;
}

.receipt-result.approved {
    border:
        1px solid
        #c8e6d2;

    background: #eaf7ee;
    color: #2c704b;
}

.receipt-result.rejected {
    border:
        1px solid
        #efcaca;

    background: #fff0f0;
    color: #983d3d;
}

.no-receipt-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    padding:
        34px
        20px;

    border:
        1px dashed
        #ddc5ac;

    border-radius: 14px;

    background: #fffaf4;
    color: var(--muted);

    text-align: center;
}

.no-receipt-box i {
    margin-bottom: 4px;

    color: var(--brand);

    font-size: 1.8rem;
}

.no-receipt-box strong {
    color: var(--ink);
}

.no-receipt-box span {
    font-size: 0.82rem;
}

.admin-status-warning {
    display: flex;
    gap: 9px;

    margin-bottom: 16px;
    padding: 12px 13px;

    border:
        1px solid
        #efd69c;

    border-radius: 11px;

    background: #fff5d9;
    color: #8b6410;

    font-size: 0.84rem;
    line-height: 1.45;
}


/* =========================================================
   CUSTOMER REJECTED RECEIPT
   ========================================================= */

.payment-rejected-notice,
.customer-payment-rejected,
.customer-payment-waiting {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin:
        18px
        0;

    padding: 15px;

    border-radius: 13px;
}

.payment-rejected-notice,
.customer-payment-rejected {
    border:
        1px solid
        #efc7c7;

    background: #fff0f0;
    color: #963b3b;
}

.payment-rejected-notice i,
.customer-payment-rejected > i {
    margin-top: 2px;

    font-size: 1.25rem;
}

.payment-rejected-notice div,
.customer-payment-rejected div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.payment-rejected-notice span,
.customer-payment-rejected p {
    margin: 0;

    color: #8c5959;

    font-size: 0.86rem;
    line-height: 1.5;
}

.customer-payment-rejected .btn {
    margin-top: 8px;
}

.customer-payment-waiting {
    border:
        1px solid
        #ead5a1;

    background: #fff5da;
    color: #8a650f;
}

.customer-payment-waiting i {
    margin-top: 2px;
}

@media (max-width: 650px) {

    .admin-receipt-heading {
        flex-direction: column;
    }

    .receipt-action-buttons {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CONTACT PAGE UPDATE
========================================= */

.map-embed-card {
    background: #fff;
    padding: 18px;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(84, 45, 32, 0.08);
}

.map-embed {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    min-height: 330px;
    border: 1px solid rgba(234, 216, 197, 0.9);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
}

.map-card-caption {
    padding-top: 16px;
}

.map-card-caption h3 {
    margin: 0 0 6px;
    color: var(--ink);
}

.map-card-caption p {
    margin: 0;
    color: var(--muted);
}

/* =========================================
   BATIK DOODLE DECORATION
========================================= */

body {
    min-height: 100vh;
    background:
        url('../images/batik-corner-tr.png') top -22px right -22px / 230px no-repeat,
        url('../images/batik-corner-bl.png') bottom -28px left -28px / 230px no-repeat,
        var(--bg);
}

.admin-body,
.admin-login-body {
    background:
        url('../images/batik-corner-tr.png') top -22px right -22px / 210px no-repeat,
        url('../images/batik-corner-bl.png') bottom -28px left -28px / 210px no-repeat,
        #f7f1eb;
}

.video-hero,
.page-hero,
.section,
.admin-content,
.admin-login-card,
.admin-panel,
.payment-card,
.summary-card,
.cart-item,
.contact-card,
.profile-card,
.tracking-card,
.success-card,
.map-embed-card,
.owner-photo {
    position: relative;
}

.admin-panel::before,
.admin-login-card::before,
.payment-card::before,
.summary-card::before,
.contact-card::before,
.profile-card::before,
.tracking-card::before,
.success-card::before,
.map-embed-card::before,
.owner-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    background: url('../images/batik-corner-tr.png') center / contain no-repeat;
    opacity: 0.32;
    pointer-events: none;
}

.admin-panel::after,
.payment-card::after,
.summary-card::after,
.cart-item::after,
.contact-card::after,
.profile-card::after,
.tracking-card::after,
.success-card::after,
.map-embed-card::after,
.owner-photo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 112px;
    height: 112px;
    background: url('../images/batik-corner-bl.png') center / contain no-repeat;
    opacity: 0.28;
    pointer-events: none;
}

.page-hero::before,
.section.soft-section::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10px;
    width: 180px;
    height: 180px;
    background: url('../images/batik-corner-tl.png') center / contain no-repeat;
    opacity: 0.36;
    pointer-events: none;
}

.page-hero::after,
.section.soft-section::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 180px;
    height: 180px;
    background: url('../images/batik-corner-br.png') center / contain no-repeat;
    opacity: 0.36;
    pointer-events: none;
}

.food-card,
.category-card,
.contact-card,
.payment-card,
.summary-card,
.cart-item,
.tracking-card,
.success-card,
.admin-panel,
.admin-login-card,
.profile-card,
.map-embed-card,
.owner-photo {
    box-shadow: 0 18px 40px rgba(84, 45, 32, 0.08);
    border: 1px solid rgba(234, 216, 197, 0.9);
}

@media (max-width: 768px) {
    body {
        background:
            url('../images/batik-corner-tr.png') top -12px right -14px / 110px no-repeat,
            url('../images/batik-corner-bl.png') bottom -18px left -18px / 110px no-repeat,
            var(--bg);
    }

    .admin-body,
    .admin-login-body {
        background:
            url('../images/batik-corner-tr.png') top -12px right -14px / 110px no-repeat,
            url('../images/batik-corner-bl.png') bottom -18px left -18px / 110px no-repeat,
            #f7f1eb;
    }

    .page-hero::before,
    .page-hero::after,
    .section.soft-section::before,
    .section.soft-section::after {
        width: 100px;
        height: 100px;
        opacity: 0.24;
    }

    .admin-panel::before,
    .admin-panel::after,
    .admin-login-card::before,
    .payment-card::before,
    .payment-card::after,
    .summary-card::before,
    .summary-card::after,
    .cart-item::after,
    .contact-card::before,
    .contact-card::after,
    .profile-card::before,
    .profile-card::after,
    .tracking-card::before,
    .tracking-card::after,
    .success-card::before,
    .success-card::after,
    .map-embed-card::before,
    .map-embed-card::after,
    .owner-photo::before,
    .owner-photo::after {
        width: 78px;
        height: 78px;
    }
}


/* Homepage video should stay clean without batik decorations. */
.video-hero::before,
.video-hero::after {
    content: none !important;
    display: none !important;
    background: none !important;
}


/* =========================================================
   REAL MENU PHOTOS
   ========================================================= */

.food-image {
    overflow: hidden;
    background: #f7eee6;
}

.food-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.food-card:hover .food-photo {
    transform: scale(1.035);
}

.detail-image {
    overflow: hidden;
    background: #f7eee6;
}

.detail-food-photo {
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.cart-thumb {
    overflow: hidden;
    background: #f7eee6;
}

.cart-food-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.table-food-image {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--line);
}

.owner-photo {
    overflow: hidden;
    padding: 0;
}

.owner-photo-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .detail-food-photo {
        min-height: 360px;
    }
}


/* =========================================================
   NATURAL MENU IMAGE FRAME
   Let each menu image keep its original aspect ratio instead
   of forcing it into a fixed-height cropped frame.
   ========================================================= */

.food-image {
    height: auto !important;
    min-height: 0 !important;
    display: block;
    background: transparent;
    overflow: hidden;
}

.food-photo {
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: contain !important;
    object-position: center;
}

.food-card:hover .food-photo {
    transform: none;
}

/* Food Details image also keeps the original image proportion. */
.detail-image {
    height: auto !important;
    min-height: 0 !important;
    display: block;
    overflow: hidden;
    background: transparent;
}

.detail-food-photo {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block;
    object-fit: contain !important;
    object-position: center;
}

/* Keep cart thumbnails tidy because they are intentionally small. */
.cart-thumb {
    overflow: hidden;
}

.cart-food-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   CUSTOMER ORDER DETAILS / PROGRESS
   ========================================================= */

.order-details-container {
    width: min(
        980px,
        calc(100% - 40px)
    );

    margin: auto;
}

.customer-order-summary {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 14px;

    margin-bottom: 22px;
}

.customer-order-summary > div {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 18px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: #fff;
}

.customer-order-summary span {
    color: var(--muted);
    font-size: 0.82rem;
}

.customer-order-summary strong {
    color: var(--ink);
}

.customer-progress-card,
.customer-order-items-card {
    position: relative;

    margin-bottom: 22px;
    padding: 28px;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 16px 40px
        rgba(84, 45, 32, 0.07);

    overflow: hidden;
}

.customer-progress-heading,
.customer-order-items-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;

    margin-bottom: 24px;
}

.customer-progress-heading h2,
.customer-order-items-heading h2 {
    margin:
        4px
        0
        0;

    color: var(--ink);
}

.customer-current-status {
    display: inline-flex;
    align-items: center;

    padding:
        8px
        13px;

    border-radius: 50px;

    background: var(--soft);
    color: var(--brand-dark);

    font-size: 0.82rem;
    font-weight: 800;
}

.customer-progress-step {
    position: relative;

    display: grid;

    grid-template-columns:
        52px
        1fr;

    gap: 16px;

    min-height: 92px;

    opacity: 0.42;
}

.customer-progress-step:not(:last-child)::after {
    content: '';

    position: absolute;

    top: 50px;
    left: 24px;

    width: 3px;
    height: calc(100% - 12px);

    border-radius: 50px;

    background: var(--line);
}

.customer-progress-step.done,
.customer-progress-step.current {
    opacity: 1;
}

.customer-progress-step.done:not(:last-child)::after {
    background: var(--pandan);
}

.customer-progress-icon {
    position: relative;
    z-index: 2;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border: 2px solid var(--line);
    border-radius: 50%;

    background: #fff;
    color: var(--muted);
}

.customer-progress-step.done
.customer-progress-icon {
    border-color: var(--pandan);

    background: var(--pandan);
    color: #fff;
}

.customer-progress-step.current
.customer-progress-icon {
    border-color: var(--brand);

    background: var(--brand);
    color: #fff;

    box-shadow:
        0 0 0 6px
        rgba(244, 123, 53, 0.12);
}

.customer-progress-step > div:last-child {
    padding-top: 4px;
}

.customer-progress-step strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ink);
}

.customer-progress-step span {
    display: block;

    max-width: 620px;

    color: var(--muted);

    font-size: 0.88rem;
    line-height: 1.5;
}

.progress-danger-text {
    color: var(--danger) !important;
}

.progress-inline-link {
    display: inline-block;

    margin-top: 7px;

    color: var(--brand-dark);

    font-size: 0.85rem;
    font-weight: 800;
}

.customer-cancelled-order {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 8px;
    padding: 15px;

    border: 1px solid #edc5c5;
    border-radius: 13px;

    background: #fff0f0;
    color: #9b3f3f;
}

.customer-order-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding:
        16px
        0;

    border-bottom: 1px solid var(--line);
}

.customer-order-item:last-child {
    border-bottom: 0;
}

.customer-order-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.customer-order-item span {
    color: var(--muted);
    font-size: 0.84rem;
}

.customer-order-detail-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    margin-top: 18px;
}

.order-status-detail-link {
    margin:
        20px
        0;
}

@media (max-width: 760px) {

    .customer-order-summary {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .customer-progress-heading,
    .customer-order-items-heading {
        flex-direction: column;
    }

    .customer-order-detail-actions {
        flex-direction: column;
    }

    .customer-order-detail-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .customer-order-summary {
        grid-template-columns: 1fr;
    }

    .customer-progress-card,
    .customer-order-items-card {
        padding: 22px 18px;
    }

    .customer-progress-step {
        grid-template-columns:
            46px
            1fr;

        gap: 12px;
    }

    .customer-progress-icon {
        width: 44px;
        height: 44px;
    }

    .customer-progress-step:not(:last-child)::after {
        left: 21px;
        top: 44px;
    }
}


/* =========================================================
   FINAL MOBILE COMPACT LAYOUT
   Smaller homepage + 3 menu cards per row on phones
   ========================================================= */

@media (max-width: 768px) {

    /* ---------- GLOBAL MOBILE ---------- */

    .container {
        width: min(100% - 20px, 1200px);
    }

    .section {
        padding: 34px 0;
    }


    /* ---------- MOBILE NAVBAR ---------- */

    .nav-container {
        height: 64px;
        padding: 0 10px;
        gap: 8px;
    }

    .logo img {
        width: 58px;
        height: 48px;
    }

    .nav-links {
        flex: 1;
        justify-content: flex-end;
        gap: 9px;
        min-width: 0;
    }

    .nav-links a {
        font-size: 10px;
        line-height: 1.05;
        text-align: center;
    }

    .nav-icon-link,
    .nav-admin-link {
        width: 25px;
        min-width: 25px;
        padding: 0;
        font-size: 13px !important;
    }


    /* ---------- HOMEPAGE VIDEO HERO ---------- */

    .video-hero {
        height: calc(100svh - 64px);
        min-height: 520px;
    }

    .hero-content {
        width: calc(100% - 34px);
        max-width: 390px;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        margin-bottom: 16px;
        font-size: clamp(2.35rem, 12vw, 3.15rem);
        line-height: 0.98;
    }

    .hero-content p {
        max-width: 320px;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.45;
    }

    .hero-button {
        gap: 7px;
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Never show batik inside the homepage video area. */
    .video-hero::before,
    .video-hero::after {
        content: none !important;
        display: none !important;
    }


    /* ---------- PAGE HERO ---------- */

    .page-hero {
        padding: 34px 0 26px;
    }

    .page-hero.compact {
        padding: 30px 0 24px;
    }

    .page-hero h1 {
        font-size: 2.3rem;
        line-height: 1.05;
    }

    .page-hero p {
        font-size: 13px;
        line-height: 1.45;
    }


    /* ---------- MENU CATEGORY BAR ---------- */

    .menu-category-bar {
        overflow: hidden;
    }

    .menu-category-links {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        overflow: visible;
        gap: 0;
    }

    .menu-category-links a {
        padding: 11px 4px 9px;
        font-size: 10px;
        text-align: center;
        white-space: normal;
        line-height: 1.15;
    }

    .menu-section {
        padding-top: 22px;
    }


    /* ---------- 3 FOOD CARDS PER ROW ---------- */

    .food-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .food-card {
        min-width: 0;
        border-radius: 12px;
        box-shadow: 0 5px 14px rgba(64, 41, 25, 0.05);
    }

    /* On mobile use a compact image frame so all 3 cards align. */
    .food-image {
        width: 100%;
        height: 108px !important;
        min-height: 108px !important;
        position: relative;
        overflow: hidden;
        background: #f7eee6;
    }

    .food-photo {
        width: 100%;
        height: 108px !important;
        object-fit: cover !important;
        object-position: center;
    }

    .food-category-tag {
        top: 6px;
        left: 6px;
        padding: 4px 6px;
        font-size: 7px;
        line-height: 1;
        border-radius: 20px;
    }

    .unavailable-label {
        font-size: 7px;
        padding: 4px 6px;
    }

    .food-card-body {
        padding: 8px 7px 9px;
    }

    .food-card-body h3 {
        margin-bottom: 5px;
        font-size: 10.5px;
        line-height: 1.18;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;

        min-height: 25px;
    }

    /* Descriptions make 3-column cards too tall on a phone. */
    .food-card-body > p {
        display: none;
    }

    .food-card-bottom {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }

    .food-card-bottom > strong {
        font-size: 10.5px;
        white-space: nowrap;
    }

    .food-card-bottom .btn {
        min-height: 0;
        padding: 5px 6px;
        border-radius: 7px;
        font-size: 8px;
        line-height: 1;
    }

    /* Menu page: keep only a compact View button.
       Customer can choose quantity/options on Food Details. */
    .menu-add-cart {
        display: none !important;
    }

    .food-card-bottom .circle-arrow {
        width: 25px;
        height: 25px;
        min-width: 25px;
        font-size: 10px;
    }


    /* ---------- HOMEPAGE TOP 5 ---------- */

    .section-heading {
        gap: 8px;
        margin-bottom: 18px;
    }

    .section-heading h2,
    .center-heading h2 {
        font-size: 1.8rem;
    }

    .section-heading .text-link {
        font-size: 11px;
    }


    /* ---------- CATEGORY CARDS ---------- */

    .category-grid {
        gap: 10px;
    }

    .category-card {
        padding: 16px;
    }


    /* ---------- BATIK ON MOBILE ---------- */

    /* Keep batik decorative but smaller than desktop. */
    body {
        background:
            url('../images/batik-corner-tr.png')
            top -10px right -10px /
            72px no-repeat,

            url('../images/batik-corner-bl.png')
            bottom -12px left -12px /
            72px no-repeat,

            var(--bg);
    }

    .page-hero::before,
    .page-hero::after,
    .section.soft-section::before,
    .section.soft-section::after {
        width: 78px !important;
        height: 78px !important;
        opacity: 0.18 !important;
    }
}


/* Extra-small phones */
@media (max-width: 390px) {

    .nav-container {
        padding: 0 7px;
    }

    .logo img {
        width: 52px;
    }

    .nav-links {
        gap: 7px;
    }

    .nav-links a {
        font-size: 9px;
    }

    .food-grid {
        gap: 6px;
    }

    .food-image,
    .food-photo {
        height: 96px !important;
        min-height: 96px !important;
    }

    .food-card-body {
        padding: 7px 6px 8px;
    }

    .food-card-body h3 {
        font-size: 9.5px;
        min-height: 23px;
    }

    .food-card-bottom > strong {
        font-size: 9.5px;
    }

    .food-card-bottom .btn {
        padding: 4px 5px;
        font-size: 7.5px;
    }

    .hero-content h1 {
        font-size: 2.35rem;
    }
}


/* =========================================================
   MOBILE MENU IMAGE - SHOW FULL IMAGE
   ========================================================= */

@media (max-width: 768px) {

    .food-image {
        height: 96px !important;
        min-height: 96px !important;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 4px;

        background: #fffaf4;
    }

    .food-photo {
        width: 100%;
        height: 100% !important;

        object-fit: contain !important;
        object-position: center;

        border-radius: 8px;
    }
}


@media (max-width: 390px) {

    .food-image {
        height: 88px !important;
        min-height: 88px !important;
    }
}
