:root {
    /* Colors - 2026 Dark Theme */
    --bg-base: #09090b;
    --bg-card: #121214;
    --bg-card-hover: #18181b;

    --primary: #ea580c;
    --primary-glow: rgba(234, 88, 12, 0.4);
    --primary-light: #f97316;

    --text-main: #fafafa;
    --text-muted: #a1a1aa;

    /* Glassmorphism & Borders */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);

    /* Layout */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius: 12px;
    --radius-sm: 8px;

    /* Effects */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 24px var(--primary-glow);
    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Premium Light Mode --- */
.light-mode {
    --bg-base: #f3f4f6; /* Soft gray background */
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.04);
    --border: rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

.light-mode .main-header {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.light-mode .logo-text {
    background: linear-gradient(135deg, var(--primary), #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .hero-title {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Category Cards */
.light-mode .category-card {
    border: none;
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.06), 0 4px 10px -3px rgba(0, 0, 0, 0.03);
    background: #fff;
}
.light-mode .category-card::after {
    display: none; /* Remove dark mode inner border */
}
.light-mode .category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 8px 15px -5px rgba(var(--primary-rgb, 0,0,0), 0.1);
}
.light-mode .category-info {
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 60%, transparent 100%);
    padding-top: 2rem;
}
.light-mode .category-info h3 {
    color: #0f172a;
    text-shadow: none;
    font-weight: 800;
}
.light-mode .category-info p {
    color: #475569;
    font-weight: 500;
}

