* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2 {
    margin: 0;
}

a {
    text-decoration: none;
}

:root {
    --viewport-height: 900;
}

@font-face {
    font-family: 'SnellRoundhand';
    src: url('./../fonts/SnellRoundhand.woff') format('woff'),
    url('./../fonts/SnellRoundhand.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Onest';
    font-display: swap;
    src: url("./../fonts/Onest-Regular.woff2") format("woff2"), url("./../fonts/Onest-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    font-display: swap;
    src: url("./../fonts/Onest-Light.woff2") format("woff2"), url("./../fonts/Onest-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Univers';
    font-display: swap;
    src: url("./../fonts/UniversLTCYR-57Condensed.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

.hover-opacity {
    transition: all 0.5s ease;
}

.hover-opacity:hover {
    opacity: 0.7;
    cursor: pointer;
}

*::-webkit-scrollbar {
    width: 3px;
    height: 20px;
}

*::-webkit-scrollbar-track {
    background: #C5C6CD;
}

*::-webkit-scrollbar-thumb {
    background: #000000;
    border: 3px solid #000000;
    border-radius: 20px;
}

.main {
    height: 1125px;
    overflow: auto;
    background: url("../img/main.jpg") no-repeat center center / cover;
    position: relative;
    @media (min-width: 768px) {
        width: 100%;
        overflow: hidden;
        height: 100%;
        min-height: 100vh;
    }
}

.content {
    display: flex;
    margin: 50px auto 0 auto;
    flex-direction: column;
    text-align: center;
    height: 540px;
    width: 100%;
    max-width: 328px;
    padding: 0 16px;
    @media (min-width: 768px) {
        margin: inherit;
        position: absolute;
        justify-content: space-between;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: calc(700 / var(--viewport-height) * 100vh);
        max-width: calc(1260 / var(--viewport-height) * 100vh);
        padding: 0 20px;
    }
    @media (min-width: 768px) and (min-height: 900px) {
        margin: inherit;
        position: absolute;
        justify-content: space-between;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 700px;
        max-width: 1260px;
        padding: 0 20px;
    }

    .content__logo {
        margin-bottom: 40px;
        @media (min-width: 768px) {
            margin-bottom: calc(60 / var(--viewport-height) * 100vh);
        }
        @media (min-width: 768px) and (min-height: 900px) {
            margin-bottom: 60px;
        }

        img {
            width: 90px;
            height: 66px;
            @media (min-width: 768px) {
                width: calc(146 / var(--viewport-height) * 100vh);
                height: calc(107 / var(--viewport-height) * 100vh);
            }

            @media (min-width: 768px) and (min-height: 900px) {
                width: 146px;
                height: 107px;
            }

        }
    }

    .content__title {
        font-size: 40px;
        line-height: 44px;
        font-family: 'Univers', sans-serif;
        font-weight: 400;
        font-style: normal;
        color: #ffffff;
        text-transform: uppercase;
        margin-bottom: 8px;
        @media (min-width: 768px) {
            max-width: calc(1000 / var(--viewport-height) * 100vh);
            margin: 0 auto;
            font-size: calc(64 / var(--viewport-height) * 100vh);
            line-height: calc(70 / var(--viewport-height) * 100vh);
            margin-bottom: calc(12 / var(--viewport-height) * 100vh);
        }
        @media (min-width: 768px) and (min-height: 900px) {
            font-size: 64px;
            line-height: 70px;
            margin-bottom: 12px;
            max-width: 1000px;
        }

    }

    .content__text {
        font-family: 'SnellRoundhand', sans-serif;
        font-weight: 500;
        font-style: italic;
        color: #ffffff;
        font-size: 24px;
        line-height: 26px;
        margin-bottom: 32px;
        position: relative;
        z-index: 20;
        @media (min-width: 768px) {
            font-size: calc(40 / var(--viewport-height) * 100vh);
            line-height: calc(44 / var(--viewport-height) * 100vh);
            margin-bottom: calc(48 / var(--viewport-height) * 100vh);
        }
        @media (min-width: 768px) and (min-height: 900px) {
            font-size: 40px;
            line-height: 44px;
            margin-bottom: 48px;
        }
    }

    .content__btn-point {
        display: flex;
        margin: 0 auto;
        color: #ffffff;
        cursor: pointer;
        width: 184px;
        height: 40px;
        background: transparent;
        font-family: 'Onest', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 17px;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 6px;
        border: 1px solid white;
        margin-bottom: 40px;
        @media (min-width: 768px) {
            height: 48px;
            margin-bottom: calc(60 / var(--viewport-height) * 100vh);
        }
        @media (min-width: 768px) and (min-height: 900px) {
            margin-bottom: 60px;
        }

        img {
            margin-top: -2px;
        }
    }

    .content__btn-point:hover {
        background: #F5C4CB;
        border: 1px solid #F5C4CB;
        color: #000000;
    }

    .content__btn-point:hover img {
        filter: grayscale(100%) brightness(0%);
    }

    .content__contacts-wrap {
        display: flex;
        flex-direction: column;
        gap: 12px;
        @media (min-width: 768px) {
            margin: 0 auto;
            gap: 40px;
            align-items: center;
            flex-direction: row;
        }

        .contact-link {
            font-family: 'Onest', sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 16px;
            line-height: 17px;
            color: #ffffff;
        }
    }

    .content__bottom {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        height: 32px;
        margin-top: auto;
        @media (min-width: 768px) {
            padding-right: calc(147 / var(--viewport-height) * 100vh);
        }

        @media (min-width: 1219px) {
            padding-right: calc(224 / var(--viewport-height) * 100vh);
        }
        @media (min-width: 768px) and (min-height: 900px){
            padding-right: 224px;
        }

        .content__swiper-buttons {
            width: 76px;
            height: 32px;
            position: absolute;
            bottom: 57px;
            left: 41px;
            display: flex;
            @media (min-width: 768px) {
                margin-right: 38px;
                position: relative;
                display: flex;
                bottom: inherit;
                left: inherit;
            }

            .swiper-button-prev-bottles,
            .swiper-button-next-bottles {
                position: absolute;
                margin-top: 0;
                top: 0;
                width: 32px;
                height: 32px;
            }

            .swiper-button-next-bottles {
                transform: rotate(-180deg);
                background: url("./../img/icons/arrow-slider.svg");
                right: 0;
            }

            .swiper-button-prev-bottles {
                background: url("./../img/icons/arrow-slider.svg");
                left: 0;
            }

            .swiper-button-prev:after,
            .swiper-button-next:after {
                opacity: 0;
                width: 0;
                height: 0;
                background: transparent;
            }
        }
    }

    .content__socs-wrap {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 0;
        align-items: center;
        @media (min-width: 768px) {
            justify-content: space-between;
            max-width: 369px;
        }

        .soc-link {
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 9px;
            font-family: 'Onest', sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 14px;
            line-height: 15px;
            @media (min-width: 768px) {
                font-size: 16px;
                line-height: 17px;
                gap: 8px;

            }
        }
    }
}

.content-slider {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    @media (min-width: 768px) {
        max-width: calc(1260 / var(--viewport-height) * 100vh);
        position: fixed;

    }
    @media (min-width: 768px) and (min-height: 900px) {
        max-width: 1260px;
        position: fixed;
    }


    .swiper {
        height: 485px;
        overflow: hidden;
        position: absolute;
        right: 40px;
        width:147px;
        bottom: 0;
        z-index: 1;
        @media (min-width: 768px) {
            height: 485px;
            overflow: hidden;
            position: absolute;
            right: 40px;
            width:147px;
        }
        @media (min-width: 1219px) {
            height: calc(740 / var(--viewport-height) * 100vh);
            overflow: hidden;
            right: 20px;
            width: calc(224 / var(--viewport-height) * 100vh);
        }
        @media (min-width: 768px) and (min-height: 900px) {
            height: 740px;
            overflow: hidden;
            right: 20px;
            width: 224px;
        }


    }

    .swiper-wrapper {
        transition: transform 0.3s ease-in-out;
    }

    .swiper-slide {
        width: 147px !important;
        height: 485px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        @media (min-width: 768px) {
            width: 147px !important;
            height: 485px !important;
        }
        @media (min-width: 1219px) {
            width: calc(224 / var(--viewport-height) * 100vh) !important;
            height: calc(740 / var(--viewport-height) * 100vh)!important;
        }
        @media (min-width: 768px) and (min-height: 900px) {
            width: 224px !important;
            height: 740px !important;
        }
    }

    .swiper-slide img {
        max-width: 100%;
        height: auto;
    }
}

.modal {
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    position: fixed;
    padding: 20px 16px 0 16px;
    top: 0;
    left: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 28;
    border-bottom: 20px solid #ffffff;
    @media (min-width: 768px) {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        top: 50%;
        left: 50%;
        padding: 40px 40px 0 40px;
        width: 500px;
        min-height: 774px;
        height: 774px;
        border-radius: 12px;
        transform: translate(-50%, -50%);
        border-bottom: 40px solid #ffffff;
    }
    @media (min-width: 768px) and (max-height: 899px) {
        min-height: calc(774 / var(--viewport-height) * 100vh);
        height: calc(774 / var(--viewport-height) * 100vh);
        width: 500px;
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        top: 50%;
        left: 50%;
        padding: calc(40 / var(--viewport-height) * 100vh);
        transform: translate(-50%, -50%);
        border-bottom: calc(40 / var(--viewport-height) * 100vh) solid #ffffff;
    }
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    @media (min-width: 768px) and (min-height: 900px) {
        margin-bottom: 32px;
    }
    @media (min-width: 768px) and (max-height: 899px) {
        margin-bottom: calc(32 / var(--viewport-height) * 100vh);
    }
}

.modal-header__title {
    font-family: 'Univers', sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 27px;
    @media (min-width: 768px) {
        font-size: 32px;
        line-height: 35px;
    }
}

.modal-header__close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
}


.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #C5C6CD;
    background-color: #fff;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 21px;
}


.custom-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #E3E3E3;
    height: 338px;
    box-shadow: 0 4px 28px 0 rgba(63, 67, 106, 0.16);
    overflow-y: auto;
    z-index: 4;
    opacity: 0;
    display: none;
    flex-direction: column;
    padding: 4px 0 8px 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    border-right: 8px solid #ffffff;
    border-top: 8px solid #ffffff;
    border-bottom: 8px solid #ffffff;
}

.custom-option {
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 22px;
    font-size: 16px;
}

.custom-option:hover,
.custom-option.selected {
    background-color: #F0F0F2;
}

.custom-select.open .custom-options {
    display: flex;
    max-height: 500px;
    opacity: 1;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: 73vh;
    @media (min-width: 768px) and (max-height: 899px) {
        gap: calc(20 / var(--viewport-height) * 100vh);
        max-height: calc(555/ var(--viewport-height) * 100vh);
    }
    @media (min-width: 768px) and (min-height: 900px) {
        max-height: 555px;
    }
}

.modal-list li a {
    font-family: 'Onest', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
}

@media (min-width: 768px) {
    .modal-list li a:after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background: url('./../img/icons/link.svg') no-repeat center center;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
}

.modal-list li a:hover::after {
    opacity: 1;
}

.modal-list li:hover a {
    color: #ED9FAA;
    position: relative;
    padding-right: 25px;
}



.modal-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.modal-form.is-open {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-form div[role="dialog"] {
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
    border: 1px solid #333333;
    background: #1A191C;
    color: #D9D9D9;
    font-family: 'Univers', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-form header {
    display: flex;
    justify-content: center;

    h2 {
        font-weight: 400;
        font-size: 36px;
        line-height: 1.1;
    }
}

.modal-form button[data-micromodal-close] {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#modal-form-1-content {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    font-family: "Manrope", serif;
    color: #D9D9D9B2;
}

#modal-form-1-btn  {
    .btn {
        width: 100%;
        height: 46px;
        padding: 12px 24px;
        border: 1px solid #555555;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
        background: transparent;
        color: #D9D9D9;
        text-align: center;
        text-transform: uppercase;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {
            background-color: #f0f0f0;
            color: #333333;
        }

        &:active {
            background-color: #e0e0e0;
        }
    }
}

@media (max-width: 768px) {
    .modal-form div[role="dialog"] {
        padding: 24px;
        gap: 24px;
    }
}

@media (max-width: 500px) {
    .modal-form div[role="dialog"] {
        max-width: 345px;
    }

    .modal-form header {
        h2 {
            font-size: 29px;

        }
    }


    #modal-form-1-content {
        font-size: 13px;
    }

    #modal-form-1-btn {
        .btn {
            font-size: 13px;
        }
    }
}

