/**
 * Halotangsel.id — Public Frontend Design System
 * Minimal-modern: latar abu lembut, kartu putih bersudut besar, tombol pill gelap, aksen hijau brand.
 * Menggantikan CSS template lama (style.css, shortcodes.css, responsive.css, mobile.css, dashboard.css).
 * Bootstrap 5 tetap dimuat sebagai fondasi grid/modal/form dan di-reskin di file ini + halotangsel-member.css.
 */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    --bg: #f3f4f1;
    --bg-deep: #e9ebe6;
    --surface: #ffffff;
    --surface-2: #f7f8f5;
    --line: #e5e7e2;
    --line-strong: #d4d7d0;

    --ink: #0e1311;
    --ink-2: #1c2420;
    --text: #3a413d;
    --muted: #767e79;
    --muted-2: #a3aaa5;

    --accent: #14a077;
    --accent-strong: #0e8562;
    --accent-bright: #3fdc8e;
    --accent-soft: #e1f5ec;
    --accent-ink: #ffffff;

    --dark: #0f1a16;
    --dark-2: #17251f;
    --dark-line: rgba(255, 255, 255, .09);

    --orange: #f08a3c;
    --orange-soft: #fdeedf;
    --red: #e0484e;
    --red-soft: #fde7e7;
    --blue: #2f6fe0;
    --blue-soft: #e6eefc;
    --yellow-soft: #fdf5d8;

    --r-2xl: 36px;
    --r-xl: 28px;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 12px;
    --r-xs: 8px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(14, 19, 17, .05);
    --shadow-sm: 0 1px 2px rgba(14, 19, 17, .04), 0 8px 24px -12px rgba(14, 19, 17, .12);
    --shadow-md: 0 2px 6px rgba(14, 19, 17, .04), 0 22px 44px -22px rgba(14, 19, 17, .25);
    --shadow-lg: 0 34px 80px -30px rgba(14, 19, 17, .38);

    --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1320px;
    --gutter: 24px;
    --header-h: 76px;
    --ease: cubic-bezier(.22, .8, .24, 1);

    /* Bootstrap bridge */
    --bs-body-font-family: var(--font);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-emphasis-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-border-radius: var(--r-sm);
    --bs-border-radius-lg: var(--r-md);
    --bs-link-color: var(--ink);
    --bs-link-color-rgb: 14, 19, 17;
    --bs-link-hover-color: var(--accent);
    --bs-link-hover-color-rgb: 20, 160, 119;
    --bs-primary: var(--ink);
    --bs-primary-rgb: 14, 19, 17;
    --bs-success: var(--accent);
    --bs-success-rgb: 20, 160, 119;
    --bs-secondary-color: var(--muted);
    --bs-tertiary-bg: var(--surface-2);
    --bs-tertiary-bg-rgb: 247, 248, 245;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
strong, b { font-weight: 700; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.ph { line-height: 1; }
.min-w-0 { min-width: 0; }
/* Lompat ke anchor (#iklan, #lowongan, #riwayat) tidak tertutup header yang menempel */
section[id], [id].scroll-target { scroll-margin-top: calc(var(--header-h) + 28px); }

.wrap {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); margin-inline: auto; }
.wrap-mid { max-width: calc(1080px + var(--gutter) * 2); margin-inline: auto; }

.section { padding-block: 72px; }
.section-sm { padding-block: 44px; }
.section-flush-top { padding-top: 0; }

.site-main { min-height: 50vh; }

/* ==========================================================================
   3. TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1;
}
.eyebrow::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(63, 220, 142, .18);
}
.eyebrow--light { color: #fff; }

.display {
    font-size: clamp(40px, 6.4vw, 84px);
    line-height: .98;
    letter-spacing: -0.045em;
    font-weight: 800;
}
.display .thin, .h-xl .thin, .h-lg .thin { font-weight: 300; }
.display .muted, .h-xl .muted, .h-lg .muted { color: var(--muted-2); }

.h-xl { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.h-lg { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.h-md { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.025em; }
.h-sm { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }

.lead { font-size: 17px; color: var(--muted); line-height: 1.65; }
.text-muted-ht { color: var(--muted); }
.text-accent { color: var(--accent) !important; }
.tnum { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.ui-btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    --btn-bd: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--btn-bd);
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.ui-btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.ui-btn:active { transform: translateY(0); }
.ui-btn .ph { font-size: 17px; }
.ui-btn .arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: -8px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ui-btn .arrow .ph { font-size: 13px; }

.ui-btn--accent { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.ui-btn--accent:hover { --btn-bg: var(--accent-strong); --btn-bd: var(--accent-strong); }
.ui-btn--bright { --btn-bg: var(--accent-bright); --btn-bd: var(--accent-bright); --btn-fg: var(--ink); }
.ui-btn--light { --btn-bg: #fff; --btn-bd: var(--line); --btn-fg: var(--ink); }
.ui-btn--light:hover { --btn-bd: var(--line-strong); }
.ui-btn--ghost { --btn-bg: transparent; --btn-bd: var(--line-strong); --btn-fg: var(--ink); }
.ui-btn--ghost:hover { --btn-bg: #fff; }
.ui-btn--soft { --btn-bg: var(--surface-2); --btn-bd: var(--surface-2); --btn-fg: var(--ink); }
.ui-btn--white { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--ink); }
.ui-btn--wa { --btn-bg: #1fb35b; --btn-bd: #1fb35b; }
.ui-btn--wa:hover { --btn-bg: #179a4c; --btn-bd: #179a4c; }
.ui-btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.ui-btn--lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.ui-btn--block { width: 100%; }
.ui-btn--icon { width: 46px; padding: 0; }
.ui-btn--icon.ui-btn--sm { width: 36px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.link-arrow .ph { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .ph { transform: translateX(3px); }

/* Tombol bulat kecil (navigasi slider, aksi ikon) */
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* ==========================================================================
   5. CHIPS, BADGES, PILLS
   ========================================================================== */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.chip .ph { font-size: 15px; color: var(--muted); }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); color: #fff; }

