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