.product-sheet-view {
  font-family: Arial, sans-serif;
  color: #594366;
  padding: 20px;
  background: white;
}
.ps-top {
  display: grid;
  grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.ps-main-photo {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #faf7fc;
  border: 1px solid #e3d9eb;
  border-radius: 12px;
}
.ps-material-photo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e3d9eb;
}
.ps-no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7b92;
  font-size: 11px;
}
.ps-brand {
  font-size: 11px;
  letter-spacing: 1px;
}
.ps-top h2 {
  font-size: 24px;
  margin: 12px 0;
}
.ps-top p,
.ps-top li {
  font-size: 13px;
  line-height: 1.6;
}
.ps-top ul {
  padding-left: 20px;
}
.ps-total {
  padding: 14px;
  background: #f2ebf8;
  border-radius: 10px;
  font-size: 14px;
}
.ps-total strong {
  display: block;
  font-size: 24px;
  margin-top: 6px;
}
.ps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}
.ps-table th {
  background: #eee6f6;
}
.ps-table th,
.ps-table td {
  padding: 8px;
  border: 1px solid #ded4e7;
  text-align: left;
  overflow-wrap: anywhere;
}
.ps-table th:first-child {
  width: 70px;
}
.ps-table th:nth-child(2) {
  width: 28%;
}
.ps-table small {
  display: block;
  color: #8a7b92;
}
.ps-notes {
  white-space: pre-wrap;
  font-size: 13px;
}
.ps-footnote {
  font-size: 10px;
  color: #8a7b92;
}
.ps-table tr,
.ps-top {
  break-inside: avoid;
}
.ps-table thead {
  display: table-header-group;
}
@media (max-width: 600px) {
  .ps-top {
    grid-template-columns: 36% 1fr;
    gap: 14px;
  }
  .ps-main-photo {
    height: 220px;
  }
  .ps-top h2 {
    font-size: 18px;
  }
  .ps-material-photo {
    width: 45px;
    height: 45px;
  }
  .ps-table {
    font-size: 10px;
  }
  .ps-table th:first-child {
    width: 45px;
  }
  .ps-table td,
  .ps-table th {
    padding: 5px;
  }
}
@media print {
  html,
  body {
    margin: 0;
  }
  .product-sheet-view {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  @page {
    size: A4;
    margin: 10mm;
    @bottom-right {
      content: counter(page) ' de ' counter(pages);
      font: 9px Arial;
    }
  }
}

.ps-review {
  padding: 10px;
  border: 1px solid #ae96bc;
  background: #f1eaf7;
  font-weight: 600;
}

.ps-total-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
}
.ps-total-details span {
  display: block;
}

.kit-sheet .ps-table th:nth-child(3) {
  width: 65px;
}
.kit-financial-summary {
  margin-top: 20px;
  break-inside: avoid;
}
.kit-main-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.kit-main-prices > div {
  padding: 18px;
  background: #eee6f6;
  border: 1px solid #d3c1e3;
  border-radius: 10px;
  font-size: 14px;
}
.kit-main-prices strong {
  display: block;
  font-size: 25px;
  margin-top: 8px;
}
.kit-reference-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #ded4e7;
  border-radius: 10px;
  font-size: 12px;
}
.kit-reference-prices strong {
  display: block;
  font-size: 16px;
  margin: 7px 0;
}
.kit-reference-prices small {
  display: block;
  color: #84758e;
}
.kit-price-method {
  font-size: 12px;
  color: #84758e;
}
.kit-sheet .ps-table td,
.kit-sheet .ps-table small {
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.kit-sheet .ps-table th:nth-child(4) {
  width: 18%;
}
.kit-sheet .ps-table th:nth-child(5) {
  width: 23%;
}
