/* WordPress-only compatibility styles. The original static CSS remains untouched. */
body.admin-bar header.sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.sticky { top: 46px; } }

.product-send-form .wpcf7-form-control-wrap { display: block; }
.product-send-form .wpcf7-spinner { display: none; }
.product-send-form input[type="submit"] {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    border: 0;
    cursor: pointer;
}
.product-send-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; }
.product-send-form .wpcf7-response-output { margin: 16px 0 0; }
/* Newsletter / Contact Form 7 normalization.
 * This file loads after the static stylesheet and is the final authority for
 * the newsletter form layout. It intentionally supports both the canonical
 * `.newsletter-form-row` markup and older CF7 auto-<p> wrappers already
 * stored in the database. Do not move these rules back into style.css.
 */
.index-stay-input .wpcf7,
.index-stay-input .wpcf7-form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.index-stay-input .wpcf7-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 12px;
    align-items: stretch !important;
}

/* New canonical CF7 markup. */
.index-stay-input .newsletter-form-row {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 12px;
    align-items: stretch;
}

/* Older CF7 versions/configurations may auto-wrap fields in one or more <p>s.
 * Flatten only the top-level paragraph wrappers so the email and submit
 * remain the two grid columns instead of producing nested flex layouts.
 */
.index-stay-input .wpcf7-form > p {
    display: contents !important;
}

.index-stay-input .wpcf7-form > p > br {
    display: none !important;
}

.index-stay-input .wpcf7-form-control-wrap {
    grid-column: 1;
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.index-stay-input input[type="email"],
.index-stay-input .wpcf7-email {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #333333 !important;
    font-size: 15px !important;
    line-height: 46px !important;
    outline: 0 !important;
}

/* Target every supported CF7 submit shape. The `!important` declarations are
 * deliberately scoped to the newsletter so plugin/button CSS cannot shrink
 * the button without affecting any other site CTA. */
.index-stay-input .wpcf7-submit,
.index-stay-input input[type="submit"],
.index-stay-input button[type="submit"],
.index-stay-input form .btn-primary {
    grid-column: 2;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary) !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transform: none;
}

.index-stay-input button[type="submit"],
.index-stay-input form .btn-primary:is(button, a) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.index-stay-input .wpcf7-submit:hover,
.index-stay-input input[type="submit"]:hover,
.index-stay-input button[type="submit"]:hover,
.index-stay-input form .btn-primary:hover {
    background: var(--primary-black) !important;
    border-color: var(--primary-black) !important;
    color: #ffffff !important;
    transform: none !important;
}

.index-stay-input .wpcf7-spinner {
    display: none !important;
}

.index-stay-input .wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
}

.index-stay-input .wpcf7-response-output {
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0 0 !important;
    padding: 6px 10px !important;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .index-stay-input .wpcf7-form,
    .index-stay-input .newsletter-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .index-stay-input .wpcf7-form-control-wrap,
    .index-stay-input .wpcf7-submit,
    .index-stay-input input[type="submit"],
    .index-stay-input button[type="submit"],
    .index-stay-input form .btn-primary {
        grid-column: 1;
    }

    .index-stay-input input[type="email"],
    .index-stay-input .wpcf7-email {
        height: 48px !important;
        min-height: 48px !important;
        line-height: 48px !important;
        background: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .index-stay-input .wpcf7-submit,
    .index-stay-input input[type="submit"],
    .index-stay-input button[type="submit"],
    .index-stay-input form .btn-primary {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
}

.product-empty-notice {
    padding: 30px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
}


/* Site Shell stage: WordPress menu wrappers while preserving static layout. */
.footer-lis { list-style: none; margin: 0; padding: 0; }
.footer-lis li { margin: 0; padding: 0; }
.mega-dropdown-container > .mega-item-divider:last-child { display: none; }
.header-nav .mega-item-icon img { width: 100%; height: 100%; object-fit: contain; }

/* Standalone Download page: JS filter buttons reuse the static tab appearance. */
.download-tab-card button {
    flex: 1;
    text-align: center;
    padding: 16px 10px;
    background: #f8fbf9;
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    transition: .3s;
    position: relative;
    cursor: pointer;
}
.download-tab-card button::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: 3px;
    background: var(--primary);
    transform: translateX(-50%);
    opacity: 0;
    transition: .3s;
}
.download-tab-card button:hover,
.download-tab-card button.active {
    color: var(--primary);
}
.download-tab-card button:hover::after,
.download-tab-card button.active::after {
    opacity: 1;
}
.btn-primary.is-disabled,
.download-resources-btn.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}
@media (max-width: 768px) {
    .download-tab-card button {
        display: inline-block;
        padding: 15px 30px;
        min-width: 150px;
    }
}