.tag-soft {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.pill-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--r-pill);
    background: rgba(14, 19, 17, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
}

/* Status (AdStatus::badgeClass / OrderStatus::frontClass) */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.style { background: var(--orange-soft); color: #b85e16; }
.status-pill.style-2 { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.status-pill.style-3 { background: var(--red-soft); color: #b8262c; }
.status-pill.color-3 { background: var(--accent-soft); color: var(--accent-strong); }

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 12px 0;
    background: linear-gradient(var(--bg) 60%, rgba(243, 244, 241, 0));
    transition: padding .25s var(--ease);
}
.site-header.is-scrolled { padding: 8px 0; }

.nav-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 8px 8px 8px 22px;
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(14, 19, 17, .06);
    box-shadow: var(--shadow-sm);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; height: 18px; width: auto; }

.nav-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px 0 12px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background .2s var(--ease);
}
.nav-cat-btn .ph { font-size: 18px; }
.nav-cat-btn .caret { font-size: 12px; transition: transform .25s var(--ease); }
.nav-cat-btn:hover, .nav-cat-btn[aria-expanded="true"] { background: var(--bg-deep); }
.nav-cat-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 520px;
}
.nav-search input {
    width: 100%;
    height: 44px;
    padding: 0 52px 0 44px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--ink);
    font-size: 14px;
    outline: 0;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nav-search input::placeholder { color: var(--muted-2); }
.nav-search input:focus { background: #fff; border-color: var(--line-strong); }
.nav-search > .ph {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 17px;
    pointer-events: none;
}
.nav-search button {
    position: absolute;
    right: 4px; top: 4px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-links a {
    padding: 10px 14px;
    border-radius: var(--r-pill);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-login { padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-login:hover { color: var(--accent); }

.nav-burger {
    display: none;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 20px;
    place-items: center;
}

/* Quick links bawah header */

/* Akun */
.acct { position: relative; }
.acct-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 4px 12px 4px 4px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.acct-btn img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.acct-btn .name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-btn .caret { font-size: 12px; color: var(--muted); }

.pop {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    min-width: 240px;
    padding: 8px;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.is-open > .pop { opacity: 1; visibility: visible; transform: none; }

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--r-sm);
    background: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}
.menu-link .ph { font-size: 18px; color: var(--muted); }
.menu-link:hover, .menu-link.is-active { background: var(--surface-2); color: var(--ink); }
.menu-link:hover .ph, .menu-link.is-active .ph { color: var(--ink); }
.menu-sep { height: 1px; margin: 6px 4px; background: var(--line); border: 0; }

/* Mega menu kategori */
.mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 380px;
    border-radius: var(--r-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__list {
    padding: 12px;
    background: var(--surface-2);
    border-right: 1px solid var(--line);
    max-height: 70vh;
    overflow-y: auto;
}
.mega__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--r-sm);
    background: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}
.mega__item i:first-child {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    flex-shrink: 0;
}
.mega__item .chev { margin-left: auto; font-size: 12px; color: var(--muted-2); }
.mega__item:hover, .mega__item.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.mega__item.is-active i:first-child { background: var(--ink); color: #fff; }
.mega__panes { padding: 28px 32px; max-height: 70vh; overflow-y: auto; }
.mega__pane { display: none; }
.mega__pane.is-active { display: block; animation: fadeUp .3s var(--ease); }
.mega__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mega__head h3 { font-size: 22px; }
.mega__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.mega__cols h6 {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.mega__links.one { grid-template-columns: 1fr; }
.mega__links a {
    display: block;
    padding: 7px 0;
    color: var(--text);
    font-size: 14px;
}
.mega__links a:hover { color: var(--accent); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   7. MOBILE DRAWER
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 1060; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(14, 19, 17, .45);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
    position: absolute;
    top: 8px; right: 8px; bottom: 8px;
    width: min(400px, calc(100% - 16px));
    display: flex;
    flex-direction: column;
    border-radius: var(--r-xl);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    transform: translateX(calc(100% + 16px));
    transition: transform .35s var(--ease);
    overflow: hidden;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 20px; }
.drawer__head .brand img { height: 30px; }
.drawer__close {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: #fff; color: var(--ink); font-size: 18px;
}
.drawer__search { padding: 0 16px 12px; }
.drawer__search .nav-search { max-width: none; }
.drawer__search .nav-search input { background: #fff; }
.drawer__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 0 16px 12px;
    padding: 4px;
    border-radius: var(--r-pill);
    background: var(--bg-deep);
}
.drawer__tabs button {
    height: 38px;
    border: 0;
    border-radius: var(--r-pill);
    background: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}
.drawer__tabs button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 16px 16px; }
.drawer__pane { display: none; }
.drawer__pane.is-active { display: block; }
.drawer__group { padding: 6px; border-radius: var(--r-lg); background: #fff; }
.drawer__group + .drawer__group { margin-top: 10px; }

.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 0; }
.acc-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    list-style: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .ph:first-child { font-size: 18px; color: var(--muted); }
.acc-item summary .chev { margin-left: auto; font-size: 13px; color: var(--muted-2); transition: transform .25s var(--ease); }
.acc-item[open] summary .chev { transform: rotate(180deg); }
.acc-item .acc-links { display: grid; padding: 0 12px 10px 42px; }
.acc-item .acc-links a { padding: 7px 0; color: var(--text); font-size: 14px; }
.acc-item .acc-links a:hover { color: var(--accent); }

.drawer__foot { padding: 12px 16px 16px; display: grid; gap: 10px; }
.drawer__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--r-lg);
    background: #fff;
}
.drawer__contact .ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 18px; }
.drawer__contact small { display: block; color: var(--muted); font-size: 12px; }
.drawer__contact a { color: var(--ink); font-weight: 700; }
.drawer__contact .socials { margin-left: auto; display: flex; gap: 6px; }

