Commit da0e06533a9 for woocommerce

commit da0e06533a967a5b27c95054d377e90e65c35b8f
Author: Luigi Teschio <gigitux@gmail.com>
Date:   Tue Nov 17 09:41:22 2026 +0100

    Fix missing review block sorting styles without Mini Cart (#71016)

    * Fix shared styles for review block sorting controls

    * Add changelog entry for review block sorting styles

diff --git a/plugins/woocommerce/changelog/fix-review-block-sort-select-styles b/plugins/woocommerce/changelog/fix-review-block-sort-select-styles
new file mode 100644
index 00000000000..73a0e544f8c
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-review-block-sort-select-styles
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Restore spacing beside the sorting label in review blocks on pages without a Mini Cart.
diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/AllReviews.php b/plugins/woocommerce/src/Blocks/BlockTypes/AllReviews.php
index 092f8acd379..117153b93f5 100644
--- a/plugins/woocommerce/src/Blocks/BlockTypes/AllReviews.php
+++ b/plugins/woocommerce/src/Blocks/BlockTypes/AllReviews.php
@@ -12,6 +12,18 @@ class AllReviews extends AbstractBlock {
 	 */
 	protected $block_name = 'all-reviews';

+	/**
+	 * Get the frontend styles, including shared component styles.
+	 *
+	 * @since 11.4.0
+	 *
+	 * @return string[]
+	 */
+	protected function get_block_type_style() {
+		// The sorting control's styles are bundled separately from the block's styles.
+		return array_merge( parent::get_block_type_style() ?? [], [ 'wc-blocks-packages-style' ] );
+	}
+
 	/**
 	 * Get the frontend script handle for this block type.
 	 *
diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByCategory.php b/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByCategory.php
index 4d26468ff4b..50a3403f586 100644
--- a/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByCategory.php
+++ b/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByCategory.php
@@ -12,6 +12,18 @@ class ReviewsByCategory extends AbstractBlock {
 	 */
 	protected $block_name = 'reviews-by-category';

+	/**
+	 * Get the frontend styles, including shared component styles.
+	 *
+	 * @since 11.4.0
+	 *
+	 * @return string[]
+	 */
+	protected function get_block_type_style() {
+		// The sorting control's styles are bundled separately from the block's styles.
+		return array_merge( parent::get_block_type_style() ?? [], [ 'wc-blocks-packages-style' ] );
+	}
+
 	/**
 	 * Get the frontend script handle for this block type.
 	 *
diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByProduct.php b/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByProduct.php
index 681aa003ee9..673e9a6ab92 100644
--- a/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByProduct.php
+++ b/plugins/woocommerce/src/Blocks/BlockTypes/ReviewsByProduct.php
@@ -12,6 +12,18 @@ class ReviewsByProduct extends AbstractBlock {
 	 */
 	protected $block_name = 'reviews-by-product';

+	/**
+	 * Get the frontend styles, including shared component styles.
+	 *
+	 * @since 11.4.0
+	 *
+	 * @return string[]
+	 */
+	protected function get_block_type_style() {
+		// The sorting control's styles are bundled separately from the block's styles.
+		return array_merge( parent::get_block_type_style() ?? [], [ 'wc-blocks-packages-style' ] );
+	}
+
 	/**
 	 * Get the frontend script handle for this block type.
 	 *