@media screen and (max-width: 1850px) {
  .items-collection.list-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1500px) {
  .items-collection.list-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .customcheckout-checkout .checkout-order-summary .order-total-line span:first-child, .customcheckoutreview-checkout .checkout-order-summary .order-total-line span:first-child {
    margin-right: initial;
  }
  .order-total-line-label {
    padding: initial;
    text-align: initial;
  }
}
@media screen and (max-width: 1250px) {
  .items-collection.list-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .order-total-line-label {
    padding: 0 10px;
    text-align: right;
  }
  .customcheckout-checkout .checkout-order-summary .order-total-line span:first-child, .customcheckoutreview-checkout .checkout-order-summary .order-total-line span:first-child {
    margin-right: 20px;
  }
}
@media screen and (max-width: 1000px) {
  .homepage-container .from-marketplace .items-collection.list-4 {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }

  .items-collection.list-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 800px) {
  #myfavorites .from-marketplace .items-collection.list-4 {
    flex-direction: column;
    display: flex;
  }
  .invoice .table-invoice {
    border: none !important;
    box-shadow: none;
  }
  .listing .results .search-filter .input-container.glued input {
    width: 100%;
  }
  .provider-ad .grid-2 .delete-btn {
    position: absolute;
    right: -10px;
    bottom: unset;
    top: -15px;
  }
  .create-new {
    font-size: 14px;
  }
  .invoice .table-invoice tbody tr:last-child td:first-child {
    border-left: none !important;
    border-top: none !important;
    border-radius: 0;
  }
  .sales-product table tbody tr td:first-child {
    border-left: none;
    border-top: none;
  }
  .invoice table tr:not(:last-child) td:last-child {
    border-right: none;
    border-radius: 0;
  }
  .invoice .table-invoice table {
    border-collapse: separate;
    border-spacing: 20px;
  }
  .invoice table tr:not(:last-child) td:last-child {
    border-bottom: none !important;
  }
  .sales-product .select2-container--default .select2-selection--single {
    max-width: 100%;
  }
  .cart.cart-form .views-element-container .views-form form .cart-left-sidebar,
  .cart.cart-form .views-element-container .views-form form table {
    height: auto;
  }
  .invoice .table-invoice tbody tr:last-child td:last-child,
  .sales-product .select2-container {
    max-width: 100% !important;
  }
  .cart.cart-form .views-element-container .views-form form {
    flex-direction: column;
    align-items: center;
  }
  #edit-payment-information label,
  .customcheckout-checkout .checkout-order-summary .order-total-line span {
    width: max-content;
  }
  .cart.cart-form .order-total-line {
    padding: 0 10px;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 600px) {
  /* .homepage-container .from-marketplace .items-collection.list-4 {
    max-height: 221px !important;
  } */
  .burger-menu-other.active .profile-dropdown {
    z-index: 99999;
  }
  #seach-page-custom .from-marketplace .container .list-4 .item {
    height: auto !important;
  }
  .from-marketplace .container .list-4 .item {
    height: 213px !important;
  }
  .detail-page .details .category a {
    font-size: 12px;
  }
  .action-mobile .action-button-mobile {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  #myfavorites .from-marketplace .items-collection.list-4 {
    height: auto;
    max-height: 100%;
  }
  .from-marketplace .view-more {
    margin-top: 30px;
    max-width: 180px;
  }
  .from-marketplace .view-more a {
    font-size: 12px;
  }
  .customcheckout-checkout .order-total-line-value,
  .customcheckoutreview-checkout .order-total-line-value {
    width: 90px;
  }
  .customcheckout-checkout
    .checkout-order-summary
    .order-total-line
    span:first-child,
  .customcheckoutreview-checkout
    .checkout-order-summary
    .order-total-line
    span:first-child,
  .customcheckout-checkout .order-total-line-value,
  .customcheckoutreview-checkout .order-total-line-value {
    font-size: 12px;
  }
  .mobile-img img {
    height: 40px;
    width: 40px;
  }
  header .main-header .burger-menu-profile .action.mobile-action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
  }
  .burger-menu-profile .profile-dropdown.active {
    left: unset;
    right: 0;
  }
  header .main-header .burger-menu-profile {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  #seach-page-custom .from-marketplace .items-collection.list-4 {
    flex-direction: column;
    display: flex;
  }
  #seach-page-custom .from-marketplace .container .list-4 .item .content .name,
  #seach-page-custom
    .from-marketplace
    .container
    .list-4
    .item
    .content
    .price
    .new,
  #seach-page-custom
    .from-marketplace
    .container
    .list-4
    .item
    .content
    .price
    .old {
    font-size: 12px !important;
  }
  #seach-page-custom .from-marketplace .container .list-4 .item .content {
    padding: 20px 10px;
  }
  #seach-page-custom .from-marketplace .items-collection.list-4 .item {
    height: auto;
  }
  #seach-page-custom
    .from-marketplace
    .items-collection.list-4
    .item
    .image
    img {
    height: 170px;
  }
  .from-marketplace .container .list-4 .item i {
    font-size: 20px !important;
  }
  .cart.cart-form tbody td:has(img) {
    display: flex;
    align-items: center;
  }
  .homepage-container .from-marketplace .items-collection.list-4 {
    /* max-height: 215px; */
    /* overflow: hidden; */
  }
  .detail-page .product .carousel-container .owl-carousel .product-image img {
    height: 250px;
  }
  #myfavorites .from-marketplace .container .list-4 .item {
    height: auto !important;
  }
  #myfavorites .from-marketplace .container .list-4 .item .image img {
    height: 220px;
  }
  #myfavorites .from-marketplace .container .list-4 .item .content {
    padding: 20px;
  }

  .from-marketplace
    .container
    .items-collection.list-4
    .item
    .product-img.image
    .favorite-logo
    .add-fav
    .fa-thin {
    font-size: 20px;
  }
  .register-myads .myads-list .item .info .model {
    text-align: center;
  }
  .modal-overlay .modal .action .button {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  .modal-overlay .modal h2 {
    font-size: 18px;
  }
  .popular-categories .container .list-4 .item .image,
  .popular-categories .container .list-4 .item .image img {
    height: 140px;
  }
  .popular-categories .list-4 {
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .from-marketplace .container .list-4 .item .image img {
    height: 110px;
  }
  .from-marketplace .container .list-4 .item .content .name,
  .from-marketplace .container .list-4 .item .content .price .new,
  .from-marketplace .container .list-4 .item .content .price .old {
    font-size: 8px !important;
  }
  .from-marketplace .container .list-4 .item .content {
    height: 100%;
    gap: 10px;
  }
  .from-marketplace .container .list-4 .item .content .tags .tag {
    font-size: 8px;
  }
  .from-marketplace .container .list-4 .item .content .tags .tag {
    padding-top: 3px;
    padding-bottom: 3px;
  }
  .from-marketplace .container .list-4 .item .content .tags {
    gap: 5px !important;
  }
  .from-marketplace .container .list-4 .item .content .tags {
    flex-wrap: wrap;
    flex-grow: 1;
    align-items: end;
  }
  .from-marketplace .container .list-4 .item .content .tags {
    flex-wrap: wrap;
  }
  .from-marketplace .container .list-4 .item .content {
    padding: 10px;
  }
  .from-marketplace .container .list-4 .item {
    height: 205px;
  }
  .items-collection.list-4 {
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .my-profile .grid-2 .input-container {
    flex-direction: column;
  }
  .hero-content .hero-button {
    display: none;
  }
  .sales-product .select2-container {
    max-width: 150px !important;
  }
  .from-marketplace .container .list-4 .item .content .price > div {
    font-size: 16px !important;
  }
  #edit-payment-information label,
  .customcheckout-checkout .checkout-order-summary .order-total-line span {
    font-size: 14px;
  }
  .customcheckout-checkout
    .checkout-order-summary
    .order-total-line
    span:first-child,
  .customcheckoutreview-checkout
    .checkout-order-summary
    .order-total-line
    span:first-child {
    text-align: start;
  }
  #edit-payment-information {
    display: contents;
  }
  .cart.cart-form .order-total-line,
  .order-total-line-value {
    font-size: 16px;
  }
  .cart.cart-form .views-element-container {
    padding-left: 0;
    padding-right: 0;
  }
  .messaging
    .messaging-wrapper
    main
    .message-wrapper
    .message-action
    .input-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .messaging
    .messaging-wrapper
    main
    .message-wrapper
    .message-action
    .input-container
    > input {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  .messaging
    .messaging-wrapper
    main
    .message-wrapper
    .message-action
    .input-container
    .parsley-errors-list.filled {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 3;
    position: relative;
    top: unset;
    transform: none;
    left: unset;
    bottom: unset;
  }
  .accordion-content .accordion-inside-header .accordion-title {
    font-size: 18px;
  }
  .invoice .table-invoice table td {
    box-sizing: border-box;
    padding: 20px;
  }
  .customcheckout-checkout .layout-checkout-form.clearfix {
    padding-left: 20px;
    padding-right: 20px;
  }
  .customcheckout-checkout
    .checkout-order-summary
    .order-total-line
    span:first-child {
    text-align: start;
    margin-right: 0;
  }
  .hero-content .title {
    margin-bottom: 50px;
    font-size: 26px;
  }
  .customcart-checkout #edit-actions {
    margin-left: 30px;
    margin-right: 30px;
    font-size: 20px;
  }
  .cart.cart-form table thead {
    display: revert;
  }
  .cart.cart-form table thead th:first-child {
    padding: 0;
    font-weight: 600;
    font-size: 20px;
    border-bottom: none;
    background-color: #f00020;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .profile-upload .resetprofileimage {
    right: 40px;
  }
}
