/* ========== Order Page Styles ========== */

/* Header */
.order-hero {
    padding: 140px 0 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: #fff;
}

.order-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.order-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Active nav link */
.active-link {
    color: var(--primary-color) !important;
}

.active-link::after {
    width: 100% !important;
}

/* Category Navigation */
.category-nav-wrapper {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #fff;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Raleway', sans-serif;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.category-btn i {
    font-size: 0.8rem;
}

/* Delivery Info Bar */
.delivery-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 20px;
    margin: 20px 0;
    background: var(--cream-light);
    border-radius: 12px;
    border: 1px solid var(--cream-bg);
}

.delivery-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.delivery-info-bar .info-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Menu Grid */
.order-main {
    padding: 0 0 100px;
    min-height: 60vh;
}

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Category Section */
.menu-category {
    scroll-margin-top: 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-header i {
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(19, 50, 93, 0.08);
    border-radius: 8px;
}

.category-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-light);
}

/* Menu Item Cards */
.menu-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 12px;
}

.menu-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.menu-item-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(19, 50, 93, 0.08);
}

.menu-item-card.unavailable {
    opacity: 0.5;
    pointer-events: none;
}

.menu-item-info {
    flex: 1;
    min-width: 0;
}

.menu-item-info .item-number {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-gray);
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.menu-item-info h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2px;
}

.menu-item-info p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.menu-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
    flex-shrink: 0;
}

.menu-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Add to Cart Button */
.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Quantity Controls (shown when in cart) */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.qty-btn.minus {
    border-color: #e74c3c;
    color: #e74c3c;
}

.qty-btn.minus:hover {
    background: #e74c3c;
    color: #fff;
}

.qty-value {
    font-weight: 700;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    color: var(--text-light);
}

/* ========== Floating Cart Button ========== */
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(19, 50, 93, 0.4);
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.cart-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(19, 50, 93, 0.5);
}

.cart-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #e74c3c;
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-fab-total {
    font-size: 0.9rem;
}

/* ========== Cart Sidebar ========== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: var(--primary-color);
    color: #fff;
}

.cart-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.cart-empty i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-light);
}

.cart-empty span {
    font-size: 0.85rem;
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cart-item-total {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    min-width: 60px;
    text-align: right;
}

.cart-item-remove {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    color: #ccc;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

/* Cart Footer */
.cart-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-summary {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.summary-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    padding-top: 8px;
    margin-top: 8px;
    border-top: 2px solid var(--primary-color);
}

.cart-min-order-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #856404;
    margin-bottom: 12px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Raleway', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== Checkout Modal ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.checkout-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-radius: 16px 16px 0 0;
}

.checkout-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #e74c3c;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 20px 28px;
    border-bottom: 1px solid #eee;
}

.step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: #ddd;
    transform: translateY(-50%);
}

.step.active:not(:last-child)::after,
.step.completed:not(:last-child)::after {
    background: var(--primary-color);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: #eee;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--primary-color);
    color: #fff;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-gray);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Checkout Form */
.checkout-step-content {
    display: none;
    padding: 24px 28px;
}

.checkout-step-content.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: border-color 0.2s;
    font-family: 'Raleway', sans-serif;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(19, 50, 93, 0.08);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.address-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fde8e8;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 8px;
}

/* Step Buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.btn-next,
.btn-back,
.btn-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-next {
    background: var(--primary-color);
    color: #fff;
}

.btn-next:hover {
    background: var(--secondary-color);
}

.btn-back {
    background: #f0f0f0;
    color: var(--text-light);
}

.btn-back:hover {
    background: #e0e0e0;
}

.btn-submit {
    background: #27ae60;
    color: #fff;
}

.btn-submit:hover:not(:disabled) {
    background: #219a52;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-spinner {
    margin-left: 6px;
}

/* Order Review */
.order-review {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.order-review h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.review-item .qty {
    color: var(--primary-color);
    font-weight: 600;
}

.review-summary {
    border-top: 1px solid #ddd;
    margin-top: 8px;
    padding-top: 8px;
}

/* Payment Section */
.payment-section {
    margin-bottom: 20px;
}

.payment-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(19, 50, 93, 0.04);
}

