/**
 * Theme Name: Motor Child Theme
 * Template:   motor
 */

/* Hide Woocommerce features */

.single-product .prod-info .prod-qnt-wrap,
.single-product .prod-info .prod-total-wrap,
.single-product .prod-actions,
.section-gallery .prod-i-actions,
.section-gallery .prod-i-info,
.specials-list .prod-i-actions,
.specials-list .prod-i-info,
.section-list .prod-li-price-wrap,
.section-list .prod-li-qnt-wrap,
.section-list .prod-li-total-wrap,
.section-list .prod-li-add,
.section-list .prod-li-quick-view,
.section-list .prod-li-compare {
    display: none;
}

/* Product image styling */

.single-product .product {
    min-height: 400px;
}

/* Product category archive */

.product-category-thumb {
    display: none;
}

.archive.woocommerce-page ul.cont-sections {
    display: none;
}

.archive.woocommerce-page .section-sort,
.archive.woocommerce-page .products-per-page {
    display: none;
}


@media (max-width: 992px) {
    .prod-litems .prod-li-info {
      padding: 30px;
    }
    .prod-litems .prod-li-ttl-wrap {
      width: 100%;
    }
}

.maincont .section-filter-toggle {
    display: none;
}

/* Product list styling */

.prod-items .prod-i h3 {
    height: 88px;
}

/* Uncomment section to force align text to bottom of container */
/*.prod-items .prod-i h3 span {*/
/*    bottom: 0;*/
/*    top: auto !important;*/
/*}*/

body .maincont .section-gallery .sectgl {
    padding: 30px;
}

body .maincont .prod-items .prod-i {
    padding: 30px;
}

@media (min-width:1200px) {
    .prod-litems.section-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 25px;
    }
}

.prod-litems .prod-li-ttl-wrap {
    width: 100%;
}

.maincont .prod-litems .prod-li-inner {
    padding: 0 0 0 50%;
}

.prod-litems .prod-li-img {
    width: 50%;
}

.prod-litems .prod-li-cont {
    padding: 20px 10px 0;
}

/* Product page styling */

.prod-contact {
    padding: 30px;
    margin: 25px;
    background: #eee;
    border-radius: 10px;
}

.prod-contact h2 {
    font-size: 22px;
    color: #000;
    padding-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.prod-contact #gform_fields_2 input {
    border: solid #d3d3d3 1px;
}

.prod-cont #prod-showprops {
    border: solid #bf1912 2px;
    background: #fff;
    color: #bf1912;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    padding: 10px;
    position: absolute;
}

.prod .prod-props dl {
    margin: 0 0 56px;
}

.prod-cont #prod-showprops:hover {
    background: #ddd;
}

@media(min-width: 769px) {
    .prod .prod-slider-wrap {
        width: 50%;
    }

    .maincont .prod {
        padding: 0 0 0 50%;
    }
}

/* Gravity Forms */

footer .gform-body .gfield_label {
    color: #fff;
}

footer .gform-body .ginput_container .gform-field-label {
    color: #fff;
}

footer #gform_fields_1 {
    gap: 10px;
}

footer .schweb-gravity-forms-recaptcha-disclaimer {
    color: #A5A19E;
}

footer .ginput_container_textarea {
    height: 100px;
    overflow: auto;
}

#gform_submit_button_1,
#gform_submit_button_2 {
    background: #bf1912;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

#gform_submit_button_1:hover,
#gform_submit_button_2:hover {
    background: #7f1c17;
}

/* Post Pages */

body.single-post .post-img img {
  height: 50vh;
  object-fit: contain;
}

/* Commercial Landing Page */

.elementor-widget-tabs .elementor-tab-content.elementor-active > div {
    display: flex !important;
    flex-direction: column;
}

.elementor-widget-tabs .tab-img {
    width: 100%;
}

.elementor-widget-tabs .tab-img img {
    width: 100%;
}

.elementor-widget-tabs .cta-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.elementor-widget-tabs .cta-container .elementor-button {
    line-height: 0;
}

@media (min-width: 1200px) {
    .elementor-widget-tabs .elementor-tab-content.elementor-active > div {
        flex-direction: row;
    }

    .elementor-widget-tabs .tab-img {
        flex: 2;
        margin-right: 30px;
    }

    .elementor-widget-tabs .tab-text {
        flex: 3;
    }
}
