:root {
    --font-primary: "Cormorant", sans-serif;
}

html.lock, body.lock { overflow: hidden; }

/* Оверлей над всем сайтом */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: opacity .5s ease;
}
.intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Контейнер видео, чтобы держать соотношение и адаптивность */
.intro-stage {
    width: min(100vw, 436px);
    aspect-ratio: 9 / 16;
    position: relative;
}

.bold {
    font-weight: bold;
    font-size: 18px;
}

.video_pechat {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    height: 45px;
}

video.intro {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background:#000;
    display: none;
}
video.intro.active { display: block; }

#v1 {
    z-index: 3;
}

/* Кнопка между первым и вторым видео */
.intro-cta {
    position: absolute;
    inset-inline: 0;
    bottom: 8%;
    margin-inline: auto;
    width: fit-content;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    font: 600 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none; /* появится только когда нужно */
    z-index: 5;
}
.intro-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Спиннер на случай, если второе видео ещё догружается */
.spinner {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font: 500 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    gap: 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}
.spinner.visible { opacity: 1; }
.spinner::before {
    content: "";
    width: 38px; height: 38px;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Уважение reduce-motion: просто сразу показываем контент */
@media (prefers-reduced-motion: reduce) {
    .intro-overlay { display: none !important; }
    html.lock, body.lock { overflow: auto !important; }
}

.animated {
    opacity: 0;
}

h2 {
    font-family: "Florisel script", sans-serif;
}

img {
    pointer-events: none;
}


.iphone-pro-max {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    margin-inline: auto;
    left: 50%;
    transform: translateX(-50%);
}

.iphone-pro-max .frame {
    position: relative;
    width: 431px;
    height: 772px;
    background-image: url(./img/enhanced-7489c629-ceb7-4a6d-b56b-f5d503902f74-1.webp);
    background-size: cover;
    background-position: 50% 50%;
}

.iphone-pro-max .group {
    position: absolute;
    top: 94px;
    left: calc(50.00% - 96px);
    width: 193px;
    height: 130px;
}

.iphone-pro-max .auto-flex {
    position: absolute;
    width: 298px;
    top: 312px;
    left: 43px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-height: 460px;
}

.iphone-pro-max .img {
    width: 236px;
    margin-right: 7px;
}

.iphone-pro-max .div {
    width: 251px;
    height: 107px;
    margin-top: 96px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.iphone-pro-max .element-wrapper {
    width: 253px;
    display: flex;
}

.iphone-pro-max .element {
    width: 251px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #96733a;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 17.9px;
}

.iphone-pro-max .frame-wrapper {
    margin-left: 51px;
    width: 154px;
    display: flex;
    border-radius: 6px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.07) 100%), linear-gradient(180deg, #B9914F 0%, #6D4E20 100%);
}

.iphone-pro-max .frame-2 {
    width: 154px;
    height: 36px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.07) 0%,
            rgba(255, 255, 255, 0.07) 100%
    ),
    linear-gradient(180deg, rgba(185, 145, 79, 1) 0%, rgba(109, 78, 32, 1) 100%);
}

.iphone-pro-max .text-wrapper {
    position: absolute;
    top: 9px;
    left: 28px;
    font-family: "Cormorant", sans-serif;
    font-weight: 500;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 17.9px;
    white-space: nowrap;
}

.iphone-pro-max .clip-path-group {
    width: 253px;
    align-self: flex-start;
    margin-top: 39px;
}

.iphone-pro-max .div-wrapper {
    position: absolute;
    top: 261px;
    left: calc(50.00% - 54px);
    width: 115px;
    height: 36px;
    display: flex;
    justify-content: center;
}

