/*
Theme Name: MPC Pedia
Theme URI: https://mpcmakers.store/
Author: MPC Makers ID
Author URI: https://mpcmakers.store/
Description: Tema WordPress marketplace-style native berbasis WooCommerce. Mendukung Customizer, slider, warna dinamis, Ajax search, mini-cart, order WhatsApp, popup pembayaran QR/Bank, dan companion plugin untuk demo importer.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mpc-pedia
Tags: e-commerce, custom-logo, custom-menu, footer-widgets, featured-images, theme-options, threaded-comments, translation-ready
*/

/* ============================================================
   01. CSS Variables hasil konversi dari variabel Blogger XML
   ============================================================ */
:root {
	--keycolor: #03ac0e;
	--topbar-bg: #f3f4f5;
	--border-color: #e5e7e9;
	--label-bg: #d6ffde;
	--notif-bg: #ef144a;
	--body-text: #31353b;
	--price-color: #ff5722;
	--footer-bg: #ffffff;
	--body-bg: #ffffff;
	--header-bg: #ffffff;
	--muted-text: rgba(49, 53, 59, 0.68);
	--soft-bg: #f8fafb;
	--shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08);
	--shadow-float: 0 12px 40px rgba(49, 53, 59, 0.16);
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 14px;
	--container: 1180px;
}

/* ============================================================
   02. Reset ringan & base typography
   ============================================================ */
* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--body-bg);
	color: var(--body-text);
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

a {
	color: var(--keycolor);
	text-decoration: none;
	outline: 0;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:visited {
	color: var(--keycolor);
}

a:hover,
a:focus {
	color: #12883d;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	z-index: 99999;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: #ffffff;
	border: 2px solid var(--keycolor);
	border-radius: var(--radius-sm);
}

.blogpedia-blogger {
	min-height: 100vh;
	background: #ffffff;
}

.site-main {
	width: min(var(--container), calc(100% - 32px));
	margin: 0 auto;
	padding: 18px 0 40px;
}

/* ============================================================
   03. Header Tokped-like: topbar, logo, search, action icons
   ============================================================ */
.tokopedia_top {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--header-bg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#tokopedia-main-container {
	background: var(--header-bg);
}

.subheader-inner {
	min-height: 34px;
	background: var(--topbar-bg);
	border-bottom: 1px solid var(--topbar-bg);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 max(16px, calc((100vw - var(--container)) / 2));
}

.subheader-inner ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 14px;
}

.subheader-inner a,
.search-trend a,
.tokped-profil a {
	font-size: 12px;
	color: var(--muted-text);
}

.subheader-inner a:hover {
	color: var(--keycolor);
}

.mpc-header-main {
	width: min(var(--container), calc(100% - 32px));
	margin: 0 auto;
	min-height: 70px;
	display: grid;
	grid-template-columns: auto auto minmax(260px, 1fr) auto;
	align-items: center;
	gap: 18px;
}

.site-branding .custom-logo-link,
.site-branding .main-logo-img {
	display: inline-flex;
	align-items: center;
	min-width: 142px;
}

.custom-logo {
	max-height: 42px;
	width: auto;
}

.blog-title,
.blog-title a {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: var(--body-text);
	white-space: nowrap;
}

.tokopedia_dekstop {
	position: relative;
}

.cssmenu,
.dropdown {
	position: relative;
}

.ucihaItachi {
	border: 0;
	background: transparent;
	color: var(--muted-text);
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.ucihaItachi:hover,
.ucihaItachi:focus,
.cssmenu a.ucihaItachi:hover {
	background: #f3f3f3;
	color: var(--keycolor);
}

.panah::after {
	content: "";
	width: 16px;
	height: 16px;
	vertical-align: middle;
	display: inline-block;
	margin-left: 4px;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' fill='%23888888'/%3E%3C/svg%3E") no-repeat center / contain;
}

.dropdown-content {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: 260px;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-float);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 0.2s ease;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-content ul,
.mpc-main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dropdown-content li a,
.dropdown-content1 .menu-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--body-text);
}

.dropdown-content li a:hover,
.dropdown-content1 .menu-item a:hover {
	background: var(--soft-bg);
	color: var(--keycolor);
}

