.product-list-main-container .product-container-custom {
  padding: 0 80px;
  padding-top: 30px;
}

.search-bar-container {
  padding: 20px 0 30px 0;
}

.breadcrumb-container .breadcrumb {
  gap: 8px;
  align-items: center;
  margin-bottom: 0px;
}

.categories-main-container img {
  width: 100%;
  max-height: 350px;
}

.categories-main-container h1 {
  position: absolute;
  top: 50%;
  padding-left: 32px;
  transform: translate(0%, -50%);
}

.see-more {
  color: #108482;
  font-weight: 600;
  font-size: 18px;
}

.shop-card{
  min-width: 180px;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shop-card .shop-image {
  width: 100%;
  max-height: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.shop-card .ratings {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--Gray-600, #475467);
  font-family: "Be Vietnam Pro";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.product-list-main-container .swiper-slide {
  width: auto; /* Let slides take their natural width */
  margin-right: 15px; /* Add spacing between slides */
}

.product-list-main-container .swiper-button-prev,
.product-list-main-container .swiper-button-next {
  color: #333;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.product-list-main-container .swiper-button-prev:after,
.product-list-main-container .swiper-button-next:after {
  font-size: 18px;
  font-weight: bold;
}

.product-list-main-container .swiper-button-prev {
  left: 0;
}

.product-list-main-container .swiper-button-next {
  right: 0;
}

.marketplace-container {
  padding: 30px 0;
  background-color: #f9fafb;
}

.filter-sidebar {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.quantity-control {
  width: 100%;
  position: relative;
}

.filter-heading {
  padding-bottom: 15px;
  border-bottom: 1px solid #eaecf0;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-content p {
  margin: 0;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter-content p:hover {
  color: #108482;
}

.filter-content .form-check {
  padding: 0;
  margin-bottom: 10px;
}

.color-options {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.color-options .color-option-container {
  display: flex;
  gap: 6px;
}

.color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #eaecf0;
}

.color-option.selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #108482;
}

.price-range {
  margin-top: 15px;
}

.price-inputs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.price-inputs input {
  width: 180px;
  display: flex;
  height: 52px;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #d0d5dd);
  background: var(--White, #fff);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  color: var(--Gray-500, #667085);
  outline: none;

  /* Text md/Regular */
  color: var(--Gray-800, #1d2939);
  font-family: "Be Vietnam Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f2f4f7;
  border-radius: 16px;
  font-size: 14px;
  color: #344054;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.tag.active {
  background-color: #108482;
  color: white;
}

.view-options {
  display: flex;
  gap: 8px;
  align-items: center;
}

.view-option {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #f2f4f7;
  cursor: pointer;
}

.view-option.active {
  background-color: #108482;
  color: white;
}

.noselect {
  user-select: none; /* Standard */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
}

.product-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid #eaecf0;
}

.product-category {
  font-size: 12px;
  color: #667085;
  margin-bottom: 8px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.rating-stars {
  display: flex;
  color: #ffb800;
  margin-right: 8px;
}

.product-weight {
  font-size: 14px;
  color: #667085;
  margin-top: auto;
  margin-bottom: 8px;
}

.product-price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.clearbutton {
  color: #0d6a68 !important;
  text-decoration: underline;
}

.justify-content-space-between {
  justify-content: space-between;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-final-list {
  max-height: calc(100vh + 410px);
  overflow-y: scroll;
  scrollbar-width: none;
}
.loadproduct {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.product-grid.list-view .product-card {
  flex-direction: row;
  height: 270px;
}

.product-grid.list-view .product-card img {
  width: auto;
  height: 100%;
}

.product-grid.list-view .product-card .product-details .bottom-container {
  max-width: fit-content;
}

.filters-wrapper-content {
  height: calc(90vh - 120px);
  overflow-y: auto;
}

.filter-apply-btn {
  position: sticky;
  bottom: 0;
  background-color: #108482;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
}

.filter-apply-btn:hover {
  background-color: #0a6e6c;
}

.filter-toggle-btn {
  display: none;
  background-color: #108482;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

/* Prevent body scrolling when filter overlay is open */
body.filter-open {
  overflow: hidden;
}

/* Backdrop overlay */
.filter-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1049;
}

.filter-backdrop.show {
  display: block;
}

@media (min-width: 992px) {
  .filters-wrapper {
    width: 25%;
    padding-right: 15px;
    position: relative;
  }

  .main-content {
    width: 75%;
    margin-left: auto;
  }

  /* Hide mobile-specific elements on desktop */
  .filter-backdrop,
  .filter-header-mobile,
  .filter-apply-btn {
    display: none !important;
  }
}

@media only screen and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    height: 385px;
  }
  .col-lg-3 .filter-sidebar {
    display: none;
  }

  .main-content-header {
    flex-direction: column;
    gap: 16px;
  }

  .main-content-header .title {
    text-align: start;
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .filter-buttons-content {
    justify-content: space-between;
    width: 100%;
  }

  .price-inputs input {
    width: 130px;
  }

  .product-list-main-container {
    padding-bottom: 80px; /* Space for the fixed filter button */
  }

  .product-list-main-container .product-container-custom {
    padding: 0 15px;
  }

  .deskview {
    display: none;
  }

  .filters-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1050;
    height: 100vh;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    overflow-y: auto;
    padding: 65px 16px 0px;

    display: block !important;
    transform: translateY(100%);
    transition: transform 0.6s ease-out;
  }

  .filters-wrapper.show {
    display: block;
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .filters-wrapper .filter-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .filters-wrapper .filter-header-mobile h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }

  .filters-wrapper .filter-header-mobile .close-filters {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }

  .product-list-main-container .swiper-button-prev,
  .product-list-main-container .swiper-button-next {
    display: none;
  }

}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-image {
    height: 180px;
  }

  .categories-main-container {
    display: none;
  }
}

.sort-dropdown {
  padding: 8px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background-color: white;
  color: #344054;
  font-size: 14px;
  min-width: 140px;
}
