/**
 * Kontras warna seragam — mode gelap & terang (semua halaman)
 * Memakai token yang selaras dengan reload-custom.css
 */
:root {
    --rp-glass: rgba(18, 28, 58, 0.55);
    --rp-glass-border: rgba(255, 255, 255, 0.14);
    --rp-glass-cell: rgba(255, 255, 255, 0.09);
    --rp-glass-cell-border: rgba(255, 255, 255, 0.16);
    --rp-glass-head: rgba(120, 150, 230, 0.22);
    --rp-glass-blur: blur(18px) saturate(1.35);
    --rp-glass-bg: var(--rp-glass);
    --rp-accent: #5d50f0;
    --rp-accent-hover: #7b6ff7;
    --rp-accent-soft: rgba(93, 80, 240, 0.14);
    --rp-surface-card: rgba(255, 255, 255, 0.06);
    --rp-surface-input: rgba(255, 255, 255, 0.08);
    --rp-border-strong: rgba(255, 255, 255, 0.18);
    --rp-hero-heading: #ffffff;
    --rp-hero-body: rgba(255, 255, 255, 0.82);
    --rp-hero-link: #a8c4ff;
    --rp-tab-text: rgba(238, 242, 255, 0.72);
    --rp-tab-active-bg: rgba(255, 255, 255, 0.1);
    --rp-tab-active-text: #ffffff;
    --rp-tab-border: rgba(255, 255, 255, 0.12);
    --rp-loading-text: rgba(238, 242, 255, 0.7);
    --rp-highlight-row: rgba(93, 80, 240, 0.28);
    --rp-danger: #f87171;
    --rp-placeholder: rgba(238, 242, 255, 0.45);

    /* Tabel harga OtomaX — mode gelap */
    --rp-harga-wrap: rgba(14, 22, 48, 0.72);
    --rp-harga-group: linear-gradient(120deg, #5d50f0 0%, #3a5fbe 100%);
    --rp-harga-head-bg: rgba(52, 78, 155, 0.72);
    --rp-harga-head-text: #ffffff;
    --rp-harga-cell-bg: #1c2d5a;
    --rp-harga-cell-alt: #243566;
    --rp-harga-cell-text: #eef2ff;
    --rp-harga-cell-border: rgba(130, 160, 235, 0.28);
    --rp-harga-status: #4ade80;
    --rp-harga-scroll-track: rgba(12, 20, 45, 0.95);
    --rp-harga-scroll-thumb: rgba(95, 125, 210, 0.55);
}

html[data-theme="light"] {
    /* Latar & glass biru — hindari dominasi putih polos */
    --rp-bg-deep: #d2e0f5;
    --rp-bg-mid: #bfd2ef;
    --rp-bg-soft: #a8c0e8;
    --rp-glass: rgba(198, 218, 248, 0.82);
    --rp-glass-border: rgba(59, 95, 196, 0.22);
    --rp-glass-cell: rgba(255, 255, 255, 0.65);
    --rp-glass-cell-border: rgba(59, 95, 196, 0.2);
    --rp-glass-head: rgba(45, 72, 150, 0.35);
    --rp-glass-blur: blur(14px) saturate(1.2);
    --rp-glass-bg: var(--rp-glass);
    --rp-banner-fade: #b8cce8;

    --rp-accent: #5d50f0;
    --rp-accent-hover: #4a3ee8;
    --rp-accent-soft: rgba(93, 80, 240, 0.14);
    --rp-surface-card: rgba(205, 222, 252, 0.9);
    --rp-surface-input: rgba(228, 237, 255, 0.95);
    --rp-border-strong: rgba(59, 95, 196, 0.2);
    --rp-hero-heading: #1e2f6b;
    --rp-hero-body: #3b4a6b;
    --rp-hero-link: #4f63d8;
    --rp-tab-text: #4a5f8c;
    --rp-tab-active-bg: rgba(236, 242, 255, 0.98);
    --rp-tab-active-text: #5d50f0;
    --rp-tab-border: rgba(59, 95, 196, 0.18);
    --rp-loading-text: #4a5f8c;
    --rp-highlight-row: rgba(93, 80, 240, 0.16);
    --rp-danger: #dc2626;
    --rp-placeholder: #6b7fa8;

    /* Tabel harga OtomaX — mode terang */
    --rp-harga-wrap: rgba(210, 224, 248, 0.92);
    --rp-harga-group: linear-gradient(120deg, #6b5cf0 0%, #4568c8 100%);
    --rp-harga-head-bg: #2d4a96;
    --rp-harga-head-text: #ffffff;
    --rp-harga-cell-bg: #ffffff;
    --rp-harga-cell-alt: #eef3fc;
    --rp-harga-cell-text: #1e3268;
    --rp-harga-cell-border: rgba(59, 95, 196, 0.22);
    --rp-harga-status: #0a7a36;
    --rp-harga-scroll-track: rgba(190, 208, 238, 0.9);
    --rp-harga-scroll-thumb: rgba(75, 105, 185, 0.45);
}

/* Kartu & panel glass — mode terang pakai biru, bukan putih */
html[data-theme="light"] .rp-page-hero .rp-hero-inner,
html[data-theme="light"] .rp-price-hero-card,
html[data-theme="light"] .rp-glass-card,
html[data-theme="light"] .rp-price-panel,
html[data-theme="light"] .rp-theme .blog-card,
html[data-theme="light"] .rp-theme .legal-info-card,
html[data-theme="light"] .rp-about-value-card,
html[data-theme="light"] .rp-about-service-item,
html[data-theme="light"] .rp-about-faq-item,
html[data-theme="light"] .rp-privacy-intro,
html[data-theme="light"] .rp-privacy-nav__inner,
html[data-theme="light"] .rp-theme.rp-inner .feature-section .section-header,
html[data-theme="light"] .rp-theme.rp-inner .history-section .section-header,
html[data-theme="light"] .banner-content-18,
html[data-theme="light"] .rp-home .rp-step-card,
html[data-theme="light"] .rp-home .rp-product-card,
html[data-theme="light"] .rp-home .rp-cta-box {
    background: var(--rp-glass) !important;
    border-color: var(--rp-glass-border) !important;
}

html[data-theme="light"] .rp-price-hero-card {
    box-shadow: 0 12px 36px rgba(48, 78, 150, 0.14);
}

html[data-theme="light"] .rp-theme .blog-card .thumb {
    background: linear-gradient(135deg, rgba(79, 124, 220, 0.35), rgba(42, 64, 143, 0.25)) !important;
}

html[data-theme="light"] .rp-theme .blog-card .thumb i {
    color: #1e2f6b !important;
}

html[data-theme="light"] .rp-theme .header-section,
html[data-theme="light"] .rp-theme .header-section.active,
html[data-theme="light"] .rp-theme .header-section.header-fixed {
    background: rgba(186, 210, 245, 0.94) !important;
    border-bottom-color: rgba(59, 95, 196, 0.18) !important;
}

/* —— Hero harga (kartu di bawah header) —— */
.rp-price-hero-card {
    text-align: center;
    padding: 2.25rem 1.75rem 2.5rem;
    border-radius: 22px;
    background: var(--rp-surface-card);
    border: 1px solid var(--rp-border-strong);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rp-price-hero-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rp-border-strong);
}

.rp-price-hero-breadcrumb a {
    color: var(--rp-hero-link) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.rp-price-hero-breadcrumb a:hover {
    color: var(--rp-hero-heading) !important;
}

.rp-price-hero-breadcrumb .rp-bc-sep {
    color: var(--rp-text-muted) !important;
    opacity: 0.65;
}

.rp-price-hero-breadcrumb .rp-bc-current {
    color: var(--rp-text-muted) !important;
}

.rp-price-hero-cate {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--rp-text) !important;
}

.rp-price-hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--rp-hero-heading) !important;
}

