.df-wrap {
  max-width: 980px;
  margin: 24px auto;
  padding: 16px;
}

.df-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  padding: 20px;
}

.df-h1 {
  font-size: 22px;
  margin: 0 0 12px;
}

.df-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 780px) {
  .df-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.df-label {
  font-size: 12px;
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}

.df-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.df-hint {
  font-size: 12px;
  color: #6b7280;
}

.df-hr {
  height: 1px;
  background: #eee;
  margin: 16px 0;
}

.df-flags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.df-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 12px;
}

.df-pill.ok {
  background: #ecfdf5;
  color: #065f46;
}

.df-pill.warn {
  background: #fff7ed;
  color: #9a3412;
}

.df-pill.brand {
  background: #f5efe6;
  color: #7a552a;
}

.df-totals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.df-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 10px;
}

.df-line.total {
  background: #111827;
  color: #fff;
  font-weight: 700;
}

.df-money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.df-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.df-price-details {
  display: none;
  margin-top: -2px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  font-size: 13px;
  color: #374151;
}

.df-price-details-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.df-price-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.df-price-detail-row:last-child {
  border-bottom: 0;
}

.df-price-detail-label {
  line-height: 1.35;
}

.df-price-detail-amount {
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .df-line,
  .df-price-detail-row {
    align-items: flex-start;
  }

  .df-price-detail-row {
    flex-direction: column;
    gap: 4px;
  }
}