.iphone-pro-max .div-wrapper-text {
    position: absolute;
    top: 375px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.iphone-pro-max .text-wrapper-2 {
    margin-left: -2px;
    background: linear-gradient(
            180deg,
            rgba(185, 145, 79, 1) 0%,
            rgba(109, 78, 32, 1) 100%
    );
    -webkit-background-clip: text !important;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-family: "Cormorant", sans-serif;
    font-weight: 500;
    color: transparent;
    font-size: 32px;
    text-align: center;
    letter-spacing: 0;
    line-height: 35.8px;
    white-space: nowrap;
}

.text-wrapper-01 {
    width: 253px;
    text-align: center;
    background: linear-gradient(
            180deg,
            rgba(185, 145, 79, 1) 0%,
            rgba(109, 78, 32, 1) 100%
    );
    -webkit-background-clip: text !important;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-family: "Florisel script", sans-serif;
    font-size: 55px;
    line-height: 111.777%;
    top: 30px;
}

.iphone-pro-max .frame-3 {
    position: relative;
    width: 431px;
    height: 859px;
    background-color: #bcd2d2;
}

.iphone-pro-max .image-2 {
    position: absolute;
    top: 3px;
    left: 0;
    width: 431px;
    height: 562px;
    mix-blend-mode: color-burn;
    aspect-ratio: 1.21;
}

.iphone-pro-max .frame-4 {
    position: absolute;
    top: -13px;
    left: 0;
    width: 431px;
    height: 29px;
}

.iphone-pro-max .frame-5 {
    position: relative;
    top: 252px;
    left: -8px;
    width: 446px;
    height: 684px;
}

.colors {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.color {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.color-1 {
    background-color: #6E9278;
}

.color-2 {
    background-color: #BFC4EE;
}

.color-3 {
    background-color: #ADD9E6;
}

.color-4 {
    background-color: #F7CDCF;
}

.color-5 {
    background-color: #FBF6F3;
}

.iphone-pro-max .rectangle {
    position: absolute;
    top: 182px;
    left: 8px;
    width: 431px;
    height: 502px;
}

.iphone-pro-max .frame-6 {
    position: absolute;
    top: 0;
    left: 8px;
    width: 431px;
    height: 444px;
}

.iphone-pro-max .frame-7 {
    position: absolute;
    top: 264px;
    left: 46px;
    width: 158px;
    height: 360px;
}

.iphone-pro-max .text-wrapper-3 {
    position: absolute;
    top: 0;
    left: calc(50.00% - 48px);
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 32px;
    text-align: center;
    letter-spacing: 0;
    line-height: 35.8px;
    white-space: nowrap;
}

.iphone-pro-max .image-wrapper {
    position: absolute;
    height: 58.89%;
    top: 12.22%;
    left: calc(50.00% - 77px);
    width: 154px;
    display: flex;
    background-color: #fae9c2;
    border-radius: 3.94px;
    overflow: hidden;
    border: 0px none;
}

.iphone-pro-max .image-3 {
    height: 212px;
    flex: 1;
    aspect-ratio: 0.57;
    object-fit: cover;
}

.iphone-pro-max .p {
    position: absolute;
    top: 270px;
    left: calc(50.00% - 79px);
    width: 158px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 17.9px;
}

.iphone-pro-max .frame-8 {
    position: absolute;
    top: 264px;
    left: 243px;
    width: 158px;
    height: 342px;
}

.iphone-pro-max .text-wrapper-4 {
    position: absolute;
    top: 0;
    left: 7px;
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 32px;
    text-align: center;
    letter-spacing: 0;
    line-height: 35.8px;
    white-space: nowrap;
}

.iphone-pro-max .frame-9 {
    position: absolute;
    width: 97.27%;
    height: 61.99%;
    top: 12.87%;
    left: 0;
    background-color: #fae9c2;
    border-radius: 3.94px;
    overflow: hidden;
}

.iphone-pro-max .image-4 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 212px;
    aspect-ratio: 0.57;
    object-fit: cover;
}

.iphone-pro-max .image-5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 154px;
    height: 212px;
    aspect-ratio: 0.71;
    object-fit: cover;
}

.iphone-pro-max .text-wrapper-5 {
    position: absolute;
    top: 270px;
    left: 0;
    width: 158px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 17.9px;
}

.iphone-pro-max .frame-10 {
    display: flex;
    flex-direction: column;
    width: 336px;
    align-items: center;
    gap: 30px;
    position: absolute;
    top: 79px;
    left: 48px;
}

.iphone-pro-max .text-wrapper-6 {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0;
    line-height: 44.7px;
}

.iphone-pro-max .group-2 {
    position: relative;
    width: 338px;
    height: 72px;
    margin-right: -2.00px;
}

.iphone-pro-max .text-wrapper-7 {
    position: absolute;
    top: 0;
    left: 0;
    width: 336px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 17.9px;
}

.iphone-pro-max .group-3 {
    position: relative;
    width: 233px;
    height: 75px;
}

.iphone-pro-max .frame-11 {
    position: relative;
    width: 431px;
    background-color: #f7f2ec;
}

.videos {
    padding-block: 180px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.atmosphere-video {
    max-width: 80%;
    height: auto;
}

.iphone-pro-max .text-wrapper-8 {
    position: absolute;
    top: 14px;
    left: calc(50.00% - 72px);
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #272a1f;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .text-wrapper-9 {
    position: absolute;
    top: 88px;
    left: calc(50.00% - 134px);
    width: 270px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #272a1f;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .frame-12 {
    position: absolute;
    top: 160px;
    left: calc(50.00% - 150px);
    width: 299px;
    height: 460px;
}

.iphone-pro-max .frame-13 {
    position: absolute;
    top: 0;
    left: 0;
    width: 91px;
    height: 257px;
}

.iphone-pro-max .frame-14 {
    position: absolute;
    top: 0;
    left: 336px;
    width: 95px;
    height: 218px;
}

.iphone-pro-max .frame-15 {
    height: 885px;
    background-color: #bdd2d3;
    position: relative;
    width: 431px;
}

.iphone-pro-max .image-6 {
    position: absolute;
    width: 119.95%;
    top: 327px;
    left: 0;
    height: 575px;
    mix-blend-mode: soft-light;
    aspect-ratio: 0.9;
    object-fit: cover;
}

.iphone-pro-max .enhanced {
    position: absolute;
    top: -32px;
    left: calc(50.00% - 216px);
    width: 431px;
    height: 370px;
}

.iphone-pro-max .frame-16 {
    position: absolute;
    top: 288px;
    left: 0;
    width: 431px;
    height: 437px;
}

.iphone-pro-max .group-4 {
    position: absolute;
    width: 57px;
    height: 73px;
    top: 300px;
    left: 374px;
}

.iphone-pro-max .group-5 {
    position: absolute;
    width: 43px;
    height: 39px;
    top: 319px;
    left: 0;
}

.iphone-pro-max .frame-17 {
    position: absolute;
    top: 135px;
    left: calc(50.00% - 176px);
    width: 354px;
    height: 414px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-image: url(./img/group-20.webp);
    background-size: 100% 100%;
}

.iphone-pro-max .text-wrapper-10 {
    margin-left: 109px;
    width: 135px;
    height: 45px;
    margin-top: 84px;
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0;
    line-height: 44.7px;
    white-space: nowrap;
}

.iphone-pro-max .group-6 {
    margin-left: 94px;
    display: flex;
}

.iphone-pro-max .element-2 {
    width: 42px;
    height: 156px;
    font-family: "Cormorant", sans-serif;
    font-weight: 600;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 26.4px;
}

.iphone-pro-max .group-7 {
    margin-top: 11px;
    width: 5px;
    height: 137px;
    position: relative;
    margin-left: 8px;
}

.iphone-pro-max .rectangle-2 {
    position: absolute;
    top: 3px;
    left: 2px;
    width: 1px;
    height: 134px;
    background-color: #334852;
}

.iphone-pro-max .ellipse {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #334852;
    border-radius: 2.5px;
    aspect-ratio: 1;
}

.iphone-pro-max .ellipse-2 {
    position: absolute;
    top: 28px;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #334852;
    border-radius: 2.5px;
    aspect-ratio: 1;
}

.iphone-pro-max .ellipse-3 {
    position: absolute;
    top: 54px;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #334852;
    border-radius: 2.5px;
    aspect-ratio: 1;
}

.iphone-pro-max .ellipse-4 {
    position: absolute;
    top: 80px;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #334852;
    border-radius: 2.5px;
    aspect-ratio: 1;
}

.iphone-pro-max .ellipse-5 {
    position: absolute;
    top: 106px;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #334852;
    border-radius: 2.5px;
    aspect-ratio: 1;
}

.iphone-pro-max .ellipse-6 {
    position: absolute;
    top: 132px;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #334852;
    border-radius: 2.5px;
    aspect-ratio: 1;
}

.iphone-pro-max .winter-games {
    width: 149px;
    height: 156px;
    margin-left: 18px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 26.4px;
}

.iphone-pro-max .clip-path-group-2 {
    margin-left: 82px;
    width: 190px;
    height: 19.89px;
}

.iphone-pro-max .clip-path-group-3 {
    position: absolute;
    width: 431px;
    height: 169px;
    top: -105px;
    left: 0;
}

.iphone-pro-max .frame-18 {
    display: flex;
    flex-direction: column;
    width: 268px;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: 590px;
    left: 82px;
}

.iphone-pro-max .text-wrapper-11 {
    position: relative;
    width: 160px;
    height: 35px;
    margin-top: -1.00px;
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0;
    line-height: 44.7px;
    white-space: nowrap;
}

.iphone-pro-max .element-3 {
    position: relative;
    align-self: stretch;
    font-family: "Cormorant", sans-serif;
    font-weight: 300;
    color: #334852;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: 17.9px;
}

.iphone-pro-max .frame-19 {
    position: relative;
    width: 189px;
    height: 42px;
    background-color: #f7f2ec;
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
}

.iphone-pro-max .text-wrapper-12 {
    position: absolute;
    top: 10px;
    left: 22px;
    font-family: "Cormorant", sans-serif;
    font-weight: 600;
    color: #334852;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: 22.4px;
    white-space: nowrap;
}

.iphone-pro-max .frame-20 {
    height: 608px;
    background-color: #f7f2ec;
    position: relative;
    width: 431px;
}

.iphone-pro-max .overlap-group {
    height: 600px;
    top: -167px;
    position: absolute;
    width: 431px;
    left: 0;
}

.iphone-pro-max .group-8 {
    position: absolute;
    width: 310px;
    height: 500px;
    top: 215px;
    left: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.iphone-pro-max .group-9 {
    margin-left: 6px;
    height: 112px;
    align-self: center;
    position: relative;
}

.iphone-pro-max .text-wrapper-13 {
    position: absolute;
    top: 0;
    left: calc(50.00% - 55px);
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .element-4 {
    position: absolute;
    top: 55px;
    left: calc(50.00% - 155px);
    width: 306px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .group-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    top: 30px;
}

.iphone-pro-max .group-10 {
    width: 310px;
    height: 243px;
    display: flex;
    flex-direction: column;
}

.iphone-pro-max .frame-21 {
    margin-left: 1px;
    height: 28px;
    width: 309px;
    align-self: center;
    display: flex;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #334852;
}

.iphone-pro-max .text-wrapper-14 {
    margin-top: 2px;
    width: 157px;
    height: 19px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #98a7af;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-22 {
    margin-left: 1px;
    width: 309px;
    height: 81px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.iphone-pro-max .text-wrapper-15 {
    margin-left: -0.1px;
    width: 169px;
    height: 19px;
    margin-top: -0.1px;
    -webkit-text-stroke: 0.1px #334852;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-23 {
    width: 309px;
    height: 27px;
    margin-top: 8.1px;
    display: flex;
    gap: 9px;
}

.iphone-pro-max .checkboxes {
    margin-top: 6px;
    width: 16px;
    height: 16px;
    display: flex;
}

.iphone-pro-max .checkbox-base {
    flex: 1;
    width: 16px;
    position: relative;
    background-color: #334852;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid;
}

.iphone-pro-max .check {
    position: absolute;
    width: 62.50%;
    height: 62.50%;
    top: 18.75%;
    left: 18.75%;
}

.iphone-pro-max .text-wrapper-16 {
    height: 19px;
    width: 157px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-24 {
    width: 309px;
    height: 27px;
    display: flex;
    gap: 9px;
}

.iphone-pro-max .minus-wrapper {
    flex: 1;
    width: 16px;
    position: relative;
    background-color: #bcd2d2;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid;
    border-color: #334852;
}

.iphone-pro-max .minus {
    position: absolute;
    width: 75.00%;
    height: 75.00%;
    top: 12.50%;
    left: 12.50%;
}

.iphone-pro-max .text-wrapper-17 {
    height: 19px;
    width: 160px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-25 {
    display: flex;
    width: 310px;
    height: 100px;
    position: relative;
    margin-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}

.iphone-pro-max .text-wrapper-18 {
    position: relative;
    align-self: stretch;
    margin-top: -1.10px;
    margin-left: -0.10px;
    -webkit-text-stroke: 0.1px #334852;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .group-11 {
    position: relative;
    width: 310px;
    height: 27px;
}

.iphone-pro-max .frame-26 {
    position: absolute;
    top: 0;
    left: 0;
    width: 86px;
    height: 27px;
    display: flex;
    gap: 9px;
}

.iphone-pro-max .checkboxes-2 {
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid;
    border-color: #334852;
    width: 16px;
    height: 16px;
}

.iphone-pro-max .text-wrapper-19 {
    height: 19px;
    width: 47px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-27 {
    position: absolute;
    top: 0;
    left: 224px;
    width: 86px;
    height: 27px;
    display: flex;
    gap: 9px;
}

.iphone-pro-max .text-wrapper-20 {
    height: 19px;
    width: 40px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-28 {
    position: absolute;
    top: 0;
    left: 112px;
    width: 86px;
    height: 27px;
    display: flex;
    gap: 9px;
}

.iphone-pro-max .group-12 {
    position: relative;
    width: 224.5px;
    height: 27px;
}

.iphone-pro-max .text-wrapper-21 {
    height: 19px;
    width: 60px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-29 {
    position: absolute;
    top: 0;
    left: 0;
    width: 102px;
    height: 27px;
    display: flex;
    gap: 9px;
}

.iphone-pro-max .text-wrapper-22 {
    height: 19px;
    width: 73px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-30 {
    position: absolute;
    top: 0;
    left: 112px;
    width: 112px;
    height: 27px;
    display: flex;
    gap: 9px;
    overflow: hidden;
}

.iphone-pro-max .text-wrapper-23 {
    height: 19px;
    width: 88px;
    align-self: center;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-31 {
    display: inline-flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    flex: 0 0 auto;
}

.iphone-pro-max .frame-32 {
    position: relative;
    width: 99px;
    height: 27px;
}

.iphone-pro-max .checkbox-base-wrapper {
    position: absolute;
    top: 6px;
    left: 0;
    display: flex;
    width: 16px;
    height: 16px;
}

.iphone-pro-max .text-wrapper-24 {
    position: absolute;
    top: calc(50.00% - 10px);
    left: 25px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .frame-33 {
    position: relative;
    width: 186px;
    height: 27px;
}

.iphone-pro-max .clip-path-group-4 {
    position: absolute;
    width: 311px;
    height: 319px;
    top: 14px;
    left: 64px;
}

.iphone-pro-max .clip-path-group-5 {
    position: absolute;
    width: 164px;
    height: 281px;
    top: 27px;
    left: 267px;
}

.iphone-pro-max .clip-path-group-6 {
    position: absolute;
    width: 110px;
    height: 102px;
    top: 124px;
    left: 47px;
}

.iphone-pro-max .clip-path-group-7 {
    position: absolute;
    width: 144px;
    height: 265px;
    top: 0;
    left: 0;
}

.iphone-pro-max .text-wrapper-25 {
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    margin-bottom: 10px;
}

.iphone-pro-max .frame-34 {
    display: flex;
    width: 180px;
    height: 45px;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 10px 30px;
    background-color: #334852;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid;
}

.iphone-pro-max .text-wrapper-26 {
    position: relative;
    width: fit-content;
    margin-top: -0.50px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #f7f2ec;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .group-13 {
    position: absolute;
    top: -24px;
    left: 70px;
    width: 190px;
    height: 79px;
}

.iphone-pro-max .ellipse-7 {
    position: absolute;
    top: 0;
    left: 0;
    width: 102px;
    height: 70px;
    background-color: #f7f2ec;
    border-radius: 51px / 35px;
}

.iphone-pro-max .ellipse-8 {
    position: absolute;
    top: 19px;
    left: 55px;
    width: 102px;
    height: 39px;
    background-color: #f7f2ec;
    border-radius: 51px / 19.5px;
}

.iphone-pro-max .ellipse-9 {
    position: absolute;
    top: 9px;
    left: 112px;
    width: 78px;
    height: 70px;
    background-color: #f7f2ec;
    border-radius: 39px / 35px;
}

.iphone-pro-max .frame-35 {
    position: relative;
    top: -10px;
    width: 431px;
    height: 295px;
}

.iphone-pro-max .frame-36 {
    position: relative;
    width: 431px;
    height: 544px;
    background-color: #f7f2ec;
}

.iphone-pro-max .overlap {
    height: 761px;
    top: -217px;
    /*background-image: url(./img/clip-path-group-7.webp);*/
    background-size: 100% 100%;
    position: absolute;
    width: 431px;
    left: 0;
}

.iphone-pro-max .group-14 {
    position: absolute;
    width: 431px;
    height: 322px;
    top: 160px;
    left: 0;
    z-index: 2;
}

.iphone-pro-max .group-15 {
    position: absolute;
    width: 317px;
    height: 146px;
    top: 248px;
    left: 57px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.iphone-pro-max .group-16 {
    margin-left: 1px;
    width: 230px;
    align-self: center;
    display: flex;
    justify-content: center;
}

.iphone-pro-max .text-wrapper-27 {
    width: 228px;
    height: 58px;
    margin-left: -2px;
    font-family: "Florisel script", sans-serif;
    font-weight: 100;
    color: #334852;
    font-size: 36px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .group-17 {
    height: 68px;
    display: flex;
    padding: 11px 15px;
    align-items: flex-start;
    min-width: 317px;
    background-size: 100% 100%;
}

.iphone-pro-max .group-18 {
    width: 286px;
    height: 39px;
    display: flex;
}

.iphone-pro-max .group-19 {
    margin-top: 3px;
    width: 42px;
    height: 36px;
    position: relative;
}

.iphone-pro-max .text-wrapper-28 {
    position: absolute;
    top: 0;
    left: 10px;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .text-wrapper-29 {
    position: absolute;
    top: 19px;
    left: 0;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.iphone-pro-max .group-20 {
    margin-top: 2px;
    width: 31px;
    height: 36px;
    position: relative;
    margin-left: 46px;
}

.iphone-pro-max .text-wrapper-30 {
    left: 5px;
    position: absolute;
    top: 0;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .group-21 {
    margin-top: 1px;
    width: 39px;
    height: 36px;
    position: relative;
    margin-left: 48px;
}

.iphone-pro-max .text-wrapper-31 {
    left: 9px;
    position: absolute;
    top: 0;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .group-22 {
    width: 42px;
    height: 36px;
    position: relative;
    margin-left: 42px;
}

.iphone-pro-max .text-wrapper-32 {
    left: 11px;
    position: absolute;
    top: 0;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.iphone-pro-max .image-7 {
    position: absolute;
    top: 221px;
    left: 0;
    width: 431px;
    height: 323px;
    aspect-ratio: 1.33;
    object-fit: cover;
}
/* ========== INJECT ORIGINAL CSS CODE HERE ========== */

.iphone-pro-max .frame-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.07) 100%), linear-gradient(180deg, #B9914F 0%, #6D4E20 100%);
}

.iphone-pro-max .frame-2:focus {
    outline: 2px solid #96733a;
    outline-offset: 2px;
}

.iphone-pro-max .frame-19 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.iphone-pro-max .frame-19:hover {
    background-color: #e8dfc8;
}

.iphone-pro-max .frame-19:focus {
    outline: 2px solid #334852;
    outline-offset: 2px;
}

.iphone-pro-max .frame-12 {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.iphone-pro-max .frame-12:hover {
    transform: scale(1.05);
}

.iphone-pro-max .frame-12:focus {
    outline: 2px solid #334852;
    outline-offset: 4px;
}

.iphone-pro-max .frame-21 {
    position: relative;
}

.iphone-pro-max .frame-21 input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    font-family: "Cormorant", sans-serif;
    font-weight: 400;
    color: #334852;
    font-size: 16px;
    padding: 2px 0 0 0;
    outline: none;
}

.iphone-pro-max .frame-21 input:focus {
    outline: 2px solid #334852;
    outline-offset: 2px;
}

.iphone-pro-max .frame-21 input::placeholder {
    color: #98a7af;
}

.iphone-pro-max .frame-21 label {
    position: absolute;
    top: 2px;
    left: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.iphone-pro-max .frame-21 input:focus + label,
.iphone-pro-max .frame-21 input:not(:placeholder-shown) + label {
    opacity: 0;
}

.iphone-pro-max .frame-22 {
    border: none;
    padding: 0;
    margin: 0;
}

.iphone-pro-max .frame-22 legend {
    padding: 0;
    margin-bottom: 8px;
}

.iphone-pro-max .frame-25 {
    border: none;
    padding: 0;
    margin: 0;
}

.iphone-pro-max .frame-25 legend {
    padding: 0;
    margin-bottom: 8px;
}

.iphone-pro-max .checkboxes input[type="radio"],
.iphone-pro-max .checkboxes input[type="checkbox"],
.iphone-pro-max .checkboxes-2,
.iphone-pro-max .checkbox-base-wrapper input[type="checkbox"],
.iphone-pro-max .minus-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.iphone-pro-max .checkbox-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.iphone-pro-max .checkboxes {
    position: relative;
}

.iphone-pro-max .checkboxes input[type="radio"]:focus,
.iphone-pro-max .checkboxes input[type="checkbox"]:focus {
    outline: 2px solid #334852;
    outline-offset: 2px;
    border-radius: 8px;
}

.iphone-pro-max .checkboxes-2 {
    cursor: pointer;
}

.iphone-pro-max .checkboxes-2:focus {
    outline: 2px solid #334852;
    outline-offset: 2px;
}

.iphone-pro-max .checkboxes-2:checked {
    background-color: #334852;
}

.iphone-pro-max .checkbox-base-wrapper {
    position: relative;
}

.iphone-pro-max .checkbox-base-wrapper input[type="checkbox"]:focus {
    outline: 2px solid #334852;
    outline-offset: 2px;
    border-radius: 8px;
}

.iphone-pro-max .minus-wrapper {
    position: relative;
}

.iphone-pro-max .minus-wrapper input[type="radio"]:focus {
    outline: 2px solid #334852;
    outline-offset: 2px;
    border-radius: 10px;
}

.iphone-pro-max .frame-34 {
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: #334852;
    border: 1px solid #334852;
}

.iphone-pro-max .frame-34:hover {
    background-color: #4a5f6a;
    transform: translateY(-2px);
}

.iphone-pro-max .frame-34:active {
    transform: translateY(0);
}

.iphone-pro-max .frame-34:focus {
    outline: 2px solid #334852;
    outline-offset: 4px;
}

.iphone-pro-max .frame-26 label,
.iphone-pro-max .frame-27 label,
.iphone-pro-max .frame-28 label,
.iphone-pro-max .frame-29 label,
.iphone-pro-max .frame-30 label,
.iphone-pro-max .frame-32 label,
.iphone-pro-max .frame-33 label {
    cursor: pointer;
}

.timer {
    position: relative;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
}

.timer-title {
    font-size: 36px;
    margin-bottom: 25px;
    text-align: center;
}

.countdown__timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;

}

.timer__box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer__number {
    position: relative;
    font-size: 20px;
    z-index: 5;
    line-height: .8;
}

.timer__unit {
    font-size: 14px;
    font-weight: 400;
}

.timer {
    margin-bottom: 55px;
}

.countdown__timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.timer__box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.bg-circle {
    fill: none;
    stroke: #BDD2D3;
    stroke-width: 2;
}

.fg-circle {
    fill: none;
    stroke: #344853;
    stroke-width: 2;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1s linear;
}

.form-description {
    margin-bottom: 45px;
}

.form {
    width: 100%;
    max-width: 410px;
    /*margin-bottom: 96px;*/
}

.form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #344853;
    font-size: 16px;
    padding: 3px 5px;
    box-sizing: border-box;
    font-family: var(--font-primary), sans-serif;
}

.form input:focus {
    outline: 1px solid #728760;
}

.form input::placeholder {
    color: #888888;
    font-family: var(--font-primary), sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.form-name {
    width: 100%;
    margin-bottom: 20px;
}

.form-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
    display: block;
}

.form-come {
    display: block;
    line-height: 1.2;
}

.form label {
    font-size: 14px;
}

.form-section {
    margin-bottom: 25px;
}

.first-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

}

.second-line {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.form-come .first-section {
    margin-bottom: 14px;
}

.form-description {
    font-size: 13px;
    margin-bottom: 25px;
}

.form-button-container {
    display: flex;
    justify-content: center;
    color: black;
}

.form input[type="radio"],
.form-alco-selector input[type="checkbox"]{
    display: none;
}

.form-come label,
.form-alco-selector label{
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    line-height: 1.4;
}

.form-come label::before,
.form-alco-selector label:before{
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #728760;
    transition: background-color .2s ease;
}

.form-come input[type="radio"]:checked + label::before,
.form-alco-selector input[type="checkbox"]:checked + label::before{
    background-color: #344853;
    background-image: url("./assets/checked.svg");
    background-size: 10px 10px;
    background-position: center center;
    background-repeat: no-repeat;
}


.alco-button label input {
    padding: 3px 0;
}

.alco-button label input::placeholder,
.alco-button label input{
    font-size: 14px;
}


/* Анимация появления заголовка */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Анимация вылета изображений */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Анимация появления сердечек */
@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1001;
}