/*
Theme Name:     Padelova
Theme URI:      https://toko.padelova.id
Description:    Child theme Kadence untuk toko.padelova.id. Semua kustomisasi Padelova ada di sini.
Author:         Padelova
Author URI:     https://toko.padelova.id
Template:       kadence
Version:        0.1.0
Text Domain:    padelova
*/

/* ---------------------------------------------------------------------------
   Token merek
   Diambil langsung dari file logo (PADELOVA logo trans.png): emas #B39967
   pada huruf "PADE", arang #343232 pada huruf "LOVA".
   Jangan menambah warna merek baru tanpa aset resmi.
   --------------------------------------------------------------------------- */
:root {
	--pf-gold: #b39967;
	--pf-gold-dark: #8f7a4f; /* untuk teks emas di atas latar terang (kontras AA) */
	--pf-ink: #343232;
	--pf-ink-soft: #6b6866;
	--pf-line: #e6e2dc;
}

/* ---------------------------------------------------------------------------
   Identitas bisnis di footer (T2)
   Menggantikan kredit tema bawaan Kadence. Markup-nya tersimpan di theme mod
   footer_html_content (database), dan dihasilkan ulang oleh
   tools/theme/set_footer.php supaya tetap terlacak di git.
   --------------------------------------------------------------------------- */
.pf-identity {
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	line-height: 1.55;
}

.pf-identity .pf-line {
	margin: 0;
}

.pf-identity .pf-name {
	color: var(--pf-ink);
}

.pf-identity .pf-name strong {
	/* Nama toko dibedakan dengan warna merek, bukan dengan ukuran besar. */
	color: var(--pf-gold-dark);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.pf-identity .pf-legal,
.pf-identity .pf-addr,
.pf-identity .pf-hours,
.pf-identity .pf-copy {
	color: var(--pf-ink-soft);
	font-size: 0.9em;
}

/* Kontak: satu baris di layar lebar, menumpuk di ponsel supaya area
   ketuk WhatsApp tetap lebar dan tidak berdempetan dengan email. */
.pf-identity .pf-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.15em 0.6em;
}

.pf-identity .pf-contact a {
	color: var(--pf-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--pf-line);
	padding: 0.15em 0;
}

.pf-identity .pf-contact a:hover,
.pf-identity .pf-contact a:focus {
	color: var(--pf-gold-dark);
	border-bottom-color: currentColor;
}

.pf-identity .pf-sep {
	/* Warna garis saja terlalu pucat untuk titik sekecil ini — pakai warna teks
	   yang diredupkan supaya tetap terbaca tanpa menarik perhatian. */
	color: var(--pf-ink-soft);
	opacity: 0.45;
}

@media (max-width: 420px) {
	/* Pemisah titik tidak berguna saat tautan menumpuk. */
	.pf-identity .pf-sep {
		display: none;
	}

	.pf-identity .pf-contact {
		flex-direction: column;
		gap: 0.35em;
	}

	.pf-identity .pf-contact a {
		/* Target ketuk minimal ~44px pada layar 390px. */
		padding: 0.5em 0;
	}
}

/* ---------------------------------------------------------------------------
   Halaman kepercayaan (T3): kontak, pengiriman, pengembalian, tentang
   --------------------------------------------------------------------------- */

/* Tombol WhatsApp. Satu-satunya tombol mencolok di halaman teks, karena ini
   memang tindakan yang kami harapkan dilakukan pembeli. */
.pf-cta-wrap {
	margin: 1.5em 0;
}

