/* Shared group styles (group-hero, group-card, group-banner, ...) are reused through product-group.css.
   It also imports global.css, header.css and footer.css. */
@import url(./product-group.css);

/*-------------------- product-title-start --------------------*/
.product-main .product-title-start {
    justify-content: flex-start;
}

.product-main .product-title-start .section-title,
.product-main .product-title-start .section-title .caption {
    text-align: start;
}

@media only screen and (max-width: 991px) {
    .product-main .product-title-start {
        justify-content: center;
    }

    .product-main .product-title-start .section-title,
    .product-main .product-title-start .section-title .caption {
        text-align: center;
    }
}

/*-------------------- product-title-end --------------------*/

/*-------------------- product-hero-start --------------------*/
.product-main .product-hero .product-hero-accent {
    color: var(--primary-color);
}

.product-main .product-hero .group-hero-features {
    grid-template-columns: repeat(5, 1fr);
}

/* the subject of the image is on the left, so the crop always keeps the left side */
.product-main .product-hero .group-hero-image {
    object-position: left 40%;
}

/* white veil over the content side (right 34% solid, fading out until 58%): the image stays faintly
   visible (about 7%) under the content and fades out smoothly into the clear left side */
.product-main .product-hero {
    --product-hero-fade: linear-gradient(to left,
            rgba(255, 255, 255, 0.93) 34%, rgba(255, 255, 255, 0.904) 36.4%, rgba(255, 255, 255, 0.833) 38.8%,
            rgba(255, 255, 255, 0.729) 41.2%, rgba(255, 255, 255, 0.603) 43.6%, rgba(255, 255, 255, 0.465) 46%,
            rgba(255, 255, 255, 0.327) 48.4%, rgba(255, 255, 255, 0.201) 50.8%, rgba(255, 255, 255, 0.097) 53.2%,
            rgba(255, 255, 255, 0.026) 55.6%, rgba(255, 255, 255, 0) 58%);
}

@media only screen and (min-width: 992px) {

    .product-main .product-hero .group-hero-image {
        width: 100%;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .product-main .product-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--product-hero-fade);
        pointer-events: none;
    }
}

/* the content column is wider on small desktops, so the veil is wider too */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .product-main .product-hero {
        --product-hero-fade: linear-gradient(to left,
                rgba(255, 255, 255, 0.93) 42%, rgba(255, 255, 255, 0.904) 44%, rgba(255, 255, 255, 0.833) 46%,
                rgba(255, 255, 255, 0.729) 48%, rgba(255, 255, 255, 0.603) 50%, rgba(255, 255, 255, 0.465) 52%,
                rgba(255, 255, 255, 0.327) 54%, rgba(255, 255, 255, 0.201) 56%, rgba(255, 255, 255, 0.097) 58%,
                rgba(255, 255, 255, 0.026) 60%, rgba(255, 255, 255, 0) 62%);
    }
}

/* tablet and mobile: image on top, smooth fade into the content */
@media only screen and (max-width: 991px) {
    .product-main .product-hero .group-hero-image {
        -webkit-mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.957) 65%, rgba(0, 0, 0, 0.844) 70%, rgba(0, 0, 0, 0.684) 75%,
                rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.316) 85%, rgba(0, 0, 0, 0.156) 90%, rgba(0, 0, 0, 0.043) 95%,
                rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.957) 65%, rgba(0, 0, 0, 0.844) 70%, rgba(0, 0, 0, 0.684) 75%,
                rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.316) 85%, rgba(0, 0, 0, 0.156) 90%, rgba(0, 0, 0, 0.043) 95%,
                rgba(0, 0, 0, 0) 100%);
    }
}

@media only screen and (max-width: 575px) {
    .product-main .product-hero .group-hero-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-main .product-hero .group-hero-feature:nth-child(2n + 1) {
        border-inline-start: 1px solid var(--group-line-color);
    }

    .product-main .product-hero .group-hero-feature:nth-child(3n + 1) {
        border-inline-start: 0;
    }
}

/*-------------------- product-hero-end --------------------*/

