* {
    padding: 0;
    margin: 0;
    border: none;
    font-family: 'tilda';
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
    font-family: var(--first-family);
}

html {
    margin: 0;
    box-sizing: border-box;
    font-size: 10px;
}

@font-face {
    font-family: "tilda";
    src: url(./fonts/TildaSans-VF.woff) format("woff"),
        url(./fonts/TildaSans-VF.woff2) format("woff2");
}

button {
    background: transparent;
}

.container {
    max-width: 1110px;
    margin: 0 auto;
    width: 100%;
}


header {
    background-color: #f2fedc;
    width: 100%;
    height: auto;
    display: flex;
    padding: 0 2rem;
}

.logo {
    width: 139px;
    margin-left: 46px;
    position: absolute;
    margin-top: 17px;
}

.name {
    font-size: 2rem;
    padding-left: 180px;
    font-family: "tilda";
    line-height: 43px;
    font-size: 28px;
    font-weight: 700;
    position: inherit;
}

.header-section {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 27px;
    padding-top: 27px;
}

.nav-header {
    display: flex;
    align-items: center;
}

.nav-btns {
    display: inline-block;
    width: auto;
    height: 5rem;
}

.nav-btn {
    background-color: transparent;
    height: 5rem;
    text-align: center;
    margin-left: 15px;
    margin-right: 2px;
    transition: 0.2s ease-in;
    font-size: 18px;
    font-family: "tilda";
    line-height: 1.55;
    font-weight: 300;
    cursor: pointer;
}

.nav-btn:hover {
    color: #ffbe16;
    font-weight: bold;
}

.teleph {
    font-family: "tilda";
    color: #f33340;
    margin-left: 45px;
    font-size: 24px;
    font-weight: 700;
}

.invis {
    margin-right: -220px;
}



/*HEADER-1 END*/

/* header - 2 start */

.header-2 {
    background-color: #f2fedc;
    padding-bottom: 7rem;
    text-align: center;
}


.header {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    font-size: 46px;
    position: static;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}


.sushi {
    width: 286px;
    height: 381px;
    margin-left: 400px;
    position: absolute;
    margin-top: 65px;
}

.shashl {
    width: 575px;
    height: 479px;
    position: absolute;
    transform: rotate(10deg);
    margin-top: 280px;
    margin-left: 460px;
}

.pizza {
    width: 531px;
    height: 397px;
    position: absolute;
    margin-left: 970px;
    margin-top: 125px;
}

.header_two_container {
    display: grid;
    place-items: center;
}

.addition-info {
    font-size: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 50rem;
}



.contact-info {
    font-size: 16px;
    display: flex;
    align-items: center;
    width: 35rem;
    height: 44px;
    margin-top: 15px;
}

.phones {}

.contact-info .phone-1 {
    font-size: 22px;


}

.contact-info .phone-2 {
    font-size: 22px;

    line-height: 43px;
}

.contact-info .phone-icon {
    width: 26px;
    height: 26px;
    margin-left: 30px;
}


.discount {
    font-size: 22px;

}




.address-block {
    font-size: 22px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    height: 44px;
    margin-top: 2.5rem;
}






.location {
    width: 26px;
    height: 26px;

}

.instagram {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 400;
    margin-top: 25px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.insta-icon {
    width: 26px;
    height: 26px;
    margin-right: 12px;

}

/*MAIN START*/
main {
    margin-bottom: 5rem;
}

.main__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid black;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.main__nav_btn {
    /* border-bottom: 2px solid black; */
    width: 20rem;
    margin-bottom: 2rem;
    height: 2rem;
    background-color: transparent;
    text-align: center;
    margin-left: 15px;
    margin-right: 2px;
    transition: 0.2s ease-in;
    font-size: 18px;
    font-family: "tilda";
    line-height: 1.55;
    font-weight: 300;
    cursor: pointer;
}

.nav-btn {
    background-color: transparent;
    height: 5rem;
    text-align: center;
    margin-left: 15px;
    margin-right: 2px;
    transition: 0.2s ease-in;
    font-size: 18px;
    font-family: "tilda";
    line-height: 1.55;
    font-weight: 300;
    cursor: pointer;
}

.main__nav_btn:hover {
    color: #ffbe16;
    font-weight: bold;
}


.product__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    place-items: center;
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; */

}

.product__card {
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 34.5rem;
    box-shadow: 4px 4px 10px 0px rgba(34, 60, 80, 0.2);
    margin-bottom: 2rem;
}

.product__card:hover {
    transition: 0.3s ease-in-out;

    box-shadow: 11px -25px 62px 0px rgba(0, 0, 0, 0.25);
}

.card__image img {
    width: 34.5rem;
    height: 30rem;
    border-radius: 2rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 1.5rem;

}

.card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card__price {
    font-size: 3vh;
    color: #019849;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.discount {
    font-size: 3vh;
    color: #ff0303;
    text-decoration: line-through;
}

