.chf-product-cta {
    --chf-whatsapp: #1f9d55;
    --chf-catalog: #0868ac;
    --chf-submit: #c85c19;
    margin: 19px 0 16px;
}

.chf-product-cta-fallback {
    display: block;
    width: 100%;
    margin: 18px 0;
    letter-spacing: normal;
    text-transform: none;
}

.chf-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.chf-product-action:only-child {
    grid-column: 1 / -1;
}

.chf-product-action {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
}

.chf-product-action:hover,
.chf-product-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 43, 58, .11);
}

.chf-product-action--whatsapp {
    background: var(--chf-whatsapp);
    color: #fff !important;
}

.chf-product-action--catalog {
    border-color: var(--chf-catalog);
    background: #fff;
    color: var(--chf-catalog) !important;
}

.chf-product-action[data-tooltip]:after {
    position: absolute;
    z-index: 30;
    right: 0;
    bottom: calc(100% + 8px);
    left: 0;
    width: max-content;
    max-width: min(320px, 88vw);
    margin: auto;
    padding: 8px 10px;
    border-radius: 5px;
    background: #172b3a;
    color: #fff;
    content: attr(data-tooltip);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.chf-product-action[data-tooltip]:hover:after,
.chf-product-action[data-tooltip]:focus-visible:after {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chf-product-specs {
    margin: 18px 0;
    border-top: 1px solid #e0e7ec;
    border-bottom: 1px solid #e0e7ec;
}

.chf-product-specs table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.chf-product-specs th,
.chf-product-specs td {
    padding: 8px 2px;
    border: 0;
    border-bottom: 1px solid #edf1f4;
    background: transparent;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

.chf-product-specs tr:last-child th,
.chf-product-specs tr:last-child td {
    border-bottom: 0;
}

.chf-product-specs th {
    width: 35%;
    padding-right: 12px;
    color: #526572;
    font-weight: 600;
}

.chf-product-specs td {
    color: #172b3a;
    font-weight: 500;
}

.chf-inline-quote {
    margin-top: 17px;
    padding-top: 18px;
    border-top: 1px solid #dfe7ec;
}

.chf-inline-quote h3 {
    margin: 0 0 14px;
    color: #172b3a;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.chf-inline-quote__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.chf-quote-field {
    min-width: 0;
}

.chf-quote-field--full {
    grid-column: 1 / -1;
}

.chf-quote-field label {
    display: block;
    margin: 0 0 5px;
    color: #354b59;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
}

.chf-quote-field label span {
    color: #758590;
    font-weight: 400;
}

.chf-quote-field label strong {
    color: #c85c19;
}

.chf-quote-field input,
.chf-quote-field textarea {
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #cad6dd;
    border-radius: 5px;
    background: #fff;
    color: #172b3a;
    font: inherit;
    font-size: 13px;
    box-shadow: none;
}

.chf-inline-quote .chf-quote-field textarea[name="customer_notes"] {
    height: 56px !important;
    min-height: 56px !important;
    overflow-y: hidden;
    line-height: 1.45;
    resize: none;
}

.chf-quote-field input:focus,
.chf-quote-field textarea:focus {
    border-color: #0868ac;
    outline: 2px solid rgba(8, 104, 172, .13);
}

.chf-inline-quote__submit {
    width: 100%;
    min-height: 43px;
    border: 0;
    border-radius: 6px;
    background: var(--chf-submit);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.chf-inline-quote__submit[disabled] {
    cursor: wait;
    opacity: .68;
}

.chf-inline-quote__status {
    min-height: 0;
    margin: 8px 0 0;
    color: #526572;
    font-size: 12px;
    line-height: 1.45;
}

.chf-inline-quote__status.is-success {
    color: #167443;
}

.chf-inline-quote__status.is-error {
    color: #b42318;
}

.chf-quote-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Standalone Contact and Request a Quote forms. */
.chf-site-form {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #dfe7ec;
    border-radius: 10px;
    background: #f6f8fa;
    color: #172b3a;
    box-shadow: 0 10px 30px rgba(23, 43, 58, .05);
}

.chf-site-form--contact {
    max-width: 1180px;
    padding: 20px 26px;
}

.chf-site-form--contact .chf-site-form__form {
    max-width: 900px;
    margin: 0 auto;
    gap: 12px 24px;
}

.chf-site-form__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 18px;
}

.chf-site-field {
    min-width: 0;
}

.chf-site-field--full,
.chf-site-form__footer {
    grid-column: 1 / -1;
}

.chf-site-field label {
    display: block;
    margin: 0 0 6px;
    color: #263f4f;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.chf-site-field label strong {
    color: #c85c19;
}

.chf-site-field label span {
    color: #71828e;
    font-weight: 400;
}

.chf-site-field input[type="text"],
.chf-site-field input[type="email"],
.chf-site-field textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #c8d5dd;
    border-radius: 6px;
    background: #fff;
    color: #172b3a;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: none;
}

.chf-site-form--contact textarea {
    height: 66px;
    min-height: 66px;
}

.chf-site-form--contact .chf-site-field--file {
    min-height: 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chf-site-form--rfq textarea {
    height: 104px;
    min-height: 104px;
}

.chf-site-field textarea {
    overflow-y: hidden;
    resize: none;
}

.chf-site-field input:focus,
.chf-site-field textarea:focus {
    border-color: #0868ac;
    outline: 2px solid rgba(8, 104, 172, .13);
}

.chf-site-field--file {
	padding: 8px 11px;
    border: 1px dashed #b9c9d3;
    border-radius: 6px;
    background: #fff;
}

.chf-site-field--file label {
	margin-bottom: 5px;
}

.chf-site-field--file input[type="file"] {
    width: 100%;
    color: #526572;
    font-size: 13px;
}

.chf-site-form__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 0;
	text-align: center;
}

.chf-site-form__submit {
    min-width: 180px;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 6px;
    background: var(--chf-submit, #c85c19);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}

.chf-site-form__submit:hover,
.chf-site-form__submit:focus-visible {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.chf-site-form__submit[disabled] {
    cursor: wait;
    opacity: .68;
}

.chf-site-form__status {
	flex: none;
    min-width: 0;
    margin: 0;
    color: #526572;
    font-size: 13px;
    line-height: 1.45;
}

.chf-site-form__status.is-success {
    color: #167443;
}

.chf-site-form__status.is-error {
    color: #b42318;
}

.chf-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#quote-form {
    scroll-margin-top: 110px;
}

@media (max-width: 767px) {
    .chf-product-action {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    .chf-inline-quote__form {
        grid-template-columns: 1fr;
    }

    .chf-quote-field--full {
        grid-column: auto;
    }

    .chf-site-form {
        padding: 18px 15px;
        border-radius: 8px;
    }

    .chf-site-form__form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .chf-site-field--full,
    .chf-site-form__footer {
        grid-column: auto;
    }

    .chf-site-form__footer {
        display: block;
    }

    .chf-site-form__submit {
        width: 100%;
    }

    .chf-site-form__status {
        margin-top: 9px;
    }
}
