/* ==========================================================================
   PayungIlmu — app.css
   ========================================================================== */

:root {
  --blue: #1d4ed8;
  --blue-600: #2563eb;
  --blue-700: #1e40af;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --bg: #f7f8fc;
  --card: #ffffff;
  --line: #e6eaf3;
  --line-2: #eef1f7;
  --green: #15803d;
  --green-50: #ecfdf3;
  --red: #dc2626;
  --red-50: #fef2f2;
  --amber: #b45309;
  --amber-50: #fffbeb;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 8px 26px rgba(15, 23, 42, .07);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, .14);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
img, svg { max-width: 100%; }
button { font-family: inherit; }
dl, dd, dt { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 2px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 860px; }
.flash-container { padding-top: 18px; }
.flash-container .alert { margin-bottom: 0; }
.section { padding: 48px 0 72px; }
.section--soft { background: #f1f4fb; border-block: 1px solid var(--line); }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ta-right { text-align: right; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Topbar & header ---------- */
.topbar {
  background: #0b1a3a;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 34px; flex-wrap: wrap;
}
.topbar__sep { opacity: .35; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px; min-height: 70px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--blue); color: #fff; border-radius: 11px;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .28);
}
.logo__text { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav__link {
  display: inline-flex; align-items: center; padding: 9px 13px;
  border-radius: 9px; color: var(--ink); font-size: 14.5px; font-weight: 600;
}
.main-nav__link:hover { background: var(--blue-50); color: var(--blue); }
.main-nav__link.is-active { color: var(--blue); background: var(--blue-50); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; color: var(--ink-2); transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue); }
.icon-btn__badge {
  position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 20px;
  background: var(--blue); color: #fff; font-size: 10px; font-weight: 700;
  border: 2px solid #fff;
}
.icon-btn__badge.is-hidden { display: none; }
.header-login { margin-left: 8px; }

.mobile-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; padding: 10px; cursor: pointer;
}
.mobile-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; }

/* ---------- Buttons, badges, alerts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1.5px solid transparent;
  font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
  cursor: pointer; transition: background .16s, border-color .16s, color .16s, transform .16s, box-shadow .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(29, 78, 216, .18); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--outline { background: #fff; border-color: #d7deeb; color: var(--ink); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: #f1f4fa; }
.btn--ghost.btn--sm { padding: 8px 10px; }
.btn--danger { background: var(--red-50); color: var(--red); border-color: #fbd5d5; }
.btn--danger:hover { background: #fee2e2; border-color: #f8b4b4; }
.btn--wa { background: #16a34a; color: #fff; box-shadow: 0 6px 16px rgba(22, 163, 74, .18); }
.btn--wa:hover { background: #15803d; color: #fff; }
.btn--sm { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
.btn--xs { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.btn--lg { padding: 13px 22px; font-size: 15px; border-radius: 11px; }
.btn--block { width: 100%; }
.btn--disabled { background: #f1f3f8; color: var(--muted-2); cursor: not-allowed; border-color: #eceff5; }
.btn--disabled:hover { transform: none; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
}
.badge--blue { background: var(--blue-50); color: var(--blue-700); border-color: #dbe7ff; }
.badge--green { background: var(--green-50); color: var(--green); border-color: #c9f2da; }
.badge--red { background: var(--red-50); color: var(--red); border-color: #fbd5d5; }
.badge--amber { background: var(--amber-50); color: var(--amber); border-color: #fde9bf; }
.badge--gray { background: #f1f4f9; color: #475569; border-color: #e3e8f0; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #475569;
  background: #fff; border: 1px solid var(--line);
}
.chip--link:hover { color: var(--blue); border-color: var(--blue-100); background: var(--blue-50); }
.chip--soft { background: #f2f5fa; border-color: transparent; color: #475569; }

.alert {
  padding: 13px 16px; border-radius: 11px; font-size: 14px;
  border: 1px solid var(--line); background: #fff; margin-bottom: 20px;
}
.alert p:last-child { margin-bottom: 0; }
.alert ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.alert--success { background: var(--green-50); border-color: #c9f2da; color: #166534; }
.alert--error { background: var(--red-50); border-color: #fbd5d5; color: #991b1b; }
.alert--info { background: var(--blue-50); border-color: #dbe7ff; color: #1e3a8a; }
.alert--sm { font-size: 12.5px; padding: 10px 12px; }

.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 54px 0 46px;
  background:
    radial-gradient(900px 320px at 50% -60px, #dfe9ff 0%, rgba(247, 248, 252, 0) 70%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 860px; font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hero__sub { max-width: 660px; margin: 14px 0 26px; color: var(--muted); font-size: 16px; }

.search-form {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 780px;
  padding: 8px 8px 8px 16px;
  background: #fff; border: 1.5px solid #d9e2f2; border-radius: 15px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  transition: border-color .16s, box-shadow .16s;
}
.search-form:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37, 99, 235, .1); }
.search-form > svg { color: var(--muted-2); flex: none; }
.search-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 15.5px/1.4 var(--font); color: var(--ink); padding: 10px 0;
}
.search-form input::placeholder { color: var(--muted-2); }
.search-form .btn { flex: none; padding: 12px 22px; }

.quick-tags {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--muted);
}
.quick-tags a {
  color: #475569; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
}
.quick-tags a:hover { color: var(--blue); border-color: var(--blue-100); background: #fff; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 42px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-stats dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin-top: 2px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Marketplace layout ---------- */
.market__layout {
  display: grid; grid-template-columns: 282px minmax(0, 1fr);
  gap: 28px; align-items: start;
}
.sidebar { position: sticky; top: 86px; display: grid; gap: 14px; }
.sidebar__close {
  display: none; position: absolute; top: 8px; right: 8px;
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
  place-items: center; z-index: 2;
}

