/* ==========================================================================
   MADINA CHARITY FOOD & RESTAURANT - STOREFRONT STYLESHEET
   Aesthetic: Islamic Madina Emerald Green, Warm Amber Gold, Desert Cream
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #0c3d2e;         /* Deep Madina Emerald Green */
    --primary-light: #165b45;
    --primary-dark: #07261c;
    --secondary: #d4af37;       /* Royal Arabic Gold */
    --secondary-hover: #b99320;
    --secondary-light: #fdf6e2;
    --accent: #e06d15;          /* Warm Saffron / Amber Orange */
    --accent-hover: #c95d0c;
    --dark: #1e293b;
    --dark-muted: #64748b;
    --light: #ffffff;
    --bg-main: #fdfbf7;         /* Warm Sand/Pearl */
    --bg-card: #ffffff;
    --border-color: #ede8dc;
    --shadow-sm: 0 2px 8px rgba(12, 61, 46, 0.06);
    --shadow-md: 0 8px 24px rgba(12, 61, 46, 0.08);
    --shadow-lg: 0 16px 36px rgba(12, 61, 46, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.arabic-text {
    font-family: 'Amiri', serif;
    direction: rtl;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar-badge {
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.top-bar-right a {
    color: #f1f5f9;
    margin-left: 15px;
    font-size: 0.82rem;
}
.top-bar-right a:hover {
    color: var(--secondary);
}

/* Header & Navigation */
.navbar {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(12, 61, 46, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
}
.brand-title span {
    color: var(--secondary);
}
.brand-subtitle {
    font-size: 0.72rem;
    color: var(--dark-muted);
    font-weight: 500;
    letter-spacing: 0.4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-link {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Navigation Dropdown Sub-menu System
   ========================================================================== */
.nav-item {
    position: relative;
    list-style: none;
}
.nav-link-dropdown-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: none; /* Desktop uses hover */
    color: var(--dark);
    font-size: 11px;
}
.nav-dropdown-arrow {
    font-size: 11px;
    transition: transform 0.25s ease, color 0.2s ease;
    margin-left: 4px;
    color: var(--dark-muted);
}
.nav-item.has-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Desktop Dropdown Menu Panel */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-top: 3.5px solid var(--secondary);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    padding: 8px 6px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    pointer-events: none;
}
.nav-item.has-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* Invisible hover bridge */
.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
    display: block;
}
.nav-dropdown-item {
    list-style: none;
    margin-bottom: 2px;
}
.nav-dropdown-item:last-child {
    margin-bottom: 0;
}
.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 9px;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.nav-dropdown-link:hover {
    background: #f0fdf4;
    color: #0c3d2e;
    transform: translateX(3px);
}
.nav-dropdown-link i {
    width: 22px;
    text-align: center;
    color: #0c3d2e;
    font-size: 14px;
    flex-shrink: 0;
}
.nav-dropdown-text {
    display: flex;
    flex-direction: column;
}
.nav-dropdown-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1e293b;
    line-height: 1.2;
}
.nav-dropdown-ar {
    font-size: 0.72rem;
    color: #059669;
    font-family: 'Amiri', serif;
    margin-top: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.btn-cart {
    background: var(--secondary-light);
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 0.92rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.btn-cart:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}
.cart-badge {
    background: var(--accent);
    color: #ffffff;
    font-size: 0.72rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(12, 61, 46, 0.25);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 61, 46, 0.35);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
}
.btn-secondary:hover {
    background: var(--secondary-hover);
    color: #ffffff;
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--accent);
    color: #ffffff;
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--dark);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8fafc;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* ==========================================================================
   Top Header Search Bar (Desktop & Mobile)
   ========================================================================== */
.header-search-bar {
    flex: 0 1 340px;
    margin: 0 18px;
}
.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-full);
    padding: 3px 4px 3px 14px;
    transition: all 0.25s ease;
}
.header-search-form:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px rgba(12, 61, 46, 0.12), 0 3px 10px rgba(0,0,0,0.04);
}
.header-search-form .search-icon {
    color: #94a3b8;
    font-size: 14px;
    margin-right: 8px;
    pointer-events: none;
    transition: color 0.2s;
}
.header-search-form:focus-within .search-icon {
    color: var(--primary);
}
.header-search-form input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--dark);
    font-weight: 500;
}
.header-search-form input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.header-search-form button {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.header-search-form button:hover {
    background: var(--secondary);
    color: #0c3d2e;
    transform: scale(1.05);
}

/* Mobile Search Strip (Directly Below Sticky Navbar) */
.header-mobile-search-strip {
    display: none;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 8px 0 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.header-mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-full);
    padding: 3px 4px 3px 12px;
}
.header-mobile-search-form:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 61, 46, 0.1);
}
.header-mobile-search-form .search-icon {
    color: #94a3b8;
    font-size: 13px;
    margin-right: 8px;
}
.header-mobile-search-form input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--dark);
}
.header-mobile-search-form button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile Drawer Search Row */
.mobile-menu-search-row {
    display: none;
    list-style: none;
    margin-bottom: 12px;
}
.mobile-drawer-search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px 6px 4px 12px;
}
.mobile-drawer-search-form i {
    color: #94a3b8;
    font-size: 14px;
    margin-right: 8px;
}
.mobile-drawer-search-form input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.88rem;
    color: var(--dark);
}
.mobile-drawer-search-form button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.80rem;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   Hero Slider Section (Pure Visual Banners - Auto Slides Left-to-Right)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background: linear-gradient(180deg, #07261c 0%, #0c3d2e 60%, #0f4937 100%);
    padding: 24px 0 28px;
    overflow: hidden;
    border-bottom: 3px solid var(--secondary);
}
.hero-slider-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}
.hero-slider-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(212, 175, 55, 0.45);
    background: #021a12;
}
.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    user-select: none;
    -webkit-user-drag: none;
}
.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}
.hero-slide-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.hero-slide-link:hover .hero-slide-img {
    transform: scale(1.012);
}

