/* FOR TYRE FILTER */

.top-filer .taw-filter form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.top-filer .section.section-top {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-grow: 1;
}

.top-filer .taw-buttons {
    display: flex;
    gap: 10px;
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
}

.top-filer .section.section-top select, .top-filer .taw-buttons button {
    margin: 0;
    padding: 8px 12px; 
    height: 100%;
    box-sizing: border-box;

}

.top-filer .taw-buttons button {
    margin: 0;
    padding: 8px 12px; 
    height: 100%;
    box-sizing: border-box;
    border-color: #000 !important;
}

.top-filer h4, .top-filer p {
    color: #000;
}

.top-filer .section.section-top .title,.top-filer .section {
    display: none;
}

.top-filer {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.top-filer h4,.top-filer p,.text-c {
    text-align: center;
}

@media (max-width: 768px) {
    .taw-filter form {
        flex-direction: column;
    }
}
/* END TYRE FILTER */

.custom-inquiry-button, h2.woocommerce-loop-product__title {
    text-align: center;
    color: #000000;
}

li.product.type-product p {
    color: #000000;
}


.single-product .custom-single-product {
    width: 100%;
    display: block;
}

.single-product .woocommerce-product-gallery__image {
    display: flex;
    justify-content: center;
}
.single-product .custom-single-product {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 10px 0;
}

.post-type-archive-product li img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail, .post-type-archive-product img.woocommerce-placeholder.wp-post-image,.related.products img.woocommerce-placeholder.wp-post-image,.related.products img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    width: 200px !important;
    object-fit: cover;
    height: 169px !important;
    object-position: top center;
} 

.woocommerce ul.products li.product a img {
    display: block;
    margin: 0 auto;
}

li.product {
    border: 1px solid;
    border-radius: 4px;
}

.custom-inquiry-button {
    margin-top: -19px;
    z-index: 4;
    position: relative;
    margin-bottom: 20px;
}

.custom-inquiry-button button {
    font-size: 12px !important;
    padding: 6px 12px;
    background: #000;
    border-radius: 14px;
}

.elementor-23 .elementor-element .elementor-icon-list-text,.elementor-23 .elementor-element .elementor-widget-container p, .elementor-23 .elementor-element .elementor-nav-menu--main .elementor-item{
    color: #FFFFFF !important;
    transition: color 0.3s;
}
.elementor-23 .elementor-element .elementor-heading-title{
    font-size: 18px;
    color: var(--e-global-color-accent) !important; 
}


h2.woocommerce-loop-product__title {font-weight: 600;}

.img-wrap, .filter-wrap {
    width: 48%;
}

.img-wrap img.wp-image-8124 {
    width: 100%;
    height: auto;
}

.m-only {
    display: none;
}
.d-only {
    display: block;
}

.tyre-select-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    min-width: 100px;
    font-size: 14px;
    background: #f9f9f9;
    appearance: none;
    cursor: pointer;
    text-align: center;
}

.tyre-select-group .taw-filte {
    padding: 0 15px !important;
    border: unset !important;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-excerpt p {
    font-size: 14px;
}

/* Contact Form 7 Modern Drawer Styles */
/* Styling for modern Contact Form 7 inquiry form */
/* === Form Layout === */
.cust-cf7-inquiry .wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f9f9f9;
    font-size: 15px;
    transition: all 0.2s ease;
}

.cust-cf7-inquiry .wpcf7-form-control:focus {
    border-color: #007bff;
    background: #fff;
    outline: none;
}

/* First & last name in two columns */
.cust-cf7-inquiry .two-col p {
    display: flex;
    justify-content: space-between;
    gap: 10;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.cust-cf7-inquiry .two-col p,.cust-cf7-inquiry .one-col p {
    margin-bottom: 0;
}

.cust-cf7-inquiry span.wpcf7-form-control-wrap {
    width: 48%;
    /* padding-right: 2px; */
}
.cust-cf7-inquiry .two-col input ,.cust-cf7-inquiry .one-col input {
    /* flex: 1 1 48%; */
    background-color: #fff;
}

/* Textarea tweaks */
.cust-cf7-inquiry textarea {
    min-height: 100px;
    resize: vertical;
}

/* Submit Button */
.cust-cf7-inquiry input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cust-cf7-inquiry input[type="submit"]:hover {
    background-color: #0056b3;
}
/*end Form Layout*/

/* Center header elements */
.request-quote-drawer h2,.request-quote-drawer img {
    text-align: center;
    display: block;
    margin: 0 auto 20px;
}

.request-quote-drawer h2 {
    font-size: 22px;
    font-weight: 600;
}

/* Close icon positioning */
.request-quote-drawer .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.brand_logo_new {
    height: 80px;
}
.brand_logo_new img {
    max-height: 90px; width: 200px !important; margin-bottom:20px; margin-top:16px;
}

.brand_logo_new .logo_not_found {
    width: 100% !important; margin-bottom:20px; margin-top:16px; text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    height: 50px;
}

/* mobile */
@media screen and (max-width: 991px) {

    /*filter style*/
    .img-wrap,.filter-wrap {
        width: 100%;
    }

    .top-filer {
        flex-direction: column;
        gap: 0;
        margin-top: 5px;
        align-items: stretch;
    }

    .top-filer h4,.top-filer p {
        text-align: center;
    }

    .m-only {
        display: block;
    }

    .d-only {
        display: none;
    }

   .filter-wrap {
        background-color: #c0bfbf14;
        margin-top: -8px;
        padding-top: 10px;
    }
     /*filter style*/


    .single-product .custom-summary {
        text-align: center;
    }

    .woocommerce-shop li.product.type-product {
        height: 350px !important;
        padding: 10px 4px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.62em;
        height: 40px;
    }

    .brand_logo_new {
        height: 65px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        font-size: 12px;
    }
    
}