/*
Theme Name: Woostify Child
Theme URI: https://woostify.com
Template: woostify
Author: Woostify
Author URI: https://woostify.com/about
Description: Woostify Child Theme - Clean & Re-Arranged
Version: 2.5.2.1782106408
Updated: 2026-06-30 11:45:00
*/

/* Core Layout Basics */
.product_title {
    font-weight: 800 !important;
}
.woocommerce-product-details__short-description { 
    padding: 0 !important;
}

/* ==========================================================================
   1. PRODUCT PRICE VISIBILITY SETTINGS (PHP POINT 1)
   ========================================================================== */
.single-product div.summary p.price {
    display: none !important;
}
.single-product div.summary .woocommerce-variation-price .price {
    display: block !important;
}

/* ==========================================================================
   2. VARIATION TABS & DISCOUNT BADGE STYLING (PHP POINT 2)
   ========================================================================== */
/* Swatch Box Default State */
.variable-items-wrapper .variable-item:not(.disabled) {
    background-color: #f1f1f1 !important;
    color: #333333 !important;
    border: 1px solid #cccccc !important;
    padding: 8px 16px !important;
    border-radius: 5px !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}
/* Swatch Box Selected State (Red BG + Black Stroke) */
.variable-items-wrapper .variable-item:not(.disabled).selected {
    background-color: #ff0000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}
.variable-items-wrapper .variable-item:not(.disabled):hover {
    border-color: #000000 !important;
}

/* Selected Variation Price Text Colors */
.woocommerce-variation-price .price ins .woocommerce-Price-amount {
    color: #ff0000 !important;
    font-weight: bold;
}
.woocommerce-variation-price .price del .woocommerce-Price-amount {
    color: #000000 !important;
    opacity: 0.6;
}

/* Main Native Badge Disable */
.single-product span.onsale, 
.single-product .woocommerce-onsale {
    display: none !important;
}

/* Dynamic Percentage Badge Inside Selected Box */
.variation-discount-badge {
    background-color: #00875a !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* ==========================================================================
   3 & 4. ADD TO CART & BUY NOW GRID FIX (PHP POINT 3 & 4)
   ========================================================================== */
/* Single Product Page Buy Form Grid */
.single-product form.cart {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}

/* Quantity Box Alignment Structure */
.single-product form.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Single Add to Cart Styling Base */
.single-product form.cart .single_add_to_cart_button {
    width: auto !important;
    min-width: 160px !important;
    height: 48px !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

/* Premium Custom Buy Now Button Layout */
.single-product form.cart .custom-buy-now-btn {
    background-color: #107C41 !important;
    color: #ffffff !important;
    border-radius: 25px !important; /* Balanced alignment corner radius matching add to cart */
    height: 48px !important;
    min-width: 160px !important;
    width: auto !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.2s ease-in-out !important;
}
.single-product form.cart .custom-buy-now-btn:hover {
    background-color: #0b592e !important;
}

/* Wishlist Block Management Below Main Line */
.single-product .tinv-wraper, 
.single-product .yith-wcwl-add-to-wishlist, 
.single-product .woostify-buy-now-wishlist-container,
.single-product .add_to_wishlist,
.single-product div.summary .tinv-wishlist,
.single-product .tinv-wl-theme-output {
    flex-basis: 100% !important;
    width: 100% !important;
    margin-top: 15px !important;
    display: block !important;
}


/* ==========================================================================
   6. LIVE FOMO COUNTER & MOBILE RESPONSE CONTROL (PHP POINT 5)
   ========================================================================== */
/* Blinking Live Urgency Pulse Element */
.urgency-dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #e53e3e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(229, 62, 98, 0.7);
    animation: urgencyDotBlink 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes urgencyDotBlink {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 62, 98, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(229, 62, 98, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 62, 98, 0); }
}

/* Mobile & Tablet Cross-Browser Viewport Setup */
@media screen and (max-width: 768px) {
    .single-product form.cart {
        gap: 10px !important;
    }
    
    .single-product form.cart .quantity {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        margin-bottom: 5px !important;
    }
    .single-product form.cart .quantity .qty {
        width: 100% !important;
        flex: 1 !important;
    }

    .single-product form.cart .single_add_to_cart_button, 
    .single-product form.cart .custom-buy-now-btn {
        flex: 1 1 45% !important; 
        width: 48% !important;
        min-width: 120px !important;
        font-size: 14px !important;
        padding: 0 5px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/***********************************************************************/

/* Purane default blocks ko chhipane ke liye */
.woocommerce-product-rating, 
.woostify-single-product-rating {
    display: none !important;
}

/* Naye Capsule Badge ka layout decoration */
.pmg-brand-rating-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
    margin-top: 5px !important;
    background: #fff8f0 !important; /* Premium light warm background */
    padding: 6px 14px !important;
    border-radius: 30px !important;
    border: 1px solid #ffe6cc !important;
}

/* Stars setting inside our custom badge */
.pmg-stars-wrapper .star-rating {
    font-size: 14px !important;
    color: #ff9c00 !important;
    margin: 0 !important;
    float: none !important;
    display: inline-block !important;
}

.pmg-brand-rating-box .pmg-rating-val {
    font-weight: 800 !important;
    color: #ff9c00 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.pmg-brand-rating-box .pmg-rating-cnt {
    color: #555555 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/**************** product card edit **************/