/* Slider Left / Right Arrow Buttons */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(12, 61, 46, 0.78);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    opacity: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.hero-slider-wrapper:hover .hero-slider-arrow {
    opacity: 1;
}
.hero-slider-arrow.prev {
    left: 18px;
}
.hero-slider-arrow.next {
    right: 18px;
}
.hero-slider-arrow:hover {
    background: var(--secondary);
    color: #0c3d2e;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

/* Slider Dots Indicator */
.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-dot.active {
    background: var(--secondary);
    width: 28px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
}

/* Category Filter Bar (Matches attached screenshot style) */
.category-section {
    padding: 35px 0 10px;
}
.category-scroll {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}
.category-scroll::-webkit-scrollbar {
    height: 5px;
}
.category-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
.category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.category-pill i {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 6px;
    transition: var(--transition);
}
.category-pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.category-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(224, 109, 21, 0.35);
}
.category-pill.active i {
    color: #ffffff;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 40px 0 24px;
}
.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}
.section-title span {
    color: var(--secondary);
}
.section-subtitle {
    font-size: 0.95rem;
    color: var(--dark-muted);
    margin-top: 4px;
}
.view-all-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.view-all-link:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

/* Food Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.food-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.food-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.4);
}
.food-img-wrapper {
    position: relative;
    height: 190px;
    background: #f8fafc;
    overflow: hidden;
}
.food-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.food-card:hover .food-img-wrapper img {
    transform: scale(1.05);
}
.food-badge-charity {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}
.food-badge-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}
.food-badge-free {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 5;
}

.food-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.food-category {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--secondary-hover);
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}
.food-name {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.3;
}
.food-name-ar {
    font-family: 'Amiri', serif;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.food-desc {
    font-size: 0.85rem;
    color: var(--dark-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.food-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: #f59e0b;
    margin-bottom: 12px;
}
.food-rating span {
    color: var(--dark-muted);
    font-size: 0.78rem;
    margin-left: 4px;
}
.food-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.food-price-wrap {
    display: flex;
    flex-direction: column;
}
.food-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}
.food-price-old {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.btn-add-cart {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-add-cart:hover {
    background: var(--accent-hover);
    transform: scale(1.04);
}

/* Promo Banner (Matches attached screenshot style) */
.promo-banner {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    border-radius: var(--radius-lg);
    padding: 35px 40px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.25);
    position: relative;
    overflow: hidden;
}
.promo-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.promo-tag {
    background: rgba(255,255,255,0.25);
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.promo-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}
.promo-desc {
    font-size: 1rem;
    color: #ffedd5;
    margin-bottom: 20px;
}

