PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.1
ShopBuilder – WooCommerce Builder For Elementor v3.2.1
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Elementor/Helper/ControlSelectors.php +192 -111 3.4.13.2.1 View file →
@@ -9,9 +9,8 @@
9 9 */
10 10
11 11 namespace RadiusTheme\SB\Elementor\Helper;
12 12
13 -use RadiusTheme\SB\Elementor\Widgets\Archive\ProductFilters;
14 13 use RadiusTheme\SB\Elementor\Widgets\General\{AdvancedHeading,
15 14 DropCaps,
16 15 ShopBuilderButton,
17 16 CallToAction,
@@ -282,9 +281,9 @@
282 281 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
283 282 'arrows_hover_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
284 283 'arrows_hover_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
285 284 'arrows_hover_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
286 - 'dots_gap' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
285 + 'dots_gap' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper',
287 286 'dots_size' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
288 287 'dot_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
289 288 'dot_active_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active',
290 289 // Pagination.
@@ -327,9 +326,9 @@
327 326 */
328 327 private static function general_widget_selectors(): array {
329 328 $selectors = [
330 329 'rtsb-product-breadcrumbs' => [
331 - 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
330 + 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb',
332 331 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
333 332 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a',
334 333 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover',
335 334 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
@@ -426,14 +425,14 @@
426 425 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
427 426 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
428 427 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
429 428 'table_header_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
430 - 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span',
429 + 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a',
431 430 'table_item_align' => '{{WRAPPER}} .rtsb-wishlist-content table td',
432 - 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span',
431 + 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a',
433 432 'table_item_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table td',
434 - 'column_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th,{{WRAPPER}} .rtsb-wishlist-content table tbody td',
435 - 'table_item_text_decoration' => '{{WRAPPER}} .rtsb-wishlist-content table td, {{WRAPPER}} .rtsb-wishlist-content table td a, {{WRAPPER}} .rtsb-wishlist-content table td a span, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span',
433 + 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
434 + 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody td',
436 435 ],
437 436 'rtsb-advanced-heading' => AdvancedHeading\Selectors::get_selectors(),
438 437 'rtsb-dropcaps' => DropCaps\Selectors::get_selectors(),
439 438 'rtsb-shopbuilder-button' => ShopBuilderButton\Selectors::get_selectors(),
@@ -535,14 +534,9 @@
535 534 'rtsb-product-additional-info' => [
536 535 'heading_typography' => '{{WRAPPER}} .rtsb-product-additional-information h2',
537 536 'heading_color' => '{{WRAPPER}} .rtsb-product-additional-information h2',
538 537 'heading_margin' => '{{WRAPPER}} .rtsb-product-additional-information h2',
539 - // Target the label + value cells (and the value's <p>) directly, by their WooCommerce
540 - // classes, so Content Typography (font-weight, text-transform, …) reliably overrides the
541 - // theme's higher-specificity `.woocommerce-js table.shop_attributes th` (0,2,2) rule and
542 - // applies UNIFORMLY. Styling only `.shop_attributes` (the table) let the theme's direct
543 - // th/cell rules win the cascade, so labels and values ended up styled inconsistently.
544 - 'content_typography' => '{{WRAPPER}} .shop_attributes th.woocommerce-product-attributes-item__label, {{WRAPPER}} .shop_attributes td.woocommerce-product-attributes-item__value, {{WRAPPER}} .shop_attributes td.woocommerce-product-attributes-item__value p',
538 + 'content_typography' => '{{WRAPPER}} .shop_attributes',
545 539 'content_color' => '{{WRAPPER}} .shop_attributes',
546 540 'content_border' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
547 541 'content_padding' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
548 542 ],
@@ -636,11 +630,10 @@
636 630 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img',
637 631 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image, {{WRAPPER}} .rtsb-product-images .product-vg-gallery',
638 632 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image',
639 633 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li',
640 - 'thumb_border' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout .rtwpvg-gallery-image',
641 - 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper :is(.rtsb-vs-thumb-item, .rtsb-vs-thumb-item img), {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider :is(.rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout :is(.rtwpvg-gallery-image, img)',
642 - 'gallery_thumbs_padding' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout .rtwpvg-gallery-image',
634 + 'thumb_border' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
635 + 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
643 636 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale',
644 637 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
645 638 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
646 639 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale',
@@ -674,10 +667,10 @@
674 667 'align' => '{{WRAPPER}} .product_meta',
675 668 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
676 669 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
677 670 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
678 - 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label',
679 - 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label',
671 + 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
672 + 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
680 673 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
681 674 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
682 675 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover',
683 676 ],
@@ -715,20 +708,20 @@
715 708 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
716 709 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover',
717 710 ],
718 711 'rtsb-product-stock' => [
719 - 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock .rtsb-stock-text',
720 - 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock .rtsb-stock-text',
721 - 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock .rtsb-stock-text',
722 - 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder .rtsb-stock-text',
712 + 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock',
713 + 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock',
714 + 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock',
715 + 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder',
723 716 'icon_size' => [
724 717 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i',
725 718 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg',
726 719 ],
727 - 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock :is(i, svg)',
728 - 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock > .stock',
729 - 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock > .stock',
730 - 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock > .stock',
720 + 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i',
721 + 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p',
722 + 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p',
723 + 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p',
731 724 ],
732 725 'rtsb-product-tabs' => array_merge(
733 726 self::reviews_settings_selecotor(),
734 727 [
@@ -753,9 +746,9 @@
753 746 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
754 747 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
755 748 'tab_content_title_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child, {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .woocommerce-Reviews-title',
756 749
757 - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)',
750 + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes',
758 751 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th',
759 752 ]
760 753 ),
761 754 'rtsb-product-title' => [
@@ -773,48 +766,30 @@
773 766 'align' => '{{WRAPPER}}',
774 767 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)',
775 768 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
776 769 ],
777 - // The widget badge lives inside `{{WRAPPER}} .rtsb-product-onsale`; the Badges
778 - // module also renders group badges on the main product gallery (above-image
779 - // position). Style both from the same controls by pairing the widget selector
780 - // with a gallery-scoped selector for the module group badges. The gallery
781 - // scope (`.woocommerce-product-gallery`/`.rtsb-product-images`) keeps related
782 - // product card badges untouched.
783 770 'rtsb-product-onsale' => [
784 - 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
785 - 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
786 - 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
787 - 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after, :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
788 - 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
789 - 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
790 - 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
771 + 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
772 + 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
773 + 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
774 + 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after',
775 + 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
776 + 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
777 + 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
791 778 'product_badges' => [
792 - // Match BOTH the free wrapper (.rtsb-product-onsale, from
793 - // templates/elementor/single-product/product-badges.php) AND the pro wrapper
794 - // (.rtsb-product-badges-widgets, from the pro template override). Scoping only to
795 - // `.rtsb-product-onsale` made every badge style control (typography/color/bg/
796 - // border/padding/margin) silently no-op on pro sites, where that div is absent.
797 - // `:is()` matches the most specific arg, preserving the original (0,3,0) specificity.
798 - // Padding/margin also target the Badges-module group badges on the product gallery.
799 - 'typography' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill, .rtsb-tag-outline)',
800 - 'color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)',
801 - 'bg_color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)',
802 - 'border_color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
803 - 'border_radius' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)',
804 - 'padding' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
805 - 'margin' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
779 + 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)',
780 + 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
781 + 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
782 + 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
783 + 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
784 + 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
785 + 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
806 786 'position_x' => '',
807 787 'position_y' => '',
808 788 ],
809 789 'badges_module' => [
810 - // Compound (no descendant combinator): `.rtsb-badge-group-style` and `.rtsb-promotion`
811 - // are emitted on the SAME element by BadgesFrontEnd::group_badges_html(). The pro
812 - // single-product template drops the outer `.rtsb-promotion` wrapper, so a descendant
813 - // selector matches nothing and the Direction/Alignment controls silently no-op.
814 - 'direction' => '{{WRAPPER}} .rtsb-promotion.rtsb-badge-group-style',
815 - 'alignment' => '{{WRAPPER}} .rtsb-promotion.rtsb-badge-group-style',
816 - 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)',
790 + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
791 + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
817 792 ],
818 793 ],
819 794 ];
820 795
@@ -869,8 +844,9 @@
869 844 'mode_button_align' => '{{WRAPPER}}',
870 845 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a',
871 846 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a',
872 847 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode',
848 + 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
873 849 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
874 850 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
875 851 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a',
876 852 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
@@ -880,12 +856,9 @@
880 856 ],
881 857 'rtsb-archive-result-count' => [
882 858 'align' => '{{WRAPPER}}',
883 859 'text_color' => '{{WRAPPER}}',
884 - // Also target the inner <p> (woocommerce_result_count output): text-decoration
885 - // is not inherited and does not draw through the descendant block, so it must
886 - // hit the text element directly. Other typography keeps working via the div.
887 - 'typo' => '{{WRAPPER}} .rtsb-archive-result-count, {{WRAPPER}} .rtsb-archive-result-count .woocommerce-result-count',
860 + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count',
888 861 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count',
889 862 ],
890 863 'rtsb-products-ordering' => [
891 864 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )',
@@ -900,9 +873,126 @@
900 873 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
901 874 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
902 875 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
903 876 ],
904 - 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(),
877 + 'rtsb-product-filters' => [
878 + 'filter_types' => [
879 + 'column_gap' => '{{WRAPPER}} .rtsb-archive-catalog-ordering',
880 + ],
881 + 'filter_header' => [
882 + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
883 + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
884 + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
885 + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
886 + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
887 + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
888 + ],
889 + 'filter_title' => [
890 + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
891 + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
892 + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
893 + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
894 + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
895 + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
896 + ],
897 + 'search_styles' => [
898 + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
899 + 'button_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
900 + 'icon_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
901 + 'placeholder_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder',
902 + 'search_input_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
903 + 'search_button_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
904 + 'search_icon_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg',
905 + 'search_icon_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg',
906 + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
907 + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
908 + 'button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
909 + 'button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
910 + 'placeholder_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder',
911 + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
912 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
913 + 'hover_button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
914 + 'hover_button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
915 + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
916 + 'button_border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
917 + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
918 + 'button_border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
919 + 'input_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
920 + 'button_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
921 + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
922 + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
923 + 'button_padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
924 + 'button_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
925 + 'wrapper_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search',
926 + ],
927 + 'rating' => [
928 + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star',
929 + 'rating_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.inactive',
930 + 'count_position' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count',
931 + 'rating_active_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.active',
932 + 'rating_selected_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-filter-trigger.checked + .rtsb-checkbox-filter-label .rtsb-default-rating-star.active',
933 + 'rating_padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group',
934 + 'rating_margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group',
935 + ],
936 + 'apply_btn' => [
937 + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
938 + 'apply_btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
939 + 'icon_display' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
940 + 'apply_icon_size' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
941 + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
942 + 'icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
943 + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
944 + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
945 + 'hover_icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover .icon',
946 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
947 + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
948 + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
949 + 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
950 + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
951 + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
952 + ],
953 + 'reset_btn' => [
954 + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
955 + 'btn_width' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
956 + 'color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
957 + 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
958 + 'hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
959 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
960 + 'border' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
961 + 'border_hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
962 + 'border_radius' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
963 + 'padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
964 + 'margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
965 + ],
966 + 'mobile_toggle_btn' => [
967 + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
968 + 'btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
969 + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
970 + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
971 + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover',
972 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover',
973 + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
974 + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover',
975 + 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
976 + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
977 + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
978 + ],
979 + 'filter_items' => [
980 + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters input.rtsb-checkbox-filter + label, {{WRAPPER}} .rtsb-product-default-filters input.rtsb-radio-filter + label, {{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs label',
981 + 'count_display' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-default-filter-group .rtsb-product-count',
982 + 'color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter label',
983 + 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
984 + 'count_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count',
985 + 'border' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
986 + 'padding' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
987 + 'margin' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
988 + 'wrapper_padding' => '{{WRAPPER}} .rtsb-product-default-filters .default-filter-content > ul',
989 + 'wrapper_margin' => '{{WRAPPER}} .rtsb-product-default-filters > .default-filter-content > ul',
990 + 'subcat_margin' => '{{WRAPPER}} .rtsb-categories .default-filter-content ul ul',
991 + 'input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper input.rtsb-radio-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs .filter-price-field',
992 + 'active_input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-radio input.rtsb-checkbox-filter:checked + label:after,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter:checked + label:after',
993 + ],
994 + ],
905 995 ];
906 996
907 997 return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors );
908 998 }
@@ -939,9 +1029,9 @@
939 1029 'rtsb-product-cart-totals' => [
940 1030 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2',
941 1031 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
942 1032 // Title Style.
943 - 'title_align' => '{{WRAPPER}} .rtsb-cart-totals h2',
1033 + 'title_align' => '{{WRAPPER}}',
944 1034 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2',
945 1035 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2',
946 1036 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2',
947 1037 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2',
@@ -995,9 +1085,9 @@
995 1085 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
996 1086 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
997 1087 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
998 1088 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text',
999 - 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input, {{WRAPPER}} .woocommerce-cart-form input::placeholder',
1089 + 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1000 1090 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1001 1091
1002 1092 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button',
1003 1093 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button',
@@ -1061,14 +1151,14 @@
1061 1151 'th' => '{{WRAPPER}} .shop_table.cart tr th',
1062 1152 'td' => '{{WRAPPER}} .shop_table.cart tr td',
1063 1153 ],
1064 1154
1065 - 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items',
1066 - 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items',
1067 - 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items',
1068 - 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover',
1069 - 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover',
1070 - 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover',
1155 + 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1156 + 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1157 + 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1158 + 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1159 + 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1160 + 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1071 1161
1072 1162 // Table.
1073 1163 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr',
1074 1164
@@ -1478,9 +1568,9 @@
1478 1568 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1479 1569 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content',
1480 1570 'grid_alignment' => [
1481 1571 'text_align' => '{{WRAPPER}} .rtsb-elementor-container, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content',
1482 - 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.show-cart-text .rtsb-action-button-list',
1572 + 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list',
1483 1573 ],
1484 1574 ],
1485 1575 'color_scheme' => [
1486 1576 'primary_color' => '{{WRAPPER}}',
@@ -1493,9 +1583,9 @@
1493 1583 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .product-count',
1494 1584 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid:hover .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid:hover .category-wrapper .product-count',
1495 1585 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid:hover .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid:hover .category-wrapper .product-count',
1496 1586 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1497 - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover',
1587 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count',
1498 1588 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1499 1589 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1500 1590 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1501 1591 ],
@@ -1542,11 +1632,10 @@
1542 1632 'content_border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image:hover',
1543 1633 'content_border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
1544 1634 ],
1545 1635 'badges_module' => [
1546 - 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1547 - 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1548 - 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)',
1636 + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1637 + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1549 1638 ],
1550 1639 ]
1551 1640 );
1552 1641 }
@@ -1609,16 +1698,12 @@
1609 1698 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1610 1699 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1611 1700 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1612 1701 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1613 - // Layout 2 (grid/slider) reveals a hover button that overlays the title wrapper and captures :hover, so the
1614 - // wrapper's own :hover never fires; the extra `.rtsb-product:hover .product-title-with-btn` clause re-applies the
1615 - // hover text/bg/border color on product-card hover. NOTE: layout 2 fades the title text out on hover, so the
1616 - // hover *text* color is not visibly noticeable there — the wrapper background and border remain visible.
1617 - 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .product-title',
1618 - 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .rtsb-product-title-wrapper',
1702 + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title',
1703 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover',
1619 1704 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper',
1620 - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .rtsb-product-title-wrapper',
1705 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover',
1621 1706 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1622 1707 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1623 1708 ],
1624 1709 'short_description' => array_fill_keys(
@@ -1635,32 +1720,28 @@
1635 1720 ),
1636 1721 'action_buttons' => [
1637 1722 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list',
1638 1723 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list',
1639 - 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text',
1640 1724 ],
1641 1725 'product_price' => [
1642 - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del',
1643 - 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins',
1644 - 'regular_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del',
1645 - 'sale_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins',
1646 - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1647 - 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1648 - 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1649 - 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1650 - 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1651 - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1652 - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1653 - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1726 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container .price-wrapper ins .woocommerce-Price-amount, {{WRAPPER}}.elementor-element .rtsb-elementor-container.products .price-wrapper > p',
1727 + 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1728 + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1729 + 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1730 + 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1731 + 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1732 + 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1733 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1734 + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1735 + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1654 1736 ],
1655 1737 'product_rating' => [
1656 - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1657 - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1658 - 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1659 - 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1660 - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1661 - 'spacing_preset2' => '{{WRAPPER}} .rtsb-elementor-container .product-rating.preset2, {{WRAPPER}} .rtsb-elementor-container .product-rating.preset2 .inner-wrapper',
1662 - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1738 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1739 + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1740 + 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1741 + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1742 + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1743 + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1663 1744 ],
1664 1745 'product_categories' => [
1665 1746 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1666 1747 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category',
@@ -1713,8 +1794,12 @@
1713 1794 'icon_size' => [
1714 1795 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1715 1796 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg',
1716 1797 ],
1798 + 'cart_icon_spacing' => [
1799 + 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text',
1800 + 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text',
1801 + ],
1717 1802 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1718 1803 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1719 1804 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1720 1805 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
@@ -1779,13 +1864,9 @@
1779 1864 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1780 1865 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1781 1866 ],
1782 1867 'hover_icon_button' => [
1783 - // Include `.text` (the label span): the button is display:inline-flex, so its
1784 - // `.text` child is a flex item and `text-decoration` set on the <a> does NOT
1785 - // propagate to it (the Text Decoration control would silently do nothing).
1786 - // Other typography props inherit fine; decoration must hit `.text` directly.
1787 - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a, {{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text',
1868 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1788 1869 'icon_size' => [
1789 1870 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1790 1871 'svg' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon svg',
1791 1872 ],