@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: optional;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 100 900;
    font-display: optional;
    src: url("../fonts/archivo-latin.woff2") format("woff2");
}

:root {
    --yso-primary: #db2d2f;
    --yso-primary-dark: #b91f23;
    --yso-dark: #07101f;
    --yso-dark-soft: #101c30;
    --yso-text: #172033;
    --yso-muted: #697386;
    --yso-line: #e7eaf0;
    --yso-surface: #ffffff;
    --yso-surface-alt: #f5f6f8;
    --yso-shadow: 0 14px 40px rgba(7, 16, 31, .09);
    --yso-radius: 18px;
}

.yso-container {
    width: min(1240px, 100%);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

.yso-section {
    padding-block: 72px;
    position: relative;
}

.yso-section:nth-of-type(even) {
    background: var(--yso-surface-alt);
}

.yso-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.yso-section-head-centered {
    justify-content: center;
    text-align: center;
}

.yso-section-head h2 {
    margin: 7px 0 8px;
    color: var(--yso-dark);
    font-family: Montserrat, Archivo, sans-serif;
    font-size: clamp(28px, 3.4vw, 43px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.yso-section-head h2 span {
    color: var(--yso-primary);
}

.yso-section-head p {
    margin: 0;
    color: var(--yso-muted);
    font-size: 15px;
    line-height: 1.7;
}

.yso-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--yso-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.yso-eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
}

.yso-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
    white-space: nowrap;
}

.yso-btn:hover {
    transform: translateY(-2px);
}

.yso-btn-primary {
    color: #fff !important;
    background: var(--yso-primary);
    box-shadow: 0 10px 25px rgba(219, 45, 47, .25);
}

.yso-btn-primary:hover {
    background: var(--yso-primary-dark);
}

.yso-btn-outline {
    flex: 0 0 auto;
    color: var(--yso-dark);
    border-color: #cbd1dc;
    background: transparent;
}

.yso-btn-outline:hover {
    color: #fff;
    border-color: var(--yso-primary);
    background: var(--yso-primary);
}

.yso-text-link {
    color: var(--yso-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* Hero */
.yso-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #fff;
    background: var(--yso-dark);
}

.yso-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .65s ease, visibility .65s ease;
}

.yso-hero-slide.is-active {
    position: relative;
    min-height: 680px;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.yso-hero-bg,
.yso-hero-shade {
    position: absolute;
    inset: 0;
}

.yso-hero-bg {
    background-position: center;
    background-size: cover;
    transform: scale(1.015);
}

.yso-hero-bg picture,
.yso-hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
}

.yso-hero-bg img {
    object-fit: cover;
    object-position: center;
}

.yso-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto;
}

.yso-hero-shade {
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 11, 23, .94) 0%, rgba(4, 11, 23, .78) 43%, rgba(4, 11, 23, .36) 74%, rgba(4, 11, 23, .58) 100%);
}

.yso-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 680px;
    padding-block: 70px;
    box-sizing: border-box;
}

.yso-hero-copy {
    max-width: 670px;
}

.yso-hero-copy h1 {
    margin: 18px 0 20px;
    color: #fff;
    font-family: Montserrat, Archivo, sans-serif;
    font-size: clamp(38px, 4.6vw, 66px);
    font-weight: 300;
    letter-spacing: .025em;
    line-height: 1.08;
}

.yso-hero-copy p {
    max-width: 600px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.75;
}

.yso-hero-customers {
    background: radial-gradient(circle at 80% 20%, #1c304d 0%, var(--yso-dark) 65%);
}

.yso-customer-collage {
    display: grid;
    flex: 0 0 480px;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    align-items: center;
}

.yso-customer-collage img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 15px;
    box-shadow: var(--yso-shadow);
}

.yso-customer-collage img:nth-child(2n) {
    transform: translateY(20px);
}

.yso-customer-collage img:nth-child(3n) {
    height: 185px;
}

.yso-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 16, 31, .32);
    font-size: 28px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease;
}

.yso-hero-arrow:hover {
    background: var(--yso-primary);
}