.featured-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff4ff, #f7f9ff);
  border: 1px solid #dce7ff; color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
}
.featured-card:hover { border-color: #b9cdf9; box-shadow: var(--shadow-sm); color: var(--ink); }
.featured-card.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.featured-card__icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); flex: none;
}
.featured-card__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.featured-card__text strong { font-size: 13.5px; }
.featured-card__text small { font-size: 11.5px; color: var(--muted); }
.featured-card__count {
  margin-left: auto; font-size: 12px; font-weight: 800; color: var(--blue);
  background: #fff; border-radius: 999px; padding: 2px 8px; border: 1px solid #dce7ff;
}

.filter-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-sm);
}
.filter-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filter-card__head h2 { font-size: 15px; font-weight: 800; }
.link-reset { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.link-reset:hover { color: var(--red); }

.filter-group { border-top: 1px solid var(--line-2); padding: 10px 0; }
.filter-group summary {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 800; color: var(--ink-2);
  padding: 3px 0;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after {
  content: ''; width: 7px; height: 7px; margin-left: auto;
  border-right: 1.7px solid var(--muted); border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s; flex: none;
}
.filter-group[open] summary::after { transform: rotate(-135deg); }
.filter-group__count {
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  background: #f1f4f9; border-radius: 999px; padding: 1px 7px;
}
.filter-group__body { display: grid; gap: 8px; padding-top: 8px; }
.filter-scroll { max-height: 268px; overflow: auto; padding-right: 4px; scrollbar-width: thin; }

.check-row {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center; gap: 9px;
  font-size: 13px; color: #334155; cursor: pointer;
}
.check-row input {
  appearance: none; width: 17px; height: 17px; margin: 0;
  border: 1.6px solid #c3cddd; border-radius: 5px; background: #fff;
  display: grid; place-items: center; cursor: pointer; transition: .15s;
}
.check-row input[type="radio"] { border-radius: 50%; }
.check-row input:checked { background: var(--blue); border-color: var(--blue); }
.check-row input[type="checkbox"]:checked::after {
  content: ''; width: 4px; height: 8px; border: 2px solid #fff; border-top: 0; border-left: 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.check-row input[type="radio"]:checked::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.check-row em {
  font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted);
  background: #f5f7fb; border-radius: 999px; padding: 0 6px;
}
.check-row:hover { color: var(--blue); }
.check-row--inline { grid-template-columns: 18px auto; font-size: 13px; white-space: nowrap; }
.check-row--agree { grid-template-columns: 18px 1fr; align-items: start; margin: 8px 0 4px; line-height: 1.5; }
.check-row--agree a { text-decoration: underline; }
.check-row--radio { grid-template-columns: 18px 1fr; }

.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range-row label, .select-row { display: grid; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.range-row input, .range-row select {
  width: 100%; padding: 8px 9px; border: 1.5px solid var(--line);
  border-radius: 8px; font: 600 12.5px var(--font); color: var(--ink); background: #fff;
}
.range-row input:focus, .select-row select:focus { border-color: var(--blue-600); outline: 0; }
.select-row select {
  width: 100%; padding: 8px 9px; border: 1.5px solid var(--line);
  border-radius: 8px; font: 600 12.5px var(--font); color: var(--ink); background: #fff;
}
.filter-card > .btn { margin-top: 8px; }

/* ---------- Toolbar ---------- */
.results { min-width: 0; }
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.toolbar__info { font-size: 14px; color: var(--muted); }
.toolbar__info strong { color: var(--ink); font-weight: 800; }
.toolbar__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sort-control { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.sort-control select {
  padding: 8px 30px 8px 10px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; font: 600 12.5px var(--font); color: var(--ink); cursor: pointer;
}
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.view-toggle__btn {
  display: grid; place-items: center; width: 32px; height: 30px;
  border: 0; background: transparent; border-radius: 7px; cursor: pointer; color: var(--muted);
}
.view-toggle__btn.is-active { background: var(--blue-50); color: var(--blue); }
.filter-toggle { display: none; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 16px; }
.active-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: #fff; border: 1px solid #dbe4f3; color: #334155;
  font-size: 12px; font-weight: 600;
}
.active-chip:hover { border-color: var(--blue); color: var(--blue); }
.active-chip span { color: var(--muted-2); font-size: 14px; line-height: 1; }
.active-filters__clear { font-size: 12px; font-weight: 700; color: var(--red); margin-left: 2px; }

/* ---------- Domain cards ---------- */
.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.domain-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.domain-card:hover { border-color: #cfdcf5; box-shadow: var(--shadow); transform: translateY(-2px); }
.domain-card.is-sold { opacity: .82; }
.domain-card__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }

.domain-avatar {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 4px 10px rgba(15, 23, 42, .12);
}
.domain-avatar--lg { width: 60px; height: 60px; font-size: 24px; border-radius: 16px; }
.domain-avatar--xs { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }

.domain-tags { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 3px; min-width: 0; }
.wish-form { margin-left: auto; flex: none; }
.wish-btn {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  color: #94a3b8; cursor: pointer; transition: .15s;
}
.wish-btn:hover { color: #f59e0b; border-color: #fde3a7; background: #fffbeb; }
.wish-btn.is-active { color: #f59e0b; border-color: #fde3a7; background: #fffbeb; }
.wish-btn--lg { width: 42px; height: 42px; }
.wish-btn.is-active svg { filter: drop-shadow(0 2px 4px rgba(245, 158, 11, .25)); }

.domain-name { font-size: 19px; font-weight: 800; letter-spacing: -.025em; word-break: break-word; overflow-wrap: break-word; }
.domain-name.name--md { font-size: 17px; }
.domain-name.name--sm { font-size: 15.5px; letter-spacing: -.02em; }
.domain-name.name--xs { font-size: 14px; letter-spacing: -.015em; }
.domain-name a { color: var(--ink); }
.domain-name a:hover { color: var(--blue); }

.domain-niche { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.domain-niche .chip { font-size: 11px; padding: 3px 8px; }

.domain-stats {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 10px; margin: 15px 0 16px; padding: 12px;
  background: #f8fafd; border: 1px solid var(--line-2); border-radius: 11px;
}
.domain-stats > div { grid-column: span 2; }
.domain-stats > div:nth-child(4),
.domain-stats > div:nth-child(5) { grid-column: span 3; }
.domain-stats dt { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.domain-stats dd { margin: 1px 0 0; font-size: 15px; font-weight: 800; color: var(--ink-2); letter-spacing: -.02em; }

.domain-card__footer {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2);
}
.price-block { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; line-height: 1.25; }
.price-label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.domain-actions { display: flex; align-items: center; gap: 6px; }
.domain-actions > * { flex: 1 1 0; min-width: 0; }
.domain-actions form { margin: 0; display: flex; }
.domain-actions .btn { width: 100%; white-space: nowrap; padding-inline: 10px; }

.domain-grid.is-list { grid-template-columns: 1fr; }
.domain-grid.is-list .domain-card { padding: 20px 22px; }
.domain-grid.is-list .domain-name { font-size: 23px; }
.domain-grid.is-list .domain-name.name--md { font-size: 20px; }
.domain-grid.is-list .domain-name.name--sm { font-size: 18px; }
.domain-grid.is-list .domain-name.name--xs { font-size: 16px; }
.domain-grid.is-list .domain-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.domain-grid.is-list .domain-stats > div { grid-column: auto; }
.domain-grid.is-list .domain-card__footer { flex-direction: row; align-items: flex-end; justify-content: space-between; }
.domain-grid.is-list .price-block { flex-direction: column; align-items: flex-start; }
.domain-grid.is-list .domain-actions > * { flex: 0 0 auto; }

/* ---------- Pagination & empty ---------- */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.page-link {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px;
  border-radius: 9px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 13px; font-weight: 700;
}
.page-link:hover { border-color: var(--blue); color: var(--blue); }
.page-link.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-dots { color: var(--muted); padding: 0 2px; }

.empty-state {
  text-align: center; padding: 64px 24px; background: #fff;
  border: 1px dashed #d8e1f0; border-radius: var(--radius-xl);
}
.empty-state__icon { font-size: 36px; margin-bottom: 10px; }
.empty-state h1, .empty-state h2 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }

/* ---------- Section heads, steps, FAQ ---------- */
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 10px; color: var(--muted); }
.section-head--left { text-align: left; margin: 0 0 20px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 22px;
}
.step__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--blue-50); color: var(--blue);
  font-size: 14px; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 7px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 30px 14px 0;
  font-weight: 700; font-size: 14.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 500; color: var(--muted);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); font-size: 14px; padding-bottom: 6px; }

