/* ==========================================================================
   DUONG FOOD — COMPLETE DESIGN SYSTEM & STYLESHEET (PRODUCTION READY)
   ========================================================================== */

:root {
    --primary: #ff5722;
    --primary-dark: #e64a19;
    --primary-light: #ff8a50;
    --primary-glow: rgba(255, 87, 34, 0.22);
    --accent-gold: #ffb300;
    --accent-gold-dark: #ffa000;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-red: #ef4444;
    
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-hover: #e2e8f0;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 10px 28px rgba(255, 87, 34, 0.28);
    --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] {
    --bg-body: #090a0f;
    --bg-surface: #12141c;
    --bg-card: #181b26;
    --bg-subtle: #222634;
    --bg-hover: #2d3345;
    
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --border: #282e40;
    --border-light: #1e2230;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 10px 30px rgba(255, 87, 34, 0.4);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, #ff5722 0%, #ff8a50 50%, #ff9800 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.2px;
    z-index: 101;
}

.top-bar-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(0.9); opacity: 0.85; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
    color: #ffffff;
}

.logo-text h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px 16px;
    transition: var(--transition);
}

.search-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px var(--primary-glow);
    background: var(--bg-surface);
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    display: none;
    z-index: 110;
    max-height: 380px;
    overflow-y: auto;
}

.search-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease forwards;
}

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

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: var(--bg-subtle);
}

.search-item img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-main);
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.user-menu-wrapper {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition);
}

.user-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-surface);
}

.user-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-gold));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    display: none;
    z-index: 120;
    animation: fadeInDown 0.2s ease forwards;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
    cursor: pointer;
}

.user-dropdown-item:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

.user-dropdown-item.admin-link {
    color: var(--accent-purple);
    font-weight: 700;
    background: rgba(139, 92, 246, 0.08);
}

.badge-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 87, 34, 0.4);
    color: #ffffff;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.main-nav {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 14px 4px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ==========================================================================
   BREADCRUMB & HERO / PAGE BANNERS
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, #1c130d 0%, #2b170a 100%);
    color: #ffffff;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    max-width: 1280px;
    margin: 24px auto 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-banner {
    background: linear-gradient(135deg, #180e08 0%, #291408 100%);
    color: #ffffff;
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    max-width: 1280px;
    margin: 24px auto 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 179, 0, 0.2);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-desc {
    color: #cbd5e1;
    font-size: 1.02rem;
    margin-bottom: 26px;
    line-height: 1.6;
}

.hero-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-img-box {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 430px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    margin: 0 auto;
    object-fit: cover;
}

.breadcrumb {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.page-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.page-banner p {
    color: #cbd5e1;
    font-size: 0.96rem;
    max-width: 650px;
}

/* ==========================================================================
   MAIN CONTENT & PRODUCTS GRID
   ========================================================================== */
.main-content {
    max-width: 1280px;
    margin: 36px auto;
    padding: 0 24px;
    flex: 1;
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-subtle);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #ef4444;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.fav-btn:hover {
    transform: scale(1.15);
    background: #ffffff;
}

.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.35;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.product-rating {
    color: var(--accent-gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--primary);
}

.price-old {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.add-cart-btn {
    background: var(--primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ==========================================================================
   SLIDE-OUT DRAWERS (CART & WISHLIST)
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer-panel {
    position: fixed;
    top: 0;
    right: -480px;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--bg-surface);
    z-index: 201;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-panel.active {
    right: 0;
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close {
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 4px;
    border-radius: 6px;
    transition: var(--transition);
}

.drawer-close:hover {
    color: var(--primary);
    background: var(--bg-subtle);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    align-items: center;
}

.drawer-item img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.drawer-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-main);
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-subtle);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px;
    border-radius: var(--radius-full);
    margin-top: 16px;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 87, 34, 0.4);
}

/* ==========================================================================
   MODALS (AUTH, CHECKOUT & ORDER SUCCESS & PROFILE)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: zoomIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 4px;
    border-radius: 6px;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

/* Auth Modal Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-muted);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-main);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Payment & QR Section */
.pay-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.pay-option-card {
    border: 1.5px solid var(--border);
    background: var(--bg-subtle);
    padding: 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.pay-option-card:hover, .pay-option-card.active {
    border-color: var(--primary);
    background: var(--bg-surface);
    color: var(--primary);
}

.qr-box {
    text-align: center;
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--primary);
    margin-bottom: 16px;
    color: #1e293b;
}

.qr-box img {
    max-width: 180px;
    border-radius: 8px;
    margin: 10px auto;
}

/* Order Success Invoice */
.order-success-card {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.invoice-details {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    margin: 20px 0;
    text-align: left;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.invoice-row:last-child {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    font-weight: 800;
    color: var(--text-main);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-surface);
    color: var(--text-main);
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: auto;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    animation: slideInRight 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION (APP-LIKE EXPERIENCE)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 99;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary);
}

.mobile-nav-icon {
    font-size: 1.3rem;
}

/* ==========================================================================
   CONTACT PAGE & STORE INFO
   ========================================================================== */
.store-info-grid {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ARTICLE & BLOG LAYOUTS
   ========================================================================== */
.article-container {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
}

.article-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.article-cat-tag {
    background: var(--primary-glow);
    color: var(--primary);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.article-sapo {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text-main);
    background: var(--bg-subtle);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-bottom: 28px;
}

.article-content h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 32px 0 14px;
    line-height: 1.35;
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 20px 0 10px;
}

.article-content p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.article-img-box {
    margin: 26px 0;
    text-align: center;
}

.article-img-box img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    max-height: 420px;
    object-fit: cover;
}

