@media (max-width: 1440px) {
  #myForm.forma_design .poles {
    gap: 14px;
  }

  .forma_design .row:nth-last-child(2) .form_input:first-child {
    width: 100%;
  }

  .forma_design .row:nth-last-child(2) .form_input textarea {
    height: 96px;
  }

  div.catalog_keramogranit .row {
    gap: 37px;
  }

  .catalog_keramogranit .catalog_item .item h5 {
    font-size: 16px;
  }

  .catalog_keramogranit .catalog_item .square p {
    font-size: 10px;
  }

  .catalog_keramogranit div.catalog_item {
    gap: 19px;
  }


}

@media (max-width: 1024px) {
  .company .row {
    margin-right: 0;
    margin-left: 0;
  }

  .company .row .col-6 {
    padding-left: 0;
    padding-right: 0;
    width: 49%;
    max-width: 49%;
  }

  .company.content-page {
    padding: 0 12px;
  }

  .company.content-page .text {
    display: flex;
    justify-content: space-between;
  }

  .company .image_blk .col-6:first-child {
    padding: 40px;
  }

  .company p {
    margin-bottom: 0;
  }

  .comment_slider .slide .comm p {
    height: 264px;
  }

  .comment_slider .slide .bold {
    font-size: 15px;
  }

  .design_proekt .col-5 {
    padding-left: 50px;
  }

  .catalog_keramogranit .row .catalog_item {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .design_proekt.keramo_detail .row .col-5 {
    padding-right: 50px;
  }

  .finished_project .row .col-4:nth-child(1) {
    padding-right: 50px;
  }

  .finished_project .row .col-4:nth-child(3) {
    padding-left: 50px;
  }

  #myForm.forma_design .poles {
    gap: 11px;
  }

  .advert img {
    border-radius: 16px;
    width: 100%;
  }

  .page-container .advert h3 a {
    margin: 0;
    font-size: 25px;
    color: #505a62;
  }

  .design_proekt .col-5 {
    padding-left: 50px;
  }

  .page-container .title_blk h4 {
    font-size: 20px;
  }
}

