/*
 Theme Name:   Elektrix Child
 Theme URI:    https://elektrix.wpengine.com/
 Description:  Elektrix Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     elektrix
 Version:      1.0.0
 Text Domain:  elektrix-child
*/

/* WooCommerce Product Page Customizations */

/* Custom Price Wrapper */
.custom-price-wrapper {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #007cba;
}

.custom-price-wrapper .price {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.sale-badge {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
}

/* Custom Product Title Wrapper */
.custom-product-title-wrapper {
    margin-bottom: 20px;
}

.custom-product-title-wrapper .product_title {
    color: #2c3e50;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-sku {
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #6c757d;
    display: inline-block;
}

/* Product Summary Enhancements */
.woocommerce div.product .summary {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Add to Cart Button Enhancement */
.woocommerce div.product form.cart .button {
    background: #28a745;
    color: white;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Product Meta Styling */
.product_meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.product_meta span {
    display: block;
    margin-bottom: 8px;
}

.product_meta strong {
    color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-product-title-wrapper .product_title {
        font-size: 1.8em;
    }
    
    .custom-price-wrapper .price {
        font-size: 1.3em;
    }
    
    .woocommerce div.product form.cart .button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}