/*-------------------- product-features-start --------------------*/
.product-main .product-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--mainWhite);
    border: 1px solid #eeeeee;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 16px 0;
}

.product-main .product-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 20px;
    border-inline-start: 1px solid var(--group-line-color);
}

.product-main .product-feature:first-child {
    border-inline-start: 0;
}

.product-main .product-feature svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    transition: var(--mainTransition);
}

.product-main .product-feature:hover svg {
    transform: translateY(-3px) scale(1.08);
}

.product-main .product-feature-title {
    font-size: 15px;
    line-height: 1.7;
    color: var(--group-heading-color);
    margin: 0;
    transition: var(--mainTransition);
}

.product-main .product-feature:hover .product-feature-title {
    color: var(--primary-color);
}

.product-main .product-feature-text {
    font-size: 12px;
    line-height: 1.8;
    color: #8a8a8a;
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .product-main .product-features {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 16px;
    }

    .product-main .product-feature:nth-child(2n + 1) {
        border-inline-start: 0;
    }

    .product-main .product-feature:nth-child(2n) {
        border-inline-start: 1px solid var(--group-line-color);
    }
}

@media only screen and (max-width: 575px) {
    .product-main .product-features {
        grid-template-columns: 1fr;
        row-gap: 0;
        padding: 0;
    }

    .product-main .product-feature,
    .product-main .product-feature:nth-child(2n) {
        padding: 12px 16px;
        border-inline-start: 0;
        border-top: 1px solid var(--group-line-color);
    }

    .product-main .product-feature:first-child {
        border-top: 0;
    }
}

/*-------------------- product-features-end --------------------*/

/*-------------------- product-card-start --------------------*/
.product-group-main .group-card.product-card .group-card-image {
    aspect-ratio: 3 / 2;
}

.product-group-main .group-card.product-card .group-card-body {
    align-items: center;
    padding: 12px 10px 14px;
}

.product-group-main .group-card.product-card .group-card-title {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.product-group-main .group-card.product-card .secondary-btn {
    padding: 5px 14px;
    font-size: 12px;
    white-space: nowrap;
}

/*-------------------- product-card-end --------------------*/

/*-------------------- product-space-start --------------------*/
.product-main .product-space-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background-color: #222222;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--mainTransition);
}

.product-main .product-space-card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.product-main .product-space-card .product-space-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease-in-out;
}

.product-main .product-space-card:hover .product-space-image {
    transform: scale(1.08);
}

.product-main .product-space-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 48px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%);
}

.product-main .product-space-title {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mainWhite);
    margin: 0;
}

.product-main .product-space-text {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.product-main .product-space-link {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--mainWhite);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transition: var(--mainTransition);
}

.product-main .product-space-card:hover .product-space-link,
.product-main .product-space-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/*-------------------- product-space-end --------------------*/

/*-------------------- product-items-start --------------------*/
.product-main .product-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-main .product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 8px;
    text-align: center;
    background-color: var(--mainWhite);
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--mainTransition);
}

.product-main .product-item svg {
    transition: var(--mainTransition);
}

.product-main .product-item-title {
    font-size: 14px;
    line-height: 1.7;
    color: var(--group-heading-color);
    margin: 0;
    transition: var(--mainTransition);
}

.product-main .product-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-main .product-item:hover svg {
    transform: scale(1.1);
}

.product-main .product-item:hover .product-item-title {
    color: var(--primary-color);
}

@media only screen and (max-width: 575px) {
    .product-main .product-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-main .product-item {
        padding: 16px 8px;
    }
}

/*-------------------- product-items-end --------------------*/

/*-------------------- product-video-start --------------------*/
.product-main .product-video {
    position: relative;
    height: 100%;
    min-height: 340px;
    overflow: hidden;
    background-color: #000000;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-main .product-video .product-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main .product-video .product-video-cover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: pointer;
    background: none;
    border: 0;
    transition: var(--mainTransition);
}

/* poster overlay: same pattern as .product-space-overlay, reversed (dark at the top, fading downwards);
      it sits above the poster and below the title and the play icon */
