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

:root {
    --primary-color: #d4af37;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../images/ww.jpeg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden;
}

/* Notification System */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.notification {
    background: white;
    padding: 18px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 320px;
    max-width: 450px;
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 5px solid;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: currentColor;
    animation: notificationProgress 4s linear;
}

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes notificationProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.notification.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

.notification-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    font-size: 1.05em;
    margin-bottom: 4px;
    color: var(--dark-color);
}

.notification-message {
    font-size: 0.95em;
    color: #666;
    line-height: 1.4;
}

.notification-close {
    background: transparent;
    border: none;
    font-size: 1.5em;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.notification.error {
    border-left-color: #dc3545;
    color: #dc3545;
}

.notification.success {
    border-left-color: #28a745;
    color: #28a745;
}

.notification.warning {
    border-left-color: #ffc107;
    color: #ffc107;
}

.notification.info {
    border-left-color: #17a2b8;
    color: #17a2b8;
}

@media (max-width: 768px) {
    #notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
    }
}

/* Cart Modal Overlay */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    backdrop-filter: blur(3px);
}

.cart-modal-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

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

/* Cart Modal Header */
.cart-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b4932a 100%);
    color: var(--dark-color);
    padding: 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

.cart-modal-header h2 {
    font-size: 1.8em;
    margin: 0;
    font-weight: bold;
}

.modal-close-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--dark-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* Cart Modal Content */
.cart-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fafafa;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-modal .cart-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 15px;
    transition: all 0.2s;
    border-left: 4px solid var(--primary-color);
}

.cart-modal .cart-item:hover {
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.2);
    transform: translateX(3px);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.05em;
    margin-bottom: 6px;
}

.cart-item-details {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
    word-break: break-word;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
    white-space: nowrap;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 8px;
}

.qty-btn {
    background: var(--primary-color);
    border: none;
    color: var(--dark-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #c9a037;
    transform: scale(1.1);
}

.qty-display {
    font-weight: bold;
    min-width: 25px;
    text-align: center;
}

/* Empty Cart Message */
.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-cart-message .emoji {
    font-size: 4em;
    margin-bottom: 15px;
}

.empty-cart-message p {
    font-size: 1.1em;
    margin: 0;
}

/* Cart Modal Footer */
.cart-modal-footer {
    background: white;
    border-top: 2px solid #f0f0f0;
    padding: 20px 25px;
    border-radius: 0 0 15px 15px;
}

.cart-summary {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(180, 147, 42, 0.05) 100%);
    border: 1px solid #e0d8c8;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 1em;
}

.summary-row.total-row {
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    padding-top: 12px;
    margin-top: 8px;
    font-size: 1.2em;
    font-weight: bold;
}

.summary-label {
    color: #666;
}

.summary-value {
    color: var(--primary-color);
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em;
}

.checkout-btn:hover {
    background: #c9a037;
}

.cart-toggle-btn {
    position: fixed;
    left: 20px;
    top: 20px;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    z-index: 998;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cart-toggle-btn:hover {
    background: #c9a037;
}

.empty-sidebar {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.sidebar-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.2s;
    border-left: 4px solid var(--primary-color);
}

.sidebar-item:hover {
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.2);
    transform: translateX(3px);
}

.sidebar-item-name {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.05em;
    margin-bottom: 6px;
}

.sidebar-item-details {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 12px 0;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 10px;
}

