/* =========================================================================
   Popoku Official — woocommerce.css
   Kartu produk, single, cart, checkout, order summary, akun. Gaya Shopee.
   ========================================================================= */

/* Hanya jarak vertikal — padding shorthand akan menghapus padding samping
   milik .pk-container sehingga konten menempel ke tepi layar di mobile. */
.pk-shop { padding-top: 8px; padding-bottom: 40px; }
.woocommerce-notices-wrapper:not(:empty) { margin: 0 0 16px; }

/* Notices ---------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
	list-style: none; margin: 0 0 16px; padding: 13px 18px 13px 44px; border-radius: 8px;
	position: relative; font-size: 14px; line-height: 1.5;
}
.woocommerce-message { background: #e8f7ee; color: #1e7a45; border: 1px solid #b7e6c8; }
.woocommerce-info { background: #eaf4fc; color: #1c5f96; border: 1px solid #bfdef5; }
.woocommerce-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
	content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
	background-size: contain; background-repeat: no-repeat;
}
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 12px; }

/* =========================================================================
   GRID PRODUK + KARTU (loop)
   ========================================================================= */
ul.products, .pk-products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
	float: none;
}
.pk-products--scroll { grid-template-columns: repeat(6, 1fr); }

/* Netralkan lebar & float default WooCommerce (woocommerce-layout.css) di halaman arsip
   yang punya class .woocommerce pada <body> — jika tidak, kartu menyempit jadi ~40px. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
ul.products li.pk-card {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; }

.pk-card, li.product {
	position: relative; background: #fff; border-radius: var(--pk-radius-sm); overflow: hidden;
	box-shadow: var(--pk-shadow); transition: transform .16s ease, box-shadow .16s ease;
	display: flex; flex-direction: column; border: 1px solid #f0f0f0;
}
.pk-card:hover, li.product:hover { transform: translateY(-3px); box-shadow: var(--pk-shadow-md); border-color: var(--pk-primary); z-index: 2; }
.pk-card__link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.pk-card__link:hover { color: inherit; }

.pk-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f7f7f7; }
.pk-card__img, .pk-card__media img { width: 100%; height: 100%; object-fit: cover; }

.pk-card__disc {
	position: absolute; top: 0; right: 8px; background: var(--pk-accent); color: #fff;
	display: flex; flex-direction: column; align-items: center; padding: 3px 5px 5px;
	font-size: 10px; line-height: 1; border-radius: 0 0 3px 3px;
}
.pk-card__disc b { font-size: 13px; font-weight: 800; }
.pk-card__disc i { font-style: normal; font-size: 8px; letter-spacing: .5px; }
.pk-card__badge { position: absolute; top: 8px; left: 0; color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 0 3px 3px 0; }
.pk-card__badge--fav { background: linear-gradient(90deg, #ff8a4c, var(--pk-accent)); }
.pk-card__soldout { position: absolute; inset: 0; background: rgba(255, 255, 255, .8); display: flex; align-items: center; justify-content: center; }
.pk-card__soldout::after { content: "Stok Habis"; background: rgba(0, 0, 0, .55); color: #fff; padding: 8px 14px; border-radius: 50%; font-size: 12px; font-weight: 700; }

.pk-card__body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pk-card__title {
	font-family: var(--pk-font); font-size: 13px; font-weight: 400; line-height: 1.35; margin: 0; color: var(--pk-ink);
	display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	height: 2.9em; padding-bottom: 1px; word-break: break-word;
}
.pk-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.pk-price-now, .pk-card__price .price ins, .pk-card__price .amount { color: var(--pk-price); font-weight: 800; font-size: 16px; font-family: var(--pk-head); text-decoration: none; }
.pk-price-now .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 600; }
.pk-price-was { color: var(--pk-muted); font-size: 11.5px; text-decoration: line-through; }
.pk-card__meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--pk-muted); }
.pk-card__rating { display: inline-flex; align-items: center; gap: 2px; color: var(--pk-star); }
.pk-card__rating b { color: var(--pk-ink-soft); font-weight: 600; }
.pk-card__dot { color: #ddd; }
.pk-card__loc { display: flex; align-items: center; gap: 3px; font-size: 10.5px; color: var(--pk-muted); }
.pk-card__loc .pk-icon { flex: none; }

.pk-card__add {
	display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 10px 10px;
	padding: 8px; border: 1px solid var(--pk-accent); color: var(--pk-accent); background: #fff;
	border-radius: 5px; font-size: 12.5px; font-weight: 700; font-family: var(--pk-head); transition: all .15s;
}
.pk-card__add:hover { background: var(--pk-accent); color: #fff; }
.pk-card__add.added { background: #27ae60; border-color: #27ae60; color: #fff; }
.pk-card__add--view { border-color: var(--pk-line); color: var(--pk-ink-soft); }
.pk-card__add--view:hover { background: var(--pk-primary); border-color: var(--pk-primary); color: #fff; }
/* WooCommerce menambah link "Lihat keranjang" di bawah tombol; mini cart sudah
   menggantikan fungsinya. Perlu specificity di atas `.woocommerce a.added_to_cart`. */
.pk-card a.added_to_cart, .woocommerce .pk-card a.added_to_cart { display: none !important; }

/* Header arsip toko ------------------------------------------------------- */
.woocommerce-products-header { margin-bottom: 14px; }
.woocommerce-products-header__title { font-size: 22px; margin: 0 0 6px; }
.term-description { color: var(--pk-ink-soft); font-size: 14px; }
/* Jumlah hasil + urutan: WooCommerce memakai float kiri/kanan yang berantakan
   di layar sempit. Dijadikan satu baris flex yang boleh membungkus. */
.pk-shop .woocommerce-result-count,
.pk-shop .woocommerce-ordering {
	float: none !important;
	margin: 0;
}
.pk-shop__toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	flex-wrap: wrap; margin: 0 0 16px;
}
.woocommerce-result-count { color: var(--pk-muted); font-size: 13px; margin: 0; }
.woocommerce-ordering select, .pk-shop select {
	padding: 9px 12px; border: 1px solid var(--pk-line); border-radius: 6px; background: #fff; font-size: 13px; color: var(--pk-ink);
	max-width: 100%;
}
.pk-shop .woocommerce-ordering { display: inline-block; }

