/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    overflow-x: hidden;
}

.fa-phone-alt {
    transform: rotate(90deg);
}

/* Custom scrollbar - softer */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #ff8c42;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e07c2e;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Responsive */
@media (max-width: 640px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

@media (min-width: 641px) {
    .mobile-only {
        display: none !important;
    }
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Header - softer glass effect */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 100;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mainHeader.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 48px);
    height: 100%;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff8c42, #ff6b00);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(255, 107, 0, 0.3);
}

.logo-icon i {
    font-size: 22px;
    color: white;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    letter-spacing: -0.3px;
}

.logo-highlight {
    color: #ff8c42;
}

/* 
.desktop-nav {
    display: flex;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.nav-desk-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-desk-btn:hover {
    color: #ff8c42;
    background: rgba(255, 107, 0, 0.12);
    transform: translateY(-1px);
} */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.contact-numbers {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-link {
    color: #ff8c42;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 107, 0, 0.12);
    padding: 6px 12px;
    border-radius: 40px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-link:hover {
    background: #ff8c42;
    color: #fff;
}

.cart-btn {
    position: relative;
    background: linear-gradient(135deg, #ff8c42, #ff6b00);
    border: none;
    border-radius: 40px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.hamburger-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.3);
    animation: slideRight 0.3s ease;
}

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

.drawer-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-drawer-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #222;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-links {
    overflow-y: auto;
    flex: 1;
    padding: 12px 0;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255, 107, 0, 0.15);
    padding: 12px 16px;
    border-radius: 14px;
    margin-bottom: 10px;
}