.rp-price-hero-desc {
    margin: 0 auto;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--rp-hero-body) !important;
}

/* —— Tab kategori harga —— */
.rp-price-tabs {
    border-bottom: 1px solid var(--rp-tab-border);
}

.rp-price-tabs .nav-link {
    color: var(--rp-tab-text) !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent !important;
    border-radius: 8px 8px 0 0;
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
    background: transparent !important;
}

.rp-price-tabs .nav-link:hover {
    color: var(--rp-accent) !important;
}

.rp-price-tabs .nav-link.active {
    color: var(--rp-tab-active-text) !important;
    background: var(--rp-tab-active-bg) !important;
    border-color: var(--rp-tab-border) var(--rp-tab-border) var(--rp-tab-active-bg) !important;
}

/* —— Pencarian & panel harga —— */
.rp-price-panel .search-box-wrapper label {
    color: var(--rp-text) !important;
}

.rp-price-panel #searchProduct {
    background: var(--rp-surface-input) !important;
    border: 1px solid var(--rp-glass-border) !important;
    color: var(--rp-text) !important;
}

.rp-price-panel #searchProduct::placeholder {
    color: var(--rp-placeholder) !important;
    opacity: 1;
}

.rp-price-panel #searchProduct.rp-input-focus {
    border-color: var(--rp-accent) !important;
    box-shadow: 0 0 0 3px var(--rp-accent-soft) !important;
}