body.is-locked { overflow: hidden; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer { padding: 0px 12px 12px; }
.footer-card {
    position: relative;
    padding: 56px 56px 28px;
    border-radius: var(--r-2xl);
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    overflow: hidden;
}
.footer-card::before {
    content: "";
    position: absolute;
    right: -120px; top: -160px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 220, 142, .22), rgba(63, 220, 142, 0) 70%);
    pointer-events: none;
}
.footer-top {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--dark-line);
}
.footer-top .brand img { height: 18px; filter: brightness(0) invert(1); }
.footer-top h2 {
    max-width: 560px;
    margin-top: 22px;
    color: #fff;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 300;
    letter-spacing: -0.035em;
}
.footer-top h2 b { font-weight: 800; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}
.footer-grid h6 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer-grid p { font-size: 14px; line-height: 1.7; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer-links a:hover { color: var(--accent-bright); }

.footer-help {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 12px 14px;
    border-radius: var(--r-lg);
    background: var(--dark-2);
    border: 1px solid var(--dark-line);
}
.footer-help .ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-bright); color: var(--ink); font-size: 18px; flex-shrink: 0; }
.footer-help small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-help a { color: #fff; font-weight: 700; }

.socials { display: flex; gap: 8px; }
.socials a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-card .socials a { border-color: var(--dark-line); color: #fff; }
.footer-card .socials a:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }

.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-logos li {
    display: grid;
    place-items: center;
    width: 64px; height: 38px;
    padding: 6px;
    border-radius: 10px;
    background: #fff;
}
.pay-logos img { max-width: 100%; max-height: 100%; }

.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-line);
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); }
.footer-bottom img { height: 12px; width: auto; }

/* Tombol ke atas */
#scroll-top {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 1020;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    cursor: pointer;
}
#scroll-top.show { opacity: 1; visibility: visible; transform: none; }
#scroll-top:hover { background: var(--accent); color: #fff; }

/* Toast favorit (favorites.js) */
#favorite-toast {
    position: fixed;
    left: 50%; bottom: 24px;
    z-index: 2000;
    padding: 12px 20px;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
#favorite-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   9. SECTION HEAD & PAGE HEAD
   ========================================================================== */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head p { margin-top: 10px; color: var(--muted); max-width: 520px; }
