/* =========================================================
   1) RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ----- Theme: Nature (default) ----- */
body.theme-nature {
    background-color: #fcf8f2;
    color: #2b2d42;
}
body.theme-nature ::selection {
    background-color: #2d5a27;
    color: #ffffff;
}

/* ----- Theme: Calm ----- */
body.theme-calm {
    background-color: #f8fafc;
    color: #1e293b;
}
body.theme-calm ::selection {
    background-color: #0ea5e9;
    color: #ffffff;
}

/* ----- Custom scrollbar ----- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
    background: #2d5a27;
    border-radius: 4px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

input {
    font-family: inherit;
    outline: none;
}

.hidden {
    display: none !important;
}

/* =========================================================
   2) BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-accent {
    background-color: #fbbf24;
    color: #0f172a;
}
.btn-accent:hover {
    background-color: #f59e0b;
}

.btn-ghost {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}
.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background-color: #2d5a27;
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #23461f;
}

.btn-whatsapp {
    width: 100%;
    background-color: #059669;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.btn-whatsapp:hover {
    background-color: #047857;
}

/* =========================================================
   3) HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(120, 53, 15, 0.1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ----- Brand ----- */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.brand-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #2d5a27;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 2px solid #fde68a;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2d5a27;
    letter-spacing: 0.025em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #92400e;
    font-weight: 600;
}

/* ----- Navigation ----- */
.main-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-weight: 600;
}

.nav-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #475569;
    transition: all 0.2s ease;
}
.nav-btn:hover {
    color: #2d5a27;
}
.nav-btn.active {
    color: #2d5a27;
    background-color: #ecfdf5;
}

/* ----- Header Actions ----- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    background-color: #fef3c7;
    color: #78350f;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}
.theme-btn:hover {
    transform: scale(1.05);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #2d5a27;
    color: #ffffff;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}
.cart-btn:hover {
    background-color: #23461f;
}
.cart-btn:active {
    transform: scale(0.95);
}
.cart-btn-text {
    display: none;
    font-weight: 700;
}

.cart-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mobile-toggle {
    padding: 0.5rem;
    color: #334155;
    font-size: 1.25rem;
}

/* ----- Mobile Menu ----- */
.mobile-menu {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
}
.mobile-menu-btn {
    display: block;
    width: 100%;
    text-align: right;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #334155;
}
.mobile-menu-btn.active {
    color: #2d5a27;
}

/* =========================================================
   4) MAIN / VIEWS
   ========================================================= */