/* ---------- Detail page ---------- */
.section.detail { padding-top: 30px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 28px; align-items: start; }
.detail-main { display: grid; gap: 18px; min-width: 0; }
.detail-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.detail-head__text { flex: 1; min-width: 0; }
.detail-head h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; margin-top: 4px; word-break: break-word; overflow-wrap: break-word; }
.detail-head h1.name--md { font-size: clamp(22px, 2.6vw, 30px); }
.detail-head h1.name--sm { font-size: clamp(20px, 2.2vw, 26px); }
.detail-head h1.name--xs { font-size: clamp(18px, 2vw, 23px); }
.detail-head p { margin: 6px 0 0; font-size: 14px; }

.stat-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 12px; text-align: center;
}
.stat-card span { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-card strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.stat-card small { display: block; font-size: 9.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .08em; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: 17px; margin-bottom: 10px; }
.panel p { color: #475569; font-size: 14px; }
.detail-table { display: grid; }
.detail-table > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.detail-table > div:last-child { border-bottom: 0; }
.detail-table dt { color: var(--muted); }
.detail-table dd { text-align: right; font-weight: 600; }

.buy-box { position: sticky; top: 88px; display: grid; gap: 12px; }
.buy-box__inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.buy-box__price { font-size: 34px; font-weight: 800; letter-spacing: -.04em; margin: 2px 0 4px; }
.buy-box__note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.buy-box__inner .btn + .btn { margin-top: 9px; }
.buy-box__help { background: var(--blue-50); border: 1px solid #dbe7ff; border-radius: var(--radius); padding: 15px 17px; }
.buy-box__help strong { font-size: 13.5px; }
.buy-box__help p { font-size: 12.5px; color: #475569; margin: 4px 0 8px; }
.buy-box__help a { font-size: 12.5px; font-weight: 700; }

.trust-list { display: grid; gap: 8px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line-2); }
.trust-list li { display: flex; gap: 8px; font-size: 12.5px; color: #475569; line-height: 1.45; }
.trust-list li span { color: var(--green); font-weight: 800; }
.trust-list--sm { margin-top: 12px; padding-top: 12px; }

.related { margin-top: 42px; }
.related .domain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Page head, cart, checkout ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin: 6px 0 0; font-size: 14px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 342px; gap: 24px; align-items: start; }
.cart-list { display: grid; gap: 10px; }
.cart-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 18px;
}
.cart-item__name { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.cart-item__name:hover { color: var(--blue); }
.cart-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.cart-item__price { font-weight: 800; font-size: 15px; white-space: nowrap; }
.link-danger { background: none; border: 0; color: var(--red); font-size: 12px; font-weight: 700; cursor: pointer; padding: 4px; }
.link-danger:hover { text-decoration: underline; }

.summary-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 88px;
}
.summary-card h2 { font-size: 16px; margin-bottom: 14px; }
.summary-list { display: grid; gap: 9px; margin-bottom: 16px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted); }
.summary-list dd { color: var(--ink); font-weight: 600; }
.summary-total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 15px !important; }
.summary-total dt { color: var(--ink); font-weight: 800; }
.summary-total dd { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.summary-note { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 12px; }

.summary-domains { display: grid; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.summary-domains li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.summary-domains li div { display: grid; min-width: 0; }
.summary-domains strong { font-size: 13px; word-break: break-word; }
.summary-domains small { color: var(--muted); font-size: 11px; }
.summary-domains > li > span { font-weight: 700; white-space: nowrap; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 24px; align-items: start; }
.checkout-form h2 { font-size: 17px; margin-bottom: 16px; }
.checkout-form .check-row { margin-top: 6px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.field { display: grid; gap: 5px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: #334155; }
.field > span em { color: var(--red); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 9px;
  font: 500 14px/1.5 var(--font); color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue-600); outline: 0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
.field input:disabled { background: #f7f9fc; color: var(--muted); }
.field small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #ef9a9a; }
.field-error { color: var(--red) !important; font-size: 11.5px !important; font-weight: 600; }
.field--inline { margin: 0; min-width: 220px; }
.form-footnote { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Order page ---------- */
.success-hero {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 44px 28px; margin-bottom: 22px;
}
.success-hero__icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-50);
  color: var(--green); font-size: 28px; font-weight: 800;
  border: 1px solid #c9f2da;
}
.success-hero h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; }
.success-hero p { max-width: 560px; margin: 10px auto 0; color: var(--muted); }
.success-hero__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.order-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.order-card__head h2 { font-size: 22px; letter-spacing: -.02em; }
.order-steps { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.order-steps li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex: 1; min-width: 160px; }
.order-steps__dot {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #f1f4f9; color: var(--muted); font-size: 11px; font-weight: 800; flex: none;
}
.order-steps li.is-done .order-steps__dot { background: var(--green-50); color: var(--green); }
.order-steps li.is-current { color: var(--ink); font-weight: 700; }

.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 20px; }
.order-grid h3 { font-size: 14px; margin-bottom: 10px; }
.order-items { display: grid; gap: 10px; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.order-items li div { display: grid; gap: 2px; }
.order-items a { font-weight: 700; color: var(--ink); }
.order-items small { color: var(--muted); font-size: 11px; }
.order-total { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; font-weight: 800; }
.order-total strong { font-size: 19px; }
.order-contact .detail-table > div { font-size: 13px; }
.ordered-list { list-style: decimal; padding-left: 20px; display: grid; gap: 8px; color: #475569; font-size: 14px; }
.ordered-list--sm { font-size: 12.5px; gap: 6px; }
.ordered-list li::marker { color: var(--muted); font-weight: 700; }

/* ---------- Sell page ---------- */
.sell-layout { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 44px; align-items: start; }
.sell-intro h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 12px; }
.sell-intro > p { color: var(--muted); font-size: 15.5px; max-width: 520px; }
.benefit-list { display: grid; gap: 16px; margin: 26px 0; }
.benefit-list li { display: flex; gap: 12px; }
.benefit-list li > span {
  width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-50); color: var(--green); font-size: 13px; font-weight: 800;
}
.benefit-list strong { display: block; font-size: 14px; }
.benefit-list p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.sell-note { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; padding: 15px 18px; }
.sell-note strong { font-size: 13.5px; }
.sell-note p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.sell-form-card { position: sticky; top: 88px; }
.sell-form-card h2 { font-size: 18px; margin-bottom: 16px; }

/* ---------- Prose / legal ---------- */
.prose h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 6px; }
.prose h2 { font-size: 18px; margin: 28px 0 8px; }
.prose p { color: #475569; line-height: 1.8; font-size: 14.5px; }
.prose a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 48px 0 0; margin-top: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer-brand p { font-size: 13px; max-width: 300px; margin: 14px 0 0; line-height: 1.65; }
.footer-brand .footer-note { color: #64748b; font-size: 11.5px; }
.site-footer h3 { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #e2e8f0; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer li { font-size: 13px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px;
  font-size: 11.5px; color: #64748b;
}
.footer-bottom__pay { color: #94a3b8; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 11px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-lg); transform: translateY(12px); opacity: 0;
  transition: .25s; max-width: min(360px, calc(100vw - 40px));
}
.toast.is-visible { transform: none; opacity: 1; }
.toast.is-error { background: #991b1b; }

/* ---------- Install ---------- */
.install-page { background: linear-gradient(160deg, #eef3ff, #f8fafc 55%); min-height: 100vh; padding: 40px 20px 70px; }
.install-wrap { max-width: 660px; margin: 0 auto; }
.install-brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 22px; font-size: 19px; }
.install-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow); }
.install-card h1 { font-size: 26px; margin-bottom: 6px; }
.install-card > .muted { font-size: 13.5px; }
.install-card form { margin-top: 20px; }
.install-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.install-report { list-style: disc; padding-left: 20px; margin: 12px 0; color: #475569; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 312px; }
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .related .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 105px auto auto 0; width: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 18px 16px;
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .mobile-toggle { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .header-login { display: none; }

  .market__layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 120;
    width: min(340px, 88vw); overflow-y: auto; background: #fff;
    padding: 16px; transform: translateX(-102%);
    transition: transform .25s ease; box-shadow: 20px 0 60px rgba(15, 23, 42, .2);
  }
  .sidebar.is-open { transform: none; }
  .sidebar__close { display: grid; }
  body.filter-open { overflow: hidden; }
  body.filter-open::before {
    content: ''; position: fixed; inset: 0; background: rgba(15, 23, 42, .45);
    z-index: 110; backdrop-filter: blur(2px);
  }
  .filter-toggle { display: inline-flex; }

  .detail-grid { grid-template-columns: 1fr; }
  .buy-box { position: static; grid-row: 1; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .sell-layout { grid-template-columns: 1fr; gap: 26px; }
  .sell-form-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .section { padding: 34px 0 52px; }
  .hero { padding: 34px 0 30px; }
  .hero__sub { font-size: 14.5px; }
  .search-form { padding: 6px 6px 6px 12px; }
  .search-form .btn { padding: 11px 14px; font-size: 13px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 28px; width: 100%; }
  .hero-stats dd { font-size: 20px; }
  .domain-grid { grid-template-columns: 1fr; }
  .domain-grid.is-list .domain-stats { grid-template-columns: repeat(3, 1fr); }
  .topbar__inner { font-size: 10.5px; gap: 6px; min-height: 30px; }
  .topbar__inner span:nth-child(n+4) { display: none; }
  .site-header__inner { min-height: 62px; gap: 10px; }
  .main-nav { inset-block-start: 97px; }
  .detail-head h1 { font-size: 24px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-card strong { font-size: 21px; }
  .panel { padding: 18px; }
  .cart-item { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .cart-item__price { grid-column: 2; }
  .cart-item__remove { grid-column: 2; justify-self: start; }
  .order-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-grid, .form-grid--2, .form-grid--3, .form-grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .success-hero { padding: 32px 18px; }
  .page-head { align-items: flex-start; }
  .toolbar { gap: 10px; }
  .toolbar__actions { width: 100%; justify-content: space-between; }
  .active-filters { font-size: 11px; }
}

@media (max-width: 460px) {
  .logo__text { font-size: 17px; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 36px; height: 36px; }
  .search-form .btn { width: 42px; padding: 0; height: 42px; font-size: 0; }
  .search-form .btn::before { content: '→'; font-size: 18px; }
  .domain-grid.is-list .domain-card__footer { flex-direction: column; align-items: stretch; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .order-steps li { min-width: 100%; }
}


/* ---------- Marketplace backlink: detail, brief, order ---------- */
.detail-table--compact > div { padding: 6px 0; font-size: 13px; }
.detail-table--compact dt { font-size: 12.5px; }
.trust-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 4px; padding-top: 0; border-top: 0; }

.brief-panel { display: grid; gap: 14px; }
.brief-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.brief-panel__head h2 { margin-bottom: 3px; }
.brief-panel__head p { font-size: 12.5px; }
.brief-panel__price { font-size: 17px; font-weight: 800; white-space: nowrap; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form-actions--end { justify-content: flex-end; }
.form-actions--end .btn--ghost { margin-right: auto; }

.order-items--brief li { align-items: flex-start; }
.order-items--brief small { display: block; word-break: break-all; }
.order-item__status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 5px; }
.order-item__status a { font-size: 11.5px; color: var(--blue); font-weight: 700; }
.order-items--brief li > span { white-space: nowrap; font-weight: 800; }

/* ---------- Auth member ---------- */
.auth-section { padding-top: 44px; }
.auth-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--shadow);
}
.auth-panel h1 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 6px; }
.auth-panel > p.muted { font-size: 13.5px; margin-bottom: 18px; }
.auth-panel form { display: grid; gap: 12px; }
.auth-panel .form-grid { gap: 12px; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot a { font-weight: 700; color: var(--blue); }

/* ---------- Area akun member ---------- */
.account-section { padding-top: 30px; }
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-sidebar { display: grid; gap: 12px; position: sticky; top: 88px; }
.account-balance {
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
  border-radius: var(--radius-lg); padding: 18px 20px; color: #fff;
  display: grid; gap: 4px; box-shadow: 0 10px 24px rgba(29, 78, 216, .22);
}
.account-balance span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .82; }
.account-balance strong { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.account-balance .btn { margin-top: 10px; background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; border-color: rgba(255, 255, 255, .28); }
.account-balance .btn:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px; display: grid; gap: 2px; box-shadow: var(--shadow-sm); }
.account-nav__link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.account-nav__link:hover { background: #f4f7fc; color: var(--blue); }
.account-nav__link.is-active { background: var(--blue-50); color: var(--blue-700); font-weight: 800; }
.account-nav__link svg { flex: none; opacity: .75; }
.account-main { display: grid; gap: 16px; min-width: 0; }
.page-head--account { margin-bottom: 0; }
.page-head--account h1 { font-size: clamp(22px, 2.4vw, 28px); }
.stat-cards--account { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-cards--account .stat-card small { letter-spacing: 0; font-size: 10.5px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.panel__head h2 { margin-bottom: 0; }
.account-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.account-columns__side { display: grid; gap: 16px; }

.bank-box { background: var(--blue-50); border: 1px dashed #b9cdf5; border-radius: var(--radius); padding: 13px 16px; margin-bottom: 16px; }
.bank-box__label { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-700); margin-bottom: 4px; }
.bank-box__value { font-family: inherit; font-size: 13.5px; font-weight: 700; white-space: pre-wrap; margin: 0; color: var(--ink); }

.live-list, .tx-list { display: grid; gap: 0; }
.live-list li, .tx-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 13px;
}
.live-list li:last-child, .tx-list li:last-child { border-bottom: 0; }
.live-list strong, .tx-list strong { display: block; font-size: 13.5px; font-weight: 700; }
.live-list small, .tx-list small { display: block; color: var(--muted); font-size: 11.5px; word-break: break-word; }
.tx-list__right { text-align: right; display: grid; gap: 3px; justify-items: end; }
.tx-amount { font-weight: 800; white-space: nowrap; }
.tx-amount--in { color: var(--green); }
.tx-amount--out { color: var(--red); }

.order-list { display: grid; gap: 10px; }
.order-row {
  display: grid; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.order-row__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-row__head strong { display: block; font-size: 15px; }
.order-row__head small { color: var(--muted); font-size: 11.5px; }
.order-row__meta { display: flex; gap: 24px; flex-wrap: wrap; }
.order-row__meta dt { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.order-row__meta dd { font-size: 13.5px; font-weight: 700; margin: 0; }
.order-row .btn { justify-self: start; }

.toolbar--flat { padding: 0; margin-bottom: 14px; background: none; border: 0; box-shadow: none; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 12px; font-weight: 700; color: var(--ink-2);
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.table td { padding: 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 1024px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-columns { grid-template-columns: 1fr; }
  .stat-cards--account { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list--grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .account-nav { grid-template-columns: 1fr; }
  .stat-cards--account { grid-template-columns: 1fr 1fr; }
  .auth-panel { padding: 22px 18px; }
  .form-actions--end { flex-direction: column-reverse; align-items: stretch; }
  .form-actions--end .btn { width: 100%; }
  .order-row__meta { gap: 16px; }
  .live-list li, .tx-list li { align-items: flex-start; }
  .table thead { display: none; }
  .table tbody tr { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .table td { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; border: 0; }
  .table td::before { content: attr(data-label); font-size: 11px; font-weight: 700; color: var(--muted); }
  .table td:last-child { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Atribut hidden harus selalu menang atas display: grid/flex */
[hidden] { display: none !important; }

/* ---------- Halaman kontak ---------- */
.page-hero--compact {
  background: linear-gradient(180deg, #f4f7ff 0%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
  padding: 34px 0 30px;
}
.page-hero--compact h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.page-hero__sub { max-width: 640px; margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.page-hero--compact .breadcrumb { margin-bottom: 14px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 28px; align-items: start; }
.contact-main { min-width: 0; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-form .field:last-of-type { margin-bottom: 0; }
.field-row { display: grid; gap: 14px; }
.field-row--2 { grid-template-columns: 1fr 1fr; }
.field-row .field { margin-bottom: 14px; }
.field-hint { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }
.form-note a { color: var(--blue); font-weight: 600; }

.field--captcha { margin-top: 4px; }
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-img {
  border: 1.5px solid var(--line); border-radius: 9px; background: #eef4ff;
  display: block; max-width: 100%; height: auto;
  width: 200px; image-rendering: auto;
}
.captcha-input { max-width: 260px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }

.contact-side { display: grid; gap: 14px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px;
}
.contact-card h2 { font-size: 15px; margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.contact-card .btn + .btn { margin-top: 8px; }
.contact-card .muted { font-size: 12px; }
.contact-list { display: grid; gap: 9px; font-size: 13px; }
.contact-list li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.contact-list li span { color: var(--muted); }
.contact-list li strong { font-weight: 700; white-space: nowrap; }
.contact-list--plain { display: grid; gap: 10px; }
.contact-list--plain li { display: block; color: var(--muted); line-height: 1.55; }
.contact-list--plain a { color: var(--blue); font-weight: 600; }

@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .contact-form { padding: 18px; }
  .field-row--2 { grid-template-columns: 1fr; }
  .contact-card { padding: 16px; }
  .captcha-img { width: 100%; max-width: 260px; }
  .captcha-input { max-width: 100%; }
}