a.pf-cta {
	display: inline-block;
	padding: 0.75em 1.4em;
	border-radius: 4px;
	background: var(--pf-ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

a.pf-cta:hover,
a.pf-cta:focus {
	background: var(--pf-gold-dark);
	color: #fff;
}

/* Penanda sementara untuk ketentuan yang belum diputuskan pemilik usaha.
   Sengaja dibuat mencolok: ini catatan kerja, bukan teks untuk pembeli, dan
   harus hilang sebelum toko dipromosikan. */
.pf-todo {
	margin: 1.25em 0;
	padding: 0.75em 1em;
	border-left: 3px solid #c8a44d;
	background: #fdf7e6;
	color: #6b5a24;
	font-size: 0.95em;
}

@media (max-width: 420px) {
	a.pf-cta {
		/* Lebar penuh supaya mudah diketuk dengan ibu jari. */
		display: block;
		text-align: center;
		padding: 0.85em 1em;
	}
}

/* ---------------------------------------------------------------------------
   Cara belanja
   --------------------------------------------------------------------------- */

.pf-shopping-guide-page {
	max-width: 820px;
	margin: 0 auto;
}

.pf-shopping-guide-page > h1 {
	margin-bottom: 0.75rem;
}

.pf-shopping-guide-intro {
	max-width: 58ch;
	color: var(--pf-ink-soft);
	font-size: 1.05rem;
	line-height: 1.65;
}

.pf-shopping-guide-visual {
	max-width: 700px;
	margin: 2rem auto;
	text-align: center;
}

.pf-shopping-guide-visual a {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 14px 40px rgba(31, 29, 26, 0.16);
}

.pf-shopping-guide-visual img {
	display: block;
	width: 100%;
	height: auto;
}

.pf-shopping-guide-visual figcaption {
	margin-top: 0.65rem;
	color: var(--pf-ink-soft);
	font-size: 0.82rem;
}

.pf-shopping-guide-details {
	margin-top: 2.5rem;
}

.pf-shopping-guide-steps {
	display: grid;
	gap: 0.85rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: pf-shopping-step;
}

.pf-shopping-guide-steps li {
	position: relative;
	min-height: 3.25rem;
	margin: 0;
	padding: 1rem 1rem 1rem 4.25rem;
	border: 1px solid var(--pf-line);
	border-radius: 8px;
	background: #fff;
	line-height: 1.55;
	counter-increment: pf-shopping-step;
}

.pf-shopping-guide-steps li::before {
	position: absolute;
	top: 0.85rem;
	left: 1rem;
	display: grid;
	width: 2.3rem;
	height: 2.3rem;
	place-items: center;
	border-radius: 50%;
	background: var(--pf-gold);
	color: #111;
	font-weight: 800;
	content: counter(pf-shopping-step);
}

.pf-shopping-guide-steps strong {
	display: block;
	color: var(--pf-ink);
}

.pf-shopping-guide-note {
	margin: 1.5rem 0;
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--pf-gold);
	background: #f8f5ef;
	font-weight: 700;
}

.pf-shopping-guide-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.pf-shopping-guide-actions a.pf-cta-ghost {
	background: transparent;
	color: var(--pf-ink);
	box-shadow: inset 0 0 0 1px var(--pf-ink);
}

.pf-shopping-guide-actions a.pf-cta-ghost:hover,
.pf-shopping-guide-actions a.pf-cta-ghost:focus {
	background: var(--pf-ink);
	color: #fff;
}

@media (max-width: 520px) {
	.pf-shopping-guide-visual {
		margin-right: -0.5rem;
		margin-left: -0.5rem;
	}

	.pf-shopping-guide-steps li {
		padding-right: 0.85rem;
		padding-left: 3.85rem;
	}

	.pf-shopping-guide-steps li::before {
		left: 0.8rem;
	}

	.pf-shopping-guide-actions {
		display: grid;
	}

	.pf-shopping-guide-actions a.pf-cta {
		text-align: center;
	}
}

/* ---------------------------------------------------------------------------
   Beranda (T4)
   Urutannya mengikuti tiga tugas beranda: yakinkan dulu, arahkan ke kategori,
   baru tunjukkan produk.
   --------------------------------------------------------------------------- */

.pf-section {
	margin: 3.5rem 0;
}

.pf-section-title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
	line-height: 1.25;
}

