/* Scoped component styles: inherit the customer's font and keep vendor theme CSS intact. */
.iwas-native { display: none !important; }
.iwas-options.iwas-options { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--iwas-gap, 8px); margin: 8px 0 16px; padding: 0; float: none; width: 100%; max-width: 100%; box-sizing: border-box; font-size: var(--iwas-font-size, 14px); text-align: start; }
.iwas-options .iwas-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-width: 44px; min-height: 44px; width: var(--iwas-size, 64px); height: auto; padding: 0; margin: 0; overflow: hidden; border: 1px solid #dfe2e8; border-radius: var(--iwas-radius, 12px); background: #fff; color: inherit; font: inherit; line-height: 1.5; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; appearance: none; transition: border-color .15s, box-shadow .15s; }
.iwas-options .iwas-option::before { content: none; }
.iwas-options .iwas-option:hover:not(:disabled) { border-color: var(--iwas-border, #3e496a); background: #fff; }
.iwas-options .iwas-option.iwas-selected { border-color: var(--iwas-border, #3e496a); box-shadow: inset 0 0 0 1px var(--iwas-border, #3e496a); }
.iwas-options .iwas-option:focus-visible { outline: 2px solid var(--iwas-border, #3e496a); outline-offset: 3px; }
.iwas-options .iwas-swatch { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--iwas-size, 64px); min-height: 32px; border: 0; background: #f1f2f5; color: #555; }
.iwas-options .iwas-swatch img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; margin: 0; }
.iwas-options .iwas-name { display: block; padding: 4px 6px; max-width: 100%; font-size: .85em; overflow-wrap: anywhere; white-space: normal; }
.iwas-options.iwas-size .iwas-option { min-width: var(--iwas-size, 64px); width: auto; padding: 6px 10px; }
.iwas-options.iwas-size.iwas-style-infinity .iwas-option { flex-direction: row; gap: 4px; }
.iwas-options.iwas-size.iwas-style-infinity .iwas-option::before { content: ''; display: block; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #b9bec9; background: #e2e4e8; }
.iwas-options.iwas-size.iwas-style-infinity .iwas-selected::before { border-color: var(--iwas-border); background: var(--iwas-border); box-shadow: inset 0 0 0 2px #fff; }
.iwas-options.iwas-style-minimal .iwas-option { border-color: transparent; border-radius: 6px; padding: 4px; }
.iwas-options.iwas-style-minimal .iwas-selected { border-color: var(--iwas-border); }
.iwas-options.iwas-style-minimal .iwas-swatch { width: calc(var(--iwas-size) - 12px); height: calc(var(--iwas-size) - 12px); border-radius: 50%; border: 1px solid #dfe2e8; }
.iwas-options.iwas-style-pill .iwas-option { flex-direction: row; width: auto; min-width: var(--iwas-size); border-radius: 999px; padding: 6px 12px; }
.iwas-options.iwas-style-pill .iwas-swatch { flex: 0 0 24px; width: 24px; height: 24px; min-height: 24px; border-radius: 50%; border: 1px solid #dfe2e8; }
.iwas-options.iwas-style-image .iwas-swatch { height: calc(var(--iwas-size) * 1.2); }
.iwas-options .iwas-option.iwas-unavailable { opacity: .42; cursor: not-allowed; box-shadow: none; }
.iwas-options.iwas-mark-text .iwas-unavailable .iwas-name,
.iwas-options.iwas-mark-both .iwas-unavailable .iwas-name { text-decoration: line-through; }
.iwas-options.iwas-mark-diagonal .iwas-unavailable::after,
.iwas-options.iwas-mark-both .iwas-unavailable::after { content: ''; position: absolute; pointer-events: none; inset-inline-start: -15%; top: 50%; width: 130%; height: 1px; background: currentColor; transform: rotate(-35deg); }
.iwas-message { font: inherit; color: inherit; font-size: .9em; margin: 6px 0; }
.iwas-message:empty { display: none; }
.iwas-options .iwas-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .iwas-options .iwas-option { transition: none; } }
