/* Product Page Layout */
.single-product-page {
  padding: 60px 20px;
  background: #f9f9f9;
}

.single-product-page .container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.single-product-page h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
  font-weight: bold;
}

/* Product Grid */
#products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Product Card */
.product-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-6px);
}

.product-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-item h3 {
  font-size: 1.9rem;
  color: #333;
  margin-bottom: 10px;
}

.product-item p {
  color: #666;
  font-size: 1.5rem;
}

/* Back Button */
.view-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.view-btn:hover {
  background: #000;
  transform: translateY(-2px);
}


/* Book Now Button */
.book-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background-color: #e74c3c;
  /* WhatsApp green */
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.book-btn:hover {
  background-color: #e74d3cdf;
  color: #000;
  /* Darker green */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


@media (max-width: 380px) {
  .single-product-page {
    padding: 30px 10px;
    /* reduce padding */
  }

  .single-product-page .container {
    padding: 20px;
  }

  .single-product-page h1 {
    font-size: 1.5rem;
    /* shrink heading */
    margin-bottom: 20px;
  }

  #products-list {
    grid-template-columns: 1fr;
    /* single column */
    gap: 15px;
  }

  .product-item {
    padding: 15px;
  }

  .product-item img {
    height: 140px;
    /* smaller image */
  }

  .product-item h3 {
    font-size: 2rem;
  }

  .product-item p {
    font-size: 1.3rem;
  }

  .view-btn,
  .book-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}