.product-main .product-space-overlay.product-space-overlay-reverse {
    top: 0;
    bottom: auto;
    height: 65%;
    padding: 0;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.82) 0, rgba(0, 0, 0, 0.785) 12.5%, rgba(0, 0, 0, 0.692) 25%, rgba(0, 0, 0, 0.561) 37.5%,
            rgba(0, 0, 0, 0.41) 50%, rgba(0, 0, 0, 0.259) 62.5%, rgba(0, 0, 0, 0.128) 75%, rgba(0, 0, 0, 0.035) 87.5%,
            rgba(0, 0, 0, 0) 100%);
}

.product-main .product-video .product-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-main .product-video .product-video-title {
    position: absolute;
    top: 20px;
    right: 16px;
    left: 16px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
    color: var(--mainWhite);
}

.product-main .product-video .product-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%);
    transition: var(--mainTransition);
}

.product-main .product-video .product-video-play svg {
    margin-inline-start: -3px;
}

.product-main .product-video .product-video-cover:hover .product-video-play,
.product-main .product-video .product-video-cover:focus-visible .product-video-play {
    transform: translate(-50%, -50%) scale(1.12);
}

.product-main .product-video.is-playing .product-video-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media only screen and (max-width: 991px) {
    .product-main .product-video {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media only screen and (max-width: 575px) {
    .product-main .product-video .product-video-title {
        top: 14px;
        font-size: 16px;
    }

    .product-main .product-video .product-video-play {
        width: 52px;
        height: 52px;
    }
}

/*-------------------- product-video-end --------------------*/

/*-------------------- product-banner-start --------------------*/
/* white part on the right, image visible on the left (mirror of group-banner).
      The subject is on the left, so the crop always keeps the left side. */
.product-main .product-banner .group-banner-image {
    object-position: left;
}

/* white veil over the content side (right 50%): the image stays faintly visible (about 12%)
      and fades out smoothly towards the clear left half */
.product-main .product-banner::after {
    background: linear-gradient(to left,
            rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.855) 34.4%, rgba(255, 255, 255, 0.788) 36.8%,
            rgba(255, 255, 255, 0.69) 39.2%, rgba(255, 255, 255, 0.57) 41.6%, rgba(255, 255, 255, 0.44) 44%,
            rgba(255, 255, 255, 0.31) 46.4%, rgba(255, 255, 255, 0.19) 48.8%, rgba(255, 255, 255, 0.092) 51.2%,
            rgba(255, 255, 255, 0.025) 53.6%, rgba(255, 255, 255, 0) 56%);
}

/* tablet and mobile: image on top, smooth fade into the content */
@media only screen and (max-width: 991px) {
    .product-main .product-banner .group-banner-image {
        object-position: left center;
        -webkit-mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.957) 65%, rgba(0, 0, 0, 0.844) 70%, rgba(0, 0, 0, 0.684) 75%,
                rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.316) 85%, rgba(0, 0, 0, 0.156) 90%, rgba(0, 0, 0, 0.043) 95%,
                rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.957) 65%, rgba(0, 0, 0, 0.844) 70%, rgba(0, 0, 0, 0.684) 75%,
                rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.316) 85%, rgba(0, 0, 0, 0.156) 90%, rgba(0, 0, 0, 0.043) 95%,
                rgba(0, 0, 0, 0) 100%);
    }
}

.product-main .product-banner .product-banner-text {
    font-size: 15px;
    line-height: 2.1;
    margin: 12px 0 0;
}

@media only screen and (max-width: 991px) {
    .product-main .product-banner .product-banner-text {
        text-align: center;
    }
}

@media only screen and (max-width: 575px) {
    .product-main .product-banner .product-banner-text {
        font-size: 14px;
    }
}

/*-------------------- product-banner-end --------------------*/

/*-------------------- product-steps-start --------------------*/
.product-main .product-steps {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.product-main .product-step {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
    background-color: var(--mainWhite);
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--mainTransition);
}

