.bg-gray {
    background: #F6F6F6;
    margin-top: 120px;
    margin-bottom: 90px;
}

.bg-gray.menu {
    background: #F6F6F6;
    margin-top: 180px;
}

p,
a,
h1,
h2,
h3 {
    margin: 0;
}

p {
    font-size: 1.1em;
}

a {
    text-decoration: none;
}

/*Header*/

img[data-bs-toggle="modal"] {
    cursor:pointer;
}

.header {
    background: white;
    border-radius: 0 0 10px 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0px 5px 25px 0px rgb(0 0 0 / 5%);
}

.header__pc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__pc-top__left {
    display: flex;
    align-items: flex-end;
    width: 200px;
}

.header__pc-top__left img {
    width: 100%;
    margin-right: 20px;
}

.header__pc-top__left-back {
    width: 100%;
    display: flex;
    align-items: center;
    background: #F6F6F6;
    cursor: pointer;
    user-select: none;
    border-radius: 10px;
    padding: 10px 20px;
}

.header__pc-top__left-back p {
    color: black;
}

.header__pc-top__right {
    display: flex;
    align-items: center;
    user-select: none;
    padding: 20px 0;
}

.header-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #F6F6F6;
    border-radius: 10px;
    margin-left: 50px;
    padding: 10px 20px;
    cursor:pointer;
}

.header-cart__left {
    margin-right: 50px;
}

