/**
 * /*!
 * Theme Name:      	Shoptimizer
 * Theme URI:       	https://www.commercegurus.com/wordpress-themes/shoptimizer
 * Author:          	CommerceGurus
 * Author URI:      	https://www.commercegurus.com/
 * Description:     	Shoptimizer is the perfect theme for your next WooCommerce project designed around speed and conversions.
 * Version:         	2.6.0
 * Requires at least: 	5.6
 * Requires PHP: 		7.3.33
 * License:         	GNU General Public License v2 or later
 * License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:     	shoptimizer
 * wc_gzd_compatible: 	true
 * Tags:            	e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options
 * CGMeta: 1584:a523c024-0f7c-47a5-a11a-3e11d0914cc2
 *
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned with others.
 *
 * Shoptimizer is based on Underscores http://underscores.me/, (C) 2012-2019 Automattic, Inc. and Storefront https://github.com/woocommerce/storefront (C) 2012-2019 Automattic, Inc.
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 *
 * Shoptimizer documentation is available here: https://www.commercegurus.com/docs/shoptimizer-theme/
 *
 * Rivolicons License: Created by Hadrien Boyer and licensed under Creative Commons 4.0 - https://creativecommons.org/licenses/by-sa/4.0/
 * Rivolicons icon pack homepage - http://rivolicons.hadrien.co/
 * Images License: GNU General Public License v2 or later
 *
 * ======
 * Note: Do not edit this file. If you wish to add your own CSS we strongly recommend creating your own child theme, or installing a custom CSS plugin.
 * All main styles are in /assets/css/main/main.css
 * ======
 *
 */
// === Add Security & Service section below product summary ===
add_action('woocommerce_single_product_summary', 'add_security_service_section', 25);

function add_security_service_section() {
    ?>
    <div class="shop-trust-card" id="trustCard">
      <div class="shop-trust-header" onclick="this.parentNode.classList.toggle('is-open')">
        <div class="title">🔒 SECURITY AND SERVICE</div>
        <div class="chevron"></div>
      </div>

      <div class="shop-trust-content">
        <div class="shop-trust-item">
          <div class="icon">💳</div>
          <div class="txt"><strong>Payment Security:</strong> We offer secure payment options with Visa, MasterCard, PayPal…</div>
        </div>

        <div class="shop-trust-item">
          <div class="icon">🔐</div>
          <div class="txt"><strong>Privacy Protection:</strong> Your data is fully encrypted and safe.</div>
        </div>

        <div class="shop-trust-item">
          <div class="icon">🚚</div>
          <div class="txt"><strong>Efficient Logistics:</strong> Real-time tracking and delivery insurance.</div>
        </div>

        <div class="shop-trust-item">
          <div class="icon">📞</div>
          <div class="txt"><strong>Customer Service:</strong> 24/7 support team ready to help.</div>
        </div>

        <div class="shop-trust-logos">
          <img src="https://upload.wikimedia.org/wikipedia/commons/0/04/Visa.svg" alt="Visa">
          <img src="https://upload.wikimedia.org/wikipedia/commons/2/2a/Mastercard-logo.svg" alt="Mastercard">
          <img src="https://upload.wikimedia.org/wikipedia/commons/b/b5/PayPal.svg" alt="PayPal">
        </div>
      </div>
    </div>
    <?php
}