.article-img-caption {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 8px;
    font-style: italic;
}

.article-cta-box {
    background: linear-gradient(135deg, #1c130d, #2b170a);
    color: #ffffff;
    padding: 28px;
    border-radius: var(--radius-md);
    margin: 36px 0;
    text-align: center;
    border: 1px solid #3d2c20;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-glow);
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--bg-body);
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.admin-nav-list {
    list-style: none;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow-y: auto;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: var(--primary);
    color: #ffffff;
}

.admin-main {
    flex: 1;
    padding: 30px 36px;
    overflow-y: auto;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.admin-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
}

.status-pending { background: rgba(255, 179, 0, 0.15); color: var(--accent-gold-dark); }
.status-cooking { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.status-shipping { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.status-done { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }

/* ==========================================================================
   FOOTER (PREMIUM ENTERPRISE DESIGN)
   ========================================================================== */
.site-footer {
    background: #090a0f;
    background: radial-gradient(circle at 50% 0%, #151824 0%, #090a0f 75%);
    color: #94a3b8;
    padding: 0 0 30px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 87, 34, 0.2);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff5722 0%, #ff8a50 35%, #ffb300 70%, #ff5722 100%);
    background-size: 200% auto;
    animation: gradientShift 6s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer-inner-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. Footer Trust Features Strip */
.footer-trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.trust-card:hover {
    background: rgba(255, 87, 34, 0.08);
    border-color: rgba(255, 87, 34, 0.3);
    transform: translateY(-3px);
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(255, 179, 0, 0.2));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 87, 34, 0.25);
}

.trust-text strong {
    display: block;
    color: #f8fafc;
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.3;
}

/* 2. Newsletter & Voucher Box */
.footer-newsletter-banner {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.12) 0%, rgba(255, 179, 0, 0.08) 100%);
    border: 1px solid rgba(255, 87, 34, 0.25);
    border-radius: var(--radius-lg);
    padding: 26px 32px;
    margin: 32px 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.newsletter-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-info p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 480px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 11px 18px;
    font-size: 0.88rem;
    color: #f8fafc;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

/* 3. Main Footer Columns Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr 1.1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: -0.2px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(255, 87, 34, 0.3);
}

.footer-brand-title h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.footer-brand-title span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 16px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item span.icon {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #cbd5e1;
}

.footer-contact-item a:hover {
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.86rem;
}

.footer-col li a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-col li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-social-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-btn.tiktok:hover { background: #000000; border-color: #333; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.zalo:hover { background: #0068ff; border-color: #0068ff; }

.footer-pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.pay-badge {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
}

.footer-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
}

/* 4. Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    list-style: none;
    font-size: 0.8rem;
}

.footer-bottom-links a {
    color: #94a3b8;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid, .store-info-grid, .article-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-img-box {
        order: -1;
    }
    .footer-main-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .admin-nav-list {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }
    .header-inner {
        flex-wrap: wrap;
        padding: 10px 16px;
        gap: 12px;
    }
    .search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .hero-banner {
        padding: 30px 20px;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .page-banner {
        padding: 30px 16px;
    }
    .page-banner h1 {
        font-size: 1.65rem;
    }
    .main-content {
        padding: 0 16px;
        margin: 24px auto 80px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 16px;
    }
    .drawer-panel {
        max-width: 100%;
    }
    .modal {
        padding: 12px;
    }
    .modal-content {
        padding: 22px 18px;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-newsletter-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .footer-trust-strip {
        grid-template-columns: 1fr;
    }
    .site-footer {
        padding-bottom: 90px;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .toast-container {
        bottom: 80px;
        right: 16px;
        left: 16px;
    }
}


@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .logo-text h2 {
        font-size: 1.15rem;
    }
    .logo-text span {
        font-size: 0.65rem;
    }
    .cta-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   WORLD-CLASS EXTENSIONS: MOTION, CUSTOMIZER, TRACKING & BLOG ENGINE
   ========================================================================== */

/* 1. Parabolic Flying Food Particle */
.flying-food-particle {
    position: fixed;
    z-index: 10000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    border: 2px solid #ffffff;
    transition: transform 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.8s ease;
}

@keyframes bounceCart {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.35) rotate(-8deg); }
    60% { transform: scale(0.9) rotate(5deg); }
}
.cart-bump {
    animation: bounceCart 0.5s ease-out forwards;
}

