/* ── My Orders ───────────────────────────────────────────────────────────────── */

.emo__header { margin-bottom: 20px; }

.emo__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--emp-charcoal);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.emo__empty {
    font-size: 14px;
    color: var(--emp-muted);
    margin: 0;
}

.emo__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Order Card ──────────────────────────────────────────────────────────────── */
.emo__card {
    background: #fff;
    border: 1.5px solid var(--emp-border);
    border-radius: var(--emp-r-card);
    overflow: hidden;
}

.emo__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--emp-border);
    gap: 10px;
}

.emo__card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.emo__order-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--emp-charcoal);
}

.emo__date {
    font-size: 12px;
    color: var(--emp-muted);
}

/* ── Status badges ───────────────────────────────────────────────────────────── */
.emo__status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}
.emo-status--processing { background: var(--emp-teal-light); color: var(--emp-teal); }
.emo-status--completed  { background: #d4f0db; color: #1e6e30; }
.emo-status--pending    { background: #fef3cc; color: #8a6000; }
.emo-status--hold       { background: #fef3cc; color: #8a6000; }
.emo-status--cancelled  { background: #fdecea; color: #c0392b; }
.emo-status--refunded   { background: var(--emp-cream); color: var(--emp-muted); }

/* ── Items ───────────────────────────────────────────────────────────────────── */
.emo__items {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--emp-border);
}

.emo__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
}

.emo__item-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--emp-r-input);
    flex-shrink: 0;
}
.emo__item-img--placeholder {
    background: var(--emp-cream);
    width: 52px;
    height: 52px;
    border-radius: var(--emp-r-input);
    flex-shrink: 0;
}

.emo__item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.emo__item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--emp-charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emo__item-qty {
    font-size: 12px;
    color: var(--emp-muted);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.emo__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--emp-border);
    gap: 10px;
}

.emo__total {
    font-size: 14px;
    font-weight: 700;
    color: var(--emp-charcoal);
}

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

@media (max-width: 640px) {
    .emo__card-head { flex-wrap: wrap; }
}
