/* =========================================================
   NAVARIEL — Design tokens
   Palette : emerald #1F3B2E, gold #C9A24B, ivory #FBF7EF,
             blush #E7C7C1, charcoal #2A2A28, sage #EAF0E8
   Type    : Display -> "Playfair Display" (undangan/serif)
             Body    -> "Jost" (bersih, modern)
             Utility -> "Space Mono" (harga, badge, angka)
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --emerald: #1f3b2e;
  --emerald-deep: #142821;
  --gold: #c9a24b;
  --gold-light: #e6c877;
  --ivory: #fbf7ef;
  --blush: #e7c7c1;
  --charcoal: #2a2a28;
  --sage: #eaf0e8;
  --muted: #746f64;
  --line: rgba(42, 42, 40, 0.1);
  --white: #ffffff;
  --shadow: 0 20px 45px -20px rgba(20, 40, 33, 0.35);
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Jost", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  margin: 0 0 .4em;
  font-weight: 600;
  color: var(--emerald-deep);
}
.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--emerald-deep);
  box-shadow: 0 12px 24px -10px rgba(201, 162, 75, .65);
}
.btn-gold:hover { box-shadow: 0 16px 30px -8px rgba(201, 162, 75, .8); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--emerald);
  color: var(--emerald);
}
.btn-outline:hover { background: var(--emerald); color: var(--ivory); }
.btn-emerald {
  background: var(--emerald);
  color: var(--ivory);
}
.btn-emerald:hover { background: var(--emerald-deep); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Navbar — logo "Navariel" beranimasi (foil shimmer + unfold)
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 247, 239, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .01em;
}
.brand .letter {
  display: inline-block;
  background: linear-gradient(100deg, var(--emerald-deep) 30%, var(--gold-light) 45%, var(--gold) 50%, var(--emerald-deep) 65%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite, unfold .7s cubic-bezier(.2,.9,.25,1) backwards;
}
.brand .dot { color: var(--gold); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: -300% 0; }
}
@keyframes unfold {
  from { opacity: 0; transform: translateY(6px) rotateX(40deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; color: var(--charcoal); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  height: 2px; width: 0%;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--emerald-deep); }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--ivory); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn span.long { display: none; }
}

/* =========================================================
   Hero — kartu undangan "fanned" (bukan slider generik)
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 15% -10%, rgba(201,162,75,.18), transparent 60%), var(--emerald);
  color: var(--ivory);
  overflow: hidden;
  padding: 72px 0 60px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--ivory);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  margin-top: 10px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p.lead {
  color: rgba(251,247,239,.8);
  font-size: 17px;
  max-width: 46ch;
  margin: 18px 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: "Space Mono", monospace; font-size: 22px; color: var(--gold-light); display: block; }
.hero-stats .stat span { font-size: 13px; color: rgba(251,247,239,.65); }

.hero-fan {
  position: relative;
  height: 420px;
}
.fan-card {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 55px -18px rgba(0,0,0,.55);
  border: 6px solid var(--ivory);
  transform-origin: bottom center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, z-index 0s;
  cursor: pointer;
}
.fan-card img { height: 340px; object-fit: cover; }
.fan-card .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(20,40,33,.85), transparent);
  color: #fff; padding: 30px 14px 10px; font-family: "Playfair Display", serif; font-size: 15px;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* =========================================================
   Banner promo — slider geser di bawah hero (scroll-snap native)
   ========================================================= */
