.product-box {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  overflow: visible;
  position: relative;
}

.product-left {
  flex: 1 1 50%;
  padding: 15px;
}

.main-photo {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: contain;
}

.preview-photos {
  display: flex;
  flex-wrap: wrap;   /* biar bisa turun baris */
  gap: 8px;
  justify-content: center;
}

.preview-photos img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.preview-photos img:hover {
  border: 2px solid #0077ff;
}

.product-right {
  flex: 1 1 50%;
  padding: 20px;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.product-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
  white-space: pre-line;
}

/* Accordion iOS Style */
.info-toggle {
  border-top: none;
}

.info-item {
  border-bottom: 1px solid #eee;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.info-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-header {
  background: #fff;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-header::after {
  content: "›"; /* panah iOS style */
  font-size: 1.2rem;
  color: #999;
  transition: transform 0.3s ease;
}

.info-header.active::after {
  transform: rotate(90deg);
  color: #007aff; /* biru khas iOS */
}

.info-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 16px;
  background: #fafafa;
  font-size: 0.95rem;
  color: #444;
}

.info-content.open {
  max-height: 600px;
  padding: 12px 16px;
  border-top: 1px solid #eee;
}

/* Table dalam accordion */
.accordion-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.accordion-table th,
.accordion-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.accordion-table th {
  font-weight: 600;
  color: #007aff; /* aksen biru iOS */
  background: #f9f9f9;
}
.btn-contact {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-contact:hover {
  background: linear-gradient(135deg, #005fcc, #00a3cc);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .product-box {
    flex-direction: column;
    max-width: 100%;
  }

  .main-photo {
    max-height: 300px; /* batasi tinggi gambar besar di HP */
    width: 100%;
    object-fit: contain;
  }

  .preview-photos img {
    width: 60px;
    height: 60px;
  }
}