.marketplace-list .product-list {
  grid-template-columns: repeat(1, 1fr);
  display: flex;
  flex-direction: column;
}

.marketplace-list .product-card1 {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  width: 100%;
  background: white;
  padding: 15px;
  /* border-radius: 4px; */
  overflow: hidden;
  border: 1px solid lightgrey;
  /* box-shadow: 0 0 4px rgba(0,0,0,0.15) */
  /* box-shadow: 0px 0px 1px 0px; */
}

/* .marketplace-list .new,
.marketplace-list .rating {
    display: none !important;
} */

.marketplace-list .product-info1 {
  padding: 10px;
  width: 55%;
  /* justify-content: space-between;
    display: flex; */
  flex-direction: column;
  height: -webkit-fill-available;
}

input[type="checkbox"] {
  accent-color: #fe4e44;
}

.marketplace-list .product-image1 {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* height: 201px; */
}

.marketplace-list .product-image2 {
  display: none !important;
}

.marketplace-list .imagebox {
  /* margin: 15px; */
  /* width: 245px; */
  background: white;
  border-radius: 4px;
  overflow: hidden;
  width: 20%;
  /* box-shadow: 0 0 4px rgba(0,0,0,0.25) */
  /* box-shadow: 0px 0px 1px 0px; */
}

.marketplace-list .filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: flex-end;
  /* sidebar slides from right */
  z-index: 9999;
}

