.modalWide {
  max-width: 720px;
}

.body {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.metaItem strong {
  color: var(--text-primary);
  font-weight: 600;
}

.tableBlock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.itemList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.itemRow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 72px 120px 120px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.55);
}

.itemThumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.itemThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.itemThumbPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.22));
}

.itemTitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.itemVariant {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.itemSku {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.qtyCell,
.unitCell,
.totalCell {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
}

.tableHead {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 72px 120px 120px;
  gap: 10px;
  padding: 0 12px 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tableHead span:not(:first-child):not(:nth-child(2)) {
  text-align: right;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.summaryLabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.summaryValue {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 0;
}

@media (max-width: 640px) {
  .itemRow,
  .tableHead {
    grid-template-columns: minmax(0, 1fr);
  }

  .qtyCell,
  .unitCell,
  .totalCell {
    text-align: left;
  }
}
