/*
Theme Name: Astra Child
Author: WGT Developer
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


/* Main Card */
.custom-product-card {
    background: #fcf7e4;
    border-radius: 16px;
    padding: 0px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    text-align: center;

}

.custom-product-card:hover {
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.custom-product-card .product-image { position: relative;}

/* Image Styling */
.custom-product-card .product-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.custom-product-card .product-image img.secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.custom-product-card .product-image .has-hover:hover img.secondary-image {
    opacity: 1;
}

/* Sale Badge */
.woocommerce span.onsale{
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    margin: 0;
    background: #e63946;
    color: #fff;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 2;
    line-height:normal;
    min-height: auto;
    min-width: auto;
}

/* Title */
.product-title {
    font-weight: 700;
    font-size: 20px;
    margin: 14px 0 8px;
    color: #1d3557;
}

/* Rating */
.woocommerce-js .products .star-rating {margin: 0 auto 12px;}
.star-rating span:before {
    color: #ff9900;
}

/* Price Styling */
.custom-product-card .price {
    /* font-weight: bold;
    font-size: 16px;
    color: #e60000; */

    font-size: 18px;
    margin: 0 auto 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #e63946;
    font-weight: bold;

}
.custom-product-card .price del {
    color: #888;
    text-decoration: line-through;
    font-weight: 500;
}

.custom-product-card .price ins {
    color: #e63946;
    font-weight: bold;
    text-decoration: none;
}

/* Buttons */
.custom-product-card .product-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.custom-product-card .button {
    background: transparent !important;
    color: #000000 !important;
    font-weight: 500 !important;
    text-transform: capitalize;
}
.custom-product-card .button:hover {
    background: #CC9945 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

.custom-product-card .add_to_cart_button {
    background: transparent;
        border-radius: 36px;
    padding: 14px 10px !important;
    font-size: 15px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block !important;
    width: 48%;
    font-weight: 400 !important;
    border: 1px solid #CC9945 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-product-card .bulk-order-btn {
    background: transparent;
        border-radius: 36px;
    padding: 14px 10px !important;
    font-size: 15px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block !important;
    width: 48%;
    font-weight: 400 !important;
    border: 1px solid #CC9945 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-product-card .button:hover {
    background: #a67c52;
    color: #fff;
}


.navmenu .elementor-widget-container { overflow:hidden !important;}