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

:root {
    --primary: #f8c828;
    --secondary: #ffa36c;
    --accent: #4ecdc4;
    --dark: #292929;
    --light: #f9f9f9;
    --gray: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}
 
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

/* Logo */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

/* Nav */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* User Menu */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-family: "Poppins", sans-serif;
}

.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.user-profile:hover {
    background: rgba(0, 0, 0, 0.05);
}

.avatar {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.username {
    font-weight: 600;
    color: var(--dark);
}

.user-profile .fa-chevron-down {
    font-size: 12px;
    color: var(--dark);
    transition: var(--transition);
}

.user-profile:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Right Slide Panel */
/* Fix for slide panel z-index and interaction */
/* ====== USER PANEL STYLES ====== */
.slide-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    z-index: 10000; /* High z-index to appear above everything */
}

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

.panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--primary);
    color: #fff;
    position: relative;
}

.panel-header .avatar.large {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.panel-username {
    font-weight: 600;
    font-size: 16px;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.panel-links {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
}

/* FIXED: Panel links styling - Make sure they are clickable */
.panel-links a,
.panel-links .logout-btn {
    text-decoration: none;
    color: #333;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    text-align: left;
    margin-bottom: 8px;
    display: block; /* Important: Make them block elements */
    cursor: pointer; /* Show pointer cursor */
    border: none;
    background: none;
    width: 100%; /* Take full width */
    font-family: inherit;
    font-size: 14px;
    position: relative;
    z-index: 1; /* Ensure they are above other elements */
}

.panel-links a:hover,
.panel-links .logout-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
    transform: translateX(5px);
}

/* Specific styling for logout button */
.panel-links .logout-btn {
    margin-top: auto; /* Push logout to bottom */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    margin-bottom: 0;
}

/* ====== OVERLAY STYLES ====== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; /* Lower than panel */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ====== FIX FOR CLICK ISSUES ====== */
/* Ensure user profile is clickable */
.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 10001; /* Higher than overlay */
}

.user-profile:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Make sure nothing blocks the panel interactions */
.slide-panel * {
    pointer-events: auto !important;
}

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
    .slide-panel {
        width: 280px;
    }
    
    .panel-links a,
    .panel-links .logout-btn {
        padding: 15px 12px;
        font-size: 16px; /* Larger touch targets for mobile */
    }
}
/* Cart + Orders */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 8px;
}

.cart-icon:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Orders Button */
.btn.orders-btn {
    display: flex;
    align-items: center;
    background-color: white;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    gap: 8px;
}

.btn.orders-btn:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav ul li a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-explore {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn{
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}
/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-img {
    height: 200px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-content {
    padding: 20px;
    text-align: center;
}

.category-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Menu Section */
.menu {
    padding: 80px 0;
    background-color: var(--light);
}

.menu-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.5s ease;
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.item-content {
    padding: 20px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item-title {
    font-size: 20px;
    font-weight: 600;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.item-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

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

.rating {
    color: #ffc107;
}

.add-to-cart {
    background-color: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background-color: var(--primary);
    transform: rotate(90deg);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: #445453;
    font-size: 20px;
    width: 30px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: var(--transition);
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}

.cart-title {
    font-size: 24px;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

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

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--gray);
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background-color: var(--gray);
}

.item-quantity {
    margin: 0 10px;
    font-weight: 600;
}

.remove-item {
    margin-left: auto;
    color: #ff4757;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    font-size: 16px;
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--gray);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.checkout-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.empty-cart i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--gray);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 0;
}

.footer-column p {
    margin-bottom: 20px;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 14px;
}

/* NEW STYLES FOR PRODUCT DETAILS AND ORDER FORM */

/* Product Details Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.product-modal-content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .product-modal-content {
        flex-direction: row;
    }
}

.product-modal-image {
    flex: 1;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .product-modal-image img {
        height: 100%;
    }
}

.product-modal-details {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.product-modal-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.product-modal-price {
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
}

.product-modal-description {
    margin-bottom: 20px;
    color: #666;
}

.product-modal-rating {
    margin-bottom: 20px;
    color: #ffc107;
}

.product-modal-badge {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

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

.order-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Order Form Modal */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
}

.order-modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.order-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}

.order-modal-title {
    font-size: 24px;
    font-weight: 600;
}

.order-summary {
    background-color: var(--light);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.order-summary h4 {
    margin-bottom: 10px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 5px 0;
    border-bottom: 1px solid var(--gray);
}

.order-form .form-group {
    margin-bottom: 20px;
}

.order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.submit-order {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.submit-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Order Confirmation */
.order-confirmation {
    text-align: center;
    padding: 30px 0;
}

.order-confirmation i {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 20px;
}

.order-confirmation h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.order-confirmation p {
    margin-bottom: 20px;
    color: #666;
}

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

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

/* Responsive Styles */
@media (max-width: 900px) {
    nav ul {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-actions {
        gap: 15px;
    }

    .btn.orders-btn span {
        display: none;
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .cart-sidebar {
        max-width: 100%;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .header-container {
        padding: 15px 5%;
    }

    .user-profile .username {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .product-modal-content {
        flex-direction: column;
        max-height: 95vh;
    }

    .product-modal-image img {
        height: 200px;
    }
}