/* Content fields stay plain text; visual line wrapping belongs to CSS. */
.autowin-title-wrap,
.autowin-eyebrow-wrap {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
}
.page-banner-left .autowin-title-wrap--quality { max-width: 520px; }
.page-banner-left .autowin-title-wrap--oem { max-width: 560px; }
.page-banner-left .autowin-title-wrap--capability { max-width: 620px; }
.page-banner-left .autowin-title-wrap--industry { max-width: 620px; }
.page-banner-left .autowin-title-wrap--product { max-width: 620px; }
.autowin-title-wrap--section { max-width: 620px; }
.autowin-eyebrow-wrap { max-width: 520px; }
.quality-process-heading .quality-process-number,
.quality-process-heading .quality-process-title {
    display: block;
}
@media (max-width: 767px) {
    .page-banner-left .autowin-title-wrap,
    .autowin-title-wrap--section,
    .autowin-eyebrow-wrap {
        max-width: 100%;
        text-wrap: pretty;
    }
}


/* About Us: content fields stay plain text; CSS controls wrapping/presentation. */
.about-page-banner .about-banner-title {
    max-width: 680px;
    text-wrap: balance;
}
.about-page-banner .about-banner-description {
    max-width: 760px;
}
.about-page-banner .about-banner-lead,
.about-page-banner .about-banner-description > span {
    display: block;
}
.about-page-banner .about-banner-lead {
    margin-bottom: 4px;
}
.about-rich-text p {
    margin: 0 0 1em;
}
.about-rich-text p:last-child {
    margin-bottom: 0;
}
.about-section-title {
    margin-bottom: 50px;
}
.about-global-title {
    max-width: 520px;
    text-wrap: balance;
}
.about-company,
.about-who,
.about-custom,
.about-integrated,
.about-global,
.about-building,
.about-project {
    scroll-margin-top: 110px;
}


/* Contact / RFQ standalone page */
.contact-page-banner .page-banner-left h1 {
    max-width: 760px;
    text-wrap: balance;
}
.contact-banner-eyebrow {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}
.contact-banner-eyebrow i { margin-right: 8px; }
.contact-cf7 .wpcf7-form-control-wrap { display: block; width: 100%; }
.contact-cf7 .contact-form-line .wpcf7-form-control { width: 100%; }
.contact-interest-options .wpcf7-form-control.wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.contact-interest-options .wpcf7-list-item { margin: 0; }
.contact-interest-options .wpcf7-list-item > label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
}
.contact-cf7 .file-upload { position: relative; }
.contact-cf7 .file-upload .wpcf7-form-control-wrap { margin-top: 10px; }
.contact-upload-copy p { margin: 0; }
.contact-upload-copy span { display: block; margin-top: 6px; }
.contact-cf7 .wpcf7-acceptance .wpcf7-list-item { margin-left: 0; }
.contact-submit-button {
    width: 100%;
    justify-content: center;
    padding: 18px;
}
.contact-cf7 .wpcf7-spinner { margin-top: 12px; }
.contact-cf7 .wpcf7-response-output { margin: 18px 0 0; }
@media (max-width: 767px) {
    .contact-interest-options .wpcf7-form-control.wpcf7-checkbox { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) {
    .contact-interest-options .wpcf7-form-control.wpcf7-checkbox { grid-template-columns: 1fr; }
}

/* Resource lists: Header Resources menu-aligned navigation + AJAX filters/tabs. */
.autowin-resource-browser {
    position: relative;
}
.autowin-resource-browser.is-loading .resources-center-list,
.autowin-resource-browser.is-loading .autowin-resource-pagination {
    opacity: .45;
    pointer-events: none;
}
.autowin-resource-browser.is-loading .resources-center {
    cursor: progress;
}
.resources-left-list a > span {
    display: block;
}
.resources-left-list a.active {
    font-weight: 700;
}
.autowin-resource-filter [data-resource-filter-trigger] {
    height: 100%;
}
.autowin-resource-filter ul a.is-selected {
    background: #f0f7f2;
    color: var(--primary);
}
.autowin-resource-pagination button {
    width: 36px;
    height: 36px;
    border: 1px solid #eee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    background: #fff;
    transition: .3s;
    cursor: pointer;
    font: inherit;
}
.autowin-resource-pagination button:hover,
.autowin-resource-pagination button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.autowin-resource-pagination button:disabled {
    opacity: .35;
    cursor: not-allowed;
    background: #fff;
    border-color: #eee;
    color: #999;
}
.autowin-resource-pagination[hidden] {
    display: none !important;
}
.resource-page-dots {
    min-width: 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.tag-cloud a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.autowin-resource-tab-banner .page-banner-left {
    max-width: 760px;
}
.autowin-resource-tab-banner .page-banner-text {
    max-width: 720px;
}
.autowin-resource-empty {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
}
@media (max-width: 767px) {
}

/* Resources landing page: content remains plain text; wrapping is a CSS concern. */
.page-template-page-resources .resources-banner-title {
    max-width: 640px;
    text-wrap: balance;
}
.page-template-page-resources .resources-supplier-card {
    color: inherit;
    text-decoration: none;
}
.page-template-page-resources .resources-supplier-card img {
    object-fit: cover;
}
.page-template-page-resources .cat-download-btn.is-disabled {
    opacity: .45;
    cursor: default;
}

/* Unified site/resources search. */
.autowin-search-suggest-form {
    position: relative;
}

.autowin-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: #fff;
    border: 1px solid #e5e9e6;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.13);
    overflow: hidden;
    text-align: left;
}

.autowin-search-suggestions[hidden] {
    display: none !important;
}

.autowin-search-suggestion-item,
.autowin-search-suggestion-all {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #edf0ee;
    color: #1d2621;
    text-decoration: none;
}

.autowin-search-suggestion-item:hover,
.autowin-search-suggestion-all:hover {
    background: #f5f9f6;
}

.autowin-search-suggestion-item strong,
.autowin-search-suggestion-item small,
.autowin-search-suggestion-type {
    display: block;
}

.autowin-search-suggestion-type {
    margin-bottom: 3px;
    color: #1f7a3f;
    font-size: 12px;
    font-weight: 600;
}

.autowin-search-suggestion-item strong {
    font-size: 15px;
    line-height: 1.35;
}

.autowin-search-suggestion-item small {
    margin-top: 4px;
    color: #707873;
    font-size: 12px;
    line-height: 1.4;
}

.autowin-search-suggestion-all {
    border-bottom: 0;
    color: #1f7a3f;
    font-weight: 600;
}

.autowin-search-suggestion-empty {
    padding: 14px 16px;
    color: #707873;
}

.search-modal-form .autowin-search-suggestions {
    top: calc(100% + 12px);
}

.banner-search-box .autowin-search-suggestions {
    top: calc(100% + 10px);
    color: #1d2621;
}

.autowin-search-page-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(190px, 230px) minmax(180px, 220px) auto;
    gap: 14px;
    align-items: center;
    margin: 0 0 24px;
}

