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

body {
    font-family: "Poppins", sans-serif;
    color: rgba(0, 0, 0, 1);
    background-image: linear-gradient(rgba(244, 236, 225, 1), rgba(252, 251, 247, 1));
    border-radius: 24px;
    margin: 0;
    padding: 0;
}

.body__container {
    max-width: 1511px;
    margin: 0 auto;
    padding: 0 87px;
}

nav {
    margin-top: 30px;
    margin-bottom: 37px;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.left-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo-text {
    font-weight: 600;
    font-size: 32px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    font-weight: 400;
    font-size: 20px;
}

.nav-link {
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 8px 16px;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search__submit {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.search__icon {
    width: 18px;
    height: 18px;
}

.search__input {
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    width: 140px;
    outline: none;
}

.search__input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.line {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
}

.cart__link {
    position: relative;
    display: flex;
    text-decoration: none;
}

.cart__icon {
    width: 20px;
    height: 20px;
}

.cart__num {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: rgba(236, 38, 51, 1);
    color: white;
    font-size: 10px;
    font-weight: 500;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.main__left {
    flex: 1;
}

.main__right {
    flex: 0 0 auto;
    width: 600px;
}

.logo {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
}

.logo__part1 {
    color: rgba(255, 126, 0, 1);
    font-weight: 700;
    font-size: 110px;
    line-height: 1;
}

.logo__part2 {
    font-size: 48px;
    font-weight: 700;
    color: rgba(47, 47, 47, 1);
    line-height: 1.1;
}

.main-paragraph {
    font-size: 20px;
    font-weight: 400;
    color: rgba(144, 144, 144, 1);
    max-width: 500px;
    margin-bottom: 30px;
}

.button-elements {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.button__elem1 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    background-color: black;
    padding: 16px 36px;
    border-radius: 60px;
    cursor: pointer;
}

.button__circle {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.button__triangle {
    width: 0;
    height: 0;
    border-left: 10px solid black;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}

.button__elem2 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(47, 47, 47, 1);
}

.rating {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stars {
    display: flex;
    gap: 4px;
}

.rating__star {
    width: 18px;
    height: 18px;
}

.bold-text {
    font-size: 16px;
    font-weight: 600;
    color: rgba(47, 47, 47, 1);
}

.grey-text {
    font-size: 14px;
    font-weight: 300;
    color: rgba(144, 144, 144, 1);
}

.img__bigfood {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .body__container {
        padding: 0 40px;
    }

    .nav-menu {
        gap: 25px;
        font-size: 18px;
    }

    .logo__part1 {
        font-size: 80px;
    }

    .logo__part2 {
        font-size: 36px;
    }

    .main__right {
        width: 450px;
    }
}

@media (max-width: 900px) {
    .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .body__container {
        padding: 0 20px;
    }

    .container {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .nav__actions {
        justify-content: center;
    }

    main {
        flex-direction: column;
    }

    .main__left {
        text-align: center;
    }

    .main__right {
        width: 100%;
    }

    .logo {
        flex-direction: column;
        align-items: center;
    }

    .logo__part1 {
        font-size: 60px;
    }

    .logo__part2 {
        font-size: 30px;
    }

    .button-elements {
        flex-direction: column;
    }

    .button__elem1 {
        width: 100%;
        text-align: center;
    }
}