/*
Theme Name: SAWABU
Theme URI: https://sawabu.art/
Author: SAWABU
Description: SAWABU – Keris Pusaka dan Barang Antik. Tema koleksi video (YouTube Shorts / video panjang) berfoto produk, harga + WhatsApp, artikel otomatis harian, dan SEO bawaan tanpa plugin. Nuansa hitam besi berpamor perak seperti bilah keris.
Version: 1.4.2
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sawabu
*/

/* ---------- Warna & ukuran ---------- */
:root {
	--bg: #090a0c;
	--bg-2: #0f1114;
	--bg-3: #16191d;
	--panel: rgba(225, 230, 236, 0.035);
	--panel-2: rgba(225, 230, 236, 0.065);
	--line: rgba(205, 212, 220, 0.15);
	--line-2: rgba(205, 212, 220, 0.3);
	--text: #eceef1;
	--text-2: #c8cdd3;
	--muted: #939aa3;
	--silver: #d8dde2;
	--metal: linear-gradient(135deg, #f6f8fa 0%, #a9b0b8 24%, #eceff2 46%, #858c95 68%, #dfe3e7 86%, #b9c0c7 100%);
	--metal-soft: linear-gradient(135deg, rgba(246, 248, 250, 0.18), rgba(133, 140, 149, 0.08) 50%, rgba(223, 227, 231, 0.16));
	--gold: #b8975a;
	--gold-grad: linear-gradient(135deg, #ecd8a6 0%, #b8975a 32%, #f3e2b4 52%, #8f7140 76%, #d4b77c 100%);
	--panel-grad: linear-gradient(160deg, rgba(236, 240, 245, 0.075) 0%, rgba(236, 240, 245, 0.018) 42%, rgba(200, 180, 150, 0.03) 70%, rgba(236, 240, 245, 0.05) 100%);
	--edge-grad: linear-gradient(135deg, rgba(242, 245, 248, 0.5) 0%, rgba(120, 128, 138, 0.12) 35%, rgba(205, 170, 105, 0.62) 60%, rgba(120, 128, 138, 0.1) 82%, rgba(236, 240, 245, 0.38) 100%);
	--radius: 16px;
	--radius-sm: 12px;
	--wrap: 1160px;
	--gutter: 16px;
	--font-display: "Cinzel", "Times New Roman", Georgia, serif;
	--font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background-color: #08090b;
	background-image:
		radial-gradient(ellipse 70% 50% at 12% -6%, rgba(200, 212, 226, 0.15), transparent 65%),
		radial-gradient(ellipse 55% 45% at 96% 38%, rgba(184, 151, 90, 0.13), transparent 70%),
		radial-gradient(ellipse 45% 35% at 4% 78%, rgba(184, 151, 90, 0.08), transparent 70%),
		radial-gradient(ellipse 80% 50% at 50% 112%, rgba(150, 166, 184, 0.12), transparent 70%),
		linear-gradient(165deg, #07080a 0%, #101318 36%, #181c22 58%, #0c0e11 100%);
	background-attachment: fixed;
	overflow-x: hidden;
}

/* Tekstur pamor halus seperti bilah keris */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: url("assets/img/pamor.svg");
	background-size: 520px 760px;
	opacity: 0.06;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--silver); text-decoration: none; }
a:hover { color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #e6e9ec; outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; color: var(--text); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.sw-skip:focus {
	position: fixed; top: 10px; left: 10px; z-index: 100;
	width: auto; height: auto; clip: auto;
	padding: 10px 16px; border-radius: 999px;
	background: var(--metal); color: #111;
	font-weight: 800;
}

.sw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Teks & garis bernuansa logam/pamor */
.sw-metal {
	background: var(--metal);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sw-eyebrow {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 14px;
	font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase;
	color: var(--silver);
}
.sw-eyebrow::after {
	content: ""; flex: 1; height: 1px;
	background: linear-gradient(90deg, rgba(184, 151, 90, 0.6), rgba(205, 212, 220, 0.18) 45%, transparent);
}
.sw-rule {
	display: flex; align-items: center; gap: 14px;
	margin: 36px auto; max-width: 420px;
	color: var(--muted);
}
.sw-rule::before,
.sw-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(184, 151, 90, 0.6), transparent); }
.sw-rule span { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-grad); }