.autowin-search-control-keyword {
    position: relative;
}

.autowin-search-control-keyword > i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #1f7a3f;
    pointer-events: none;
}

.autowin-search-page-controls input,
.autowin-search-page-controls select {
    width: 100%;
    height: 48px;
    border: 1px solid #dfe5e1;
    border-radius: 6px;
    background: #fff;
    color: #252c28;
    outline: none;
}

.autowin-search-page-controls input {
    padding: 0 16px 0 44px;
}

.autowin-search-page-controls select {
    padding: 0 40px 0 14px;
}

.autowin-search-page-controls input:focus,
.autowin-search-page-controls select:focus {
    border-color: #1f7a3f;
}

.autowin-search-page-controls .btn-primary {
    height: 48px;
    border: 0;
    cursor: pointer;
}

.autowin-search-summary {
    margin-bottom: 20px;
    color: #5f6863;
}

.autowin-search-results {
    row-gap: 24px;
    transition: opacity .2s ease;
}

.autowin-search-page.is-loading .autowin-search-results,
.autowin-search-page.is-loading [data-search-results-pagination] {
    opacity: .45;
    pointer-events: none;
}

.autowin-search-result-card {
    height: 100%;
}

.autowin-search-result-image {
    aspect-ratio: 4 / 3;
}

.autowin-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autowin-search-result-copy h3 {
    margin: 8px 0;
}

.autowin-search-result-copy p {
    margin: 0;
    color: #68716c;
    line-height: 1.55;
}

.autowin-search-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7b847f;
    font-size: 12px;
}

.autowin-search-result-meta span {
    color: #1f7a3f;
    font-weight: 600;
}

.autowin-search-empty {
    padding: 54px 24px;
    border: 1px solid #e7ebe8;
    border-radius: 8px;
    background: #fafcfb;
    color: #68716c;
    text-align: center;
}

.autowin-search-pagination {
    margin-top: 34px;
}

