PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.4.0
ShopBuilder – WooCommerce Builder For Elementor v3.4.0
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
shopbuilder / app / Elementor / Helper / ControlSelectors.php

ControlSelectors.php in ShopBuilder – WooCommerce Builder For Elementor 3.4.0, at app/Elementor/Helper/ControlSelectors.php

1,944 lines 156.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * BuilderFns class
4 *
5 * The builder.
6 *
7 * @package RadiusTheme\SB
8 * @since 1.0.0
9 */
10
11 namespace RadiusTheme\SB\Elementor\Helper;
12
13 use RadiusTheme\SB\Elementor\Widgets\Archive\ProductFilters;
14 use RadiusTheme\SB\Elementor\Widgets\General\{AdvancedHeading,
15 DropCaps,
16 ShopBuilderButton,
17 CallToAction,
18 InfoBox,
19 FlipBox,
20 Counter,
21 CountDown,
22 PricingTable,
23 ProgressBar,
24 ImageAccordion,
25 ShopBuilderFaq,
26 LogoSliderAndGrid,
27 Testimonial,
28 TeamMember,
29 PostList,
30 PostGrid
31 };
32
33 // Do not allow directly accessing this file.
34 if ( ! defined( 'ABSPATH' ) ) {
35 exit( 'This script cannot be accessed directly.' );
36 }
37
38 /**
39 * BuilderFns class
40 */
41 class ControlSelectors {
42
43 /**
44 * Get Widget Selectors.
45 *
46 * @param object $widget Widget object.
47 *
48 * @return array
49 */
50 public static function get_widget_selectors( $widget ): array {
51 $selectors = [];
52 $widget_selectors = self::widget_selectors();
53 if ( ! empty( $widget_selectors[ $widget->rtsb_base ] ) ) {
54 $selectors = $widget_selectors[ $widget->rtsb_base ];
55 }
56
57 return apply_filters( 'rtsb/elements/elementor/widget/selectors/' . $widget->rtsb_base, $selectors, $widget );
58 }
59
60 /**
61 * Widget Control Selectors.
62 *
63 * @return array
64 */
65 private static function widget_selectors(): array {
66 $selectors = array_merge(
67 self::product_widget_selectors(),
68 self::archive_widget_selectors(),
69 self::cart_widget_selectors(),
70 self::checkout_widget_selectors(),
71 self::general_widget_selectors()
72 );
73
74 return apply_filters( 'rtsb/elements/elementor/widget/selectors', $selectors );
75 }
76
77 /**
78 * Carousel Selectors.
79 *
80 * @return array
81 */
82 public static function carousel_selector(): array {
83 $defaults = [
84 'slider_btn' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
85 'slider_wrapper' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper',
86 'slider_pagination' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
87 'slider_pagination_active' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active',
88 ];
89
90 return apply_filters( 'rtsb/elements/elementor/product_carousel_selectors', $defaults );
91 }
92
93 /**
94 * Carousel Selectors.
95 *
96 * @return array
97 */
98 public static function review_star_icon_selector(): array {
99 $defaults = [
100 'review_star_icon_default_color' => '{{WRAPPER}} .star-rating::before, {{WRAPPER}} p.stars a:before, {{WRAPPER}} p.stars a:hover~a:before, {{WRAPPER}} p.stars.selected a.active~a:before',
101 'review_star_icon_color' => '{{WRAPPER}} .star-rating span::before, {{WRAPPER}} p.stars.selected a.active:before, {{WRAPPER}} p.stars:hover a:before, {{WRAPPER}} p.stars.selected a:not(.active):before, {{WRAPPER}} p.stars.selected a.active:before',
102 'review_star_icon_size' => '{{WRAPPER}} .star-rating',
103 'review_star_icon_specing' => '{{WRAPPER}} .star-rating',
104 'review_star_icon_margin' => '{{WRAPPER}} .woocommerce-product-rating',
105 ];
106
107 return apply_filters( 'rtsb/elements/elementor/review_star_icon_selector', $defaults );
108 }
109
110 /**
111 * Carousel Selectors.
112 *
113 * @return array
114 */
115 public static function button_settings_selector(): array {
116 $defaults = [
117 'button_typography' => '{{WRAPPER}} .button',
118 'button_height' => '{{WRAPPER}} .button',
119 'button_width' => '{{WRAPPER}} .button',
120 'button_text_color_normal' => '{{WRAPPER}} .button,{{WRAPPER}} .rtsb-myacount-page .woocommerce-table tbody td a.button,{{WRAPPER}} .rtsb-myacount-page .woocommerce-orders-table tbody td a.button,{{WRAPPER}} .rtsb-myacount-page .woocommerce-pagination a.button',
121 'button_bg_color_normal' => '{{WRAPPER}} .button',
122 'button_border' => '{{WRAPPER}} .button',
123 'button_text_color_hover' => '{{WRAPPER}} .button:hover,{{WRAPPER}} .rtsb-myacount-page .woocommerce-table tbody td a.button:hover,{{WRAPPER}} .rtsb-myacount-page .woocommerce-pagination a.button:hover,{{WRAPPER}} .rtsb-myacount-page .woocommerce-orders-table tbody td a.button:hover',
124 'button_bg_color_hover' => '{{WRAPPER}} .button:hover',
125 'button_border_hover_color' => '{{WRAPPER}} .button:hover',
126 'button_border_radius' => '{{WRAPPER}} .button',
127 'button_padding' => '{{WRAPPER}} .button',
128 'button_margin' => '{{WRAPPER}} .button',
129 ];
130
131 return apply_filters( 'rtsb/elements/elementor/button_settings_selector', $defaults );
132 }
133
134 /**
135 * Carousel Selectors.
136 *
137 * @return array
138 */
139 public static function reviews_settings_selecotor(): array {
140 $defaults = array_merge(
141 self::review_star_icon_selector(),
142 [
143 'review_heading_typography' => '{{WRAPPER}} #reviews .woocommerce-Reviews-title',
144 'review_heading_color' => '{{WRAPPER}} #reviews .woocommerce-Reviews-title',
145 'review_title_margin' => '{{WRAPPER}} #reviews .woocommerce-Reviews-title',
146
147 'form_heading_typography' => '{{WRAPPER}} #reviews #reply-title',
148 'form_heading_color' => '{{WRAPPER}} #reviews #reply-title',
149 'noform_heading_color' => '{{WRAPPER}} #reviews .woocommerce-noreviews',
150 'form_title_margin' => '{{WRAPPER}} #reviews #reply-title',
151 'input_label_typography' => '{{WRAPPER}} #commentform label',
152 'review_label_color' => '{{WRAPPER}} #commentform label',
153 'review_label_required' => '{{WRAPPER}} #commentform .required',
154
155 'review_input_color' => '{{WRAPPER}} #review_form #respond .comment-form :is(input:not([type=checkbox], .submit), textarea)',
156 'review_input_border_color' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea, input:not(.submit))',
157 'review_input_border_color_focus' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea, input):focus',
158 'label_input_text_typography' => '{{WRAPPER}} #review_form #respond .comment-form :is(input:not([type=checkbox], [type=submit] ), textarea)',
159 'review_comment_field_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea)',
160 'review_form_rating_size' => '{{WRAPPER}} p.stars a',
161 'review_field_spacing' => [
162 'margin-0' => '{{WRAPPER}} #review_form #respond :is(.comment-form)',
163 'margin-buttom' => '{{WRAPPER}} #review_form #respond .comment-form :is(.comment-notes, .comment-form-rating, .comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-cookies-consent)',
164 ],
165 'review_input_border_radius' => '{{WRAPPER}} #review_form #respond .comment-form :is(input:not([type=submit]), textarea )',
166 'review_input_padding' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea, input:not(#wp-comment-cookies-consent, .submit))',
167
168 'button_typography' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
169 'submit_button_alignment' => [
170 'text-align' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit',
171 'float' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit input#submit',
172 ],
173 'submit_button_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
174 'button_text_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
175 'button_bg_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
176 'button_border' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
177 'button_text_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
178 'button_bg_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
179 'button_border_hover_color' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
180 'button_border_radius' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
181 'button_padding' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
182 'button_margin' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
183
184 'review_meta_color' => '{{WRAPPER}} #reviews #comments ol.commentlist li .meta',
185 'description_color' => '{{WRAPPER}} #reviews .description, {{WRAPPER}} #reviews .description p',
186 'review_border' => '{{WRAPPER}} #reviews #comments ol.commentlist li .comment-text',
187 'review_meta_typography' => '{{WRAPPER}} #reviews #comments ol.commentlist li .meta',
188 'review_desc_typography' => '{{WRAPPER}} #reviews .description, {{WRAPPER}} #reviews .description p',
189 'review_single_spacing' => '{{WRAPPER}} #reviews #comments ol.commentlist li',
190 'review_padding' => '{{WRAPPER}} #reviews #comments ol.commentlist li .comment-text',
191
192 ]
193 );
194
195 return apply_filters( 'rtsb/elements/elementor/reviews_settings_selecotor', $defaults );
196 }
197
198 /**
199 * Module Button Selectors.
200 *
201 * @return array
202 */
203 public static function module_btn_selector(): array {
204 $defaults = [
205 'module_width' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
206 'module_height' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
207 'module_text_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
208 'module_bg_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
209 'module_border' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
210 'module_text_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
211 'module_bg_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
212 'module_border_hover_color' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
213 'module_border_radius' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
214 'module_item_gap' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
215 'module_wrapper_margin' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
216 'module_item_alignment' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
217 'icon_size' => [
218 'icon' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
219 'svg' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) svg',
220 ],
221 ];
222
223 return apply_filters( 'rtsb/elements/elementor/module_btn_selector', $defaults );
224 }
225
226 /**
227 * Products Loop Default Selectors
228 *
229 * @return array
230 */
231 public static function products_loop_default_selector(): array {
232 $defaults = [
233 // Product Image.
234 'product_image_bg_color' => '{{WRAPPER}} .products .product img',
235 'product_image_height' => '{{WRAPPER}} .products .product img',
236 'product_image_auto_fit' => '{{WRAPPER}} .products .product img',
237 'product_image_padding' => '{{WRAPPER}} .products .product img',
238 // Product Title.
239 'product_title_typography' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title',
240 'product_title_color' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title',
241 'product_title_hover_color' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title:hover',
242 'product_title_padding' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title',
243
244 // Product Price.
245 'product_price_typography' => '{{WRAPPER}} .products .product .price, {{WRAPPER}} .products .product ins .woocommerce-Price-amount',
246 'product_price_color' => '{{WRAPPER}} .products .product .price',
247 'product_reguler_price_color' => '{{WRAPPER}} .products .product .price :is(del, del span, del .amount)',
248 'product_price_padding' => '{{WRAPPER}} .products .product .price',
249 // FLash Sale.
250 'flash_sale_typography' => '{{WRAPPER}} .products .product .onsale',
251 'product_flash_sale_color' => '{{WRAPPER}} .products .product .onsale',
252 'flash_sale_bg_color' => '{{WRAPPER}} .products .product .onsale',
253 'flash_sale_badge_width' => '{{WRAPPER}} .products .product .onsale',
254 'flash_sale_badge_height' => '{{WRAPPER}} .products .product .onsale',
255 'flash_sale_badge_border_radius' => '{{WRAPPER}} .products .product .onsale',
256 // Cart Button.
257 'cart_button_typography' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
258 'cart_button_text_color_normal' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
259 'cart_button_bg_color_normal' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
260 'cart_button_border' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
261 'cart_button_text_color_hover' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ):hover',
262 'cart_button_bg_color_hover' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ):hover',
263 'cart_button_border_hover_color' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ):hover',
264 'cart_button_border_radius' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
265 'add_cart_button_padding' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
266 'add_cart_button_margin' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
267 'cart_height' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
268 'icon_align' => [
269 'align' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
270 'flex-direction' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ), {{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span)',
271 ],
272 'cart_icon_gap' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
273 'cart_icon_size' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span, svg):not(.ahfb-svg-iconset):not(.ast-card-action-tooltip)',
274 // Slider.
275 'slider_arrow_icon_size' => [
276 'icon' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn 1',
277 'svg' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn svg',
278 ],
279 'slider_arrow_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
280 'arrows_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
281 'arrows_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
282 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
283 'arrows_hover_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
284 'arrows_hover_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
285 'arrows_hover_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
286 'dots_gap' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper',
287 'dots_size' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
288 'dot_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
289 'dot_active_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active',
290 // Pagination.
291 'pagination_typography' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
292 'align' => '{{WRAPPER}} .woocommerce-pagination',
293 'pagination_gap' => '{{WRAPPER}} .woocommerce-pagination > .page-numbers',
294 'pagination_text_color_normal' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
295 'pagination_bg_color_normal' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
296 'pagination_border' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
297 'pagination_text_color_hover' => '{{WRAPPER}} .page-numbers:not(ul,div):hover,{{WRAPPER}} .woocommerce-pagination .page-numbers.current',
298 'pagination_bg_color_hover' => '{{WRAPPER}} .page-numbers:not(ul,div):hover, {{WRAPPER}} .woocommerce-pagination .page-numbers.current',
299 'pagination_border_hover_color' => '{{WRAPPER}} .page-numbers:not(ul,div):hover,{{WRAPPER}} .woocommerce-pagination .page-numbers.current',
300 'pagination_border_radius' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
301 'pagination_padding' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
302 'pagination_margin' => '{{WRAPPER}} .woocommerce-pagination',
303 'pagination_width' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
304 'pagination_height' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
305 'pagination_icon_size' => [
306 'icon' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i',
307 'svg' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) svg',
308 ],
309 // Review Star.
310 'review_star_icon_default_color' => '{{WRAPPER}} .products .product .star-rating::before, {{WRAPPER}} p.stars a:before, {{WRAPPER}} p.stars a:hover~a:before, {{WRAPPER}} p.stars.selected a.active~a:before',
311 'review_star_icon_color' => '{{WRAPPER}} .products .product .star-rating span::before, {{WRAPPER}} p.stars.selected a.active:before, {{WRAPPER}} p.stars:hover a:before, {{WRAPPER}} p.stars.selected a:not(.active):before, {{WRAPPER}} p.stars.selected a.active:before',
312 'review_star_icon_size' => '{{WRAPPER}} .products .product .star-rating',
313 'review_star_icon_specing' => '{{WRAPPER}} .products .product .star-rating',
314 'review_star_icon_margin' => '{{WRAPPER}} .products .product .star-rating',
315 'not_found_notice' => self::not_found_notice_selectors(),
316 ];
317 $defaults = array_merge( self::review_star_icon_selector(), self::module_btn_selector(), $defaults );
318
319 return apply_filters( 'rtsb/elements/elementor/product_loop_default_selectors', $defaults );
320 }
321
322
323 /**
324 * General Widget Selectors.
325 *
326 * @return array
327 */
328 private static function general_widget_selectors(): array {
329 $selectors = [
330 'rtsb-product-breadcrumbs' => [
331 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
332 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
333 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a',
334 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover',
335 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
336 'icon_size' => [
337 'icon' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
338 'svg' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator svg',
339 ],
340 'breadcrumbs_typography' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
341 'icon_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator i,{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
342 ],
343 'rtsb-wc-notice' => [
344 'notice_typography' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
345 'notice_icon_size' => [
346 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
347 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner > svg',
348 ],
349 'notice_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
350 'notice_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
351 'notice_icon_color' => [
352 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
353 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner > svg',
354 ],
355 'notice_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner > svg',
356 'notice_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
357 'notice_success_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-success)',
358 'notice_success_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-success)',
359 'notice_success_icon_color' => [
360 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
361 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-success > svg',
362 ],
363 'notice_success_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-success > svg',
364 'notice_success_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-success)',
365 'notice_error_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error',
366 'notice_error_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error',
367 'notice_error_icon_color' => [
368 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
369 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error > svg',
370 ],
371 'notice_error_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error > svg',
372 'notice_error_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-error)',
373 'notice_info_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info',
374 'notice_info_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info',
375 'notice_info_icon_color' => [
376 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
377 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info > svg',
378 ],
379 'notice_info_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info > svg',
380 'notice_info_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-info)',
381 'notice_padding' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
382 'button_height' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
383 'button_width' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
384 'button_typography' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
385 'button_text_color_normal' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
386 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
387 'button_border' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
388 'button_text_color_hover' => '{{WRAPPER}} .rtsb-notice a.button:hover, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover',
389 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-notice a.button:hover, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover',
390 'button_border_hover_color' => '{{WRAPPER}} .rtsb-notice a.button:hover, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover',
391 'button_border_radius' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
392 'button_padding' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
393 'button_margin' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
394 'notice_button_alignment' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
395 'notice_gap_multiple' => '{{WRAPPER}} .rtsb-notice .woocommerce-notices-wrapper, {{WRAPPER}} .rtsb-notice',
396 'notice_icon_gap' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
397 'notice_border_radius' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
398 ],
399 'rtsb-products-grid' => array_merge(
400 self::general_common_selectors(),
401 self::general_product_selectors()
402 ),
403 'rtsb-products-list' => array_merge(
404 self::general_common_selectors(),
405 self::general_product_selectors()
406 ),
407 'rtsb-products-slider' => array_merge(
408 self::general_common_selectors(),
409 self::general_product_selectors(),
410 self::general_slider_selectors(),
411 ),
412 'rtsb-product-categories-general' => array_merge(
413 self::general_common_selectors(),
414 self::general_cat_selectors()
415 ),
416 'rtsb-products-single-category' => array_merge(
417 self::general_common_selectors(),
418 self::general_cat_selectors()
419 ),
420 'rtsb-social-share' => array_merge(
421 self::social_share(),
422 ),
423 'rtsb-wishlist' => [
424 'table_border' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table th',
425 'table_heading_cell_padding' => '{{WRAPPER}} .rtsb-wishlist-content table th,{{WRAPPER}} .rtsb-wishlist-content table td',
426 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
427 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
428 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
429 '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',
431 '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',
433 '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',
436 ],
437 'rtsb-advanced-heading' => AdvancedHeading\Selectors::get_selectors(),
438 'rtsb-dropcaps' => DropCaps\Selectors::get_selectors(),
439 'rtsb-shopbuilder-button' => ShopBuilderButton\Selectors::get_selectors(),
440 'rtsb-call-to-action' => CallToAction\Selectors::get_selectors(),
441 'rtsb-info-box' => InfoBox\Selectors::get_selectors(),
442 'rtsb-pricing-table' => PricingTable\Selectors::get_selectors(),
443 'rtsb-flip-box' => FlipBox\Selectors::get_selectors(),
444 'rtsb-counter' => Counter\Selectors::get_selectors(),
445 'rtsb-countdown-addon' => CountDown\Selectors::get_selectors(),
446 'rtsb-progress-bar-addon' => ProgressBar\Selectors::get_selectors(),
447 'rtsb-image-accordion-addon' => ImageAccordion\Selectors::get_selectors(),
448 'rtsb-shopbuilder-faq' => ShopBuilderFaq\Selectors::get_selectors(),
449 'rtsb-logo-slider-and-grid' => LogoSliderAndGrid\Selectors::get_selectors(),
450 'rtsb-testimonial' => Testimonial\Selectors::get_selectors(),
451 'rtsb-team-member' => TeamMember\Selectors::get_selectors(),
452 'rtsb-post-list' => PostList\Selectors::get_selectors(),
453 'rtsb-post-grid' => PostGrid\Selectors::get_selectors(),
454 ];
455
456 return apply_filters( 'rtsb/elements/elementor/widget/general/selectors', $selectors );
457 }
458
459 /**
460 * Product Page Selectors.
461 *
462 * @return array
463 */
464 private static function product_widget_selectors(): array {
465 $selectors = [
466 'rtsb-related-product' => array_merge(
467 self::products_loop_default_selector(),
468 self::carousel_selector(),
469 [
470 'section_heading_typography' => '{{WRAPPER}} .rtsb-related-products .related > h2',
471 'section_heading_color' => '{{WRAPPER}} .rtsb-related-products .related > h2',
472 'section_title_margin' => '{{WRAPPER}} .rtsb-related-products .related > h2',
473 'section_title_align' => '{{WRAPPER}} .rtsb-related-products .related > h2',
474 ]
475 ),
476 'rtsb-related-product-custom' => array_merge(
477 self::general_common_selectors(),
478 self::general_product_selectors()
479 ),
480 'rtsb-related-products-slider' => array_merge(
481 self::general_common_selectors(),
482 self::general_product_selectors(),
483 self::general_slider_selectors(),
484 ),
485
486 'rtsb-upsells-product' => array_merge(
487 self::products_loop_default_selector(),
488 self::carousel_selector(),
489 [
490 'section_heading_typography' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
491 'section_heading_color' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
492 'section_title_margin' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
493 'section_title_align' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
494 ],
495 ),
496 'rtsb-upsells-product-custom' => array_merge(
497 self::general_common_selectors(),
498 self::general_product_selectors()
499 ),
500
501 'rtsb-upsells-product-slider' => array_merge(
502 self::general_common_selectors(),
503 self::general_product_selectors(),
504 self::general_slider_selectors(),
505 ),
506
507 'rtsb-actions-button' => [
508 'module_width' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon ',
509 'module_height' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
510 'module_text_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
511 'module_bg_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
512 'module_border' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
513 'module_text_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
514 'module_bg_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover .icon',
515 'module_border_hover_color' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover .icon',
516 'module_border_radius' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
517 'module_item_gap' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button ) ',
518 'module_wrapper_margin' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
519 'module_item_alignment' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
520 'icon_size' => [
521 'icon' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
522 'svg' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon svg',
523 ],
524
525 'separator_color_normal' => '{{WRAPPER}} .rtsb-actions-button .button-separator',
526 'separator_typography' => '{{WRAPPER}} .rtsb-actions-button .button-separator',
527 'typo' => '{{WRAPPER}} .rtsb-actions-button .button-text',
528 'align' => '{{WRAPPER}} .rtsb-actions-button .button-text',
529 'text_color' => '{{WRAPPER}} .rtsb-actions-button .button-text',
530 'text_hover_color' => '{{WRAPPER}} .rtsb-actions-button .button-text:hover',
531 'text_shadow' => '{{WRAPPER}} .rtsb-actions-button .button-text',
532 'text_margin' => '{{WRAPPER}} .rtsb-actions-button .button-text',
533
534 ],
535 'rtsb-product-additional-info' => [
536 'heading_typography' => '{{WRAPPER}} .rtsb-product-additional-information h2',
537 'heading_color' => '{{WRAPPER}} .rtsb-product-additional-information h2',
538 'heading_margin' => '{{WRAPPER}} .rtsb-product-additional-information h2',
539 'content_typography' => '{{WRAPPER}} .shop_attributes',
540 'content_color' => '{{WRAPPER}} .shop_attributes',
541 'content_border' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
542 'content_padding' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
543 ],
544 'rtsb-product-add-to-cart' => [
545 'button_height' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
546 'button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
547 'cart_icon_align' => [
548 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
549 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
550 ],
551 'cart_icon_gap' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
552 'button_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
553 'button_text_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
554 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
555 'button_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
556 'button_text_color_hover' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
557 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
558 'button_border_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
559 'button_border_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
560 'button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
561 'button_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
562 'cart_icon_size' => [
563 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
564 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
565 ],
566 'quantity_height' => [
567 'full' => '{{WRAPPER}} .rtsb-product-add-to-cart input[type=number], {{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-1,.rtsb-quantity-box-group-style-2) .rtsb-quantity-btn',
568 'half' => '{{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-3,.rtsb-quantity-box-group-style-4) .rtsb-quantity-btn',
569 ],
570 'quantity_increment_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus',
571 'quantity_decrement_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
572 'quantity_input_width' => '{{WRAPPER}} .rtsb-product-add-to-cart input.qty',
573 'quantity_button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
574
575 'icon_size' => [
576 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
577 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn svg',
578 ],
579 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity :is(i, svg)',
580 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover :is(i, svg)',
581 'text_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
582 'quantity_number_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
583 'quantity_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
584 'quantity_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
585 'quantity_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
586 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
587 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
588 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
589 'quantity_wrapper_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
590 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, .rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term',
591 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
592 'variation_item_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr:not(:last-child) .value',
593 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
594 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price',
595 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
596 'price_margin' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
597 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
598 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
599 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
600 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
601 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
602 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
603 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
604 'variation_outofstock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock.out-of-stock',
605
606 ],
607 'rtsb-product-categories' => [
608 'align' => '{{WRAPPER}} .rtsb-product-categories',
609 'label_typo' => '{{WRAPPER}} .rtsb-product-categories .categories-title',
610 'meta_label_color' => '{{WRAPPER}} .rtsb-product-categories .categories-title',
611 'value_typo' => '{{WRAPPER}} .rtsb-product-categories a',
612 'meta_value_color' => '{{WRAPPER}} .rtsb-product-categories a',
613 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-categories a:hover',
614 ],
615 'rtsb-product-description' => [
616 'typo' => '{{WRAPPER}} .rtsb-description, {{WRAPPER}} .rtsb-description p',
617 'align' => '{{WRAPPER}}',
618 'text_color' => '{{WRAPPER}} :is(.rtsb-description , p)',
619 'text_shadow' => '{{WRAPPER}} .rtsb-description , {{WRAPPER}} .rtsb-description p',
620 ],
621 'rtsb-product-tags' => [
622 'align' => '{{WRAPPER}} .rtsb-product-tags',
623 'label_typo' => '{{WRAPPER}} .rtsb-product-tags .tags-title',
624 'meta_label_color' => '{{WRAPPER}} .rtsb-product-tags .tags-title',
625 'value_typo' => '{{WRAPPER}} .rtsb-product-tags a',
626 'meta_value_color' => '{{WRAPPER}} .rtsb-product-tags a',
627 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-tags a:hover',
628 ],
629
630 'rtsb-product-image' => [
631 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img',
632 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image, {{WRAPPER}} .rtsb-product-images .product-vg-gallery',
633 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image',
634 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li',
635 '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',
636 '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',
637 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale',
638 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
639 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
640 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale',
641 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-images .onsale',
642 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .onsale',
643 'flash_sale_position_horizontal' => '{{WRAPPER}} .rtsb-product-images .onsale',
644 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale',
645 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
646
647 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
648 'zoom_icon_size' => [
649 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
650 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg',
651 ],
652 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
653 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
654 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
655 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
656 'zoom_position_horizontal' => [
657 'zoom_position' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger',
658 'rtwpvg-tr-br' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-top-right, .rtwpvg-trigger-position-bottom-right)',
659 'rtwpvg-tl-bl' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-top-left,.rtwpvg-trigger-position-bottom-left)',
660 ],
661 'zoom_position_vertical' => [
662 'zoom-icon-top' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger, {{WRAPPER}} .rtsb-product-images .rtwpvg-trigger',
663 'zoom-icon-bottom' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-bottom-right, .rtwpvg-trigger-position-bottom-left)',
664 ],
665 ],
666 'rtsb-product-meta' => [
667 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
668 'align' => '{{WRAPPER}} .product_meta',
669 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
670 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
671 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
672 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label',
673 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label',
674 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
675 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
676 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover',
677 ],
678 'rtsb-product-price' => [
679 'price_align' => '{{WRAPPER}}',
680 'space_between' => [
681 'del_price' => '{{WRAPPER}} .rtsb-product-price .price del',
682 'del_price_rtl' => '.rtl {{WRAPPER}} .rtsb-product-price .price del',
683 ],
684 'price_typo' => '{{WRAPPER}} .rtsb-product-price :is(.price, .price .amount, .price ins)',
685 'price_color' => '{{WRAPPER}} .rtsb-product-price :is(.price, .price .amount, .price ins)',
686 'sale_price_typo' => '{{WRAPPER}} .rtsb-product-price .price ins .amount',
687 'sale_price_color' => '{{WRAPPER}} .rtsb-product-price .price ins .amount',
688 ],
689 // New Convension.
690 'rtsb-product-rating' => array_merge(
691 self::review_star_icon_selector(),
692 [
693 'rating_align' => '{{WRAPPER}}',
694 'rating_text_link_color' => '{{WRAPPER}} .woocommerce-review-link',
695 'rating_text_link_hover_color' => '{{WRAPPER}} .woocommerce-review-link:hover',
696 'link_typography' => '{{WRAPPER}} .woocommerce-review-link',
697 'rating_space_between' => [
698 'margin-right' => 'body:not(.rtl) {{WRAPPER}} .star-rating',
699 'margin-left' => 'body.rtl {{WRAPPER}} .star-rating',
700 ],
701 ]
702 ),
703 'rtsb-product-reviews' => self::reviews_settings_selecotor(),
704 'rtsb-product-sku' => [
705 'align' => '{{WRAPPER}} .rtsb-product-sku',
706 'label_typo' => '{{WRAPPER}} .rtsb-product-sku .sku-label',
707 'meta_label_color' => '{{WRAPPER}} .rtsb-product-sku .sku-label',
708 'value_typo' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
709 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
710 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover',
711 ],
712 'rtsb-product-stock' => [
713 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock .rtsb-stock-text',
714 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock .rtsb-stock-text',
715 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock .rtsb-stock-text',
716 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder .rtsb-stock-text',
717 'icon_size' => [
718 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i',
719 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg',
720 ],
721 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock :is(i, svg)',
722 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock > .stock',
723 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock > .stock',
724 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock > .stock',
725 ],
726 'rtsb-product-tabs' => array_merge(
727 self::reviews_settings_selecotor(),
728 [
729 'nav_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
730 'nav_position' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs.tabs-custom-layout2 ul.wc-tabs',
731 'nav_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
732 'nav_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
733 'nav_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li',
734
735 'nav_active_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active a',
736 'nav_active_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active a',
737 'nav_active_border_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active',
738 'nav_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li:not(.active):hover a',
739 'nav_hover_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li:not(.active):hover a',
740 'nav_active_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
741 'nav_active_hover_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
742 'nav_active_hover_border_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
743 'nav_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a ',
744 'content_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab ',
745
746 'show_title' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child,{{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .comment-reply-title, {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .woocommerce-Reviews-title',
747 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
748 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
749 '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',
750
751 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)',
752 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th',
753 ]
754 ),
755 'rtsb-product-title' => [
756 'title_typo' => '{{WRAPPER}} .product_title',
757 'title_align' => '{{WRAPPER}}',
758 'title_color' => '{{WRAPPER}} .product_title',
759 'title_text_stroke' => '{{WRAPPER}} .product_title',
760 'title_text_shadow' => '{{WRAPPER}} .product_title',
761 'title_margin' => '{{WRAPPER}} .product_title',
762 'title_padding' => '{{WRAPPER}} .product_title',
763 'title_border' => '{{WRAPPER}} .product_title',
764 ],
765 'rtsb-short-description' => [
766 'typo' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
767 'align' => '{{WRAPPER}}',
768 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)',
769 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
770 ],
771 // The widget badge lives inside `{{WRAPPER}} .rtsb-product-onsale`; the Badges
772 // module also renders group badges on the main product gallery (above-image
773 // position). Style both from the same controls by pairing the widget selector
774 // with a gallery-scoped selector for the module group badges. The gallery
775 // scope (`.woocommerce-product-gallery`/`.rtsb-product-images`) keeps related
776 // product card badges untouched.
777 'rtsb-product-onsale' => [
778 '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)',
779 '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)',
780 '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)',
781 '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)',
782 '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)',
783 '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)',
784 '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)',
785 'product_badges' => [
786 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)',
787 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
788 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
789 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
790 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
791 'padding' => '{{WRAPPER}} .rtsb-product-onsale :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)',
792 'margin' => '{{WRAPPER}} .rtsb-product-onsale :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)',
793 'position_x' => '',
794 'position_y' => '',
795 ],
796 'badges_module' => [
797 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
798 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
799 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)',
800 ],
801 ],
802 ];
803
804 return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors );
805 }
806
807 /**
808 * Archive Selectors.
809 *
810 * @return array
811 */
812 private static function archive_widget_selectors(): array {
813 $selectors = [
814
815 'rtsb-products-archive' => array_merge(
816 self::products_loop_default_selector(),
817 [
818 'column_per_row' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .products .product',
819 'column_gap' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .products',
820 'row_gap' => '{{WRAPPER}} .rtsb-product-catalog .products',
821 'list_image_width' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-list-view .rtsb-image-wrapper',
822 'image_gap' => [
823 'margin-right' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-list-view .rtsb-image-wrapper',
824 'margin-bottom' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .rtsb-image-wrapper',
825 ],
826 ],
827 ),
828
829 'rtsb-products-archive-custom' => array_merge(
830 self::general_common_selectors(),
831 self::general_product_selectors()
832 ),
833
834 'rtsb-archive-title' => [
835 'archive_title_align' => '{{WRAPPER}}',
836 'archive_title_color' => '{{WRAPPER}} .archive-title',
837 'title_typo' => '{{WRAPPER}} .archive-title',
838 'text_stroke' => '{{WRAPPER}} .archive-title',
839 'text_shadow' => '{{WRAPPER}} .archive-title',
840 ],
841 'rtsb-archive-description' => [
842 'typo' => '{{WRAPPER}} .rtsb-archive-description',
843 'align' => '{{WRAPPER}}',
844 'text_color' => '{{WRAPPER}}',
845 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description',
846 ],
847 'rtsb-archive-product-mode' => [
848 'icon_size' => [
849 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i',
850 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg',
851 ],
852 'mode_button_align' => '{{WRAPPER}}',
853 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a',
854 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a',
855 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode',
856 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
857 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
858 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a',
859 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
860 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
861 'mode_button_border_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
862 'mode_button_radius' => '{{WRAPPER}} .rtsb-archive-view-mode a',
863 ],
864 'rtsb-archive-result-count' => [
865 'align' => '{{WRAPPER}}',
866 'text_color' => '{{WRAPPER}}',
867 // Also target the inner <p> (woocommerce_result_count output): text-decoration
868 // is not inherited and does not draw through the descendant block, so it must
869 // hit the text element directly. Other typography keeps working via the div.
870 'typo' => '{{WRAPPER}} .rtsb-archive-result-count, {{WRAPPER}} .rtsb-archive-result-count .woocommerce-result-count',
871 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count',
872 ],
873 'rtsb-products-ordering' => [
874 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )',
875 'align' => '{{WRAPPER}}',
876 'orderby_height' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
877 'orderby_width' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering,{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
878 'ordering_padding' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
879 'orderby_bg_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
880 'text_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
881 'orderby_border' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
882 'orderby_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
883 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
884 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
885 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
886 ],
887 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(),
888 ];
889
890 return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors );
891 }
892
893 /**
894 * Cart Selectors.
895 *
896 * @return array
897 */
898 private static function cart_widget_selectors(): array {
899 $selectors = [
900 'rtsb-cross-sells' => array_merge(
901 self::products_loop_default_selector(),
902 self::carousel_selector(),
903 [
904 'section_heading_typography' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
905 'section_heading_color' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
906 'section_title_margin' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
907 'section_title_align' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
908 ],
909 ),
910
911 'rtsb-cross-sell-product-custom' => array_merge(
912 self::general_common_selectors(),
913 self::general_product_selectors()
914 ),
915
916 'rtsb-crosssell-product-slider' => array_merge(
917 self::general_common_selectors(),
918 self::general_product_selectors(),
919 self::general_slider_selectors(),
920 ),
921
922 'rtsb-product-cart-totals' => [
923 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2',
924 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
925 // Title Style.
926 'title_align' => '{{WRAPPER}}',
927 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2',
928 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2',
929 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2',
930 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2',
931 'title_margin' => '{{WRAPPER}} .rtsb-cart-totals h2',
932 'title_padding' => '{{WRAPPER}} .rtsb-cart-totals h2',
933 'title_border' => '{{WRAPPER}} .rtsb-cart-totals h2',
934 // Table.
935 'table_heading_cell_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-cart-totals th,#rtsb-builder-content {{WRAPPER}} .rtsb-cart-totals td',
936 'table_heading_cell_padding' => '{{WRAPPER}} .rtsb-cart-totals th,{{WRAPPER}} .rtsb-cart-totals td',
937 'table_heading_typography' => '{{WRAPPER}} .rtsb-cart-totals th',
938 'table_heading_color' => '{{WRAPPER}} .rtsb-cart-totals th',
939 'table_heading_background_color' => '{{WRAPPER}} .rtsb-cart-totals th',
940 'table_heading_align' => '{{WRAPPER}} .rtsb-cart-totals th',
941 'total_heading_width' => '{{WRAPPER}} .rtsb-cart-totals th',
942 'table_cell_typography' => '{{WRAPPER}} .rtsb-cart-totals td *',
943 'table_cell_color' => '{{WRAPPER}} .rtsb-cart-totals td',
944 'table_cell_background_color' => '{{WRAPPER}} .rtsb-cart-totals td',
945 'table_cell_align' => '{{WRAPPER}} .rtsb-cart-totals td, .woocommerce .rtsb-builder-content {{WRAPPER}} ul#shipping_method li',
946 'total_cell_heading_width' => '{{WRAPPER}} .rtsb-cart-totals td',
947 'table_wrapper_border' => '{{WRAPPER}} .rtsb-cart-totals .shop_table',
948 'table_wrapper_padding' => '{{WRAPPER}} .rtsb-cart-totals .shop_table',
949 'button_typography' => '{{WRAPPER}} .rtsb-cart-totals .button',
950 'button_height' => '{{WRAPPER}} .rtsb-cart-totals .button',
951 'button_width' => '{{WRAPPER}} .rtsb-cart-totals .button',
952 'button_text_color_normal' => '{{WRAPPER}} .rtsb-cart-totals .button',
953 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-cart-totals .button',
954 'button_border' => '{{WRAPPER}} .rtsb-cart-totals .button',
955 'button_text_color_hover' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
956 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
957 'button_border_hover_color' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
958 'button_border_radius' => '{{WRAPPER}} .rtsb-cart-totals .button',
959 'button_padding' => '{{WRAPPER}} .rtsb-cart-totals .button',
960 'button_margin' => '{{WRAPPER}} .rtsb-cart-totals .button',
961
962 ],
963 'rtsb-product-carttable' => [
964 'button_typography' => '{{WRAPPER}} .woocommerce-cart-form .button',
965 'button_height' => '{{WRAPPER}} .woocommerce-cart-form .button',
966 'button_width' => '{{WRAPPER}} .woocommerce-cart-form .button',
967 'button_text_color_normal' => '{{WRAPPER}} .woocommerce-cart-form .button',
968 'button_bg_color_normal' => '{{WRAPPER}} .woocommerce-cart-form .button',
969 'button_border' => '{{WRAPPER}} .woocommerce-cart-form .button',
970 'button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
971 'button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
972 'button_border_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
973 'button_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .button',
974 'button_padding' => '{{WRAPPER}} .woocommerce-cart-form .button',
975 'button_margin' => '{{WRAPPER}} .woocommerce-cart-form .button',
976 'coupon_typography' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
977 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
978 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
979 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
980 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
981 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text',
982 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input',
983 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input',
984
985 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button',
986 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button',
987 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button',
988 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button',
989 'return_shop_button_border' => '{{WRAPPER}} .return-to-shop .button',
990 'return_shop_button_text_color_hover' => '{{WRAPPER}} .return-to-shop .button:hover',
991 'return_shop_button_bg_color_hover' => '{{WRAPPER}} .return-to-shop .button:hover',
992 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover',
993 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button',
994 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button',
995 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button',
996
997 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
998 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
999 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1000 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1001 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1002 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1003 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1004 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1005 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1006
1007 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
1008 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
1009 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )',
1010 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1011 'cart_remove_button_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1012 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1013 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1014 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
1015 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
1016 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th',
1017 'cart_element_alignment' => '#rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table th, #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table td, #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table .table-column-wrapper .product-attributes-wrapper .product-attributes li',
1018 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table',
1019
1020 'table_wrapper_margin' => '{{WRAPPER}} .woocommerce :is(table.shop_table, form )',
1021 'element_alignment' => '#rtsb-builder-content {{WRAPPER}} th.product-subtotal, #rtsb-builder-content {{WRAPPER}} td.product-subtotal',
1022 'action_button_padding' => '{{WRAPPER}} .woocommerce :is(table.shop_table, from ) .actions-button-wrapper',
1023
1024 'cart_subtotal_price_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td .amount',
1025 'cart_price_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td .amount',
1026
1027 'cart_title_element_alignment' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data), #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table .table-column-wrapper .product-attributes-wrapper .product-attributes li',
1028 'cart_product_title_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) a',
1029 'cart_product_title_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) a',
1030 'cart_product_title_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .rtsb-product-content, {{WRAPPER}} .rtsb-cart-table table.shop_table tr th:is(.product-name, .product-data) .table-column-wrapper',
1031
1032 'cart_product_title_meta_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .product-attributes li',
1033 'cart_product_title_meta_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .product-attributes li',
1034
1035 'cart_subtotal_button_typo' => '{{WRAPPER}} td.product-subtotal .subtotal-action-button-wrapper a',
1036 'cart_subtotal_price_padding' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .amount',
1037 'cart_subtotal_price_margin' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .amount',
1038 'cart_subtotal_button_gap' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .subtotal-action-button-wrapper',
1039 'cart_subtotal_button_wrapper_padding' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .subtotal-action-button-wrapper',
1040 'cart_subtotal_col_wrapper_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td.product-subtotal',
1041
1042 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1043 'cart_table_cell_width' => [
1044 'th' => '{{WRAPPER}} .shop_table.cart tr th',
1045 'td' => '{{WRAPPER}} .shop_table.cart tr td',
1046 ],
1047
1048 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1049 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1050 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1051 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1052 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1053 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1054
1055 // Table.
1056 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr',
1057
1058 'cart_table_header_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr th',
1059 'cart_heading_element_alignment' => '#rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table th',
1060 'cart_table_header_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table thead',
1061 'cart_table_header_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr th',
1062
1063 'cart_table_odd_row_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr:nth-child(odd)',
1064 'cart_table_odd_row_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr:nth-child(odd) td',
1065
1066 'cart_table_even_row_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr:nth-child(even)',
1067 'cart_table_even_row_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr:nth-child(even) td',
1068
1069 'cart_table_col_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td:not(.product-remove)',
1070 'cart_table_col_attributes_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td .product-attributes-wrapper',
1071 'cart_table_row_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr',
1072
1073 'cart_link_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr td a',
1074 'cart_link_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr td a:hover',
1075
1076 // Cart Quantity.
1077 'quantity_input_width' => '{{WRAPPER}} .woocommerce-cart-form input.qty',
1078 'quantity_height' => [
1079 'full' => '{{WRAPPER}} .woocommerce-cart-form input[type=number], {{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group:is( .rtsb-quantity-box-group-style-1, .rtsb-quantity-box-group-style-2 ) .rtsb-quantity-btn',
1080 'half' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group:is( .rtsb-quantity-box-group-style-3, .rtsb-quantity-box-group-style-4 ) .rtsb-quantity-btn',
1081 ],
1082 'quantity_increment_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus',
1083 'quantity_decrement_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
1084
1085 'quantity_button_width' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1086 'icon_size' => [
1087 'icon' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1088 'svg' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn svg',
1089 ],
1090 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity :is(i, svg)',
1091 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover :is(i, svg)',
1092 'text_typography' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1093 'quantity_number_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1094 'quantity_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1095 'quantity_border' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1096 'quantity_radius' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1097 'qunatity_padding' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1098 'quantity_wrapper_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1099 'qunatity_wrapper_padding' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1100 'quantity_wrapper_radius' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1101 ],
1102 ];
1103
1104 return apply_filters( 'rtsb/elements/elementor/widget/cart/selectors', $selectors );
1105 }
1106
1107 /**
1108 * Checkout Selectors.
1109 *
1110 * @return array
1111 */
1112 private static function checkout_widget_selectors(): array {
1113 $selectors = [
1114 'rtsb-billing-form' => [
1115 // Title.
1116 'show_title' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1117 'title_typo' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1118 'title_align' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1119 'title_color' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1120 'title_text_stroke' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1121 'title_text_shadow' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1122 'title_margin' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1123 'title_padding' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1124 'title_border' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1125 // Label.
1126 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label',
1127 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label',
1128 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required',
1129 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)',
1130
1131 // Input Fields.
1132 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea',
1133 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1134 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1135
1136 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1137
1138 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1139 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1140
1141 // Hover.
1142 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1143
1144 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1145
1146 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1147 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1148 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )',
1149
1150 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row',
1151 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper',
1152
1153 ],
1154 'rtsb-shipping-form' => [
1155 // Label.
1156 'form_heading_gap' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1157 'form_heading_color' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1158 'form_heading_typo' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1159
1160 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1161 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1162 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required',
1163 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)',
1164
1165 // Input Fields.
1166 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea',
1167 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1168 'fields_border' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1169
1170 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1171
1172 'fields_text_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1173 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1174
1175 // Hover.
1176 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select:is(:hover, :focus, :active,:focus-visible)',
1177
1178 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select:is(:hover, :focus, :active,:focus-visible)',
1179
1180 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single',
1181 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single',
1182 'fields_padding' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping :is( select, .select2-selection--single )',
1183 'form_row_margin' => '{{WRAPPER}} .rtsb-form-shipping p.form-row',
1184 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address',
1185
1186 ],
1187 'rtsb-order-notes' => [
1188 'show_title' => '{{WRAPPER}} .rtsb-form-order-note h3',
1189 'title_typo' => '{{WRAPPER}} .rtsb-form-order-note h3',
1190 'title_align' => '{{WRAPPER}} .rtsb-form-order-note h3',
1191 'title_color' => '{{WRAPPER}} .rtsb-form-order-note h3',
1192 'title_text_stroke' => '{{WRAPPER}} .rtsb-form-order-note h3',
1193 'title_text_shadow' => '{{WRAPPER}} .rtsb-form-order-note h3',
1194 'title_margin' => '{{WRAPPER}} .rtsb-form-order-note h3',
1195 'title_padding' => '{{WRAPPER}} .rtsb-form-order-note h3',
1196 'title_border' => '{{WRAPPER}} .rtsb-form-order-note h3',
1197
1198 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label',
1199 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label',
1200 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required',
1201 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)',
1202
1203 // Input Fields.
1204 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1205 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-order-note .select2-selection--single, {{WRAPPER}} .rtsb-form-order-note select',
1206 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1207 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1208 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1209 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1210
1211 // Hover.
1212 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1213
1214 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1215 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1216 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1217
1218 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1219 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1220 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1221
1222 ],
1223
1224 'rtsb-order-review' => [
1225 // Title.
1226 'show_title' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1227 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1228 'title_typo' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1229 'title_align' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1230 'title_color' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1231 'title_text_stroke' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1232 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1233 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1234 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1235 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1236 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1237 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1238 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1239 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )',
1240 'label_typo' => '{{WRAPPER}} #order_review thead th',
1241 'label_color' => '{{WRAPPER}} #order_review thead th',
1242 'label_bg_color' => '{{WRAPPER}} #order_review thead th',
1243 'label_item_padding' => '{{WRAPPER}} #order_review thead th',
1244 // Table Body.
1245 'body_text_typo' => '{{WRAPPER}} #order_review tbody td',
1246 'body_text_color' => '{{WRAPPER}} #order_review tbody td',
1247 'body_item_padding' => '{{WRAPPER}} #order_review tbody td',
1248 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td',
1249 // Counter.
1250 'counter_text_color' => '{{WRAPPER}} .product-quantity',
1251 'counter_style' => '{{WRAPPER}} .product-quantity',
1252 // Table Footer.
1253 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1254 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th',
1255 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td',
1256 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1257 'table_footer_item_padding' => '{{WRAPPER}} #order_review tfoot td, {{WRAPPER}} #order_review tfoot th',
1258
1259 ],
1260 'rtsb-checkout-payment' => [
1261 'payment_method_wrapper_bg_color' => '{{WRAPPER}} #payment ul.payment_methods',
1262 'payment_link_color' => '{{WRAPPER}} .rtsb-checkout-payment a',
1263 'payment_link_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment a:hover',
1264
1265 'payment_label_typography' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label',
1266 'payment_label_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child+label:before',
1267 'payment_label_active_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label:hover, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child:checked+label:before, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child:checked+label',
1268 'payment_label_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label',
1269 'payment_method_space_between' => '{{WRAPPER}} #payment ul.payment_methods li input',
1270 'payment_method_bacs_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.woocommerce-PaymentMethod>label,{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.wc_payment_method>label',
1271 'payment_method_wrap_padding' => '{{WRAPPER}} #payment ul.payment_methods',
1272 'payment_method_bacs_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.woocommerce-PaymentMethod>label,{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.wc_payment_method>label',
1273
1274 'payment_description_typography' => '{{WRAPPER}} .rtsb-checkout-payment p',
1275 'payment_description_text_color' => '{{WRAPPER}} .rtsb-checkout-payment p',
1276 'payment_description_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods > li .payment_box',
1277 'payment_description_border' => '{{WRAPPER}} .rtsb-checkout-payment #payment ul.payment_methods',
1278 'payment_method_desc_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods li .payment_box',
1279 'payment_method_desc_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods li .payment_box',
1280
1281 'payment_button_description_typography' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order p',
1282 'payment_button_description_text_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order p',
1283 'payment_button_description_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1284 'payment_button_wrapper_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1285 'payment_button_wrapper_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1286
1287 // Button section.
1288 'button_height' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1289 'button_width' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1290 'button_typography' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1291 'submit_button_alignment' => [
1292 'text-align' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1293 'float' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1294 ],
1295 'button_text_color_normal' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1296 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1297 'button_border' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1298 'button_text_color_hover' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1299 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1300 'button_border_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1301 'button_border_radius' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1302 'button_padding' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1303 'button_margin' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1304 ],
1305 'rtsb-coupon-form' => array_merge(
1306 self::button_settings_selector(),
1307 [
1308 'typo' => '{{WRAPPER}} p',
1309 'align' => '{{WRAPPER}} p',
1310 'text_color' => '{{WRAPPER}} p',
1311 'text_shadow' => '{{WRAPPER}} p',
1312 'text_margin' => '{{WRAPPER}} p',
1313
1314 // Input Fields.
1315 'fields_height' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1316 'fields_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1317 'fields_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1318 'fields_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1319 'form_fields_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1320
1321 // Hover.
1322 'fields_hover_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1323 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1324 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1325 'form_fields_border_radius_hover' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1326
1327 'fields_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1328 'fields_gap' => '{{WRAPPER}} .rtsb-checkout-coupon-form .coupon-form-fields',
1329
1330 'infobox_typography' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1331 'infobox_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner )',
1332 'infobox_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1333
1334 'infobox_text_link_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form a',
1335 'infobox_border_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner ) ',
1336 'infobox_icon_size' => [
1337 'icon' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i), {{WRAPPER}} .wc-block-components-notice-banner__content i',
1338 'svg' => '{{WRAPPER}} :is( .woocommerce-info svg, .wc-block-components-notice-banner__content svg )',
1339 ],
1340
1341 'infobox_icon_margin' => '{{WRAPPER}} .woocommerce-info::before, {{WRAPPER}} .woocommerce-info :is( i, svg ), {{WRAPPER}} .wc-block-components-notice-banner__content :is( i, svg ) ',
1342
1343 'infobox_icon_color' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i, .woocommerce-info svg ), {{WRAPPER}} :is( .wc-block-components-notice-banner__content svg, .wc-block-components-notice-banner__content i )',
1344
1345 'infobox_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form ',
1346 'infobox_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form .wc-block-components-notice-banner',
1347 'infobox_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is( .woocommerce-info, .wc-block-components-notice-banner__content )',
1348 'form_margin' => '{{WRAPPER}} .rtsb-checkout-coupon-form .coupon-form-fields',
1349 'form_area_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1350 'form_area_margin' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1351
1352 'form_area_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1353 'form_area_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1354
1355 ]
1356 ),
1357 'rtsb-checkout-login-form' => array_merge(
1358 self::button_settings_selector(),
1359 [
1360 'typo' => '{{WRAPPER}} p',
1361 'align' => '{{WRAPPER}} p',
1362 'text_color' => '{{WRAPPER}} p',
1363 'text_shadow' => '{{WRAPPER}} p',
1364 'text_margin' => '{{WRAPPER}} p',
1365
1366 // Input Fields.
1367 'fields_height' => '{{WRAPPER}} input.input-text',
1368 'fields_border' => '{{WRAPPER}} input.input-text',
1369 'form_fields_border_radius' => '{{WRAPPER}} input.input-text',
1370 'fields_text_color' => '{{WRAPPER}} input.input-text',
1371 'fields_bg_color' => '{{WRAPPER}} input.input-text',
1372
1373 // Hover.
1374 'fields_hover_border' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1375 'form_fields_border_radius_hover' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1376 'fields_hover_text_color' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1377 'fields_hover_bg_color' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1378
1379 'fields_padding' => '{{WRAPPER}} .rtsb-checkout-login-form input.input-text',
1380 'fields_gap' => '{{WRAPPER}} .rtsb-checkout-login-form .login-form-fields',
1381 'label_gap' => '{{WRAPPER}} .rtsb-checkout-login-form .field-wrapper label',
1382 // Info Box.
1383 'infobox_typography' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1384 'infobox_bg_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner.is-info )',
1385 'infobox_text_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1386
1387 'infobox_text_link_color' => '{{WRAPPER}} .rtsb-checkout-login-form a',
1388
1389 'infobox_border_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner.is-info )',
1390 'infobox_icon_size' => [
1391 'icon' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i), {{WRAPPER}} .wc-block-components-notice-banner__content i',
1392 'svg' => '{{WRAPPER}} :is( .woocommerce-info svg, .wc-block-components-notice-banner__content svg )',
1393 ],
1394
1395 'infobox_icon_margin' => '{{WRAPPER}} .woocommerce-info::before, {{WRAPPER}} .woocommerce-info :is( i, svg ), {{WRAPPER}} .wc-block-components-notice-banner :is( i, svg ) ',
1396
1397 'infobox_icon_color' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i, .woocommerce-info svg ), {{WRAPPER}} :is( .wc-block-components-notice-banner svg, .wc-block-components-notice-banner i )',
1398
1399 'infobox_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-login-form',
1400 'infobox_border_radius' => '{{WRAPPER}} .rtsb-checkout-login-form .wc-block-components-notice-banner',
1401 'infobox_padding' => '{{WRAPPER}} .rtsb-checkout-login-form :is( .woocommerce-info, .wc-block-components-notice-banner__content ) ',
1402 'form_margin' => '{{WRAPPER}} .rtsb-checkout-login-form .login-form-fields',
1403 'form_area_padding' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1404 'form_area_margin' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1405 'form_area_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1406 'form_area_border_radius' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1407
1408 ]
1409 ),
1410 'rtsb-shipping-method' => [
1411
1412 // General.
1413 'general_cart_table_border' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1414 'general_cart_table_bg' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1415 'general_table_padding' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1416
1417 // Title.
1418 'show_title' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1419 'title_typo' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1420 'title_align' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1421 'title_color' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1422 'title_text_stroke' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1423 'title_text_shadow' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1424 'title_margin' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1425 'title_padding' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1426 'title_border' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1427 // Label.
1428 'label_title_typo' => '{{WRAPPER}} .rtsb-shipping-method .woocommerce-shipping-methods label',
1429 'label_title_color' => '{{WRAPPER}} .rtsb-shipping-method .woocommerce-shipping-methods label',
1430 'label_space_between' => '{{WRAPPER}} .woocommerce .rtsb-builder-content ul#shipping_method li',
1431 'label_item_space' => '{{WRAPPER}} .woocommerce .rtsb-builder-content ul#shipping_method',
1432 ],
1433 ];
1434
1435 return apply_filters( 'rtsb/elements/elementor/widget/checkout/selectors', $selectors );
1436 }
1437
1438 /**
1439 * Common CSS Selectors.
1440 *
1441 * @return array
1442 */
1443 private static function general_common_selectors(): array {
1444 return apply_filters(
1445 'rtsb/elementor/common_selectors',
1446 [
1447 'columns' => [
1448 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1449 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry',
1450 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]',
1451 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry',
1452 'grid_gap' => [
1453 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]',
1454 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1455 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3',
1456 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9',
1457 ],
1458 'image_width' => [
1459 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left',
1460 ],
1461 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1462 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content',
1463 'grid_alignment' => [
1464 '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',
1465 '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',
1466 ],
1467 ],
1468 'color_scheme' => [
1469 'primary_color' => '{{WRAPPER}}',
1470 'secondary_color' => '{{WRAPPER}}',
1471 ],
1472 'count' => [
1473 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1474 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1475 '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',
1476 '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',
1477 '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',
1478 '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',
1479 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1480 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover',
1481 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1482 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1483 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1484 ],
1485 'product_badges' => [
1486 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1487 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1488 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1489 'border_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline.angle-right::after',
1490 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1491 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-badge.type-image',
1492 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-badge.type-image',
1493 'position_x' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img > .rtsb-promotion',
1494 'position_y' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img > .rtsb-promotion',
1495 ],
1496 'image' => [
1497 'overlay' => '{{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area .rtsb-img-link::before',
1498 'hover_overlay' => '{{WRAPPER}} .rtsb-elementor-container.has-overlay .single-category-area .rtsb-img-link::after',
1499 'img_bg_color' => '{{WRAPPER}} .rtsb-product-img .rtsb-product-image, {{WRAPPER}} .rtsb-product-img .default-img',
1500 'img_wrapper_bg_color' => '{{WRAPPER}} .rtsb-product-img figure',
1501 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure',
1502 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-product-img .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item .rtsb-product-image',
1503 'max_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image .rtsb-product-img figure,{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item .rtsb-product-img figure',
1504 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area::before, {{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area::after',
1505 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img',
1506
1507 ],
1508 'advanced' => [
1509 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1510 'content_padding' => '{{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',
1511 'element_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid',
1512 'element_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .category-wrapper, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .fade-action-button, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1513 'content_bg_color' => '{{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',
1514 'element_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .category-wrapper,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product .fade-action-button,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product .product-fade-content',
1515 'rtsb_el_element_shadow' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .category-wrapper, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product .product-fade-content',
1516 'content_hover_bg_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',
1517 'element_hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item:hover, {{WRAPPER}} .rtsb-elementor-container .single-category-area:hover, {{WRAPPER}} .rtsb-elementor-container .category-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product:hover :is( .product-fade-content, .fade-action-button )',
1518 'rtsb_el_element_hover_shadow' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item:hover, {{WRAPPER}} .rtsb-elementor-container .single-category-area:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .category-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .rtsb-category-grid:hover .category-title-with-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product:hover .product-fade-content',
1519 'rtsb_el_wrapper_border' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1520 'wrapper_border_radius' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1521 'rtsb_el_element_border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .category-wrapper',
1522 'element_border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item:hover, {{WRAPPER}} .rtsb-elementor-container .single-category-area:hover, {{WRAPPER}} .rtsb-elementor-container .category-wrapper:hover',
1523 'element_border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .category-wrapper',
1524 'rtsb_el_content_border' => '{{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',
1525 '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',
1526 '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',
1527 ],
1528 'badges_module' => [
1529 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1530 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1531 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)',
1532 ],
1533 ]
1534 );
1535 }
1536
1537 /**
1538 * Common CSS Selectors.
1539 *
1540 * @return array
1541 */
1542 public static function general_slider_selectors(): array {
1543 return [
1544 'slider_buttons' => [
1545 'arrow_size' => [
1546 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1547 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg',
1548 ],
1549 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1550 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1551 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1552 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1553 'dot_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1554 'dot_spacing' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1555 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1556 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1557 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover',
1558 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover',
1559 'dot_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1560 'dot_active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet-active',
1561 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1562 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet:hover',
1563 'active_border_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet-active',
1564 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1565 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-nav, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination',
1566 ],
1567 ];
1568 }
1569
1570 /**
1571 * Category CSS Selectors.
1572 *
1573 * @return array
1574 */
1575 private static function general_product_selectors(): array {
1576 return apply_filters(
1577 'rtsb/elementor/general_product_selectors',
1578 [
1579 'section_title' => [
1580 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1581 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1582 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1583 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1584 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1585 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1586 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1587 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1588 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1589 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1590 ],
1591 'product_title' => [
1592 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1593 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1594 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1595 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1596 // Layout 2 (grid/slider) reveals a hover button that overlays the title wrapper and captures :hover, so the
1597 // wrapper's own :hover never fires; the extra `.rtsb-product:hover .product-title-with-btn` clause re-applies the
1598 // hover text/bg/border color on product-card hover. NOTE: layout 2 fades the title text out on hover, so the
1599 // hover *text* color is not visibly noticeable there — the wrapper background and border remain visible.
1600 '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',
1601 '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',
1602 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper',
1603 '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',
1604 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1605 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1606 ],
1607 'short_description' => array_fill_keys(
1608 [
1609 'typography',
1610 'alignment',
1611 'color',
1612 'bg_color',
1613 'border',
1614 'padding',
1615 'margin',
1616 ],
1617 '{{WRAPPER}} .rtsb-elementor-container .product-short-description'
1618 ),
1619 'action_buttons' => [
1620 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list',
1621 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list',
1622 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text',
1623 ],
1624 'product_price' => [
1625 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del',
1626 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins',
1627 'regular_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del',
1628 'sale_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins',
1629 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1630 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1631 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1632 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1633 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1634 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1635 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1636 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1637 ],
1638 'product_rating' => [
1639 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1640 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1641 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1642 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1643 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1644 'spacing_preset2' => '{{WRAPPER}} .rtsb-elementor-container .product-rating.preset2, {{WRAPPER}} .rtsb-elementor-container .product-rating.preset2 .inner-wrapper',
1645 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1646 ],
1647 'product_categories' => [
1648 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1649 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category',
1650 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1651 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1652 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1653 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1654 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1655 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1656 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1657 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1658 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1659 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category',
1660 ],
1661 'product_brands' => [
1662 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1663 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-brand-category',
1664 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1665 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1666 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1667 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1668 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1669 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1670 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1671 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1672 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1673 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-category',
1674 ],
1675 'pagination' => [
1676 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1677 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap',
1678 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1679 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1680 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1681 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1682 'active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1683 'active_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1684 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button:hover',
1685 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button:hover',
1686 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1687 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button:hover',
1688 'border_active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1689 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1690 'spacing' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap',
1691 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1692 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap',
1693 ],
1694 'product_add_to_cart' => [
1695 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1696 'icon_size' => [
1697 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1698 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg',
1699 ],
1700 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1701 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1702 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1703 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1704 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1705 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1706 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1707 'hover_icon_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover .icon',
1708 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1709 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1710 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1711 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1712 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1713 ],
1714 'product_compare' => [
1715 'icon_size' => [
1716 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn .icon',
1717 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn .icon svg',
1718 ],
1719 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1720 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1721 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1722 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1723 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1724 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1725 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1726 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1727 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1728 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1729 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1730 ],
1731 'product_wishlist' => [
1732 'icon_size' => [
1733 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn .icon',
1734 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn .icon svg',
1735 ],
1736 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1737 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1738 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1739 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1740 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1741 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1742 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1743 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1744 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1745 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1746 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1747 ],
1748 'product_quick_view' => [
1749 'icon_size' => [
1750 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn .icon',
1751 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn .icon svg',
1752 ],
1753 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1754 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1755 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1756 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1757 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1758 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1759 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1760 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1761 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1762 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1763 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1764 ],
1765 'hover_icon_button' => [
1766 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1767 'icon_size' => [
1768 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1769 'svg' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon svg',
1770 ],
1771 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon',
1772 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1773 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1774 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1775 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1776 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1777 'hover_icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover i',
1778 'border' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1779 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1780 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1781 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1782 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1783 ],
1784 'not_found_notice' => self::not_found_notice_selectors(),
1785 ]
1786 );
1787 }
1788
1789 /**
1790 * Not Found Notice Selectors.
1791 *
1792 * @return array
1793 */
1794 public static function not_found_notice_selectors() {
1795 return array_fill_keys(
1796 [
1797 'typography',
1798 'alignment',
1799 'color',
1800 'bg_color',
1801 'border',
1802 'padding',
1803 'margin',
1804 ],
1805 '{{WRAPPER}} .rtsb-elementor-container .woocommerce-no-products-found .woocommerce-info, {{WRAPPER}} .rtsb-product-catalog .woocommerce-no-products-found .woocommerce-info'
1806 );
1807 }
1808
1809 /**
1810 * Category CSS Selectors.
1811 *
1812 * @return array
1813 */
1814 private static function general_cat_selectors(): array {
1815 return [
1816 'category_single_layout' => [
1817 'cat_alignment' => [
1818 'text_align' => '{{WRAPPER}} .rtsb-elementor-container',
1819 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .category-title-with-count',
1820 ],
1821 'cat_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .default-img',
1822 ],
1823 'category_multi_layout' => [
1824 'cat_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout1 .rtsb-product-img .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout1 .rtsb-product-img .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
1825 ],
1826 'cat_count_settings' => [
1827 'count_display_type' => '{{WRAPPER}} .rtsb-elementor-container .category-title-with-count',
1828 ],
1829 'cat_title' => [
1830 'typography' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1831 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1832 'color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title, {{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title-with-count',
1833 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title',
1834 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title:hover, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title:hover',
1835 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title:hover, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title:hover',
1836 'border' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1837 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .category-title:hover',
1838 'padding' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1839 'margin' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1840 ],
1841 'cat_description' => [
1842 'typography' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1843 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1844 'color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-description, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-description',
1845 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-description, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-description',
1846 'border' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1847 'padding' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1848 'margin' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1849 ],
1850 ];
1851 }
1852
1853 /**
1854 * Social Share CSS Selectors.
1855 *
1856 * @return array
1857 */
1858 private static function social_share(): array {
1859 return apply_filters(
1860 'rtsb/elements/elementor/social_share_selectors',
1861 [
1862 'share_items' => [
1863 'share_icons_spacing' => '{{WRAPPER}} .rtsb-social-share',
1864 'share_items_min_width' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1865 'social_items_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg, {{WRAPPER}} .rtsb-social-share .rtsb-share-btn .rtsb-share-label',
1866 'social_items_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1867 'facebook_color' => '{{WRAPPER}} .rtsb-social-share .facebook svg, {{WRAPPER}} .rtsb-social-share .facebook .rtsb-share-label',
1868 'twitter_color' => '{{WRAPPER}} .rtsb-social-share .twitter svg, {{WRAPPER}} .rtsb-social-share .twitter .rtsb-share-label',
1869 'linkedin_color' => '{{WRAPPER}} .rtsb-social-share .linkedin svg, {{WRAPPER}} .rtsb-social-share .linkedin .rtsb-share-label',
1870 'pinterest_color' => '{{WRAPPER}} .rtsb-social-share .pinterest svg, {{WRAPPER}} .rtsb-social-share .pinterest .rtsb-share-label',
1871 'skype_color' => '{{WRAPPER}} .rtsb-social-share .skype svg, {{WRAPPER}} .rtsb-social-share .skype .rtsb-share-label',
1872 'whatsapp_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp svg, {{WRAPPER}} .rtsb-social-share .whatsapp .rtsb-share-label',
1873 'reddit_color' => '{{WRAPPER}} .rtsb-social-share .reddit svg, {{WRAPPER}} .rtsb-social-share .reddit .rtsb-share-label',
1874 'telegram_color' => '{{WRAPPER}} .rtsb-social-share .telegram svg, {{WRAPPER}} .rtsb-social-share .telegram .rtsb-share-label',
1875 'facebook_bg_color' => '{{WRAPPER}} .rtsb-social-share .facebook',
1876 'twitter_bg_color' => '{{WRAPPER}} .rtsb-social-share .twitter',
1877 'linkedin_bg_color' => '{{WRAPPER}} .rtsb-social-share .linkedin',
1878 'pinterest_bg_color' => '{{WRAPPER}} .rtsb-social-share .pinterest',
1879 'skype_bg_color' => '{{WRAPPER}} .rtsb-social-share .skype',
1880 'whatsapp_bg_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp',
1881 'reddit_bg_color' => '{{WRAPPER}} .rtsb-social-share .reddit',
1882 'telegram_bg_color' => '{{WRAPPER}} .rtsb-social-share .telegram',
1883 'social_items_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover svg, {{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
1884 'social_items_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover',
1885 'facebook_hover_color' => '{{WRAPPER}} .rtsb-social-share .facebook:hover svg, {{WRAPPER}} .rtsb-social-share .facebook:hover .rtsb-share-label',
1886 'twitter_hover_color' => '{{WRAPPER}} .rtsb-social-share .twitter:hover svg, {{WRAPPER}} .rtsb-social-share .twitter:hover .rtsb-share-label',
1887 'linkedin_hover_color' => '{{WRAPPER}} .rtsb-social-share .linkedin:hover svg, {{WRAPPER}} .rtsb-social-share .linkedin:hover .rtsb-share-label',
1888 'pinterest_hover_color' => '{{WRAPPER}} .rtsb-social-share .pinterest:hover svg, {{WRAPPER}} .rtsb-social-share .pinterest:hover .rtsb-share-label',
1889 'skype_hover_color' => '{{WRAPPER}} .rtsb-social-share .skype:hover svg, {{WRAPPER}} .rtsb-social-share .skype:hover .rtsb-share-label',
1890 'whatsapp_hover_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp:hover svg, {{WRAPPER}} .rtsb-social-share .whatsapp:hover .rtsb-share-label',
1891 'reddit_hover_color' => '{{WRAPPER}} .rtsb-social-share .reddit:hover svg, {{WRAPPER}} .rtsb-social-share .reddit:hover .rtsb-share-label',
1892 'telegram_hover_color' => '{{WRAPPER}} .rtsb-social-share .telegram:hover svg, {{WRAPPER}} .rtsb-social-share .telegram:hover .rtsb-share-label',
1893 'facebook_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .facebook:hover',
1894 'twitter_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .twitter:hover',
1895 'linkedin_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .linkedin:hover',
1896 'pinterest_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .pinterest:hover',
1897 'skype_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .skype:hover',
1898 'whatsapp_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp:hover',
1899 'reddit_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .reddit:hover',
1900 'telegram_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .telegram:hover',
1901 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1902 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover',
1903 'border_radius' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1904 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1905 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1906 ],
1907 'share_icons' => [
1908 'share_icons_width' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
1909 'share_icons_height' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
1910 'color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
1911 'bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn .rtsb-share-icon',
1912 'hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover svg',
1913 'hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-icon',
1914 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
1915 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-icon',
1916 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
1917 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
1918 ],
1919 'share_text' => [
1920 'typography' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1921 'alignment' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1922 'color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1923 'bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1924 'hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
1925 'hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
1926 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1927 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
1928 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1929 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
1930 ],
1931 'share_header' => [
1932 'typography' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
1933 'share_header_type' => '{{WRAPPER}} .rtsb-social-share-container',
1934 'color' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
1935 'bg_color' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
1936 'border' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
1937 'padding' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
1938 'margin' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
1939 ],
1940 ]
1941 );
1942 }
1943 }
1944