/* PRODUCT HEADER OVERLAP */
.product-carousel {
  margin-top: -40px; /* Ini membuat section naik ke Hero */
  background: #fff;
  padding-top: 60px;
  text-align: center;
}

.product-header h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-header p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

/* ========== CAROUSEL SECTION ========== */
.product-carousel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1); /* bayangan lebih tebal dan gelap */
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.product-carousel h2 {
  font-size: 32px;
  margin: 16px 0 8px;
}

.product-carousel > p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #555;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 10px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.product-item {
  flex: 0 0 75%;
  scroll-snap-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.product-item img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.product-item p {
  font-size: 14px;
  margin-top: 8px;
  color: #333;
  font-weight: 500;
}

/* ========== CAROUSEL BUTTONS ========== */
.carousel-btn {
  display: none; /* default tidak tampil */
}

@media (min-width: 768px) {
  .carousel-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 2;
  }

  .carousel-btn.left {
    left: 10px;
  }

  .carousel-btn.right {
    right: 10px;
  }

  .product-item {
    flex: 0 0 30%;
  }
}

/* ========== DESCRIPTION BELOW CAROUSEL ========== */
.product-description {
  padding: 20px;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.highlight-text {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.6;
}
