/* Stiluri ale documentului PDF, încărcate numai în ruta calculatorului. */
.pdf-offer {
  position: fixed;
  z-index: -10;
  top: 0;
  left: -12000px;
  width: 794px;
  min-height: 1120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 54px;
  background: #ffffff;
  color: #121212;
  font-family: Arial, Helvetica, sans-serif;
}

.pdf-offer * {
  box-sizing: border-box;
}

.pdf-offer > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 2px solid #111111;
}

.pdf-logo {
  width: 150px;
  display: grid;
  text-align: center;
}

.pdf-logo img {
  width: 150px;
  height: 150px;
  padding: 0;
  object-fit: contain;
  background: transparent;
}

.pdf-logo strong {
  padding: 12px;
  background: #e30613;
  color: #ffffff;
  font-size: 46px;
  line-height: 1;
}

.pdf-logo span {
  padding: 7px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pdf-offer > header > div:last-child {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}
.pdf-offer > header > div:last-child > span {
  color: #e30613;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pdf-offer > header > div:last-child > strong {
  font-size: 16px;
}

.pdf-offer > header > div:last-child > small {
  color: #696969;
  font-size: 12px;
}

.pdf-offer > main {
  flex: 1;
}

.pdf-product {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 30px 0;
}

.pdf-product:not(.has-custom-image):not(.has-3d-image) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 250px;
  align-content: center;
  padding: 42px 0;
}

.pdf-product:not(.has-custom-image):not(.has-3d-image) article {
  max-width: 610px;
}

.pdf-product > div {
  height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #d6d8dc;
}

.pdf-product img,
.pdf-product svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-product .pdf-custom-shape-image {
  object-fit: contain;
  padding: 18px;
  background: #ffffff;
}

.pdf-product .pdf-3d-configuration-image {
  object-fit: contain;
  background: #d6d8dc;
}

.pdf-product article > span,
.pdf-comments > span {
  color: #e30613;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pdf-product h1 {
  margin: 8px 0 16px;
  font-size: 44px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pdf-product p {
  margin: 7px 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.45;
}

.pdf-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfcfcf;
  border-left: 1px solid #cfcfcf;
}

.pdf-details > div {
  min-height: 66px;
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border-right: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

.pdf-details span,
.pdf-prices span {
  color: #777777;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdf-details strong {
  font-size: 11px;
  line-height: 1.35;
}

.pdf-prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  background: #111111;
  color: #ffffff;
}

.pdf-price-breakdown {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #cfcfcf;
}

.pdf-price-breakdown h2 {
  margin: 0 0 10px;
  color: #e30613;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-price-breakdown > div {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #e3e3e3;
  color: #555555;
  font-size: 10px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdf-details > div,
.pdf-prices > div {
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdf-price-breakdown > div strong {
  color: #111111;
}

.pdf-prices > div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
  border-right: 1px solid #444444;
}

.pdf-prices > div:last-child {
  background: #e30613;
}

.pdf-prices span {
  color: rgba(255, 255, 255, 0.65);
}

.pdf-prices strong {
  font-size: 13px;
}

.pdf-comments {
  max-height: 88px;
  overflow: hidden;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #cfcfcf;
}

.pdf-comments p {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  color: #555555;
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pdf-billing {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #cfcfcf;
}

.pdf-billing > span {
  color: #e30613;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pdf-billing p {
  margin: 0 0 5px;
  color: #555555;
  font-size: 10px;
  line-height: 1.4;
}

.pdf-billing p:last-child {
  margin-bottom: 0;
}

.pdf-offer > footer {
  margin-top: 25px;
  padding: 18px 0 16px;
  border-top: 2px solid #111111;
  font-size: 11px;
}

.pdf-offer > footer small {
  display: block;
  color: #777777;
  font-size: 9px;
  line-height: 1.4;
}

