/* =====================================================
   Patong Restaurant - Maroon & White Theme
   ===================================================== */

:root {
    --primary: #7B1E1E;
    --primary-dark: #5C1616;
    --primary-light: #A43333;
    --primary-ultra-light: #FDF2F2;
    --secondary: #1E293B;
    --secondary-light: #334155;
    --accent: #FBBF24;
    --accent-dark: #D4A853;
    --bg-light: #FEFEFE;
    --bg-warm: #FDF2F2;
    --bg-cream: #FFFBF5;
    --text-dark: #0F172A;
    --text-body: #334155;
    --text-muted: #94A3B8;
    --border-color: #F1F5F9;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
    --shadow-primary: 0 8px 25px rgba(123,30,30,0.2);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background: var(--bg-light);
    line-height: 1.7;
}

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

.fw-500 { font-weight: 500; }

/* =====================================================
   Bootstrap Overrides - Maroon Theme
   ===================================================== */
.text-danger { color: var(--primary) !important; }
.bg-danger { background-color: var(--primary) !important; }
.border-danger { border-color: var(--primary) !important; }
.bg-danger.bg-opacity-10 { background-color: rgba(123,30,30,0.1) !important; }
.badge.bg-danger { background-color: var(--primary) !important; }
.progress-bar.bg-danger { background-color: var(--primary) !important; }
.bg-warning { background-color: var(--accent) !important; }
.badge.bg-warning { background-color: var(--accent) !important; color: #fff !important; }
.list-group-item-action.text-danger { color: var(--primary) !important; }
.list-group-item-action.text-danger:hover { background: var(--primary-ultra-light); }

/* =====================================================
   Navbar
   ===================================================== */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(123,30,30,0.3));
    transition: transform 0.3s ease;
}
.navbar-brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.05);
}
.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.brand-tagline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: -1px;
}
.footer-brand {
    display: flex;
    align-items: center;
}

.navbar {
    padding: 0.5rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.97) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.navbar .nav-link {
    padding: 0.45rem 0.9rem;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
    border-radius: 8px;
    letter-spacing: 0.1px;
}
.navbar .nav-link i {
    font-size: 0.88rem;
    opacity: 0.5;
    transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: rgba(123,30,30,0.06);
}
.navbar .nav-link:hover i,
.navbar .nav-link.active i {
    opacity: 1;
    color: var(--primary);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 40%;
}

/* Deals link special style */
.nav-link-deals {
    color: #5C1616 !important;
    position: relative;
}
.nav-link-deals::before {
    content: '';
    position: absolute;
    top: 6px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* Nav divider */
.nav-divider {
    width: 1px;
    height: 24px;
    background: #E2E8F0;
    margin: 0 0.3rem;
    align-self: center;
}

/* Cart button */
.nav-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.42rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 50px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}
.nav-cart-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(123,30,30,0.04);
}
.nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(239,68,68,0.4);
}

/* Order Now button */
.nav-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 1.3rem;
    background: linear-gradient(135deg, #7B1E1E, #5C1616);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(123,30,30,0.3);
    margin-left: 0.3rem;
}
.nav-order-btn:hover {
    background: linear-gradient(135deg, #5C1616, #DC2626);
    box-shadow: 0 5px 20px rgba(123,30,30,0.4);
    transform: translateY(-1px);
    color: #fff !important;
}
.nav-order-btn i {
    font-size: 0.78rem;
}

.top-bar {
    font-size: 0.82rem;
    background: var(--secondary) !important;
    letter-spacing: 0.2px;
}

.top-bar a { transition: var(--transition-fast); }
.top-bar a:hover { color: var(--primary) !important; }

/* =====================================================
   Hero Section — Modern Mosaic
   ===================================================== */
.hero-modern {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0 2rem;
}

.hero-modern-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(123,30,30,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(251,191,36,0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Text block */
.hero-modern-text { position: relative; z-index: 2; }

.hero-modern-badge {
    display: inline-block;
    background: rgba(123,30,30,0.15);
    border: 1px solid rgba(123,30,30,0.3);
    color: #FBBF24;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(6px);
}

.hero-modern-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-modern-sub {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.hero-btn-primary {
    background: #7B1E1E !important;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.hero-btn-primary:hover { background: #5C1616 !important; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(123,30,30,0.35); }

.hero-btn-outline {
    border: 1.5px solid rgba(255,255,255,0.25) !important;
    color: #fff !important;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent !important;
    transition: all 0.3s ease;
}
.hero-btn-outline:hover { background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.5) !important; }

/* Stats */
.hero-modern-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-modern-stat {
    text-align: center;
}
.hero-modern-stat strong {
    display: block;
    font-size: 1.4rem;
    color: #FBBF24;
    font-weight: 700;
}
.hero-modern-stat span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mosaic Grid */
.hero-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 105px);
    gap: 10px;
}

.hero-mosaic-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.hero-mosaic-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
    transition: opacity 0.3s;
}
.hero-mosaic-item:hover::after { opacity: 0; }

.hero-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-mosaic-item:hover img { transform: scale(1.08); }

/* Tall item: spans 2 rows */
.hero-mosaic-tall {
    grid-row: span 2;
}

/* Wide item: spans 2 columns */
.hero-mosaic-wide {
    grid-column: span 2;
}

@media (min-width: 1200px) {
    .hero-mosaic { grid-template-rows: repeat(3, 115px); }
}

@media (max-width: 991px) {
    .hero-modern { min-height: auto; padding: 3rem 0 2rem; }
    .hero-modern-title { font-size: 2rem; }
    .hero-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 120px);
        gap: 8px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-modern-title { font-size: 1.6rem; }
    .hero-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 110px);
    }
    .hero-mosaic-tall { grid-row: span 2; }
    .hero-mosaic-wide { grid-column: span 2; }
    .hero-modern-stats { gap: 1rem; }
    .hero-modern-stat strong { font-size: 1.1rem; }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn-danger {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition);
    color: #fff !important;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary) !important;
    color: #fff !important;
}

