/* Tablet view: Hide desktop items and show tablet items */
@media only screen and (max-width: 1024px) {
    .advert-slider {
        display: none!important;
    }

    .advert-slider-tablet {
        display: block!important;
    }
}

/* Mobile view: Hide tablet and desktop items and show mobile items */
@media only screen and (max-width: 768px) {
    .advert-slider {
        display: none!important;
    }

    .advert-slider-mobile {
        display: block!important;
    }
}



@media (max-width: 1440px) {
  .product-block .name {
    height: 83px;
  }
  .advert-slider img {
    height: 250px !important;
    object-fit: cover;
  }
}
@media screen and (max-width: 1024px) {
  #choose_me-listing-modal {
    margin-top: 100px;
  }
}
@media (max-width: 768px) {
  /* blog/  inner blog */
  .tax-product_cat #apus-main-content {
    padding-top: 120px !important;
  }
  .single-listing #listing-detail-description {
    padding-top: 10px;
  }
  .related.products h3.widget-title {
    font-size: 26px;
  }
  .apus-breadscrumb .bread-title {
    font-size: 26px !important;
  }
  .single-listing .star {
    font-size: 20px;
  }
  .related.products .name a,
  .tabs-content p {
    font-size: 22px;
  }
  .product-block .name {
    height: auto;
  }
  .choose a.pager-button.close-btn {
    margin-bottom: 20px;
  }
  table.cart .cart_item {
    padding-left: 105px;
    position: relative;
    border-bottom: 1px solid;
    border-bottom-color: #d6d6d6;
  }
  .woocommerce-cart .quantity .qty {
    width: 34px !important;
    padding: 0 !important;
    font-size: 16px;
    height: 19px !important;
  }
  .tabs-menu {
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
  }
  .woocommerce-shop .filter,
  .tax-product_cat .filter {
    border-radius: 50px;
    border: 1px solid #a31e22;
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    height: 35px;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    padding-top: 5px;
    width: 98px;
    box-shadow: none;
  }
  .woocommerce-cart .product-name[data-title="Product"]:before {
    content: "";
  }
  .chooseme-modal-content.choose .pager-container {
    height: 150px;
  }
  table.cart .product-remove {
    position: absolute;
    top: 12px;
    right: -5px;
    z-index: 1;
    margin-bottom: 0;
    padding-bottom: 0;
    border: none !important;
    font-size: 11px;
  }
  .woocommerce-cart tr:nth-child(1) .product-name:nth-child(2) {
    padding-top: 35px;
  }
  .woocommerce-cart .product-name:nth-child(2) {
    padding-top: 20px;
    margin-bottom: 0;
  }
  .woocommerce-shop .filter:before,
  .tax-product_cat .filter:before {
    content: url(https://paqpaq.mt/wp-content/uploads/2024/07/filter.svg);
    margin-right: 5px;
  }
  .woocommerce-cart table.cart img {
    object-fit: contain;
    /* height: 185px; */
    width: 100% !important;
  }
  .woocommerce-cart table.cart td.product-name {
    text-align: left !important;
  }
  /* .woocommerce table.shop_table td.product-thumbnail {
        width: 100%!important;
    } */
  table.cart td.product-thumbnail {
    position: absolute;
    left: 10px;
    top: 15px;
    padding: 0;
    border: none !important;
    left: 0 !important;
  }
  .list-product-archive a {
    font-size: 22px !important;
  }
  .single-product .woocommerce-tabs .nav.tabs-product {
    flex-direction: column;
  }
  .single-product .woocommerce-tabs .nav.tabs-product > li > a {
    border: 1px solid #eaeaea !important;
    border-radius: 0;
  }
  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    content: attr(data-title) "";
  }
  .product-block.grid .product-image img {
    height: 185px;
    object-fit: cover;
  }
  .advert-slider img {
    height: 250px !important;
    object-fit: cover;
  }
  .woocommerce-cart #main-container {
    padding-top: 150px;
    padding-right: 30px;
    padding-left: 30px;
  }
  .wc-proceed-to-checkout .btn-second {
    font-size: 14px;
  }
  .inner-social > div a.facebook-login-btn,
  .inner-social > div a.google-login-btn {
    font-size: 14px;
    width: 100%;
  }
  .wrapper-social-login {
    width: 100% !important;
    border-top: 1px solid #ddd;
  }
  .inner-social h2.title {
    padding-top: 50px;
  }
  .page-numbers {
    padding: 0 !important;
  }
  .bank .gform_heading .gform_title {
    font-size: 34px;
  }
  .bank-modal-content .close {
    right: 50px;
  }
  .tabs-container {
    padding-top: 0;
  }
  li.tab-menu-item {
    font-size: 24px;
  }
  .woocommerce-page table.cart .product-thumbnail {
    display: block !important;
  }
  .product-name a,
  .woocommerce-cart .cart_totals td[data-title],
  .woocommerce-cart .cart_totals bdi {
    font-size: 18px !important;
  }
  .woocommerce-cart .product-name a {
    max-width: 130px;
    width: 100%;
    display: inline-block;
  }
  .woocommerce-cart .cart_item td {
    padding-right: 20px !important;
  }
  .woocommerce-cart .cart_item td.product-thumbnail {
    padding-right: 0px !important;
  }
  .cart_item td {
    font-size: 14px !important;
    color: #3f3f3f;
  }
  .tax-product_cat .product,
  .product {
    width: 100% !important;
  }
  .single-product .site-content {
    padding: 0 25px !important;
  }
  .apus-breadscrumb a,
  .apus-breadscrumb span {
    font-size: 18px !important;
  }
  .amount bdi {
    font-size: 16px !important;
    font-weight: 700;
  }
  .woocommerce-cart .amount bdi {
    font-weight: 400;
  }
  .woocommerce-cart .amount bdi span,
  .woocommerce-cart .order-total bdi {
    font-weight: 700;
  }
  .page-id-3971 .post-thumbnail img {
    height: 200px;
    object-fit: cover;
  }
  .tax-product_cat .amount bdi {
    font-size: 24px !important;
    font-weight: 400;
  }
  .woocommerce-cart td.product-subtotal {
    color: #3f3f3f !important;
  }
  .woocommerce-cart .cart_item:nth-last-child(2) td:nth-last-child(2) {
    padding-bottom: 15px !important;
  }
  .cart_item td {
    padding-bottom: 3px !important;
  }
  .woocommerce-cart .woocommerce-shipping-methods label {
    font-size: 14px;
  }
  .page-id-3971 .post-grid {
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25) !important;
    border-radius: 15px;
  }
  .mobile-sidebar-btn.btn-left,
  .woocommerce-shop .filter.single-archive {
    display: none;
  }
  .tax-product_cat .filter.single-archive {
    margin-top: 10px;
  }
  .tax-product_cat .list-product-archive a {
    font-size: 22px;
    font-weight: 700;
  }
  .woocommerce div.product form.cart .button {
    margin-top: 30px;
    margin-left: 0;
  }
  .list-product-archive a {
    font-size: 24px;
  }
  .single-post .hidden-xs {
    display: block !important;
  }

  .listing-detail-main .hide-desktop {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .job-detail-buttons .btn-block ~ .btn-block {
    align-items: center;
    display: flex;
    justify-content: center;
  }
  .job-detail-buttons .btn {
    padding: 18px 5px;
    font-family: "Corbel";
  }
  .single-listing .listing-section {
    padding-top: 0 !important;
  }
  .single-listing .gform_wrapper input:focus,
  .single-listing .gform_wrapper textarea:focus {
    outline: 1px solid rgba(56, 56, 56, 0.25);
  }
  .latest-news-wrapper {
    padding-top: 0;
    padding-bottom: 25px;
  }
  .listing-detail-main #reviews {
    margin-bottom: 0;
  }

  /* New popup changes 'help me choose' */

  .page-counter span {
    height: 45px;
    width: 45px;
  }
  .page-counter.row {
    display: block;
  }
  .page-counter div,
  .page-counter p {
    justify-content: left;
    text-align: left;
    display: flex;
    flex-direction: row;
  }
  .page-counter > div {
    margin-bottom: 40px;
  }
  .page-counter div p {
    bottom: unset;
    position: unset;
    font-size: 18px;
    display: flex;
    height: unset;
    align-items: center;
    margin-left: 15px;
  }
  .page-counter div:not(:last-child):after {
    width: 15%;
    content: "";
    position: absolute;
    top: 63px !important;
    left: -22px;
    height: 3px;
    background-color: #d8d8d8;
    transform: rotate(90deg);
  }
  .chooseme-modal-content {
    padding: 45px 20px 20px;
    width: 85%;
  }
  .page-content h2 {
    font-size: 24px;
    text-align: left;
  }
  .page-content p {
    font-size: 16px;
    text-align: left;
  }
  .body-type-choices {
    overflow-y: unset;
    height: auto;
  }
  .body-type-choices label {
    height: 145px;
  }
  .price-range-content .ui-slider-horizontal {
    transform: rotate(90deg);
  }
  #priceRangeSlider .min-price.price-label,
  #priceRangeSlider .max-price.price-label,
  #priceRangeSlider .price-label {
    transform: rotate(270deg);
  }
  #priceRangeSlider {
    transform: rotate(90deg);
    width: 550px !important;
    position: absolute;
    left: -250px;
  }
  #help_me_choose .page-content {
    min-height: 450px;
  }
  .price-range-wrapper {
    top: 34%;
  }
  #help_me_choose .listing-price-range.active {
    min-height: 815px;
  }
  #help_me_choose .listing-brands.active {
    min-height: auto;
  }
  .price-range-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    width: 50px;
    margin: 0 auto;
    position: relative;
  }
}
@media (max-width: 425px) {
  .page-counter div:not(:last-child):after {
    width: 29%;
  }
}
@media (max-width: 375px) {
  .page-counter div:not(:last-child):after {
    width: 33%;
  }
}
