/**
 * Theme Name:     Twenty Twenty-Five Child
 * Author:         the WordPress team
 * Template:       twentytwentyfive
 * Text Domain:	   twenty-twenty-five-child
 * Description:    Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body, a, li, ul, i, p {
  font-family: "Inter", system-ui, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", "Playfair Display", serif !important;
}

p {
	margin: 0px !important;
	font-weight: 500 !important;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px !important;
}

.aesthetic-shop-grid {
/* 1. Main Card Product Wrapper Setup */
li.wc-block-product {
    position: relative !important;
    overflow: visible !important; /* Taaki button boundary se bahar na chhupe */
}

/* 2. Button Container Configuration (Positioning it over the image) */
.wp-block-button.wc-block-components-product-button.wp-block-woocommerce-product-button {
    position: absolute !important;
    top: 45%; /* Image ke center ke paas lane ke liye (Apne hisaab se thoda change kar sakte ho) */
    left: 50% !important;
    transform: translate(-50%, 15px) !important; /* Shuruat me thoda niche push rahega animation ke liye */
    width: 85% !important;
    z-index: 99999 !important;
    margin: 0 !important;
    
    /* Strict Invisible Status by Default */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Jab tak hidden ho, clicks bypass kare */
    
    /* Smooth Slide-up transition */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s !important;
}

/* 3. Actual Button Component Styling (The Aesthetic Look) */
button.wc-block-components-product-button__button.add_to_cart_button, a.added_to_cart.wc_forward {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #241b16 !important;
    border-radius: 30px !important;
    padding: 12px 0 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    border: none !important;
}

/* 4. MAGIC HOVER: Pure Product Card standard HTML (li) prr hover hone prr button dikhao */
li.wc-block-product:hover .wp-block-button.wc-block-components-product-button.wp-block-woocommerce-product-button {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important; /* Smoothly slide up hokar original place par aayega */
}

/* 5. Jbb cursor properly Button k upar jaye toh use dark color krdo */
button.wc-block-components-product-button__button.add_to_cart_button:hover {
    background: #241b16 !important;
    color: #ffffff !important;
}
	
	    .wc-block-components-product-sale-badge.alignleft.wc-block-components-product-sale-badge--align-left {
        font-size: 12px;
        border: none !important;
        background: #342520;
        color: #fef9f1;
        padding: 4px 10px;
        border-radius: 10px !important;
        line-height: 12px !important;
        letter-spacing: 1px;
        font-weight: 500 !important;
    }
}