/* --- PRODUCT DETAIL LAYOUT --- */
.detail-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 5%;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* 1. Bagian Foto */
.product-visual {
  flex: 1.2;
  position: sticky;
  top: 120px; /* Biar fotonya tetep diem pas di-scroll (ala brand mewah) */
}

.product-visual img {
  width: 100%;
  height: auto;
  border: 1px solid #1a1a1a;
  filter: brightness(0.9);
  transition: 0.5s;
}

.product-visual img:hover {
  filter: brightness(1);
}

/* 2. Bagian Info Text */
.product-details {
  flex: 0.8;
  padding-top: 20px;
}

.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-details h1 {
  font-size: 3.5rem;
  line-height: 0.9;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.detail-price {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 40px;
  font-family: "Inter", sans-serif;
}

.description {
  color: #888;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 50px;
  padding-right: 20px;
}

/* 3. Button Tambah ke Keranjang */
.add-to-cart-btn {
  width: 100%;
  padding: 20px;
  background: #fff;
  color: #000;
  border: none;
  font-family: "Syncopate", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
}

.add-to-cart-btn:hover {
  background: #888;
  color: #fff;
}

/* Responsive buat HP */
@media (max-width: 768px) {
  .detail-container {
    flex-direction: column;
    gap: 40px;
  }

  .product-visual {
    position: relative;
    top: 0;
  }

  .product-details h1 {
    font-size: 2.5rem;
  }
}
