@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul[class],
ol[class] {
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
}

ul[class],
ol[class] {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

body {
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    line-height: normal;
    background: #f7f8fb;
    color: #0e1320;
    text-rendering: optimizeLegibility;
}

.discl {
    display: block;
    background: #e5e7eb;
    color: #0e1320;
    text-decoration: none;
    padding: 12px;
    text-align: center;
}

.wrapper {
    overflow: hidden;
}

.container {
    max-width: 1000px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.header {
    position: sticky;
    overflow: hidden;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(10px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid #e5e7eb;
}

.header__container {
    max-width: 960px;
    width: 100%;
    height: 70px;
    margin: 0 auto;
    padding: 0 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header__logo {
    font-family: "Chewy", system-ui;
    font-size: 52px;
    color: #4f46e5;
    text-shadow: 2px 4px 4px rgba(99, 102, 241, 0.35)
}

.header a {
    color: #0e1320;
    padding: 0 15px;
    font-size: 20px;
    line-height: 70px;
    text-decoration: none;
}

.header a:hover {
    background: #4f46e5;
    color: #f7f8fb
}

.nav__wrapper {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.burger {
    display: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 3;
}

.main {
    padding: 50px 0;
}

.h1 {
    font-size: 32px;
    padding-bottom: 30px;
    font-weight: 700;
    position: relative;
}

.h2 {
    font-size: 28px;
    font-weight: 700;
}

.main__content,
.order__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.main__product {
    position: relative;
    max-width: 350px;
    width: 100%;
    margin: 20px 0;
}

.main__description,
.h1,
.popup .popup__content .h2 {
    text-align: center;
}

.main__text p {
    padding-bottom: 15px;
}

.main__image {
    margin-bottom: 30px;
}

.main__description {
    margin: 50px 0 0px;
}

.order {
    padding-bottom: 100px;
}

.order__price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 135px;
    height: 90px;
    position: absolute;
    right: 60px;
    bottom: 0px;
    color: #f7f8fb;
    -webkit-box-shadow: rgba(0, 0, 0, 50%) 0px 3px 16px;
    box-shadow: rgba(0, 0, 0, 50%) 0px 3px 16px;
    -webkit-transform: rotateZ(-9deg) translateX(50%);
    transform: rotateZ(-9deg) translateX(50%);
    margin: 0 auto;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-width: 3px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    -o-border-image: initial;
    border-image: initial;
    border-radius: 16%;
    font-size: 48px;
    font-weight: 700;
    padding: 10px 0;
}

.button {
    background-color: #4f46e5;
    font-size: 24px;
    font-weight: 700;
    border-radius: 30px;
    padding: 15px 30px;
    color: #fefefe;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.popup .popup__content form .form_button:hover {
    background: rgba(79, 70, 229, .7);
}

.popup .popup__content .success {
    display: none;
    background: #4f46e5;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 20px 0px 20px 0px;
    border: none;
}

.popup .popup__content .active+.success {
    display: block;
}

.popup {
    display: none;
    backdrop-filter: saturate(140%) blur(10px);
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 111;
}

.active {
    display: none;
}

.popup .container {
    max-width: 480px;
    width: 100%;
    position: absolute;
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
}

.popup .popup__content .close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.popup .popup__content .close:before,
.popup .popup__content .close:after {
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    width: 2px;
    height: 20px;
    background-color: #4f46e5;
}

.popup .popup__content .close:before {
    -webkit-transform: translate(0, -50%) rotate(135deg);
    transform: translate(0, -50%) rotate(135deg)
}

.popup .popup__content .close:after {
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg)
}

.popup__content {
    padding: 30px;
    border-radius: 6px;
    position: relative;
    backdrop-filter: saturate(140%) blur(10px);
    background: rgba(255, 255, 255, 0.86)
}

.popup .popup__content .h2 {
    text-transform: uppercase;
    padding-bottom: 20px;
    color: #4f46e5
}

.popup .popup__content form label {
    display: inline-block;
    color: #808080;
    width: 100%;
    margin-bottom: 2px;
}

.popup .popup__content form .name,
.popup .popup__content form .phone {
    color: #333333;
    width: 100%;
    border: 1px solid #666666;
    border-radius: 3px;
    padding: 0 10px;
    height: 48px;
    margin-bottom: 10px;
}

.popup .popup__content form .form_button {
    width: 100%;
    color: #fefefe;
    background-color: #4f46e5;
    height: 48px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 20px;
}

.footer {
    width: 100%;
}

.footer .cellar {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background: #0e1320;
    font-size: 16px;
    color: #f7f8fb;
    padding: 30px 0;
    text-align: center
}

.footer p {
    margin: 0 2px;
    padding: 0;
    text-align: center
}

.footer a {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    margin: 0 2px;
    padding: 0
}

@media (max-width:540px) {
    .footer .cellar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }
}

ul {
    padding: 0;
}

ul li {
    list-style: none;
}

@media screen and (max-width:768px) {
    .header {
        overflow: visible
    }

    .header__logo {
        font-size: 32px
    }

    .burger {
        display: block;
    }

    .burger-line {
        width: 20px;
        height: 2px;
        background: #4f46e5;
        position: absolute;
        top: 0;
        left: 0px;
        -webkit-transition: all .5s;
        transition: all .5s
    }

    .burger-line:nth-of-type(2),
    .burger-line:nth-of-type(3) {
        margin-top: 7px;
    }

    .burger-line:nth-of-type(4) {
        margin-top: 14px;
    }

    .nav.open {
        top: 0;
        bottom: 0;
    }

    .nav .nav__wrapper {
        max-width: 160px;
        display: none;
        position: absolute;
        width: 100%;
        top: 0;
        right: 0;
        max-height: none;
        font-size: 0;
        -webkit-transition: .5s all;
        transition: .5s all;
        z-index: 2;
    }

    .nav.open .container {
        height: 100%;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .nav.open .nav__wrapper {
        border-radius: 6px;
        height: 210px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        background: rgba(79, 70, 229, .7);
        -webkit-transition: none;
        transition: none;
    }

    .header a {
        color: #f7f8fb;
        border-radius: 6px;
        text-align: center;
    }

    .nav.open .burger-line:nth-of-type(1),
    .nav.open .burger-line:nth-of-type(4) {
        display: none;
    }

    .nav.open .burger-line:nth-of-type(2) {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        background: #f7f8fb
    }

    .nav.open .burger-line:nth-of-type(3) {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        background: #f7f8fb
    }

    .h1 {
        font-size: 24px;
    }
}

#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    backdrop-filter: saturate(140%) blur(10px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid #e5e7eb;
    color: #0e1320;
    padding: 15px;
    text-align: center;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 111;
}

#cookie-message {
    max-width: 80%;
    margin: 0 auto;
    font-size: 16px;
}

#cookie-message a {
    color: #4f46e5;
    text-decoration: none;
}

#cookie-message a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.cookie-button {
    background-color: #4f46e5;
    border: none;
    border-radius: 3px;
    padding: 10px;
    margin: 5px;
    color: #fefefe;
    cursor: pointer;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 150px;
    font-size: 16px;
}

.cookie-button:hover {
    background: rgba(79, 70, 229, .7);
}

#advanced-settings {
    display: none;
    text-align: left;
    margin-top: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.switch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 10px 0;
}

.switch input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4f46e5!important;
}

.switch span {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-right: 10px;
}

@media screen and (max-width: 480px) {
    .cookie-button {
        padding: 10px;
        margin: 3px;
    }

    #cookie-message {
        font-size: 0.8rem;
    }
}