.product_name_item {
    line-height: 1;
    color: #000000;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.product_disc_item {
    line-height: 1.2;
    color: #7d7d7d;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card__disc_button {
    margin-bottom: 3.5rem;
}

.disc__button_item {
    color: #ffffff;
    background-color: #019849;
    border-radius: 9px;
    padding: 1rem 7.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.card__bottom_btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;

}

.card__counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 0.6rem 0.4rem;
    border-radius: 9px;
    border: 1px solid black;
    margin-right: 0.5rem;
}

.conter__btn {
    background: transparent;
}

.conter__btn img {
    width: 16px;
    height: 16px;
}

.counter_nums {
    font-size: 14px;
    line-height: 1.55;
    padding: 0 4rem;
}


.bottom__button_item {
    color: #ffffff;
    background-color: #000000;
    border-radius: 9px;
    padding: 1rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    transition: 0.3s ease-in-out;
}

.bottom__button_item:hover {
    background-color: #019849;

}


/*FOOOOOOOOOOOOOOOOOOOOOOTTTTTTTTTTTTTTTTTEEEEEEEEEERRRRRRRRRRRR*/

.footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;

}


.footer .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}


.footer-info {
    max-width: 300px;
}

.footer-info h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 37px;
    font-weight: 400;
}

.footer-info p {
    color: #019849;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
}


.footer-info a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 21px;
    font-weight: 900;
    line-height: 33px;
    align-items: center;
    text-align: center;

}

.footer-info .footer-tel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
}

.footer-info .footer-tel img {
    width: 26px;
    height: 26px;

}

.footer-about {
    line-height: 28px;
    font-size: 16px;
}


.footer-about {
    line-height: 28px;
    font-size: 16px;
}

.footer-about a {
    cursor: pointer;
    color: #f0f0f0;
    font-weight: 400;
    font-size: 16px;
}

.footer-about .delivery {
    line-height: 50px;
}


.footer-about h4 {
    font-size: 18px;
    font-weight: 700;
}


.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links .qr-section {
    display: block;
    width: 150px;
    align-items: center;
    text-align: center;


}




.footer-links .qr-section img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.footer-links .qr-section p {
    font-size: 16px;
    font-weight: 400;
}




.footer-links .socials a {
    color: #ff007f;
    font-size: 16px;

}

.footer-map iframe {
    border: none;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    color: #aaa;
}



.info_wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 4;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in, visibility 0.4s ease-in;

}

.overlay.show {
    opacity: 1;
    visibility: visible;

}

.show-info-adress {
    background-color: #0f0f0f;
    position: relative;
    padding: 45px 120px;
    color: #f0f0f0;
    transition: opacity 0.4s ease-in, visibility 0.4s ease-in;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.show-info-adress.show {
    opacity: 1;
    visibility: visible;
}

.show-info-adress p {
    font-size: 18px;
}

.show-info-adress h1 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

/*HEADER ADPTIVE START*/

.header__logo_mobile {
    display: none;
}

@media(max-width:1300px) {
    .nav-btns .nav-btn {
        font-size: 1.6rem;
    }

    .teleph {
        font-size: 1.6rem;
    }
}


/*CARDS ADAPTIVE*/

@media (max-width:1024px) {
    .product__card {
        max-width: 30rem;
    }

    .card__image img {
        max-width: 30rem;
    }

    .main__nav {
        overflow-x: scroll;
        max-width: 900px;
        white-space: nowrap;
    }

    /* header{
        display: none;
    } */
    .logo {
        display: none;
    }

    .name {
        display: none;
    }

    .header__logo_mobile {
        display: flex;
        align-items: center;
    }

    .logo_mobile {
        width: 80px;

    }

    .name__mobile {
        font-size: 2rem;
        font-family: "tilda";
        line-height: 43px;
        font-size: 28px;
        font-weight: 700;
        position: inherit;
    }

    .nav-btns .nav-btn {
        font-size: 1.3rem;
    }
}

@media (max-width:960px) {
    .product__cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        margin-top: 3rem;
    }
}


/*CODE CHANGES*/

.checkout-button {
    background-color: #019849;
    padding: 1rem;
    display: flex;
    border-radius: 50%;
    align-items: center;
}


.header_mobile {
    display: none;
}

/*HEDER ADAPTIVE*/