.header-cart__middle {
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.header-cart__middle p:first-child {
    padding-right: 5px;
}

.header-cart__middle p:nth-last-child(2) {
    font-weight: 700;
    color: #FF3F2F;
    margin-right: 5px;
}

.header-cart__middle p:last-child {
    font-weight: 700;
    color: #FF3F2F;
}

.header-cart__right p {
    border: 1px solid black;
    border-radius: 5px;
    padding: 2px 10px;
}

.header__mobile-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.header__mobile-top__left {
    
}
.header__mobile-top__middle {
    margin-right: auto;
}

.header__mobile-top__middle img {
    width: 100%;
    max-width: 200px;
}

.header-mobile-top__right {
    padding: 20px 0;
}

.header__mobile-top__left-back img {
    background: #F6F6F6;
    border-radius: 50%;
    user-select: none;
    padding: 10px 15px;
}

/*Header-bottom*/

.header__bottom {
    background: #E9E6D1;
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
}

.header__bottom-scroll {
    display: flex;
    overflow-y: auto;
}

.header__bottom-scroll a {
    color: black;
}

.header__bottom-scroll__item {
    background: white;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    margin-right: 10px;
    margin-bottom: 5px;
    padding: 2px 10px;
    white-space: nowrap;
    cursor: pointer;
}

.scroll_to_cat {
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll_to_cat:hover {
  /* Стили при наведении */
  opacity: 0.8;
}

.header__bottom-scroll__item.active, .header__bottom-scroll__item:hover {
    color: #FF3F2F;
    background: white;
    border: 1px solid #FF3F2F;
    border-radius: 5px;
}

.header__bottom-scroll::-webkit-scrollbar {
    height: 5px;
    background: white;
    border-radius: 10px;
}

.header__bottom-scroll::-webkit-scrollbar-thumb {
    background: #FF3F2F;
    border-radius: 10px;
}


/*Content*/

/*Catalog*/

.catalog__item-link {
    display: block;
    width: 100%;
    user-select: none;
    background: white;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 10px;
}

.catalog__item-link img {
    width: 100%;
    margin-bottom: 5px;
}

.catalog__item-link h2 {
    color: black;
    font-size: 1.3em;
    text-align: center;
}



/*menu*/

.menu__item {
    width: 100%;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 25px;
    padding: 10px;
}

.menu__item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.menu__item-middle h2 {
    font-size: 1.3em;
}

.menu__item-middle p {
    color: #918C8C;
    font-size: 0.9em;
}

.menu__item-bottom {
    display: flex;
}

.menu__item-bottom p {
    font-size: 1.3em;
    font-weight: 700;
    color: #FF3F2F;
}

.menu__item-bottom p:first-child {
    margin-right: 5px;
}

/*Footer-mobile*/


.footer {
    background: #E9E6D1;
    position: fixed;
    cursor: pointer;
    user-select: none;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1061;
    padding: 20px 0;
}

.footer__mobile {
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.footer__mobile-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__mobile-middle p:first-child {
    margin-right: 5px;
}

.footer__mobile-middle p:nth-last-child(2) {
    font-weight: 700;
    color: #FF3F2F;
    margin-right: 5px;
}

.footer__mobile-middle p:last-child {
    font-weight: 700;
    color: #FF3F2F;
}

.footer__mobile-right p {
    border: 1px solid black;
    border-radius: 5px;
    padding: 2px 10px;
}


/*Modal*/

.modal-header {
    
}

.modal-header__pc {
    cursor: pointer;
    user-select: none;
}

.modal-header__pc-back {
    display: flex;
    background: #F6F6F6;
    border-radius: 10px;
    padding: 10px 20px;
}

.modal-header__pc-back img {
    margin-right: 20px;
}

.modal-header__mobile {
    width: 100%;
}

.modal-header__mobile-top {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    user-select: none;
}

.modal-header__mobile__left-back img {
    background: #F6F6F6;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px 15px;
}

.modal-header__mobile__middle img {
    width: 100%;
    max-width: 150px;
}

.modal-body {
    background: #EBE9E8;
}

.modal-item__left img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}

.modal-item__right__top {
    padding: 10px;
    background: white;
    border-radius: 10px;
    margin-bottom: 25px;
}

.modal-item__right__top__middle p {
    color: #918C8C;
    font-size: 1em;
}

.modal-item__right__top__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.modal-item__right__top__bottom button {
    color: white;
    background: #FF3F2F;
    font-size: 1.3em;
    font-weight: 700;
    user-select: none;
    border-radius: 10px;
    border-style: none;
    padding: 3px 15px 5px;
}

.modal-item__right__top__bottom__cost {
    display: flex;
}

.modal-item__right__top__bottom__cost p {
    font-size: 1.5em;
    font-weight: 700;
    color: #FF3F2F;
}

.modal-item__right__top__bottom__cost p:first-child {
    margin-right: 5px;
}

.modal-item__right__middle {
    background: white;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 10px;
}

.modal-item__right__middle h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.modal-item__right__middle p {
    font-size: 1em;
}

.modal-item__right__bottom {
    background: white;
    border-radius: 10px;
    margin-bottom: 100px;
    padding: 10px;
}

.modal-item__right__bottom__top h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.modal-item__right__bottom__bottom {
    display: flex;
    justify-content: space-between;
}

.modal-item__right__bottom__bottom-item__top {
    display: flex;
    align-items: center;
}

.modal-item__right__bottom__bottom-item__top img {
    margin-right: 5px;
}

.modal-cart {
    z-index: 1062;
}

.modal-cart__top {
    background: white;
    border-radius: 10px;
    margin-bottom: 25px;
}

.modal-cart__top__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.modal-cart__top__top-left {
    display: flex;
    align-items: flex-start;
}

.modal-cart__top__top-left__left {
    margin-right: 20px;
}

.modal-cart__top__top-left__left p {
    font-size: 1em;
    color: #918C8C;
}

.modal-cart__top__top-left__right img {
    width: 30px;
    border: 3px solid white;
    border-radius: 50%;
    margin-right: -15px;
}

.modal-cart__top__top-right img {
    background: #F6F6F6;
    border-radius: 50%;
    transform: rotate(.75turn);
    padding: 10px 15px;
}

.modal-cart__top__bottom {
    display: none;
    background: white;
}

.modal-cart__item {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #ebe9e8;
}

.modal-cart__item__left {
    margin-right: 20px;
}

.modal-cart__item__left img {
    width: 100%;
    max-width: 100px;
    border-radius: 10px;
}

.modal-cart__item__right__middle {
    display: flex;
    align-items: center;
}

.modal-cart__item__right__middle-left {
    display: flex;
    margin-right: 50px;
}

.modal-cart__item__right__middle-left p {
    font-size: 1.5em;
    font-weight: 700;
    color: #FF3F2F;
}

.modal-cart__item__right__middle-left p:first-child {
    margin-right: 5px;
}

.modal-cart__item__right__middle-right p {
    font-size: 1em;
    color: #918C8C;
}

.modal-cart__item__right__bottom button {
    font-size: 1.3em;
    background: #F6F6F6;
    border-radius: 10px;
    border-style: none;
    padding: 5px 15px;
}

.modal-cart__form h2 {
    margin-bottom: 25px;
    text-align: center;
}

.form-inputs input {
    display: block;
    width: 100%;
    border: 2px solid #918C8C;
    border-radius: 10px;
    outline: none;
    padding: 10px;
}

.modal-footer__cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.modal-footer__cart__left {
    display: flex;
}

.modal-footer__cart__left p {
    font-size: 1.5em;
    font-weight: 700;
    color: #FF3F2F;
}

.modal-footer__cart__left p:first-child {
    margin-right: 5px;
}


.modal-footer__cart__right button {
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    background: #FF3F2F;
    border: none;
    border-radius: 10px;
    padding: 5px 30px;
}



.modal-header__logIn__pc {
    display: flex;
    background: #F6F6F6;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
}

.modal-header__logIn__pc img {
    margin-right: 10px;
}

.modal-header__logIn__mobile {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.modal-header__logIn__mobile-right {
    width: 30px;
}

.modal-header__logIn__mobile
.modal-logIn__top {
    text-align: center;
    margin-bottom: 25px;
}

.modal-logIn__top {
    text-align: center;
    margin-bottom: 15px;
}

.modal-logIn__middle button {
    width: 100%;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    background: #FF3F2F;
    border: none;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 8px;
}

.modal-logIn__bottom__top {
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.modal-logIn__bottom__top p {
    font-size: .8em;
}

.modal-logIn__bottom__top a {
    font-size: .8em;
    margin-left: 5px;
}

.modal-logIn__bottom__bottom {
    text-align: center;
    text-decoration: none;
}

.modal-logIn__bottom__bottom a {
    font-size: .9em;
    font-weight: 600;
    color: black;
}

.header__mobile-top__right {
    width: 30px;
}

.profile-acc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-acc__left {
    display: flex;
    padding: 10px 25px;
}

.profile-acc img {
    margin-right: 20px;
}

.profile-main {
    display: flex;
}

.profile__left {
    display: flex;
    flex-direction: column;
    margin-right: 25px;
}

.navbar-toggler {
    margin-bottom: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.profile__left-button {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    text-align: left;
    color: black;
    width: 300px;
    background: white;  
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
    padding: 10px 25px;
}

.profile__left-button img {
    margin-right: 20px;
}

.profile__left-button.active {
    color: white;
    background: #FF3F2F;
}

.profile__left-button path {
    stroke: black;
}
.profile__left-button svg {
    margin-right: 20px;
}

.profile__left-button.active path {
    margin-right: 20px;
    stroke: white;
}

.profile__right-orders {
    width: 100%;
}

.profile__right-order {
    width: 100%;
}

.profile-order {
    width: 100%;
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 10px;
}

.profile-order__left {
    margin-right: 10px;
}

.profile-order__left img {
    width: 100%;
    border-radius: 10px;
}

.profile-order__right {
    width: 100%;
}

.profile-order__right-middle p {
    font-size: 0.9em;
    color: #918C8C;
}

.profile-order__right-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-order__right-bottom__left {
    display: flex;
}

.profile-order__right-bottom__left p {
    font-size: 1.5em;
    font-weight: 700;
    color: #FF3F2F;
}

.profile-order__right-bottom__left p:first-child {
    margin-right: 5px;
}

.profile-order__right-bottom__right p {
    font-size: 1.3em;
    background: #F6F6F6;
    border-radius: 10px;
    padding: 5px 15px;
}


.profile__right-settings {
    width: 100%;
}

.profile__right-settings__name {
    margin-bottom: 25px;
}

.profile__right-settings__phone {
    margin-bottom: 25px;
}

.profile__right-settings__email {
    margin-bottom: 25px;
}

.profile__right-orders__top {
    margin-bottom: 25px;
}

.profile__right-settings__top {
    margin-bottom: 25px
}

.profile__right-settings__top h2 {
    font-size: 2.5em;
}

.profile__right-settings__bottom p {
    color: #918C8C;
    font-size: 1em;
}

.btn__settings {
    font-size: 1.1em;
    font-weight: 700;
    color: white;
    width: 300px;
    border: none;
    background: #FF3F2F;
    border-radius: 10px;
    padding: 10px;
}

.profile__right-change-password {
    width: 100%;
}

.profile__right-change-password__top {
    margin-bottom: 25px;
}


.profile__right-change-password__old-password {
    margin-bottom: 25px;
}

.profile__right-change-password__new-password {
    margin-bottom: 25px;
}

.profile__right-change-password__confirm {
    margin-bottom: 25px;
}

.profile__right-change-password__bottom p {
    font-size: 1em;
    color: #918C8C;
}

.profile__right-orders__bottom {
    background: white;
    border-radius: 10px;
}

.profile__right-orders__bottom__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.profile__right-orders__bottom__top__left__top {
    display: flex;
}

.profile__right-orders__bottom__top__left__top h2 {
    font-size: 1.7em;
}

.profile__right-orders__bottom__top__left__bottom {
    display: flex;
}

.profile__right-orders__bottom__top__left__bottom p {
    color: #918C8C;
}

.profile__right-orders__bottom__top__left__bottom-number {
    display: flex;
    margin-right: 15px;
}

.profile__right-orders__bottom__top__left__bottom-number p:first-child {
    margin-right: 5px;
}

.profile__right-orders__bottom__top__left__bottom-cost {
    display: flex;
}

.profile__right-orders__bottom__top__left__bottom-cost P:first-child {
    margin-right: 5px;
}

.profile__right-orders__bottom__top__left__bottom-cost p:last-child {
    margin-left: 5px;
}

.profile__right-orders__bottom__top__right img {
    background: #F6F6F6;
    border-radius: 50%;
    transform: rotate(.75turn);
    padding: 10px 15px;
}

.profile__right-orders__bottom__bottom {
    display: none;
}

.profile__right-orders__bottom__bottom__bottom {
    display: flex;
    padding: 0 10px;
}

.profile__right-orders__bottom__bottom__bottom p {
    font-size: 2em;
    font-weight: 700;
    color: #FF3F2F;
}

.profile__right-orders__bottom__bottom__bottom p:first-child {
    margin-right: 5px;
}

.btn__change-password {
    font-size: 1.1em;
    font-weight: 700;
    color: white;
    width: 300px;
    border: none;
    background: #FF3F2F;
    border-radius: 10px;
    padding: 10px;
}

.orders__top {
    margin-bottom: 25px;
}

.orders__top h2 {
    font-size: 2.5em;
}

.orders-block {
    background: white;
    border-radius: 10px;
}

.orders-block__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.orders-block__top__left__top {
    display: flex;
}

.orders-block__top__left__top h2 {
    font-size: 1.7em;
}

.order-block__top__left__bottom p {
    color: #918C8C;
}

.orders-block__top__right img {
    background: #F6F6F6;
    border-radius: 50%;
    transform: rotate(.75turn);
    padding: 10px 15px;
}

.order {
    display: flex;
    padding: 15px;
}

.order__left img {
    width: 100%;
    border-radius: 10px;
}

.order__right__middle p {
    font-size: .9em;
    color: #918C8C;
}

.order__right__bottom {
    display: flex;
}

.order__right__bottom p {
    font-size: 1.3em;
    background: #F6F6F6;
    border-radius: 10px;
    padding: 5px 15px;
}

.order-block__top__left__bottom {
    display: flex;
}

.orders-block__bottom {
    display: none;
}

.order-block__bottom__bottom {
    padding: 15px;
}

.order-block__bottom__bottom h2 {
    font-size: 1.7em;
}

.order-status{
    font-size: 1.1em;
    border: none;
    border-radius: 10px;
    padding: 3px 10px;
}

.order-status.waiting {
    color: white;
    background: #FF3F2F;
}

.order-status.cooking {
    color: white;
    background: #f4d604;
}

.order-status.ready {
    color: white;
    background: #19AD42;
}

.order-block__take {
    font-size: 1.1em;
    font-weight: 700;
    width: 300px;
    color: white;
    background: #FF3F2F;
    border: none;
    border-radius: 10px;
    padding: 10px;
}

@media only screen and (min-width: 100px) {
    .header__pc {
        display: none;
    }


    .modal-header__pc {
        display: none;
    }
}

@media only screen and (min-width: 320px) {

    .header__mobile {
        display: block;
    }

    .modal-header__mobile {
        display: block;
    }

    .modal-header__logIn__pc {
        display: none;
    }

    .footer {
        display: block;
        padding: 10px 0;
    }

    .profile-content {
        display: block;
    }

    .profile-main {
        display: block;
    }

    .profile__left {
        margin-right: 0;
    }

    .profile-acc {
        margin-bottom: 10px;
    }

    .profile-acc__left {
        padding: 0
    }

    .profile__right-orders__top h2 {
        font-size: 2em;
    }

    .profile__right-settings__top h2 {
        font-size: 2em;
    }



    .profile__left-button {
        width: 100%;
    }
    
    .profile__right-settings__bottom h2 {
        font-size: 1.2em;
    }

    .profile__right-change-password__top h2 {
        font-size: 2em;
    }
    
}

@media only screen and (min-width: 425px) {
    .modal-logIn__bottom__top p {
        font-size: 1.1em;
    }

    .modal-logIn__bottom__top a {
        font-size: 1.1em;
    }

    .modal-logIn__bottom__bottom a {
        font-size: 1.1em;
    }
}

@media only screen and (min-width: 768px) {
    .footer {
        padding: 20px 0;
    }

    .profile-acc {
        margin-bottom: 20px;
    }

    .profile-acc__left {
        padding: 10px 25px;
    }

    .profile__left {
        margin-right: 25px;
    }

    .profile-content {
        display: flex;
    }

    .navbar-nav {
        flex-direction: column !important;
    }

    .profile__left-button {
        width: 300px;
    }
}

@media only screen and (min-width: 992px) {
    .bg-gray {
        margin-bottom: 0px;
    }

    .header__pc {
        display: block;
    }

    .header__mobile {
        display: none;
    }

    .modal-header__pc {
        display: block;
    }

    .modal-header__mobile {
        display: none;
    }

    .modal-header__logIn__pc {
        display: flex;
    }

    .modal-header__logIn__mobile {
        display: none;
    }

    .footer {
        display: none;
    }

    .profile__right-orders__top h2 {
        font-size: 2.5em;
    }
    

        .profile__right-settings__top h2 {
            font-size: 2.5em;
        }


    .profile__right-settings__bottom h2 {
        font-size: 1.4em;
    }

    .profile__right-change-password__top h2 {
        font-size: 2.5em;
    }

}

@media only screen and (max-width: 768px) {
    .menu__item-middle h2 {
        font-size: 1em;
    }
    .menu__item-bottom p {
        font-size: 1em;
    }
    .bg-gray.menu {
        margin-top: 150px;
    }   
    .modal-cart__item__right__middle-left {
        margin-right: 10px;
    }
    .modal-cart__item__left {
        min-width: 65px;
        max-width: 65px;
    }    
}