.pf-products-heading {
	margin-top: 3.5rem;
	margin-bottom: 1.25rem;
}

.pf-products-heading .pf-section-title {
	margin-bottom: 0;
}

.pf-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.pf-section-heading .pf-section-title {
	margin-bottom: 0;
}

.pf-text-link {
	flex: 0 0 auto;
	color: var(--pf-ink);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration-color: var(--pf-gold);
	text-underline-offset: 0.3em;
}

/* ---- Hero -------------------------------------------------------------- */
.pf-hero {
	margin: 0;
}

.pf-hero-action {
	display: flex;
	min-height: clamp(430px, 47vw, 610px);
	align-items: center;
	padding: clamp(2rem, 6vw, 5.5rem);
	background-image: linear-gradient(90deg, rgba(8, 7, 6, 0.84) 0%, rgba(8, 7, 6, 0.58) 45%, rgba(8, 7, 6, 0.12) 78%), var(--pf-hero-image);
	background-position: center;
	background-size: cover;
}

.pf-hero-action .pf-hero-copy {
	max-width: 560px;
}

.pf-hero-action .pf-eyebrow,
.pf-hero-action .pf-hero-title,
.pf-hero-action .pf-hero-sub {
	color: #fff;
}

.pf-hero-action a.pf-cta.pf-cta-ghost {
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.pf-hero-action a.pf-cta.pf-cta-ghost:hover,
.pf-hero-action a.pf-cta.pf-cta-ghost:focus {
	background: #fff;
	color: var(--pf-ink);
}

.pf-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	list-style: none;
}

.pf-hero-badges li::before {
	margin-right: 0.35rem;
	color: #f0c75e;
	content: "\2713";
}

.pf-eyebrow {
	margin: 0 0 0.75rem;
	color: var(--pf-gold-dark);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pf-hero-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.pf-hero-sub {
	margin: 0 0 1.5rem;
	max-width: 46ch;
	color: var(--pf-ink-soft);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
	line-height: 1.6;
}

.pf-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

/* Tombol kedua dibuat garis saja supaya hanya ada satu ajakan utama. */
a.pf-cta.pf-cta-ghost {
	background: transparent;
	color: var(--pf-ink);
	box-shadow: inset 0 0 0 1px var(--pf-ink);
}

a.pf-cta.pf-cta-ghost:hover,
a.pf-cta.pf-cta-ghost:focus {
	background: var(--pf-ink);
	color: #fff;
}

/* ---- Bukti marketplace di atas lipatan ------------------------------- */
.pf-proof-strip {
	display: grid;
	grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(110px, 0.75fr));
	margin: 0 0 1.5rem;
	padding: 0 clamp(1rem, 4vw, 3rem);
	background: #1d1d1d;
	color: #fff;
}

.pf-proof-strip p {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 1rem clamp(0.75rem, 2vw, 1.5rem);
	border-left: 1px solid rgba(255, 255, 255, 0.14);
	text-align: center;
}

.pf-proof-strip .pf-proof-source {
	align-items: flex-start;
	border-left: 0;
	text-align: left;
}

.pf-proof-strip strong {
	color: #f0c75e;
	font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3rem);
}

.pf-proof-strip span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---- Partner pengiriman dekat bagian atas ----------------------------- */
.pf-shipping-rail {
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(240px, 1fr));
	gap: 0;
	margin: 0 0 4.5rem;
	border-block: 1px solid var(--pf-line);
	background: #fff;
}

.pf-shipping-intro,
.pf-shipping-group {
	padding: 1.15rem clamp(1rem, 2vw, 1.5rem);
	border-right: 1px solid var(--pf-line);
}

.pf-shipping-intro .pf-eyebrow {
	margin-bottom: 0.25rem;
}

.pf-shipping-intro h2 {
	margin: 0;
	color: var(--pf-ink);
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem);
	line-height: 1.35;
}