.promo-section { padding: 34px 0 6px; background: var(--ivory); }
.promo-section[hidden] { display: none; }
.promo-slider { position: relative; }
.promo-track {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; border-radius: var(--radius);
  touch-action: pan-x pan-y; outline: none;
  cursor: grab;
}
.promo-track::-webkit-scrollbar { display: none; }
.promo-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.promo-track:focus-visible { box-shadow: 0 0 0 3px rgba(201,162,75,.55); }
.promo-slide {
  flex: 0 0 100%; scroll-snap-align: center;
  position: relative; display: block;
  aspect-ratio: 12 / 5; overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.promo-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
a.promo-slide { transition: box-shadow .3s ease; }
a.promo-slide:hover { box-shadow: 0 26px 50px -18px rgba(20,40,33,.5); }
.promo-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201,162,75,.6); background: rgba(251,247,239,.92); color: var(--emerald);
  font-size: 26px; line-height: 1; padding: 0 0 3px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(20,40,33,.5);
  transition: background .2s ease, color .2s ease, opacity .2s ease;
  z-index: 2;
}
.promo-nav:hover:not(:disabled) { background: var(--emerald); color: var(--gold-light); }
.promo-nav:disabled { opacity: 0; pointer-events: none; }
.promo-nav.prev { left: 12px; }
.promo-nav.next { right: 12px; }
.promo-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.promo-dots button {
  position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(31,59,46,.22); cursor: pointer; transition: width .25s ease, background .25s ease;
}
.promo-dots button::after { content: ""; position: absolute; inset: -10px -4px; }
.promo-dots button.active { width: 24px; background: var(--gold); }
.promo-section.single .promo-nav, .promo-section.single .promo-dots { display: none; }
.promo-section.single .promo-track { cursor: default; }

/* Tablet: sedikit rapat */
@media (max-width: 860px) {
  .promo-section { padding-top: 26px; }
  .promo-nav { display: none; } /* di sentuh cukup geser jari */
  .promo-track { gap: 12px; }
}
/* Ponsel: banner berikutnya mengintip supaya jelas bisa digeser */
@media (max-width: 640px) {
  .promo-section { padding: 20px 0 0; }
  .promo-slider { margin: 0 -16px; }
  .promo-track { padding: 0 16px; scroll-padding-inline: 16px; border-radius: 0; }
  .promo-slide { flex-basis: 90%; scroll-snap-align: start; border-radius: 14px; }
  .promo-section.single .promo-slide { flex-basis: 100%; }
}

/* =========================================================
   Section headers
   ========================================================= */
.section { padding: 68px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }

/* =========================================================
   Catalog grid & cards
   ========================================================= */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}
