/* =========================================================================
   Despair Chinese — Main Stylesheet
   Design: Dark, premium Chinese restaurant aesthetic
   Palette: #1a0a00 (dark bg), #c0392b (red primary), #d4a017 (gold accent)
   Fonts: Playfair Display (headings) · Inter (body)
========================================================================= */

/* -------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
------------------------------------------------------------------------- */
:root {
    --red:        #c0392b;
    --red-dark:   #a93226;
    --red-light:  #e74c3c;
    --gold:       #d4a017;
    --gold-light: #f0c040;
    --bg-dark:    #0d0603;
    --bg-card:    #1c1008;
    --bg-card2:   #231508;
    --border:     rgba(212, 160, 23, 0.18);
    --text-light: #f5f0e8;
    --text-muted: #9a8870;
    --white:      #ffffff;
    --shadow-sm:  0 2px 12px rgba(0, 0, 0, 0.35);
    --shadow-md:  0 6px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.65);
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --transition: 0.25s ease;
}

/* -------------------------------------------------------------------------
   Reset & Base
------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Accessibility: skip-to-main link for keyboard users */
.skip-to-main {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -1;
}
.skip-to-main:focus {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    width: auto;
    height: auto;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 9999;
    text-decoration: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-light);
}

a { color: var(--red-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

p { color: #c8b99a; }
.text-muted { color: var(--text-muted) !important; }

/* -------------------------------------------------------------------------
   Navbar
------------------------------------------------------------------------- */
#main-nav {
    background: rgba(10, 5, 2, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    z-index: 1030;
}

.brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
}

.brand-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-dragon { font-size: 1.6rem; line-height: 1; }

.nav-link {
    color: #d0c4b0 !important;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
    background: rgba(212, 160, 23, 0.1);
}

/* Language toggle button */
.btn-lang {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    transition: all var(--transition);
}
.btn-lang:hover { border-color: var(--gold); color: var(--gold); }

/* Basket button */
.btn-basket {
    position: relative;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 1rem;
}
.btn-basket:hover { border-color: var(--red); color: var(--red); }

/* Sign-in nav button — gold-outlined, branded */
.btn-signin-nav {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.btn-signin-nav:hover,
.btn-signin-nav:focus {
    background: rgba(212, 160, 23, 0.12);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* Logged-in user button in navbar */
.btn-nav-user {
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.35);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    transition: all var(--transition);
}
.btn-nav-user:hover,
.btn-nav-user:focus,
.btn-nav-user.show {
    background: rgba(212, 160, 23, 0.15);
    border-color: var(--gold);
    color: var(--gold-light);
}
.btn-nav-user::after { border-top-color: var(--gold); }

.basket-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
}

.basket-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Dropdown styling */
.dropdown-dark-custom {
    background: #1a0e06;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 180px;
}
.dropdown-dark-custom .dropdown-item {
    color: #d0c4b0;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    transition: all var(--transition);
}
.dropdown-dark-custom .dropdown-item:hover {
    background: rgba(212, 160, 23, 0.12);
    color: var(--gold);
}
.dropdown-dark-custom .dropdown-divider { border-color: var(--border); }

/* -------------------------------------------------------------------------
   Common Buttons
------------------------------------------------------------------------- */
.btn-primary-custom {
    background: var(--red);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.9rem;
}
.btn-primary-custom:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.5);
    color: white;
}

.btn-outline-primary-custom {
    background: transparent;
    border: 1.5px solid var(--red);
    color: var(--red-light);
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.btn-outline-primary-custom:hover {
    background: var(--red);
    color: white;
    transform: translateY(-1px);
}

.btn-hero-primary {
    background: var(--red);
    border: 2px solid var(--red);
    color: white;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    transition: all 0.2s ease;
}
.btn-hero-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.55);
    color: white;
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    transition: all 0.2s ease;
}
.btn-hero-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-xs { font-size: 0.75rem; padding: 0.2rem 0.6rem; }