/* Product Cards */
.light-mode .product-card {
    border: none;
    box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.06);
    background: #fff;
}
.light-mode .product-card::before {
    display: none;
}
.light-mode .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1), 0 0 15px rgba(var(--primary-rgb, 0,0,0), 0.05);
}
.light-mode .product-desc {
    color: #64748b;
}
.light-mode .product-name {
    color: #1e293b;
    font-weight: 800;
}
.light-mode .btn-add {
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 480px;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.5rem;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.bottom-item i {
    font-size: 1.2rem;
}

.bottom-item.active {
    color: var(--primary);
}

.bottom-cart-btn {
    position: relative;
    top: -1.5rem;
    background: var(--primary) !important;
    color: #fff !important;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    flex: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px var(--primary-glow);
    border: 4px solid var(--bg-base) !important;
}

.bottom-cart-btn i {
    font-size: 1.4rem;
}

.bottom-cart-btn span:not(.cart-count) {
    display: none;
}

.cart-icon-wrapper {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.table-status {
    color: var(--primary);
    font-weight: 700;
}

body.cart-open .bottom-bar {
    display: none !important;
}

/* Modals & Cart */
.light-mode .modal-box {
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.light-mode .modal-close {
    color: #94a3b8;
}
.light-mode .modal-close:hover {
    color: #0f172a;
}
.light-mode .cart-sidebar {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}
.light-mode .cart-header {
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid #e2e8f0;
}
.light-mode .form-control {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.light-mode .form-control:focus {
    background: #fff;
}
.light-mode .cart-item {
    border-bottom: 1px solid #f1f5f9;
}
.light-mode .bottom-bar {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.light-mode .bottom-item {
    color: #94a3b8;
}
.light-mode .bottom-item.active {
    color: var(--primary);
}
.light-mode .bottom-cart-btn {
    border-color: #f3f4f6 !important;
}
.light-mode .cart-count {
    background: var(--primary);
    color: #fff;
    border: 2px solid #fff;
}

/* Other Elements */
.light-mode .btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.light-mode .btn-secondary:hover {
    background: #e2e8f0;
}
.light-mode .allergen-tag {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.light-mode .detail-footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #f1f5f9;
}

.light-mode .extra-option-label {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

.light-mode .extra-option-label:hover {
    background: #f1f5f9;
    border-color: var(--primary);
}

.light-mode .option-name {
    color: #0f172a;
}

.light-mode .detail-desc {
    color: #475569;
}

.light-mode .allergen-section {
    background: #fff5f5;
    border-color: #fed7d7;
}

.light-mode .allergen-section h4 {
    color: #c53030;
}

.light-mode .category-card {
    border-radius: 32px;
}

.light-mode .category-info {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.light-mode .category-info h3 {
    color: #0f172a;
}
.light-mode .category-info p {
    color: #475569;
}
.light-mode .back-link {
    color: #64748b;
    font-weight: 600;
}
.light-mode .back-link:hover {
    color: var(--primary);
}
.light-mode .empty-state p {
    color: #64748b;
}
/* --- End Premium Light Mode --- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem; /* Space between header and content */
}

.slider-section {
    margin-bottom: 2.5rem;
    padding-top: 0.5rem;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.table-badge {
    background: var(--primary);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-section {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.menu-hero {
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.categories-section,
.products-section,
.confirmation-section {
    padding: 2rem 0 6rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.back-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.back-link:hover {
    color: var(--primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-bounce);
    color: var(--text-main);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
    box-shadow: var(--shadow-soft), 0 0 20px var(--primary-glow);
    background: var(--bg-card-hover);
}

.category-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card:hover .category-img img {
    transform: scale(1.08);
}

.category-placeholder {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
}

.category-info {
    padding: 1.25rem;
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(18, 18, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-bounce);
}

.category-card:hover .category-info {
    background: rgba(18, 18, 20, 0.8);
    transform: translateY(-5px);
    bottom: 1.5rem;
}

.category-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #fff;
}

.category-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-bounce);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.product-card:hover {
    border-color: rgba(234, 88, 12, 0.4);
    box-shadow: var(--shadow-soft), 0 0 15px rgba(234, 88, 12, 0.1);
    transform: translateY(-4px);
}

.product-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-placeholder {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.allergen-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.allergen-tag {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.product-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.btn-add-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-add-circle:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--primary-light);
    box-shadow: 0 12px 25px var(--primary-glow);
}

.btn-add-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-add-circle:hover::after {
    opacity: 1;
}

.btn-add-circle.disabled {
    background: #27272a;
    color: #52525b;
    cursor: not-allowed;
    box-shadow: none;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.detail-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-body h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.detail-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.allergen-section {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.allergen-section h4 {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin: 1.5rem -1.5rem -1.5rem -1.5rem;
}

.extras-section {
    margin: 1.5rem 0;
}

.extra-group {
    margin-bottom: 1.5rem;
}

.extra-group h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.extra-group h4 i {
    font-size: 0.8rem;
}

.required-badge {
    color: #ef4444;
    font-size: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 12px;
    margin-left: auto;
}

.extra-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.extra-option-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-bounce);
}

.extra-option-label input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.option-name {
    flex: 1;
    font-weight: 500;
}

.option-price {
    color: #22c55e;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.stock-info {
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.stock-out {
    color: #e74c3c;
}

.stock-in {
    color: #27ae60;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-success {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}

.btn-success:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-secondary {
    background: #27272a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: #3f3f46;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.confirmation-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.confirm-icon {
    font-size: 3.5rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.confirmation-card h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.order-items-list {
    margin: 1.5rem 0;
    text-align: left;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.order-total {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.order-note {
    background: rgba(230, 126, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(24, 24, 27, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(24, 24, 27, 0.8);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.main-footer {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--primary);
}

/* End Bottom Bar Section Fix */

/* Removed old duplicate cart styles */


.btn-add-cart {
    background: var(--glass-bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 10px var(--primary-glow);
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 15px var(--primary-glow);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 300;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: rgba(18, 18, 20, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-soft), 0 20px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text);
}

.modal-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.wifi-icon {
    font-size: 3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.wifi-info {
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.wifi-info p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.star-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.star-rating i {
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating i.active {
    color: #f39c12;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    z-index: 5000; /* Much higher than bottom-bar */
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Updated Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border);
    animation: popIn 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    padding-right: 1rem;
}

.cart-item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.qty-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.9);
}

.cart-item-qty {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: rgba(18, 18, 20, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 250px;
    box-shadow: var(--shadow-soft), 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-success {
    border-left: 4px solid #16a34a;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

@keyframes toastIn {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    display: block;
}

.text-muted {
    color: var(--text-muted);
}

/* Order Status Badges */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-pending {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border-color: rgba(243, 156, 18, 0.3);
}

.status-preparing {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
}

.status-ready {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.3);
}

.status-delivered {
    background: rgba(149, 165, 166, 0.15);
    color: #95a5a6;
    border-color: rgba(149, 165, 166, 0.3);
}

.status-cancelled {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

.status-active {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.3);
}

.status-inactive {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-img {
        aspect-ratio: 16/9;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
    }

    .detail-body h1 {
        font-size: 1.5rem;

    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

.lang-toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.lang-btn:hover:not(.active) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.currency-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.currency-toggle:hover {
    background: rgba(230, 126, 34, 0.15);
    border-color: var(--primary);
}

.product-img {
    position: relative;
}

.stock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.stock-overlay span {
    background: #ef4444;
    color: #fff;
    padding: 0.4rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.product-card.out-of-stock {
    opacity: 0.85;
}

.product-card.out-of-stock:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.slider-section {
    margin-bottom: 3rem;
    padding: 0 1rem;
    perspective: 1000px;
}

.slider-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 21/9;
    background: #09090b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #09090b;
    transform: scale(1.1) translateX(20px);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transform: scale(1) translateX(0);
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 6s linear;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.4) 50%, transparent 100%);
}

.light-mode .slide-overlay {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.2) 60%, transparent 100%);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 5rem;
    z-index: 2;
    max-width: 650px;
}

.slide-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    width: fit-content;
    box-shadow: 0 8px 20px var(--primary-glow);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.light-mode .slide-title {
    color: #0f172a;
}

.slide-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 450px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

.light-mode .slide-subtitle {
    color: #475569;
}

.slide-price {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.slide.active .slide-badge,
.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-price,
.slide.active .slide-btn {
    transform: translateY(0);
    opacity: 1;
}

.old-price {
    font-size: 1.5rem;
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.8;
    font-weight: 600;
}

.new-price {
    font-size: 2.75rem;
    font-weight: 900;
    color: #22c55e;
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.3));
}

.slide-btn {
    width: fit-content;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-size: 1rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-mode .slide-nav {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.slide-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.slide-prev { left: 2rem; }
.slide-next { right: 2rem; }

.slide-dots {
    position: absolute;
    bottom: 2rem;
    right: 5rem;
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.light-mode .dot {
    background: rgba(0, 0, 0, 0.1);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.4);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px var(--primary-glow);
}

@media (max-width: 992px) {
    .slider-wrapper { aspect-ratio: 16/9; }
    .slide-title { font-size: 2.75rem; }
    .slide-content { padding: 3rem; }
}

@media (max-width: 768px) {
    .slider-section { padding: 0 0.75rem; }
    .slider-wrapper { 
        aspect-ratio: 4/5; 
        border-radius: 28px;
    }
    .slide-overlay {
        background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 50%, rgba(9, 9, 11, 0.2) 100%);
    }
    .light-mode .slide-overlay {
        background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.5) 60%, transparent 100%);
    }
    .slide-content {
        padding: 2rem;
        justify-content: flex-end;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    .slide-badge { margin-bottom: 1rem; font-size: 0.7rem; }
    .slide-title { font-size: 2.2rem; margin-bottom: 0.5rem; }
    .slide-subtitle { font-size: 1rem; margin-bottom: 1.5rem; max-width: 280px; }
    .new-price { font-size: 2.2rem; }
    .old-price { font-size: 1.2rem; }
    .slide-price { gap: 1rem; margin-bottom: 1.5rem; justify-content: center; }
    .slide-nav { display: none; }
    .slide-dots {
        bottom: 1.5rem;
        right: 50%;
        transform: translateX(50%);
    }
    .slide-btn { width: 100%; padding: 0.85rem; border-radius: 14px; }
}