.marketplace-list .filter-modal .sidebar {
  background: white;
  width: 300px;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

/* Optional: transition effect */
.marketplace-list .filter-modal .sidebar {
  transition: all 0.3s ease;
}

/* Hide with Bootstrap class */
.marketplace-list .d-none {
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.marketplace-list .container {
  padding: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Breadcrumb */
.marketplace-list .breadcrumb {
  font-size: 14px;
  color: #515050;
  margin-bottom: 20px;
}

.marketplace-list .product-grid,
.marketplace-list .product-grid1 {
  /* max-width: 999px; */
}

.marketplace-list .breadcrumb span {
  margin: 0 5px;
}

.marketplace-list .breadcrumb .active {
  color: #0d0d0f;
}

/* Content Layout */
.marketplace-list .content-wrapper {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

/* Sidebar */
.marketplace-list .sidebar {
  width: 18%;
  background: white;
  padding: 20px;
  border: 1px solid lightgrey;
  /* box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px; */
}

.marketplace-list .search-section,
.marketplace-list .filter-section {
  margin-bottom: 30px;
}

h3 {
  font-size: 16px;
  color: #0d0d0f;
  margin-bottom: 10px;
  font-weight: 500;
}

.marketplace-list .search-input {
  position: relative;
  margin-bottom: 10px;
}

.marketplace-list .search-input input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 10px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
}

.marketplace-list .search-input img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.marketplace-list .checkbox-list {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}

.marketplace-list .checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #515050;
  font-size: 14px;
}

.marketplace-list .rating-num {
  font-size: 10px;
}

.marketplace-list .start-rating {
  font-size: 22px !important;
}

.marketplace-list .new {
  color: #fe4e44;
  background: #ffeff0;
  padding: 4px 7px;
  align-self: self-end;
  font-weight: 500;
  margin-bottom: 0px;
  font-size: 14px;
}

.marketplace-list .heart-image {
  width: 100%;
  position: relative;
  /* important so that the absolute positioning works */
}

.marketplace-list .heart-image .circle-container {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(25%);
  border: 1px solid rgba(213, 213, 213, 1);
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  z-index: 10;
}

.reset-filter {
  display: flex;
  width: max-content;
  justify-self: end;
  /* background: linear-gradient(to right, #FE4E44, #9F0900); */
  color: #fe4e44;
  font-size: 14px;
  font-weight: 500;
  border-radius: 27px;
}

.marketplace-list .heart-image .circle-container img {
  height: 20px;
  width: 20px;
  object-fit: contain;
}

/* Product Grid */
.marketplace-list .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.marketplace-list .product-card {
  /* height: 448px !important; */
  width: 100%;
  background: white;
  border: 1px solid lightgrey;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: unset;
  transition: all 0.3s ease;
}

.marketplace-list .product-image {
  width: 100%;
  margin-bottom: 24px;
  aspect-ratio: 1/1;
  /* object-fit: contain; */
  transition: scale 0.3s ease;
}

.marketplace-list .product-info {
  display: flex;
  padding: 0px 10px 10px 10px;
  flex-direction: column;
  gap: 2px;
}

.marketplace-list .product-card:hover .product-image {
  scale: 1.1;
}

.marketplace-list .product-title {
  font-size: 16px !important;
  color: #555 !important;
  margin-bottom: 10px;
  /* align-content: center; */
  line-height: 1rem;
  height: 2rem;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-list .product-subtitle {
  font-size: 16px !important;
  color: #000 !important;
  margin-bottom: 24px;
  align-content: center;
  line-height: 1rem;
  height: 2rem;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketplace-list .product-price {
  display: flex;
  align-items: center;
  /* vertical alignment */
  gap: 1px;
  /* consistent spacing */
  margin-bottom: 4px;
  color: #555;
}

/* Bigger, bold red rate */
.rate_color {
  color: #fe4e44;
  font-weight: 700;
  font-size: 22px;
  /* 👈 bigger price */
  line-height: 1;
}

/* Unit text */
.unit-text {
  font-size: 14px;
  color: #555;
  margin-right: 2px;
}

.country-origin {
  display: flex;
  align-items: center;
  /* vertical center */
  gap: 6px;
  /* space between flag & text */
}

.flag-icon {
  width: 20px;
  height: auto;
  display: block;
}

/* MOQ / delivery terms */
.marketplace-list .product-moq {
  font-size: 14px;
  color: #555;
  font-weight: normal;
}

.marketplace-list .product-card:hover,
.marketplace-list .product-card1:hover {
  border: 1px solid #fe4e44 !important;
}

.lead-details-table {
  width: 100%;
  flex-direction: row;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  /* padding-right: 10px; */
}

.detail-table {
  width: 100%;
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border-top: 1px solid lightgrey;
}

.detail-row:not(:first-child) {
  margin-top: 0.625rem;
}

.detail-label {
  width: 49%;
  font-weight: 600;
  color: #0d0d0f;
  background-color: white;
  border-bottom: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  padding: 7px 4px;
  text-align: left;
  text-wrap-mode: nowrap;
}

.detail-value {
  font-weight: 400;
  text-align: left;
  padding: 7px;
  border-bottom: 1px solid #d5d5d5;
  border-right: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  width: calc(100% - 80px);
}

.marketplace-list .product-seller {
  font-size: 16px;
  color: #000000;
  font-weight: 500;
  margin-bottom: 5px;
  padding-top: 3px;
}

.marketplace-list .product-exhibition {
  font-size: 12px;
  color: #515050;
  margin-bottom: 10px;
}

.marketplace-list .rating {
  background: #fff3f3;
  display: inline-flex;
  justify-content: end;
  height: 27px;
  width: fit-content;
  align-items: center;
  padding: 4px 8px;
  /* border-radius: 4px; */
  /* margin-bottom: 10px; */
  background-color: rgba(255, 243, 243, 1);
}

.marketplace-list .start-order-btn {
  padding: 8px 10px;
  border: unset !important;
  border-radius: 25px;
  width: 100%;
  background: linear-gradient(90deg, #fe4e44 0%, #9f0900 100%);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.marketplace-list .start-order-btn1 {
  padding: 8px 28px;
  border: unset !important;
  border-radius: 25px;
  background: linear-gradient(90deg, #fe4e44 0%, #9f0900 100%);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.marketplace-list .search-input-field {
  display: flex;
  flex-direction: row;
  border: 1px solid #d5d5d5;
  background-color: white;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 6px;
}

.marketplace-list .search-input-field input {
  width: 88%;
  border: 0;
  outline: 0;
}

.marketplace-list .search-input-field img {
  width: 20px;
}

.marketplace-list .filter-section {
  width: 100%;
  margin-top: 10px;
  background: white;
  /* padding: 15px; */
}

input[type="checkbox"] {
  accent-color: #fe4e44;
}

.marketplace-list .search-label {
  color: #0d0d0f;
  font-size: 16px;
  font-weight: 500;
}

.marketplace-list .detail-tab-content {
  display: none;
}

.marketplace-list .active {
  display: block;
}

.marketplace-list .search-input-container {
  width: 100%;
  margin-top: 12px;
  border-radius: 0px 0px 0px 0px;
}

.marketplace-list .search-icon {
  aspect-ratio: 0.95;
  object-fit: contain;
  width: 21px;
  margin: 0 0 0 auto;
}

.marketplace-list .input-label {
  color: #0d0d0f;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.marketplace-list .input-container {
  border: 1px solid #d5d5d5;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0.625rem 1.375rem;
  border-radius: 0.375rem;
}

.marketplace-list .input-container img {
  width: 1.25rem;
  aspect-ratio: 1;
  object-fit: contain;
}

.marketplace-list .filter-sidebar {
  /* background-color: white;
    box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.25); */
  display: flex;
  flex-direction: column;
  /* padding: 1.1rem 1.25rem; */
  border-radius: 0.375rem;
  height: 100%;
}

.marketplace-list .filter-item {
  display: flex;
  gap: 8px;
}

.marketplace-list .filter-section:first-child {
  margin-top: 0;
}

.marketplace-list .checkbox-item {
  display: flex;
  align-items: center;
  margin-left: 8px;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.marketplace-list .checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid #d5d5d5;
  background-color: white;
  border-radius: 0.125rem;
  cursor: pointer;
  flex-shrink: 0;
}

.marketplace-list .checkbox-checked {
  background-image: url("https://cdn.builder.io/api/v1/image/assets/22e8f5e19f8a469193ec854927e9c5a6/fa3fb47b92badc40c5a98d6513d0cc4689a59f45?placeholderIfAbsent=true");
  background-size: cover;
  border: none;
}

.marketplace-list .checkbox-label {
  font-size: 14px;
  color: #0d0d0f;
  font-weight: normal;
}

.marketplace-list .country-list {
  display: flex;
  flex-direction: column;
  /* min-height: 122px; */
  max-height: 215px;
  max-width: 100%;
  /* width: 8rem; */
  overflow-y: scroll;
  margin-top: 0.75rem;
  /* background-color: #e0dce24a; */
}

.marketplace-list .category-list {
  display: flex;
  flex-direction: column;
  /* min-height: 477px; */
  max-width: 100%;
  max-height: 215px;
  /* width: 199px; */
  overflow-y: scroll;
  margin-top: 0.75rem;
  /* background-color: #e0dce24a; */
}

.marketplace-list .filter-button {
  display: none;
  margin-left: 50px;
  width: 101px;
  height: 30px;
  align-items: center;
  gap: 6px;
  border: 1px solid #ccc;
  padding: 6px 12px;
  background-color: white;
  cursor: pointer;
}

.marketplace-list .product-list {
  width: 100%;
  /* height: 100%; */
}

.marketplace-list .diamong-img {
  width: 15px;
}

.marketplace-list .search-input {
  width: 100%;
}

.marketplace-list .search-input-field {
  display: flex;
  flex-direction: row;
  border: 1px solid #d5d5d5;
  background-color: white;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 6px;
}

.marketplace-list .search-input-field input {
  width: 88%;
  border: 0;
  outline: 0;
}

.marketplace-list .search-input-container {
  width: 100%;
  margin-top: 12px;
  border-radius: 0px 0px 0px 0px;
}

.marketplace-list .search-input-field img {
  width: 20px;
}

.marketplace-list .flag-icon {
  width: 20px;
}

.marketplace-list .start-order-btn:hover {
  /* border: 1px solid #ffffff00; */
  /* background: #ff4137; */
  color: white;
}

/* Pagination */
.marketplace-list .pagination {
  /* display: none; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.marketplace-list .items-per-page {
  color: #515050;
  font-size: 16px;
}

.marketplace-list .sidebar h3 {
  font-size: 16px !important;
}

.marketplace-list .page-numbers {
  display: flex;
  gap: 10px;
}

.marketplace-list .page-numbers button {
  width: 30px;
  height: 30px;
  border: 1px solid #d5d5d5;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  color: #515050;
}

.marketplace-list .page-numbers button.active {
  background: #f0f0f0;
}

.marketplace-list .product-card.double {
  grid-column: span 2 !important;
  /* width: 493px !important;s */
}

/* @media(max-width:1200px){
     .marketplace-list .sidebar{
        display: none;
        }
     .marketplace-list .product-grid {
            grid-template-columns: repeat(, 1fr);
        }
    } */
.marketplace-list .market-sub {
  /* margin: 2rem 2rem; */
}

.marketplace-list .desktop-sidebar {
  display: block;
}

.marketplace-list .mobile-sidebar {
  display: none;
}

.marketplace-list .main-content {
  width: 80%;
  margin: 0;
}

.marketplace-list .product-diamond {
  width: 25px;
}

.marketplace-list .hide-header {
  display: none;
}

.marketplace-list .breadcrumb {
  justify-content: space-between;
}

.marketplace-list .breadcrumb .icon-top {
  border-radius: 0 !important;
  box-shadow: 0px 0px 1px 0px;
  padding-top: 5px;
  padding-left: 3px;
  padding-right: 4px;
  padding-bottom: 1px;
}

.marketplace-list .icon-top .bi {
  font-size: 17px;
  /* padding: 2px 1px; */
  display: flex;
  align-items: center;
  color: #fe4e44 !important;
}

.vendor-ad img {
  max-height: 590px;
  height: 100%;
  width: 100%;
  grid-column: span 2;
  object-fit: unset;
}

.vendor-ad {
  width: 100%;
  height: 100%;
  grid-column: span 2;
}


@media (max-width: 1300px) {
  .marketplace-list .product-image {
  }

  .rate_color {
    font-size: 12px;
  }

  

  .vendor-ad {
    width: 100%;
    height: 100%;
    grid-column: span 2;
  }

  .marketplace-list .product-title {
    font-size: 12px !important;
    margin-bottom: 5px;
  }

  .marketplace-list .product-price {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 4px;
  }

  .marketplace-list .product-seller {
    font-size: 12px;
  }

  .marketplace-list .start-order-btn {
    font-size: 12px;
  }

  .marketplace-list .new {
    font-size: 12px;
  }

  .marketplace-list .rating {
    font-size: 12px !important;
  }

  .marketplace-list .product-moq {
    font-size: 12px;
  }

  .custom-dealrock-text-14 {
    font-size: 12px !important;
  }

  .marketplace-list .search-input-field {
    display: flex;
    flex-direction: row;
    border: 1px solid #d5d5d5;
    background-color: white;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
  }

  .marketplace-list .product-image {
    margin-bottom: 13px;
  }
}

@media (max-width: 1024px) {
  .marketplace-list .desktop-sidebar {
    display: none;
  }

  .marketplace-list .hide-header {
    display: block !important;
  }

  .marketplace-list .mobile-sidebar {
    display: block;
  }

  .marketplace-list .filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
  }

  .marketplace-list .filter-modal .sidebar {
    width: 80% !important;
    background: white;
    padding: 20px;
    height: 100%;
    margin: 2rem;
    overflow-y: auto;
  }

  .marketplace-list .main-content {
    width: 100% !important;
  }

  .marketplace-list .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* .sidebar{
            display: none;
        } */
  .marketplace-list .product-card {
    width: auto;
  }

  .marketplace-list .search-compact {
    /* display: none; */
  }

  .marketplace-list .breadcrumb {
    display: none !important;
  }

  .marketplace-list .content-wrapper {
    flex-direction: column;
  }

  .marketplace-list .product-card.double {
    width: 100% !important;
  }

  .marketplace-list .start-rating {
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  .marketplace-list .content-wrapper {
    flex-direction: column;
  }

  .marketplace-list .product-diamond {
    display: block;
  }

  .marketplace-list .sidebar {
    width: 100%;
  }

  .marketplace-list .togglebelow768 {
    display: none;
  }

  .marketplace-list .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .marketplace-list .rating {
    display: none;
  }

  .marketplace-list .showbelow768 .filter-button {
    width: fit-content;
    margin-left: auto;
    display: flex;
  }

  .marketplace-list .showbelow768 {
    display: flex;
    flex-direction: row;
  }

  .marketplace-list .notshowbelow768 {
    display: none;
  }

  .marketplace-list .showbelow768 .search-section {
    width: 50%;
  }

  .marketplace-list .showbelow768 .search-section .search-input-container {
    margin-top: 0px;
  }

  .marketplace-list .showbelow768 .search-section .search-input-container .search-input-field {
    padding: 3px 25px;
    border-radius: 0px;
  }

  .marketplace-list .showbelow768 .filter-button {
    width: fit-content;
    margin-left: auto;
  }

  .marketplace-list .product-info1 {
    padding: 10px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
}

@media (max-width: 450px) {
   .marketplace-list .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .marketplace-list .market-sub {
    margin: 2rem 1rem;
  }

  .marketplace-list .product-image {
    /* height: 100vh !important; */
  }

  .marketplace-list .product-card.double {
    height: 280px !important;
  }

  .marketplace-list .product-title {
    font-size: 12.46px;
  }

  .marketplace-list .product-price {
    font-size: 13.95px;
  }

  .marketplace-list .product-moq {
    font-size: 12.33px;
  }

  .marketplace-list .product-seller {
    font-size: 10.82px;
  }

  .marketplace-list .product-exhibition {
    font-size: 9.19px;
  }

  .marketplace-list .new {
    font-size: 10.82px;
    display: flex;

    align-items: center;
  }

  .marketplace-list .product-price1 {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }

  .marketplace-list .product-moq1 {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }

  .marketplace-list .product-title1 {
    margin-bottom: 2px !important;
    font-size: 10.46px !important;
  }

  .marketplace-list .product-seller1 {
    font-size: 8.82px;
    margin-bottom: 1px !important;
  }

  .marketplace-list .product-exhibition1 {
    margin-bottom: 2px !important;
  }
}