.pf-shipping-group {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.6rem;
}

.pf-shipping-group strong {
	color: var(--pf-ink-soft);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pf-shipping-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.pf-shipping-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 82px;
	height: 42px;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	background: #fff;
}

.pf-shipping-logo img {
	display: block;
	width: auto;
	max-width: 104px;
	height: auto;
	max-height: 28px;
	object-fit: contain;
}

.pf-shipping-instant .pf-shipping-logo {
	border-color: rgba(139, 106, 39, 0.3);
	background: #fffdf8;
}

.pf-shipping-note {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0.6rem 1rem;
	background: #f8f8f6;
	color: var(--pf-ink-soft);
	font-size: 0.75rem;
	text-align: center;
}

/* ---- Kartu kategori ---------------------------------------------------- */
.pf-tiles {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.pf-tile {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--pf-line);
	border-radius: 6px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.pf-tile:hover,
.pf-tile:focus {
	border-color: var(--pf-gold);
	transform: translateY(-2px);
	box-shadow: 0 0.75rem 1.75rem rgba(52, 50, 50, 0.08);
}

.pf-tile-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f7f6f3;
}

.pf-tile-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.pf-tile:hover .pf-tile-media img,
.pf-tile:focus .pf-tile-media img {
	transform: scale(1.025);
}

.pf-tile-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.05rem 1.1rem;
}

.pf-tile-name {
	color: var(--pf-ink);
	font-size: 1.02rem;
	font-weight: 800;
}

.pf-tile-desc {
	color: var(--pf-ink-soft);
	font-size: 0.9rem;
	line-height: 1.45;
}

.pf-tile-count {
	margin-top: auto;
	padding-top: 0.4rem;
	color: var(--pf-gold-dark);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.pf-category-more {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.1rem;
	margin-top: 1.25rem;
	color: var(--pf-ink-soft);
	font-size: 0.88rem;
}

.pf-category-more a {
	color: var(--pf-ink);
	font-weight: 700;
	text-decoration-color: var(--pf-gold);
	text-underline-offset: 0.25em;
}

/* ---- Strip kepercayaan ------------------------------------------------- */
.pf-trust {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border-radius: 8px;
	background: #f4f0e8;
}

.pf-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
}

/* Stable catalog cards and galleries regardless of imported source ratios. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title,
.wc-block-components-product-name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.woocommerce-product-gallery__image a {
	display: flex;
	aspect-ratio: 1 / 1;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.woocommerce-product-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pf-menu-cart a,
.pf-menu-account a {
	white-space: nowrap;
}

.header-navigation .pf-menu-categories > .sub-menu {
	min-width: 15rem;
}

.header-navigation .pf-menu-categories > .sub-menu a {
	white-space: nowrap;
}

.pf-menu-search .search-form {
	display: flex;
	align-items: center;
	margin: 0;
}

.pf-menu-search .search-field {
	width: 11rem;
	height: 2.35rem;
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--pf-line);
	border-radius: 4px 0 0 4px;
	font-size: 0.82rem;
}

.pf-menu-search .search-submit {
	height: 2.35rem;
	padding: 0.45rem 0.7rem;
	border: 0;
	border-radius: 0 4px 4px 0;
	background: var(--pf-ink);
	color: #fff;
	font-size: 0.78rem;
}

.pf-trust-item h3 {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	line-height: 1.3;
}

.pf-trust-item p {
	margin: 0;
	color: var(--pf-ink-soft);
	font-size: 0.92rem;
	line-height: 1.55;
}

.pf-trust-marketplace {
	padding: 1rem;
	border: 1px solid rgba(139, 106, 39, 0.28);
	border-radius: 8px;
	background: #fff;
}

.pf-marketplace-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.65rem 0;
}

.pf-marketplace-proof strong,
.pf-marketplace-proof span {
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: #f4f0e8;
	color: var(--pf-ink);
	font-size: 0.82rem;
	line-height: 1.25;
}

.pf-marketplace-proof strong,
.pf-marketplace-proof strong span {
	background: var(--pf-ink);
	color: #f0c75e;
}

.pf-marketplace-proof strong span {
	padding: 0;
}

.pf-trust .pf-hero-actions {
	margin-top: 1.75rem;
}

/* ---- Bantuan pribadi -------------------------------------------------- */
.pf-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin: 3.5rem 0 0;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border-radius: 8px;
	background: var(--pf-ink);
	color: #fff;
}