.sec-head__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.page-head { padding: 28px 0 36px; }
.page-head__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.page-head h1 { font-size: clamp(18px, 4vw, 28px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.page-head p.sub { margin-top: 12px; color: var(--muted); max-width: 620px; font-size: 16px; }
.page-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-head--compact { padding: 20px 0 24px; }
.page-head--compact h1 { font-size: clamp(26px, 3vw, 38px); }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--muted);
}
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; color: var(--muted-2); margin-right: 2px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs li:last-child a, .crumbs li:last-child span { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   10. HOME
   ========================================================================== */

/* Section pertama beranda: beri jarak dari header */
.hero-banners { padding: 32px 0 16px; }
.hero-banners .swiper { overflow: visible; }
.hero-banners .swiper-slide a {
    display: block;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.hero-banners .swiper-slide img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.hero-banners .swiper-slide a:hover img { transform: scale(1.02); }
.hero-banners-clip { overflow: hidden; }
.hero-banners .swiper-pagination { position: static; margin-top: 18px; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: var(--ink); opacity: .18; transition: width .25s var(--ease), opacity .25s; }
.swiper-pagination-bullet-active { width: 26px; border-radius: 6px; opacity: 1; background: var(--ink); }

/* Bento kategori */
.cat-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    min-height: 150px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.cat-tile__icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 24px;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.cat-tile:hover .cat-tile__icon { background: var(--accent); color: #fff; }
.cat-tile__name { color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.cat-tile__go {
    position: absolute;
    top: 18px; right: 18px;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    transition: transform .25s var(--ease), background .25s var(--ease);
}
.cat-tile:hover .cat-tile__go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
.cat-tile--dark { background: var(--dark); }
.cat-tile--dark .cat-tile__name { color: #fff; }
.cat-tile--dark .cat-tile__icon { background: rgba(255,255,255,.08); color: var(--accent-bright); }
.cat-tile--dark .cat-tile__go { border-color: var(--dark-line); color: #fff; }
.cat-tile--dark small { color: rgba(255,255,255,.6); font-size: 13px; }

/* Blok gelap (Iklan Premium) */
.dark-block {
    position: relative;
    padding: 48px;
    border-radius: var(--r-2xl);
    background: var(--dark);
    color: rgba(255,255,255,.72);
    overflow: hidden;
}
.dark-block::after {
    content: "";
    position: absolute;
    left: -140px; bottom: -200px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 220, 142, .18), rgba(63, 220, 142, 0) 70%);
    pointer-events: none;
}
.dark-block h2, .dark-block h3 { color: #fff; }
.dark-block .sec-head p { color: rgba(255,255,255,.6); }
.dark-block .eyebrow { color: #fff; }
.premium-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.premium-grid a {
    display: block;
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .3s var(--ease);
}
.premium-grid a:hover { transform: translateY(-4px); }
.premium-grid img { display: block; width: 100%; height: auto; }

/* CTA band */
.cta-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 48px;
    border-radius: var(--r-2xl);
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 45%, var(--accent-soft) 100%);
    overflow: hidden;
}
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cta-band p { margin-top: 12px; color: var(--muted); }

/* ==========================================================================
   11. LISTING CARD (iklan) — jangan pakai nama class "ads-card" (diblokir ad blocker)
   ========================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.listing-card__media {
    position: relative;
    margin: 8px 8px 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
    aspect-ratio: 4 / 3;
}
.listing-card__media img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.listing-card:hover .listing-card__media img { transform: scale(1.04); }
.listing-card__media .pill-unavailable { position: absolute; left: 10px; top: 10px; }
.listing-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.listing-card__price { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.listing-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
}
.listing-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    font-size: 12px;
    color: var(--muted);
}
.listing-card__meta span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.listing-card__meta span > :not(img):not(.ph) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-card__meta .seller { color: var(--ink); font-weight: 600; }
.listing-card__meta img { width: 14px; height: 14px; flex-shrink: 0; }
.listing-card__meta .ph { font-size: 14px; flex-shrink: 0; }
.listing-card.is-unavailable .listing-card__media img { filter: grayscale(1); opacity: .6; }

/* Tombol favorit (favorites.js: [data-favorite-url] + .active) */
.fav-btn {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 3;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    font-size: 17px;
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.active { background: var(--red); color: #fff; }
.fav-btn.is-busy { opacity: .6; pointer-events: none; }

/* Slider kartu iklan */
.ads-swiper { overflow: hidden; padding: 4px; margin: -4px; }
.ads-swiper .swiper-slide { height: auto; }

/* ==========================================================================
   12. JOB CARD
   ========================================================================== */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.job-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.job-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: #fff;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.job-card__top { display: flex; align-items: flex-start; gap: 14px; padding-right: 40px; }
.job-card__logo {
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    object-fit: cover;
}
.job-card__company { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
.job-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.job-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.job-card__chips .chip { padding: 5px 10px; font-size: 12px; background: var(--surface-2); border-color: var(--surface-2); }
.job-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}
.job-card__salary { color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.job-card__salary small { color: var(--muted); font-size: 12px; font-weight: 500; }
.job-card__go {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 14px;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.job-card:hover .job-card__go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.job-card .fav-btn { top: 16px; right: 16px; background: var(--surface-2); box-shadow: none; }
.job-card .fav-btn.active { background: var(--red); }
.job-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.job-card.is-unavailable { opacity: .7; }

/* ==========================================================================
   13. LISTING PAGE (filter + hasil)
   ========================================================================== */
.listing-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.widget-filter {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    padding: 20px;
    border-radius: var(--r-xl);
    background: #fff;
    scrollbar-width: thin;
}
.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
}
.filter-group + .filter-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.filter-group > label.title, .filter-group > .title {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.category-tree { margin: 0; padding: 0; list-style: none; }
.category-tree ul { margin: 0; padding: 0; list-style: none; }
.tree-row { display: flex; align-items: center; gap: 4px; }
.tree-toggle {
    width: 26px; height: 26px;
    display: grid; place-items: center;
    flex-shrink: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--muted);
    padding: 0;
}
.tree-toggle:hover { background: var(--surface-2); color: var(--ink); }
.tree-toggle .chevron { display: inline-block; font-size: 16px; line-height: 1; transition: transform .2s var(--ease); }
.tree-parent.active > .tree-row .tree-toggle .chevron { transform: rotate(90deg); }
.tree-toggle-placeholder { width: 26px; flex-shrink: 0; }
.tree-children { display: none; padding-left: 14px !important; }
.tree-parent.active > .tree-children { display: block; }
.category-tree .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 6px 4px;
    min-height: 0;
    cursor: pointer;
}
.category-tree .form-check-input { float: none; margin: 0; flex-shrink: 0; }
.category-tree .form-check-label { flex: 1; min-width: 0; color: var(--text); font-size: 14px; cursor: pointer; }
.category-tree .tree-parent > .tree-row .form-check-label { color: var(--ink); font-weight: 600; }
.category-count {
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}
.tree-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    font-size: 12px;
    color: var(--muted);
}
.tree-footer button {
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
}

/* Tombol filter ponsel (dibuat listing-filter.js) */
.mobile-filter-toggle { display: none; }

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 10px 10px 20px;
    border-radius: var(--r-pill);
    background: #fff;
}
.results-bar__count { color: var(--muted); font-size: 14px; }
.results-bar__count b { color: var(--ink); font-size: 16px; font-weight: 800; }
.results-bar__left { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.results-bar__sort { min-width: 190px; }

.custom-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.custom-tags .tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 4px 4px 12px;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 600;
}
.custom-tags .tag-remove {
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(14, 133, 98, .14);
    color: var(--accent-strong);
    font-size: 14px;
    line-height: 1;
}
.custom-tags .tag-remove:hover { background: var(--accent-strong); color: #fff; }

.empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 64px 24px;
    border-radius: var(--r-xl);
    background: #fff;
    text-align: center;
    color: var(--muted);
}
.empty-state .ico {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 20px;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 28px;
}
.empty-state h3 { font-size: 20px; }
.empty-state a:not(.ui-btn) { color: var(--accent); font-weight: 600; }

/* Paginasi */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 0; padding: 0; list-style: none; }
.pager a, .pager span {
    min-width: 42px; height: 42px;
    display: grid; place-items: center;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.pager a:hover { background: var(--bg-deep); }
.pager .current a { background: var(--ink); color: #fff; }
.pager span { background: none; color: var(--muted); }

/* ==========================================================================
   14. DETAIL IKLAN / LOWONGAN
   ========================================================================== */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas: "gallery aside" "content aside";
    gap: 24px 28px;
    align-items: start;
}
.detail-gallery { grid-area: gallery; min-width: 0; }
.detail-content { grid-area: content; min-width: 0; display: grid; gap: 20px; }
.detail-aside { grid-area: aside; position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }

.gallery-main {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: #fff;
}
.gallery-main .swiper-slide { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--surface-2); }
.gallery-main .swiper-slide a, .gallery-main .swiper-slide > img { display: block; width: 100%; height: 100%; }
.gallery-main .swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .swiper-button-next, .gallery-main .swiper-button-prev {
    width: 44px; height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.gallery-main .swiper-button-next::after, .gallery-main .swiper-button-prev::after { font-size: 15px; font-weight: 800; }
.gallery-main .swiper-button-next { right: 14px; }
.gallery-main .swiper-button-prev { left: 14px; }
.gallery-thumbs { margin-top: 10px; }
.gallery-thumbs .swiper-slide {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    opacity: .55;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--ink); }

.panel {
    padding: 28px;
    border-radius: var(--r-xl);
    background: #fff;
}
.panel--tight { padding: 20px; }
.panel h2.panel-title, .panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin: 0; padding: 0; list-style: none;
}
.spec-grid li { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); }
.spec-grid small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; }
.spec-grid strong { color: var(--ink); font-size: 15px; font-weight: 700; }

