.products-section-label{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  font-weight: 700;
  background-color: rgb(231, 197, 231);
  color: rgb(116, 10, 255);
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content; 
  max-width: 100%;
  white-space: nowrap;
  font-size: 15px;
  margin: 0 auto;
  border: none;
}

.shop-icon {
  width: 20px;
}

.product-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  padding: 40px;
}

/* CARD */
.product-card{
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.product-card:hover{
  transform: translateY(-5px);
}

/* IMAGE */
.image-wrapper{
  position: relative;
}

.product-image{
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* ARROWS */
.prev-btn,
.next-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.2s;
}

.prev-btn:hover,
.next-btn:hover{
  background: rgba(0,0,0,0.7);
}

.prev-btn{ left: 10px; }
.next-btn{ right: 10px; }

/* INFO */
.product-info{
  margin-top: 15px;
}

.product-name{
  font-weight: 600;
  color: rgb(19,1,68);
}

/* AVAILABILITY */
.availability{
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: white;
  background-color: rgb(0, 170, 70);
  padding: 3px 10px;
  border-radius: 20px;
  margin: 6px 0;
}

/* PRICE */
.price{
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.normal{
  color: rgb(255, 10, 92);
  font-weight: bold;
}

.shiny{
  color: rgb(100,100,100);
  font-size: 14px;
}

/* DROPDOWN */
.quantity{
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

/* BUTTON */
.add-to-cart{
  width: 100%;
  padding: 10px;
  background: rgb(255, 10, 92);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.add-to-cart:hover{
  background: rgb(184,0,61);
}

/* MOBILE */
@media (max-width: 767px){
  .product-container{
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .prev-btn,
  .next-btn{
    padding: 4px 8px;
    font-size: 12px;
  }
}
.in-stock{
  background-color: rgb(0, 170, 70);
  color: white;
}

.out-stock{
  background-color: rgb(220, 0, 0);
  color: white;
}

.low-stock{
  background-color: rgb(255, 170, 0);
  color: white;
}

/* disabled button */
.add-to-cart:disabled{
  background: gray;
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

.bottom-shop-icon{
  display: flex;
  justify-content: center;
}
.button-shop-now{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  font-weight: 700;
  background-color: rgb(231, 197, 231);
  color: rgb(116, 10, 255);
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content; 
  max-width: 100%;
  border: none;
  transition: all 0.3s ease;
}
.button-shop-now:hover{
  background-color: blueviolet;
  color: white;
  transform: scale(1.05);
}

.bottom-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  background-color: #f5f0f0;
  padding: 30px;
  margin: 0 40px;
  border-radius: 20px;
}


/*cart*/
.cart-panel{
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-panel.active{
  right: 0;
}

.cart-header{
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.close-cart{
  cursor: pointer;
  font-size: 25px;
}

.cart-items{
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.cart-item{
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.cart-item img{
  width: 50px;
  border-radius: 8px;
}

.cart-item-info{
  font-size: 14px;
}

.cart-footer{
  padding: 15px;
  border-top: 1px solid #ddd;
}

.place-order{
  width: 100%;
  padding: 10px;
  background: rgb(255,10,92);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.clear-cart{
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: black;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.clear-cart:hover{
  background: rgb(50,50,50);
}

/* GREEN ALERT */
.cart-alert{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(0, 170, 70);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  z-index: 99999;
  font-weight: 600;
}
.cart:hover{
  cursor: pointer;
}