@media (max-width: 991px) {
    .autowin-search-page-controls {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .autowin-search-page-controls {
        grid-template-columns: 1fr;
    }

    .autowin-search-suggestions {
        left: 0;
        right: 0;
    }
}

[data-download-item].is-search-target .download-cata-li,
[data-download-item].is-search-target .download-resources-li {
    outline: 2px solid #1f7a3f;
    outline-offset: 3px;
    transition: outline-color .3s ease;
}

.autowin-search-page .public-title h1 {
    display: inline-block;
    margin: 0;
    color: #111;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.autowin-resources-page > .page-banner {
    overflow: visible;
    z-index: 20;
}

.autowin-search-suggestions {
    max-height: 420px;
    overflow-y: auto;
}

/* Final independent pages + unified Banner fallback. */
.autowin-search-banner,
.autowin-legal-page .page-banner,
.autowin-thanks-page .page-banner,
.autowin-404-page .page-banner {
    min-height: 300px;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.autowin-search-banner .page-banner-left,
.autowin-legal-page .page-banner-left {max-width: 760px;}
.autowin-search-banner h1,
.autowin-legal-page .page-banner h1 {max-width: 760px;}
.autowin-thanks-page .thanks-banner-content,
.autowin-404-page .not-content {
    max-width: 760px;
    padding: 36px 0;
}
.autowin-thanks-page .page-banner .not-t1,
.autowin-thanks-page .page-banner .not-t2,
.autowin-thanks-page .page-banner .not-t3,
.autowin-thanks-page .page-banner .not-t5,
.autowin-404-page .page-banner .not-t1,
.autowin-404-page .page-banner .not-t2,
.autowin-404-page .page-banner .not-t3,
.autowin-404-page .page-banner .not-t5 {color:#fff;}
.autowin-thanks-page .page-banner .not-t2,
.autowin-404-page .page-banner .not-t2 {max-width:680px;line-height:1.7;}
.autowin-thanks-page .page-banner .not-t4,
.autowin-404-page .page-banner .not-t4 {display:flex;flex-wrap:wrap;gap:14px;margin:24px 0 16px;}
.thanks-step-number {display:block;font-weight:800;font-size:22px;color:var(--primary);margin-bottom:8px;}
.thanks-contact-list {display:grid;gap:10px;margin:20px 0;}
.thanks-assistance-features {display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0;}
.thanks-assistance-features span {display:inline-flex;align-items:center;gap:8px;}
.thanks-need-image img {width:100%;height:auto;border-radius:10px;}

.autowin-legal-content .autowin-legal-layout {justify-content:center;}
.autowin-legal-updated {margin-bottom:20px;color:#666;}
.autowin-legal-intro {font-size:17px;line-height:1.8;margin-bottom:36px;padding:22px 24px;background:#f6f8f7;border-left:3px solid var(--primary);}
.autowin-legal-section {padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #e8e8e8;}
.autowin-legal-section h2 {font-size:26px;margin-bottom:14px;}
.autowin-legal-section .autowin-legal-body {line-height:1.8;color:#555;}
.autowin-legal-section ul {margin:15px 0 0;padding-left:22px;display:grid;gap:8px;color:#555;line-height:1.7;}
.autowin-legal-contact {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;background:#f4f8f5;border:1px solid #dbe9df;border-radius:10px;}
.autowin-legal-contact h2 {margin-bottom:8px;}
.autowin-legal-contact p {margin:0;}
@media (max-width:767px){
    .autowin-search-banner,.autowin-legal-page .page-banner,.autowin-thanks-page .page-banner,.autowin-404-page .page-banner{min-height:240px;}
    .autowin-legal-contact{align-items:flex-start;flex-direction:column;}
}

/* Product Category taxonomy: scalable tree + direct content layout. */
.product-category-tree {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .03);
}
.product-category-tree-list { margin: 0; padding: 0; list-style: none; }
.product-category-tree-item { border-bottom: 1px solid #f1f1f1; }
.product-category-tree-item:last-child { border-bottom: 0; }
.product-category-tree-row { display: flex; align-items: stretch; min-height: 52px; background: #fff; }
.product-category-tree-level-0 > .product-category-tree-item > .product-category-tree-row { background: #fcfcfc; }
.product-category-tree-link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 13px 16px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}
.product-category-tree-level-0 > .product-category-tree-item > .product-category-tree-row > .product-category-tree-link {
    font-size: 15px;
    font-weight: 700;
}
.product-category-tree-toggle {
    width: 46px;
    border: 0;
    border-left: 1px solid #f3f3f3;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: .25s ease;
}
.product-category-tree-toggle i { display: inline-block; transition: transform .25s ease; }
.product-category-tree-item.is-open > .product-category-tree-row .product-category-tree-toggle i { transform: rotate(180deg); }
.product-category-tree-children { display: none; background: #fff; }
.product-category-tree-item.is-open > .product-category-tree-children { display: block; }
.product-category-tree-level-1 .product-category-tree-link { padding-left: 28px; }
.product-category-tree-level-2 .product-category-tree-link { padding-left: 42px; font-size: 13px; }
.product-category-tree-level-3 .product-category-tree-link { padding-left: 56px; font-size: 13px; }
.product-category-tree-level-4 .product-category-tree-link,
.product-category-tree-level-5 .product-category-tree-link { padding-left: 70px; font-size: 12px; }
.product-category-tree-item.is-ancestor > .product-category-tree-row,
.product-category-tree-item.is-current > .product-category-tree-row { background: #f5faf6; }
.product-category-tree-level-0 > .product-category-tree-item.is-ancestor > .product-category-tree-row,
.product-category-tree-level-0 > .product-category-tree-item.is-current > .product-category-tree-row { background: var(--primary); }
.product-category-tree-level-0 > .product-category-tree-item.is-ancestor > .product-category-tree-row .product-category-tree-link,
.product-category-tree-level-0 > .product-category-tree-item.is-current > .product-category-tree-row .product-category-tree-link,
.product-category-tree-level-0 > .product-category-tree-item.is-ancestor > .product-category-tree-row .product-category-tree-toggle,
.product-category-tree-level-0 > .product-category-tree-item.is-current > .product-category-tree-row .product-category-tree-toggle { color: #fff; }
.product-category-tree-item.is-current:not(.product-category-tree-level-0) > .product-category-tree-row .product-category-tree-link,
.product-category-tree-item.is-current > .product-category-tree-row > .product-category-tree-link { color: var(--primary); font-weight: 800; }
.product-category-tree-level-0 > .product-category-tree-item.is-current > .product-category-tree-row > .product-category-tree-link { color: #fff; }

.product-explore-row { counter-reset: autowin-product-category; }
.product-category-child-card { counter-increment: autowin-product-category; }
.product-category-card-number::before { content: counter(autowin-product-category) ". "; }
.product-category-child-card .explore-top-num { margin-bottom: 12px; }
.product-category-child-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 22px;
    flex: 1;
}
.product-category-child-card .view-cate { margin-top: auto; }

.product-category-products-grid { row-gap: 24px; }
.product-category-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.product-category-product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    transform: translateY(-3px);
}
.product-category-product-image {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: #fbfbfb;
}
.product-category-product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-category-product-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.product-category-product-body h3 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; color: #111; }
.product-category-product-body p { font-size: 14px; line-height: 1.6; color: #666; margin: 0 0 18px; }
.product-category-product-link { margin-top: auto; color: var(--primary); font-size: 14px; font-weight: 700; }
.product-category-product-link i { margin-left: 5px; }
.product-category-pagination { margin-top: 36px; display: flex; justify-content: center; gap: 8px; }
.product-category-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    color: #444;
}
.product-category-pagination .page-numbers.current,
.product-category-pagination .page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-category-empty-state { padding: 45px 30px; border: 1px solid #eee; border-radius: 14px; text-align: center; background: #fff; }
.product-category-empty-state h2 { font-size: 25px; margin-bottom: 10px; }
.product-category-empty-state p { color: #666; margin: 0; }

@media (max-width: 991px) {
    .product-category-tree-level-3 .product-category-tree-link,
    .product-category-tree-level-4 .product-category-tree-link,
    .product-category-tree-level-5 .product-category-tree-link { padding-left: 42px; }
}


/* Contact Form 7 interaction safeguards.
 * These rules only affect validation/error states and file-input hit areas;
 * the normal static-site form appearance remains unchanged.
 */
.file-upload .wpcf7-form-control-wrap {
    position: static;
}

.file-upload input[type="file"] {
    z-index: 10;
}

.file-upload:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.product-send-form .wpcf7-not-valid-tip,
.contact-cf7 .wpcf7-not-valid-tip {
    position: relative;
    z-index: 12;
    display: block;
    margin-top: 6px;
    color: #dc3232;
    font-size: 13px;
    line-height: 1.4;
}

.product-send-form .wpcf7-not-valid,
.contact-cf7 .wpcf7-not-valid {
    border-color: #dc3232 !important;
}

.product-send-form .wpcf7-response-output,
.contact-cf7 .wpcf7-response-output {
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.contact-cf7 .wpcf7-acceptance .wpcf7-not-valid-tip {
    margin-left: 0;
}


/* Product archive links: keep the existing visual treatment while making
 * category headings/descriptions/children semantic WordPress term links. */
.product-cat-card .cat-header h3 a,
.product-cat-card .cat-desc a,
.product-cat-card .cat-item-link {
    color: inherit;
    text-decoration: none;
}
.product-cat-card .cat-header h3 a:hover,
.product-cat-card .cat-desc a:hover,
.product-cat-card .cat-item-link:hover span {
    color: var(--primary);
}
.product-cat-card .cat-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Product-detail WYSIWYG replacements for Highlights / Quick Information. */
.product-details-richtext {
    width: 49%;
    box-sizing: border-box;
}
.product-details-richtext--highlights ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-details-richtext--highlights li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 30px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}
.product-details-richtext--highlights li:last-child {
    margin-bottom: 0;
}
.product-details-richtext--highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.product-details-richtext--quick-info table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}
.product-details-richtext--quick-info th,
.product-details-richtext--quick-info td {
    padding: 0 0 10px;
    border: 0;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.4;
}
.product-details-richtext--quick-info tr:last-child th,
.product-details-richtext--quick-info tr:last-child td {
    padding-bottom: 0;
}
.product-details-richtext--quick-info th {
    width: 35%;
    padding-right: 10px;
    color: #555;
    font-weight: 400;
}
.product-details-richtext--quick-info td {
    width: 65%;
    color: #000;
}
.product-details-richtext p:last-child,
.product-details-richtext ul:last-child,
.product-details-richtext table:last-child {
    margin-bottom: 0;
}

/* Manufacturing Overview > Why Partner: remove only this module's exported
 * grey circular icon background; other site icon treatments stay untouched. */
.capabilities-built-li > span {
    padding: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .product-details-richtext {
        width: 100%;
    }
    .product-details-richtext--quick-info {
        margin-top: 15px;
    }
}

/* Quality Control Process: only the icon wrapper uses the round workflow style.
 * The step number/title are normal text and must never inherit .forward-li-box span circles. */
.quality-process-heading {
    min-height: 38px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.25;
}
.quality-process-heading .quality-process-number,
.quality-process-heading .quality-process-title {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: 1.25;
}
.quality-process-heading .quality-process-number {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 800;
}
.quality-process-heading .quality-process-title {
    font-size: 15px;
    font-weight: 800;
}

/* v3.1 Search results: remove resource-type badge and keep the publish date aligned cleanly. */
.autowin-search-result-meta {
    justify-content: flex-end;
    min-height: 18px;
}

/* v3.4 Contact/RFQ: refined to match the approved contact design. */
.contact-cf7 .contact-form-li {
    margin-bottom: 16px;
}
.contact-cf7 .contact-form-li > label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #222;
}
.contact-cf7 .contact-form-line {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #dfe3e6;
    border-radius: 5px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-cf7 .contact-form-line:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0, 125, 62, .08);
}
.contact-cf7 .contact-form-line-icon {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
}
.contact-cf7 .contact-form-line-icon .contact-input-icon {
    width: 44px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #aeb5bb;
    pointer-events: none;
}
.contact-cf7 .contact-form-line-icon .contact-input-icon i {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: block;
    width: auto;
    height: auto;
    margin: 0 !important;
    color: inherit;
    font-size: 15px;
    line-height: 1;
}
.contact-cf7 .contact-form-line-icon > .wpcf7-form-control-wrap {
    width: 100% !important;
    min-width: 0;
    height: 46px;
    display: flex;
    align-items: center;
    margin: 0 !important;
}
.contact-cf7 .contact-form-line-no-icon > .wpcf7-form-control-wrap {
    width: 100% !important;
    flex-basis: 100%;
}
.contact-cf7 .contact-form-line input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.contact-cf7 .contact-form-line select {
    display: block;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    box-sizing: border-box;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    color: #333;
    font-size: 13px;
    line-height: 46px !important;
}
.contact-cf7 .contact-form-line select {
    padding-right: 34px !important;
    line-height: normal !important;
    cursor: pointer;
}
.contact-cf7 .contact-form-line input::placeholder,
.contact-cf7 .contact-form-line textarea::placeholder {
    color: #959ca3;
    opacity: 1;
}
.contact-cf7 .contact-form-line-textarea {
    height: auto;
    min-height: 118px;
}
.contact-cf7 .contact-form-line-textarea > .wpcf7-form-control-wrap {
    height: auto;
    min-height: 116px;
    align-items: stretch;
}
.contact-cf7 .contact-form-line textarea {
    display: block;
    width: 100% !important;
    min-height: 116px;
    height: 116px;
    margin: 0 !important;
    padding: 12px 13px !important;
    box-sizing: border-box;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    color: #333;
    font-size: 13px;
    line-height: 1.55;
    resize: vertical;
}
.contact-cf7 .contact-interest-options .wpcf7-form-control.wpcf7-checkbox {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
}
.contact-cf7 .contact-interest-options .wpcf7-list-item {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}
.contact-cf7 .contact-interest-options .wpcf7-list-item > label {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 0 7px;
    box-sizing: border-box;
    border: 1px solid #e1e4e7;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}
.contact-cf7 .contact-interest-options .wpcf7-list-item input[type="checkbox"] {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin: 0;
}
.contact-cf7 .contact-interest-options .wpcf7-list-item-label {
    display: block;
    min-width: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.08px;
    white-space: nowrap;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
}
.contact-cf7 .file-upload {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    border: 1px dashed #ddd;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}
.contact-cf7 .file-upload .contact-upload-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    pointer-events: none;
}
.contact-cf7 .file-upload .wpcf7-form-control-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    z-index: 2;
}
.contact-cf7 .file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.contact-cf7 .contact-form-radio .wpcf7-list-item,
.contact-cf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
}
.contact-cf7 .contact-form-radio label,
.contact-cf7 .wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}
.contact-cf7 .contact-form-radio input[type="checkbox"],
.contact-cf7 .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 0;
}
.contact-cf7 .contact-submit-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.contact-cf7 .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
}
.contact-cf7 .wpcf7-response-output {
    margin: 14px 0 0 !important;
}
@media (max-width: 991px) {
    .contact-cf7 .contact-interest-options .wpcf7-form-control.wpcf7-checkbox {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-cf7 .contact-interest-options .wpcf7-list-item-label {
        font-size: 12px;
    }
}
@media (max-width: 479px) {
    .contact-cf7 .contact-form-line-icon { grid-template-columns: 40px minmax(0, 1fr); }
    .contact-cf7 .contact-form-line-icon .contact-input-icon { width: 40px; }
    .contact-cf7 .contact-interest-options .wpcf7-form-control.wpcf7-checkbox {
        grid-template-columns: 1fr;
    }
    .contact-cf7 .contact-interest-options .wpcf7-list-item-label {
        font-size: 12px;
    }
}

/* v3.2 fixed article modules: many top tabs remain usable on smaller admin widths. */
.post-type-product-buying-guide .acf-tab-wrap.-top .acf-tab-group,
.post-type-technical-insight .acf-tab-wrap.-top .acf-tab-group,
.post-type-supplier-guide .acf-tab-wrap.-top .acf-tab-group,
.post-type-news .acf-tab-wrap.-top .acf-tab-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* v3.6 Contact/RFQ hardening: stable clickable icon fields and right-aligned select arrows. */
.contact-cf7 .contact-form-line-icon {
    position: relative;
    display: block !important;
    height: 48px;
    min-height: 48px;
}
.contact-cf7 .contact-form-line-icon > i,
.contact-cf7 .contact-form-line-icon > .contact-input-icon {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 44px !important;
    height: 46px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    color: #aeb5bb !important;
    font-size: 15px !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 1;
}
.contact-cf7 .contact-form-line-icon > .contact-input-icon > i {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    pointer-events: none !important;
}
.contact-cf7 .contact-form-line-icon .wpcf7-form-control-wrap {
    position: relative !important;
    z-index: 2;
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    pointer-events: auto !important;
}
.contact-cf7 .contact-form-line-icon input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    position: relative !important;
    z-index: 2;
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 13px 0 44px !important;
    color: #333 !important;
    background: transparent !important;
    pointer-events: auto !important;
    cursor: text !important;
    opacity: 1 !important;
}
.contact-cf7 .contact-form-line-icon input::placeholder {
    color: #959ca3 !important;
    opacity: 1 !important;
}
.contact-cf7 .contact-form-line-select {
    position: relative;
    overflow: visible;
}
.contact-cf7 .contact-form-line-select::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #333;
    border-bottom: 1.5px solid #333;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    z-index: 4;
}
.contact-cf7 .contact-form-line-select select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    padding-right: 42px !important;
    cursor: pointer;
}
.contact-cf7 .contact-form-line-select select::-ms-expand {
    display: none;
}
@media (max-width: 479px) {
    .contact-cf7 .contact-form-line-icon > i,
    .contact-cf7 .contact-form-line-icon > .contact-input-icon {
        width: 40px !important;
    }
    .contact-cf7 .contact-form-line-icon input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
        padding-left: 40px !important;
    }
}

/* v3.7 Contact/RFQ: match Contact Form 7's real <div><p><span> control DOM. */
.contact-cf7 .contact-form-line > p {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}
.contact-cf7 .contact-form-line > p > .wpcf7-form-control-wrap {
    position: relative !important;
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

/* Icon fields: override the original static top offset and center against the real 48px control. */
body .contact-cf7 .contact-form-line-icon > p > i.iconfont,
body .contact-cf7 .contact-form-line-icon > i.iconfont,
body .contact-cf7 .contact-form-line-icon .contact-input-icon > i.iconfont {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) !important;
    color: #aeb5bb !important;
    font-size: 15px !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 4 !important;
}
body .contact-cf7 .contact-form-line-icon > p > .wpcf7-form-control-wrap input,
body .contact-cf7 .contact-form-line-icon > .wpcf7-form-control-wrap input {
    width: 100% !important;
    height: 100% !important;
    min-height: 46px !important;
    padding: 0 13px 0 42px !important;
    pointer-events: auto !important;
    cursor: text !important;
}

/* Selects: the actual select/wrap covers the complete visual field, including the right arrow area. */
.contact-cf7 .contact-form-line-select > p,
.contact-cf7 .contact-form-line-select > p > .wpcf7-form-control-wrap {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
}
.contact-cf7 .contact-form-line-select select {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 42px 0 13px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
.contact-cf7 .contact-form-line-select::after {
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-70%) rotate(45deg) !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

/* Project Details: make the entire visible area the textarea and keep the native resize handle bottom-right. */
.contact-cf7 .contact-form-line-textarea {
    position: relative !important;
    width: 100% !important;
    min-height: 118px !important;
    height: 118px !important;
    overflow: hidden !important;
}
.contact-cf7 .contact-form-line-textarea > p {
    align-items: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 116px !important;
}
.contact-cf7 .contact-form-line-textarea > p > .wpcf7-form-control-wrap,
.contact-cf7 .contact-form-line-textarea > .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 116px !important;
    pointer-events: auto !important;
}
.contact-cf7 .contact-form-line-textarea textarea {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 116px !important;
    min-height: 116px !important;
    margin: 0 !important;
    padding: 12px 28px 12px 13px !important;
    box-sizing: border-box !important;
    resize: vertical !important;
    pointer-events: auto !important;
    cursor: text !important;
}

.download-resources-li.is-disabled {
    opacity: .58;
    cursor: not-allowed;
}

/* v4.1 Article Content: one WYSIWYG body + H2-H4 generated table of contents. */
.autowin-article-content {
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}
.autowin-article-content > *:first-child { margin-top: 0; }
.autowin-article-content p { margin: 0 0 18px; }
.autowin-article-content h2,
.autowin-article-content h3,
.autowin-article-content h4 {
  color: #111;
  scroll-margin-top: 120px;
}
.autowin-article-content h2 {
  position: relative;
  margin: 45px 0 24px;
  padding-left: 18px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: none;
}
.autowin-article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--primary);
}
.autowin-article-content h3 {
  margin: 28px 0 14px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}
.autowin-article-content h4 {
  margin: 22px 0 12px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}
.autowin-article-content ul,
.autowin-article-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.autowin-article-content li { margin-bottom: 8px; }
.autowin-article-content li img {
  width: 30px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.autowin-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.autowin-article-content table {
  width: 100%;
  margin: 20px 0 28px;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
  font-size: 14px;
}
.autowin-article-content th,
.autowin-article-content td {
  padding: 14px 16px;
  border: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
}
.autowin-article-content th {
  background: #343a35;
  color: #fff;
  font-weight: 700;
}
.autowin-article-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--primary);
  background: #f7faf8;
}
.blog-contents-li.toc-level-2 { padding-left: 0; font-weight: 600; }
.blog-contents-li.toc-level-3 { padding-left: 14px; }
.blog-contents-li.toc-level-4 { padding-left: 28px; font-size: 13px; }
.blog-contents-li.toc-level-2:hover { padding-left: 5px; }
.blog-contents-li.toc-level-3:hover { padding-left: 19px; }
.blog-contents-li.toc-level-4:hover { padding-left: 33px; }
@media (max-width: 767px) {
  .autowin-article-content h2 { font-size: 22px; margin-top: 34px; }
  .autowin-article-content h3 { font-size: 18px; }
  .autowin-article-content h4 { font-size: 16px; }
  .autowin-article-content table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* FAQ v4.3: support CTA lives outside the FAQ result/list grid. */
.faq-support-section {
  width: 100%;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e7ede9;
}
.faq-support-card {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid #dfe9e3;
  border-radius: 12px;
  background: #f8fbf9;
}
.faq-support-card .faq-center { flex: 1; }
.faq-support-card .btn-outline-green { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 767px) {
  .faq-support-section { margin-top: 28px; padding-top: 22px; }
  .faq-support-card { align-items: flex-start; flex-wrap: wrap; padding: 20px; }
  .faq-support-card .faq-center { min-width: calc(100% - 80px); }
  .faq-support-card .btn-outline-green { margin-left: 72px; }
}

/* Search v4.2: simplified global Product Search uses keyword + submit only. */
.autowin-search-page[data-scope="products"] .autowin-search-page-controls {
  grid-template-columns: minmax(280px, 1fr) auto;
  max-width: 900px;
}
@media (max-width: 767px) {
  .autowin-search-page[data-scope="products"] .autowin-search-page-controls {
    grid-template-columns: 1fr;
    max-width: none;
  }
}
.autowin-search-page[data-scope="products"] .autowin-search-result-meta { display: none; }

/* Search v4.4: center the simplified Product Search controls and result grid. */
.autowin-search-page[data-scope="products"] .autowin-search-page-controls {
  margin-left: auto;
  margin-right: auto;
}

.autowin-search-page[data-scope="products"] .autowin-search-summary {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.autowin-search-page[data-scope="products"] .autowin-search-results {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-start;
}

.autowin-search-page[data-scope="products"] [data-search-results-pagination] {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .autowin-search-page[data-scope="products"] .autowin-search-page-controls,
  .autowin-search-page[data-scope="products"] .autowin-search-summary,
  .autowin-search-page[data-scope="products"] .autowin-search-results,
  .autowin-search-page[data-scope="products"] [data-search-results-pagination] {
    max-width: none;
  }
}


/* Search v4.7: Product Search reuses the exact Product Category product-card UI. */
.autowin-search-page[data-scope="products"] .product-search-section {
  background: #f7f9f8;
  padding-top: 56px;
  padding-bottom: 80px;
}

/* The page banner already contains the page title. */
.autowin-search-page[data-scope="products"] .product-search-section > .container > .public-title {
  display: none;
}

.autowin-search-page[data-scope="products"] .autowin-search-page-controls {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
  background: #fff;
  border: 1px solid #e3ebe6;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(17, 67, 35, .06);
}

.autowin-search-page[data-scope="products"] .autowin-search-page-controls input,
.autowin-search-page[data-scope="products"] .autowin-search-page-controls .btn-primary {
  height: 54px;
}

.autowin-search-page[data-scope="products"] .autowin-search-page-controls input {
  border-color: #d9e4dd;
  border-radius: 8px;
  font-size: 15px;
}

.autowin-search-page[data-scope="products"] .autowin-search-page-controls input:focus {
  border-color: #1f7a3f;
  box-shadow: 0 0 0 3px rgba(31, 122, 63, .08);
}

.autowin-search-page[data-scope="products"] .autowin-search-page-controls .btn-primary {
  width: 118px;
  padding: 0 20px;
  border-radius: 8px;
  justify-content: center;
}

.autowin-search-page[data-scope="products"] .autowin-search-summary {
  width: 100%;
  max-width: 960px;
  margin: 14px auto 30px;
  padding: 0 4px;
  color: #68716c;
  font-size: 14px;
}

/* Results use the Product Category grid and card classes directly. */
.autowin-search-page[data-scope="products"] .autowin-search-results {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  row-gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

@media (max-width: 991px) {
  .autowin-search-page[data-scope="products"] .product-search-section {
    padding-top: 44px;
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  .autowin-search-page[data-scope="products"] .autowin-search-page-controls {
    max-width: none;
    padding: 14px;
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .autowin-search-page[data-scope="products"] .autowin-search-page-controls .btn-primary {
    width: 108px;
  }

  .autowin-search-page[data-scope="products"] .autowin-search-summary {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .autowin-search-page[data-scope="products"] .product-search-section {
    padding-top: 34px;
    padding-bottom: 50px;
  }

  .autowin-search-page[data-scope="products"] .autowin-search-page-controls {
    grid-template-columns: 1fr;
  }

  .autowin-search-page[data-scope="products"] .autowin-search-page-controls .btn-primary {
    width: 100%;
  }
}