.rp-harga-panel.rp-loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rp-loading-text) !important;
}

/* ===== Tabel OtomaX — warna mengikuti token tema (--rp-harga-*) ===== */
.rp-harga-box--table .rp-price-table-wrap,
.rp-harga-panel.rp-price-table-wrap,
.rp-price-panel .rp-price-table-wrap {
    background: var(--rp-harga-wrap) !important;
    backdrop-filter: var(--rp-glass-blur);
    -webkit-backdrop-filter: var(--rp-glass-blur);
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    scrollbar-color: var(--rp-harga-scroll-thumb) var(--rp-harga-scroll-track);
    scrollbar-width: thin;
}

.rp-theme .table-responsive.rp-price-table-wrap::-webkit-scrollbar,
.rp-theme .rp-harga-box--table::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.rp-theme .table-responsive.rp-price-table-wrap::-webkit-scrollbar-track,
.rp-theme .rp-harga-box--table::-webkit-scrollbar-track {
    background: var(--rp-harga-scroll-track);
    border-radius: 8px;
}

.rp-theme .table-responsive.rp-price-table-wrap::-webkit-scrollbar-thumb,
.rp-theme .rp-harga-box--table::-webkit-scrollbar-thumb {
    background: var(--rp-harga-scroll-thumb);
    border-radius: 8px;
    border: 2px solid var(--rp-harga-scroll-track);
}

html:not([data-theme="light"]) .rp-theme .table-responsive.rp-price-table-wrap,
html:not([data-theme="light"]) .rp-theme .rp-harga-box--table {
    color-scheme: dark;
}

html[data-theme="light"] .rp-theme .table-responsive.rp-price-table-wrap,
html[data-theme="light"] .rp-theme .rp-harga-box--table {
    color-scheme: light;
}

.rp-price-table-wrap table,
.rp-price-table-wrap table table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 0 10px !important;
}

.rp-price-table-wrap table[bgcolor],
.rp-price-table-wrap table tr[bgcolor] {
    background: transparent !important;
    background-color: transparent !important;
}

/* Judul grup operator */
.rp-price-table-wrap table td[colspan],
.rp-price-table-wrap table th[colspan],
.rp-price-table-wrap table .rp-harga-group-title {
    background: var(--rp-harga-group) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 11px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    text-align: left !important;
    box-shadow: 0 3px 14px rgba(93, 80, 240, 0.18);
}

.rp-price-table-wrap table td[colspan] *,
.rp-price-table-wrap table th[colspan] *,
.rp-price-table-wrap table .rp-harga-group-title * {
    color: #ffffff !important;
}

/* Header kolom Kode, Keterangan, Harga, Status */
.rp-price-table-wrap table th,
.rp-price-table-wrap table tr.rp-harga-head td,
.rp-price-table-wrap table tr.rp-harga-head td.rp-harga-head-cell,
.rp-price-table-wrap table thead td {
    background: var(--rp-harga-head-bg) !important;
    background-color: var(--rp-harga-head-bg) !important;
    color: var(--rp-harga-head-text) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 10px 12px !important;
    border: 1px solid var(--rp-harga-cell-border) !important;
    border-radius: 8px !important;
    text-align: left !important;
    box-shadow: none !important;
}

.rp-price-table-wrap table tr.rp-harga-head td *,
.rp-price-table-wrap table tr.rp-harga-head td font,
.rp-price-table-wrap table tr.rp-harga-head td span,
.rp-price-table-wrap table th font,
.rp-price-table-wrap table th span {
    color: var(--rp-harga-head-text) !important;
    -webkit-text-fill-color: var(--rp-harga-head-text) !important;
}