/* 2. Interactive Product Customizer Modal */
.customizer-box {
    max-width: 540px !important;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}
.customizer-header-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    position: relative;
}
.customizer-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}
.customizer-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 16px 0 10px;
    display: flex;
    justify-content: space-between;
}
.option-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.option-chip {
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    background: var(--bg-surface);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.option-chip:hover {
    border-color: var(--primary);
    background: rgba(255, 87, 34, 0.05);
}
.option-chip.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}
.customizer-footer {
    padding: 16px 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

/* 3. Live Driver GPS Tracking Modal & Leaflet Map */
#driverTrackingMap {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: 14px 0;
    z-index: 10;
}
.tracking-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 18px 0;
    text-align: center;
}
.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: var(--transition);
    z-index: 2;
}
.tracking-step.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.2);
}
.tracking-step.completed .step-circle {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}
.step-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}
.tracking-step.active .step-label {
    color: var(--primary);
}
.driver-info-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.eta-pill {
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 4. Gamified Lucky Spin Wheel & Points */
.lucky-wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 16px auto;
}
#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.wheel-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 38px;
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.points-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 5. Kitchen Display System (KDS) */
.kds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}
@media (max-width: 1024px) {
    .kds-grid { grid-template-columns: 1fr; }
}
.kds-column {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    min-height: 500px;
}
.kds-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 14px;
}
.kds-ticket {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.kds-ticket:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.kds-timer {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
}

/* 6. Language Switcher */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    background: var(--bg-surface);
}

/* 7. SEO Rich Blog Article Utilities & Elements */
.article-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.article-content ul, .article-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.article-highlight-box {
    background: var(--bg-subtle);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    border: 1px solid var(--border);
}

.toc-box {
    background: var(--bg-subtle);
    border: 1.5px solid var(--primary-glow);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 24px 0;
}

