
/* Product Card */
.product-card-premium {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  perspective: 1000px;
}
.product-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Product Image hover */
.product-img {
  transition: transform 0.6s ease;
  display: block;
  border-radius: 15px 15px 0 0;
}
.product-card-premium:hover .product-img {
  transform: scale(1.08) rotateY(3deg) rotateX(2deg);
}

/* Gradient overlay on hover */
.gradient-overlay-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(236,29,36,0.3), rgba(255,107,107,0.2), rgba(236,29,36,0.3));
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
}
.product-card-premium:hover .gradient-overlay-hover {
  opacity: 1;
  animation: gradientSlide 3s linear infinite alternate;
}
@keyframes gradientSlide {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.title-underline {
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ec1d24, #ff6b6b);
  margin-top: 4px;
}

/* View Details Button */
.btn-view-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 15px; /* smaller padding */
  background: transparent; /* no background by default */
  color: #000; /* text black by default */
  font-weight: 600;
  border: 2px solid #000; /* black outline */
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 0;
}

.btn-view-more .btn-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-view-more:hover {
  color: #fff; /* text white on hover */
  background-color: #000; /* black background on hover */
  border-color: #000;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-view-more span,
.btn-view-more .btn-icon {
  position: relative;
  z-index: 1; /* keep text above any effect */
}

/* Shadow for card */
.shadow-hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-radius: 20px;
}

/* Responsive grid */
@media(max-width:1199px){
  .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
}
@media(max-width:767px){
  .col-md-6 { flex: 0 0 100%; max-width: 100%; }
}
