/* =========================================
   Order Page Styles
   ========================================= */

.order-page {
    min-height: 100vh;
    padding: 100px 20px 40px;
    background: var(--gradient-hero);
}

.order-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    padding: 20px;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: var(--transition);
}

.step.active,
.step.completed {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step.active .step-number {
    background: linear-gradient(135deg, #20a39e, #156d69);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(32, 163, 158, 0.4);
}

.step.completed .step-number {
    background: #22c55e;
    color: #ffffff;
    border-color: #16a34a;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.step.active .step-label {
    color: #20a39e;
    font-weight: 700;
}

.step.completed .step-label {
    color: #22c55e;
}

.step-line {
    flex: 1;
    max-width: 50px;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
}

.step.completed+.step-line,
.step-line.completed {
    background: #22c55e;
}

/* Order Steps */
.order-step {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.order-step.hidden {
    display: none;
}

.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-header h1 {
    font-size: 28px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.step-header p {
    color: var(--gray-500);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 24px;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #ffffff;
    border: 2px solid #1a1a3e;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-weight: 600;
    font-size: 15px;
    color: #1a1a3e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-tab:hover {
    background: #f0fdfc;
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 163, 158, 0.2);
}

.category-tab.active {
    background: linear-gradient(135deg, #20a39e, #156d69);
    color: #ffffff;
    border-color: #20a39e;
    box-shadow: 0 4px 16px rgba(32, 163, 158, 0.4);
    transform: translateY(-2px);
}

.category-tab .icon {
    font-size: 20px;
}


/* Menu Grid */
.menu-grid {
    display: grid;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.menu-item:hover {
    border-color: var(--primary-teal);
    background: rgba(32, 163, 158, 0.05);
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-name {
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.veg-badge {
    width: 14px;
    height: 14px;
    border: 1px solid #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.veg-badge::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.non-veg-badge {
    width: 14px;
    height: 14px;
    border: 1px solid #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.non-veg-badge::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.menu-item-price {
    font-size: 14px;
    color: var(--gray-500);
}

.add-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a1a3e, #2d2d5a);
    border-radius: 50px;
    padding: 6px 10px;
    box-shadow: 0 4px 12px rgba(26, 26, 62, 0.3);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #1a1a3e;
    color: #1a1a3e;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #f0fdfc;
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: scale(1.1);
}

.qty-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    min-width: 28px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


/* Step Footer */
.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-items-count {
    font-size: 14px;
    color: var(--gray-500);
}

.cart-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-teal);
}

/* Cart Indicator */
.cart-indicator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.cart-icon {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    gap: 16px;
    flex-wrap: nowrap;
}

.cart-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 14px;
    color: var(--gray-500);
}

.cart-item .quantity-controls {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

.cart-item-total {
    font-weight: 700;
    color: var(--primary-teal);
    flex-shrink: 0;
    min-width: 60px;
    text-align: right;
}

/* Cart Breakdown */
.cart-breakdown {
    margin-top: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.cart-breakdown-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--gray-600);
}

.breakdown-row.total {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

/* Checkout Form */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(32, 163, 158, 0.1);
}

/* Form Row - Two Columns */
.form-row {
    display: flex;
    gap: 16px;
}

.form-group-half {
    flex: 1;
}

/* Location Section */
.location-section {
    padding: 20px;
    background: linear-gradient(135deg, rgba(32, 163, 158, 0.05), rgba(32, 163, 158, 0.02));
    border-radius: var(--border-radius);
    border: 1px dashed var(--primary-teal);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.location-icon {
    font-size: 20px;
}

.btn-location {
    width: 100%;
    padding: 14px 20px;
    background: var(--white);
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-location:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.btn-location:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--border-radius);
    color: #16a34a;
    font-size: 14px;
    flex-wrap: wrap;
}

.location-status .status-icon {
    font-weight: 700;
}

.location-status.hidden {
    display: none;
}

.btn-clear-location {
    margin-left: auto;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #dc2626;
    color: #dc2626;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear-location:hover {
    background: #dc2626;
    color: white;
}

/* Pincode Validation */
.pincode-error {
    display: block;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius);
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.pincode-error.hidden {
    display: none;
}

.pincode-success {
    display: block;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--border-radius);
    color: #16a34a;
    font-size: 13px;
    font-weight: 500;
}

.pincode-success.hidden {
    display: none;
}

.form-group input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.form-group input.success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.form-group input[readonly] {
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: not-allowed;
}


/* Order Summary Card */
.order-summary-card {
    margin-top: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.order-summary-card h3 {
    margin-bottom: 16px;
    color: var(--gray-800);
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray-600);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    font-weight: 700;
    font-size: 18px;
}

/* Payment Card */
.payment-card {
    text-align: center;
    padding: 40px;
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
}

.payment-amount {
    margin-bottom: 24px;
}

.payment-amount .label {
    display: block;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.payment-amount .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-teal);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.method-badge {
    padding: 8px 16px;
    background: var(--white);
    border-radius: 50px;
    font-size: 14px;
    color: var(--gray-600);
}

.payment-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

/* Payment Method Selection */
.payment-method-selection {
    text-align: left;
    margin-bottom: 24px;
}

.payment-method-selection h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 16px;
    text-align: center;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--primary-teal);
    background: rgba(32, 163, 158, 0.03);
}

.payment-option.selected {
    border-color: var(--primary-teal);
    background: rgba(32, 163, 158, 0.08);
    box-shadow: 0 0 0 3px rgba(32, 163, 158, 0.15);
}

