.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;
    }
}

/* v4.5.0 Automated B2B single product matching guide. */
.chf-product-solution-guide {
    width: 100%;
    max-width: 1180px;
    margin: 28px auto 34px;
    padding: 0 16px;
    color: #172b3a;
    clear: both;
}

.chf-product-solution-guide * {
    box-sizing: border-box;
}

.chf-product-solution-guide__hero {
    padding: 28px;
    border: 1px solid #dfe7ec;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
}

.chf-product-solution-guide__eyebrow {
    margin-bottom: 8px;
    color: #0868ac;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.chf-product-solution-guide h2,
.chf-product-solution-guide h3 {
    color: #172b3a;
    line-height: 1.25;
}

.chf-product-solution-guide h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 38px);
}

.chf-product-solution-guide h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.chf-product-solution-guide p {
    max-width: 920px;
    margin: 0 0 16px;
    color: #526572;
    font-size: 15px;
    line-height: 1.7;
}

.chf-product-solution-guide__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.chf-product-solution-guide__cards div {
    min-width: 0;
    padding: 15px;
    border: 1px solid #e5edf2;
    border-radius: 10px;
    background: #fff;
}

.chf-product-solution-guide__cards strong {
    display: block;
    margin-bottom: 6px;
    color: #687987;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.chf-product-solution-guide__cards span {
    display: block;
    color: #172b3a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.chf-product-solution-guide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.chf-product-solution-guide__btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.chf-product-solution-guide__btn:hover,
.chf-product-solution-guide__btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(23, 43, 58, .12);
}

.chf-product-solution-guide__btn--primary {
    background: #c85c19;
    color: #fff !important;
}

.chf-product-solution-guide__btn--whatsapp {
    background: #1f9d55;
    color: #fff !important;
}

.chf-product-solution-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.chf-product-solution-guide__panel,
.chf-product-solution-guide__steps {
    padding: 22px;
    border: 1px solid #dfe7ec;
    border-radius: 12px;
    background: #fff;
}

.chf-product-solution-guide__panel--wide {
    grid-column: 1 / -1;
}

.chf-product-solution-guide ul,
.chf-product-solution-guide ol {
    margin: 0;
    padding-left: 20px;
}

.chf-product-solution-guide li {
    margin: 8px 0;
    color: #354b59;
    font-size: 14px;
    line-height: 1.6;
}

.chf-product-solution-guide__steps {
    margin-top: 16px;
    background: #f8fafc;
}

.chf-product-solution-guide__steps ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
    counter-reset: chf-quote-step;
}

.chf-product-solution-guide__steps li {
    position: relative;
    min-height: 88px;
    margin: 0;
    padding: 38px 12px 12px;
    border: 1px solid #e5edf2;
    border-radius: 10px;
    background: #fff;
}

.chf-product-solution-guide__steps li:before {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0868ac;
    color: #fff;
    content: counter(chf-quote-step);
    counter-increment: chf-quote-step;
    font-size: 12px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
}

@media (max-width: 900px) {
    .chf-product-solution-guide__cards,
    .chf-product-solution-guide__steps ol {
        grid-template-columns: 1fr;
    }

    .chf-product-solution-guide__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .chf-product-solution-guide {
        margin-top: 20px;
        padding: 0 10px;
    }

    .chf-product-solution-guide__hero,
    .chf-product-solution-guide__panel,
    .chf-product-solution-guide__steps {
        padding: 18px;
        border-radius: 10px;
    }

    .chf-product-solution-guide__btn {
        width: 100%;
    }
}

/* v4.7.0 Product category buyer guides below the product grid, with top archive descriptions suppressed. */
body.tax-product_cat .woocommerce_archive_description,
body.tax-product_cat .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header .term-description,
body.tax-product_cat .entry-header .term-description,
body.tax-product_cat .taxonomy-description,
body.tax-product_cat .ct-term-description,
body.tax-product_cat .ct-description,
body.tax-product_cat .page-description.term-description {
    display: none !important;
    margin-bottom: 0 !important;
}
body.tax-product_cat #chf-category-guide-after-products {
    display: block !important;
}
.chf-category-description-below-products {
    clear: both;
    margin: 44px auto 0;
    max-width: 1180px;
}
.chf-cat-guide {
    color: #15324a;
    font-size: 16px;
    line-height: 1.75;
}
.chf-cat-guide * {
    box-sizing: border-box;
}
.chf-cat-guide__hero {
    padding: 30px;
    border: 1px solid #d9e5ef;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbfe 0%, #eef6fb 100%);
    box-shadow: 0 8px 28px rgba(20, 48, 74, 0.06);
}
.chf-cat-guide__eyebrow {
    margin: 0 0 8px;
    color: #c85c19;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.chf-cat-guide h2,
.chf-cat-guide h3 {
    margin: 0 0 12px;
    color: #092238;
    line-height: 1.25;
}
.chf-cat-guide h2 {
    font-size: clamp(26px, 3vw, 40px);
}
.chf-cat-guide h3 {
    font-size: 20px;
}
.chf-cat-guide p {
    margin: 0 0 14px;
}
.chf-cat-guide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.chf-cat-guide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #c9d8e5;
    border-radius: 999px;
    background: #fff;
    color: #0a4773;
    font-weight: 700;
    text-decoration: none !important;
}
.chf-cat-guide__btn--primary {
    border-color: #c85c19;
    background: #c85c19;
    color: #fff !important;
}
.chf-cat-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.chf-cat-guide article,
.chf-cat-guide__steps,
.chf-cat-guide__related,
.chf-cat-guide__faq,
.chf-cat-guide__quality {
    padding: 22px;
    border: 1px solid #dce7f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(18, 45, 66, 0.05);
}
.chf-cat-guide ul,
.chf-cat-guide ol {
    margin: 0;
    padding-left: 20px;
}
.chf-cat-guide li {
    margin: 7px 0;
}
.chf-cat-guide__steps,
.chf-cat-guide__related,
.chf-cat-guide__faq,
.chf-cat-guide__quality {
    margin-top: 18px;
}
.chf-cat-guide__faq details {
    padding: 14px 0;
    border-top: 1px solid #edf2f6;
}
.chf-cat-guide__faq details:first-of-type {
    border-top: 0;
}
.chf-cat-guide__faq summary {
    cursor: pointer;
    color: #092238;
    font-weight: 700;
}
.chf-cat-guide__quality a {
    color: #0068ad;
    font-weight: 700;
}
@media (max-width: 768px) {
    .chf-category-description-below-products {
        margin-top: 30px;
    }
    .chf-cat-guide__hero,
    .chf-cat-guide article,
    .chf-cat-guide__steps,
    .chf-cat-guide__related,
    .chf-cat-guide__faq,
    .chf-cat-guide__quality {
        padding: 18px;
        border-radius: 14px;
    }
    .chf-cat-guide__grid {
        grid-template-columns: 1fr;
    }
    .chf-cat-guide__actions {
        display: grid;
    }
    .chf-cat-guide__btn {
        width: 100%;
    }
}