.pf-help h2 {
	margin: 0 0 0.65rem;
	max-width: 28ch;
	color: #fff;
	font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
	line-height: 1.25;
}

.pf-help p:not(.pf-eyebrow) {
	margin: 0;
	max-width: 62ch;
	color: rgba(255, 255, 255, 0.75);
}

.pf-help .pf-eyebrow {
	color: #d7c59f;
}

a.pf-cta.pf-cta-light {
	flex: 0 0 auto;
	background: #fff;
	color: var(--pf-ink);
}

a.pf-cta.pf-cta-light:hover,
a.pf-cta.pf-cta-light:focus {
	background: var(--pf-gold);
	color: var(--pf-ink);
}

/* ---- Ekosistem aplikasi ----------------------------------------------- */
.pf-ecosystem {
	margin: 3rem calc(50% - 50vw);
	padding: 3.5rem max(1.25rem, calc((100vw - 1180px) / 2));
	background: #1f1f1f;
	color: #fff;
	text-align: center;
}

.pf-ecosystem-heading {
	max-width: 680px;
	margin: 0 auto 2rem;
}

.pf-ecosystem-heading h2,
.pf-reseller h2,
.pf-mitra-home h2 {
	margin: 0 0 0.6rem;
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	line-height: 1.15;
}

.pf-ecosystem-heading h2 {
	color: #fff;
}

.pf-ecosystem-heading > p:last-child {
	margin: 0;
	color: #c9c9c9;
}

.pf-app-group + .pf-app-group {
	margin-top: 1.75rem;
}

.pf-app-group h3 {
	margin: 0 0 0.8rem;
	color: #aaa;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pf-app-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
}

.pf-app-card {
	display: grid;
	width: 132px;
	padding: 1rem 0.75rem;
	border: 1px solid #454545;
	border-radius: 12px;
	background: #2b2b2b;
	color: #fff;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.pf-app-card:hover,
.pf-app-card:focus {
	border-color: var(--pf-gold);
	color: #fff;
	transform: translateY(-3px);
}

.pf-app-card-soon {
	opacity: 0.72;
}

.pf-app-card-soon:hover {
	border-color: #454545;
	transform: none;
}

.pf-app-card img {
	width: 68px;
	height: 68px;
	margin: 0 auto 0.7rem;
	border-radius: 16px;
	object-fit: cover;
}

.pf-app-card strong {
	font-size: 0.82rem;
}

.pf-app-card span {
	justify-self: center;
	margin-top: 0.45rem;
	padding: 0.22rem 0.48rem;
	border-radius: 999px;
	background: var(--pf-gold);
	color: #24211d;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pf-ecosystem a.pf-ecosystem-all {
	display: inline-block;
	margin-top: 2rem;
	color: #fff;
}

/* ---- Mitra Klub -------------------------------------------------------- */
.pf-reseller,
.pf-mitra-home {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	margin: 3rem 0;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: #fbfaf7;
}

.pf-reseller-copy > p:not(.pf-eyebrow),
.pf-mitra-home-copy > p:not(.pf-eyebrow) {
	max-width: 640px;
	color: var(--pf-ink-soft);
}

.pf-reseller ul,
.pf-mitra-home ul {
	margin: 1.25rem 0 1.5rem;
	padding: 0;
	list-style: none;
}

.pf-reseller li,
.pf-mitra-home li {
	position: relative;
	margin: 0.45rem 0;
	padding-left: 1.25rem;
}

.pf-reseller li::before,
.pf-mitra-home li::before {
	position: absolute;
	left: 0;
	color: var(--pf-gold-dark);
	content: "\2713";
	font-weight: 700;
}

.pf-reseller-media img,
.pf-mitra-home-media img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 12px;
	object-fit: cover;
}

