/* ============================================
   Block: account-orders — список заказов
   ============================================ */

.b-account-orders {
  color: var(--text, #3B3437);
  font-family: 'Manrope', sans-serif;
}

.b-account-orders__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 22px;
}

.b-account-orders__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка заказа */

.b-account-orders__card {
  background: var(--surface, #FDFBF7);
  border: 1px solid var(--line, #E4DCD2);
  border-radius: 16px;
  padding: 20px 24px;
}

.b-account-orders__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #E4DCD2);
}

.b-account-orders__head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.b-account-orders__num {
  font-size: 16px;
  font-weight: 600;
}

.b-account-orders__date {
  font-size: 13px;
  color: var(--muted, #8A7F7A);
}

/* Статус-бейджи */

.b-account-orders__badge {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.b-account-orders__badge--transit {
  background: var(--lavender-soft, #E9E1EF);
  color: var(--accent, #6E5A7E);
}

.b-account-orders__badge--delivered {
  background: #E4EDE3;
  color: #5F7A5C;
}

.b-account-orders__badge--new {
  background: var(--surface-2, #F1EBE2);
  color: var(--muted, #8A7F7A);
}

/* Тело */

.b-account-orders__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.b-account-orders__photos {
  display: flex;
  gap: 8px;
}

.b-account-orders__photos img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-2, #F1EBE2);
  display: block;
}

.b-account-orders__sum {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.b-account-orders__sum-label {
  font-size: 12px;
  color: var(--muted, #8A7F7A);
}

.b-account-orders__sum-value {
  font-size: 17px;
  font-weight: 600;
}

/* Кнопки */

.b-account-orders__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .b-account-orders__card {
    padding: 16px;
  }

  .b-account-orders__body {
    align-items: flex-start;
  }

  .b-account-orders__actions .btn {
    flex: 1;
    text-align: center;
  }
}
