PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.4.2
ShopBuilder – WooCommerce Builder For Elementor v3.4.2
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Elementor/Helper/ControlSelectors.php +310 -148 2.1.9 → 3.4.2 View file →
@@ -9,8 +9,28 @@
9 9 */
10 10
11 11 namespace RadiusTheme\SB\Elementor\Helper;
12 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 +
13 33 // Do not allow directly accessing this file.
14 34 if ( ! defined( 'ABSPATH' ) ) {
15 35 exit( 'This script cannot be accessed directly.' );
16 36 }
@@ -18,8 +38,9 @@
18 38 /**
19 39 * BuilderFns class
20 40 */
21 41 class ControlSelectors {
42 +
22 43 /**
23 44 * Get Widget Selectors.
24 45 *
25 46 * @param object $widget Widget object.
@@ -148,8 +169,9 @@
148 169 'submit_button_alignment' => [
149 170 'text-align' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit',
150 171 'float' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit input#submit',
151 172 ],
173 + 'submit_button_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
152 174 'button_text_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
153 175 'button_bg_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
154 176 'button_border' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
155 177 'button_text_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
@@ -244,14 +266,17 @@
244 266 'add_cart_button_margin' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
245 267 'cart_height' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
246 268 'icon_align' => [
247 269 'align' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
248 - 'flex-direction' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span)',
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)',
249 271 ],
250 272 'cart_icon_gap' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
251 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)',
252 274 // Slider.
253 - 'slider_arrow_icon_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
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 + ],
254 279 'slider_arrow_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
255 280 'arrows_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
256 281 'arrows_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
257 282 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
@@ -257,9 +282,9 @@
257 282 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
258 283 'arrows_hover_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
259 284 'arrows_hover_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
260 285 'arrows_hover_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
261 - 'dots_gap' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper',
286 + 'dots_gap' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
262 287 'dots_size' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
263 288 'dot_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
264 289 'dot_active_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active',
265 290 // Pagination.
@@ -276,9 +301,12 @@
276 301 'pagination_padding' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
277 302 'pagination_margin' => '{{WRAPPER}} .woocommerce-pagination',
278 303 'pagination_width' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
279 304 'pagination_height' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
280 - 'pagination_icon_size' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i',
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 + ],
281 309 // Review Star.
282 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',
283 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',
284 312 'review_star_icon_size' => '{{WRAPPER}} .products .product .star-rating',
@@ -299,9 +327,9 @@
299 327 */
300 328 private static function general_widget_selectors(): array {
301 329 $selectors = [
302 330 'rtsb-product-breadcrumbs' => [
303 - 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb',
331 + 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
304 332 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
305 333 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a',
306 334 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover',
307 335 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
@@ -311,9 +339,8 @@
311 339 ],
312 340 'breadcrumbs_typography' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
313 341 'icon_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator i,{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
314 342 ],
315 -
316 343 'rtsb-wc-notice' => [
317 344 'notice_typography' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
318 345 'notice_icon_size' => [
319 346 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
@@ -368,35 +395,29 @@
368 395 'notice_gap_multiple' => '{{WRAPPER}} .rtsb-notice .woocommerce-notices-wrapper, {{WRAPPER}} .rtsb-notice',
369 396 'notice_icon_gap' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
370 397 'notice_border_radius' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
371 398 ],
372 -
373 399 'rtsb-products-grid' => array_merge(
374 400 self::general_common_selectors(),
375 401 self::general_product_selectors()
376 402 ),
377 -
378 403 'rtsb-products-list' => array_merge(
379 404 self::general_common_selectors(),
380 405 self::general_product_selectors()
381 406 ),
382 -
383 407 'rtsb-products-slider' => array_merge(
384 408 self::general_common_selectors(),
385 409 self::general_product_selectors(),
386 410 self::general_slider_selectors(),
387 411 ),
388 -
389 412 'rtsb-product-categories-general' => array_merge(
390 413 self::general_common_selectors(),
391 414 self::general_cat_selectors()
392 415 ),
393 -
394 416 'rtsb-products-single-category' => array_merge(
395 417 self::general_common_selectors(),
396 418 self::general_cat_selectors()
397 419 ),
398 -
399 420 'rtsb-social-share' => array_merge(
400 421 self::social_share(),
401 422 ),
402 423 'rtsb-wishlist' => [
@@ -405,15 +426,32 @@
405 426 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
406 427 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
407 428 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
408 429 'table_header_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
409 - 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a',
430 + 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span',
410 431 'table_item_align' => '{{WRAPPER}} .rtsb-wishlist-content table td',
411 - 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a',
432 + 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span',
412 433 'table_item_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table td',
413 - 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
414 - 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody td',
434 + 'column_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th,{{WRAPPER}} .rtsb-wishlist-content table tbody td',
435 + 'table_item_text_decoration' => '{{WRAPPER}} .rtsb-wishlist-content table td, {{WRAPPER}} .rtsb-wishlist-content table td a, {{WRAPPER}} .rtsb-wishlist-content table td a span, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span',
415 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(),
416 454 ];
417 455
418 456 return apply_filters( 'rtsb/elements/elementor/widget/general/selectors', $selectors );
419 457 }
@@ -423,8 +461,18 @@
423 461 *
424 462 * @return array
425 463 */
426 464 private static function product_widget_selectors(): array {
465 + // Swatch size belongs to the Variation Swatches plugin once it is active: it
466 + // prints its own Color & Image width/height rule, which this widget's size
467 + // controls would outrank (element-scoped Elementor CSS, and these controls
468 + // carry a default so they always print). Dropping the plugin's terms from
469 + // the size selectors leaves that setting in charge, while the controls keep
470 + // sizing ShopBuilder's own markup — the dropdowns and the built-in module.
471 + $swatch_size_target = defined( 'RTWPVS_VERSION' )
472 + ? ''
473 + : '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), ';
474 +
427 475 $selectors = [
428 476 'rtsb-related-product' => array_merge(
429 477 self::products_loop_default_selector(),
430 478 self::carousel_selector(),
@@ -497,9 +545,14 @@
497 545 'rtsb-product-additional-info' => [
498 546 'heading_typography' => '{{WRAPPER}} .rtsb-product-additional-information h2',
499 547 'heading_color' => '{{WRAPPER}} .rtsb-product-additional-information h2',
500 548 'heading_margin' => '{{WRAPPER}} .rtsb-product-additional-information h2',
501 - 'content_typography' => '{{WRAPPER}} .shop_attributes',
549 + // Target the label + value cells (and the value's <p>) directly, by their WooCommerce
550 + // classes, so Content Typography (font-weight, text-transform, …) reliably overrides the
551 + // theme's higher-specificity `.woocommerce-js table.shop_attributes th` (0,2,2) rule and
552 + // applies UNIFORMLY. Styling only `.shop_attributes` (the table) let the theme's direct
553 + // th/cell rules win the cascade, so labels and values ended up styled inconsistently.
554 + 'content_typography' => '{{WRAPPER}} .shop_attributes th.woocommerce-product-attributes-item__label, {{WRAPPER}} .shop_attributes td.woocommerce-product-attributes-item__value, {{WRAPPER}} .shop_attributes td.woocommerce-product-attributes-item__value p',
502 555 'content_color' => '{{WRAPPER}} .shop_attributes',
503 556 'content_border' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
504 557 'content_padding' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
505 558 ],
@@ -505,9 +558,12 @@
505 558 ],
506 559 'rtsb-product-add-to-cart' => [
507 560 'button_height' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
508 561 'button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
509 - 'cart_icon_align' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
562 + 'cart_icon_align' => [
563 + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
564 + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
565 + ],
510 566 'cart_icon_gap' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
511 567 'button_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
512 568 'button_text_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
513 569 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
@@ -517,9 +573,12 @@
517 573 'button_border_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
518 574 'button_border_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
519 575 'button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
520 576 'button_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
521 - 'cart_icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
577 + 'cart_icon_size' => [
578 + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
579 + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
580 + ],
522 581 'quantity_height' => [
523 582 'full' => '{{WRAPPER}} .rtsb-product-add-to-cart input[type=number], {{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-1,.rtsb-quantity-box-group-style-2) .rtsb-quantity-btn',
524 583 'half' => '{{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-3,.rtsb-quantity-box-group-style-4) .rtsb-quantity-btn',
525 584 ],
@@ -527,11 +586,14 @@
527 586 'quantity_decrement_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
528 587 'quantity_input_width' => '{{WRAPPER}} .rtsb-product-add-to-cart input.qty',
529 588 'quantity_button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
530 589
531 - 'icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
532 - 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity i',
533 - 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover i',
590 + 'icon_size' => [
591 + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
592 + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn svg',
593 + ],
594 + 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity :is(i, svg)',
595 + 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover :is(i, svg)',
534 596 'text_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
535 597 'quantity_number_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
536 598 'quantity_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
537 599 'quantity_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
@@ -539,20 +601,30 @@
539 601 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
540 602 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
541 603 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
542 604 'quantity_wrapper_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
543 - 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
605 + 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, .rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term).rtsb-button-term',
544 606 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
545 607 'variation_item_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr:not(:last-child) .value',
546 - 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
608 + 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)',
547 609 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price',
548 610 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
549 611 'price_margin' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
550 - 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
551 - 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
552 - 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
612 + 'variation_height' => $swatch_size_target . '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)',
613 + 'variation_width' => $swatch_size_target . '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)',
614 + 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)',
553 615 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
616 + 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
554 617 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
618 + 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
619 + 'variation_outofstock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock.out-of-stock',
620 + 'variation_swatch_border_color' => '{{WRAPPER}} .rtsb-product-add-to-cart',
621 + 'variation_swatch_selected_color' => '{{WRAPPER}} .rtsb-product-add-to-cart',
622 + 'variation_checkmark_bg_color' => '{{WRAPPER}} .rtsb-product-add-to-cart',
623 + 'variation_checkmark_size' => '{{WRAPPER}} .rtsb-product-add-to-cart',
624 + 'variation_checkmark_icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart',
625 + 'variation_clear_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .reset_variations',
626 + 'variation_clear_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .reset_variations',
555 627
556 628 ],
557 629 'rtsb-product-categories' => [
558 630 'align' => '{{WRAPPER}} .rtsb-product-categories',
@@ -578,19 +650,14 @@
578 650 ],
579 651
580 652 'rtsb-product-image' => [
581 653 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img',
654 + 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image, {{WRAPPER}} .rtsb-product-images .product-vg-gallery',
582 655 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image',
583 656 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li',
584 - // 'gallery_thumbs_column_gap' => '{{WRAPPER}} div.images .flex-control-thumbs',
585 - // 'gallery_image_gap_with_main' => [
586 - // 'margin-top' => '{{WRAPPER}} div.images .flex-control-thumbs',
587 - // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper',
588 - // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper',
589 - // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper',
590 - // ],
591 - 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img',
592 - 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img)',
657 + 'thumb_border' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout .rtwpvg-gallery-image',
658 + 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper :is(.rtsb-vs-thumb-item, .rtsb-vs-thumb-item img), {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider :is(.rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout :is(.rtwpvg-gallery-image, img)',
659 + 'gallery_thumbs_padding' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout .rtwpvg-gallery-image',
593 660 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale',
594 661 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
595 662 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
596 663 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale',
@@ -600,9 +667,12 @@
600 667 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale',
601 668 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
602 669
603 670 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
604 - 'zoom_icon_size' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
671 + 'zoom_icon_size' => [
672 + 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
673 + 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg',
674 + ],
605 675 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
606 676 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
607 677 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
608 678 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
@@ -611,9 +681,9 @@
611 681 'rtwpvg-tr-br' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-top-right, .rtwpvg-trigger-position-bottom-right)',
612 682 'rtwpvg-tl-bl' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-top-left,.rtwpvg-trigger-position-bottom-left)',
613 683 ],
614 684 'zoom_position_vertical' => [
615 - 'zoom-icon-top' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger',
685 + 'zoom-icon-top' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger, {{WRAPPER}} .rtsb-product-images .rtwpvg-trigger',
616 686 'zoom-icon-bottom' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-bottom-right, .rtwpvg-trigger-position-bottom-left)',
617 687 ],
618 688 ],
619 689 'rtsb-product-meta' => [
@@ -618,12 +688,13 @@
618 688 ],
619 689 'rtsb-product-meta' => [
620 690 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
621 691 'align' => '{{WRAPPER}} .product_meta',
622 - 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
692 + 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
693 + 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
623 694 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
624 - 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
625 - 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
695 + 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label',
696 + 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label',
626 697 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
627 698 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
628 699 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover',
629 700 ],
@@ -661,17 +732,20 @@
661 732 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
662 733 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover',
663 734 ],
664 735 'rtsb-product-stock' => [
665 - 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock',
666 - 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock',
667 - 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock',
668 - 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder',
669 - 'icon_size' => '{{WRAPPER}} .rtsb-product-stock .stock i',
670 - 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i',
671 - 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p',
672 - 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p',
673 - 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p',
736 + 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock .rtsb-stock-text',
737 + 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock .rtsb-stock-text',
738 + 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock .rtsb-stock-text',
739 + 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder .rtsb-stock-text',
740 + 'icon_size' => [
741 + 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i',
742 + 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg',
743 + ],
744 + 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock :is(i, svg)',
745 + 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock > .stock',
746 + 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock > .stock',
747 + 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock > .stock',
674 748 ],
675 749 'rtsb-product-tabs' => array_merge(
676 750 self::reviews_settings_selecotor(),
677 751 [
@@ -696,9 +770,9 @@
696 770 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
697 771 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
698 772 'tab_content_title_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child, {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .woocommerce-Reviews-title',
699 773
700 - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes',
774 + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)',
701 775 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th',
702 776 ]
703 777 ),
704 778 'rtsb-product-title' => [
@@ -716,27 +790,49 @@
716 790 'align' => '{{WRAPPER}}',
717 791 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)',
718 792 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
719 793 ],
794 + // The widget badge lives inside `{{WRAPPER}} .rtsb-product-onsale`; the Badges
795 + // module also renders group badges on the main product gallery (above-image
796 + // position). Style both from the same controls by pairing the widget selector
797 + // with a gallery-scoped selector for the module group badges. The gallery
798 + // scope (`.woocommerce-product-gallery`/`.rtsb-product-images`) keeps related
799 + // product card badges untouched.
720 800 'rtsb-product-onsale' => [
721 - 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
722 - 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
723 - 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
724 - 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after',
725 - 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
726 - 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
727 - 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
801 + 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
802 + 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
803 + 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
804 + 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after, :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
805 + 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
806 + 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
807 + 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
728 808 'product_badges' => [
729 - 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)',
730 - 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
731 - 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
732 - 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
733 - 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
734 - 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
735 - 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
809 + // Match BOTH the free wrapper (.rtsb-product-onsale, from
810 + // templates/elementor/single-product/product-badges.php) AND the pro wrapper
811 + // (.rtsb-product-badges-widgets, from the pro template override). Scoping only to
812 + // `.rtsb-product-onsale` made every badge style control (typography/color/bg/
813 + // border/padding/margin) silently no-op on pro sites, where that div is absent.
814 + // `:is()` matches the most specific arg, preserving the original (0,3,0) specificity.
815 + // Padding/margin also target the Badges-module group badges on the product gallery.
816 + 'typography' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill, .rtsb-tag-outline)',
817 + 'color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)',
818 + 'bg_color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)',
819 + 'border_color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
820 + 'border_radius' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)',
821 + 'padding' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
822 + 'margin' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)',
736 823 'position_x' => '',
737 824 'position_y' => '',
738 825 ],
826 + 'badges_module' => [
827 + // Compound (no descendant combinator): `.rtsb-badge-group-style` and `.rtsb-promotion`
828 + // are emitted on the SAME element by BadgesFrontEnd::group_badges_html(). The pro
829 + // single-product template drops the outer `.rtsb-promotion` wrapper, so a descendant
830 + // selector matches nothing and the Direction/Alignment controls silently no-op.
831 + 'direction' => '{{WRAPPER}} .rtsb-promotion.rtsb-badge-group-style',
832 + 'alignment' => '{{WRAPPER}} .rtsb-promotion.rtsb-badge-group-style',
833 + 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)',
834 + ],
739 835 ],
740 836 ];
741 837
742 838 return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors );
@@ -782,14 +878,16 @@
782 878 'text_color' => '{{WRAPPER}}',
783 879 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description',
784 880 ],
785 881 'rtsb-archive-product-mode' => [
786 - 'icon_size' => '{{WRAPPER}} .rtsb-archive-view-mode a',
882 + 'icon_size' => [
883 + 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i',
884 + 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg',
885 + ],
787 886 'mode_button_align' => '{{WRAPPER}}',
788 887 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a',
789 888 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a',
790 889 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode',
791 - 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
792 890 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
793 891 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
794 892 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a',
795 893 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
@@ -799,9 +897,12 @@
799 897 ],
800 898 'rtsb-archive-result-count' => [
801 899 'align' => '{{WRAPPER}}',
802 900 'text_color' => '{{WRAPPER}}',
803 - 'typo' => '{{WRAPPER}} .rtsb-archive-result-count',
901 + // Also target the inner <p> (woocommerce_result_count output): text-decoration
902 + // is not inherited and does not draw through the descendant block, so it must
903 + // hit the text element directly. Other typography keeps working via the div.
904 + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count, {{WRAPPER}} .rtsb-archive-result-count .woocommerce-result-count',
804 905 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count',
805 906 ],
806 907 'rtsb-products-ordering' => [
807 908 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )',
@@ -816,8 +917,9 @@
816 917 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
817 918 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
818 919 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
819 920 ],
921 + 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(),
820 922 ];
821 923
822 924 return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors );
823 925 }
@@ -854,9 +956,9 @@
854 956 'rtsb-product-cart-totals' => [
855 957 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2',
856 958 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
857 959 // Title Style.
858 - 'title_align' => '{{WRAPPER}}',
960 + 'title_align' => '{{WRAPPER}} .rtsb-cart-totals h2',
859 961 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2',
860 962 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2',
861 963 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2',
862 964 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2',
@@ -909,16 +1011,12 @@
909 1011 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
910 1012 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
911 1013 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
912 1014 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
913 - 'input_border' => '{{WRAPPER}} .woocommerce-cart-form input',
914 - 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1015 + 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text',
1016 + 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input, {{WRAPPER}} .woocommerce-cart-form input::placeholder',
915 1017 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input',
916 - 'empty_notice_typography' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
917 - 'empty_notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
918 - 'empty_notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
919 - 'empty_notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
920 - 'empty_notice_padding' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
1018 +
921 1019 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button',
922 1020 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button',
923 1021 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button',
924 1022 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button',
@@ -928,16 +1026,19 @@
928 1026 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover',
929 1027 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button',
930 1028 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button',
931 1029 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button',
932 - 'notice_typography' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
933 - 'notice_padding' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
934 - 'notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
935 - 'notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
936 - 'notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
937 - 'error_notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error',
938 - 'error_notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error li',
939 - 'error_notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error',
1030 +
1031 + 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1032 + 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1033 + 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1034 + 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1035 + 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1036 + 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1037 + 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1038 + 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1039 + 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1040 +
940 1041 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
941 1042 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
942 1043 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )',
943 1044 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
@@ -945,9 +1046,8 @@
945 1046 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
946 1047 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
947 1048 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
948 1049 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
949 - // 'table_content_column_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td',
950 1050 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th',
951 1051 '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',
952 1052 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table',
953 1053
@@ -978,14 +1078,14 @@
978 1078 'th' => '{{WRAPPER}} .shop_table.cart tr th',
979 1079 'td' => '{{WRAPPER}} .shop_table.cart tr td',
980 1080 ],
981 1081
982 - 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
983 - 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
984 - 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
985 - 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
986 - 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
987 - 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1082 + 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items',
1083 + 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items',
1084 + 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items',
1085 + 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover',
1086 + 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover',
1087 + 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover',
988 1088
989 1089 // Table.
990 1090 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr',
991 1091
@@ -1016,11 +1116,14 @@
1016 1116 'quantity_increment_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus',
1017 1117 'quantity_decrement_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
1018 1118
1019 1119 'quantity_button_width' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1020 - 'icon_size' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1021 - 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity i',
1022 - 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover i',
1120 + 'icon_size' => [
1121 + 'icon' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1122 + 'svg' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn svg',
1123 + ],
1124 + 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity :is(i, svg)',
1125 + 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover :is(i, svg)',
1023 1126 'text_typography' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1024 1127 'quantity_number_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1025 1128 'quantity_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1026 1129 'quantity_border' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
@@ -1056,27 +1159,28 @@
1056 1159 // Label.
1057 1160 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label',
1058 1161 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label',
1059 1162 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required',
1060 - 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label',
1163 + 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)',
1061 1164
1062 1165 // Input Fields.
1166 + 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea',
1063 1167 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1064 - 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1168 + 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1065 1169
1066 - 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1170 + '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',
1067 1171
1068 - 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1069 - 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1172 + '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',
1173 + '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',
1070 1174
1071 1175 // Hover.
1072 - 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1176 + '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)',
1073 1177
1074 - 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1178 + '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)',
1075 1179
1076 - 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1077 - 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1078 - 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )',
1180 + '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',
1181 + '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',
1182 + '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 )',
1079 1183
1080 1184 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row',
1081 1185 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper',
1082 1186
@@ -1089,11 +1193,12 @@
1089 1193
1090 1194 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1091 1195 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1092 1196 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required',
1093 - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1197 + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)',
1094 1198
1095 1199 // Input Fields.
1200 + 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea',
1096 1201 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1097 1202 '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',
1098 1203
1099 1204 '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',
@@ -1126,25 +1231,26 @@
1126 1231
1127 1232 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label',
1128 1233 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label',
1129 1234 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required',
1130 - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label',
1235 + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)',
1131 1236
1132 1237 // Input Fields.
1133 - 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1134 - 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1135 - 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1136 - 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1137 - 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1238 + 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1239 + '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',
1240 + 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1241 + 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1242 + 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1243 + 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1138 1244
1139 1245 // Hover.
1140 - 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1246 + 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1141 1247
1142 - 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1143 - 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1144 - 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1248 + 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1249 + 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1250 + 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1145 1251
1146 - 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1252 + 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1147 1253 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1148 1254 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1149 1255
1150 1256 ],
@@ -1160,9 +1266,8 @@
1160 1266 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1161 1267 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1162 1268 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1163 1269 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1164 - // Table Settings.
1165 1270 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1166 1271 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1167 1272 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1168 1273 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )',
@@ -1169,17 +1274,35 @@
1169 1274 'label_typo' => '{{WRAPPER}} #order_review thead th',
1170 1275 'label_color' => '{{WRAPPER}} #order_review thead th',
1171 1276 'label_bg_color' => '{{WRAPPER}} #order_review thead th',
1172 1277 'label_item_padding' => '{{WRAPPER}} #order_review thead th',
1173 - // Table Body
1278 + // Table Body.
1174 1279 'body_text_typo' => '{{WRAPPER}} #order_review tbody td',
1175 1280 'body_text_color' => '{{WRAPPER}} #order_review tbody td',
1176 1281 'body_item_padding' => '{{WRAPPER}} #order_review tbody td',
1177 1282 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td',
1178 - // Counter
1283 + // Counter.
1179 1284 'counter_text_color' => '{{WRAPPER}} .product-quantity',
1180 1285 'counter_style' => '{{WRAPPER}} .product-quantity',
1181 - // Table Footer
1286 + // Quantity selector.
1287 + 'qty_align' => '{{WRAPPER}} .rtsb-order-review-quantity',
1288 + 'qty_wrapper_margin' => '{{WRAPPER}} .rtsb-order-review-quantity',
1289 + 'qty_box_border' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-group',
1290 + 'qty_box_radius' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-group',
1291 + 'qty_box_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-group',
1292 + 'qty_box_height' => '{{WRAPPER}} .rtsb-order-review-quantity :is( .rtsb-order-qty-btn, .rtsb-order-qty-input )',
1293 + 'qty_input_width' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input',
1294 + 'qty_input_typo' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input',
1295 + 'qty_input_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input',
1296 + 'qty_input_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input',
1297 + 'qty_input_border_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input',
1298 + 'qty_btn_width' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn',
1299 + 'qty_icon_size' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn svg',
1300 + 'qty_btn_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn',
1301 + 'qty_btn_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn',
1302 + 'qty_btn_hover_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn:hover',
1303 + 'qty_btn_hover_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn:hover',
1304 + // Table Footer.
1182 1305 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1183 1306 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th',
1184 1307 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td',
1185 1308 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
@@ -1374,9 +1497,11 @@
1374 1497 'rtsb/elementor/common_selectors',
1375 1498 [
1376 1499 'columns' => [
1377 1500 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1501 + 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry',
1378 1502 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]',
1503 + 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry',
1379 1504 'grid_gap' => [
1380 1505 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]',
1381 1506 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1382 1507 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3',
@@ -1383,15 +1508,14 @@
1383 1508 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9',
1384 1509 ],
1385 1510 'image_width' => [
1386 1511 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left',
1387 - // 'content' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-content',
1388 1512 ],
1389 1513 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1390 1514 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content',
1391 1515 'grid_alignment' => [
1392 1516 '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',
1393 - 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list',
1517 + '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',
1394 1518 ],
1395 1519 ],
1396 1520 'color_scheme' => [
1397 1521 'primary_color' => '{{WRAPPER}}',
@@ -1404,9 +1528,9 @@
1404 1528 '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',
1405 1529 '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',
1406 1530 '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',
1407 1531 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1408 - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count',
1532 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover',
1409 1533 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1410 1534 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1411 1535 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1412 1536 ],
@@ -1430,10 +1554,12 @@
1430 1554 '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',
1431 1555 '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',
1432 1556 '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',
1433 1557 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img',
1558 +
1434 1559 ],
1435 1560 'advanced' => [
1561 + 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1436 1562 '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',
1437 1563 'element_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid',
1438 1564 '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',
1439 1565 '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',
@@ -1441,8 +1567,10 @@
1441 1567 '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',
1442 1568 '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',
1443 1569 '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 )',
1444 1570 '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',
1571 + 'rtsb_el_wrapper_border' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1572 + 'wrapper_border_radius' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1445 1573 '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',
1446 1574 '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',
1447 1575 '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',
1448 1576 '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',
@@ -1448,8 +1576,13 @@
1448 1576 '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',
1449 1577 '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',
1450 1578 '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',
1451 1579 ],
1580 + 'badges_module' => [
1581 + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1582 + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1583 + 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)',
1584 + ],
1452 1585 ]
1453 1586 );
1454 1587 }
1455 1588
@@ -1460,9 +1593,12 @@
1460 1593 */
1461 1594 public static function general_slider_selectors(): array {
1462 1595 return [
1463 1596 'slider_buttons' => [
1464 - 'arrow_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1597 + 'arrow_size' => [
1598 + 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1599 + 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg',
1600 + ],
1465 1601 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1466 1602 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1467 1603 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1468 1604 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
@@ -1508,12 +1644,16 @@
1508 1644 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1509 1645 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1510 1646 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1511 1647 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1512 - 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title',
1513 - 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover',
1648 + // Layout 2 (grid/slider) reveals a hover button that overlays the title wrapper and captures :hover, so the
1649 + // wrapper's own :hover never fires; the extra `.rtsb-product:hover .product-title-with-btn` clause re-applies the
1650 + // hover text/bg/border color on product-card hover. NOTE: layout 2 fades the title text out on hover, so the
1651 + // hover *text* color is not visibly noticeable there — the wrapper background and border remain visible.
1652 + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .product-title',
1653 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .rtsb-product-title-wrapper',
1514 1654 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper',
1515 - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover',
1655 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .rtsb-product-title-wrapper',
1516 1656 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1517 1657 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1518 1658 ],
1519 1659 'short_description' => array_fill_keys(
@@ -1530,27 +1670,32 @@
1530 1670 ),
1531 1671 'action_buttons' => [
1532 1672 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list',
1533 1673 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list',
1674 + 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text',
1534 1675 ],
1535 1676 'product_price' => [
1536 - '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',
1537 - 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1538 - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1539 - 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1540 - 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1541 - 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1542 - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1543 - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1544 - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1677 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del',
1678 + 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins',
1679 + 'regular_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del',
1680 + 'sale_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins',
1681 + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1682 + 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1683 + 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1684 + 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1685 + 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1686 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1687 + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1688 + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1545 1689 ],
1546 1690 'product_rating' => [
1547 - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1548 - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1549 - 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1550 - 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1551 - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1552 - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1691 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1692 + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1693 + 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1694 + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1695 + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1696 + 'spacing_preset2' => '{{WRAPPER}} .rtsb-elementor-container .product-rating.preset2, {{WRAPPER}} .rtsb-elementor-container .product-rating.preset2 .inner-wrapper',
1697 + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1553 1698 ],
1554 1699 'product_categories' => [
1555 1700 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1556 1701 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category',
@@ -1564,8 +1709,22 @@
1564 1709 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1565 1710 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1566 1711 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category',
1567 1712 ],
1713 + 'product_brands' => [
1714 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1715 + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-brand-category',
1716 + 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1717 + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1718 + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1719 + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1720 + 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1721 + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1722 + 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1723 + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1724 + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1725 + 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-category',
1726 + ],
1568 1727 'pagination' => [
1569 1728 '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',
1570 1729 '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',
1571 1730 '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',
@@ -1589,12 +1748,8 @@
1589 1748 'icon_size' => [
1590 1749 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1591 1750 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg',
1592 1751 ],
1593 - 'cart_icon_spacing' => [
1594 - 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text',
1595 - 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text',
1596 - ],
1597 1752 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1598 1753 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1599 1754 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1600 1755 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
@@ -1659,10 +1814,17 @@
1659 1814 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1660 1815 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1661 1816 ],
1662 1817 'hover_icon_button' => [
1663 - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1664 - 'icon_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1818 + // Include `.text` (the label span): the button is display:inline-flex, so its
1819 + // `.text` child is a flex item and `text-decoration` set on the <a> does NOT
1820 + // propagate to it (the Text Decoration control would silently do nothing).
1821 + // Other typography props inherit fine; decoration must hit `.text` directly.
1822 + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a, {{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text',
1823 + 'icon_size' => [
1824 + 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1825 + 'svg' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon svg',
1826 + ],
1665 1827 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon',
1666 1828 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1667 1829 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1668 1830 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',