/* The shared horizontal form rules must not remove the demo section gutters. */
html body.tax-product_cat .elementor .elementor-element.cie-product-demo-section.e-con.e-con-boxed:has(.cie-category-demo-form-card) {
    padding-inline: var(--cie-section-padding-inline, clamp(20px, 4.167vw, 80px)) !important;
}

/* Reuse the existing enquiry form inside the category demonstration card only. */
html body.tax-product_cat .cie-product-demo-section .elementor-element.cie-category-demo-form-card.e-con.e-con-full {
    min-width: 0;
    align-self: flex-start;
    background: #f5f5f5;
    border-radius: clamp(20px, 1.563vw, 30px);
    padding: clamp(20px, 2.083vw, 40px) !important;
    --gap: 0;
    gap: 0;
    color: #292929;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card > .elementor-widget {
    min-width: 0;
    width: 100%;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .elementor-widget-heading {
    text-align: left;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .solutionform {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(16px, 1.042vw, 20px);
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card :is(.formcolsec, .formcolseclast) {
    float: none;
    width: 100%;
    min-width: 0;
    margin-inline: 0;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .solutionform label {
    display: block;
    color: #465961;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card :is(.wpcf7-form-control-wrap, .intl-tel-input) {
    display: block;
    width: 100%;
    min-width: 0;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card input:is([type="text"], [type="email"], [type="tel"]) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 45px;
    background: #fff;
    border: 0;
    border-radius: 50px;
    color: #292929;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .formcolseclast {
    margin-top: clamp(4px, 0.625vw, 12px);
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .formcolseclast p {
    position: relative;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card input[type="submit"] {
    display: block;
    width: min(100%, clamp(180px, 15.625vw, 300px));
    min-height: 45px;
    margin-inline: 0;
    background: #a6ce39;
    border-radius: 50px;
    color: #000;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card input[type="submit"]:hover {
    background: #8597a3;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .wpcf7-spinner {
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .cie-form-privacy {
    margin: clamp(20px, 1.25vw, 24px) 0 0 !important;
    color: #000 !important;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .cie-form-privacy a {
    color: #000 !important;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .wpcf7-not-valid-tip {
    color: #a30000;
}

html body.tax-product_cat .cie-product-demo-section .cie-category-demo-form-card .wpcf7-response-output {
    margin-inline: 0;
    color: #292929;
    overflow-wrap: anywhere;
}
