<?php if (!defined('ABSPATH'))
    exit; // Exit if accessed directly ?>
<div class="drop-popup-section modal fade position-fixed" id="share-Modal-popup" aria-hidden="true"
    data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1">
    <div class="modal-dialog modal-dialog-centered">
        <div class="kirb-modal-content drop-section">
            <div class="modal-header">
                <div class="heading-h5 modal-title"><?php echo esc_html('Share'); ?>
                </div>
                <div class="pera-content">
                    <?php echo esc_html('Share this amazing product with your friends and family.'); ?>
                </div>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <div class="img-section">
                    <img <?php echo wp_kses_post($byor_diamond_image)?> alt="" width="107">
                    <div class="pera-content"><?php echo esc_html(kirb_string_split_translate($byor_diamond['title'], $kirb_filter_values_translation_mapping));?>
                    </div>
                </div>
                <div class="img-section mt-3">
                    <img <?php echo wp_kses_post($byor_ring_image)?> alt="" width="107">
                    <div class="pera-content"><?php echo esc_html(kirb_string_split_translate($byor_ring_data->get_title(), $kirb_filter_values_translation_mapping));?>
                    </div>
                </div>
                <div class="modal__share__section">
                    <div class="modal__share__icon_wrapper">
                        <a href="#" class="modal__share__icons facebook" title="Facebook" id="share_facebook"
                            target="_blank"></a>
                        <a href="#" class="modal__share__icons pinterest" title="Pinterest" id="share_pinterest"
                            target="_blank"></a>
                        <!-- <a href="#" class="modal__share__icons instagram" title="Instagram" id="share_instagram"></a> -->
                    </div>
                    <p><?php echo esc_html('Or copy link to share'); ?></p>
                    <div class="modal__copy__link">
                        <span id="pageLinkText"></span>
                        <div class="copy-url cpy-button"
                            title="<?php echo esc_html('Copy'); ?>">
                            <img src="<?php echo esc_html(KIRB_PLUGIN_DIR) ?>/assets/images/copy-url.png" loading="lazy"
                                alt="product image" width="50" height="50">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>