.label-count {
	color: var(--muted-text);
	font-size: 12px;
}

.tokped-search-form {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 44px;
	align-items: center;
}

.tokped_search {
	width: 100%;
	height: 42px;
	border: 1px solid var(--border-color);
	border-right: 0;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	padding: 0 14px;
	background: #ffffff;
	color: var(--body-text);
	outline: 0;
}

.tokped_search:focus {
	border-color: var(--keycolor);
}

.search-icon.button {
	height: 42px;
	border: 1px solid var(--border-color);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--topbar-bg);
	color: #6c727c;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-icon.button:hover {
	color: var(--keycolor);
}

.search-content {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-float);
	padding: 8px;
	display: none;
	z-index: 1000;
}

.search-content.is-open {
	display: block;
}

.mpc-search-item {
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 10px;
	align-items: center;
	padding: 8px;
	border-radius: var(--radius-sm);
	color: var(--body-text);
}

.mpc-search-item:hover {
	background: var(--soft-bg);
	color: var(--keycolor);
}

.mpc-search-item img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	background: var(--soft-bg);
}

.mpc-search-item strong,
.mpc-search-item small {
	display: block;
}

.mpc-search-item small {
	color: var(--price-color);
	font-weight: 700;
}

.mpc-search-empty {
	padding: 14px;
	color: var(--muted-text);
}

.mpc-header-actions,
.link-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.link-right a,
.cart-btn {
	position: relative;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	color: #6c727c;
}

.cart-btn:hover,
.link-right a:hover {
	background: var(--topbar-bg);
	color: var(--keycolor);
}

.link-right .btnNotif span,
.cart span.simpleCart_quantity,
.icon-mobile-cart span.simpleCart_quantity {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--notif-bg);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}

/* ============================================================
   04. Mobile sticky banner
   ============================================================ */
.topMobile {
	display: none;
}

.adsMobileWidget {
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-float);
}

.adsIconMobile {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.adsIconMobile img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 10px;
}

.adsBtnMobile {
	display: flex;
	align-items: center;
	gap: 8px;
}

.btnMobile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--keycolor);
	color: #ffffff !important;
	font-weight: 700;
}

.closeMobile {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: var(--soft-bg);
	color: #6c727c;
	font-size: 18px;
	line-height: 1;
}

/* ============================================================
   05. Slider homepage
   ============================================================ */
.mpc-home-slider {
	position: relative;
	margin: 8px 0 22px;
}

.mpc-slider-track {
	position: relative;
	height: 300px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: linear-gradient(135deg, var(--keycolor), #10ad80);
}

.mpc-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 34px;
	background-position: center;
	background-size: cover;
	color: #ffffff !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mpc-slide.active {
	opacity: 1;
	visibility: visible;
}

#slideHome .color1.active { background-color: #673ab7; }
#slideHome .color2.active { background-color: #3fb046; }
#slideHome .color3.active { background-color: #f96a6e; }
#slideHome .color4.active { background-color: #10ad80; }
#slideHome .color5.active { background-color: #fec504; }

.mpc-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.42));
}

.mpc-slide-content {
	position: relative;
	z-index: 1;
	max-width: 520px;
}

.mpc-slide-content strong {
	display: block;
	font-size: clamp(24px, 4vw, 42px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.mpc-slide-content small {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	font-weight: 600;
}

.owl-dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 6px;
	z-index: 2;
}

.mpc-slider-dot {
	width: 8px;
	height: 8px;
	border: 0;
	padding: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.55);
}

.mpc-slider-dot.active {
	width: 26px;
	background: #ffffff;
}

.tokopedia_line {
	height: 1px;
	background: var(--border-color);
	margin: 20px 0;
}

/* ============================================================
   06. Product grid & WooCommerce cards
   ============================================================ */
.tokopedia_title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border-color);
}

.tokopedia_title h1,
.tokopedia_title h2,
.tokopedia_title h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--body-text);
}

.tokopedia_title a,
.tokopedia_tabDetail,
.tokopedia_tabFeed,
.tokopedia_tabRelated {
	color: var(--keycolor);
	font-weight: 700;
}

.tokopedia_tabDetail {
	border-bottom: 4px solid var(--keycolor);
	padding-bottom: 10px;
}

