/*
Theme Name: Hallobang Halo
Description: Tema marketplace konsultasi hukum Hallobang (gaya aplikasi kesehatan: cari ahli, pilih, bayar). Butuh plugin Hallobang Core.
Version: 0.3.0
Author: Hallobang
Text Domain: rosslaw
Requires PHP: 7.4
*/

:root {
	--navy: #d0101e;
	--navy-2: #a50c16;
	--gold: #16181d;
	--gold-soft: #fdecee;
	--ink: #1b2430;
	--muted: #6b7684;
	--line: #e7eaef;
	--bg: #f5f7fa;
	--card: #ffffff;
	--ok: #12805c;
	--ok-soft: #e3f5ee;
	--warn-soft: #fff6dc;
	--err: #b42318;
	--err-soft: #fdecea;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .06);
	--wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--bg);
	padding-bottom: 76px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
.rl-ico { flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(208,16,30,.06); }
.site-header { background: #fff; color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 58px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark {
	width: 32px; height: 32px; border-radius: 9px; background: var(--gold); color: var(--navy);
	display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.brand small { font-weight: 600; font-size: 11px; color: var(--gold); border: 1px solid rgba(208,16,30,.6); border-radius: 6px; padding: 1px 5px; margin-left: 2px; }
.header-search { flex: 1; max-width: 460px; display: none; }
.header-search input {
	width: 100%; height: 40px; border-radius: 999px; border: 0; padding: 0 16px 0 40px;
	font: inherit; background: #f1f4f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236b7a8c' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
	color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }
.header-nav { margin-left: auto; display: none; gap: 4px; }
.header-nav a { white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; }
.header-nav a:hover, .header-nav a.is-active { background: #eef2f7; color: var(--navy); text-decoration: none; }
.header-cta { margin-left: auto; }
@media (min-width: 900px) {
	.header-search { display: block; }
	.header-nav { display: flex; }
	.header-cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.rl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14px;
	padding: 11px 18px; border-radius: 10px; border: 0; cursor: pointer; font-family: inherit;
	transition: filter .15s;
}
.rl-btn:hover { filter: brightness(.95); text-decoration: none; }
.rl-btn--navy { background: var(--navy); color: #fff; }
.rl-btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.rl-btn--sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.rl-btn--block { width: 100%; }
.rl-btn--wa { background: #1fa855; color: #fff; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0, var(--navy) 70%, var(--bg) 70%); padding: 18px 0 8px; color: #fff; }
.hero__card {
	background: linear-gradient(135deg, var(--navy-2), var(--navy));
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 20px; padding: 24px 20px; position: relative; overflow: hidden;
}
.hero__card::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(208,16,30,.35), rgba(208,16,30,0) 70%);
}
.hero h1 { font-size: 23px; max-width: 560px; color: #fff; }
.hero p { color: rgba(255,255,255,.82); max-width: 560px; }
.hero-search { position: relative; margin-top: 14px; max-width: 620px; z-index: 1; }
.hero-search input {
	width: 100%; height: 50px; border-radius: 12px; border: 0; font: inherit; font-size: 15px;
	padding: 0 84px 0 46px; color: var(--ink); box-shadow: var(--shadow);
}
.hero-search .rl-ico { position: absolute; left: 14px; top: 13px; color: var(--muted); }
.hero-search button { position: absolute; right: 6px; top: 6px; height: 38px; }
@media (min-width: 900px) {
	.hero { padding: 28px 0 12px; }
	.hero__card { padding: 40px 40px; }
	.hero h1 { font-size: 32px; }
}

/* ---------- Sections ---------- */
.section { padding: 18px 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 700; font-size: 14px; color: var(--gold); white-space: nowrap; }
.section__sub { color: var(--muted); margin: -6px 0 12px; font-size: 14px; }

/* Quick actions */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .quick { grid-template-columns: repeat(4, 1fr); } }
.quick a {
	background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
	display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.3;
}
.quick a:hover { text-decoration: none; transform: translateY(-1px); }
.quick a small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }
.quick__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--gold-soft); color: var(--gold); }
.quick__ico--navy { background: #e8eef6; color: var(--navy-2); }

/* Bidang grid */
.bidang { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
@media (min-width: 700px) { .bidang { grid-template-columns: repeat(8, 1fr); } }
.bidang__more { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.bidang a, .bidang__more { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.25; }
.bidang a:hover { text-decoration: none; }
.bidang__ico {
	width: 54px; height: 54px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow);
	display: grid; place-items: center; color: var(--navy-2);
}
.bidang a:hover .bidang__ico, .bidang__more:hover .bidang__ico { background: var(--navy); color: #fff; }

/* Bottom sheet semua bidang */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px; max-height: 85vh; background: transparent; }
.sheet::backdrop { background: rgba(10, 25, 45, .45); }
.sheet__box { background: var(--bg, #f5f7fb); border-radius: 20px 20px 0 0; padding: 16px 16px 28px; max-height: 85vh; overflow-y: auto; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 16px; color: var(--ink); }
.sheet__close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.sheet .bidang--sheet { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 700px) { .sheet { margin: auto; } .sheet__box { border-radius: 20px; } }

/* Horizontal scroller */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 700px) { .scroller { grid-auto-columns: 300px; } }

/* Mitra card */
.mcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mcard__top { display: flex; gap: 12px; }
.avatar {
	width: 64px; height: 64px; border-radius: 14px; flex: none; overflow: hidden;
	background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: var(--gold);
	display: grid; place-items: center; font-weight: 800; font-size: 20px; position: relative;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 96px; height: 96px; border-radius: 20px; font-size: 30px; }
.avatar__dot { position: absolute; right: 4px; bottom: 4px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.mcard__name { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); }
.mcard__name:hover { text-decoration: none; color: var(--navy-2); }
.mcard__role { color: var(--muted); font-size: 13px; }
.verified { display: inline-flex; align-items: center; gap: 3px; color: var(--ok); font-size: 12px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #eef2f7; color: var(--navy-2); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip--gold { background: var(--gold-soft); color: #8a6512; }
.chip-link:hover { text-decoration: none; background: var(--navy); color: #fff; }
.meta-row { display: flex; gap: 12px; color: var(--muted); font-size: 12px; align-items: center; flex-wrap: wrap; }
.meta-row span { display: inline-flex; align-items: center; gap: 4px; }
.meta-row .star { color: #e3a008; }
.mcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto; }
.price { font-weight: 800; font-size: 16px; color: var(--ink); }
.price small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }

/* Grid list */
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Premium banner */
.promo {
	border-radius: 18px; padding: 20px; color: #fff; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
	background: radial-gradient(circle at 90% 10%, rgba(208,16,30,.45), rgba(208,16,30,0) 45%), linear-gradient(135deg, #0b2240, #a50c16);
}
.promo h3 { color: #fff; font-size: 18px; margin: 0 0 4px; }
.promo p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }
.promo__badge { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 12px; margin-bottom: 6px; }

/* E-book card */
.ecard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.ecard:hover { text-decoration: none; }
.ecard__cover { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #a50c16, #0b2240); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.ecard__cover img { width: 100%; height: 100%; object-fit: cover; }
.ecard__cover--img { padding: 0; }
.ecard__cover strong { font-size: 17px; line-height: 1.25; }
.ecard__cover span { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ecard__body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ecard__title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.ecard__author { color: var(--muted); font-size: 12px; }
.ecard .price { font-size: 15px; margin-top: auto; padding-top: 6px; }
.ebook-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .ebook-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .ebook-grid { grid-template-columns: repeat(5, 1fr); } }

/* Steps */
.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; gap: 12px; }
.step__n { counter-increment: s; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; flex: none; }
.step__n::before { content: counter(s); }
.step h3 { margin: 4px 0 4px; font-size: 15px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Archive / filter ---------- */
.page-head { padding: 18px 0 6px; }
.page-head h1 { margin-bottom: 4px; }
.page-head p { color: var(--muted); margin: 0; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 14px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters a { flex: none; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; }
.filters a:hover { text-decoration: none; border-color: var(--navy-2); }
.filters a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.toolbar select { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.empty { background: var(--card); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }

/* ---------- Profile ---------- */
.profile { display: grid; gap: 14px; padding: 18px 0 24px; }
@media (min-width: 900px) { .profile { grid-template-columns: 1fr 340px; align-items: start; } }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.panel h2 { font-size: 16px; }
.profile__head { display: flex; gap: 16px; align-items: center; }
.profile__head h1 { font-size: 21px; margin-bottom: 2px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.fact { background: var(--bg); border-radius: 12px; padding: 10px; text-align: center; }
.fact strong { display: block; font-size: 15px; }
.fact span { font-size: 11px; color: var(--muted); }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .rl-ico { color: var(--navy-2); margin-top: 1px; }
.info-list small { display: block; color: var(--muted); font-size: 12px; }
.book-box .price { font-size: 22px; }
.book-box ul { padding-left: 18px; color: var(--muted); font-size: 13px; }
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 64px; z-index: 40; background: #fff; border-top: 1px solid var(--line);
	padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	box-shadow: 0 -4px 14px rgba(16,24,40,.06);
}
@media (min-width: 900px) { .sticky-cta { display: none; } }
.has-sticky { padding-bottom: 140px; }
@media (min-width: 900px) { .has-sticky { padding-bottom: 0; } }
.content-body { font-size: 15px; }
.content-body ul { padding-left: 20px; }

/* ---------- Checkout / forms ---------- */
.narrow { max-width: 560px; margin: 0 auto; padding: 18px 16px 30px; }
.rl-checkout, .rl-order { display: flex; flex-direction: column; gap: 14px; }
.rl-summary { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.rl-summary__label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rl-summary__name { font-weight: 700; font-size: 16px; margin-top: 2px; }
.rl-summary__sub { color: var(--muted); font-size: 13px; }
.rl-summary__total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 12px; }
.rl-summary__total strong { font-size: 20px; }
.rl-form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.rl-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.rl-form input[type=text], .rl-form input[type=tel], .rl-form input[type=email], .rl-form input[type=password], .rl-form textarea {
	font: inherit; font-weight: 400; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
.rl-form input:focus, .rl-form textarea:focus { outline: none; border-color: var(--navy-2); }
.rl-form--inline { flex-direction: row; gap: 8px; }
.rl-form--inline input { flex: 1; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.rl-opt { color: var(--muted); font-weight: 400; }
.rl-small { font-size: 12.5px; color: var(--muted); margin: 0; }
.rl-hp { position: absolute; left: -9999px; }
.rl-file input { font-weight: 400; padding: 10px; border: 1.5px dashed var(--line); border-radius: 10px; }
.rl-notice { background: var(--warn-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.rl-notice--err { background: var(--err-soft); color: var(--err); }
.rl-notice--ok { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.rl-order__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rl-order__code { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.rl-status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef2f7; color: var(--navy-2); white-space: nowrap; }
.rl-status--menunggu_verifikasi { background: var(--warn-soft); color: #8a6512; }
.rl-status--lunas { background: var(--ok-soft); color: var(--ok); }
.rl-status--ditolak { background: var(--err-soft); color: var(--err); }
.rl-pay { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.rl-pay h3 { font-size: 15px; margin-top: 6px; }
.rl-pay .rl-form { box-shadow: none; padding: 0; }
.rl-qris { width: 240px; max-width: 100%; margin: 6px auto 8px; border-radius: 12px; border: 1px solid var(--line); }
.rl-qris--empty { height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); background: var(--bg); font-size: 13px; }
.rl-orderlist { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.rl-orderlist__item { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink); }
.rl-orderlist__item:hover { text-decoration: none; }
.rl-orderlist__name { font-weight: 700; font-size: 14px; }

/* ---------- Generic page ---------- */
.page-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin: 18px 0 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); margin-top: 30px; padding: 28px 0 22px; font-size: 13px; }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: rgba(255,255,255,.85); display: block; padding: 3px 0; }
.site-footer h4 { color: #fff; margin: 0 0 8px; font-size: 14px; }
.site-footer .brand { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 10px; padding-top: 14px; grid-column: 1 / -1; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line);
	display: grid; grid-template-columns: repeat(5, 1fr); height: 64px; padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 600; }
.bottom-nav a:hover { text-decoration: none; }
.bottom-nav a.is-active { color: var(--navy); }
.bottom-nav a.is-active .rl-ico { color: var(--gold); }
@media (min-width: 900px) { .bottom-nav { display: none; } }

.pagination { display: flex; gap: 6px; justify-content: center; margin: 18px 0; }
.pagination .page-numbers { padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* v0.2 — gratis, data contoh, jenis buku */
.chip--dummy { background: #fde8e8; color: #b42318; }
.price--free { color: var(--ok); }
.ecard__jenis { align-self: flex-start; font-size: 11px; font-weight: 700; color: #8a6512; background: var(--gold-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 2px; }
.free-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }

/* v0.3 — slider, kartu geser, profil ala aplikasi kesehatan */
.hero--compact { background: var(--navy); padding: 16px 0 22px; }
.hero--compact h1 { font-size: 21px; margin: 4px 0 0; max-width: 640px; }
.hero--compact .hero-search { margin-top: 12px; }
@media (min-width: 900px) { .hero--compact { padding: 26px 0 30px; } .hero--compact h1 { font-size: 28px; } }
.section--tight { padding-top: 14px; }
.slider { position: relative; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; border-radius: 18px; }
.slider__track::-webkit-scrollbar { display: none; }
.slide {
	flex: 0 0 100%; scroll-snap-align: start; min-height: 150px; border-radius: 18px; padding: 20px; color: #fff;
	display: flex; align-items: flex-end; background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.slide:hover { text-decoration: none; }
.slide--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,64,.92) 0%, rgba(11,34,64,.6) 45%, rgba(11,34,64,0) 75%); }
.slide--0 { background-color: #0b2240; background-image: radial-gradient(circle at 85% 20%, rgba(208,16,30,.55), rgba(208,16,30,0) 45%), linear-gradient(135deg, #a50c16, #0b2240); }
.slide--1 { background-color: #12805c; background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.25), rgba(255,255,255,0) 45%), linear-gradient(135deg, #12805c, #0b4d3a); }
.slide--2 { background-color: #7a4f10; background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.22), rgba(255,255,255,0) 45%), linear-gradient(135deg, #16181d, #7a4f10); }
.slide__text { display: flex; flex-direction: column; gap: 4px; max-width: 520px; position: relative; z-index: 1; }
.slide__text strong { font-size: 20px; line-height: 1.2; }
.slide__text span { color: rgba(255,255,255,.88); font-size: 14px; }
.slide__text em { font-style: normal; font-weight: 700; font-size: 13px; margin-top: 6px; color: #fff; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; align-self: flex-start; }
@media (min-width: 900px) { .slide { min-height: 190px; padding: 30px; } .slide__text strong { font-size: 26px; } }
.slider__dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.slider__dots button { width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; background: #c9d1dc; cursor: pointer; transition: width .2s; }
.slider__dots button.is-on { width: 20px; background: var(--navy); }

.scroller-wrap { position: relative; }
.scroll-btn { display: none; position: absolute; top: 40%; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 24px; line-height: 1; color: var(--navy); cursor: pointer; z-index: 2; }
.scroll-btn--prev { left: -12px; } .scroll-btn--next { right: -12px; }
@media (min-width: 900px) { .scroll-btn { display: grid; place-items: center; } }
.scroller-wrap.at-start .scroll-btn--prev, .scroller-wrap.at-end .scroll-btn--next { display: none; }

.pcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pcard__photo { position: relative; background: #eef2f7; aspect-ratio: 4 / 3; max-height: 420px; width: 100%; }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pcard__initials { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: var(--gold); background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.pcard__online { position: absolute; left: 12px; bottom: 12px; background: rgba(27,36,48,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.pcard__online i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.pcard__share { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.pcard__share.is-copied { background: var(--ok-soft); color: var(--ok); }
.pcard__body { padding: 14px 16px 10px; }
.pcard__body h1 { font-size: 20px; margin: 0 0 2px; }
.pcard__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { display: inline-flex; align-items: center; gap: 5px; background: #eef2f7; color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.badge--gold { background: var(--gold-soft); color: #8a6512; }
.pcard__price { background: #eaf2fd; padding: 10px 16px; }
.pcard__price .price small { display: inline; margin-left: 6px; }
.pcard__section { padding: 14px 16px; border-top: 1px solid var(--line); margin: 0; }
.pcard__sechead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pcard__sechead a { font-weight: 700; font-size: 14px; color: var(--gold); }
.rev-demo { background: #fde8e8; color: #b42318; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; margin-bottom: 8px; display: inline-block; }
.rev-score { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rev-score__num { font-size: 26px; font-weight: 800; }
.stars { display: inline-flex; color: #f5b301; }
.stars .rl-ico { fill: currentColor; }
.tag-out { border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-size: 13px; color: var(--ink); }
.rev-item { border-top: 1px solid var(--line); padding: 12px 0; }
.rev-item:first-of-type { border-top: 0; }
.rev-item__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rev-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.avatar img { object-position: top center; }

/* Akun: masuk / daftar */
.auth { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.auth__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.auth__head h2 { margin: 6px 0 0; font-size: 22px; }
.auth__head .brand__mark { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
.auth__or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__switch { text-align: center; font-size: 14px; margin: 0; }
.rl-btn--google { background: #fff; color: var(--ink); border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.rl-form a.rl-small { text-align: center; }

/* Akun saya */
.akun { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.akun h3 { margin: 10px 0 0; font-size: 17px; }
.akun__card { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.akun__foto { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.akun__foto--init { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; }
.akun__nama { font-weight: 700; font-size: 17px; }
.akun__premium { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.akun__premium > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef1f5; color: var(--muted); flex: none; }
.akun__premium.is-on > span { background: var(--gold-soft); color: var(--gold); }
.akun__premium > div { flex: 1; }
.akun__edit summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.rl-orderlist__row { display: flex; align-items: center; gap: 8px; }
.rl-orderlist__row .rl-orderlist__item { flex: 1; }

/* Header ala Halodoc: promo, burger, Masuk, chip menu, drawer */
.promo { background: linear-gradient(90deg, var(--navy) 0%, #1d4f80 100%); color: #fff; }
.promo[hidden] { display: none; }
.promo .wrap { display: flex; align-items: center; gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.promo__x { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.promo__ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; }
.promo__text { flex: 1; min-width: 0; font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.promo__btn { flex: none; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 12.5px; padding: 8px 10px; border-radius: 12px; text-align: center; line-height: 1.2; max-width: 100px; }
@media (max-width: 420px) { .promo__ico { display: none; } .promo .wrap { gap: 8px; } }
.promo__btn:hover { text-decoration: none; filter: brightness(.95); }
.burger { flex: none; background: none; border: 0; padding: 4px; margin-left: -4px; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.brand small { color: var(--gold); }
.header-masuk { margin-left: auto; flex: none; }
.header-akun { margin-left: auto; flex: none; }
@media (min-width: 900px) { .header-nav + .header-masuk, .header-nav + .header-akun { margin-left: 4px; } }
.header-akun__init { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.header-akun:hover { text-decoration: none; }
.chips-nav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; padding-bottom: 10px; }
.chips-nav .wrap::-webkit-scrollbar { display: none; }
.chips-nav a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; background: #fff; }
.chips-nav a span { width: 26px; height: 26px; border-radius: 50%; background: #eef2f7; color: var(--navy-2); display: grid; place-items: center; }
.chips-nav a:hover { text-decoration: none; border-color: var(--navy-2); }
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__bg { position: absolute; inset: 0; background: rgba(10,25,45,.45); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(300px, 84vw); background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; box-shadow: 4px 0 24px rgba(0,0,0,.15); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.brand--dark { color: var(--navy); }
.drawer__x { background: none; border: 0; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.drawer__user { display: flex; align-items: center; gap: 10px; color: var(--ink); background: #f5f7fa; border-radius: 12px; padding: 10px; }
.drawer__user:hover { text-decoration: none; }
.drawer__user small { display: block; color: var(--muted); font-size: 12px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 6px; color: var(--ink); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line); }
.drawer__nav a:hover, .drawer__nav a.is-active { color: var(--navy); text-decoration: none; background: #f7f9fc; }
.drawer__nav .rl-ico, .drawer__nav svg { color: var(--navy-2); flex: none; }
@media (min-width: 900px) { .burger { display: none; } }
.admin-bar .drawer__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .drawer__panel { top: 32px; } .admin-bar .topbar { top: 32px; } }

/* v0.4.1: promo ala Halodoc, hero bergambar, slide presisi */
.promo .wrap { min-height: 0; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
.promo__media { position: relative; flex: none; width: 48px; height: 48px; }
.promo__media img, .promo__media .promo__ico { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #fff; display: grid; place-items: center; }
.promo__x { position: absolute; top: -4px; left: -6px; width: 20px; height: 20px; font-size: 14px; background: rgba(0,0,0,.55); border: 1.5px solid #fff; z-index: 1; display: grid; place-items: center; padding: 0; }
.promo__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 420px) { .promo .promo__ico { display: grid; } }
.hero--img { background-color: var(--navy); background-size: cover; background-position: 78% center; position: relative; }
.hero--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,64,.96) 0%, rgba(11,34,64,.85) 45%, rgba(11,34,64,.15) 80%, rgba(11,34,64,0) 100%); }
.hero--img .wrap { position: relative; }
.hero--img h1 { max-width: 62%; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
@media (min-width: 900px) { .hero--img h1 { max-width: 560px; } .hero--img { background-position: right center; } }
.slide--img { aspect-ratio: 16 / 9; min-height: 0; background-position: right center; }
.slide--img .slide__text { max-width: 58%; }
.slide--img .slide__text strong { font-size: 18px; }
.slide--img .slide__text span { font-size: 12.5px; }
@media (min-width: 900px) { .slide--img { aspect-ratio: auto; min-height: 220px; } .slide--img .slide__text { max-width: 480px; } .slide--img .slide__text strong { font-size: 26px; } .slide--img .slide__text span { font-size: 14px; } }

/* v0.4.2: beranda ala Halodoc — banner penuh & kartu Solusi */
.banner { margin: 0 0 4px; }
.banner__inner { max-width: 1100px; margin: 0 auto; }
.banner .slider__track { border-radius: 0; gap: 0; }
.slide--banner { display: block; padding: 0; min-height: 0; aspect-ratio: 750 / 423; border-radius: 0; background: #d0101e; }
.slide--banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner .slider__dots { gap: 8px; margin-top: 12px; }
.banner .slider__dots button { width: 8px; height: 8px; background: #ecd9a6; }
.banner .slider__dots button.is-on { width: 8px; background: var(--gold); }
@media (min-width: 900px) {
	.banner { padding: 16px 16px 0; }
	.banner .slider__track { border-radius: 12px; gap: 12px; }
	.banner .slide--banner { flex-basis: calc(50% - 6px); border-radius: 12px; overflow: hidden; }
}
.solusi { margin-top: 20px; padding: 24px 0 4px; background: linear-gradient(180deg, #eaf0f7 0, #f5f7fa 140px); border-radius: 50% 50% 0 0 / 26px 26px 0 0; }
.solusi__title { font-size: 20px; font-weight: 600; color: #333; margin: 0 0 14px; }
.solusi__list { display: grid; gap: 16px; }
@media (min-width: 700px) { .solusi__list { grid-template-columns: repeat(2, 1fr); } }
.hcard { display: flex; align-items: center; background: #fff; border: 1px solid #c9d6e6; box-shadow: 0 4px 0 0 #c9d6e6; border-radius: 8px; padding: 12px; color: #333; }
.hcard:hover { text-decoration: none; border-color: var(--navy-2); box-shadow: 0 4px 0 0 var(--navy-2); }
.hcard__img { flex: none; width: 40px; height: 40px; border: 1px solid #f2f2f2; border-radius: 4px; padding: 4px; margin-right: 12px; display: grid; place-items: center; color: var(--navy-2); background: #fbf6e9; }
.hcard__body { flex: 1; min-width: 0; margin-right: 4px; }
.hcard__body strong { display: block; font-size: 14px; font-weight: 600; color: #333; line-height: 1.2; }
.hcard__body small { display: block; font-size: 12px; color: #666; margin-top: 4px; line-height: 1.3; }
.hcard__chev { flex: none; color: var(--gold); }
.topbar .promo { padding: 0; margin: 0; border-radius: 0; box-shadow: none; display: block; position: static; overflow: visible; }
.topbar .promo::before, .topbar .promo::after { content: none; }
.topbar .promo__btn { max-width: 96px; padding: 7px 10px; font-size: 12px; }

/* Logo asli Hallobang */
.brand__logo { height: 34px; width: auto; display: block; }
.brand--dark .brand__logo { height: 30px; }
.brand__icon { width: 32px; height: 32px; border-radius: 8px; display: block; }
.site-footer .brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.auth__icon { width: 56px; height: 56px; border-radius: 14px; }
@media (max-width: 380px) { .brand__logo { height: 28px; } }

/* Masuk dengan nomor HP + OTP (ala Halodoc) */
.otp { max-width: 440px; margin: 8px auto 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 26px 20px 22px; text-align: center; }
.otp__icon { width: 56px; height: 56px; border-radius: 14px; display: block; margin: 0 auto 10px; }
.otp__title { font-size: 20px; font-weight: 700; color: #333; margin: 0 0 8px; }
.otp__sub { font-size: 14px; color: #555; line-height: 1.5; margin: 0 0 18px; }
.otp form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.otp__phone { display: flex; gap: 10px; text-align: left; }
.otp__cc { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-radius: 8px; background: #f1f3f6; font-size: 16px; color: #333; }
.otp__flag { width: 24px; height: 16px; border-radius: 2px; background: linear-gradient(#e70011 50%, #fff 50%); box-shadow: 0 0 0 1px #e3e3e3; }
.otp__field { width: 100%; height: 48px; border: 1px solid #d6dbe2; border-radius: 8px; padding: 0 14px; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .5px; color: #333; background: #fff; }
.otp__field:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(29,79,128,.12); }
.otp__field:disabled { color: #9aa3ad; background: #fff; }
.otp__code { text-align: center; font-size: 26px; letter-spacing: 12px; padding-left: 26px; }
.otp__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.otp__btn:hover { filter: brightness(1.1); }
.otp__btn .rl-ico, .otp__btn svg { color: #25d366; }
.otp__change { font-size: 13px; font-weight: 600; color: #333; margin: 10px 0 16px; }
.otp__change a, .otp__terms a { color: #2b6fd6; text-decoration: underline; }
.otp__resend { flex-direction: row !important; justify-content: center; align-items: center; gap: 6px !important; font-size: 13px; color: #555; margin-top: 14px !important; }
.otp__link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--gold); cursor: pointer; }
.otp__link:disabled { color: #9aa3ad; cursor: default; }
.otp__terms { font-size: 13px; color: #555; line-height: 1.5; margin: 18px 0 0; }
.otp .rl-notice { text-align: left; margin-bottom: 14px; }
.otp .cf-turnstile { display: flex; justify-content: center; }

/* ===== Konsultasi ala Halodoc (cs-) ===== */
.cs-page { max-width: 560px; margin: 0 auto; padding-bottom: 90px; }
.cs-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.cs-head h2 { font-size: 20px; margin: 0; color: #333; }
.cs-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--gold); cursor: pointer; }
.cs-muted { color: #777; }
.cs-info { display: flex; gap: 10px; background: #eaf4fb; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; color: #444; font-size: 13.5px; line-height: 1.45; }
.cs-info .rl-ico, .cs-info svg { color: #1f87c7; flex: none; margin-top: 2px; }
.cs-info strong { display: block; font-size: 14px; color: #333; }
.cs-info--plain { margin: 14px 0; }
.cs-card { display: block; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); padding: 14px 16px; margin-bottom: 10px; color: #333; }
.cs-card:hover { text-decoration: none; }
.cs-radio { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 18px 20px; }
.cs-radio strong { display: block; font-size: 16px; }
.cs-radio small { color: #777; font-size: 12.5px; }
.cs-radio input { display: none; }
.cs-radio i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #bbb; flex: none; }
.cs-radio input:checked + i { border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff; background: var(--navy); }
.cs-newform { display: flex; flex-direction: column; gap: 10px; }
.cs-newform label, .cs-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: #333; }
.cs-newform input, .cs-newform select, .cs-form input[type=text], .cs-form select, .cs-form textarea { font: inherit; font-size: 15px; border: 1px solid #d6dbe2; border-radius: 6px; padding: 11px 12px; background: #fff; }
.cs-form small { font-weight: 400; color: #666; font-size: 12px; }
.cs-form em { font-style: normal; font-weight: 400; color: #999; }
.cs-form { display: flex; flex-direction: column; gap: 18px; }
.cs-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 13.5px !important; border-top: 1px solid #eee; padding-top: 14px; }
.cs-check input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.cs-check a { color: #2b6fd6; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; }
.cs-btn:hover { text-decoration: none; filter: brightness(1.1); color: #fff; }
.cs-btn:disabled { background: #e3e5e8; color: #9aa0a6; cursor: default; filter: none; }
.cs-btn--ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.cs-btn--ghost:hover { color: var(--navy); }
.cs-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0,0,0,.06); }
.cs-bar .cs-btn { max-width: 560px; margin: 0 auto; display: flex; }
.cs-topline { font-weight: 700; font-size: 17px; color: #333; display: flex; gap: 12px; align-items: center; margin: 2px 0 12px; }
.cs-topline a { color: #333; font-size: 24px; line-height: 1; }
.cs-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.cs-mitra { display: flex; align-items: center; gap: 14px; }
.cs-mitra img, .cs-mitra__init { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; border: 1px solid #eee; flex: none; }
.cs-mitra__init { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; }
.cs-mitra strong { display: block; font-size: 17px; color: #333; }
.cs-mitra span { color: #666; font-size: 14px; }
.cs-bill > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.cs-bill .cs-small { font-size: 13.5px; color: #555; }
.cs-bill s { color: #999; font-size: 13px; margin-right: 4px; }
.cs-total { font-weight: 700; font-size: 16px !important; }
.cs-promo { display: flex; gap: 10px; }
.cs-promo input { flex: 1; font: inherit; border: 1px solid #d6dbe2; border-radius: 6px; padding: 12px; }
.cs-promo button { border: 0; border-radius: 6px; padding: 0 16px; background: #e3e5e8; color: #555; font: inherit; font-weight: 700; cursor: pointer; }
.cs-formhead { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; color: var(--navy); }
.cs-formhead h2 { font-size: 18px; margin: 0; color: #333; }
/* Menghubungkan */
.cs-connect { text-align: center; background: #fff; border-radius: 12px; padding: 14px 18px 40px; }
.cs-connect .cs-topline { text-align: left; }
.cs-pulse { width: 180px; height: 180px; margin: 26px auto 22px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(208,16,30,.10) 55%, rgba(208,16,30,.04) 70%, transparent 72%); animation: csPulse 2s ease-in-out infinite; }
.cs-pulse img, .cs-pulse .cs-mitra__init { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
@keyframes csPulse { 50% { transform: scale(1.04); } }
.cs-connect h2 { font-size: 19px; color: #333; margin: 0 0 8px; }
.cs-connect p { color: #666; font-size: 14px; }
.cs-timer { font-size: 22px; font-weight: 700; margin: 34px 0 20px; color: #333; font-variant-numeric: tabular-nums; }
.cs-cancel { color: #999; font-weight: 600; }
/* Chat */
.rl-chatmode .bottom-nav, .rl-chatmode .site-footer, .rl-chatmode .promo, .rl-chatmode .chips-nav { display: none !important; }
.rl-chatmode main { padding-bottom: 0; }
.cs-chat { max-width: 680px; margin: -8px auto 0; display: flex; flex-direction: column; height: calc(100dvh - 72px); background: #f4f4f4; border-radius: 0; position: relative; }
.cs-chathead { display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px 14px; border-bottom: 1px solid #e6e6e6; }
.cs-chathead img, .cs-chathead .cs-mitra__init { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; font-size: 14px; }
.cs-back { color: #333; font-size: 26px; line-height: 1; padding-right: 2px; }
.cs-who { flex: 1; min-width: 0; }
.cs-who strong { display: block; font-size: 15px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-who span { font-size: 12.5px; color: #1b9e5a; }
.cs-end { background: none; border: 0; color: #d4224a; font: inherit; font-weight: 700; cursor: pointer; }
.cs-timebar { background: #fff8e6; color: #7a5a14; font-size: 13px; text-align: center; padding: 6px; border-bottom: 1px solid #f1e3bd; }
.cs-accept { display: flex; flex-direction: column; gap: 8px; background: #fff8e6; padding: 12px 14px; font-size: 14px; }
.cs-msgs { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.cs-welcome, .cs-rekap { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 14px 16px; font-size: 14px; color: #444; }
.cs-welcome__h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #333; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 10px; }
.cs-welcome__h img { width: 28px; height: 28px; border-radius: 6px; }
.cs-welcome small { color: #888; display: block; border-top: 1px dashed #ccc; padding-top: 8px; margin-top: 8px; }
.cs-rekap__h { display: flex; gap: 10px; align-items: center; color: var(--navy-2); }
.cs-rekap__h strong { display: block; color: #333; font-size: 15px; }
.cs-rekap__h span { font-size: 12px; color: #1b9e5a; }
.cs-rekap summary { margin-top: 10px; background: var(--navy); color: #fff; text-align: center; border-radius: 4px; padding: 8px; font-weight: 700; cursor: pointer; list-style: none; }
.cs-rekap summary::-webkit-details-marker { display: none; }
.cs-rekap dl { margin: 12px 0 0; }
.cs-rekap dt { color: #777; font-size: 12.5px; margin-top: 8px; }
.cs-rekap dd { margin: 2px 0 0; color: #333; }
.cs-rekap dd a { color: #2b6fd6; }
.cs-msg { max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; word-wrap: break-word; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.cs-msg a { color: #2b6fd6; }
.cs-them { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.cs-me { align-self: flex-end; background: #cfe8f7; border-top-right-radius: 4px; }
.cs-sys { align-self: center; background: #fff8e6; color: #7a5a14; font-size: 12.5px; text-align: center; border-radius: 8px; max-width: 92%; }
.cs-time { display: block; text-align: right; font-size: 11px; color: #8a8f96; margin-top: 2px; }
.cs-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #f4f4f4; }
.cs-compose textarea { flex: 1; resize: none; border: 1px solid #d6dbe2; border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 15px; max-height: 120px; background: #fff; }
.cs-compose button, .cs-attach { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; font-size: 18px; }
.cs-compose button { background: var(--navy); color: #fff; }
.cs-attach { background: #fff; border: 1px solid #d6dbe2; }
.cs-closed, .cs-ratebar { padding: 14px; text-align: center; background: #fff; color: #666; font-size: 14px; border-top: 1px solid #e6e6e6; }
.cs-closed a { color: var(--gold); font-weight: 700; }
.cs-ratebar { display: flex; align-items: center; gap: 12px; justify-content: space-between; color: #333; font-weight: 600; }
.cs-ratebar .cs-btn { width: auto; padding: 0 18px; height: 40px; }
.cs-sheet { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.cs-sheet[hidden] { display: none; }
.cs-sheet__box { background: #fff; width: 100%; max-width: 560px; border-radius: 16px 16px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
.cs-sheet__box h3 { margin: 0 0 6px; font-size: 19px; color: #333; }
.cs-sheet__box p { color: #666; margin: 0 0 16px; }
.cs-sheet__box > div { display: flex; gap: 10px; }
/* Rating */
.cs-rate { background: #fff; border-radius: 12px; padding: 20px 18px; text-align: center; }
.cs-rate .cs-mitra { justify-content: center; text-align: left; margin-bottom: 14px; }
.cs-rate h2 { font-size: 20px; margin: 6px 0; color: #333; }
.cs-rate form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.cs-stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.cs-stars input { display: none; }
.cs-stars label { font-size: 40px; color: #d9d9d9; cursor: pointer; line-height: 1; }
.cs-stars input:checked ~ label, .cs-stars label:hover, .cs-stars label:hover ~ label { color: #f5b301; }
.cs-sub { margin: 0; font-weight: 600; color: #333; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cs-tags input { display: none; }
.cs-tags span { display: inline-block; border: 1px solid #cfd5dc; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; cursor: pointer; }
.cs-tags input:checked + span { border-color: var(--navy); background: #eef2f7; color: var(--navy); font-weight: 700; }
.cs-rate textarea { font: inherit; border: 1px solid #d6dbe2; border-radius: 8px; padding: 12px; }
/* Panel mitra & riwayat */
.cs-panel h3, .akun h3 { display: flex; align-items: center; gap: 8px; }
.cs-count { background: #eef2f7; color: var(--navy); border-radius: 999px; font-size: 12px; padding: 2px 9px; }
.cs-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cs-item strong { display: block; font-size: 15px; }
.cs-item span { color: #777; font-size: 12.5px; }
.cs-item--mitra { border: 1.5px solid var(--gold); }
.cs-badge { flex: none; font-size: 11.5px !important; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef1f5; color: #555 !important; }
.cs-badge--menunggu, .cs-badge--isi_form, .cs-badge--menunggu_bayar { background: #fff3d6; color: #8a6514 !important; }
.cs-badge--aktif { background: #e3f6ec; color: #1b7a48 !important; }
.cs-badge--tidak_dijawab, .cs-badge--batal { background: #fde8ec; color: #b3203f !important; }
.cs-switch { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; cursor: pointer; }
.cs-switch input { display: none; }
.cs-switch i { width: 42px; height: 24px; border-radius: 999px; background: #ccc; position: relative; flex: none; transition: background .2s; }
.cs-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; }
.cs-switch input:checked + i { background: #1b9e5a; }
.cs-switch input:checked + i::after { left: 21px; }

.cs-newform[hidden] { display: none; }
.rl-flow .bottom-nav, .rl-flow .site-footer, .rl-flow .promo, .rl-flow .chips-nav { display: none !important; }
.rl-flow main, .rl-flow .site-main { padding-bottom: 0; }
.rl-flow .cs-page { padding-top: 12px; }
.rl-chatmode .wrap { padding-left: 0; padding-right: 0; max-width: none; }
.rl-chatmode .cs-chat { height: calc(100dvh - 60px); margin-top: 0; }
