/* 주문내역 페이지 스타일 */

/* 페이지 헤더 */
.page-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
}
.page-header__back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}
.page-header__title {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}
.page-header__right { width: 40px; }

.page-content {
    padding-top: 56px;
    min-height: calc(100vh - 56px);
    background: #f5f5f5;
}

/* 주문 카드 */
.order-card {
    background: #fff;
    margin-bottom: 8px;
    padding: 16px;
}
.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.order-card__date {
    font-size: 14px;
    color: #888;
}
.order-card__number {
    font-size: 13px;
    color: #888;
}
.order-card__body {
    display: flex;
    gap: 12px;
}
.order-card__thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #f5f5f5;
    object-fit: cover;
}
.order-card__info {
    flex: 1;
}
.order-card__name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
}
.order-card__price {
    font-size: 16px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 8px;
}
.order-card__status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.order-card__status--pending { background: #fff3e0; color: #e65100; }
.order-card__status--paid { background: #e3f2fd; color: #1565c0; }
.order-card__status--preparing { background: #fff8e1; color: #f57f17; }
.order-card__status--shipping { background: #e8f5e9; color: #2e7d32; }
.order-card__status--delivered { background: #e8f5e9; color: #2e7d32; }
.order-card__status--confirmed { background: #e8f5e9; color: #1b5e20; }
.order-card__status--cancel-req { background: #ffebee; color: #c62828; }
.order-card__status--cancelled { background: #ffebee; color: #c62828; }

.order-card__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.order-card__btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* 빈 상태 */
.empty-state {
    padding: 80px 16px;
    text-align: center;
}
.empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.empty-state__text {
    font-size: 15px;
    color: #888;
    margin-bottom: 24px;
}
.empty-state__btn {
    display: inline-block;
    padding: 12px 24px;
    background: #8B4513;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

/* 로딩 */
.loading {
    padding: 40px;
    text-align: center;
    color: #888;
}

/* 더보기 */
.load-more {
    padding: 16px;
    text-align: center;
}
.load-more__btn {
    width: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}
