/* Refinements for the Products page in the supplied PDF. */
.ct-products .subhero--products {
    min-height: 580px;
    background: #f7f8f9;
}

.ct-products .subhero--products::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 28%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.08) 69%, transparent 100%);
    content: '';
    pointer-events: none;
}

.ct-products .subhero--products .subhero__grid {
    display: flex;
    min-height: 580px;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 48px;
}

.ct-products .subhero--products .subhero__copy {
    z-index: 2;
    max-width: 660px;
}

.ct-products .subhero--products h1 {
    max-width: 670px;
    margin-bottom: 24px;
    font-size: clamp(2.55rem, 3.611vw, 3.25rem);
    font-weight: 400;
    line-height: 1.096;
    letter-spacing: -.025em;
}

.ct-products .subhero--products .subhero__copy > p {
    max-width: 640px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.22;
}

.ct-products .subhero--products .subhero__image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    object-position: 62% center;
}

.ct-products .page-intro {
    overflow: hidden;
    background: radial-gradient(circle at 95% 85%, #e8f3ff 0%, #fff 48%);
}

.ct-products .page-intro.section-pad { padding-block: 100px; }

.ct-products .page-intro .split-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(20px, 5vw, 80px);
}

.ct-products .page-intro h2 {
    max-width: 650px;
    font-size: clamp(2.2rem, 3.333vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.ct-products .page-intro .split-grid > div:first-child > p {
    max-width: 750px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.ct-products .page-intro h2 em,
.ct-products .customization h2 em,
.ct-products #settori h2 em {
    color: #87bd00;
    font-style: normal;
}

.ct-products .page-intro .page-image-card {
    min-width: 0;
    height: 618px;
    min-height: 0;
    overflow: visible;
    place-items: start center;
    border-radius: 0;
    background: transparent;
}

.ct-products .page-intro .page-image-card img {
    width: 600px;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
    transform: none;
}

.ct-products__intro-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 28px;
    margin-top: 54px;
}

.ct-products__intro-features h3 {
    margin: 0 0 8px;
    color: #52a4ff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.05;
}

.ct-products__intro-features > div:nth-child(1) h3,
.ct-products__intro-features > div:nth-child(4) h3 {
    color: #80b500;
}

.ct-products__intro-features p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.19;
}

.ct-products #linee {
    background: #ececec;
}

.ct-products #linee.section-pad { padding-block: 75px 80px; }

.ct-products #linee .section-heading {
    max-width: 1000px;
    margin-bottom: 45px;
}

.ct-products #linee .section-heading h2 {
    font-size: clamp(2.2rem, 3.333vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.ct-products .fabric-grid {
    gap: 24px;
    max-width: 1180px;
    margin-inline: auto;
}

.ct-products .fabric-card {
    position: relative;
    min-height: 344px;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
}

.ct-products .fabric-card img {
    position: absolute;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: transparent;
    transform: none;
}

.ct-products .fabric-card--mec img { top: -65px; left: 36%; width: 99%; }
.ct-products .fabric-card--super img { top: -24px; left: 40%; width: 82%; }
.ct-products .fabric-card--ultra img { top: -51px; left: 41%; width: 82%; }

.ct-products .fabric-card > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 85px 28px 25px;
    background: linear-gradient(transparent, rgba(255,255,255,.95) 65%, #fff 100%);
}

.ct-products .fabric-card span {
    display: none;
}

.ct-products .fabric-card h3 {
    margin: 0 0 13px;
    color: #52a4ff;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ct-products .fabric-card p {
    max-width: 315px;
    color: #222;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.ct-products #settori.section-pad { padding-block: 75px 110px; }

.ct-products #settori .section-heading {
    max-width: 1200px;
    margin-bottom: 45px;
}

.ct-products #settori .section-heading h2 {
    font-size: clamp(2.2rem, 3.333vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.ct-products #settori .section-heading p {
    max-width: 850px;
    margin-top: 32px;
    font-size: 1.25rem;
    line-height: 1.5;
}

.ct-products .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1220px;
    margin-inline: auto;
}