.payment-option-radio {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.payment-option-radio input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition);
}

.payment-option-radio input:checked+.radio-checkmark {
    border-color: var(--primary-teal);
    background: var(--primary-teal);
}

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

.payment-option-radio input:checked+.radio-checkmark::after {
    display: block;
}

.payment-option-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.payment-option-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-option-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 16px;
}

.payment-option-desc {
    font-size: 13px;
    color: var(--gray-500);
}

.payment-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.payment-badges .badge {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 11px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Order Tracking */
.tracking-success {
    text-align: center;
    margin-bottom: 32px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.tracking-success h1 {
    color: var(--gray-800);
    margin-bottom: 8px;
}

.order-id {
    color: var(--gray-500);
}

/* Progress Tracking */
.tracking-progress {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
}

.progress-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0.4;
    transition: var(--transition);
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.progress-step.active .progress-icon {
    background: var(--primary-teal);
    color: var(--white);
    animation: pulse 2s infinite;
}

.progress-step.completed .progress-icon {
    background: var(--accent-green);
    color: var(--white);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.progress-info h4 {
    color: var(--gray-800);
    margin-bottom: 4px;
}

.progress-info p {
    font-size: 14px;
    color: var(--gray-500);
}

.progress-line {
    width: 2px;
    height: 24px;
    background: var(--gray-200);
    margin-left: 19px;
}

/* Chef Card */
.chef-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary-teal);
    margin-bottom: 24px;
}

.chef-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.chef-info {
    flex: 1;
}

.chef-info h3 {
    color: var(--gray-800);
    margin-bottom: 4px;
}

.chef-rating {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 4px;
}

.chef-eta {
    font-size: 14px;
    color: var(--gray-500);
}

/* COD Payment Banner */
.cod-payment-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.cod-banner-icon {
    font-size: 32px;
}

.cod-banner-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 4px;
}

.cod-banner-info p {
    font-size: 14px;
    color: var(--gray-600);
}

.cod-banner-info strong {
    font-size: 18px;
    color: #16a34a;
}

/* Tracking Order Details */
.tracking-order-details {
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.tracking-order-details h3 {
    margin-bottom: 16px;
    color: var(--gray-800);
}

.tracking-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tracking-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray-600);
}

/* Rating Modal */
.rating-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.rating-modal.hidden {
    display: none;
}

.rating-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.rating-header {
    margin-bottom: 32px;
}

.rating-emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.rating-header h2 {
    color: var(--gray-800);
    margin-bottom: 8px;
}

.rating-section {
    margin-bottom: 24px;
}

.rating-section label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star {
    font-size: 36px;
    color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.star:hover,
.star.active {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.rating-section textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.skip-rating {
    display: block;
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 14px;
}

.skip-rating:hover {
    color: var(--gray-700);
}

/* Thank You Screen */
.thank-you-screen {
    position: fixed;
    inset: 0;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.thank-you-screen.hidden {
    display: none;
}

.thank-you-content {
    text-align: center;
    padding: 40px;
}

.thank-you-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 24px;
}

.thank-you-content h1 {
    font-size: 48px;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.thank-you-content p {
    color: var(--gray-600);
    margin-bottom: 8px;
}

.thank-you-message {
    font-size: 18px;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .order-page {
        padding: 80px 16px 24px;
    }

    .order-step {
        padding: 24px 16px;
    }

    .step-indicator {
        padding: 16px;
    }

    .step-label {
        display: none;
    }

    .step-footer {
        flex-direction: column;
        gap: 16px;
    }

    .step-footer .btn {
        width: 100%;
    }

    .payment-amount .amount {
        font-size: 36px;
    }

    .chef-card {
        flex-direction: column;
        text-align: center;
    }

    .rating-content {
        padding: 24px;
    }

    .star {
        font-size: 28px;
    }

    /* Checkout Form Mobile Styles */
    .checkout-form {
        gap: 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .form-group-half {
        flex: none;
        width: 100%;
    }

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

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

    /* Location Section Mobile */
    .location-section {
        padding: 16px;
    }

    .location-header {
        font-size: 14px;
    }

    .btn-location {
        padding: 12px 16px;
        font-size: 14px;
    }

    .location-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        font-size: 13px;
    }

    .btn-clear-location {
        margin-left: 0;
        width: 100%;
        padding: 8px 12px;
        text-align: center;
    }

    /* Order Summary Mobile */
    .order-summary {
        padding: 16px;
    }

    .summary-item {
        font-size: 14px;
    }

    /* Cart Items Mobile */
    .cart-item {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cart-item-left {
        flex: 1;
        min-width: 60%;
    }

    .cart-item-total {
        min-width: auto;
    }

    /* Pincode Input Mobile */
    .pincode-error,
    .pincode-success {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* Step Header Mobile */
    .step-header h1 {
        font-size: 22px;
    }

    .step-header p {
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .order-page {
        padding: 70px 12px 20px;
    }

    .order-step {
        padding: 20px 14px;
    }

    .step-indicator {
        padding: 12px 8px;
        gap: 4px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .step-line {
        max-width: 30px;
    }

    .checkout-form {
        gap: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .location-section {
        padding: 14px;
    }

    .quantity-controls {
        transform: scale(0.9);
    }

    .menu-item {
        padding: 14px;
    }

    .category-tab {
        padding: 10px 14px;
        font-size: 13px;
    }
}