.btn-outline-danger {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    border-width: 2px;
    transition: var(--transition);
}

.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary) !important;
}

.btn-warning {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-warning:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251,191,36,0.3);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Outline light button fix for hero */
.btn-outline-light {
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    border-width: 2px;
    transition: var(--transition);
}

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

/* =====================================================
   Cards - Modern Glass Style
   ===================================================== */
.food-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123,30,30,0.15);
}

.food-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.food-card:hover .card-img-top {
    transform: scale(1.08);
}

.food-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.food-card .card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.food-card .card-body {
    padding: 1.3rem;
}

.food-card .food-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.food-card .food-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.food-card .food-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* =====================================================
   Category Cards
   ===================================================== */
.category-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    border-color: rgba(123,30,30,0.2);
    transform: translateY(-6px);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.category-card .cat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card .cat-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.15rem;
}

.category-card .cat-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =====================================================
   Sections
   ===================================================== */
.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-heading .section-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1rem auto;
    border-radius: 3px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.bg-warm { background: var(--bg-warm); }

/* =====================================================
   Food Detail Page
   ===================================================== */
.food-detail-img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 450px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.option-group .form-check {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    background: #fff;
}

.option-group .form-check:hover {
    border-color: rgba(123,30,30,0.3);
    background: var(--primary-ultra-light);
}

.option-group .form-check:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
    box-shadow: 0 0 0 1px var(--primary);
}

/* =====================================================
   Cart & Checkout
   ===================================================== */
.cart-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-summary {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(0,0,0,0.04);
}

/* =====================================================
   Checkout Page — Professional
   ===================================================== */
