/*
 * Storewide look (theme 2.17.25, owner 21 Nov 2026) — see inc/storewide.php and inc/feed.php.
 * Every screen size unless a block says otherwise. PME Blue for chrome, red only for price / buy, 18 px radius.
 */

/* ---- Joined header: blue announcement strip + white header with rounded bottom ---- */
.pme-announce { background: #0B3D91 !important; min-height: 30px !important; display: flex; align-items: center; }
.pme-announce, .pme-announce * { color: #fff !important; }
.pme-announce__msg, .pme-announce__msg a { font-size: 12.5px !important; font-weight: 600 !important; text-decoration: none !important; }
.pme-announce .pme-announce__inner { padding-top: 4px !important; padding-bottom: 4px !important; }
#masthead .site-header-row-container-inner { border-radius: 0 0 18px 18px; box-shadow: 0 6px 16px -10px rgba(11, 61, 145, .35); }
@media (max-width: 767px) {
	#masthead { padding: 0 !important; }
	.pme-announce__msg, .pme-announce__msg a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	#mobile-header .site-main-header-inner-wrap, #mobile-header .site-header-row { min-height: 58px !important; }
	#mobile-header .custom-logo, #mobile-header .brand img { max-height: 38px !important; width: auto !important; }
}

/* ---- Card pictures: white, edge to edge, trimmed to the books (10 px above, 6 px below) ---- */
ul.products li.product .pme-cover:has(.is-trim) { aspect-ratio: auto !important; display: block !important; padding: 0 !important; background: #fff !important; }
ul.products li.product .pme-cover__book.is-trim {
	display: block; width: 100% !important; max-width: none; height: auto !important; aspect-ratio: auto !important;
	padding: 10px 0 6px; overflow: hidden; filter: none !important; box-shadow: none !important;
}
ul.products li.product .pme-cover__book.is-trim img {
	width: 100% !important; height: auto !important; aspect-ratio: var(--ar, 1) !important; object-fit: fill !important;
	margin: calc(var(--tt, 0) * -100%) 0 calc(var(--tb, 0) * -100%) !important; clip-path: none !important;
}
/* Square pictures that were not trimmed: size by width (a % height inside an aspect-ratio box shrank them in some browsers). */
ul.products li.product .pme-cover__book.is-square:not(.is-trim) { width: 100%; height: auto; }
ul.products li.product:hover .pme-cover__book.is-trim { transform: none; }

/* ---- "+" quick add on the photo (in-stock single books; storewide.js puts the button in .pme-qadd) ---- */
ul.products li.product .product-action-wrap.pme-qadd, ul.products li.product .pme-qadd {
	display: block !important; position: absolute !important; z-index: 3 !important; right: 6px !important; left: auto !important; bottom: auto !important;
	top: var(--qa-top, 6px) !important; width: 44px !important; height: 44px !important; margin: 0 !important; padding: 0 !important; transform: none !important; opacity: 1 !important; visibility: visible !important;
}
ul.products li.product .pme-qadd .button,
ul.products li.product .product-action-wrap.pme-qadd .button {
	display: block !important; position: relative; width: 44px !important; height: 44px !important; min-width: 0 !important; min-height: 0 !important;
	padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important;
	box-shadow: none !important; font-size: 0 !important; color: transparent !important; overflow: hidden;
}
ul.products li.product .pme-qadd .button > *, ul.products li.product .pme-qadd .button::before { display: none !important; }
ul.products li.product .pme-qadd .button::after {
	content: "+"; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box;
	background: var(--pme-red, #C8102E); color: #fff; font: 600 22px/26px var(--pme-sans); text-align: center;
	box-shadow: 0 2px 8px rgba(200, 16, 46, .35);
}
ul.products li.product .pme-qadd .button.loading::after { opacity: .6; }
ul.products li.product .pme-qadd .button.added::after { content: "✓"; background: #0F766E; font-size: 16px; box-shadow: none; }
ul.products li.product .added_to_cart, .summary .added_to_cart, .pme-bp-side .added_to_cart { display: none !important; }
/* 2.17.44 (owner 28 Nov 2026): one card everywhere, like the marketplace apps. No wide button on any card at any width
   (the phone card since 2.17.23); the "+" above (on the photo corner) is the only button. */
ul.products li.product .product-action-wrap:not(.pme-qadd),
ul.products li.product > .button:not(.pme-qadd) { display: none !important; }
/* 2.17.45: every product grid with two or more columns is staggered like the home feed; the 4 px row rules are in
   shop-mobile.css. The "+" stays on the photo corner (above). */
/* Option sheet for "+" on a product with options (storewide.js 1b; looks like the "Ditambah ke troli" sheet). */
.pme-optsheet__head { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; }
.pme-optsheet__head img { flex: none; width: 72px; height: 72px; object-fit: contain; border-radius: 12px; box-shadow: 0 0 0 1px #E6E9F0; background: #fff; }
.pme-optsheet__head > div { flex: 1; min-width: 0; }
.pme-optsheet__head .pme-added__x { margin: -6px -6px 0 0; }
.pme-optsheet__t { margin: 0 0 4px; font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--pme-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pme-optsheet__p { margin: 0; font-weight: 700; font-size: 17px; color: var(--pme-red, #C8102E); }
.pme-optsheet__p del { color: var(--pme-muted); font-weight: 500; font-size: 13px; margin-right: 6px; }
.pme-optsheet__p ins { text-decoration: none; }
.pme-optsheet__body { max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.pme-optsheet__body form.cart { margin: 0 !important; }
.pme-optsheet__body table.variations { width: 100%; margin: 0 0 6px; border: 0; }
.pme-optsheet__body table.variations th, .pme-optsheet__body table.variations td { border: 0 !important; background: none !important; padding: 0 0 8px !important; text-align: left; }
.pme-optsheet__body .reset_variations { display: none !important; }   /* tapping the chosen option again clears it */
.pme-optsheet__body .quantity input.qty { width: 64px; min-height: 46px; border-radius: 999px !important; text-align: center; }
.pme-optsheet__body .woocommerce-variation-price { display: none; }
.pme-optsheet__body .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pme-optsheet__body .single_add_to_cart_button { flex: 1; min-height: 46px; border-radius: 999px !important; }
@media (max-width: 575px) {
	ul.products li.product .product-action-wrap.pme-qadd { display: block !important; }
}

/* ---- Home: picture shortcuts ---- */
.pme-hshort {
	display: grid; grid-template-columns: repeat(var(--cols, 12), 64px); grid-auto-rows: max-content; gap: 10px 6px;
	overflow-x: auto; scrollbar-width: none; margin: 14px auto 0; padding: 4px 16px;
}
.pme-hshort::-webkit-scrollbar { display: none; }
.pme-hshort a { display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none !important; color: var(--pme-ink) !important; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; }
.pme-hshort a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.pme-hshort i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: #F4F7FD; transition: transform .15s; }   /* Cozy pastel (2.17.29): each tile gets its family colour inline (pme_shortcut_tile) */
.pme-hshort a:hover i { transform: translateY(-2px); }
.pme-hshort i svg { width: 34px; height: 34px; }
@media (min-width: 1025px) {
	.pme-hshort--home { justify-content: center; grid-template-columns: repeat(var(--cols, 12), 76px); }
	.pme-hshort--home i { width: 54px; height: 54px; }
	.pme-hshort--home i svg { width: 40px; height: 40px; }
}
.pme-hshort--menu { margin: 0 0 12px; padding: 4px 0 8px; border-bottom: 1px solid var(--pme-line, #E3E9F3); }

/* ---- Home: "Untuk anda" feed ---- */
.pme-feed { margin-top: 8px; }
.pme-feed ul.products { margin: 0 !important; }
.pme-feed ul.products > li.pme-tile { list-style: none; margin: 0 !important; border-radius: 18px; box-shadow: var(--pmc-sh, 0 2px 10px rgba(16, 24, 40, .06)); overflow: hidden; align-self: start; }
.pme-feed__more { display: flex; justify-content: center; margin: 18px 0 4px; }
.pme-feed.is-auto .pme-feed__more { visibility: hidden; height: 1px; margin: 0; }
.pme-feed__load { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 8px; font-size: 13px; color: var(--pme-muted); }
.pme-feed__load::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #CBD5E6; border-top-color: #0B3D91; animation: pmespin .8s linear infinite; }
@keyframes pmespin { to { transform: rotate(360deg); } }
.pme-promo { position: relative; padding: 0 !important; background: #0B3D91; }
.pme-promo__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pme-promo__track::-webkit-scrollbar { display: none; }
.pme-promo__slide {
	flex: 0 0 100%; min-width: 0; box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
	min-height: 280px; padding: 18px 14px 30px; text-decoration: none !important; color: #fff !important; background: linear-gradient(160deg, #0B3D91, #1F5BC4);
}
.pme-promo__slide.alt { background: linear-gradient(160deg, #FFF1D2, #FFD98A); color: #1A1F2B !important; }
.pme-promo__tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.pme-promo__slide.alt .pme-promo__tag { background: rgba(11, 61, 145, .1); color: #0B3D91; }
.pme-promo__big { font: 700 25px/1.05 var(--pme-serif); overflow-wrap: anywhere; }
.pme-promo__slide { container-type: inline-size; }
.pme-promo__big { font-size: min(25px, 15cqi); }   /* "PERCUMA" fits a narrow feed column whole (no mid-word break) */
.pme-promo__big small { display: block; margin-top: 6px; font: 600 13px/1.35 var(--pme-sans); opacity: .92; }
.pme-promo__cta { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0B3D91; font-weight: 700; font-size: 13px; }
.pme-promo__slide.alt .pme-promo__cta { background: #0B3D91; color: #fff; }
.pme-promo__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pme-promo__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: width .2s; }
.pme-promo__dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.pme-promo__slide.alt ~ .pme-promo__dots i, .pme-promo:has(.pme-promo__slide.alt:only-child) .pme-promo__dots i { background: rgba(11, 61, 145, .3); }
.pme-stile { padding: 16px 14px !important; background: #E7F6F1; display: flex; flex-direction: column; gap: 10px; }
.pme-stile b { font: 700 19px/1.2 var(--pme-serif); color: #0F4F49; }
.pme-stile p { margin: 0; font-size: 13px; color: #285A55; line-height: 1.4; }
.pme-stile a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 6px 14px; line-height: 1.3; border-radius: 12px; background: #fff; color: #0F766E !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.pme-btile { padding: 14px 12px !important; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.pme-btile b { font: 700 17px/1.2 var(--pme-serif); color: var(--pme-ink); }
.pme-btile__g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pme-btile__g a { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 8px; box-sizing: border-box; border-radius: 12px; background: #F7F9FE; }
.pme-btile__g img { width: 100%; height: 100%; object-fit: contain; }
.pme-btile__all, .pme-wtile a { display: flex; align-items: center; min-height: 40px; font-weight: 700; font-size: 13px; line-height: 1.3; color: #0B3D91 !important; text-decoration: none !important; }
.pme-atile { padding: 0 !important; background: #fff; }
.pme-atile a { display: block; text-decoration: none !important; color: var(--pme-ink) !important; }
.pme-atile img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; }   /* 2.17.54: blog covers are 1200x630 (40:21), whole cover, no side crop */
.pme-atile div { padding: 8px 10px 14px; }
.pme-atile em { display: inline-block; margin-right: 4px; padding: 0 5px; border-radius: 4px; background: #6D28D9; color: #fff; font-style: normal; font-size: 9.5px; line-height: 14px; font-weight: 700; vertical-align: 1px; }
.pme-atile strong { font-size: 13.5px; line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pme-atile small { display: block; margin-top: 4px; font-size: 11px; color: var(--pme-muted); }
.pme-wtile { padding: 16px 14px 8px !important; background: #FFF8E8; }
.pme-wtile b { display: block; font: 700 18px/1.2 var(--pme-serif); color: var(--pme-ink); margin-bottom: 10px; }
.pme-wtile ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pme-wtile li { display: flex; gap: 7px; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: var(--pme-ink); }
.pme-wtile li::before { content: "✓"; color: #0F766E; font-weight: 800; }
/* Phones: the hero makes room for the shortcuts and the feed (its heading stays for screen readers and Google). */
@media (max-width: 575px) {
	.pme-home > .pme-hero2 *:not(h1, h1 *, :has(h1)) { display: none !important; }
	.pme-home > .pme-hero2, .pme-home > .pme-hero2 :has(h1) { padding: 0 !important; margin: 0 !important; min-height: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; }
	.pme-home > .pme-hero2 h1 { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.pme-home > .pme-hshort--home { margin-top: 4px !important; }   /* the hidden hero leaves the section gap with nothing above */
	.pme-feed { padding-left: 16px; padding-right: 16px; }
	.pme-feed .pme-section-head { margin-top: 18px !important; }
}

/* ---- "Ditambah ke troli" sheet (pme.js) ---- */
.pme-added { position: fixed; inset: 0; z-index: 10070; display: flex; align-items: flex-end; justify-content: center; }
.pme-added[hidden] { display: none; }
.pme-added__scrim { position: absolute; inset: 0; background: rgba(15, 30, 70, .35); }
.pme-added__panel {
	position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(15, 30, 70, .25);
	padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .25s ease;
}
.pme-added.is-open .pme-added__panel { transform: none; }
.pme-added__handle { width: 40px; height: 4px; border-radius: 4px; background: #D5D9E2; margin: 0 auto 10px; }
.pme-added__ok { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; color: #0F766E; font-size: 15px; }
.pme-added__ok i { width: 22px; height: 22px; border-radius: 50%; background: #0F766E; color: #fff; font-style: normal; display: grid; place-items: center; font-size: 13px; }
.pme-added__x { margin-left: auto; width: 40px; height: 40px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 24px; line-height: 1; color: #5B6478 !important; padding: 0 !important; }
.pme-added__item { display: flex; gap: 12px; align-items: center; }
.pme-added__item img { flex: none; width: 64px; height: 64px; object-fit: contain; border-radius: 12px; box-shadow: 0 0 0 1px #E6E9F0; background: #fff; }
.pme-added__info { flex: 1; min-width: 0; }
.pme-added__t { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--pme-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pme-added__v { font-size: 12px; color: var(--pme-muted); margin-top: 2px; }
.pme-added__p { color: var(--pme-red, #C8102E); font-weight: 700; margin-top: 3px; }
.pme-added__q { flex: none; display: flex; align-items: center; border-radius: 999px; box-shadow: 0 0 0 1px #D5D9E2; }
.pme-added__q button { width: 36px; height: 36px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 18px; color: #0B3D91 !important; padding: 0 !important; }
.pme-added__q span { min-width: 22px; text-align: center; font-weight: 700; }
.pme-added__ship { margin: 14px 0 4px; font-size: 12.5px; color: var(--pme-ink); }
.pme-added__bar { height: 6px; border-radius: 6px; background: #EEF1F6; overflow: hidden; }
.pme-added__bar i { display: block; height: 100%; background: #0F766E; border-radius: 6px; transition: width .3s; }
.pme-added__btns { display: flex; gap: 10px; margin-top: 14px; }
.pme-added__btns > * { flex: 1; min-height: 46px; border-radius: 999px !important; display: grid; place-items: center; font-weight: 700; font-size: 14.5px; text-decoration: none !important; }
.pme-added__keep { border: 0 !important; background: #fff !important; box-shadow: inset 0 0 0 1.5px #0B3D91 !important; color: #0B3D91 !important; }
.pme-added__pay { background: var(--pme-red, #C8102E) !important; color: #fff !important; }
.pme-added.is-busy .pme-added__q { opacity: .5; pointer-events: none; }
html.pme-added-open { overflow: hidden; }
@media (min-width: 768px) {
	.pme-added { align-items: center; }
	.pme-added__panel { border-radius: 18px; padding-bottom: 16px; transform: translateY(16px); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
	.pme-added.is-open .pme-added__panel { opacity: 1; }
}

/* ---- Search panel: grey box, magnifier inside, × clear, camera (hidden until photo search exists), Baru dilihat ---- */
.pme-sheet form.pme-search { position: relative; align-items: center; background: #F1F3F7 !important; border: 0 !important; border-radius: 999px !important; min-height: 44px; padding: 0 6px 0 40px !important; box-shadow: none !important; }
.pme-sheet form.pme-search::before {
	content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
	background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
}
.pme-sheet .pme-search__input { background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 44px !important; padding: 0 !important; font-size: 16px !important; flex: 1; min-width: 0; }
.pme-sheet .pme-search__input::-webkit-search-cancel-button { display: none; }
.pme-sheet .pme-search__btn { display: none !important; }
.pme-sclear { flex: none; display: none; width: 28px; height: 28px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #C9CED8 !important; color: #fff !important; box-shadow: none !important; font-size: 17px; line-height: 28px; }
.pme-sclear.is-on { display: block; }
.pme-rvrow { padding: 14px 0 2px; }
.pme-rvrow h3, .pme-sforu h3 { font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--pme-ink); font-family: var(--pme-sans); }
.pme-sforu { padding: 12px 0 2px; }
.pme-schips { display: flex; flex-wrap: wrap; gap: 8px; }
.pme-schip { appearance: none; border: 1px solid #D8E2F4 !important; background: #F5F8FF !important; color: var(--pme-blue) !important; border-radius: 999px; padding: 6px 13px !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3; cursor: pointer; font-family: var(--pme-sans); box-shadow: none !important; transition: background .15s ease, border-color .15s ease; }
.pme-schip:hover, .pme-schip:focus-visible { background: #E7EFFD !important; border-color: var(--pme-blue) !important; color: var(--pme-blue) !important; }
.pme-schip--rec { background: #F7F8FA !important; border-color: #E3E7EF !important; color: var(--pme-ink) !important; font-weight: 500 !important; }
.pme-sr__intent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px 6px; border-bottom: 1px solid var(--pmc-line, #EEF2F8); background: #FAFBFD; }
.pme-sr__corr { font-size: 12.5px; color: var(--pme-muted, #5A667A); margin-right: 4px; }
.pme-sr__ichips { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.pme-sr__ichip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #EBF1FC; color: var(--pme-blue); }
.pme-feed-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; -webkit-overflow-scrolling: touch; }
.pme-feed-tabs::-webkit-scrollbar { display: none; }
.pme-ftab { flex: none; appearance: none; border: 1px solid #D8E2F4 !important; background: #fff !important; color: var(--pme-ink) !important; border-radius: 999px; padding: 7px 15px !important; font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.3; cursor: pointer; font-family: var(--pme-sans); box-shadow: 0 1px 2px rgba(11,61,145,.05) !important; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.pme-ftab:hover, .pme-ftab:focus-visible { border-color: var(--pme-blue) !important; color: var(--pme-blue) !important; }
.pme-ftab.is-on { background: var(--pme-blue) !important; border-color: var(--pme-blue) !important; color: #fff !important; }
.pme-feed ul.products.is-tab-loading { opacity: .55; transition: opacity .15s ease; }
.pme-rvrow__list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pme-rvrow__list::-webkit-scrollbar { display: none; }
.pme-rvrow__list a { flex: 0 0 104px; text-decoration: none !important; color: var(--pme-ink) !important; font-size: 12px; line-height: 1.35; }
.pme-rvrow__list img { width: 104px; height: 104px; object-fit: contain; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #E6E9F0; display: block; margin-bottom: 5px; }
.pme-rvrow__list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pme-rvpop { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); padding: 4px 14px 10px; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(11, 61, 145, .18); }
.pme-rvpop[hidden] { display: none; }
/* Desktop: the pop hangs from the whole header card (storewide.js puts it in .pme-header__main-inner from 1025 px),
   bigger covers, and the header row paints above the menu row (.pme-header__nav is z 1000 for its mega menus) so the
   pop (z 60) no longer sits under the menu. The live results were already above it (z 1100) (2.17.32). */
@media (min-width: 1025px) {
	.pme-header__main { position: relative; z-index: 1001; }
	.pme-header__main-inner > .pme-rvpop { left: 12px; right: 12px; }
	.pme-rvpop .pme-rvrow__list a { flex-basis: 132px; }
	.pme-rvpop .pme-rvrow__list img { width: 132px; height: 132px; }
}
/* The clock side tab is gone: "Baru dilihat" lives in the search (owner 21 Nov 2026). */
.pme-rv-tab, .pme-rv { display: none !important; }

/* ---- Option buttons instead of the variation dropdown (storewide.js) ---- */
.pme-opt__each { margin: 0 0 10px; font-size: 13px; color: var(--pme-muted); }
.pme-opt__h { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--pme-ink); }
.pme-opt__h b { font-weight: 600; color: var(--pme-blue, #0B3D91); }
.pme-opt { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pme-opt__b {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 56px; min-height: 44px; padding: 4px 14px !important;
	border-radius: 14px !important; border: 1.5px solid #D5D9E2 !important; background: #fff !important; color: var(--pme-ink) !important; box-shadow: none !important;
	font: 600 13.5px/1.25 var(--pme-sans) !important; text-align: left; cursor: pointer;
}
.pme-opt__b.has-img { padding-left: 4px !important; }
.pme-opt__b img { flex: none; width: 34px; height: 34px; object-fit: contain; border-radius: 10px; background: #F7F9FE; }
.pme-opt__b[aria-checked="true"] { border-color: #0B3D91 !important; box-shadow: inset 0 0 0 1px #0B3D91 !important; background: #F2F6FD !important; color: #0B3D91 !important; }
.pme-opt__b:focus-visible { outline: 2px solid var(--pme-blue); outline-offset: 2px; }
.pme-opt__b.is-out { color: #9AA1B0 !important; background: #F6F7F9 !important; border-style: dashed !important; cursor: not-allowed; }
.pme-opt__b.is-out span { text-decoration: line-through; }
.pme-opt__b.is-out img { opacity: .45; }
.pme-opt__b.is-out::after { content: attr(data-out); position: absolute; top: -8px; right: 6px; padding: 0 5px; border: 1px solid #D5D9E2; border-radius: 6px; background: #fff; color: #5B6478; font-size: 10px; line-height: 14px; }
table.variations.pme-opt-on th.label { display: none; }
table.variations.pme-opt-on td.value { display: block; padding: 0 !important; }
table.variations.pme-opt-on select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.pme-var-out { margin: 0 0 12px !important; padding: 9px 12px; border-radius: 12px; border: 1px solid #F3C6CE; background: #FFF5F6; color: #A00D25; font-size: 13.5px; font-weight: 600; line-height: 1.35; }

/* ---- Book page gallery (768 px+): the thumbnail column is only as tall as the main photo and scrolls inside ---- */
@media (min-width: 768px) {
	.woocommerce div.product div.images.pme-gallery { align-items: start; }
	.woocommerce div.product div.images.pme-gallery .flex-control-thumbs { max-height: none !important; height: 0; min-height: 100%; align-self: stretch; }
}

/* ---- Forms: label above the box, example inside (checkout, account, address, contact) ---- */
.wc-block-components-text-input, .wc-blocks-components-select, .wc-block-components-address-form .wc-block-components-text-input { display: flex !important; flex-direction: column !important; }
.wc-block-components-text-input label, .wc-blocks-components-select .wc-blocks-components-select__label {
	position: static !important; order: -1 !important; transform: none !important; max-width: none !important;
	margin: 0 0 6px !important; font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--pme-ink, #1F2A44) !important;
}
.wc-block-components-text-input input, .wc-blocks-components-select select { padding: 12px 14px !important; min-height: 48px !important; height: auto !important; }
.wc-blocks-components-select .wc-blocks-components-select__container { height: auto !important; }
.wc-block-components-text-input input::placeholder, .woocommerce form .input-text::placeholder, .wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: #9AA1B0 !important; opacity: 1; }
.woocommerce form .form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--pme-ink, #1F2A44); }


/* ==== Desktop + tablet shopping (2.17.29, owner 21 Nov 2026; proposal 100_Todo/drafts/reports/2026-11-21_desktop-tablet-shopping-ux.md) ==== */

/* #1 Desktop: the header already has search, Troli and account, so no floating pill from 1025 px. Tablet keeps it
   (its small header has only the cart and ☰). */
@media (min-width: 1025px) {
	.pme-bnav { display: none !important; }
	body.pme-has-bnav { padding-bottom: 0 !important; }
	body.pme-has-bnav .pme-totop { bottom: 24px !important; }
}

/* #2 Series (grouped) pages from 720 px (pme.js initSeriesBar): level chips + book list + buy bar in one form, so the
   sticky chips and the sticky "2 buku · RM23.22 [Tambah ke troli]" bar both stop where the list ends.
   Phones keep the total line over the full-width button (and their own buy bar once the list is above the screen). */
@media (min-width: 720px) {
	.woocommerce div.product form.grouped_form .pme-gbar {
		position: sticky; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: flex; align-items: center; gap: 12px;
		margin: 12px 0 0; padding: 8px 8px 8px 20px; background: #fff; border-radius: 999px;
		box-shadow: 0 8px 24px -8px rgba(11, 61, 145, .35), 0 0 0 1px #E3E9F3;
	}
	.woocommerce div.product form.grouped_form .pme-gbar .pme-gtotal { flex: 1 1 auto; min-width: 0; margin: 0 !important; line-height: 1.3; }
	.woocommerce div.product form.grouped_form .pme-gbar .single_add_to_cart_button {
		flex: 0 0 auto; width: auto !important; min-height: 48px; margin: 0 !important; padding: 0 26px !important; white-space: nowrap;
	}
	/* Description card: 2 lines + "Baca lagi" (the book list starts on the first screen). */
	div.product.product-type-grouped .pme-bp-lead.is-short p {
		display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0;
	}
	div.product.product-type-grouped .pme-bp-lead.is-short ul { display: none; }
	.pme-lead-more {
		display: inline-flex; align-items: center; min-height: 32px; margin: 4px 0 0; padding: 0 !important; border: 0 !important;
		background: none !important; box-shadow: none !important; color: var(--pme-blue, #0B3D91) !important; font-size: 14px; font-weight: 700; line-height: 1.3; cursor: pointer;
	}
	.pme-lead-more:hover { text-decoration: underline; }
}
@media (max-width: 719px) {
	.pme-lead-more { display: none; }
}
/* "Ke atas" (fixed, bottom right) must not sit on the sticky buy bar's button: lift it above the bar on series pages. */
@media (min-width: 1025px) {
	body.single-product:has(form.grouped_form .pme-gbar) .pme-totop { bottom: 96px !important; }
}
@media (min-width: 720px) and (max-width: 1024px) {
	body.single-product.pme-has-bnav:has(form.grouped_form .pme-gbar) .pme-totop { bottom: calc(160px + env(safe-area-inset-bottom)) !important; }
}
/* Tablet: the pill menu sits at the bottom, so the bar rides above it; the book column gets more room (42 / 58). */
@media (min-width: 720px) and (max-width: 1024px) {
	body.pme-has-bnav div.product form.grouped_form .pme-gbar { bottom: calc(88px + env(safe-area-inset-bottom)); }   /* .woocommerce is on <body> itself */
	.pme-bp-aud li > strong { line-height: 1.3; }   /* card titles wrap in the narrower left column: label spacing, not body 1.6 */
	body.single-product.woocommerce div.product.type-product.product-type-grouped { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); column-gap: 3%; }
	.woocommerce div.product form.grouped_form .pme-gbar { padding-left: 16px; gap: 8px; }
	.woocommerce div.product form.grouped_form .pme-gbar .pme-gtotal { font-size: 14.5px; }
	.woocommerce div.product form.grouped_form .pme-gbar .single_add_to_cart_button { padding: 0 18px !important; }
}

/* #9 Product / series picture with no thumbnails (one photo), from 720 px: no empty thumbnail column; the picture
   fills the gallery from the left edge and stays square (owner chose square, never a crop). */
@media (min-width: 720px) {
	.woocommerce div.product .woocommerce-product-gallery.pme-gallery:not(:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image)) { grid-template-columns: minmax(0, 1fr); }
	.pme-gallery:not(:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image)) > .woocommerce-product-gallery__wrapper,
	.pme-gallery:not(:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image)) .flex-viewport,
	.pme-gallery:not(:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image)) .woocommerce-product-gallery__trigger { grid-column: 1; }
	.woocommerce div.product div.images.pme-gallery:not(:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image)) .woocommerce-product-gallery__image img:not(.zoomImg) {
		width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain;
	}
}

/* #3 Listing top from 768 px: small title on the left, breadcrumbs on one line, no in-page search box (the header search
   has a "Dalam <page>" chip, shop-mobile.js), no grouping note; the sticky bar holds the level chips (one scrolling
   row with ‹ ›) + Tapis, and a 2nd row with the sort tabs and Semua / SK / SJKC. */
@media (min-width: 768px) {
	.pme-listing .product-archive-hero-section .entry-hero-container-inner { padding: 0 !important; min-height: 0 !important; }
	.pme-listing .product-archive-hero-section .hero-container { padding-top: var(--pme-sp-top) !important; padding-bottom: 0 !important; }
	.pme-listing .product-archive-hero-section .entry-header,
	.pme-listing .product-archive-hero-section .product-archive-title { background: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; justify-content: flex-start !important; align-items: flex-start !important; text-align: left !important; }
	.pme-listing h1.archive-title { font-size: 26px !important; line-height: 1.25 !important; text-align: left !important; margin: 0 !important; }
	.pme-listing .content-area { margin-top: 4px !important; }
	.pme-listing .pme-incat, .pme-listing .pme-collapsed-note { display: none !important; }
	body.pme-mtop-on.pme-listing .kadence-shop-top-row { display: none !important; }   /* only the hidden sort menu was left in it */
	.pme-listing .pme-crumbs + .pme-mtop { margin-top: 0; }
	.pme-listing .pme-crumbs ol { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; margin-bottom: 8px; }
	.pme-listing .pme-crumbs li { flex: 0 0 auto; }
	.pme-listing .pme-crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	.pme-mtop .pme-chiprow--levels { display: block !important; position: relative; }
	.pme-mtop .pme-chiprow__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; }
	.pme-mtop .pme-chiprow__chips::-webkit-scrollbar { display: none; }
	.pme-mtop .pme-chip2 { flex: 0 0 auto; }
	.pme-mtop__row2 { display: flex; align-items: center; gap: 8px 16px; margin-top: 6px; min-width: 0; }
	.pme-mtop__row2 .pme-sorttabs { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
	.pme-mtop__row2 .pme-sorttab { min-height: 40px; }
	.pme-mtop__row2 .pme-schooltabs { flex: 0 0 auto; display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; }
	.pme-mtop__row2 .pme-schooltabs__tab { min-height: 36px; padding: 4px 14px; font-size: 13.5px; line-height: 1.3; white-space: nowrap; }
}
/* Desktop: the bar sits over the card grid, next to the filter column (shop-mobile.js moves it into the page header,
   which the 2-column listing grid lays out); Tapis is the column itself. */
@media (min-width: 1025px) {
	/* Title on the same left edge as the breadcrumbs and the filter column (the content box: max width + edge padding). */
	.pme-listing .product-archive-hero-section .hero-container { padding-left: 0 !important; padding-right: 0 !important; }
	.pme-listing .product-archive-hero-section .entry-header { max-width: var(--global-content-width, 1400px) !important; margin: 0 auto !important; padding: 0 var(--global-content-edge-padding, 24px) !important; box-sizing: border-box; }
	.pme-listing #main .pme-mtop.pme-mtop--grid { grid-column: 2; margin: 0 0 12px; padding: 8px 12px; border-radius: 16px; }
	body.admin-bar .pme-mtop.pme-mtop--grid { top: var(--wp-admin--admin-bar--height, 32px); }
}

/* #5 Listings at 900–1024 px: 4 cards a row (even rows stay; the staggered grid is for phones only). */
@media (min-width: 900px) and (max-width: 1024px) {
	body.pme-listing #main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* #4 Home from 768 px: shortcuts first (inc/home.php), spread evenly across the width; a shorter hero after them
   (tablet: text only; desktop: text + smaller art). */
@media (min-width: 768px) {
	.pme-home > .pme-hshort--home { grid-template-columns: repeat(var(--half, 10), minmax(0, 1fr)); justify-content: stretch; overflow: visible; max-width: var(--global-content-width, 1290px); margin: 8px auto 0 !important; padding: 4px var(--global-content-edge-padding, 24px); box-sizing: border-box; }
	body.pme-cozy .pme-home > .pme-hshort--home + .pme-hero2 { margin-top: var(--pme-sp-group); }
	.pme-home > .pme-hshort--home .pme-hshort__gap { display: none; }   /* two even rows: the icons flow in order, no half-empty first row */
	.pme-home .pme-hero2__page { min-height: 0; }
	.pme-home .pme-hero2__title { font-size: clamp(36px, 4vw, 52px); line-height: 1.08; }
	.pme-home .pme-hero2__lead { margin: 14px 0 20px; }
	.pme-home .pme-hero2__ticks { margin-top: 20px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.pme-home .pme-hero2__art-wrap { display: none; }
	.pme-home .pme-hero2__text { padding: 28px 24px 28px 56px; }
	.pme-home .pme-hero2__lead { font-size: 16px; }
	.pme-home .pme-hero2__cta .pme-btn { width: auto; }
}
@media (min-width: 1025px) {
	.pme-home .pme-hero2__text { padding-top: 32px; padding-bottom: 32px; }
	.pme-home .pme-hero2__art-wrap { max-height: 320px; }
	.pme-home .pme-hero2__art-wrap svg, .pme-home .pme-hero2__art-wrap img { max-height: 300px; width: auto; }
}

/* #7 Cart / checkout: small title on the left at every width (the big title band pushed the cart down), and the
   free-shipping progress above "Teruskan ke pembayaran" (pme.js initCartShip). */
body.woocommerce-cart .entry-hero .entry-header,
body.woocommerce-checkout .entry-hero .entry-header { background: none !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; align-items: flex-start !important; text-align: left !important; }
body.woocommerce-cart .entry-hero .entry-hero-container-inner,
body.woocommerce-checkout .entry-hero .entry-hero-container-inner { min-height: 0 !important; }
body.woocommerce-cart .entry-hero .entry-title,
body.woocommerce-checkout .entry-hero .entry-title { font-size: 26px !important; line-height: 1.25 !important; margin: 0 !important; text-align: left !important; }
body.woocommerce-cart .entry-hero .kadence-breadcrumbs,
body.woocommerce-checkout .entry-hero .kadence-breadcrumbs { margin: 4px 0 0 !important; text-align: left !important; }
body.woocommerce-cart .entry-hero + #primary.content-area,
body.woocommerce-checkout .entry-hero + #primary.content-area { margin-top: var(--pme-sp-block); }
.pme-cartship { margin: 0 0 12px; }
.pme-cartship[hidden] { display: none; }
.pme-cartship__t { margin: 0 0 6px; font-size: 13px; line-height: 1.35; color: var(--pme-ink, #1F2A44); }
.pme-cartship.is-free .pme-cartship__t { color: #0F766E; font-weight: 700; }
.pme-cartship__bar { height: 6px; border-radius: 6px; background: #EEF1F6; overflow: hidden; }
.pme-cartship__bar i { display: block; height: 100%; background: #0F766E; border-radius: 6px; transition: width .3s; }

@media (prefers-reduced-motion: reduce) {
	.pme-added__panel, .pme-promo__dots i, .pme-hshort i { transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.pme-cartship__bar i { transition: none; }
}

/* ==========================================================================
   2.17.30 (owner previews, 21 Nov 2026)
   ========================================================================== */

/* ---- "Untuk anda" feed: staggered at every width (storewide.js spans 4 px rows), tiles with a top tab ---- */
.pme-feed ul.products.pme-masonry { grid-auto-rows: 4px; row-gap: 0 !important; align-items: start; }
.pme-feed ul.products.pme-masonry > li { align-self: start; }
/* Old .pme-tile rules (style.css: 6 px blue left border, dark blue on hover) leak into feed tiles: drop them here. */
.pme-feed ul.products > li.pme-tile { position: relative; border: 0 !important; }
.pme-feed ul.products > li.pme-tile::before { content: ""; position: absolute; left: 16px; top: 0; z-index: 2; width: 44px; height: 5px; border-radius: 0 0 5px 5px; background: var(--pme-tab, #0B3D91); pointer-events: none; }
.pme-feed li.pme-stile { --pme-tab: #0F766E; }
.pme-feed li.pme-promo, .pme-feed li.pme-wtile { --pme-tab: #E0A21B; }
.pme-feed li.pme-btile { --pme-tab: #0B3D91; }
.pme-feed li.pme-atile { --pme-tab: #6D28D9; }
.pme-feed ul.products > li.pme-tile:hover, .pme-feed ul.products > li.pme-tile:focus { border-color: transparent; }
.pme-feed ul.products > li.pme-stile:hover, .pme-feed ul.products > li.pme-stile:focus { background: #E7F6F1; }
.pme-feed ul.products > li.pme-btile:hover, .pme-feed ul.products > li.pme-btile:focus,
.pme-feed ul.products > li.pme-atile:hover, .pme-feed ul.products > li.pme-atile:focus { background: #fff; }
.pme-feed ul.products > li.pme-wtile:hover, .pme-feed ul.products > li.pme-wtile:focus { background: #FFF8E8; }
.pme-feed ul.products > li.pme-promo:hover, .pme-feed ul.products > li.pme-promo:focus { background: #0B3D91; }
.pme-feed .pme-stile a:hover, .pme-feed .pme-stile a:focus-visible { background: #D3EFE6; color: #0F4F49 !important; }
/* Publisher logos: white backgrounds blend into the cell; storewide.js gives every logo the same visual weight. */
.pme-btile__g img { mix-blend-mode: multiply; max-width: 100%; max-height: 100%; }

/* ---- Desktop hover (mouse only): cards lift, icons hop (owner chose "A", not the "+ Troli" pill) ---- */
@media (hover: hover) and (pointer: fine) {
	.woocommerce ul.products li.product, .pme-feed ul.products > li.pme-tile { transition: transform .22s ease, box-shadow .22s ease, border-color .2s; }
	.woocommerce ul.products li.product:hover, .pme-feed ul.products > li.pme-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 61, 145, .14) !important; }
	.pme-hshort i { transition: transform .2s ease, box-shadow .2s ease; }
	.pme-hshort a:hover i { transform: translateY(-4px) scale(1.06); box-shadow: 0 8px 16px rgba(11, 61, 145, .15); }
	.pme-hshort a:hover span { color: var(--pme-blue); }
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product:hover, .pme-feed ul.products > li.pme-tile:hover, .pme-hshort a:hover i { transform: none; }
}

/* ---- Photo search camera in the search box (hidden unless photo-scan.js adds body.pme-scan-on) ---- */
.pme-search__cam { display: none; }
body.pme-scan-on form.pme-search .pme-search__cam {
	position: absolute; top: 50%; right: 52px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0;
	padding: 0 !important; border: 0 !important; border-radius: 50%; background: transparent !important; color: var(--pme-blue) !important; box-shadow: none !important; cursor: pointer;
}
body.pme-scan-on form.pme-search .pme-search__cam:hover,
body.pme-scan-on form.pme-search .pme-search__cam:focus-visible,
body.pme-scan-on form.pme-search .pme-search__cam:active { background: #EEF3FC !important; color: var(--pme-blue) !important; box-shadow: none !important; }
body.pme-scan-on form.pme-search .pme-search__cam:focus:not(:focus-visible) { background: transparent !important; }
body.pme-scan-on form.pme-search .pme-search__cam svg { width: 22px; height: 22px; }
body.pme-scan-on .pme-sheet form.pme-search .pme-search__cam { position: static; flex: none; margin: 0; }
@media (min-width: 1025px) {
	body.pme-scan-on .pme-header form.pme-search .pme-search__input { padding-right: 100px !important; }
}

/* ---- Phones + tablets (< 1025 px): our header is the only header (Kadence's #masthead off, as on desktop).
   Row 1 logo + language + (menu / cart where the bottom bar is not on screen); row 2 the search box, which stays
   pinned at the top while the logo row scrolls away. Sticky bars below it sit under the pinned row. ---- */
/* Header search: the "Dalam <page> ×" chip inside the box, at every width (shop-mobile.js adds it on all
   listings; until 2.17.39 these rules were 768 px+ only, so phones got the theme's red button). */
.pme-header form.pme-search .pme-hscope {
	flex: 0 1 auto; display: inline-flex; align-items: center; gap: 6px; max-width: 45%; min-height: 32px; margin: 0 0 0 6px; padding: 0 10px 0 12px !important;
	border: 0 !important; border-radius: 999px !important; background: #E3ECFB !important; color: var(--pme-blue, #0B3D91) !important; box-shadow: none !important;
	font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; align-self: center;
}
.pme-header form.pme-search .pme-hscope span { overflow: hidden; text-overflow: ellipsis; }
.pme-header form.pme-search .pme-hscope b { font-size: 16px; line-height: 1; font-weight: 600; opacity: .7; }
.pme-header form.pme-search .pme-hscope[hidden] { display: none !important; }
.pme-header form.pme-search.has-scope { display: flex; align-items: center; }
/* Up to 1024 px the white pill is the form itself: magnifier, chip, then the text box, all inside it. */
@media (max-width: 1024px) {
	.pme-header form.pme-search.has-scope { position: relative; gap: 6px; height: 46px; padding: 0 6px 0 44px !important; background: var(--pme-white, #fff); border-radius: 999px; box-shadow: var(--pmc-sh, 0 2px 10px rgba(16, 24, 40, .06)); }
	.pme-header form.pme-search.has-scope .pme-hscope { max-width: 55%; min-height: 30px; margin: 0; padding: 0 8px 0 11px !important; }
	.pme-header form.pme-search.has-scope .pme-search__input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 6px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
	.pme-header form.pme-search.has-scope:focus-within { box-shadow: 0 0 0 1.5px var(--pme-blue, #0B3D91), var(--pmc-sh, 0 2px 10px rgba(16, 24, 40, .06)); }   /* the input's own focus border is off inside the pill */
}
@media (max-width: 599px) {
	.pme-header form.pme-search.has-scope .pme-hscope { max-width: 45%; }   /* leave room for the hint on phones */
}
.pme-htools { display: none; }
@media (max-width: 1024px) {
	body:has(.pme-header) #masthead { display: none !important; }
	.pme-header {
		--pme-hrow: 54px;   /* logo row: 8 px top padding + 46 px row */
		position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--pme-hrow)); z-index: 40;
		background: rgba(247, 249, 254, .96) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	}
	.pme-header .pme-header__main-inner {
		display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand tools acts" "search search search";
		align-items: center; gap: 0 8px; min-height: 0; padding-top: 8px; padding-bottom: 10px;
	}
	.pme-header .pme-brand { display: flex; grid-area: brand; height: 46px; gap: 8px; min-width: 0; }
	.pme-header .pme-brand__logo { width: 38px; height: 38px; }
	.pme-header .pme-brand__tag { display: none; }
	.pme-header .pme-brand__name { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pme-header .pme-htools { grid-area: tools; display: flex; align-items: center; gap: 6px; }
	.pme-header form.pme-search { grid-area: search; display: flex; width: 100%; margin: 0; }
	.pme-header .pme-actions { grid-area: acts; display: none; }
	/* Where the bottom bar is not on screen (cart / checkout; phone book pages swap it for the buy bar): menu + cart here. */
	body:not(.pme-has-bnav) .pme-header .pme-actions { display: flex; }
	body:not(.pme-has-bnav) .pme-header .pme-action--member,
	body:not(.pme-has-bnav) .pme-header .pme-action--account { display: none; }
	.pme-hmenu {
		display: none; place-items: center; width: 40px; height: 40px; padding: 0 !important; border: 0 !important; border-radius: 50%;
		background: #fff !important; color: var(--pme-blue) !important; box-shadow: var(--pmc-sh, 0 2px 10px rgba(16, 24, 40, .06)) !important; cursor: pointer;
	}
	.pme-hmenu:hover, .pme-hmenu:focus-visible, .pme-hmenu:active { background: #EEF3FC !important; color: var(--pme-blue) !important; }
	body:not(.pme-has-bnav) .pme-hmenu { display: grid; }
	/* Search box: grey magnifier on the left, camera (when on) on the right after a thin line (owner's layout "C"). */
	.pme-header form.pme-search .pme-search__input { height: 46px; padding-left: 46px !important; padding-right: 16px !important; border-radius: 999px !important; }
	.pme-header form.pme-search .pme-search__btn {
		left: 6px; right: auto; top: 4px; width: 38px; height: 38px; padding: 0 !important; border-radius: 50%;
		background: transparent !important; color: var(--pme-muted, #7A8599) !important; box-shadow: none !important;
	}
	.pme-header form.pme-search .pme-search__btn:hover, .pme-header form.pme-search .pme-search__btn:focus-visible { background: #EEF3FC !important; color: var(--pme-blue) !important; }
	body.pme-scan-on .pme-header form.pme-search .pme-search__input { padding-right: 58px !important; }
	body.pme-scan-on .pme-header form.pme-search .pme-search__cam { right: 5px; }
	body.pme-scan-on .pme-header form.pme-search .pme-search__cam::before { content: ""; position: absolute; left: -7px; top: 10px; bottom: 10px; width: 1px; background: #DCE4F2; }
	/* Sticky bars sit under the pinned search row (56 px: 46 px box + 10 px padding). */
	.pme-mtop, body.admin-bar .pme-mtop, body.admin-bar .pme-mtop.pme-mtop--grid,
	.pme-lvchips, .pme-bp-jump { top: calc(var(--wp-admin--admin-bar--height, 0px) + 56px) !important; }
}
/* Pages without the bottom bar on screen (cart / checkout; phone book pages, where the buy bar replaces it once you
   scroll): menu + cart sit in the PINNED search row, so they stay reachable after the logo row scrolls away. */
@media (max-width: 1024px) {
	body:not(.pme-has-bnav) .pme-header .pme-header__main-inner { grid-template-areas: "brand tools tools" "search menu acts"; }
	body:not(.pme-has-bnav) .pme-header .pme-htools { display: contents; }
	body:not(.pme-has-bnav) .pme-header .pme-hlang { grid-area: tools; justify-self: end; }
	body:not(.pme-has-bnav) .pme-header .pme-hmenu { grid-area: menu; }
}
@media (max-width: 767px) {
	body.single-product .pme-header .pme-header__main-inner { grid-template-areas: "brand tools tools" "search menu acts"; }
	body.single-product .pme-header .pme-htools { display: contents; }
	body.single-product .pme-header .pme-hlang { grid-area: tools; justify-self: end; }
	body.single-product .pme-header .pme-hmenu { grid-area: menu; display: grid; }
	body.single-product .pme-header .pme-actions { display: flex; }
	body.single-product .pme-header .pme-action--member, body.single-product .pme-header .pme-action--account { display: none; }
}
/* No separate <=600 px admin-bar rule: on this site the admin bar stays FIXED on phones too, so the top offsets above
   (admin-bar height) hold at every width (2.17.32; the 2.17.30 rule hid the pinned search under the bar for staff). */
@media (max-width: 1024px) and (prefers-reduced-transparency: reduce) {
	.pme-header { background: #F7F9FE !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Language menu (phones + tablets, header). */
.pme-hlang { position: relative; }
.pme-hlang summary {
	display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px 0 12px; border-radius: 999px; list-style: none;
	background: #EEF3FC; color: var(--pme-blue); font-weight: 700; font-size: 13px; cursor: pointer; user-select: none;
}
.pme-hlang summary::-webkit-details-marker { display: none; }
.pme-hlang summary .pme-ico { width: 16px; height: 16px; }
.pme-hlang summary .pme-ico--down { width: 14px; height: 14px; transition: transform .15s; }
.pme-hlang[open] summary .pme-ico--down { transform: rotate(180deg); }
.pme-hlang ul { position: absolute; right: 0; top: 44px; z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 10px 28px rgba(16, 24, 40, .16); }
.pme-hlang li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--pmc-ink, #1A1F2B) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.pme-hlang li a:hover, .pme-hlang li a:focus-visible { background: #F4F7FD; }
.pme-hlang li a.is-current { background: #EEF3FC; color: var(--pme-blue) !important; }
.pme-hlang li a.is-current::after { content: "✓"; }

/* ---- Kategori panel "2 panel" (inc/catpanel.php, storewide.js 6b) ---- */
#mobile-drawer.pme-cp-on .drawer-inner { background: #F7F9FE; }
#mobile-drawer.pme-cp-on .site-header-item-mobile-navigation { display: none !important; }
.pme-cp { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; margin: 4px 0 14px; }
#mobile-drawer .pme-cp { margin-left: 8px; margin-right: 10px; }   /* side drawer: the tile grid touched the screen edge (2.17.41) */
.pme-cp i, .pme-drawer-extra i { display: grid; place-items: center; flex: 0 0 auto; }
.pme-cp__rail { display: flex; flex-direction: column; gap: 2px; align-self: start; padding: 6px; background: #fff; border-radius: 18px; box-shadow: 0 2px 8px rgba(16, 24, 40, .05); }
.pme-cp__rail button {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; margin: 0; padding: 8px 2px 9px !important;
	border: 0 !important; border-radius: 12px; background: transparent !important; color: #5B6475 !important; box-shadow: none !important;
	font: 600 11px/1.2 var(--pme-sans) !important; letter-spacing: 0; text-transform: none; text-align: center; cursor: pointer;
}
.pme-cp__rail button:hover, .pme-cp__rail button:focus-visible, .pme-cp__rail button:active { background: #F4F7FD !important; color: var(--pme-blue) !important; box-shadow: none !important; }
.pme-cp__rail button[aria-selected="true"] { background: #F4F7FD !important; color: var(--pme-blue) !important; font-weight: 800 !important; }
.pme-cp__rail button[aria-selected="true"]::before { content: ""; position: absolute; left: -6px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pme-blue); }
.pme-cp__rail i { width: 46px; height: 46px; border-radius: 15px; }
.pme-cp__rail i svg { width: 34px; height: 34px; }
.pme-cp__panes { min-width: 0; }
.pme-cp__title { margin: 4px 0 2px; font: 700 17px/1.25 var(--pme-serif); color: var(--pmc-ink, #1A1F2B); }
.pme-cp__all { display: inline-flex; align-items: center; margin: 2px 0 8px; padding: 6px 12px; border-radius: 999px; background: var(--pme-blue); color: #fff !important; font-size: 12.5px; font-weight: 700; text-decoration: none !important; }
.pme-cp__sub { margin: 12px 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pme-muted, #7A8599); }
.pme-cp__grid, .pme-dx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pme-cp__grid a, .pme-dx-grid a {
	display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0; border-radius: 14px; background: #fff;
	color: var(--pmc-ink, #1A1F2B) !important; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none !important;
	box-shadow: 0 1px 4px rgba(16, 24, 40, .05);
}
.pme-cp__grid a:hover, .pme-cp__grid a:focus-visible, .pme-dx-grid a:hover, .pme-dx-grid a:focus-visible { background: #F4F7FD; color: var(--pme-blue) !important; }
.pme-cp__grid a span, .pme-dx-grid a span { display: block; min-height: 2.4em; padding: 0 3px; text-wrap: balance; overflow-wrap: anywhere; }
.pme-cp__grid--lv a span { min-height: 0; padding: 0 1px; white-space: nowrap; font-size: 10.5px; letter-spacing: -.01em; }   /* "Tingkatan 1" on one line at 360 px */
@media (max-width: 374px) { .pme-cp { grid-template-columns: 78px minmax(0, 1fr); gap: 8px; } .pme-cp__grid--lv a span { font-size: 10px; } }
.pme-cp__grid i, .pme-dx-grid i { width: 42px; height: 42px; border-radius: 14px; }
.pme-cp__grid i svg, .pme-dx-grid i svg { width: 30px; height: 30px; }

/* ---- Bottom of the panel: account / member / store cards, language, Bantuan (header.php pme_render_drawer_extra) ---- */
#mobile-drawer .pme-drawer-extra { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 18px; padding: 0; border: 0; }
.pme-drawer-extra[hidden] { display: none !important; }
.pme-dx-card { background: #fff; border-radius: 18px; padding: 4px; box-shadow: 0 2px 8px rgba(16, 24, 40, .05); }
.pme-dx-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; color: var(--pmc-ink, #1A1F2B) !important; text-decoration: none !important; }
.pme-dx-row + .pme-dx-row { border-top: 1px solid #EEF2F8; border-radius: 0 0 14px 14px; }
.pme-dx-row:hover, .pme-dx-row:focus-visible { background: #F7F9FE; }
.pme-dx-row i { width: 40px; height: 40px; border-radius: 13px; }
.pme-dx-row i svg { width: 30px; height: 30px; }
.pme-dx-row > span { flex: 1; min-width: 0; }
.pme-dx-row b { display: block; font-size: 14.5px; font-weight: 700; }
.pme-dx-row small { display: block; font-size: 12px; font-weight: 600; color: var(--pme-blue); }
.pme-dx-row > .pme-ico { width: 18px; height: 18px; color: #9AA4B5; }
.pme-dx-lang { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pme-dx-lang > span { flex: 1; font-weight: 700; font-size: 14px; }
.pme-dx-seg { display: flex; padding: 3px; border-radius: 999px; background: #F4F7FD; }
.pme-dx-seg a { padding: 6px 12px; border-radius: 999px; color: #5B6475 !important; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.pme-dx-seg a.is-current { background: var(--pme-blue); color: #fff !important; }
.pme-dx-h { margin: 2px 4px 0; font: 700 17px/1.25 var(--pme-serif); color: var(--pmc-ink, #1A1F2B); }
.pme-dx-wa { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: #1FA855; color: #fff !important; font-weight: 800; font-size: 14.5px; text-decoration: none !important; box-shadow: 0 6px 14px rgba(31, 168, 85, .25); }
.pme-dx-wa:hover, .pme-dx-wa:focus-visible { background: #178C46; }

/* ==========================================================================
   Batch 2 header + search (2.17.38, owner 22–23 Nov 2026; report items 17, 19, 21, 29)
   ========================================================================== */

/* 17. Desktop: the header card stays on top; ~140 px down it shrinks to one 62 px row (storewide.js adds .is-stuck). */
@media (min-width: 1025px) {
	body .pme-header { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 8px); z-index: 1000; transition: box-shadow .2s ease; }
	body .pme-header.is-stuck { box-shadow: 0 12px 32px rgba(16, 24, 40, .16); }
	.pme-header.is-stuck .pme-header__nav,
	.pme-header.is-stuck .pme-brand__tag { display: none; }
	.pme-header.is-stuck .pme-header__main-inner { min-height: 62px; padding-top: 0; padding-bottom: 0; }
	.pme-header.is-stuck .pme-brand__logo { width: 42px; height: 42px; }
	.pme-header.is-stuck .pme-brand__name { font-size: 1.3rem; }
	.pme-header.is-stuck .pme-search__input { height: 46px; }
	.pme-header.is-stuck .pme-search__btn { top: 4px; width: 38px; height: 38px; }
	.pme-header.is-stuck .pme-action__tile i { width: 40px; height: 40px; }
	/* Sticky bars further down sit under the header: its full height until it shrinks (--pme-hfull, storewide.js),
	   then under the 62 px row (8 px gap above it, 10 px below). */
	.pme-mtop, body.admin-bar .pme-mtop, .pme-lvchips, .pme-bp-jump { top: calc(var(--wp-admin--admin-bar--height, 0px) + 18px + var(--pme-hfull, 140px)) !important; }
	html.pme-hstuck .pme-mtop, html.pme-hstuck body.admin-bar .pme-mtop, html.pme-hstuck .pme-lvchips, html.pme-hstuck .pme-bp-jump { top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px) !important; }
	.pme-listing #main .pme-filters { top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px) !important; max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 120px) !important; }
	.pme-bp-side { top: calc(var(--wp-admin--admin-bar--height, 0px) + 152px) !important; }   /* under the book jump bar (was 72 px) */
	body.single-product.woocommerce div.product.type-product > .pme-bp-sidewrap > .pme-bp-side { top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px) !important; }
	/* Before the header shrinks, the filter column and the book side box start under its full height. */
	html:not(.pme-hstuck) .pme-listing #main .pme-filters,
	html:not(.pme-hstuck) body.single-product.woocommerce div.product.type-product > .pme-bp-sidewrap > .pme-bp-side { top: calc(var(--wp-admin--admin-bar--height, 0px) + 34px + var(--pme-hfull, 140px)) !important; }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
	body .pme-header { transition: none; }
}

/* 21. Desktop header right side: pastel tile + bold title + small blue line (phones keep the line icons). */
.pme-action__tile { display: none; }
@media (min-width: 1025px) {
	.pme-header .pme-actions { gap: 4px; }
	.pme-header .pme-action,
	.pme-header .pme-action--member {
		flex-direction: row; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 16px;
		color: var(--pmc-ink, #1A1F2B) !important; transition: background-color .15s ease;
	}
	.pme-header .pme-action:hover, .pme-header .pme-action:focus-visible { background: #F4F7FD; }
	.pme-header .pme-action:hover .pme-action__top { text-decoration: none; }
	.pme-header .pme-action__icon { position: relative; display: block; line-height: 0; }
	.pme-header .pme-action__icon > .pme-ico { display: none; }
	.pme-header .pme-action__tile { display: block; }
	.pme-header .pme-action__tile i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; }
	.pme-header .pme-action__tile svg { width: 30px; height: 30px; }
	.pme-header .pme-action__text { align-items: flex-start; }
	.pme-header .pme-action__top,
	.pme-header .pme-action--member .pme-action__top { font-size: 14px; font-weight: 700; max-width: 130px; color: var(--pmc-ink, #1A1F2B); }
	.pme-header .pme-action__sub,
	.pme-header .pme-action--member .pme-action__sub { display: block; font-size: 12px; font-weight: 600; color: var(--pme-blue); white-space: nowrap; }
	.pme-header .pme-action .pme-cart-count { top: -5px; right: -6px; }
}
/* Narrow laptops: titles only (the blue lines come back from 1280 px). */
@media (min-width: 1025px) and (max-width: 1279px) {
	.pme-header .pme-action__sub, .pme-header .pme-action--member .pme-action__sub { display: none; }
	.pme-header .pme-action__top, .pme-header .pme-action--member .pme-action__top { max-width: 96px; }
}

/* 29. Phones / tablets: "Nak Exam? Cari Kami." under the shop name at 12 px, one line; the brand block stays 46 px. */
@media (max-width: 1024px) {
	.pme-header .pme-brand__text { min-width: 0; justify-content: center; }
	.pme-header .pme-brand__name { line-height: 1.15; }
	.pme-header .pme-brand__tag { display: block; margin-top: 1px; font-size: 12px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	/* 29b. With the bottom bar (no ☰, no cart here) the empty third column goes, so the search row uses the full width. */
	body.pme-has-bnav:not(.single-product) .pme-header .pme-header__main-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools" "search search"; }
	body.pme-has-bnav:not(.single-product) .pme-header .pme-actions { display: none; }
	.pme-hmenu { width: 46px; height: 46px; }
}

/* 19. "CADANGAN CARIAN" rows above the products: magnifier, phrase (typed part bold blue), ↖ puts it in the box. */
.pme-sg__row { display: flex; align-items: center; }
.pme-sg__row .pme-sg__opt { flex: 1 1 auto; min-width: 0; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.pme-sg__opt svg { flex: none; color: var(--pme-muted, #7A8599); }
.pme-sg__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--pmc-ink, #1A1F2B); }
.pme-sg__t b { font-weight: 700; color: var(--pme-blue); }
.pme-sg__fill {
	flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin: 0 8px 0 0; padding: 0 !important;
	border: 0 !important; border-radius: 50%; background: transparent !important; color: var(--pme-muted, #7A8599) !important; box-shadow: none !important; cursor: pointer;
}
.pme-sg__fill:hover, .pme-sg__fill:focus-visible, .pme-sg__fill:active { background: #EEF3FC !important; color: var(--pme-blue) !important; }
.pme-sg + .pme-sr__group { border-top: 1px solid var(--pmc-line, #EEF2F8); margin-top: 4px; padding-top: 4px; }
/* 37 (search part). Grey rows in the result shape while the books load. */
.pme-sr__ph { display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.pme-sr__ph i, .pme-sr__ph b {
	display: block; background: linear-gradient(90deg, #EDF0F5 25%, #F7F8FB 45%, #EDF0F5 65%); background-size: 300% 100%; animation: pmeskel 1.3s ease-in-out infinite;
}
.pme-sr__ph i { flex: none; width: 56px; height: 56px; border-radius: 10px; }
.pme-sr__ph > span { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.pme-sr__ph b { height: 11px; width: 80%; border-radius: 6px; }
.pme-sr__ph b + b { width: 40%; }
@media (prefers-reduced-motion: reduce) { .pme-sr__ph i, .pme-sr__ph b { animation: none; } }

/* ==========================================================================
   Hide on scroll (2.17.50, owner 29 Nov 2026): storewide.js 10 sets html.pme-hhide while the visitor scrolls down;
   the header slides up and the bottom bar slides down, both come back on a small scroll up. The sticky bars below
   the header (level chips, filter row, book jump bar) move up into its place while it is away.
   ========================================================================== */
body .pme-header { transition: transform .25s ease, box-shadow .2s ease; }
.pme-bnav { transition: transform .25s ease; }
.pme-mtop, .pme-lvchips, .pme-bp-jump { transition: top .25s ease; }
html.pme-hhide body .pme-header { transform: translateY(calc(-100% - 40px)); box-shadow: none; }
html.pme-hhide .pme-bnav { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); }
html.pme-hhide body.pme-has-bnav:not(.pme-buybar-on) .pme-totop { bottom: calc(16px + env(safe-area-inset-bottom)); }   /* back-to-top drops into the bar's place */
html.pme-hhide .pme-mtop, html.pme-hhide body.admin-bar .pme-mtop, html.pme-hhide body.admin-bar .pme-mtop.pme-mtop--grid,
html.pme-hhide .pme-lvchips, html.pme-hhide .pme-bp-jump,
html.pme-hhide.pme-hstuck .pme-mtop, html.pme-hhide.pme-hstuck body.admin-bar .pme-mtop,
html.pme-hhide.pme-hstuck .pme-lvchips, html.pme-hhide.pme-hstuck .pme-bp-jump { top: var(--wp-admin--admin-bar--height, 0px) !important; }
@media (min-width: 1025px) {
	html.pme-hhide .pme-mtop, html.pme-hhide body.admin-bar .pme-mtop, html.pme-hhide body.admin-bar .pme-mtop.pme-mtop--grid,
	html.pme-hhide .pme-lvchips, html.pme-hhide .pme-bp-jump,
	html.pme-hhide.pme-hstuck .pme-mtop, html.pme-hhide.pme-hstuck body.admin-bar .pme-mtop,
	html.pme-hhide.pme-hstuck .pme-lvchips, html.pme-hhide.pme-hstuck .pme-bp-jump { top: calc(var(--wp-admin--admin-bar--height, 0px) + 8px) !important; }
	.pme-listing #main .pme-filters, .pme-bp-side { transition: top .25s ease; }
	html.pme-hhide .pme-listing #main .pme-filters { top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px) !important; }
	html.pme-hhide .pme-bp-side { top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px) !important; }
	html.pme-hhide body.single-product.woocommerce div.product.type-product > .pme-bp-sidewrap > .pme-bp-side { top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px) !important; }
}
@media (prefers-reduced-motion: reduce) {
	body .pme-header, .pme-bnav, .pme-mtop, .pme-lvchips, .pme-bp-jump, .pme-listing #main .pme-filters, .pme-bp-side { transition: none !important; }
}

/* ==========================================================================
   Listing filter bar (2.17.51, owner 29 Nov 2026). Desktop: no bar over the cards; the sort tabs, Semua / SK / SJKC
   and the search chip sit in a "Susun" card at the top of the Tapis column (shop-mobile.js 5b). Phones / tablets:
   the bar slides away with the header while scrolling down and comes back with it (storewide.js 10).
   ========================================================================== */
.pme-fsort[hidden], .pme-fsort:not(:has(a)) { display: none !important; }   /* empty (no results, no school tabs, no search) */
@media (min-width: 1025px) {
	.pme-fsort { margin: 4px 0 12px; padding: 0 0 14px; border-bottom: 1px solid var(--pme-line, #E3E9F3); }
	.pme-fsort__h { margin: 0 0 8px; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--pmc-ink, #1A1F2B); }
	.pme-fsort .pme-mtop__row2 { display: block; margin: 0; }
	.pme-fsort__count { margin: -4px 0 10px; font-size: 12.5px; line-height: 1.4; color: var(--pme-muted, #5B6475); font-variant-numeric: tabular-nums; }
	.pme-fsort .pme-sorttabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; overflow: visible; border: 0 !important; background: none !important; }
	.pme-fsort .pme-sorttab {
		min-height: 36px; padding: 0 12px; border: 1px solid var(--pme-line, #DCE3EF); border-radius: 999px; background: #fff;
		font-size: 13.5px; transition: border-color .15s ease, background-color .15s ease;
	}
	.pme-fsort .pme-sorttab:hover, .pme-fsort .pme-sorttab:focus-visible { border-color: var(--pme-blue); }
	.pme-fsort .pme-sorttab.is-on { background: var(--pme-blue); border-color: var(--pme-blue); color: #fff !important; }
	.pme-fsort .pme-sorttab.is-on .pme-sorttab__arrows { color: rgba(255, 255, 255, .8); }
	.pme-fsort .pme-schooltabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
	.pme-fsort .pme-schooltabs__tab { min-height: 36px; padding: 4px 12px; font-size: 13.5px; }
	.pme-fsort .pme-qchip { display: inline-flex; max-width: 100%; margin: 10px 0 0; }
}
@media (max-width: 1024px) {
	.pme-mtop { transition: top .25s ease, transform .25s ease; }
	html.pme-hhide .pme-mtop { transform: translateY(calc(-100% - 16px)); }
}
@media (prefers-reduced-motion: reduce) {
	.pme-fsort .pme-sorttab, .pme-mtop { transition: none !important; }
}

/* 2.17.54: page buttons (block editor) get the label line spacing; with Inter a long one wraps on 360 px phones. */
.entry-content .wp-block-button__link { line-height: 1.3; }
.wc-block-checkout__shipping-method-option-title { line-height: 1.3; }   /* 2.17.54: "Ambil sendiri" wraps on 360 px phones with Inter */
.woocommerce-Address-title a.edit { line-height: 1.3; }   /* 2.17.54: "Ubah Alamat penghantaran" wraps at 768 px with Inter */
