/* Prepare Product Photo — additive to utility.css, which already
   supplies the hero, drop zone, and status line. */

.pp-workspace { border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); display: block; }
.pp-workspace[hidden] { display: none; }

.pp-compare { display: flex; align-items: center; gap: 18px; }
.pp-compare-col { flex: 1 1 0; min-width: 0; }
.pp-compare-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.pp-compare-col img { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: repeating-conic-gradient(#eef1f6 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.pp-arrow { color: var(--purple); font-size: 26px; flex-shrink: 0; }

.pp-stats { margin: 10px 0 0; display: grid; gap: 4px; }
.pp-stats div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pp-stats dt { color: var(--muted); }
.pp-stats dd { margin: 0; font-weight: 600; text-align: right; }
.pp-stat-highlight { color: var(--purple); }

.pp-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.pp-note[hidden] { display: none; }

#ppStatus { margin: 6px 0 0; min-height: 1.4em; }
#ppStatus.error { color: #991b1b; }

.pp-cutout-callout { display: flex; align-items: center; gap: 12px; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #f8f7ff; }
.pp-cutout-callout .material-symbols-outlined { color: var(--purple); flex-shrink: 0; }
.pp-cutout-callout p { margin: 0; font-size: 13.5px; }

.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.pp-actions .button { min-height: 44px; }

@media (max-width: 640px) {
  .pp-compare { flex-direction: column; }
  .pp-arrow { transform: rotate(90deg); }
  .pp-actions .button { flex: 1 1 100%; }
}
