/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/





/* Target only the current sale price inside the price paragraph */
p.price ins .woocommerce-Price-amount.amount {
    font-weight: bold !important;
    font-size: 20px; /* Adjust size as needed */
}

/* Optional: Ensure the original/strikethrough price remains unchanged */
p.price del .woocommerce-Price-amount.amount {
    font-weight: normal !important;
    font-size: inherit !important;
}

/* Buy now button customizing */

.wc-buy-now-btn {
    position: relative;
    overflow: hidden; /* Ensures the shimmer stays inside the button */
    background: #0073aa; /* Change this to your brand color */
    color: #ffffff;
    transition: all 0.3s ease;
    border: none;
}

/* The Shimmer Layer */
.wc-buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Hover Effect */
.wc-buy-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
}



button[name="wc-quick-buy-now"] {
    width: 100% !important;
    max-width: 400px portant;
    display: block !important;
    margin: 10px auto !important;
}

