.main-info__container {
    display: flex;
    padding-top: 55px;
}
.main-info__phone {
    display: none;
}
.main-info__info {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    margin-left: 39px;
}
.main-info__img {
    order: 1;

    width: 521px;
    min-height: 328px;
    object-fit: cover;
    object-position: top center;

    border-radius: 22px;
}
.main-info__title-desc {
    display: flex;
    flex-direction: column;
    width: 478px;
}
.main-info__title {
    font-family: 'Faberge';
    font-size: 37px;
    font-weight: normal;
    text-align: center;
}
.main-info__description {
    font-size: 25px;
    margin-top: 26px;
    text-align: justify;
    white-space: pre-wrap;
}
.main-info__price {
    font-family: 'Faberge';
    font-size: 35px;
    padding-bottom: 22px;
    margin-top: 26px;
}
.examples__container {
    z-index: 2;
    position: relative;
}
.examples{
    padding-bottom: 60px;
    min-height: 150px;
}

.examples-true {
    background: linear-gradient(
        to bottom,
        var(--light-color) 0,
        var(--light-color) 290px,
        var(--primary-color-2) 290px
    );
}
.examples-true::before {
    display: flex;
    content: "";
    position: relative;
    top: 250px; /* Начинается после 150px от верха */
    left: 0;
    width: 100%;
    height: 40px;

    -webkit-mask-image: url("../photographer/photosession-plenka.svg");
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-size: auto 40px;

    mask-image: url("../photographer/photosession-plenka.svg");
    mask-repeat: repeat-x;
    mask-size: auto 40px;

    background-color: var(--primary-color-2);

    pointer-events: none;
    z-index: 1;
}

.examples-false {
    background: linear-gradient(
        to bottom,
        var(--light-color) 0,
        var(--light-color) 95px,
        var(--primary-color-2) 95px
    );
    padding-bottom: 60px;
    min-height: 150px;
}
.examples-false::before {
    display: flex;
    content: "";
    position: relative;
    top: 55px; /* Начинается после 150px от верха */
    left: 0;
    width: 100%;
    height: 40px;

    -webkit-mask-image: url("../photographer/photosession-plenka.svg");
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-size: auto 40px;

    mask-image: url("../photographer/photosession-plenka.svg");
    mask-repeat: repeat-x;
    mask-size: auto 40px;

    background-color: var(--primary-color-2);

    pointer-events: none;
    z-index: 1;
}

.examples__title {
    font-family: 'Faberge';
    font-size: 37px;
    font-weight: normal;
    text-align: center;

    margin-top: 30px;
}
.photosessions__list {
    margin-top: 30px;
    padding-block: 10px;

    margin-inline: -10px;
    padding-inline: 10px;

    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;

    overflow-x: auto;      /* горизонтальная прокрутка */
    overflow-y: hidden;    /* вертикальная убрать */
    scroll-behavior: smooth; /* плавная прокрутка */
    -webkit-overflow-scrolling: touch; /* плавность на мобильных */
}

.photosessions__list::-webkit-scrollbar {
    display: none;
}
.photosessions__list {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;     /* Firefox */

    user-select: none; /* запрет выделения текста */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    -webkit-tap-highlight-color: transparent; /* убирает синий highlight */

    scroll-behavior: smooth; /* плавная прокрутка */

    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
}
.photosessions__list.active, .photosessions__list-item.active {
    cursor: grabbing;
}
.photosessions__list-item {
    display: flex;
    position: relative;

    width: 215px;
    height: 215px;
    flex: 0 0 215px;

    -webkit-box-shadow: 0px 0px 10px 0px var(--dark-color-1);
    -moz-box-shadow: 0px 0px 10px 0px var(--dark-color-1);
    box-shadow: 0px 0px 10px 0px var(--dark-color-1);

    transition: 0.5s ease-in-out;
    user-select: none;

    cursor: grab;
}
.photosessions__list-item:hover {
    transform: scale(1.02);
    transition: 0.2s;
}
.photosessions__list-item-link {
    width: 100%;
    height: 100%;
    display: block;
}
.photosessions__list-item-link picture {
    display: block;
    width: 100%;
    height: 100%;
}
.photosessions__list-item-img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    overflow: hidden;

    background-color: var(--photo-wapl);

    z-index: 0;
}
.photosessions__list-item::after {
    content: "";
    position: absolute;
    z-index: 1;

    width: 100%;
    height: 100%;

    background-image: radial-gradient(
            circle at 60% -10%,
            hsla(from var(--light-color) h s l / 0) 40%,
            var(--light-color) 90%
    );
}
.photosessions__list-item-title {
    position: absolute;
    z-index: 2;
    display: flex;

    bottom: 0;
    color: var(--dark-color-1);
    font-family: 'Faberge';
    font-size: 20px;
    font-weight: normal;

    width: 100%;
    height: 100%;
    text-align: left;
    align-items: flex-end;

    padding: 12px;
}
.details {
    background-color: var(--primary-color-2);
    min-height: 100vh;

    padding-bottom: 100px;
}
.details__container {
    width: 945px;
}
.details__wrapper {
    padding-block: 40px;
    padding-inline: 60px;
    padding-bottom: 40px;
    border-radius: 25px;
    background-color: var(--light-color);
}
.details__title {
    font-family: 'Faberge';
    font-size: 37px;
    font-weight: normal;
    text-align: center;
}
.details__list {
    display: flex;
    flex-direction: column;

    gap: 45px;
    margin-top: 50px;
}
.details__list-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.details__list-item-icon {
    width: 36px;
    height: 36px;

    display: block;
    align-items: flex-start;
    vertical-align: top;

    align-self: flex-start;

    flex-shrink: 0;
}
.details__list-item-icon path {
    stroke: var(--dark-color-1);
}
.details__list-item-text {
    margin-left: 29px;
    white-space: pre-wrap;
}
.footer-wrapper {
    background-color: var(--primary-color-2);
}