@media (max-width: 834px) {
  .map-section .pickup-points .map:not(.opened) {
    position: relative;
    pointer-events: none;
    opacity: 1;
  }

  .forma_design .col-4 {
    display: none;
  }

  .forma_design .main .col-8 {
    width: 100%;
    max-width: 100%;
    flex: 100%;
  }

  .forma_design .main .poles {
    padding: 30px;
    gap: 16px;
  }

  .forma_design .main .form_input {
    width: 100%;
  }

  .design_proekt .hide_block {
    display: block;
  }

  .page-container .hide_block h4 {
    font-size: 24px;
    line-height: 28px;
    color: #161a1d;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: Gothic A1, sans-serif;
    margin: 0;
    padding-bottom: 32px;
  }

  .page-container .design_proekt .title_blk h4 {
    display: none;
  }

  .design_proekt .row {
    flex-direction: column;
  }

  .design_proekt .row .col-7 {
    width: 100%;
    max-width: 100%;
  }

  .design_proekt .row .col-5 {
    width: 100%;
    flex: unset;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-left: 0;
    padding-top: 32px;
  }

  .design_proekt .row .col-5 .button a {
    width: 100%;
  }

  .design_proekt .character_block .character {
    display: flex;
    justify-content: space-between;
  }

  /*.character_block .character .name {}
  .character_block .character .char {
    width: unset;
  }*/

  .col-7 .design_nav .slider {
    margin-right: 6px;
  }

  .catalog_keramogranit .row .catalog_item {
    gap: 16px;
  }

  .catalog_keramogranit .catalog_item .item h5 {
    height: 48px;
  }

  .catalog_keramogranit .catalog_item .square p {
    text-align: right;
  }

  .design_proekt.keramo_detail .row .col-5 {
    width: 100%;
    flex: unset;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .design_proekt.keramo_detail .row .col-5 .button a {
    text-align: left;
  }

  .keramo_detail .row .advantage {
    margin-bottom: 40px;
  }

  .keramo_detail .row .opis {
    padding-top: 20px;
    /*display: none;*/
  }

  .finished_project .row .col-4:nth-child(3) {
    padding-left: 0;
    order: 2;
  }

  .finished_project .row .col-4:nth-child(2) {
    order: 3;
  }

  div.finished_project .row {
    flex-direction: column;
  }

  .finished_project .hide_block {
    display: block;
    padding-bottom: 30px;
  }

  .finished_project .row div.col-4:nth-child(1) {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .finished_project .row div.col-4:nth-child(1) img {
    max-height: 260px;
    object-fit: cover;
  }

  .finished_project .col-4:nth-child(3) .nalichie {
    display: none;
  }

  .finished_project .row .col-4:nth-child(2) {
    order: 3;
    padding-top: 30px;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .catalog_keramogranit .row .catalog_item {
    gap: 14px;
  }

  .catalog_item .item .button a {
    font-size: 15px;
  }
}

@media (min-width: 501px) and (max-width: 769px) {
  .catalog-image-background .product-card .product-image-block {
    width: 100% !important;
    height: 232px;
    border-radius: 12px;
    overflow: hidden;
  }
}

@media (max-width: 430px) {
  .company.content-page .text {
    flex-direction: column;
  }

  .company .row .col-6 {
    width: 100%;
    max-width: 100%;
    flex: 100%;
  }

  .company .image_blk {
    margin-top: 40px;
    display: flex;
    flex-direction: column-reverse;
  }

  .company .image_blk .col-6:first-child {
    padding: 30px 24px;
  }

  .page-container .company h3 {
    margin-top: 0;
  }

  .image_blk .button a {
    width: 100%;
    text-align: center;
  }

  .page-container .company h2 {
    font-size: 36px;
    line-height: 50px;
  }

  .block_contact .row {
    flex-direction: column;
  }

  .block_contact .row .col4 {
    width: 100% !important;
  }

  .block_contact .row .col4:not(:last-child) {
    margin-bottom: 16px;
  }

  .map-section .pickup-points .map-wrap .pickup-points-list {
    padding: 20px;
    width: 100%;
  }

  .poles .input-file-text {
    display: inline-block;
    font-size: 10px;
    color: #505a62;
  }
  .map {
    height: 532px;
  }

  .shops-list-page.map-section {
    padding-bottom: 0;
  }

  .map_mobile {
    padding-top: 40px;
  }

  .map_mobile .ymaps-2-1-79-inner-panes,
  .map_mobile .ymaps-2-1-79-inner-panes ymaps {
    border-radius: 20px;
  }

  .catalog_keramogranit .catalog_item .item {
    width: 100%;
  }

  .catalog_keramogranit .catalog_item .item .button {
    display: none;
  }

  .catalog_keramogranit .catalog_item .name {
    align-items: unset;
    flex-direction: column;
    background: #faf7ef;
    padding: 30px;
    position: relative;
    border-radius: 0 0 6px 6px;
  }

  .catalog_keramogranit .catalog_item .square {
    padding-left: 0;
  }

  .catalog_keramogranit .catalog_item .square p {
    text-align: left;
  }

  .catalog_keramogranit .catalog_item .item h5 {
    height: unset;
    padding-bottom: 5px;
  }

  .catalog_keramogranit .catalog_item .image {
    padding-bottom: 0;
  }

  .catalog_keramogranit .catalog_item .name:before {
    display: block;
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    background: url("/local/templates/keramstore/images/icon_arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    right: 30px;
    top: 47px;
  }

  .catalog_keramogranit .row .catalog_item {
    gap: 32px;
  }

  .keramo_detail .mobile_slide {
    display: block;
  }

  .finished_project .row .col-4:nth-child(3) {
    padding-left: 0;
    order: 2;
    width: 60%;
    max-width: 60%;
    margin: 0 auto;
  }

  .keramo_detail .product-items.items-col-3 .item-wrap {
    flex: 100%;
    max-width: 100%;
  }

  .keramo_detail .product-card .product-image-block .image-slider .product-image {
    background-size: cover;
  }

  .keramo_detail .product-card.item {
    padding: 0;
  }

  .keramo_detail .product-card.item .product-info {
    padding: 25px;
  }

  .catalog-image-background .keramo_detail .product-card.item .product-image-block {
    margin-bottom: 0;
  }

  .keramo_detail .product-card.item .product-info .property-block.product_fabriq {
    margin-top: 15px;
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
  }

  .keramo_detail .dop_property {
    padding-top: 15px;
    padding-bottom: 30px;
    width: 100%;
  }

  .keramo_detail .dop_property > div {
    font-size: 14px;
  }

  .keramo_detail .footer_item {
    width: 100%;
  }

  .product-items-block .product-card.item:hover {
    border: 1px solid #B8AA85;
  }

  .page-container .hide_block h4 {
    font-weight: 600;
  }

  .design_proekt .col-5 .title_blk .button a {
    margin-top: 0;
  }

  .design_proekt .title_blk div.button {
    padding-bottom: 32px;
  }

  .design_proekt .row .col-5 .button a {
    width: 100%;
    text-align: center;
  }

  #navigation.breadcrumbs {
    margin: 32px 0 32px;
  }

  .design_proekt.keramo_detail .row .col-5 {
    padding-top: 0;
  }

  .keramo_detail.design_proekt .character_block {
    padding-top: 0;
    border-top: none;
  }

  .keramo_detail.design_proekt .features {
    padding-top: 0;
    padding-bottom: 32px;
    border-bottom: none;
  }

  .design_proekt.keramo_detail .col-5 .button {
    padding-top: 18px;
    display: flex;
  }

  .design_proekt.keramo_detail .row .col-5 .button a {
    text-align: left;
    margin: 0;
    border: none;
  }

  .page-container .keramo_detail .features h5 {
    font-size: 18px;
    margin: 0;
    font-family: Gothic A1, sans-serif;
  }

  div.advantage {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  div.new_kor.similar-items .h2 {
    margin-top: 40px;
    margin-bottom: 32px;
  }

  .swiper-container-multirow>.swiper-wrapper {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
  }

  .page-container h4.podzag {
    font-size: 16px;
  }

  .btn.btn-primary {
    width: 100%;
  }

  #myForm.forma_design .checkbox {
    padding-top: 22px;
  }

  .catalog_keramogranit .catalog_item .item h5 {
    font-size: 22px;
    padding-bottom: 0;
  }

  .catalog_keramogranit .catalog_item .square p {
    font-size: 12px;
    padding-top: 20px;
  }

  .keramo_detail a.document_link {
    margin-top: 0;
  }

  .previous .new_kor .product-card .product-image-block, .new_kor.similar-items .product-card .product-image-block {
    width: 392px !important;
    margin-right: 0!important;
  }

  .previous>.new_kor .swiper-slider .swiper-slide, .new_kor.similar-items>.swiper-slider .swiper-slide {
    width: 392px !important;
    margin-right: 0!important;
  }

  .new_kor .swiper-container-multirow>.swiper-wrapper {
    flex-wrap: wrap;
    gap: 32px;
  }

  .new_kor .dop_prop_item > div {
    font-size: 14px;
  }

  .new_kor .product-card .product-info .property-block > div {
    font-size: 14px;
    width: 100%;
  }

  .new_kor .dop_property {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .design_proekt .slick-prev {
    left: 15px;
  }

  .design_proekt .slick-next {
    right: 15px;
  }

  .keramo_detail .category {
    display: flex;
    margin-bottom: 30px;
  }

  .mobile_menu_bottom {
    padding: 10px 12px;
  }

  .mobile_menu_bottom .address_blocks {
    padding-top: 10px;
  }

  .header-fixed .phone-block, .header.header-fixed .mail_fixed {
    display: none;
  }

  .keramo_detail.design_proekt .features h5 {
    display: none;
  }

  .modal-container.mobile.mobile-sidebar-menu .menu-scrollbar-inner .has-sub.info-page {
    display: none;
  }

}

@media (max-width: 390px) {
  .block_contact .phone .content {
    display: flex;
    gap: 8px;
    flex-direction: column;
  }

  .product-card .product-image-block .icon-block {
    right: 30px;
    bottom: 5px;
  }

  .previous .new_kor .product-card .product-image-block, .new_kor.similar-items .product-card .product-image-block {
    width: 365px !important;
    margin-right: 0!important;
  }

  .previous>.new_kor .swiper-slider .swiper-slide, .new_kor.similar-items>.swiper-slider .swiper-slide {
    width: 365px !important;
    margin-right: 0!important;
  }
}

@media (max-width: 375px) {
  .product-card .product-image-block .icon-block {
    right: 20px;
    bottom: 7px;
  }

  .previous .new_kor .product-card .product-image-block, .new_kor.similar-items .product-card .product-image-block {
    width: 350px !important;
    margin-right: 0!important;
  }

  .previous>.new_kor .swiper-slider .swiper-slide, .new_kor.similar-items>.swiper-slider .swiper-slide {
    width: 350px !important;
    margin-right: 0!important;
  }
}
/*по колесам Сан*/
a.document_link img {
  width: 23px;
}

a.document_link {
  display: inline-block;
}
