/**
 * Order Page Styles - Honest Restaurant
 * Online ordering, cart, and checkout styles
 */

/* ========================================
   ORDER TYPE SECTION
   ======================================== */
.order-type-section {
    padding: 2rem 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
}

.order-type-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.order-type-toggle {
    display: flex;
    gap: 1rem;
}

.order-type-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--brown-warm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-type-btn svg {
    width: 24px;
    height: 24px;
}

.order-type-btn:hover {
    border-color: var(--saffron);
}

.order-type-btn.active {
    background: var(--saffron);
    border-color: var(--saffron);
    color: white;
}

.delivery-fee-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.order-info {
    display: flex;
    gap: 2rem;
}

.order-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--brown-warm);
    opacity: 0.8;
}

.order-info-item svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   ORDER LAYOUT
   ======================================== */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ========================================
   ORDER MENU
   ======================================== */
.order-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 12px;
}

.order-search svg {
    width: 20px;
    height: 20px;
    color: var(--brown-warm);
    opacity: 0.5;
}

.order-search input {
    flex: 1;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--brown-warm);
    background: transparent;
    outline: none;
}

.order-search input::placeholder {
    color: var(--brown-warm);
    opacity: 0.4;
}

/* Category Navigation */
.order-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.order-category-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--cream-dark);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--brown-warm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.order-category-btn:hover {
    border-color: var(--saffron);
    color: var(--saffron);
}

.order-category-btn.active {
    background: var(--brown-deep);
    border-color: var(--brown-deep);
    color: white;
}

/* Category Section */
.order-category-section {
    margin-bottom: 2rem;
}

.order-category-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--saffron);
    display: inline-block;
}

/* Items Grid */
.order-items-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.order-item:hover {
    border-color: var(--saffron);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-item-image {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

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

.order-item-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--chili-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.order-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.25rem;
}

.order-item-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--brown-warm);
    opacity: 0.7;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.order-item-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-item-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.order-item-tag.vegan {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-item-tag.jain {
    background: #fff3e0;
    color: #e65100;
}

.order-item-tag.spicy {
    background: #ffebee;
    color: #c62828;
}

.order-item-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
}

.order-item-price {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brown-deep);
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--saffron);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn svg {
    width: 16px;
    height: 16px;
}

.add-to-cart-btn:hover {
    background: var(--chili-red);
    transform: scale(1.05);
}

/* ========================================
   CART SIDEBAR
   ======================================== */
.order-cart-sidebar {
    position: sticky;
    top: 100px;
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.cart-sidebar-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brown-deep);
}

.cart-item-count {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--brown-warm);
    opacity: 0.7;
}

/* Cart Items */
.cart-sidebar-items {
    margin-bottom: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    color: var(--cream-dark);
    margin-bottom: 1rem;
}

.cart-empty p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--brown-warm);
    margin-bottom: 0.5rem;
}

.cart-empty span {
    font-size: 0.875rem;
    color: var(--brown-warm);
    opacity: 0.6;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

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

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

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--brown-warm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--saffron);
    border-color: var(--saffron);
    color: white;
}

.qty-value {
    font-family: var(--font-body);
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

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

.cart-item-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown-deep);
}

.cart-item-spice {
    font-size: 0.75rem;
    color: var(--chili-red);
}

.cart-item-price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brown-deep);
}

.cart-item-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--brown-warm);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    color: var(--chili-red);
    opacity: 1;
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

/* Cart Summary */
.cart-sidebar-summary {
    padding: 1rem 0;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
    margin-bottom: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--brown-warm);
    margin-bottom: 0.5rem;
}

.cart-summary-row:last-child {
    margin-bottom: 0;
}

.cart-summary-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--cream-dark);
}

/* Checkout Button */
.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--chili-red);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-checkout-btn:hover {
    background: var(--brown-deep);
    transform: translateY(-2px);
}

/* ========================================
   FLOATING CART (MOBILE)
   ======================================== */
.order-cart-float {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 400px;
    padding: 1rem 1.5rem;
    background: var(--brown-deep);
    border-radius: 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.cart-float-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-float-count {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: white;
    opacity: 0.8;
}

.cart-float-total {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.cart-float-btn {
    padding: 0.75rem 1.5rem;
    background: var(--saffron);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cart-float-btn:hover {
    background: var(--chili-red);
}

/* ========================================
   ITEM MODAL
   ======================================== */
.item-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

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

.item-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.item-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.item-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.item-modal-close svg {
    width: 20px;
    height: 20px;
}

.item-modal-image {
    width: 100%;
    height: 200px;
}

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

.item-modal-details {
    padding: 1.5rem;
    overflow-y: auto;
}

.item-modal-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.item-modal-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--brown-warm);
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.item-modal-price {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--saffron);
    margin-bottom: 1.5rem;
}

.item-modal-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.item-option label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.spice-options {
    display: flex;
    gap: 0.75rem;
}

.spice-btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--brown-warm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.spice-btn:hover {
    border-color: var(--saffron);
}

.spice-btn.active {
    background: var(--saffron);
    color: white;
}

.item-option textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: none;
    height: 80px;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
}

.qty-selector .qty-btn {
    width: 40px;
    height: 40px;
}

.qty-selector .qty-value {
    font-size: 1.25rem;
    min-width: 30px;
}

.item-modal-add {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: var(--chili-red);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-modal-add:hover {
    background: var(--brown-deep);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--brown-deep);
    color: white;
    border-radius: 12px;
    font-family: var(--font-body);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast svg {
    width: 20px;
    height: 20px;
    color: #4caf50;
}

/* ========================================
   ORDER NOTICE
   ======================================== */
.order-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
}

.order-notice svg {
    width: 24px;
    height: 24px;
    color: #e65100;
    flex-shrink: 0;
}

