/*    minimal params     */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

body{
    max-width: 500px;
    position: relative;
    background: white;
}

.bold-text{
    font-family: 'Intro-Bold';
    font-weight: 700;
}

.regular-text{
    font-family: 'Intro-Regular';
}

::-webkit-scrollbar{
    display: none;
}




/* header */

header{
    box-sizing: border-box;
    padding: 20px 20px;
    background-color: #50C888;
    position: fixed;
    z-index: 20;
    top: 0%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text{
    font-size: 20px;
    font-family: 'Intro-Bold';
    color: #fff;
}



/* main */

.content-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.content-wrapper{
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin-top: 80.67px;
    position: relative;
}

.swiper-block{
    width: 100%;
    height: 170px;
    position: relative;
    overflow-x: hidden;
}

.top-swiper-container{
    width: 100%;
    height: 100%;
    position: relative;
}

.top-swiper-pagination{
    position: absolute;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-swiper-pagination .swiper-pagination-bullet{
    width: 7px;
    height: 7px;
    background-color: #fff;
    opacity: 1;
}

.top-swiper-pagination .swiper-pagination-bullet-active{
    width: 10px;
    height: 10px;
    background-color: #50C888;
}

.content-filter-block{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-filter-elem{
    width: 33.3%;
    height: 30px;
    box-sizing: border-box;
    padding: 5px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFD600;
    border-radius: 20px;
    cursor: pointer;
}

.content-filter-elem-text{
    font-size: 16px;
    font-weight: 400;
    color: #4E4E4E;
}

.content-block{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 100px;
}

.set{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 150px;
    grid-gap: 10px;
}

.juice{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    grid-gap: 10px;
}

.content-set-block{
    width: 100%;
    height: 100%;
    background-color: #50C888;
    border-radius: 10px;
    overflow: hidden;
}

.content-set-box{
    width: 100%;
    height: 100%;
    display: flex;
}

.content-set-img-block{
    width: 30%;
    height: 100%;
}

.content-set-inf-block{
    width: 70%;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.content-set-inf-box{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
}

.content-set-inf-top{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.content-set-inf-bottom{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-set-img{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.content-set-name{
    font-size: 30px;
    font-weight: 700;
    color: white;
}

.content-set-descr{
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.content-set-price{
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.content-set-counter{
    width: 80px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0px 5px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: #50C888;
}

.content-set-minus{
    font-size: 20px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.content-set-plus{
    font-size: 20px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.content-set-total{
    font-size: 12px;
    font-weight: 700;
    color: white;
}


.content-juice-block{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 5px;
    background-color: #50C888;
    border-radius: 5px;
}

.content-juice-box{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
}

.content-juice-img{
    width: 100%;
    height: 50%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.content-juice-inf-block{
    display: flex; 
    flex-direction: column;
    gap: 4px;
}

.content-juice-counter{
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1.5px solid #fff;
    padding: 5px;
    border-radius: 5px;
}

.content-juice-name{
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.content-juice-price{
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.content-juice-minus{
    font-size: 20px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.content-juice-plus{
    font-size: 20px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.content-juice-total{
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}


/* footer */

footer{
    padding: 18px 0px;
    background-color: #50C888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    bottom: 0%;
    z-index: 10;
}




/* book window */

.book-window{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 100%;
    z-index: 11;
    transition: 300ms;
    background-color: white;
}

.book-wrapper{
    width: 100%;
    height: calc(100% - 44.67px);
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.window-book-head{
    width: calc(100% - 20px);
    height: 50px;
    box-sizing: border-box;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 70px auto;
    margin-bottom: 0px;
    background-color: #50C888;
    border-radius: 5px;
}

.window-book-head-text{
    width: 33%;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.window-exit{
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.window-head-box{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 70px;
}

.window-head{
    font-size: 30px;
}

.window-block{
    width: 96%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.window-delivery {
    font-size: 30px;
}

.window-total{
    width: 100%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-btn{
    width: 100%;
    background-color: #50C888;
    color: white;
    font-size: 20px;
    font-family: 'Intro-Bold';
    padding: 18px 0px;
    cursor: pointer;
    position: absolute;
    bottom: 0%;
    left: 0%;
}

.window-box{
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0px 10px;
    border-bottom: 1px solid #50C888;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-name{
    width: 33%;
    font-size: 15px;
    font-weight: 700;
}

.window-price{
    width: 33%;
    font-size: 15px;
    font-weight: 600;
}

.window-counter{
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.window-minus{
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.window-plus{
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.window-counter-total{
    font-size: 15px;
    font-weight: 700;
}



/* fix */

.fix-container{
    height: 100%;
    position: fixed;
    top: 100%;
    left: 0%;
    z-index: 18;
    background-color: #0000005c;
}

.alert-window{
    width: 70%;
    height: 120px;
    background-color: white;
    position: absolute;
    z-index: 2;
    top: calc(50% - 60px);
    left: 15%;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.alert-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    padding-left: 5px;
    margin-top: 25px;
    gap: 10px;
}

.alert-btn{
    font-family: 'Intro-Bold';
    width: 100%;
    height: 25%;
    background-color: #50C888;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}




@media screen and (max-width: 400px) {
    .content-wrapper{
        width: 96%;
    }
}