:root {
  --bg: #f9faf4;
  --bg-2: #f0f4e8;
  --bg-3: #eaf0dd;
  --surface: #ffffff;
  --ink: #2b2824;
  --muted: #7f776b;
  --muted-2: #a09486;
  /* TEMA: merah utama + hijau muda daun.
     (Nama variabel --green/--gold dipertahankan demi kompatibilitas,
      tetapi nilai kini: --green = merah utama, --gold = hijau daun.) */
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-soft: #e7f2e3;
  --gold: #8bc34a;
  --gold-dark: #7cb342;
  --rose: #79a86b;
  --red: #c62828;
  --blue: #4a7ba6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(44, 42, 39, 0.06);
  --shadow: 0 10px 34px rgba(44, 42, 39, 0.09);
  --shadow-lg: 0 24px 60px rgba(44, 42, 39, 0.14);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #fff; padding: 10px 16px; z-index: 99;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Markquee bar ---------- */
.marquee-bar {
  background: var(--ink);
  color: #f0f4e8;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 0;
}
.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-track span { margin: 0 22px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 195, 74, 0.18);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: #fff;
  border-radius: 50%;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .5px;
}
.brand-text em { font-style: italic; color: var(--gold); font-weight: 600; margin-left: 2px; }
.brand-light .brand-text { color: #f3f7ec; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: color .2s, background .2s;
  font-size: 15px;
}
.main-nav a:hover { color: var(--green-dark); background: rgba(46, 125, 50, 0.1); }
.main-nav a.is-active { color: var(--green-dark); background: rgba(46, 125, 50, 0.14); font-weight: 600; }

.nav-user { display: flex; align-items: center; gap: 10px; padding: 6px 4px 6px 14px; border-radius: 999px; background: rgba(46, 125, 50, 0.1); }
.avatar {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--rose));
  color: #fff; font-weight: 600; font-size: 15px;
}
.nav-user-name { font-weight: 600; font-size: 15px; }

.btn-nav {
  background: var(--gold);
  color: #fff !important;
  padding: 9px 20px !important;
  font-weight: 600;
}
.btn-nav:hover { background: var(--gold-dark) !important; color: #fff !important; }

.nav-toggle { display: none; background: transparent; border: 0; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s ease;
    padding: 100px 28px 30px;
    z-index: 70;
    border-radius: 24px 0 0 24px;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 10px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .nav-user { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 22px rgba(139, 195, 74, 0.4); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(46, 125, 50, 0.35); }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--green-dark); border: 1.6px solid var(--green); }