.order-notice p {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #bf360c;
}

.notice-btn {
    padding: 0.5rem 1rem;
    background: #e65100;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

/* ========================================
   CART PAGE
   ======================================== */
.cart-page {
    min-height: calc(100vh - 80px);
    padding: 6rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-page-header {
    margin-bottom: 2rem;
}

.cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--brown-warm);
    text-decoration: none;
    margin-bottom: 1rem;
}

.cart-back-link svg {
    width: 18px;
    height: 18px;
}

.cart-page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--brown-deep);
}

/* Empty Cart Page */
.cart-empty-page {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty-page svg {
    width: 100px;
    height: 100px;
    color: var(--cream-dark);
    margin-bottom: 1.5rem;
}

.cart-empty-page h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--brown-deep);
    margin-bottom: 0.75rem;
}

.cart-empty-page p {
    font-family: var(--font-body);
    color: var(--brown-warm);
    opacity: 0.7;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cart-start-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--saffron);
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-start-btn:hover {
    background: var(--chili-red);
}

/* Cart Page Layout */
.cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 16px;
    padding: 1.5rem;
}

.cart-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.cart-items-count {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--brown-warm);
}

.cart-clear-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--chili-red);
    cursor: pointer;
}

/* Cart Page Item */
.cart-page-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.cart-page-item:last-child {
    border-bottom: none;
}

.cart-page-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.cart-page-item-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.25rem;
}

.cart-page-item-spice {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    background: #ffebee;
    color: var(--chili-red);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.cart-page-item-notes {
    font-size: 0.8rem;
    color: var(--brown-warm);
    opacity: 0.7;
    font-style: italic;
}

.cart-page-item-unit-price {
    display: block;
    font-size: 0.8rem;
    color: var(--brown-warm);
    opacity: 0.6;
    margin-top: 0.5rem;
}

.cart-page-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.25rem;
    border-radius: 8px;
}

.cart-qty-control .qty-btn {
    width: 32px;
    height: 32px;
    background: white;
}

.cart-qty-control .qty-btn svg {
    width: 14px;
    height: 14px;
}

.cart-page-item-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-deep);
}

.cart-remove-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--brown-warm);
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-remove-btn:hover {
    color: var(--chili-red);
    opacity: 1;
}

.cart-remove-btn svg {
    width: 16px;
    height: 16px;
}

/* Cart Summary Section */
.cart-summary-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary-card {
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 16px;
    padding: 1.5rem;
}

.cart-summary-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 1.5rem;
}

/* Order Type in Cart */
.cart-order-type {
    margin-bottom: 1.5rem;
}

.cart-order-type label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.75rem;
}

.cart-type-options {
    display: flex;
    gap: 0.75rem;
}

.cart-type-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--brown-warm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-type-btn svg {
    width: 24px;
    height: 24px;
}

.cart-type-btn:hover {
    border-color: var(--saffron);
}

.cart-type-btn.active {
    background: var(--saffron);
    border-color: var(--saffron);
    color: white;
}

/* Minimum Notice */
.cart-minimum-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fff3e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.cart-minimum-notice svg {
    width: 18px;
    height: 18px;
    color: #e65100;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-minimum-notice p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #bf360c;
    line-height: 1.4;
}

/* Summary Details */
.cart-summary-details {
    padding: 1rem 0;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
    margin-bottom: 1.5rem;
}

/* Promo Code */
.cart-promo {
    margin-bottom: 1.5rem;
}

.cart-promo label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.cart-promo-input {
    display: flex;
    gap: 0.5rem;
}

.cart-promo-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.cart-promo-btn {
    padding: 0.75rem 1rem;
    background: var(--brown-deep);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
}

/* Order Notes */
.cart-notes {
    margin-bottom: 1.5rem;
}

.cart-notes label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.cart-notes textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: none;
    height: 80px;
}

/* Checkout Proceed Button */
.checkout-proceed {
    margin-bottom: 1.5rem;
}

/* Pickup Info */
.cart-pickup-info {
    padding-top: 1rem;
    border-top: 1px dashed var(--cream-dark);
}

.cart-pickup-info h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.cart-pickup-info p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--brown-warm);
    line-height: 1.5;
}

.cart-pickup-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--saffron) !important;
    font-weight: 500 !important;
}

.cart-pickup-time svg {
    width: 16px;
    height: 16px;
}

/* Cart Notice */
.cart-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.cart-notice svg {
    width: 20px;
    height: 20px;
    color: #e65100;
    flex-shrink: 0;
}

.cart-notice p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #bf360c;
}

/* Nav Cart Button */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-btn svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--chili-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 10px;
}

/* Compact Hero */
.page-hero-compact {
    padding: 8rem 2rem 3rem;
}

/* Footer Compact */
.footer-compact {
    padding: 1.5rem 2rem;
    background: var(--brown-deep);
}

.footer-compact .footer-bottom {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .order-layout {
        grid-template-columns: 1fr;
    }

    .order-cart-sidebar {
        display: none;
    }

    .order-cart-float {
        display: flex;
    }

    .cart-page-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-summary-section {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .order-type-container {
        flex-direction: column;
        align-items: stretch;
    }

    .order-type-toggle {
        justify-content: center;
    }

    .order-info {
        justify-content: center;
    }

    .order-item {
        flex-direction: column;
    }

    .order-item-image {
        width: 100%;
        height: 150px;
    }

    .order-item-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .order-item-action {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cart-page-item {
        flex-direction: column;
    }

    .cart-page-item-image {
        width: 100%;
        height: 120px;
    }

    .cart-page-item-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }

    .cart-type-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .order-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .order-category-btn {
        flex-shrink: 0;
    }

    .cart-page-header h1 {
        font-size: 2rem;
    }
}