/* ---- Titik henti ------------------------------------------------------- */
@media (max-width: 1100px) {
	.pf-tiles {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 860px) {
	.pf-hero-action {
		min-height: 520px;
		background-image: linear-gradient(90deg, rgba(8, 7, 6, 0.84), rgba(8, 7, 6, 0.42)), var(--pf-hero-image);
		background-position: 58% center;
	}

	.pf-proof-strip {
		grid-template-columns: repeat(3, 1fr);
	}

	.pf-proof-strip .pf-proof-source {
		grid-column: 1 / -1;
		align-items: center;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		text-align: center;
	}

	.pf-tiles,
	.pf-trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pf-shipping-rail {
		grid-template-columns: 1fr 1fr;
	}

	.pf-shipping-intro {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 1px solid var(--pf-line);
	}

	.pf-shipping-group:nth-of-type(3) {
		border-right: 0;
	}

	.pf-help {
		align-items: flex-start;
		flex-direction: column;
	}

	.pf-reseller,
	.pf-mitra-home {
		grid-template-columns: 1fr;
	}

	.pf-reseller-media,
	.pf-mitra-home-media {
		order: -1;
	}
}

@media (max-width: 480px) {
	.pf-tiles,
	.pf-trust-grid {
		grid-template-columns: 1fr;
	}

	.pf-hero-actions {
		flex-direction: column;
	}

	.pf-hero-action {
		min-height: 560px;
		padding: 2rem 1.25rem;
		background-position: 62% center;
	}

	.pf-proof-strip {
		padding-inline: 0;
	}

	.pf-proof-strip p {
		padding: 0.85rem 0.35rem;
	}

	/* .pf-cta sudah jadi block di bawah 420px; samakan di sini juga supaya
	   kedua tombol selebar layar. */
	.pf-hero-actions a.pf-cta {
		display: block;
		text-align: center;
	}

	.pf-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.pf-shipping-rail {
		grid-template-columns: 1fr;
		margin-bottom: 3.5rem;
	}

	.pf-shipping-group {
		border-right: 0;
		border-bottom: 1px solid var(--pf-line);
	}

	.pf-shipping-note {
		text-align: left;
	}

	.pf-help a.pf-cta {
		width: 100%;
		text-align: center;
	}

	.pf-ecosystem {
		padding-block: 2.5rem;
	}

	.pf-app-card {
		width: calc(50% - 0.4rem);
	}

	.pf-reseller,
	.pf-mitra-home {
		padding: 1.25rem;
	}
}

/* ---------------------------------------------------------------------------
   Toko dan halaman produk (T5)
   --------------------------------------------------------------------------- */

/* ---- Kartu produk di halaman toko -------------------------------------- */

/* Judul produk di katalog ini panjang sekali — warisan judul marketplace yang
   penuh kata kunci. Tanpa dibatasi, satu judul memakan ~143px tinggi di layar
   390px dan mendorong harga keluar layar. Dibatasi tiga baris; nama lengkapnya
   tetap ada di halaman produk. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	/* Judul dipotong dua/tiga baris supaya harga tidak terdorong keluar layar.
	   Dua hal yang perlu diketahui kalau ini disentuh lagi:

	   1. getComputedStyle melaporkan display:flow-root di sini, bukan
	      -webkit-box, walaupun sudah pakai !important — ada sesuatu di
	      tumpukan gaya yang menang (bukan CSS Kadence; "flow-root" tidak ada
	      di sana). Meski begitu pemotongan dan elipsisnya tetap berjalan,
	      jadi biarkan kedua deklarasi ini.
	   2. Yang benar-benar merapikan potongannya adalah padding-bottom:0.
	      Kadence memberi padding .5rem atas-bawah, dan overflow:hidden
	      memotong di tepi padding, bukan tepi konten — sehingga baris
	      berikutnya sempat terlihat separuh di area padding bawah. */
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding-bottom: 0;
	font-size: 0.95rem;
	line-height: 1.35;
}