@media (max-width:768px) {
    .header__main {
        display: none;
    }

    .header_mobile {
        display: flex;
        align-items: center;

    }

    .header {
        padding-top: 3rem;
        font-size: 2.2rem;
    }

    .header .name {
        margin-top: 3rem;
    }

    .off_screen_menu {
        height: 100vh;
        width: 100%;
        max-width: 300px;
        position: fixed;
        top: 0;
        right: -450px;
        background-color: #fff;
        transition: .3s ease;
        padding: 48px 18px 38px;
    }

    .nav-btns {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 3rem;
        margin-bottom: 600px;
    }

    .off_screen_menu.active {
        right: 0;
        z-index: 2;
    }

    .off_screen_menu.hide {
        right: -450px;
        z-index: 2;
    }

    .cross {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-btns {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        font-size: 3rem;
        margin-top: 5rem;
        font-weight: 400;
        gap: 10px;
    }

    .nav-btns .nav-btn {
        font-size: 2.3rem;
    }

    .menu_bottom_phone {
        margin-bottom: 2rem;
    }

    .menu_bottom_phone p {
        font-weight: 300;
        font-size: 2rem;
    }

    .item_burger_btn {
        color: #ffffff;
        background-color: #019849;
        border-radius: 9px;
        padding: 1rem 1.5rem;
        font-size: 1.3rem;
        font-weight: 700;
        transition: 0.3s ease-in-out;
    }

    .logo {
        width: 90px;
    }

    .name {
        padding-left: 125px;
    }

    .discount {
        font-size: 2rem;
    }

    .header__logo_mobile {
        display: flex;
        align-items: center;
    }

    .logo_mobile {
        width: 80px;

    }

    .name__mobile {
        font-size: 2rem;
        font-family: "tilda";
        line-height: 43px;
        font-size: 28px;
        font-weight: 700;
        position: inherit;
    }

    .header__logo {
        display: none;
    }
}



@media (max-width:698px) {
    .teleph {
        display: none;
    }

    .header__logo {
        display: flex;
    }

    .header__logo {
        display: none;
    }

    .header__logo_mobile {
        display: block;
        display: flex;
        align-items: center;
    }

    .logo_mobile {
        width: 80px;

    }

    .name__mobile {
        font-size: 2rem;
        font-family: "tilda";
        line-height: 43px;
        font-size: 28px;
        font-weight: 700;
        position: inherit;
    }

    .product__cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .product__card {
        max-width: 25rem;
    }

    .card__image img {
        max-width: 25rem;
    }
}

@media (max-width:425px) {
    .product__cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .product__card {
        max-width: 35rem;
    }

    .card__image img {
        max-width: 35rem;
    }

    .footer-map iframe {
        max-width: 350px;
    }

    .addition-info {

        display: grid;
        place-items: center;
    }

    .address-block {
        width: auto;
    }

    .instagram {
        margin-right: 0;
    }
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    background-color: rgba(243, 243, 243, 1);
    padding: 10px 20px;
}

.order-item .card__image img {
    width: 70px;
    height: 70px;
    border-radius: 0;
}

.order__item_one {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order__name {
    font-size: 2rem;
    max-width: 200px;
}

.order__amount {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.amount {
    font-size: 2rem;
}

.inputs {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.checkout__input {
    width: 50%;
    padding: 1rem;
    border: none;
    border-radius: 0;
    background-color: rgba(243, 243, 243, 1);
}

input {
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    outline: none;
    box-shadow: none;
}

.total__cost {
    font-size: 2rem;
    margin-top: 3rem;
}

.send__order_btn {
    background-color: black;
    color: white;
    padding: 2rem 5rem;
    font-size: 1.5rem;
    border-radius: 1rem;
    transition: .3s ease-in-out;
    margin-bottom: 1rem;
}

.send__order_btn:hover {
    background-color: #019849;
    color: #fff;
}

@media (max-width:768px) {
    .order-item {
        flex-wrap: wrap;
    }

    .checkout__input {
        width: 100%;
    }

    .send__order_btn {
        display: flex;
        justify-content: center;
    }
}

.checkout {
    padding: 0 1rem;
}

.quantity-minus {
    font-size: 4rem;
    margin-bottom: 0.8rem;
}

.quantity-plus {
    font-size: 3.5rem;
}
@media (max-width:1750px){
    .invis{
        margin-right: 0px;
    }
}


#myBtn {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    /* Анимация появления/исчезновения */
}

.arrow_top-img {
    width: 50px;
    height: 50px;
}

#myBtn:hover {
    background-color: #555;
}

#myBtn.show {
    opacity: 1;
    /* Делает кнопку видимой */
    visibility: visible;
    /* Доступна для кликов */
}

.none{
    opacity: 0;
    visibility: hidden;
    background-color: rba();
    position: fixed;
    bottom: 90px;
    right: 6px;
    z-index: 99;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: .3s ease-in-out;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.none.show {
    opacity: 1;
    /* Делает кнопку видимой */
    visibility: visible;
    /* Доступна для кликов */
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn_wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 500px;
}
#clearCartButton{
    width: 92%;
    text-align: center;
}

@media (max-width:768px){
    .btn_wrapper{
        flex-direction: column;
        width: 100%;
    }
    #clearCartButton{
        width: 100%;
    }
}





/*SHIIIT*/