.product-main .product-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-main .product-step-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 12px;
    transition: var(--mainTransition);
}

.product-main .product-step-number {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    color: #cfcfd6;
    transition: var(--mainTransition);
}

.product-main .product-step-title {
    font-size: 14px;
    line-height: 1.7;
    color: var(--group-heading-color);
    margin: 0;
    transition: var(--mainTransition);
}

.product-main .product-step-arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.product-main .product-step .product-step-icon svg {
    stroke: var(--secondary-color);
}

.product-main .product-step-arrow svg {
    width: 22px;
    height: 22px;
}

.product-main .product-step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-main .product-step:hover .product-step-icon {
    background-color: var(--group-heading-color);
}

.product-main .product-step:hover .product-step-icon svg {
    stroke: var(--secondary-color);
}

.product-main .product-step:hover .product-step-number,
.product-main .product-step:hover .product-step-title {
    color: var(--primary-color);
}

/* tablet: 3 x 2 grid, arrows are hidden */
@media only screen and (max-width: 991px) {
    .product-main .product-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .product-main .product-step-arrow {
        display: none;
    }
}

/* mobile: one column, arrows point down between the cards */
@media only screen and (max-width: 575px) {
    .product-main .product-steps {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .product-main .product-step {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .product-main .product-step-arrow {
        display: flex;
        transform: rotate(-90deg);
    }
}

/*-------------------- product-steps-end --------------------*/

/*-------------------- product-red-banner-start --------------------*/
.product-main .product-red-banner {
    background-color: var(--primary-color);
}

/* the image has its subject (roll-ups) on the right, so the crop always keeps the right side */
.product-main .product-red-banner .group-banner-image {
    object-position: right center;
}

/* red veil over the content side (left 50%): the image stays faintly visible (about 8%)
      and fades out smoothly towards the clear right half. The colors are --primary-color (154, 30, 42). */
.product-main .product-red-banner::after {
    background: linear-gradient(to right,
            rgba(154, 30, 42, 0.92) 32%, rgba(154, 30, 42, 0.894) 34.4%, rgba(154, 30, 42, 0.824) 36.8%,
            rgba(154, 30, 42, 0.721) 39.2%, rgba(154, 30, 42, 0.596) 41.6%, rgba(154, 30, 42, 0.46) 44%,
            rgba(154, 30, 42, 0.324) 46.4%, rgba(154, 30, 42, 0.199) 48.8%, rgba(154, 30, 42, 0.096) 51.2%,
            rgba(154, 30, 42, 0.026) 53.6%, rgba(154, 30, 42, 0) 56%);
}

@media only screen and (min-width: 992px) {
    .product-main .product-red-banner {
        min-height: clamp(360px, 25vw, 520px);
    }
}

/* tablet and mobile: image on top, smooth fade into the red background */
@media only screen and (max-width: 991px) {
    .product-main .product-red-banner .group-banner-image {
        -webkit-mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.957) 65%, rgba(0, 0, 0, 0.844) 70%, rgba(0, 0, 0, 0.684) 75%,
                rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.316) 85%, rgba(0, 0, 0, 0.156) 90%, rgba(0, 0, 0, 0.043) 95%,
                rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.957) 65%, rgba(0, 0, 0, 0.844) 70%, rgba(0, 0, 0, 0.684) 75%,
                rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.316) 85%, rgba(0, 0, 0, 0.156) 90%, rgba(0, 0, 0, 0.043) 95%,
                rgba(0, 0, 0, 0) 100%);
    }
}

.product-main .product-red-banner .section-title-box .section-title {
    color: var(--mainWhite);
}

.product-main .product-red-banner .section-title-box .caption {
    color: rgba(255, 255, 255, 0.85);
}

.product-main .product-red-banner .product-outline-btn {
    background-color: transparent;
    color: var(--mainWhite);
    border-color: var(--mainWhite);
    min-width: 200px;
}

.product-main .product-red-banner .product-outline-btn:hover {
    background-color: var(--mainWhite);
    color: var(--primary-color);
}

/*-------------------- product-red-banner-end --------------------*/