<?php
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
    die;
}

$design_settings = include FSDSB_SIMPLE_BANNER_PATH . 'public/settings/fsd-simple-banner-design-settings.php';
$size = $design_settings['banner_close_btn_size'];

?>

<button class="fsd-sb-info-banner__close" aria-label="Close banner">
    <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="<?php echo esc_html($size); ?>" height="<?php echo esc_html($size); ?>" viewBox="0 0 50 50">
        <path d="M 9.15625 6.3125 L 6.3125 9.15625 L 22.15625 25 L 6.21875 40.96875 L 9.03125 43.78125 L 25 27.84375 L 40.9375 43.78125 L 43.78125 40.9375 L 27.84375 25 L 43.6875 9.15625 L 40.84375 6.3125 L 25 22.15625 Z" fill="<?php echo esc_html($design_settings['banner_close_btn_colour']); ?>"></path>
    </svg>
</button>