/* ---------- Tombol ---------- */
.sw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px;
	border: 1.5px solid var(--line-2); border-radius: 999px;
	background: transparent; color: var(--silver);
	font-size: 15px; font-weight: 800; line-height: 1.2; text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s, filter 0.2s;
}
.sw-btn:hover { border-color: var(--silver); color: #fff; background: var(--panel-2); }
.sw-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.sw-btn--metal {
	border: 0;
	background: var(--metal);
	color: #111316;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 22px rgba(0, 0, 0, 0.45);
}
.sw-btn--metal:hover { color: #000; background: var(--metal); filter: brightness(1.08); }
.sw-btn--block { display: flex; width: 100%; }
.sw-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 800; font-size: 15px; color: var(--silver);
}
.sw-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.sw-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.sw-header {
	position: sticky; top: 0; z-index: 30;
	background: linear-gradient(180deg, rgba(20, 23, 28, 0.94) 0%, rgba(9, 10, 12, 0.88) 100%);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.sw-header::after,
.sw-footer::before {
	content: ""; position: absolute; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(184, 151, 90, 0.7) 20%, rgba(243, 226, 180, 0.85) 50%, rgba(184, 151, 90, 0.7) 80%, transparent 100%);
}
.sw-header::after { bottom: -1px; }
.sw-footer::before { top: -1px; }
.sw-header__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 68px; padding-top: 8px; padding-bottom: 8px;
}
.sw-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--text); }
.sw-brand:hover { color: var(--text); }
.sw-brand__mark { width: 46px; height: auto; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.sw-brand .custom-logo { width: auto; max-height: 52px; }
.sw-brand__text { display: flex; flex-direction: column; min-width: 0; }
.sw-brand__name {
	font-family: var(--font-display); font-weight: 700;
	font-size: 22px; letter-spacing: 4px; line-height: 1.1;
}
.sw-brand__tag {
	margin-top: 3px;
	font-size: 10.5px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sw-header__side { display: flex; align-items: center; gap: 18px; }
.sw-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sw-nav__list a {
	display: block; padding: 8px 12px; border-radius: 999px;
	font-size: 14.5px; font-weight: 700; color: var(--text-2);
}
.sw-nav__list a:hover { color: #fff; background: var(--panel-2); }
.sw-nav__list a[aria-current],
.sw-nav__list .current-menu-item > a { color: #fff; background: var(--panel-2); }

.sw-lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.sw-lang a {
	min-width: 34px; padding: 5px 8px; border-radius: 999px;
	font-size: 12px; font-weight: 800; letter-spacing: 1px; text-align: center;
	color: var(--muted);
}
.sw-lang a:hover { color: #fff; }
.sw-lang a[aria-current] { background: var(--metal); color: #111316; }

/* Menu di HP: baris geser di bawah header */
.sw-nav--mobile { display: none; }
@media (max-width: 859px) {
	.sw-header__side .sw-nav { display: none; }
	.sw-nav--mobile {
		display: block;
		border-top: 1px solid var(--line);
		overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.sw-nav--mobile::-webkit-scrollbar { display: none; }
	.sw-nav--mobile .sw-nav__list { padding: 6px var(--gutter); width: max-content; }
	.sw-nav--mobile .sw-nav__list a { padding: 7px 12px; font-size: 14px; }
}
@media (max-width: 420px) {
	.sw-brand__mark { width: 38px; }
	.sw-brand__name { font-size: 19px; letter-spacing: 3px; }
	.sw-brand__tag { font-size: 9.5px; letter-spacing: 1px; }
	.sw-lang a { min-width: 30px; padding: 4px 6px; font-size: 11px; }
}

/* ---------- Bagian halaman ---------- */
.sw-main { padding-bottom: 24px; }
.sw-section { padding-top: 30px; }
.sw-intro { padding-top: 26px; }
.sw-intro h1 {
	margin: 0 0 8px;
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(24px, 5.4vw, 40px); letter-spacing: 1px;
}
.sw-intro p { margin: 0; max-width: 680px; color: var(--text-2); font-size: 15.5px; }

.sw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.sw-chips a {
	display: inline-block; padding: 7px 14px; border-radius: 999px;
	border: 1px solid transparent;
	background: var(--panel-grad) padding-box, linear-gradient(#0f1115, #0f1115) padding-box, var(--edge-grad) border-box;
	font-size: 13.5px; font-weight: 700; color: var(--text-2);
}
.sw-chips a:hover { color: #fff; border-color: var(--silver); }
.sw-chips a[aria-current] { background: var(--metal); color: #111316; border-color: transparent; }

.sw-more { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- Grid video koleksi ---------- */
.sw-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0; padding: 0; list-style: none;
}
@media (min-width: 640px) { .sw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 960px) { .sw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .sw-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }

.sw-card { position: relative; min-width: 0; }
.sw-card--long { grid-column: span 2; }
.sw-card__link { display: block; color: var(--text); }
.sw-card__link:hover { color: #fff; }
.sw-card__media {
	display: block;
	position: relative; overflow: hidden;
	aspect-ratio: 9 / 16;
	border-radius: var(--radius);
	background: linear-gradient(160deg, #1b1f25, #0e1013) padding-box, var(--edge-grad) border-box;
	border: 1px solid transparent;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.sw-card--long .sw-card__link { display: flex; flex-direction: column; height: 100%; }
.sw-card--long .sw-card__media { aspect-ratio: 16 / 9; flex: 1 0 auto; }
.sw-card__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
	background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 8, 0.55) 100%);
}
.sw-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s ease;
}
.sw-card__link:hover .sw-card__media img { transform: scale(1.04); }
.sw-card__play {
	position: absolute; left: 50%; top: 50%; z-index: 2;
	width: 46px; height: 46px; margin: -23px 0 0 -23px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(9, 10, 12, 0.6);
	box-shadow: 0 0 0 1.5px rgba(220, 226, 233, 0.75), 0 6px 16px rgba(0, 0, 0, 0.5);
	color: var(--silver);
}
.sw-card__play svg { width: 18px; height: 18px; margin-left: 2px; }
.sw-card__title {
	display: block;
	margin: 9px 2px 0;
	font-size: 15px; font-weight: 700; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sw-badge {
	position: absolute; top: 10px; left: 10px; z-index: 3;
	padding: 3px 10px; border-radius: 999px;
	background: rgba(9, 10, 12, 0.78);
	border: 1px solid var(--line-2);
	font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
	color: var(--silver);
}
.sw-badge--sold { background: var(--gold-grad); color: #1a1408; border-color: transparent; }
.sw-card.is-sold .sw-card__media img { filter: grayscale(0.7) brightness(0.75); }

/* ---------- Artikel (kartu) ---------- */
.sw-articles {
	display: grid; gap: 14px;
	grid-template-columns: minmax(0, 1fr);
	margin: 0; padding: 0; list-style: none;
}
@media (min-width: 760px) { .sw-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.sw-article-card {
	display: flex; flex-direction: column;
	height: 100%; padding: 18px;
	border-radius: var(--radius);
	background: var(--panel-grad) padding-box, linear-gradient(#0f1115, #0f1115) padding-box, var(--edge-grad) border-box;
	border: 1px solid transparent;
}
.sw-article-card__img { margin: -18px -18px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.sw-article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sw-article-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.sw-article-card h3 a { color: var(--text); }
.sw-article-card h3 a:hover { color: #fff; }
.sw-article-card p {
	margin: 0 0 14px; color: var(--text-2); font-size: 15px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sw-article-card .sw-link { margin-top: auto; }
.sw-meta { font-size: 13px; color: var(--muted); }

/* ---------- Toko (bagian paling bawah) ---------- */
.sw-store { padding-top: 40px; }
.sw-store__box {
	display: grid; gap: 18px;
	padding: 18px;
	border-radius: 20px;
	background: var(--panel-grad) padding-box, linear-gradient(#0f1115, #0f1115) padding-box, var(--edge-grad) border-box;
	border: 1px solid transparent;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (min-width: 860px) {
	.sw-store__box { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; padding: 28px; align-items: center; }
}
.sw-store__info h2 {
	margin: 0 0 10px;
	font-family: var(--font-display); font-size: 22px; letter-spacing: 1px;
}
.sw-store__addr { display: flex; gap: 10px; margin: 0 0 8px; color: var(--text-2); font-style: normal; }
.sw-store__addr svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--silver); }
.sw-store__phone { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.sw-store__phone a { color: var(--text-2); font-weight: 700; }
.sw-store__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sw-store__map {
	position: relative; overflow: hidden;
	aspect-ratio: 16 / 10; border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: var(--bg-3);
}
.sw-store__map iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
	filter: grayscale(0.85) invert(0.9) contrast(0.9) brightness(0.95);
}

.sw-footer {
	position: relative;
	margin-top: 36px; padding: 22px 0 28px;
	background: linear-gradient(180deg, rgba(20, 23, 28, 0.6), rgba(7, 8, 10, 0.9));
	font-size: 13.5px; color: var(--muted);
}
.sw-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.sw-footer a { color: var(--text-2); }
.sw-footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }

/* ---------- Halaman koleksi (satu produk) ---------- */
.sw-product { padding-top: 18px; }
.sw-crumbs { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.sw-crumbs a { color: var(--muted); }
.sw-crumbs a:hover { color: #fff; }
.sw-crumbs span[aria-hidden] { margin: 0 6px; }

.sw-product__top {
	display: grid; gap: 16px;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "video" "aside";
}
.sw-product__head { grid-area: head; }
.sw-product__video { grid-area: video; }
.sw-product__aside { grid-area: aside; }
.sw-product__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.sw-tag {
	display: inline-block; padding: 3px 11px; border-radius: 999px;
	border: 1px solid var(--line-2);
	font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
	color: var(--silver);
}
.sw-tag--sold { background: var(--gold-grad); color: #1a1408; border-color: transparent; }
.sw-product__head h1 {
	margin: 0;
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(24px, 6vw, 40px); letter-spacing: 0.5px;
}
.sw-product__lead { color: var(--text-2); font-size: 16px; }
.sw-product__aside .sw-buy { display: none; }

@media (min-width: 900px) {
	.sw-product__top {
		grid-template-columns: 400px minmax(0, 1fr);
		grid-template-areas: "video head" "video aside";
		grid-template-rows: auto 1fr;
		column-gap: 44px; row-gap: 14px;
	}
	.sw-product__top.is-long {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "head" "video" "aside";
	}
	.sw-product__top:not(.is-long) .sw-product__head { padding-top: 10px; }
	.sw-product__aside .sw-buy { display: block; max-width: 420px; }
	.sw-product__top.is-long .sw-product__aside .sw-buy { display: none; }
}

/* Pemutar video */
.sw-video {
	position: relative; overflow: hidden;
	border-radius: 22px;
	background: #000 padding-box, var(--edge-grad) border-box;
	border: 1.5px solid transparent;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}
.sw-video--short { aspect-ratio: 9 / 16; width: 100%; max-width: 440px; margin: 0 auto; }
.sw-video--long { aspect-ratio: 16 / 9; width: 100%; }
.sw-video__btn {
	position: absolute; inset: 0; width: 100%; height: 100%;
	padding: 0; border: 0; background: #000; cursor: pointer;
}
.sw-video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s; }
.sw-video__btn:hover img { opacity: 1; }
.sw-video__play {
	position: absolute; left: 50%; top: 50%;
	width: 76px; height: 76px; margin: -38px 0 0 -38px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(9, 10, 12, 0.55);
	box-shadow: 0 0 0 2px rgba(225, 230, 236, 0.85), 0 10px 26px rgba(0, 0, 0, 0.55);
	color: #eef1f4;
}
.sw-video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.sw-video iframe,
.sw-video .sw-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sw-video noscript .sw-btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }

/* Foto produk ukuran penuh */
.sw-photos { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 30px auto 0; }
.sw-photos figure { margin: 0; }
.sw-photos img {
	width: 100%; border-radius: var(--radius);
	border: 1px solid transparent;
	background: var(--bg-3) padding-box, var(--edge-grad) border-box;
}
.sw-photos figcaption { margin-top: 6px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Harga + WhatsApp */
.sw-buy {
	padding: 22px 18px;
	border-radius: 20px;
	background: var(--panel-grad) padding-box, linear-gradient(#0f1115, #0f1115) padding-box, var(--edge-grad) border-box;
	border: 1px solid transparent;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
	text-align: center;
	position: relative; overflow: hidden;
}
.sw-buy::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: url("assets/img/pamor.svg") center / 520px 760px;
	opacity: 0.07;
}
.sw-buy > * { position: relative; }
.sw-buy__label { font-size: 11.5px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.sw-buy__price {
	margin: 6px 0 16px;
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(26px, 7vw, 34px); letter-spacing: 1px; line-height: 1.2;
}
.sw-buy__sold { margin: -8px 0 14px; color: var(--text-2); font-size: 14.5px; }
.sw-buy--bottom { max-width: 860px; margin: 30px auto 0; }

/* Isi tulisan */
.sw-content { max-width: 760px; margin: 0 auto; font-size: 17px; color: var(--text-2); }
.sw-product .sw-content { margin-top: 26px; }
.sw-content h2 { margin: 1.6em 0 0.6em; font-size: 24px; font-weight: 800; color: var(--text); }
.sw-content h3 { margin: 1.4em 0 0.5em; font-size: 20px; font-weight: 800; color: var(--text); }
.sw-content a { color: #fff; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sw-content ul,
.sw-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.sw-content li { margin-bottom: 0.35em; }
.sw-content blockquote {
	margin: 1.4em 0; padding: 14px 18px;
	border-left: 3px solid var(--silver);
	background: var(--panel); border-radius: 0 12px 12px 0;
	color: var(--text);
}
.sw-content img,
.sw-content figure img { border-radius: var(--radius-sm); }
.sw-content figure { margin: 1.4em 0; }
.sw-content figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.sw-content table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.2em 0; }
.sw-content th,
.sw-content td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.sw-content .alignwide,
.sw-content .alignfull { max-width: none; }
.sw-content > *:first-child { margin-top: 0; }

/* Halaman artikel */
.sw-post { padding-top: 22px; }
.sw-post__head { max-width: 760px; margin: 0 auto 22px; }
.sw-post__head h1 { font-family: var(--font-display); font-size: clamp(26px, 6vw, 40px); margin: 6px 0 10px; letter-spacing: 0.5px; }
.sw-post__img { max-width: 960px; margin: 0 auto 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sw-cta {
	max-width: 760px; margin: 36px auto 0; padding: 22px;
	border-radius: 20px;
	background: var(--panel-grad) padding-box, linear-gradient(#0f1115, #0f1115) padding-box, var(--edge-grad) border-box;
	border: 1px solid transparent;
	text-align: center;
}
.sw-cta h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.sw-cta p { color: var(--text-2); }
.sw-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.sw-page-head { padding-top: 26px; margin-bottom: 18px; }
.sw-page-head h1 { font-family: var(--font-display); font-size: clamp(24px, 5.4vw, 38px); margin: 0 0 6px; }
.sw-page-head p { margin: 0; color: var(--text-2); max-width: 700px; }

.sw-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.sw-pages .page-numbers {
	min-width: 42px; padding: 9px 14px; border-radius: 999px;
	border: 1px solid var(--line); text-align: center;
	font-weight: 700; color: var(--text-2);
}
.sw-pages .page-numbers.current { background: var(--metal); color: #111316; border-color: transparent; }
.sw-pages a.page-numbers:hover { border-color: var(--silver); color: #fff; }

.sw-empty { padding: 30px 0; color: var(--muted); }

.sw-404 { padding: 60px 0 20px; text-align: center; }
.sw-404 h1 { font-family: var(--font-display); font-size: clamp(28px, 7vw, 46px); }
.sw-404 p { color: var(--text-2); }

/* Bawaan WordPress */
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13.5px; color: var(--muted); }

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

/* Sampul saat video dijeda: menutup panel "video lainnya" dari YouTube */
.sw-video__cover {
	position: absolute; inset: 0; z-index: 3;
	display: flex; align-items: center; justify-content: center;
	padding: 0; border: 0; cursor: pointer;
	background: rgba(7, 8, 10, 0.72) center / cover no-repeat;
}
.sw-video__cover[hidden] { display: none; }
.sw-video__cover::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(7, 8, 10, 0.25), rgba(7, 8, 10, 0.65));
}
.sw-video__cover .sw-video__play { z-index: 1; }

/* Aksen emas tua (kinatah): harga & penanda khusus */
.sw-buy__price.sw-metal {
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
}
.sw-buy__label { color: #a89272; }
.sw-store__addr svg { color: var(--gold); }
.sw-intro h1::after {
	content: ""; display: block; width: 72px; height: 2px; margin-top: 12px;
	background: linear-gradient(90deg, var(--gold), rgba(184, 151, 90, 0));
}

/* ---------- Aksen emas tambahan ---------- */
/* Menu: hover & halaman aktif bergaris emas */
.sw-nav__list a { position: relative; }
.sw-nav__list a:hover { color: #f3e2b4; }
.sw-nav__list a[aria-current],
.sw-nav__list .current-menu-item > a {
	color: #f3e2b4;
	background: linear-gradient(180deg, rgba(184, 151, 90, 0.16), rgba(184, 151, 90, 0.04));
	box-shadow: inset 0 0 0 1px rgba(184, 151, 90, 0.35);
}
.sw-nav__list a[aria-current]::after,
.sw-nav__list .current-menu-item > a::after {
	content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 1.5px; border-radius: 2px;
	background: var(--gold-grad);
}
.sw-nav--mobile { border-top-color: rgba(184, 151, 90, 0.25); }

/* Pilihan bahasa */
.sw-lang { border-color: rgba(184, 151, 90, 0.35); }
.sw-lang a:hover { color: #f3e2b4; }

/* Judul kecil bagian (VIDEO, ARTIKEL TERBARU, KUNJUNGI TOKO) */
.sw-eyebrow { color: #d9c08a; }
.sw-eyebrow::before {
	content: ""; width: 7px; height: 7px; flex-shrink: 0;
	transform: rotate(45deg); background: var(--gold-grad);
}

/* Kategori */
.sw-chips a:hover { color: #f3e2b4; }
.sw-chips a[aria-current] { box-shadow: 0 0 0 1px rgba(184, 151, 90, 0.7), 0 4px 14px rgba(184, 151, 90, 0.18); }

/* Kartu video: bingkai berkilau emas saat disentuh */
.sw-card__link:hover .sw-card__media { box-shadow: 0 0 0 1px rgba(205, 170, 105, 0.55), 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 26px rgba(184, 151, 90, 0.12); }
.sw-card__link:hover .sw-card__play { box-shadow: 0 0 0 1.5px #d9c08a, 0 6px 16px rgba(0, 0, 0, 0.5); color: #f3e2b4; }
.sw-video__play { box-shadow: 0 0 0 2px rgba(217, 192, 138, 0.9), 0 10px 26px rgba(0, 0, 0, 0.55); }

/* Tautan & tombol garis */
.sw-link { color: #d9c08a; }
.sw-link:hover { color: #f3e2b4; }
.sw-btn:not(.sw-btn--metal) { border-color: rgba(184, 151, 90, 0.45); }
.sw-btn:not(.sw-btn--metal):hover { border-color: #d9c08a; color: #f3e2b4; background: rgba(184, 151, 90, 0.08); }
.sw-btn--metal { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 0 1px rgba(184, 151, 90, 0.55), 0 8px 22px rgba(0, 0, 0, 0.45); }

/* Artikel */
.sw-article-card .sw-meta,
.sw-post__head .sw-meta { color: #b9a47c; }
.sw-article-card h3 a:hover { color: #f3e2b4; }
.sw-content h2 { padding-bottom: 8px; background: linear-gradient(90deg, rgba(184, 151, 90, 0.55), transparent 60%) left bottom / 100% 1px no-repeat; }
.sw-content blockquote { border-left-color: var(--gold); }
.sw-content a { text-decoration-color: rgba(184, 151, 90, 0.6); }

/* Remah roti & label */
.sw-crumbs a:hover { color: #f3e2b4; }
.sw-tag { border-color: rgba(184, 151, 90, 0.4); }

/* Halaman bernomor */
.sw-pages .page-numbers { border-color: rgba(184, 151, 90, 0.3); }
.sw-pages .page-numbers.current { background: var(--gold-grad); color: #1a1408; }

/* Kotak toko & harga: kilau emas di sudut */
.sw-store__box,
.sw-buy,
.sw-cta { position: relative; }
.sw-store__box::after,
.sw-cta::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(ellipse 50% 60% at 0% 0%, rgba(184, 151, 90, 0.12), transparent 70%);
}
.sw-store__box > *,
.sw-cta > * { position: relative; z-index: 1; }
.sw-store__map { border-color: rgba(184, 151, 90, 0.3); }

/* Footer */
.sw-footer a:hover { color: #f3e2b4; }

/* ---------- Tombol bahasa dengan bendera ---------- */
.sw-lang a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; }
.sw-flag { display: inline-flex; width: 18px; height: 12px; flex-shrink: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.sw-flag svg { width: 100%; height: 100%; display: block; }
.sw-lang a[aria-current] .sw-flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
@media (max-width: 420px) {
	.sw-lang a { gap: 4px; padding: 4px 6px; }
	.sw-flag { width: 16px; height: 11px; }
}

/* ---------- Toko ringkas (tanpa peta) ---------- */
.sw-store { padding-top: 32px; }
.sw-store__box--compact { gap: 14px; padding: 16px 18px; }
.sw-store__box--compact .sw-eyebrow { margin: 0 0 8px; font-family: var(--font-body); font-size: 11.5px; letter-spacing: 2.4px; }
.sw-store__box--compact .sw-store__addr { margin: 0 0 4px; font-size: 15px; }
.sw-store__box--compact .sw-store__addr b { font-family: var(--font-display); letter-spacing: 1.5px; font-weight: 700; }
.sw-store__box--compact .sw-store__phone { margin: 0; font-size: inherit; color: var(--text-2); white-space: nowrap; }
.sw-store__box--compact .sw-store__addr { margin-bottom: 0; }
.sw-store__box--compact .sw-btn { min-height: 42px; padding: 8px 18px; font-size: 14.5px; }
@media (min-width: 860px) {
	.sw-store__box--compact { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 26px; }
	.sw-store__box--compact .sw-store__btns { display: flex; justify-content: center; gap: 10px; }
	.sw-store__box--compact { text-align: center; }
	.sw-store__box--compact .sw-eyebrow { justify-content: center; }
	.sw-store__box--compact .sw-eyebrow::after { display: none; }
	.sw-store__box--compact .sw-store__addr { justify-content: center; }
}
@media (max-width: 859px) {
	.sw-store__box--compact .sw-store__phone { display: block; margin-top: 4px; }
	.sw-store__sep { display: none; }
}

@media (max-width: 420px) {
	.sw-brand__tag { white-space: nowrap; }
	.sw-store__btns { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Video unggulan ---------- */
.sw-badge--feat {
	left: auto; right: 10px;
	background: rgba(9, 10, 12, 0.82);
	border: 1px solid rgba(217, 192, 138, 0.8);
	color: #f3e2b4;
	box-shadow: 0 0 14px rgba(184, 151, 90, 0.35);
}
.sw-card:has(.sw-badge--feat) .sw-card__media { box-shadow: 0 0 0 1px rgba(217, 192, 138, 0.55), 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(184, 151, 90, 0.14); }

/* ---------- Panel admin (hanya terlihat saat login) ---------- */
.sw-admin {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin: 0 0 16px; padding: 10px 12px;
	border: 1px dashed rgba(217, 192, 138, 0.6); border-radius: 14px;
	background: rgba(184, 151, 90, 0.07);
	font-size: 13.5px;
}
.sw-admin__label { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #d9c08a; margin-right: 4px; }
.sw-admin__btn {
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
	border: 1px solid var(--line-2); border-radius: 999px;
	background: rgba(9, 10, 12, 0.6); color: var(--text);
	font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.sw-admin__btn:hover { border-color: #d9c08a; color: #f3e2b4; }
.sw-admin__btn.is-on { background: var(--gold-grad); color: #1a1408; border-color: transparent; }
.sw-admin__btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Halaman produk rata tengah ---------- */
.sw-product .sw-crumbs { text-align: center; }
.sw-product__head { text-align: center; max-width: 860px; margin: 0 auto 18px; }
.sw-product__head .sw-product__tags { justify-content: center; }
.sw-product__video { width: 100%; margin: 0 auto; }
.sw-product__video--short { max-width: 440px; }
.sw-product__video--long { max-width: 900px; }
.sw-product__buy { width: 100%; max-width: 460px; margin: 20px auto 0; }
.sw-product__buy .sw-buy { display: block; }
.sw-product__lead { max-width: 760px; margin: 22px auto 0; text-align: center; }
.sw-product .sw-admin { justify-content: center; }

/* ---------- Deretan koleksi di dalam / bawah tulisan ---------- */
.sw-collection { margin: 34px 0; }
.sw-collection .sw-grid { margin-top: 4px; }
.sw-collection a { text-decoration: none; }
.sw-collection__more { margin: 14px 0 0; text-align: center; }
.sw-collection--inline {
	padding: 18px 16px 16px;
	border-radius: 20px;
	background: var(--panel-grad) padding-box, linear-gradient(#0f1115, #0f1115) padding-box, var(--edge-grad) border-box;
	border: 1px solid transparent;
}
.sw-collection--inline .sw-eyebrow { font-size: 11.5px; }
.sw-content .sw-collection--inline .sw-card__title { color: var(--text); font-size: 14.5px; }
@media (min-width: 640px) {
	.sw-collection--inline .sw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
	.sw-collection--inline .sw-card--long { grid-column: span 2; }
}
.sw-collection--wide { max-width: none; margin-top: 40px; }

/* Lencana kartu tidak bertabrakan */
.sw-badges {
	position: absolute; top: 8px; left: 8px; right: 8px; z-index: 3;
	display: flex; flex-wrap: wrap; gap: 5px;
}
.sw-badges .sw-badge { position: static; }

/* Di deretan koleksi (tengah/bawah tulisan) semua kartu seragam tegak */
.sw-collection .sw-card--long { grid-column: auto; }
.sw-collection .sw-card--long .sw-card__media { aspect-ratio: 9 / 16; flex: none; }
@media (max-width: 639px) {
	.sw-collection--wide .sw-card:nth-child(n+5) { display: none; }
}
