/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* --- Styling the main wrapper for the attributes --- */

/* --- Styling for the individual attribute blocks --- */
.product-attribute-item {
	background-color: #1f1b2d;
    color: #fff;
    border-radius: 10px;
    padding: 10px 5px; /* Reduced padding slightly */
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-direction: column; /* Stack the icon and text */
	justify-content: center;
    min-width: 30%; /* Ensure they share the space relatively evenly */
}

/* --- Styling the Icon Area --- */
.product-attribute-item .attribute-icon {
    display: block;
    width: 24px; /* Icon size */
    height: 24px; /* Icon size */
    margin: 0 auto 5px auto; /* Center the icon and add space below it */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Specific background images for each attribute */

/* Transmission (e.g., MANUAL) */
.attribute-slug-transmission .attribute-icon {
    background-image: url('https://new.imoodini.com/wp-content/uploads/2025/11/transmission.svg'); 
}
/* Fuel Type (e.g., DIESEL) */
.attribute-slug-fuel-type .attribute-icon {
    background-image: url('https://new.imoodini.com/wp-content/uploads/2025/11/fuel-type.svg');
}
/* Mileage (e.g., 35K-MI or a custom value) */
.attribute-slug-milage .attribute-icon {
    background-image: url('https://new.imoodini.com/wp-content/uploads/2025/11/milage.svg');
}


/* Styling the text */
.product-attribute-item .attribute-value {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Safest Structure for Moving Element to the Bottom --- */

/* 1. Target the main list item and make it a Flex Container */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    /* You must define a height for margin-top: auto to work */
    min-height: 450px; 
}

/* 2. Push the attribute wrapper to the very bottom */
.woocommerce ul.products li.product .product-card-attributes-wrapper {
    /* Ensure it's visually the last item */
    order: 100; 
    background-color: #252331; 
    padding: 15px 10px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-around;
    border-radius: 0 0 12px 12px;
}

/* 3. Ensure other elements (like the image) stay at the top */
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .woocommerce-loop-product__body, /* Common wrapper for title/price */
.woocommerce ul.products li.product .product-category {
    order: 1;
}

.woocommerce-js ul.products li.product a img {
    width: 100%;
    height: 100%;
	margin: 0 !important;
}

.woocommerce-js .related.products ul.products li.product .woocommerce-loop-product__title, .woocommerce-page .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
}

.woocommerce-product-gallery__image img {
    height: 500px !important; /* Adjust this value as needed */
    object-fit: cover; /* or 'cover', 'fill', 'scale-down', 'none' */
}

input#cf7-product-title,
input[readonly=readonly] {
    background-color: rgb(201 201 201 / 30%) !important;
    cursor: not-allowed;
}