.mpc-product-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.mpc-product-card,
.blogPedia_jual {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mpc-product-card:hover,
.blogPedia_jual:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(49, 53, 59, 0.12);
	border-color: rgba(3, 172, 14, 0.35);
}

.mpc-product-thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--soft-bg);
	overflow: hidden;
	color: inherit;
}

.mpc-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.mpc-product-card:hover .mpc-product-thumb img {
	transform: scale(1.04);
}

.produk_diskon.show {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--label-bg);
	color: var(--keycolor);
	font-size: 12px;
	font-weight: 800;
}

.mpc-product-info {
	padding: 12px;
}

h1.post-title,
h2.post-title,
.post-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--body-text);
}

h1.post-title a,
h2.post-title a,
.post-title a {
	color: var(--body-text);
}

h1.post-title a:hover,
h2.post-title a:hover,
.post-title a:hover,
.blogPedia_jual .nama_produk:hover {
	color: var(--keycolor);
}

.tokped_label,
.best-product-info .tokped_label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--muted-text);
}

.tokped_label a {
	color: var(--muted-text);
}

.tokped_label a:hover {
	color: var(--keycolor);
}

.best-product-info .harga,
.blogPedia_jual div.item-price,
.blogPedia_jual div.item-total,
.harga,
.price,
.woocommerce-Price-amount {
	font-size: 14px;
	font-weight: 800;
	color: var(--price-color);
}

.price del,
.harga del {
	margin-right: 6px;
	color: #9aa0a6;
	font-size: 12px;
	font-weight: 500;
}

.price ins,
.harga ins {
	text-decoration: none;
	color: var(--price-color);
}

.mpc-card-actions {
	margin-top: 10px;
}

.buyMe,
a.buyMe,
a.printMe,
.contact-form-button,
.btnBayarNow,
.check-with-bank,
#check-with-wa,
.check-with-dana,
.check-with-ovo,
.check-with-paypal,
.xNxxFree1 .shopNow,
#top-continue .comment-reply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--radius-sm);
	background: radial-gradient(circle, transparent 1%, var(--keycolor) 1%) center center / 15000% var(--keycolor);
	color: #ffffff !important;
	font-weight: 800;
	line-height: 1;
	transition: background-size 0.35s ease, transform 0.2s ease, opacity 0.2s ease;
}

.buyMe:hover,
a.buyMe:hover,
.contact-form-button:hover,
.btnBayarNow:hover,
#check-with-wa:hover,
.check-with-bank:hover,
.check-with-dana:hover,
.check-with-ovo:hover {
	background-size: 100%;
	transform: translateY(-1px);
	opacity: 0.94;
}

.mpc-empty-state {
	padding: 36px;
	background: #ffffff;
	border: 1px dashed var(--border-color);
	border-radius: var(--radius-lg);
	text-align: center;
	color: var(--muted-text);
}

.mpc-empty-state h1,
.mpc-empty-state h3 {
	margin: 0 0 8px;
	color: var(--body-text);
}

/* ============================================================
   07. Single product
   ============================================================ */
.mpc-breadcrumb {
	margin-bottom: 18px;
	font-size: 13px;
	color: var(--muted-text);
}

#breadcrumb a,
.mpc-breadcrumb a {
	color: var(--keycolor);
	vertical-align: middle;
}

.mpc-breadcrumb span {
	margin: 0 7px;
	color: #b8bec5;
}

.mpc-single-product {
	display: grid;
	grid-template-columns: minmax(280px, 46%) 1fr;
	gap: 28px;
	align-items: start;
	padding: 24px;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.mpc-product-gallery-wrapper {
	position: sticky;
	top: 108px;
}

.mpc-main-product-image {
	position: relative;
	background: var(--soft-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.mpc-main-product-image img,
.mpc-product-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.mpc-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin-top: 10px;
}

.mpc-product-thumbnails a {
	display: block;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--soft-bg);
}

.mpc-product-thumbnails img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.mpc-product-summary .product_title {
	margin: 0 0 10px;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.25;
	font-weight: 800;
	color: var(--body-text);
}

.mpc-product-meta-line {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 14px;
	color: var(--muted-text);
	font-size: 13px;
}

.mpc-product-price {
	margin-bottom: 16px;
}

.mpc-product-price .woocommerce-Price-amount,
.mpc-product-price.price,
.mpc-product-price.harga {
	font-size: 28px;
	line-height: 1.2;
}

.mpc-short-description {
	padding: 16px;
	background: var(--soft-bg);
	border-radius: var(--radius-md);
	margin-bottom: 16px;
}

.mpc-short-description p:last-child {
	margin-bottom: 0;
}

.mpc-stock-status {
	margin-bottom: 16px;
}

.stock.in-stock {
	color: var(--keycolor);
	font-weight: 700;
}

.stock.out-of-stock {
	color: var(--notif-bg);
	font-weight: 700;
}

.mpc-buy-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 18px;
}

