/* Public site: grouping and interaction use surfaces rather than drawn frames.
   Transparent borders keep the existing dimensions; icon pseudo-elements retain their strokes. */
body :where(*):not(#wpadminbar):not(#wpadminbar *){
 border-color:transparent!important;
 border-image:none!important;
 outline:none!important;
}
body :is(input,textarea,select,button,.button,.quantity,.header-search-row,.ps-choice,.dp-chip,.dp-variant,.select2-selection){box-shadow:none!important}

/* Fields remain easy to find without an outline. */
body :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=color]):not([type=range]),textarea){background-color:#f3eeef!important}
/* The trigger and surrounding panel share the page surface; only inputs are tinted. */
body .catalog-price summary,body .catalog-price[open] summary,body .catalog-price.has-filter summary{background-color:transparent!important}
body .catalog-price-filter{background-color:#fff}
body .woocommerce-invalid :is(input.input-text,textarea,.select2-selection),body input[aria-invalid=true]{background-color:#f5e9ed!important}

/* Keyboard focus changes text treatment rather than painting non-input controls. */
body :is(a,button,summary,[tabindex]):focus-visible{
 text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;
}
body :is(input,textarea):focus-visible{color:#491023!important}
body :is(.ps-choice[aria-pressed=true],.dp-chip[aria-pressed=true],.dp-variant[aria-pressed=true]){font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Native checkbox frames are replaced with filled marks, retaining native input behavior. */
body input:is([type=checkbox],[type=radio]){
 appearance:none!important;-webkit-appearance:none!important;
 width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
 padding:0!important;flex:none;vertical-align:middle;cursor:pointer;background-color:#e7dfe2!important;
 background-position:center;background-repeat:no-repeat;background-size:12px 12px;
}
body input[type=checkbox]{border-radius:0}
body input[type=checkbox]:checked{
 background-color:#791435!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
body input[type=radio]{border-radius:50%}
body input[type=radio]:checked{background-color:#791435!important}
body input:is([type=checkbox],[type=radio]):focus-visible{background-color:#cdb1bc!important}
body input:is([type=checkbox],[type=radio]):checked:focus-visible{background-color:#491023!important}
body input:is([type=checkbox],[type=radio]):disabled{opacity:.5;cursor:default}
@media(forced-colors:active){
 body input:is([type=checkbox],[type=radio]){appearance:auto!important;-webkit-appearance:auto!important}
}