/* Order Tracking Widget Card (Matches screenshot right column) */
.order-tracking-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin: 30px 0;
}
.tracking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.tracking-header h3 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
}
.tracking-order-num {
    font-weight: 700;
    color: var(--dark-muted);
    font-size: 0.9rem;
}
.tracking-timeline {
    position: relative;
    padding-left: 28px;
}
.tracking-step {
    position: relative;
    padding-bottom: 24px;
}
.tracking-step:last-child {
    padding-bottom: 0;
}
.tracking-step::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #cbd5e1;
    z-index: 2;
}
.tracking-step.completed::before {
    background: #16a34a;
    box-shadow: 0 0 0 2px #16a34a;
}
.tracking-step.current::before {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 109, 21, 0.4);
}
.tracking-step::after {
    content: '';
    position: absolute;
    left: -22px;
    top: 14px;
    bottom: -3px;
    width: 2px;
    background: #e2e8f0;
}
.tracking-step:last-child::after {
    display: none;
}
.tracking-step.completed::after {
    background: #16a34a;
}
.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}
.step-desc {
    font-size: 0.82rem;
    color: var(--dark-muted);
    margin-top: 2px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 18px;
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
    background: #ffffff;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 61, 46, 0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* Payment Gateway Selector */
.gateway-radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.gateway-card {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: #ffffff;
}
.gateway-card input[type="radio"] {
    position: absolute;
    top: 14px;
    right: 14px;
}
.gateway-card.selected {
    border-color: var(--primary);
    background: #f0fdf4;
}
.gateway-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.gateway-type {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

/* Receipt Upload Box */
.receipt-dropzone {
    border: 2px dashed var(--secondary);
    background: #fffdf5;
    padding: 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.receipt-dropzone:hover {
    background: #fefce8;
    border-color: var(--primary);
}
.receipt-dropzone i {
    font-size: 40px;
    color: var(--secondary-hover);
    margin-bottom: 12px;
}
.receipt-preview-box {
    margin-top: 16px;
    display: none;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.receipt-preview-box img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* Shopping Cart Drawer / Page */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cart-table th {
    background: #f8fafc;
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}
.cart-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.qty-controller {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.qty-btn {
    background: #f8fafc;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background: #e2e8f0;
}
.qty-val {
    padding: 0 12px;
    font-weight: 700;
    font-size: 0.92rem;
}

/* Cart Mobile Card List vs Desktop Table */
.cart-mobile-card-list {
    display: none;
}
.cart-table-desktop {
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: #e2e8f0;
    padding: 60px 0 25px;
    margin-top: 70px;
    border-top: 4px solid var(--secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 15px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Alert Flashes */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-search-card {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .promo-banner {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NATIVE APP-STYLE MOBILE RESPONSIVENESS & BOTTOM APP BAR
   ========================================================================== */

/* Mobile Bottom App Bar - Hidden on Desktop */
.mobile-bottom-appbar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 74px; /* Clearance for sticky bottom app bar */
    }

    .container {
        padding: 0 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile Bottom App Bar */
    .mobile-bottom-appbar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1.5px solid rgba(212, 175, 55, 0.3);
        z-index: 9999;
        align-items: center;
        justify-content: space-around;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .appbar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #64748b;
        font-size: 0.72rem;
        font-weight: 600;
        text-decoration: none;
        flex: 1;
        transition: all 0.2s ease;
        padding: 4px 0;
    }
    .appbar-item i {
        font-size: 19px;
        transition: transform 0.2s;
    }
    .appbar-item:hover,
    .appbar-item.active {
        color: var(--primary);
        font-weight: 800;
    }
    .appbar-item.active i {
        color: var(--primary);
        transform: translateY(-2px);
    }
    .appbar-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: var(--accent);
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(224, 109, 21, 0.4);
    }
    .appbar-item-charity {
        position: relative;
    }
    .appbar-charity-bubble {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: linear-gradient(135deg, #166534 0%, #0c3d2e 100%);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 6px 16px rgba(22, 101, 52, 0.4);
        margin-top: -20px;
        border: 3.5px solid #ffffff;
        transition: all 0.2s;
    }
    .appbar-item-charity:active .appbar-charity-bubble {
        transform: scale(0.9);
    }

    /* Mobile Header & Nav Drawer */
    .top-bar {
        padding: 6px 0;
        font-size: 0.75rem;
        overflow: hidden;
    }
    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 4px;
        padding: 0 8px;
    }
    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        text-align: center;
        min-width: 0;
    }
    .top-bar-left span:last-child {
        display: inline-block;
        max-width: 100%;
        line-height: 1.3;
        font-size: 0.74rem;
    }
    .top-bar-right {
        display: none !important; /* Keep clean on small mobile */
    }

    .navbar {
        padding: 8px 0;
        width: 100%;
        max-width: 100vw;
    }
    .navbar-inner {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .brand-logo {
        gap: 8px;
        min-width: 0;
        flex-shrink: 1;
    }
    .brand-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .brand-title {
        font-size: 0.98rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand-subtitle {
        display: none;
    }
    .navbar.menu-open {
        z-index: 100000 !important;
    }
    .nav-user-extra,
    .nav-hide-mobile {
        display: none !important;
    }
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        z-index: 2 !important;
    }
    .btn-cart {
        display: none !important; /* Cart is already pinned on bottom app bar with live badge */
    }
    .nav-dashboard-btn {
        padding: 6px 11px !important;
        font-size: 0.76rem !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        gap: 5px !important;
    }
    .nav-login-btn {
        padding: 6px 12px !important;
        font-size: 0.76rem !important;
        border-radius: 8px !important;
    }
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        background: #f1f5f9;
        border-radius: 8px;
        color: var(--primary);
        font-size: 17px;
        flex-shrink: 0;
        cursor: pointer;
    }
    .mobile-nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 100001 !important;
        touch-action: manipulation;
    }
    .mobile-nav-backdrop.show {
        display: block !important;
        animation: fadeIn 0.2s ease;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        background: #ffffff;
        flex-direction: column;
        padding: 18px 16px;
        box-shadow: -10px 0 35px rgba(0,0,0,0.35);
        z-index: 100005 !important;
        gap: 8px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(105%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
        display: flex !important;
    }
    .nav-links.show {
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }
    .mobile-nav-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 14px;
        margin-bottom: 8px;
        border-bottom: 1px solid #e2e8f0;
    }
    .mobile-nav-close-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        border-radius: 10px;
        border: 1.5px solid #cbd5e1;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 19px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s;
        z-index: 100010 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
    .mobile-nav-close-btn:hover,
    .mobile-nav-close-btn:active {
        background: #fee2e2 !important;
        color: #dc2626 !important;
        border-color: #fca5a5 !important;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .nav-links a {
        font-size: 1rem;
        padding: 10px 14px;
        border-radius: 8px;
        background: #f8fafc;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Food Grid: 2 Columns Like Native Food App */
    .products-grid,
    .food-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }
    .food-card {
        border-radius: 14px !important;
    }
    .food-img-wrapper,
    .food-card-img {
        height: 125px !important;
    }
    .food-img-wrapper img,
    .food-card-img img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .food-body,
    .food-card-body {
        padding: 10px 12px !important;
        display: flex;
        flex-direction: column;
    }
    .food-category {
        font-size: 0.68rem !important;
        margin-bottom: 2px !important;
    }
    .food-name,
    .food-card-title {
        font-size: 0.86rem !important;
        line-height: 1.3 !important;
        min-height: auto !important;
        height: auto !important;
        margin: 0 0 3px 0 !important;
        font-weight: 700 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .food-name-ar,
    .food-card-ar {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin: 0 0 5px 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .food-desc,
    .food-card-desc {
        display: none !important; /* Hide long description on mobile app cards */
    }
    .food-rating {
        font-size: 0.72rem !important;
        margin-bottom: 6px !important;
    }
    .food-footer,
    .food-card-footer {
        padding-top: 6px !important;
        margin-top: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
    }
    .food-price {
        font-size: 1rem !important;
    }
    .food-price-old {
        font-size: 0.75rem !important;
    }
    .btn-add-cart {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }
    .food-badge-charity,
    .food-badge-discount {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }

    /* Category Filter Pills: Smooth Swipe Horizontal Scrollbar */
    .category-scroll,
    .category-pills,
    .menu-filter-pills {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 4px 4px 12px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .category-scroll::-webkit-scrollbar,
    .category-pills::-webkit-scrollbar,
    .menu-filter-pills::-webkit-scrollbar {
        display: none !important;
    }
    .category-pill,
    .menu-pill {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        min-width: 80px !important;
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        border-radius: 12px !important;
    }
    .category-pill i {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 25px 0 20px !important;
    }
    .hero-title {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .hero-desc {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    .hero-search-card {
        padding: 4px 6px 4px 16px !important;
        max-width: 100% !important;
    }
    .hero-search-card input {
        font-size: 0.85rem !important;
    }
    .hero-search-card button {
        padding: 9px 18px !important;
        font-size: 0.82rem !important;
    }
    .hero-stats-row {
        gap: 8px !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        margin-top: 20px !important;
    }
    .hero-stat {
        flex: 1 !important;
        min-width: 90px !important;
        border-left: none !important;
        padding-left: 0 !important;
        text-align: center !important;
    }
    .stat-num {
        font-size: 1.25rem !important;
    }
    .stat-label {
        font-size: 0.72rem !important;
    }
    .hero-food-img {
        max-width: 240px !important;
        margin: 0 auto !important;
    }
    .floating-charity-badge {
        position: static !important;
        margin: 16px auto 0 !important;
        max-width: 320px !important;
        padding: 10px 16px !important;
        justify-content: center !important;
    }

    /* Cart & Checkout Single Column */
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .cart-summary-card,
    .checkout-summary-card {
        position: static !important;
    }
    .grid-2-col,
    .form-grid-2,
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1.6fr 1fr"],
    div[style*="grid-template-columns: 1.8fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    /* Cart Mobile App Card View */
    .cart-table-desktop {
        display: none !important;
    }
    .cart-mobile-card-list {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 10px 8px;
    }
    .cart-mobile-item-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    }
    .cart-mobile-card-top {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    .cart-mobile-card-thumb {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
        border: 1px solid #f1f5f9;
    }
    .cart-mobile-card-info {
        flex: 1;
        min-width: 0;
    }
    .cart-mobile-card-name {
        font-size: 0.86rem;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.25;
        margin-bottom: 2px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    .cart-mobile-card-ar {
        font-size: 0.78rem;
        color: #15803d;
        font-family: 'Amiri', serif;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    .cart-mobile-card-meta {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .cart-mobile-unit-price {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--primary);
    }
    .cart-mobile-badge-var {
        font-size: 0.68rem;
        background: #ede9fe;
        color: #6d28d9;
        padding: 2px 6px;
        border-radius: 6px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }
    .cart-mobile-badge-charity {
        font-size: 0.68rem;
        background: #dcfce7;
        color: #166534;
        padding: 2px 6px;
        border-radius: 6px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }
    .cart-mobile-remove-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: #fee2e2;
        color: #dc2626;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        text-decoration: none;
        flex-shrink: 0;
        transition: background 0.2s;
    }
    .cart-mobile-remove-btn:active {
        background: #fca5a5;
    }
    .cart-mobile-card-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px dashed #e2e8f0;
    }
    .qty-controller.compact {
        display: inline-flex;
        align-items: center;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        overflow: hidden;
        background: #ffffff;
    }
    .qty-controller.compact .qty-btn {
        width: 28px;
        height: 28px;
        border: none;
        background: #f8fafc;
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .qty-controller.compact .qty-val {
        width: 28px;
        text-align: center;
        font-size: 0.85rem;
        font-weight: 800;
        color: var(--primary);
    }
    .cart-mobile-subtotal-wrap {
        text-align: right;
    }
    .cart-mobile-subtotal-label {
        font-size: 0.68rem;
        color: #64748b;
        display: block;
        line-height: 1;
        margin-bottom: 2px;
    }
    .cart-mobile-subtotal-amount {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
    }
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Footers */
    .footer {
        padding: 40px 0 20px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

/* Extra Small Phones (< 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 10px !important;
    }
    .products-grid,
    .food-grid {
        gap: 8px !important;
    }
    .food-img-wrapper,
    .food-card-img {
        height: 110px !important;
    }
    .food-name,
    .food-card-title {
        font-size: 0.82rem !important;
    }
    .food-price {
        font-size: 0.92rem !important;
    }
    .btn-add-cart {
        padding: 5px 8px !important;
        font-size: 0.72rem !important;
    }
    .appbar-item span {
        font-size: 0.65rem !important;
    }
    .hero-stat {
        min-width: 80px !important;
    }
    .stat-num {
        font-size: 1.1rem !important;
    }
}

/* ==========================================================================
   USER EXECUTIVE DASHBOARD & MOBILE TABLE OPTIMIZATION
   ========================================================================== */

/* Cart badge pulse animation */
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); background: #16a34a; }
    100% { transform: scale(1); }
}
.cart-badge.pulse {
    animation: badgePulse 0.5s ease-in-out;
}

/* User Dashboard Grid KPI Cards */
.user-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.user-kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.user-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.user-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.user-kpi-icon.blue   { background: #eff6ff; color: #2563eb; }
.user-kpi-icon.green  { background: #f0fdf4; color: #16a34a; }
.user-kpi-icon.amber  { background: #fffbeb; color: #d97706; }
.user-kpi-icon.red    { background: #fef2f2; color: #dc2626; }

.user-kpi-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}
.user-kpi-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* User Dashboard Solid Segmented Tab Buttons (No horizontal sliding) */
.dashboard-btn-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}
.dash-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s ease;
    text-align: center;
    border: 1.5px solid transparent;
}
.dash-tab-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.7);
}
.dash-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
    font-weight: 800;
}
.dash-tab-btn.active i {
    color: var(--accent);
}

/* User Dashboard Tabs (legacy fallback) */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}
.dashboard-tab {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}
.dashboard-tab:hover {
    color: var(--primary);
}
.dashboard-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Notice Bell System */
.notice-bell-wrapper {
    position: relative;
}
.notice-bell-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}
.notice-bell-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.notice-bell-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}
/* Centered Activity Notices Popup Modal & Backdrop */
.notice-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100040;
    touch-action: manipulation;
}
.notice-modal-backdrop.show {
    display: block !important;
    animation: fadeIn 0.2s ease;
}
.notice-popup-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 92%;
    max-width: 440px;
    max-height: 82vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid #cbd5e1;
    z-index: 100050;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}
.notice-popup-modal.show {
    display: flex !important;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.notice-popup-header {
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notice-popup-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notice-unread-pill {
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
}
.btn-mark-all-read {
    background: none;
    border: none;
    font-size: 0.72rem;
    color: #0284c7;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
}
.notice-popup-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}
.notice-popup-close-btn:hover,
.notice-popup-close-btn:active {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}
.notice-popup-body {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.notice-item {
    padding: 11px 15px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.notice-item:hover {
    background: #f8fafc;
}
.notice-item.unread {
    background: #f0fdf4;
}
.notice-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.notice-item-text {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 4px;
}
.notice-item-time {
    font-size: 0.68rem;
    color: #94a3b8;
}

/* ==========================================================================
   USER DASHBOARD DESKTOP TABLES (Full Width, 1-Line Clean Layout)
   ========================================================================== */
.user-desktop-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
}

.user-desktop-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left;
    white-space: nowrap;
}

.user-desktop-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.user-desktop-table th {
    padding: 13px 16px;
    font-size: 0.80rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

.user-desktop-table td {
    padding: 13px 16px;
    font-size: 0.88rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.user-desktop-table tbody tr {
    transition: background-color 0.15s ease;
}

.user-desktop-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Action buttons on desktop: 1 single horizontal line */
.user-desktop-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.user-desktop-actions .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.3;
}

.user-desktop-actions .btn-action-track {
    background: var(--primary);
    color: #ffffff;
}

.user-desktop-actions .btn-action-track:hover {
    background: var(--primary-light);
    color: #ffffff;
}

.user-desktop-actions .btn-action-edit {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0284c7;
}

.user-desktop-actions .btn-action-edit:hover {
    background: #e0f2fe;
    color: #0369a1;
}

.user-desktop-actions .btn-action-cancel {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

.user-desktop-actions .btn-action-cancel:hover {
    background: #ffe4e6;
    color: #be123c;
}

/* Fallback base styles for mobile compact table */
.mobile-compact-table-wrap {
    width: 100%;
}
.mobile-compact-table {
    width: 100%;
    border-collapse: collapse;
}

/* Display utility toggles for Desktop vs Mobile views */
.d-none-mobile {
    display: block;
}
.d-none-desktop {
    display: none !important;
}

/* Mobile View Orders Table (No Horizontal Scroll Guarantee) */
@media (max-width: 768px) {
    .d-none-mobile {
        display: none !important;
    }
    .d-none-desktop {
        display: block !important;
    }
    .user-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    .user-kpi-card {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .user-kpi-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 17px !important;
        border-radius: 10px !important;
    }
    .user-kpi-val {
        font-size: 1.25rem !important;
    }
    .user-kpi-label {
        font-size: 0.7rem !important;
    }

    /* Mobile Table: Fit completely inside phone screen */
    .mobile-compact-table-wrap {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .mobile-compact-table {
        width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
    }
    .mobile-compact-table th,
    .mobile-compact-table td {
        padding: 8px 6px !important;
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .mobile-compact-table th {
        font-size: 0.7rem !important;
        padding: 8px 4px !important;
    }
    .mobile-compact-table .badge-status {
        padding: 3px 6px !important;
        font-size: 0.65rem !important;
        border-radius: 6px !important;
        display: inline-block !important;
    }
    .mobile-compact-table .btn-table-action {
        padding: 4px 8px !important;
        font-size: 0.72rem !important;
        border-radius: 6px !important;
    }

    /* Mobile Dashboard Solid Segmented Tab Buttons */
    .dashboard-btn-tabs {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 5px !important;
        padding: 4px !important;
        margin-bottom: 18px !important;
        overflow: hidden !important;
    }
    .dash-tab-btn {
        flex-direction: column !important;
        gap: 4px !important;
        padding: 10px 4px !important;
        font-size: 0.72rem !important;
        line-height: 1.15 !important;
        text-align: center !important;
        border-radius: 8px !important;
    }
    .dash-tab-btn i {
        font-size: 17px !important;
    }

    /* Refined Global Mobile Typography & Boldness Reduction Across All Pages */
    strong, b, [style*="font-weight: 800"], [style*="font-weight: 700"] {
        font-weight: 600 !important;
    }
    h1, [style*="font-size: 2rem"], [style*="font-size: 1.95rem"], [style*="font-size: 2.1rem"], [style*="font-size: 2.2rem"] {
        font-size: 1.18rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    h2, [style*="font-size: 1.8rem"], [style*="font-size: 1.6rem"], [style*="font-size: 1.5rem"] {
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    h3, [style*="font-size: 1.25rem"], [style*="font-size: 1.2rem"], [style*="font-size: 1.15rem"] {
        font-size: 0.94rem !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    h4, h5, h6 {
        font-size: 0.84rem !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    p, [style*="font-size: 0.95rem"], [style*="font-size: 0.92rem"] {
        font-size: 0.80rem !important;
        line-height: 1.45 !important;
        font-weight: 400 !important;
        overflow-wrap: break-word !important;
    }
    span, div, a, label {
        overflow-wrap: break-word !important;
    }
    .page-header-banner {
        padding: 18px 0 14px !important;
    }
    .page-header-title {
        font-size: 1.18rem !important;
        font-weight: 700 !important;
        margin-bottom: 3px !important;
    }
    .page-header-desc {
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
    }
    .cart-page-container {
        padding: 14px 10px 50px !important;
    }
    .cart-summary-card,
    .checkout-summary-card {
        padding: 16px 12px !important;
    }
    .cart-mobile-card-name {
        font-size: 0.82rem !important;
        font-weight: 600 !important;
    }
    .cart-mobile-card-ar {
        font-size: 0.72rem !important;
        font-weight: 500 !important;
    }
    .cart-mobile-unit-price {
        font-size: 0.74rem !important;
        font-weight: 600 !important;
    }
    .cart-mobile-subtotal-amount {
        font-size: 0.88rem !important;
        font-weight: 650 !important;
    }
    .hero-title {
        font-size: 1.38rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }
    .hero-stats-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .hero-stat {
        min-width: 0 !important;
        padding: 6px 2px !important;
    }
    .stat-num {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }
    .stat-label {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
    .nav-links a {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        padding: 9px 12px !important;
        gap: 8px !important;
    }
    .nav-links a.active {
        font-weight: 650 !important;
        color: var(--primary) !important;
    }
    .food-name, .food-card-title {
        font-size: 0.80rem !important;
        font-weight: 600 !important;
    }
    .food-name-ar, .food-card-ar {
        font-size: 0.70rem !important;
        font-weight: 500 !important;
    }
    .food-price {
        font-size: 0.88rem !important;
        font-weight: 650 !important;
    }
    .btn-add-cart {
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        padding: 5px 9px !important;
    }
}

/* ==========================================================================
   Desktop Hiding of Mobile Drawer Components
   ========================================================================== */
.mobile-nav-header,
.mobile-user-card-item,
.mobile-user-menu-link,
.mobile-nav-divider,
.mobile-nav-contact-card {
    display: none;
}

@media (max-width: 992px) {
    .mobile-nav-header {
        display: flex !important;
    }
    .mobile-user-card-item {
        display: block !important;
    }
    .mobile-user-menu-link {
        display: block !important;
        margin-bottom: 6px !important;
    }
    .mobile-nav-divider {
        display: block !important;
    }
    .mobile-nav-contact-card {
        display: block !important;
    }

    /* Dashboard Menu Item Styled with distinct color & background */
    .mobile-user-menu-link a[href*="my-orders.php"]:not([href*="tab="]) {
        background: #fffbeb !important;
        border: 1px solid #fde68a !important;
        color: #92400e !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        padding: 10px 14px !important;
    }
    .mobile-user-menu-link a[href*="my-orders.php"]:not([href*="tab="]):hover,
    .mobile-user-menu-link a[href*="my-orders.php"]:not([href*="tab="]).active {
        background: #fef3c7 !important;
        color: #78350f !important;
        border-color: #f59e0b !important;
    }

    /* Profile Menu Item Styled with distinct emerald color & background */
    .mobile-user-menu-link a[href*="tab=profile"] {
        background: #f0fdf4 !important;
        border: 1px solid #bbf7d0 !important;
        color: #166534 !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        padding: 10px 14px !important;
    }
    .mobile-user-menu-link a[href*="tab=profile"]:hover,
    .mobile-user-menu-link a[href*="tab=profile"].active {
        background: #dcfce7 !important;
        color: #14532d !important;
        border-color: #22c55e !important;
    }

    /* Logout Menu Item */
    .mobile-user-menu-link a[href*="logout.php"] {
        background: #fef2f2 !important;
        border: 1px solid #fecaca !important;
        color: #b91c1c !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        padding: 10px 14px !important;
    }
    .mobile-user-menu-link a[href*="logout.php"]:hover {
        background: #fee2e2 !important;
        color: #991b1b !important;
    }
}

/* ==========================================================================
   Notice Bell & Centered Activity Notices Modal Popup
   ========================================================================== */
.notice-bell-wrapper {
    position: relative;
    display: inline-block;
}
.notice-bell-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.notice-bell-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}
.notice-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ea580c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 2px solid #0c3d2e;
}

/* Notice Centered Popup Modal */
.notice-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100050;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.notice-modal-backdrop.show {
    display: block !important;
    opacity: 1 !important;
}

.notice-popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 92vw;
    max-width: 440px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    z-index: 100060;
    display: none;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.notice-popup-modal.show {
    display: flex !important;
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

.notice-popup-header {
    background: #ffffff;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.notice-popup-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}
.notice-unread-pill {
    background: #ffedd5;
    color: #c2410c;
    font-size: 0.70rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    border: 1px solid #fed7aa;
}
.btn-mark-all-read {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-mark-all-read:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.notice-popup-close-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.notice-popup-close-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.notice-popup-body {
    padding: 12px 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(85vh - 65px);
}

.notice-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 13px;
    transition: all 0.2s ease;
}
.notice-item.unread {
    border-left: 4px solid #16a34a;
}
.notice-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.notice-item-text {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.35;
    margin-bottom: 6px;
}
.notice-item-time {
    font-size: 0.68rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Header Search & Hero Slider Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .header-search-bar {
        display: none !important;
    }
    .header-mobile-search-strip {
        display: block !important;
    }
    .mobile-menu-search-row {
        display: block !important;
    }
    .hero-slide-img {
        height: 320px;
    }
    .hero-slider-arrow {
        opacity: 0.85;
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .hero-slider-arrow.prev {
        left: 10px;
    }
    .hero-slider-arrow.next {
        right: 10px;
    }

    /* Mobile Submenu Accordion */
    .nav-link-dropdown-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .nav-dropdown-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        background: #f1f5f9;
        color: #0c3d2e;
        border: 1px solid #e2e8f0;
    }
    .nav-dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        margin-top: 6px !important;
        margin-bottom: 6px !important;
        display: none !important;
        pointer-events: auto !important;
    }
    .nav-item.open .nav-dropdown-menu {
        display: block !important;
    }
    .nav-item.open .nav-dropdown-arrow {
        transform: rotate(180deg) !important;
    }
    .top-bar-customer-links {
        display: none !important; /* On mobile, customer dashboard & profile are in the mobile drawer */
    }
}

@media (max-width: 576px) {
    .hero-slider-section {
        padding: 12px 0 18px;
    }
    .hero-slider-container {
        padding: 0 10px;
    }
    .hero-slider-wrapper {
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    }
    .hero-slide-img {
        height: 210px;
    }
    .hero-slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .hero-slider-dots {
        bottom: 10px;
        padding: 4px 10px;
        gap: 6px;
    }
    .slider-dot {
        width: 7px;
        height: 7px;
    }
    .slider-dot.active {
        width: 18px;
    }
}

/* ==========================================================================
   HOMEPAGE FEATURED YOUTUBE VIDEO (RESPONSIVE 16:9 RATIO FOR DESKTOP & MOBILE)
   ========================================================================== */
.homepage-video-section {
    background: #ffffff;
    padding: 44px 0 32px;
    border-top: 1px solid var(--border-color);
}

.homepage-video-header {
    text-align: center;
    margin-bottom: 24px;
}

.homepage-video-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.homepage-video-subtitle {
    color: var(--dark-muted);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.homepage-video-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 15px;
}

.homepage-video-card {
    background: #000000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(12, 61, 46, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.35);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage-video-card:hover {
    box-shadow: 0 18px 46px rgba(12, 61, 46, 0.18), 0 6px 16px rgba(212, 175, 55, 0.15);
}

.homepage-video-responsive-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #0f172a;
}

.homepage-video-responsive-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .homepage-video-section {
        padding: 30px 0 20px;
    }
    .homepage-video-title {
        font-size: 1.45rem;
        gap: 8px;
    }
    .homepage-video-title i {
        font-size: 1.55rem;
    }
    .homepage-video-subtitle {
        font-size: 0.85rem;
    }
    .homepage-video-container {
        padding: 0 12px;
    }
    .homepage-video-card {
        border-radius: 14px;
    }
}

