/*
 Theme Name:    Electro Child
 Theme URI:     https://themeforest.net/item/electro-electronics-store-woocommerce-theme/15720624
 Description:   This is the child theme of Electro
 Author:        MadrasThemes
 Author URI:    https://madrasthemes.com/
 Template:      electro
 Version:       3.6.4
 License:       GNU General Public License v2 or later
 License URI:   http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          light, dark, two-columns, right-sidebar, responsive-layout
 Text Domain:   electro-child
*/

.section-onsale-product-countdown {
    position: relative;
	margin-bottom: 10px;
}

.onsale-product-countdown {
    position: relative;
    background: #fff;
    border: 2px solid #9E62F5;
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
}

/* Cart Icon - Top Right */
.onsale-countdown-cart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}
.onsale-countdown-cart-icon.owl-item >.product::after{
	border-right: 0px;
}
/*.onsale-countdown-cart-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
}

.onsale-countdown-cart-icon a:hover {
    background: #333;
    color: #fff;
}*/

/* Main Content Layout - 2 Columns */
.onsale-countdown-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Left Column - Product Image */
.onsale-countdown-image {
    flex: 0 0 130px;
    max-width: 130px;
}

.onsale-countdown-image .onsale{
	position: absolute;
    top: 0;
    left: 0;
}

.onsale-countdown-image a {
    display: block;
}

.onsale-countdown-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Right Column - Product Info */
.onsale-countdown-info {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Product Title */
.onsale-countdown-info .woocommerce-loop-product__title {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

.onsale-countdown-info .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}

.onsale-countdown-info .onsale-countdown-price span{
	color: red;
	font-size: 16px;
}
/* Price */
.onsale-countdown-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.onsale-countdown-price .price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.onsale-countdown-price ins {
    text-decoration: none;
    color: #e74c3c;
    font-size: 28px;
}

.onsale-countdown-price del {
    color: #999;
    font-size: 18px;
    opacity: 0.7;
}

/* Countdown Text */
.onsale-countdown-text {
    font-size: 10px;
    color: #666;
	text-align: center;
}

.onsale-countdown-text span {
    display: inline-block;
}

/* Child Theme Countdown Timer - Custom Structure */
.child-countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Countdown Box */
.child-countdown-timer .countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
    gap: 2px;
}

/* Countdown Number */
.child-countdown-timer .countdown-number {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    display: block;
	background: #f5f5f5;
    width: 35px;
    height: 25px;
    text-align: center;
    border-radius: 4px;
}

/* Countdown Label */
.child-countdown-timer .countdown-label {
    font-size: 11px;
    color: #666;
    font-weight: 400;
    text-transform: none;
    display: block;
    margin-top: 2px;
}

/* Countdown Separator */
.child-countdown-timer .countdown-separator {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 2px;
    line-height: 1;
    align-self: flex-start;
    padding-top: 8px;
}

/* Countdown Expired */
.child-countdown-timer .countdown-expired {
    color: #e74c3c;
    font-weight: 600;
    padding: 12px;
}

.child-countdown-timer .countdown-days .countdown-number,
.child-countdown-timer .countdown-hours .countdown-number,
.child-countdown-timer .countdown-minutes .countdown-number,
.child-countdown-timer .countdown-seconds .countdown-number {
    color: #333;
}


/* Responsive */
@media (max-width: 768px) {
    .onsale-countdown-content {
        flex-direction: column;
    }
    
    .onsale-countdown-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .onsale-countdown-price ins {
        font-size: 24px;
    }
    
    .onsale-countdown-info .woocommerce-loop-product__title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .onsale-product-countdown {
        padding: 15px;
    }
    
    .child-countdown-timer {
        gap: 4px;
    }
    
    .child-countdown-timer .countdown-box {
        padding: 8px 10px;
        min-width: 45px;
    }
    
    .child-countdown-timer .countdown-number {
        font-size: 22px;
    }
    
    .child-countdown-timer .countdown-label {
        font-size: 10px;
    }
    
    .child-countdown-timer .countdown-separator {
        font-size: 18px;
        padding-top: 6px;
    }
}
.deal-progress {
	display: none;
}