/* ---------- ORDER DETAIL ---------- */

.order-detail {
  padding: 14px;
}

/* Title */
.order-detail h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Card blocks */
.order-section {
  background: var(--color-surface);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Items */
.order-items > .order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-items div:last-child {
  border-bottom: none;
}

/* Payment */
.order-payment {
  font-size: 14px;
  color: var(--color-muted);
}

/* Address */
.order-address {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

/* Timeline */
.order-timeline {
  margin-top: 10px;
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-right: 10px;
}

.timeline-text {
  font-size: 13px;
  color: var(--color-muted);
}


/* ---------- ITEM CARD ---------- */

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.order-item:last-child {
  border-bottom: none;
}

/* IMAGE */
.order-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f5f5;
}

/* INFO */
.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.order-item-variant {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

.order-item-meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}

/* TOTAL */
.order-item-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-price);
}

/* STATUS */
.order-status {
  color: var(--color-primary);
  font-weight: 600;
}


.order-detail {
  padding: 14px;
}

/* HEADER */
.order-header {
  margin-bottom: 10px;
}

.order-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.order-date {
  font-size: 12px;
  color: var(--color-muted);
}

/* SECTION CARD */
.order-section {
  background: var(--color-surface);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* LABEL */
.label {
  font-size: 13px;
  color: var(--color-muted);
}

/* STATUS */
.order-status {
  margin-left: 8px;
  color: var(--color-primary);
  font-weight: 600;
}

/* ITEMS */
.order-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 14px;
  font-weight: 600;
}

.order-item-meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}

.order-item-mrp {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--color-muted);
}

.order-item-total {
  font-weight: 600;
  color: var(--color-price);
}

/* PRICING */
.pricing .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
}

.pricing .total {
  font-weight: 700;
  border-top: 1px dashed rgba(0,0,0,0.1);
  padding-top: 8px;
}

.green {
  color: #0a8f3c;
}

/* ADDRESS */
.order-address {
  font-size: 14px;
  line-height: 1.5;
}


.order-item-pricing {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.order-item-pricing .price {
  font-weight: 600;
  color: var(--color-text);
}

.order-item-pricing .mrp {
  text-decoration: line-through;
  font-size: 12px;
}

.order-item-pricing .qty {
  font-size: 12px;
}


.order-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 4px;
}

.order-item-price .mrp {
  text-decoration: line-through;
  font-size: 12px;
  color: var(--color-muted);
  margin-left: 6px;
}

.order-item-qty {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}