:root {
  --PrdList-bg: #fff;
  --PrdList-fg: #111;
  --PrdList-muted: #666;
  --PrdList-border: #e5e7eb;
  --PrdList-radius: 16px;
  --PrdList-gap: 14px;
}

/*body {
  margin: 0;
  padding: 24px;
  background: #f6f7f9;
  color: var(--PrdList-fg);
  font: 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}*/

/* Card */
.PrdList-card {
    background: var(--PrdList-bg);
    border: 1px solid var(--PrdList-border);
    border-radius: var(--PrdList-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    width: 617px;
    max-width: 617px;
    flex: 0 0 617px; /* ensures in flex/grid layouts it won’t shrink/stretch */
    box-sizing: border-box;
    margin: auto;
}

/* Left: textual details */
.PrdList-details {
  flex: 1 1 auto;
  min-width: 270px;
}

.PrdList-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.PrdList-row {
  display: flex;
  align-items: center;
  gap: var(--PrdList-gap);
  padding: 8px 0;
  border-top: 1px dashed var(--PrdList-border);
}

.PrdList-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.PrdList-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.PrdList-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
}

.PrdList-spacer {
  flex: 1;
}

.PrdList-label {
  color: var(--PrdList-muted);
}

.PrdList-value {
  font-weight: 600;
}

.PrdList-code {
  white-space: nowrap;
}

.PrdList-meta .PrdList-label {
    white-space: nowrap; /* keeps the label on one line */
}

/* Right: product image + date */
.PrdList-media {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 180px;
}

.PrdList-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--PrdList-border);
  background: #fafafa;
  display: grid;
  place-items: center;
}

.PrdList-product {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.PrdList-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--PrdList-border);
  border-radius: 999px;
  background: #f9fafb;
  font-weight: 600;
}

.PrdList-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 560px) {
  .PrdList-card {
    flex-direction: column-reverse;
  }
  .PrdList-media {
    width: 100%;
    align-items: flex-start;
  }
  .PrdList-img-wrap {
    width: 100%;
    height: auto;
  }
  .PrdList-product {
    height: auto;
  }
}
