.unavailable-msg {
background-color: #ff6b6b;
color: white;
padding: 10px 20px;
border-radius: 8px;
font-size: 16px;
text-align: center;
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);

}

.leftside{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
/* Product Page Styles */
#product_area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  gap: 60px;
  align-items: start;
}

/* Product Image Section */
#product_area .product-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#product_area .product-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

#product_area .product-image {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Carousel Container inside product image */
.product-carousel {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: auto;
  overflow: hidden;
}

.product-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  max-height: 450px;
  display: block;
  transition: transform 0.3s ease;
}

.product-carousel:hover img {
  transform: scale(1.05);
}

/* Carousel Arrows */
.product-carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s ease;
}

.product-carousel .arrow.left {
  left: 10px;
}

.product-carousel .arrow.right {
  right: 10px;
}

.product-carousel .arrow:hover {
  background: rgba(0,0,0,0.6);
}

/* Hide arrows if single image */
.product-carousel.is-single .arrow {
  display: none;
}

/* Badge for image */
#product_area .product-image::before {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}


/* Product Info Section */
#product_area .product-info {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Product Title */
#product_area h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  color: #2d3436;
  line-height: 1.2;
  text-align: left;
}

/* Weight Badge */
#product_area .weight {
  display: inline-block;
  background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
  color: #2d3436;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  max-width: fit-content;
  box-shadow: 0 4px 12px rgba(168, 230, 207, 0.3);
}

/* Description */
#product_area .desc {
  font-size: 16px;
  color: #636e72;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}
#product_area .title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3436;
  margin: 0;
  text-align: left;
}
/* Price */
#product_area .price {
  font-size: 20px;
  font-weight: 800;
  color: #00b894;
  margin: 0;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

#product_area .price::before {
  content: "₹";
  font-size: 24px;
  color: #636e72;
}

/* Enhanced Cart Controls */
#product_area .cart-controls {
  display: flex;
  justify-content: center;

  align-items: center;
  background: linear-gradient(135deg, #00b894, #00a085);
  border-radius: 50px;
  padding: 12px 100px;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3);
  transition: all 0.3s ease;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

#product_area .cart-controls::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

#product_area .cart-controls:hover::before {
  left: 100%;
}

#product_area .cart-controls:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

#product_area .cart-controls button {
  background: rgba(255, 255, 255, 0);
  border: none;
  width: 100%;
  height: 100%;
  /* border-radius: 50%; */
  font-size: 20px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

#product_area .cart-controls button:hover {
  background: rgba(255, 255, 255, 0);
  transform: scale(1.1);
}

#product_area .cart-controls button:active {
  transform: scale(0.95);
}

#product_area .cart-controls span {
  font-size: 18px;
  min-width: 30px;
  text-align: center;
  color: white;
  font-weight: 700;
}

.section{
  margin: 0px 20px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  #product_area {
    max-width: 900px;
    gap: 40px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  #product_area h2 {
    font-size: 30px;
  }
  
  #product_area .price {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  #product_area {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 20px auto;
    padding: 0 15px;
  }
  
  #product_area .product-image img {
    height: 300px;
  }
  
  #product_area h2 {
    font-size: 28px;
    text-align: left;
  }
  
  #product_area .desc,
  #product_area .price {
    text-align: left;
  }
  
  #product_area .cart-controls {
    align-self: center;
  }
  
  .product-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
   #product_area h2 {
    font-size: 22px;
    text-align: left;
  }
  
  #product_area .price {
    font-size: 22px;
  }
  
  /* Better mobile button */
  #product_area .cart-controls {
    width: 100%;
    justify-content: center;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 18px;
    gap: 10px;
    background: linear-gradient(135deg, #00b894, #00a085);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.25);
  }
  
  #product_area .cart-controls button {
    width: auto;
    height: auto;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 20px;
    background: transparent;
  }
  
  #product_area .cart-controls span {
    font-size: 18px;
    font-weight: 700;
  }
}