/* -------------------------------------------------------------------------
   Page Header
------------------------------------------------------------------------- */
.page-header {
    background: linear-gradient(135deg, #100603 0%, #1f0c05 50%, #0d0401 100%);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c0392b' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header-sm { padding: 2.5rem 0 2rem; }

.page-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    position: relative;
}

.page-header-subtitle {
    color: var(--text-muted);
    margin-bottom: 0;
    position: relative;
}

.menu-info-bar {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.75rem;
    position: relative;
}
.menu-info-bar i { color: var(--red-light); }

/* Breadcrumb */
.breadcrumb-custom { background: none; padding: 0; margin: 0; }
.breadcrumb-custom .breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-custom .breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-custom .breadcrumb-item.active { color: var(--text-light); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* -------------------------------------------------------------------------
   Hero Section (Homepage)
------------------------------------------------------------------------- */
.hero-section {
    min-height: 95vh;
    background:
        linear-gradient(120deg, rgba(10, 3, 0, 0.92) 0%, rgba(25, 8, 2, 0.85) 50%, rgba(10, 3, 0, 0.75) 100%),
        url('/static/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(192, 57, 43, 0.15) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; padding: 3rem 0; }

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.hero-title-highlight { color: var(--red-light); }

.hero-subtitle {
    font-size: 1.1rem;
    color: #b0a090;
    max-width: 480px;
    margin-bottom: 1.5rem;
}

/* Open/closed status */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 30px;
}
.status-open { background: rgba(39, 174, 96, 0.15); color: #2ecc71; border: 1px solid rgba(39, 174, 96, 0.3); }
.status-closed { background: rgba(192, 57, 43, 0.15); color: #e74c3c; border: 1px solid rgba(192, 57, 43, 0.3); }
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.status-open .status-dot { background: #2ecc71; }
.status-closed .status-dot { background: #e74c3c; animation: none; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* -------------------------------------------------------------------------
   Trust Strip
------------------------------------------------------------------------- */
.trust-strip {
    background: #140803;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item i { color: var(--red-light); font-size: 1.1rem; }

/* -------------------------------------------------------------------------
   Section Headers
------------------------------------------------------------------------- */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* -------------------------------------------------------------------------
   Menu Cards
------------------------------------------------------------------------- */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.35);
    box-shadow: var(--shadow-md);
}

.menu-card-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #180a03;
}
/* ── Sold Out overlay & badge ─────────────────────────────────────── */
.menu-card.sold-out { opacity: 0.70; }
.sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 2, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 4;
}
.sold-out-badge {
    background: rgba(192, 57, 43, 0.92);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
}
.menu-card.sold-out .btn-add-to-basket[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
/* Staff "Sold Out / Restore" toggle button on card image */
.staff-avail-toggle-btn {
    position: absolute;
    bottom: 8px;
    right: 64px;
    background: rgba(13, 6, 3, 0.82);
    border: 1px solid rgba(192, 57, 43, 0.6);
    color: #e74c3c;
    border-radius: 6px;
    padding: 0.28rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    backdrop-filter: blur(4px);
    z-index: 10;
    line-height: 1.4;
    white-space: nowrap;
}
.menu-card.sold-out .staff-avail-toggle-btn {
    border-color: rgba(76, 175, 80, 0.6);
    color: #4caf50;
}
.menu-card-img-wrap:hover .staff-avail-toggle-btn { opacity: 1; }
.staff-avail-toggle-btn:hover { background: rgba(192, 57, 43, 0.2); }
.menu-card.sold-out .staff-avail-toggle-btn:hover { background: rgba(76, 175, 80, 0.2); }

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.menu-card:hover .menu-card-img { transform: scale(1.06); }

.menu-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2010;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1a0803, #2a1005);
}

.menu-card-tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

/* Staff inline image edit button */
.staff-img-edit-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(13, 6, 3, 0.82);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    padding: 0.28rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    backdrop-filter: blur(4px);
    z-index: 10;
    line-height: 1.4;
}
.menu-card-img-wrap:hover .staff-img-edit-btn,
.detail-img-wrap:hover .staff-img-edit-btn {
    opacity: 1;
}
.staff-img-edit-btn:hover {
    background: rgba(212,160,23,0.18);
    color: #fff;
}
.staff-img-edit-btn--detail {
    bottom: 12px;
    right: 12px;
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    opacity: 0.85;
}

/* Staff image modal */
.staff-img-modal-content {
    background: #1c1008;
    border: 1px solid rgba(212,160,23,0.3);
    border-radius: 14px;
    color: #f5f0e8;
}
.staff-img-modal-header {
    background: rgba(212,160,23,0.08);
    border-bottom: 1px solid rgba(212,160,23,0.18);
    padding: 1rem 1.25rem;
}
.staff-img-modal-header .modal-title {
    color: #f0c040;
    font-size: 1rem;
    font-weight: 700;
}
.staff-img-modal-body { padding: 1.25rem; }
.staff-img-modal-footer {
    border-top: 1px solid rgba(212,160,23,0.18);
    background: transparent;
    padding: 0.75rem 1.25rem;
}

.staff-img-preview-wrap { text-align: center; }
.staff-img-preview {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212,160,23,0.25);
}

.staff-img-no-img-note {
    text-align: center;
    color: #9a8870;
    font-size: 0.85rem;
    padding: 1rem;
    border: 1px dashed rgba(212,160,23,0.2);
    border-radius: 8px;
}

.staff-img-upload-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: rgba(212,160,23,0.06);
    border: 1px dashed rgba(212,160,23,0.35);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    color: #f0c040;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}
.staff-img-upload-label:hover {
    background: rgba(212,160,23,0.12);
    border-color: var(--gold);
}
.staff-img-upload-hint {
    color: #9a8870;
    font-size: 0.75rem;
    font-weight: 400;
}

.staff-img-file-input {
    display: none;
}

.btn-staff-save {
    background: var(--gold);
    border: none;
    color: #1a0a00;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    transition: background 0.2s;
}
.btn-staff-save:hover:not(:disabled) { background: #f0c040; }
.btn-staff-save:disabled { opacity: 0.45; cursor: not-allowed; }

.tag-popular { background: var(--gold); color: #1a0a00; font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.tag-veg { background: #27ae60; color: white; font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 10px; }
.tag-vegan { background: #16a085; color: white; font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 10px; }
.tag-spice { font-size: 0.75rem; }

.menu-card-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-card-category {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.menu-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.stretched-link-title {
    color: var(--text-light);
    text-decoration: none;
}
.stretched-link-title:hover { color: var(--gold); }

.menu-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.5rem;
}

.menu-card-spice { font-size: 0.8rem; }
.spice-label { color: var(--text-muted); font-size: 0.75rem; margin-left: 0.2rem; }
.chilli-icon { font-size: 0.8rem; }

.menu-card-allergens-wrap { margin-bottom: 0.5rem; }
.allergen-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.72rem;
    color: #8a7060;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: color 0.15s;
}
.allergen-toggle:hover { color: #c08040; }
.allergen-toggle i { color: #c08040; }
.allergen-chevron { transition: transform 0.2s; font-size: 0.65rem; }
.allergen-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}
.allergen-chip {
    background: rgba(192, 100, 0, 0.12);
    border: 1px solid rgba(192, 100, 0, 0.28);
    color: #c8a060;
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
}

.menu-card-allergens {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.menu-card-allergens i { color: #c08040; }

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-card-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
}

.btn-add-to-basket {
    background: var(--red);
    border: none;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.btn-add-to-basket:hover {
    background: var(--red-dark);
    transform: scale(1.05);
    color: white;
}

/* Qty +/- controls on menu cards */
.item-qty-wrapper { display: flex; align-items: center; }
.qty-control-card { display: flex; align-items: center; gap: 4px; }
.qty-btn-card {
    width: 30px; height: 30px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    padding: 0;
}
.qty-btn-card:hover { background: var(--red); color: #fff; border-color: var(--red); }
.qty-val-card { min-width: 24px; text-align: center; font-weight: 700; font-size: 0.9rem; }

/* -------------------------------------------------------------------------
   About Section (Homepage)
------------------------------------------------------------------------- */
.about-section { background: var(--bg-dark); }

.about-img-grid { position: relative; }

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    aspect-ratio: 4/3;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212,160,23,0.55);
    font-size: 5rem;
    background: linear-gradient(135deg, #1a0803, #2d1206);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--red);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 3px solid var(--bg-dark);
    box-shadow: var(--shadow-md);
}
.about-badge-years { font-size: 1.6rem; font-weight: 800; line-height: 1; font-family: 'Playfair Display', serif; }
.about-badge-text { font-size: 0.7rem; font-weight: 600; opacity: 0.9; line-height: 1.2; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
.about-feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #c8b99a; }
.about-feature-item i { color: var(--gold); }

/* -------------------------------------------------------------------------
   Opening Hours (Homepage)
------------------------------------------------------------------------- */
.hours-section { background: #100603; }

.hours-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
}

.hours-grid { display: flex; flex-direction: column; gap: 0.1rem; }

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }

.hours-row-today { background: rgba(192, 57, 43, 0.08); border-radius: var(--radius-sm); padding: 0.7rem 0.75rem; margin: 0 -0.75rem; }

.hours-day { font-weight: 600; color: var(--text-light); }
.hours-time { color: #c8b99a; }
.hours-closed { color: var(--text-muted); font-style: italic; }

/* -------------------------------------------------------------------------
   Menu Page — Sidebar
------------------------------------------------------------------------- */
.sidebar-heading {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.category-nav { display: flex; flex-direction: column; gap: 2px; }

.category-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    color: #b0a090;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.category-nav-link:hover,
.category-nav-link.active {
    background: rgba(192, 57, 43, 0.12);
    border-color: rgba(192, 57, 43, 0.25);
    color: var(--red-light);
}

.cat-count {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 1px 7px;
    border-radius: 10px;
}

.sidebar-basket-card {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.25);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
}
.badge-count {
    background: var(--red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

/* Mobile category tabs */
.category-tabs-mobile {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-tabs-mobile::-webkit-scrollbar { display: none; }
.cat-tab-mobile {
    display: inline-block;
    white-space: nowrap;
    padding: 0.4rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: #b0a090;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition);
}
.cat-tab-mobile:hover { background: rgba(192, 57, 43, 0.15); border-color: var(--red); color: var(--red-light); }

/* Menu section headers */
.menu-section-header {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.menu-section-header i { color: var(--gold); }
.menu-section-title { font-size: 1.6rem; margin-bottom: 0; }
.menu-section-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0; margin-left: 0.5rem; }

/* -------------------------------------------------------------------------
   Basket Page
------------------------------------------------------------------------- */
.basket-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.basket-header h5 { color: var(--text-light); }

.basket-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.basket-item:last-child { border-bottom: none; }

.basket-item-img {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #1a0803;
}
.basket-item-img img { width: 100%; height: 100%; object-fit: cover; }
.basket-item-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2010;
}

.basket-item-name { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.basket-item-unit-price { font-size: 0.78rem; color: var(--text-muted); }
.basket-item-total { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); min-width: 55px; text-align: right; }

/* Qty controls */
.qty-control-sm { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn-sm {
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    font-size: 1rem;
}
.qty-btn-sm:hover { background: rgba(192, 57, 43, 0.2); color: var(--red-light); }
.qty-display { width: 36px; text-align: center; font-weight: 600; font-size: 0.875rem; color: var(--text-light); }

.btn-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    transition: color var(--transition);
    cursor: pointer;
}
.btn-remove:hover { color: var(--red-light); }

/* Order summary card */
.order-summary-card {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #c8b99a;
    font-size: 0.9rem;
}

.summary-total {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
}

.payment-icons { color: var(--text-muted); }

.basket-item-note-wrap { margin-top: 0.3rem; }
.basket-item-note {
    background: transparent;
    border: none;
    border-bottom: 1px dashed var(--border);
    padding: 0.15rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 100%;
    outline: none;
    transition: border-color 0.15s;
}
.basket-item-note::placeholder { color: rgba(160,140,120,0.5); }
.basket-item-note:focus { border-bottom-color: var(--gold); color: var(--text-light); }

/* Upsell section on basket page */
.upsell-section {}
.upsell-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}
.upsell-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.75rem;
    transition: border-color 0.15s;
}
.upsell-card:hover { border-color: rgba(196,164,98,0.4); }
.upsell-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.upsell-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
}
.upsell-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upsell-price {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}
.btn-upsell-add {
    background: var(--gold);
    color: #1a0a00;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
    cursor: pointer;
}
.btn-upsell-add:hover { background: var(--gold-light, #e8c86a); transform: scale(1.1); }

/* Prawn crackers / low-key upsell nudge */
.prawn-crackers-nudge {
    background: rgba(196,164,98,0.07);
    border: 1px dashed rgba(196,164,98,0.35);
    font-size: 0.88rem;
}

/* Free delivery progress bar */
.free-delivery-bar { font-size: 0.8rem; }
.free-delivery-progress { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-bottom: 4px; }
.free-delivery-fill { height: 100%; background: var(--red); border-radius: 2px; transition: width 0.3s ease; max-width: 100%; }

/* -------------------------------------------------------------------------
   Checkout Page
------------------------------------------------------------------------- */
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}
.step { color: var(--text-muted); }
.step-active { color: var(--gold); font-weight: 700; }
.step-done { color: #2ecc71; font-weight: 600; }

.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.checkout-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.checkout-section-title i { color: var(--red-light); }

/* Form controls */
.form-control, .form-select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: var(--text-light) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.07) !important;
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2) !important;
    color: var(--text-light) !important;
    outline: none;
}
.form-control::placeholder { color: var(--text-muted) !important; }

.form-label { color: #c8b99a; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; }

/* ── Deal picker slots ───────────────────────────────────────────── */
.deal-slot-block {
    background: rgba(212, 160, 23, 0.04);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    transition: border-color var(--transition);
}
.deal-slot-block:focus-within {
    border-color: rgba(212, 160, 23, 0.45);
}
.deal-slot-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .6rem;
}
.deal-slot-label::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
.deal-slot-select {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(212, 160, 23, 0.25) !important;
    color: var(--text-light) !important;
    border-radius: 8px !important;
    padding: .75rem 2.5rem .75rem 1rem !important;
    font-size: 0.9rem !important;
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d4a017' d='M8 11L2 5h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right .85rem center !important;
    background-size: 12px !important;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.deal-slot-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15) !important;
    outline: none;
    background: rgba(212, 160, 23, 0.06) !important;
}
.deal-slot-select option {
    background: #1c1008;
    color: var(--text-light);
    padding: .4rem .6rem;
}
.deal-slot-select optgroup {
    background: #120b04;
    color: var(--gold);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

/* Delivery toggle cards */
.delivery-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 1.2rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-size: 0.85rem;
    color: #b0a090;
}
.delivery-option-card i { color: var(--text-muted); }
.delivery-option-card span { display: block; }
.delivery-option-card.active,
.delivery-option-card:hover {
    background: rgba(192, 57, 43, 0.12);
    border-color: var(--red);
    color: var(--text-light);
}
.delivery-option-card.active i { color: var(--red-light); }

/* Payment option cards */
.payment-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-size: 0.8rem;
    color: #b0a090;
    width: 100%;
}
.payment-option-card.active,
.payment-option-card:hover {
    background: rgba(192, 57, 43, 0.1);
    border-color: var(--red);
    color: var(--text-light);
}
.payment-option-card i { font-size: 1.25rem; color: var(--text-muted); }
.payment-option-card.active i { color: var(--red-light); }

.card-fields-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border);
}

.summary-line { font-size: 0.875rem; color: #c8b99a; }

/* -------------------------------------------------------------------------
   Order Confirmation / Receipt
------------------------------------------------------------------------- */
.confirmation-header { }
.confirmation-icon i { font-size: 5rem; color: #2ecc71; }
.confirmation-title { font-size: 2.2rem; color: var(--text-light); }
.confirmation-subtitle { color: var(--text-muted); font-size: 1rem; }
.order-ref-badge {
    display: inline-block;
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: var(--red-light);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.est-time-badge {
    display: inline-block;
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--gold);
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.875rem;
}
.est-time-badge i { color: var(--gold); }

/* Order status tracker */
.status-tracker-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}
.tracker-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}
.tracker-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.tracker-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: border-color 0.25s, background 0.25s;
}
.tracker-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}
.tracker-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-bottom: 1.2rem;
    min-width: 16px;
    transition: background 0.25s;
}
.tracker-line.done { background: var(--gold); }
.tracker-step.done .tracker-dot {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a0a00;
}
.tracker-step.done .tracker-label { color: var(--gold); }
.tracker-step.active .tracker-dot {
    background: rgba(212,160,23,0.15);
    border-color: var(--gold);
    color: var(--gold);
    animation: trackerPulse 1.8s ease-in-out infinite;
}
@keyframes trackerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0.5); }
    50%       { box-shadow: 0 0 0 7px rgba(212,160,23,0); }
}
.tracker-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-bottom: 1.2rem;
    min-width: 16px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}
