.pp-container { 
  max-width:1200px; 
  margin:40px auto; 
  padding:16px; 
  font-family:'Inter', sans-serif; 
}

/* Title */
.pp-title {
  font-size:28px;
  font-weight:700;
  margin-bottom:16px;
  color:#111;
}

/* Carousel */
.pp-carousel-wrapper {
  overflow:hidden;
  position:relative;
  width:100%;
}
.pp-carousel-track {
  display:flex;
  gap:16px;
  will-change:transform;
  transition:transform 0.8s linear;
}
.pp-carousel-card {
  flex-shrink:0;
  width:220px;
}

/* Card Style (Trending Products / Latest Products style) */
.pp-card { 
  background:#fff; 
  border:1px solid #e0e0e0; 
  border-radius:1rem; 
  overflow:hidden; 
  display:flex; 
  flex-direction:column; 
  position:relative; 
  transition:all 0.25s ease; 
}



.pp-img-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}
.pp-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Discount badge (top-left) */
.pp-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: red;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Rating badge (bottom-right) */
.pp-rating {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pp-rating i {
  color: #ffb400; /* golden star */
  font-size: 0.8rem;
}






.pp-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.08); }
.pp-card img { width:100%; height:160px; object-fit:cover; border-radius:1rem 1rem 0 0; }
.pp-content { padding:12px; flex:1; display:flex; flex-direction:column; justify-content:space-between; }
.pp-title-link { font-size:0.875rem; font-weight:600; margin-bottom:4px; text-decoration:none; color:#111; transition:color 0.2s; }
.pp-title-link:hover { color:#7FAD39; }
.pp-price { display:flex; align-items:center; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.pp-sell { font-weight:700; color:green; }
.pp-regular { text-decoration: line-through; color:#888; font-size:0.75rem; }
.pp-actions { display:flex; gap:8px; margin-top:auto; flex-wrap:nowrap; }
.pp-icon { width:36px; height:36px; background:#f0f0f0; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; border:none; flex-shrink:0; }
.pp-icon:hover { background:#e0e0e0; }


.pp-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  flex:1;
  background: #7FAD39;
  color:#fff;
  border:none;
  padding:8px;
  border-radius:8px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:0.875rem;
  white-space:nowrap;
}

/* hover animation layer */
.pp-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: width 0.6s ease;
}

.pp-btn:hover::before {
  width: 100%; /* ✅ বাম থেকে ডানে কালো রঙ ভরে যাবে */
}





/* Responsive */
@media(max-width:768px){
  .pp-title { font-size:24px; }
}