.yso-hero-prev {
    left: 22px;
}

.yso-hero-next {
    right: 22px;
}

.yso-hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    z-index: 4;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.yso-hero-dots button {
    width: 28px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.yso-hero-dots button.is-active {
    width: 46px;
    background: var(--yso-primary);
}

/* Categories */
.yso-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.yso-category-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 230px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--yso-line);
    border-radius: var(--yso-radius);
    background: var(--yso-surface);
    box-shadow: 0 8px 25px rgba(7, 16, 31, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.yso-category-card::before {
    content: "YIXIN";
    position: absolute;
    bottom: -12px;
    left: 14px;
    color: rgba(7, 16, 31, .035);
    font-family: Montserrat, sans-serif;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -.08em;
}

.yso-category-card:hover {
    border-color: rgba(219, 45, 47, .45);
    box-shadow: var(--yso-shadow);
    transform: translateY(-5px);
}

.yso-category-copy {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    max-width: 58%;
}

.yso-category-copy h3 {
    margin: 0 0 8px;
    color: var(--yso-dark);
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.yso-category-copy > span {
    display: block;
    margin-bottom: 25px;
    color: var(--yso-muted);
    font-size: 12px;
}

.yso-category-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--yso-primary);
    border-radius: 999px;
    color: var(--yso-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.yso-category-copy a:hover {
    color: #fff;
    background: var(--yso-primary);
}

.yso-category-card > img {
    position: absolute;
    right: -8px;
    bottom: -6px;
    z-index: 1;
    width: 57%;
    height: 82%;
    object-fit: contain;
    transition: transform .3s ease;
}

.yso-category-card:hover > img {
    transform: scale(1.045);
}

/* Stats */
.yso-stats {
    padding-block: 8px 64px;
}

.yso-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.yso-stat-card {
    position: relative;
    padding: 27px 24px;
    overflow: hidden;
    border: 1px solid var(--yso-line);
    border-radius: var(--yso-radius);
    background: var(--yso-surface);
    box-shadow: 0 8px 25px rgba(7, 16, 31, .045);
}

.yso-stat-index {
    position: absolute;
    top: 12px;
    right: 16px;
    color: rgba(219, 45, 47, .12);
    font-family: Montserrat, sans-serif;
    font-size: 42px;
    font-weight: 900;
}

.yso-stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    color: var(--yso-primary);
    font-family: Montserrat, sans-serif;
}

.yso-stat-value strong {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 800;
    letter-spacing: -.05em;
}

.yso-stat-value span {
    font-size: 20px;
    font-weight: 700;
}

.yso-stat-card p {
    margin: 8px 0 0;
    color: var(--yso-muted);
    font-size: 13px;
}

/* Brand wall */
.yso-brand-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.yso-brand-item {
    display: flex;
    min-height: 112px;
    padding: 17px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--yso-line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.yso-brand-item:hover {
    border-color: rgba(219, 45, 47, .4);
    box-shadow: 0 8px 20px rgba(7, 16, 31, .07);
}

.yso-brand-item img {
    width: 100%;
    height: 46px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .68;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.yso-brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.yso-brand-item span {
    color: var(--yso-muted);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}

/* How to buy */
.yso-how-to {
    padding-block: 76px;
    color: #fff;
    background-color: var(--yso-dark);
    background-position: center;
    background-size: cover;
}

.yso-how-to .yso-section-head h2,
.yso-how-to .yso-section-head h2 span {
    color: #fff;
}

.yso-how-to .yso-section-head p {
    color: rgba(255, 255, 255, .65);
}

.yso-step-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.yso-step-card {
    min-height: 215px;
    padding: 24px 21px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 16px;
    background: rgba(255, 255, 255, .095);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .14);
    backdrop-filter: blur(13px);
    transition: background .25s ease, transform .25s ease;
}

.yso-step-card:hover {
    background: rgba(219, 45, 47, .25);
    transform: translateY(-4px);
}

.yso-step-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--yso-primary);
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.yso-step-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.yso-step-card p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    line-height: 1.7;
}

