.thoja-dynamic-fields{margin:12px 0;padding:12px;background:#f8f8f8;border:1px solid #e2e2e2;border-radius:6px;}
.thoja-dynamic-fields .form-row{margin-bottom:8px;}
.thoja-dynamic-fields label{display:block;font-weight:600;margin-bottom:4px;}
.thoja-dynamic-fields input{width:100%;max-width:320px;padding:6px 8px;}
.thoja-validate-row{margin-top:4px;}
.thoja-validate-row #thoja-validate-id-result{margin-left:8px;font-size:13px;font-weight:600;}
.thoja-cart-disabled{opacity:.45 !important;cursor:not-allowed !important;pointer-events:none;}

.thoja-picker{margin:16px 0;}
.thoja-picker h4{margin:0 0 8px;font-size:14px;font-weight:600;}
.thoja-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
.thoja-pill{border:2px solid #ddd;border-radius:8px;background:#fff;padding:8px 14px;cursor:pointer;font-size:14px;transition:border-color .15s,background .15s;}
.thoja-country-pill.thoja-selected{border-color:#2271b1;background:#eaf2ff;font-weight:600;}
.thoja-denom-pill{display:flex;flex-direction:column;align-items:center;min-width:90px;padding:10px 14px;}
.thoja-denom-pill .thoja-denom-label{font-weight:700;font-size:14px;}
.thoja-denom-pill .thoja-denom-stock{font-size:11px;color:#666;margin-top:2px;}
.thoja-denom-pill.thoja-selected{border-color:#2271b1;background:#eaf2ff;}
.thoja-denom-pill.thoja-disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through;}

/* Backstop for third-party variation swatch plugins (e.g. WooCommerce Variation Swatches) that
   may re-render their own picker after our JS runs — keep it hidden on THOJA grouped products. */
.variations_form.thoja-hide-native-variations table.variations,
.variations_form.thoja-hide-native-variations .variations,
.variations_form.thoja-hide-native-variations .wvs-archive-variations-wrapper,
.variations_form.thoja-hide-native-variations .variable-items-wrapper{display:none !important;}
