/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.1.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


/* * NOOMWEAR - PROMO STYLING
 * High-contrast badge and dynamic price hierarchy
 */

/* 1. Updated Sale Badge (Red & High Contrast) */
.custom-sale-badge {
    /* Shape and Size */
    width: 48px;           
    height: 48px;          
    border-radius: 50%;    
    
    /* Reset and Layout */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0; 
    
    /* Colors - Changed from Purple to High-Visibility Red/Coral */
    background-color: #d82508; 
    color: #ffffff;
    
    /* Typography */
    font-size: 14px; 
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    
    /* Positioning */
    position: absolute;
    top: 12px;          
    right: 12px;        
    z-index: 10; 
    
    /* Visual Depth and Animation */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease-in-out;
}

/* Hover effect to make it interactive */
.loop-entry:hover .custom-sale-badge {
    transform: scale(1.1);
}

/* 2. Discounted Price Styling (Red & Bold) */
.price ins {
    text-decoration: none; /* Remove underline from <ins> */
}

.price ins .woocommerce-Price-amount {
    color: #d82508 !important; /* Matches the badge for visual consistency */
    font-size: 1.25em !important;
    font-weight: 700 !important;
}

/* 3. Regular Price Styling (Muted & Smaller) */
.price del .woocommerce-Price-amount {
    font-size: 0.85em !important;
    font-weight: 400 !important;
    margin-right: 6px;
}

/* 4. Currency Symbol Adjustment */
.woocommerce-Price-currencySymbol {
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 2px;
}
.menu a[href*="/promotions/"] {
	color: #d82508 !important;
}

li.product .cfvsw-swatches-option.cfvsw-image-option .cfvsw-swatch-inner{
	height:30px!important;
	width:30px!important;
}
body.single-product .cfvsw-swatches-option.cfvsw-image-option .cfvsw-swatch-inner{
	height:80px!important;
	width:60px!important;
}

@media only screen and (max-width: 767px) {
    /* hide breadcrumbs excert on mobile */
    .product-title.product-above, .woocommerce-product-details__short-description {
        display: none !important;
    }
	.woo-variation-product-gallery {
    width: 100% !important;
  }
}


/* Hide the title/caption in Additional Variation Images Gallery Lightbox */
.pwig-lightbox-caption, 
.pwig-caption,
.pswp__caption__center {
    display: none !important;
}

/* Caddy sidecart quantiy button fix*/
.cc-qty-disabled {
    cursor: not-allowed;    
    opacity: 0.5;            
    pointer-events: none !important;    
}
.cc-fs-country {
	display: none;
}
.cc-coupon a.cc-coupon-title {
    color: #12b97c !important;
    font-weight: bold !important;
    text-decoration: none !important; 
}
.cc-cart .cc-button-primary, .cc-compass{
	background-color: #442f56;
}

/*color swatches */
div[swatches-attr="attribute_pa_couleur"] .permanently-hidden {
    display: none !important;
} 