/* CSS for Custom Category Banners */
.swiper-categories {
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
}

.swiper-categories .swiper-slide {
  width: 110px;
}

.swiper-categories .collection-link {
  display: block;
  width: fit-content;
  text-decoration: none;
}

.swiper-categories .collection-link__image {
  display: block;
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  border-radius: 9999px;
  overflow: hidden;
  background-color: #F5EFEB;
  transition: background-color 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

.swiper-categories .collection-link__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-categories .collection-link__title {
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-transform: capitalize;
  color: #481216;
  transition: color 0.3s ease;
  margin-top: 10px;
}

.swiper-categories .collection-link:hover .collection-link__image {
  background-color: #E14745 !important;
}

.swiper-categories .collection-link:hover .collection-link__title {
  color: #E14745 !important;
}

@media (min-width: 768px) {
  .swiper-categories {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Custom Featured Products Card */
.product-custom-featured-wrapper {
  background: transparent;
  padding: 8px;
  width: 300px !important;
  max-width: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease;
  flex: 0 0 300px !important;
}

.product-custom-link {
  text-decoration: none;
  color: inherit;
}

.product-custom-image-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  /* A bit taller than square for an elegant look */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #f7f7f7;
}

.product-custom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-custom-featured-wrapper:hover .product-custom-img {
  transform: scale(1.03);
}

.product-custom-title {
  font-size: 15px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-custom-title-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #c00000;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  z-index: 2;
  transition: color 0.3s ease;
}

.product-custom-info {
  margin-top: 12px;
}

.product-custom-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-custom-prices {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-custom-price {
  font-size: 16px;
  color: #111;
}

.product-custom-rating {
  display: flex;
  align-items: center;
}

.product-custom-action-btn {
  width: 100%;
  background-color: #F5EFEB;
  color: #111;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 0;
  outline: none;
  cursor: pointer;
  display: block;
  appearance: none;
  -webkit-appearance: none;
}

.product-custom-featured-wrapper:hover .product-custom-action-btn {
  background-color: #c00000;
  color: #fff;
}