.checkout-steps {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.2rem 0;
}
.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.checkout-step .step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    background: #e9ecef;
    color: #6c757d;
    transition: all 0.3s;
}
.checkout-step span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.checkout-step.active .step-circle {
    background: #7B1E1E;
    color: #fff;
    box-shadow: 0 3px 12px rgba(123,30,30,0.3);
}
.checkout-step.active span { color: #7B1E1E; }
.checkout-step.completed .step-circle {
    background: #22c55e;
    color: #fff;
}
.checkout-step.completed span { color: #22c55e; }
.step-line {
    width: 60px;
    height: 2px;
    background: #e9ecef;
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
    border-radius: 2px;
}
.step-line.completed { background: #22c55e; }

/* Checkout Cards */
.checkout-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid #f1f3f5;
    background: #fafbfc;
}
.checkout-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(123,30,30,0.08);
    color: #7B1E1E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.checkout-card-body { padding: 1.3rem; }

/* Payment Options */
.payment-options { display: flex; flex-direction: column; gap: 0.65rem; }
.payment-option { cursor: pointer; display: block; }
.payment-option input { display: none; }
.payment-option-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.2s;
    background: #fff;
}
.payment-option input:checked + .payment-option-content {
    border-color: #7B1E1E;
    background: rgba(123,30,30,0.03);
    box-shadow: 0 0 0 1px rgba(123,30,30,0.1);
}
.payment-option-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.payment-option-info { flex: 1; font-size: 0.9rem; }
.payment-option-info small { font-size: 0.78rem; }
.payment-option-check {
    color: #e9ecef;
    font-size: 1.3rem;
    transition: color 0.2s;
}
.payment-option input:checked + .payment-option-content .payment-option-check {
    color: #7B1E1E;
}

/* Order Summary Sidebar */
.checkout-summary {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 90px;
    overflow: hidden;
}
.checkout-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.3rem;
    border-bottom: 1px solid #f1f3f5;
    background: #fafbfc;
}
.checkout-items { padding: 1rem 1.3rem; max-height: 250px; overflow-y: auto; }
.checkout-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.88rem;
}
.checkout-item + .checkout-item { border-top: 1px solid #f5f5f5; }
.checkout-item-qty {
    color: #7B1E1E;
    font-weight: 700;
    font-size: 0.82rem;
    min-width: 24px;
}
.checkout-item-name { flex: 1; line-height: 1.35; }
.checkout-item-price { font-weight: 600; white-space: nowrap; }
.checkout-totals { padding: 0 1.3rem; border-top: 1px solid #f1f3f5; }
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.88rem;
    color: #555;
}
.checkout-total-row + .checkout-total-row { border-top: 1px solid #f8f8f8; }
.checkout-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.3rem;
    margin: 0;
    background: linear-gradient(135deg, #7B1E1E, #5C1616);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.checkout-place-btn {
    margin: 1rem 1.3rem;
    width: calc(100% - 2.6rem) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 0.75rem !important;
    font-size: 0.95rem;
}
.checkout-trust {
    padding: 0.8rem 1.3rem;
    text-align: center;
    border-top: 1px solid #f1f3f5;
    font-size: 0.72rem;
    color: #999;
}
.checkout-trust i { color: #22c55e; margin-right: 2px; }

@media (max-width: 991px) {
    .checkout-summary { position: static; }
    .step-line { width: 40px; }
}
@media (max-width: 575px) {
    .checkout-card-body { padding: 1rem; }
    .checkout-card-header { padding: 0.9rem 1rem; }
    .checkout-items { padding: 0.8rem 1rem; }
    .checkout-totals { padding: 0 1rem; }
    .checkout-grand-total { padding: 0.75rem 1rem; }
    .checkout-place-btn { margin: 0.8rem 1rem; width: calc(100% - 2rem) !important; }
    .checkout-trust { padding: 0.6rem 1rem; }
    .checkout-summary-header { padding: 0.8rem 1rem; }
    .step-line { width: 25px; }
    .checkout-step .step-circle { width: 32px; height: 32px; font-size: 0.75rem; }
    .checkout-step span { font-size: 0.65rem; }
    .payment-option-content { padding: 0.75rem; gap: 0.6rem; }
    .payment-option-icon { width: 36px; height: 36px; font-size: 1rem; }
}

/* Card / Payment Detail Fields */
.card-fields-box {
    border-radius: 12px;
    overflow: hidden;
    animation: fadeSlideDown 0.3s ease;
}
.card-fields-inner {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}
.card-fields-inner .form-control,
.card-fields-inner .input-group-text {
    border-color: #ddd;
    font-size: 0.88rem;
}
.card-fields-inner .form-control:focus {
    border-color: #7B1E1E;
    box-shadow: 0 0 0 0.15rem rgba(123,30,30,0.12);
}
#stripe-card-element {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#stripe-card-element.StripeElement--focus {
    border-color: #7B1E1E;
    box-shadow: 0 0 0 0.15rem rgba(123,30,30,0.12);
}
#stripe-card-element.StripeElement--invalid {
    border-color: #dc3545;
}
#paypal-button-container { min-height: 55px; }
.fw-600 { font-weight: 600; }

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Auth Pages
   ===================================================== */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    margin: auto;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* =====================================================
   Customer Dashboard
   ===================================================== */
.dashboard-sidebar {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.dashboard-sidebar .nav-link {
    color: var(--text-body);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.3rem;
    transition: var(--transition);
    font-weight: 500;
}

.dashboard-sidebar .nav-link:hover {
    background: var(--primary-ultra-light);
    color: var(--primary);
}

.dashboard-sidebar .nav-link.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =====================================================
   Status Badges
   ===================================================== */
.badge-pending { background: #D4A853; }
.badge-confirmed { background: #3B82F6; }
.badge-preparing { background: #6366F1; }
.badge-ready { background: #10B981; }
.badge-delivered { background: #22C55E; }
.badge-cancelled { background: #EF4444; }
.badge-out_for_delivery { background: #8B5CF6; }
.badge-paid { background: #22C55E; }
.badge-failed { background: #EF4444; }
.badge-refunded { background: #64748B; }
.badge-approved { background: #22C55E; }
.badge-rejected { background: #EF4444; }
.badge-reviewed { background: #3B82F6; }
.badge-completed { background: #22C55E; }

/* =====================================================
   Feature Section
   ===================================================== */
.feature-box {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    border-radius: var(--radius);
}

.feature-box:hover {
    background: var(--primary-ultra-light);
}

.feature-box .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
}

/* =====================================================
   Catering / Events
   ===================================================== */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123,30,30,0.15);
}

.service-card .service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ---- Catering Hero ---- */
.catering-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.catering-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(123,30,30,0.08);
    top: -120px;
    right: -80px;
}
.catering-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 1.3rem 1rem;
    text-align: center;
    color: #fff;
    transition: var(--transition);
}
.catering-stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}
.catering-stat-icon {
    font-size: 1.5rem;
    color: #FBBF24;
    margin-bottom: 0.4rem;
}
.catering-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
}
.catering-stat-label {
    font-size: 0.78rem;
    opacity: 0.7;
}

/* ---- How It Works Steps ---- */
.catering-step {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}
.catering-step-num {
    position: absolute;
    top: 8px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(123,30,30,0.08);
    line-height: 1;
}
.catering-step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FDF2F2, #FDEAEA);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #7B1E1E;
}

/* ---- Category Filter Tabs ---- */
.catering-category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.catering-category-tabs::-webkit-scrollbar { display: none; }
.catering-cat-btn {
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.catering-cat-btn:hover {
    border-color: #7B1E1E;
    color: #7B1E1E;
}
.catering-cat-btn.active {
    background: #7B1E1E;
    color: #fff;
    border-color: #7B1E1E;
}

/* ---- Cart Summary Sticky ---- */
.catering-cart-summary {
    background: #fff;
    border: 2px solid #7B1E1E;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(123,30,30,0.12);
    position: sticky;
    top: 80px;
    z-index: 10;
}
.catering-cart-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #7B1E1E, #5C1616);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---- Menu Group ---- */
.catering-menu-group {
    margin-bottom: 2rem;
}
.catering-group-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(123,30,30,0.15);
    color: var(--text-dark);
}

/* ---- Item Cards ---- */
.catering-item-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.catering-item-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.catering-item-selected {
    border-color: #7B1E1E;
    box-shadow: 0 6px 24px rgba(123,30,30,0.18);
}
.catering-item-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}
.catering-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.catering-item-card:hover .catering-item-img img {
    transform: scale(1.06);
}
.catering-item-placeholder {
    width: 100%;
    height: 100%;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #CBD5E1;
}
.catering-item-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}
.catering-item-body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.catering-item-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}
.catering-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.7rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catering-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    border-top: 1px solid #F1F5F9;
}
.catering-item-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Quantity Control ---- */
.catering-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
}
.catering-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #475569;
    transition: all 0.2s ease;
}
.catering-qty-btn:hover {
    background: #7B1E1E;
    color: #fff;
}
.catering-qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* ---- Feature Cards ---- */
.catering-feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    height: 100%;
}
.catering-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.catering-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FDF2F2, #FDEAEA);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: #7B1E1E;
}

