/*
==================
    ORDER HERO
==================
*/
.order-hero {
    padding-bottom: 30px !important;
}

.order-demo-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 20px auto 0;
    max-width: 700px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.order-demo-notice p {
    margin: 0;
}

.food-tab-switcher .food-tab {
    cursor: pointer;
    font-family: inherit;
}

/*
=====================
    ORDER SECTION
=====================
*/
.order-section {
    padding: 40px 40px 100px;
}

.order-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/*
=========================
    ORDER TYPE TOGGLE
=========================
*/
.order-type-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.order-type-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: #F5F5F5;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.order-type-btn.active {
    background: var(--accent);
    color: #FFF;
}

.order-type-btn:not(.active):hover {
    background: #EBEBEB;
}

/*
==================
    ORDER MENU
==================
*/
.order-menu-col {
    background: #FFF;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-section-group {
    margin-bottom: 32px;
}

.order-section-group:last-child {
    margin-bottom: 0;
}

.order-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.4s ease;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    gap: 12px;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.order-item-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1A1A1A;
}

.order-item-price {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    transition: color 0.4s ease;
}

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-add-btn {
    padding: 6px 16px;
    background: var(--accent);
    color: #FFF;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.order-add-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.order-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #F5F5F5;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.order-qty-btn:hover {
    background: #E5E5E5;
}

.order-qty-add {
    background: var(--accent);
    color: #FFF;
    border-color: var(--accent);
}

.order-qty-add:hover {
    background: var(--accent-dark);
}

.order-qty {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1A1A1A;
    min-width: 20px;
    text-align: center;
}

/*
=====================
    ORDER SUMMARY
=====================
*/
.order-summary-col {
    position: sticky;
    top: 80px;
}

.order-summary {
    background: #FFF;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.order-type-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

/*
===================
    EMPTY STATE
===================
*/
.order-empty {
    text-align: center;
    padding: 32px 0;
    color: #CCC;
}

.order-empty span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.order-empty p {
    font-size: 0.92rem;
    color: #AAA;
    margin-bottom: 4px;
}

.order-empty-sub {
    font-size: 0.82rem !important;
    color: #CCC !important;
}

/*
==================
    CART ITEMS
==================
*/
.order-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 10px;
}

.order-cart-item:last-child {
    border-bottom: none;
}

.order-cart-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.order-cart-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1A1A1A;
}

.order-cart-qty {
    font-size: 0.78rem;
    color: #AAA;
}

.order-cart-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-cart-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.4s ease;
}

.order-cart-remove {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: #999;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.order-cart-remove:hover {
    background: #C62828;
    color: #FFF;
}

/*
====================
    ORDER TOTALS
====================
*/
.order-totals {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #555;
}

.order-total-final {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 4px;
}

/*
========================
    CUSTOMER DETAILS
========================
*/
.order-customer-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-customer-details h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-customer-details label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-customer-details label span {
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.order-customer-details input,
.order-customer-details select,
.order-customer-details textarea {
    padding: 10px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #333;
    font-family: inherit;
    background: #FAFAFA;
    transition: border-color 0.2s ease;
    width: 100%;
}

.order-customer-details input:focus,
.order-customer-details select:focus,
.order-customer-details textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.order-customer-details textarea {
    resize: vertical;
    min-height: 70px;
}

/*
==============
    SUBMIT
==============
*/
.order-submit-wrap {
    margin-top: 20px;
}

.order-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: #FFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.order-submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.order-submit-note {
    text-align: center;
    font-size: 0.75rem;
    color: #CCC;
    margin-top: 8px;
}

/*
=================
    CONFIRMED
=================
*/
.order-confirmed {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    gap: 12px;
}

.order-confirmed-icon {
    width: 56px;
    height: 56px;
    background: #2E7D32;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto;
}

.order-confirmed h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A1A1A;
}

.order-confirmed p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.order-new-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.order-new-btn:hover {
    background: #F5F5F5;
    border-color: #CCC;
}


/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .order-section {
        padding: 24px 16px 60px;
    }

    .order-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .order-summary-col {
        position: static;
    }

    .order-menu-col {
        padding: 20px 16px;
    }

    .order-summary {
        padding: 20px 16px;
    }
}

/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 768px) {
    .order-section {
        padding: 32px 24px 80px;
    }

    .order-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .order-summary-col {
        position: static;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .order-section {
        padding: 40px 30px 90px;
    }

    .order-inner {
        grid-template-columns: 1fr 340px;
        gap: 24px;
    }
}