.sa-colour-swatches{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 16px}.sa-colour-swatch{box-sizing:border-box!important;width:38px!important;height:38px!important;min-width:38px;padding:4px!important;border:1px solid #d9e1da!important;background:white!important;border-radius:50%!important;display:grid!important;place-items:center;box-shadow:none!important}.sa-colour-swatch span{width:100%;height:100%;display:block;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #0001}.sa-colour-swatch[aria-pressed=true]{outline:2px solid #24624f;outline-offset:2px}.sa-colour-swatch:focus-visible{outline:3px solid #45b6a7;outline-offset:3px}.sa-colour-swatch:disabled{opacity:.25;cursor:not-allowed}.variations td.value:has(.sa-colour-swatches)>.variable-items-wrapper,.variations td.value:has(.sa-colour-swatches) .woo-selected-variation-item-name{display:none!important}.variations td.value:has(.sa-colour-swatches) select{position:absolute!important;width:1px!important;height:1px!important;opacity:0;overflow:hidden}
.sa-colour-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:16px 0 28px}.sa-colour-admin-grid label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dce5dd;border-radius:10px}.sa-colour-admin-grid input[type=color]{width:44px;height:38px;padding:2px;border:1px solid #dce5dd;cursor:pointer}.sa-linked-admin-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e3e8df}.sa-linked-admin-row img{width:52px;height:65px;object-fit:cover;border-radius:6px}.sa-linked-admin-row>span{flex:1;min-width:0}.sa-linked-admin-row small,.sa-linked-admin-row a{display:block;margin-top:5px;font-size:12px}.sa-linked-admin-row strong{font-size:13px}#saLinkedColourResults{display:grid;gap:8px;margin:12px 0}#saLinkedColourResults button{text-align:left;white-space:normal;height:auto;padding:8px 12px}
.sa-colour-swatch span{width:28px!important;height:28px!important;min-width:28px!important;pointer-events:none}.variations td.value:has(.sa-colour-swatches) select{min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;pointer-events:none!important;clip-path:inset(50%);left:0!important;top:0!important}

.sa-new-colour{margin:24px 0;padding:16px;border:1px solid #cddbd1;border-radius:12px;background:#f6f8f4}.sa-new-colour summary{font-size:14px;font-weight:650;cursor:pointer;color:#214d3e}.sa-new-colour p{font-size:12px;line-height:1.6}.sa-new-colour-row{display:grid;grid-template-columns:minmax(55px,.8fr) 1fr 1fr;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #dbe4dc}.sa-new-colour-row label{font-size:12px}.sa-new-colour-row input:not([type=checkbox]){width:100%;min-width:0}.sa-new-colour-check{display:flex!important;align-items:center;gap:6px}.sa-new-colour input[type=color]{width:52px;height:38px;padding:2px}.sa-variation-price-row{grid-template-columns:minmax(130px,1.3fr) repeat(3,minmax(80px,1fr))}@media(max-width:1100px){.sa-variation-price-row{grid-template-columns:repeat(3,minmax(0,1fr))}.sa-variation-price-row>div{grid-column:1/-1}}

/* Compact controls; never let the generic editor input rules stretch a checkbox. */
.sa-product-editor .sa-colour-management{padding:20px}
.sa-product-editor .sa-colour-management>header{margin-bottom:16px}
.sa-product-editor .sa-colour-management h3{font-size:14px;margin:14px 0 6px}
.sa-product-editor .sa-colour-management p{font-size:12px;line-height:1.5;margin:6px 0 10px}
.sa-product-editor .sa-colour-admin-grid{gap:8px;margin:10px 0 16px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
.sa-product-editor .sa-colour-admin-grid label{padding:6px 10px;margin:0;font-size:12px}
.sa-product-editor .sa-colour-admin-grid input[type=color]{width:34px;height:30px;min-height:30px;margin:0}
.sa-product-editor .sa-new-colour{margin:10px 0;padding:12px}
.sa-product-editor .sa-new-colour>label{font-size:12px;margin:10px 0}
.sa-product-editor .sa-new-colour>label:has(input[type=color]){display:flex;align-items:center;gap:10px}
.sa-product-editor .sa-new-colour input:not([type=checkbox]):not([type=color]){min-height:36px;height:36px;padding:6px 10px;font-size:13px}
.sa-product-editor .sa-new-colour-row{grid-template-columns:minmax(75px,.75fr) 1fr 1fr;padding:8px 0;gap:10px}
.sa-product-editor .sa-new-colour-row label{margin:0;font-size:11px}
.sa-product-editor .sa-new-colour .sa-new-colour-check{align-self:center;margin:0;gap:7px;font-size:12px}
.sa-product-editor .sa-new-colour input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;padding:0!important;margin:0!important;flex:0 0 16px!important;display:inline-block!important;border-radius:3px!important;accent-color:#23513f;background:initial!important}
.sa-product-editor .sa-new-colour input[type=checkbox]::before,.sa-product-editor .sa-new-colour input[type=checkbox]::after{content:none!important}

.sa-editor-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px}
.sa-editor-panel>summary::-webkit-details-marker{display:none}.sa-editor-panel>summary:after{content:"";width:8px;height:8px;border-right:2px solid #517466;border-bottom:2px solid #517466;transform:rotate(45deg);margin:0 5px 5px 0;flex:0 0 8px;transition:transform .15s}.sa-editor-panel[open]>summary:after{transform:rotate(225deg);margin-bottom:0}.sa-editor-panel>summary>header{display:flex;gap:16px;align-items:flex-start;margin:0;flex:1}.sa-editor-panel>summary h2{margin:0;font-size:17px}.sa-editor-panel>summary header>span{display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;background:#edf2e8;color:#436749;font-size:12px;font-weight:700}.sa-editor-panel>summary p{margin:5px 0 0;font-size:12px;color:#748277}.sa-editor-panel[open]>summary{margin-bottom:16px}.sa-editor-panel:not([open])>summary p{display:none}.sa-editor-panel>summary:focus-visible{outline:2px solid #45b6a7;outline-offset:6px;border-radius:3px}
.sa-variation-price-row{position:relative;padding-right:0}.sa-variation-price-row[hidden],.sa-colour-admin-grid>label[hidden]{display:none!important}.sa-variation-price-row .sa-variant-remove{grid-column:1/-1;justify-self:end;background:transparent!important;color:#9a3c35!important;border:0!important;border-bottom:1px solid #e0c4bf!important;padding:3px 0!important;min-height:0!important;border-radius:0!important;font-size:11px;cursor:pointer}.sa-variation-price-row .sa-variant-remove:hover{color:#6e201a!important}.sa-variation-price-row.is-pending{border:1px solid #c8ddcc;background:#f6faf3;border-radius:10px;padding:12px}.sa-variation-price-row.is-pending small{color:#5d7865;font-size:10px}
.sa-variant-feedback{font-size:12px;color:#4e6e5a;padding:8px 10px;border-radius:7px;background:#f1f6ed;line-height:1.5}.sa-variant-feedback.is-error{color:#922e25;background:#fff0ed}.sa-active-options{display:grid;gap:8px;margin:10px 0 18px}.sa-active-options>div{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.sa-active-options strong{font-size:11px;margin-right:5px}.sa-active-options span{font-size:11px;border:1px solid #d4dfd5;background:#f8faf6;border-radius:15px;padding:4px 9px}.sa-variant-undo>div{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px;background:#fff8ed;border:1px solid #eddcb9;border-radius:8px;margin:8px 0;font-size:12px}.sa-product-editor .sa-variant-add{margin-top:12px!important;background:#34a2a2!important;color:#111820!important;color:white!important;border:0!important;border-radius:6px!important;min-height:36px!important;padding:8px 12px!important;font-size:12px!important;color:#111820!important;}
.sa-variant-confirm{width:min(450px,calc(100vw - 36px));box-sizing:border-box;border:0;border-radius:18px;padding:28px;color:#193d31;box-shadow:0 20px 80px #0003}.sa-variant-confirm::backdrop{background:#132b24a6}.sa-variant-confirm h2{font-size:22px;line-height:1.2;margin:0 0 16px}.sa-variant-confirm p{font-size:14px;line-height:1.6}.sa-variant-confirm p+p{font-size:12px;color:#6d7b72}.sa-variant-confirm>div{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.sa-variant-confirm button{padding:9px 14px!important;height:auto!important;border-radius:6px!important}.sa-variant-confirm .sa-confirm-remove{background:#923f36!important;border-color:#923f36!important;color:white!important}

.sa-active-options span{display:inline-flex;align-items:center;gap:6px}.sa-active-options span button{border:0!important;background:transparent!important;color:#76524c!important;padding:0!important;min-height:20px!important;width:20px!important;line-height:20px!important;border-radius:50%!important;cursor:pointer;font-size:16px!important}.sa-active-options span button:hover{background:#f4e6e0!important;color:#8c3329!important}
