.vlpc-colors {
    --vlpc-text: var(--vl-theme-text, #d5cec5);
    --vlpc-accent: var(--vl-theme-accent, #c39364);
    width: 100%;
    margin-block: 32px;
    color: var(--vlpc-text);
    font-family: var(--font-sofia, inherit);
}
.vlpc-colors *, .vlpc-colors *::before, .vlpc-colors *::after { box-sizing: border-box; }
.vlpc-colors [hidden] { display: none !important; }
.vlpc-colors .vlpc-field { min-width: 0; padding: 0; margin: 0; border: 0; }
.vlpc-colors .vlpc-field legend { padding: 0; margin-bottom: 16px; font: inherit; font-size: 20px; font-weight: 600; }
.vlpc-colors .vlpc-required { color: #e56c90; margin-inline-start: 0; }
.vlpc-colors .vlpc-palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vlpc-colors .vlpc-swatch { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; cursor: pointer; }
.vlpc-colors .vlpc-swatch input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; padding: 0; }
.vlpc-colors .vlpc-swatch-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: 24px; outline: 2px solid transparent; outline-offset: 3px; background: #27231e; }
.vlpc-colors .vlpc-swatch-image img { display: block; width: 100%; height: 100%; max-width: 100%; border: 0; border-radius: inherit; object-fit: cover; }
.vlpc-colors .vlpc-swatch-name { color: var(--vlpc-accent); font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.vlpc-colors .vlpc-swatch input:checked + .vlpc-swatch-image { outline-color: var(--vlpc-accent); }
.vlpc-colors .vlpc-swatch input:focus-visible + .vlpc-swatch-image { outline: 3px solid var(--vlpc-text); }
.vlpc-colors .vlpc-different { display: flex; align-items: center; gap: 8px; margin-block: 32px 24px; cursor: pointer; }
.vlpc-colors .vlpc-different input { appearance: none; -webkit-appearance: none; position: relative; width: 24px; height: 24px; flex: 0 0 24px; margin: 0; border: 2px solid var(--vlpc-accent); border-radius: 4px; background: transparent; cursor: pointer; }
.vlpc-colors .vlpc-different input:checked { background: var(--vlpc-accent); }
.vlpc-colors .vlpc-different input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 7px; height: 12px; border: solid #27231e; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vlpc-colors .vlpc-different input:focus-visible { outline: 2px solid var(--vlpc-text); outline-offset: 3px; }
.vlpc-colors .vlpc-error { margin: 0 0 16px; color: #e56c90; font-size: 16px; }
.vlpc-colors .vlpc-hint, .vlpc-colors .vlpc-unavailable { margin: 0 0 16px; font-size: 16px; }
@media (min-width: 48rem) { .vlpc-colors .vlpc-palette { gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .vlpc-colors * { scroll-behavior: auto; } }
