.vendor-inputs-main {
  min-width: 20rem;
  width: 700px;
  height: auto;
  position: absolute;
  top: 70px;
  transform: translate(-50%, 0%);
  background-color: #fff;
  box-shadow: 0px 4px 32px 0px #0000001f;
  border-radius: 10px;
  padding: 20px;
  color: #525455 !important;
  font-size: 14px;
  z-index: 111;
  display: none;
}
.open-FilterModal .vendor-inputs-main {
  display: block;
}
.short-by .dropdown-toggle::after {
  border: 1px solid #130f26;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.short-by .dropdown button {
  border: 1px solid #130f26;
  font-size: 14px;
  color: #130f26;
  background-color: transparent;
  height: 46px;
  padding: 12px 22px;
  border-radius: 54px;
}
.view-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 10px 22px 12px 22px;
  gap: 4px;
  border-radius: 54px;
  border: 1px solid #130f26;
  opacity: 0px;
}
/* filter */
/* filter */
.filter-input {
  position: relative;
}
.filter-input .form-select {
  width: 310px;
  height: 56px !important;
  padding: 16px 20px 16px 56px !important;
  border-radius: 6px !important;
  border: 1px solid #d8d8d8 !important;
  color: #979797;
}
.filter-input .form-select:focus {
  border-color: none;
  box-shadow: none;
}
.filter-input .form-input {
  width: 310px;
  height: 56px !important;
  padding: 16px 20px 16px 56px !important;
  border-radius: 6px !important;
  border: 1px solid #d8d8d8 !important;
  color: #979797;
}

.filter-input .form-input:focus {
  border-color: none;
  box-shadow: none;
}
.filter-input .filtar1-img {
  position: absolute;
  left: 20px;
  top: 16px;
}
/* popular-main-card */
.popular-main-card {
  display: flex;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  height: 100%;
}

.popular-vendors-img img {
  min-width: 406px;
  border-radius: 10px 0px 0px 10px;
  height: 100%;
}
.heart-second-img {
  position: absolute;
  top: 20px;
  right: 20px;
}
.populars-inner {
  width: 100%;
  padding: 32px;
}

.eic-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 37px;
  padding: 12px 22px;
  border-radius: 54px;
  background-color: #eefbfc;
  color: #21b3c0;
  border: none;
}
.eic-btns .form-check-input[type=checkbox] {
 
  margin-top: -1px;
  margin-right: 6px;
  margin-left: -12px;
}
.pagination-main .page-item:first-child .page-link {
  background: #ebebeb;
}
.pagination-main .page-item:last-child .page-link {
  background: #21b3c0;
}
.pagination-main .page-link {
  color: #000;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
}
.pagination-main .page-link:focus {
  color: #21b3c0;
  background-color: transparent;
  box-shadow: none;
  outline: 0;
  border: 1px solid #21b3c0;
}
.change-btn.active {
  color: #21b3c0;
}
.active-img {
  display: none;
}
.change-btn.active .active-img {
  display: block;
}
.change-btn.active .simple-img {
  display: none;
}

/* vendor-container-second */
.vendor-container-second .vendoe-image img {
  width: 100%;
  height: 631px;
  border-radius: 0px;
}
.vendor-container-second .swiper-button-next {
  top: 50% !important;
}
.vendor-container-second .swiper-button-prev {
  top: 50% !important;
}
.vendor-container-second .vendor-slider {
  padding: 0px 10px 10px 10px;
}
.brower-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  column-gap: 24px;
}

.category-img {
  width: 100%;
  height: 180px;
}
/* .category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
} */
.category-img {
  position: relative;
  overflow: hidden; 
  border-radius: 10px; 
  display: flex; 
  justify-content: center;
  align-items: center;
  max-width: 100%; 
  max-height: 100%; 
}

.category-img img {
  width: auto; 
  height: auto; 
  /* max-width: 100%;  */
  max-width: 165px;
  /* max-height: 100%;  */
  max-height: 165px; 
  object-fit: contain; 
  border-radius: 10px; 
  display: block; 
  margin: auto; 
}

.clear-btn{
  background: white !important;
  border: 1px solid #21b3c0 !important;
  color: #21b3c0 !important;
  margin-left: 12px;

}
@media (max-width: 1220px) {
  .brower-grid {
    grid-template-columns: 1;
    grid-template-rows: auto;
    grid-gap: 16px;
  }

  .brower-grid img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 991px) {
  .popular-vendors-img img {
    min-width: 100%;
    width: 100%;
  }
  .brower-grid {
    grid-template-columns: 1;
    grid-template-rows: auto;
    grid-gap: 16px;
  }

  .brower-grid img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 767px) {
  .popular-vendors-img img {
    min-width: auto;
    width: 100%;
  }
  .vendor-container-second .vendoe-image img {
    width: 100%;
    height: auto;
    border-radius: 0px;
  }
  .brower-grid {
    grid-template-columns: 1;
    grid-template-rows: auto;
    grid-gap: 16px;
  }

  .brower-grid img {
    width: 100%;
    height: auto;
  }
  .vendor-inputs-main {
    width: 100%;
    min-width: 21rem;
    transform: translate(-33%, -10%);
    height: auto;
    /* top: 450px; */
    left: 100px;
  }
  .filter-input .form-select {
    width: 100%;
  }
}
