.main-tasting-card-swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.main-tasting-card-swiper-slide-top{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.main-tasting-card-card-image{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.main-tasting-card-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;      
}
.main-tasting-card-item-tag-price-wrapper{
  position: absolute;
  left: 180px;
  bottom: 70px;
  display: inline-block;
  z-index: 300;
  width: 100px;
}
.main-tasting-card-item-tag-price-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  color: var(--red-color);
  font-size: 16px;
  font-weight: bold;
  font-family: var(--font-main);
  pointer-events: none;
}
.main-tasting-card-item-tag-price-img {
  display: block;
  width: 100%;
  height: auto;
}
/* === Hover box default === */
.main-tasting-card-hover-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.main-tasting-card-hover-box-wrapper{
  width: 100%;
  height: 80px;
  margin-top: 60px;
  background-color: var(--red-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-family: var(--font-main);
  font-size: 16px;
  overflow: hidden;
}

/* === Fade control for elements inside hover box === */
.main-tasting-card-item-tag-price-wrapper {
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.15s; /* start fading after slide begins */
}

.hover-order-btn,
.hover-item-title {
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.15s;
}

/* === When hovering the card === */
.main-tasting-card-swiper-slide:hover .main-tasting-card-hover-box {
  transform: translateY(0);
}

.main-tasting-card-swiper-slide:hover 
.main-tasting-card-item-tag-price-wrapper,
.main-tasting-card-swiper-slide:hover 
.hover-order-btn,
.main-tasting-card-swiper-slide:hover 
.hover-item-title {
  opacity: 1;
}
.main-tasting-card-title {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 5;
}
.main-tasting-card-title-text{
  font-size: 40px;
  font-weight: bold;
  max-width: 500px;
  color: var(--white-color);
  margin-bottom: 30px;
  margin-right: 30px;
  text-align: right;
}
.main-tasting-card-swiper-slide:hover .main-tasting-card-title {
  opacity: 0;
}
.hover-order-main-btn {
  background: var(--white-color);
  color: var(--black-color);
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--white-color) 0.2s ease;
  margin-left: 30px;
  margin-bottom: 30px;
}
.hover-order-main-btn:hover {
  background: #f5f5f5;
  cursor: pointer;
}
.hover-order-btn {
  background: var(--white-color);
  color: var(--black-color);
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--white-color) 0.2s ease;
  margin-left: 20px;
}
.hover-order-btn:hover {
  background: #f5f5f5;
  cursor: pointer;
}
.hover-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--white-color);
  margin-right: 20px;
}
.ts-item-general-tag{
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: row;
  max-height: 50px;
  gap: 10px;
}
.ts-tag{
  flex: 0 0 auto;
  padding: 10px;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  background-color: var(--red-color);
  font-family: var(--font-main);
  font-size: 16px;
  white-space: nowrap;
}