/* ---- Sidebar Cards ---- */
.catering-sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}
.catering-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.catering-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: #475569;
}
.catering-event-tag {
    background: #FDF2F2;
    border: 1px solid rgba(123,30,30,0.15);
    color: #5C1616;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* ---- Form Card ---- */
.catering-form-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}
.catering-form-header {
    padding: 1.8rem 2rem 0.5rem;
}
.catering-form-body {
    padding: 1rem 2rem 2rem;
}
.catering-form-section {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F1F5F9;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.catering-form-section i {
    color: #7B1E1E;
}
.catering-submit-btn {
    box-shadow: 0 4px 16px rgba(220,38,38,0.3);
    transition: all 0.3s ease;
}
.catering-submit-btn:hover {
    box-shadow: 0 6px 24px rgba(220,38,38,0.4);
    transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .catering-hero { padding: 3.5rem 0; }
    .catering-hero h1 { font-size: 2rem; }
    .catering-form-header,
    .catering-form-body { padding-left: 1.3rem; padding-right: 1.3rem; }
}
@media (max-width: 575.98px) {
    .catering-hero { padding: 2.5rem 0; }
    .catering-hero h1 { font-size: 1.7rem; }
    .catering-item-img { height: 130px; }
    .catering-category-tabs { gap: 0.3rem; }
    .catering-cat-btn { padding: 6px 12px; font-size: 0.8rem; }
}

/* =====================================================
   Page Banner
   ===================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--primary-dark) 100%);
    padding: 4.5rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(123,30,30,0.1);
    top: -100px;
    right: -50px;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.page-banner .breadcrumb {
    justify-content: center;
    margin: 0;
}

.page-banner .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-banner .breadcrumb-item a:hover {
    color: var(--primary-light);
}

.page-banner .breadcrumb-item.active {
    color: #fff;
}

/* =====================================================
   Admin Panel Styles
   ===================================================== */
.admin-sidebar {
    background: linear-gradient(180deg, var(--secondary) 0%, #0F172A 100%);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}

.admin-sidebar .sidebar-brand {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar .sidebar-brand h4 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.65);
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(123,30,30,0.12);
    border-left-color: var(--primary);
}

.admin-sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

.admin-sidebar .sidebar-heading {
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 1rem 1.5rem 0.5rem;
    font-weight: 600;
}

.admin-content {
    margin-left: 260px;
    padding: 0;
    min-height: 100vh;
    background: #F8FAFC;
}

.admin-topbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.admin-main {
    padding: 2rem;
}

.admin-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.admin-stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.admin-stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.admin-stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Admin responsive */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
}

/* =====================================================
   Tables
   ===================================================== */
.table-custom {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.table-custom th {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
}

.table-custom td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

.table-custom tbody tr {
    transition: var(--transition-fast);
}

.table-custom tbody tr:hover {
    background: var(--primary-ultra-light);
}

/* =====================================================
   Forms
   ===================================================== */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 0.65rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123,30,30,0.1);
}