/* Sel data produk */
.rp-theme .rp-price-table-wrap table tr:not(.rp-harga-head) > td:not([colspan]),
.rp-theme .rp-price-table-wrap table td.rp-harga-data-cell,
.rp-theme .rp-price-table-wrap table td.rp-harga-data-cell[bgcolor] {
    background: var(--rp-harga-cell-bg) !important;
    background-color: var(--rp-harga-cell-bg) !important;
    color: var(--rp-harga-cell-text) !important;
    -webkit-text-fill-color: var(--rp-harga-cell-text) !important;
    border: 1px solid var(--rp-harga-cell-border) !important;
    padding: 9px 12px !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    vertical-align: middle !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.rp-theme .rp-price-table-wrap table tr.rp-harga-head td {
    background: var(--rp-harga-head-bg) !important;
    background-color: var(--rp-harga-head-bg) !important;
    color: var(--rp-harga-head-text) !important;
}

.rp-theme .rp-price-table-wrap table tr:not(.rp-harga-head) > td:not([colspan]) font,
.rp-theme .rp-price-table-wrap table tr:not(.rp-harga-head) > td:not([colspan]) span,
.rp-theme .rp-price-table-wrap table tr:not(.rp-harga-head) > td:not([colspan]) b,
.rp-theme .rp-price-table-wrap table td.rp-harga-data-cell font,
.rp-theme .rp-price-table-wrap table td.rp-harga-data-cell span,
.rp-theme .rp-price-table-wrap table td.rp-harga-data-cell b,
.rp-theme .rp-price-table-wrap table td.rp-harga-data-cell div {
    color: var(--rp-harga-cell-text) !important;
    -webkit-text-fill-color: var(--rp-harga-cell-text) !important;
}

/* Kolom status — hanya baris data, bukan header */
.rp-price-table-wrap table tr.rp-harga-data-row td:last-child,
.rp-price-table-wrap table tr.td1 td:last-child,
.rp-price-table-wrap table tr.td2 td:last-child,
.rp-price-table-wrap table tr:not(.head):not(.rp-harga-head) td.rp-harga-data-cell:last-child {
    color: var(--rp-harga-status) !important;
    -webkit-text-fill-color: var(--rp-harga-status) !important;
    font-weight: 600 !important;
}

.rp-price-table-wrap table tr.rp-harga-data-row td:last-child .green,
.rp-price-table-wrap table tr.td1 td:last-child .green,
.rp-price-table-wrap table tr.td2 td:last-child .green,
.rp-price-table-wrap table tr:not(.head):not(.rp-harga-head) td:last-child font,
.rp-price-table-wrap table tr:not(.head):not(.rp-harga-head) td:last-child span {
    color: var(--rp-harga-status) !important;
    -webkit-text-fill-color: var(--rp-harga-status) !important;
}

.rp-price-table-wrap .tabel tr.head td:not([colspan]),
.rp-price-table-wrap .tabel tr.rp-harga-head td,
.rp-price-table-wrap .tabel tr.head td:not([colspan]) * {
    color: var(--rp-harga-head-text) !important;
    -webkit-text-fill-color: var(--rp-harga-head-text) !important;
}

.rp-price-table-wrap table a {
    color: var(--rp-accent) !important;
    text-decoration: underline;
}

.rp-theme .rp-price-table-wrap .text-danger,
.rp-price-panel .text-danger {
    color: var(--rp-danger) !important;
}

.rp-price-table-wrap .rp-row-highlight {
    background-color: var(--rp-highlight-row) !important;
    transition: background-color 0.3s ease;
}

/* ===== OtomaX: timpa CSS bawaan .tablewrapper / .tabel (disuntik script) ===== */
.rp-price-table-wrap .tablewrapper {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.rp-price-table-wrap table.tabel {
    width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rp-price-table-wrap .tabel td {
    border: 1px solid var(--rp-harga-cell-border) !important;
    font-family: inherit !important;
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    padding: 10px 12px !important;
    text-align: left !important;
    vertical-align: middle !important;
    background: var(--rp-harga-cell-bg) !important;
    background-color: var(--rp-harga-cell-bg) !important;
    color: var(--rp-harga-cell-text) !important;
    box-shadow: none !important;
}

/* Judul grup operator */
.rp-price-table-wrap .tabel tr.head td[colspan],
.rp-price-table-wrap .tabel tr.rp-harga-group-row td {
    background: var(--rp-harga-group) !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    text-align: left !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
}

.rp-price-table-wrap .tabel tr.head td[colspan] *,
.rp-price-table-wrap .tabel tr.rp-harga-group-row td * {
    color: #ffffff !important;
}

/* Header kolom */
.rp-price-table-wrap .tabel tr.head td:not([colspan]),
.rp-price-table-wrap .tabel tr.rp-harga-head td {
    background: var(--rp-harga-head-bg) !important;
    background-color: var(--rp-harga-head-bg) !important;
    color: var(--rp-harga-head-text) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-align: left !important;
    border-color: var(--rp-harga-cell-border) !important;
    border-radius: 0 !important;
}

.rp-price-table-wrap .tabel tr.head td:not([colspan]):first-child,
.rp-price-table-wrap .tabel tr.rp-harga-head td:first-child {
    border-radius: 8px 0 0 8px !important;
}

.rp-price-table-wrap .tabel tr.head td.last:not([colspan]),
.rp-price-table-wrap .tabel tr.head td:not([colspan]):last-child,
.rp-price-table-wrap .tabel tr.rp-harga-head td:last-child {
    border-radius: 0 8px 8px 0 !important;
}

/* Baris produk */
.rp-price-table-wrap .tabel tr.td1 td,
.rp-price-table-wrap .tabel tr.td2 td,
.rp-price-table-wrap .tabel tr.rp-harga-data-row td {
    background: var(--rp-harga-cell-bg) !important;
    background-color: var(--rp-harga-cell-bg) !important;
    color: var(--rp-harga-cell-text) !important;
}

.rp-price-table-wrap .tabel tr.td2 td,
.rp-price-table-wrap .tabel tr.rp-harga-data-row:nth-child(even) td {
    background: var(--rp-harga-cell-alt) !important;
    background-color: var(--rp-harga-cell-alt) !important;
}

.rp-price-table-wrap .tabel tr.td1 td:first-child,
.rp-price-table-wrap .tabel tr.td2 td:first-child,
.rp-price-table-wrap .tabel tr.rp-harga-data-row td:first-child {
    border-radius: 8px 0 0 8px !important;
    font-weight: 600;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.82rem !important;
}

.rp-price-table-wrap .tabel tr.td1 td.last,
.rp-price-table-wrap .tabel tr.td2 td.last,
.rp-price-table-wrap .tabel tr.td1 td:last-child,
.rp-price-table-wrap .tabel tr.td2 td:last-child,
.rp-price-table-wrap .tabel tr.rp-harga-data-row td:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.rp-price-table-wrap .tabel tr:not(.head) td:nth-child(3) {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.rp-price-table-wrap .tabel td *,
.rp-price-table-wrap .tabel tr.td1 td *,
.rp-price-table-wrap .tabel tr.td2 td * {
    color: inherit !important;
}

.rp-price-table-wrap .tabel .green,
.rp-price-table-wrap .tabel span.green,
.rp-price-table-wrap .tabel td.last .green {
    color: var(--rp-harga-status) !important;
    font-weight: 600 !important;
}

.rp-price-table-wrap .tabel .red {
    color: var(--rp-danger) !important;
}

.rp-price-table-wrap .tabel td.title {
    background: var(--rp-harga-group) !important;
    color: #ffffff !important;
}

/* HP: layout kartu (bukan tabel sempit) — di harga-retail.css */
@media (max-width: 767px) {
    .rp-theme .rp-price-table-wrap,
    .rp-theme .table-responsive.rp-price-table-wrap {
        overflow-x: hidden !important;
    }
}

/* —— Footer & link umum —— */
.rp-theme .footer-section a:hover {
    color: var(--rp-accent) !important;
}

html[data-theme="light"] .rp-theme .footer-section,
html[data-theme="light"] .rp-theme .footer-section p,
html[data-theme="light"] .rp-theme .footer-section a {
    color: var(--rp-text-muted) !important;
}

html[data-theme="light"] .rp-theme .footer-section .copyright a {
    color: #1e2f6b !important;
}

/* —— Blog section headings —— */
.rp-theme .rp-blog-section-head {
    color: var(--rp-text) !important;
}

/* —— Mobile menu: timpa warna gelap bawaan template —— */
@media (max-width: 991px) {
    .rp-theme .header-section .header-wrapper .menu {
        background: var(--rp-surface-elevated, var(--rp-glass)) !important;
        border: 1px solid var(--rp-glass-border);
    }

    html:not([data-theme="light"]) .rp-theme .header-section .header-wrapper .menu {
        background: rgba(18, 28, 62, 0.98) !important;
    }

    html[data-theme="light"] .rp-theme .header-section .header-wrapper .menu {
        background: rgba(210, 228, 252, 0.98) !important;
    }

    .rp-theme .header-section .header-wrapper .menu > li > a {
        color: var(--rp-text) !important;
        border-top-color: var(--rp-glass-border) !important;
    }

    .rp-theme .header-section .header-wrapper .menu > li > a:hover {
        background: var(--rp-accent-soft) !important;
        color: var(--rp-accent) !important;
    }

    .rp-theme .header-section .header-wrapper .menu li .submenu {
        background: var(--rp-accent-soft) !important;
        border-left-color: var(--rp-accent) !important;
    }

    .rp-theme .header-section .header-wrapper .menu li .submenu li a {
        color: var(--rp-text-muted) !important;
    }

    .rp-theme .header-section .header-wrapper .menu li .submenu li a:hover {
        color: var(--rp-accent) !important;
        background: var(--rp-accent-soft) !important;
    }

    html[data-theme="light"] .rp-theme .header-section .header-button--mobile {
        color: #1e2f6b !important;
        border-color: rgba(59, 95, 196, 0.28) !important;
        background: rgba(228, 237, 255, 0.9) !important;
    }

    html:not([data-theme="light"]) .rp-theme .header-section .header-button--mobile {
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.45) !important;
    }
}

/* —— Scroll to top —— */
.rp-theme .scrollToTop {
    background: var(--rp-glass) !important;
    border: 1px solid var(--rp-glass-border);
    color: var(--rp-text) !important;
}

@media (max-width: 575px) {
    .rp-price-hero-card {
        padding: 1.75rem 1.25rem 2rem;
        border-radius: 18px;
    }

    .rp-price-hero-desc {
        font-size: 0.92rem;
    }
}

@media (min-width: 992px) {
    .rp-page-hero.rp-price-hero {
        padding-top: calc(72px + 2.5rem);
        padding-bottom: 2.25rem;
    }
}

/* —— Halaman dalam: teks & kartu umum —— */
.rp-theme.rp-inner .feature-section,
.rp-theme.rp-inner .about-section,
.rp-theme.rp-inner .history-section {
    color: var(--rp-text-muted);
}

.rp-theme .rp-glass-card,
.rp-theme .legal-info-card {
    color: var(--rp-text-muted);
}

.rp-theme .legal-info-card .rp-legal-label,
.rp-theme .legal-info-card h5 {
    color: var(--rp-accent) !important;
}

.rp-theme .legal-info-card p,
.rp-theme .legal-info-card .rp-legal-list li {
    color: var(--rp-text-muted) !important;
}

/* —— Beranda: komponen utama —— */
.rp-home .rp-section-head .title,
.rp-home .rp-section-head p,
.rp-home .rp-step-card,
.rp-home .rp-product-card,
.rp-home .rp-feature-tab__body {
    color: var(--rp-text-muted);
}

.rp-home .rp-section-head .title,
.rp-home .rp-step-card h3,
.rp-home .rp-product-card h3,
.rp-home .rp-feature-tab__body strong {
    color: var(--rp-text) !important;
}

.rp-home .rp-cta-box h2,
.rp-home .rp-cta-box p {
    color: var(--rp-text) !important;
}

html[data-theme="light"] .rp-home .rp-hero-badge {
    color: #1e2f6b !important;
    background: rgba(210, 225, 252, 0.88) !important;
    border-color: rgba(59, 95, 196, 0.2) !important;
}

html[data-theme="light"] .rp-home .rp-feature-tab {
    color: var(--rp-text-muted) !important;
}

html[data-theme="light"] .rp-home .rp-feature-tab.active .rp-feature-tab__body strong {
    color: #1e2f6b !important;
}

html[data-theme="light"] .rp-home .rp-feature-tab.active {
    background: rgba(198, 218, 252, 0.65) !important;
    border-color: rgba(93, 80, 240, 0.25) !important;
}

/* —— Template lama: override teks gelap di mode gelap —— */
html:not([data-theme="light"]) .rp-theme .feature-section .title,
html:not([data-theme="light"]) .rp-theme .feature-section p,
html:not([data-theme="light"]) .rp-theme .about-section .title,
html:not([data-theme="light"]) .rp-theme .about-section p {
    color: var(--rp-text-muted) !important;
}

html:not([data-theme="light"]) .rp-theme .feature-section .cate {
    color: #ff9f43 !important;
}

html[data-theme="light"] .rp-theme .feature-section .title,
html[data-theme="light"] .rp-theme .about-section h2,
html[data-theme="light"] .rp-theme .history-section h2 {
    color: var(--rp-text) !important;
}

html[data-theme="light"] .rp-theme .feature-section p,
html[data-theme="light"] .rp-theme .about-section p,
html[data-theme="light"] .rp-theme .history-section p {
    color: var(--rp-text-muted) !important;
}

/* Tema mengikuti browser — tanpa tombol manual */
.rp-theme-toggle {
    display: none !important;
}

/* —— Halaman dalam: kartu glass umum —— */
.rp-theme.rp-inner .rp-glass-card,
.rp-theme.rp-inner .legal-info-card,
.rp-theme.rp-inner .rp-about-value-card,
.rp-theme.rp-inner .rp-about-service-item,
.rp-theme.rp-inner .rp-about-faq-item,
.rp-theme.rp-inner .rp-privacy-intro,
.rp-theme.rp-inner .rp-privacy-nav__inner {
    background: var(--rp-glass) !important;
    backdrop-filter: var(--rp-glass-blur);
    -webkit-backdrop-filter: var(--rp-glass-blur);
    border: 1px solid var(--rp-glass-border) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.rp-theme.rp-inner .rp-glass-card {
    padding: 1.2rem 1.25rem;
    border-radius: 14px;
}

.rp-theme.rp-inner .legal-info-card {
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
}

/* Tipografi halaman dalam — ukuran lebih proporsional */
.rp-theme.rp-inner .section-header .title,
.rp-theme.rp-inner .history-section > .section-header .title,
.rp-theme.rp-inner .privacy-section > .row > .col-lg-8 > .section-header .title {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.6rem !important;
    font-weight: 700 !important;
}

.rp-theme.rp-inner .section-header .cate,
.rp-theme.rp-inner .history-section .cate {
    font-size: 0.75rem !important;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem !important;
    display: block;
}

.rp-theme.rp-inner .section-header p,
.rp-theme.rp-inner .about-section .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.65rem;
}

.rp-theme.rp-inner .about-section .section-header.left-style .title {
    font-size: 1.25rem !important;
}

.rp-theme.rp-inner .about-content p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    margin-bottom: 0.75rem;
}

.rp-theme.rp-inner .rp-legal-block {
    margin-bottom: 1rem;
}

.rp-theme.rp-inner .rp-legal-block p,
.rp-theme.rp-inner .rp-legal-block .rp-legal-label {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.25rem;
}

.rp-theme.rp-inner .rp-legal-label {
    font-size: 0.72rem !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem !important;
}

.rp-theme .legal-info-card .rp-legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rp-theme .legal-info-card .rp-legal-list li {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
}

.rp-theme .legal-info-card .rp-legal-list li i {
    flex-shrink: 0;
    width: 1rem;
    margin-top: 0.15rem;
    font-size: 0.82rem !important;
}

/* —— Halaman Tentang Kami —— */
.rp-inner .rp-page-hero .rp-hero-lead {
    max-width: 42rem;
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--rp-text-muted);
}

.rp-inner .rp-page-hero .rp-hero-title {
    font-size: clamp(1.35rem, 4vw, 1.75rem) !important;
    line-height: 1.25 !important;
}

.rp-about-lead {
    font-size: 0.92rem;
    line-height: 1.65;
}

.rp-about-entity {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rp-accent) !important;
    margin-bottom: 0.75rem;
}