.btn-ghost:hover { background: rgba(46, 125, 50, 0.08); }
.btn-outline-light { background: transparent; color: #fff; border: 1.6px solid rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #a03a28; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 90px 0 70px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139, 195, 74, 0.14);
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(139, 195, 74, 0.3);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats .stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.1;
}
.hero-stats .stat span { color: var(--muted); font-size: 14px; letter-spacing: .5px; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 200px 200px 28px 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #dfe6d3, #cdd6bb);
  box-shadow: var(--shadow-lg);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(46, 125, 50,0) 55%, rgba(44,42,39,0.45));
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.float-card .fc-icon svg { width: 22px; height: 22px; }
.float-card b { display: block; font-size: 15px; line-height: 1.2; }
.float-card span { font-size: 13px; color: var(--muted); }
.fc-1 { top: 12%; left: -34px; animation-delay: 0s; }
.fc-1 .fc-icon { background: linear-gradient(135deg, var(--gold), var(--rose)); }
.fc-2 { bottom: 14%; right: -20px; animation-delay: 1.4s; }
.fc-2 .fc-icon { background: linear-gradient(135deg, var(--green), var(--blue)); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
  opacity: .8;
}
.blob-gold { width: 320px; height: 320px; right: -90px; top: -60px; background: radial-gradient(circle, rgba(139, 195, 74,0.28), rgba(139, 195, 74,0)); }
.blob-green { width: 380px; height: 380px; left: -110px; bottom: -120px; background: radial-gradient(circle, rgba(46, 125, 50,0.25), rgba(46, 125, 50,0)); }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 40px; }
  .hero-visual { max-width: 430px; margin: 0 auto; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

/* ---------- Section base ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.section-cream { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-kicker {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}
.sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  margin-bottom: 16px;
  font-weight: 600;
}
.sec-head p { color: var(--muted); font-size: 17px; }

/* ---------- Feature highlights ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .f-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139, 195, 74,0.16), rgba(121, 168, 107,0.16));
  color: var(--gold-dark);
}
.feature-card .f-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .28s, box-shadow .28s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #dfe6d3, #c9d4b6);
  overflow: hidden;
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,42,39,0) 50%, rgba(44,42,39,0.55));
}
.svc-cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(4px);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.svc-price {
  position: absolute;
  bottom: 14px; left: 16px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}
.svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-family: var(--font-head); font-size: 21px; margin-bottom: 8px; }
.svc-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; flex: 1; }
.svc-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.svc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.svc-meta svg { width: 16px; height: 16px; color: var(--gold-dark); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Ritual / About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media .sm-main {
  border-radius: 28px 120px 28px 28px;
  width: 86%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.split-media .sm-sub {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 52%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 8px solid var(--bg-2);
  box-shadow: var(--shadow);
}
.split-badge {
  position: absolute;
  left: -18px;
  bottom: 20%;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.split-badge b { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1; }
.split-badge span { font-size: 12.5px; letter-spacing: 1px; }
.split h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 600;
}
.split p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 16px;
}
.check-list svg { width: 22px; height: 22px; color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.split .btn { margin-top: 12px; }
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media { max-width: 460px; margin: 0 auto; }
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testi-card .t-quote {
  position: absolute;
  top: 22px; right: 26px;
  color: rgba(139, 195, 74, 0.3);
}
.testi-card .t-quote svg { width: 40px; height: 40px; }
.testi-stars { color: var(--gold); margin-bottom: 14px; font-size: 18px; letter-spacing: 3px; }
.testi-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; font-style: italic; }
.t-person { display: flex; align-items: center; gap: 14px; }
.t-ava {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #fff;
}
.t-person b { display: block; font-size: 15.5px; }
.t-person span { font-size: 13px; color: var(--muted); }
@media (max-width: 940px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, #3f4c33, #1b5e20 45%, #2e7d32);
  border-radius: 28px;
  padding: 64px 56px;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  right: -110px; top: -140px;
  background: radial-gradient(circle, rgba(139, 195, 74,0.35), transparent 70%);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  left: -90px; bottom: -150px;
  background: radial-gradient(circle, rgba(121, 168, 107,0.3), transparent 70%);
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.cta-band p { max-width: 560px; margin: 0 auto 30px; opacity: .9; font-size: 17px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ===================== Booking wizard (warm minimalist) ===================== */
.bkw-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 54px 0 70px;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(46, 125, 50, 0.16), transparent 60%),
    radial-gradient(720px 400px at -6% 40%, rgba(148, 186, 96, 0.14), transparent 62%),
    linear-gradient(180deg, #fcf7ec 0%, #f7efe0 62%, #ecf3dd 100%);
  border-bottom: 1px solid rgba(124, 179, 66, 0.22);
}
.bkw-hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1600&q=70');
  background-size: cover;
  background-position: center;
  opacity: .13;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.bkw-hero-glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  right: -90px; top: -120px;
  background: radial-gradient(circle, rgba(46, 125, 50,0.30), transparent 68%);
  pointer-events: none;
}
.bkw-hero .container { position: relative; z-index: 1; }
.bkw-hero .breadcrumb { margin-bottom: 40px; }
.bkw-hero-inner { max-width: 720px; }
.bkw-hero-slim { min-height: auto; padding: 40px 0 34px; }
.bkw-hero-slim .breadcrumb { margin-bottom: 22px; }
.bkw-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase;
}
.bkw-badge-warn { background: #fdf1e2; color: #a3620b; border: 1px solid rgba(90, 122, 35, .25); }
.bkw-badge-ok { background: #eef6e4; color: #4e7a23; border: 1px solid rgba(124, 179, 66, .3); }
.bkw-badge-err { background: #fbecec; color: #1b5e20; border: 1px solid rgba(46, 125, 50, .28); }
.bkw-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase;
  color: #1b5e20; font-weight: 600;
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(27, 94, 32, 0.28);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.bkw-eyebrow svg { width: 16px; height: 16px; }
.bkw-hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  color: #3d2e2a;
  font-weight: 600;
  margin-bottom: 16px;
}
.bkw-hero-inner p {
  font-size: 17.5px;
  color: #5f544c;
  max-width: 610px;
}
.bkw-ambiance {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.bkw-ambiance span {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid rgba(139, 195, 74, 0.4);
  color: #6b5a42;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.bkw-ambiance svg { width: 17px; height: 17px; color: #b5774f; }

.bkw-body {
  /* Transparan lunak — Pola Bunga Pelangi (lapisan fixed di belakang) tetap
     terlihat di sekeliling panel, keterbacaan tetap terjaga */
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(236, 243, 221, 0.55) 0%, rgba(242, 246, 232, 0) 130px);
  padding: 46px 0 40px;
  min-height: 60vh;
}
.bkw-steps {
  display: grid; grid-template-columns: repeat(9, 1fr);
  gap: 10px; margin-bottom: 42px;
  list-style: none;
  position: relative;
}
/* Garis penghubung antar angka (melewati tengah lingkaran) */
.bkw-steps::before {
  content: "";
  position: absolute; top: 50%; left: 5.6%; right: 5.6%;
  height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(139, 195, 74, 0.55), rgba(139, 195, 74, 0.55), rgba(139, 195, 74, 0.3));
  z-index: 0;
}
/* Langkah = ANGKA SAJA: lingkaran polos tanpa kartu & teks (nama langkah ada di tooltip/aria-label) */
.bkw-step {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
  background: transparent; border: 0; border-radius: 50%;
  padding: 0; margin: 0;
  cursor: pointer; outline-offset: 4px;
  transition: transform .2s;
}
.bkw-step:hover { transform: translateY(-2px); }
.bkw-step:focus-visible .bkw-step-num { outline: 2px solid #2e7d32; }
.bkw-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #efe3cb;
  color: #9a8560;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
  /* Cincin senada background agar garis penghubung tidak menyentuh angka */
  box-shadow: 0 0 0 6px #f2f6e8;
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
}
.bkw-step.active .bkw-step-num {
  background: #2e7d32; color: #fcfef7;
  transform: scale(1.14);
  box-shadow: 0 0 0 6px #f2f6e8, 0 8px 20px rgba(46, 125, 50, 0.32);
}
.bkw-step.done .bkw-step-num { background: #9aa87e; color: #fcfef7; }
/* Langkah 1 terkunci (mode website mitra): tidak bisa dikunjungi */
.bkw-step.is-locked { pointer-events: none; }
.bkw-step.is-locked .bkw-step-num { opacity: 0.55; }

/* Chip paket layanan aktif (langkah 2 — hasil ?pkg= dari kartu Paket) */
.bkw-pkg-chip {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(115deg, rgba(255, 249, 235, 0.95), rgba(244, 255, 238, 0.95));
  border: 1px solid rgba(46, 125, 50, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  box-shadow: 0 8px 22px rgba(46, 125, 50, 0.10);
}
.bkw-pkg-chip-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: #2e7d32; color: #fcfef7;
}
.bkw-pkg-chip-ico svg { width: 20px; height: 20px; }
.bkw-pkg-chip-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bkw-pkg-chip-body b { font-size: 14.5px; color: #21451f; }
.bkw-pkg-chip-body small { font-size: 12px; color: #6d7a63; }
.bkw-pkg-chip-x {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(46, 125, 50, 0.25); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: #6d7a63; cursor: pointer; transition: all .18s;
}
.bkw-pkg-chip-x svg { width: 14px; height: 14px; }
.bkw-pkg-chip-x:hover { background: #f4e9e7; color: #b3413a; border-color: rgba(179, 65, 58, 0.4); }
@media (max-width: 1440px) {
  .bkw-step-num { width: 36px; height: 36px; font-size: 14px; box-shadow: 0 0 0 5px #f2f6e8; }
  .bkw-step.active .bkw-step-num { box-shadow: 0 0 0 5px #f2f6e8, 0 6px 16px rgba(46, 125, 50, 0.32); }
}
@media (max-width: 980px) {
  .bkw-steps { gap: 6px; }
  .bkw-step-num { width: 32px; height: 32px; font-size: 13px; box-shadow: 0 0 0 4px #f2f6e8; }
  .bkw-step.active .bkw-step-num { box-shadow: 0 0 0 4px #f2f6e8, 0 6px 14px rgba(46, 125, 50, 0.3); }
}

.bkw-panel {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid rgba(174, 213, 129, 0.4);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(112, 62, 56, 0.10);
  padding: 34px;
  margin-bottom: 26px;
}
.bkw-panel-head {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 26px;
}
.bkw-panel-num {
  font-family: var(--font-head);
  font-size: 34px; line-height: 1;
  color: #caa06b;
  font-style: italic;
  padding-top: 2px;
}
.bkw-panel-head h2 { font-family: var(--font-head); font-size: 24px; color: #3d2e2a; font-weight: 600; }
.bkw-panel-head p { color: #84786a; font-size: 14.5px; }

.bkw-subhead {
  font-family: var(--font-head);
  font-size: 18px; color: #4a3733; font-weight: 600;
  margin: 30px 0 16px;
}
.bkw-sub-note { font-family: var(--font-body); font-size: 13px; color: #9c8d80; font-weight: 400; }

/* --- tabs --- */
.bkw-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.bkw-tab {
  border: 1.5px solid #d5e8b5;
  background: #fcfef7;
  color: #5f544c;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: all .2s ease;
}
.bkw-tab:hover { border-color: #2e7d32; color: #1b5e20; }
.bkw-tab.active {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  border-color: transparent;
  color: #fcfef7;
  box-shadow: 0 8px 18px rgba(27, 94, 32, 0.28);
}

/* --- jenis pelanggan WNI/WNA (langkah 3 — kartu pilihan) --- */
.bkw-ct-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 16px;
}
.bkw-ct-card {
  display: flex; align-items: center; gap: 16px;
  width: 100%; text-align: left; cursor: pointer;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
  position: relative;
}
.bkw-ct-card:hover { border-color: var(--accent, #2e7d32); transform: translateY(-1px); }
.bkw-ct-card.active {
  border-color: var(--accent, #2e7d32);
  background: linear-gradient(135deg, rgba(46, 125, 50,0.05), rgba(139, 195, 74,0.07));
  box-shadow: 0 10px 26px rgba(46, 125, 50, 0.14);
}
.bkw-ct-badge {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fcfef7; font-weight: 700; font-size: 14px; letter-spacing: .06em;
  box-shadow: 0 6px 14px rgba(46, 125, 50, 0.28);
}
.bkw-ct-badge-alt {
  background: linear-gradient(135deg, #8bc34a, #7cb342);
  box-shadow: 0 6px 14px rgba(139, 195, 74, 0.3);
}
.bkw-ct-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bkw-ct-body b { font-size: 15.5px; color: #3d2e2a; }
.bkw-ct-body small { color: #8f8578; font-size: 12.5px; }
.bkw-ct-price { font-size: 13px; color: #8a7c68; margin-top: 3px; }
.bkw-ct-price b { color: var(--accent, #2e7d32); font-size: 14.5px; }
.bkw-ct-card .bkw-svc-check { flex: 0 0 auto; }

/* --- biaya tambahan (opsional) --- */
.bkw-fees { display: flex; flex-direction: column; gap: 12px; }
.bkw-fee {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 16px;
  padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.bkw-fee:hover { box-shadow: var(--shadow-sm); }
.bkw-fee.selected {
  border-color: #2e7d32;
  background: linear-gradient(180deg, #fcfef7, #eef6e4);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16);
}
.bkw-fee-box {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid #d8c9ab;
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .2s;
}
.bkw-fee-box svg { width: 14px; height: 14px; }
.bkw-fee.selected .bkw-fee-box { background: #2e7d32; border-color: #2e7d32; color: #fcfef7; }
.bkw-fee-main { flex: 1; min-width: 0; }
.bkw-fee-main b { display: block; font-size: 15px; color: #3d2e2a; }
.bkw-fee-main small { color: #8f8578; font-size: 12.5px; }
.bkw-fee-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.bkw-fee-price span {
  font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: #1b5e20;
  white-space: nowrap;
}
.bkw-fee-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 14px 18px;
  border-radius: 14px;
  background: #f5ecdb;
  border: 1px dashed #d8c2a0;
}
.bkw-fee-total span { color: #8a7c68; font-size: 13.5px; font-weight: 600; }
.bkw-fee-total b { font-family: var(--font-head); color: #1b5e20; font-size: 17px; }

/* --- service list --- */
.bkw-services { display: flex; flex-direction: column; gap: 12px; }
.bkw-svc {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  text-align: left;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 18px;
  padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.bkw-svc:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bkw-svc.selected {
  border-color: #2e7d32;
  background: linear-gradient(180deg, #fcfef7, #eef6e4);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16);
}
.bkw-svc-ico {
  width: 52px; height: 52px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #f4e7d0;
  color: #1b5e20;
}
.bkw-svc-ico svg { width: 24px; height: 24px; }
.bkw-svc-main { flex: 1; min-width: 0; }
.bkw-svc-main b { display: block; font-size: 16px; color: #3d2e2a; }
.bkw-svc-main small {
  display: block; color: #8f8578; font-size: 13px; margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bkw-svc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.bkw-dur {
  font-size: 12.5px; color: #9a8560; font-weight: 600;
  background: #f5ecdb; padding: 3px 10px; border-radius: 999px;
}
.bkw-price { font-family: var(--font-head); font-size: 17px; color: #1b5e20; font-weight: 600; }
.bkw-svc-check {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e0d2b6;
  color: transparent;
  transition: all .2s;
}
.bkw-svc-check svg { width: 14px; height: 14px; }
.bkw-svc.selected .bkw-svc-check { background: #2e7d32; color: #fcfef7; }

/* --- rooms --- */
.bkw-rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bkw-room {
  position: relative;
  text-align: left;
  overflow: hidden;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 18px;
  padding: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bkw-room:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bkw-room.selected { border-color: #2e7d32; box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16); }
.bkw-room-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.bkw-room-body { display: block; padding: 14px 16px 18px; }
.bkw-room-body b { display: block; font-size: 15.5px; color: #3d2e2a; }
.bkw-room-body small { display: block; color: #8f8578; font-size: 13px; margin-top: 4px; }
.bkw-room-rate {
  position: absolute; top: 10px; left: 10px;
  background: rgba(61, 46, 42, 0.72);
  color: #fcfef7;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.bkw-room-check {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 253, 248, 0.9);
  color: transparent;
  transition: all .2s;
}
.bkw-room-check svg { width: 15px; height: 15px; }
.bkw-room.selected .bkw-room-check { background: #2e7d32; color: #fcfef7; }

/* --- therapists --- */
.bkw-therapists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.bkw-th {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 18px;
  padding: 20px 14px 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bkw-th:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bkw-th.selected { border-color: #2e7d32; background: linear-gradient(180deg, #fcfef7, #eef6e4); box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16); }
.bkw-th-photo { position: relative; margin-bottom: 12px; }
.bkw-th-photo img, .bkw-th-ph {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.bkw-th-ph { background: linear-gradient(135deg, #2e7d32, #9d6b46); }
.bkw-th-ph svg { width: 34px; height: 34px; }
.bkw-th-level {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  background: #9aa87e; color: #fcfef7;
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
}
.bkw-th-info b { display: block; font-size: 15px; color: #3d2e2a; }
.bkw-th-info > small { display: block; color: #8f8578; font-size: 12.5px; margin-top: 2px; }
.bkw-th-stars { display: inline-flex; gap: 2px; margin-top: 8px; align-items: center; }
.bkw-th-stars svg { width: 14px; height: 14px; color: #d9a441; fill: #d9a441; }
.bkw-th-stars em { font-style: normal; font-size: 12px; color: #9c8d80; margin-left: 6px; font-weight: 600; }
.bkw-th-check {
  position: absolute; top: 12px; right: 12px;
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e0d2b6; color: transparent;
  transition: all .2s;
}
.bkw-th-check svg { width: 14px; height: 14px; }
.bkw-th.selected .bkw-th-check { background: #2e7d32; color: #fcfef7; }

/* --- calendar --- */
.bkw-cal-wrap { position: relative; }
.bkw-cal {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: #caa06b #f2e9d8;
  cursor: grab;
}
.bkw-cal:active { cursor: grabbing; }
.bkw-day {
  min-width: 88px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 16px;
  padding: 12px 8px;
  color: #5f544c;
  transition: all .2s ease;
}
.bkw-day:hover { border-color: #2e7d32; transform: translateY(-2px); }
.bkw-day-dow { font-size: 12px; color: #9c8d80; text-transform: uppercase; letter-spacing: 1px; }
.bkw-day-num { font-size: 24px; font-weight: 700; line-height: 1.1; color: #4a3733; }
.bkw-day-mon { font-size: 12px; color: #8f8578; }
.bkw-day-tag {
  margin-top: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: #1b5e20;
  background: #f7e9d4;
  padding: 2px 8px; border-radius: 999px;
}
.bkw-day.selected {
  background: linear-gradient(160deg, #2e7d32, #1b5e20);
  border-color: transparent;
  color: #fcfef7;
  box-shadow: 0 10px 20px rgba(27, 94, 32, 0.3);
}
.bkw-day.selected .bkw-day-dow,
.bkw-day.selected .bkw-day-num,
.bkw-day.selected .bkw-day-mon { color: #fcfef7; }
.bkw-day.selected .bkw-day-tag { background: rgba(255,253,248,0.24); color: #fcfef7; }

/* --- slots --- */
.bkw-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bkw-group { background: #faf4e8; border-radius: 16px; padding: 14px; }
.bkw-group-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; padding: 0 4px; }
.bkw-group-head b { font-size: 15px; color: #4a3733; }
.bkw-group-head b::before { content: "☀"; margin-right: 7px; font-size: 13px; }
.bkw-group[data-period="siang"] .bkw-group-head b::before { content: "☀"; }
.bkw-group[data-period="sore"] .bkw-group-head b::before { content: "☾"; }
.bkw-group-head small { font-size: 12px; color: #9c8d80; }
.bkw-group-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bkw-chip {
  border: 1.5px solid #dccdb0;
  background: #fcfef7;
  color: #5f544c;
  font-size: 13.5px; font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all .15s ease;
}
.bkw-chip:not(:disabled):hover { border-color: #2e7d32; color: #1b5e20; }
.bkw-chip.selected {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  border-color: transparent;
  color: #fcfef7;
  box-shadow: 0 6px 14px rgba(27, 94, 32, 0.26);
}
.bkw-chip:disabled {
  background: #efe9dc;
  border-color: #e3dac6;
  color: #c3b8a4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* --- tanggal libur / di luar hari buka (Jadwal Booking Online) --- */
.bkw-day:disabled,
.bkw-day.is-closed {
  background: #f2ede2;
  border-color: #e6ddc8;
  cursor: not-allowed;
}
.bkw-day:disabled:hover,
.bkw-day.is-closed:hover {
  border-color: #e6ddc8;
  transform: none;
  box-shadow: none;
}
.bkw-day.is-closed .bkw-day-dow,
.bkw-day.is-closed .bkw-day-num,
.bkw-day.is-closed .bkw-day-mon { color: #bcb09b; }
.bkw-day.is-closed::after {
  content: "Libur";
  margin-top: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: #a3543c;
  background: #f8e7de;
  padding: 2px 8px; border-radius: 999px;
}
/* --- TUTUP LAYANAN (Panel Mitra > Tutup Layanan) --- */
.bkw-day.is-tutup::after {
  content: "Tutup";
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f3c1bb;
}
.bkw-chip.is-tutup {
  background: #fdecea !important;
  border-color: #f3c1bb !important;
  color: #b3261e !important;
  text-decoration: none;
  font-weight: 700;
  cursor: not-allowed;
}
/* --- SLOT PENUH PER-TERAPIS: jam sudah dibooking pada terapis terpilih ---
   Beda warna dgn "Tutup" (merah) supaya mitra & pelanggan mudah membedakan
   libur vs terisi. Slot jadi tersedia lagi bila booking dibatalkan mitra. */
.bkw-chip.is-penuh {
  background: #fff6e5 !important;
  border-color: #ecd9a8 !important;
  color: #92600a !important;
  text-decoration: none;
  font-weight: 700;
  cursor: not-allowed;
}
/* --- TUTUP LAYANAN PER-TERAPIS: kartu terapis merah + badge "Tutup" --- */
.bkw-th.is-tutup {
  border-color: #f3c1bb !important;
  background: #fdf6f5 !important;
  cursor: not-allowed;
  opacity: .78;
}
.bkw-th.is-tutup:hover { transform: none; box-shadow: none; }
.bkw-th.is-tutup .bkw-th-photo img,
.bkw-th.is-tutup .bkw-th-ph { filter: grayscale(.55); }
.bkw-th.is-tutup::after {
  content: "Tutup";
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f3c1bb;
  padding: 2px 8px; border-radius: 999px;
}

.bkw-empty { grid-column: 1 / -1; text-align: center; color: #9c8d80; padding: 24px 0; }

/* --- wizard: guard elemen tersembunyi (tampilan per langkah) --- */
.bkw-panel[hidden], .bkw-svc[hidden], .bkw-th[hidden], .bkw-mitra[hidden],
.bkw-day[hidden], .bkw-chip[hidden], .bkw-empty[hidden] { display: none !important; }

/* --- wizard langkah 1: kartu mitra spa --- */
.bkw-mitra-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bkw-mitra {
  display: flex; align-items: flex-start; gap: 14px;
  text-align: left;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 18px;
  padding: 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.bkw-mitra:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bkw-mitra.selected {
  border-color: #2e7d32;
  background: linear-gradient(180deg, #fcfef7, #eef6e4);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16);
}
.bkw-mitra.selected .bkw-svc-check { background: #2e7d32; color: #fcfef7; }
.bkw-mitra-logo {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #2e7d32, #9d6b46);
  display: inline-flex; align-items: center; justify-content: center;
}
.bkw-mitra-logo img { width: 100%; height: 100%; object-fit: cover; }
.bkw-mitra-init { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fcfef7; }
.bkw-mitra-body { flex: 1; min-width: 0; }
.bkw-mitra-body b { display: block; font-size: 17px; color: #3d2e2a; }
.bkw-mitra-body small { display: block; color: #8f8578; font-size: 13px; margin-top: 3px; }
.bkw-mitra-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.bkw-mitra-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #9c8d80; }
.bkw-mitra-meta svg { width: 14px; height: 14px; color: #b5916b; flex-shrink: 0; }
.bkw-mitra-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.bkw-mitra-stats span {
  font-size: 12px; font-weight: 600; color: #9a8560;
  background: #f5ecdb; padding: 3px 10px; border-radius: 999px;
  white-space: nowrap;
}

/* --- wizard: tombol navigasi antar langkah --- */
.bkw-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 30px; padding-top: 22px;
  border-top: 1px dashed #dfe9cf;
}
.bkw-nav-spacer { flex: 1; }
.bkw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px; font-weight: 600; letter-spacing: .2px;
  transition: all .2s ease;
}
.bkw-btn svg { width: 17px; height: 17px; }
.bkw-btn-primary {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fcfef7;
  box-shadow: 0 10px 22px rgba(27, 94, 32, 0.30);
}
.bkw-btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(27, 94, 32, 0.42); }
.bkw-btn-ghost { background: #fcfef7; border: 1.5px solid #d5e8b5; color: #5f544c; }
.bkw-btn-ghost:hover { border-color: #2e7d32; color: #1b5e20; }
.bkw-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- Layar sukses lebar (setelah langkah 9 terkirim) ---------- */
.bkw-done {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(720px, calc(100vh - 300px));
  padding: 14px 0 26px;
}
.bkw-done-card {
  width: 100%;
  background: rgba(255, 252, 246, 0.95);
  border: 1px solid rgba(139, 195, 74, 0.45);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(61, 46, 42, 0.12);
  padding: 58px 48px;
  text-align: center;
}
.bkw-done-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 86px; height: 86px; border-radius: 50%;
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  color: #fcfef7;
  margin-bottom: 24px;
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.35);
}
.bkw-done-icon svg { width: 44px; height: 44px; }
.bkw-done-card h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #2e5d31;
  margin: 0 0 16px;
}
.bkw-done-codelabel { color: #84786a; font-size: 15px; margin: 0 0 8px; }
.bkw-done-code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: 3px;
  color: #1b5e20;
  background: #eef5e1;
  border: 1.5px dashed #9cc25b;
  border-radius: 14px;
  padding: 12px 30px;
  margin: 0 0 20px;
}
.bkw-done-desc {
  color: #6b5e52;
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 660px;
  margin: 0 auto 32px;
}
.bkw-done-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.bkw-done-btn { font-size: 16px; padding: 15px 32px; text-decoration: none; }

/* Tombol aksi WA di layar sukses. Catatan: tombol "Kirim Konfirmasi"
   (hijau WhatsApp, wa.me admin) sudah DIHILANGKAN dari halaman
   "Booking berhasil!" — gaya .bkw-btn-wa / .tb-btn-wa dihapus.
   Yang tersisa: "Konfirmasi via WhatsApp" (wa.me mitra) di tenant-booking. */
.tb-btn-wa-ghost { background: transparent; border: 1.5px solid #9ed3b3; color: #1f7a4d; }
.tb-btn-wa-ghost:hover { background: #eef8f1; }

/* Ringkasan booking pada layar sukses wizard (booking.php)
   — data sama dgn bukti booking PNG & pesan WA admin */
.bkw-done-sum {
  width: 100%;
  max-width: 560px;
  margin: 4px auto 26px;
  background: #fff;
  border: 1px solid #e7ecd9;
  border-radius: 16px;
  padding: 6px 20px;
  text-align: left;
}
.bkw-done-sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed #efe9db;
  font-size: 14px;
}
.bkw-done-sum-row:last-child { border-bottom: 0; }
.bkw-done-sum-row span { color: #8a8175; flex: 0 0 auto; }
.bkw-done-sum-row b { text-align: right; word-break: break-word; }
.bkw-done-sum-row.is-sub { font-size: 13px; }
.bkw-done-sum-row.is-sub span { color: #9a958a; }
.bkw-done-sum-row.is-grand { border-top: 1.5px solid #e2ddcf; border-bottom: 0; margin-top: 2px; font-size: 16px; }
.bkw-done-sum-row.is-grand span { color: #413f3a; }
.bkw-done-sum-row.is-grand b { color: var(--accent-dark); }
.bkw-done-badge {
  display: inline-block;
  background: #fdf3d7;
  border: 1px solid #ecd9a0;
  color: #8a6d1f;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .bkw-done-sum-row { gap: 12px; font-size: 13.5px; }
  .bkw-done-sum-row span { max-width: 42%; }
}
@media (max-width: 640px) {
  .bkw-done { min-height: 0; padding-top: 4px; }
  .bkw-done-card { padding: 40px 20px; border-radius: 20px; }
  .bkw-done-actions .bkw-done-btn { flex: 1 1 100%; }
}

/* --- wizard langkah 5: ringkasan konfirmasi --- */
.bkw-sum { background: #faf4e8; border-radius: 18px; padding: 10px 24px; }
.bkw-sum-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed #dfe9cf;
}
.bkw-sum-row:last-child { border-bottom: none; }
.bkw-sum-row dt {
  font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase;
  color: #9c8d80; font-weight: 600; flex-shrink: 0;
}
.bkw-sum-row dd { margin: 0; font-size: 15.5px; color: #3d2e2a; font-weight: 600; text-align: right; }
.bkw-sum-total dd { font-family: var(--font-head); font-size: 22px; color: #1b5e20; }

/* --- wizard langkah 5: data diri tamu --- */
.bkw-guest { margin-top: 26px; }
.bkw-guest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bkw-field label { display: block; font-weight: 600; font-size: 14px; color: #4a3733; margin-bottom: 7px; }
.bkw-field input {
  width: 100%;
  background: #fcfef7;
  border: 1.5px solid #d5e8b5;
  border-radius: 14px;
  padding: 12px 15px;
  font-family: inherit;
  color: #3d2e2a;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bkw-field input:focus { border-color: #2e7d32; box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.14); }

@media (max-width: 720px) {
  .bkw-mitra-list { grid-template-columns: 1fr; }
  .bkw-nav { flex-wrap: wrap; }
  .bkw-nav .bkw-btn { flex: 1 1 100%; }
  .bkw-guest-fields { grid-template-columns: 1fr; }
  .bkw-sum-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .bkw-sum-row dd { text-align: left; }
}

@keyframes bkw-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
}

/* --- note --- */
.bkw-note { margin-top: 30px; }
.bkw-note label { display: block; font-weight: 600; font-size: 14.5px; color: #4a3733; margin-bottom: 8px; }
.bkw-opt { font-weight: 400; color: #9c8d80; font-size: 13px; }
.bkw-note textarea {
  width: 100%;
  background: #fcfef7;
  border: 1.5px solid #d5e8b5;
  border-radius: 14px;
  padding: 13px 16px;
  font-family: inherit;
  color: #3d2e2a;
  resize: vertical;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bkw-note textarea:focus { border-color: #2e7d32; box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.14); }
.bkw-hint { font-size: 12.5px; color: #9c8d80; margin-top: 6px; }

/* --- wizard langkah 8: jenis kelamin + upload kartu keluarga --- */
.bkw-gender { margin-top: 26px; }
.bkw-gender-note-ok { color: #1b5e20; }
.bkw-kk { margin-top: 22px; }
.bkw-kkbox {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fcfef7;
  border: 1.5px dashed #d5e8b5;
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.bkw-kkbox.is-filled { border-style: solid; border-color: #2e7d32; background: #eef6e4; }
.bkw-kk-name { font-weight: 600; font-size: 13.5px; color: #3d2e2a; word-break: break-all; }

/* --- wizard langkah 10: Ketentuan Uang Muka (DP) & Pembatalan Reservasi ---
   Dokumen ketentuan (scrollable), bukti pembayaran DP, checkbox persetujuan,
   tombol Kembali / Cek detail Reservasi / Kirim Reservasi / Batal. */
.bkw-dp-doc {
  max-height: 420px;
  overflow-y: auto;
  background: #fcfef7;
  border: 1.5px solid #e3edce;
  border-radius: 16px;
  padding: 22px 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4c4238;
  scrollbar-width: thin;
  scrollbar-color: #b8d48e #f2f7e6;
}
.bkw-dp-doc::-webkit-scrollbar { width: 9px; }
.bkw-dp-doc::-webkit-scrollbar-track { background: #f2f7e6; border-radius: 8px; }
.bkw-dp-doc::-webkit-scrollbar-thumb { background: #b8d48e; border-radius: 8px; }
.bkw-dp-doc::-webkit-scrollbar-thumb:hover { background: #2e7d32; }
.bkw-dp-doc:focus-visible { outline: 2px solid #2e7d32; outline-offset: 2px; }
.bkw-dp-doc p { margin: 0 0 12px; }
.bkw-dp-doc b { color: #1b5e20; }
.bkw-dp-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  color: #1b5e20;
}
.bkw-dp-doc h4 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #2e7d32;
}
.bkw-dp-doc ul { margin: 0 0 12px; padding-left: 22px; }
.bkw-dp-doc li { margin-bottom: 4px; }
.bkw-dp-doc .bkw-dp-checklist { list-style: none; padding-left: 4px; }
.bkw-dp-doc .bkw-dp-checklist li::before { content: '\2713\00A0\00A0'; color: #2e7d32; font-weight: 700; }
.bkw-dp-statement-head { margin-top: 20px; }
.bkw-dp-statement {
  margin: 0 0 6px;
  padding: 14px 18px;
  border-left: 4px solid #9cc25b;
  background: #f7faec;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.bkw-dp-statement p { margin: 0; }

/* Kartu nominal DP & Total (langkah 10, di atas Foto Bukti Pembayaran DP):
   NOMINAL DP yang DITONJOLKAN (pill emas raksasa — fokus utama kartu),
   diikuti Total pemesanan sebagai informasi pendukung (lebih kecil). */
.bkw-dp-amount-card {
  margin: 20px 0 22px;
  padding: 24px 18px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 52%, #43a047 100%);
  border: 1.5px solid #1b5e20;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(27, 94, 32, .26);
  color: #fff;
}
.bkw-dp-amount-card p { margin: 0; }
.bkw-dp-amount-dp {
  font-size: clamp(14px, 3.4vw, 16.5px);
  font-weight: 600;
  line-height: 1.55;
  color: #f3f8e9;
}
.bkw-dp-amount-dp-post { font-weight: 500; color: #e2f0cd; }
.bkw-dp-amount-hero {
  margin: 8px 0 6px !important;
  line-height: 1;
}
.bkw-dp-amount-nominal {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 7px 24px;
  font-size: clamp(33px, 8.8vw, 54px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .5px;
  color: #14360f;
  background: linear-gradient(180deg, #ffe082 0%, #ffc107 100%);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .30), inset 0 1.5px 0 rgba(255, 255, 255, .6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  word-break: break-word;
}
.bkw-dp-amount-label {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(255, 255, 255, .38);
  font-size: clamp(13px, 3.1vw, 15.5px);
  font-weight: 500;
  letter-spacing: .2px;
  color: #dcecc8;
}
.bkw-dp-amount-total {
  margin-top: 4px !important;
  font-size: clamp(19px, 4.6vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .4px;
  color: rgba(255, 255, 255, .96);
  word-break: break-word;
}
.bkw-dp-amount-note {
  margin-top: 10px !important;
  font-size: 12px;
  font-weight: 400;
  color: #cfe3b4;
}

/* Kotak unggah bukti pembayaran DP (memakai gaya .bkw-kkbox + .bkw-dpbox) */
.bkw-dpbox { margin-top: 2px; }

/* Checkbox persetujuan ketentuan DP */
.bkw-dp-agree {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  background: #fcfef7;
  border: 1.5px solid #d5e8b5;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  -webkit-user-select: none; user-select: none;
}
.bkw-dp-agree:hover { border-color: #2e7d32; }
.bkw-dp-agree input { position: absolute; opacity: 0; pointer-events: none; }
.bkw-dp-agree-box {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #b8d48e;
  border-radius: 7px;
  background: #fff;
  color: transparent;
  transition: all .18s ease;
  margin-top: 1px;
}
.bkw-dp-agree-box svg { width: 15px; height: 15px; stroke-width: 3; }
.bkw-dp-agree input:checked ~ .bkw-dp-agree-box {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}
.bkw-dp-agree input:focus-visible ~ .bkw-dp-agree-box { outline: 2px solid #2e7d32; outline-offset: 2px; }
.bkw-dp-agree-text { font-size: 14.5px; font-weight: 600; color: #3d2e2a; line-height: 1.55; }

/* Navigasi langkah 10: dua kelompok tombol (kiri: Batal+Kembali,
   kanan: Cek detail Reservasi + Kirim Reservasi) */
.bkw-nav-dp { flex-wrap: wrap; }
.bkw-nav-dp .bkw-nav-left,
.bkw-nav-dp .bkw-nav-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bkw-nav-dp .bkw-nav-left { margin-right: auto; }
.bkw-nav-dp .bkw-nav-right { margin-left: auto; }

/* Modal Cek Detail Reservasi (langkah 10): salinan ringkasan langkah 9 */
.bkw-sum-detail { margin: 0; }

/* --- wizard langkah 8: pilihan layanan + pilih terapis (pesanan istri/saudari) ---
   Muncul otomatis bila SPA mengaktifkan "Pesanan untuk Istri / Saudari" di
   Panel Mitra (Pengaturan SPA > Fitur Form Pemesan). Urutan field diatur ulang:
   Jenis Kelamin > Upload KK > Pilihan Layanan > Pilih Terapis > Data Pemesan.
   DESAIN KARTU = persis kartu langkah 2 (.bkw-services): tanpa override ringkas,
   daftar panjang dibatasi tingginya + scroll (mobile dgn puluhan layanan). */
.bkw-male-svc { margin-top: 22px; }
.bkw-male-th { margin-top: 22px; }
.bkw-male-svc-list {
  display: flex; flex-direction: column; gap: 12px; /* sama dgn .bkw-services */
  max-height: 340px; overflow-y: auto;
  padding: 3px; /* ruang ring fokus tidak terpotong */
  scrollbar-width: thin;
  scrollbar-color: #caa06b #f2e9d8;
}
.bkw-male-th-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; /* sama dgn .bkw-therapists */
  max-height: 420px; overflow-y: auto;
  padding: 3px;
  scrollbar-width: thin;
  scrollbar-color: #caa06b #f2e9d8;
}
.bkw-male-svc-list::-webkit-scrollbar,
.bkw-male-th-list::-webkit-scrollbar { width: 8px; }
.bkw-male-svc-list::-webkit-scrollbar-track,
.bkw-male-th-list::-webkit-scrollbar-track { background: #f2e9d8; border-radius: 999px; }
.bkw-male-svc-list::-webkit-scrollbar-thumb,
.bkw-male-th-list::-webkit-scrollbar-thumb { background: #caa06b; border-radius: 999px; }
#bkwPanel8.is-male { display: flex; flex-direction: column; }
#bkwPanel8.is-male .bkw-panel-head { order: 0; }
#bkwPanel8.is-male .bkw-gender { order: 1; margin-top: 0; }
#bkwPanel8.is-male .bkw-kk { order: 2; }
#bkwPanel8.is-male .bkw-male-svc { order: 3; }
#bkwPanel8.is-male .bkw-male-th { order: 4; }
#bkwPanel8.is-male .bkw-guest { order: 5; margin-top: 24px; }
#bkwPanel8.is-male .bkw-nav { order: 6; }
@media (max-width: 640px) {
  .bkw-male-th-list { grid-template-columns: 1fr; }
}

/* --- langkah 5: pilih lokasi --- */
.bkw-loc-types {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.bkw-loc-type {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 18px;
  padding: 15px 17px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
  position: relative;
}
.bkw-loc-type:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bkw-loc-type.selected {
  border-color: #2e7d32;
  background: linear-gradient(180deg, #fcfef7, #eef6e4);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16);
}
.bkw-loc-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #f4e7d0;
  color: #a3703f;
}
.bkw-loc-ico svg { width: 22px; height: 22px; }
.bkw-loc-txt { flex: 1; min-width: 0; }
.bkw-loc-txt b { display: block; font-size: 15px; color: #3d2e2a; }
.bkw-loc-txt small { font-size: 12.5px; color: #9c8d80; }
/* Chip harga jenis lokasi (Panel Mitra > Kelola Lokasi) — "+ Rp 300.000"
   atau "Tanpa biaya tambahan"; berubah mengikuti jenis pelanggan WNI/WNA */
.bkw-loc-fee { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.bkw-loc-fee span {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #1b5e20;
  white-space: nowrap;
}

.bkw-loc-list { display: flex; flex-direction: column; gap: 12px; }
.bkw-loc {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: #fcfef7;
  border: 1.5px solid #dfe9cf;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.bkw-loc:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bkw-loc.selected {
  border-color: #2e7d32;
  background: linear-gradient(180deg, #fcfef7, #eef6e4);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.16);
}
.bkw-loc-pin {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #f4e7d0;
  color: #a3703f;
}
.bkw-loc-pin svg { width: 20px; height: 20px; }
.bkw-loc-body { flex: 1; min-width: 0; }
.bkw-loc-body b { display: block; font-size: 14.5px; color: #3d2e2a; }
.bkw-loc-body small { display: block; font-size: 12.5px; color: #84786a; line-height: 1.45; }

.bkw-field { margin-bottom: 16px; }
.bkw-field label { display: block; font-weight: 600; font-size: 14px; color: #4a3733; margin-bottom: 8px; }
.bkw-field textarea,
.bkw-field input[type="url"],
.bkw-field input[type="text"] {
  width: 100%;
  background: #fcfef7;
  border: 1.5px solid #d5e8b5;
  border-radius: 14px;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 14.5px;
  color: #3d2e2a;
  resize: vertical;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bkw-field textarea:focus,
.bkw-field input:focus { border-color: #2e7d32; box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.14); }

.bkw-map-input { display: flex; gap: 10px; align-items: stretch; }
.bkw-map-input input { flex: 1; min-width: 0; }
.bkw-btn-sm { padding: 10px 16px; font-size: 13.5px; }

.bkw-map-preview {
  margin-top: 4px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #dfe9cf;
  background: #f6efe2;
}

/* peta pilih lokasi wizard (Leaflet) dihapus — kolom link Google Maps tetap dipakai */

/* --- peta pilih lokasi di halaman booking per-SPA (tenant-booking) --- */
.tb-map-pick {
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(46, 125, 50, 0.35);
  background: #eef4e4;
  position: relative;
  z-index: 0;
}
.tb-map-pick .leaflet-container { height: 100%; width: 100%; }
.tb-opt-hint { font-weight: 400; font-size: 12.5px; color: var(--muted, #7f776b); }

.bkw-map-preview iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

@media (max-width: 980px) {
  .bkw-rooms { grid-template-columns: 1fr; }
  .bkw-slots { grid-template-columns: 1fr; }
  .bkw-ct-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bkw-panel { padding: 22px 18px; }
  .bkw-steps { gap: 4px; }
  .bkw-step-num { width: 28px; height: 28px; font-size: 12.5px; box-shadow: 0 0 0 3px #f2f6e8; }
  .bkw-step.active .bkw-step-num { box-shadow: 0 0 0 3px #f2f6e8, 0 4px 12px rgba(46, 125, 50, 0.3); }
  .bkw-svc { flex-wrap: wrap; }
  .bkw-svc-meta { flex-direction: row; align-items: center; gap: 12px; }
  .bkw-loc-types { grid-template-columns: 1fr; }
  .bkw-map-input { flex-direction: column; align-items: stretch; }
  .bkw-map-preview iframe { height: 200px; }
}

/* ---------- Forms (generic) ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; letter-spacing: .3px; }
.field label .req { color: var(--red); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%;
  background: var(--bg);
  border: 1.6px solid #e5dbcd;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.16);
  background: #fff;
}
.textarea { min-height: 120px; resize: vertical; }

.form-error {
  color: var(--red);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}
.alert {
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-success { background: #e7f0e0; color: #45584a; border: 1px solid #c8dcc0; }
.alert-error { background: #f8e4df; color: #8a3024; border: 1px solid #ecc8c0; }
.alert-info { background: #e4eef6; color: #2f5a7a; border: 1px solid #c6dcec; }
.alert-error ul { margin: 6px 0 0 18px; padding: 0; }
.alert-error li { margin: 2px 0; }

/* ---------- Validasi form: pesan kesalahan per field ---------- */
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.field-error::before { content: "\26A0"; font-size: 13px; line-height: 1.45; }
.input-error,
.input.input-error,
.textarea.input-error {
  border-color: #d98880 !important;
  background: #fdf4f2;
}
.input-error:focus,
.textarea.input-error:focus {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.10);
}

/* ---------- Auth (login/register) ---------- */
.auth-wrap {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.auth-visual {
  background: linear-gradient(155deg, #3f4c33, #1b5e20 40%, #2e7d32 80%);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-visual::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(139, 195, 74,0.35), transparent 70%);
}
.auth-visual .brand { margin-bottom: 34px; position: relative; z-index: 1; }
.auth-visual h2 { font-family: var(--font-head); font-size: 36px; margin-bottom: 16px; position: relative; z-index: 1; }
.auth-visual p { opacity: .9; max-width: 400px; margin-bottom: 32px; font-size: 16px; position: relative; z-index: 1; }
.auth-points { display: grid; gap: 14px; position: relative; z-index: 1; }
.auth-points li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.auth-points svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); }
.auth-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--bg);
}
.auth-box { width: 100%; max-width: 440px; }
.auth-box h1 { font-family: var(--font-head); font-size: 34px; margin-bottom: 6px; font-weight: 600; }
.auth-box .sub { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.auth-links { text-align: center; margin-top: 18px; font-size: 15px; color: var(--muted); }
.auth-links a { color: var(--green-dark); font-weight: 600; }
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(150deg, #1b5e20, #2e7d32);
  color: #fff;
  padding: 74px 0;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  right: -130px; top: -180px;
  background: radial-gradient(circle, rgba(139, 195, 74,0.4), transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  left: -100px; bottom: -160px;
  background: radial-gradient(circle, rgba(121, 168, 107,0.3), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; font-weight: 600; }
.page-hero p { opacity: .92; font-size: 17px; max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; margin-bottom: 18px; opacity: .85; align-items: center; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: var(--surface); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value-card .v-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139, 195, 74,0.16), rgba(121, 168, 107,0.16));
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.value-card .v-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }

.timeline { display: grid; gap: 26px; margin-top: 40px; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 22px; }
.tl-year {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--gold-dark);
  border-right: 2px solid rgba(139, 195, 74,0.4);
  padding-right: 18px;
  line-height: 1.3;
}
.tl-item h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 4px; }
.tl-item p { color: var(--muted); font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.team-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; padding-bottom: 24px; }
.team-card .t-photo {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.team-card .t-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.team-card .t-photo svg { width: 90px; height: 90px; opacity: .9; }
.team-card h3 { font-family: var(--font-head); margin-top: 18px; font-size: 19px; }
.team-card p { color: var(--gold-dark); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.team-card .t-bio { padding: 0 18px; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.c-card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.c-card .c-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139, 195, 74,0.16), rgba(121, 168, 107,0.16));
  color: var(--gold-dark);
}
.c-card .c-icon svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 16.5px; margin-bottom: 3px; }
.c-card p, .c-card a { color: var(--muted); font-size: 15px; }
.contact-form { background: var(--surface); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h2 { font-family: var(--font-head); font-size: 26px; margin-bottom: 6px; }
.contact-form .sub { color: var(--muted); margin-bottom: 26px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- User dashboard ---------- */
.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 44px 0 80px;
  min-height: 60vh;
}
.dash-side {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 16px;
  align-self: start;
  position: sticky;
  top: 100px;
}
.dash-user { text-align: center; padding: 8px 4px 20px; border-bottom: 1px solid #eaf0dd; margin-bottom: 16px; }
.dash-user .avatar-lg {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--rose));
  color: #fff; font-size: 26px; font-weight: 600;
}
.dash-user b { display: block; font-size: 16px; }
.dash-user span { color: var(--muted); font-size: 13.5px; }
.dash-menu { display: grid; gap: 4px; }
.dash-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s;
}
.dash-menu a svg { width: 20px; height: 20px; }
.dash-menu a:hover { background: rgba(46, 125, 50,0.1); color: var(--green-dark); }
.dash-menu a.is-active { background: var(--green); color: #fff; }
.dash-main { min-width: 0; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-family: var(--font-head); font-size: 30px; font-weight: 600; }
.dash-head p { color: var(--muted); }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
}
.stat-card .s-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.stat-card .s-icon svg { width: 24px; height: 24px; }
.stat-card b { display: block; font-family: var(--font-head); font-size: 26px; line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: 13.5px; }
.ic-gold { background: linear-gradient(135deg, var(--gold), var(--rose)); }
.ic-green { background: linear-gradient(135deg, var(--green), var(--blue)); }
.ic-blue { background: linear-gradient(135deg, #4a7ba6, #6e9cc4); }
@media (max-width: 940px) {
  .dashboard { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-menu { grid-template-columns: repeat(2, 1fr); }
  .stat-cards { grid-template-columns: 1fr; }
}

/* ---------- Tables ---------- */
.table-wrap { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th {
  text-align: left;
  padding: 15px 20px;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #eaf0dd;
  font-weight: 600;
  white-space: nowrap;
}
.table td { padding: 16px 20px; border-bottom: 1px solid #f0f4e8; font-size: 15px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fcfaf6; }
.table .td-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px;
  border: 0;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f0f4e8;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--green); color: #fff; }
.icon-btn.danger:hover { background: var(--red); }

.chip { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }

.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; }
.badge-warn { background: #f8e8c8; color: #92680f; }
.badge-ok { background: #e2f0dc; color: #3f6b34; }
.badge-blue { background: #e2edf6; color: #2f5a7a; }
.badge-gray { background: #eee9e0; color: #7a7166; }

.empty-state { text-align: center; padding: 60px 24px; color: var(--muted); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--muted-2); }
.empty-state h3 { font-family: var(--font-head); color: var(--ink); font-size: 20px; margin-bottom: 6px; }

/* ---------- Booking summary card ---------- */
.book-card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.book-card .bc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.book-card h3 { font-family: var(--font-head); font-size: 20px; }
.book-detail { display: grid; gap: 10px; font-size: 15px; margin-bottom: 16px; }
.book-detail li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.book-detail svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; }
.book-detail b { color: var(--ink); font-weight: 600; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(30, 28, 24, 0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  transform: translateY(18px);
  transition: transform .25s;
  box-shadow: var(--shadow-lg);
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 0; }
.modal-head h3 { font-family: var(--font-head); font-size: 22px; }
.modal-close { background: #f0f4e8; border: 0; width: 36px; height: 36px; border-radius: 10px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 20px 28px 28px; }
.modal-footer { padding: 0 28px 28px; display: flex; gap: 12px; justify-content: flex-end; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1.4px solid #e5dbcd;
  font-weight: 600;
  font-size: 15px;
  padding: 0 12px;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-dark); }
.pagination .current { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 120;
  padding: 15px 22px;
  border-radius: 14px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  font-size: 15px;
  animation: toastIn .4s ease;
}
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Admin ---------- */
.admin-body { background: #f3f0ea; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side {
  background: #24221f;
  color: #eaf0dd;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-brand { padding: 22px 22px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-brand .brand-text { font-size: 20px; color: #f3f7ec; }
.admin-menu { padding: 16px 14px; flex: 1; }
.admin-menu .am-label { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #8a8378; margin: 16px 12px 8px; }
.admin-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #d6dfc6;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s;
  margin-bottom: 4px;
}
.admin-menu a svg { width: 20px; height: 20px; flex-shrink: 0; }
.admin-menu a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.admin-menu a.is-active { background: var(--gold); color: #fff; }
.admin-menu .am-count {
  margin-left: auto;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12px;
  padding: 2px 9px;
  font-weight: 600;
}
.admin-menu a.is-active .am-count { background: rgba(255,255,255,0.25); }
.admin-foot { padding: 16px 22px; border-top: 1px solid rgba(255,255,255,0.08); }
.admin-foot .user-mini { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.admin-foot .user-mini .avatar { background: linear-gradient(135deg, var(--gold), var(--rose)); }
.admin-foot .user-mini b { display: block; font-size: 14px; color: #f3f7ec; line-height: 1.2; }
.admin-foot .user-mini span { font-size: 12.5px; color: #8a8378; }
.admin-foot a.logout { display: flex; align-items: center; gap: 8px; color: #d6dfc6; font-size: 14px; }
.admin-foot a.logout:hover { color: #fff; }
.admin-foot a.logout svg { width: 17px; height: 17px; }

.admin-main { min-width: 0; }
.admin-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243,240,234,0.9);
  backdrop-filter: blur(12px);
  padding: 16px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid #e5dbcd;
}
.admin-top h1 { font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.admin-top .at-right { display: flex; align-items: center; gap: 14px; }
.admin-content { padding: 30px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.admin-stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 15px;
}
.admin-stat .as-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.admin-stat .as-icon svg { width: 24px; height: 24px; }
.admin-stat b { display: block; font-family: var(--font-head); font-size: 25px; line-height: 1.1; }
.admin-stat span { color: var(--muted); font-size: 13.5px; }
.as-gold { background: linear-gradient(135deg, var(--gold), var(--rose)); }
.as-green { background: linear-gradient(135deg, var(--green), #97a886); }
.as-blue { background: linear-gradient(135deg, #4a7ba6, #79a7cd); }
.as-red { background: linear-gradient(135deg, var(--red), #d98b79); }

.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 26px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.panel-head h2 { font-family: var(--font-head); font-size: 21px; font-weight: 600; }
.panel-head .ph-sub { color: var(--muted); font-size: 14px; }

.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .input { width: auto; min-width: 220px; }
.toolbar .spacer { flex: 1; }

.mini-bars { display: grid; gap: 14px; }
.mini-bar-row { display: flex; align-items: center; gap: 14px; }
.mini-bar-row .mb-label { width: 170px; font-size: 14px; font-weight: 600; }
.mini-bar { flex: 1; height: 10px; background: #f0eade; border-radius: 999px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--rose)); }
.mini-bar-row .mb-val { width: 52px; text-align: right; font-size: 14px; color: var(--muted); }

.recent-list { display: grid; gap: 12px; }
.recent-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #f9faf4;
  border-radius: 14px;
}
.recent-item .r-dot { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.recent-item .r-dot svg { width: 20px; height: 20px; }
.recent-item b { display: block; font-size: 15px; line-height: 1.3; }
.recent-item span { font-size: 13.5px; color: var(--muted); }
.recent-item .r-right { margin-left: auto; text-align: right; }

.pill-filter { display: inline-flex; gap: 4px; background: #f0eade; border-radius: 999px; padding: 4px; }
.pill-filter a { padding: 8px 18px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--muted); }
.pill-filter a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }

@media (max-width: 1000px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-side .admin-menu { display: none; }
  .admin-content { padding: 20px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .admin-stat-grid { grid-template-columns: 1fr; }
  .admin-top { padding: 14px 20px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc8ba; padding: 70px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer-brand p { margin: 18px 0; font-size: 15px; opacity: .85; max-width: 320px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: #eaf0dd;
  transition: background .2s, transform .2s;
}
.social a svg { width: 18px; height: 18px; }
.social a:hover { background: var(--gold); transform: translateY(-3px); color: #fff; }
.footer-col h4 {
  font-family: var(--font-head);
  color: #f3f7ec;
  font-size: 18px;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; font-size: 15px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px;
}
.footer-bottom .heart { color: var(--rose); }
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Photo gallery (auto-scroll marquee) ---------- */
.gallery-loop {
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: galleryScroll 42s linear infinite;
}
.gallery-loop:hover .gallery-track { animation-play-state: paused; }
.gallery-track .g-card { width: min(300px, 72vw); flex-shrink: 0; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
  .gallery-loop { -webkit-mask-image: none; mask-image: none; }
}
.g-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  background: var(--bg-3);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
}
.g-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.g-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 14px;
  background: linear-gradient(transparent, rgba(20,18,15,0.8));
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.g-card:hover img { transform: scale(1.06); }
.g-card:hover figcaption { opacity: 1; transform: translateY(0); }
.g-card figcaption b { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.3; }
.g-card figcaption span { display: block; font-size: 12.5px; opacity: .9; margin-top: 2px; }
@media (max-width: 1100px) {
  .gallery-track .g-card { width: min(260px, 72vw); }
}
@media (max-width: 640px) {
  .gallery-track .g-card { width: 78vw; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(18,16,13,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: min(1080px, 94vw); text-align: center; }
.lb-figure img {
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lb-figure figcaption {
  color: #ecdfc9;
  margin-top: 16px;
  font-size: 15.5px;
  letter-spacing: .3px;
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  transition: background .2s;
}
.lb-close { top: 20px; right: 22px; }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); border-color: var(--gold); }
@media (max-width: 560px) {
  .lb-nav { width: 40px; height: 40px; font-size: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* =====================================================================
   APP SHELL — header compact, bottom nav, footer compact
   (Mobile-first, accent dari var(--accent) yang di-inject per tenant)
   ===================================================================== */
:root { --accent: #2e7d32; --accent-dark: #1b5e20; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(44, 42, 39, 0.06);
  transition: box-shadow .25s;
}
.app-header.scrolled { box-shadow: 0 4px 18px rgba(44, 42, 39, 0.08); }
.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 58px;
}
.app-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.app-brand-logo {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 3px 10px rgba(44, 42, 39, 0.14);
}
.app-brand-logo svg { width: 20px; height: 20px; }
.app-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.app-brand-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.15;
}
.app-brand-name {
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .2px;
}
.app-brand-tag {
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.app-header-actions { display: flex; align-items: center; gap: 8px; }
.app-round-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.09);
  color: var(--ink);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.app-round-btn svg { width: 19px; height: 19px; }
.app-round-btn:active { transform: scale(.92); }
.app-avatar-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

/* Menu desktop — kini di DALAM baris header (sejajar brand, ikon WhatsApp,
   dan tombol Masuk/Daftar); disembunyikan di mobile (< 992px). */
.app-desktop-links {
  display: none;
  align-items: center;
  gap: 26px;
}
.app-desktop-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.app-desktop-links a:hover { color: var(--ink); }
.app-desktop-links a.is-active { color: var(--accent-dark); border-color: var(--accent); font-weight: 600; }
.app-desktop-account { display: none; align-items: center; gap: 14px; }
.app-acct-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.app-acct-ava {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.app-acct-out { font-size: 13.5px; color: var(--muted); }
.app-acct-out:hover { color: var(--red); }
.app-acct-cta {
  display: none;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.app-acct-cta:hover { background: var(--accent-dark); }
.app-acct-cta:active { transform: scale(.96); }

/* ---------- Aksi header: desktop vs mobile ----------
   Mobile (< 992px): hanya ikon Daftar + hamburger di bar sticky.
   Bahasa, WhatsApp, dan Masuk/Daftar pindah ke panel hamburger.
   Desktop (>= 992px): bar penuh (bahasa, WA, CTA) — panel disembunyikan. */
.app-lang-slot { display: none; }
.app-round-btn.app-only-desktop { display: none; }
.app-login-pill { display: none; } /* digantikan panel hamburger + ikon Daftar */

.app-register-btn,
.app-burger { display: inline-flex; }

/* Panel hamburger mobile */
.app-mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 69;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(44, 42, 39, 0.08);
  box-shadow: 0 24px 42px rgba(44, 42, 39, 0.18);
}
.app-mobile-menu.open { display: block; animation: appMmDown .22s ease; }
@keyframes appMmDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.app-mm-inner {
  display: grid;
  gap: 4px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100vh - 58px);
  overflow-y: auto;
}
.app-mm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  transition: background .18s;
}
.app-mm-row:hover { background: #f3f7f1; }
.app-mm-ico {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: #edf4ea;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.app-mm-ico svg { width: 19px; height: 19px; }
.app-mm-ava {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
}
.app-mm-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.app-mm-txt small { color: var(--muted); font-size: 12px; font-weight: 400; }
.app-mm-ext { color: var(--muted); display: inline-flex; flex: none; }
.app-mm-ext svg { width: 16px; height: 16px; }
.app-mm-out, .app-mm-out .app-mm-ico { color: var(--red); }
.app-mm-out .app-mm-ico { background: #fdeeee; }
.app-mm-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.app-mm-cta svg { width: 18px; height: 18px; }
.app-mm-cta:hover { background: var(--accent-dark); }
.app-mm-cta:active { transform: scale(.98); }
/* Baris bahasa di dalam panel */
.app-mm-lang { flex-wrap: wrap; }
.app-mm-label {
  width: 100%;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  font-weight: 600;
}
.app-mobile-menu .lang-dd { width: 100%; }
.app-mobile-menu .lang-dd summary { width: 100%; height: 42px; justify-content: space-between; }
.app-mobile-menu .lang-menu {
  position: static;
  box-shadow: none;
  border: 1px solid rgba(44, 42, 39, 0.08);
  margin-top: 6px;
  max-height: 44vh;
}

/* ---------- Bottom navigation (mobile) ---------- */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(44, 42, 39, 0.08);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(44, 42, 39, 0.07);
}
.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 0 2px;
  color: #9a9184;
  border-radius: 12px;
  transition: color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.bn-item svg { width: 22px; height: 22px; }
.bn-item span { font-size: 10.5px; font-weight: 500; letter-spacing: .2px; }
.bn-item:active { transform: scale(.92); }
.bn-item.is-active { color: var(--accent-dark); }
.bn-item.is-active svg { stroke-width: 2.3; }
.bn-item.is-active span { font-weight: 700; }
.bn-item.is-active::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 991.98px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Footer compact ---------- */
.app-footer {
  background: var(--ink);
  color: #cfc8bc;
  padding: 34px 0 30px;
  font-size: 14px;
}
.app-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.app-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.app-footer-logo {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}
.app-footer-logo svg { width: 17px; height: 17px; }
.app-footer-social { display: flex; gap: 8px; }
.app-footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #e8e2d7;
  transition: background .2s;
}
.app-footer-social a:hover { background: var(--accent); }
.app-footer-social svg { width: 16px; height: 16px; }
.app-footer-info { display: grid; gap: 8px; margin-bottom: 18px; }
.app-footer-info li { display: flex; align-items: flex-start; gap: 9px; }
.app-footer-info svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.app-footer-info a:hover { color: #fff; }
.app-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  font-size: 12.5px;
  color: #8f8779;
}

/* =====================================================================
   SUPER APP LANDING (sp-*)
   ===================================================================== */

/* ---------- Topbar: lokasi + pencarian ---------- */
.sp-topbar { padding: 16px 0 4px; background: var(--bg); }
.sp-search-clear[hidden], .sp-search-drop[hidden] { display: none !important; }
.sp-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 2px 0;
  margin-bottom: 12px;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.sp-loc > svg:first-child { width: 17px; height: 17px; color: var(--accent); }
.sp-loc > svg:last-child { width: 14px; height: 14px; color: var(--muted); }
.sp-loc-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; text-align: left; }
.sp-loc-txt small { font-size: 11px; color: var(--muted); }
.sp-loc-txt b { font-size: 14px; font-weight: 700; }
.sp-search { position: relative; }
.sp-search-ico {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  display: inline-flex;
  pointer-events: none;
}
.sp-search-ico svg { width: 19px; height: 19px; }
.sp-search input {
  width: 100%;
  height: 50px;
  border: 1.5px solid rgba(44, 42, 39, 0.08);
  border-radius: 16px;
  background: #fff;
  padding: 0 46px 0 46px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.sp-search input::placeholder { color: var(--muted-2); }
.sp-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.sp-search input::-webkit-search-cancel-button { display: none; }
.sp-search-clear {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 0;
  background: #f1ece3;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sp-search-clear svg { width: 14px; height: 14px; }
.sp-search-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(44, 42, 39, 0.06);
  box-shadow: var(--shadow);
  z-index: 45;
  max-height: 330px;
  overflow-y: auto;
  padding: 6px;
}
.sp-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 11px 12px;
  border-radius: 11px;
  cursor: pointer;
  transition: background .15s;
}
.sp-search-item:hover, .sp-search-item.is-picked { background: var(--bg-2); }
.sp-search-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.sp-search-cat { font-size: 12px; color: var(--muted); display: block; }
.sp-search-meta { font-size: 13px; font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.sp-search-none, .sp-search-more {
  padding: 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.sp-search-more { display: block; color: var(--accent-dark); font-weight: 600; text-decoration: none; }

/* ---------- Carousel promo ----------
   REDESIGN RESPONSIVE: tinggi slide mengikuti LEBAR kartu via aspect-ratio
   (bukan min-height tetap), teks memakai clamp() sehingga skala mulus di
   semua lebar layar (mobile & desktop), gambar banner tetap cover dengan
   gradasi gelap BAWAH agar teks/CTA selalu terbaca di gambar apa pun. */
.sp-hero { padding: 10px 0 4px; background: var(--bg); overflow-x: hidden; overflow-x: clip; }
/* Slide di luar kotak carousel DIPOTONG — slide tetangga tidak lagi
   mengintip dari sisi kanan (jeglek di desktop), hanya slide aktif terlihat */
.sp-carousel { position: relative; overflow-x: hidden; overflow-x: clip; }
.sp-track {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  touch-action: pan-y;
}
.sp-track.is-dragging { transition: none; }
.sp-slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 176px;
  aspect-ratio: 16 / 10;   /* tinggi mengikuti lebar kartu — tidak melompat antar slide */
  display: flex;
}
.sp-slide-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 46%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.sp-slide-promo .sp-slide-bg {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 255, 255, 0.26) 0%, transparent 42%),
    linear-gradient(135deg, #7c5a45 0%, var(--accent-dark) 55%, var(--accent) 100%);
}
.sp-slide-body {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 4.2vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 1vw, 9px);
  color: #fff;
  width: 100%;
  max-width: 680px;
}
.sp-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: clamp(10.5px, 1.1vw, 12px);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.sp-slide-tag svg { width: 12px; height: 12px; }
.sp-slide-title {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.1vw + 11px, 33px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.sp-slide-big { font-size: clamp(18px, 1.5vw + 9px, 26px); font-weight: 700; color: #ffe9d2; letter-spacing: .2px; }
.sp-slide-sub { font-size: clamp(12.5px, 0.55vw + 10.5px, 15px); color: rgba(255, 255, 255, 0.85); line-height: 1.45; }
/* Meta promo: min. transaksi + berlaku s/d jadi SATU baris ringkas */
.sp-slide-meta { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.sp-meta-dot { opacity: .55; }
.sp-slide-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sp-slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: clamp(13.5px, 0.4vw + 11.5px, 15px);
  padding: 10px clamp(18px, 2vw, 26px);
  border-radius: 999px;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  margin-top: 2px;
}
.sp-slide-cta svg { width: 15px; height: 15px; }
.sp-slide-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2); }
.sp-slide-cta:active { transform: scale(.95); }
.sp-slide-cta-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.sp-slide-deco {
  position: absolute;
  right: -18px; bottom: -22px;
  width: 130px; height: 130px;
  color: rgba(255, 255, 255, 0.12);
  transform: rotate(-14deg);
  pointer-events: none;
}
.sp-slide-deco svg { width: 100%; height: 100%; }

/* =====================================================================
 * VIDEO HERO — slide video pada carousel beranda (website utama &
 * website mitra) + blok video pada halaman booking mitra & pratinjau
 * panel. Sumber: file unggahan ATAU link YouTube (embed).
 * ===================================================================== */
.sp-slide-video { background: #171310; }
.sp-hero-video { display: block; width: 100%; border: 0; background: #171310; }

/* Mode SLIDE: video memenuhi kartu carousel (tanpa kontrol, autoplay bisu) */
.sp-slide-video .sp-hero-video {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

/* Mode BLOK: bingkai 16:9 membulat (halaman booking mitra & pratinjau panel) */
.sp-hero-video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #171310;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
.sp-hero-video-wrap .sp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 575px) {
  .sp-hero-video-wrap { border-radius: 14px; }
}
.sp-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 12px 0 2px;
}
/* Dot dgn area sentuh besar (pill transparan + titik di tengah) */
.sp-dot {
  width: 20px;
  height: 20px;
  padding: 6px 5px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(44, 42, 39, 0.22);
  background-clip: content-box;
  cursor: pointer;
  transition: width .25s, background-color .25s;
}
.sp-dot:hover { background-color: rgba(44, 42, 39, 0.4); }
.sp-dot.is-active { width: 32px; background-color: var(--accent); }

/* ---------- Section umum ---------- */
.sp-section { padding: 22px 0 2px; background: var(--bg); }
.sp-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sp-sec-head h2 {
  font-family: var(--font-body);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .1px;
}
.sp-sec-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
}
.sp-sec-more svg { width: 14px; height: 14px; }
.sp-sec-hint { font-size: 12.5px; color: var(--muted); }
.sp-rating-hint { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #b3862d; }
.sp-rating-hint svg { width: 14px; height: 14px; fill: #8bc34a; stroke: #8bc34a; }

/* ---------- Shortcut kategori ---------- */
.sp-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sp-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.05);
  border-radius: 16px;
  padding: 13px 6px 11px;
  text-align: center;
  transition: transform .15s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.sp-shortcut:active { transform: scale(.94); }
.sp-shortcut-ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 13%, #ffffff);
  color: var(--accent-dark);
}
.sp-shortcut-ico svg { width: 22px; height: 22px; }
.sp-shortcut-more { background: var(--ink); color: #fff; }
.sp-shortcut-txt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Horizontal scroller ---------- */
.sp-hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 2px 24px 10px;
  margin: 0 -24px;
  scrollbar-width: none;
}
.sp-hscroll::-webkit-scrollbar { display: none; }
.sp-hscroll > * { scroll-snap-align: start; }

/* ---------- Kartu treatment ---------- */
.sp-svc-card {
  flex: 0 0 172px;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.05);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.sp-svc-card:active { transform: scale(.97); }
.sp-svc-media { position: relative; display: block; }
.sp-svc-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sp-svc-flag {
  position: absolute;
  top: 8px; left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(44, 42, 39, 0.72);
  color: #ffe9c9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.sp-svc-flag svg { width: 11px; height: 11px; }
.sp-svc-body { padding: 11px 12px 12px; }
/* Badge nama spa pada kartu layanan (layanan kini agregat multi-mitra) */
.sp-svc-spa {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content;
  font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: #2e7d32; background: rgba(139, 195, 74, 0.16);
  border-radius: 999px; padding: 3px 9px; margin-bottom: 5px;
}
.sp-svc-spa svg { width: 11px; height: 11px; }
.sp-svc-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.sp-svc-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 3px 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.sp-svc-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.sp-svc-meta svg { width: 13px; height: 13px; }
.sp-svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}
.sp-svc-price { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.sp-svc-book {
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.sp-svc-book:hover { background: var(--accent-dark); }
.sp-svc-book:active { transform: scale(.93); }

/* ---------- Quick booking ---------- */
.sp-quickbook {
  position: relative;
  background:
    radial-gradient(130% 170% at 0% 100%, rgba(255, 255, 255, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 32%, transparent);
}
.sp-qb-deco {
  position: absolute;
  right: -20px; top: -24px;
  width: 120px; height: 120px;
  color: rgba(255, 255, 255, 0.13);
  transform: rotate(16deg);
  pointer-events: none;
}
.sp-qb-deco svg { width: 100%; height: 100%; }
.sp-quickbook h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 6px; position: relative; }
.sp-quickbook p { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); margin-bottom: 16px; position: relative; }
.sp-qb-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform .15s;
}
.sp-qb-btn svg { width: 17px; height: 17px; }
.sp-qb-btn:active { transform: scale(.95); }

/* Judul & teks ajakan "Minta Bantuan Untuk Booking?" pada kartu Quick Booking */
.sp-quickbook h2.sp-qb-help-title {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .sp-quickbook h2.sp-qb-help-title { font-size: 34px; }
}
.sp-quickbook p.sp-qb-help {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}
@media (min-width: 768px) {
  .sp-quickbook p.sp-qb-help { font-size: 15px; }
}

/* ---------- Kartu promo ---------- */
.sp-promo-card {
  flex: 0 0 240px;
  background: #fff;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, #ffffff);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: transform .15s;
}
.sp-promo-card:active { transform: scale(.97); }
.sp-promo-ico {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 13%, #ffffff);
  color: var(--accent-dark);
  margin-bottom: 2px;
}
.sp-promo-ico svg { width: 19px; height: 19px; }
/* Badge nama spa pada kartu promo (promo kini agregat multi-mitra) */
.sp-promo-spa {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  color: #2e7d32; background: rgba(139, 195, 74, 0.16);
  border-radius: 999px; padding: 6px 12px;
  margin-bottom: 2px;
}
.sp-promo-spa svg { width: 14px; height: 14px; }
.sp-promo-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
.sp-promo-big { font-size: 14px; font-weight: 800; color: var(--accent-dark); }
.sp-promo-sub { font-size: 12px; color: var(--muted); }
.sp-promo-btn {
  margin-top: auto;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.sp-promo-btn:hover { background: var(--accent-dark); }
.sp-promo-btn:active { transform: scale(.94); }

/* ---------- Kartu terapis ---------- */
.sp-th-card {
  flex: 0 0 132px;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.05);
  border-radius: 18px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.sp-th-card:active { transform: scale(.96); }
.sp-th-photo {
  width: 74px; height: 74px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, #ffffff), color-mix(in srgb, var(--accent) 40%, #ffffff));
  color: var(--accent-dark);
  border: 2px solid color-mix(in srgb, var(--accent) 35%, #ffffff);
}
.sp-th-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-th-ph svg { width: 30px; height: 30px; }
.sp-th-card h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.sp-th-card p { font-size: 11.5px; color: var(--muted); line-height: 1.35; min-height: 31px; }
.sp-th-btn {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent) 13%, #ffffff);
  padding: 6px 16px;
  border-radius: 999px;
  transition: background .2s, color .2s, transform .15s;
}
.sp-th-btn:hover { background: var(--accent); color: #fff; }
.sp-th-btn:active { transform: scale(.93); }

/* ---------- Mitra terverifikasi ---------- */
.sp-mitra-card {
  flex: 0 0 252px;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.05);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.sp-mitra-card:hover { box-shadow: var(--shadow); }
.sp-mitra-card:active { transform: scale(.97); }
.sp-mitra-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sp-mitra-logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, #ffffff), color-mix(in srgb, var(--accent) 40%, #ffffff));
  color: var(--accent-dark);
  border: 2px solid color-mix(in srgb, var(--accent) 35%, #ffffff);
}
.sp-mitra-logo img { width: 100%; height: 100%; object-fit: cover; }
.sp-mitra-init { font-weight: 800; font-size: 24px; line-height: 1; font-family: var(--font-head); }
.sp-mitra-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.sp-mitra-badge svg { width: 12px; height: 12px; flex: 0 0 12px; }
.sp-mitra-name { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.sp-mitra-slogan {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: -4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-mitra-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  width: 100%;
}
.sp-mitra-meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sp-mitra-meta svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--accent-dark); }
.sp-mitra-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.sp-mitra-btn svg { width: 14px; height: 14px; }
.sp-mitra-btn:hover { background: var(--accent-dark); }
.sp-mitra-btn:active { transform: scale(.94); }

/* ----- Toolbar cari & filter (Mitra Terverifikasi) ----- */
.sp-mt-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.sp-mt-search {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}
.sp-mt-search input {
  width: 100%;
  height: 46px;
  border: 1.5px solid rgba(44, 42, 39, 0.10);
  border-radius: 14px;
  background: #fff;
  padding: 0 42px 0 42px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.sp-mt-search input::-webkit-search-cancel-button { display: none; }
.sp-mt-search input::placeholder { color: var(--muted-2); }
.sp-mt-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.sp-mt-sico {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.sp-mt-sico svg { width: 100%; height: 100%; }
.sp-mt-clear {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(44, 42, 39, 0.06);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sp-mt-clear svg { width: 13px; height: 13px; }
.sp-mt-clear:hover { background: rgba(44, 42, 39, 0.12); color: var(--ink); }
.sp-mt-filter {
  flex: 1 1 150px;
  min-width: 0;
}
.sp-mt-filter select {
  width: 100%;
  height: 46px;
  border: 1.5px solid rgba(44, 42, 39, 0.10);
  border-radius: 14px;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f776b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 13px;
  padding: 0 36px 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.sp-mt-filter select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
@media (min-width: 768px) {
  .sp-mt-bar { flex-wrap: nowrap; }
  .sp-mt-search { flex: 1 1 auto; }
  .sp-mt-filter { flex: 0 0 auto; min-width: 190px; }
}

/* ----- Grid kartu mitra (mendukung pagination) ----- */
.sp-mitra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.sp-mitra-grid .sp-mitra-card { flex: none; }
.sp-mitra-card.is-hidden { display: none; }
@media (min-width: 768px) {
  .sp-mitra-grid { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 14px; }
}

/* ----- Empty state hasil cari/filter mitra ----- */
.sp-mt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 35%, #ffffff);
  border-radius: 18px;
  padding: 34px 20px;
}
.sp-mt-empty[hidden] { display: none; }
.sp-mt-empty-ico { width: 34px; height: 34px; color: var(--muted-2); }
.sp-mt-empty-ico svg { width: 100%; height: 100%; }
.sp-mt-empty b { font-size: 15.5px; color: var(--ink); }
.sp-mt-empty p { font-size: 13px; color: var(--muted); }
.sp-mt-reset {
  margin-top: 8px;
  border: 1.5px solid var(--accent);
  background: #fff;
  color: var(--accent-dark);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .12s;
}
.sp-mt-reset:hover { background: var(--accent); color: #fff; }
.sp-mt-reset:active { transform: scale(.94); }

/* ----- Pagination Mitra Terverifikasi ----- */
.sp-mpag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.sp-mpag[hidden] { display: none; }
.sp-mpag-info { font-size: 12.5px; color: var(--muted); }
.sp-mpag-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.sp-mpag-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid rgba(44, 42, 39, 0.10);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .12s;
  -webkit-tap-highlight-color: transparent;
}
.sp-mpag-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-dark); }
.sp-mpag-btn:active:not(:disabled) { transform: scale(.93); }
.sp-mpag-btn:disabled { opacity: .38; cursor: not-allowed; }
.sp-mpag-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sp-mpag-dots {
  color: var(--muted);
  font-size: 14px;
  padding: 0 2px;
  user-select: none;
}

/* ---------- Galeri ---------- */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.sp-gal-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
}
.sp-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sp-gal-item:active img { transform: scale(1.06); }

/* ---------- Ulasan ---------- */
.sp-review-card {
  flex: 0 0 250px;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.05);
  border-radius: 18px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: var(--shadow-sm);
}
.sp-review-stars { display: flex; gap: 2px; }
.sp-review-stars svg { width: 14px; height: 14px; fill: #8bc34a; stroke: #8bc34a; }
.sp-review-txt {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-review-person { display: flex; align-items: center; gap: 9px; margin-top: auto; }
.sp-review-ava {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.sp-review-person b { display: block; font-size: 13px; color: var(--ink); line-height: 1.2; }
.sp-review-person small { font-size: 11px; color: var(--muted); }

/* ---------- Info SPA ---------- */
.sp-info-card {
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.05);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.sp-info-list { display: grid; gap: 13px; margin-bottom: 16px; }
.sp-info-list li { display: flex; align-items: flex-start; gap: 12px; }
.sp-info-ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, #ffffff);
  color: var(--accent-dark);
}
.sp-info-ico svg { width: 17px; height: 17px; }
.sp-info-list small { display: block; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted-2); }
.sp-info-list b { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.sp-info-list a:hover { color: var(--accent-dark); }
.sp-info-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-info-btn {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid rgba(44, 42, 39, 0.12);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, background .2s, transform .15s;
}
.sp-info-btn svg { width: 15px; height: 15px; }
.sp-info-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.sp-info-btn:active { transform: scale(.96); }
.sp-info-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sp-info-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.sp-map { margin-top: 14px; border-radius: 14px; overflow: hidden; line-height: 0; border: 1px solid rgba(44, 42, 39, 0.06); }
.sp-map iframe { width: 100%; height: 210px; border: 0; }

/* ---------- Empty state ---------- */
.sp-empty {
  background: #fff;
  border: 1.5px dashed rgba(44, 42, 39, 0.12);
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.sp-empty-ico {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--muted-2);
  margin-bottom: 9px;
}
.sp-empty-ico svg { width: 20px; height: 20px; }

/* ---------- Fokus keyboard & motion ---------- */
.sp-shortcut:focus-visible, .bn-item:focus-visible, .sp-slide-cta:focus-visible,
.sp-svc-book:focus-visible, .sp-qb-btn:focus-visible, .sp-info-btn:focus-visible,
.app-round-btn:focus-visible, .sp-search-item:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .sp-track { transition: none !important; }
  .sp-gal-item img { transition: none !important; }
}

/* =====================================================================
   DESKTOP (>= 992px): header SATU BARIS — brand, menu, ikon WhatsApp,
   dan tombol Masuk/Daftar sejajar; bottom nav disembunyikan
   ===================================================================== */
@media (min-width: 992px) {
  .bottom-nav { display: none; }
  .app-header-inner { height: 66px; }
  .app-brand-name { font-size: 18px; }
  .app-brand-tag { font-size: 11px; }
  .app-header-actions { gap: 12px; }
  .app-desktop-links { display: flex; flex: 1; justify-content: center; }
  .app-desktop-account { display: flex; }
  .app-acct-cta { display: inline-flex; }
  .app-avatar-btn { display: none; }
  /* Aksi desktop kembali tampil; hamburger & panel mobile disembunyikan */
  .app-lang-slot { display: inline-block; }
  .app-round-btn.app-only-desktop { display: inline-flex; }
  .app-register-btn, .app-burger { display: none; }
  .app-mobile-menu { display: none !important; }

  .sp-topbar { padding-top: 26px; }
  .sp-search { max-width: 620px; }
  .sp-hero { padding-top: 18px; }
  /* Slide carousel desktop: proporsi sinematik, tinggi tetap proporsional
     terhadap lebar kartu (maksimum dibatasi agar tidak terlalu tinggi) */
  .sp-slide { aspect-ratio: 21 / 9; min-height: 240px; max-height: 400px; }
  .sp-slide-body { max-width: 720px; }

  .sp-section { padding: 30px 0 6px; }
  .sp-sec-head { margin-bottom: 18px; }
  .sp-sec-head h2 { font-size: 21px; }

  .sp-shortcuts { grid-template-columns: repeat(8, 1fr); gap: 12px; }
  .sp-shortcut { padding: 16px 8px 13px; border-radius: 18px; }
  .sp-shortcut:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--accent) 30%, #ffffff); }
  .sp-shortcut-ico { width: 50px; height: 50px; }
  .sp-shortcut-txt { font-size: 13px; }

  .sp-hscroll { padding: 4px 24px 14px; }
  .sp-hscroll > *:hover { box-shadow: var(--shadow); }
  .sp-svc-card { flex-basis: 240px; }
  .sp-svc-card:hover { transform: translateY(-4px); }
  .sp-svc-name { font-size: 15.5px; }
  .sp-promo-card { flex-basis: 280px; padding: 20px; }
  .sp-th-card { flex-basis: 158px; }
  .sp-mitra-card { flex-basis: 272px; padding: 18px; }
  .sp-review-card { flex-basis: 300px; }

  .sp-quickbook { padding: 36px; }
  .sp-quickbook h2 { font-size: 30px; }
  .sp-quickbook p { font-size: 15px; }

  .sp-gallery { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .sp-gal-item { border-radius: 14px; }
  .sp-gal-item:hover img { transform: scale(1.07); }

  .sp-info-card { padding: 24px; }
  .sp-info-list { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .sp-map iframe { height: 260px; }

  .app-footer { padding: 44px 0 36px; }
}

/* Tablet sedang: shortcut tetap 4 kolom agar besar & mudah disentuh */
@media (min-width: 640px) and (max-width: 991.98px) {
  .sp-shortcuts { grid-template-columns: repeat(6, 1fr); }
  .sp-gallery { gap: 9px; }
}

/* =====================================================================
   HALAMAN KATALOG LAYANAN (services.php) — super-app style, mobile-first
   ===================================================================== */
.cat-page { background: var(--bg); min-height: 70vh; }

/* --- bar tenant compact --- */
.cat-bar { padding: 14px 0 4px; background: var(--bg); }
.cat-bar-top { display: flex; align-items: center; gap: 12px; }
.cat-back {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line, #e9f0dc);
  color: var(--ink);
  transition: transform .15s, box-shadow .2s;
}
.cat-back svg { width: 19px; height: 19px; }
.cat-back:active { transform: scale(.92); }
.cat-bar-logo {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line, #e9f0dc);
  color: var(--accent-dark);
  overflow: hidden;
}
.cat-bar-logo img { width: 100%; height: 100%; object-fit: cover; }
.cat-bar-logo svg { width: 24px; height: 24px; }
.cat-bar-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cat-bar-txt b { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.cat-bar-txt small {
  font-size: 12px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-wa {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.cat-wa svg { width: 19px; height: 19px; }
.cat-wa:active { transform: scale(.92); }
.cat-bar-loc {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; max-width: 100%;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  text-decoration: none;
}
.cat-bar-loc svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent-dark); }
.cat-bar-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-bar-loc:active { color: var(--accent-dark); }

/* --- tools: search + chips --- */
.cat-tools { padding: 12px 0 2px; background: var(--bg); }
.cat-search { position: relative; }
.cat-search-ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
  display: inline-flex;
}
.cat-search-ico svg { width: 19px; height: 19px; }
.cat-search input {
  width: 100%;
  border: 1.5px solid var(--line, #e9f0dc);
  background: #fff;
  border-radius: 999px;
  padding: 14px 46px 14px 46px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.cat-search input::placeholder { color: #b6ac9d; }
.cat-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.cat-search-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--bg-2, #f1f5ea);
  color: var(--muted);
  cursor: pointer;
}
.cat-search-clear svg { width: 15px; height: 15px; }

.cat-chips {
  display: flex; gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  border: 1.5px solid var(--line, #e9f0dc);
  background: #fff;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background .2s, color .2s, border-color .2s, transform .12s;
}
.cat-chip:active { transform: scale(.94); }
.cat-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* --- promo strip --- */
.cat-promo { padding: 14px 0 0; }
.cat-promo-track { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-promo-track::-webkit-scrollbar { display: none; }
.cat-promo-card {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  min-width: 230px; max-width: 300px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 16px;
  padding: 12px 14px;
  color: #fff;
}
.cat-promo-ico svg { width: 20px; height: 20px; }
.cat-promo-txt { min-width: 0; }
.cat-promo-txt b { display: block; font-size: 13.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-promo-txt small { font-size: 12px; opacity: .9; }

/* --- judul + filter --- */
.cat-head-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 20px;
}
.cat-head-txt h1 { font-family: var(--font-head, inherit); font-size: 21px; font-weight: 700; color: var(--ink); margin: 0; }
.cat-head-txt p { font-size: 12.5px; color: var(--muted); margin: 3px 0 0; }
.cat-filter-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line, #e9f0dc);
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, transform .12s;
}
.cat-filter-btn svg { width: 16px; height: 16px; }
.cat-filter-btn:active { transform: scale(.95); }
.cat-filter-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 0 5px;
}

/* --- grid layanan --- */
.cat-grid-wrap { padding: 16px 0 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--line, #e9f0dc);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(74, 46, 42, 0.05);
  transition: transform .18s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(74, 46, 42, 0.12); }
.cat-card:active { transform: scale(.98); }
.cat-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(110deg, #f1e9dc 8%, #f8f3ea 18%, #f1e9dc 33%);
  background-size: 200% 100%;
  animation: cat-shimmer 1.4s linear infinite;
  overflow: hidden;
}
.cat-media.img-done { animation: none; background: none; }
@keyframes cat-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.cat-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .45s ease;
}
.cat-media img.is-loaded { opacity: 1; }
.cat-flag {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-dark);
  font-size: 10.5px; font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: .2px;
}
.cat-flag svg { width: 11px; height: 11px; }
.cat-body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.cat-tag {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 600;
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-name {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  line-height: 1.3;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
.cat-meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.cat-meta svg { width: 13px; height: 13px; }
.cat-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto;
}
.cat-price { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.cat-price em {
  font-style: normal;
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
  color: var(--brand-600, #1b5e20);
  background: rgba(46, 125, 50, .14);
  border-radius: 6px; padding: 1.5px 6px; margin-right: 5px;
  vertical-align: 1px;
}
.cat-price-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.cat-price-alt { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.cat-price-none { font-weight: 600; font-size: 11px; color: var(--muted); }
.cat-book {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .12s;
}
.cat-book:active { transform: scale(.93); }
.cat-book:hover { background: var(--accent-dark); }

/* --- empty state --- */
.cat-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.cat-empty > span {
  display: inline-flex; width: 64px; height: 64px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-2, #f1f5ea);
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.cat-empty > span svg { width: 30px; height: 30px; }
.cat-empty h2 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.cat-empty p { font-size: 13.5px; margin: 0; }

/* --- CTA --- */
.cat-cta { padding: 22px 0 30px; }
.cat-cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff;
  border: 1px solid var(--line, #e9f0dc);
  border-radius: 20px;
  padding: 16px 18px;
}
.cat-cta-box > div b { display: block; font-size: 14.5px; color: var(--ink); }
.cat-cta-box > div small { font-size: 12px; color: var(--muted); }
.cat-cta-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.cat-cta-btn svg { width: 16px; height: 16px; }
.cat-cta-btn:active { transform: scale(.95); }

/* --- bottom sheet filter --- */
.cat-sheet { position: fixed; inset: 0; z-index: 1200; }
.cat-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(30, 22, 12, 0.45);
  backdrop-filter: blur(2px);
}
.cat-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: cat-sheet-up .28s cubic-bezier(.2, .8, .3, 1);
}
@keyframes cat-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-sheet-panel { animation: none; }
}
.cat-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 10px;
}
.cat-sheet-head b { font-size: 16px; color: var(--ink); }
.cat-sheet-close {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--bg-2, #f1f5ea);
  color: var(--ink);
  cursor: pointer;
}
.cat-sheet-close svg { width: 16px; height: 16px; }
.cat-sheet-body { padding: 4px 20px 6px; max-height: 56vh; overflow-y: auto; }
.cat-sheet-group { margin-bottom: 18px; }
.cat-sheet-label { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.cat-opt-list { display: flex; flex-direction: column; gap: 4px; }
.cat-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 6px;
  font-size: 14.5px; color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
}
.cat-opt input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.cat-dur-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-dur {
  border: 1.5px solid var(--line, #e9f0dc);
  background: #fff;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-dur.is-active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.cat-sheet-foot {
  display: flex; gap: 10px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--line, #e9f0dc);
}
.cat-sheet-reset, .cat-sheet-apply {
  flex: 1;
  border: 0;
  padding: 13px;
  border-radius: 14px;
  font-size: 14.5px; font-weight: 700;
  cursor: pointer;
  transition: transform .12s;
}
.cat-sheet-reset { background: var(--bg-2, #f1f5ea); color: var(--ink); }
.cat-sheet-apply { background: var(--accent); color: #fff; }
.cat-sheet-reset:active, .cat-sheet-apply:active { transform: scale(.97); }
body.cat-sheet-open { overflow: hidden; }

/* --- error state tenant --- */
.cat-error h1 { font-family: var(--font-head, inherit); font-size: 24px; color: var(--ink); margin: 0 0 8px; }
.cat-error p { color: var(--muted); font-size: 14.5px; margin: 0; }
.cat-error-ico {
  display: inline-flex; width: 76px; height: 76px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-2, #f1f5ea);
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.cat-error-ico svg { width: 36px; height: 36px; }

/* --- responsif katalog --- */
@media (min-width: 360px) {
  .cat-name { font-size: 14px; }
  .cat-price { font-size: 13px; }
}
@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat-head-txt h1 { font-size: 24px; }
  .cat-search input { font-size: 15.5px; padding: 16px 50px; }
  .cat-chip { font-size: 14px; }
  .cat-chips { flex-wrap: wrap; overflow-x: visible; }
}
@media (min-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .cat-bar { padding-top: 22px; }
  .cat-bar-txt b { font-size: 19px; }
  .cat-media { border-radius: 0; }
  .cat-card:hover { transform: translateY(-4px); }
  .cat-promo-card { min-width: 280px; }
  .cat-sheet-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 460px; transform: translate(-50%, -50%); border-radius: 22px; animation: none; }
  .cat-sheet-head { padding: 18px 24px 10px; }
  .cat-sheet-body { max-height: none; padding: 4px 24px 6px; }
  .cat-sheet-foot { padding: 14px 24px 20px; }
}
@media (max-width: 359px) {
  .cat-book { padding: 7px 10px; font-size: 10.5px; }
  .cat-price { font-size: 12px; }
  .cat-foot { gap: 6px; }
}
/* Guard [hidden] agar display eksplisit tidak menimpa atribut hidden */
.cat-filter-badge[hidden], .cat-search-clear[hidden],
.cat-empty[hidden], .cat-sheet[hidden], .cat-promo-card[hidden],
.bkw-map-preview[hidden], .bkw-loc[hidden], .bkw-loc-type[hidden] { display: none !important; }

/* =====================================================================
 * LINK BOOKING KHUSUS MITRA — halaman booking publik per tenant
 * (tenant-booking.php / /booking/{slug}) — mobile-first
 * ===================================================================== */
.tb-body { background: #f6f4ef; }
/* Konten halaman mitra selalu DI ATAS lapisan bunga pelangi (fixed, z-index 0) */
.tb-main { position: relative; z-index: 1; }
.tb-top { position: sticky; top: 0; z-index: 60; background: #fcfef8; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.tb-top-inner { display: flex; align-items: center; gap: 12px; height: 58px; max-width: 880px; margin: 0 auto; padding: 0 16px; }
.tb-back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2ead3; background: #fff; font-size: 19px; line-height: 1; cursor: pointer; flex-shrink: 0; color: #413f3a; }
.tb-back:hover { background: #f1f5ea; }
.tb-brand { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.tb-brand-logo { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.tb-brand-logo svg { width: 20px; height: 20px; }
.tb-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.tb-brand-name { font-weight: 600; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-round { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e2ead3; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #1f7a4d; flex-shrink: 0; }
.tb-round svg { width: 18px; height: 18px; }
.tb-round-empty { visibility: hidden; }
.tb-main.container { max-width: 880px; padding: 20px 16px 46px; }
.tb-hero { background: #fcfef8; border: 1px solid #e9efdd; border-radius: 20px; padding: 24px 18px 20px; text-align: center; margin-bottom: 20px; }
.tb-hero-slim { margin-top: 20px; }
.tb-hero-badge { display: inline-block; background: rgba(0,0,0,.05); color: var(--accent-dark); font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.tb-hero-name { font-family: 'Playfair Display', serif; font-size: clamp(24px, 5.4vw, 34px); margin: 10px 0 8px; }
.tb-meta-row { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; color: #6a675f; margin: 4px 0; }
.tb-meta-row svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); }
.tb-meta-row a { color: #6a675f; }
.tb-catalog { margin-bottom: 8px; }
.tb-search { position: relative; margin-bottom: 12px; }
.tb-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #969287; }
.tb-search input { width: 100%; padding: 13px 44px 13px 42px; border-radius: 14px; border: 1.5px solid #e2ead3; background: #fff; font-size: 14.5px; font-family: inherit; }
.tb-search input:focus { outline: none; border-color: var(--accent); }
.tb-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.tb-chips::-webkit-scrollbar { display: none; }
.tb-chip { flex-shrink: 0; padding: 8px 15px; border-radius: 999px; border: 1px solid #e2ead3; background: #fff; font-size: 13px; font-weight: 600; color: #55524b; cursor: pointer; }
.tb-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tb-card { background: #fcfef8; border: 1.5px solid #e9efdd; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.tb-card.is-picked { border-color: var(--accent); box-shadow: 0 8px 22px rgba(0,0,0,.09); }
.tb-card-media { aspect-ratio: 4 / 3; background: #efe9df; overflow: hidden; }
.tb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-card-body { padding: 11px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.tb-card-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; margin: 0 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-card-meta { font-size: 11.5px; color: #87857c; margin: 0 0 8px; }
.tb-card-prices { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-bottom: 9px; margin-top: auto; }
.tb-price { font-weight: 700; font-size: 14.5px; color: var(--accent-dark); }
.tb-price-alt { font-size: 10.5px; color: #969287; font-weight: 600; }
.tb-book-btn { width: 100%; border: none; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-family: inherit; }
.tb-book-btn:active { transform: scale(.97); }
.tb-empty { text-align: center; color: #87857c; font-size: 14px; padding: 26px 10px; }
.tb-formwrap { background: #fcfef8; border: 1px solid #e9efdd; border-radius: 20px; padding: 22px 16px; margin-top: 26px; }
.tb-form-title { font-family: 'Playfair Display', serif; font-size: 21px; margin: 0 0 18px; }
.tb-form-title em { color: var(--accent); font-style: normal; }
.tb-field { margin-bottom: 14px; }
.tb-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: #413f3a; }
.tb-input { width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid #e2ead3; background: #fff; font-size: 14.5px; font-family: inherit; color: #33312c; }
.tb-input:focus { outline: none; border-color: var(--accent); }
.tb-input:disabled { background: #f1ede5; }
.tb-svcsum { background: #f1f5ea; border-radius: 11px; padding: 10px 13px; margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.tb-svcsum-price { margin-left: auto; font-weight: 700; color: var(--accent-dark); }
.tb-svcsum-price em { font-style: normal; font-size: 11px; color: #969287; }
.tb-2col { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.tb-seg { display: inline-flex; border: 1.5px solid #e2ead3; border-radius: 12px; overflow: hidden; background: #fff; }
.tb-seg-btn { padding: 9px 24px; font-weight: 700; font-size: 13.5px; border: none; background: transparent; color: #87857c; cursor: pointer; font-family: inherit; }
.tb-seg-btn.is-active { background: var(--accent); color: #fff; }
.tb-hint { font-size: 12px; color: #87857c; margin: 6px 0 0; }
.tb-hint-center { text-align: center; margin-top: 10px; }
.tb-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tb-slot { padding: 9px 4px; border-radius: 9px; border: 1.5px solid #e2ead3; background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; color: #413f3a; font-family: inherit; }
.tb-slot.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tb-slot.is-busy { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.tb-fieldset { border: 1.5px solid #e2ead3; border-radius: 14px; padding: 14px 14px 6px; margin: 0 0 14px; }
.tb-fieldset legend { font-weight: 700; font-size: 13.5px; padding: 0 6px; color: #413f3a; }
.tb-loc { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid #e2ead3; border-radius: 12px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.tb-loc.is-active { border-color: var(--accent); background: #fbf6ee; }
.tb-loc input { margin-top: 3px; accent-color: var(--accent); }
.tb-loc-body b { display: block; font-size: 14px; }
.tb-loc-sub { display: block; font-size: 12.5px; color: #87857c; margin-top: 2px; }
.tb-loc-warn { color: #b3413a; }
.tb-loc-selwrap { padding: 0 12px 10px; }
.tb-loc-other { background: #faf7f1; border-radius: 12px; padding: 14px 12px 2px; margin-bottom: 10px; }
.tb-fee { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1.5px solid #e2ead3; border-radius: 12px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.tb-fee input { accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.tb-fee-body { flex: 1; min-width: 0; }
.tb-fee-body b { display: block; font-size: 14px; }
.tb-fee-body small { color: #87857c; font-size: 11.5px; }
.tb-fee-price { font-weight: 700; font-size: 13.5px; white-space: nowrap; color: var(--accent-dark); }
.tb-total { background: #f1f5ea; border-radius: 14px; padding: 14px 16px; margin: 18px 0; }
.tb-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.tb-sum-row span { color: #6a675f; }
.tb-sum-row b { text-align: right; word-break: break-word; }
.tb-sum-sub { font-size: 13px; }
.tb-sum-grand { border-top: 1.5px dashed #d6dfc6; margin-top: 6px; padding-top: 10px; font-size: 16.5px; }
.tb-sum-grand span { color: #413f3a; }
.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; text-decoration: none; font-family: inherit; transition: transform .12s ease, background .15s ease; }
.tb-btn svg { width: 17px; height: 17px; }
.tb-btn-primary { background: var(--accent); color: #fff; }
.tb-btn-primary:hover { background: var(--accent-dark); }
.tb-btn-ghost { background: transparent; border: 1.5px solid #d6dfc6; color: #55524b; }
.tb-btn-lg { width: 100%; padding: 15px 18px; font-size: 15.5px; }
.tb-btn-lg:disabled { opacity: .55; cursor: not-allowed; }
.tb-btn-sm { padding: 8px 12px; font-size: 12.5px; border-radius: 9px; margin-top: 8px; }
.tb-alert { display: flex; gap: 10px; background: #fdeeea; border: 1px solid #f5d3cb; color: #7c3a30; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 13.5px; }
.tb-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.tb-alert-warn { background: #fdf3e0; border-color: #f2ddb3; color: #8a6220; }
.tb-gate { text-align: center; background: #fcfef8; border: 1px solid #e9efdd; border-radius: 20px; padding: 42px 20px; margin-top: 26px; }
.tb-gate-logo { width: 74px; height: 74px; border-radius: 50%; background: rgba(0,0,0,.05); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.tb-gate-logo svg { width: 36px; height: 36px; }
.tb-gate-logo img { width: 100%; height: 100%; object-fit: cover; }
.tb-gate-name { font-family: 'Playfair Display', serif; font-size: 24px; margin: 14px 0 6px; }
.tb-gate-msg { font-weight: 600; font-size: 15.5px; margin: 0 0 8px; }
.tb-gate-hint { color: #87857c; font-size: 13.5px; margin: 0 auto 18px; max-width: 420px; }
.tb-success { background: #fcfef8; border: 1px solid #e9efdd; border-radius: 20px; padding: 30px 18px; margin-top: 24px; text-align: center; }
.tb-success-icon { width: 64px; height: 64px; border-radius: 50%; background: #1f7a4d; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tb-success-icon svg { width: 30px; height: 30px; }
.tb-success-title { font-family: 'Playfair Display', serif; font-size: 26px; margin: 14px 0 6px; }
.tb-success-sub { color: #6a675f; font-size: 14.5px; margin: 0 0 6px; }
.tb-code-box { display: inline-block; background: #f1f5ea; border: 1.5px dashed #d6dfc6; border-radius: 14px; padding: 12px 30px; margin: 14px auto 4px; }
.tb-code-label { display: block; font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #969287; font-weight: 700; }
.tb-code-value { font-size: 22px; font-weight: 700; letter-spacing: 1.5px; color: #33312c; font-family: 'JetBrains Mono', monospace, monospace; }
.tb-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tb-badge-warn { background: #fdf3e0; color: #8a6220; }
.tb-success .tb-sum-card { text-align: left; background: #fff; border: 1px solid #e9efdd; border-radius: 14px; padding: 6px 16px; margin: 16px 0; }
.tb-success-note { color: #87857c; font-size: 13px; max-width: 460px; margin: 0 auto 18px; }
.tb-success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tb-foot { text-align: center; padding: 20px 16px 30px; color: #969287; font-size: 12.5px; }

/* ---- Daftar Menjadi Mitra ---- */
.rg-wrap { max-width: 880px; margin: 0 auto; padding: 28px 16px 64px; }
.rg-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 5vw, 32px); margin: 0 0 10px; }
.rg-head h1 em { color: var(--accent); font-style: normal; }
.rg-head p { color: #6a675f; font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; }
.rg-head code { background: #f1f5ea; padding: 2px 7px; border-radius: 6px; font-size: 12.5px; color: var(--accent-dark); }
.rg-card { background: #fcfef8; border: 1px solid #e9efdd; border-radius: 20px; padding: 24px 18px; box-shadow: 0 10px 34px rgba(60, 50, 30, .07); }
.rg-sec { font-weight: 700; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-dark); margin: 20px 0 12px; padding-bottom: 7px; border-bottom: 1.5px dashed #e2ead3; }
.rg-card .rg-sec:first-of-type { margin-top: 4px; }
.rg-2col { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.rg-help { display: block; font-size: 12px; color: #87857c; margin-top: 5px; }
.rg-help code { background: #f1f5ea; padding: 1px 6px; border-radius: 5px; font-size: 11.5px; color: var(--accent-dark); }
.rg-agree { display: flex; gap: 10px; align-items: flex-start; background: #faf7f1; border: 1px solid #e9efdd; padding: 13px 14px; border-radius: 12px; margin: 16px 0; cursor: pointer; font-size: 13.5px; }
.rg-agree input { margin-top: 2px; accent-color: var(--accent); }
.rg-submit { margin-top: 6px; }
.rg-note { font-size: 12.5px; color: #87857c; margin: 12px 0 0; text-align: center; }

/* ---- CTA Mitra di landing platform ---- */
.partner-cta-sec { padding: 6px 0 34px; }
.partner-cta { background: linear-gradient(135deg, #fdf9f2, #f6efe3); border: 1px solid #eee3cf; border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.partner-cta-txt h2 { margin: 0 0 8px; }
.partner-cta-txt h2 svg { width: 20px; height: 20px; color: var(--accent); vertical-align: -3px; }
.partner-cta-txt p { color: #6a675f; font-size: 14px; line-height: 1.65; margin: 0; }
.partner-cta-txt code { background: #fff; border: 1px solid #eee3cf; padding: 2px 8px; border-radius: 7px; font-size: 12.5px; color: var(--accent-dark); white-space: nowrap; }
.partner-cta-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14.5px; padding: 14px 24px; border-radius: 14px; text-decoration: none; white-space: nowrap; }
.partner-cta-btn svg { width: 18px; height: 18px; }
.partner-cta-btn:active { transform: scale(.98); }

@media (min-width: 560px) {
  .tb-2col, .rg-2col { grid-template-columns: 1fr 1fr; }
  .tb-slots { grid-template-columns: repeat(6, 1fr); }
  .tb-formwrap, .rg-card { padding: 26px 24px; }
  .partner-cta { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) {
  .tb-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .tb-grid { grid-template-columns: repeat(4, 1fr); }
  .tb-top-inner, .tb-main.container { padding: 0 24px; }
}

/* =====================================================================
 * PENGALIH BAHASA (dropdown details, tanpa JS)
 * ===================================================================== */
.lang-dd { position: relative; display: inline-block; }
.lang-dd summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 10px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(44, 42, 39, 0.09);
  color: var(--ink, #2c2a27); font-size: 12.5px; font-weight: 600;
  transition: box-shadow .2s, background .2s, border-color .2s;
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover { border-color: rgba(46, 125, 50, 0.35); box-shadow: 0 2px 10px rgba(46, 125, 50, 0.12); }
.lang-dd[open] summary { border-color: rgba(46, 125, 50, 0.45); background: #f3f9f3; }
.lang-dd .lang-globe { display: inline-flex; color: var(--accent, #2e7d32); }
.lang-dd .lang-globe svg { width: 17px; height: 17px; }
.lang-dd .lang-caret { font-size: 9px; opacity: .6; line-height: 1; }
.lang-dd[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 9999;
  min-width: 220px; max-height: 340px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid rgba(44, 42, 39, 0.08);
  border-radius: 14px; box-shadow: 0 18px 48px rgba(28, 25, 23, 0.18);
}
.lang-menu li { list-style: none; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 9px;
  font-size: 13.5px; color: #2c2a27; text-decoration: none;
  transition: background .15s;
}
.lang-menu a:hover { background: #f2f6f2; }
.lang-menu a.is-current { background: #eef7ee; font-weight: 600; }
.lang-menu .lang-flag { font-size: 16px; width: 22px; text-align: center; flex: none; }
.lang-menu .lang-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-menu .lang-check { color: var(--accent, #2e7d32); font-weight: 700; flex: none; }
@media (max-width: 576px) {
  .lang-dd summary { height: 34px; padding: 0 9px; font-size: 12px; }
  .lang-menu { min-width: 200px; max-height: 62vh; }
}

/* =====================================================================
   LEGAL & KEBIJAKAN (Pusat Kebijakan SpaKita)
   - Footer: menu "Legal & Kebijakan" (7 dokumen)
   - Halaman: kebijakan.php + 7 halaman dokumen (legal-*)
   ===================================================================== */

/* ---------- Footer: menu legal (teks sederhana, tanpa kartu) ---------- */
.app-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 18px;
  padding-top: 22px;
  margin-bottom: 20px;
}
.afl-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.afl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
}
.afl-list a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.55;
  color: #b9b2a4;
  text-decoration: none;
  transition: color .2s;
}
.afl-list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app-footer-legal-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.app-footer-legal-mini a { color: #b9b2a4; transition: color .2s; }
.app-footer-legal-mini a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 768px) {
  .afl-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .app-footer-bottom { display: flex; flex-direction: column; gap: 8px; }
}

/* ---------- Hero dokumen kebijakan ---------- */
.legal-hero { padding: 58px 0; }
.legal-hero-ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.legal-hero-ico svg { width: 27px; height: 27px; }
.legal-hero h1 em { font-style: italic; color: #c5e1a5; }
.legal-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .2px;
  color: #eaf4e4;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.legal-chip svg { width: 14px; height: 14px; flex: none; opacity: .9; }

/* ---------- Layout dua kolom: sidebar + artikel ---------- */
.legal-section { padding-top: 48px; }
.legal-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.legal-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}
.legal-aside-card {
  background: var(--surface);
  border: 1px solid rgba(44, 42, 39, 0.07);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.legal-aside-title {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-meta { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.legal-meta li { display: flex; align-items: flex-start; gap: 10px; }
.legal-meta li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }
.legal-meta li small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.legal-meta li b { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* Daftar isi */
.legal-toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.legal-toc-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
  transition: background .15s, color .15s;
}
.legal-toc-list li a span {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.legal-toc-list li a:hover { background: var(--green-soft); color: var(--accent-dark); }
.legal-toc-list li a:hover span { background: var(--accent); color: #fff; }

/* Kebijakan lainnya (sidebar) */
.legal-aside-links { display: grid; gap: 3px; list-style: none; margin: 0; padding: 0; }
.legal-aside-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.legal-aside-links a svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.legal-aside-links a:hover { background: var(--green-soft); color: var(--accent-dark); }
.legal-aside-links .legal-aside-all a { font-weight: 600; color: var(--accent-dark); }
.legal-aside-links .legal-aside-all { border-top: 1px dashed rgba(44, 42, 39, 0.12); margin-top: 5px; padding-top: 9px; }

/* ---------- Artikel dokumen ---------- */
.legal-article {
  background: var(--surface);
  border: 1px solid rgba(44, 42, 39, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
}
.legal-sec { padding: 26px 0; }
.legal-sec + .legal-sec { border-top: 1px solid rgba(44, 42, 39, 0.07); }
.legal-sec:first-child { padding-top: 0; }
.legal-sec { scroll-margin-top: 96px; }
.legal-sec h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--ink);
}
.legal-sec-no {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.28);
}
.legal-sec p { color: #4d463c; font-size: 15.5px; margin-bottom: 12px; }
.legal-sec p:last-child { margin-bottom: 0; }
.legal-list { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 7px; }
.legal-list li {
  position: relative;
  padding-left: 26px;
  color: #4d463c;
  font-size: 15px;
  line-height: 1.55;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 6px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.18);
}
.legal-list-ol { counter-reset: oli; }
.legal-list-ol li { counter-increment: oli; }
.legal-list-ol li::before {
  content: counter(oli) ".";
  width: auto; height: auto;
  background: transparent;
  box-shadow: none;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 13.5px;
  left: 2px; top: 2px;
}
.legal-sublist { list-style: none; margin: 7px 0 0; padding: 0; display: grid; gap: 5px; }
.legal-sublist li { padding-left: 18px; font-size: 14px; }
.legal-sublist li::before { left: 2px; top: 8px; width: 5px; height: 5px; }

/* Kotak penekanan */
.legal-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--green-soft);
  border: 1px solid rgba(46, 125, 50, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 6px 0 14px;
}
.legal-note svg { width: 18px; height: 18px; flex: none; color: var(--accent-dark); margin-top: 2px; }
.legal-note div { font-size: 14.5px; color: #1f4d23; font-weight: 500; line-height: 1.55; }

/* Rumus */
.legal-formula {
  background: var(--ink);
  color: #e8f3e2;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 8px 0 14px;
  font-family: 'Courier New', monospace;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .3px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

/* Kartu contoh (komisi/biaya) */
.legal-example {
  background: var(--bg);
  border: 1px dashed rgba(46, 125, 50, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 8px 0 14px;
}
.legal-example-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.legal-example-title svg { width: 15px; height: 15px; }
.legal-example-lines { margin: 0; }
.legal-ex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(44, 42, 39, 0.1);
  font-size: 14.5px;
}
.legal-ex-row:last-child { border-bottom: 0; }
.legal-ex-row dt { color: var(--muted); }
.legal-ex-row dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.legal-ex-row.is-total dt, .legal-ex-row.is-total dd { font-weight: 700; color: var(--accent-dark); }
.legal-example-result {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(46, 125, 50, 0.18);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1.55;
}
.legal-example-result svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }

/* Penutup dokumen */
.legal-doc-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 22px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-2);
  white-space: nowrap;
}
.legal-doc-end span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(44,42,39,.18), transparent); }

/* ---------- Navigasi prev/next ---------- */
.legal-navwrap { padding: 8px 0 64px; }
.legal-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.legal-nav-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--surface);
  border: 1px solid rgba(44, 42, 39, 0.08);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  min-width: 0;
}
.legal-nav-card:hover { border-color: rgba(46, 125, 50, 0.4); box-shadow: var(--shadow); transform: translateY(-2px); }
.legal-nav-card.is-empty { background: transparent; border: 1px dashed rgba(44, 42, 39, 0.12); box-shadow: none; }
.legal-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted-2);
}
.legal-nav-dir svg { width: 13px; height: 13px; }
.legal-nav-card.is-prev .legal-nav-dir svg { transform: rotate(180deg); }
.legal-nav-card.is-next { text-align: right; align-items: flex-end; }
.legal-nav-card.is-next .legal-nav-dir { flex-direction: row-reverse; }
.legal-nav-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.legal-nav-card.is-prev .legal-nav-title { justify-content: flex-start; }
.legal-nav-title svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.legal-nav-hub {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.legal-nav-hub svg { width: 15px; height: 15px; }
.legal-nav-hub:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* Daftar isi mobile (<details>) */
.legal-toc-mobile {
  display: none;
  background: var(--bg);
  border: 1px solid rgba(44, 42, 39, 0.1);
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 22px;
}
.legal-toc-mobile summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 0;
}
.legal-toc-mobile summary::-webkit-details-marker { display: none; }
.legal-toc-mobile summary svg { width: 16px; height: 16px; color: var(--accent); }
.legal-toc-mobile[open] summary { border-bottom: 1px solid rgba(44, 42, 39, 0.08); }
.legal-toc-mobile .legal-toc-list { padding: 10px 0 6px; }

/* ---------- Halaman hub: Pusat Kebijakan ---------- */
.legal-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.legal-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid rgba(44, 42, 39, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.legal-hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(46, 125, 50, 0.35); }
.legal-hub-ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-soft), #d5ead0);
  color: var(--accent-dark);
  transition: background .25s, color .25s;
}
.legal-hub-ico svg { width: 24px; height: 24px; }
.legal-hub-card:hover .legal-hub-ico { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.legal-hub-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.legal-hub-card > p { font-size: 14px; color: var(--muted); flex: 1; }
.legal-hub-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 42, 39, 0.08);
}
.legal-hub-foot small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.legal-hub-foot small svg { width: 12px; height: 12px; }
.legal-hub-go {
  position: absolute;
  right: 18px; top: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  color: var(--muted);
  transition: background .25s, color .25s, transform .25s;
}
.legal-hub-go svg { width: 15px; height: 15px; }
.legal-hub-card:hover .legal-hub-go { background: var(--accent); color: #fff; transform: translateX(3px); }
.legal-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.legal-badge-mitra { background: var(--green-soft); color: var(--accent-dark); }
.legal-badge-cust { background: #f3ede1; color: #7a5d1e; }
.legal-badge-all { background: #ece9f1; color: #55486e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
  .legal-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-article { padding: 28px 26px; }
}
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; grid-template-columns: 1fr 1fr; }
  .legal-aside .legal-aside-docs { display: none; }
  .legal-toc-mobile { display: block; }
  .legal-nav { grid-template-columns: 1fr 1fr; }
  .legal-nav-hub { display: none; }
  .legal-sec h2 { font-size: 20px; }
}
@media (max-width: 640px) {
  .legal-hero { padding: 44px 0; }
  .legal-aside { grid-template-columns: 1fr; }
  .legal-hub-grid { grid-template-columns: 1fr; }
  .legal-article { padding: 22px 18px; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-nav-card.is-next { text-align: left; align-items: flex-start; }
  .legal-nav-card.is-next .legal-nav-dir { flex-direction: row; }
  .legal-formula { font-size: 12.5px; padding: 13px 14px; }
  .legal-sec { padding: 20px 0; }
}
/* Mobile: judul panjang "akhir dokumen" tidak boleh memaksa overflow horizontal */
@media (max-width: 640px) {
  .legal-doc-end {
    white-space: normal;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }
  .legal-doc-end span { display: none; }
}

/* =====================================================================
 * BANNER IKLAN MULTI-LOKASI (beranda)
 * hero   — slide banner di carousel utama
 * strip  — kartu banner di antara section (mid / after_promo / pre_footer)
 * ===================================================================== */

/* --- Slide banner (carousel) dengan gambar latar ---
   REDESIGN: tinggi slide banner = tinggi slide lain (aspect-ratio di
   .sp-slide). Gambar cover penuh, teks & CTA berlabuh di BAWAH-kiri di
   atas gradasi gelap-bawah sehingga terbaca di gambar apa pun, mobile
   maupun desktop (laporan user: banner tidak responsive). */
.sp-slide-banner .sp-slide-body {
  justify-content: flex-end;
  max-width: none;
  padding-bottom: clamp(18px, 3.4vw, 34px);
  gap: 8px;
}
.sp-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.sp-slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 8, 0.14) 0%, rgba(12, 16, 8, 0.18) 38%, rgba(12, 16, 8, 0.62) 72%, rgba(12, 16, 8, 0.84) 100%);
}
.sp-slide-bg-banner {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 46%),
    linear-gradient(135deg, #24463f 0%, #33665c 55%, #477f72 100%);
}
/* Tablet (>= 600px): proporsi sedang sebelum mencapai proporsi desktop */
@media (min-width: 600px) {
  .sp-slide { aspect-ratio: 21 / 10; min-height: 220px; max-height: 380px; }
}

/* --- Strip banner antar-section --- */
.sp-bstrip-sec { margin-top: -4px; }
.sp-bstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 12px;
}
.sp-bcard {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(150px, 24vw, 200px);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sp-bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sp-bcard:focus-visible { outline: 3px solid rgba(139, 195, 74, 0.65); outline-offset: 2px; }
.sp-bcard-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.sp-bcard:hover .sp-bcard-bg { transform: scale(1.05); }
.sp-bcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 26, 14, 0.84) 0%, rgba(20, 26, 14, 0.52) 55%, rgba(20, 26, 14, 0.22) 100%);
}
/* Varian warna saat banner belum punya gambar (senada tema hijau-daun) */
.sp-bcard-a .sp-bcard-bg { background-image: linear-gradient(120deg, #1b5e20 0%, #2e7d32 58%, #4c9a4f 100%); }
.sp-bcard-b .sp-bcard-bg { background-image: linear-gradient(120deg, #4e3a20 0%, #7a5a2e 58%, #9c743c 100%); }
.sp-bcard-c .sp-bcard-bg { background-image: linear-gradient(120deg, #24463f 0%, #33665c 58%, #477f72 100%); }
.sp-bcard-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 18px 18px 16px;
  width: 100%;
}
.sp-bcard-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.sp-bcard-tag svg { width: 11px; height: 11px; }
.sp-bcard-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.sp-bcard-sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); line-height: 1.45; }
.sp-bcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s;
}
.sp-bcard-cta svg { width: 13px; height: 13px; }
.sp-bcard:hover .sp-bcard-cta { transform: translateX(2px); }

@media (max-width: 640px) {
  .sp-bstrip { grid-template-columns: 1fr; }
  .sp-bcard { min-height: 140px; }
  .sp-bcard-title { font-size: 16.5px; }
}

/* ---------- Slider banner otomatis (beberapa banner dalam 1 lokasi) ----------
   Fade antar kartu + dots; autoplay dikelola app.js (pause saat hover). */
.sp-bslider { position: relative; }
.sp-bslides { position: relative; }
.sp-bslide { display: none; }
.sp-bslide.is-active {
  display: block;
  animation: spBfadeIn 0.5s ease;
}
@keyframes spBfadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
.sp-bslider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 12px;
}
.sp-bdot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(44, 42, 39, 0.18);
  transition: width 0.25s, background 0.25s;
  cursor: pointer;
}
.sp-bdot.is-active { width: 18px; background: var(--accent, #2e7d32); }
.sp-bdot:focus-visible { outline: 2px solid rgba(139, 195, 74, 0.7); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .sp-bslide.is-active { animation: none; }
}

/* =====================================================================
 * FORM DAFTAR MITRA — drag & drop dokumen (perizinan & sertifikat)
 * ===================================================================== */
.rg-dz {
  display: block;
  position: relative;
  border: 2px dashed #cfdcc0;
  border-radius: 14px;
  background: #f6f9f0;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  outline: none;
  width: 100%;
}
.rg-dz:hover, .rg-dz:focus-visible { border-color: var(--accent); background: var(--bg-2); }
.rg-dz.is-dragover { border-color: var(--accent); background: var(--bg-3); transform: scale(1.01); }
.rg-dz.has-files { border-style: solid; border-color: #d8e3c8; background: #fbfdf7; }
/* Dokumen wajib: penanda error saat submit tanpa file */
.rg-dz.dz-error { border-color: #d84a3f; background: #fdf4f3; border-style: dashed; }
.rg-dz.dz-error .rg-dz-title { color: #b23c31; font-weight: 600; }
.rg-dz-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--green-soft, #e7f2e3);
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.rg-dz-ico svg { width: 22px; height: 22px; }
.rg-dz-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.rg-dz-sub { font-size: 12px; color: #87857c; margin-top: 3px; line-height: 1.5; }
.rg-dz input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rg-dz-hint { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center; margin-top: 8px; }
.rg-dz-hint span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--accent-dark);
  background: #eef4e4;
  border: 1px solid #dce8ca;
  border-radius: 999px;
  padding: 2px 9px;
  text-transform: uppercase;
}
.rg-files { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rg-file {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
  border: 1px solid #e4ecd6;
  border-radius: 12px;
  padding: 9px 11px;
  box-shadow: 0 1px 4px rgba(60, 50, 30, 0.05);
  animation: rgFileIn 0.22s ease;
}
@keyframes rgFileIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.rg-file-thumb {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  overflow: hidden;
  background: #eef3e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}
.rg-file-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-file-thumb svg { width: 20px; height: 20px; }
.rg-file-info { flex: 1 1 auto; min-width: 0; }
.rg-file-name { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rg-file-meta { display: block; font-size: 11px; color: #87857c; margin-top: 2px; }
.rg-file-meta .rg-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--green-soft, #e7f2e3);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 1px 7px;
  margin-right: 6px;
}
.rg-file-del {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d9d9;
  background: #fdf4f4;
  color: #b8434a;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.rg-file-del svg { width: 15px; height: 15px; }
.rg-file-del:hover { background: #b8434a; border-color: #b8434a; color: #fff; transform: scale(1.05); }
.rg-dz-empty { font-size: 11.5px; color: #a09486; margin-top: 10px; text-align: center; }
@media (max-width: 480px) {
  .rg-dz { padding: 18px 12px; }
  .rg-file { gap: 9px; padding: 8px 9px; }
}

/* ---------- Paket Langganan (paket langganan milik mitra) ----------
   Website umum (index.php > .sp-pkg-*) & website mitra (tenant-booking.php > .tb-pkg-*).
   Paket hanya dibuat mitra dari Panel Mitra > Paket Langganan. */
.sp-pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-pkg-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fcfef7;
  border: 1px solid rgba(139, 195, 74, 0.4);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sp-pkg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(61, 46, 42, 0.12); }
.sp-pkg-spa {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  color: #2e7d32; background: rgba(139, 195, 74, 0.16);
  border-radius: 999px; padding: 6px 12px;
}
.sp-pkg-spa svg { width: 14px; height: 14px; }
.sp-pkg-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: #3d2e2a; margin: 2px 0 0; }
.sp-pkg-desc { color: #84786a; font-size: 13.5px; line-height: 1.6; margin: 0; }
.sp-pkg-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.sp-pkg-amount { font-size: 26px; font-weight: 800; color: #1b5e20; }
.sp-pkg-period { font-size: 13px; color: #9c8d80; }
.sp-pkg-feats {
  list-style: none; margin: 4px 0 0; padding: 12px 0 0;
  border-top: 1px dashed #dfe9cf; display: grid; gap: 8px;
}
.sp-pkg-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: #5f544c; line-height: 1.5; }
.sp-pkg-feats svg { width: 15px; height: 15px; color: #2e7d32; flex: none; margin-top: 2px; }
.sp-pkg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: auto; padding: 12px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #2e7d32, #1b5e20); color: #fcfef7;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sp-pkg-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(27, 94, 32, 0.3); color: #fcfef7; }
.sp-pkg-btn svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .sp-pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sp-pkg-grid { grid-template-columns: 1fr; } }

/* Paket Langganan di website mitra (tenant-booking.php) — mengikuti aksen SPA via var(--accent) */
.tb-pkg { padding: 26px 0 8px; }
.tb-pkg-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #3d2e2a; margin: 0 0 4px; }
.tb-pkg-title svg { width: 18px; height: 18px; color: var(--accent, #2e7d32); }
.tb-pkg-sub { color: #84786a; font-size: 13.5px; margin: 0 0 14px; }
.tb-pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tb-pkg-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fcfef7; border: 1px solid #e3ecd2; border-radius: 16px; padding: 18px 16px;
}
.tb-pkg-name { font-size: 15.5px; font-weight: 700; color: #3d2e2a; margin: 0; }
.tb-pkg-desc { font-size: 12.5px; color: #84786a; line-height: 1.55; margin: 0; }
.tb-pkg-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tb-pkg-amount { font-size: 19px; font-weight: 800; color: var(--accent-dark, #1b5e20); }
.tb-pkg-period { font-size: 11.5px; color: #9c8d80; }
.tb-pkg-feats { list-style: none; margin: 2px 0 0; padding: 10px 0 0; border-top: 1px dashed #e3ecd2; display: grid; gap: 6px; }
.tb-pkg-feats li { display: flex; gap: 6px; font-size: 12.5px; color: #5f544c; line-height: 1.5; }
.tb-pkg-feats svg { width: 13px; height: 13px; color: var(--accent, #2e7d32); flex: none; margin-top: 2px; }
.tb-pkg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: auto; padding: 10px 14px; border-radius: 999px;
  background: var(--accent, #2e7d32); color: #fff; font-weight: 600; font-size: 13px; text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}
.tb-pkg-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff; }
.tb-pkg-btn svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .tb-pkg-grid { grid-template-columns: 1fr; } }

/* ====== Guard universal: atribut [hidden] SELALU menyembunyikan elemen ======
Mencegah display eksplisit (mis. .bkw-svc { display:flex }) menimpa atribut [hidden]. */
[hidden] { display: none !important; }