.form-floating > label {
    color: var(--text-muted);
}

/* =====================================================
   Food placeholder image
   ===================================================== */
.food-placeholder {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #FED7AA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(123,30,30,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(123,30,30,0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* =====================================================
   Quantity Input
   ===================================================== */
.qty-input {
    display: flex;
    align-items: center;
    gap: 0;
}

.qty-input .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: transparent;
    font-size: 1.05rem;
}

/* =====================================================
   Scrollbar
   ===================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================================================
   Misc
   ===================================================== */
.text-primary-custom { color: var(--primary) !important; }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }

.login-page, .register-page {
    background: linear-gradient(135deg, #FEFEFE 0%, var(--bg-warm) 100%);
}

img.food-img {
    border-radius: var(--radius);
}

.order-timeline {
    position: relative;
    padding-left: 30px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.order-timeline .timeline-step {
    position: relative;
    padding-bottom: 1.5rem;
}

.order-timeline .timeline-step::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border-color);
    transition: var(--transition);
}

.order-timeline .timeline-step.active::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(123,30,30,0.2);
}

.order-timeline .timeline-step.completed::before {
    background: #22C55E;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -150px;
    right: -100px;
}

/* =====================================================
   Selection Color
   ===================================================== */
::selection {
    background: rgba(123,30,30,0.2);
    color: var(--text-dark);
}

/* =====================================================
   Card hover glow
   ===================================================== */
.card, .food-card, .auth-card, .service-card {
    position: relative;
}

/* =====================================================
   Smooth page transitions
   ===================================================== */
.container, .container-fluid {
    animation: fadeInUp 0.4s ease-out;
}

/* (Hero photo grid replaced by hero-mosaic above) */

/* =====================================================
   Deals Section
   ===================================================== */
.deals-section {
    background: linear-gradient(135deg, #FDF2F2 0%, #FDEAEA 50%, #FDF2F2 100%);
    position: relative;
}

/* Stats Bar */
.deals-stats-bar {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(123,30,30,0.1);
}
.deals-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-dark);
}
.deals-stat i {
    font-size: 1.2rem;
}

/* ---- Featured Deal Card ---- */
.deal-featured-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(123,30,30,0.12);
    border: 1px solid rgba(123,30,30,0.08);
    transition: var(--transition);
}
.deal-featured-card:hover {
    box-shadow: 0 12px 48px rgba(123,30,30,0.18);
}
.deal-featured-img {
    position: relative;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}
.deal-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.deal-featured-card:hover .deal-featured-img img {
    transform: scale(1.05);
}
.deal-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.deal-featured-label {
    background: rgba(123,30,30,0.95);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}