.main-content {
    flex-grow: 1;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

.view {
    display: block;
}
.home-view {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* =========================================================
   5) HERO
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(to right, #2d5a27, #4a7c39);
    color: #ffffff;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 16px 16px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 36rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-badge {
    display: inline-block;
    background-color: #fbbf24;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    align-self: flex-start;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.15;
}

.hero-desc {
    color: #d1fae5;
    font-size: 0.875rem;
}

.hero-actions {
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    z-index: 10;
    width: 12rem;
    height: 12rem;
    border-radius: 9999px;
    background-color: rgba(254, 243, 199, 0.2);
    padding: 1rem;
    border: 4px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-visual-inner {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background-color: #2d5a27;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fcd34d;
    padding: 1rem;
    text-align: center;
    border: 2px solid #fde68a;
}
.hero-visual-inner i {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}
.hero-visual-title {
    font-weight: 900;
    font-size: 1.125rem;
    color: #ffffff;
}
.hero-visual-sub {
    font-size: 0.75rem;
    color: #fde68a;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

/* =========================================================
   6) MENU SECTION (Search + Categories)
   ========================================================= */
.menu-section {
    padding-top: 1rem;
}

.menu-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding-right: 0.75rem;
    color: #94a3b8;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.search-input:focus {
    border-color: #2d5a27;
    box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.3);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.cat-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cat-btn:hover {
    background-color: #ecfdf5;
}
.cat-btn.active {
    background-color: #2d5a27;
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* =========================================================
   7) MENU GRID & CARDS
   ========================================================= */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.menu-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.menu-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.menu-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #ecfdf5;
    color: #2d5a27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.menu-card-unit {
    background-color: #fef3c7;
    color: #78350f;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.menu-card-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: #1e293b;
    transition: color 0.2s ease;
}
.menu-card:hover .menu-card-title {
    color: #2d5a27;
}

.menu-card-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-bottom {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price-label {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

.menu-card-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #2d5a27;
}
.menu-card-price small {
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-add {
    background-color: #2d5a27;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.btn-add:hover {
    background-color: #23461f;
}
.btn-add:active {
    transform: scale(0.95);
}

/* Empty state */
.menu-empty {
    grid-column: 1 / -1;
    padding: 4rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.menu-empty i {
    font-size: 2.25rem;
    color: #94a3b8;
}
.menu-empty p {
    color: #64748b;
    font-weight: 600;
    font-size: 1.125rem;
}

/* =========================================================
   8) POLICY VIEW
   ========================================================= */
.policy-view {
    max-width: 56rem;
    margin: 0 auto;
}

.policy-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.policy-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.policy-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2d5a27;
}

.policy-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.policy-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #334155;
    line-height: 1.7;
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.policy-item {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
}
.policy-item-amber {
    background-color: #fffbeb;
    border-color: #fde68a;
}
.policy-item-amber .policy-item-title {
    color: #78350f;
}
.policy-item-emerald {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
}
.policy-item-emerald .policy-item-title {
    color: #2d5a27;
}
.policy-item-slate {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}
.policy-item-slate .policy-item-title {
    color: #0f172a;
}

.policy-item-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-footer {
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* =========================================================
   9) CART MODAL
   ========================================================= */
.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cart-panel-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    display: flex;
    padding-left: 2.5rem;
}

.cart-panel {
    width: 100vw;
    max-width: 28rem;
    background-color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 1.5rem;
    background-color: #2d5a27;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-header-title i {
    font-size: 1.25rem;
}
.cart-header-title h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.cart-close {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    font-size: 1.25rem;
}
.cart-close:hover {
    color: #ffffff;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}
.cart-items > * + * {
    border-top: 1px solid #f1f5f9;
}

.cart-item {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-info {
    flex-grow: 1;
}
.cart-item-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.875rem;
}
.cart-item-meta {
    font-size: 0.75rem;
    color: #2d5a27;
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.qty-btn:hover {
    background-color: #e2e8f0;
}

.qty-value {
    font-size: 0.875rem;
    font-weight: 700;
    width: 1.5rem;
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cart-empty i {
    font-size: 2.25rem;
    color: #cbd5e1;
}
.cart-empty p {
    color: #64748b;
    font-weight: 600;
}

.cart-footer {
    padding: 1.5rem;
    background-color: rgba(248, 250, 252, 0.8);
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 900;
}
.cart-total-price {
    color: #2d5a27;
}

.cart-note label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}
.cart-note-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cart-note-input:focus {
    border-color: #2d5a27;
    box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.3);
}

/* =========================================================
   10) TOAST
   ========================================================= */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    max-width: 24rem;
    background-color: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #334155;
}

.toast-icon {
    color: #34d399;
    font-size: 1.25rem;
}
.toast-icon.error {
    color: #f87171;
}

.toast-text {
    font-size: 0.875rem;
    font-weight: 600;
}

/* =========================================================
   11) FOOTER
   ========================================================= */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: 3rem;
    transition: background-color 0.3s ease;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
}

.footer-brand h4 {
    font-size: 1.125rem;
    font-weight: 900;
    color: #2d5a27;
}

.footer-brand p {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #475569;
    font-size: 0.875rem;
}
.footer-links button {
    transition: color 0.2s ease;
}
.footer-links button:hover,
.footer-links a:hover {
    color: #2d5a27;
}

/* Payment Popup */
.payment-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.payment-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 26rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.payment-icon i {
    font-size: 3.5rem;
    color: #059669;
}
.payment-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: .75rem;
}
.payment-order {
    font-size: .9rem;
    color: #475569;
    margin-top: .5rem;
}
.payment-order strong {
    color: #2d5a27;
    font-family: monospace;
    letter-spacing: .5px;
}
.payment-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1.25rem 0;
}
.payment-subtitle {
    font-size: 1rem;
    font-weight: 800;
    color: #2d5a27;
    margin-bottom: 1rem;
}
.payment-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    padding: 1rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.payment-row {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
}
.payment-row strong {
    color: #14532d;
    font-family: monospace;
    font-size: 1rem;
}
.payment-actions {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
}
.payment-actions .btn {
    flex: 1;
    padding: .65rem 1rem;
    font-size: .85rem;
}
.btn-ghost-dark {
    background: #f1f5f9;
    color: #334155;
}
.btn-ghost-dark:hover { background: #e2e8f0; }
.payment-hint {
    font-size: .75rem;
    color: #64748b;
    margin-top: 1rem;
    line-height: 1.6;
}
/* Status Badge */
.payment-status {
    font-size: .85rem;
    color: #475569;
    margin-top: .5rem;
}
.status-badge {
    background: #fef3c7;
    color: #78350f;
    padding: .15rem .6rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: .8rem;
}

/* Final Actions */
.payment-actions-final {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}
.payment-actions-final .btn {
    flex: 1;
    padding: .65rem 1rem;
    font-size: .85rem;
}
.btn-paid {
    background: #059669;
    color: #fff;
}
.btn-paid:hover { background: #047857; }

/* Orders Button */
.orders-btn {
    background-color: #78350f;
}
.orders-btn:hover {
    background-color: #5b2a0a;
}

/* Order Card */
.order-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: .75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.order-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-id {
    font-family: monospace;
    font-weight: 800;
    color: #2d5a27;
    font-size: .8rem;
}
.order-status {
    font-size: .7rem;
    font-weight: 800;
    padding: .2rem .6rem;
    border-radius: 9999px;
}
.status-pending   { background:#fef3c7; color:#78350f; }
.status-paid      { background:#d1fae5; color:#065f46; }
.status-cancelled { background:#fee2e2; color:#991b1b; }

.order-meta {
    font-size: .75rem;
    color: #64748b;
}
.order-total {
    font-weight: 800;
    color: #1e293b;
    font-size: .9rem;
}
.order-actions {
    display: flex;
    gap: .4rem;
    margin-top: .25rem;
}
.order-actions .btn {
    flex: 1;
    padding: .45rem .75rem;
    font-size: .75rem;
    border-radius: .6rem;
}
.btn-mini-cancel {
    background: #fee2e2;
    color: #991b1b;
}
.btn-mini-cancel:hover { background: #fecaca; }

.orders-empty {
    text-align: center;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    color: #64748b;
}
.orders-empty i {
    font-size: 2.5rem;
    color: #cbd5e1;
}

/* =========================================================
   12) RESPONSIVE (sm: 640px | md: 768px | lg: 1024px)
   ========================================================= */

/* sm: >= 640px */
@media (min-width: 640px) {
    .cart-btn-text {
        display: inline;
    }
    .policy-card {
        padding: 2.5rem;
    }
    .policy-body {
        font-size: 1rem;
    }
    .header-container {
        padding: 0 1.5rem;
    }
    .main-content {
        padding: 2rem 1.5rem;
    }
    .footer-container {
        padding: 0 1.5rem;
    }
    .hero {
        padding: 2.5rem;
    }
}

/* md: >= 768px */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
    .mobile-toggle {
        display: none;
    }
    .mobile-menu {
        display: none !important;
    }
    .hero {
        flex-direction: row;
        padding: 3rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-visual {
        width: 16rem;
        height: 16rem;
    }
    .menu-toolbar {
        flex-direction: row;
    }
    .search-box {
        width: 24rem;
    }
    .category-pills {
        width: auto;
        padding-bottom: 0;
    }
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        flex-direction: row;
        text-align: right;
    }
    .policy-title {
        font-size: 1.875rem;
    }
}

/* lg: >= 1024px */
@media (min-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }
    .main-content {
        padding: 2rem 2rem;
    }
    .footer-container {
        padding: 0 2rem;
    }
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}