.item-shop-header {
  border-radius: 5px;
  color: black;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.item-shop a.btn {
  display: inline-block;
  font-size: auto;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-shop .carousel-inner {
  display: flex;
  padding: 1em;
}

.item-shop .carousel-item {
  flex: 0 0 100%;
  margin-right: 0.5em;
  display: block;
}
.item-shop .carousel-control-prev,
.item-shop .carousel-control-next {
  background-color: #2d2d2d;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 768px) {
  .item-shop .carousel-item {
    margin-right: 0;
    flex: 0 0 20%;
    display: block;
  }
  .item-shop .carousel-inner {
    display: flex;
  }
}

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px; /* Adds spacing between cards */
}

.card-custom {
  flex: 0 0 calc(20% - 10px); /* Each card takes 20% width minus the gap */
  max-width: calc(20% - 10px);
}

/* Responsive Media Queries */
@media (max-width: 1400px) {
  .card-custom {
    flex: 0 0 24%; /* 4 cards per row */
    max-width: 24%;
  }
}

@media (max-width: 1200px) {
  .card-custom {
    flex: 0 0 32%; /* 3 cards per row */
    max-width: 32%;
  }
}

@media (max-width: 768px) {
  .card-custom {
    flex: 0 0 49%; /* 2 cards per row */
    max-width: 49%;
  }
}

@media (max-width: 576px) {
  .card-custom {
    flex: 0 0 100%; /* 1 card per row */
    max-width: 100%;
  }
}

.card {
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
}

.card .img-wrapper {
  max-width: 100%;
  height: 12em;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Mobile view for .img-wrapper */
@media (max-width: 767px) {
  .card .img-wrapper {
    height: 17em;
  }
}

.card img {
  max-height: 150px;
  padding-top: 10px;
}

.card-title-text {
  /* max-height: 116px; */
  font-size: 20px;
  background: -webkit-linear-gradient(
    -91deg,
    #eef85b 5%,
    #7aec8d 53%,
    #09e5c3 91%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 40px;
}

.btn-customer-shop {
  border-radius: 0 0 0.25rem 0.25rem !important;
}

.btn-customer-shop:hover {
  background-color: #244969;
  transition: all 0.5;
}

#carousel-dashboard .carousel-inner {
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-height: 340px;
}

#carousel-dashboard .carousel-item img {
  max-height: 340px;
  object-fit: cover;
  width: 100%;
}
.item-free {
  box-shadow: 0px 0px 6px 1px #ffae10 !important;
}