#check-with-wa,
.check-with-wa,
.btnBayarNow {
	width: 100%;
	min-height: 48px;
	font-size: 15px;
}

.btnBayarNow {
	background: radial-gradient(circle, transparent 1%, #ff5722 1%) center center / 15000% #ff5722;
}

.toko-profil {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
}

.toko-profil .team-member,
.individual {
	padding: 8px;
	border-radius: var(--radius-sm);
}

.toko-profil .team-member:hover,
.individual:hover {
	background: #f3f3f3;
	color: var(--keycolor);
}

.toko-profil small {
	display: block;
	color: var(--muted-text);
}

a.chat-penjual {
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	background: var(--keycolor);
	border: 1px solid var(--keycolor);
	color: #ffffff !important;
	font-weight: 800;
}

a.chat-penjual:hover {
	background: #12883d;
	border-color: #12883d;
}

.ikuti-penjual {
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--keycolor);
	border: 1px solid var(--keycolor);
	font-weight: 800;
}

.tokopedia_product_detail,
.mpc-related-products {
	margin-top: 28px;
	padding: 24px;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
}

.product-description {
	font-size: 15px;
}

/* ============================================================
   08. Form dan modal pembayaran
   ============================================================ */
.blogpedia-pop-payment {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.blogpedia-pop-payment.is-open {
	display: flex;
}

.mpc-payment-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 24, 31, 0.58);
	backdrop-filter: blur(2px);
}

.mpc-payment-dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(92vh, 760px);
	overflow: auto;
	background: #ffffff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-float);
	padding: 24px;
}

.mpc-payment-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--soft-bg);
	font-size: 24px;
	line-height: 1;
	color: #6c727c;
}

.mpc-payment-dialog h2 {
	margin: 0 40px 8px 0;
	font-size: 24px;
	line-height: 1.25;
	color: var(--body-text);
}

.mpc-payment-subtitle {
	margin: 0 0 16px;
	color: var(--muted-text);
}

.mpc-order-preview {
	padding: 14px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	background: var(--soft-bg);
	margin-bottom: 16px;
}

.mpc-order-preview strong,
.mpc-order-preview span {
	display: block;
}

.mpc-order-preview span {
	margin-top: 4px;
	color: var(--price-color);
	font-weight: 800;
}

.mpc-customer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.contact-field {
	display: grid;
	gap: 6px;
	font-weight: 700;
	font-size: 13px;
}

.contact-field-wide {
	grid-column: 1 / -1;
}

.contact-form-email,
.contact-form-name,
.contact-form-email-message,
.contact-form-number,
.contact-form-address,
.contact-form-postcode,
.form-item__left input,
.form-item__right input,
textarea.alamat,
select.bank {
	width: 100%;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: #ffffff;
	color: var(--body-text);
	padding: 10px 12px;
	outline: 0;
}

.contact-form-email:focus,
.contact-form-name:focus,
.contact-form-email-message:focus,
.contact-form-number:focus,
.contact-form-address:focus,
.contact-form-postcode:focus,
.contact-form-email:hover,
.contact-form-name:hover,
.contact-form-email-message:hover,
.contact-form-number:hover,
.contact-form-address:hover,
.contact-form-postcode:hover,
.form-item__left input:hover,
.form-item__right input:hover,
textarea.alamat:hover,
select.bank:hover {
	outline: 0;
	border-color: var(--keycolor);
}

.mpc-payment-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 14px;
}

.mpc-payment-tabs button {
	min-height: 40px;
	font-size: 13px;
	background: #ffffff;
	border: 1px solid var(--keycolor);
	color: var(--keycolor) !important;
}