/* Hero - softer gradient */
.hero-section {
    margin-top: 72px;
    min-height: clamp(420px, 58vh, 560px);
    background: linear-gradient(145deg, #0a0f1e 0%, #141b2b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(48px, 8vh, 80px) clamp(20px, 5vw, 60px);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 107, 0, 0.08) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 60px;
    padding: 6px 20px;
    margin-bottom: 24px;
    color: #ff9a5e;
    font-size: 13px;
    font-weight: 600;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 7vw, 72px);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-highlight {
    background: linear-gradient(135deg, #ff8c42, #ff6b00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(15px, 2.2vw, 18px);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c42, #ff6b00);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    padding: 12px 32px;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 0, 0.5);
}

.hero-stats {
    display: flex;
    gap: clamp(24px, 5vw, 56px);
    margin-top: 56px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #ff8c42;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Search Section */
.search-section {
    background: #fff;
    padding: 20px clamp(20px, 5vw, 48px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #eef2f6;
}

.search-container {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    background: #fff;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Bar with Scroll Arrows */
.category-bar {
    position: sticky;
    top: 72px;
    z-index: 49;
    background: #fff;
    padding: 12px clamp(20px, 5vw, 48px);
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-scroll-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-scroll-btn:hover {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
    transform: scale(1.05);
}

.category-scroll-btn:active {
    transform: scale(0.95);
}

.category-scroll-btn.left {
    margin-right: 4px;
}

.category-scroll-btn.right {
    margin-left: 4px;
}

.category-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding: 4px 0;
    /* scrollbar-width: thin; */
}

/* Hide scrollbar but keep functionality */
.category-filters::-webkit-scrollbar {
    height: 3px;
}

.category-filters::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-filters::-webkit-scrollbar-thumb {
    background: #ff8c42;
    border-radius: 10px;
}

/* Hide arrows on mobile if needed, but we'll keep them */
@media (max-width: 640px) {
    .category-scroll-btn {
        width: 32px;
        height: 32px;
    }

    .category-scroll-btn i {
        font-size: 12px;
    }
}

/* Menu Container */
.menu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px clamp(16px, 4vw, 32px) 80px;
}

.loading-spinner {
    text-align: center;
    padding: 100px 20px;
    color: #94a3b8;
}

/* Section Styles */
.menu-section {
    margin-bottom: 64px;
    scroll-margin-top: 140px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff0e6, #ffe4d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ff6b00;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #0f172a;
}

.section-count {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    margin-left: 4px;
}

.section-divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, transparent);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Product Card - softer modern */
.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

/* Cart Sidebar - Base styles (animation handled above) */
.cart-sidebar {
    position: fixed;
    inset: 0;
    z-index: 150;
}

.cart-overlay {
    position: absolute;
    inset: 0;
}

.cart-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid #f0f2f5;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-actions {
    display: flex;
    gap: 12px;
}

.btn-checkout i {
    font-size: 2.4rem;
}

.btn-checkout,
.btn-call {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout {
    background: #25D366;
    color: #fff;
}

.btn-call {
    background: #ff6b00;
    color: #fff;
}

.btn-checkout:hover {
    background: #1bbb57;
}

.btn-call:hover {
    background: #df6004;
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 60px;
    background: #ff6b00;
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 90;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: scale(1.08);
    background: #ff8c42;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 32px;
}

.empty-emoji {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.empty-text {
    color: #64748b;
}

.clear-filters-btn {
    background: #ff6b00;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

/* Enhanced Footer Styles */
.site-footer {
    background: #0f172a;
    padding: 0;
    margin-top: 60px;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px clamp(20px, 5vw, 48px) 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff8c42, #ff6b00);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-icon i {
    font-size: 24px;
    color: white;
}

.footer-logo .logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
}

.footer-motto {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 18px;
}

.social-link:hover {
    background: #ff6b00;
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Titles */
.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title i {
    color: #ff8c42;
    font-size: 18px;
}

/* Address Section */
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-address p {
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.footer-address p i {
    width: 20px;
    color: #ff8c42;
    font-size: 14px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff8c42;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 40px;
    transition: all 0.2s ease;
}

.map-link:hover {
    background: #ff6b00;
    color: #fff;
    transform: translateX(5px);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.payment-item:hover {
    background: rgba(255, 107, 0, 0.1);
    transform: translateX(5px);
}

.payment-item i {
    font-size: 24px;
    color: #ff8c42;
}

.payment-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-item strong {
    color: #fff;
    font-size: 13px;
}

.payment-item span {
    color: #94a3b8;
    font-size: 11px;
}

/* QR Codes */
.qr-codes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
}

.qr-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #ff7023;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Poppins';
    color: #ffffff;
}

.qr-item i {
    font-size: 20px;
    color: #ff8c42;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.footer-links li a i {
    width: 20px;
    color: #ff8c42;
    font-size: 13px;
}

.footer-links li a:hover {
    color: #ff8c42;
    transform: translateX(5px);
}

/* Contact Bar */
.footer-contact-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 24px;
}

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

.contact-item i {
    font-size: 18px;
    color: #ff8c42;
}

.contact-item a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #ff8c42;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 16px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 12px;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
    }

    .footer-contact-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-logo .logo-text {
        font-size: 20px;
    }

    .payment-item {
        padding: 8px;
    }
}

/* Custom Toast Notification */
.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast-content {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    backdrop-filter: blur(10px);
    border-left: 4px solid #ff8c42;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 450px;
    animation: toastPulse 0.5s ease;
}

@keyframes toastPulse {
    0% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.toast-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.toast-message {
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    font-weight: 500;
}

.toast-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

/* Responsive toast */
@media (max-width: 640px) {
    .custom-toast {
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: translateY(100px);
    }

    .custom-toast.show {
        transform: translateY(0);
    }

    .toast-content {
        min-width: auto;
        max-width: none;
        padding: 12px 16px;
    }

    .toast-icon {
        font-size: 24px;
    }

    .toast-message {
        font-size: 12px;
    }
}

/* Optional: Add a subtle glow when toast appears */
@keyframes toastGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.toast-content {
    animation: toastPulse 0.5s ease, toastGlow 1s ease;
}

/* Smooth Cart Sidebar Animation - ADD THIS AT THE END */
.cart-sidebar {
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.cart-sidebar.active {
    visibility: visible;
}

.cart-sidebar .cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active .cart-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cart-sidebar .cart-content {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active .cart-content {
    transform: translateX(0);
}

/* Also update the cart-content animation - remove the old fadeIn */
.cart-sidebar .cart-content {
    animation: none;
}

/* Product Details Modal */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.product-modal.active {
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-modal.active .modal-overlay {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    height: 85vh;
    max-height: 85vh;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.product-modal.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.modal-close-btn:hover {
    background: #ff6b00;
    transform: rotate(90deg);
}

.modal-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Two Column Modal Layout */
.modal-two-column {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow: hidden;
}

/* Left Column - Scrollable */
.modal-left {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    padding: 0;
}

/* Left Column Scrollbar */
.modal-left::-webkit-scrollbar {
    width: 4px;
}

.modal-left::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.modal-left::-webkit-scrollbar-thumb {
    background: #ff8c42;
    border-radius: 10px;
}

/* Right Column - Fixed/Sticky at bottom */
.modal-right {
    width: 340px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* Right Column Inner Content */
.modal-right-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

/* Price Section - Sticky at top of right column */
.modal-price-section {
    /* margin-bottom: 24px; */
    flex-shrink: 0;
}

.modal-product-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #ff6b00;
    margin-bottom: 4px;
}

.modal-price-note {
    font-size: 11px;
    color: #94a3b8;
}

/* Quantity Section */
.modal-quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    /* margin-bottom: 24px; */
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
    flex-shrink: 0;
}

.modal-quantity-label {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
}

.modal-quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-qty-btn:hover {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
}

.modal-quantity-value {
    font-weight: 700;
    font-size: 18px;
    min-width: 40px;
    text-align: center;
}

/* Add to Cart Button */
.modal-add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff8c42, #ff6b00);
    color: #fff;
    border: none;
    border-radius: 60px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.modal-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

/* Delivery Info - Sticky at bottom */
.modal-delivery-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    flex-shrink: 0;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
}

.delivery-item i {
    width: 20px;
    color: #10b981;
}

/* Modal Product Image */
.modal-product-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-product-image:hover {
    filter: brightness(0.95);
}

.modal-product-emoji {
    font-size: 80px;
}

.image-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-product-image:hover .image-hint {
    opacity: 1;
}

.modal-popular-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b00;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Info Section */
.modal-info-section {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-product-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.modal-product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 12px;
    color: #ff6b00;
    border: 1px solid #e2e8f0;
}

/* Description Section - Scrollable */
.modal-description-section {
    padding: 20px;
}

.modal-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-title i {
    color: #ff6b00;
}

.modal-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    max-height: 140px;
}

.modal-bullet-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #475569;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-bullet-list li i {
    color: #ff6b00;
    font-size: 10px;
    width: 16px;
}

/* Recommendations */
.modal-recommendations {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    margin: 20% 0 0;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recommendation-item:hover {
    border-color: #ff6b00;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rec-emoji {
    font-size: 28px;
}

.rec-info {
    flex: 1;
}

.rec-name {
    font-weight: 600;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 4px;
}

.rec-price {
    font-size: 12px;
    color: #ff6b00;
    font-weight: 600;
}

.rec-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #ff6b00;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rec-add-btn:hover {
    transform: scale(1.05);
    background: #ff8c42;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-two-column {
        flex-direction: column;
    }

    .modal-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        max-height: 40%;
        overflow-y: auto;
    }

    .modal-container {
        width: 95%;
        height: 90vh;
        max-height: 90vh;
    }

    .modal-product-name {
        font-size: 18px;
    }

    .modal-product-price {
        font-size: 24px;
    }

    .modal-quantity-section {
        flex-wrap: wrap;
    }

}

/* ============================================ */
/* Category Filter Button Styles */
/* ============================================ */

.filter-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 60px;
    font-family: 'poppins';
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #334155;
    transform: scale(1);
}

