/*
Theme Name:     Demo-child
Theme URI:
Description:    untex child theme.
Author:         Me
Author URI:
Template:       untex
Version:        1.0.0
*/
@media (min-width: 1201px) {
    body.shop_custom_columns_3 ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    body.shop_custom_columns_4 ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    body.shop_custom_columns_5 ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    body.shop_custom_columns_6 ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

@media (max-width: 1200px) {
    body[class*="shop_custom_columns_"] ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 880px) {
    body[class*="shop_custom_columns_"] ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 560px) {
    body[class*="shop_custom_columns_"] ul.untex-products.products:not(.products-list) {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Ovi Automation content pass: keep hero copy calmer and easier to scan. */
body.home .elementor-element-27e087c .elementor-heading-title,
body.home .elementor-element-9edfdcc .elementor-heading-title {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

body.home .elementor-element-6da2ee6 .elementor-heading-title,
body.home .elementor-element-af428c0 .elementor-heading-title {
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: 1.08 !important;
    max-width: 920px;
}

.untex-woocommerce-title.alpha {
    font-size: clamp(34px, 4vw, 56px) !important;
    line-height: 1.08 !important;
}

.elementor-page-235 .elementor-element-dec1292 .elementor-heading-title,
.elementor-page-1486 .elementor-element-e7490e7 .elementor-heading-title,
.elementor-page-254 .elementor-element-c35c15b .elementor-heading-title,
.elementor-page-258 .elementor-element-c35c15b .elementor-heading-title {
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: 1.25 !important;
}

@media (max-width: 767px) {
    body.home .elementor-element-27e087c .elementor-heading-title,
    body.home .elementor-element-9edfdcc .elementor-heading-title {
        font-size: 15px !important;
    }

    body.home .elementor-element-6da2ee6 .elementor-heading-title,
    body.home .elementor-element-af428c0 .elementor-heading-title,
    .untex-woocommerce-title.alpha {
        font-size: 30px !important;
        line-height: 1.12 !important;
    }
}

body.home .elementor-element-b20f60e {
    display: none !important;
}

body.home .elementor-element-f103cba {
    margin-top: 0 !important;
}

/* Global spacing and type refinement for the Ovi Automation static site. */
body.home .elementor-218 .elementor-element-cccc608,
body.home .elementor-218 .elementor-element-12042c3 {
    --min-height: 680px !important;
    min-height: 680px !important;
}

body.home .elementor-218 .elementor-element-e2f8f0b,
body.home .elementor-218 .elementor-element-36acf17 {
    --justify-content: center !important;
    --padding-top: 80px !important;
    --padding-bottom: 80px !important;
}

body.home .elementor-218 > .e-con.e-parent:not(.elementor-element-1a603dc),
body.home .elementor-218 > .elementor-element.e-parent:not(.elementor-element-1a603dc) {
    --padding-top: 80px !important;
    --padding-bottom: 80px !important;
    --margin-top: 0 !important;
    --margin-bottom: 0 !important;
}

.elementor-235 > .e-con.e-parent,
.elementor-1486 > .e-con.e-parent,
.elementor-254 > .e-con.e-parent,
.elementor-258 > .e-con.e-parent {
    --margin-top: 70px !important;
    --margin-bottom: 70px !important;
}

.elementor-235 .e-con,
.elementor-1486 .e-con,
.elementor-254 .e-con,
.elementor-258 .e-con {
    --gap: 24px !important;
    --row-gap: 24px !important;
    --column-gap: 24px !important;
}

body .elementor-widget-heading h1.elementor-heading-title,
body .elementor-widget-heading .elementor-heading-title.alpha {
    font-size: clamp(32px, 3.8vw, 52px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
}

body .elementor-widget-heading h2.elementor-heading-title,
body .elementor-widget-heading .elementor-heading-title.beta {
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
}

body .elementor-widget-heading h3.elementor-heading-title,
body .gamma,
body h3.gamma {
    font-size: clamp(22px, 2.2vw, 30px) !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
}

body .elementor-widget-heading h4.elementor-heading-title,
body .elementor-widget-heading h5.elementor-heading-title {
    font-size: clamp(18px, 1.8vw, 24px) !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
}

body .elementor-widget-heading h6.elementor-heading-title {
    font-size: clamp(13px, 1.1vw, 16px) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.02em !important;
}

body.home .elementor-element-6da2ee6 .elementor-heading-title,
body.home .elementor-element-af428c0 .elementor-heading-title {
    font-size: clamp(32px, 3.6vw, 50px) !important;
    line-height: 1.12 !important;
    max-width: 760px;
}

.untex-woocommerce-title.alpha {
    font-size: clamp(30px, 3.4vw, 48px) !important;
}

:is(.elementor-218, .elementor-235, .elementor-1486, .elementor-254, .elementor-258) .elementor-widget:not(:last-child) {
    margin-bottom: 18px !important;
}

@media (max-width: 1200px) {
    body.home .elementor-218 .elementor-element-cccc608,
    body.home .elementor-218 .elementor-element-12042c3 {
        --min-height: 600px !important;
        min-height: 600px !important;
    }

    body.home .elementor-218 > .e-con.e-parent:not(.elementor-element-1a603dc),
    body.home .elementor-218 > .elementor-element.e-parent:not(.elementor-element-1a603dc) {
        --padding-top: 64px !important;
        --padding-bottom: 64px !important;
    }
}

@media (max-width: 767px) {
    body.home .elementor-218 .elementor-element-cccc608,
    body.home .elementor-218 .elementor-element-12042c3 {
        --min-height: 460px !important;
        min-height: 460px !important;
    }

    body.home .elementor-218 .elementor-element-e2f8f0b,
    body.home .elementor-218 .elementor-element-36acf17 {
        --padding-top: 54px !important;
        --padding-bottom: 54px !important;
        --padding-left: 18px !important;
        --padding-right: 18px !important;
    }

    body.home .elementor-218 > .e-con.e-parent:not(.elementor-element-1a603dc),
    body.home .elementor-218 > .elementor-element.e-parent:not(.elementor-element-1a603dc),
    .elementor-235 > .e-con.e-parent,
    .elementor-1486 > .e-con.e-parent,
    .elementor-254 > .e-con.e-parent,
    .elementor-258 > .e-con.e-parent {
        --padding-top: 46px !important;
        --padding-bottom: 46px !important;
        --margin-top: 40px !important;
        --margin-bottom: 40px !important;
    }
}

/* Custom Footer Theme Overrides (Light Mode) */
.elementor-169 .elementor-element.elementor-element-e4d2806:not(.elementor-motion-effects-element-type-background), 
.elementor-169 .elementor-element.elementor-element-e4d2806 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
}

/* Headings and Titles */
.elementor-169 .elementor-widget-heading .elementor-heading-title,
.elementor-169 .elementor-element.elementor-element-8ed9303 .elementor-heading-title,
.elementor-169 .elementor-element.elementor-element-10cf2ee .elementor-heading-title,
.elementor-169 .elementor-element.elementor-element-7d5cbae .elementor-heading-title,
.elementor-169 .elementor-icon-box-title {
    color: #000000 !important;
}

/* Icon list text */
.elementor-169 .elementor-widget-icon-list .elementor-icon-list-text,
.elementor-169 .elementor-element.elementor-element-a0cec49 .elementor-icon-list-text,
.elementor-169 .elementor-element.elementor-element-e31b783 .elementor-icon-list-text,
.elementor-169 .elementor-element.elementor-element-dd7d011 .elementor-icon-list-text,
.elementor-169 .elementor-element.elementor-element-c575576, 
.elementor-169 .elementor-element.elementor-element-c575576 a,
.elementor-169 .elementor-element.elementor-element-39bad63,
.elementor-169 .elementor-icon-box-description {
    color: #333333 !important;
}

/* Mailchimp input */
.elementor-169 .elementor-element.elementor-element-632b51f .mc4wp-form-fields input[type="email"] {
    color: #000000 !important;
    border-color: #000000 !important;
}

.elementor-169 .elementor-element.elementor-element-632b51f .mc4wp-form-fields input[type="email"]::placeholder {
    color: #666666 !important;
}

/* Border adjustment */
.elementor-169 .elementor-element.elementor-element-548d69a {
    border-color: #eaeaea !important;
}

/* Footer logo background removal */
.elementor-169 .hfe-site-logo-img {
    mix-blend-mode: multiply;
}

/* Footer social icons visibility */
.elementor-169 .elementor-social-icon i,
.elementor-169 .elementor-social-icon svg {
    color: #333333 !important;
    fill: #333333 !important;
}

/* Fix gap above 'Why Choose Us' section */
body.home .elementor-element-8d9732a {
    --padding-top: 20px !important;
}

/* Fix gap below callout (footer margin) */
.elementor-169 .elementor-element.elementor-element-99d0eef {
    --margin-top: 0px !important;
}

/* Fix gap above footer in general */
.custom-pre-footer-callout {
    margin-bottom: 40px !important;
    margin-top: 0px !important;
}

/* Hide service card icons on homepage */
.service-item.service-style-1 .icon-wrap {
    display: none !important;
}

/* Remove banner backgrounds and overlays completely */
.breadcrumb-wrap, .elementor-page .breadcrumb-wrap {
    background-color: transparent !important;
}

.breadcrumb-wrap .breadcrumb-overlay,
.elementor-element-e2f8f0b,
.elementor-element-e2f8f0b > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element-36acf17,
.elementor-element-36acf17 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: none !important;
    background-color: transparent !important;
}

/* Global override to completely hide decor dot image */
img[src*="decor.png"],
.elementor-widget-image img[src*="decor.png"] {
    display: none !important;
}