.buy-card { padding: 26px; border-radius: var(--r-xl); background: #fff; }
.buy-card__cat { margin-bottom: 14px; }
.buy-card h1 { font-size: 24px; line-height: 1.25; letter-spacing: -0.025em; font-weight: 700; }
.buy-card__price {
    margin-top: 16px;
    color: var(--ink);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.buy-card__price small { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.buy-card__loc { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.buy-card__actions { display: grid; gap: 8px; margin-top: 22px; }

.btn-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-favorite:hover { border-color: var(--ink); color: var(--ink); }
.btn-favorite.active { background: var(--red-soft); border-color: var(--red-soft); color: #b8262c; }
.btn-favorite.active .ph { color: var(--red); }

.seller-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--r-xl);
    background: #fff;
}
.seller-card__avatar {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
}
.seller-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-card small { display: block; color: var(--muted); font-size: 12px; }
.seller-card a.name { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 16px; font-weight: 700; }
.seller-card a.name img { width: 16px; height: 16px; }
.seller-card .go { margin-left: auto; }

.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list li:first-child { padding-top: 0; }
.info-list .k { color: var(--muted); flex-shrink: 0; }
.info-list .v { color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }
.info-list .v a { display: inline-flex; align-items: center; gap: 6px; }
.info-list .v img { width: 16px; height: 16px; }

.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-row > span { color: var(--muted); font-size: 13px; font-weight: 600; }

.note-box {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--yellow-soft);
    color: #6b5a1b;
    font-size: 13px;
    line-height: 1.5;
}
.note-box .ph { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.note-box a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.owner-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 14px 14px 20px;
    border-radius: var(--r-lg);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 14px;
}
.owner-bar.is-warning { background: var(--orange-soft); color: #9a4b0f; }
.owner-bar > div { display: flex; align-items: center; gap: 10px; }
.owner-bar > div .ph { font-size: 20px; }

/* Konten rich text (deskripsi, artikel, halaman legal) */
.prose { color: var(--text); font-size: 16px; line-height: 1.8; word-wrap: break-word; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.8em; margin-bottom: .2em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 18px; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); }
.prose--sm { font-size: 15px; line-height: 1.75; }

/* Bar kontak ponsel */
.mobile-contact-bar { display: none; }

/* Kepala detail lowongan */
.job-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
    border-radius: var(--r-xl);
    background: #fff;
}
.job-hero__logo { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.job-hero h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.035em; font-weight: 800; }
.job-hero__company { color: var(--muted); font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.job-hero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ==========================================================================
   15. ARTIKEL
   ========================================================================== */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-xl);
    background: #fff;
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card__img { display: block; margin: 8px 8px 0; border-radius: 20px; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--surface-2); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.article-card__title { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; }
.article-card__title a:hover { color: var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: auto; color: var(--muted); font-size: 13px; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }

.article-card--feature { grid-column: span 3; display: grid; grid-template-columns: 1.25fr 1fr; }
.article-card--feature .article-card__img { margin: 8px; aspect-ratio: auto; min-height: 320px; }
.article-card--feature .article-card__body { justify-content: center; padding: 36px 40px 36px 28px; gap: 16px; }
.article-card--feature .article-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; }

