
/* KOVAMET Commerce 2.5 — lightweight product customization */
.single-product .kvc-swatch-area{margin:5px 0 12px;min-width:0;max-width:100%}
.kvc-swatch-heading{font-weight:650;margin-bottom:9px;color:#303534}
.kvc-swatch-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));gap:6px;max-width:100%}
.kvc-swatch{box-sizing:border-box;width:100%;min-width:0;min-height:44px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;cursor:pointer;background:#fff;border:1px solid #dedbd4;border-radius:7px;padding:6px 8px;color:#303534;font:inherit;line-height:1.25;text-align:left;transition:border-color .12s ease,box-shadow .12s ease}
.kvc-swatch:hover{border-color:#6c706d}
.kvc-swatch:focus-visible{outline:3px solid #6d7b85;outline-offset:2px}
.kvc-swatch.is-selected{border-color:#313b40;box-shadow:inset 0 0 0 1px #313b40;background-color:#f2f4f1}
.kvc-swatch:disabled{opacity:.4;cursor:not-allowed}
.kvc-swatch-dot{display:block;box-sizing:border-box;width:28px;height:28px;flex:0 0 28px;border:1px solid #929592;border-radius:4px;background:#eee}
.kvc-swatch-dot.is-brushed{background:#a9adae url('steel-brushed-sample.jpg') center center / cover no-repeat}
.kvc-swatch-dot.is-corten{background:#96552e url('corten-weathered.jpg') center center/cover no-repeat}
.kvc-swatch-dot.is-unknown{background:repeating-linear-gradient(130deg,#e6e6e6 0px,#e6e6e6 6px,#aaa 6px,#aaa 7px)}
.kvc-swatch-text{font-size:12px;line-height:1.25;min-width:0;overflow-wrap:anywhere;word-break:normal;text-align:left}
.kvc-swatch-hint,.kvc-product-fields-info{font-size:12px;color:#666;margin:8px 0 0}
.kvc-product-fields{margin:18px 0 14px;padding:18px 16px;border:1px solid #dedbd4;border-radius:10px;background:#fcfaf5}
.kvc-product-fields legend{font-size:15px;font-weight:700;color:#2b3438;padding:0 6px}
.kvc-product-fields input.input-text{width:100%;height:44px;border:1px solid #c4c6c5;border-radius:7px;padding:9px 12px;background:#fff}
.kvc-dimension-note{font-size:13px;line-height:1.6;padding:12px 14px;border-left:3px solid #b9a995;background:#f7f5f0;color:#434546;margin:12px 0}
@media(max-width:640px){.kvc-swatch-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));gap:5px}.kvc-swatch{min-height:44px;padding:6px;gap:6px}.kvc-swatch-dot{width:25px;height:25px;flex-basis:25px}.kvc-product-fields{padding:12px}}

/* Hide only the duplicate visual dropdown when the accessible swatch controls are initialized.
 * WooCommerce still reads and updates the original select. JS-off fallback is untouched. */
.single-product select.kvc-native-select{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
 margin:-1px!important;border:0!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;
}
.single-product .kvc-swatch-context{font-size:13px;line-height:1.5;color:#555e5b;margin:3px 0 6px}
.single-product .kvc-swatch-area.kvc-awaiting-material .kvc-swatch-list,
.single-product .kvc-swatch-area.kvc-awaiting-material .kvc-swatch-hint{display:none}
.single-product .kvc-swatch-area.kvc-corten-only .kvc-swatch-hint{display:none}
.single-product .kvc-swatch-area.kvc-corten-only .kvc-swatch-list{margin-top:5px}
.single-product .kvc-swatch-dot.is-brushed{background-size:cover}
@media (prefers-reduced-motion: reduce){.kvc-swatch{transition:none}}

/* Commerce 2.6 — consistent, accessible manufacturing inputs. */
.kvc-product-fields textarea.input-text{width:100%;min-height:100px;resize:vertical;border:1px solid #c4c6c5;border-radius:7px;padding:11px 12px;background:#fff;font:inherit;line-height:1.5}
.kvc-product-fields .form-row{margin-bottom:13px}
.kvc-product-fields .form-row label{display:block;margin-bottom:6px;font-weight:600}
.kvc-product-fields-preview{opacity:.9}
.kvc-product-fields-preview input:disabled,.kvc-product-fields-preview textarea:disabled{background:#f0efec;color:#6d706f;cursor:not-allowed}

/* Commerce 2.6.3: preview for existing natural/unpainted and wood choices. */
.single-product .kvc-swatch-dot.is-unpainted{background:linear-gradient(135deg,#d3d6d6,#a8aeaf 50%,#e3e6e6)}
.single-product .kvc-swatch-dot.is-wood{background:linear-gradient(100deg,#a87a49 0%,#c39762 30%,#9b683d 60%,#c59c65 100%)}

/* 2.6.5 — optional production notes stay folded; required manufacturing fields stay visible. */
.kvc-product-fields .kvc-extra-notes{margin:10px 0 3px;padding:9px 0;border-top:1px solid #e5e1da}
.kvc-product-fields .kvc-extra-notes summary{font-size:13px;line-height:1.6;font-weight:600;color:#565e5a;cursor:pointer;list-style-position:outside}
.kvc-product-fields .kvc-extra-notes[open] summary{margin-bottom:12px}
.kvc-product-fields .kvc-extra-notes textarea{min-height:78px}