.rp-about-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.rp-about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    color: var(--rp-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.rp-about-highlights i {
    color: var(--rp-accent);
    flex-shrink: 0;
    width: 1rem;
    margin-top: 0.12rem;
    font-size: 0.85rem;
    text-align: center;
}

.rp-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.rp-about-values .section-header,
.rp-about-services .section-header,
.rp-about-faq .section-header {
    margin-bottom: 1.35rem;
}

body.about-page .rp-about-values {
    padding-top: 3rem;
}

.rp-about-value-card {
    height: 100%;
    padding: 1.15rem 1.1rem;
    border-radius: 14px;
    color: var(--rp-text-muted);
}

.rp-about-value-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--rp-text) !important;
    margin: 0.55rem 0 0.35rem;
    clear: both;
}

.rp-about-value-card p {
    margin: 0;
    line-height: 1.55;
    font-size: 0.86rem;
}

.rp-about-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--rp-accent-soft);
    color: var(--rp-accent);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-bottom: 0.35rem;
}

.rp-about-values-grid {
    row-gap: 1.25rem;
}

.rp-about-service-item {
    height: 100%;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    color: var(--rp-text-muted);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rp-about-service-item > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
    color: var(--rp-accent);
    margin: 0 0 0.5rem;
    border-radius: 8px;
    background: var(--rp-accent-soft);
    flex-shrink: 0;
}

