PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.3.0
ShopBuilder – WooCommerce Builder For Elementor v3.3.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / app / Elementor / Helper / ControlSelectors.php

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

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