/* These aliases exist only inside block presentations; the core/other adapters retain their tokens. */
.ndn-commerce-block {
 --ndn-color-ink:var(--wp--preset--color--contrast,#282b24);
 --ndn-color-heading:var(--wp--preset--color--contrast,#3d4438);
 --ndn-color-paper:var(--wp--preset--color--base,#faf9f5);
 --ndn-color-dialog:var(--wp--preset--color--base,#fffefb);
 --ndn-color-white:var(--wp--preset--color--base,#fff);
 --ndn-color-accent:var(--wp--preset--color--primary,var(--wp--preset--color--contrast,#38513d));
 --ndn-color-store-accent:var(--wp--preset--color--primary,var(--wp--preset--color--contrast,#2f4a21));
 --ndn-color-selected:var(--wp--preset--color--accent-5,#edf0e7);
 --ndn-color-line:var(--wp--preset--color--accent-6,#dddcd3);
 --ndn-color-card-border:var(--wp--preset--color--accent-6,#e2ddd3);
 --ndn-color-control-border:var(--wp--preset--color--accent-6,#d6d8cf);
 font-family:var(--wp--preset--font-family--body,inherit);
}
.ndn-commerce-block h1,.ndn-commerce-block h2,.ndn-commerce-block h3 {font-family:var(--wp--preset--font-family--heading,inherit)}

/* Catalog filter checkboxes are compact controls, rather than full-width text fields. */
.ndn-commerce-block [data-ndn-filter] label:has(> input[type=checkbox]){display:flex;align-items:center;gap:8px}
.ndn-commerce-block [data-ndn-filter] input[type=checkbox]{display:inline-block;flex:none;width:20px;height:20px;min-height:0;margin:0;padding:0}
/* Product tools may be siblings of the purchase form, outside its core control wrapper. */
.ndn-commerce-block .ndn-product-tools button{display:inline-flex;align-items:center;justify-content:center;background:var(--ndn-accent,var(--ndn-color-accent));color:var(--ndn-color-white);border:0;border-radius:7px;min-height:48px;padding:12px 20px;font:inherit;font-weight:600;cursor:pointer;transition:background-color .18s ease,color .18s ease,opacity .18s ease}
.ndn-commerce-block .ndn-product-tools button:disabled{opacity:.5;cursor:not-allowed}
.ndn-commerce-block .ndn-product-tools button:focus-visible{outline:3px solid var(--ndn-color-focus);outline-offset:3px}
.ndn-commerce-block .ndn-product-tools .ndn-tool-icon{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:0;background:none;color:inherit}