/* Product tabs and cards */
.yso-product-tabs {
    display: flex;
    gap: 9px;
    margin-bottom: 30px;
    padding-bottom: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.yso-product-tabs button {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 1px solid var(--yso-line);
    border-radius: 999px;
    color: var(--yso-muted);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.yso-product-tabs button:hover,
.yso-product-tabs button.is-active {
    color: #fff;
    border-color: var(--yso-primary);
    background: var(--yso-primary);
}

.yso-product-results {
    min-height: 300px;
    transition: opacity .2s ease;
}

.yso-product-results.is-loading {
    display: grid;
    min-height: 300px;
    place-items: center;
    opacity: .55;
}

.yso-product-results.is-loading::before {
    content: attr(data-loading-text);
    color: var(--yso-muted);
    font-size: 14px;
}

.cxb-b2b-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--yso-line) !important;
    border-radius: var(--yso-radius) !important;
    background: #fff;
    box-shadow: 0 8px 25px rgba(7, 16, 31, .055) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.cxb-b2b-product-card:hover {
    border-color: rgba(219, 45, 47, .38) !important;
    box-shadow: var(--yso-shadow) !important;
    transform: translateY(-4px);
}

.cxb-b2b-product-card .cxb-b2b-product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.cxb-b2b-product-card .cxb-b2b-product-title {
    display: -webkit-box;
    min-height: 2.6em;
    overflow: hidden;
    color: var(--yso-dark);
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cxb-b2b-product-card .cxb-b2b-product-title a:hover {
    color: var(--yso-primary);
}

.cxb-b2b-product-card .cxb-b2b-card-price strong,
.cxb-b2b-product-card .cxb-b2b-card-price {
    color: var(--yso-primary) !important;
    font-weight: 800 !important;
}

.cxb-b2b-product-card .cxb-b2b-product-actions,
.cxb-b2b-product-card .cxb-b2b-button-group {
    margin-top: auto;
}

.cxb-b2b-product-card .cxb-b2b-inquiry-button,
.cxb-b2b-product-card .cxb-b2b-add-to-quote-button,
.cxb-b2b-product-card .cxb-b2b-view-details-button {
    border-radius: 999px !important;
}

.cxb-b2b-product-image-wrapper {
    position: relative;
}

.cxb-b2b-product-image-wrapper::after {
    content: "YIXIN";
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 3;
    padding: 4px 7px;
    border-radius: 4px;
    color: rgba(255, 255, 255, .9);
    background: rgba(7, 16, 31, .55);
    font-family: Montserrat, sans-serif;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    pointer-events: none;
}

/* News */
.yso-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.yso-news-card {
    display: flex;
    min-height: 240px;
    padding: 27px;
    flex-direction: column;
    border: 1px solid var(--yso-line);
    border-radius: var(--yso-radius);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.yso-news-card:hover {
    box-shadow: var(--yso-shadow);
    transform: translateY(-4px);
}

.yso-news-card time {
    margin-bottom: 14px;
    color: var(--yso-primary);
    font-size: 12px;
    font-weight: 700;
}

.yso-news-card h3 {
    display: -webkit-box;
    margin: 0 0 13px;
    overflow: hidden;
    color: var(--yso-dark);
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.yso-news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.yso-news-card h3 a:hover {
    color: var(--yso-primary);
}

.yso-news-card p {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: var(--yso-muted);
    font-size: 13px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.yso-news-card .yso-text-link {
    margin-top: auto;
}

/* Trust bar */
.yso-trust {
    padding-block: 30px;
    color: #fff;
    background: var(--yso-dark);
}

.yso-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.yso-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.yso-trust-number {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 800;
}

.yso-trust-item h3 {
    margin: 0 0 4px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.yso-trust-item p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    line-height: 1.5;
}

/* Footer brand links */
.yso-brand-links h3 {
    margin: 0 0 20px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.yso-brand-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yso-brand-links a {
    color: #b1b1b1;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
}

.yso-brand-links a:hover {
    color: var(--yso-primary);
}

/* Sticky header */
header.yso-sticky-active {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9990;
    color: var(--yso-dark);
    background: #fff !important;
    box-shadow: 0 7px 24px rgba(7, 16, 31, .12);
}

header.yso-sticky-active .header-inner,
header.yso-sticky-active .elementor,
header.yso-sticky-active .elementor-element {
    background-color: #fff !important;
}

header.yso-sticky-active a,
header.yso-sticky-active .elementor-heading-title,
header.yso-sticky-active .ekit-menu-item-text,
header.yso-sticky-active .elementskit-menu-item-text {
    color: var(--yso-dark) !important;
}

header.yso-sticky-active a:hover {
    color: var(--yso-primary) !important;
}

body.admin-bar header.yso-sticky-active {
    top: 32px;
}

.yso-sticky-placeholder {
    display: block;
}

/* Forms and subpages */
.cxb-b2b-contact-form input:not([type="checkbox"]):not([type="radio"]),
.cxb-b2b-contact-form select,
.cxb-b2b-contact-form textarea,
.cxb-form input:not([type="checkbox"]):not([type="radio"]),
.cxb-form select,
.cxb-form textarea {
    border: 1px solid #dce1e8 !important;
    border-radius: 10px !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cxb-b2b-contact-form input:focus,
.cxb-b2b-contact-form select:focus,
.cxb-b2b-contact-form textarea:focus,
.cxb-form input:focus,
.cxb-form select:focus,
.cxb-form textarea:focus {
    border-color: var(--yso-primary) !important;
    box-shadow: 0 0 0 3px rgba(219, 45, 47, .1) !important;
    outline: none !important;
}

.cxb-b2b-contact-form button[type="submit"],
.cxb-form button[type="submit"] {
    border-radius: 999px !important;
    background: var(--yso-primary) !important;
}

/* Accessibility */
.yso-btn:focus-visible,
.yso-hero-arrow:focus-visible,
.yso-hero-dots button:focus-visible,
.yso-product-tabs button:focus-visible,
.yso-category-copy a:focus-visible {
    outline: 3px solid rgba(219, 45, 47, .35);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1100px) {
    .yso-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yso-stat-grid,
    .yso-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yso-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .yso-step-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yso-customer-collage {
        flex-basis: 400px;
    }
}

@media (max-width: 800px) {
    .yso-section {
        padding-block: 54px;
    }

    .yso-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .yso-section-head-centered {
        align-items: center;
    }

    .yso-hero,
    .yso-hero-slide.is-active,
    .yso-hero-content {
        min-height: 640px;
    }

    .yso-hero-content {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding-block: 60px 75px;
    }

    .yso-hero-copy h1 {
        font-size: clamp(34px, 9vw, 49px);
    }

    .yso-hero-copy p {
        font-size: 15px;
    }

    .yso-customer-collage {
        flex: 0 0 auto;
        width: 100%;
        max-width: 520px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .yso-customer-collage img {
        height: 105px;
    }

    .yso-customer-collage img:nth-child(3n) {
        height: 125px;
    }

    .yso-hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .yso-hero-prev {
        left: 10px;
    }

    .yso-hero-next {
        right: 10px;
    }

    .yso-news-grid,
    .yso-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yso-brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.admin-bar header.yso-sticky-active {
        top: 46px;
    }
}

@media (max-width: 520px) {
    .yso-container {
        padding-inline: 16px;
    }

    .yso-section-head h2 {
        font-size: 29px;
    }

    .yso-category-grid,
    .yso-news-grid,
    .yso-step-grid {
        grid-template-columns: 1fr;
    }

    .yso-category-card {
        min-height: 215px;
        padding: 23px;
    }

    .yso-category-copy h3 {
        font-size: 20px;
    }

    .yso-stat-grid,
    .yso-trust-grid {
        grid-template-columns: 1fr;
    }

    .yso-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yso-brand-item {
        min-height: 100px;
    }

    .yso-step-card {
        min-height: 0;
    }

    .yso-hero-copy h1 {
        font-size: 34px;
        letter-spacing: .01em;
    }

    .yso-hero-copy .yso-eyebrow {
        font-size: 10px;
    }

    .yso-hero-arrow {
        display: none;
    }

    .yso-customer-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yso-customer-collage img:nth-child(n+5) {
        display: none;
    }

    .yso-product-tabs button {
        padding: 9px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yso-hero-slide,
    .yso-btn,
    .yso-category-card,
    .yso-category-card > img,
    .yso-brand-item img,
    .yso-step-card,
    .yso-news-card,
    .cxb-b2b-product-card {
        transition: none !important;
    }
}

html[dir="rtl"] .yso-section-head,
html[dir="rtl"] .yso-category-copy,
html[dir="rtl"] .yso-news-card,
html[dir="rtl"] .yso-step-card,
html[dir="rtl"] .yso-trust-item {
    text-align: right;
}

html[dir="rtl"] .yso-category-card > img {
    right: auto;
    left: -8px;
}

html[dir="rtl"] .yso-hero-prev {
    right: 22px;
    left: auto;
}

html[dir="rtl"] .yso-hero-next {
    right: auto;
    left: 22px;
}

/* Prevent contact links and scaled hero media from widening the viewport. */
header[data-elementor-type="header"] .elementor-icon-list-items.elementor-inline-items {
    flex-wrap: wrap;
    max-width: 100%;
}

.yso-hero-bg {
    transform: none;
}

/* Motion and interactive feedback */
.yso-scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10001;
    height: 3px;
    pointer-events: none;
}

.yso-scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--yso-primary);
    transition: width .08s linear;
}

.yso-motion-ready .yso-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease var(--yso-delay, 0ms), transform .55s ease var(--yso-delay, 0ms);
}

.yso-motion-ready .yso-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.yso-hero-slide.is-active .yso-hero-copy {
    animation: yso-hero-copy-in .65s ease both;
}

@keyframes yso-hero-copy-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yso-btn span,
.yso-text-link span,
.yso-category-copy a span {
    display: inline-block;
    transition: transform .2s ease;
}

.yso-btn:hover span,
.yso-text-link:hover span,
.yso-category-copy a:hover span {
    transform: translateX(4px);
}

.yso-news-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.yso-news-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e9edf2;
}

.yso-news-media > a {
    display: block;
    height: 100%;
}

.yso-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.yso-news-card:hover .yso-news-media img {
    transform: scale(1.06);
}

.yso-news-media time {
    position: absolute;
    bottom: 15px;
    left: 15px;
    margin: 0;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: var(--yso-primary);
    font-size: 11px;
    font-weight: 700;
}

.yso-news-body {
    display: flex;
    padding: 22px 24px 24px;
    flex: 1;
    flex-direction: column;
}

@media (prefers-reduced-motion: reduce) {
    .yso-motion-ready .yso-reveal,
    .yso-motion-ready .yso-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .yso-hero-slide.is-active .yso-hero-copy {
        animation: none;
    }

    .yso-news-media img {
        transition: none;
    }
}

/* Skip rendering below the fold until it approaches the viewport. */
body > div.elementor > div.elementor-element:not(:first-child),
body > footer.elementor {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* -------------------------------------------------------------------------
 * Product pages (banner templates) fixes
 * ------------------------------------------------------------------------- */

/* The header nav overlays page content via margin-top:-110px (outer) and
 * margin-top:90px (inner), which suits the homepage hero but collides with
 * the short banner on product pages. Keep the overlay, but give the nav row
 * a solid dark bar and push the banner below it. */
body.cxb-b2b-has-banner .elementor-location-header .elementor-element-d529fdd {
    background: var(--yso-dark, #07101f);
}

body.cxb-b2b-has-banner .cxb-b2b-single-banner {
    margin-top: 100px;
}

@media (max-width: 767px) {
    body.cxb-b2b-has-banner .cxb-b2b-single-banner {
        margin-top: 100px;
    }
}

/* Product detail title: inherited kit line-height (~65px) is far too loose. */
h1.cxb-b2b-product-title {
    line-height: 1.35;
}
