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