.small-cart {
  border: 1px solid #eee;
  width: 200px;
  min-height: 100%;
  height: 100vh;
  overflow-y: auto;
}

.small-cart .cart-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  display: flex;
}
.small-cart {
  border: 1px solid #eee;
  width: 200px;
  min-height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9;
}
.small-cart .item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.small-cart .quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ffc107;
  border-radius: 25px;
  padding: 2px;
  width: fit-content;
}
.small-cart .quantity-control button {
  border: none;
  background-color: transparent;
  color: #333;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.small-cart .quantity-control input {
  border: none;
  width: 30px;
  text-align: center;
  background: transparent;
}
.small-cart .quantity-control input:focus {
  outline: none;
}
.small-cart .prime-badge {
  color: #00a8e1;
  font-weight: 500;
}
.small-cart .card {
  min-height: 100%;
}
.small-cart .trash-btn {
  background-color: #f8f9fa;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}

.priceandbutton {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marketplace-content {
  padding: 140px 0 0px 0;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.custom-tooltip {
  visibility: hidden;
  opacity: 0;
  width: 280px;
  background-color: #333;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  position: absolute;
  z-index: 1000;
  left: 50%;
  margin-left: -140px;
  font-size: 12px;
  line-height: 1.4;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Tooltip positioned on top */
.tooltip-top .custom-tooltip {
  bottom: 125%;
}

.tooltip-top .custom-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Tooltip positioned on bottom */
.tooltip-bottom .custom-tooltip {
  top: 125%;
}

.tooltip-bottom .custom-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

.tooltip-container:hover .custom-tooltip {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 1024px) {
  .product-detail .filter-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-detail .filter-group .review-filter-dropdown {
    flex: 1;
  }

  .marketplace-content {
    padding: 70px 0 0px 0;
  }
}

@media (max-width: 576px) {
  .marketplace-content {
    padding: 70px 0 0px 0;
  }

  .product-detail .filter-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-detail .filter-group .review-filter-dropdown {
    flex: 1;
  }
}