.filter-cat-btn.active {
    border-color: #ff6b00;
    background: #ff6b00;
    color: #fff;
}

.filter-cat-btn:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #ff8c42;
}

.filter-cat-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

/* ============================================ */
/* Mobile Category Button Styles */
/* ============================================ */

.mobile-cat-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
}

.mobile-cat-btn.active {
    border-left-color: #ff6b00;
}

.mobile-cat-btn:hover {
    background: rgba(255, 107, 0, 0.1);
    color: #ff8c42;
    padding-left: 28px;
}

/* ============================================ */
/* Product Card Styles */
/* ============================================ */

.product-card-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.product-card-image span {
    font-size: 56px;
}

.product-card-content {
    padding: 16px;
}

.product-card-title {
    font-weight: 800;
    font-size: 16px;
    margin: 0 0 6px;
}

.product-card-desc {
    color: #64748b;
    font-size: 12px;
    margin: 0 0 12px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-price {
    font-weight: 800;
    font-size: 18px;
    color: #ff6b00;
}

.product-card-add-btn {
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-card-add-btn:hover {
    transform: translateY(-2px);
    background: #ff8c42;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff6b00;
    color: #fff;
    font-size: 12px !important;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================ */
/* Cart Item Styles */
/* ============================================ */

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f5;
}

.cart-item-info {
    flex: 2;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13px;
    color: #ff6b00;
    font-weight: 600;
}

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

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    background: #f8fafc;
    border-color: #ff8c42;
}

.cart-qty-value {
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.cart-remove-btn:hover {
    transform: scale(1.1);
    color: #dc2626;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 48px;
    color: #94a3b8;
}

.empty-cart i {
    font-size: 48px;
    opacity: 0.5;
    margin-bottom: 12px;
}

/* ============================================ */
/* Hours Highlight Styles */
/* ============================================ */

.hours-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border-left: 3px solid #10b981;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.hours-highlight i {
    font-size: 28px;
    color: #10b981;
}

.hours-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    display: block;
}