.woocommerce ul.products li.product .price {
	font-weight: 700;
}

/* Penanda stok. Hanya dipasang saat produk benar-benar habis, jadi kalau
   muncul artinya memang perlu dibaca. */
.pf-badge {
	display: inline-block;
	padding: 0.2em 0.55em;
	border-radius: 3px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.pf-badge-oos {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 2;
	background: var(--pf-ink);
	color: #fff;
}

.woocommerce ul.products li.product {
	position: relative;
}

/* ---- Halaman produk ----------------------------------------------------- */

.pf-product-meta {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--pf-line);
}

.pf-ship-est {
	margin: 0 0 0.6rem;
	color: var(--pf-ink-soft);
	font-size: 0.92rem;
	line-height: 1.55;
}

.pf-ship-est strong {
	color: var(--pf-ink);
}

.pf-ask {
	margin: 0;
}

a.pf-ask-link {
	display: inline-block;
	color: var(--pf-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--pf-gold);
	padding: 0.15em 0;
}

a.pf-ask-link:hover,
a.pf-ask-link:focus {
	color: var(--pf-gold-dark);
	border-bottom-color: currentColor;
}

.pf-size-guide {
	margin: 1.5rem 0 0;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--pf-line);
	border-radius: 6px;
}

.pf-size-guide h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.pf-size-guide p {
	margin: 0 0 0.6rem;
	color: var(--pf-ink-soft);
	font-size: 0.92rem;
	line-height: 1.55;
}

.pf-size-guide p:last-child {
	margin-bottom: 0;
}

