:root {
  --ink: #1d1b18;
  --muted: #6b655c;
  --paper: #faf7f2;
  --card: #ffffff;
  --line: #e7e1d6;
  --accent: #1f5c4a;
  --accent-ink: #ffffff;
  --gold: #c99a3b;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  padding-bottom: 88px;
}

.promo-bar {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { font-weight: 800; letter-spacing: .04em; }
.brand span { color: var(--gold); }
.rating { font-size: 13px; color: var(--gold); }
.rating small { color: var(--muted); }

main { max-width: 720px; margin: 0 auto; padding: 0 16px; }

h1 { font-size: 28px; margin: 4px 0 8px; font-weight: 800; }
h2 { font-size: 20px; margin: 28px 0 12px; font-weight: 800; }
h3 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
p { margin: 0 0 8px; }

.hero { padding-top: 16px; }
.hero-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e6e0d2, #d3cbb9);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
.hero-body { padding: 16px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.lede { color: var(--muted); }

.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.price-row strong { font-size: 28px; color: var(--accent); }
.price-row s { color: var(--muted); }
.tag { background: #fde9c4; color: #7a4f08; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }

.chips { list-style: none; padding: 0; margin: 12px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; border: 1px solid var(--line); background: var(--card); padding: 5px 10px; border-radius: 999px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  text-align: center;
  font-size: 15px;
  transition: transform .15s ease, opacity .15s ease;
}
.btn-primary:active { transform: scale(.98); }
.btn-primary.full { width: 100%; margin-top: 12px; }

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.features article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.features p { font-size: 13px; color: var(--muted); margin: 0; }

.list { padding-left: 18px; margin: 0 0 8px; }
.list li { margin-bottom: 4px; }

.spec {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}
.spec > div { display: grid; grid-template-columns: 40% 60%; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); font-size: 14px; }
.spec dd { margin: 0; font-size: 14px; font-weight: 600; }

.packs { display: grid; gap: 10px; }
.pack {
  position: relative;
  display: grid;
  gap: 2px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 14px 14px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,92,74,.12); }
.pack-name { font-weight: 700; }
.pack-desc { font-size: 13px; color: var(--muted); }
.pack-price { font-weight: 800; color: var(--accent); }
.pack-price s { color: var(--muted); font-weight: 500; margin-right: 4px; }
.badge {
  position: absolute; top: -9px; right: 12px;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}

.hint { color: var(--muted); font-size: 13px; }
.colors { display: grid; gap: 12px; }
.design { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.color-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.color-row:last-child { border-bottom: 0; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 18px; cursor: pointer;
}
.stepper button:active { transform: scale(.95); }
.stepper b { min-width: 18px; text-align: center; }

.addons { display: grid; gap: 8px; }
.addon {
  display: flex; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.addon small { color: var(--muted); }

.summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-top: 16px;
}
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 16px; }
.sum-row.total strong { color: var(--accent); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.pay-methods span { background: var(--paper); border: 1px solid var(--line); padding: 4px 8px; border-radius: 999px; }

.wakaf {
  margin: 24px 0 0;
  background: #e9f1ec;
  border-radius: var(--radius);
  padding: 16px;
}
.wakaf h2 { margin-top: 0; }

.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 8px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--card); border-top: 1px solid var(--line);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,.05);
}
.sticky-cta a {
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 10px 16px; border-radius: 10px; font-size: 14px;
}

@media (min-width: 720px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
  .hero-body { padding: 0; }
  h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #efeae0;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
