.lapwing-main-wrapper {
  width: 100%;
  position: relative;
}
.lapwing-grid {
  display: grid;
  gap: 20px;
}

/* Product Item Base */
.lapwing-item {
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  background: #fff;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

/* OVERLAY STYLE: The Slide-up Fix */
.style-overlay .content-layer {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  transition: 0.4s ease-in-out;
  text-align: center;
  z-index: 2;
}
.style-overlay .lapwing-item:hover .content-layer {
  bottom: 0;
}

/* BG IMAGE STYLE */
.style-bg_image .lapwing-item {
  height: 350px;
  justify-content: flex-end;
}
.style-bg_image .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.style-bg_image .content-layer {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  width: 100%;
}

/* Common Elements */
.content-layer h3 {
  margin: 10px 0;
  font-size: 16px;
}
.lapwing-price {
  font-weight: bold;
  display: block;
  margin: 5px 0;
}
.lapwing-btn {
  text-decoration: none !important;
  display: inline-block;
  padding: 8px 15px;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Cart Icon */
.cart-icon-float {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

/* Rating Style */
.star-rating {
  margin: 5px auto;
  color: #ffcc00;
  font-size: 12px;
}
.img-layer img {
  width: 100%;
  height: auto;
  display: block;
}