.toc-box h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
    padding-left: 0 !important;
}

.toc-list li {
    margin-bottom: 0 !important;
}

.toc-list a {
    color: var(--text-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toc-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.food-cta-banner {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.08), rgba(255, 179, 0, 0.08));
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 36px 0;
    text-align: center;
}

/* ==========================================================================
   UI/UX ENHANCEMENTS: HERO LEVITATION, STATS STRIP, PROMOS & WIDGETS
   ========================================================================== */

/* 1. Hero Levitation Badges */
.hero-img-box {
    position: relative;
}

.hero-floating-badge {
    position: absolute;
    background: rgba(18, 20, 28, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 87, 34, 0.35);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    z-index: 10;
    animation: floatSlow 4s ease-in-out infinite;
}

.hero-floating-badge.badge-top-right {
    top: 15px;
    right: -10px;
    animation-delay: 0s;
}

.hero-floating-badge.badge-bottom-left {
    bottom: 20px;
    left: -15px;
    animation-delay: 2s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.badge-icon-glow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
}

.badge-info-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #f8fafc;
}

.badge-info-sub {
    font-size: 0.74rem;
    color: #94a3b8;
}

/* 2. Hero Live Stats Counter Strip */
.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 1.8rem;
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* 3. Flash Sale / Countdown Banner */
.flash-sale-box {
    background: linear-gradient(135deg, #1e120d 0%, #2a110a 50%, #150905 100%);
    border: 1.5px solid rgba(255, 87, 34, 0.4);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    margin: 36px auto;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 12px 36px rgba(255, 87, 34, 0.15);
    position: relative;
    overflow: hidden;
}

.flash-sale-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.flash-sale-title-wrap h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-sale-title-wrap p {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.countdown-timer-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-box {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 87, 34, 0.5);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    min-width: 52px;
    text-align: center;
}

.timer-digits {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.timer-unit {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}

.timer-separator {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

/* 4. Floating Action Hub (Bottom Right) */
.floating-action-hub {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.fab-btn:hover {
    transform: scale(1.12);
}

.fab-phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.fab-phone::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.4);
    animation: pulseRing 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

.fab-zalo {
    background: linear-gradient(135deg, #0068ff, #0052cc);
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: -0.5px;
}

.fab-top {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}

.fab-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 5. Live Social Proof Toast (Bottom Left) */
.live-social-proof {
    position: fixed;
    bottom: 28px;
    left: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    max-width: 380px;
    animation: slideInUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.live-social-proof.fade-out {
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.proof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.proof-content {
    font-size: 0.82rem;
    line-height: 1.35;
}

.proof-user {
    font-weight: 800;
    color: var(--text-main);
}

.proof-action {
    color: var(--text-muted);
}

.proof-time {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 2px;
}

/* 6. Customer Testimonials Section */
.testimonials-section {
    max-width: 1280px;
    margin: 50px auto 30px;
    padding: 0 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.testimonial-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.testimonial-stars {
    color: #ffb300;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
}

.testimonial-dish {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 7. Catalog Toolbar (Sorting & Live Filter Counts) */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.sort-select:focus {
    border-color: var(--primary);
}

/* 9. Category Highlights Strip (Horizontal Row) */
.category-strip-section {
    max-width: 1280px;
    margin: 28px auto 14px;
    padding: 0 20px;
    width: 100%;
}

.category-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 100%;
}

.category-strip-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.category-strip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.category-strip-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-strip-card:hover::before {
    opacity: 1;
}

.category-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.category-strip-card:hover .category-card-icon {
    transform: scale(1.12) rotate(4deg);
}

.category-card-info {
    flex: 1;
    min-width: 0;
}

.category-card-info h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card-info p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.category-card-arrow {
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: var(--transition);
    flex-shrink: 0;
}

.category-strip-card:hover .category-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .category-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .category-strip-grid {
        grid-template-columns: 1fr;
    }
}




