/* =========================================
   PREMIUM PRODUCT SLIDER UI (NEXT LEVEL)
========================================= */

.home1-product-showcase-section {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

/* ===== SLIDER ===== */
.product-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.product-slider::-webkit-scrollbar {
  height: 6px;
}
.product-slider::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg,#ff512f,#dd2476);
  border-radius: 10px;
}

/* ===== CARD (GLASS + 3D) ===== */
.product-showcase-card {
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 auto;

  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;

  display: flex;
  flex-direction: column;
  position: relative;
}

/* glow border */
.product-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg,#ff512f,#dd2476,#00d4ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

.product-showcase-card:hover::before {
  opacity: 1;
}

/* hover 3D lift */
.product-showcase-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* ===== IMAGE ===== */
.product-image-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.product-showcase-card:hover img {
  transform: scale(1.1) rotate(1deg);
}

/* ===== BADGE ===== */
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg,#ff512f,#dd2476);
  color: #fff;
  padding: 5px 12px;
  font-size: 10px;
  border-radius: 30px;
  font-weight: 600;
}

/* ===== OVERLAY ===== */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
}

.product-showcase-card:hover .product-overlay {
  opacity: 1;
}

.primary-btn1 {
  background: linear-gradient(135deg,#ff512f,#dd2476);
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
  transition: 0.3s;
}

.primary-btn1:hover {
  transform: scale(1.1);
}

/* ===== CONTENT ===== */
.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* category */
.product-category span {
  font-size: 10px;
  background: rgba(255,81,47,0.1);
  color: #ff512f;
  padding: 4px 10px;
  border-radius: 6px;
}

/* title */
.product-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0 6px;
}

/* description */
.product-content p {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

/* ===== FEATURES ===== */
.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  font-size: 12px;
  color: #444;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== FOOTER FIX ===== */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* rating */
.product-rating {
  display: flex;
  flex-direction: column;
}

.product-rating .star {
  display: flex;
  gap: 3px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-rating .star li i {
  font-size: 12px;
  color: #ffc107;
}

.product-rating span {
  font-size: 10px;
  color: #888;
}

/* learn more */
.learn-more-link {
  font-size: 12px;
  font-weight: 600;
  color: #ff512f;
  text-decoration: none;
  transition: 0.3s;
}

.learn-more-link:hover {
  color: #dd2476;
  transform: translateX(3px);
}

/* ===== SLIDER BUTTONS ===== */
.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.slider-controls button {
  background: linear-gradient(135deg,#111,#333);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.slider-controls button:hover {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-showcase-card {
    min-width: 240px;
  }

  .product-image-wrapper {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .product-showcase-card {
    min-width: 220px;
  }

  .product-image-wrapper {
    height: 140px;
  }
}