/*
Theme Name: WP Sales
Theme URI: https://siapngeweb.com
Author: Siapngeweb.com
Author URI: https://siapngeweb.com
Description: Katalog mobil dan motor untuk satu sales atau satu dealer. Kartu bergaya marketplace, halaman model bergaya situs resmi merek. Tanpa pustaka tambahan.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-sales
Domain Path: /languages
Tags: e-commerce, custom-colors, custom-logo, featured-images, translation-ready
*/

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--base, 100%); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background-color: var(--page, var(--bg, #fff)); background-size: cover; background-position: center; background-repeat: no-repeat; color: var(--text, #1f2937);
	font: 400 1rem/1.55 var(--font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	overflow-wrap: break-word;
}
.site-header, .main, .site-footer { display: block; width: 100%; max-width: 100%; }
body.has-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
img, svg, video { max-width: 100%; height: auto; }
body > svg { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .15em; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 700; }
h2 { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p, ul, ol, dl, address, figure { margin: 0 0 1em; }
address { font-style: normal; }
[id] { scroll-margin-top: calc(var(--hh, 76px) + 8px); }
.admin-bar [id] { scroll-margin-top: calc(var(--hh, 76px) + var(--wp-admin--admin-bar--height, 32px) + 8px); }
:root { --frame-out: 40px; --ok-bg: #dcfce7; --ok: #166534; --warn-bg: #fef3c7; --warn: #92400e; --bad-bg: #fee2e2; --bad: #991b1b; --err: #b91c1c; --chip: #e5e7eb; --chip-text: #374151; }
@media (max-width: 1199px) { :root { --frame-out: 24px; } }
@media (max-width: 781px) { :root { --frame-out: 8px; } }
:focus-visible { outline: 3px solid var(--accent-text, #007a0c); outline-offset: 2px; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.alignleft { float: left; margin: 0 1.25rem .75rem 0; }
.alignright { float: right; margin: 0 0 .75rem 1.25rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption img { display: block; max-width: 100%; height: auto; }
.wp-caption-text, .gallery-caption { margin: 4px 0 0; font-size: .875rem; color: var(--muted); }
.sticky, .bypostauthor { display: block; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--accent-text); color: #fff; padding: .6em 1em; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.frame.wrap { display: flow-root; width: min(1200px, calc(100% - 2 * var(--frame-out, 40px))); margin-top: var(--frame-gap, 40px); margin-bottom: var(--frame-gap, 40px); padding-top: 16px; background: var(--bg, #fff); border-radius: 16px; }
.main { padding-block: 0 16px; min-height: 50vh; outline: none; }
@media (max-width: 781px) {
	.frame.wrap { padding: 8px 8px 0; margin-top: 8px; margin-bottom: 8px; }
	.main { padding-bottom: 8px; }
}
.main > :last-child { margin-bottom: 0; }
.i { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }
.block { margin-block: 32px; }
.catalog:has(+ .catalog),
.catalog:has(+ .posts-home),
.pin-slider:has(+ .catalog) { margin-bottom: 0; }
.catalog + .catalog,
.catalog + .posts-home,
.pin-slider + .catalog { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.lede, .note, .updated, .meta, .owner-role { color: var(--muted, #6b7280); }
.note { font-size: .875rem; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; }
.miss-find { max-width: 520px; margin: 0 0 8px; }
.miss-find .search { background: var(--bg); }
.prose > :last-child { margin-bottom: 0; }
.prose img { border-radius: 8px; }
.page-head { margin-bottom: 20px; }
/* anchor: Shopee section head, diverge: title and outline button stay on one row at every width */
.sec-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h1, .sec-head h2 { margin: 0; min-width: 0; }
.sec-head .btn { width: auto; flex: none; }
.notice { padding: 12px 14px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); border: 1px solid var(--line); }
.notice-err { border-color: var(--err); color: var(--bad); background: var(--bad-bg); }

/* ---------- Tombol ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	min-height: 44px; padding: .55em 1em; border: 1px solid transparent; border-radius: 8px;
	font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.btn-tel { background: var(--accent-text); color: #fff; }
.btn-wa { background: var(--wa, #075e54); color: #fff; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn:hover { filter: brightness(.94); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: nowrap; gap: 0; width: 100%; }
.actions .btn { flex: 1 1 0; min-width: 0; border-radius: 0; padding-inline: .7em; }
.actions .btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.actions .btn:first-child { border-radius: 8px 0 0 8px; }
.actions .btn:last-child { border-radius: 0 8px 8px 0; }
.actions .btn:only-child { border-radius: 8px; }
.share { display: flex; align-items: center; gap: 2px; margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.share span { margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.share a:hover, .share button:hover { color: #212121; background: var(--chip); }
.share button.is-copied { color: var(--ok); background: var(--ok-bg); }
.share .i { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--accent-text); color: #fff; border-bottom: 0; }
.site-header .menu a,
.site-header .search-toggle,
.site-header .nav-toggle,
.site-header .search button { color: #fff; }
.site-header .search-toggle,
.site-header .nav-toggle { border-color: rgb(255 255 255 / .45); background: transparent; }
.site-header .menu a { border-radius: 8px; }
.site-header .menu a:hover { background: rgb(255 255 255 / .16); }
.site-header .menu .current-menu-item > a,
.site-header .menu a[aria-current] { background: var(--accent); color: #fff; box-shadow: none; }
.site-header .menu .current-menu-item > a:hover,
.site-header .menu a[aria-current]:hover { background: var(--accent); filter: brightness(1.12); }
/* anchor: GitHub header search, diverge: white field on the accent bar, desktop drops under the icon instead of stretching the bar */
.site-header .hd-search { padding-block: 0 12px; }
.site-header .search { background: var(--bg); border: 0; box-shadow: 0 1px 2px rgb(31 41 55 / .08), 0 8px 20px rgb(31 41 55 / .12); }
.site-header .search input { color: var(--text); background: transparent; font-size: 16px; }
.site-header .search input::placeholder { color: var(--muted); }
.site-header .search button { color: var(--muted); }
.search-toggle[aria-expanded="true"] { background: var(--bg); color: var(--text); border-color: var(--bg); }
.site-header .btn-tel { color: #fff; background: transparent; border-color: rgb(255 255 255 / .55); }
.admin-bar .site-header { top: 0; }
@media (min-width: 600px) { .admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); } }
.hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; min-height: 44px; min-width: 0; }
.brand-img { max-height: 44px; width: auto; }
.brand-photo { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.brand-name { font-size: 1.2rem; font-weight: 700; }
.nav-toggle, .search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 8px; color: inherit; cursor: pointer; }
.hd-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hd-search { padding-bottom: 10px; }
.js .hd-search:not(.is-open) { display: none; }
@media (min-width: 782px) {
	.js .hd-search.is-open {
		position: absolute; z-index: 60; top: 100%; right: max(16px, calc((100% - 1200px) / 2));
		width: min(400px, calc(100% - 32px)); max-width: none; margin: 0; padding: 8px 16px 0 0; background: transparent;
	}
}
form.search { display: flex; width: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
form.search input { flex: 1; min-width: 0; padding: 0 12px; height: 44px; border: 0; background: transparent; font: inherit; color: inherit; }
form.search button { width: 44px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.nav { flex: 1 1 100%; min-width: 0; order: 5; }
.js .nav { display: none; }
.js .is-open .nav { display: block; }
@media (max-width: 781px) {
	.site-header .nav { border-top: 1px solid rgb(255 255 255 / .28); margin-top: 6px; padding-top: 8px; }
	.site-header .menu a { padding-inline: 12px; margin-inline: -12px; }
}
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.menu a { display: flex; align-items: center; min-height: 44px; padding-inline: 4px; text-decoration: none; font-weight: 500; }
.menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0 12px; }
.menu .current-menu-item > a, .menu a[aria-current] { color: var(--accent-text); }
.hd-contact { display: none; gap: 8px; }
@media (min-width: 782px) {
	.hd { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px 16px; }
	.nav-toggle { display: none; }
	.brand { margin-right: 0; grid-column: 1; max-width: 100%; }
	.brand-img { max-width: 100%; }
	.nav, .js .nav { display: block; order: 0; flex: none; grid-column: 2; justify-self: center; }
	.menu { flex-direction: row; flex-wrap: nowrap; gap: 0; justify-content: center; }
	.menu > li { position: relative; }
	.menu a { padding-inline: 8px; white-space: nowrap; }
	.menu .sub-menu {
		display: none; flex-direction: column; position: absolute; left: 0; top: 100%; z-index: 60;
		min-width: 180px; margin: 0; padding: 8px; border-radius: 8px; background: var(--accent-text);
	}
	.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { display: flex; }
	.hd-tools { grid-column: 3; justify-self: end; margin-left: 0; }
	.hd-contact { display: flex; }
	.hd-contact .btn-tel { width: 44px; min-height: 44px; padding: 0; }
	.hd-contact .btn-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Bar kontak bawah (mobile) ---------- */
.bar {
	position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 8px;
	padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
	box-shadow: 0 -4px 16px rgb(0 0 0 / .1);
}
.bar .btn { flex: 1; }
@media (min-width: 782px) { .bar { display: none; } body.has-bar { padding-bottom: 0; } }

/* ---------- Kartu kontak ---------- */
.owner { display: grid; gap: 16px; padding: 20px; border: 0; border-radius: 12px; margin-block: 32px; background: var(--accent-text); color: #fff; box-shadow: 0 10px 28px rgb(0 0 0 / .12); }
.contact-page .owner,
.site-side .owner,
.model-side .owner { position: relative; overflow: hidden; }
.contact-page .owner::before,
.contact-page .owner::after,
.site-side .owner::before,
.site-side .owner::after,
.model-side .owner::before,
.model-side .owner::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.contact-page .owner::before,
.site-side .owner::before,
.model-side .owner::before { width: 210px; height: 210px; top: -124px; right: -124px; background: var(--accent); }
.contact-page .owner::after,
.site-side .owner::after,
.model-side .owner::after { width: 150px; height: 150px; bottom: -96px; left: -96px; background: color-mix(in srgb, var(--accent) 34%, #000); }
.contact-page .owner > *,
.site-side .owner > *,
.model-side .owner > * { position: relative; z-index: 1; }
.owner a { color: #fff; }
.owner .owner-role { color: rgb(255 255 255 / .82); }
.owner .owner-info .i,
.owner .btn .i { color: inherit; }
.owner .btn { width: 100%; background: #fff; color: var(--accent-text); border-color: #fff; }
.owner-actions { flex-direction: column; }
.owner-who { display: flex; align-items: center; gap: 14px; }
.contact-page .owner-who,
.site-side .owner-who,
.model-side .owner-who { padding-right: 56px; }
.owner-id { min-width: 0; }
.owner-call, .owner-x { display: none; }
.owner > summary { list-style: none; cursor: pointer; }
.owner > summary::-webkit-details-marker { display: none; }
.owner-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
body.wpsales-showroom .owner-img { width: auto; max-width: 120px; height: auto; max-height: 64px; border-radius: 0; object-fit: contain; background: none; padding: 0; box-shadow: none; }
body.wpsales-showroom .brand-photo { width: auto; max-width: 120px; border-radius: 8px; object-fit: contain; }
.owner-name { margin: 0; font-weight: 700; font-size: 1.1rem; }
.owner-role { margin: 0; font-size: .9rem; }
.owner-info p { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; }
.owner-info .i { margin-top: .25em; }
.owner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.owner-actions .btn { flex: none; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.social li { display: flex; }
.social a, .foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 8px; text-decoration: none; }
@media (min-width: 782px) {
	.owner { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
	.owner-actions { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

/* Halaman kontak: kartu penuh di bawah judul, sejajar judul mulai 1024px. */
.contact-page { display: grid; gap: 20px 40px; align-items: start; }
.contact-page .page-head { margin-bottom: 0; order: 1; }
.contact-page .about { margin: 0; order: 3; }
.contact-page .owner { order: 2; width: min(320px, 100%); min-width: 0; margin-block: 0; grid-template-columns: 1fr; justify-self: start; }
.contact-page .owner-actions { grid-column: auto; grid-row: auto; align-self: stretch; }
.contact-page .owner-info a,
.contact-page .owner-info span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
	.contact-page:has(.about) { grid-template-columns: minmax(0, 1fr) 320px; }
	.contact-page:has(.about) .page-head { grid-column: 1; grid-row: 1; }
	.contact-page:has(.about) .about { grid-column: 1; grid-row: 2; }
	.contact-page:has(.about) .owner { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--hh, 76px) + 16px); }
	.admin-bar .contact-page:has(.about) .owner { top: calc(var(--hh, 76px) + var(--wp-admin--admin-bar--height, 32px) + 16px); }
}

/* ---------- Bingkai: isi dan kartu sales ---------- */
.frame.with-side { display: flow-root; }
.site-side { margin-bottom: 16px; }
@media (min-width: 1024px) {
	.frame.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 40px; align-items: start; }
	.frame.with-side > .banner { grid-column: 1 / -1; }
	.frame.is-arch > .main { display: contents; }
	.frame.is-arch .arch-top,
	.frame.is-arch .pin-slider,
	.frame.is-arch .arch-count { grid-column: 1 / -1; }
	.frame.is-arch .arch-rest { grid-column: 1; min-width: 0; padding-bottom: 16px; }
	.frame.is-arch .site-side { grid-column: 2; margin-top: 0; }
	.frame.with-side .main { min-width: 0; }
	.site-side { position: sticky; top: calc(var(--hh, 76px) + 16px); z-index: 5; align-self: start; margin-top: 8px; margin-bottom: 16px; }
	.admin-bar .site-side { top: calc(var(--hh, 76px) + var(--wp-admin--admin-bar--height, 32px) + 16px); }
}
.contact-page .owner,
.site-side .owner,
.model-side .owner { margin-block: 0; gap: 22px; padding: 24px; box-shadow: 0 10px 28px rgb(0 0 0 / .16); }
.contact-page .owner-info p,
.site-side .owner-info p,
.model-side .owner-info p { margin: 0 0 14px; }
.contact-page .owner-info p:last-child,
.site-side .owner-info p:last-child,
.model-side .owner-info p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
	.site-side .owner,
	.model-side .owner { grid-template-columns: 1fr; background: var(--accent-text); box-shadow: 0 10px 28px rgb(0 0 0 / .16); }
	.site-side .owner-actions,
	.model-side .owner-actions { grid-column: auto; grid-row: auto; }
}
@media (max-width: 781px) {
	.site-side, .model-side {
		position: fixed; z-index: 45; right: 0; top: 50%; bottom: auto; transform: translateY(-50%);
		width: auto; margin: 0;
	}
	.site-side .owner, .model-side .owner, .contact-page .owner {
		display: block; width: auto; height: auto; margin: 0; padding: 0; gap: 0;
		border: 0; border-radius: 999px 0 0 999px; color: #fff;
		background: var(--accent-text); box-shadow: 0 4px 16px rgb(0 0 0 / .22);
	}
	.contact-page .owner {
		position: fixed; z-index: 45; right: 0; top: 50%; bottom: auto; transform: translateY(-50%);
	}
	.site-side .owner:not([open])::before,
	.site-side .owner:not([open])::after,
	.model-side .owner:not([open])::before,
	.model-side .owner:not([open])::after,
	.contact-page .owner:not([open])::before,
	.contact-page .owner:not([open])::after { content: none; }
	.site-side .owner > summary, .model-side .owner > summary, .contact-page .owner > summary { display: flex; align-items: center; gap: 2px; width: auto; height: auto; padding: 7px 6px 7px 7px; }
	.site-side .owner .owner-call, .model-side .owner .owner-call, .contact-page .owner .owner-call {
		display: block; color: #fff; font-weight: 700; font-size: .5rem; line-height: 1; letter-spacing: .04em;
		text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg);
	}
	.site-side .owner .owner-id, .model-side .owner .owner-id, .contact-page .owner .owner-id { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.site-side .owner .owner-img, .model-side .owner .owner-img, .contact-page .owner .owner-img {
		width: 64px; height: 64px; margin: 0; border-radius: 50%; display: block; object-fit: cover; background: #fff;
	}
	.site-side:has(.owner[open]), .model-side:has(.owner[open]) {
		top: calc(var(--hh, 64px) + 8px);
		bottom: calc(68px + env(safe-area-inset-bottom));
		transform: none; display: flex; align-items: center; pointer-events: none;
	}
	.site-side .owner[open], .model-side .owner[open], .contact-page .owner[open] {
		display: grid; position: relative; width: min(300px, calc(100vw - 16px)); height: auto;
		max-height: 100%;
		padding: 16px 16px 24px; gap: 16px; overflow: hidden; pointer-events: auto; color: #fff;
		border-radius: 12px 0 0 12px; border: 0; background: var(--accent-text);
	}
	.contact-page .owner[open] {
		position: fixed; right: 0; top: 50%; bottom: auto; transform: translateY(-50%);
		max-height: calc(100dvh - var(--hh, 64px) - 84px - env(safe-area-inset-bottom));
	}
	.site-side .owner[open] > summary, .model-side .owner[open] > summary, .contact-page .owner[open] > summary {
		position: relative; align-items: center; gap: 12px; width: auto; height: auto; min-height: 48px; padding: 0 72px 0 0;
	}
	.site-side .owner[open] .owner-x, .model-side .owner[open] .owner-x, .contact-page .owner[open] .owner-x { background: var(--accent-text); border-radius: 50%; }
	.site-side .owner[open] .owner-call, .model-side .owner[open] .owner-call, .contact-page .owner[open] .owner-call { display: none; }
	.site-side .owner[open] .owner-x, .model-side .owner[open] .owner-x, .contact-page .owner[open] .owner-x {
		display: grid; place-items: center; position: absolute; top: 50%; right: 0; width: 44px; height: 44px; transform: translateY(-50%);
	}
	.site-side .owner[open] .owner-id, .model-side .owner[open] .owner-id, .contact-page .owner[open] .owner-id { position: static; width: auto; min-width: 0; height: auto; overflow: visible; clip: auto; }
	.site-side .owner[open] .owner-img, .model-side .owner[open] .owner-img, .contact-page .owner[open] .owner-img { flex: none; width: 48px; height: 48px; }
	body.wpsales-showroom .site-side .owner .owner-img,
	body.wpsales-showroom .model-side .owner .owner-img,
	body.wpsales-showroom .contact-page .owner .owner-img { border-radius: 0; object-fit: contain; background: none; }
	.site-side .owner[open] .social, .model-side .owner[open] .social, .contact-page .owner[open] .social { gap: 16px; margin-top: 20px; }
}
@media (min-width: 782px) {
	.site-side .owner::details-content,
	.model-side .owner::details-content,
	.contact-page .owner::details-content { display: contents; content-visibility: visible; }
	.site-side .owner:not([open]) > .owner-info,
	.model-side .owner:not([open]) > .owner-info,
	.contact-page .owner:not([open]) > .owner-info { display: block; }
	.site-side .owner:not([open]) > .social,
	.model-side .owner:not([open]) > .social,
	.contact-page .owner:not([open]) > .social { display: flex; }
	.site-side .owner:not([open]) > .owner-actions,
	.model-side .owner:not([open]) > .owner-actions,
	.contact-page .owner:not([open]) > .owner-actions { display: flex; }
	.site-side .owner > summary,
	.model-side .owner > summary,
	.contact-page .owner > summary { pointer-events: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--accent-text); color: #fff; padding-block: 28px 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot { display: grid; gap: 24px; margin-bottom: 20px; }
.foot-logo { display: inline-flex; margin-bottom: 10px; }
.foot-logo .brand-img { max-height: 48px; }
.foot-brand p { margin: 0; max-width: 46ch; color: rgb(255 255 255 / .86); }
.foot-label { margin: 0 0 8px; font-weight: 700; }
.foot-contact p { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; }
.foot-contact .i { margin-top: .2em; flex: none; }
.foot-bottom { padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .28); }
.foot-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0; font-size: .875rem; color: rgb(255 255 255 / .86); }
.foot-note { margin: 0; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 782px) { .foot { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* ---------- Beranda ---------- */
.home-intro { padding-block: 8px 0; }
.home-intro .lede { max-width: 60ch; font-size: 1.05rem; }
.home-intro .intro-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.home-intro .intro-actions .btn { width: auto; }
.credit-next { margin-top: 16px; }
.credit-next .btn { width: auto; }
.trust { margin-block: 36px; }
.trust-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 782px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }
.trust-list blockquote { margin: 0; padding: 16px; border-left: 3px solid var(--accent-text); background: color-mix(in srgb, var(--accent-text) 6%, var(--bg)); border-radius: 0 8px 8px 0; }
.trust-list footer { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.kampanye .page-head { text-align: center; }
.kampanye .kampanye-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0; }
.ticker { margin: 16px 0; overflow: hidden; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-radius: 0 8px 8px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker var(--ticker, 24s) linear infinite; }
.ticker-track p { display: flex; margin: 0; padding: 12px 0; white-space: nowrap; }
.ticker-track span { display: inline-flex; align-items: center; }
.ticker-track span::after { content: "·"; margin-inline: 1.75rem; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; width: auto; }
	.ticker-track p { white-space: normal; }
	.ticker-track p[aria-hidden="true"] { display: none; }
}
.crumbs { max-width: 100%; min-width: 0; margin: 0 0 16px; padding: 8px 12px; background: color-mix(in srgb, var(--accent-text) 9%, var(--bg)); border-left: 3px solid var(--accent-text); border-radius: 0 8px 8px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; padding: 0; margin: 0; font-size: .875rem; color: var(--muted); }
.crumbs li { min-width: 0; }
.crumbs li + li::before { content: "/"; margin-right: 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Banner beranda ---------- */
.frame > .banner { margin-top: 0; }
.frame > .banner + .main { padding-top: 0; }
.banner { position: relative; margin-bottom: 20px; }
@media (max-width: 781px) {
	.banner { margin-bottom: 4px; }
	.home-intro { padding-top: 0; }
}
.banner-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.banner-link, .banner-video { position: relative; display: block; aspect-ratio: 16 / 9; color: #fff; text-decoration: none; background: #111; overflow: hidden; }
.banner-video { container-type: size; }
.banner-video iframe {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: max(100%, calc(100cqh * 16 / 9)); height: max(100%, calc(100cqw * 9 / 16));
	max-width: none; aspect-ratio: auto; border: 0; border-radius: 0;
}
.banner-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .78), rgb(0 0 0 / .35) 50%, transparent); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.banner-copy { position: absolute; z-index: 1; inset: auto 0 0 0; display: grid; gap: 4px; justify-items: start; padding: 16px 20px 20px; opacity: 0; transition: opacity .2s ease; }
.banner-link:hover::after, .banner-link:focus-visible::after, .banner-link.is-open::after, .banner-link:hover .banner-copy, .banner-link:focus-visible .banner-copy, .banner-link.is-open .banner-copy { opacity: 1; }
.banner-t { font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.banner-s { font-size: 1rem; max-width: 60ch; }
.banner-b { margin-top: 4px; padding: 6px 14px; border-radius: 8px; background: #fff; color: #111; font-weight: 600; box-shadow: 0 2px 8px rgb(0 0 0 / .35); }
.banner-nav { display: none; position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; cursor: pointer; place-items: center; box-shadow: 0 2px 8px rgb(0 0 0 / .35); }
.banner-prev { left: 8px; }
.banner-next { right: 8px; }
.js .banner-nav { display: grid; }
.banner-dots { display: none; justify-content: center; gap: 4px; margin-top: 4px; }
.js .banner-dots { display: flex; }
.banner-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.banner-dots button::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--line); }
.banner-dots button[aria-current]::before { background: var(--accent-text); }
@media (min-width: 782px) { .banner-link, .banner-video { aspect-ratio: 21 / 9; } }
@media (max-width: 781px) { .js .pin-box .banner-nav { display: none; } }

/* ---------- Slider sematan ---------- */
.pin-box { position: relative; }
.pin-track { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pin-track::-webkit-scrollbar { display: none; }
.pin-slide { flex: 0 0 calc(100% - 40px); scroll-snap-align: start; min-width: 0; }
.pin-track .pin-slide:only-child { flex-basis: 100%; }
.pin-card { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.pin-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; align-self: center; background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.pin-media img, .pin-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.pin-body { min-width: 0; display: grid; align-content: center; gap: 4px; padding: 12px 14px; }
.pin-meta, .pin-spec, .pin-excerpt { margin: 0; font-size: .8rem; color: var(--muted); }
.pin-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pin-meta .tag { flex: none; }
.pin-meta a { color: var(--text); font-weight: 600; text-decoration: none; }
.pin-meta a:hover { text-decoration: underline; }
.pin-body .price { margin: 0; font-weight: 700; }
.pin-body .tags { margin: 0; }
.pin-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pin-body .btn { justify-self: start; margin-top: 4px; }
.pin-box .banner-prev { left: 8px; }
.pin-box .banner-next { right: 8px; }
.arch-top + .pin-slider { margin-top: 0; }
.arch-top .page-head { margin-bottom: 8px; }
@media (min-width: 782px) {
	.arch-top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
	.arch-top .crumbs, .arch-top .pl-filters { grid-column: 1 / -1; }
	.arch-top .crumbs { margin-bottom: 0; }
	.arch-top .page-head, .arch-top .page-head h1 { margin: 0; }
	.arch-top .page-head { justify-self: start; }
	.arch-top .pl-tools { display: contents; }
	.arch-top .pl-find span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.arch-top .pl-find input::placeholder { color: var(--muted); }
	.arch-top .pl-filters { gap: 12px; margin: 0; padding: 0; border: 0; }
	.arch-top .pl-drop-btn { height: 36px; }
	.blog-top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
	.blog-top .page-head { display: contents; }
	.blog-top h1 { grid-column: 1; grid-row: 1; margin: 0; }
	.blog-top .lede { grid-column: 1 / -1; grid-row: 2; margin: 0; }
	.blog-top .pl-tools { display: contents; }
	.blog-top .pl-find { grid-column: 2; grid-row: 1; }
	.blog-top .pl-find span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.blog-top .pl-find input::placeholder { color: var(--muted); }
}
.pl-find input::placeholder { color: transparent; }
@media (max-width: 781px) { .pin-card { grid-template-columns: 1fr; } }
@media (min-width: 782px) {
	.pin-slide { flex-basis: calc(100% - 112px); }
	.pin-box .banner-next { right: 28px; }
	.pin-card { align-items: stretch; padding: 12px 0 0 12px; column-gap: 12px; }
	.pin-media { align-self: center; border-radius: 8px; overflow: hidden; }
	.pin-body { align-self: stretch; align-content: start; margin: -12px 0 0; padding: 48px 16px 14px; }
}

/* ---------- Kisi dan kartu (gaya marketplace) ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow .15s; }
.card:hover, .post-row:hover { box-shadow: 0 4px 16px rgb(0 0 0 / .1); }
@media (prefers-reduced-motion: no-preference) {
	.card, .post-row { transition: box-shadow .15s, transform .15s; }
	.card:hover, .post-row:hover { transform: translateY(-2px); }
}
.arch-head .lede { margin-bottom: 12px; }
.pin-slider:has(+ .arch-count) { margin-bottom: 12px; }
.arch-count { margin: 0 0 20px; }
.post-single .page-head { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.post-single .page-head h1 { margin-bottom: 0; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.post-byline .meta, .post-byline .share { margin: 0; }
.post-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-terms a { color: var(--text); text-decoration: none; }
.post-terms .is-cat { background: color-mix(in srgb, var(--accent-text) 12%, var(--bg)); color: var(--accent-text); }
.post-photo { margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.post-photo img { width: 100%; display: block; }
.also { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.also-box { position: relative; }
.also-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.also-track::-webkit-scrollbar { display: none; }
.also-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; display: flex; }
.also-slide > .card { flex: 1; }
@media (min-width: 600px) { .also-slide { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .also-slide { flex-basis: calc((100% - 16px * (var(--cols, 4) - 1)) / var(--cols, 4)); } }
.also-box .banner-prev { left: 8px; }
.also-box .banner-next { right: 8px; }
.card-shot { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: var(--ratio, 4 / 3); background: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.card-nego { position: absolute; z-index: 3; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: 6px; background: rgb(255 255 255 / .92); color: #212121; font-size: .75rem; font-weight: 600; line-height: 1.3; pointer-events: none; }
.card-face { position: absolute; z-index: 3; inset: 8px 8px auto 8px; display: flex; gap: 8px; pointer-events: none; }
.card-face span { max-width: 46%; padding: 4px 8px; border-radius: 6px; background: rgb(255 255 255 / .92); color: #212121; font-size: .75rem; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-face .is-merek { margin-left: auto; }
.post-list { display: grid; gap: 12px; }
.post-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.post-row-media { display: block; height: 100%; min-height: 96px; background: color-mix(in srgb, var(--text) 6%, var(--bg)); }
.post-row-media img, .post-row-media .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-row-body { padding: 12px 14px; min-width: 0; display: grid; align-content: center; gap: 4px; }
.post-row-meta, .post-row-excerpt, .post-row-tags { margin: 0; font-size: .8rem; color: var(--muted); }
.post-row-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-row-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.post-row-tags a, .post-row-meta a { color: var(--text); font-weight: 600; text-decoration: none; }
.post-row-tags a:hover, .post-row-meta a:hover { text-decoration: underline; }
@media (min-width: 782px) {
	.post-row { grid-template-columns: 150px minmax(0, 1fr); }
	.post-row-media { min-height: 150px; }
	.post-row-body { padding: 16px 20px; }
	.post-list.is-archive { grid-template-columns: 1fr 1fr; }
	.post-list.is-archive .post-row.is-feature { grid-column: 1 / -1; grid-template-columns: 220px minmax(0, 1fr); }
	.post-list.is-archive .post-row.is-feature .post-row-media { min-height: 220px; }
	.post-list.is-archive .post-row.is-feature .post-row-excerpt { -webkit-line-clamp: 3; }
}
.card-media img, .photo-box img { width: 100%; height: 100%; object-fit: contain; object-position: center; box-sizing: border-box; display: block; }
.card-media img { position: relative; z-index: 2; padding: 8px; }
.pin-media img { z-index: 2; }
.ph { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--line) 0 8px, transparent 8px 16px); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px; flex: 1; }
.card-body > .btn { margin-top: auto; min-height: 40px; }
.card-title { margin: 0; font-size: 1rem; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .card-title, .pin-card .card-title, .post-row .card-title { font-size: 1.375rem; font-weight: 700; }
.frame.is-arch .arch-rest .card .card-title,
.post-list.is-archive .post-row .card-title { font-size: 1.0625rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.price { margin: 0; font-weight: 700; font-size: 1.1rem; }
.nego { margin: 0; font-size: .8rem; color: var(--muted); }
.meta { margin: 0 0 8px; font-size: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 4px; }
.tag { box-sizing: border-box; padding: 2px 8px; font-size: .75rem; font-weight: 600; border-radius: 4px; border: 1px solid transparent; background: color-mix(in srgb, var(--text) 8%, var(--bg)); }
.tag-tersedia { background: var(--ok-bg); color: var(--ok); }
.tag-tipe { appearance: none; cursor: pointer; border: 1px solid var(--line); background: color-mix(in srgb, var(--text) 8%, var(--bg)); color: inherit; font: inherit; font-size: .75rem; font-weight: 600; }
.tag-tipe.is-campur { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.tag-save { background: var(--bad-bg); color: var(--bad); }
.tag-fav { background: var(--accent-text); color: #fff; }
.tag-terjual, .tag-habis, .tag-discontinue, .btn-terjual, .btn-discontinue { background: var(--chip-text); color: #fff; }
.btn-terjual, .btn-discontinue { cursor: default; }
.btn-terjual:hover, .btn-discontinue:hover { filter: none; }
.tag-inden, .tag-dipesan { background: var(--warn-bg); color: var(--warn); }
.card-body, .pin-body, .post-row-body { position: relative; z-index: 1; background: var(--accent-text); color: #fff; clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); }
.card:not(.card-text) .card-body, .pin-body { margin-top: calc(-18.75% - 16px); padding-top: calc(18.75% + 36px); }
.card.card-text .card-body, .post-row-body { margin-top: 0; padding-top: 46px; }
@media (min-width: 782px) {
	.pin-body { margin: -12px 0 0; padding: 58px 16px 14px; }
}
.card-body::before, .pin-body::before, .post-row-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; background: color-mix(in srgb, var(--accent-text) 55%, #000); clip-path: polygon(0 32px, 100% 0, 100% 12px, 0 44px); pointer-events: none; }
.card-body .price, .pin-body .price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.card-body .tags, .pin-body .tags { margin: 0; }
.card-body a, .pin-body a, .post-row-body a { color: inherit; }
.card-body .meta, .card-body .nego, .pin-meta, .pin-spec, .pin-excerpt, .post-row-meta, .post-row-excerpt, .post-row-tags { color: rgb(255 255 255 / .82); }
.card-body .tag, .pin-body .tag { color: var(--text); }
.card-body .tag-tersedia, .pin-body .tag-tersedia { color: var(--ok); }
.card-body .tag-save, .pin-body .tag-save { color: var(--bad); }
.card-body .tag-fav, .pin-body .tag-fav { background: #fff; color: var(--accent-text); }
.card-body .tag-terjual, .card-body .tag-habis, .card-body .tag-discontinue, .pin-body .tag-terjual, .pin-body .tag-habis, .pin-body .tag-discontinue { color: #fff; }
.card-body .tag-inden, .card-body .tag-dipesan, .pin-body .tag-inden, .pin-body .tag-dipesan, .card-body .tag-tipe.is-campur, .pin-body .tag-tipe.is-campur { color: var(--warn); }
.card-body .btn-wa, .pin-body .btn-wa { background: #fff; color: var(--accent-text); border-color: #fff; }
.card-body > .btn, .pin-body > .btn { min-width: 0; max-width: 100%; }
.card-body > .btn span, .pin-body > .btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pagination, .nav-links { margin-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links a, .nav-links span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.nav-links .current { background: var(--accent-text); color: #fff; border-color: var(--accent-text); }

/* ---------- Halaman model (gaya situs resmi) ---------- */
.model-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 8px; }
.model-photo, .model-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.model-top { grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 28px; align-items: center; }
	.model-photo { position: sticky; top: calc(var(--hh, 76px) + 12px); }
	.admin-bar .model-photo { top: calc(var(--hh, 76px) + var(--wp-admin--admin-bar--height, 32px) + 12px); }
	.photo-box { aspect-ratio: auto; height: calc(100dvh - var(--hh, 64px) - 168px); max-height: 440px; min-height: 240px; }
	.admin-bar .photo-box { height: calc(100dvh - var(--hh, 64px) - var(--wp-admin--admin-bar--height, 32px) - 168px); }
	.model-info h1 { font-size: 1.75rem; margin-bottom: .15em; }
	.model-info .model-kind { margin-bottom: 4px; }
	.model-info .summary { margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.model-info .price-line { margin: 0; }
	.model-info .price-big { font-size: 1.65rem; }
	.model-info .status-line { margin-top: 4px; }
	.model-info .kode { margin: 4px 0 0; }
	.model-info .share { margin-top: 6px; }
}
.photo-box { position: relative; aspect-ratio: 3 / 2; max-width: 100%; background: color-mix(in srgb, var(--text) 5%, var(--bg)); border-radius: 12px; overflow: hidden; }
.photo-box::before, .photo-box::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; }
.photo-box::before { right: 0; width: 50%; background: var(--accent); }
.photo-box::after { left: 50%; width: 12px; background: color-mix(in srgb, var(--accent-text) 55%, #000); }
.photo-box img, .photo-box .ph { position: relative; z-index: 2; }
.photo-box img { padding: 16px; }
.color-badge { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); max-width: calc(100% - 24px); margin: 0; padding: 4px 10px; border-radius: 6px; background: rgb(255 255 255 / .92); color: #212121; font-size: .8rem; font-weight: 600; line-height: 1.3; text-align: center; box-shadow: 0 4px 16px rgb(0 0 0 / .1); }
@media (max-width: 1023px) { .photo-box { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .photo-box { aspect-ratio: auto; } }
.colors { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin: 12px 0 0; padding: 0; }
.colors li, .colors button { display: inline-flex; align-items: center; justify-content: center; }
.colors li { padding: 0; }
.colors button { width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid rgb(0 0 0 / .2); border-radius: 50%; font: inherit; cursor: pointer; }
.colors button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 4px var(--text); }
.js .colors .cname { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.colors li:not(:has(button)) { min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.model-info h1 { margin-bottom: .3em; font-weight: 800; }
.model-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; color: var(--muted); font-weight: 600; }
.model-kind a { color: inherit; text-decoration: none; }
.model-kind a:hover { text-decoration: underline; }
.summary { color: var(--muted); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; }
.price-big { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 800; }
.badge { display: inline-block; min-height: 0; margin: 0; padding: 1px 6px; border: 0; background: var(--bad-bg); color: var(--bad); font: inherit; font-size: .7rem; font-weight: 600; line-height: 1.3; border-radius: 4px; cursor: pointer; position: relative; }
.badge::after { content: ""; position: absolute; inset: -13px -8px; }
.balloon { position: fixed; z-index: 60; max-width: min(320px, calc(100vw - 16px)); padding: 8px 10px; background: var(--text); color: var(--bg); border-radius: 8px; font-size: .85rem; line-height: 1.35; box-shadow: 0 4px 16px rgb(0 0 0 / .25); }
.balloon ul { max-height: 16rem; margin: 0; padding: 0; overflow: auto; list-style: none; }
.balloon li + li { margin-top: 4px; }
.balloon[hidden] { display: none; }
.kode { margin: 0 0 1em; font-size: .85rem; color: var(--muted); }
.tp { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.kv { color: var(--muted); font-weight: 400; font-size: .75rem; letter-spacing: .02em; }
.status-line { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.status { padding: 2px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--ok-bg); color: var(--ok); }
.st-inden, .st-dipesan { background: var(--warn-bg); color: var(--warn); }
.st-habis, .st-discontinue, .st-terjual { background: var(--chip); color: var(--chip-text); }
.updated { font-size: .85rem; }
.model-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
.model-main { min-width: 0; }
.model-tabs { display: none; gap: 0; margin: 0 0 8px; min-width: 0; overflow-x: auto; border-bottom: 1px solid var(--line); }
.js .model-tabs { display: flex; }
.model-tabs button { flex: none; min-height: 44px; margin: 0; padding: 8px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.model-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.model-panel > .block:first-child { margin-top: 0; }
@media (min-width: 1024px) {
	.model-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
	.model-side { position: sticky; top: calc(var(--hh, 76px) + 16px); z-index: 5; align-self: start; }
	.admin-bar .model-side { top: calc(var(--hh, 76px) + var(--wp-admin--admin-bar--height, 32px) + 16px); }
}
.spec-groups { display: grid; gap: 24px; grid-template-columns: 1fr; }
.spec-group h3 { padding-bottom: 8px; border-bottom: 2px solid var(--text); display: flex; align-items: center; gap: 6px; }
.spec-group dl { margin: 0; }
.spec-group dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec-group dt, .spec-group dd { min-width: 0; overflow-wrap: anywhere; }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; text-align: right; font-weight: 500; }
.spec-group ul { margin: 0; padding-left: 1.2em; }
.spec-group li { margin-bottom: 4px; }
.thumbs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 0; }
@media (min-width: 782px) { .thumbs { grid-template-columns: repeat(6, 1fr); } }
.thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { width: min(96vw, 1200px); max-height: 96vh; padding: 0; border: 0; background: #000; border-radius: 8px; color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / .85); }
.lb-img { display: block; width: 100%; max-height: 90vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(0 0 0 / .6); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; translate: 0 -50%; }
.lb-next { right: 8px; top: 50%; translate: 0 -50%; }
.vid { position: relative; display: block; width: 100%; max-width: 800px; padding: 0; border: 0; background: #000; aspect-ratio: 16 / 9; cursor: pointer; border-radius: 12px; overflow: hidden; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%; background: rgb(0 0 0 / .7); box-shadow: 0 2px 8px rgb(0 0 0 / .35); }
.play::after { content: ""; position: absolute; left: 27px; top: 20px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
iframe { max-width: 800px; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

/* ---------- Formulir cicilan ---------- */
.cform { display: grid; gap: 14px; max-width: 560px; }
@media (min-width: 1024px) {
	.cform { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; }
	.cform .dp, .cform .wide, .cform .consent, .cform .note, .cform .btn { grid-column: 1 / -1; }
	.cform .btn { justify-self: start; width: auto; }
}
.cform label { display: grid; gap: 4px; font-weight: 500; }
.cform input[type="text"], .cform input[type="tel"], .cform input[type="email"], .cform select {
	width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: inherit; font: inherit;
}
.cform fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 0; }
.cform legend { font-weight: 600; padding-inline: 4px; }
.chk { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px; min-height: 44px; font-weight: 400 !important; }
.chk input { width: 20px; height: 20px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-err { color: var(--err); font-size: .875rem; font-weight: 400; }
.dp { margin: 0; }
.result { margin: 0 0 12px; }
.result > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 700; }

/* ---------- Tabel harga ---------- */
.tbl { overflow-x: auto; max-width: 100%; }
.pl-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pl-table th, .pl-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pl-table thead th { background: color-mix(in srgb, var(--text) 5%, var(--bg)); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.price-row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; white-space: normal; }
.price-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cell-price .rp { font-weight: 700; white-space: nowrap; }
.cell-price .btn { flex: none; margin-left: 0; min-height: 36px; padding: .3em .7em; }
.cell-price .nego { display: block; }
.pl h1 { margin-top: 8px; }
.pl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.pl-tools .pl-find { display: grid; flex: 1 1 100%; gap: 4px; margin: 0; color: var(--muted); font-size: .75rem; font-weight: 600; }
.pl-tools .pl-find input { width: 100%; height: 36px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: inherit; font: inherit; font-size: .875rem; }
.pl-tools.is-loading ~ .grid, .pl-tools.is-loading ~ .post-list, .pl-tools.is-loading ~ .empty, .pl-tools.is-loading ~ .nav-links, .frame.is-arch:has(.pl-tools.is-loading) .arch-rest, .blog-top:has(.pl-tools.is-loading) ~ .post-list, .blog-top:has(.pl-tools.is-loading) ~ .empty { opacity: .4; }
.pl-filters { display: flex; flex-wrap: nowrap; width: 100%; gap: 8px; }
.pl-filters .pl-drop { flex: 1 1 0; }
.pl-drop { position: relative; min-width: 0; }
.pl-drop-btn { width: 100%; height: 32px; padding: 0 26px 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") right 8px center no-repeat; color: inherit; font: inherit; font-size: .8125rem; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.pl-drop-box { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; width: max(11rem, 100%); max-width: calc(100vw - 16px); max-height: min(240px, 70vh); overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.pl-drop-q { width: 100%; height: 32px; min-height: 32px; margin: 0 0 6px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: inherit; font: inherit; font-size: .8125rem; }
.pl-drop-box label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 0; color: inherit; font-size: .8125rem; font-weight: 500; }
.pl-drop-box input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; margin: 0; flex: none; }
.pl-drop-box label[hidden] { display: none; }
.pl-more { display: none; }
.pl-group[hidden], .pl-table tr[hidden], .pl-none[hidden] { display: none; }
.pl-layout { margin-top: 0; }
.pl-main { min-width: 0; }
.pl-group { margin-bottom: 28px; }
.pl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pl-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.pl-merek { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.pl-head a { text-decoration: none; }
.pl-img { width: 96px; height: 64px; flex: none; box-sizing: border-box; padding: 4px; object-fit: contain; object-position: center; border-radius: 8px; background: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.print-head, .print-foot { display: none; }
.print-foot { font-size: .8rem; }
@media screen and (max-width: 781px) {
	.model .actions { flex-wrap: wrap; gap: 8px; }
	.model .actions .btn { flex: 1 1 calc(50% - 4px); border-radius: 8px; min-height: 44px; }
	.model .actions .btn:first-child, .model .actions .btn:last-child, .model .actions .btn:only-child { border-radius: 8px; }
	.colors { flex-wrap: nowrap; justify-content: safe center; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
	.colors li { flex: none; }
	.pl-filters { flex-wrap: wrap; }
	.pl-filters .pl-drop { flex: 1 1 calc(50% - 4px); max-width: calc(50% - 4px); }
	.pl-filters:not(.is-open) .pl-drop:nth-child(n + 3) { display: none; }
	.pl-more { display: block; flex: 1 1 100%; max-width: none; height: 32px; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .8125rem; font-weight: 600; text-align: left; cursor: pointer; }
	.pl-drop-box { width: 100%; }
	.pl-head { align-items: flex-start; }
	.pl-head h2 { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 64px; gap: 4px; }
	.pl-head h2 .pl-merek { order: -1; min-height: 28px; }
	.pl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pl-table { min-width: 0; }
	.pl-table, .pl-table tbody, .pl-table tr, .pl-table th, .pl-table td { display: block; width: 100%; min-width: 0; }
	.price-row { min-width: 0; max-width: 100%; }
	.pl-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.pl-table th, .pl-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; }
	.pl-table th[scope="row"] { font-size: 1.05rem; }
	.pl-table td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
	.pl-table th::before { content: none; }
	.cell-price { align-items: flex-start; }
	.cell-price::before { margin-right: auto; }
	.price-row { flex-direction: column; align-items: flex-end; width: auto; max-width: 100%; margin-left: auto; }
	.price-stack { align-items: flex-end; text-align: right; }
	.cell-price .btn { width: auto; margin: 4px 0 0; min-height: 44px; padding: .45em .85em; }
}

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

/* ---------- Cetak A4 ---------- */
@media print {
	@page { size: A4; margin: 14mm; }
	body { background: #fff; color: #000; font-size: 10.5pt; padding: 0 !important; }
	.site-header, .site-footer, .bar, .skip, .pl-tools, .crumbs, .actions, .share, .btn, .lightbox, .colors, .color-badge, .video, .credit, .gallery, .owner, .promo, .nav-links, .banner, .balloon, .model-tabs, .model-side, .site-side, .also, .social, .foot-social { display: none !important; }
	a[href]::after { content: none !important; }
	.model-panel[hidden] { display: block !important; }
	.model-body { display: block; }
	.model-top { display: grid; grid-template-columns: 70mm minmax(0, 1fr); gap: 6mm; margin: 0 0 4mm; }
	.photo-box { width: 70mm; max-height: 46mm; margin: 0; }
	.photo-box::before, .photo-box::after { content: none; }
	.photo-box img { width: 100%; height: 46mm; object-fit: cover; }
	.model h1 { font-size: 16pt; margin: 0 0 2mm; }
	.summary, .price-line, .status-line, .kode { margin: 0 0 2mm; }
	.price-big { font-size: 13pt; }
	.spec-groups { display: grid; grid-template-columns: 1fr; gap: 4mm; }
	.block { margin-block: 4mm; break-inside: avoid; }
	.model-panel h2 { font-size: 12pt; margin: 0 0 2mm; padding-bottom: 1mm; border-bottom: 1px solid #000; }
	.print-foot { border-top: 2px solid #000; padding-top: 3mm; }
	.pl-layout { display: block; }
	.print-head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid #000; font-size: 9.5pt; }
	.print-head p { margin: 0 0 2px; }
	.ph-img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
	.print-date { margin-left: auto !important; white-space: nowrap; }
	.print-foot { display: block; margin: 8px 0 0; }
	.wrap { max-width: none; padding: 0; }
	.frame.wrap { margin: 0; }
	.main { padding: 0; }
	.pl-group { break-inside: avoid; }
	.tbl { overflow: visible; }
	.pl-table { width: 100%; min-width: 0; font-size: 9.5pt; }
	.pl-table thead { display: table-header-group; }
	.pl-table tr { break-inside: avoid; }
	.pl-table th, .pl-table td { padding: 4px 6px; border-bottom: 1px solid #999; }
	.card-media, .photo-box { max-height: 60mm; }
	a { text-decoration: none; }
}

