<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$shortcode_atts = wp_json_encode(
	array(
		'layout'   => $atts['layout'] ?? '',
		'columns'  => $atts['columns'] ?? '',
		'per_page' => $atts['per_page'] ?? '',
		'category' => $atts['category'] ?? '',
	)
);
?>
<div class="rtrb-root rtrb-service-list" data-atts="<?php echo esc_attr( $shortcode_atts ); ?>">
	<div class="rtrb-initial-loader" style="display:flex;align-items:center;justify-content:center;min-height:300px;">
		<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="animation:rtrb-spin 1s linear infinite;color:#6B7280;">
			<path d="M21 12a9 9 0 1 1-6.219-8.56"/>
		</svg>
	</div>
</div>
<style>@keyframes rtrb-spin{to{transform:rotate(360deg)}}</style>
