/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.5.1
	Stable tag: 3.5.1
	Requires at least: 6.0
	Tested up to: 7.0
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* =========================================================
   StayEz - Standardize Property Cards & Images
   ========================================================= */

/* Generic StayEz cards & results cards */
.stayez-card,
.stayez-result-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Container for the card image */
.stayez-card-image,
.stayez-card .stayez-card-image,
.stayez-result-card .stayez-result-image-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background-color: #f3f4f6 !important;
}

/* Force standard aspect ratio and cover for card images */
.stayez-card-image img,
.stayez-card img,
img.stayez-result-image,
.stayez-result-card img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Standardize Elementor loop grid & WooCommerce product image cards */
.elementor-loop-container .elementor-widget-image img,
.elementor-grid .elementor-widget-image img,
.elementor-widget-theme-post-featured-image img,
.elementor-loop-item .elementor-widget-theme-post-featured-image img,
.elementor-loop-item .elementor-widget-image img,
.elementor-widget-woocommerce-products .product .attachment-woocommerce_thumbnail,
.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product img,
.woocommerce ul.products li.product a img,
ul.products li.product a img {
    aspect-ratio: 4 / 3 !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px !important;
    width: 100% !important;
    display: block !important;
}

.woocommerce ul.products li.product,
.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product,
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border-radius: 20px !important;
    overflow: visible !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    color: #1e293b !important;
    line-height: 1.35em !important;
    min-height: 44px !important;
    max-height: 44px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 8px 0 !important;
}

.woocommerce ul.products li.product .price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #004AAD !important;
    margin-bottom: 12px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__buttons {
    margin-top: auto !important;
    width: 100% !important;
}

.woocommerce ul.products li.product .button {
    width: 100% !important;
    text-align: center !important;
    border-radius: 30px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: #004AAD !important;
    color: #ffffff !important;
}