.pf-size-table {
	width: 100%;
	margin: 0.8rem 0 1rem;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.pf-size-table th,
.pf-size-table td {
	padding: 0.45rem 0.6rem;
	text-align: left;
	border-bottom: 1px solid var(--pf-line);
}

.pf-size-table thead th {
	color: var(--pf-ink);
	font-weight: 600;
}

.pf-size-table tbody th {
	color: var(--pf-ink);
	font-weight: 500;
}

.pf-size-table td {
	color: var(--pf-ink-soft);
}

/* ---- Ketersediaan varian ------------------------------------------------ */

/* Ringkasan di atas dropdown. Muncul hanya kalau ada varian yang habis. */
.pf-variation-note {
	margin: 0 0 0.9rem;
	padding: 0.6em 0.85em;
	border-left: 3px solid var(--pf-gold);
	background: #faf7f1;
	color: var(--pf-ink);
	font-size: 0.9rem;
	line-height: 1.5;
}

.pf-variation-note-empty {
	border-left-color: #b4433a;
	background: #fdf1f0;
}

/* Sebagian browser mobile mengabaikan warna <option>; teks " — habis" yang
   ditambahkan skrip adalah penanda utamanya, warna ini hanya pelengkap. */
.variations select option.pf-option-oos {
	color: #9a9694;
}

/* ---------------------------------------------------------------------------
   Program dan pendaftaran Mitra Klub
   --------------------------------------------------------------------------- */
.pf-reseller-page,
.pf-mitra-page {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.pf-reseller-page > h1,
.pf-mitra-page > h1 {
	max-width: 18ch;
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.08;
}

.pf-reseller-lead,
.pf-mitra-lead {
	max-width: 720px;
	margin: 0 0 2.5rem;
	color: var(--pf-ink-soft);
	font-size: 1.08rem;
	line-height: 1.65;
}

.pf-mitra-audience {
	max-width: 720px;
	margin: -1.5rem 0 1.5rem;
	padding-left: 1rem;
	border-left: 3px solid var(--pf-gold);
	color: var(--pf-ink);
	font-weight: 600;
	line-height: 1.6;
}

.pf-mitra-klub-page > .pf-hero-actions {
	margin-bottom: 2.5rem;
}

.pf-reseller-benefit-grid,
.pf-mitra-benefit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.pf-reseller-benefit-grid article,
.pf-mitra-benefit-grid article,
.pf-reseller-steps,
.pf-mitra-steps,
.pf-reseller-form {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	background: #fff;
}

.pf-reseller-benefit-grid h2,
.pf-mitra-benefit-grid h2 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}

.pf-reseller-benefit-grid p,
.pf-mitra-benefit-grid p {
	margin: 0;
	color: var(--pf-ink-soft);
}

.pf-reseller-steps,
.pf-mitra-steps {
	margin-bottom: 2rem;
	background: #faf7f1;
}

.pf-reseller-steps h2,
.pf-mitra-steps h2 {
	margin-top: 0;
}

.pf-reseller-steps li,
.pf-mitra-steps li {
	margin: 0.6rem 0;
}

.pf-mitra-klub-form {
	scroll-margin-top: 2rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	background: #fff;
}

.pf-mitra-klub-form > h2 {
	margin-top: 0;
}

.pf-mitra-klub-form > p {
	margin-bottom: 1.5rem;
	color: var(--pf-ink-soft);
}

.pf-reseller-apply {
	max-width: 760px;
}

.pf-reseller-form {
	display: grid;
	gap: 1.15rem;
}

.pf-reseller-form > label {
	display: grid;
	gap: 0.4rem;
	color: var(--pf-ink);
	font-size: 0.9rem;
	font-weight: 600;
}

.pf-reseller-form label > span {
	color: #a33b32;
}

.pf-reseller-form input[type="text"],
.pf-reseller-form input[type="tel"],
.pf-reseller-form input[type="email"],
.pf-reseller-form select,
.pf-reseller-form textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid #cbc7c2;
	border-radius: 5px;
	background: #fff;
	color: var(--pf-ink);
	font: inherit;
	font-weight: 400;
}

.pf-reseller-form input:focus,
.pf-reseller-form select:focus,
.pf-reseller-form textarea:focus {
	border-color: var(--pf-gold-dark);
	outline: 2px solid rgba(179, 153, 103, 0.25);
}

.pf-reseller-form fieldset {
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--pf-line);
}

.pf-reseller-form legend {
	padding: 0 0.35rem;
	font-weight: 600;
}

.pf-reseller-form fieldset > label {
	margin-right: 1rem;
	font-size: 0.9rem;
}

.pf-form-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
}

.pf-form-options label {
	font-size: 0.85rem;
}

.pf-form-privacy {
	margin: 0;
	color: var(--pf-ink-soft);
	font-size: 0.8rem;
}

.pf-reseller-form button.pf-cta {
	width: 100%;
	border: 0;
	cursor: pointer;
}

/* ---- Titik henti -------------------------------------------------------- */

@media (max-width: 767px) {
	/* Dua kolom di ponsel. Bawaannya satu kolom penuh di 390px, yang berarti
	   menggulir 39 produk satu per satu; dua kolom jauh lebih cepat dipindai
	   dan sesuai kebiasaan pembeli dari marketplace. */
	.woocommerce ul.products.grid-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.9rem;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h2 {
		-webkit-line-clamp: 2;
		font-size: 0.85rem;
	}

	.woocommerce ul.products li.product .price {
		font-size: 0.9rem;
	}

	.pf-reseller-benefit-grid,
	.pf-mitra-benefit-grid {
		grid-template-columns: 1fr;
	}
}