.mpc-payment-tabs button.is-active {
	background: var(--keycolor);
	color: #ffffff !important;
}

.mpc-payment-panel {
	padding: 14px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	margin-bottom: 16px;
}

.mpc-payment-panel.is-hidden {
	display: none;
}

.mpc-bank-info {
	margin-top: 10px;
	padding: 12px;
	border-radius: var(--radius-sm);
	background: var(--soft-bg);
	line-height: 1.7;
}

.mpc-qr-image {
	width: 260px;
	max-width: 100%;
	margin: 0 auto;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 8px;
	background: #ffffff;
}

.mpc-send-order-wa {
	width: 100%;
	min-height: 46px;
}

/* ============================================================
   09. Footer widget
   ============================================================ */
.site-footer {
	background: var(--footer-bg);
	border-top: 1px solid var(--border-color);
	margin-top: 40px;
}

.blogpedia_footer-raw,
#widget-footer-wrapper {
	width: min(var(--container), calc(100% - 32px));
	margin: 0 auto;
	padding: 34px 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

#widget-footer-wrapper h2,
.widget-title {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--body-text);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li + li {
	margin-top: 8px;
}

#blogpedia-footer-wrapper .widget a,
#widget-footer4 .Text,
.widget {
	color: #72777f;
}

#blogpedia-footer-wrapper .widget a:hover {
	color: var(--keycolor);
}

.mpc-footer-bottom {
	width: min(var(--container), calc(100% - 32px));
	margin: 0 auto;
	padding: 16px 0 24px;
	border-top: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--muted-text);
	font-size: 13px;
}

.mpc-footer-bottom ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.mpc-footer-bottom p {
	margin: 0;
}

/* ============================================================
   10. WooCommerce minor cleanup
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--keycolor);
	border-radius: var(--radius-md);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--keycolor);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--price-color);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--keycolor);
	color: #ffffff;
	border-radius: var(--radius-sm);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #12883d;
	color: #ffffff;
}

/* ============================================================
   11. Responsive
   ============================================================ */
@media screen and (max-width: 1100px) {
	.mpc-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media screen and (max-width: 900px) {
	.mpc-header-main {
		grid-template-columns: 1fr auto auto;
		gap: 12px;
		padding: 12px 0;
	}

	.tokopedia_dekstop {
		order: 4;
		grid-column: 1 / -1;
	}

	.tokped-search-form {
		grid-column: 1 / -1;
		order: 3;
	}

	.mpc-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mpc-single-product {
		grid-template-columns: 1fr;
	}

	.mpc-product-gallery-wrapper {
		position: static;
	}

	.blogpedia_footer-raw,
	#widget-footer-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mpc-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media screen and (max-width: 800px) {
	.topMobile {
		display: block;
	}

	.subheader-inner,
	.tokopedia_line,
	.owl-dots,
	#fiktur-wrapper div.tokped_redtube,
	#fiktur-wrapper .tokped_public-agent {
		display: none;
	}

	.cart-btn svg,
	.icon-bell,
	.icon-envelope {
		width: 24px;
		height: 24px;
	}

	.tokopedia_top {
		position: static;
	}

	.site-main {
		width: min(100% - 20px, var(--container));
		padding-bottom: 92px;
	}

	.mpc-slider-track {
		height: 210px;
	}

	.mpc-slide {
		padding: 22px;
	}
}

@media screen and (max-width: 640px) {
	.mpc-header-main {
		width: min(100% - 20px, var(--container));
		grid-template-columns: 1fr auto;
	}

	.site-branding .custom-logo-link,
	.site-branding .main-logo-img {
		min-width: 0;
	}

	.blog-title,
	.blog-title a {
		font-size: 20px;
	}

	.mpc-header-actions {
		gap: 4px;
	}

	.link-right a,
	.cart-btn {
		width: 36px;
		height: 36px;
	}

	.tokopedia_dekstop {
		display: none;
	}

	.mpc-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.mpc-product-info {
		padding: 10px;
	}

	.mpc-buy-actions,
	.toko-profil,
	.mpc-customer-grid,
	.mpc-payment-tabs {
		grid-template-columns: 1fr;
	}

	.toko-profil {
		align-items: stretch;
	}

	.toko-profil .team-member,
	a.chat-penjual,
	.ikuti-penjual {
		text-align: center;
	}

	.blogpedia_footer-raw,
	#widget-footer-wrapper {
		grid-template-columns: 1fr;
	}

	.mpc-payment-dialog {
		padding: 20px;
	}
}

