/* Explicit paint adapters for native Woo/Leaflet/PhotoSwipe controls.
   Native elements, labels, focus, handlers, disabled state and React children stay owned by their libraries. */
body.tst-redesign :is(.wc-block-cart-item__remove-link>svg,.wc-blocks-components-select__expand,.wc-block-components-chip__remove>svg) {
  background:currentColor;-webkit-mask:var(--tst-native-icon) center/contain no-repeat;mask:var(--tst-native-icon) center/contain no-repeat;
}
body.tst-redesign :is(.wc-block-cart-item__remove-link>svg,.wc-blocks-components-select__expand,.wc-block-components-chip__remove>svg)>* {visibility:hidden}
body.tst-redesign .wc-block-cart-item__remove-link>svg {--tst-native-icon:url('icons/vuesax/trash.svg')}
body.tst-redesign .wc-blocks-components-select__expand {--tst-native-icon:url('icons/vuesax/chevron-down.svg')}
body.tst-redesign .wc-block-components-chip__remove>svg {--tst-native-icon:url('icons/vuesax/x.svg')}
body.tst-redesign :is(.wc-block-components-quantity-selector__button,.leaflet-control-zoom a) {position:relative;color:transparent;text-shadow:none}
body.tst-redesign :is(.wc-block-components-quantity-selector__button,.leaflet-control-zoom a)::after,
body.tst-redesign .pswp :is(.pswp__button--close,.pswp__button--share,.pswp__button--fs,.pswp__button--zoom,.pswp__button--arrow--left,.pswp__button--arrow--right)::after {
  content:'';position:absolute;inset:0;margin:auto;width:var(--tst-icon-glyph-size);height:var(--tst-icon-glyph-size);background:var(--tst-ink);-webkit-mask:var(--tst-native-icon) center/contain no-repeat;mask:var(--tst-native-icon) center/contain no-repeat;pointer-events:none;
}
body.tst-redesign :is(.wc-block-components-quantity-selector__button--plus,.leaflet-control-zoom-in) {--tst-native-icon:url('icons/vuesax/plus.svg')}
body.tst-redesign :is(.wc-block-components-quantity-selector__button--minus,.leaflet-control-zoom-out) {--tst-native-icon:url('icons/vuesax/minus.svg')}
body.tst-redesign :is(.wc-block-components-quantity-selector__button:disabled,.leaflet-control-zoom a.leaflet-disabled)::after {background:var(--tst-action-disabled-ink)}
/* Woo enforces its toolbar sprite with !important. Replace only that image; arrow glass stays owned by glass.css. */
body.tst-redesign .pswp :is(.pswp__button--close,.pswp__button--share,.pswp__button--fs,.pswp__button--zoom) {background-image:none!important}
body.tst-redesign .pswp :is(.pswp__button--arrow--left,.pswp__button--arrow--right)::before {content:none}
body.tst-redesign .pswp .pswp__button::after {width:var(--tst-nav-icon-size);height:var(--tst-nav-icon-size)}
body.tst-redesign .pswp__button--close {--tst-native-icon:url('icons/vuesax/x.svg')}
body.tst-redesign .pswp__button--share {--tst-native-icon:url('icons/vuesax/external-link.svg')}
body.tst-redesign .pswp__button--fs {--tst-native-icon:url('icons/vuesax/maximize.svg')}
body.tst-redesign .pswp--fs .pswp__button--fs {--tst-native-icon:url('icons/vuesax/minimize.svg')}
body.tst-redesign .pswp__button--zoom {--tst-native-icon:url('icons/vuesax/zoom-in.svg')}
body.tst-redesign .pswp--zoomed-in .pswp__button--zoom {--tst-native-icon:url('icons/vuesax/zoom-out.svg')}
body.tst-redesign .pswp__button--arrow--left {--tst-native-icon:url('icons/vuesax/chevron-left.svg')}
body.tst-redesign .pswp__button--arrow--right {--tst-native-icon:url('icons/vuesax/chevron-right.svg')}
body.tst-redesign .woocommerce .show-password-input::after {content:'';position:absolute;inset:0;margin:auto;width:var(--tst-icon-glyph-size);height:var(--tst-icon-glyph-size);background:var(--tst-ink);-webkit-mask:url('icons/vuesax/eye.svg') center/contain no-repeat;mask:url('icons/vuesax/eye.svg') center/contain no-repeat;pointer-events:none}
body.tst-redesign .woocommerce .show-password-input.display-password::after {-webkit-mask-image:url('icons/vuesax/eye-slash.svg');mask-image:url('icons/vuesax/eye-slash.svg')}
@media(forced-colors:active) {
  body.tst-redesign :is(.wc-block-cart-item__remove-link>svg,.wc-blocks-components-select__expand,.wc-block-components-chip__remove>svg),
  body.tst-redesign :is(.wc-block-components-quantity-selector__button,.leaflet-control-zoom a)::after,
  body.tst-redesign .pswp .pswp__button::after,
  body.tst-redesign .woocommerce .show-password-input::after {forced-color-adjust:none;background:CanvasText}
}