.hours-time {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
    display: block;
}

.hours-days {
    font-size: 11px;
    color: #64748b;
}

/* ============================================ */
/* Checkout Form Styles */
/* ============================================ */

.checkout-form {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.form-group label i {
    color: #ff6b00;
    font-size: 13px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: #fff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.btn-place-order {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-place-order:active {
    transform: translateY(0);
}

/* Cart Actions Update */
.cart-actions {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.cart-actions .btn-call,
.cart-actions .btn-place-order {
    width: 100%;
}

/* When cart has items, show place order */
.cart-actions.has-items .btn-place-order {
    display: flex;
}

.cart-actions:not(.has-items) .btn-place-order {
    display: none;
}

/* ============================================ */
/* Order Confirmation Modal Styles */
/* ============================================ */

.order-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.order-confirm-modal.active {
    visibility: visible;
}

.order-confirm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-confirm-modal.active .order-confirm-overlay {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.order-confirm-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.order-confirm-modal.active .order-confirm-container {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.order-confirm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.order-confirm-close:hover {
    background: #ff6b00;
    transform: rotate(90deg);
}

.order-confirm-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Order Slip Styles */
.order-slip {
    font-family: 'Inter', sans-serif;
}

.order-slip-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #e2e8f0;
}

.order-slip-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #ff6b00;
    margin-bottom: 8px;
}

.order-slip-header p {
    color: #64748b;
    font-size: 12px;
}

.order-slip-section {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
}

.order-slip-section-title {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.order-slip-section-title i {
    color: #ff6b00;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
}

.order-info-label {
    font-weight: 600;
    color: #475569;
}

.order-info-value {
    color: #0f172a;
    text-align: right;
}

.order-items-table {
    width: 100%;
    font-size: 13px;
}

.order-items-table th {
    text-align: left;
    padding: 8px 0;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.order-items-table td {
    padding: 8px 0;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}

.order-items-table .text-right {
    text-align: right;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 700;
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
}

.order-grand-total {
    font-size: 18px;
    color: #ff6b00;
}

.order-confirm-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.btn-cancel-order,
.btn-confirm-order {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-cancel-order {
    background: #f1f5f9;
    color: #64748b;
}

.btn-cancel-order:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-confirm-order {
    background: #25D366;
    color: #fff;
}

.btn-confirm-order:hover {
    background: #1bbb57;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 640px) {
    .order-confirm-container {
        width: 95%;
        max-height: 90vh;
    }

    .order-confirm-content {
        padding: 16px;
    }

    .order-slip-section {
        padding: 12px;
    }

    .order-confirm-actions {
        padding: 16px;
    }

    .btn-cancel-order,
    .btn-confirm-order {
        padding: 12px;
        font-size: 13px;
    }
}

/* ============================================ */
/* Enhanced Responsive Design Improvements */
/* ============================================ */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {

    /* Header */
    .header-container {
        padding: 0 clamp(16px, 4vw, 32px);
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-icon i {
        font-size: 18px;
    }

    /* Hero Section */
    .hero-section {
        min-height: clamp(380px, 50vh, 480px);
        padding: clamp(40px, 6vh, 60px) clamp(20px, 4vw, 40px);
    }

    .hero-title {
        font-size: clamp(32px, 6vw, 48px);
    }

    .hero-stats {
        gap: clamp(20px, 4vw, 40px);
        margin-top: 40px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    /* Modal */
    .modal-container {
        width: 95%;
        max-width: 850px;
    }

    /* .modal-right {
        width: 300px;
    } */

    .modal-product-price {
        font-size: 24px;
    }

    /* Footer */
    .footer-grid {
        gap: 30px;
    }
}

/* Mobile Landscape (480px - 768px) */
@media (max-width: 768px) {

    /* Header */
    #mainHeader {
        height: 60px;
    }

    .header-container {
        padding: 0 16px;
        gap: 12px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .logo-icon i {
        font-size: 16px;
    }

    .contact-link {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* Hero Section */
    .hero-section {
        margin-top: 60px;
        min-height: 380px;
        padding: 32px 20px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 14px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
        padding: 0 10px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 24px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 24px;
        margin-top: 32px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
    }

    /* Search Section */
    .search-section {
        padding: 16px;
    }

    .search-input {
        padding: 12px 42px 12px 42px;
        font-size: 14px;
    }

    /* Category Bar */
    .category-bar {
        top: 60px;
        padding: 10px 16px;
        gap: 8px;
    }

    .category-scroll-btn {
        width: 30px;
        height: 30px;
    }

    .filter-cat-btn {
        padding: 6px 14px;
    }

    /* Menu Container */
    .menu-container {
        padding: 30px 16px 60px;
    }

    .menu-section {
        margin-bottom: 48px;
        scroll-margin-top: 110px;
    }

    .section-header {
        gap: 12px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .section-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-divider {
        display: none;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    /* Product Card */
    .product-card-image {
        height: 180px;
    }

    .product-card-image span {
        font-size: 48px;
    }

    .product-card-content {
        padding: 12px;
    }

    .product-card-title {
        font-size: 14px;
    }

    .product-card-price {
        font-size: 16px;
    }

    .product-card-add-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* Cart Sidebar */
    .cart-content {
        max-width: 100%;
    }

    .cart-header {
        padding: 18px;
    }

    .cart-items-list {
        padding: 16px;
    }

    .cart-footer {
        padding: 18px;
    }

    .cart-item-name {
        font-size: 13px;
    }

    .cart-qty-btn {
        width: 28px;
        height: 28px;
    }

    /* Checkout Form */
    .checkout-form {
        padding: 12px;
    }

    .form-input,
    .form-textarea {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-place-order,
    .btn-call {
        padding: 12px;
        font-size: 14px;
    }

    /* Modal */
    .modal-container {
        width: 95%;
        height: 90vh;
        max-height: 90vh;
    }

    .modal-two-column {
        flex-direction: column;
    }

    .modal-left {
        overflow-y: hidden;
    }

    .modal-right {
        width: 100%;
        max-height: 45%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

    .modal-product-image {
        height: 180px;
    }

    .modal-product-emoji {
        font-size: 60px;
    }

    .modal-product-name {
        font-size: 18px;
    }

    .modal-product-price {
        font-size: 22px;
    }

    .modal-quantity-section {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px;
    }

    .modal-quantity-label {
        font-size: 16px;
    }

    .modal-qty-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .modal-add-to-cart-btn {
        padding: 12px;
        font-size: 14px;
    }

    .modal-right-inner {
        padding: 16px;
    }

    .modal-right-inner div:first-child {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Footer */
    .footer-container {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-logo .logo-text {
        font-size: 20px;
    }

    .footer-logo .logo-icon {
        width: 40px;
        height: 40px;
    }

    .footer-logo .logo-icon i {
        font-size: 20px;
    }

    .footer-title {
        font-size: 16px;
    }

    .qr-codes {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 20px auto;
    }

    .qr-item {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }

    .footer-contact-bar {
        gap: 12px;
        padding: 20px 0;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }

    .hours-highlight {
        margin: 16px 0;
        padding: 10px 12px;
    }

    .hours-time {
        font-size: 14px;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {

    /* Header */
    #mainHeader {
        height: 56px;
    }

    .hero-section {
        margin-top: 56px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo-icon i {
        font-size: 14px;
    }

    .contact-link {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* Hero */
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-badge {
        font-size: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 8px 18px;
        font-size: 12px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-value {
        font-size: 16px;
    }

    /* Category Bar */
    .category-bar {
        top: 56px;
        padding: 8px 12px;
    }

    .filter-cat-btn {
        padding: 5px 12px;
        font-size: 11px;
        gap: 5px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card {
        display: flex;
        flex-direction: row;
        height: auto;
        align-items: center;
    }

    .product-card-image {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .product-card-image span {
        font-size: 40px;
    }

    .product-card-content {
        flex: 1;
        padding: 10px;
    }

    .product-card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .product-card-desc {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .product-card-price {
        font-size: 14px;
    }

    .product-card-add-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Popular Badge */
    .popular-badge {
        font-size: 9px !important;
        padding: 2px 8px;
        top: 8px;
        left: 8px;
    }

    /* Modal */
    .modal-product-name {
        font-size: 16px;
    }

    .modal-product-price {
        font-size: 20px;
    }

    .modal-bullet-list {
        max-height: 100px;
    }

    .modal-bullet-list li {
        font-size: 11px;
        padding: 6px 0;
    }

    .modal-section-title {
        font-size: 14px;
    }

    /* Order Confirmation */
    .order-slip-header h2 {
        font-size: 20px;
    }

    .order-slip-section {
        padding: 12px;
    }

    .order-items-table {
        font-size: 11px;
    }

    .order-items-table th,
    .order-items-table td {
        padding: 6px 0;
    }

    .order-total-row {
        font-size: 14px;
    }

    .order-grand-total {
        font-size: 16px;
    }

    .btn-cancel-order,
    .btn-confirm-order {
        padding: 10px;
        font-size: 12px;
    }

    .modal-quantity-label {
        display: none;
    }

    /* Toast */
    .custom-toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: translateY(100px);
    }

    .custom-toast.show {
        transform: translateY(0);
    }

    .toast-content {
        padding: 10px 14px;
    }

    .toast-message {
        font-size: 11px;
    }

    .toast-icon {
        font-size: 20px;
    }

    /* Scroll Top Button */
    .scroll-top-btn {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    /* Empty State */
    .empty-state {
        padding: 50px 16px;
    }

    .empty-emoji {
        font-size: 48px;
    }

    .empty-title {
        font-size: 18px;
    }

    .empty-text {
        font-size: 12px;
    }
}

/* Small Mobile (under 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 20px;
    }

    .product-card-image {
        width: 85px;
        height: 85px;
    }

    .product-card-image span {
        font-size: 32px;
    }

    .product-card-title {
        font-size: 12px;
    }

    .product-card-price {
        font-size: 13px;
    }

    .cart-btn span {
        display: none;
    }

    .cart-btn {
        padding: 8px 12px;
    }

    .contact-link {
        padding: 3px 6px;
    }

    .contact-link span {
        display: none;
    }

    .contact-link i {
        margin: 0;
    }
}

/* Fix for notch and safe areas */
@supports (padding: max(0px)) {
    .header-container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .cart-content {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .drawer-content {
        padding-top: env(safe-area-inset-top);
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {

    button:not(.toast-close, .category-scroll-btn),
    .filter-cat-btn,
    .cart-qty-btn,
    .cart-remove-btn,
    .modal-qty-btn,
    .modal-add-to-cart-btn,
    .btn-place-order,
    .btn-call,
    .social-link,
    .map-link,
    .rec-add-btn {
        min-height: 44px;
    }

    .product-card-add-btn {
        min-height: 30px !important;
    }

    .filter-cat-btn {
        min-height: 36px;
    }

    .cart-qty-btn {
        min-height: 32px;
    }

    .modal-recommendations {
        display: none;
    }

    .modal-delivery-info {
        flex-direction: row;
    }
}

/* Fix for landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 300px;
    }

    .modal-container {
        height: 90vh;
    }

    .modal-left {
        max-height: 50%;
    }

    .modal-right {
        max-height: 50%;
    }

    .cart-content {
        max-width: 380px;
    }
}

/* Ensure images and content don't overflow */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Improve readability on very large screens */
@media (min-width: 1600px) {
    .menu-container {
        max-width: 1400px;
    }

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