.article-head { padding: 28px 0 32px; text-align: center; }
.article-head .crumbs { justify-content: center; }
.article-head h1 { max-width: 900px; margin: 18px auto 0; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 800; }
.article-head .article-meta { justify-content: center; margin-top: 18px; }
.article-cover { border-radius: var(--r-2xl); overflow: hidden; margin-bottom: 40px; }
.article-cover img { display: block; width: 100%; height: auto; }
.article-body { padding: 44px 56px; border-radius: var(--r-2xl); background: #fff; }
.article-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   16. HALAMAN STATIS (legal, bantuan, tentang, pilih pasang)
   ========================================================================== */
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 2px; padding: 8px; border-radius: var(--r-xl); background: #fff; }
.legal-nav a { padding: 11px 14px; border-radius: var(--r-sm); color: var(--text); font-size: 14px; font-weight: 500; }
.legal-nav a:hover { background: var(--surface-2); color: var(--ink); }
.legal-nav a.active { background: var(--ink); color: #fff; }
.legal-content { padding: 44px 52px; border-radius: var(--r-2xl); background: #fff; }
.legal-updated { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--muted); font-size: 13px; }

.faq { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-lg); background: #fff; transition: box-shadow .2s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    list-style: none;
    cursor: pointer;
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .num { color: var(--muted-2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.faq-item summary .plus {
    margin-left: auto;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-2);
    font-size: 15px;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-item .faq-body { padding: 0 24px 24px 56px; color: var(--text); }
.faq-item .faq-body ul { padding-left: 1.2em; margin: 10px 0 0; }
.faq-item .faq-body li + li { margin-top: 6px; }

.contact-bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.contact-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 26px; border-radius: var(--r-xl); background: #fff; }
.contact-tile .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); font-size: 22px; }
.contact-tile small { display: block; color: var(--muted); font-size: 13px; }
.contact-tile strong { display: block; margin-top: 4px; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; word-break: break-word; }
.contact-tile--dark { background: var(--dark); color: rgba(255,255,255,.7); }
.contact-tile--dark h3 { color: #fff; }

/* Tentang */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.about-hero__media { position: relative; min-height: 460px; border-radius: var(--r-2xl); overflow: hidden; background: var(--bg-deep); }
.about-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 14px 14px;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}
.float-stat .ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--accent-bright); font-size: 20px; }
.float-stat strong { display: block; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.float-stat small { color: var(--muted); font-size: 12px; }
.float-stat--a { left: 20px; bottom: 20px; }
.float-stat--b { right: 20px; top: 20px; }
.about-hero__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 44px; border-radius: var(--r-2xl); background: #fff; }

.feature-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
    padding: 32px;
    border-radius: var(--r-2xl);
    background: #fff;
    overflow: hidden;
}
.feature-card__img { position: absolute; right: 24px; bottom: 24px; width: 42%; max-width: 220px; }
.feature-card h3 { font-size: 26px; letter-spacing: -0.03em; font-weight: 800; max-width: 60%; }
.feature-card p { color: var(--muted); max-width: 55%; }
.feature-card .ui-btn { margin-top: auto; align-self: flex-start; }
.feature-card--accent { background: var(--accent-soft); }