.quantity-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b4932a 100%);
    border: none;
    color: var(--dark-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.quantity-btn:hover {
    background: linear-gradient(135deg, #e5bd3f 0%, #c4a02e 100%);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

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

.quantity-display {
    font-weight: bold;
    font-size: 1.3em;
    color: var(--dark-color);
    min-width: 35px;
    text-align: center;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.sidebar-item-remove {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s;
    margin-top: 10px;
}

.sidebar-item-remove:hover {
    background: linear-gradient(135deg, #e4606d 0%, #d63545 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.sidebar-item-remove:active {
    transform: translateY(0);
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/2.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    border-radius: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    background-attachment: scroll;
}

.header-content {
    text-align: center;
    flex: 1;
    min-width: 300px;
}

.header-image {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}

.logo {
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2em;
    color: #ddd;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 0.95em;
}

.contact-btn:hover {
    background-color: #c49a2a;
    transform: scale(1.05);
}

.contact-btn.whatsapp {
    background-color: #25d366;
    color: white;
}

.contact-btn.whatsapp:hover {
    background-color: #20ba5a;
}

.contact-btn.call {
    background-color: #ff6b6b;
    color: white;
}

.contact-btn.call:hover {
    background-color: #ff5252;
}

.contact-btn.cart {
    position: relative;
}

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

.icon {
    font-size: 1.2em;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.menu-item-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

@keyframes fireFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 10px #ff6b1a, 0 0 20px #ff4500, 0 0 30px #ff8c00;
    }
    20%, 24%, 55% {
        text-shadow: 0 0 5px #ff6b1a, 0 0 10px #ff4500;
    }
}

.menu-item-title {
    animation: fireFlicker 1.5s infinite;
}

.menu-item h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.menu-item p {
    color: #666;
    font-size: 0.9em;
}

/* Selection Page */
.page {
    display: none;
}

.page.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.page-title {
    font-size: 2em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Action Buttons & Navigation */
.action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.next-button, .add-button, .back-button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

/* Next Button - Green Gradient */
.next-button {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.next-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #2ecc71 0%, #219150 100%);
}

.next-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Add to Cart Button - Gold Gradient */
.add-button {
    background: linear-gradient(135deg, #d4af37 0%, #b4932a 100%);
    color: var(--dark-color);
}

.add-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e5bd3f 0%, #c4a02e 100%);
}

/* Back Button - Dark Gradient */
.back-button {
    background: linear-gradient(135deg, #7f8c8d 0%, #2c3e50 100%);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    background: linear-gradient(135deg, #95a5a6 0%, #34495e 100%);
}

/* Button Ripple Effect */
.next-button::after, .add-button::after, .back-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: scale(0);
    opacity: 0;
    border-radius: 50px;
    transition: all 0.5s;
}

.next-button:active::after, .add-button:active::after, .back-button:active::after {
    transform: scale(2);
    opacity: 1;
    transition: 0s;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.option-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.2);
}

.option-card.selected {
    border-color: var(--primary-color);
    background-color: #fff9e6;
}

.option-card h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.option-card p {
    color: #666;
    font-size: 0.9em;
}

/* Checkout Form */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.checkout-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

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

.checkout-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e6b800 100%);
    padding: 25px 30px;
    color: white;
}

.checkout-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95em;
}

.label-icon {
    font-size: 1.2em;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
}

.payment-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed #e0e0e0;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    position: relative;
    cursor: pointer;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e6b800 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option input[type="radio"]:checked + .payment-content {
    color: white;
}

.payment-option input[type="radio"]:checked ~ * {
    position: relative;
    z-index: 1;
}

.payment-option input[type="radio"]:checked::before {
    opacity: 1;
}

.payment-option:has(input:checked) {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #e6b800 100%);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
    transform: scale(1.02);
}

.payment-option:has(input:checked) .payment-content {
    color: white;
}

.payment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.payment-icon {
    font-size: 2.5em;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.payment-text {
    font-weight: 600;
    font-size: 1.05em;
}

.order-summary-checkout {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #dee2e6;
}

.summary-items-list {
    margin: 15px 0;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #dee2e6;
}

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

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 3px solid var(--primary-color);
    font-size: 1.2em;
}

.checkout-button-new {
    width: 100%;
    margin-top: 30px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.checkout-button-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.checkout-button-new:hover::before {
    width: 400px;
    height: 400px;
}

.checkout-button-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.checkout-button-new:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 1.3em;
    animation: bounce 2s infinite;
}

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

.button-text {
    position: relative;
    z-index: 1;
}

.button-arrow {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.checkout-button-new:hover .button-arrow {
    transform: translateX(10px);
    animation: arrowMove 0.6s ease infinite;
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.summary-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Map & Footer */
.map-container {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1.1em;
}

.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 10px 10px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

/* Sauce Selection Styles */
.sauce-section {
    margin-bottom: 30px;
}

.sauce-title {
    color: white;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sauce-counter {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.sauce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.sauce-option {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    color: var(--dark-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.sauce-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
    background: white;
}

.sauce-option:active {
    transform: scale(0.95);
}

.sauce-option.sauce-selected {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: #c9a037;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.sauce-option.sauce-selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8em;
    background: rgba(255, 255, 255, 0.3);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sauce-option.sauce-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.95);
    filter: grayscale(100%);
}

@media (max-width: 768px) {
    .sauce-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .sauce-option {
        padding: 12px 5px;
        font-size: 0.9em;
    }
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .logo {
        font-size: 1.5em;
        margin-bottom: 5px;
    }

    .tagline {
        font-size: 0.85em;
    }

    .header-image {
        max-width: 100px;
        margin-bottom: 10px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .menu-item {
        padding: 15px 10px;
    }

    .menu-item-icon {
        font-size: 2em;
        margin-bottom: 8px;
    }

    .menu-item-title {
        font-size: 0.95em;
    }

    .menu-item p {
        font-size: 0.8em;
    }

    .page-header {
        padding: 10px;
        gap: 10px;
    }

    .page-title {
        font-size: 1.3em;
    }

    .back-button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .option-card {
        padding: 12px;
    }

    .option-card h3 {
        font-size: 0.9em;
    }

    .option-card p {
        font-size: 0.8em;
    }

    .action-buttons {
        padding: 10px;
        gap: 8px;
    }

    .next-button, .add-button, .checkout-button {
        padding: 10px !important;
        font-size: 13px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkout-container {
        padding: 10px;
    }
    
    .checkout-header {
        padding: 20px 15px;
    }
    
    .checkout-form {
        padding: 20px 15px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .checkout-button-new {
        padding: 15px 20px;
        font-size: 1em;
    }

    .container {
        padding: 10px;
    }

    .header {
        padding: 10px;
        margin-bottom: 20px;
        gap: 10px;
    }

    .contact-buttons {
        gap: 8px;
    }

    .contact-btn {
        padding: 8px 6px;
        font-size: 11px;
    }

    .contact-btn .icon {
        display: none;
    }

    .cart-toggle-btn {
        padding: 8px 12px;
        font-size: 12px;
        left: 8px;
        top: 8px;
    }

    .cart-count {
        font-size: 10px;
        padding: 2px 4px;
    }

    .sidebar-cart {
        width: 100vw;
    }

    .sidebar-header {
        padding: 15px;
    }

    .sidebar-header h2 {
        font-size: 1.1em;
    }

    .close-sidebar {
        font-size: 24px;
    }

    .sidebar-items {
        padding: 10px;
    }

    .sidebar-item {
        padding: 10px;
        margin-bottom: 8px;
    }

    .sidebar-item-name {
        font-size: 0.95em;
        margin-bottom: 4px;
    }

    .sidebar-item-details {
        font-size: 0.8em;
    }

    .sidebar-total {
        padding: 15px;
    }

    .total-amount {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .checkout-btn {
        padding: 10px;
        font-size: 13px;
    }

    .checkout-form {
        padding: 0;
    }

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

    .form-group label {
        font-size: 13px;
    }

    .form-group input, .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }

    .payment-options {
        gap: 8px;
    }

    .payment-option {
        padding: 10px;
        font-size: 13px;
    }

    .summary {
        padding: 12px;
        margin: 12px 0;
    }

    .summary-title {
        font-size: 1.1em;
    }

    .summary-item {
        font-size: 12px;
        padding: 6px 0;
    }

    .page-header h1 {
        font-size: 1.2em;
    }

    .map-container {
        margin: 10px 0;
    }

    .map-button {
        padding: 10px;
        font-size: 13px;
        width: 100%;
    }

    footer {
        padding: 20px 10px;
    }

    .footer-section h3 {
        font-size: 1em;
    }

    .footer-section p {
        font-size: 0.9em;
    }
}

/* Auth Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    border-bottom: 2px solid transparent;
}

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

.auth-form h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2em;
    user-select: none;
    background: none;
    border: none;
    padding: 0;
}

.auth-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.auth-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

.auth-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

.auth-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

/* CHECKOUT PAGE STYLES */
.checkout-page {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(245,245,245,0.98) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 20px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.checkout-title {
    font-size: 2.5em;
    color: var(--dark-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.checkout-header .back-button {
    position: absolute;
    top: -20px;
    right: 0;
}

.checkout-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.checkout-container {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.form-section {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    animation: fadeInSection 0.8s ease-out forwards;
}

.form-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

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

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }

.section-title {
    font-size: 1.4em;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
}

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

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1em;
}

.form-group input {
    width: 100%;
    padding: 14px 16px 14px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 40px;
    font-size: 1.2em;
    color: var(--primary-color);
    pointer-events: none;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-card input[type="radio"] {
    display: none;
}

.payment-card:hover,
.payment-card.selected {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(46, 204, 113, 0.05) 100%);
}

.payment-card input[type="radio"]:checked + .payment-content {
    opacity: 1;
}

.payment-card input[type="radio"]:checked ~ .payment-check {
    opacity: 1;
    transform: scale(1);
}

.payment-card input[type="radio"]:checked {
    + .payment-content ~ .payment-check {
        opacity: 1;
    }
}

.payment-card input:checked {
    ~ .payment-check {
        opacity: 1;
    }
}

.payment-card label {
    appearance: none;
    -webkit-appearance: none;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-card input[type="radio"]:checked ~ .payment-content {
    opacity: 1;
}

.payment-icon {
    font-size: 2.5em;
}

.payment-text {
    flex: 1;
}

.payment-title {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.1em;
    margin-bottom: 5px;
}

.payment-desc {
    color: #666;
    font-size: 0.9em;
}

.payment-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    opacity: 0;
    transition: all 0.3s ease;
}

.payment-card input[type="radio"]:checked ~ .payment-check {
    opacity: 1;
    transform: scale(1.1);
}

/* Order Summary */
.order-summary {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6em;
    font-weight: bold;
}

.summary-label {
    color: var(--dark-color);
}

.summary-amount {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8em;
}

/* Checkout Actions */
.checkout-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-confirm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.5s ease;
    border-radius: 50px;
}

.btn-confirm:hover::before {
    left: 100%;
}

.btn-confirm:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #2ecc71 0%, #1e8449 100%);
}

.btn-confirm:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-icon {
    font-size: 1.4em;
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.btn-confirm:hover .btn-icon {
    animation: none;
    transform: scale(1.2);
}

.btn-text {
    font-size: 1.05em;
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */

/* Extra Small Devices (< 576px) */
@media (max-width: 575px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }

    /* Header */
    .header {
        flex-direction: column;
        gap: 15px !important;
        padding: 15px !important;
    }

    .header-image {
        max-width: 100px !important;
    }

    .logo {
        font-size: 2em !important;
    }

    .tagline {
        font-size: 0.9em !important;
    }

    .contact-buttons {
        justify-content: center !important;
        gap: 8px !important;
    }

    .contact-btn {
        padding: 10px 15px !important;
        font-size: 0.9em !important;
    }

    /* Cart Button */
    .cart-toggle-btn {
        left: 10px !important;
        top: 10px !important;
        padding: 10px 15px !important;
        font-size: 0.9em !important;
    }

    /* Cart Modal */
    .cart-modal {
        width: 95% !important;
        max-width: 100% !important;
        max-height: 90vh !important;
        top: 50% !important;
    }

    .cart-modal-header {
        padding: 15px !important;
    }

    .cart-modal-header h2 {
        font-size: 1.3em !important;
    }

    .modal-close-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 24px !important;
    }

    .cart-modal-content {
        padding: 15px !important;
    }

    .cart-item {
        padding: 12px !important;
        flex-direction: column !important;
    }

    .cart-item-info {
        width: 100% !important;
    }

    .cart-item-name {
        font-size: 0.95em !important;
    }

    .cart-item-details {
        font-size: 0.8em !important;
    }

    .cart-item-price {
        font-size: 1em !important;
    }

    .cart-item-controls {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .cart-summary {
        padding: 12px !important;
    }

    .summary-row {
        padding: 6px 0 !important;
        font-size: 0.95em !important;
    }

    /* Menu Grid */
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }

    .menu-item {
        padding: 15px 10px !important;
    }

    .menu-item-icon {
        font-size: 2.5em !important;
    }

    .menu-item h2 {
        font-size: 0.95em !important;
    }

    .menu-item p {
        font-size: 0.8em !important;
    }

    /* Page Header */
    .page-header {
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .page-title {
        font-size: 1.5em !important;
    }

    .back-button {
        width: 100% !important;
        min-width: 100% !important;
        padding: 12px 20px !important;
    }

    /* Options Grid */
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 10px !important;
    }

    .option-card {
        padding: 12px 10px !important;
    }

    .option-card h3 {
        font-size: 0.9em !important;
    }

    .option-card p {
        font-size: 0.8em !important;
        margin-top: 5px !important;
    }

    /* Sauces Grid */
    .sauce-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)) !important;
        gap: 8px !important;
    }

    .sauce-option {
        padding: 10px !important;
    }

    /* Action Buttons */
    .action-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .next-button,
    .add-button,
    .back-button {
        width: 100% !important;
        min-width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1em !important;
    }

    /* Checkout Page */
    .checkout-page {
        padding: 20px 15px !important;
        margin: 10px 0 !important;
        border-radius: 15px !important;
    }

    .checkout-title {
        font-size: 1.8em !important;
    }

    .checkout-subtitle {
        font-size: 0.95em !important;
    }

    .checkout-header .back-button {
        position: static !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .form-section {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .section-title {
        font-size: 1.2em !important;
        margin-bottom: 15px !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .form-group label {
        font-size: 0.95em !important;
        margin-bottom: 6px !important;
    }

    .form-group input {
        padding: 12px 14px 12px 38px !important;
        font-size: 1em !important;
    }

    .input-icon {
        left: 10px !important;
        top: 38px !important;
        font-size: 1em !important;
    }

    /* Payment Grid */
    .payment-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .payment-card {
        padding: 15px !important;
        gap: 12px !important;
    }

    .payment-icon {
        font-size: 2em !important;
        min-width: 50px !important;
    }

    .payment-title {
        font-size: 1em !important;
    }

    .payment-desc {
        font-size: 0.85em !important;
    }

    /* Order Summary */
    .order-summary {
        padding: 15px !important;
        margin-top: 20px !important;
    }

    .summary-total {
        font-size: 1.3em !important;
        gap: 10px !important;
    }

    /* Checkout Actions */
    .checkout-actions {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .btn-confirm {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1.05em !important;
        gap: 8px !important;
    }

    .btn-icon {
        font-size: 1.2em !important;
    }

    /* Sidebar items */
    .sidebar-item {
        padding: 12px !important;
    }

    /* Footer */
    .footer {
        padding: 15px !important;
        font-size: 0.85em !important;
    }

    /* Map Section */
    .map-container {
        height: 200px !important;
    }

    .map-button {
        padding: 12px 20px !important;
        font-size: 0.95em !important;
    }
}

/* Small Devices (576px - 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1em;
    }

    .contact-buttons {
        gap: 10px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .cart-modal {
        width: 90%;
        max-width: 500px;
    }

    .checkout-page {
        padding: 30px 20px;
    }

    .checkout-title {
        font-size: 2.2em;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .btn-confirm {
        width: 100%;
        padding: 16px 30px;
    }
}

/* Medium Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Landscape Mode Fix */
@media (max-height: 600px) {
    .cart-modal {
        max-height: 80vh !important;
        top: 40% !important;
    }

    .checkout-page {
        padding: 20px 15px !important;
    }

    .section-title {
        margin-bottom: 10px !important;
    }

    .form-group {
        margin-bottom: 5px !important;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    .option-card,
    .menu-item,
    .payment-card,
    .cart-item {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .next-button,
    .add-button,
    .back-button,
    .btn-confirm,
    .checkout-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }

    .qty-btn {
        min-width: 32px !important;
        min-height: 32px !important;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    }
}
