body{ 
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

section {
    padding: 0;
    margin: 0;
}


h1, h2, h3, h4, h5, h6, p{
    margin: 0;
    
}

p{
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    margin: 0;
    padding-left: 0;
    list-style: none;
}

img{
    display: block;
    max-width: 100%;
    height: auto;
}

.container{
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* header */

.header-menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo{
    display: flex;
    gap: 4px;
    font-weight: 700;
    font-size: 14px;
    line-height: 129%;
    letter-spacing: -0.03em;
    color: #111;
    align-items: center;
    justify-content: center;
}

.logo-italic{
    font-style: italic;
}

.visually-hidden-pc{
    opacity: 0;
}

.nav-header{
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-list{
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.link-face-heder{
    stroke: #111;
    fill: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.soc-border{
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.menu-tab{
    display: none;
}

.burger-menu{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.burger{
    stroke: #111;
    stroke-width: 2px;
    fill: #111;
}

/*section-1 hero */

.hero{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #2e2f42;
    margin-left: auto;
    margin-right: auto;

    border-radius: 30px;
    background-image: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), url(../images/optimiz/chocolate_main-mob.jpg);
}

@media (min-resolution: 192dpi) {
    .hero{
        background-image: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), url(../images/optimiz/chocolate_main-mob-2@.jpg);
    }
}

.hero-container{
    padding: 395px 20px 20px 20px;
}

.hero-title{
    width: 250px;
    font-weight: 500;
    font-size: 20px;

    /* line-height: 24px; */ 
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #fff;
}

.title-dwn{
    display: none;
}

.hero-btns{
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-hero{
    margin-top: 20px;
    margin-bottom: 20px;
    background: #fd9222;
    border: none;
    border-radius: 100px;
    padding: 12px 28px;
    width: 120px;
    height: 41px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.hero-a{
    border: 1px solid #fff;
    border-radius: 100px;
    padding: 12px 28px;
    width: 159px;
    height: 41px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.scroll{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 12px;

    /* line-height: 14px; */ 
    line-height: 117%;
    letter-spacing: -0.03em;
    color: #fff;
}

/*section-2 description*/

.section-description{
    background-color: #1e1823;
    padding: 20px 0;
    margin-top: 80px;
}


.list-blok{
    padding-bottom: 20px;

}

.icon{
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 365px;
    width: 62px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-description{
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    padding-top: 22px;
    padding-bottom: 18px;
}

.txt-description{
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.7);
}

.hr{
    display: none;
}

/*section-3 ingredients*/

.section-ingredients{
    padding-top: 80px;
}

.section, .section-ingredients{
    padding-top: 80px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ingredients-title{
    font-weight: 600;
    font-size: 20px;

    /* line-height: 24px; */ 
    line-height: 120%;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: center;
    color: #111;
    width: 280px;
    padding-bottom: 32px;
    margin: 0 auto;
}

.orange-txt{
    color: #fd9222;
}

.ingredients-box{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}

.ingredients-blok-1, .ingredients-blok-1a, .ingredients-blok-2{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ingredients-blok-2{
    display: none;
}

.ingredients{
    border-radius: 15px;
    width: 260px;
    height: 270px;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 28px 28px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.orange{
    background-color: #fd9222;
}

.white{
    background-color: #fff;
    border: 1px solid #fd9222;
}

.blue{
    background-color: #1e1823;
}

.arrow{
    stroke: #fff;
    fill: #fff;
    align-self: flex-end;
}

.arrow-1{
    stroke: #fd9222;
    fill: #fd9222;
    align-self: flex-end;
}

.ingredients-txt{
    font-weight: 600;
font-size: 14px;

/* line-height: 18px; */ 
line-height: 129%;
letter-spacing: -0.02em;
text-transform: uppercase;
color: #111;
}

.white-txt{
    color: #fff;
}

/*section-4 made*/

.image-made-mob{
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 0 auto;
}

.image-made-tab, .image-made-pc{
    display: none;
}

.made-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.made-title{
    font-weight: 600;
    font-size: 18px;

    /* line-height: 24px; */ 
    line-height: 133%;
    color: #111;
    padding-bottom: 20px;
    width: 307px;
}

.made-article{
    border-radius: 15px;
    padding: 20px 14px;
    width: 335px;
    height: 456px;
    background: #fff;
    }

.line{
    display: flex;
    margin-bottom: 18px;
    align-items: baseline;
    gap: 5px;
}

.round{
    flex-shrink: 0;
}

/*section-5 products*/

.choco-list{
    display: flex;
    gap: 32px;
    flex-direction: column;
    align-items: center;
}

.choco-card{
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 15px;
    width: 335px;
    height: 364px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 32px 52px;
}

.info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 91px;
}

.info-title{
    font-weight: 600;
    font-size: 18px;

    /* line-height: 24px; */ 
    line-height: 133%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 2px;
}

.info-deskribe{
    font-weight: 400;
    font-size: 12px;

    /* line-height: 14px; */ 
    line-height: 117%;
    letter-spacing: -0.02em;
    color: rgba(17, 17, 17, 0.7);
    margin-bottom: 18px;
}

.buy{
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 100px;
    padding: 8px 20px;
    width: 94px;
    height: 33px;
    background-color: #fafafa;
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

/*section-6 section-top-sellers*/

.top-sellers-list{
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-2, .card-3{
    display: none;
}

.active{
    width: 344px;
    height: 544px;
}

.img-top{
    border-radius: 15px 15px 0 0;
    backdrop-filter: blur(15px);
    background: linear-gradient(161deg, rgba(253, 253, 255, 0.1) 0%, rgba(8, 2, 21, 0.1) 100%);
}

.active-down{
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    border-left: 1px solid rgba(17, 17, 17, 0.1);
    border-right: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 0 0 15px 15px;
    height: 72px;
    font-weight: 600;
    font-size: 18px;

    /* line-height: 24px; */ 
    line-height: 133%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*section-7 chocolate-loved*/

.chocolate-loved{
    padding-bottom: 80px;
    height: 550px;
}

.loved-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.elips-list{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.elips{
    position: relative;
    bottom: -80px;
}

.client{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: absolute;
    bottom: 60%;
    right: 20%;
    left: 25%;
}

.name{
    font-weight: 600;
    font-size: 18px;

    /* line-height: 24px; */ 
    line-height: 133%;
    text-align: center;
    color: #111;
}

.box-review{
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 15px;
    width: 335px;
    height: 200px;
    box-shadow: 0 9px 100px 0 rgba(17, 17, 17, 0.03);
    background: #fff;
    padding: 104px 18px 42px 18px;
    font-weight: 400;
    font-size: 14px;

    /* line-height: 18px; */ 
    line-height: 129%;
    letter-spacing: -0.02em;
    text-align: center;
    color: rgba(17, 17, 17, 0.7);
    padding-bottom: 90px;
}

.btn-review{
    border: 1px solid #fd9222;
    background: transparent;
    border-radius: 100px;
    padding: 12px 28px;
    width: 165px;
    height: 41px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #111;
    position: absolute;
    bottom: -150px;
}

/*footer*/

.footer{
    background: #1e1823;
    color: #fff;
}


.link-face{
    stroke: #fff;
    fill: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    width: 40px;
    height: 40px;
}

@media screen and (min-width: 768px){
    /*header*/

    .visually-hidden-mob{
        display: none;
    }

    .visually-hidden-pc{
        opacity: 1;
    }
    
    .menu-tab{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .burger-menu{
        display: none;
    }

    .menu-tab{
        display: flex;
        align-items: center;
        gap: 28px;
        justify-content: center;
    }

    .list-header{
        font-weight: 500;
        font-size: 14px;

        /* line-height: 16px; */ 
        line-height: 114%;
        letter-spacing: -0.02em;
        color: #111;
    }

    
    .nav-list{
        display: flex;
        gap: 30px;
        align-items: center;
        justify-content: center;
        gap: 20px;

    }

    .social-list{
        gap: 14px;
    }

    .link-face-heder{
        stroke: #111;
        fill: #111;border: 1px solid rgba(17, 17, 17, 0.1);
        border-radius: 10px;
        padding: 8px;
        width: 40px;
        height: 40px;

    }

    /*section-1 hero*/

    .hero{
        background-image: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), url(../images/optimiz/chocolate_main-tab.jpg);
    }

    .hero-title{
        font-size: 28px;
        width: 420px;
    }

    .title-dwn{
        display: inline;
    }

    
    .hero-box{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /*section-2 description*/

    .section-description{
        padding: 50px 0;
    }

    .description-list{
        display: flex;
        flex-wrap: wrap;
        column-gap: 88px;
        row-gap: 44px;
    }

    .list-blok{
        width: calc((100% - 48px) / 2);
    max-width: 308px;
    }

    /*section-3 ingredients*/

    .section, .section-ingredients{
        padding-top: 100px;
    }

    .ingredients-title{
        width: 430px;
        font-size: 24px;
        padding-bottom: 50px;
    }  

    .ingredients-list{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .ingredients-blok-1a{
    flex-direction: column-reverse;
    }

    .ingredients-blok-2{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .ingredients-blok-1{
        display: flex;
        flex-direction: column;
        gap: 32px;
        justify-content: center;
    }

    .ingredients-blok-1a{
        gap: 32px;
    }

    .ingredients-blok-2{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 32px;
        justify-content: center;
    }

    .ingredients-box{
        justify-content: center;
        gap: 32px;
        flex-direction: row;
    }

    .ingredients{
        width: 336px;
        height: 270px;
    }

    /*section-4 made*/

    .image-made-tab{
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 15px;
        margin: 0 auto;
    }

    .image-made-mob{
        display: none;
    }

    .made-article{
        width: 614px;
        height: 356px;
        padding: 32px;
    }

    /*section-5 products*/

    .choco-list{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        column-gap: 32px;
        flex-direction: row;
    }

    /*section-6 section-top-sellers*/

    .card-2{
        display: block;
    }

    .top-sellers-list{
        display: flex;
        gap: 32px;
        justify-content: center;
        align-items: center;
    }

    /*section-7 chocolate-loved*/

    .chocolate-loved{
        height: 620px;
    }

    .elips-list{
        display: flex;
        gap: 16px;
    }

    .btn-review{
        width: 222px;
        height: 50px;
        font-size: 18px;
        bottom: -170px;
    }

    /*footer*/


}

@media (min-resolution: 192dpi) {
    .hero{
        background-image: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), url(../images/optimiz/chocolate_main-tab-2@.jpg);
    }
}

@media screen and (min-width: 1158px){
    /*header*/

    .menu-tab{
        gap: 90px;
    }

    .nav-list{
        gap: 24px;
    }

    /*section-1 hero*/

    .hero{
        background-image: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), url(../images/optimiz/chocolate_main-pc.jpg);
    }

    /*section-2 description*/

    .description-list{
        gap: 44px;
    }

    .list-blok{
        padding-left: 44px;
        padding-right: 0;
    }

    .hr{
        display: block;
        width: 1px;
        height: 124px;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 110px;
        

    }

    .list-blok{
        width: 308px;
    }

    /*section-3 ingredients*/

    .ingredients-box, .ingredients-list{
        gap: 24px;
    }

    .ingredients-blok-1, .ingredients-blok-1a, .ingredients-blok-2{
        flex-direction: row;
        gap: 24px;
    }

    .ingredients{
        width: 260px;
        height: 270px;
    }

    /*section-4 made*/

    .image-made-pc{
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 15px;
        margin: 0 auto;
    }

    .image-made-tab{
        display: none;
    }

    .made-box{
        flex-direction: row;
    }

    /*section-5 products*/

    .choco-list{
        width: 1136px;
        column-gap: 18px;
        row-gap: 24px;
        margin: 0 auto;
    }

    .choco-card{
        width: 270px;
        height: 364px;
        width: calc((100% - 18px * 3) / 4);
    }

    /*section-6 section-top-sellers*/

    .card-3{
        display: block;
    }

    /*section-7 chocolate-loved*/

    .chocolate-loved{
        height: 660px;
    }

    .elips-list{
        gap: 28px;
    }

    /*footer*/

}

@media (min-resolution: 192dpi) {
    .hero{
        background-image: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), url(../images/optimiz/chocolate_main-pc-2@.jpg);
    }
}