/* TecA+ Zoho Form — CSS totalmente encapsulado para no depender de Flatsome */
body #teca-zoho-plugin-form,
body #teca-zoho-plugin-form * {
    box-sizing: border-box !important;
}

body #teca-zoho-plugin-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #2f3338 !important;
    font-family: inherit !important;
}

body #teca-zoho-plugin-form form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body #teca-zoho-plugin-form .teca-honeypot {
    display: none !important;
}

body #teca-zoho-plugin-form .teca-grid {
    display: grid !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body #teca-zoho-plugin-form .teca-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 34px !important;
}

body #teca-zoho-plugin-form .teca-field {
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
}

body #teca-zoho-plugin-form .teca-field label {
    display: block !important;
    width: auto !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    color: #2f3338 !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body #teca-zoho-plugin-form .teca-field label span {
    color: #c29847 !important;
}

body #teca-zoho-plugin-form input[type="text"],
body #teca-zoho-plugin-form input[type="email"],
body #teca-zoho-plugin-form input[type="tel"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    float: none !important;
    background: #ffffff !important;
    color: #2f3338 !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

body #teca-zoho-plugin-form input[type="text"]:focus,
body #teca-zoho-plugin-form input[type="email"]:focus,
body #teca-zoho-plugin-form input[type="tel"]:focus {
    border-color: #c29847 !important;
    box-shadow: 0 0 0 1px #c29847 !important;
}

/* PRIVACIDAD */
body #teca-zoho-plugin-form .teca-privacy-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 4px 0 32px 0 !important;
    padding: 0 !important;
    gap: 12px !important;
}

body #teca-zoho-plugin-form .teca-privacy-row input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    vertical-align: middle !important;
}

body #teca-zoho-plugin-form .teca-privacy-row label {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #2f3338 !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    float: none !important;
}

body #teca-zoho-plugin-form .teca-privacy-row label a,
body #teca-zoho-plugin-form .teca-privacy-row label a:link,
body #teca-zoho-plugin-form .teca-privacy-row label a:visited,
body #teca-zoho-plugin-form .teca-privacy-row label a:hover,
body #teca-zoho-plugin-form .teca-privacy-row label a:focus {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #2f3338 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    white-space: nowrap !important;
    font: inherit !important;
}

body #teca-zoho-plugin-form .teca-error {
    display: none !important;
    margin: -22px 0 24px 30px !important;
    padding: 0 !important;
    color: #b42318 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

body #teca-zoho-plugin-form .teca-error.is-visible {
    display: block !important;
}

/* CAPTCHA */
body #teca-zoho-plugin-form .teca-captcha-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 22px !important;
    margin: 14px 0 0 0 !important;
    padding: 0 !important;
}

body #teca-zoho-plugin-form .teca-captcha-row img {
    display: block !important;
    width: auto !important;
    max-width: 230px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

body #teca-zoho-plugin-form .teca-reload {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2f3338 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

body #teca-zoho-plugin-form .teca-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 180px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 52px !important;
    margin: 4px 0 0 0 !important;
    padding: 14px 30px !important;
    float: none !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #c29847 !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body #teca-zoho-plugin-form .teca-submit:hover,
body #teca-zoho-plugin-form .teca-submit:focus {
    background: #ad8740 !important;
    color: #ffffff !important;
}

body #teca-zoho-plugin-form .teca-submit:disabled {
    opacity: .55 !important;
    cursor: wait !important;
}

body #teca-zoho-plugin-form .teca-form-message {
    margin-left: 0 !important;
}

@media (max-width: 700px) {
    body #teca-zoho-plugin-form .teca-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    body #teca-zoho-plugin-form .teca-privacy-row {
        align-items: flex-start !important;
    }

    body #teca-zoho-plugin-form .teca-privacy-row label {
        white-space: normal !important;
    }

    body #teca-zoho-plugin-form .teca-submit {
        width: 100% !important;
    }
}


/* Honeypot Zoho: oculto con prioridad máxima */
body #teca-zoho-plugin-form form input.teca-honeypot[type="text"] {
    display: none !important;
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