.ct-products .category-card {
    position: relative;
    display: block;
    min-height: 237px;
    overflow: hidden;
    border-radius: 21px;
    background: #f1f2f4;
}

.ct-products .category-card img {
    width: 100%;
    height: 237px;
    object-fit: cover;
    transition: transform .35s ease;
}

.ct-products .category-card:hover img,
.ct-products .category-card:focus-visible img {
    transform: scale(1.05);
}

.ct-products .category-card > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    min-height: 0;
    padding: 35px 20px 18px;
    background: linear-gradient(transparent, rgba(255,255,255,.94) 75%);
}

.ct-products .category-card h3 {
    margin: 0;
    color: #242729;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.ct-products .category-card span {
    display: none;
}

.ct-products .customization {
    background: #fff;
}

.ct-products .customization.section-pad { padding-block: 85px; }

.ct-products .customization .content-width {
    width: min(1200px, calc(100% - 80px));
}

.ct-products__custom-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.ct-products__custom-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: clamp(25px, 5vw, 80px);
}

.ct-products__custom-copy h2 {
    margin-bottom: 28px;
    font-size: clamp(2.15rem, 2.638vw, 2.375rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}

.ct-products__custom-copy p {
    max-width: 470px;
    margin-bottom: 32px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.ct-products__custom-copy .button {
    background: #242729;
    color: #fff;
}

.ct-products__custom-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    border-radius: 9px;
    background: #52a4ff;
    color: #fff;
    text-align: center;
}

.ct-products__custom-card:nth-child(3) {
    background: #97c709;
}

.ct-products__custom-card img,
.ct-products__custom-card svg {
    width: 85px;
    height: 85px;
    margin-bottom: 28px;
    object-fit: contain;
}

.ct-products__custom-card h3 {
    margin-bottom: 13px;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.ct-products__custom-card p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.19;
}

.ct-products .trial.section-pad { padding-block: 65px; }
.ct-products .trial .section-heading { margin-bottom: 48px; }
.ct-products .trial .section-heading h2 { font-size: clamp(2.25rem, 3.333vw, 3rem); font-weight: 700; line-height: 1; }
.ct-products .trial .section-heading p { font-size: 1.25rem; line-height: 1.5; }
.ct-products .trial-form { row-gap: 20px; }

@media (max-width: 900px) {
    .ct-products .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .ct-products__custom-copy {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .ct-products .subhero--products,
    .ct-products .subhero--products .subhero__grid {
        min-height: 640px;
    }

    .ct-products .subhero--products::after {
        background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.9) 50%, rgba(255,255,255,.2));
    }

    .ct-products .subhero--products .subhero__grid {
        align-items: flex-start;
        padding-top: 125px;
    }

    .ct-products .subhero--products .subhero__image {
        object-position: 62% center;
    }

    .ct-products .page-intro .split-grid {
        grid-template-columns: 1fr;
    }

    .ct-products .page-intro .page-image-card {
        height: auto;
        min-height: 350px;
        place-items: center;
    }

    .ct-products .page-intro .page-image-card img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 390px;
        transform: none;
    }

    .ct-products .customization .content-width {
        width: calc(100% - 32px);
    }

    .ct-products .fabric-grid,
    .ct-products .category-grid {
        grid-template-columns: 1fr;
    }

    .ct-products .fabric-card {
        min-height: 310px;
    }

    .ct-products .category-card,
    .ct-products .category-card img {
        height: 235px;
    }
}

@media (max-width: 480px) {
    .ct-products .subhero--products h1 {
        font-size: clamp(2.55rem, 10vw, 4rem);
    }

    .ct-products__intro-features,
    .ct-products__custom-grid {
        grid-template-columns: 1fr;
    }

    .ct-products__custom-copy {
        grid-column: auto;
    }
}
