.product-showcase {
  display: flex;
  gap: 40px;
  max-width: 1150px;
  margin: 3rem auto 0;
  padding: 1rem;
  box-sizing: border-box;
}

/* Left and Right Halves */
.image-half,
.product-half {
  flex: 1 1 50%;
  box-sizing: border-box;
}

/* Left side (image) */
.image-half {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes it square */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Right side (info) */
.product-half {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.title-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.product-half h1 {
  font-size: 2rem;
  margin: 0;
}

.product-price {
  font-size: 1.5em; 
  color: #444;
  /* margin-bottom: 0.5rem; */
}

.product-description {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.add-stock {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  gap: 0;
}

.product-stock {
  font-weight: bold;
  /* margin-bottom: 1.5rem; */
}

.add-to-cart-button:hover {
  background-color: #333;
}

.back-link {
  text-decoration: none;
  color: #666;
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive behavior for mobile */
@media (max-width: 768px) {
  .product-showcase {
    flex-direction: column;
    margin-top: 0;
    gap: 20px;
  }

  .image-half,
  .product-half {
    flex: 1 1 100%;
  }

  .showcase-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: unset; /* allow natural image size on narrow screens */
  }
}

/* Dotted border */
hr.dotted {
  border-top: 3px dotted #bbb;
  border-bottom: 0;
  margin: 0;
}

.other-products {
  margin: 10px 20px 0;
}