@media screen and (max-width: 1950px) {
  .hero-section .background-img {
  }
}

@media screen and (max-width: 1600px) {
  .register-buttons-filter .filter .search-bar {
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .filter
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-right: 29px;
  }
}
@media screen and (max-width: 1460px) {
  .listing .item-list .item {
    width: 346px;
  }
  .latest-items-section .item .item-desc .details {
    height: 36px;
  }
}
@media screen and (max-width: 1300px) {
  header .container .register-buttons-filter {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 1200px) {
  .actions {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .dropdown-menu.active {
    display: flex;
  }

  .container .log-reg-buttons {
    display: none;
  }

  /* header .container .register-buttons-filter .filter {
    max-width: 500px;
  } */

  .container .filter-and-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: end;
    gap: 20px;
  }

  .burger-menu i {
    font-size: 40px;
    color: #fff;
  }

  /* header .container .register-buttons-filter {
    flex-direction: unset;
    gap: unset;
    justify-content: end;
    display: flex;
    min-width: max-content;
    gap: 20px;
  } */
  .register-buttons-filter .market-button {
    width: 100px;
    width: max-content;
    min-width: max-content;
  }

  /* header .container .register-buttons-filter .filter {
    max-width: 40px;
    height: 40px;
  } */
  header .container {
    gap: 20px;
  }
}

@media screen and (max-width: 900px) {
  .more-details .pattern .pattern-number,
  .skin-description .more-details .word.light {
    white-space: normal !important;
  }
  .skin-item .skin-description {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-sizing: border-box;
  }
  .skins-section .skin-item {
    padding: 0 20px;
    box-sizing: border-box;
  }
  .listing .container {
    flex-direction: column;
    align-items: center;
  }

  .listing .content .order {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .listing .filters {
    max-width: 600px;
  }

  .listing .content .order {
    padding: 20px 10px;
  }

  header .container .logo-img img {
    object-fit: unset;
  }

  .hero-section .title-and-button .title {
    font-size: 23px;
    padding: 0 20px;
  }

  .hero-section .background-img img {
    object-fit: cover;
    width: 100%;
    height: 300px;
  }

  .hero-section {
    width: 100%;
    position: relative;
    height: 541px;
  }

  header .container .register-buttons-filter {
    flex-direction: row;
  }

  header .container {
    flex-direction: column;
  }

  .register-buttons-filter form {
    min-width: unset;
  }
}

@media screen and (max-width: 700px) {
  header .container .register-buttons-filter {
    flex-direction: column;
    order: 1;
  }

  .dropdown-menu {
    right: unset;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
  }

  .container .filter-and-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: unset;
  }

  .hero-section .title-and-button {
    gap: 24px;
  }

  .hero-section .title-and-button .register-button {
    max-width: 300px;
  }
}

@media screen and (max-width: 600px) {
  #chatpage h1 {
    padding-top: 30px;
  }
  #modal-item .details .box-2 .box #initiatetransaction input[type="submit"],
  #modal-item .details .box-2 .box #initiatetransaction input:first-child {
    width: 300px;
    display: block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #modal-item .details .box-2 .box #initiatetransaction {
    width: 100%;
    display: block;
  }
  #modal-item .showcase .quality {
    width: 100%;
    max-width: 300px;
  }
  #modal-item .showcase .quality img {
    max-width: 150px;
    width: 100%;
  }
  .messaging
    .messaging-wrapper
    main
    .message-wrapper
    .message-action
    .input-container
    #custom-error-container:has(.parsley-errors-list.filled) {
    position: relative;
    grid-column-start: 1;
    grid-column-end: 3;

    grid-row-start: 2;
  }
  #custom-error-container .parsley-errors-list.filled {
    box-sizing: border-box;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .messaging
    .messaging-wrapper
    main
    .message-wrapper
    .message-action
    .input-container
    #custom-error-container {
    position: absolute;
    pointer-events: none;
  }
  .register-background .paragraphs {
    padding-left: 0;
    padding-right: 0;
  }
  .listing .item-list .item {
    width: 100%;
  }
  .skin-description .skin-button.double {
    max-width: 100%;
  }
  header .container .register-buttons-filter .filter {
    flex-direction: column;
  }

  .register-buttons-filter .filter .search-bar {
    max-width: 100%;
    border: none;
  }

  header
    .filter
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 0;
  }

  .register-buttons-filter .filter .search-bar,
  .filter .select-container {
    border-bottom: 2px solid #fff !important;
  }

  header form .filter .button-submit {
    margin: 0 auto;
    padding: 10px 0;
  }

  header form .filter .button-submit input {
    height: 25px;
  }

  .filter .select-container {
    width: 100%;
    border: none;
  }

  .filter .select2-container--default .select2-selection--single {
    border: none;
  }

  .hero-section {
    width: 100%;
    position: relative;
    height: 334px;
  }
}

@media screen and (max-width: 500px) {
  .hero-section .title-and-button .title {
    font-size: 16px;
    padding: 0 20px;
  }

  .hero-section .background-img img {
    object-fit: cover;
    width: 100%;
    height: 300px;
  }
}

@media screen and (max-width: 350px) {
  .hero-section .title-and-button .title {
    font-size: 13px;
  }

  .hero-section .title-and-button .register-button {
    max-width: 300px;
  }
}
