/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #efe9f7 0%, #f7f4fb 100%);
  color: #2d2a32;
  line-height: 1.5;
  padding: 16px;
}

/* Container */
body > * {
  max-width: 420px;
  margin: 0 auto;
}

/* Header */
header {
  margin-bottom: 16px;
}

header div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header button {
  background: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  cursor: pointer;
}

/* ================= IMAGE SECTION ================= */
section:has(#produk-img) {
  margin-bottom: 20px;
}

section:has(#produk-img) > div:first-child {
  border-radius: 20px;
  overflow: hidden;
  background: #eae6f2;
}

#produk-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* indikator bulat */
section:has(#produk-img) > div:last-child {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 10px;
  color: #a59db7;
}

/* ================= PRODUCT INFO ================= */
section:has(#produk-judul) {
  margin-bottom: 16px;
}

#produk-judul {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

#produk-deskripsi {
  color: #6e6a78;
  font-size: 14px;
}

/* ================= CUSTOM OPTIONS ================= */
section:has(#produk-fitur) {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

section:has(#produk-fitur) h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

#produk-fitur {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}

#produk-fitur li {
  font-size: 13px;
  color: #4c465a;
}

/* ================= ADDITIONAL INFO ================= */
section:has(#produk-keunggulan) {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  display: flex;
  gap: 10px;
}

section:has(#produk-keunggulan) > div {
  flex: 1;
  background: #f6f3fb;
  border-radius: 12px;
  padding: 12px;
}

section:has(#produk-keunggulan) span {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

section:has(#produk-keunggulan) p {
  font-size: 12px;
  color: #7a7488;
}

/* ================= PRICING ================= */
section:has(#produk-harga) {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  position: relative;
}

section:has(#produk-harga) p {
  font-size: 13px;
  margin-bottom: 6px;
  color: #8a8398;
}

#produk-harga-coret {
  margin-right: 8px;
}

#produk-diskon {
  background: #ff6b6b;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
}

#produk-harga {
  font-size: 26px;
  color: #5b4bc4;
}

/* tombol syarat */
#btn-syarat {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #d6d1e6;
  background: transparent;
  cursor: pointer;
}

/* ================= ACTION BUTTONS ================= */
section:has(#btn-beli) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 20px;
}

.button {
  display: block;
  text-decoration: none;
  text-align: center;
  border-radius: 14px;
  font-size: 14px;
  padding: 12px;
  cursor: pointer;
}

#btn-beli {
  background: linear-gradient(135deg, #6f5cf1, #9b8cff);
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 15px;
}

#btn-demo {
  background: transparent;
  border: 1px solid #cfc9e6;
  color: #2d2a32;
}


/* ================= FOOTER ================= */
footer {
  text-align: center;
  font-size: 12px;
  color: #7b748c;
  margin-bottom: 60px;
}
