@media (max-width: 1260px) {
  .product-menu {
    display: none;
  }
  .product-menu-head-cont {
    display: flex;
    cursor: pointer;
  }
  .product-menu-head {
    display: none;
  }
  .product-menu-head2 {
    display: flex;
  }
  .burger {
    margin-left: 50px;
  }
  .logo {
    left: 50px;
  }
  .product-menu-head-cont {
    display: none;
  }
  .edge-tab {
    display: flex;
  }
}

@media (max-width: 1180px) {
  .contacts-clip {
    width: 425px;
  }
  .contacts-svg {
    width: 683px;
    height: 60px;
    max-width: none;
  }
  .tel2_spot {
    transform: scaleX(calc(200 / 170));
  }

  .e_spot {
    transform: translateX(calc(200px - 170px));
  }
  #c_arrow_1 {
    display: inline-flex;
  }
  .hero-inside {
    margin-left: 20px;
    margin-right: 20px;
    margin: auto;
  }
}

@media (max-width: 1080px) {
  .logo {
    display: none;
  }
  .logo_sm {
    display: block;
  }
  .logo-text-left {
    display: none;
  }
  .logo-text-center {
    left: 16px;
    top: 8px;
  }
  .logo-text-bottom {
    background-size: 134px auto;
    left: 0px;
    top: 36px;
  }
  .logo-text-cont {
    flex: 0 0 140px;
  }
}

@media (max-width: 760px) {
  .contacts-clip {
    width: 230px;
  }
  .tel1_spot {
    transform: scaleX(calc(200 / 170));
  }
  .tel2_spot {
    transform: translateX(calc(200px - 170px));
  }
}

@media (max-width: 800px) {
  .burger {
    margin-left: 20px;
  }
}

@media (max-width: 760px) {
  .hero-inside {
    width: 100%;
    margin: 0;
  }
  .hero-inside,
  .main_plain,
  .main_h3 {
    min-width: 0px;
  }
  .text-container,
  .nav-product {
    flex-direction: column;
  }
  .hero-inside-all {
    width: min(100%, 430px);
    margin: auto;
  }
  .block-semi {
    width: min(100%, 430px);
    align-items: center;
  }
  .text-container {
    gap: 0px;
  }
  .text-container.rev-mobile {
    flex-direction: column-reverse;
  }
  .text-container > .block-semi:first-child {
    margin-top: 0px;
  }
  .calc_content {
    max-width: 430px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .sample {
    display: none;
  }
  .sample_bottom {
    display: block;
  }
  .kvartal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .text-container {
    flex-direction: column;
    align-items: center;
  }
  .setka-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .span-mob {
    display: block;
    height: 15px;
    width: 100%;
  }
  .text-container .table-wrap {
    align-self: center;
  }
  .prod_grid {
    grid-template-columns: repeat(auto-fill, minmax(321px, 321px));
  }

  .prod_box_all {
    width: 321px;
  }
  .prod_box {
    width: 300px;
    height: 192px;
    border-radius: 15px;
  }

  .calc_prod_label {
    font-size: 30px;
  }
  .gallery_table {
    grid-template-columns: 1fr;
    row-gap: 8px;
    align-items: center;
  }
  .gallery_table_td {
    height: 416px;
    width: 320px;
    background-size: auto 416px;
    margin-inline: auto;
  }

  .gallery_table_td > img {
    border-radius: 7px;
    width: 298px;
    height: 391px;
    top: 8px;
    left: 6px;
  }
  #modal_caption {
    display: none;
  }
  .nav_container {
    flex-direction: column;
  }
  .spacer,
  .or_cap {
    display: none;
  }
  .nav_buttons {
    padding-top: 15px;
  }
}

@media (max-width: 580px) {
  .contacts-clip {
    display: none;
  }
  .contacts-clip2 {
    display: block;
    margin-left: 30px;
  }

  #c_arrow_1 {
    display: none;
  }
  #c_arrow_2 {
    display: inline-flex;
  }

  .logo-all-cont {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .why_container {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .header,
  .header-container,
  .logo-all-cont,
  .burger,
  .logo-text-cont,
  .logo_sm,
  .product-menu-head-cont {
    height: 50px;
  }

  .contacts-clip2 {
    height: 50px;
    background-size: 80px auto;
  }

  .disclosure {
    display: none;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    height: 50px;
  }

  .logo_sm {
    background-size: 41px auto;
  }
  .burger {
    height: 50px;
    padding: 15px 12px;
  }

  .logo-text-center {
    background-size: 80px auto;
    top: 8px;
    width: 80px;
    height: 24px;
  }

  .logo-text-bottom {
    background-size: 108px auto;
    top: 30px;
    width: 108px;
    height: 20px;
    left: 2px;
  }
  .prod_icon {
    background-size: 22px 22px;
  }
  .product-menu-head2 {
    padding-top: 0px;
    line-height: 36px;
  }

  .calc_content {
    width: 100%;
    min-width: 0px;
  }
  .contacts-clip2 {
    margin-left: 20px;
  }
  .logo-text-cont {
    flex: 0 0 120px;
  }

  .logo_sm {
    flex: 0 0 48px;
  }

  #c_arrow_2 {
    margin-right: 10px;
  }
}