.stat-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-tile { display: flex; flex-direction: column; gap: 26px; padding: 24px; border-radius: var(--r-xl); background: #fff; }
.stat-tile .ph { font-size: 24px; color: var(--accent); }
.stat-tile strong { display: block; color: var(--ink); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.stat-tile span { color: var(--muted); font-size: 14px; }
.stat-tile--dark { background: var(--dark); }
.stat-tile--dark strong { color: #fff; }
.stat-tile--dark .ph { color: var(--accent-bright); }
.stat-tile--dark span { color: rgba(255,255,255,.6); }

.check-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 14px; }
.check-list .ph { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 15px; }
.check-list strong { display: block; color: var(--ink); }
.check-list div { color: var(--muted); font-size: 14px; }

.company-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.company-card h2 { margin-top: 16px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; font-weight: 800; }
.company-card p { margin-top: 14px; }
.company-contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.company-contact li { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--dark-2); border: 1px solid var(--dark-line); }
.company-contact .ph { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--accent-bright); font-size: 18px; }
.company-contact small { display: block; color: rgba(255,255,255,.5); font-size: 12px; }
.company-contact span, .company-contact a { color: #fff; font-size: 14px; }
.company-contact a:hover { color: var(--accent-bright); }

/* Pilih jenis pasang */
.choose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choose-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 340px;
    padding: 34px;
    border-radius: var(--r-2xl);
    background: #fff;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.choose-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.choose-card .ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--surface-2); color: var(--ink); font-size: 28px; }
.choose-card h2 { margin-top: 18px; font-size: 28px; letter-spacing: -0.035em; font-weight: 800; }
.choose-card p { color: var(--muted); max-width: 420px; }
.choose-card .ui-btn { margin-top: auto; align-self: flex-start; }
.choose-card--dark { background: var(--dark); color: rgba(255,255,255,.7); }
.choose-card--dark h2 { color: #fff; }
.choose-card--dark p { color: rgba(255,255,255,.6); }
.choose-card--dark .ico { background: rgba(255,255,255,.08); color: var(--accent-bright); }

/* ==========================================================================
   17. AUTH
   ========================================================================== */
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    min-height: 620px;
    margin: 12px 0 0;
}
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 5vw, 72px); border-radius: var(--r-2xl); background: #fff; }
.auth-card h1 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.04em; font-weight: 800; }
.auth-card .sub { margin-top: 10px; color: var(--muted); }
.auth-form { display: grid; gap: 16px; margin-top: 28px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.auth-row a { color: var(--ink); font-weight: 600; }
.auth-row a:hover { color: var(--accent); }
.auth-alt { margin-top: 4px; text-align: center; color: var(--muted); font-size: 14px; }
.auth-alt a { color: var(--ink); font-weight: 700; }
.auth-alt a:hover { color: var(--accent); }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--muted-2); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 600; }
.btn-social:hover { border-color: var(--ink); color: var(--ink); }
.btn-social img { width: 18px; height: 18px; }

