/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 500;
}

.cart-btn {
    background: #e74c3c;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, transform 0.2s ease;
    font-weight: 600;
}

.cart-btn:hover {
    background: #c0392b;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f39c12;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Info Banner */
.info-banner {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #555;
    font-weight: 500;
}

.info-item i {
    color: #e74c3c;
    font-size: 1.1rem;
}

/* Search and Filter Section */
.search-filter-section {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

/* Search Container */
.search-container {
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #e74c3c;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #e74c3c;
    font-size: 1.2rem;
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.clear-search:hover {
    background: #c0392b;
}

/* Diet Filter */
.diet-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.diet-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diet-btn:hover, .diet-btn.active {
    border-color: #e74c3c;
    color: #e74c3c;
}

.veg-btn.active {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.nonveg-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Veg/Non-veg Icons */
.veg-icon, .nonveg-icon {
    width: 18px;
    height: 18px;
    border: 2px solid;
    position: relative;
    border-radius: 3px;
}

.veg-icon {
    border-color: #27ae60;
    background: #27ae60;
}

.veg-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.nonveg-icon {
    border-color: #e74c3c;
    background: #e74c3c;
}

.nonveg-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid white;
}

/* Category Filter */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover, .filter-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Menu Container */
.menu-container {
    padding: 2rem 0;
    min-height: 60vh;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Menu Item Card */
.menu-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid #e9ecef;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.menu-item.veg {
    border-left: 4px solid #27ae60;
}

.menu-item.nonveg {
    border-left: 4px solid #e74c3c;
}

.diet-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border: 2px solid;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    z-index: 10;
}

.diet-indicator.veg {
    border-color: #27ae60;
    background: #27ae60;
}

.diet-indicator.veg::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.diet-indicator.nonveg {
    border-color: #e74c3c;
    background: #e74c3c;
}

.diet-indicator.nonveg::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid white;
}

.menu-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.menu-item-category {
    font-size: 0.8rem;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
}

.menu-item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1rem;
}

.menu-item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.3rem;
}

.quantity-btn {
    background: #e74c3c;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.quantity-btn:hover {
    background: #c0392b;
}

.quantity-display {
    font-weight: 600;
    min-width: 32px;
    text-align: center;
    color: #2c3e50;
}

.add-to-cart-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover {
    background: #c0392b;
}

/* AI Chat Button */
.ai-chat-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.ai-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.ai-chat-btn i {
    font-size: 1.1rem;
}