@media screen and (max-width: 420px) {
	.mpc-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	h1.post-title,
	h2.post-title,
	.post-title {
		font-size: 13px;
	}

	.best-product-info .harga,
	.harga,
	.price,
	.woocommerce-Price-amount {
		font-size: 13px;
	}

	.mpc-product-price .woocommerce-Price-amount,
	.mpc-product-price.price,
	.mpc-product-price.harga {
		font-size: 22px;
	}
}

/* ============================================================
   20. Template halaman, blog, dan WooCommerce standar
   ============================================================ */
.mpc-page-shell {
	width: min(var(--container), calc(100% - 32px));
	margin: 28px auto;
}

.mpc-single-article,
.mpc-post-card,
.mpc-cart-form,
.mpc-checkout-form,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.mpc-single-article {
	padding: 30px;
}

.mpc-single-header .post-title,
.mpc-error-404 h1,
.mpc-archive-header h1 {
	margin: 0 0 10px;
	font-size: clamp(24px, 4vw, 38px);
	line-height: 1.2;
	color: var(--body-text);
}

.mpc-post-meta,
.archive-description {
	color: var(--muted-text);
	font-size: 13px;
}

.entry-content {
	font-size: 15px;
	line-height: 1.8;
}

.entry-content img,
.mpc-single-thumb img {
	border-radius: var(--radius-lg);
}

.mpc-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mpc-post-card {
	overflow: hidden;
}

.mpc-post-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--soft-bg);
}

.mpc-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mpc-post-body {
	padding: 18px;
}

.mpc-post-body .post-title {
	margin: 0 0 8px;
	font-size: 17px;
}

.mpc-inline-search {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 20px 0;
}

.mpc-inline-search input {
	width: min(420px, 100%);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
}

.nav-links,
.post-navigation,
.comments-area {
	margin-top: 24px;
}

.comments-area {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 24px;
}

.comment-list {
	padding-left: 22px;
}

.mpc-shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.woocommerce-result-count {
	color: var(--muted-text);
}

.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.quantity .qty {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	padding: 10px 12px;
	background: #fff;
}

.woocommerce table.shop_table {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	border-collapse: separate;
	overflow: hidden;
	background: #fff;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-top: 1px solid var(--border-color);
	padding: 14px;
}

.woocommerce table.shop_table thead th {
	border-top: 0;
	background: var(--soft-bg);
	color: var(--body-text);
}

.woocommerce a.remove {
	color: var(--notif-bg) !important;
}

.woocommerce .cart-collaterals,
.mpc-checkout-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 24px;
	align-items: start;
}

.cart_totals,
.mpc-checkout-review,
.mpc-checkout-customer {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-card);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: radial-gradient(circle, transparent 1%, var(--keycolor) 1%) center center / 15000% var(--keycolor);
	border: 1px solid var(--keycolor);
	border-radius: var(--radius-sm);
	color: #fff;
	font-weight: 700;
	padding: 11px 16px;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
	background-color: #12883d;
	color: #fff;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 14px;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--body-text);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
	background: var(--label-bg);
	color: var(--keycolor);
}

.mpc-account-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

@media screen and (max-width: 900px) {
	.mpc-post-grid,
	.woocommerce .cart-collaterals,
	.mpc-checkout-columns {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 640px) {
	.mpc-page-shell {
		width: min(100% - 20px, var(--container));
		margin-top: 18px;
	}

	.mpc-single-article,
	.comments-area {
		padding: 18px;
	}

	.mpc-inline-search {
		flex-direction: column;
	}
}

/* 21. Accessibility polish */
body.mpc-modal-open {
	overflow: hidden;
}
.mpc-payment-dialog:focus {
	outline: 2px solid var(--keycolor);
	outline-offset: 4px;
}
:focus-visible {
	outline: 2px solid var(--keycolor);
	outline-offset: 3px;
}
