/* Print-head masks for FIRST / FINAL; paper feed stays in the existing story. */
.print-head-line {
  position: relative;
  width: max-content;
  max-width: 100%;
  overflow: visible;
}
.print-head-line .line-text {
  width: 100%;
  max-width: 100%;
  will-change: clip-path;
}
.print-ink {
  display: block;
}
.print-head-marker {
  position: absolute;
  left: var(--head-position, 0%);
  bottom: 0.045em;
  width: 12px;
  height: 2px;
  background: #6f776a;
  transform: translateX(-100%);
  pointer-events: none;
  opacity: 0;
}
.print-head-marker::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 3px;
  height: 4px;
  background: inherit;
}
.print-head-line[data-direction="left"] .print-head-marker {
  transform: none;
}
.print-head-line[data-direction="left"] .print-head-marker::after {
  left: 0;
  right: auto;
}
/* Surface, edge and corner markers are shared in paper-interface.css. */
.first-paper-transition {
  z-index: 0;
  opacity: 0;
  overflow: clip;
  transform-origin: 50% 100%;
  will-change: clip-path;
}
.first-paper-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #fffefaab;
  pointer-events: none;
}
.paper-room-image {
  position: absolute;
  max-width: none;
  object-fit: fill;
  filter: saturate(.78) contrast(.91) brightness(1.045);
  pointer-events: none;
}
.buy-product canvas {
  position: relative;
  z-index: 1;
}
.final-details {
  margin-top: 32px;
  color: #666963;
}
.final-brand {
  font: 500 11px/1.4 var(--system-font);
  letter-spacing: 0.19em;
  margin: 0 0 10px;
  color: var(--ink);
}
.product-information {
  display: flex;
  align-items: center;
  gap: 23px;
  margin: 0;
  font: 400 12px/1.5 var(--system-font);
  letter-spacing: 0.12em;
}
.final-details .product-name,
.final-details .price {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  font-variant-numeric: tabular-nums;
}
.final-details .price {
  padding-left: 23px;
  border-left: 1px solid var(--hairline);
  color: var(--ink);
}
@media (max-width: 760px) {
  .print-head-marker {
    width: 9px;
  }
  .final-details {
    margin-top: 28px;
  }
  .product-information {
    font-size: 10px;
    gap: 20px;
  }
  .final-details .price {
    padding-left: 20px;
  }
}
.reduce-motion .print-head-marker,
.reduce-motion .a4-portal {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .print-head-marker,
  .a4-portal {
    display: none;
  }
}

/* The paper corners keep their proportion with the full printed surface. */
.first-paper-transition .paper-corner { width: 3.2%; }
