/*
Theme Name: Maison Child
Theme URI: https://maison.qodeinteractive.com/
Description: A child theme of Maison Theme with WooCommerce Catalog Mode
Author: Edge Themes
Author URI: http://themeforest.net/user/edge-themes
Version: 1.0.3
Text Domain: maison
Template: maison
*/

/* ================================================
   WooCommerce Catalog Mode - Additional Styling
   ================================================ */

/* Ensure product images are properly aligned without prices/buttons */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    text-align: center;
}

/* Product title styling when used as catalog */
.edgtf-product-list-title {
    margin-bottom: 15px;
}

/* Make product hover effects work better in catalog mode */
.edgtf-pl-text-inner {
    padding: 15px 0;
}

/* Adjust product grid spacing for cleaner catalog look */
.edgtf-woo-pl-info-on-image-hover .edgtf-pl-inner {
    margin-bottom: 30px;
}

/* Product meta styling */
.product_meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* Hide empty form variations on variable products */
.variations_form:empty {
    display: none !important;
}

/* Style the product tabs better when no purchasing options exist */
.woocommerce-tabs {
    margin-top: 40px;
}

/* Adjust related products section */
.related.products {
    margin-top: 60px;
}

/* Optional: Style for Contact Us button (if enabled) */
.edgtf-contact-button {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.edgtf-contact-button:hover {
    background-color: #333333;
    color: #ffffff;
}

/* Make sure product images remain prominent */
.woocommerce div.product div.images {
    margin-bottom: 0;
}

/* Adjust summary section spacing */
.woocommerce div.product div.summary {
    padding-left: 30px;
}

/* Product description prominence */
.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.8;
    margin: 25px 0;
}

/* Category/Tag links styling */
.posted_in a,
.tagged_as a {
    color: #1a1a1a;
    text-decoration: none;
    margin-right: 5px;
}

.posted_in a:hover,
.tagged_as a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for catalog mode */
@media only screen and (max-width: 768px) {
    .woocommerce div.product div.summary {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .edgtf-pl-inner {
        margin-bottom: 30px;
    }
}

/* Optional: Add custom catalog badge */
/*
.product:before {
    content: "Catalog Item";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1a1a1a;
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    z-index: 999;
}
*/