/* ===========================================================
   Lume N Loom — versi simpel, mobile first
   =========================================================== */
:root {
  --cream: #F7EFEC;
  --paper: #FBF6F4;
  --blush: #F1E3E0;
  --rose: #B8707F;
  --rose-deep: #8C4B5B;
  --rose-ink: #5E3540;
  --ink: #3B2C2F;
  --muted: #7D6A6D;
  --line: rgba(140, 75, 91, 0.15);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --script: "Pinyon Script", cursive;
  --gutter: 20px;
  --nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; color: var(--rose-ink); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--soft { background: var(--cream); }
.eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: 10px; }
.title { font-size: clamp(34px, 9vw, 52px); }
.lead { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.script { font-family: var(--script); font-weight: 400; color: var(--rose); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; border: 1px solid transparent; transition: transform .2s, background .2s, color .2s; }
.btn svg { width: 18px; height: 18px; }
.btn--rose { background: var(--rose-deep); color: #FFF7F5; }
.btn--rose:hover { background: var(--rose-ink); }
.btn--ghost { border-color: var(--rose); color: var(--rose-deep); }
.btn--ghost:hover { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }
.btn--block { width: 100%; }
.btn--light { background: #FFF7F5; color: var(--rose-ink); }
.btn--light:hover { transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: rgba(251,246,244,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--rose-ink); }
.nav__brand img { width: 34px; }
.nav__brand em, .footer__brand em { font-family: var(--script); font-style: normal; color: var(--rose); font-size: 1.1em; padding: 0 1px; }
.nav__links { display: flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.nav__cta { padding: 8px 16px; border-radius: 99px; background: var(--rose-deep); color: #fff; }

/* ---------- Banner foto ---------- */
.banner { background: var(--blush); }
.banner img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
.section--first { padding-top: 48px; }
.grid.grid--new { margin-top: 26px; }

/* ---------- Katalog ---------- */
.chips { margin: 24px 0 22px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--rose-ink); transition: .2s; }
.chip.is-active { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
.card { display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; width: 100%; }
.card[hidden] { display: none; }
.card__img { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; background: radial-gradient(80% 70% at 50% 35%, #FFFFFF, var(--blush)); display: grid; place-items: center; overflow: hidden; }
.card__img img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(94,53,64,.18)); transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04) rotate(-1deg); }
.card__tag { position: absolute; left: 8px; top: 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: var(--rose-deep); padding: 3px 9px; border-radius: 99px; color: #fff; }
.card__meta { margin-top: 2px; font-size: 12px; color: var(--muted); }
.card__name { margin-top: 12px; font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--rose-ink); line-height: 1.2; }
.card__price { margin-top: 4px; font-size: 14px; color: var(--rose-deep); font-weight: 400; }

/* ---------- Pilihan isi ---------- */
.options { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.options li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
.options__no { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--rose); }
.options h3 { font-size: 22px; }
.options p { color: var(--muted); font-size: 14px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; display: grid; gap: 20px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rose); line-height: 1; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--rose-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 24px; color: var(--rose); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 72px 0; text-align: center; color: #FFF4F2; background: radial-gradient(90% 70% at 80% 0%, rgba(232,188,197,.4), transparent 60%), linear-gradient(150deg, #9A5466, #6E3B49 60%, #4E2933); }
.cta h2 { color: #FFF4F2; font-size: clamp(34px, 9vw, 50px); font-weight: 400; }
.cta p { margin: 10px auto 26px; max-width: 36ch; color: rgba(255,244,242,.82); }
.cta__spark { display: block; font-size: 20px; color: #F4C9D1; margin-bottom: 10px; }
.cta__chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cta__chips li { font-size: 12px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255,244,242,.3); color: rgba(255,244,242,.85); }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 40px var(--gutter) 100px; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 14px; }
.footer img { width: 42px; margin-bottom: 4px; }
.footer__brand { font-family: var(--serif); font-size: 24px; color: var(--rose-ink); }
.footer__tag { font-family: var(--serif); font-style: italic; }
.footer__links { margin-top: 8px; }
.footer__links a { border-bottom: 1px solid var(--line); }
.footer__copy { margin-top: 8px; font-size: 12px; letter-spacing: .1em; }

/* ---------- Floating WA ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-deep); color: #fff; box-shadow: 0 14px 30px -12px rgba(94,53,64,.7); transform: scale(0); transition: transform .3s cubic-bezier(.2,.9,.3,1.3); }
.fab.is-visible { transform: scale(1); }
.fab svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   Tablet & desktop
   ========================================================= */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .section { padding: 96px 0; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .card__name { font-size: 20px; }
  .options { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; }
}
@media (min-width: 1024px) {
  .nav { padding: 0 max(var(--gutter), calc((100vw - 1080px) / 2 + var(--gutter))); }
  .options { grid-template-columns: repeat(4, 1fr); }
  .options li { grid-template-columns: 1fr; }
  .options__no { grid-row: auto; }
  .faq { max-width: 760px; }
}

/* =========================================================
   Halaman detail produk
   ========================================================= */
.pd { padding-top: 18px; padding-bottom: 40px; }
.crumbs { font-size: 12px; letter-spacing: .06em; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.crumbs a:hover { color: var(--rose-deep); }
.pd__top { display: grid; gap: 26px; }
.pd__main { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; background: radial-gradient(80% 70% at 50% 35%, #FFFFFF, var(--blush)); overflow: hidden; }
.pd__main img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(94,53,64,.2)); }
.pd__badge { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: var(--rose-deep); color: #fff; padding: 5px 11px; border-radius: 99px; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd__thumb { width: 72px; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--blush); padding: 6px; }
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumb.is-active { border-color: var(--rose-deep); box-shadow: 0 0 0 1px var(--rose-deep); }
.pd__title { font-size: clamp(30px, 8vw, 42px); }
.pd__price { margin-top: 8px; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--rose-deep); }
.pd__price s { font-size: .7em; color: var(--muted); font-weight: 400; margin-right: 6px; }
.pd__short { margin-top: 8px; color: var(--muted); }
.opt { margin-top: 22px; }
.opt__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--rose-ink); margin-bottom: 10px; }
.opt__label span { letter-spacing: .04em; text-transform: none; font-weight: 300; color: var(--muted); }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__chip { padding: 9px 15px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--rose-ink); transition: .2s; }
.opt__chip.is-active { border-color: var(--rose-deep); background: var(--rose-deep); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 20px; color: var(--rose-deep); }
.qty input { width: 72px; height: 46px; border: 0; text-align: center; font: inherit; font-size: 16px; color: var(--ink); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#pd-order { margin-top: 26px; }
.pd__note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

.pd__desc { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); max-width: 760px; }
.pd__desc h2 { font-size: 30px; }
.pd__desc > p { margin-top: 10px; color: var(--muted); }
.pd__desc h3 { font-size: 21px; margin-top: 26px; }
.ticks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; color: var(--ink); }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 2px; font-size: 10px; color: var(--rose); }
.info { margin-top: 10px; display: grid; gap: 0; }
.info > div { padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
.info p { color: var(--muted); margin-top: 4px; }
.pd__more { margin-top: 56px; }
.pd__more h2 { font-size: 30px; margin-bottom: 20px; }
.pd__empty { padding: 80px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.page-product .footer { padding-bottom: 50px; }

@media (min-width: 720px) {
  .banner img { aspect-ratio: 16 / 8; }
  .pd { padding-top: 28px; }
  .pd__top { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
  .pd__gallery { position: sticky; top: calc(var(--nav-h) + 20px); }
  .info { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