@media (max-width: 560px) {
	.pk-shop__toolbar { gap: 8px; }
	.pk-shop .woocommerce-result-count { flex: 1 1 100%; order: 2; font-size: 12.5px; }
	.pk-shop .woocommerce-ordering { flex: 1 1 100%; order: 1; }
	.pk-shop .woocommerce-ordering select { width: 100%; }
	.woocommerce-products-header__title { font-size: 19px; }
}
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px;
	background: #fff; border: 1px solid var(--pk-line); border-radius: 6px; color: var(--pk-ink-soft); font-weight: 600;
}
.woocommerce-pagination .current { background: var(--pk-primary); color: #fff; border-color: var(--pk-primary); }

/* =========================================================================
   SINGLE PRODUCT
   ========================================================================= */
.pk-single { background: transparent; }
/* Halaman produk sudah punya tombol "Chat Admin" sendiri — WA mengambang hanya
   menutupi tombol Bagikan (desktop) dan "Beli Sekarang" (mobile). */
.single-product .pk-wa-float { display: none; }
.pk-single__top { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 20px; background: #fff; border-radius: var(--pk-radius); padding: 20px; box-shadow: var(--pk-shadow); }
/* Cegah kolom grid memaksa lebar melebihi container (default min-width:auto). */
.pk-single__top > * { min-width: 0; }

/* Galeri */
/* woocommerce-layout.css memaksa div.images jadi width:48%;float:left — netralkan
   agar galeri mengisi penuh kolomnya (sama seperti perbaikan grid arsip). */
.pk-single .woocommerce-product-gallery,
.pk-single div.images {
	width: 100% !important; float: none !important; margin: 0 !important;
}
.pk-single__gallery { position: sticky; top: calc(var(--pk-header-h) + 14px); align-self: start; overflow: hidden; }
/* Flexslider kadang menyisakan wrapper slide selebar penuh (semua gambar berjajar)
   di luar .flex-viewport, membuat halaman melebar horizontal di desktop.
   Clip di level galeri; .flex-viewport (440px) tetap jadi slider yang terlihat. */
.pk-single__gallery .woocommerce-product-gallery { position: relative; overflow: hidden; }
.pk-single__gallery .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fafafa; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { border-radius: 8px; overflow: hidden; }
.woocommerce-product-gallery__image img { border-radius: 8px; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 18px 0 0 !important; flex-wrap: wrap; }
/* Lagi-lagi woocommerce-layout.css: thumbnail dipaksa width:30.75%;float:left. */
.pk-single .woocommerce-product-gallery .flex-control-thumbs li {
	width: 64px !important; float: none !important; margin: 0 !important; cursor: pointer;
}
.pk-single .woocommerce-product-gallery .flex-control-thumbs img { width: 64px; height: 64px; object-fit: cover; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 6px; border: 2px solid transparent; opacity: .7; transition: all .15s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover { border-color: var(--pk-primary); opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 10px; right: 10px; z-index: 5; }

/* Summary */
.pk-single__title { font-family: var(--pk-font); font-size: 22px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.pk-single__stats { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--pk-line); margin-bottom: 4px; font-size: 13px; color: var(--pk-ink-soft); flex-wrap: wrap; }
.pk-stat b { color: var(--pk-ink); font-weight: 700; }
.pk-stat--rate { display: inline-flex; align-items: center; gap: 6px; color: var(--pk-price); border-bottom: 1px solid var(--pk-price); padding-bottom: 1px; }
.pk-stat--rate b { color: var(--pk-price); }
.pk-stat__div { width: 1px; height: 14px; background: var(--pk-line); }
.pk-stars { position: relative; display: inline-flex; color: #e0e0e0; }
.pk-stars .pk-icon { color: inherit; }
.pk-stars::before { content: ""; position: absolute; top: 0; left: 0; width: var(--pk-rate, 0); height: 100%; overflow: hidden; color: var(--pk-star); z-index: 1; }
.pk-stars { color: var(--pk-star); }

.pk-single__pricebox { background: #fafafa; border-radius: 8px; padding: 16px 18px; margin: 16px 0; display: flex; align-items: center; gap: 14px; }
.pk-single__price .price, .pk-single__price .amount, .pk-single__price ins { color: var(--pk-price); font-size: 30px; font-weight: 800; font-family: var(--pk-head); text-decoration: none; }
.pk-single__price del { color: var(--pk-muted); font-size: 16px; font-weight: 400; margin-left: 8px; }
.pk-single__price del .amount { color: var(--pk-muted); font-size: 16px; font-weight: 400; }
.pk-single__price .woocommerce-Price-currencySymbol { font-size: 18px; }
.pk-single__disc { background: rgba(238, 77, 45, .12); color: var(--pk-price); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 4px; font-family: var(--pk-head); }

.pk-single__facts { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pk-single__facts li { display: flex; gap: 12px; font-size: 13px; }
.pk-fact__k { color: var(--pk-muted); min-width: 96px; }
.pk-fact__v { color: var(--pk-ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.pk-fact__v .pk-icon { color: var(--pk-primary); }

/* Form add to cart */
.pk-single__cart { margin-bottom: 16px; }
.pk-single form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.pk-single form.cart .quantity { display: flex; }
.pk-single .single_add_to_cart_button {
	background: var(--pk-accent) !important; color: #fff !important; border: 0; border-radius: 6px;
	height: 48px; padding: 0 30px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--pk-head); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .16s, opacity .16s;
	box-shadow: 0 4px 12px rgba(255, 107, 44, .3);
}
.pk-single .single_add_to_cart_button:hover { background: var(--pk-accent-dark) !important; }
/* Saat varian belum dipilih tombolnya disabled: tetap oranye (bukan ungu bawaan Woo). */
.pk-single .single_add_to_cart_button.disabled,
.pk-single .single_add_to_cart_button.wc-variation-selection-needed,
.pk-single .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
/* Baris qty + tombol untuk produk variabel agar sejajar. */
.pk-single .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Tombol Beli Sekarang (langsung ke checkout). */
.pk-single .pk-buynow {
	height: 48px; padding: 0 30px; border: 0; border-radius: 6px; background: var(--pk-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--pk-head); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .16s, opacity .16s;
	box-shadow: 0 4px 12px rgba(0, 113, 188, .28);
}
.pk-single .pk-buynow:hover { background: var(--pk-primary-dark); color: #fff; }
.pk-single .pk-buynow.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.pk-single .pk-buynow.is-loading { opacity: .65; pointer-events: none; }
.pk-single form.cart .variations { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
.pk-single form.cart .variations td { padding: 10px 0; vertical-align: top; }
.pk-single form.cart .variations td.label { width: 110px; padding-top: 18px; }
.pk-single form.cart .variations label { font-weight: 600; font-size: 13px; color: var(--pk-ink-soft); }
.pk-single form.cart .variations select { padding: 9px 12px; border: 1px solid var(--pk-line); border-radius: 6px; min-width: 160px; }
.pk-single .woocommerce-variation-price .price { color: var(--pk-price); font-weight: 800; font-size: 22px; }

/* Pemilih varian gaya Shopee — menggantikan dropdown bawaan. */
.pk-varpick__cell select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.pk-varpick { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-varpick__opt {
	position: relative; min-width: 62px; padding: 9px 16px;
	background: #fff; border: 1px solid var(--pk-line); border-radius: 6px;
	font-family: var(--pk-font); font-size: 13.5px; font-weight: 600; color: var(--pk-ink-soft);
	transition: color .15s, border-color .15s, background .15s, box-shadow .15s;
}
.pk-varpick__opt:hover:not(:disabled) { color: var(--pk-price); border-color: var(--pk-price); background: #fff8f6; }
.pk-varpick__opt.is-active { color: var(--pk-price); border-color: var(--pk-price); background: #fff5f2; box-shadow: 0 2px 8px rgba(238, 77, 45, .16); }
/* Sudut terlipat kecil sebagai penanda terpilih, seperti Shopee. */
.pk-varpick__opt.is-active::after {
	content: ''; position: absolute; right: 0; bottom: 0; width: 0; height: 0;
	border: 5px solid var(--pk-price); border-top-color: transparent; border-left-color: transparent; border-radius: 0 0 5px 0;
}
.pk-varpick__opt:disabled, .pk-varpick__opt.is-off {
	color: #c4c4c4; background: #fafafa; border-color: #efefef; cursor: not-allowed;
	text-decoration: line-through; text-decoration-color: #dcdcdc;
}
.pk-varpick__opt:focus-visible { outline: 2px solid var(--pk-primary); outline-offset: 2px; }
/* WooCommerce menyembunyikan link reset dengan visibility:hidden sehingga tetap
   memakan ruang. Sembunyikan sepenuhnya sampai WC menandainya visible. */
.pk-single .reset_variations:not([style*="visible"]) { display: none; }
.pk-single .reset_variations {
	display: inline-flex; align-items: center; gap: 4px; margin-top: 10px;
	font-size: 12px; font-weight: 600; color: var(--pk-muted);
	padding: 4px 10px; border: 1px solid var(--pk-line); border-radius: 20px; background: #fff;
	transition: color .15s, border-color .15s;
}
.pk-single .reset_variations::before { content: '\00d7'; font-size: 14px; line-height: 1; }
.pk-single .reset_variations:hover { color: var(--pk-price); border-color: var(--pk-price); }

/* Harga varian sudah ditampilkan di kotak harga utama (lihat initVariationChips). */
.pk-single .single_variation_wrap .woocommerce-variation-price { display: none; }
.pk-single .single_variation_wrap .woocommerce-variation { margin: 0; }

/* Harga varian terpilih */
.pk-single .woocommerce-variation-price { margin: 4px 0 12px; }
.pk-single .woocommerce-variation-price .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pk-single .woocommerce-variation-price .price del,
.pk-single .woocommerce-variation-price .price del .amount {
	color: var(--pk-muted); font-size: 15px; font-weight: 600; text-decoration: line-through; opacity: 1;
}
.pk-single .woocommerce-variation-price .price ins,
.pk-single .woocommerce-variation-price .price ins .amount {
	color: var(--pk-price); font-size: 24px; font-weight: 800; font-family: var(--pk-head); text-decoration: none; background: none;
}
.pk-single .woocommerce-variation-price .price .woocommerce-Price-currencySymbol { font-size: .62em; font-weight: 600; }
.pk-single .woocommerce-variation-availability p { margin: 0 0 8px; font-size: 13px; color: #2e7d32; font-weight: 600; }
@media (max-width: 480px) {
	.pk-single form.cart .variations td.label { width: 78px; padding-top: 16px; }
	.pk-varpick__opt { min-width: 56px; padding: 8px 13px; font-size: 13px; }
}

/* Quantity stepper */
.pk-qty, .pk-single .quantity { display: inline-flex; align-items: center; border: 1px solid var(--pk-line); border-radius: 6px; overflow: hidden; background: #fff; }
.pk-qty__btn { width: 34px; height: 40px; background: #f7f7f7; border: 0; display: flex; align-items: center; justify-content: center; color: var(--pk-ink-soft); }
.pk-qty__btn:hover { background: #eee; color: var(--pk-primary); }
.pk-qty input.qty, .pk-qty__input, .pk-single .quantity input.qty {
	width: 48px; height: 40px; border: 0; border-left: 1px solid var(--pk-line); border-right: 1px solid var(--pk-line);
	text-align: center; font-size: 14px; font-weight: 600; -moz-appearance: textfield; background: #fff;
}
.pk-qty input::-webkit-outer-spin-button, .pk-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Di halaman produk: tinggi kotak qty disamakan dengan tombol (48px). */
.pk-single .quantity { height: 48px; box-sizing: border-box; }
.pk-single .quantity input.qty { height: 100%; width: 58px; border: 0; box-sizing: border-box; }

.pk-single__extra { display: flex; align-items: center; gap: 18px; padding-top: 14px; border-top: 1px solid var(--pk-line); flex-wrap: wrap; }
.pk-single__chat { display: inline-flex; align-items: center; gap: 7px; color: #25a55b; font-weight: 700; font-size: 13.5px; }
.pk-single__share { font-size: 12.5px; color: var(--pk-muted); display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pk-single__share a { width: 30px; height: 30px; border-radius: 50%; background: #f0f0f0; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--pk-ink-soft); }
.pk-single__share a:hover { background: var(--pk-primary); color: #fff; }

/* Kartu toko */
.pk-storecard { background: #fff; border-radius: var(--pk-radius); padding: 18px 20px; margin: 16px 0; box-shadow: var(--pk-shadow); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pk-storecard__brand { display: flex; align-items: center; gap: 14px; }
.pk-storecard__brand img { border-radius: 10px; }
.pk-storecard__info strong { display: flex; align-items: center; gap: 8px; font-family: var(--pk-head); font-size: 16px; }
.pk-storecard__verified { display: inline-flex; align-items: center; gap: 3px; color: var(--pk-primary); font-size: 11.5px; font-weight: 600; background: #eaf4fc; padding: 2px 8px; border-radius: 20px; }
.pk-storecard__loc { display: inline-flex; align-items: center; gap: 4px; color: var(--pk-muted); font-size: 12.5px; margin-top: 2px; }
.pk-storecard__actions { display: flex; gap: 10px; }

/* Tabs */
.pk-single__tabs { background: #fff; border-radius: var(--pk-radius); padding: 22px; margin-top: 16px; box-shadow: var(--pk-shadow); }
.woocommerce-tabs .wc-tabs { list-style: none; display: flex; gap: 6px; margin: 0 0 18px; padding: 0; border-bottom: 1px solid var(--pk-line); flex-wrap: wrap; }
.woocommerce-tabs .wc-tabs li { margin-bottom: -1px; }
.woocommerce-tabs .wc-tabs li a { display: block; padding: 12px 20px; font-family: var(--pk-head); font-weight: 600; font-size: 14px; color: var(--pk-ink-soft); border-bottom: 3px solid transparent; }
.woocommerce-tabs .wc-tabs li.active a, .woocommerce-tabs .wc-tabs li a:hover { color: var(--pk-primary); border-bottom-color: var(--pk-primary); }
.woocommerce-Tabs-panel { line-height: 1.75; }
.woocommerce-Tabs-panel h2 { font-size: 18px; }

/* ---- Penilaian / ulasan ------------------------------------------------ */
.pk-reviews { max-width: 900px; }
.pk-reviews .woocommerce-Reviews-title { display: none; }

/* Ringkasan skor + batang per bintang */
.pk-rev-summary {
	display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: center;
	background: linear-gradient(135deg, #fff7f4, #f6fafd); border: 1px solid #f0e2dc;
	border-radius: 12px; padding: 20px 24px; margin-bottom: 24px;
}
.pk-rev-score { text-align: center; border-right: 1px dashed #e7d8d2; padding-right: 20px; }
.pk-rev-score strong { display: block; font-family: var(--pk-head); font-size: 44px; font-weight: 800; color: var(--pk-price); line-height: 1; }
.pk-rev-outof { display: block; font-size: 12px; color: var(--pk-muted); margin-bottom: 7px; }
.pk-rev-score .pk-stars { justify-content: center; }
.pk-rev-total { display: block; margin-top: 6px; font-size: 12.5px; color: var(--pk-ink-soft); }

.pk-rev-bars { display: grid; gap: 6px; }
.pk-rev-bar { display: grid; grid-template-columns: 44px 1fr 34px; align-items: center; gap: 10px; }
.pk-rev-bar__lbl { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--pk-ink-soft); }
.pk-rev-bar__lbl .pk-icon { color: var(--pk-star); }
.pk-rev-bar__track { height: 8px; background: #ececec; border-radius: 5px; overflow: hidden; }
.pk-rev-bar__fill { display: block; height: 100%; background: var(--pk-star); border-radius: 5px; transition: width .5s ease; }
.pk-rev-bar__n { font-size: 12px; color: var(--pk-muted); text-align: right; }

/* Kondisi belum ada ulasan */
.pk-rev-empty { text-align: center; padding: 34px 20px; background: #fafbfc; border: 1px dashed var(--pk-line); border-radius: 12px; margin-bottom: 24px; }
.pk-rev-empty__ic { display: inline-flex; gap: 3px; color: #dcdcdc; margin-bottom: 10px; }
.pk-rev-empty h3 { font-size: 16px; margin: 0 0 5px; }
.pk-rev-empty p { margin: 0; font-size: 13.5px; color: var(--pk-muted); max-width: 420px; margin-inline: auto; }

/* Daftar ulasan.
   CSS WooCommerce memakai selector ber-ID (#reviews #comments ol.commentlist …)
   dan membuat avatar position:absolute — selector kelas biasa kalah spesifisitas
   sehingga kolom teks menciut jadi selebar avatar. Karena itu ditimpa dengan
   selector setara. */
#reviews #comments ol.commentlist { list-style: none; margin: 0 0 26px; padding: 0; }
#reviews #comments ol.commentlist li { list-style: none; margin: 0; padding: 0; background: none; border: 0; position: relative; }
#reviews #comments ol.commentlist li .comment_container {
	display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
	padding: 18px 0; border-bottom: 1px solid var(--pk-line); background: none;
}
/* !important dipakai karena selector WooCommerce (.woocommerce #reviews #comments
   ol.commentlist li img.avatar) punya satu kelas lebih banyak — tanpa ini avatar
   tetap absolute dan kolom teks menciut jadi 32px. */
#reviews #comments ol.commentlist li img.avatar {
	position: static !important; float: none !important;
	width: 46px !important; height: 46px !important; padding: 0 !important; margin: 0 !important;
	border-radius: 50%; border: 1px solid var(--pk-line); background: #fff;
}
#reviews #comments ol.commentlist li .comment-text {
	margin: 0 !important; border: 0 !important; border-radius: 0; padding: 0 !important; min-width: 0;
}
#reviews .woocommerce-review__author { display: inline-block; font-family: var(--pk-head); font-weight: 700; font-size: 14px; color: var(--pk-ink); }
#reviews .woocommerce-review__published-date { display: block; font-size: 12px; color: var(--pk-muted); margin-top: 1px; }
#reviews .woocommerce-review__dash { display: none; }
#reviews .woocommerce-review__verified {
	display: inline-block; margin-left: 7px; font-style: normal; vertical-align: 2px;
	background: #eaf6ee; color: #1e8449; border-radius: 20px; padding: 2px 9px; font-size: 11px; font-weight: 700;
}
#reviews .comment-text .star-rating { float: none; margin: 0 0 7px; }
#reviews .comment-text .star-rating span::before,
#reviews .comment-text .star-rating::before { color: var(--pk-star); }
#reviews .comment-text .description { font-size: 14px; line-height: 1.7; color: var(--pk-ink-soft); margin-top: 8px; }
#reviews .comment-text .description p { margin: 0 0 8px; }
#reviews .comment-text .description p:last-child { margin-bottom: 0; }

/* Form penilaian */
.pk-rev-formwrap { background: #fff; border: 1px solid var(--pk-line); border-radius: 12px; padding: 22px 24px; }
.pk-rev-formwrap .comment-reply-title { display: block; font-family: var(--pk-head); font-size: 16px; font-weight: 700; color: var(--pk-ink); margin-bottom: 4px; }
.pk-rev-note { font-size: 12.5px; color: var(--pk-muted); margin: 0 0 16px; }
.pk-rev-formwrap .comment-form { display: grid; gap: 14px; }
.pk-field { margin: 0; }
.pk-field label { display: block; font-size: 13px; font-weight: 600; color: var(--pk-ink-soft); margin-bottom: 6px; }
.pk-field .required { color: var(--pk-price); }
.pk-rev-formwrap input[type="text"], .pk-rev-formwrap input[type="email"], .pk-rev-formwrap textarea {
	width: 100%; max-width: 100%; padding: 11px 14px; font-family: var(--pk-font); font-size: 14px;
	border: 1px solid var(--pk-line); border-radius: 8px; background: #fff; color: var(--pk-ink); transition: border-color .15s, box-shadow .15s;
}
.pk-rev-formwrap input:focus, .pk-rev-formwrap textarea:focus {
	outline: 0; border-color: var(--pk-primary); box-shadow: 0 0 0 3px rgba(0, 113, 188, .12);
}
.pk-rev-formwrap textarea { min-height: 120px; resize: vertical; }
.pk-rev-formwrap .comment-form-author, .pk-rev-formwrap .comment-form-email { display: block; }
@media (min-width: 640px) {
	.pk-rev-formwrap .comment-form { grid-template-columns: 1fr 1fr; }
	.pk-rev-formwrap .comment-form-rating,
	.pk-rev-formwrap .comment-form-comment,
	.pk-rev-formwrap .form-submit,
	.pk-rev-formwrap .comment-form-cookies-consent { grid-column: 1 / -1; }
}
.pk-rev-formwrap .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--pk-muted); }
.pk-rev-formwrap .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.pk-rev-formwrap .form-submit { margin: 4px 0 0; }
/* Tombol dasar WooCommerce ditarget lewat ID (#respond input#submit) dan aturan
   fallback tema di bawah file ini memakai spesifisitas sama, jadi butuh #reviews
   di depan supaya menang tanpa bergantung urutan. */
#reviews .pk-rev-formwrap #respond input#submit,
.pk-rev-formwrap .form-submit input[type="submit"] {
	background: var(--pk-accent); color: #fff; border: 0; border-radius: var(--pk-radius-sm);
	padding: 13px 30px; font-family: var(--pk-head); font-weight: 600; font-size: 15px; cursor: pointer;
	box-shadow: 0 4px 12px rgba(255, 107, 44, .3); transition: background .18s;
}
#reviews .pk-rev-formwrap #respond input#submit:hover,
.pk-rev-formwrap .form-submit input[type="submit"]:hover { background: var(--pk-accent-dark); }

/* Pemilih bintang (WooCommerce mengubah <select> jadi p.stars) */
.pk-rev-formwrap .comment-form-rating select { display: none; }
.pk-rev-formwrap p.stars { margin: 0; }
.pk-rev-formwrap p.stars a {
	position: relative; width: 30px; height: 28px; margin-right: 2px; text-indent: -9999px;
	display: inline-block; color: #dcdcdc; float: none;
}
.pk-rev-formwrap p.stars a::before {
	content: ''; position: absolute; inset: 0; text-indent: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
	transition: color .12s, transform .12s;
}
.pk-rev-formwrap p.stars:hover a, .pk-rev-formwrap p.stars.selected a.active ~ a { color: #dcdcdc; }
.pk-rev-formwrap p.stars a:hover, .pk-rev-formwrap p.stars a:hover ~ a { color: #dcdcdc; }
.pk-rev-formwrap p.stars:hover a { color: var(--pk-star); }
.pk-rev-formwrap p.stars a:hover ~ a, .pk-rev-formwrap p.stars.selected a.active ~ a { color: #dcdcdc; }
.pk-rev-formwrap p.stars.selected a:not(.active) { color: var(--pk-star); }
.pk-rev-formwrap p.stars.selected a.active { color: var(--pk-star); }
.pk-rev-formwrap p.stars a:hover { transform: scale(1.12); }

.pk-rev-login, .pk-rev-locked {
	display: flex; align-items: center; gap: 8px; justify-content: center;
	background: #f7f9fb; border: 1px dashed var(--pk-line); border-radius: 10px;
	padding: 16px; font-size: 13.5px; color: var(--pk-ink-soft); margin: 0;
}
.pk-rev-locked .pk-icon { color: var(--pk-primary); }

@media (max-width: 640px) {
	.pk-rev-summary { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
	.pk-rev-score { border-right: 0; border-bottom: 1px dashed #e7d8d2; padding: 0 0 16px; }
	.pk-rev-formwrap { padding: 18px 16px; }
	.pk-rev-list .comment_container { grid-template-columns: 38px 1fr; gap: 11px; }
	.pk-rev-list .comment_container img.avatar { width: 38px; height: 38px; }
}

/* ---- Deskripsi produk ------------------------------------------------- */
.pk-desc-wrap { max-width: 900px; }

/* Tiga jaminan singkat di atas deskripsi */
.pk-desc__highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; }
.pk-desc__hl { display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: #f6fafd; border: 1px solid #e4eef7; border-radius: 10px; }
.pk-desc__hl-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--pk-primary); display: flex; align-items: center; justify-content: center; box-shadow: var(--pk-shadow); }
.pk-desc__hl-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pk-desc__hl-txt b { font-size: 13.5px; font-family: var(--pk-head); }
.pk-desc__hl-txt small { font-size: 12px; color: var(--pk-muted); }

.pk-desc { font-size: 14.5px; line-height: 1.8; color: var(--pk-ink-soft); }
.pk-desc p { margin: 0 0 14px; }
.pk-desc p:last-child { margin-bottom: 0; }

/* Sub-judul dengan garis aksen di kiri */
.pk-desc__h {
	position: relative; margin: 26px 0 12px; padding-left: 14px;
	font-family: var(--pk-head); font-size: 15.5px; font-weight: 700; color: var(--pk-ink);
	text-transform: none; letter-spacing: 0;
}
.pk-desc__h::before {
	content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px;
	background: linear-gradient(180deg, var(--pk-accent), var(--pk-primary)); border-radius: 3px;
}
.pk-desc > .pk-desc__h:first-child { margin-top: 0; }

/* Daftar poin dengan centang */
.pk-desc__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.pk-desc__list li { position: relative; padding-left: 30px; }
.pk-desc__list li::before {
	content: ''; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%;
	background: #eaf6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327ae60' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

/* Kotak catatan penting */
.pk-desc__note {
	background: #fff8f1; border: 1px solid #ffe0c4; border-left: 4px solid var(--pk-accent);
	border-radius: 8px; padding: 14px 16px; margin: 0 0 20px;
}
.pk-desc__note strong {
	display: block; margin-bottom: 5px; color: var(--pk-accent-dark);
	font-family: var(--pk-head); font-size: 13px; letter-spacing: .4px; text-transform: uppercase;
}
.pk-desc__note p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; }
.pk-desc__note p:last-child { margin-bottom: 0; }

/* Hashtag jadi chip */
.pk-desc__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 4px; }
.pk-desc__tags span {
	background: #f2f7fb; color: var(--pk-primary); border: 1px solid #e0ecf5;
	padding: 4px 11px; border-radius: 20px; font-size: 12px; font-weight: 600;
}

.pk-desc__sku { margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed var(--pk-line); font-size: 12.5px; color: var(--pk-muted); }
.pk-desc__sku span { color: var(--pk-ink-soft); font-weight: 600; letter-spacing: .3px; }

@media (max-width: 768px) {
	.pk-desc__highlights { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
	.pk-desc { font-size: 14px; }
	.pk-desc__h { font-size: 15px; margin-top: 22px; }
}
.woocommerce-Tabs-panel table.shop_attributes { width: 100%; border-collapse: collapse; }
.woocommerce-Tabs-panel table.shop_attributes th, .woocommerce-Tabs-panel table.shop_attributes td { padding: 10px 12px; border: 1px solid var(--pk-line); text-align: left; font-size: 13.5px; }
.woocommerce-Tabs-panel table.shop_attributes th { background: #fafafa; width: 30%; }

/* Related */
.related.products, .up-sells.upsells { background: #fff; border-radius: var(--pk-radius); padding: 22px; margin-top: 16px; box-shadow: var(--pk-shadow); }
.related.products > h2, .up-sells > h2 { font-size: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--pk-accent); display: inline-block; }

/* Sticky buy bar (mobile) */
.pk-buybar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 250; background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); }
.pk-buybar { grid-template-columns: auto auto 1fr; }
.pk-buybar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 14px; font-size: 11px; font-weight: 700; }
.pk-buybar__chat { color: #25a55b; }
.pk-buybar__cart { color: var(--pk-primary); border-left: 1px solid var(--pk-line); border-right: 1px solid var(--pk-line); }
.pk-buybar__buy { background: var(--pk-accent); color: #fff; font-size: 15px; font-family: var(--pk-head); }

/* =========================================================================
   CART
   ========================================================================= */
.pk-cartpage { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; padding-top: 22px; padding-bottom: 60px; }
.pk-cartpage > .pk-page__title { grid-column: 1 / -1; margin-bottom: 0; }

.pk-cart { background: transparent; margin: 0; }
.pk-cart__main { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); overflow: hidden; }
.pk-cart__head { display: grid; grid-template-columns: 1fr 140px 150px 140px 60px; align-items: center; gap: 10px; padding: 14px 18px; background: #fafafa; border-bottom: 1px solid var(--pk-line); font-size: 12.5px; font-weight: 700; letter-spacing: .2px; color: var(--pk-muted); text-transform: uppercase; }
.pk-cart__h-prod { text-align: left; }
.pk-cart__h-price, .pk-cart__h-sub, .pk-cart__h-act, .pk-cart__h-qty { text-align: center; }

.pk-cart__store { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--pk-line); font-size: 14px; }
.pk-cart__store .pk-icon { color: var(--pk-primary); }
.pk-cart__store-badge { background: var(--pk-primary); color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 3px; font-weight: 700; }

.pk-cart__row { display: grid; grid-template-columns: 1fr 140px 150px 140px 60px; align-items: center; gap: 10px; padding: 18px; border-bottom: 1px solid var(--pk-line); transition: background .15s; }
.pk-cart__row:last-child { border-bottom: 0; }
.pk-cart__row:hover { background: #fcfdfe; }
.pk-cart__product { display: flex; align-items: center; gap: 12px; }
.pk-cart__thumb { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; border: 1px solid var(--pk-line); flex: none; }
.pk-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pk-cart__pname { font-size: 13.5px; color: var(--pk-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-cart__pname:hover { color: var(--pk-primary); }
.pk-cart__price, .pk-cart__subtotal { text-align: center; font-size: 14px; }
.pk-cart__price { color: var(--pk-ink-soft); }
.pk-cart__subtotal { color: var(--pk-price); font-weight: 800; font-family: var(--pk-head); }
.pk-cart__qty { display: flex; justify-content: center; }
.pk-cart__remove { text-align: center; }
.pk-cart__remove-btn { color: var(--pk-muted); display: inline-flex; }
.pk-cart__remove-btn:hover { color: var(--pk-price); }

.pk-cart__actions { display: flex; align-items: center; gap: 12px; padding: 16px 18px; flex-wrap: wrap; }
.pk-cart__coupon { display: flex; gap: 8px; flex: 1; min-width: 260px; }
.pk-cart__coupon-input { flex: 1; padding: 10px 14px; border: 1px solid var(--pk-line); border-radius: 6px; font-size: 13.5px; }
.pk-cart__update { margin-left: auto; }

/* Checkbox custom */
.pk-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; font-size: 13.5px; }
.pk-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.pk-check__box { width: 19px; height: 19px; border: 1.5px solid #c8c8c8; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; flex: none; }
.pk-check input:checked + .pk-check__box { background: var(--pk-primary); border-color: var(--pk-primary); }
.pk-check input:checked + .pk-check__box::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -2px; }

/* Sidebar ringkasan (dipakai cart & sticky) */
.pk-cart__aside { position: sticky; top: 88px; }
.pk-summary { background: #fff; border-radius: var(--pk-radius); padding: 20px; box-shadow: var(--pk-shadow); width: 100%; }
.pk-summary__title { font-size: 16px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--pk-line); }
.pk-summary__row, .pk-summary__shipping { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--pk-ink-soft); margin-bottom: 11px; }
.pk-summary__row .amount { font-weight: 600; color: var(--pk-ink); }
.pk-summary__shipping { display: block; }
.pk-summary__shipping ul#shipping_method { list-style: none; margin: 6px 0 0; padding: 0; }
.pk-summary__shipping li { margin-bottom: 6px; font-size: 13px; }
.pk-summary__total { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--pk-line); font-family: var(--pk-head); }
.pk-summary__total > span:first-child { font-weight: 700; font-size: 15px; }
.pk-summary__total .amount { color: var(--pk-price); font-size: 22px; font-weight: 800; }
.pk-summary__checkout { margin-top: 16px; }
.pk-summary__trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--pk-muted); }
.pk-summary__trust .pk-icon { color: #27ae60; }

/* Kotak ringkasan keranjang milik KiriminAja (.kj-cart-total.cart_totals) —
   distyle agar serasi dengan kartu ringkasan tema (.pk-summary). Pemilih tujuan
   "Kirim Ke" & perhitungan ongkir tetap dari KiriminAja, hanya tampilannya kita rapikan. */
.pk-cart-collaterals .cart_totals,
.pk-cart-collaterals .kj-cart-total { background: #fff; border-radius: var(--pk-radius); padding: 20px; box-shadow: var(--pk-shadow); width: 100%; }
.pk-cart-collaterals .kj-judul p,
.pk-cart-collaterals .cart_totals > h2 { font-family: var(--pk-head); font-size: 16px; font-weight: 700; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--pk-line); color: var(--pk-ink); }
/* Tabel dirender sebagai daftar label/nilai (flex) supaya konsisten di semua
   layar dan tidak terpengaruh mode "shop_table_responsive" WooCommerce yang di
   mobile memunculkan label ganda dari atribut data-title (::before). */
.pk-cart-collaterals .cart_totals table.shop_table,
.pk-cart-collaterals .cart_totals table.shop_table tbody { display: block; width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.pk-cart-collaterals .cart_totals table.shop_table tr { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f2f2f2; }
.pk-cart-collaterals .cart_totals table.shop_table th,
.pk-cart-collaterals .cart_totals table.shop_table td { display: block; padding: 0; border: 0; font-size: 13.5px; background: transparent; }
.pk-cart-collaterals .cart_totals table.shop_table td::before { content: none !important; display: none !important; }
.pk-cart-collaterals .cart_totals th { flex: none; font-weight: 600; color: var(--pk-ink-soft); text-align: left; }
.pk-cart-collaterals .cart_totals td { flex: 1; text-align: right; color: var(--pk-ink); font-weight: 600; }
.pk-cart-collaterals .cart_totals td .amount { font-weight: 700; }
/* Baris pengiriman: label di atas, pemilih tujuan/metode di bawah (full width).
   Pakai block (bukan flex) agar th/td benar-benar melebar penuh; sebagai flex-item
   di kolom, td tidak mau stretch dan menciut mengikuti lebar konten. */
.pk-cart-collaterals .cart_totals table.shop_table tr.shipping { display: block; }
.pk-cart-collaterals .cart_totals table.shop_table tr.shipping th,
.pk-cart-collaterals .cart_totals table.shop_table tr.shipping td { display: block; width: 100%; text-align: left; }
.pk-cart-collaterals .cart_totals table.shop_table tr.shipping td { padding-top: 8px; font-weight: 500; }
/* Paksa seluruh rantai form kalkulator ongkir KiriminAja jadi full width supaya
   dropdown tujuan ("Pilih Opsi") tidak menciut. Tanpa ini .woocommerce-input-wrapper
   menyusut mengikuti lebar awal select2 (~90px). */
.pk-cart-collaterals .cart_totals tr.shipping td .woocommerce-shipping-calculator,
.pk-cart-collaterals .cart_totals tr.shipping td .shipping-calculator-form,
.pk-cart-collaterals .cart_totals tr.shipping td .form-row,
.pk-cart-collaterals .cart_totals tr.shipping td .woocommerce-input-wrapper { display: block; width: 100%; margin-left: 0; margin-right: 0; }
.pk-cart-collaterals .cart_totals tr.shipping td .select2-container { width: 100% !important; }
.pk-cart-collaterals .cart_totals select { width: 100%; padding: 10px 12px; border: 1px solid var(--pk-line); border-radius: 8px; font-size: 13.5px; background: #fff; color: var(--pk-ink); }
.pk-cart-collaterals .cart_totals select:focus { outline: 0; border-color: var(--pk-primary); box-shadow: 0 0 0 3px rgba(0,113,188,.12); }
.pk-cart-collaterals .cart_totals .select2-container { width: 100% !important; }
/* Perkecil tinggi dropdown "Kirim Ke": rule global select2 (dipakai form checkout)
   memberi padding 11px + line-height 42px pada bagian dalam, sehingga kotaknya
   menumpuk jadi ~80px. Di kotak ringkasan kita paksa jadi satu baris ~42px. */
.pk-cart-collaterals .cart_totals .select2-container--default .select2-selection--single { height: 42px; min-height: 0; padding: 0 12px; }
.pk-cart-collaterals .cart_totals .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 40px; height: 40px; color: var(--pk-ink); }
.pk-cart-collaterals .cart_totals .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
.pk-cart-collaterals .cart_totals ul#shipping_method { list-style: none; margin: 6px 0 0; padding: 0; }
.pk-cart-collaterals .cart_totals ul#shipping_method li { margin-bottom: 8px; font-size: 13px; display: flex; align-items: flex-start; gap: 7px; }
.pk-cart-collaterals .cart_totals ul#shipping_method li label { color: var(--pk-ink-soft); }
.pk-cart-collaterals .cart_totals .woocommerce-shipping-destination { font-size: 12.5px; color: var(--pk-muted); margin: 10px 0 0; line-height: 1.5; }
.pk-cart-collaterals .cart_totals .shipping-calculator-button { color: var(--pk-primary); font-weight: 600; font-size: 13px; }
.pk-cart-collaterals .cart_totals .woocommerce-shipping-calculator { margin-top: 8px; }
.pk-cart-collaterals .cart_totals .woocommerce-shipping-calculator .form-row { margin-bottom: 8px; }
/* Baris total akhir ditonjolkan dengan warna harga */
.pk-cart-collaterals .cart_totals tr.order-total { border-bottom: 0; padding-top: 14px; }
.pk-cart-collaterals .cart_totals tr.order-total th { font-family: var(--pk-head); font-size: 15px; font-weight: 800; color: var(--pk-ink); }
.pk-cart-collaterals .cart_totals tr.order-total .amount,
.pk-cart-collaterals .cart_totals tr.order-total strong { color: var(--pk-price); font-family: var(--pk-head); font-size: 21px; font-weight: 800; }
.pk-cart-collaterals .wc-proceed-to-checkout { margin-top: 18px; padding: 0; }
.pk-cart-collaterals .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; margin: 0; }
.pk-cart-collaterals .cart_totals .blockUI.blockOverlay { border-radius: var(--pk-radius); }

/* Cart kosong */
.cart-empty.woocommerce-info { text-align: center; }
.wc-empty-cart-message { text-align: center; padding: 40px 20px; }
.return-to-shop { text-align: center; margin-top: 16px; }
.return-to-shop .button { display: inline-block; background: var(--pk-primary); color: #fff; padding: 12px 26px; border-radius: 6px; font-weight: 600; }

/* =========================================================================
   CHECKOUT
   ========================================================================= */
.pk-checkout { padding-top: 22px; padding-bottom: 60px; }
.pk-checkout__grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.pk-card-panel { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); margin-bottom: 18px; overflow: hidden; }
.pk-card-panel__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--pk-line); background: #fafafa; }
.pk-card-panel__head .pk-icon { color: var(--pk-primary); }
.pk-card-panel__head h2 { font-size: 16px; margin: 0; }
.pk-checkout #customer_details, .pk-checkout__billing, .pk-checkout__shipping { padding: 20px; }
.pk-checkout__shipping { border-top: 1px solid var(--pk-line); }
.pk-checkout__right { position: sticky; top: 88px; }
.pk-checkout__review { padding: 0; }
.pk-checkout__review > #order_review { padding: 0 20px 20px; }

/* Form fields */
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--pk-ink-soft); }
.woocommerce form .form-row .required { color: var(--pk-price); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.select2-container--default .select2-selection--single {
	width: 100%; padding: 11px 14px; border: 1px solid var(--pk-line); border-radius: 6px; font-size: 14px;
	font-family: inherit; color: var(--pk-ink); background: #fff; transition: border-color .15s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { outline: 0; border-color: var(--pk-primary); box-shadow: 0 0 0 3px rgba(0, 113, 188, .12); }
.woocommerce form .form-row textarea { min-height: 90px; resize: vertical; }
.select2-container--default .select2-selection--single { height: auto; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
.woocommerce-form__label-for-checkbox { flex-direction: row !important; align-items: center; gap: 8px; }
.woocommerce-form__label-for-checkbox input { width: auto !important; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 15px; margin-bottom: 14px; }
#ship-to-different-address label { font-size: 14px; }

/* Review order (di checkout) */
.pk-review__items { padding: 4px 0 10px; max-height: 320px; overflow-y: auto; }
.pk-review__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--pk-line); }
.pk-review__thumb { position: relative; width: 52px; height: 52px; }
.pk-review__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid var(--pk-line); }
.pk-review__qty { position: absolute; top: -6px; right: -6px; background: var(--pk-primary); color: #fff; font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.pk-review__name { font-size: 13px; line-height: 1.4; color: var(--pk-ink-soft); }
.pk-review__price { font-size: 13.5px; font-weight: 700; color: var(--pk-ink); white-space: nowrap; }
.pk-review__totals { padding: 14px 0; border-top: 1px solid var(--pk-line); }
.pk-review__row, .pk-review__shipping { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--pk-ink-soft); margin-bottom: 9px; }
.pk-review__shipping { display: block; }
.pk-review__shipping ul#shipping_method { list-style: none; margin: 6px 0 0; padding: 0; }
.pk-review__row .amount { color: var(--pk-ink); font-weight: 600; }
.pk-review__row--total { padding-top: 12px; border-top: 1px solid var(--pk-line); margin-top: 4px; font-family: var(--pk-head); }
.pk-review__row--total > span:first-child { font-weight: 700; font-size: 15px; color: var(--pk-ink); }
.pk-review__row--total .amount { color: var(--pk-price); font-size: 20px; font-weight: 800; }

/* Payment */
.pk-payment { padding: 16px 20px 20px; border-top: 8px solid var(--pk-bg); }
.pk-payment__title { font-size: 15px; margin-bottom: 12px; }
.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--pk-line); border-radius: 8px; overflow: hidden; }
.wc_payment_methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 11px 15px; border-bottom: 1px solid var(--pk-line); }
.wc_payment_methods li:last-child { border-bottom: 0; }
.wc_payment_methods li > input[type="radio"] { flex: none; margin: 0; accent-color: var(--pk-primary); width: 17px; height: 17px; }
.wc_payment_methods li label { flex: 1; min-width: 0; margin: 0; font-weight: 600; font-size: 14px; line-height: 1.35; cursor: pointer; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.wc_payment_methods li label img { max-height: 24px; width: auto; }
.wc_payment_methods li .payment_box { flex-basis: 100%; }
.payment_box { background: #fafafa; border-radius: 6px; padding: 12px 14px; margin-top: 10px; font-size: 13px; color: var(--pk-ink-soft); }
.payment_box p { margin: 0; }

/* Checkout: rapikan kotak metode pengiriman (KiriminAja) di ringkasan pesanan */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { word-break: break-word; overflow-wrap: anywhere; }
.woocommerce-checkout-review-order-table .kiriof-shipping-method-item { margin: 0 0 8px !important; padding: 9px 11px !important; border-radius: 8px !important; border: 1px solid var(--pk-line) !important; max-width: 100%; box-sizing: border-box; }
.woocommerce-checkout-review-order-table .kiriof-shipping-method-item:last-child { margin-bottom: 0 !important; }
.woocommerce-checkout-review-order-table .kiriof-shipping-method-label { min-width: 0; word-break: break-word; font-size: 13px; }
.woocommerce-checkout-review-order-table .kiriof-shipping-rate-pricing { margin-left: 0 !important; flex-wrap: wrap; }
/* Di HP: cegah tabel ringkasan meluber, baris pengiriman jadi blok penuh */
@media (max-width: 560px) {
	.woocommerce-checkout-review-order-table { width: 100%; table-layout: fixed; }
	.woocommerce-checkout-review-order-table tr.shipping th,
	.woocommerce-checkout-review-order-table tr.shipping td { display: block; width: 100%; text-align: left; padding: 8px 0 0; }
	.woocommerce-checkout-review-order-table .woocommerce-shipping-methods { margin-top: 4px !important; padding: 0; }
}
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: 13px; }
.pk-payment__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--pk-muted); }
.pk-payment__secure .pk-icon { color: #27ae60; }
#place_order { margin-top: 4px; }

/* Coupon di checkout */
.woocommerce-form-coupon-toggle .woocommerce-info { background: #eaf4fc; }
.checkout_coupon.woocommerce-form-coupon { background: #fff; border: 1px solid var(--pk-line); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.checkout_coupon .form-row { flex-direction: row; gap: 10px; }
.checkout_coupon .button { background: var(--pk-primary); color: #fff; border: 0; border-radius: 6px; padding: 0 20px; }

/* Login/coupon notices di atas checkout */
.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle { margin-bottom: 16px; }
.woocommerce-form-login { background: #fff; border: 1px solid var(--pk-line); border-radius: 8px; padding: 18px; margin-bottom: 16px; }

/* =========================================================================
   THANK YOU / ORDER SUMMARY
   ========================================================================= */
.pk-thankyou { padding: 30px 0 60px; max-width: 820px; }
.pk-thankyou__card { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 40px 30px; text-align: center; margin-bottom: 20px; }
.pk-thankyou__icon { width: 84px; height: 84px; border-radius: 50%; background: #e8f7ee; color: #27ae60; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; border: 3px solid #b7e6c8; }
.pk-thankyou__icon--fail { background: #fdecec; color: var(--pk-price); border-color: #f5c2c0; }
.pk-thankyou__title { font-size: 24px; margin-bottom: 8px; }
.pk-thankyou__sub { color: var(--pk-ink-soft); margin-bottom: 24px; }
.pk-thankyou__overview { list-style: none; margin: 0 0 24px; padding: 20px; background: #fafafa; border-radius: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.pk-thankyou__overview li { display: flex; flex-direction: column; gap: 3px; }
.pk-thankyou__overview span { font-size: 12px; color: var(--pk-muted); }
.pk-thankyou__overview strong { font-size: 15px; font-family: var(--pk-head); }
.pk-thankyou__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Order details table (thankyou + akun) */
.woocommerce-order-details, .woocommerce-customer-details { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 24px; margin-bottom: 20px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 17px; margin-bottom: 16px; }
.woocommerce-table--order-details, .shop_table.order_details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td,
.shop_table.order_details th, .shop_table.order_details td { padding: 12px 10px; border-bottom: 1px solid var(--pk-line); text-align: left; font-size: 13.5px; }
.woocommerce-table--order-details tfoot th { text-align: right; }
.shop_table.order_details tfoot tr:last-child .amount { color: var(--pk-price); font-size: 18px; font-weight: 800; }
.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; padding: 20px; background: #fafafa; border-radius: 10px; margin: 0 0 20px; }
.woocommerce-order-overview li { font-size: 12px; color: var(--pk-muted); border: 0; }
.woocommerce-order-overview li strong { display: block; font-size: 15px; color: var(--pk-ink); margin-top: 3px; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; font-size: 13.5px; padding: 14px; background: #fafafa; border-radius: 8px; border: 0; }

/* =========================================================================
   MY ACCOUNT
   ========================================================================= */
.woocommerce-account .woocommerce { max-width: var(--pk-container); margin: 0 auto; padding: 22px 16px 60px; }
.woocommerce-account .woocommerce::after { content: ""; display: table; clear: both; }
.woocommerce-MyAccount-navigation { float: left; width: 240px; background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 10px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-radius: 6px; color: var(--pk-ink-soft); font-weight: 600; font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--pk-primary); color: #fff; }
.woocommerce-MyAccount-content { float: right; width: calc(100% - 270px); background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 26px; }
.woocommerce-MyAccount-content table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-MyAccount-content table.shop_table th, .woocommerce-MyAccount-content table.shop_table td { padding: 12px 10px; border-bottom: 1px solid var(--pk-line); font-size: 13.5px; text-align: left; }
.woocommerce-MyAccount-content .button, .woocommerce-form-login .button, .woocommerce-form-register .button {
	display: inline-block; background: var(--pk-primary); color: #fff; border: 0; border-radius: 6px; padding: 11px 22px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.woocommerce-MyAccount-content .button:hover { background: var(--pk-primary-dark); }
.woocommerce-form-login, .woocommerce-form-register { max-width: 440px; }

/* =========================================================================
   AUTH — Login / Register split-screen
   ========================================================================= */
.woocommerce-account:not(.logged-in) .woocommerce { max-width: 1000px; }
.pk-auth { max-width: 960px; margin: 6px auto 24px; }
.pk-auth__card { display: grid; grid-template-columns: 1fr 1.05fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--pk-shadow-lg); min-height: 560px; }

/* Brand side */
.pk-auth__brand { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--pk-primary) 0%, var(--pk-primary-dark) 100%); color: #fff; padding: 48px 42px; display: flex; align-items: center; }
.pk-auth__brand-inner { position: relative; z-index: 2; }
.pk-auth__brand .pk-logo { margin-bottom: 26px; }
.pk-auth__brand .pk-logo img { border-radius: 12px; }
.pk-auth__brand h2 { color: #fff; font-size: 25px; line-height: 1.3; margin-bottom: 12px; }
.pk-auth__brand > .pk-auth__brand-inner > p { color: rgba(255,255,255,.92); font-size: 14.5px; line-height: 1.7; margin: 0; }
.pk-auth__perks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; }
.pk-auth__perks li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(255,255,255,.96); }
.pk-auth__perks .pk-icon { flex: none; background: rgba(255,255,255,.2); border-radius: 50%; width: 26px; height: 26px; padding: 5px; }

/* Form side */
.pk-auth__main { padding: 46px 46px; display: flex; flex-direction: column; justify-content: center; }
.pk-auth__tabs { display: inline-flex; background: #f1f4f8; border-radius: 12px; padding: 5px; margin-bottom: 26px; align-self: flex-start; }
.pk-auth__tab { border: 0; background: none; padding: 10px 26px; border-radius: 9px; font-family: var(--pk-head); font-weight: 600; font-size: 14px; color: var(--pk-ink-soft); cursor: pointer; transition: all .2s ease; }
.pk-auth__tab.is-active { background: #fff; color: var(--pk-primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pk-auth__pane { display: none; }
.pk-auth__pane.is-active { display: block; animation: pk-fadeup .35s ease; }
.pk-auth__pane h3 { font-size: 23px; margin: 0 0 5px; }
.pk-auth__lead { color: var(--pk-muted); font-size: 13.5px; margin: 0 0 22px; }
.pk-auth__lead a { color: var(--pk-primary); font-weight: 700; cursor: pointer; }
.pk-auth__lead a:hover { text-decoration: underline; }

.pk-auth form .form-row { margin-bottom: 16px; display: block; }
.pk-auth form label { font-size: 13px; font-weight: 600; color: var(--pk-ink-soft); margin-bottom: 6px; display: block; }
.pk-auth form .required { color: var(--pk-price); text-decoration: none; border: 0; }
.pk-auth .input-text { width: 100%; padding: 12px 15px; border: 1px solid var(--pk-line); border-radius: 9px; font-size: 14px; transition: border-color .15s, box-shadow .15s; background: #fff; }
.pk-auth .input-text:focus { outline: 0; border-color: var(--pk-primary); box-shadow: 0 0 0 3px rgba(0,113,188,.12); }

.pk-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 20px; flex-wrap: wrap; }
.pk-auth .woocommerce-form-login__rememberme { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--pk-ink-soft); cursor: pointer; }
.pk-auth .woocommerce-form-login__rememberme input { width: auto !important; accent-color: var(--pk-primary); }
.pk-auth__forgot { font-size: 13px; color: var(--pk-primary); font-weight: 600; }
.pk-auth__forgot:hover { text-decoration: underline; }

.pk-auth .woocommerce-form-login__submit, .pk-auth .woocommerce-form-register__submit { margin-top: 6px; box-shadow: 0 6px 16px rgba(255,107,44,.3); }
/* Pastikan tombol tetap oranye (menang atas .woocommerce button.button bawaan). */
.pk-auth button.button.pk-btn--accent { background: var(--pk-accent); color: #fff; }
.pk-auth button.button.pk-btn--accent:hover { background: var(--pk-accent-dark); color: #fff; }
.pk-auth__note { display: flex; align-items: center; gap: 8px; background: #e8f7ee; border: 1px solid #b7e6c8; color: #1e7a45; padding: 12px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; }
.pk-auth__note .pk-icon { flex: none; }
.pk-auth__terms { font-size: 11.5px; color: var(--pk-muted); text-align: center; margin: 14px 0 0; line-height: 1.6; }

/* Password show/hide (WooCommerce) di dalam auth */
.pk-auth .woocommerce-form-row { position: relative; }
.pk-auth .show-password-input { position: absolute; right: 14px; top: 39px; cursor: pointer; color: var(--pk-muted); }

@media (max-width: 860px) {
	.pk-auth__card { grid-template-columns: 1fr; min-height: 0; }
	.pk-auth__brand { padding: 32px 28px; }
	.pk-auth__brand h2 { font-size: 21px; }
	.pk-auth__perks { display: none; }
	.pk-auth__main { padding: 30px 26px; }
	.pk-auth__brand .pk-logo { margin-bottom: 16px; }
}
@media (max-width: 480px) {
	.pk-auth__tabs { width: 100%; }
	.pk-auth__tab { flex: 1; padding: 10px 0; text-align: center; }
}

/* Generic WooCommerce button fallback */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--pk-primary); color: #fff; border: 0; border-radius: 6px; padding: 11px 22px; font-weight: 600; font-size: 14px; font-family: var(--pk-head); cursor: pointer; transition: background .15s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--pk-primary-dark); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--pk-accent); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--pk-accent-dark); }

/* Star rating umum */
.star-rating { font-size: 14px; }

/* =========================================================================
   RESPONSIVE — WooCommerce
   ========================================================================= */
@media (max-width: 1024px) {
	ul.products, .pk-products { grid-template-columns: repeat(4, 1fr); }
	.pk-products--scroll { grid-template-columns: repeat(4, 1fr); }
	.pk-single__top { grid-template-columns: 360px 1fr; }
	.pk-cartpage { grid-template-columns: 1fr; }
	.pk-cart__aside { position: static; }
	.pk-checkout__grid { grid-template-columns: 1fr; }
	.pk-checkout__right { position: static; }
}

@media (max-width: 768px) {
	ul.products, .pk-products, .pk-products--scroll { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.pk-single__top { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
	/* Di mobile galeri satu kolom (bertumpuk di atas ringkasan). Sticky harus
	   dimatikan; kalau tidak, galeri menempel saat scroll dan konten di bawahnya
	   (varian, tombol "Masukkan Keranjang", tombol bagikan) menumpuk di atasnya. */
	.pk-single__gallery { position: static; top: auto; }
	.pk-single__title { font-size: 18px; }
	.pk-single__price .price, .pk-single__price .amount, .pk-single__price ins { font-size: 24px; }
	.pk-storecard { padding: 14px; }
	/* Buy bar bawah disembunyikan di mobile: keranjang sudah ada di header,
	   tombol beli & chat ("Chat Admin") sudah ada di halaman produk. WA float
	   tetap disembunyikan di halaman produk agar tak menutupi tombol keranjang. */
	.pk-buybar { display: none; }
	.pk-single .single_add_to_cart_button { flex: 1; }

	/* Cart -> layout kartu */
	.pk-cart__head { display: none; }
	.pk-cart__row { grid-template-columns: 1fr auto; grid-template-areas: "product remove" "qty subtotal"; gap: 12px; padding: 14px; align-items: center; }
	.pk-cart__product { grid-area: product; }
	.pk-cart__price { display: none; }
	.pk-cart__qty { grid-area: qty; justify-content: flex-start; align-self: center; }
	.pk-cart__subtotal { grid-area: subtotal; text-align: right; align-self: center; }
	.pk-cart__remove { grid-area: remove; text-align: right; align-self: start; }
	.pk-cart__update { margin-left: 0; }
	.pk-cart__coupon { min-width: 100%; }

	.pk-thankyou__overview { grid-template-columns: 1fr; }
	.pk-thankyou__card { padding: 30px 20px; }

	/* My account -> stacked */
	.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none; width: 100%; }
	.woocommerce-MyAccount-navigation { margin-bottom: 16px; }
	.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 4px; }
	.woocommerce-MyAccount-navigation li a { padding: 8px 12px; font-size: 13px; }

	/* Buy bar dihilangkan, jadi tak perlu ruang bawah tambahan. Toast dinaikkan
	   sedikit agar tidak tertutup tombol WhatsApp mengambang. */
	.single-product .pk-toast { bottom: 84px; }
}

@media (max-width: 480px) {
	.pk-single form.cart { gap: 8px; }
	.pk-single__stats { gap: 8px; font-size: 12px; }
	.related.products, .up-sells.upsells, .pk-single__tabs { padding: 14px; }
}

/* =========================================================================
   TOMBOL WISHLIST (kartu, single, header)
   ========================================================================= */
.pk-card__wish { position: absolute; top: 8px; right: 8px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #9aa4ae; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.12); transition: all .18s; }
.pk-card__wish:hover { color: var(--pk-price); transform: scale(1.1); }
.pk-card__wish.is-active { color: var(--pk-price); background: #fff; }
.pk-card__wish.is-active .pk-icon { fill: var(--pk-price); }
.pk-card__wish.is-loading { opacity: .5; pointer-events: none; }
.pk-single .single_add_to_cart_button.is-loading { opacity: .65; pointer-events: none; }
.pk-card__disc { left: 8px; right: auto; border-radius: 0 0 4px 4px; }
.pk-card__badge--fav { top: auto; bottom: 8px; left: 8px; border-radius: 4px; }

.pk-single__wish { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--pk-line); color: var(--pk-ink-soft); border-radius: 8px; padding: 8px 14px; font-weight: 700; font-size: 13.5px; font-family: var(--pk-head); cursor: pointer; transition: all .16s; }
.pk-single__wish:hover { border-color: var(--pk-price); color: var(--pk-price); }
.pk-single__wish.is-active { border-color: var(--pk-price); color: var(--pk-price); background: #fff5f3; }
.pk-single__wish.is-active .pk-icon { fill: var(--pk-price); }

.pk-wish-btn-hdr { position: relative; color: #fff; display: inline-flex; padding: 4px; }
.pk-wish-btn-hdr:hover { color: #fff; opacity: .85; }
.pk-wish-count { position: absolute; top: -6px; right: -8px; min-width: 19px; height: 19px; padding: 0 5px; background: var(--pk-price); color: #fff; border-radius: 10px; border: 1.5px solid #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pk-wish-count[data-count="0"] { display: none; }

/* =========================================================================
   DASHBOARD CUSTOMER
   ========================================================================= */
.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; max-width: var(--pk-container); }
.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation { float: none; width: auto; grid-column: 1; grid-row: 1; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content { float: none; width: auto; grid-column: 2; grid-row: 1; }

/* Sidebar */
.pk-acc-nav { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 0 0 10px; overflow: hidden; position: sticky; top: 88px; }
.pk-acc-user { display: flex; align-items: center; gap: 12px; padding: 22px 20px; background: linear-gradient(135deg, var(--pk-primary), var(--pk-primary-dark)); color: #fff; }
.pk-acc-user__avatar img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); display: block; }
.pk-acc-user__info { min-width: 0; }
.pk-acc-user__name { display: block; font-family: var(--pk-head); font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-acc-user__mail { display: block; font-size: 11.5px; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-acc-user__tier { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; max-width: 100%; box-sizing: border-box; padding: 4px 12px 4px 5px; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.32); box-shadow: 0 2px 6px rgba(0,0,0,.09); }
.pk-acc-user__tier-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--pk-primary); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pk-acc-user__tier-ic svg { display: block; }
.pk-acc-user__tier-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pk-acc-user__tier-name { font-size: 11.5px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-acc-user__tier-pts { font-size: 10px; font-weight: 600; opacity: .82; white-space: nowrap; }
/* Warna badge berubah mengikuti tier membership: Friend perak, Family emas, VIP ungu. */
.pk-acc-user__tier.pk-tier--friend { background: linear-gradient(135deg,#f3f7fb,#ccd6e1); border-color: rgba(255,255,255,.75); color: #3b4a5b; }
.pk-acc-user__tier.pk-tier--friend .pk-acc-user__tier-ic { color: #64748b; }
.pk-acc-user__tier.pk-tier--family { background: linear-gradient(135deg,#ffe08a,#f2a72c); border-color: rgba(255,255,255,.6); color: #6b4a09; }
.pk-acc-user__tier.pk-tier--family .pk-acc-user__tier-ic { color: #de8f27; }
.pk-acc-user__tier.pk-tier--vip { background: linear-gradient(135deg,#b291ff,#6d3bef); border-color: rgba(255,255,255,.5); color: #fff; }
.pk-acc-user__tier.pk-tier--vip .pk-acc-user__tier-ic { color: #6d3bef; }
.pk-acc-nav ul { list-style: none; margin: 8px 0 0; padding: 0 10px; }
.pk-acc-nav li { margin-bottom: 2px; }
.pk-acc-nav li a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 9px; color: var(--pk-ink-soft); font-weight: 600; font-size: 14px; transition: all .16s; }
.pk-acc-nav__ic { display: inline-flex; color: var(--pk-muted); transition: color .16s; }
.pk-acc-nav li a:hover { background: #eef6fc; color: var(--pk-primary); }
.pk-acc-nav li a:hover .pk-acc-nav__ic { color: var(--pk-primary); }
.pk-acc-nav li.is-active a { background: var(--pk-primary); color: #fff; box-shadow: 0 4px 12px rgba(0,113,188,.28); }
.pk-acc-nav li.is-active .pk-acc-nav__ic { color: #fff; }
.pk-acc-nav__label { flex: 1; }
.pk-acc-nav__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pk-accent); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
/* Badge di sidebar harus inline di dalam menu, bukan absolute (class .pk-cart-count/.pk-wish-count memaksa absolute). */
.pk-acc-nav__badge.pk-cart-count, .pk-acc-nav__badge.pk-wish-count { position: static; top: auto; right: auto; border: 0; }
.pk-acc-nav li.is-active .pk-acc-nav__badge { background: #fff; color: var(--pk-primary); }
.pk-acc-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--pk-price); }
.pk-acc-nav .woocommerce-MyAccount-navigation-link--customer-logout .pk-acc-nav__ic { color: var(--pk-price); }

/* Konten */
.woocommerce-account.logged-in .woocommerce-MyAccount-content { background: transparent; box-shadow: none; padding: 0; }
.pk-acc-head { margin-bottom: 18px; }
.pk-acc-head h2 { font-size: 21px; margin: 0 0 3px; }
.pk-acc-head p { color: var(--pk-muted); font-size: 13.5px; margin: 0; }
.pk-acc-panel { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 22px; margin-bottom: 18px; }
.pk-acc-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pk-acc-panel__head h3 { font-size: 16px; margin: 0; }
.pk-acc-panel__head a { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }

/* Dashboard hero */
.pk-dash__hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(120deg, var(--pk-primary), var(--pk-primary-dark)); color: #fff; border-radius: var(--pk-radius); padding: 26px 28px; margin-bottom: 18px; flex-wrap: wrap; }
.pk-dash__hi { font-size: 13px; opacity: .9; }
.pk-dash__name { color: #fff; font-size: 24px; margin: 2px 0 6px; }
.pk-dash__sub { margin: 0; opacity: .92; font-size: 13.5px; max-width: 520px; }

/* Stat cards */
.pk-dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.pk-dash__stat { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 18px; display: flex; flex-direction: column; gap: 2px; transition: transform .2s, box-shadow .2s; border-left: 4px solid var(--pk-primary); }
.pk-dash__stat:hover { transform: translateY(-4px); box-shadow: var(--pk-shadow-md); }
.pk-dash__stat--b { border-left-color: #f0a500; }
.pk-dash__stat--c { border-left-color: var(--pk-price); }
.pk-dash__stat--d { border-left-color: #27ae60; }
.pk-dash__stat-ic { width: 40px; height: 40px; border-radius: 11px; background: #eef6fc; color: var(--pk-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.pk-dash__stat--b .pk-dash__stat-ic { background: #fff5e0; color: #f0a500; }
.pk-dash__stat--c .pk-dash__stat-ic { background: #fdece9; color: var(--pk-price); }
.pk-dash__stat--d .pk-dash__stat-ic { background: #e8f7ee; color: #27ae60; }
.pk-dash__stat-num { font-family: var(--pk-head); font-size: 22px; font-weight: 800; color: var(--pk-ink); line-height: 1.1; }
.pk-dash__stat-lbl { font-size: 12px; color: var(--pk-muted); }

.pk-dash__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }

/* Order list */
.pk-orderlist { display: flex; flex-direction: column; }
.pk-orderrow { display: grid; grid-template-columns: 1fr auto auto 24px; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--pk-line); }
.pk-orderrow:last-child { border-bottom: 0; }
.pk-orderrow__main strong { display: block; font-size: 14px; }
.pk-orderrow__main span { font-size: 12px; color: var(--pk-muted); }
.pk-orderrow__status { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; background: #eef2f6; color: var(--pk-ink-soft); }
.pk-status--completed { background: #e8f7ee; color: #1e7a45; }
.pk-status--processing { background: #eaf4fc; color: #1c5f96; }
.pk-status--on-hold { background: #fff5e0; color: #a5730a; }
.pk-status--pending { background: #fdf3e6; color: #a5560a; }
.pk-status--cancelled, .pk-status--failed { background: #fdecec; color: #b3261e; }
.pk-orderrow__total { font-family: var(--pk-head); font-weight: 800; font-size: 14px; }
.pk-orderrow__total .amount { color: var(--pk-price); }
.pk-orderrow__view { color: var(--pk-muted); display: inline-flex; }
.pk-orderrow__view:hover { color: var(--pk-primary); }

/* Quick grid */
.pk-quickgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pk-quick { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; border: 1px solid var(--pk-line); border-radius: 11px; transition: all .18s; }
.pk-quick:hover { border-color: var(--pk-primary); background: #f5faff; transform: translateY(-2px); }
.pk-quick__ic { width: 38px; height: 38px; border-radius: 10px; background: #eef6fc; color: var(--pk-primary); display: flex; align-items: center; justify-content: center; }
.pk-quick__t { font-size: 12.5px; font-weight: 600; color: var(--pk-ink-soft); line-height: 1.35; }

/* Empty state */
.pk-acc-empty { text-align: center; padding: 40px 20px; }
.pk-acc-empty--sm { padding: 26px 16px; }
.pk-acc-empty__ic { display: inline-flex; width: 74px; height: 74px; border-radius: 50%; background: #eef6fc; color: var(--pk-primary); align-items: center; justify-content: center; margin-bottom: 14px; }
.pk-acc-empty h3 { font-size: 17px; margin: 0 0 5px; }
.pk-acc-empty p { color: var(--pk-muted); font-size: 13.5px; margin: 0 0 16px; }

/* Membership card */
.pk-memcard { border-radius: 16px; padding: 24px; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, #6b8299, #47586b); }
.pk-memcard--tier2 { background: linear-gradient(135deg, #f0a500, #d98600); }
.pk-memcard--tier3 { background: linear-gradient(135deg, #5a6ee0, #3a4bb0); }
.pk-memcard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pk-memcard__ic { width: 56px; height: 56px; border-radius: 15px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.pk-memcard__lbl { font-size: 12px; opacity: .85; }
.pk-memcard__tier { display: block; font-family: var(--pk-head); font-size: 22px; font-weight: 800; }
.pk-memcard__pts { margin-left: auto; text-align: right; }
.pk-memcard__ptsnum { font-family: var(--pk-head); font-size: 28px; font-weight: 800; display: block; line-height: 1; }
.pk-memcard__ptslbl { font-size: 12px; opacity: .85; }
.pk-memcard__bar { height: 8px; background: rgba(255,255,255,.25); border-radius: 10px; overflow: hidden; }
.pk-memcard__bar span { display: block; height: 100%; background: #fff; border-radius: 10px; }
.pk-memcard__note { font-size: 12.5px; margin-top: 8px; opacity: .95; }
.pk-memstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.pk-memstat { background: #fff; border-radius: 12px; box-shadow: var(--pk-shadow); padding: 16px; text-align: center; }
.pk-memstat span { display: block; font-size: 12px; color: var(--pk-muted); margin-bottom: 4px; }
.pk-memstat strong { font-family: var(--pk-head); font-size: 18px; white-space: nowrap; }
.pk-memstat strong .amount { color: var(--pk-price); }
.pk-memperks { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.pk-memperks li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--pk-ink-soft); }
.pk-memperks .pk-icon { color: #27ae60; }
.pk-acc-disclaimer { font-size: 11.5px; color: var(--pk-muted); margin-top: 12px; }

/* Wishlist grid */
.pk-wishgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pk-wishcard { position: relative; background: #fff; border: 1px solid var(--pk-line); border-radius: 12px; overflow: hidden; transition: all .25s; }
.pk-wishcard:hover { box-shadow: var(--pk-shadow-md); }
.pk-wishcard__rm { position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--pk-price); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.pk-wishcard__rm:hover { background: var(--pk-price); color: #fff; }
.pk-wishcard__img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.pk-wishcard__body { padding: 12px; }
.pk-wishcard__title { display: block; font-size: 13px; color: var(--pk-ink); line-height: 1.35; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.pk-wishcard__price { margin-bottom: 10px; }
.pk-wishcard__price .price, .pk-wishcard__price .amount, .pk-wishcard__price ins { color: var(--pk-price); font-weight: 800; font-family: var(--pk-head); text-decoration: none; }
.pk-wishcard__price del { color: var(--pk-muted); font-size: 12px; font-weight: 400; }
.pk-wishcard .pk-btn { width: 100%; }

/* Keranjang tersimpan */
.pk-acccart { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); overflow: hidden; }
.pk-acccart__row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--pk-line); }
.pk-acccart__img img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: 1px solid var(--pk-line); }
.pk-acccart__name { display: block; font-size: 14px; color: var(--pk-ink); font-weight: 600; }
.pk-acccart__meta { font-size: 12.5px; color: var(--pk-muted); }
.pk-acccart__sub { font-family: var(--pk-head); font-weight: 800; color: var(--pk-price); }
.pk-acccart__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #fafcff; font-family: var(--pk-head); }
.pk-acccart__foot strong { color: var(--pk-price); font-size: 20px; }
.pk-acccart__actions { display: flex; gap: 10px; padding: 16px 18px; }
.pk-acccart__actions .pk-btn { flex: 1; }

/* Form akun (edit profile / address) */
.woocommerce-MyAccount-content form { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 24px; }
.woocommerce-MyAccount-content .woocommerce-Address { background: #fff; border-radius: var(--pk-radius); box-shadow: var(--pk-shadow); padding: 22px; }
.woocommerce-MyAccount-content .addresses .woocommerce-Address { margin-bottom: 16px; }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.woocommerce-MyAccount-content .woocommerce-Address-title h3 { font-size: 16px; margin: 0; }

@media (max-width: 900px) {
	.pk-dash__stats { grid-template-columns: repeat(2, 1fr); }
	.pk-dash__grid { grid-template-columns: 1fr; }
	.pk-wishgrid { grid-template-columns: repeat(2, 1fr); }
	.pk-memstats { grid-template-columns: 1fr; }
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-account.logged-in .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; }
	.woocommerce-account.logged-in .woocommerce-MyAccount-content { grid-column: 1; grid-row: 2; }
	.pk-acc-nav { position: static; }
	.pk-acc-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
	.pk-acc-nav li { margin: 0; }
	.pk-acc-nav__badge { margin-left: 4px; }
}
@media (max-width: 560px) {
	.pk-wishgrid { grid-template-columns: 1fr 1fr; }
	.pk-quickgrid { grid-template-columns: 1fr; }
	.pk-acccart__actions { flex-direction: column; }
	.pk-orderrow { grid-template-columns: 1fr auto; grid-template-areas: "main total" "status view"; }
	.pk-orderrow__main { grid-area: main; }
	.pk-orderrow__total { grid-area: total; text-align: right; }
	.pk-orderrow__status { grid-area: status; justify-self: start; }
	.pk-orderrow__view { grid-area: view; justify-self: end; }
}

/* =========================================================================
   WIDGET TUKAR POIN  (plugin Points and Rewards for WooCommerce)
   Diselaraskan dengan baris kupon Shopee-style di keranjang & checkout.
   ========================================================================= */
.wps_wpr_apply_custom_points {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px;
}
.wps_wpr_apply_custom_points #wps_cart_points {
	flex: 1; min-width: 150px; margin: 0; height: auto;
	padding: 10px 14px; border: 1px solid var(--pk-line); border-radius: 6px; font-size: 13.5px;
}
.wps_wpr_apply_custom_points .wps_cart_points_apply {
	background: #fff; border: 1px solid var(--pk-primary); color: var(--pk-primary);
	border-radius: var(--pk-radius-sm); font-family: var(--pk-head); font-weight: 600; font-size: 14px;
	line-height: 1.2; padding: 10px 20px; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.wps_wpr_apply_custom_points .wps_cart_points_apply:hover { background: var(--pk-primary); color: #fff; }
.wps_wpr_apply_custom_points .wps_cart_points_apply:disabled { opacity: .5; cursor: not-allowed; }
.wps_wpr_apply_custom_points .wps_wpr_restrict_user_message,
.wps_wpr_apply_custom_points .wps_wpr_show_restrict_message,
.wps_wpr_apply_custom_points > p { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px; color: var(--pk-ink-soft); }
.wps_wpr_apply_custom_points .wps_wpr_show_restrict_message { color: var(--pk-primary); font-weight: 600; }
@media (max-width: 480px) {
	.wps_wpr_apply_custom_points #wps_cart_points { min-width: 100%; }
	.wps_wpr_apply_custom_points .wps_cart_points_apply { width: 100%; }
}

/* =========================================================================
   PENGEMBALIAN BARANG (RETUR) - dashboard pelanggan
   ========================================================================= */
.pk-returns .pk-ret-intro { display: flex; gap: 8px; align-items: flex-start; background: #eef6fc; border-left: 4px solid var(--pk-primary); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: var(--pk-ink-soft); margin: 0 0 18px; }
.pk-returns .pk-ret-intro svg { flex: none; color: var(--pk-primary); margin-top: 2px; }
.pk-ret-h { font-size: 15px; margin: 22px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--pk-line); }
.pk-ret-alert { border-radius: 8px; padding: 11px 14px; font-size: 13px; margin: 0 0 16px; }
.pk-ret-alert--ok { background: #eefaf1; border-left: 4px solid #16a34a; color: #146c37; }
.pk-ret-alert--no { background: #fff5ee; border-left: 4px solid var(--pk-accent); color: #b03a0d; }

.pk-ret-list { display: flex; flex-direction: column; gap: 10px; }
.pk-ret-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; background: #fff; border: 1px solid var(--pk-line); border-radius: 10px; text-decoration: none; color: var(--pk-ink); transition: box-shadow .15s, border-color .15s; }
.pk-ret-item:hover { border-color: var(--pk-primary); box-shadow: var(--pk-shadow); }
.pk-ret-item__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
.pk-ret-item__main strong { font-size: 14px; }
.pk-ret-item__order { font-size: 12.5px; color: var(--pk-ink-soft); }
.pk-ret-item__date { font-size: 11.5px; color: #9aa7b2; }
.pk-ret-badge { color: #fff; font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 20px; white-space: nowrap; }

.pk-ret-order { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--pk-line); border-radius: 10px; margin-bottom: 10px; }
.pk-ret-order__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden; }
.pk-ret-order__info strong { font-size: 14px; }
.pk-ret-order__info span { font-size: 12.5px; color: var(--pk-ink-soft); }
.pk-ret-order__items { font-size: 12px !important; color: #9aa7b2 !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.pk-ret-empty { font-size: 13px; color: var(--pk-ink-soft); background: #f7fafc; border-radius: 8px; padding: 16px; text-align: center; }

.pk-ret-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--pk-primary); text-decoration: none; margin-bottom: 10px; }
.pk-ret-form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.pk-ret-label { font-size: 13px; font-weight: 600; margin-top: 8px; color: var(--pk-ink); }
.pk-ret-items { display: flex; flex-direction: column; gap: 6px; background: #f7fafc; border-radius: 8px; padding: 12px; }
.pk-ret-checkitem { font-size: 13px; }
.pk-ret-checkitem em { color: var(--pk-ink-soft); font-style: normal; }
.pk-ret-form select, .pk-ret-form textarea, .pk-ret-form input[type=file] { width: 100%; padding: 10px 12px; border: 1px solid var(--pk-line); border-radius: 8px; font-size: 13.5px; font-family: inherit; }
.pk-ret-form .pk-btn { margin-top: 12px; }

.pk-ret-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pk-ret-timeline { display: flex; justify-content: space-between; position: relative; margin: 6px 0 22px; }
.pk-ret-timeline::before { content: ""; position: absolute; top: 9px; left: 24px; right: 24px; height: 2px; background: var(--pk-line); z-index: 0; }
.pk-ret-step { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; flex: 1; }
.pk-ret-step__dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--pk-line); }
.pk-ret-step.is-done .pk-ret-step__dot { background: var(--pk-primary); border-color: var(--pk-primary); }
.pk-ret-step__lbl { font-size: 11.5px; color: var(--pk-ink-soft); text-align: center; }
.pk-ret-step.is-done .pk-ret-step__lbl { color: var(--pk-primary); font-weight: 600; }

.pk-ret-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pk-ret-box { background: #fff; border: 1px solid var(--pk-line); border-radius: 10px; padding: 14px 16px; }
.pk-ret-box h4 { font-size: 13.5px; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.pk-ret-box p { font-size: 13px; margin: 4px 0; color: var(--pk-ink); }
.pk-ret-box--addr { background: #fffaf5; border-color: #ffd9bf; }
.pk-ret-addr__name { font-weight: 700; }
.pk-ret-addr__phone { color: var(--pk-ink-soft) !important; display: flex; align-items: center; gap: 5px; }
.pk-ret-addr__line { color: var(--pk-ink-soft) !important; }
.pk-ret-note { font-size: 12px; color: var(--pk-ink-soft); margin-top: 8px; }
.pk-ret-note--wait { background: #fffaf0; border: 1px dashed #f0c78a; border-radius: 8px; padding: 12px; }
.pk-ret-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pk-ret-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--pk-line); }

.pk-resi-form { margin-top: 16px; background: #f7fafc; border-radius: 10px; padding: 16px; }
.pk-resi-form h4 { font-size: 13.5px; margin: 0 0 10px; }
.pk-resi-row { display: flex; gap: 8px; margin-bottom: 10px; }
.pk-resi-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--pk-line); border-radius: 8px; font-size: 13.5px; }
@media (max-width: 560px) {
	.pk-ret-grid { grid-template-columns: 1fr; }
	.pk-resi-row { flex-direction: column; }
	.pk-ret-order { flex-direction: column; align-items: stretch; }
	.pk-ret-order .pk-btn { width: 100%; }
}

/* =========================================================================
   TUKAR VOUCHER (poin -> kode kupon)
   ========================================================================= */
.pk-voucher__points { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 6px; }
.pk-voucher__points svg { color: var(--pk-accent); }
.pk-voucher__points strong { color: var(--pk-accent); font-family: var(--pk-head); font-size: 18px; }
.pk-voucher__hint { font-size: 12.5px; color: var(--pk-ink-soft); background: #eef6fc; border-left: 4px solid var(--pk-primary); border-radius: 8px; padding: 10px 13px; margin: 0 0 6px; }
.pk-voucher__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 20px 16px; margin-top: 6px; }

/* Kartu tiket voucher */
.pk-voucher__card { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(20,60,90,.10); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.pk-voucher__card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(255,107,44,.22); }
.pk-voucher__card.is-off { opacity: .62; filter: grayscale(.4); }
.pk-voucher__card.is-off:hover { transform: none; box-shadow: 0 6px 18px rgba(20,60,90,.10); }

.pk-voucher__top { position: relative; overflow: hidden; border-radius: 14px 14px 0 0; background: linear-gradient(135deg, #ff9a5c 0%, var(--pk-accent) 55%, var(--pk-accent-dark) 100%); color: #fff; padding: 18px 14px 20px; text-align: center; }
.pk-voucher__top::before { content: ""; position: absolute; top: -22px; right: -18px; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.14); }
.pk-voucher__top::after { content: ""; position: absolute; bottom: -28px; left: -18px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.10); }
.pk-voucher__tag { position: relative; display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: 2px; background: rgba(255,255,255,.24); padding: 3px 11px; border-radius: 20px; margin-bottom: 9px; }
.pk-voucher__val { position: relative; font-family: var(--pk-head); font-size: 29px; font-weight: 800; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.18); }
.pk-voucher__val span { font-size: 15px; font-weight: 700; vertical-align: 5px; margin-right: 1px; }
.pk-voucher__sub { position: relative; font-size: 11px; opacity: .95; margin-top: 5px; }

/* Bawah + garis perforasi + lekukan tiket */
.pk-voucher__bottom { position: relative; background: #fff; border-radius: 0 0 14px 14px; padding: 19px 14px 15px; text-align: center; border-top: 2px dashed #edccb6; }
.pk-voucher__bottom::before, .pk-voucher__bottom::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #f4f9fd; z-index: 3; }
.pk-voucher__bottom::before { left: -11px; }
.pk-voucher__bottom::after { right: -11px; }
.pk-voucher__cost { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--pk-ink-soft); margin-bottom: 12px; }
.pk-voucher__cost svg { color: var(--pk-accent); }
.pk-voucher__btn { display: block; width: 100%; background: var(--pk-accent); color: #fff; border: 0; border-radius: 8px; padding: 9px 10px; font-family: var(--pk-head); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: background .15s, box-shadow .15s; box-shadow: 0 4px 12px rgba(255,107,44,.28); }
.pk-voucher__btn:hover { background: var(--pk-accent-dark); box-shadow: 0 6px 16px rgba(255,107,44,.42); }
.pk-voucher__btn.is-disabled { background: #e6ebef; color: #9aa7b2; box-shadow: none; cursor: not-allowed; }

/* Voucher Saya (tiket mendatar) */
.pk-voucher__mine { display: flex; flex-direction: column; gap: 12px; }
.pk-voucher__row { position: relative; display: flex; align-items: stretch; gap: 0; background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(20,60,90,.08); overflow: hidden; }
.pk-voucher__row.is-dim { opacity: .6; filter: grayscale(.45); }
.pk-voucher__stub { flex: none; width: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff9a5c, var(--pk-accent)); color: #fff; padding: 14px 8px; }
.pk-voucher__stubval { font-family: var(--pk-head); font-weight: 800; font-size: 18px; line-height: 1; }
.pk-voucher__stublbl { font-size: 9.5px; letter-spacing: 1.5px; opacity: .92; margin-top: 4px; }
.pk-voucher__rowinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 13px 14px; border-left: 2px dashed var(--pk-line); }
.pk-voucher__code { align-self: flex-start; background: #fff5ee; border: 1px dashed var(--pk-accent); color: var(--pk-accent); font-weight: 700; padding: 3px 11px; border-radius: 6px; letter-spacing: 1px; font-size: 13px; }
.pk-voucher__exp { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #9aa7b2; }
.pk-voucher__exp svg { color: #b3c0cb; }
.pk-voucher__status { flex: none; align-self: center; margin-right: 16px; font-size: 11px; font-weight: 700; padding: 3px 12px; border: 1.5px solid; border-radius: 20px; white-space: nowrap; }

@media (max-width: 560px) {
	.pk-voucher__grid { grid-template-columns: 1fr 1fr; }
	.pk-voucher__stub { width: 86px; }
}