.rp-about-service-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--rp-text) !important;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.rp-about-service-item p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
}

.rp-theme .legal-info-card a {
    color: var(--rp-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rp-about-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rp-about-faq-item {
    border-radius: 12px;
    overflow: hidden;
}

.rp-about-faq-q {
    width: 100%;
    text-align: left;
    padding: 0.85rem 2.75rem 0.85rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--rp-text) !important;
    background: var(--rp-glass-head);
    border: 0;
    border-bottom: 1px solid var(--rp-glass-border);
    cursor: pointer;
    position: relative;
    white-space: normal;
    word-break: break-word;
}

.rp-about-faq-q.collapsed {
    border-bottom-color: transparent;
}

.rp-about-faq-q::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 0.85rem;
    transform: none;
    font-size: 0.7rem;
    color: var(--rp-accent);
    transition: transform 0.2s ease;
    line-height: 1;
    pointer-events: none;
}

.rp-about-faq-q[aria-expanded="true"]::after,
.rp-about-faq-q:not(.collapsed)::after {
    transform: rotate(180deg);
}

.rp-about-faq-a {
    padding: 0.75rem 1rem 0.9rem;
    color: var(--rp-text-muted);
    font-size: 0.86rem;
    line-height: 1.6;
    background: transparent;
}

.rp-about-faq-a p {
    margin: 0;
}