.deal-badge-lg {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    animation: pulse-badge 2s infinite;
}
.deal-featured-body {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.deal-featured-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.deal-featured-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* Tags */
.deal-tag {
    display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}
.deal-serves {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    background: #F1F5F9;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}
.deal-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #D4A853;
    font-weight: 700;
    font-size: 0.85rem;
}
.deal-rating small {
    color: var(--text-muted);
    font-weight: 400;
}

/* Includes Section */
.deal-includes {
    background: #FFFBF5;
    border: 1px solid rgba(123,30,30,0.12);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
}
.deal-includes-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}
.deal-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}
.deal-items-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #475569;
    padding: 4px 0;
}
.deal-items-list li i {
    color: #10B981;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Pricing */
.deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.deal-price-lg {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.deal-savings {
    background: #DCFCE7;
    color: #16A34A;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}
.deal-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.deal-order-btn {
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(220,38,38,0.3);
    transition: all 0.3s ease;
}
.deal-order-btn:hover {
    box-shadow: 0 6px 24px rgba(220,38,38,0.4);
    transform: translateY(-2px);
}
.deal-social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 0.5rem;
    border-top: 1px solid #F1F5F9;
}
.deal-social-proof i {
    color: #10B981;
}

/* ---- Regular Deal Cards ---- */
.deal-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.deal-card-pro {
    border: 1px solid rgba(123,30,30,0.08);
}
.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.deal-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.deal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.deal-card:hover .deal-img-wrapper img {
    transform: scale(1.08);
}

.deal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: pulse-badge 2s infinite;
    z-index: 2;
}
.deal-tag-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.deal-body {
    padding: 1.2rem 1.3rem;
}

/* Rating in cards */
.deal-rating-sm {
    color: #D4A853;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.deal-reviews-sm {
    color: var(--text-muted);
    font-size: 0.78rem;
}
.deal-serves-sm {
    color: var(--text-muted);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.deal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.deal-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

/* Item chips */
.deal-items-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}
.deal-item-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}
.deal-item-chip i {
    color: #10B981;
    font-size: 0.7rem;
}
.deal-item-more {
    background: #FDF2F2;
    border-color: rgba(123,30,30,0.2);
    color: #7B1E1E;
    font-weight: 600;
}

/* Card footer */
.deal-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid #F1F5F9;
}
.deal-pricing-compact {
    display: flex;
    flex-direction: column;
}
.deal-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-right: 4px;
}
.deal-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.deal-savings-sm {
    font-size: 0.72rem;
    font-weight: 700;
    color: #16A34A;
    margin-top: 2px;
}
.deal-order-btn-sm {
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(220,38,38,0.2);
    transition: all 0.3s ease;
}
.deal-order-btn-sm:hover {
    box-shadow: 0 5px 18px rgba(220,38,38,0.3);
    transform: translateY(-2px);
}
.deal-orders-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #E2E8F0;
}
.deal-orders-count i {
    color: #10B981;
}

/* ---- Promo Banner ---- */
.deals-promo-banner {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px dashed rgba(123,30,30,0.25);
}
.promo-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FDF2F2, #FDEAEA);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.promo-icon-wrap i {
    font-size: 1.6rem;
    color: #7B1E1E;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .deal-featured-img {
        min-height: 280px;
    }
    .deal-featured-body {
        padding: 1.5rem;
    }
    .deal-featured-title {
        font-size: 1.4rem;
    }
    .deal-items-list {
        grid-template-columns: 1fr;
    }
    .deal-price-lg {
        font-size: 1.8rem;
    }
}
@media (max-width: 575.98px) {
    .deals-stats-bar .row > div {
        flex: 0 0 50%;
    }
    .deal-featured-img {
        min-height: 220px;
    }
    .deal-featured-body {
        padding: 1.2rem;
    }
    .deal-featured-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .deals-promo-banner {
        padding: 1.2rem;
    }
    .deals-promo-banner .d-flex {
        flex-direction: column;
        text-align: center;
    }
    .promo-icon-wrap {
        margin: 0 auto;
    }
}

/* =====================================================
   Food Gallery Grid
   ===================================================== */
.food-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.gallery-item.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    padding: 2.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h6 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.gallery-overlay span {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .food-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item { height: 160px; }
    .gallery-item.gallery-item-wide { grid-column: span 1; }
}

/* Deals nav link highlight */
.navbar .nav-link .bi-tag-fill {
    color: var(--primary);
}
