.od-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.od-back {
    color: #475569 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.od-back:hover {
    color: #0f172a !important;
}

.od-head-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.od-number {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: .5px;
}

.od-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.od-badge--warning {
    background: #fef3c7;
    color: #b45309;
}

.od-badge--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.od-badge--primary {
    background: #e0e7ff;
    color: #4338ca;
}

.od-badge--success {
    background: #dcfce7;
    color: #15803d;
}

.od-badge--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.od-badge--muted {
    background: #f1f5f9;
    color: #475569;
}

.od-timeline {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
}

.od-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.od-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.od-step.is-done:not(:last-child)::after {
    background: #16a34a;
}

.od-step__dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.od-step.is-done .od-step__dot {
    background: #16a34a;
    color: #fff;
}

.od-step.is-current .od-step__dot {
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .2);
}

.od-step__label {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

.od-step.is-done .od-step__label {
    color: #0f172a;
}

.od-cancelled {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-weight: 600;
}

.od-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.od-main {
    flex: 1 1 560px;
    min-width: 300px;
}

.od-side {
    flex: 0 0 340px;
    max-width: 100%;
}

.od-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
}

.od-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}

.od-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.od-item:last-child {
    border-bottom: 0;
}

.od-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eef2f7;
}

.od-item__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.od-item__name {
    font-weight: 600;
    color: #0f172a !important;
    text-decoration: none;
}

.od-item__name:hover {
    color: #dc2626 !important;
}

.od-item__sku {
    font-size: 12px;
    color: #94a3b8;
}

.od-item__meta {
    font-size: 13px;
    color: #475569;
}

.od-item__total {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.od-history {
    position: relative;
}

.od-history__row {
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
    position: relative;
}

.od-history__row:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.od-history__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc2626;
    margin-top: 4px;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.od-history__status {
    font-weight: 600;
    color: #0f172a;
}

.od-history__note {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.od-history__time {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.od-address {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}

.od-note {
    margin-top: 12px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
}

.od-sum-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    color: #475569;
}

.od-sum-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid #eef2f7;
}

.od-sum-total span {
    font-weight: 600;
    color: #0f172a;
}

.od-sum-total strong {
    font-size: 18px;
    color: #0f172a;
}

@media (max-width: 767px) {
    .od-side {
        flex: 1 1 100%;
    }

    .od-timeline {
        overflow-x: auto;
    }
}
