* { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Inter', sans-serif;
      background: #fff;
      color: #111;
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; }

    /* Navbar */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      border-bottom: 1px solid #eee;
    }
    .logo {
      font-size: 1.2rem;
      font-weight: 700;
    }
    nav {
  display: flex;
  justify-content: space-between; /* logo di kiri, menu di kanan */
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px; /* jarak logo dan teks */
  font-size: 1.2rem;
  font-weight: 700;
}

.logo-img {
  width: 32px; /* ukuran logo */
  height: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

nav ul li a:hover {
  color: #2563eb;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

a.back-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #555;
}

.product-detail {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch; /* Tambahkan ini agar kolom memiliki tinggi yang sama */
}

.product-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 100%; /* Tambahkan ini */
}

.product-image img {
    width: 100%;
    height: 100%; /* Ubah menjadi 100% */
    object-fit: cover; /* Tambahkan ini untuk mengisi container tanpa distorsi */
    display: block;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
}

.product-overlay h2 {
    margin: 0;
}

.rating {
    color: gold;
    font-size: 1.2em;
}

.product-info {
    flex: 1;
}

.product-info h1 {
    margin-top: 0;
    font-size: 40px;
    text-align: left;
}

.product-info p.price {
    font-weight: bold;
    margin: 10px 0;
    font-size: 24px;
    text-align: left;
}

.product-info p.deskripsi{
  font-weight: 500;
  margin: 10px 0;
  font-size: 20px;
  text-align: left;
}

.hero-text .cta {
      padding: 0.7rem 1.2rem;
      background: #000;
      color: #fff;
      border-radius: 6px;
      font-weight: 600;
    }
   .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;   /* lebar sesuai figma */
  height: 76px;   /* tinggi sesuai figma */
  background-color: #283587; /* warna biru */
  color: white;
  font-size: 20px;  /* ukuran teks sesuai figma */
  border-radius: 6px; /* atau sesuai desain */
  font-weight: 600;
  gap: 6px; /* jarak teks dan panah */
  transition: background-color 0.3s ease, letter-spacing 0.3s ease;
}

.cta.hovered {
  background-color: #1e40af; /* warna saat hover */
  letter-spacing: 0.5px;       /* animasi jarak huruf */
}

.btn-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 0; /* awalnya nol biar ga ngaruh ke ukuran tombol */
  overflow: hidden;
}

.cta.hovered .btn-arrow {
  opacity: 1;
  transform: translateX(0);
  width: auto;
}

.related-products h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 40px;
}

.related-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch; /* Tambahkan ini */
}

footer {
    padding: 20px 50px;
    font-size: 14px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .social-icons a {
    margin-left: 10px;
    text-decoration: none;
    font-size: 18px;
    color: #000;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #1e40af; /* Warna hover */
}

/* === Responsif === */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .product-detail,
  .related-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-image {
    height: auto; /* Ubah kembali ke auto di mobile */
  }
  
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}