/* Keep the existing listing, role visibility, WHOLS markup and filter provider intact. */
body.woocommerce #main .elementor-8215 { display:flex; flex-direction:column; block-size:100%; }
body.woocommerce #main .elementor-8215 .elementor-element-357ee81 { flex:1 1 auto; }
body.woocommerce #main .elementor-8215 .elementor-element-be171d5 { flex:0 0 auto; }
body.woocommerce #main .elementor-8215 .elementor-element-1b82f12 :is(h2,h3,h4) { margin:0; }
body.woocommerce #main .elementor-8215 .elementor-element-bb9c095 p { margin:0; }
body.woocommerce #main .elementor-8215 .elementor-element-70e1988 img { display:block; inline-size:100%; aspect-ratio:1; object-fit:contain; }
/* Image reaches the existing card border; text retains its native 16px inset. */
body.woocommerce #main .elementor-8215 .elementor-element-70e1988 { inline-size:calc(100% + 32px); max-inline-size:none; margin-inline:-16px !important; margin-block-start:-16px !important; }
body.woocommerce #main .elementor-8215 .elementor-element-9db1ec6 { inline-size:100%; min-inline-size:0; }
body.woocommerce #main .elementor-8215 .elementor-element-9db1ec6 :is(p,.price) { margin:0; }
body.woocommerce #main .elementor-8215 .elementor-element-3d50c4e { flex-wrap:wrap; gap:12px; }
body.woocommerce #main .jet-remove-all-filters__button { display:inline-flex; align-items:center; justify-content:center; min-block-size:44px; padding:10px 18px; border:1px solid #C8CEBE; border-radius:4px; background:#FFF; color:#4B5928; font:600 14px/1.4 'Open Sans',sans-serif; }
body.woocommerce #main .jet-remove-all-filters__button:hover { background:#F0F2E8; color:#384522; }
body.woocommerce #main :is(#p1cf_width,#p1cf_height,#p1cf_diameter,#filter_category,#filter_subcategory,#filter_year,#filter_variant) { min-block-size:48px; font-size:16px; }
body.woocommerce #main .tg-model-field-label { display:block; margin-block:0 6px; color:#45483E; font-size:14px; line-height:1.5; }
body.woocommerce #main :is(.jet-remove-all-filters__button,.elementor-8215 a):focus-visible { outline:3px solid #869745; outline-offset:3px; }
/* Keep the native inputs in the keyboard flow while the plugin draws their labels. */
body.woocommerce #main :is(.jet-checkboxes-list__input,.jet-radio-list__input) { display:block !important; position:absolute; inline-size:1px; block-size:1px; min-inline-size:0; min-block-size:0; max-inline-size:1px; max-block-size:1px; margin:-1px; padding:0; border:0; clip-path:inset(50%); visibility:visible; }
body.woocommerce #main .jet-checkboxes-list__input:focus-visible + .jet-checkboxes-list__button,
body.woocommerce #main .jet-radio-list__input:focus-visible + .jet-radio-list__button { outline:3px solid #869745; outline-offset:2px; }
/* The indexer hides an empty filter; its Elementor shell must follow that state. */
body.woocommerce #main .elementor-widget-jet-smart-filters-checkboxes:has(> .elementor-widget-container > .jet-filter[style*="display: none"]) { display:none; }

/* Align the existing reset widget with the tag controls, including wrapped tags. */
body.woocommerce #main .elementor-widget-jet-smart-filters-remove-filters > .elementor-widget-container { padding-block-start:15px; }
body.woocommerce #main .jet-remove-all-filters__button { min-block-size:46.8px; }
/* Stock and action keep their own columns even when stock copy wraps. */
body.woocommerce #main .elementor-8215 .elementor-element-3d50c4e { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; }
body.woocommerce #main .elementor-8215 .elementor-element-7e9d661 { min-inline-size:0; inline-size:auto; justify-self:start; text-align:start; }
body.woocommerce #main .elementor-8215 .elementor-element-7e9d661 .stock { margin:0; font-size:12px; line-height:1.5; }
body.woocommerce #main .elementor-8215 .elementor-element-a350105 { inline-size:auto; justify-self:end; }
body.woocommerce #main .elementor-8215 .elementor-element-a350105 .elementor-button { display:inline-flex; align-items:center; justify-content:center; min-block-size:36px; padding:7px 10px; font-size:13px; line-height:20px; }
/* WHOLS nested range amounts inherit the same compact size as ordinary prices. */
body.woocommerce #main .elementor-8215 .elementor-element-9db1ec6 .whols_loop_custom_price { margin:0; font-size:16px; line-height:1.45; font-weight:700; text-align:start; }
body.woocommerce #main .elementor-8215 .elementor-element-9db1ec6 .whols_loop_custom_price :is(.whols_wholesaler_price,.whols_label,.whols_label_right,.woocommerce-Price-amount,bdi,.woocommerce-Price-currencySymbol) { font-size:inherit; line-height:inherit; font-weight:inherit; }
@media (any-pointer:coarse) {
  body.woocommerce #main .elementor-8215 .elementor-element-a350105 .elementor-button { min-block-size:44px; }
}