.tracker-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 0.6s ease;
}
.tracker-line.done {
    background: var(--gold);
}
.tracker-step.active .tracker-label {
    color: var(--gold);
    font-weight: 700;
}
.receipt-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.receipt-header .status-pill { }
.receipt-item { font-size: 0.9rem; color: #c8b99a; }
.receipt-detail-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.25rem; }
.receipt-detail-value { font-size: 0.9rem; color: var(--text-light); }

/* Status pills */
.status-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.status-pending { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.status-confirmed { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.status-preparing { background: rgba(230, 126, 34, 0.15); color: #e67e22; }
.status-out_for_delivery { background: rgba(52, 152, 219, 0.2); color: #5dade2; }
.status-ready { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.status-completed { background: rgba(39, 174, 96, 0.2); color: #2ecc71; }
.status-cancelled { background: rgba(192, 57, 43, 0.15); color: #e74c3c; }

/* -------------------------------------------------------------------------
   Order History
------------------------------------------------------------------------- */
.order-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    transition: border-color var(--transition);
}
.order-history-card:hover { border-color: rgba(212, 160, 23, 0.3); }
.order-total { color: var(--gold); font-size: 1.1rem; font-family: 'Playfair Display', serif; }
.order-items-summary { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.order-item-chip {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    color: #b0a090;
}

/* -------------------------------------------------------------------------
   Reviews
------------------------------------------------------------------------- */
.reviews-hero-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.stars-large i { font-size: 1.4rem; color: var(--gold); }
.avg-rating-text { font-size: 1rem; color: #c8b99a; }

.reviews-cta-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition);
}
.review-card:hover { border-color: rgba(212, 160, 23, 0.3); }
.review-stars i { font-size: 0.9rem; }
.review-title { font-size: 0.95rem; color: var(--text-light); }
.review-body { font-size: 0.875rem; color: var(--text-muted); flex: 1; }
.review-author { font-size: 0.875rem; color: var(--text-light); }
.review-footer { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 0.75rem; margin-top: 0.75rem; }

/* Star picker (write review) */
.star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.2rem;
}
.star-picker .star-input:checked ~ .star-label i,
.star-picker .star-label:hover i,
.star-picker .star-label:hover ~ .star-label i {
    color: var(--gold);
}
.star-label i { font-size: 2rem; color: #3a2a1a; cursor: pointer; transition: color 0.15s; }

/* -------------------------------------------------------------------------
   Item Detail
------------------------------------------------------------------------- */
.detail-img { max-height: 420px; object-fit: cover; border: 1px solid var(--border); }
.detail-img-placeholder {
    height: 340px;
    background: linear-gradient(135deg, #1a0803, #2a1008);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a1005;
}
.detail-category { font-size: 0.78rem; color: var(--gold); text-transform: uppercase; font-weight: 700; letter-spacing: 0.1em; }
.detail-title { font-size: 2.2rem; line-height: 1.2; }
.detail-price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.detail-description { color: #c8b99a; line-height: 1.7; }
.allergens-notice {
    background: rgba(192, 100, 0, 0.1);
    border: 1px solid rgba(192, 100, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    color: #c8a060;
}

/* Item detail badges */
.badge-popular { background: var(--gold); color: #1a0a00; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.78rem; font-weight: 700; }
.badge-veg { background: rgba(39, 174, 96, 0.15); color: #27ae60; border: 1px solid rgba(39, 174, 96, 0.3); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.78rem; }
.badge-vegan { background: rgba(22, 160, 133, 0.15); color: #16a085; border: 1px solid rgba(22, 160, 133, 0.3); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.78rem; }
.badge-spice { background: rgba(231, 76, 60, 0.12); color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.25); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.78rem; }

/* Qty control (item detail) */
.qty-control { border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn {
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-light);
    width: 40px;
    height: 42px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition);
}
.qty-btn:hover { background: rgba(192, 57, 43, 0.2); }
.qty-input {
    width: 52px;
    text-align: center;
    border: none;
    background: transparent !important;
    color: var(--text-light) !important;
    font-weight: 700;
    font-size: 1rem;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* -------------------------------------------------------------------------
   Auth Pages
------------------------------------------------------------------------- */
.auth-page { background: linear-gradient(135deg, #0d0603 0%, #1a0a04 100%); min-height: 75vh; }

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
}
.auth-brand .brand-dragon { font-size: 2.5rem; }

/* -------------------------------------------------------------------------
   Profile Page
------------------------------------------------------------------------- */
.profile-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.profile-avatar i { color: var(--text-muted); }
.profile-nav { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.profile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    color: #b0a090;
    font-size: 0.875rem;
    transition: all var(--transition);
}
.profile-nav-link:hover,
.profile-nav-link.active { background: rgba(192, 57, 43, 0.12); color: var(--red-light); }
.profile-nav-link.text-danger:hover { background: rgba(192, 57, 43, 0.1); color: #e74c3c !important; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.form-card-title { font-size: 1rem; color: var(--text-light); }
.form-card-title i { color: var(--red-light); }

/* -------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------- */
.site-footer {
    background: #090401;
    border-top: 1px solid var(--border);
}
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold); }
.footer-brand-tag { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.brand-dragon-footer { font-size: 1.4rem; }
.footer-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-links li a, .footer-links li { color: var(--text-muted); font-size: 0.85rem; }
.footer-links li a:hover { color: var(--gold); }
.footer-divider { border-color: var(--border); margin: 0; }
.text-primary-custom { color: var(--red-light) !important; }

/* -------------------------------------------------------------------------
   Alerts
------------------------------------------------------------------------- */
.alert {
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    animation: alertSlideDown 0.3s ease;
}
@keyframes alertSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Success — gold toned (matches site's golden accent) */
.alert-success {
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.40);
    color: #f0c040;
}
/* Warning — warm amber */
.alert-warning {
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.35);
    color: #e8a040;
}
/* Info — gold toned (e.g. promo removed, item removed) */
.alert-info {
    background: rgba(212, 160, 23, 0.09);
    border: 1px solid rgba(212, 160, 23, 0.28);
    color: #d4a017;
}
/* Danger/Error — red */
.alert-danger, .alert-error {
    background: rgba(192, 57, 43, 0.14);
    border: 1px solid rgba(192, 57, 43, 0.35);
    color: #e74c3c;
}
.btn-close { filter: invert(1) opacity(0.5); }

/* -------------------------------------------------------------------------
   Empty States
------------------------------------------------------------------------- */
.empty-state { padding: 3rem; }
.empty-icon { font-size: 4rem; opacity: 0.6; }
.empty-state h3 { color: var(--text-light); }

/* ── Error pages (404, 403) ──────────────────────────────────────── */
.error-page-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}
.error-page-emoji {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.25rem;
    display: block;
}
.error-page-code {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: .5rem;
}
.error-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-light);
    font-size: 1.6rem;
}

/* -------------------------------------------------------------------------
   Misc Utilities
------------------------------------------------------------------------- */
hr { border-color: var(--border); }
.badge { font-weight: 600; }
.form-check-input { background-color: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.form-check-input:checked { background-color: var(--red); border-color: var(--red); }
.btn-outline-secondary { border-color: rgba(255,255,255,0.2); color: #c8b99a; }
.btn-outline-secondary:hover { background: rgba(255,255,255,0.07); color: var(--text-light); border-color: rgba(255,255,255,0.3); }
.btn-danger { background: #c0392b; border: none; color: #fff; }
.btn-danger:hover { background: #a93226; color: #fff; }

/* Gold outline — for constructive staff actions (Reply, Edit Reply) */
.btn-outline-gold-custom {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.btn-outline-gold-custom:hover {
    background: rgba(212,160,23,0.15);
    color: var(--gold-light);
    border-color: var(--gold-light);
}
/* Muted red outline — for soft delete-like actions */
.btn-outline-red-custom {
    background: transparent;
    border: 1.5px solid rgba(192,57,43,0.6);
    color: #e07060;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.btn-outline-red-custom:hover {
    background: rgba(192,57,43,0.12);
    border-color: var(--red);
    color: #e74c3c;
}
/* Bootstrap btn-outline-danger — site-themed */
.btn-outline-danger {
    border-color: rgba(192,57,43,0.65) !important;
    color: #e07060 !important;
    background: transparent !important;
}
.btn-outline-danger:hover {
    background: rgba(192,57,43,0.12) !important;
    border-color: var(--red) !important;
    color: #e74c3c !important;
}

/* -------------------------------------------------------------------------
   Responsive Adjustments
------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-section { min-height: 80vh; }
    .about-badge { bottom: -10px; right: 0; width: 80px; height: 80px; }
    .about-badge-years { font-size: 1.3rem; }
    .hours-card { padding: 1.5rem; }
}

@media (max-width: 767px) {
    .page-header { padding: 2.5rem 0 2rem; }
    .page-header-title { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .basket-item { flex-wrap: wrap; }
    .trust-item { flex-direction: column; gap: 0.3rem; padding: 0.9rem 0.5rem; font-size: 0.8rem; }
    .trust-item i { font-size: 1.2rem; }
    .checkout-steps { gap: 0.75rem; font-size: 0.78rem; }
    .auth-card { padding: 1.75rem 1.25rem; }
    .about-badge { position: static; margin-top: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { text-align: center; }
    .delivery-option-card { padding: 0.9rem 0.5rem; font-size: 0.8rem; }
}

/* -------------------------------------------------------------------------
   Menu Page — Floating Basket Widget (corner card)
------------------------------------------------------------------------- */
.basket-float {
    position: fixed !important;
    bottom: 1.75rem !important;
    right: 1.75rem !important;
    left: auto !important;
    top: auto !important;
    width: 220px !important;
    z-index: 1050;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.basket-float-hidden {
    transform: translateY(130%) scale(0.92) !important;
    opacity: 0 !important;
    pointer-events: none;
}
.basket-float-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 4px 16px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.basket-float-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    font-weight: 500;
}
.basket-float-top .basket-float-icon {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.basket-float-price {
    margin-left: auto;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Playfair Display', Georgia, serif;
}
.basket-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, transform 0.15s ease;
}
.basket-float-btn:hover {
    background: var(--red-dark);
    color: #fff;
    transform: scale(1.02);
}
.basket-float-btn i { font-size: 0.7rem; }

/* =========================================================================
   Cookie Consent Banner
========================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.cookie-banner p { color: rgba(255,255,255,0.85); }
.cookie-banner a { color: #fff; }

/* ── Legal pages (terms, privacy) ──────────────────────────────────────────── */
.alert-legal-demo {
    background: rgba(200,137,42,0.10);
    border: 1px solid rgba(200,137,42,0.32);
    border-radius: 8px;
    color: var(--primary-color, #c8892a);
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}
.alert-legal-demo i { margin-top: 0.1rem; font-size: 1rem; }

.legal-content { color: rgba(255,255,255,0.87); line-height: 1.75; }
.legal-content h4 {
    color: var(--gold, #d4a017);
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}
.legal-content p,
.legal-content li { font-size: 0.95rem; }
.legal-content ul { padding-left: 1.4rem; }
.legal-content a { color: var(--gold, #d4a017); text-underline-offset: 3px; }
@media (max-width: 575.98px) {
    .legal-content h4 { font-size: 1rem; }
    .legal-content p, .legal-content li { font-size: 0.9rem; }
}
