/* Pas Foto 3×4 & 4×6 */

.pf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.pf-stage { text-align: center; }
.pf-frame {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: #E2E8F0;
  box-shadow: 0 6px 22px rgba(15, 23, 42, .18);
  touch-action: none;
  cursor: grab;
}
.pf-frame:active { cursor: grabbing; }
.pf-frame canvas { display: block; width: 100%; height: 100%; }
.pf-guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Garis bantu posisi kepala (oval) */
.pf-guide::after {
  content: "";
  position: absolute;
  left: 27%;
  right: 27%;
  top: 12%;
  height: 48%;
  border: 1.5px dashed rgba(255, 255, 255, .85);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.pf-guide.off::after { display: none; }
.pf-zoom { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 12px; }
.pf-zoom input { width: 200px; }
.pf-stage .hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pf-stage-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.pf-options { display: grid; gap: 18px; }
.pf-options .note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.pf-tol { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pf-tol input { flex: 1; }
.pf-custom { width: 30px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.pf-downloads { display: grid; gap: 8px; }

.pf-processing { font-size: 13px; color: var(--brand-dark); font-weight: 600; min-height: 18px; margin-top: 8px; }

@media (max-width: 767px) {
  .pf-layout { grid-template-columns: 1fr; }
}
