@media (max-width: 1068px) {

  body {
    --mob-is: 1;
  }

  @keyframes scroller {
    0% {
      transform: translateX(0%);
    }

    10% {
      transform: translateX(0%);
    }

    /* ‘pauses’ the scroller at the end for 20% of the time */
    55% {
      /* Translate will use the width of the element so 100% scrolls it’s full length. add the width of the marquee to stop smaller items scrolling */
      transform: translateX(calc(-100% + 100px));
    }


    100% {
      transform: translateX(calc(0% + 0px));
    }
  }

  .alert_holder .inner {
    overflow: hidden;
    position: relative;

  }

  .alert_holder .inner .marquee {
    animation: scroller 15s linear infinite;
    white-space: nowrap;
    padding: 0px 20px;
  }

  .show_mini {
    display: block !important;
  }

  .hide_mini {
    display: none !important;
  }

  .hide_mini_inln {
    display: none !important;
  }

  .show_mini_inln {
    display: inline-block !important;
  }

  .only_mob {
    display: block;
  }

  body .top-ph {
    position: relative;
  }

  .logo-right {
    display: none;
  }

  .ann-rub {
    display: none;
  }

  .top-background {
    display: none;
  }

  .menu-background {
    display: none;
  }

  .tags-filter {
    text-align: center;
    -ms-overflow-style: none;
    overflow: auto;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    width: 100%;
  }

  .tags-filter::-webkit-scrollbar {
    width: 0;
  }

  .tags-filter>A {
    margin-right: 10px;
    white-space: nowrap;
  }

  .gamburger111 {
    position: absolute;
    left: 20px;
    top: 27px;
    cursor: pointer;
  }

  body.header--fixed .gamburger {
    top: 27px;
  }

  .gamburger>* {
    font-size: 36px;
  }

  .top {
    width: 100vw;
  }

  .items-ph .item ._modificators {
    position: relative;
    bottom: 0px;
    left: 0px;
    padding: 10px 0px;
    right: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  a.maintitle {
    font-size: 23px;
    line-height: 27px;
  }

  .rubric_counts {
    font-size: 28px;
    line-height: 30px;
  }

  .rubric_title {
    position: sticky;
    top: 0px !important;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .alltitle.show_all {
    width: 35px;
  }

  .alltitle.show_all:before {
    content: "Все";
  }

  .orange_but {
    font-size: 24px;
    width: 100%;
  }

  .green_but {
    font-size: 24px;
    width: 100%;
    max-width: calc(100vw - 70px);
  }


  .rating_block>div {
    display: block;
  }

  .rating_block>div+span {
    margin-left: 0px;
  }

  .mob-menu {
    position: fixed;
    top: 0px;
    left: -100vw;
    width: 100vw;
    bottom: 0px;
    z-index: 2000;
    transition: all 0.2s ease;
    background-color: white;
  }

  .mob-menu .list {
    position: absolute;
    top: 80px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .mob-menu .gamburger {
    position: absolute;
    top: 15px;
    left: 15px;
  }

  #mob-menu-bg {
    display: block;
    opacity: 0;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: #ebe4d286;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.4s ease-in;
    z-index: -1;
  }

  body.menu_vis #mob-menu-bg {
    opacity: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s ease-out;
    z-index: 1999;
  }

  body.header--fixed .mob-menu .list {
    top: 80px;
  }

  .mob-menu .list A {
    line-height: 30px;
  }

  h1 {
    margin-top: 0px;
    font-size: 32px;
    line-height: 36px;
    text-align: center;
    padding-bottom: 40px !important;
  }

  h2.h1 {
    font-size: 25px;
    line-height: 25px;
    padding-bottom: 40px !important;
  }

  .row {
    grid-template-columns: repeat(1, 1fr);
  }

  .news-ph {
    margin-bottom: 10px;
  }

  .news_img {
    margin-bottom: 20px !important;
  }

  .offerann {
    margin-top: 5px;
  }

  .section-content img[align="right"] {
    display: none;
  }

  .section-content .bottom-title {
    width: 100% !important;
    font-size: 21px;
    line-height: 22px;
  }

  body.menu_vis .mob-menu {
    left: 0px;
    transition: all 0.2s ease;
    z-index: 10000 !important;
  }

  .logo_link {}


  .top .logo {
    border-right: 0px;
    width: 100vw;
    text-align: center;
    display: grid;
    align-items: center;
    grid-template-columns: 65px 35px 1fr 35px 65px;
  }



  .logo .basket {
    /*  position: absolute;
    right: 30px;
    width: auto;
    top: 25px;*/

    width: auto;
    top: 0px;

  }

  .logo .basket>a {
    display: inline-block;
    position: relative;
    top: -7px;
  }

  .logo .basket .basketlink {
    display: none;
  }

  .basketlink {
    display: none;
  }

  .logo img {
    max-width: 100px;
    height: auto;
  }

  .logo_img {
    width: auto;

    max-height: 55px;
  }

  #payment_sum {
    display: block;
    position: relative !important;
    margin: 0px !important;
  }

  .top-ph-ph {
    height: 72px;
    margin: 0px auto 0px;
    position: sticky;
    top: 0px;
  }

  body.with_alert .top-ph {
    top: 0px;

  }

  .section-banners {}

  .items-ph .item {
    background-color: white;
    border-radius: 4px;

    height: auto !important;

    box-sizing: border-box;

    margin-bottom: 10px;
  }

  .item .flags {
    right: 5px;
    top: 5px;
  }

  .items-ph .item img {
    width: 100%;
  }

  .items-ph .item .ann-item {
    padding-top: 0px;
    height: auto !important;
  }

  .items-ph .item .ann-item:empty {
    display: none;

  }

  .items-ph .item ._bottom {
    position: static;
  }

  .banner-item .inner {
    margin: 0 auto;
    width: 100%;
    left: calc(50% - 45vw);
  }

  .slick-dotted.slick-slider {
    margin-bottom: 0px !important;
  }

  .banner-item .inner div {
    width: 100% !important;
    position: absolute !important;
    bottom: 20px !important;
  }

  .slider-banners .slick-slide {}

  .slider-banners .slick-slide {
    background-repeat: no-repeat !important;
  }

  .main {
    width: 100vw;
    max-width: 100%;
    margin: 35px 0px;
    padding: 0px 20px;
    box-sizing: border-box;
  }

  main.into {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  body.pg_basket .main {
    padding: 0px 0px !important;
  }

  .profile-top-mob {
    /*position: absolute;
    right: 90px;
    top: 26px;
    opacity: 1;*/
  }

  .phone-top1 {
    position: absolute;
    left: 75px;
    width: auto;
    top: 27px;
  }

  .phone-top span {
    font-size: 32px;
  }

  .ann-rub {
    padding-top: 35px;
    padding-bottom: 35px;
    width: 100%;
    font-size: 14px;
    line-height: 18px;
  }

  .items-ph {
    display: grid;
    width: calc(100vw - 40px);
    grid-template-columns: repeat(1, 100vw);
    grid-gap: 15px;
    margin-bottom: 0px;
    margin-top: 20px;
  }

  .item {
    width: calc(100vw - 40px);
    text-align: center;
  }

  .bot>div {
    flex: 0 1 100%;
  }

  span.delim {
    display: block;
  }

  .bottom-text {
    font-size: 15px;
  }

  .bot>div:last-child {}

  .bottom-background {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .bot {
    width: 100%;
    padding: 0px 20px;
    box-sizing: border-box;
  }

  #popup-ph .item-card {
    flex-direction: column;
  }

  #popup-ph {
    width: 100vw;
    height: 100vh;
    left: 0px;
    top: 0px;
  }

  .slider-banners .slick-dots {
    max-width: calc(100vw - 0px) !important;
    left: 15px !important;
  }

  #popup-ph .item-card .image_ph {
    width: 100% !important;
    height: 50vh;
    flex: 0 1 50vh;
  }

  #popup-ph .item-card .image {
    height: 50vh !important;
    width: 100vw !important;
  }

  #popup-ph .item-card .info {
    width: 100%;
    flex: 0 1 50%;
    padding-right: 0px;
    padding: 20px;
    justify-content: start;
  }

  #popup-ph .item-card .info h1 {
    margin-top: 0px;
  }

  #popup-ph .item-card .info .item-order-block {
    position: absolute;
    bottom: 30px;
    right: 20px;
    left: 20px;
    width: auto;
  }

  .basket-items-holder {
    margin-bottom: 20px;
  }

  .next-button-holder {
    position: sticky;
    bottom: 0px;
    padding: 10px;
    box-sizing: border-box;
    margin: 0 -20px;
    z-index: 10;
    background: #ffffff66;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .next-button-holder .next_but {
    margin-top: 0px;
  }

  .next-button-holder br {
    display: none;
  }

  .next-button-holder .goodlink {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 5px;
  }

  .section-content {
    /*overflow: auto;*/
    width: 100%;
    margin: 0 auto;
    padding: 0px 20px;
    box-sizing: border-box;
  }

  .order_steps {
    box-sizing: border-box;
    width: 100%;
    margin: 0px !important;
  }

  .order_steps>.order_step {
    margin-bottom: 35px;
  }

  .order_steps>.order_step .header {
    font-size: 22px;
    line-height: 22px;

    margin-bottom: 20px;
    margin-top: 0px;
  }

  .basket-item .item-order-block .price {
    display: none;
  }

  .next_but {
    width: 100%;
    margin-top: 20px;
  }

  .itemtitle-ph {
    padding-bottom: 10px;
  }

  .basket-item .itemtitle-ph {
    flex: 0 1 calc(100% - 130px);
    padding-top: 25px;
    padding-left: 10px;
  }

  .basket-item {
    position: relative;
    align-items: start;
    padding: 0px 0px;
  }

  .basket-item .item-order-block {
    position: absolute;
    bottom: 20px;
    left: 140px;
  }

  .basket-item .item-order-block .fullprice {
    font-size: 17px;
    line-height: 17px;
    margin-left: 10px;
  }

  .form_step_2 {
    margin-top: 10px;
  }

  .form_step_2 .flex_itogo {
    margin-top: 20px !important;
  }

  .form_step_2 .payment_type_ext {
    margin-top: 15px !important;
  }

  .order_steps>.order_step .data .next_but {
    width: 100% !important;
    font-size: 19px !important;
  }

  .accept_block {
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
    font-size: 13px;
    line-height: 20px;
  }

  .delivery_block {
    margin-bottom: 20px;
  }

  .delivery_block .inner {
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .delivery_block .inner ._pod {
    flex: 0 1 calc(50% - 10px);
  }

  .delivery_block .inner ._corpus {
    flex: 0 1 calc(50% - 10px);
    margin-top: 20px;
  }

  .delivery_block .inner ._floor {
    flex: 0 1 calc(50% - 10px);
    margin-top: 20px;
  }

  .delivery_block .inner ._house {
    flex: 0 1 calc(50% - 10px);
  }

  .delivery_block .inner ._apart {
    flex: 0 1 calc(50% - 10px);
    margin-top: 20px;
  }

  .inner_contacts {
    flex-wrap: wrap;
  }

  .inner_contacts ._name {
    flex: 0 1 calc(100% - 0px) !important;
    margin-bottom: 20px;
  }

  .inner_contacts ._phone {
    flex: 0 1 calc(75% - 10px) !important;
  }

  .inner_contacts ._person {
    flex: 0 1 calc(25% - 10px) !important;
  }

  .bot .icons {
    display: flex;
  }

  .bot .icons .app img {
    max-width: 100%;
  }

  .lim {
    padding-bottom: 20px;
  }

  .tags-filter .tag {
    margin-bottom: 10px;
    height: 14px;
  }

  body.pg_static .section-content img {
    max-width: 100%;
    height: auto !important;
  }

  body.pg_static .section-content-title {
    margin-bottom: 15px !important;
  }

  .main.inner {
    margin-top: 30px;
    margin-bottom: 0px;
  }

  main.into .main.inner {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  body.pg_profile .inp {
    width: 100% !important;
  }

  .basket-item {
    margin: 0px -20px !important;
    width: 100vw;
  }

  .delivery_type .chk-but {
    font-size: 15px;
  }

  .bonuses_title {
    display: inline-block !important;
    position: absolute;
    right: 20px;
    font-size: 18px;
  }

  .bonuses_title>img {
    width: 18px;
    margin-top: -3px;
  }

  .rubrics_inners {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .slider-banners .slick-dots {
    bottom: 10px !important;
  }

  .banner-item .into_banner_block {
    bottom: 30px;
  }

  .banner-item .into_banner_block.big {
    font-size: 23px;
    line-height: 22px;
  }

  .section-content-title ._mtitle,
  h1 ._mtitle,
  h2 ._mtitle {
    font-size: 38px;
  }

}

@media (min-width: 500px) and (max-width: 1068px) {
  .items-ph {
    grid-template-columns: repeat(2, 1fr);
  }

  .item {
    width: auto;
  }
}

@media (min-width: 800px) and (max-width: 1068px) {
  .items-ph {
    grid-template-columns: repeat(3, 1fr);
  }

  .item {
    width: auto;
  }
}

@media (min-width: 1069px) and (max-width: 1300px) {
  .items-ph {
    grid-template-columns: repeat(3, 1fr);
  }

  .item {
    width: auto;
  }

  .addr_phone {
    display: none;
  }

  #map {
    display: none;
  }

  .top {
    max-width: 92vw;
  }

  .main {
    max-width: 92vw;
  }

  .items-ph {
    max-width: 92vw;
  }




}