.chip.active, .chip:hover { background: var(--emerald); color: var(--ivory); border-color: var(--emerald); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(20,40,33,.3);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sage); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-thumb img { transform: scale(1.07); }
.badge-sale {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--emerald-deep);
  font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.badge-sold {
  position: absolute; top: 12px; right: 12px;
  background: rgba(20,40,33,.75); color: var(--ivory); backdrop-filter: blur(3px);
  font-size: 11.5px; padding: 5px 10px; border-radius: 999px;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-theme { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-size: 19px; margin: 0; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.card-rating .stars { color: var(--gold); letter-spacing: 1px; }
.card-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price-strike { font-size: 13px; color: var(--muted); text-decoration: line-through; font-family: "Space Mono", monospace; }
.price-sale { font-family: "Space Mono", monospace; font-weight: 700; font-size: 19px; color: var(--emerald); }
.card-actions { display: flex; gap: 10px; margin-top: 8px; }
.card-actions .btn { flex: 1; padding: 11px 14px; font-size: 14px; }

/* =========================================================
   Features / trust section
   ========================================================= */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
.feature-item {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
}
.feature-item .icon { font-size: 26px; margin-bottom: 10px; display: block; }
.feature-item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
footer { background: var(--emerald-deep); color: rgba(251,247,239,.7); padding: 50px 0 26px; margin-top: 40px; }
footer .brand .letter { background-image: linear-gradient(100deg, var(--ivory) 30%, var(--gold-light) 45%, var(--gold) 50%, var(--ivory) 65%); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-bottom { padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   WhatsApp sticky button
   ========================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 26px -8px rgba(37,211,102,.6);
  animation: wa-bounce 2.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { animation-play-state: paused; transform: scale(1.08); }
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =========================================================
   Generic page header (pesan / checkout)
   ========================================================= */
.page-head {
  background: var(--emerald);
  color: var(--ivory);
  padding: 40px 0;
}
.breadcrumb { font-size: 13px; color: rgba(251,247,239,.7); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--gold-light); }

/* =========================================================
   Detail/pesan page layout
   ========================================================= */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 940px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-preview {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.detail-preview img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--sage); }

.sticky-panel { position: sticky; top: 100px; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 26px -18px rgba(20,40,33,.25);
}
.panel + .panel { margin-top: 22px; }

.package-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.package-option {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.package-option:hover { border-color: var(--gold); }
.package-option.selected { border-color: var(--emerald); background: var(--sage); }
.package-option .p-name { font-weight: 600; }
.package-option .p-duration { font-size: 12.5px; color: var(--muted); }
.package-option .p-price { text-align: right; }
.package-option input { accent-color: var(--emerald); width: 18px; height: 18px; }
.p-left { display: flex; align-items: center; gap: 12px; }

.price-box { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-box .lbl { font-size: 14px; color: var(--muted); }
.price-box .val { font-family: "Space Mono", monospace; font-weight: 700; font-size: 24px; color: var(--emerald); }

.feature-check { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 10px; }
.feature-check li { list-style: none; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.feature-check li::before { content: "✓"; color: var(--gold); font-weight: 700; }

.review-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review-item:last-child { border-bottom: none; }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-name { font-weight: 600; }
.review-date { font-size: 12px; color: var(--muted); }
.review-stars { color: var(--gold); font-size: 13px; }
.review-comment { font-size: 14.5px; color: #444; }
.review-reply { margin-top: 10px; background: var(--sage); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px; }
.review-reply b { color: var(--emerald); }

/* =========================================================
   Checkout page
   ========================================================= */
.checkout-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.summary-row.total { border-bottom: none; padding-top: 16px; font-size: 17px; font-weight: 700; }
.summary-row .val-strike { color: var(--muted); text-decoration: line-through; font-family: "Space Mono", monospace; }

.pay-methods { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 20px; }
.pay-method {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.pay-method:hover { border-color: var(--gold); }
.pay-method.selected { border-color: var(--emerald); background: var(--sage); }
.pay-method .pm-icon { font-size: 22px; }
.pay-detail-box {
  background: var(--sage);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
  font-size: 14px;
  display: none;
}
.pay-detail-box.show { display: block; }
.qris-img { width: 200px; margin: 10px auto; border-radius: 10px; border: 1px solid var(--line); }
.copy-row { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-top: 6px; font-family: "Space Mono", monospace; }
.copy-row button { border: none; background: none; color: var(--emerald); font-weight: 700; cursor: pointer; font-family: "Jost", sans-serif; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: "Jost", sans-serif; font-size: 14.5px; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.upload-box {
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.upload-box:hover { border-color: var(--gold); background: var(--sage); }
.upload-box img { max-height: 160px; margin: 0 auto 10px; border-radius: 8px; }

.stepper { display: flex; justify-content: center; gap: 0; margin-bottom: 40px; }
.step { display: flex; align-items: center; gap: 10px; }
.step .dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(251,247,239,.15); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: "Space Mono", monospace; font-size: 13px; border: 1.5px solid rgba(251,247,239,.4); }
.step.active .dot { background: var(--gold); color: var(--emerald-deep); border-color: var(--gold); }
.step .lbl { font-size: 13px; color: rgba(251,247,239,.75); }
.step.active .lbl { color: var(--gold-light); font-weight: 600; }
.step-line { width: 50px; height: 1.5px; background: rgba(251,247,239,.25); margin: 0 12px; }

.success-box { text-align: center; padding: 60px 20px; }
.success-box .icon-circle {
  width: 96px; height: 96px; border-radius: 50%; background: var(--sage); color: var(--emerald);
  display: flex; align-items: center; justify-content: center; font-size: 46px; margin: 0 auto 22px;
  animation: pop .5s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.order-id-box { display: inline-block; background: var(--sage); font-family: "Space Mono", monospace; padding: 10px 18px; border-radius: 8px; margin: 14px 0; letter-spacing: .04em; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--emerald-deep); color: var(--ivory); padding: 14px 22px; border-radius: 12px;
  font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* =========================================================
   Halaman tulis ulasan + lencana pembeli terverifikasi
   ========================================================= */
.review-form-wrap { max-width: 620px; margin: 0 auto; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.char-count { text-align: right; font-size: 12px; color: var(--muted); margin-top: 5px; font-family: "Space Mono", monospace; }
.review-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.5; background: var(--sage); color: var(--emerald); }
.review-note.error { background: #fdecea; color: #a8321f; }
.review-note.warn { background: #fff4d6; color: #7a5f14; }
.rv-order { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px dashed var(--line); }
.rv-order img { width: 64px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex-shrink: 0; }
.star-input { display: flex; align-items: center; gap: 4px; }
.star-input button { background: none; border: none; padding: 2px; font-size: 38px; line-height: 1; color: #d9d4c7; cursor: pointer; transition: color .12s ease, transform .12s ease; }
.star-input button.on { color: var(--gold); }
.star-input button:hover { transform: scale(1.12); }
.star-label { margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--emerald); }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: #1e7d32; background: #e3f6e5; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.review-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sage); font-size: 13.5px; }
@media (max-width: 520px) { .star-input button { font-size: 34px; } .star-label { display: none; } }

/* =========================================================
   Chat widget (pembeli)
   ========================================================= */
.chat-fab {
  position: fixed; right: 22px; bottom: 96px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: var(--gold-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 26px -8px rgba(20, 40, 33, .55);
  transition: transform .2s ease;
}
.chat-fab:hover { transform: scale(1.07); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #d64545; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--ivory);
}
.chat-badge[hidden], .chat-panel[hidden], .chat-intro[hidden], .chat-body[hidden] { display: none !important; }
.chat-panel {
  position: fixed; right: 22px; bottom: 164px; z-index: 401;
  width: 350px; max-width: calc(100vw - 24px); height: 480px; max-height: calc(100vh - 190px);
  background: #fff; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px -16px rgba(20, 40, 33, .45); border: 1px solid var(--line);
}
.chat-head {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep)); color: #fff;
  padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { color: rgba(255,255,255,.75); font-size: 12px; }
.chat-x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-intro { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.chat-intro p { margin: 0; font-size: 14px; color: var(--muted); }
.chat-intro label { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 5px; }
.chat-intro input {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.chat-intro input:focus, .chat-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.chat-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; background: var(--ivory); display: flex; flex-direction: column; gap: 10px; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); font-size: 14px; padding: 0 16px; }
.chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.chat-msg.from-user { align-self: flex-end; align-items: flex-end; }
.chat-msg.from-admin { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; word-break: break-word; }
.from-user .chat-bubble { background: var(--emerald); color: #fff; border-bottom-right-radius: 4px; }
.from-admin .chat-bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-time { font-size: 11px; color: var(--muted); margin-top: 3px; }
.chat-err { color: #c0392b; font-size: 12.5px; min-height: 0; padding: 0 14px; }
.chat-err:empty { display: none; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: flex-end; background: #fff; }
.chat-form textarea {
  flex: 1; resize: none; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 12px; max-height: 96px; line-height: 1.4;
}
.chat-send-btn {
  border: 0; cursor: pointer; border-radius: 12px; padding: 11px 16px; font-weight: 600; font-family: inherit;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--emerald-deep);
  display: flex; align-items: center; justify-content: center;
}
.chat-send-btn:disabled { opacity: .6; cursor: default; }
.chat-form .chat-send-btn { width: 42px; height: 42px; padding: 0; flex-shrink: 0; }
.chat-reset { background: none; border: 0; color: var(--muted); font-size: 12px; padding: 6px 0 10px; cursor: pointer; text-decoration: underline; }
@media (max-width: 520px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 160px; height: auto; max-height: calc(100vh - 180px); min-height: 360px; }
  .chat-fab { right: 16px; bottom: 90px; }
}

/* ---- Chat: indikator aktif ---- */
.chat-status { display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa39d; flex-shrink: 0; display: inline-block; }
.chat-dot[hidden] { display: none; }
.chat-dot.on { background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, .3); }

/* =========================================================
   RESPONSIF — tablet & mobile
   Breakpoint: 980 (tablet) · 860 (navbar/hero/carousel) · 640 (ponsel) · 520 (ponsel kecil)
   ========================================================= */

/* ---- Testimoni: grid 3 kolom di desktop, carousel geser di mobile ---- */
.review-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.review-dots { display: none; }
@media (min-width: 861px) {
  .review-track .review-slide:nth-child(n+4) { display: none; } /* desktop tampilkan 3 ulasan */
}

/* ---- Tablet & mobile (<= 860px) ---- */
@media (max-width: 860px) {
  /* Navbar: tombol "Lihat Katalog" disembunyikan di mobile */
  .nav-cta { display: none; }
  .navbar-inner { padding: 10px 18px; }
  .brand { font-size: 24px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    margin-left: auto; width: 44px; height: 44px; border-radius: 12px; font-size: 22px;
  }
  .nav-toggle:active { background: rgba(31, 59, 46, .08); }
  /* menu turun tepat di bawah navbar, berapapun tinggi navbar */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px 18px 16px; gap: 0; align-items: stretch;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(20, 40, 33, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }

  /* Hero: satu kolom, rata tengah */
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero h1 { font-size: clamp(30px, 7vw, 44px); }
  .hero p.lead { margin: 14px auto 24px; font-size: 16px; max-width: 52ch; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; margin-top: 30px; gap: 28px; }
  .hero-fan { height: 340px; width: 100%; max-width: 440px; margin: 0 auto; }
  .fan-card { width: 180px; border-width: 5px; }
  .fan-card img { height: 235px; }
  .fan-card .cap { font-size: 13.5px; padding: 24px 10px 8px; }

  /* Testimoni: carousel geser + titik indikator */
  .review-carousel { margin: 0 -18px; }
  .review-track {
    display: flex; gap: 14px; overflow-x: auto; padding: 6px 18px 10px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .review-track::-webkit-scrollbar { display: none; }
  .review-track .review-slide { flex: 0 0 min(82vw, 360px); scroll-snap-align: start; }
  .review-track .review-slide:hover { transform: none; }
  .review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .review-dots button {
    position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(31, 59, 46, .22); cursor: pointer; transition: width .25s ease, background .25s ease;
  }
  .review-dots button::after { content: ""; position: absolute; inset: -10px -4px; }
  .review-dots button.active { width: 22px; background: var(--gold); }
}

/* ---- Tablet (<= 980px) ---- */
@media (max-width: 980px) {
  .catalog-grid { gap: 18px; }
}

/* ---- Ponsel (<= 640px) ---- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 22px; gap: 12px; flex-direction: column; align-items: flex-start; }
  #ulasan .section-head .btn { width: auto; padding: 10px 20px; font-size: 14px; } /* tombol ringkas, tidak full lebar */
  .review-carousel { margin: 0 -16px; }
  .review-track { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; }

  /* Hero: sisakan 3 kartu agar tidak berdesakan */
  .hero { padding: 36px 0 34px; }
  .hero-fan { height: 300px; max-width: 360px; }
  .fan-card { width: 150px; top: 8%; }
  .fan-card img { height: 205px; }
  .fan-card:nth-child(1), .fan-card:nth-child(5) { display: none; }

  /* Katalog: 2 kolom (SKU) + kartu ringkas */
  .filter-row {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 8px 15px; font-size: 13.5px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-grid .card-thumb { aspect-ratio: 1 / 1; }
  .catalog-grid .card-body { padding: 12px; gap: 6px; }
  .catalog-grid .card-theme { font-size: 10.5px; }
  .catalog-grid .card-title { font-size: 15px; line-height: 1.25; }
  .catalog-grid .card-rating { font-size: 11.5px; flex-wrap: wrap; gap: 2px 5px; }
  .catalog-grid .card-rating .stars { letter-spacing: 0; }
  .catalog-grid .card-rating .rc-t { display: none; }
  .catalog-grid .card-price { flex-wrap: wrap; gap: 0 8px; }
  .catalog-grid .price-strike { font-size: 11px; }
  .catalog-grid .price-sale { font-size: 15px; }
  .catalog-grid .card-actions { flex-direction: column; gap: 6px; margin-top: 6px; }
  .catalog-grid .card-actions .btn { flex: none; width: 100%; padding: 10px 8px; font-size: 13px; }
  .catalog-grid .card-actions .btn-emerald { order: -1; } /* "Pesan" jadi tombol utama */
  .badge-sale { top: 8px; left: 8px; font-size: 10.5px; padding: 4px 8px; }
  .badge-sold { top: auto; bottom: 8px; right: auto; left: 8px; font-size: 10px; padding: 3px 8px; }

  /* Fitur & footer */
  .feature-strip { gap: 12px; }
  .feature-item { padding: 16px; }
  .feature-item .icon { font-size: 22px; margin-bottom: 6px; }
  .feature-item h4 { font-size: 15px; }
  .feature-item p { font-size: 12.5px; }
  footer { padding: 38px 0 22px; margin-top: 24px; }
  .footer-grid { flex-direction: column; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

/* ---- Ponsel kecil (<= 520px) ---- */
@media (max-width: 520px) {
  .hero-copy .eyebrow { display: block; font-size: 10.5px; letter-spacing: .12em; line-height: 1.5; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 36px); }
  .hero p.lead { font-size: 15px; margin-bottom: 20px; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 12px 10px; font-size: 14px; }
  .hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px;
    padding-top: 20px; border-top: 1px solid rgba(251, 247, 239, .14);
  }
  .hero-stats .stat b { font-size: 18px; }
  .hero-stats .stat span { font-size: 11.5px; line-height: 1.3; display: block; }

  /* Tombol mengambang lebih kecil agar tidak menutupi konten */
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
  .chat-fab { width: 52px; height: 52px; right: 14px; bottom: 78px; }
  .chat-panel { bottom: 140px; max-height: calc(100vh - 160px); }
}

/* Layar sentuh: matikan efek hover yang "menyangkut" setelah ditap */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: 0 12px 30px -18px rgba(20, 40, 33, .3); }
  .card:hover .card-thumb img { transform: none; }
}

/* =========================================================
   Fitur — kartu putih, ikon SVG, aksen emas (senada katalog & testimoni)
   ========================================================= */
.feature-strip { gap: 22px; }
.feature-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px -20px rgba(20, 40, 33, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-item::before {            /* garis emas yang "terisi" saat hover */
  content: "";
  position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-item:hover::before { transform: scaleX(1); }
.fi-num {
  position: absolute; top: 20px; right: 22px;
  font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; color: var(--gold); opacity: .75;
}
.fi-icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: var(--gold-light);
  box-shadow: 0 12px 20px -12px rgba(20, 40, 33, .7);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.fi-icon svg { width: 26px; height: 26px; }
.feature-item:hover .fi-icon {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--emerald-deep);
  transform: rotate(-6deg) scale(1.05);
}
.feature-item h4 { font-size: 19px; margin: 0 0 6px; }
.feature-item p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .feature-strip { gap: 14px; }
  /* Tombol hero "Jelajahi Tema" & "Lihat Fitur" disembunyikan di mobile */
  .hero-actions { display: none; }
}
@media (max-width: 640px) {
  .feature-item { padding: 20px 16px 18px; }
  .fi-num { top: 16px; right: 16px; font-size: 11px; }
  .fi-icon { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; }
  .fi-icon svg { width: 22px; height: 22px; }
  .feature-item h4 { font-size: 16px; }
  .feature-item p { font-size: 13px; line-height: 1.5; }
}
@media (max-width: 520px) {
  /* satu kolom, ikon di kiri teks di kanan */
  .feature-strip { grid-template-columns: 1fr; gap: 12px; }
  .feature-item {
    display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 18px 16px;
  }
  .fi-icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .feature-item h4 { margin: 2px 0 4px; padding-right: 26px; }
  .feature-item p { grid-column: 2; }
}
@media (hover: none) {
  .feature-item:hover { transform: none; box-shadow: 0 12px 30px -20px rgba(20, 40, 33, .3); }
  .feature-item:hover::before { transform: scaleX(0); }
  .feature-item:hover .fi-icon { transform: none; background: linear-gradient(135deg, var(--emerald), var(--emerald-deep)); color: var(--gold-light); }
}


/* ---- Chat: kirim gambar ---- */
.chat-attach-btn {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  color: var(--emerald); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.chat-attach-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--ivory); }
.chat-preview { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--ivory); }
.chat-preview[hidden] { display: none; }
.chat-preview img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.chat-preview span { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-preview button { background: #fff; border: 1px solid var(--line); width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.chat-preview button:hover { color: #c0392b; border-color: #c0392b; }
.chat-bubble.has-img { padding: 5px; }
.chat-bubble .chat-img { display: block; max-width: 240px; width: auto; max-height: 220px; border-radius: 12px; cursor: zoom-in; background: rgba(0,0,0,.05); }
.chat-bubble .chat-txt { padding: 6px 8px 3px; }
.chat-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(14,28,23,.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.chat-lightbox[hidden] { display: none; }
.chat-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.chat-lightbox button { position: absolute; top: 14px; right: 18px; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; cursor: pointer; }