.auth-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 44px;
    border-radius: var(--r-2xl);
    background: var(--dark);
    color: rgba(255,255,255,.7);
    overflow: hidden;
}
.auth-art::before {
    content: "";
    position: absolute;
    right: -160px; bottom: -160px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 220, 142, .28), rgba(63, 220, 142, 0) 68%);
}
.auth-art > * { position: relative; }
.auth-art h2 { color: #fff; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 300; }
.auth-art h2 b { font-weight: 800; }
.auth-art__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-art__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-card { padding: 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); }
.mini-card .ph { font-size: 22px; color: var(--accent-bright); }
.mini-card strong { display: block; margin-top: 18px; color: #fff; font-size: 15px; }
.mini-card small { color: rgba(255,255,255,.55); font-size: 12px; }

.center-card { max-width: 560px; margin: 24px auto 0; padding: 48px; border-radius: var(--r-2xl); background: #fff; text-align: center; }
.center-card .big-ico { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 24px; background: var(--accent-soft); color: var(--accent-strong); font-size: 36px; }
.center-card h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.035em; font-weight: 800; }
.center-card p { margin-top: 12px; color: var(--muted); }

/* ==========================================================================
   18. PROFIL PUBLIK PENJUAL
   ========================================================================== */
.profile-cover { border-radius: var(--r-2xl); overflow: hidden; background: var(--bg-deep); }
.profile-cover img { display: block; width: 100%; aspect-ratio: 2200 / 580; object-fit: cover; }
.profile-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: -56px 24px 0;
    padding: 20px 24px 20px 20px;
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.profile-bar__avatar { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.profile-bar__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-bar__name h1 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; font-weight: 800; }
.profile-bar__name img { width: 22px; height: 22px; }
.profile-bar__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; color: var(--muted); font-size: 14px; }
.profile-bar__meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile-bar__stats { display: flex; gap: 10px; margin-left: auto; }
.mini-stat { min-width: 110px; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface-2); }
.mini-stat strong { display: block; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.mini-stat small { color: var(--muted); font-size: 12px; }

/* ==========================================================================
   19. ALERTS (Bootstrap reskin) & MISC
   ========================================================================== */
.alert {
    --bs-alert-border-radius: var(--r-md);
    border: 0;
    padding: 14px 18px;
    font-size: 14px;
}
.alert-success { background: var(--accent-soft); color: var(--accent-strong); }
.alert-danger { background: var(--red-soft); color: #a3242a; }
.alert-warning { background: var(--orange-soft); color: #93490f; }
.alert-info { background: var(--blue-soft); color: #1f4fa8; }
.alert-light { background: var(--surface-2); color: var(--text); }
.alert .alert-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
    .nav-links { display: none; }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 360px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991.98px) {
    .hero-banners { padding: 20px 0 8px; }
    :root { --gutter: 18px; --header-h: 68px; }
    .section { padding-block: 52px; }
    .nav-pill { min-height: 58px; padding: 6px 6px 6px 16px; }
    .nav-cat-btn, .nav-pill > .nav-search, .nav-actions .acct, .nav-actions .nav-login, .mega { display: none !important; }
    .nav-actions { margin-left: auto; }
    .nav-burger { display: grid; }
    .brand img { height: 30px; }

    .cat-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dark-block, .cta-band { padding: 32px 24px; border-radius: var(--r-xl); }
    .cta-band { grid-template-columns: 1fr; }
    .cta-band__actions { justify-content: flex-start; }
    .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-card--feature { grid-column: span 2; grid-template-columns: 1fr; }
    .article-card--feature .article-card__img { min-height: 0; aspect-ratio: 1200 / 630; margin-bottom: 0; }
    .article-card--feature .article-card__body { padding: 20px 22px 24px; }

    .listing-layout { grid-template-columns: 1fr; gap: 12px; }
    .widget-filter { position: static; max-height: none; display: none; }
    .widget-filter.is-open { display: block; }
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        border: 0;
        border-radius: var(--r-pill);
        background: #fff;
        color: var(--ink);
        font-size: 14px;
        font-weight: 600;
    }
    .mobile-filter-toggle .count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 12px; }
    .mobile-filter-toggle .caret { margin-left: auto; transition: transform .25s var(--ease); }
    .mobile-filter-toggle.is-open .caret { transform: rotate(180deg); }

    .detail-layout { grid-template-columns: 1fr; grid-template-areas: "gallery" "aside" "content"; }
    .detail-aside { position: static; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-nav { position: static; display: flex; overflow-x: auto; border-radius: var(--r-pill); scrollbar-width: none; }
    .legal-nav a { white-space: nowrap; border-radius: var(--r-pill); }
    .legal-content, .article-body { padding: 28px 22px; border-radius: var(--r-xl); }
    .contact-bento { grid-template-columns: 1fr; }
    .about-hero { grid-template-columns: 1fr; }
    .about-hero__media { min-height: 320px; }
    .about-hero__text { padding: 28px; }
    .stat-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-card { grid-template-columns: 1fr; gap: 24px; }
    .auth-shell { grid-template-columns: 1fr; min-height: 0; }
    .auth-art { display: none; }
    .profile-bar { margin: -40px 12px 0; }
    .profile-bar__stats { margin-left: 0; width: 100%; }
    .profile-bar__stats .mini-stat { flex: 1; }

    .site-footer { padding: 24px 8px 8px; }
    .footer-card { padding: 40px 0 22px; border-radius: var(--r-xl); }
    .footer-top { flex-direction: column; align-items: flex-start; }

    /* Bar kontak tetap di bawah layar */
    .mobile-contact-bar {
        position: fixed;
        left: 10px; right: 10px; bottom: 10px;
        z-index: 1040;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 8px 8px 18px;
        border-radius: var(--r-pill);
        background: var(--ink);
        color: #fff;
        box-shadow: var(--shadow-lg);
    }
    .mobile-contact-bar .price { flex: 1; min-width: 0; line-height: 1.2; }
    .mobile-contact-bar .price small { display: block; color: rgba(255,255,255,.55); font-size: 11px; }
    .mobile-contact-bar .price strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 16px; }
    .mobile-contact-bar a {
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        min-height: 44px; padding: 0 18px;
        border-radius: var(--r-pill);
        font-size: 14px; font-weight: 600; white-space: nowrap;
    }
    .mobile-contact-bar .btn-wa { background: #1fb35b; color: #fff; }
    .mobile-contact-bar .btn-apply { flex: 1; background: #fff; color: var(--ink); }
    .mobile-contact-bar .btn-icon { width: 44px; padding: 0; font-size: 20px; }
    body.has-contact-bar { padding-bottom: 76px; }
    body.has-contact-bar #scroll-top { bottom: 84px; }
}

@media (max-width: 767.98px) {
    .card-grid, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .listing-card { border-radius: 18px; }
    .listing-card__media { margin: 6px 6px 0; border-radius: 13px; }
    .listing-card__body { padding: 10px 12px 12px; }
    .listing-card__price { font-size: 15px; }
    .listing-card__title { font-size: 13px; }
    .fav-btn { width: 32px; height: 32px; font-size: 15px; top: 8px; right: 8px; }
    .job-grid, .job-grid--2 { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card--feature { grid-column: auto; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .results-bar { border-radius: var(--r-lg); padding: 12px; }
    .results-bar__sort { width: 100%; }
    .feature-duo, .choose-grid { grid-template-columns: 1fr; }
    .feature-card p, .feature-card h3 { max-width: 100%; }
    .feature-card__img { position: static; width: 120px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .job-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
    .job-hero__logo { width: 68px; height: 68px; border-radius: 18px; }
    .panel, .buy-card { padding: 22px; border-radius: var(--r-lg); }
    .faq-item summary { padding: 18px; font-size: 15px; gap: 12px; }
    .faq-item .faq-body { padding: 0 18px 20px; }
    .center-card { padding: 32px 22px; }
    .auth-card { padding: 32px 22px; }
}

@media (max-width: 479.98px) {
    .cat-tile { min-height: 128px; padding: 16px; gap: 22px; }
    .cat-tile__go { display: none; }
    .premium-grid { gap: 8px; }
    .stat-bento { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-tile { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
