/* Optional appearance recipes using existing price/offer/quantity hooks.
   Explicit category choices win over shop defaults. Owner colors stay intact. */
html:not([data-a11y-contrast="1"])[data-price-style="tag"] :is(#catalog,#dealsStrip) .card:not([data-price-style]) .price-tag,
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-price-style="tag"] .price-tag{transform:rotate(-3deg)!important;border-radius:var(--r-chip);background:var(--ui-price-bg,var(--accent-mid))!important;color:var(--ui-price-text,#fff)!important;}
html:not([data-a11y-contrast="1"])[data-price-style="flat"] :is(#catalog,#dealsStrip) .card:not([data-price-style]) .price-tag,
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-price-style="flat"] .price-tag{transform:none!important;border-radius:var(--r-control);box-shadow:none;background:var(--ui-price-bg,var(--accent-mid))!important;color:var(--ui-price-text,#fff)!important;}
html:not([data-a11y-contrast="1"])[data-price-style="plain"] :is(#catalog,#dealsStrip) .card:not([data-price-style]) .price-tag,
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-price-style="plain"] .price-tag{transform:none!important;border-radius:0;box-shadow:none;background:var(--ui-price-bg,transparent)!important;color:var(--ui-price-text,var(--accent-deep,var(--ink)))!important;}
html:not([data-a11y-contrast="1"])[data-button-style="rounded"] :is(#catalog,#dealsStrip) .card:not([data-button-style]) .qty-btn,
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-button-style="rounded"] .qty-btn{border-radius:var(--r-control);}
html:not([data-a11y-contrast="1"])[data-button-style="pill"] :is(#catalog,#dealsStrip) .card:not([data-button-style]) .qty-btn,
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-button-style="pill"] .qty-btn{border-radius:999rem;}
html:not([data-a11y-contrast="1"])[data-button-style="square"] :is(#catalog,#dealsStrip) .card:not([data-button-style]) .qty-btn,
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-button-style="square"] .qty-btn{border-radius:0;}
html:not([data-a11y-contrast="1"])[data-deal-style="pill"] :is(#catalog,#dealsStrip) .card:not([data-deal-style]) :is(.deal-tag-label,.boutique-sale-badge),
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-deal-style="pill"] :is(.deal-tag-label,.boutique-sale-badge){border:1px solid currentColor;border-radius:999rem;padding:0.25rem 0.5rem;}
html:not([data-a11y-contrast="1"])[data-deal-style="box"] :is(#catalog,#dealsStrip) .card:not([data-deal-style]) :is(.deal-tag-label,.boutique-sale-badge),
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-deal-style="box"] :is(.deal-tag-label,.boutique-sale-badge){border:1px solid currentColor;border-radius:var(--r-control);padding:0.25rem 0.5rem;}
html:not([data-a11y-contrast="1"])[data-deal-style="plain"] :is(#catalog,#dealsStrip) .card:not([data-deal-style]) :is(.deal-tag-label,.boutique-sale-badge),
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card[data-deal-style="plain"] :is(.deal-tag-label,.boutique-sale-badge){border:0;border-radius:0;box-shadow:none;}

/* Global action buttons share the chosen corners; precise owner controls win. */
html[data-button-style="rounded"] :is(#callBtn,#heroWhatsappBtn,.hero-primary-action,#sendWhatsapp,#sendPayment,.rich-add-to-cart,.boutique-filter-panel button){border-radius:var(--r-control);}
html[data-button-style="pill"] :is(#callBtn,#heroWhatsappBtn,.hero-primary-action,#sendWhatsapp,#sendPayment,.rich-add-to-cart,.boutique-filter-panel button){border-radius:999rem;}
html[data-button-style="square"] :is(#callBtn,#heroWhatsappBtn,.hero-primary-action,#sendWhatsapp,#sendPayment,.rich-add-to-cart,.boutique-filter-panel button){border-radius:0;}
/* «תג נטוי» on a boutique card stays straight: tilted, its corner reached the heart beside it
   (test/no-overlap.test.js, boutique one per row at 1440; a category's or a product's own tag alike). */
html:not([data-a11y-contrast="1"]) :is(#catalog,#dealsStrip) .card.boutique-card[data-price-style="tag"] .price-tag,
html:not([data-a11y-contrast="1"])[data-price-style="tag"] :is(#catalog,#dealsStrip) .card.boutique-card:not([data-price-style]) .price-tag{transform:none!important;}