.rp-about-faq-a a {
    color: var(--rp-accent);
    text-decoration: underline;
}

.rp-about-cta-box {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--rp-glass-border);
    background: linear-gradient(135deg, var(--rp-accent-soft), transparent);
}

.rp-about-cta-box h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rp-text) !important;
    margin-bottom: 0.45rem;
    line-height: 1.35;
}

.rp-about-cta-box p {
    margin: 0;
    color: var(--rp-text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .rp-theme.rp-inner .about-thumb {
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .rp-theme.rp-inner .about-thumb img {
        max-width: 220px;
        height: auto;
    }

    .rp-theme.rp-inner .rp-legal-col.border-right {
        border-right: 0 !important;
        border-bottom: 1px solid var(--rp-glass-border);
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .rp-theme.rp-inner .rp-legal-col.pl-md-4 {
        padding-left: 15px !important;
    }

    .rp-about-actions .rp-btn {
        width: 100%;
        justify-content: center;
    }

    .rp-about-cta-box .text-lg-right {
        text-align: left !important;
    }

    .rp-about-cta-box .rp-btn {
        width: 100%;
        justify-content: center;
    }
}

/* —— Halaman Privasi & Syarat Layanan —— */
.rp-privacy-page .rp-privacy-intro {
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    color: var(--rp-text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.rp-privacy-page .rp-privacy-intro p {
    font-size: 0.9rem !important;
    margin-bottom: 0.65rem;
}

.rp-privacy-nav__inner {
    padding: 1rem 0.85rem;
    border-radius: 14px;
}

.rp-privacy-nav__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rp-accent);
    margin: 0 0 0.75rem;
    padding: 0 0.35rem;
}

#privacy-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#privacy-menu .nav-link {
    display: block;
    padding: 0.45rem 0.5rem;
    font-size: 0.86rem;
    color: var(--rp-text-muted);
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

#privacy-menu .nav-link:hover,
#privacy-menu .nav-link.active {
    color: var(--rp-text) !important;
    background: var(--rp-accent-soft);
}

.rp-privacy-doc .privacy-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--rp-glass-border);
}

.rp-privacy-doc .privacy-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rp-privacy-doc .title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rp-text) !important;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.rp-privacy-doc h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--rp-text) !important;
    margin: 0.9rem 0 0.4rem;
    line-height: 1.35;
}

.rp-privacy-doc p,
.rp-privacy-doc li {
    color: var(--rp-text-muted);
    line-height: 1.6;
    font-size: 0.86rem;
}

.rp-privacy-doc ul,
.rp-privacy-doc ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.rp-privacy-doc a {
    color: var(--rp-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rp-privacy-contact {
    list-style: none;
    padding: 0;
}

.rp-privacy-contact li {
    margin-bottom: 0.45rem;
}

html[data-theme="light"] .rp-privacy-page .privacy-section {
    color: var(--rp-text-muted);
}

@media (max-width: 991px) {
    .rp-privacy-nav.sticky-menu {
        position: static;
        margin-bottom: 0.5rem;
    }

    #privacy-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    #privacy-menu li {
        flex: 0 0 auto;
    }

    #privacy-menu .nav-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.55rem;
        border: 1px solid var(--rp-glass-border);
    }
}
