.pp-section {
  padding-top: 35px;
}
.pp-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 32px;
}
.pp-heading h1 {
  font-size: clamp(36px, 4.7vw, 60px);
  letter-spacing: -2px;
  margin: 18px 0;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.pp-heading > div {
  min-width: 0;
}
.pp-heading .sub {
  max-width: 620px;
}
.pp-pickup {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  font-size: 13px;
  line-height: 1.8;
  min-width: 230px;
}
.pp-pickup b {
  font-size: 16px;
}
.pp-pickup small {
  display: block;
  color: var(--muted);
}
.pp-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  margin: 30px 0;
}
.pp-direction {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s;
}
.pp-direction:hover {
  transform: translateY(-4px);
}
.pp-direction-photo {
  position: relative;
  height: 245px;
  overflow: hidden;
}
.pp-direction-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp-direction-photo span {
  position: absolute;
  left: 17px;
  top: 17px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.pp-direction-copy {
  padding: 24px;
}
.pp-direction-copy h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  min-height: 60px;
}
.pp-direction-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 100px;
}
.pp-direction-copy b {
  display: block;
  font-size: 15px;
}
.pp-link {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
}
.pp-service-note {
  padding: 20px 22px;
  border-radius: 9px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.7;
  margin: 24px 0;
}
.pp-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}
.pp-steps {
  display: flex;
  gap: 22px;
  margin: 25px 0 32px;
  padding: 0;
  list-style: none;
}
.pp-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.pp-steps span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.pp-steps .current {
  color: var(--ink);
  font-weight: 700;
}
.pp-steps .current span {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pp-steps .done span {
  background: var(--ink);
  color: #fff;
}
.pp-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: #fff;
}
.pp-panel h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.pp-panel h3 {
  font-size: 19px;
}
.pp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin: 24px 0;
}
.pp-form-grid label,
.pp-file label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.pp-form-grid select,
.pp-form-grid input,
.pp-form-grid textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cdd0d2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  margin-top: 8px;
}
.pp-form-grid small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 7px;
}
.pp-full {
  grid-column: 1/-1;
}
.pp-fit-info {
  border-left: 3px solid var(--accent);
  padding: 3px 0 3px 16px;
  margin: 25px 0;
}
.pp-fit-info b {
  font-size: 15px;
}
.pp-fit-info p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 5px 0;
}
.pp-price-table {
  overflow: auto;
  margin: 28px 0;
}
.pp-price-table table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.pp-price-table caption {
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 16px;
}
.pp-price-table th,
.pp-price-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}
.pp-price-table thead {
  background: var(--paper);
}
.pp-price-table tbody th {
  font-weight: 500;
}
.pp-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 20px;
}
.pp-summary > img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.pp-summary-body {
  padding: 23px;
}
.pp-summary h3 {
  font-size: 21px;
  margin: 0 0 20px;
}
.pp-summary dl {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.pp-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 13px 0;
}
.pp-summary dt {
  color: var(--muted);
}
.pp-summary dd {
  margin: 0;
  text-align: right;
  max-width: 180px;
}
.pp-summary-total {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 20px 0;
}
.pp-summary-total span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.pp-summary-total b {
  display: block;
  font-size: 26px;
  line-height: 1.3;
  margin-top: 9px;
}
.pp-summary small {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.pp-price-source {
  font-size: 11px;
  line-height: 1.6;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.pp-bottom-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 800px;
  margin-top: 25px;
}
.pp-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 1px dashed #aab1b5;
  border-radius: 10px;
  padding: 30px 20px;
  cursor: pointer;
  background: #fafbfc;
}
.pp-drop b {
  font-size: 17px;
}
.pp-drop span {
  font-size: 13px;
  color: var(--muted);
}
.pp-drop input {
  font-size: 13px;
  max-width: 100%;
  margin-top: 12px;
}
.pp-drop.dragging {
  border: 2px solid var(--accent);
  background: var(--paper);
}
.pp-local {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.pp-files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}
.pp-file {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
}
.pp-file > b {
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-file small {
  font-size: 10px;
  color: var(--muted);
}
.pp-print-preview {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 7px #0002;
  overflow: hidden;
  margin-bottom: 8px;
  max-height: 240px;
}
.pp-print-preview.with-borders {
  padding: 7px;
}
.pp-print-preview img {
  width: 100%;
  height: 100%;
  display: block;
}
.pp-file label {
  font-size: 12px;
}
.pp-file input {
  width: 70px;
  border: 1px solid #cdd0d2;
  border-radius: 4px;
  padding: 5px;
  font: inherit;
  margin-left: 5px;
}
.pp-text-button {
  font-size: 13px;
  background: none;
  border: 0;
  color: var(--accent);
  padding: 0;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pp-warning {
  font-size: 13px;
  color: #a33e22;
  line-height: 1.7;
}
.pp-file .pp-warning {
  color: #a33e22;
}
/* The photos that were not added, with the reasons and «Скрыть». */
.pp-file-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 3px solid #a33e22;
  background: #fbf2ee;
}
.pp-file-notice[hidden] {
  display: none;
}
.pp-file-notice p {
  flex: 1 1 260px;
  margin: 0;
}
.pp-step-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}
/* «Далее» waits while photos are opening (the status line of the photo step says so). */
.pp-panel [data-next]:disabled {
  opacity: 0.55;
  cursor: progress;
  filter: none;
}
.pp-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #cdd0d2;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 14px;
}
.pp-review {
  font-size: 15px;
  line-height: 1.7;
  margin: 30px 0;
}
.pp-review > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.pp-review dt {
  color: var(--muted);
}
.pp-review dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.pp-review-images {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 20px 0;
}
.pp-review-images img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 5px;
}
.pp-section a[href^='tel:'] {
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .pp-order-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 20px;
  }
  .pp-panel {
    padding: 23px;
  }
  .pp-steps {
    gap: 14px;
  }
  .pp-direction-copy {
    padding: 18px;
  }
  .pp-direction-copy h2 {
    font-size: 21px;
  }
  .pp-files {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .pp-heading {
    display: block;
  }
  .pp-heading h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .pp-pickup {
    margin-top: 22px;
    min-width: 0;
  }
  .pp-directions {
    grid-template-columns: 1fr;
  }
  .pp-direction-photo {
    height: 230px;
  }
  .pp-direction-copy h2,
  .pp-direction-copy p {
    min-height: 0;
  }
  .pp-direction-copy h2 {
    font-size: 26px;
  }
  .pp-direction-copy {
    padding: 23px;
  }
  .pp-order-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pp-summary {
    position: static;
  }
  .pp-summary > img {
    display: none;
  }
  .pp-steps {
    gap: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pp-steps li {
    font-size: 12px;
  }
  .pp-panel {
    padding: 20px;
  }
  .pp-panel h2 {
    font-size: 25px;
  }
  .pp-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pp-steps {
    margin-top: 20px;
  }
  .pp-step-actions .btn {
    padding: 14px 16px;
    font-size: 12px;
  }
  .pp-price-table th,
  .pp-price-table td {
    padding: 12px 10px;
  }
  .pp-price-table table {
    font-size: 14px;
  }
  .pp-review > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .pp-review-images img {
    width: 65px;
    height: 65px;
  }
}

.pp-fixed-material {
  font-size: 14px;
  line-height: 1.7;
}
.pp-fixed-material p {
  margin: 8px 0 5px;
  font-size: 16px;
}
.pp-fixed-material small {
  font-size: 12px;
  color: var(--muted);
}
.pp-cost-breakdown {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.7;
}
.pp-cost-breakdown p {
  margin: 6px 0;
}
@media (max-width: 480px) {
  .pp-price-table caption {
    font-size: 16px;
  }
  .pp-price-table table {
    font-size: 13px;
  }
  .pp-price-table th,
  .pp-price-table td {
    padding: 10px 6px;
  }
  .pp-price-table thead th {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

/* Upload state of each photo and of the whole step. */
.pp-upload-state {
  font-size: 12px;
  color: #62695e;
}
.pp-file.is-complete .pp-upload-state {
  color: #2f6b34;
}
.pp-file.is-rejected .pp-upload-state,
.pp-file.is-failed .pp-upload-state,
.pp-file.is-needs-reselect .pp-upload-state {
  color: #8e3e25;
}
.pp-upload-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #e4e5de;
  overflow: hidden;
}
.pp-upload-bar[hidden] {
  display: none;
}
.pp-upload-bar span {
  display: block;
  height: 100%;
  background: #394f36;
  transition: width 0.3s;
}
.pp-upload-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 12px;
  font-size: 14px;
}
.pp-upload-summary p {
  margin: 0;
}
.pp-upload-summary [hidden] {
  display: none;
}
.pp-no-preview {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: #62695e;
  background: #eef0ea;
}
.pp-file.is-rejected .pp-print-preview {
  opacity: 0.45;
}
.pp-comment {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  font-weight: 600;
}
.pp-comment textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px;
  border: 1px solid #d4d5d0;
  border-radius: 9px;
  width: 100%;
  box-sizing: border-box;
}
#pp-add-status:empty {
  display: none;
}
