.db380,
.dn380 {
  display: none;
}

@media (max-width: 980px) {
  .container {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .contacts,
  .addres {
    margin-top: 0px;
  }

  .addres,
  .actual,
  .numb,
  .plus,
  .connection,
  .coord_items,
  .of_photo {
    flex-wrap: wrap;
  }

  .actual,
  .numb,
  .plus,
  .con_item {
    max-width: 100%;
    margin: 0 auto;
  }

  .con_item {
    width: 100%;
  }

  .actual_item {
    width: 100%;
  }

  .ac1,
  .numb_item,
  .plus_i {
    min-width: 100%;
  }

  .det_items {
    grid-template-columns: 1fr;
  }

  .coord_item,
  .det_item {
    margin: 0 auto;
    width: 100%;
  }

  .of_photo {
    justify-content: center;
  }

  .of_photo img {
    width: 100%;
    margin: 0 auto;
  }

  .of_right {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
  }

  .of_photo div:first-child {
    width: 100%;
  }

  .of_photo div:last-child {
    width: 100%;
    max-height: unset;
    height: auto;
  }

  .of_right img {
    height: auto !important;
  }

  .addr_center {
    min-width: 50%;
    margin-left: 0;
  }

  .deliv_items,
  .price_top,
  .price_bott,
  .swap_items,
  .pay_content {
    flex-wrap: wrap;
  }

  .pay_item2 {
    max-width: 100%;
  }

  .price_top {
    justify-content: center;
  }

  .prt_i,
  .prb_i {
    width: 100%;
    height: 100%;
  }

  .deliv_i {
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .rul_items {
    flex-direction: column;
  }

  .rules_item {
    height: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .rules_title {
    text-align: start;
  }

  .atten_i {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  /* .db380 {
    display: inline-block;
  } */

  .dn380 {
    display: none;
  }

  .about_text p {
    width: 100%;
  }

  .actual,
  .numb,
  .plus,
  .pay_content,
  .deliv_items,
  .price_top,
  .price_bott,
  .rul_items,
  .swap_items {
    flex-direction: column;
  }

  .ac1,
  .numb_item,
  .swap_item {
    min-width: 100%;
  }

  .actual_item p {
    width: 64%;
  }

  .compr h4 {
    width: 71%;
  }

  .ac_img1,
  .ac_img2 {
    width: 100px;
    height: 100px;
  }

  .actual_item img {
    top: 56px !important;
  }

  .numb_item img {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 113px;
    height: 48px;
  }

  .numb_item p {
    width: 65%;
  }

  .technique h4 {
    width: 70%;
  }

  .plus_i p {
    width: 67%;
  }

  .pay {
    max-width: 100%;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .pay_item {
    padding: 12px 16px;
  }

  .pay_item2 {
    max-width: 100%;
  }

  .deliv_i {
    max-width: 100%;
    min-width: 100%;
    min-height: auto;
  }

  .pay_items p {
    width: 75%;
  }

  .pay h3 {
    padding-left: 16px;
  }

  .pay h4 {
    margin-bottom: 16px;
    padding-left: 16px;
  }

  .deliv_i p {
    width: 80%;
  }

  .prt_i {
    width: 100%;
  }

  .attention {
    padding: 0;
  }

  .price,
  .term,
  .rules,
  .swap {
    padding-bottom: 0px;
  }

  .cancel p {
    padding: 0 20px;
  }

  .prb_i,
  .rules_item {
    height: 100%;
    width: 100%;
  }

  .rules_title {
    text-align: start;
  }

  .w_80 {
    width: 80% !important;
  }

  .singly span {
    font-size: 17px;
    color: #54937b;
  }

  .cancel h4,
  .cancel p {
    text-align: start;
  }

  .swap_item p {
    width: 76%;
  }

  /* contacts */
  .addres {
    flex-direction: column;
    gap: 20px;
  }

  .addr_center {
    font-size: 15px;
    min-width: 100%;
    margin-left: 0;
  }

  .connection {
    flex-direction: column;
  }

  .con_item {
    width: 100%;
  }

  .coord_items {
    flex-direction: column;
    gap: 20px;
  }

  .coord_item {
    width: 100%;
  }

  .coordinates h3 {
    text-align: center;
  }

  .det_items {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .det_item {
    width: 100%;
  }

  .connection,
  .coordinates,
  .details {
    padding-bottom: 0;
  }

  .of_photo {
    flex-direction: column;
  }

  .of_photo img {
    max-width: 100%;
  }

  .of_photo div:first-child,
  .of_photo div:last-child {
    width: 100%;
  }

  .of_photo div:last-child {
    height: auto;
  }

  .of_right {
    flex-direction: column;
    max-height: unset !important;
  }

  .of_right img {
    height: auto !important;
  }

  .ofice {
    padding-bottom: 0px;
  }
}