/* AI Chat Modal */
.chat-content {
    max-width: 500px;
    width: 90vw;
    height: 80vh;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-info h3 {
    margin: 0;
    font-size: 1.2rem;
}

.ai-info p {
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-chat:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-message, .user-message {
    display: flex;
    gap: 0.8rem;
    max-width: 85%;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-message .message-avatar {
    background: #27ae60;
    color: white;
}

.message-content {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.user-message .message-content {
    background: #27ae60;
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-content div {
    line-height: 1.6;
}

.message-content strong {
    font-weight: 600;
    color: #2c3e50;
}

.message-content ol, .message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.message-content li {
    margin: 4px 0;
    line-height: 1.5;
}

.message-content br {
    margin: 4px 0;
}

/* Product Recommendations */
.recommended-products {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.recommended-product {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.recommended-product:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.product-price {
    color: #27ae60;
    font-weight: 500;
    font-size: 0.9rem;
}

.product-type {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.product-type.veg {
    background: #27ae60;
}

.product-type.nonveg {
    background: #e74c3c;
}

.add-product-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* Chat Quantity Controls */
.chat-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-quantity-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.chat-quantity-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.chat-quantity-btn.minus:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.chat-quantity-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    color: #2c3e50;
    min-width: 30px;
    text-align: center;
}

.chat-delete-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin-left: 0.2rem;
}

.chat-delete-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Chat Input */
.chat-input-container {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

#chatInput {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#chatInput:focus {
    border-color: #667eea;
}

#sendMessage {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#sendMessage:hover {
    transform: scale(1.05);
}

#sendMessage:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Chat Suggestions */
.chat-suggestions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.suggestion-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    color: #495057;
}

.suggestion-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Loading Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 0.2rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #6c757d;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-content {
        width: 95vw;
        height: 85vh;
        border-radius: 15px;
    }
    
    .ai-chat-btn span {
        display: none;
    }
    
    .ai-chat-btn {
        padding: 0.8rem;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        margin-right: 0.5rem;
    }
    
    .chat-suggestions {
        justify-content: center;
    }
    
    .suggestion-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e74c3c;
    color: white;
}

.cart-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.close-cart:hover {
    background: rgba(255,255,255,0.2);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: calc(100vh - 200px);
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.cart-item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #2c3e50;
}

.cart-item-price {
    color: #27ae60;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    flex-shrink: 0;
    position: relative;
    bottom: 0;
}

.cart-summary {
    margin-bottom: 1rem;
}

.cart-summary > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    border-top: 1px solid #ddd;
    padding-top: 0.5rem;
}

.order-btn {
    width: 100%;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.order-btn:hover {
    background: #c0392b;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 1rem;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e74c3c;
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e74c3c;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-summary h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.final-total {
    font-size: 1.2rem;
    color: #27ae60;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #27ae60;
}
.subcategory-header {
    grid-column: 1 / -1;
    margin: 0.5rem 0;
    padding: 0.3rem 0;
    text-align: center;
    font-size: 1.4rem;   /* smaller heading */
    font-weight: 700;    /* bold */
    color: #333;         /* dark clean text */
    background: none;    /* remove gradient */
    border-radius: 0;    /* no rounded corners */
  }
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-items: center;   /* aligns cards in center */
    margin-top: -2rem;
  }
    

.submit-order-btn {
    width: 100%;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-order-btn:hover {
    background: #c0392b;
}

/* Success Modal */
.success-content {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #27ae60;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    margin-bottom: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.continue-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.continue-btn:hover {
    background: #c0392b;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    background: #34495e;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.social-links a:hover {
    background: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Search Results */
.search-results-info {
    text-align: center;
    padding: 1rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    margin: 1rem 0;
    color: #e74c3c;
    font-weight: 600;
    width: 100%;
    grid-column: 1 / -1;
    order: -1;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        /* flex-direction: column;
        gap: 1rem;
        text-align: center; */
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
    
    .cart-items {
        max-height: calc(100vh - 180px);
        padding: 0.5rem;
    }
    
    .cart-footer {
        padding: 1rem;
    }
    
    .cart-summary {
        margin-bottom: 0.5rem;
    }
    
    .order-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 0.5rem;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .order-summary {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .diet-filter {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .diet-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-input {
        padding: 0.8rem 2.5rem 0.8rem 3rem;
        font-size: 1rem;
    }
    
    .menu-item-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .quantity-controls {
        order: 2;
    }
    
    .add-to-cart-btn {
        order: 1;
    }
    
    /* Sticky nav mobile adjustments */
    /* .sticky-nav.visible {
        top: 60px;
    } */
    
    .sticky-nav-content {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem 0;
    }
    
    .sticky-search {
        width: 100%;
        min-width: auto;
    }
    
    .sticky-categories {
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }
    
    .sticky-cat-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .menu-item-content {
        padding: 1rem;
    }
    
    .menu-item-name {
        font-size: 1rem;
    }
    
    .cart-sidebar {
        width: 100vw;
    }
    
    .cart-items {
        max-height: calc(100vh - 160px);
        padding: 0.5rem;
    }
    
    .cart-footer {
        padding: 0.75rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #f8f9fa;
        border-top: 2px solid #e9ecef;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    }
    
    .cart-summary {
        margin-bottom: 0.5rem;
    }
    
    .cart-summary > div {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }
    
    .order-btn {
        padding: 1rem;
        font-size: 1rem;
        font-weight: 700;
    }
    
    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }
    
    .modal-header {
        border-radius: 0;
    }
    
    .modal-body {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
    }
    
    .form-group input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .submit-order-btn {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}

/* Ensure modal is properly centered */
.modal {
    padding: 1rem;
}

/* Sticky Navigation Bar */
.sticky-nav {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
    z-index: 998;
    transition: top 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sticky-nav.visible {
    top: 130px;
}

.sticky-nav-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
}

  
  
.sticky-search {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    min-width: 200px;
    border: 1px solid #e9ecef;
}

.sticky-search i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.sticky-search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 0.9rem;
}

.sticky-categories {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.sticky-categories::-webkit-scrollbar {
    display: none;
}

.sticky-cat-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.85rem;
}

.sticky-cat-btn:hover, .sticky-cat-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
} 

.floating-ai-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1500;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    background: #764ba2;
    color: #fff;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.floating-ai-btn:hover {
    background: #667eea;
    transform: scale(1.05);
}
@media (max-width: 600px) {
    .floating-ai-btn {
        right: 12px;
        bottom: 80px;
        padding: 10px 16px;
        font-size: 1rem;
        z-index: 1500;
    }
} 