.payment-method input {
    display: none;
}

.payment-method i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.stripe-card-wrapper {
    padding: 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s;
    min-height: 50px;
}

.stripe-card-wrapper:focus-within {
    border-color: var(--primary-color);
}

#stripeCardElement {
    min-height: 40px;
}

.stripe-error {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #e74c3c;
}

.cash-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #0c5460;
}

.cash-info i {
    color: #17a2b8;
    margin-top: 2px;
}

/* Legal */
.checkout-legal {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-gray);
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Success */
.checkout-success {
    text-align: center;
    padding: 40px 28px;
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 16px;
}

.checkout-success h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
    margin-bottom: 10px;
}

.checkout-success p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.success-details {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.85rem;
}

.btn-primary-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
}

.btn-primary-order:hover {
    background: var(--secondary-color);
}

/* Footer */
.order-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-payment-icons {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Toast */
.order-toast {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    z-index: 9999;
    transition: bottom 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.order-toast.show {
    bottom: 24px;
}

.order-toast.success {
    background: #27ae60;
    color: #fff;
}

.order-toast.error {
    background: #e74c3c;
    color: #fff;
}

/* ========== Ordering Paused / Hours Banner ========== */
.ordering-paused-banner,
.delivery-hours-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-top: 80px;
    background: #fff3cd;
    color: #856404;
    font-weight: 500;
    border-bottom: 2px solid #ffc107;
}

.ordering-paused-banner i,
.delivery-hours-banner i {
    font-size: 1.3rem;
}

/* ========== Item Options Modal ========== */
.item-options-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.item-options-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.item-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-color);
    color: #fff;
}

.item-options-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.item-options-body {
    padding: 20px;
}

.item-options-section {
    margin-bottom: 16px;
}

.item-options-section:last-child {
    margin-bottom: 0;
}

.item-options-section label:first-child {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.item-options-section label:first-child i {
    margin-right: 6px;
}

.sauce-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Raleway', sans-serif;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sauce-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.extras-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.extra-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.extra-checkbox-label:hover {
    border-color: var(--primary-color);
    background: var(--cream-light);
}

.extra-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.extra-checkbox-label input[type="checkbox"]:checked+span {
    font-weight: 600;
}

.item-options-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
}

.item-options-footer .btn-primary-order {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

/* ========== Item Qty Badge on Menu Card ========== */
.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-qty-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
}

/* ========== Cart Item Details (sauce, extras) ========== */
.cart-item-detail {
    font-size: 0.75rem;
    color: #999;
    margin-top: 2px;
}

.cart-item-detail i {
    font-size: 0.65rem;
    margin-right: 4px;
}

/* ========== Payment Info Text ========== */
.payment-info-text {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 16px;
    background: var(--cream-light);
    border-radius: 8px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
}

.payment-info-text i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .order-hero {
        padding: 120px 0 30px;
    }

    .order-hero h1 {
        font-size: 1.8rem;
    }

    .delivery-info-bar {
        flex-direction: column;
        gap: 10px;
    }

    .menu-items-list {
        grid-template-columns: 1fr;
    }

    .menu-item-card {
        padding: 12px;
    }

    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .cart-body {
        padding: 16px;
    }

    .cart-footer {
        padding: 16px;
    }

    .checkout-modal {
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }

    .checkout-header {
        border-radius: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        padding: 16px 12px;
    }

    .step-label {
        display: none;
    }

    .checkout-step-content {
        padding: 20px 16px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .cart-fab {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .item-options-modal {
        width: 95%;
        max-width: none;
        margin: 10px;
    }

    .ordering-paused-banner,
    .delivery-hours-banner {
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .extras-checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-hero h1 {
        font-size: 1.5rem;
    }

    .category-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .step-buttons {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .btn-next,
    .btn-back,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}