.ce-pmc {
    --ce-pmc-side-gap: 24px;
    --ce-pmc-phone-column: 3;
    --ce-pmc-columns: 4;
    --ce-pmc-phone-offset-x: 2px;
    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
}

.ce-pmc__heading {
    position: absolute;
    top: 10%;
    left: 0;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    color: #ef4d5d;
    font-size: 58px;
    font-weight: 200;
    line-height: 1.14;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ce-pmc__stage {
    position: absolute;
    inset: 0;
}

.ce-pmc__side-track {
    position: absolute;
    top: 56%;
    left: 0;
    right: 0;
    z-index: 2;
    overflow: visible;
    transform: translateY(-50%);
}

.ce-pmc__side-track .swiper-wrapper {
    align-items: center;
}

.ce-pmc__side-card {
    position: relative;
    width: 420px;
    height: auto;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .35);
    cursor: pointer;
    text-align: left;
}

.ce-pmc__side-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ce-pmc__phone {
    position: absolute;
    top: 52%;
    left: calc((100% / var(--ce-pmc-columns)) * (var(--ce-pmc-phone-column) - .5) + var(--ce-pmc-phone-offset-x));
    z-index: 5;
    width: 360px;
    aspect-ratio: 9 / 19;
    border: 10px solid #080808;
    border-radius: 48px;
    background: #080808;
    box-shadow: -34px 30px 55px rgba(0, 0, 0, .35);
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.ce-pmc__screen {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 38px;
    background: #080808;
}

.ce-pmc__dynamic-island {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 96px;
    height: 28px;
    border-radius: 999px;
    background: #080808;
    transform: translateX(-50%);
    z-index: 4;
}

.ce-pmc__phone-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.ce-pmc__arrows {
    position: absolute;
    top: 56%;
    left: 0;
    right: 0;
    height: 0;
    z-index: 9;
    pointer-events: none;
}

.ce-pmc__arrow,
.ce-pmc__dot {
    border: 0;
    cursor: pointer;
}

.ce-pmc__arrow {
    position: absolute;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #111;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    font-size: 30px;
    line-height: 1;
    pointer-events: auto;
    transform: translateY(-50%);
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ce-pmc__prev {
    left: 0;
}

.ce-pmc__next {
    right: 0;
}

.ce-pmc__dots {
    position: absolute;
    right: 0;
    bottom: 30px;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ce-pmc__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .2);
}

.ce-pmc__dot.is-active {
    background: #ef4d5d;
}

@media (max-width: 1024px) {
    .ce-pmc__heading {
        top: 6%;
        font-size: 44px;
    }
}

@media (max-width: 767px) {
    .ce-pmc {
        min-height: 680px;
    }

    .ce-pmc__heading {
        position: relative;
        inset: auto;
        max-width: 100%;
        padding: 24px;
        font-size: 34px;
    }

    .ce-pmc__stage {
        top: 110px;
    }

    .ce-pmc__side-card {
        width: 230px;
    }

    .ce-pmc__phone {
        width: min(78vw, 310px);
    }
}