@media (max-width: 1196px) {
    .container {
        padding-block: 0;
    }
    .main-info__container {
        flex-direction: column;
        padding-top: 28px;
    }
    .main-info__info, .main-info__img {
        display: none;
    }
    .main-info__phone {
        display: flex;
        flex-direction: column;
    }
    .main-info__title {
        font-size: 27px;
    }
    .main-info__img--phone {
        width: 100%;
        height: auto;
        border-radius: 22px;

        margin-top: 25px;
    }
    .main-info__description {
        font-size: 18px;
        margin-top: 15px;
    }
    .main-info__price {
        margin-top: 14px;
        font-size: 25px;
        text-align: center;
        padding-bottom: 15px;
    }
    .examples__container {
        padding-inline: 0;
        overflow: hidden;
    }
    .examples {
        --sdvig: 230px;
        padding-bottom: 35px;
        padding-top: 16px;
        min-height: 0;
       }

    .examples-true {
        background: linear-gradient(
            to bottom,
            var(--primary-color-2) 0,
            var(--primary-color-2) 193px,
            var(--light-color) 193px
        );
        padding-top: 0;

}
    .examples-true::before {
    display: flex;
    content: "";
    position: relative;
    top: 177px; /* Начинается после 150px от верха */
    left: 0;
    width: 100%;
    height: 40px;

    -webkit-mask-image: url("../photographer/photosession-plenka-phone.svg");
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-size: auto 40px;

    mask-image: url("../photographer/photosession-plenka-phone.svg");
    mask-repeat: repeat-x;
    mask-size: auto 40px;

    background-color: var(--primary-color-2);

    pointer-events: none;
    z-index: 1;
}

    .examples-false {
        background: none;
        padding-block: 0;
        margin-top: 15px;
        height: 0;
    }
    .examples-false::before {
        -webkit-mask-image: none;
        mask-image: none;
        background: none;
}

    .examples__title {
        margin-top: 0;
        font-size: 32px;
        color: var(--light-color);
    }
    .photosessions__list {
        margin-top: 18px;
        padding-inline: 8%;
        overflow-x: auto;
    }
    .photosessions__list-item {
        width: 147px;
        aspect-ratio: 1/1;
        height: auto;
    }
    .photosessions__list-item-title {
        font-size: 16px;
        padding: 8px 8px ;
    }
    .photosessions__list-item:hover {
        cursor: pointer;
        transform: scale(0.98);
        transition: 0.2s;
    }
    .details {
        background-color: var(--light-color);
    }
    .details__container {
        width: 100%;
    }
    .details__wrapper {
        padding: 0;
    }
    .details__title {
        font-size: 27px;
    }
    .details__list {
        margin-top: 40px;
        gap: 25px;
    }
    .details__list-item {
        align-items: flex-start;

    }
    .details__list-item-icon {
        width: 30px;
        height: 30px;
        align-items: flex-start;
        padding-top: 5px;
    }
    .details__list-item-text {
        font-size: 18px;
        margin-left: 15px;
    }
    .footer-wrapper {
        background-color: var(--light-color);
    }
}