.waerin-pz-page .entry-header { display: none; }
.waerin-pz-page #primary { float: none; width: 100%; }
.waerin-pz-page #secondary { display: none; }

.pz { --r: #e01b24; max-width: 1040px; margin: 0 auto; padding: 24px 0 48px; color: #111; font-size: 15px; line-height: 1.45; }
.pz *, .pz *::before { box-sizing: border-box; }
.pz-title { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.4px; }
.pz-sub { margin: 4px 0 22px; color: #555; }
.pz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }

.pz-stage-wrap { position: sticky; top: 90px; }
.pz-sides { display: flex; gap: 8px; margin-bottom: 10px; }
.pz-side-tab { flex: 1; padding: 10px 14px; border: 1px solid #111; border-radius: 10px; background: #fff; color: #111; font: inherit; font-weight: 600; cursor: pointer; }
.pz-side-tab.is-on { border-color: var(--r); background: var(--r); color: #fff; }
.pz-side-tab.has-art::after { content: " ✓"; }
.pz-stage { position: relative; width: 100%; aspect-ratio: 600 / 680; border-radius: 16px; background: #f1f1f1; overflow: hidden; }
.pz-mockup, .pz-mockup svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pz-area { position: absolute; border: 1px dashed rgba(224, 27, 36, .55); touch-action: none; }
.pz-art { position: absolute; cursor: move; touch-action: none; user-select: none; outline: 1px solid var(--r); }
.pz-art[hidden] { display: none; }
.pz-art img { display: block; width: 100%; height: 100%; pointer-events: none; }
.pz-handle { position: absolute; right: -9px; bottom: -9px; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: var(--r); cursor: nwse-resize; touch-action: none; }

.pz-tools { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; }
.pz-tools[hidden] { display: none; }
.pz-tools input { flex: 1; min-width: 0; accent-color: var(--r); }
.pz-tools button { padding: 7px 14px; border: 1px solid #111; border-radius: 20px; background: #fff; color: #111; font: inherit; cursor: pointer; }

.pz-step { margin-bottom: 22px; }
.pz-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.pz-step h2 span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--r); color: #fff; font-size: 13px; }

.pz-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pz-product { padding: 8px 6px 10px; border: 2px solid #e4e4e4; border-radius: 12px; background: #fff; color: #111; font: inherit; font-weight: 600; cursor: pointer; }
.pz-product.is-on { border-color: var(--r); }
.pz-product .pz-thumb { display: block; width: 100%; aspect-ratio: 600 / 680; }
.pz-product .pz-thumb svg { display: block; width: 100%; height: 100%; }
.pz-product small { display: block; font-size: 12px; font-weight: 400; color: #555; }

.pz-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pz-options[hidden] { display: none; }
.pz-opt { min-width: 48px; padding: 9px 14px; border: 1px solid #111; border-radius: 24px; background: #fff; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.pz-opt.is-on { border-color: var(--r); background: var(--r); color: #fff; }
.pz-opt[disabled] { opacity: .35; cursor: not-allowed; }
.pz-swatch { display: inline-block; width: 14px; height: 14px; margin-right: 7px; border: 1px solid #999; border-radius: 50%; vertical-align: -2px; }

.pz-upload { display: block; padding: 18px 14px; border: 2px dashed #bbb; border-radius: 12px; text-align: center; cursor: pointer; }
.pz-upload:hover { border-color: var(--r); }
.pz-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pz-status { min-height: 20px; margin: 6px 0; font-size: 13px; }
.pz-status.ok { color: #1f8a3f; }
.pz-status.err { color: #d62828; }
.pz-hint { margin: -6px 0 10px; font-size: 13px; color: #555; }
.pz textarea { width: 100%; height: 70px; min-height: 0; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; font: inherit; font-size: 14px; }

.pz-buy { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid #e4e4e4; }
.pz-total small { display: block; font-size: 12px; color: #666; }
.pz-total strong { font-size: 24px; color: var(--r); white-space: nowrap; }
.pz-qty { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.pz-qty input { width: 58px; padding: 7px 6px; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
.pz-add { flex: 1; padding: 13px 14px; border: 0; border-radius: 10px; background: #111; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pz-add[disabled] { opacity: .55; cursor: wait; }
.pz-note { margin: 10px 0 0; font-size: 13px; color: #555; }

@media (max-width: 860px) {
	.pz { padding-top: 14px; }
	.pz-title { font-size: 24px; }
	.pz-grid { grid-template-columns: 1fr; gap: 20px; }
	.pz-stage-wrap { position: static; }
	.pz-buy { flex-wrap: wrap; }
	.pz-add { flex-basis: 100%; }
}
