/* PurePlugins Woo Commerce — frontend */
.pwc-personalisatie { margin: 16px 0; padding: 16px; background: #fafafa; border: 1px solid #e5e5e5; border-radius: 6px; }
.pwc-field { margin-bottom: 14px; }
.pwc-label { display: block; font-weight: 600; margin-bottom: 6px; }
.pwc-required { color: #d63638; }

.pwc-input { width: 100%; padding: 8px 10px; border: 1px solid #c3c4c7; border-radius: 4px; box-sizing: border-box; }
.pwc-textarea { min-height: 80px; }

.pwc-select--dropdown-styled option { font-size: 16px; }

.pwc-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.pwc-choice-input { position: absolute; opacity: 0; pointer-events: none; }
.pwc-choice-label { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid #c3c4c7; border-radius: 4px; padding: 6px 12px; user-select: none; transition: border-color 0.15s, box-shadow 0.15s; }
.pwc-choice-input:checked + .pwc-choice-label { border-color: #2271b1; box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25); }
.pwc-choice-input:focus-visible + .pwc-choice-label { outline: 2px solid #2271b1; outline-offset: 2px; }

.pwc-swatch { width: 36px; height: 36px; padding: 0; position: relative; overflow: hidden; }
.pwc-swatch--round { border-radius: 50%; }
.pwc-swatch--square { border-radius: 4px; }
.pwc-swatch-color { display: block; width: 100%; height: 100%; }
.pwc-swatch img { width: 100%; height: 100%; object-fit: cover; }

.pwc-button { padding: 8px 16px; font-weight: 500; }

.pwc-preview { margin-top: 12px; padding: 12px; background: #fff; border: 1px dashed #c3c4c7; border-radius: 4px; min-height: 40px; }

.pwc-wishlist-btn { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 8px 14px; border: 1px solid #c3c4c7; background: #fff; border-radius: 4px; cursor: pointer; }
.pwc-wishlist-btn.is-on { background: #fef9c3; border-color: #dba617; }
.pwc-wishlist-list { list-style: none; padding: 0; }
.pwc-wishlist-item { padding: 6px 0; border-bottom: 1px solid #e5e5e5; }

/* Variant-weergave (swatches op Woo-attributen) */
.pwc-swatches .pwc-swatch-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pwc-swatches .pwc-swatch-list li { margin: 0; padding: 0; }
/* De originele Woo-select blijft bestaan voor de variatie-JS, maar visueel verborgen. */
.pwc-swatch-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.pwc-swatch { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid #c3c4c7; background: #fff; padding: 0; transition: border-color .15s, box-shadow .15s; }
.pwc-swatch.pwc-swatch--button { padding: 6px 14px; border-radius: 4px; font-size: 14px; }
.pwc-swatch.pwc-swatch--shape { position: relative; width: 36px; height: 36px; overflow: hidden; box-sizing: border-box; background: #fff; }
.pwc-swatches--round .pwc-swatch--shape { border-radius: 50%; }
.pwc-swatches--square .pwc-swatch--shape { border-radius: 4px; }
/* Kleur en afbeelding vullen de hele cirkel, absoluut zodat thema-knopstijlen ze niet vervormen. */
.pwc-swatch .pwc-swatch-color { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pwc-swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pwc-swatch-fallback { font-size: 11px; text-transform: uppercase; }
.pwc-swatch.is-selected { border-color: #2271b1; box-shadow: 0 0 0 2px rgba(34,113,177,.3); }
.pwc-swatch:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }
