@media (max-width: 1900px) {
  .slider_post {
    left: 120px;
    top: 67px;
  }
}
@media (max-width: 1400px) {
  .slider_post {
    width: calc(100% - 140px);
  }

  .category_items_main {
    margin-right: 26px;
  }
  .slider_post h2 {
    font-weight: 700;
    font-size: 26px;
    line-height: 26px;
  }
  .lk_top_main {
    gap: 20px;
  }
  .lk_balance_moneybox p,
  .lk_balance p {
    text-align: center;
  }
  .header_item p {
    text-align: center;
  }
}
@media (max-width: 1200px) {
  .form_group_form_order{
    width: 100%;
  }
  .product_desc_main .title_prefix{
    display: none;
  }
  h1{
    font-size: 26px;
  }
  .title_product_min{
    display: flex;
    flex-direction: column;
  }
  .title_product_min .title_prefix{
    margin-top: 15px;
  }
  .form_order_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .profile_index .container {
    justify-content: center;
  }
  .block_left {
    max-width: 60%;
  }
  .product_forms {
    width: 100%;
  }

  .slider_post {
    top: 15px;
  }

  footer .header_items {
    display: none;
  }
  .logo_main svg {
    display: block;
    width: 140px;
  }
  .version_no_see .btn_mini {
    width: min-content;
  }
  .product_item_main .wish_prod {
    display: flex;
  }
  .dashboard_active {
    flex-wrap: wrap;
  }
  .product_content_img .swiper.mySwiper2 {
    width: 100%;
  }
  .reviews_index_main_top .swiper-button-next {
    right: 0;
  }
  .reviews_index_main_top .swiper-button-prev {
    left: 0px;
  }
  .product_cont_main {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  .product_image {
    width: 90%;
    height: auto;
    max-width: 400px;
  }
  .product_content_img {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 20px;
  }
  .product_desc_main {
    flex-direction: column-reverse;
  }
  .product_forms h1 {
    font-size: 22px;
  }
  .desc_product {
    margin-top: 20px;
  }
  .btns_product_cart {
    width: 100%;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .title_product_min {
    display: flex;
  }
  .backlight_main {
    gap: 20px;
  }
  .swiper-button-next {
    right: 0px;
  }
  .category_items_main {
    display: none;
  }
  .catalog_mobile_main_container {
    display: flex;
  }
  .catalog_mobile_main {
    width: 80%;
  }
  .category_filter {
    position: fixed;
    bottom: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: rgb(51, 51, 51);
    visibility: hidden;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    transition: 0.3s;
    z-index: 9999999999;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    overflow-y: scroll;
    height: 100vh;
    padding: 15px;
    box-shadow: 0px 0px 9.7px 0px #00000026;
  }
  .category_filter.show {
    visibility: visible;
    transform: translateX(-0%);
    transition: 0.3s;
    background-color: #fff;
  }
  .filter_btn {
    display: flex;
    gap: 5px;
  }
  .filter_btn img {
    width: 20px;
  }
  .category_rigth {
    flex: initial;
    width: 100%;
  }
  .close_filter_main {
    display: flex;
    justify-content: end;
    width: 100%;
  }
  .category_index .category_index_main.profile_index {
    align-items: center;
    justify-content: center;
  }
  .category_index .category_index_main.profile_index .title_index {
    justify-content: center;
  }
}
@media (max-width: 992px) {
  .product_content .title_product h1{
    font-size: 22px;
  }
  .title_prefix h2{
    font-size: 16px;
  }
  .block_left {
    max-width: 55%;
  }
  .color_product_main ul li {
    width: 80px;
  }
  .lk_top_main {
    margin-right: 30px;
  }
  .hits_main_parent .product_item_main {
    margin-right: 2%;
  }
  .slider_mini_title h2,
  .slider_mini_title h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .slider_top_main,
  .banner_post {
    min-height: 160px;
  }
  .post_article article {
    width: 100%;
  }
  .header_top_main {
    display: none;
  }
  .header_items_mobile_main {
    display: flex;
    padding: 6px 0;
  }
  .header_items_mobile {
    display: block;
  }
  .header_items {
    display: none;
  }
  .container {
    max-width: 100%;
  }

  h1 {
    font-size: 26px;
    line-height: 1.2;
  }
  .slider_video .slider_post h2 {
    font-size: 22px;
    line-height: 26px;
    width: 100%;
  }
  .slider_video .slider_post p {
    margin-bottom: 10px;
    margin-top: 10px;
    color: #fff;
    width: 100%;
  }
  .slider_top_item_img::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52));
    top: 0;
    left: 0;
  }
  .slider_post h1,
  .slider_post h2 {
    color: #fff;
  }
  .slider_post {
    left: 50px;
    width: calc(100% - 60px);
  }
  .hits_main_parent .product_item_main {
    width: 32%;
  }
  .header_items_mobile {
    display: flex;
    width: 50px;
  }
  .logo_main_p {
    padding-left: 0;
  }
  .header_items_mobile_main {
    flex-wrap: wrap;
    position: relative;
  }
  .bottom_mobile_head {
    display: flex;
    justify-content: end;
    gap: 15px;
    width: 100%;
    position: absolute;
    bottom: -30px;
    right: 0;
  }
  .slider_post h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .moneybox_item {
    flex-wrap: wrap;
    justify-content: center;
  }
  .main_complex {
    flex-wrap: wrap;
    justify-content: center;
  }
  .form_money_up {
    margin: 0 auto;
  }
  .profile_item_moneybox h3 {
    text-align: center;
  }
  .delivery td {
    display: flex;
    align-items: center;
    width: 100% !important;
    justify-content: center;
  }
  .delivery td img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
  }
  .delivery .news_post p {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .mobile_bottom_main{
    display: flex;
  }
  footer{
    position: relative;
    bottom: 51px;
    margin-top: 111px;
  }
  .home footer{
margin-top: 46px;
  }
  .categories_all_item .category_title {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .form_group_form .form_group_profile_address select{
    width: 100%;
  }
  .add_adr{
    width: 100%;
  }
  .form_group_profile_address{
    flex-direction: column-reverse;
  }
  .hits_order .prod_top_basket {
    margin-bottom: 0;
  }

  .category_sort_main .title_index {
    justify-content: center;
  }
  .primary_block .block_rigth {
    display: none;
  }
  .block_left {
    max-width: 100%;
  }
  .primary_block .container > .df {
    flex-direction: column;
  }
  .category_sort_main.category_sort_main_df h1 {
    font-size: 24px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: 30px;
  }

  .slider_mini_item {
    width: 100%;
  }
  .frame {
    padding: 30px 0;
  }
  .char_item_df {
    flex-direction: column;
  }
  .btns_product_cart_price {
    gap: 20px;
  }

  .btns_product_cart {
    flex-direction: column;
    justify-content: start;
    align-items: baseline;
  }
  .modal_title {
    margin-bottom: 20px;
  }
  .modal_reg .modal_dialog {
    padding: 20px 20px;
    width: 90%;
    max-width: 450px;
  }
  .slider_decstop_item {
    height: 500px;
  }
  .policy_form {
    width: 100%;
    justify-content: center;
  }

  #review_write form p,
  #write_me form p {
    width: 100%;
  }
  .slider_top_main,
  .banner_post {
    min-height: 214px;
  }
  .slider_mobile_item {
    display: block;
  }
  .user_order_btn_main {
    display: block;
  }
  .user_order_btn {
    margin-top: 15px;
  }
  .prod_top_basket {
    flex-wrap: wrap;
    width: 300px;
    border: none;
    margin-bottom: 0;
  }
  .prod_down_basket .prod_cart_main {
    gap: 20px;
  }

  .prod_top_main_basket {
    margin: 0px;
    width: 100%;
    flex: initial;
    margin-top: 10px;
    flex-direction: column;
    gap: 15px;
    align-items: baseline;
  }
  .prod_down_basket_cart {
    flex-direction: row;
  }

  .prod_basket_desc {
    width: auto;
  }
  .product_item_main_basket {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--line_color);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .product_item_main_basket:last-child {
    border: none;
  }
  .total_price_basket_down {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .block_fotogallery_items {
    gap: 20px 2%;
  }
  .block_fotogallery a {
    width: 32%;
  }
  .hits_main_product {
    gap: 20px 2%;
    flex-wrap: wrap;
  }
  .hits_main_product .product_item_main {
    width: 49%;
  }
  .category_index .category_index_main {
    gap: 30px 2%;
  }
  .category_index .product_item_main {
    width: 32%;
  }
  .slider_mobile_item {
    height: 250px;
    overflow: hidden;
  }
  .slider_top_item img {
    height: 100%;
    object-fit: cover;
  }
  .cakes_top_form {
    flex-wrap: wrap;
  }
  .cakes_top_form h2 {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
  }

  #up_piggybank {
    justify-content: center;
  }
  #up_piggybank .message_moneybox p {
    text-align: center;
  }
  .dashboard_ul_table {
    flex-direction: column;
  }
  .copy-button {
    margin-top: 15px;
  }
  .category_sort_main_df h2 {
    margin-bottom: 30px;
  }
  .block_fotogallery_items {
    margin-bottom: 20px;
  }
  .logo_main_p img {
    height: 50px;
  }
  .header_down_main.active .logo_main_p img {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .categories_all_catalog {
    margin-bottom: 30px;
    gap: 10px 2%;
  }
  .category_rigth .categories_all_item {
    width: 49%;
  }
  .categories_all_item .category_title,
  .category_prefix {
    font-size: 12px;
  }
  .category_sort > p,
  .btn_sort_show_main p {
    display: none;
  }
  .header_items_mobile_top .lk_top_sign p {
    width: min-content;
  }

  .block_fotogallery_items {
    gap: 20px 1%;
  }
  .block_fotogallery a {
    width: 49%;
  }
  .category_sort_main_df {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .category_index .category_index_main {
    gap: 30px 2%;
  }
  .category_index .product_item_main {
    width: 49%;
  }

  .copy_footer p {
    font-size: 12px;
  }
  footer .container {
    align-items: center;
  }
  .footer_contacts_main {
    flex-direction: column;
  }
  .hits_main_parent .product_item_main {
    width: 49%;
  }
  .site_start{
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  footer{
    bottom: 46px;
  }
  .mobile_bottom_item{
    font-size: 9px;
  }
  .product_content_img {
    position: relative;
    width: 100%;
  }
  .mySwiper2.over picture {
    width: 320px;
    height: 320px;
  }
  .slider_mini_text {
    background-color: rgba(208, 219, 217, 0.7);
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
  .slider_mini_image {
    width: 100%;
  }
  .moneybox_cakes .moneybox_item {
    min-width: 280px;
  }

  .hits_main_parent .product_item_main {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .btn_sort {
    padding: 0 8px 0 8px;
  }
  .btn_sort_sorting {
    width: 126px;
  }
}
@media (max-width: 360px) {
  .header_items_mobile {
    width: auto;
  }
}
@media (max-width: 350px) {
  .category_rigth .categories_all_item {
    width: 100%;
  }
}
