/* ==========================================================
   Literasi Modern - Literasi Publisher
   Palet diambil dari logo: biru royal, indigo, biru langit, emas.
   ========================================================== */
:root {
	--lm-navy: #121845;
	--lm-indigo: #1f2a7a;
	--lm-blue: #2446a8;
	--lm-blue-600: #1d3a8f;
	--lm-sky: #3a8fd0;
	--lm-sky-50: #edf4fd;
	--lm-blue-50: #eef1fb;
	--lm-gold: #c9a063;
	--lm-gold-600: #b48a4c;
	--lm-gold-50: #fbf5ea;
	--lm-ink: #0f1433;
	--lm-text: #4a5272;
	--lm-muted: #7b839f;
	--lm-line: #e3e7f1;
	--lm-bg: #f6f8fc;
	--lm-white: #fff;
	--lm-radius: 16px;
	--lm-radius-sm: 10px;
	--lm-shadow-sm: 0 1px 2px rgba(18, 24, 69, .06), 0 2px 8px rgba(18, 24, 69, .05);
	--lm-shadow: 0 10px 30px -12px rgba(18, 24, 69, .22);
	--lm-shadow-lg: 0 24px 60px -20px rgba(18, 24, 69, .35);
	--lm-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--lm-display: "Poppins", var(--lm-font);
	--lm-admin: var(--wp-admin--admin-bar--height, 0px);

	/* Selaraskan palet Blocksy dengan logo (halaman toko, akun, artikel). */
	--theme-palette-color-1: #2446a8;
	--theme-palette-color-2: #1d3a8f;
	--theme-palette-color-3: #4a5272;
	--theme-palette-color-4: #0f1433;
	--theme-palette-color-5: #e3e7f1;
	--theme-palette-color-6: #eef1fb;
	--theme-palette-color-7: #f6f8fc;
	--theme-palette-color-8: #ffffff;
}

body.lm-theme {
	--e-global-color-primary: #2446a8;
	--e-global-color-secondary: #1f2a7a;
	--e-global-color-accent: #c9a063;
	--e-global-color-text: #4a5272;
	font-family: var(--lm-font);
	color: var(--lm-text);
	background: var(--lm-white);
	-webkit-font-smoothing: antialiased;
}
html.lm-lock { overflow: hidden; }

/* Sembunyikan header/footer bawaan Blocksy (diganti header/footer tema ini). */
body.lm-theme #header,
body.lm-theme header.ct-header,
body.lm-theme #footer,
body.lm-theme footer.ct-footer,
body.lm-theme #offcanvas { display: none !important; }

.lm-theme h1, .lm-theme h2, .lm-theme h3 { font-family: var(--lm-display); color: var(--lm-ink); letter-spacing: -.01em; }

.lm-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.lm-page { overflow: hidden; }
.lm-page *, .lm-header *, .lm-footer *, .lm-drawer * { box-sizing: border-box; }
.lm-ico { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Tombol ---------- */
.lm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 15px/1 var(--lm-font); text-decoration: none !important; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.lm-btn:hover { transform: translateY(-1px); }
.lm-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.lm-btn--block { width: 100%; }
.lm-btn--primary { background: var(--lm-blue); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(36, 70, 168, .6); }
.lm-btn--primary:hover { background: var(--lm-blue-600); }
.lm-btn--gold { background: var(--lm-gold); color: var(--lm-navy) !important; box-shadow: 0 8px 22px -8px rgba(201, 160, 99, .7); }
.lm-btn--gold:hover { background: #d5af76; }
.lm-btn--outline { border-color: var(--lm-blue); color: var(--lm-blue) !important; background: #fff; }
.lm-btn--outline:hover { background: var(--lm-blue-50); }
.lm-btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff !important; background: rgba(255, 255, 255, .06); }
.lm-btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.lm-iconbtn {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
	border-radius: 999px; border: 0; background: transparent; color: var(--lm-ink) !important; cursor: pointer;
	transition: background .2s ease, color .2s ease; padding: 0;
}
.lm-iconbtn:hover { background: var(--lm-blue-50); color: var(--lm-blue) !important; }
.lm-iconbtn--solid { background: var(--lm-blue); color: #fff !important; width: 38px; height: 38px; }
.lm-iconbtn--solid:hover { background: var(--lm-blue-600); color: #fff !important; }
.lm-iconbtn.added::after, .lm-iconbtn.loading { opacity: .7; }
.lm-pcard .added_to_cart { display: none !important; }

.lm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--lm-blue) !important; text-decoration: none !important; }
.lm-link:hover { gap: 10px; }
.lm-link .lm-ico { transition: transform .2s; }

.lm-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #dfe8ff;
	font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.lm-pill { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--lm-gold); color: var(--lm-navy); font-size: 10.5px; font-weight: 800; letter-spacing: .03em; vertical-align: 2px; }

.lm-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; }
.lm-tag--new { background: var(--lm-blue); color: #fff; }
.lm-tag--free { background: var(--lm-gold); color: var(--lm-navy); }
.lm-tag--static { position: static; }
.lm-tag--soft { position: static; background: var(--lm-blue-50); color: var(--lm-blue) !important; text-transform: none; letter-spacing: 0; font-weight: 700; }

/* ---------- Topbar & Header ---------- */
.lm-topbar { background: var(--lm-navy); color: #c9d3f3; font-size: 13px; }
.lm-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.lm-topbar span, .lm-topbar a { display: inline-flex; align-items: center; gap: 7px; color: #c9d3f3 !important; text-decoration: none !important; }
.lm-topbar .lm-ico { color: var(--lm-gold); }
.lm-topbar a:hover { color: #fff !important; }

.lm-header {
	position: sticky; top: var(--lm-admin); z-index: 999;
	background: linear-gradient(100deg, #121845 0%, #1f2a7a 45%, #2446a8 75%, #3a8fd0 100%);
	border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .25s ease;
	isolation: isolate;
}
.lm-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px 120px at 82% 0%, rgba(232, 199, 143, .22), transparent 70%), radial-gradient(360px 120px at 18% 100%, rgba(58, 143, 208, .25), transparent 70%); }
.lm-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, #c9a063 30%, #e8c78f 50%, #c9a063 70%, transparent); opacity: .7; }
.lm-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(18, 24, 69, .6); }
.lm-header__in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.lm-logo { display: inline-flex; align-items: center; flex: none; }
.lm-header .lm-logo { background: #fff; border-radius: 12px; padding: 4px 10px 4px 6px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); overflow: hidden; height: 48px; }
.lm-logo img { height: 64px; width: auto; display: block; margin: -11px -26px -10px -14px; max-width: none; }
.lm-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.lm-nav__list { display: flex; flex-wrap: nowrap; gap: 2px; list-style: none; margin: 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.lm-nav__list > li { position: relative; margin: 0; }
.lm-nav__list a {
	display: inline-flex; align-items: center; padding: 8px 11px; border-radius: 999px; white-space: nowrap;
	font-weight: 600; font-size: 13.5px; color: #e3e9fb !important; text-decoration: none !important; transition: background .2s, color .2s;
}
.lm-nav__list a:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.lm-nav__list .current-menu-item > a, .lm-nav__list a[aria-current] { color: #121845 !important; background: #fff; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.lm-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin: 6px 0 0; list-style: none; background: #fff; border: 1px solid var(--lm-line); border-radius: 14px; box-shadow: var(--lm-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.lm-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.lm-nav__list .sub-menu a { display: flex; border-radius: 8px; color: var(--lm-ink) !important; }
.lm-header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lm-header .lm-iconbtn { color: #fff !important; }
.lm-header .lm-iconbtn:hover { background: rgba(255, 255, 255, .14); color: #fff !important; }
.lm-header .lm-btn--primary { background: var(--lm-gold); color: var(--lm-navy) !important; box-shadow: 0 8px 20px -8px rgba(201, 160, 99, .8); }
.lm-header .lm-btn--primary:hover { background: #d5af76; }
.lm-cart__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--lm-gold); color: var(--lm-navy); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.lm-burger { display: none; }

.lm-searchbar { border-top: 1px solid var(--lm-line); background: #fff; padding: 14px 0; }
.lm-searchbar__form { display: flex; align-items: center; gap: 12px; }
.lm-searchbar__form .lm-ico { color: var(--lm-muted); }
.lm-searchbar__form input[type=search] { flex: 1; height: 46px; border: 0 !important; outline: 0; box-shadow: none !important; font: 500 16px var(--lm-font); color: var(--lm-ink); background: transparent; padding: 0 !important; }

/* Drawer mobile */
.lm-drawer { position: fixed; inset: 0; z-index: 100000; background: rgba(15, 20, 51, .5); opacity: 0; transition: opacity .25s; }
.lm-drawer.is-open { opacity: 1; }
.lm-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 18px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
.lm-drawer.is-open .lm-drawer__panel { transform: none; }
.lm-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.lm-drawer__head .lm-logo img { height: 54px; margin: -9px -22px -8px -12px; }
.lm-drawer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lm-drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 12px; font-weight: 700; font-size: 16px; color: var(--lm-ink) !important; text-decoration: none !important; }
.lm-drawer__list a:hover, .lm-drawer__list .current-menu-item > a { background: var(--lm-blue-50); color: var(--lm-blue) !important; }
.lm-drawer__list .sub-menu { list-style: none; padding-left: 12px; }

/* ---------- Hero ---------- */
.lm-hero { position: relative; color: #fff; background: var(--lm-navy); isolation: isolate; }
.lm-hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(600px 420px at 85% 20%, rgba(58, 143, 208, .45), transparent 70%),
		radial-gradient(520px 380px at 10% 110%, rgba(201, 160, 99, .22), transparent 70%),
		linear-gradient(135deg, #121845 0%, #1f2a7a 55%, #2446a8 100%);
}
.lm-hero__bg::after {
	content: ""; position: absolute; inset: 0; opacity: .5;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.lm-hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.lm-hero__title { margin: 20px 0 18px; font-size: clamp(26px, 4.1vw, 54px); line-height: 1.08; font-weight: 800; color: #fff !important; letter-spacing: -.02em; }
.lm-hero__l1 { display: block; white-space: nowrap; }
.lm-hero__l2 { display: block; white-space: nowrap; background: linear-gradient(90deg, #e8c78f, #c9a063); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lm-hero__lead { max-width: 540px; margin: 0 0 28px; font-size: 18px; line-height: 1.65; color: #c9d3f3; }
.lm-hero__search { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 7px 7px 7px 18px; border-radius: 999px; background: #fff; box-shadow: var(--lm-shadow-lg); }
.lm-hero__search .lm-ico { color: var(--lm-muted); }
.lm-hero__search input[type=search] { flex: 1; min-width: 0; height: 46px; border: 0 !important; box-shadow: none !important; outline: 0; background: transparent; padding: 0 !important; font: 500 16px var(--lm-font); color: var(--lm-ink); }
.lm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lm-hero__stats { display: flex; gap: 36px; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.lm-hero__stats div { margin: 0; }
.lm-hero__stats dt { font: 800 28px/1 var(--lm-display); color: #fff; }
.lm-hero__stats dd { margin: 6px 0 0; font-size: 13.5px; color: #aebbe6; }

.lm-hero__art { position: relative; height: 470px; }
.lm-hero__ring { position: absolute; inset: 40px 30px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .22); animation: lm-spin 60s linear infinite; }
.lm-hero__book { position: absolute; display: block; width: 220px; aspect-ratio: 3 / 4.2; border-radius: 6px 14px 14px 6px; overflow: hidden; background: #fff; box-shadow: -6px 0 0 rgba(0, 0, 0, .12) inset, 0 30px 60px -18px rgba(0, 0, 0, .6); transition: transform .4s ease; }
.lm-hero__book img, .lm-hero__book .lm-cover-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-hero__book--1 { left: 50%; top: 40px; transform: translateX(-50%); z-index: 3; width: 240px; }
.lm-hero__book--2 { left: 4%; top: 120px; transform: rotate(-9deg); z-index: 2; opacity: .95; }
.lm-hero__book--3 { right: 2%; top: 120px; transform: rotate(9deg); z-index: 2; opacity: .95; }
.lm-hero__art:hover .lm-hero__book--1 { transform: translateX(-50%) translateY(-6px); }
.lm-hero__badge { position: absolute; left: 6%; bottom: 10px; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--lm-ink); box-shadow: var(--lm-shadow-lg); max-width: 270px; }
.lm-hero__badge .lm-ico { color: var(--lm-gold-600); }
.lm-hero__badge b { display: block; font-size: 12px; color: var(--lm-muted); font-weight: 600; }
.lm-hero__badge span { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }

/* ---------- Keunggulan ---------- */
.lm-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: -40px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--lm-line); border-radius: 20px; box-shadow: var(--lm-shadow); padding: 8px; max-width: 1192px; }
.lm-perk { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.lm-perk + .lm-perk { border-left: 1px solid var(--lm-line); }
.lm-perk > span { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--lm-blue-50); color: var(--lm-blue); }
.lm-perk b { display: block; color: var(--lm-ink); font-size: 15px; }
.lm-perk small { color: var(--lm-muted); font-size: 13px; }

/* ---------- Section umum ---------- */
.lm-section { padding: 88px 0; }
.lm-section--tight { padding: 48px 0; }
.lm-section--tint { background: var(--lm-bg); }
.lm-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.lm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lm-blue); }
.lm-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lm-gold); border-radius: 2px; }
.lm-eyebrow--light { color: #e8c78f; }
.lm-h2 { margin: 10px 0 0 !important; font-size: clamp(26px, 3.2vw, 38px) !important; line-height: 1.15 !important; font-weight: 800 !important; }
.lm-shead__desc { margin: 10px 0 0; max-width: 560px; }

.lm-grid { display: grid; gap: 24px; }
.lm-grid--products { grid-template-columns: repeat(var(--cols, 4), 1fr); }
.lm-grid--ebooks { grid-template-columns: repeat(4, 1fr); }
.lm-grid--shelf { grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.lm-grid--posts { grid-template-columns: repeat(3, 1fr); }

/* Kategori */
.lm-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lm-cat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: var(--lm-radius); background: #fff; border: 1px solid var(--lm-line); text-decoration: none !important; transition: .25s ease; overflow: hidden; }
.lm-cat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--lm-blue-50); transition: .3s; z-index: 0; }
.lm-cat > * { position: relative; z-index: 1; }
.lm-cat__ico { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--lm-blue), var(--lm-sky)); color: #fff; }
.lm-cat__name { font-weight: 700; color: var(--lm-ink); font-size: 15.5px; line-height: 1.3; }
.lm-cat__count { font-size: 13px; color: var(--lm-muted); }
.lm-cat:hover { border-color: transparent; box-shadow: var(--lm-shadow); transform: translateY(-3px); }
.lm-cat:hover::after { transform: scale(1.6); background: var(--lm-gold-50); }

/* Kartu produk */
.lm-pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--lm-radius); border: 1px solid var(--lm-line); overflow: hidden; transition: .3s ease; }
.lm-pcard:hover { box-shadow: var(--lm-shadow); transform: translateY(-4px); border-color: transparent; }
.lm-pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--lm-blue-50), #fff); overflow: hidden; padding: 22px 30px; }
.lm-pcard__media img, .lm-pcard__media .lm-cover-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 16px 30px -14px rgba(18, 24, 69, .55); transition: transform .4s ease; display: block; }
.lm-pcard:hover .lm-pcard__media img { transform: scale(1.04) rotate(-1deg); }
.lm-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.lm-pcard__cat { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lm-sky); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-pcard__title { margin: 0 0 14px !important; font: 700 16px/1.4 var(--lm-font) !important; }
.lm-pcard__title a { color: var(--lm-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-pcard__title a:hover { color: var(--lm-blue) !important; }
.lm-pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lm-price { font: 800 17px var(--lm-display); color: var(--lm-blue); }
.lm-price--ask { font: 700 14px var(--lm-font); color: var(--lm-muted); }

/* Sampul pengganti */
.lm-cover-ph { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 18px 16px; color: #fff; text-align: left; }
.lm-cover-ph strong { font: 700 17px/1.25 var(--lm-display); }
.lm-cover-ph__brand { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.lm-cover-ph .lm-ico { color: var(--lm-gold); }
.lm-cover-ph--0 { background: linear-gradient(160deg, #2446a8, #121845); }
.lm-cover-ph--1 { background: linear-gradient(160deg, #3a8fd0, #1f2a7a); }
.lm-cover-ph--2 { background: linear-gradient(160deg, #1f2a7a, #0b0f2e); }

/* ---------- Pustaka Gratis (beranda) ---------- */
.lm-free { position: relative; background: linear-gradient(135deg, #121845, #1f2a7a); color: #c9d3f3; isolation: isolate; }
.lm-free::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 0%, rgba(58, 143, 208, .35), transparent 70%), radial-gradient(400px 300px at 0% 100%, rgba(201, 160, 99, .18), transparent 70%); }
.lm-free__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.lm-free__head .lm-h2 { color: #fff !important; }
.lm-free__head p { max-width: 560px; margin: 12px 0 0; line-height: 1.65; }
.lm-free .lm-ecard__title a { color: #fff !important; }
.lm-free .lm-ecard__meta { color: #aebbe6; }
.lm-free .lm-ecard__meta b { color: #e2e8fb; }
.lm-free .lm-ecard__cat { color: #e8c78f; }
.lm-free__empty { display: flex; align-items: center; gap: 16px; padding: 28px; border-radius: var(--lm-radius); border: 1px dashed rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.lm-free__empty .lm-ico { color: var(--lm-gold); }
.lm-free__empty p { margin: 0; }
.lm-free__empty b { color: #fff; }

/* Kartu buku gratis (rak ala majalah digital) */
.lm-ecard { display: flex; flex-direction: column; }
.lm-ecard__media { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 4px 10px 10px 4px; overflow: hidden; background: var(--lm-blue-50); box-shadow: -5px 0 0 rgba(0, 0, 0, .08) inset, 0 18px 34px -16px rgba(18, 24, 69, .55); transition: transform .35s ease, box-shadow .35s ease; }
.lm-ecard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-ecard__media::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 10px; background: linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(255, 255, 255, .15), transparent); }
.lm-ecard__hover { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--lm-blue); font-weight: 700; font-size: 14px; opacity: 0; transform: translateY(8px); transition: .3s ease; }
.lm-ecard:hover .lm-ecard__media { transform: translateY(-6px); box-shadow: -5px 0 0 rgba(0, 0, 0, .08) inset, 0 28px 44px -18px rgba(18, 24, 69, .65); }
.lm-ecard:hover .lm-ecard__hover { opacity: 1; transform: none; }
.lm-ecard__body { padding-top: 16px; }
.lm-ecard__cat { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--lm-sky); margin-bottom: 4px; }
.lm-ecard__title { margin: 0 0 6px !important; font: 700 18px/1.3 var(--lm-display) !important; }
.lm-ecard__title a { color: var(--lm-ink) !important; text-decoration: none !important; }
.lm-ecard__title a:hover { color: var(--lm-blue) !important; }
.lm-ecard__meta { margin: 0; font-size: 13.5px; color: var(--lm-muted); line-height: 1.5; }
.lm-ecard__meta b { color: var(--lm-blue); font-weight: 700; }

/* ---------- Layanan penerbitan ---------- */
.lm-publish { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.lm-publish__intro p { margin: 16px 0 26px; font-size: 17px; line-height: 1.7; }
.lm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; counter-reset: none; }
.lm-steps li { position: relative; margin: 0; padding: 26px 24px; border-radius: var(--lm-radius); background: #fff; border: 1px solid var(--lm-line); transition: .25s; }
.lm-steps li:hover { box-shadow: var(--lm-shadow); border-color: transparent; }
.lm-steps li > .lm-ico { color: var(--lm-blue); }
.lm-steps__n { position: absolute; top: 18px; right: 20px; font: 800 30px var(--lm-display); color: var(--lm-blue-50); -webkit-text-stroke: 1px #cdd6f2; }
.lm-steps h3 { margin: 14px 0 6px !important; font-size: 18px !important; }
.lm-steps p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.lm-steps li:nth-child(2), .lm-steps li:nth-child(4) { transform: translateY(24px); }
.lm-steps li:nth-child(2):hover, .lm-steps li:nth-child(4):hover { transform: translateY(20px); }

/* ---------- Blog ---------- */
.lm-post { background: #fff; border-radius: var(--lm-radius); overflow: hidden; border: 1px solid var(--lm-line); transition: .3s; display: flex; flex-direction: column; }
.lm-post:hover { box-shadow: var(--lm-shadow); transform: translateY(-4px); border-color: transparent; }
.lm-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--lm-blue-50), var(--lm-sky-50)); }
.lm-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.lm-post:hover .lm-post__media img { transform: scale(1.05); }
.lm-post__ph { display: grid; place-items: center; height: 100%; color: var(--lm-blue); }
.lm-post__body { padding: 20px 22px 24px; }
.lm-post__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lm-muted); font-weight: 600; }
.lm-post h3 { margin: 10px 0 8px !important; font: 700 19px/1.35 var(--lm-display) !important; }
.lm-post h3 a { color: var(--lm-ink) !important; text-decoration: none !important; }
.lm-post h3 a:hover { color: var(--lm-blue) !important; }
.lm-post p { margin: 0; font-size: 14.5px; line-height: 1.6; }

/* ---------- Footer ---------- */
.lm-footer { background: var(--lm-navy); color: #aebbe6; padding: 0 0 28px; margin-top: 0; position: relative; }
.lm-footer__cta { position: relative; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 24px; background: linear-gradient(120deg, var(--lm-blue), var(--lm-sky)); color: #e8efff; transform: translateY(-50%); margin-bottom: -30px; box-shadow: var(--lm-shadow-lg); overflow: hidden; }
.lm-footer__cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.lm-footer__cta h2 { color: #fff !important; margin: 0 0 8px !important; font-size: clamp(22px, 2.6vw, 30px) !important; }
.lm-footer__cta p { margin: 0; max-width: 620px; line-height: 1.6; }
.lm-footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.lm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 10px 0 44px; }
.lm-footer__logo { display: inline-block; padding: 10px 14px; background: #fff; border-radius: 12px; }
.lm-footer__logo img { height: 56px; margin: -10px -22px -8px -12px; }
.lm-footer__brand p { margin: 18px 0 0; line-height: 1.7; font-size: 14.5px; max-width: 360px; }
.lm-footer h3 { color: #fff !important; font: 700 16px var(--lm-font) !important; margin: 4px 0 16px !important; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lm-footer li { margin: 0; }
.lm-footer a { color: #aebbe6 !important; text-decoration: none !important; transition: color .2s; }
.lm-footer a:hover { color: #fff !important; }
.lm-footer a.lm-btn--gold { color: var(--lm-navy) !important; }
.lm-footer a.lm-btn--ghost-light { color: #fff !important; }
.lm-footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; }
.lm-footer__contact .lm-ico { color: var(--lm-gold); margin-top: 2px; }
.lm-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
body.lm-theme:not(.home) .lm-footer { margin-top: 120px; }
body.lm-theme.home .lm-footer { margin-top: 110px; }

.lm-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 998; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .65); transition: transform .2s; }
.lm-wa-float:hover { transform: scale(1.07); }

/* ---------- Pustaka Gratis: arsip ---------- */
.lm-libhero { position: relative; padding: 56px 0 64px; color: #c9d3f3; background: linear-gradient(135deg, #121845, #1f2a7a 60%, #2446a8); isolation: isolate; text-align: center; }
.lm-libhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.lm-libhero h1 { color: #fff !important; font-size: clamp(32px, 4.5vw, 52px) !important; font-weight: 800 !important; margin: 18px 0 12px !important; }
.lm-libhero p { max-width: 640px; margin: 0 auto 30px; font-size: 17px; line-height: 1.65; }
.lm-chip--light { color: #f3e2c4; border-color: rgba(232, 199, 143, .4); background: rgba(232, 199, 143, .1); }
.lm-crumbs { font-size: 13.5px; margin-bottom: 22px; color: #aebbe6; }
.lm-crumbs a { color: #dfe8ff !important; text-decoration: none !important; }
.lm-crumbs span { margin: 0 6px; opacity: .6; }
.lm-crumbs--dark { color: var(--lm-muted); }
.lm-crumbs--dark a { color: var(--lm-blue) !important; }
.lm-libfilter { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; padding: 8px; border-radius: 999px; background: #fff; box-shadow: var(--lm-shadow-lg); }
.lm-libfilter__search { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 14px; color: var(--lm-muted); }
.lm-libfilter input[type=search] { flex: 1; min-width: 0; height: 46px; border: 0 !important; box-shadow: none !important; outline: 0; padding: 0 !important; background: transparent; font: 500 16px var(--lm-font); color: var(--lm-ink); }
.lm-libfilter select { height: 48px; border: 1px solid var(--lm-line) !important; border-radius: 999px !important; padding: 0 36px 0 16px !important; font: 600 14.5px var(--lm-font); color: var(--lm-ink); background-color: var(--lm-bg); width: auto !important; }
.lm-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.lm-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--lm-line); background: #fff; color: var(--lm-ink) !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important; transition: .2s; }
.lm-tab small { color: var(--lm-muted); font-weight: 600; }
.lm-tab:hover { border-color: var(--lm-blue); color: var(--lm-blue) !important; }
.lm-tab.is-active { background: var(--lm-blue); border-color: var(--lm-blue); color: #fff !important; }
.lm-tab.is-active small { color: #cdd8ff; }
.lm-libcount { text-align: center; color: var(--lm-muted); margin: 0 0 32px; font-size: 14.5px; }
.lm-empty { text-align: center; padding: 64px 24px; border-radius: 20px; background: var(--lm-bg); border: 1px dashed #cfd7ea; }
.lm-empty .lm-ico { color: var(--lm-blue); }
.lm-empty h2 { margin: 14px 0 6px !important; font-size: 24px !important; }
.lm-empty p { margin: 0 auto 20px; max-width: 460px; }
.lm-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.lm-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--lm-line); color: var(--lm-ink) !important; font-weight: 700; text-decoration: none !important; }
.lm-pagination .page-numbers.current { background: var(--lm-blue); color: #fff !important; border-color: var(--lm-blue); }

/* ---------- Pustaka Gratis: halaman baca ---------- */
.lm-ebook__top { padding: 40px 0 56px; background: linear-gradient(180deg, var(--lm-bg), #fff); }
.lm-ebook__grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.lm-ebook__cover { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: -6px 0 0 rgba(0, 0, 0, .1) inset, 0 34px 60px -24px rgba(18, 24, 69, .6); }
.lm-ebook__cover:hover .lm-ecard__hover { opacity: 1; transform: none; }
.lm-ebook__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-ebook__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.lm-ebook__info h1 { font-size: clamp(28px, 3.6vw, 44px) !important; font-weight: 800 !important; line-height: 1.15 !important; margin: 16px 0 10px !important; }
.lm-ebook__by { margin: 0 0 18px; font-size: 16px; }
.lm-ebook__by b { color: var(--lm-blue); }
.lm-ebook__excerpt { font-size: 17px; line-height: 1.7; margin: 0 0 24px; max-width: 680px; }
.lm-ebook__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.lm-ebook__meta div { padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--lm-line); min-width: 120px; margin: 0; }
.lm-ebook__meta dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--lm-muted); font-weight: 600; }
.lm-ebook__meta dd { margin: 4px 0 0; font-weight: 800; color: var(--lm-ink); font-size: 16px; }
.lm-ebook__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lm-note { color: var(--lm-muted); font-style: italic; }

.lm-reader { border-radius: 20px; overflow: hidden; background: #1b2150; box-shadow: var(--lm-shadow-lg); }
.lm-reader__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--lm-navy); color: #dfe8ff; flex-wrap: wrap; }
.lm-reader__title { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.lm-reader__title .lm-ico { color: var(--lm-gold); }
.lm-reader__ctrl { display: flex; align-items: center; gap: 4px; }
.lm-reader__ctrl i { width: 1px; height: 22px; background: rgba(255, 255, 255, .18); margin: 0 6px; }
.lm-reader__ctrl button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; padding: 0; }
.lm-reader__ctrl button:hover { background: rgba(255, 255, 255, .16); }
.lm-reader__page { min-width: 84px; text-align: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.lm-reader__stage { position: relative; height: min(84vh, 900px); min-height: 460px; overflow: auto; background: radial-gradient(ellipse at center, #2a3170, #151a45); }
.lm-reader__stage iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.lm-reader__pages { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; cursor: pointer; width: max-content; min-width: 100%; margin: 0 auto; }
.lm-reader__pages canvas { display: none; background: #fff; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); }
.lm-reader__pages.is-spread canvas:first-child { border-radius: 4px 0 0 4px; box-shadow: -10px 20px 50px -10px rgba(0, 0, 0, .6), inset -12px 0 18px -12px rgba(0, 0, 0, .3); }
.lm-reader__pages.is-spread canvas + canvas { margin-left: 4px; border-radius: 0 4px 4px 0; }
.lm-reader__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #dfe8ff; font-weight: 600; }
.lm-reader:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.lm-reader:fullscreen .lm-reader__stage { height: auto; flex: 1; }
.lm-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--lm-gold); animation: lm-spin .8s linear infinite; }
.lm-prose { max-width: 820px; font-size: 17px; line-height: 1.8; }

/* ---------- Penyesuaian halaman WooCommerce/Blocksy ---------- */
body.lm-theme .woocommerce ul.products li.product figure,
body.lm-theme ul.products li.product .ct-media-container { border-radius: 12px; overflow: hidden; }
body.lm-theme ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--lm-blue); }
body.lm-theme .hero-section[data-type="type-2"] { background: linear-gradient(135deg, #121845, #2446a8); }
body.lm-theme .hero-section[data-type="type-2"] .page-title,
body.lm-theme .hero-section[data-type="type-2"] .ct-breadcrumbs,
body.lm-theme .hero-section[data-type="type-2"] .ct-breadcrumbs a { color: #fff; }

/* ---------- Animasi ---------- */
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.lm-reveal.is-in { opacity: 1; transform: none; }
.lm-steps li.lm-reveal.is-in:nth-child(2), .lm-steps li.lm-reveal.is-in:nth-child(4) { transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
	.lm-reveal { opacity: 1; transform: none; transition: none; }
	.lm-hero__ring { animation: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1180px) {
	.lm-nav__list a { padding: 7px 8px; font-size: 13px; }
	.lm-hide-md { display: none !important; }
}
@media (max-width: 1024px) {
	.lm-nav { display: none; }
	.lm-burger { display: inline-grid; }
	.lm-header__in { justify-content: space-between; }
	.lm-hero__in { grid-template-columns: 1fr; padding-top: 56px; gap: 24px; }
	.lm-hero__art { height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
	.lm-hero__book { width: 180px; }
	.lm-hero__book--1 { width: 200px; top: 20px; }
	.lm-hero__book--2, .lm-hero__book--3 { top: 80px; }
	.lm-perks { grid-template-columns: repeat(2, 1fr); }
	.lm-perk:nth-child(3) { border-left: 0; }
	.lm-perk:nth-child(n+3) { border-top: 1px solid var(--lm-line); }
	.lm-grid--products, .lm-grid--ebooks, .lm-grid--shelf { grid-template-columns: repeat(3, 1fr); }
	.lm-cats { grid-template-columns: repeat(2, 1fr); }
	.lm-publish { grid-template-columns: 1fr; gap: 32px; }
	.lm-footer__grid { grid-template-columns: 1fr 1fr; }
	.lm-ebook__grid { grid-template-columns: 240px 1fr; gap: 32px; }
}
@media (max-width: 760px) {
	.lm-container { padding: 0 16px; }
	.lm-hide-sm { display: none !important; }
	.lm-topbar__in { justify-content: center; }
	.lm-header__in { min-height: 64px; gap: 8px; }
	.lm-logo img { height: 52px; margin: -9px -21px -8px -11px; }
	.lm-header .lm-logo { height: 40px; padding: 3px 8px 3px 5px; }
	.lm-hero__in { padding-top: 40px; padding-bottom: 72px; }
	.lm-hero__lead { font-size: 16px; }
	.lm-hero__title { font-size: 7.4vw; }
	.lm-hero .lm-chip { white-space: nowrap; font-size: 12px; padding: 6px 12px; max-width: 100%; }
	.lm-hero__search { padding-left: 14px; }
	.lm-hero__search .lm-btn { padding: 0 16px; min-height: 42px; }
	.lm-hero__stats { gap: 22px; }
	.lm-hero__stats dt { font-size: 22px; }
	.lm-hero__art { height: 300px; }
	.lm-hero__book { width: 132px; }
	.lm-hero__book--1 { width: 150px; }
	.lm-hero__book--2 { left: 2%; top: 70px; }
	.lm-hero__book--3 { right: 2%; top: 70px; }
	.lm-hero__badge { left: 0; bottom: 0; }
	.lm-hero__ring { inset: 10px; }
	.lm-perks { grid-template-columns: 1fr; margin-top: -32px; }
	.lm-perk + .lm-perk { border-left: 0; border-top: 1px solid var(--lm-line); }
	.lm-perk { padding: 14px; }
	.lm-section { padding: 60px 0; }
	.lm-shead, .lm-free__head { flex-direction: column; align-items: flex-start; }
	.lm-grid--products, .lm-grid--ebooks, .lm-grid--shelf { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.lm-grid--shelf { gap: 28px 16px; }
	.lm-grid--posts { grid-template-columns: 1fr; }
	.lm-pcard__media { padding: 14px 18px; }
	.lm-pcard__body { padding: 12px 12px 14px; }
	.lm-pcard__title { font-size: 14.5px !important; }
	.lm-price { font-size: 15px; }
	.lm-ecard__title { font-size: 16px !important; }
	.lm-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.lm-cat { grid-template-columns: 1fr; padding: 14px; }
	.lm-cat__ico { grid-row: auto; width: 40px; height: 40px; margin-bottom: 10px; }
	.lm-steps { grid-template-columns: 1fr; }
	.lm-steps li:nth-child(2), .lm-steps li:nth-child(4), .lm-steps li.lm-reveal.is-in:nth-child(2), .lm-steps li.lm-reveal.is-in:nth-child(4) { transform: none; }
	.lm-footer__cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; transform: translateY(-40%); }
	.lm-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.lm-libfilter { flex-wrap: wrap; border-radius: 20px; }
	.lm-libfilter__search { flex-basis: 100%; }
	.lm-libfilter select, .lm-libfilter .lm-btn { flex: 1; }
	.lm-ebook__grid { grid-template-columns: 1fr; }
	.lm-ebook__cover { max-width: 220px; margin: 0 auto; }
	.lm-reader__title { max-width: 100%; }
	.lm-reader__ctrl { width: 100%; justify-content: space-between; }
	.lm-reader__stage { height: 72vh; min-height: 380px; }
	.lm-wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

/* ==========================================================
   v1.2 - Katalog, blog ringkas, Tentang, Kontak
   ========================================================== */
.lm-cathero { position: relative; padding: 44px 0 48px; background: linear-gradient(120deg, #121845, #1f2a7a 55%, #2446a8); color: #c9d3f3; isolation: isolate; overflow: hidden; }
.lm-cathero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .05); z-index: -1; }
.lm-cathero h1 { color: #fff !important; font-size: clamp(28px, 3.6vw, 42px) !important; font-weight: 800 !important; margin: 0 0 8px !important; }
.lm-cathero p { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.6; }
.lm-cathero .lm-crumbs { margin-bottom: 14px; }

/* Bilah alat katalog */
.lm-cattool { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.lm-cattabs { display: flex; gap: 6px; border-bottom: 2px solid var(--lm-line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.lm-cattab { position: relative; padding: 10px 14px 12px; font: 700 17px var(--lm-display); color: var(--lm-muted) !important; text-decoration: none !important; white-space: nowrap; transition: color .2s; }
.lm-cattab:hover { color: var(--lm-ink) !important; }
.lm-cattab.is-active { color: var(--lm-blue) !important; }
.lm-cattab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--lm-blue); }
.lm-catfilter { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.lm-catfield { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.lm-catfield label { font-size: 14px; font-weight: 600; color: var(--lm-ink); }
.lm-catsearch { display: flex; height: 50px; border: 1px solid var(--lm-line); border-radius: 10px; overflow: hidden; background: #fff; width: 360px; max-width: 100%; transition: border-color .2s, box-shadow .2s; }
.lm-catsearch:focus-within { border-color: var(--lm-blue); box-shadow: 0 0 0 3px var(--lm-blue-50); }
.lm-catsearch input[type=search] { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; outline: 0; padding: 0 16px !important; height: 100% !important; font: 500 15px var(--lm-font); color: var(--lm-ink); background: transparent; }
.lm-catsearch button { flex: none; width: 58px; border: 0; background: var(--lm-gold); color: var(--lm-navy); display: grid; place-items: center; cursor: pointer; transition: background .2s; padding: 0; }
.lm-catsearch button:hover { background: #d5af76; }
.lm-catselect { height: 50px !important; min-width: 190px; border: 1px solid var(--lm-line) !important; border-radius: 10px !important; padding: 0 38px 0 16px !important; font: 600 15px var(--lm-font) !important; color: var(--lm-ink) !important; background-color: #fff !important; cursor: pointer; }
.lm-libcount--left { text-align: left; margin-bottom: 18px; }

/* Grid & kartu buku */
.lm-bgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.lm-bgrid--home { grid-template-columns: repeat(var(--bcols, 6), 1fr); gap: 22px; }
.lm-bcard { display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: var(--lm-bg); border: 1px solid var(--lm-line); transition: transform .3s ease, box-shadow .3s ease, background .3s; min-width: 0; }
.lm-section--tint .lm-bcard { background: #fff; }
.lm-bcard:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow); background: #fff; }
.lm-bcard__cover { position: relative; display: block; aspect-ratio: 3 / 4.4; border-radius: 8px; overflow: hidden; background: #e9edf7; box-shadow: 0 8px 18px -10px rgba(18, 24, 69, .5); }
.lm-bcard__cover img, .lm-bcard__cover .lm-cover-ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.lm-bcard:hover .lm-bcard__cover img { transform: scale(1.04); }
.lm-ribbon { position: absolute; top: 0; left: 0; width: 92px; height: 92px; overflow: hidden; z-index: 2; pointer-events: none; }
.lm-ribbon span { position: absolute; top: 18px; left: -30px; width: 130px; transform: rotate(-45deg); background: linear-gradient(90deg, #d8433a, #ef5a4c); color: #fff; text-align: center; font: 800 10.5px/1 var(--lm-font); letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.lm-bcard__badge { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 5px; max-width: 92%; padding: 6px 10px; border-radius: 0 8px 0 0; background: var(--lm-blue); color: #fff; font: 800 10.5px/1.1 var(--lm-font); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-bcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 2px 2px; min-width: 0; }
.lm-bcard__title { margin: 0 0 10px !important; font: 500 15px/1.45 var(--lm-font) !important; min-height: 2.9em; }
.lm-bcard__title a { color: var(--lm-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-bcard__title a:hover { color: var(--lm-blue) !important; }
.lm-bcard__chips { display: flex; gap: 6px; flex-wrap: wrap; min-height: 26px; margin-bottom: 12px; }
.lm-chip2 { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 999px; border: 1px dashed #8fb3e6; background: var(--lm-sky-50); color: var(--lm-blue) !important; font-size: 12.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-bcard__from { font-size: 13px; color: var(--lm-muted); }
.lm-bcard__price { margin: 2px 0 12px; }
.lm-bcard__price b { font: 800 17px var(--lm-display); color: var(--lm-gold-600); }
.lm-bcard__price b.is-ask { font: 700 15px var(--lm-font); color: var(--lm-blue); }
.lm-bcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--lm-line); }
.lm-bcard__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--lm-blue) !important; text-decoration: none !important; white-space: nowrap; }
.lm-bcard__cta:hover { color: var(--lm-blue-600) !important; }
.lm-bcard .added_to_cart { display: none !important; }
.lm-share { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 999px; background: transparent; color: var(--lm-text); cursor: pointer; padding: 0; transition: background .2s, color .2s; }
.lm-share:hover { background: var(--lm-blue-50); color: var(--lm-blue); }
.lm-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100001; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--lm-navy); color: #fff; font-weight: 600; font-size: 14px; opacity: 0; transition: .3s; box-shadow: var(--lm-shadow-lg); }
.lm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Blog ringkas 4 kolom */
.lm-grid--blog { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lm-post--sm .lm-post__media { aspect-ratio: 16 / 10; }
.lm-post--sm .lm-post__body { padding: 14px 16px 18px; }
.lm-post--sm .lm-post__date { font-size: 12px; }
.lm-post--sm h3 { margin: 8px 0 6px !important; font: 700 15.5px/1.4 var(--lm-display) !important; }
.lm-post--sm h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-post--sm p { font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lm-tabs--left { justify-content: flex-start; }

/* Tentang Kami */
.lm-ahero { position: relative; color: #c9d3f3; background: linear-gradient(130deg, #121845 0%, #1f2a7a 55%, #2446a8 100%); isolation: isolate; overflow: hidden; }
.lm-ahero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 360px at 90% 10%, rgba(58, 143, 208, .4), transparent 70%), radial-gradient(420px 300px at 0% 100%, rgba(201, 160, 99, .2), transparent 70%); }
.lm-ahero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.lm-ahero h1 { color: #fff !important; font-size: clamp(30px, 3.8vw, 48px) !important; line-height: 1.12 !important; font-weight: 800 !important; margin: 18px 0 16px !important; }
.lm-ahero h1 span { background: linear-gradient(90deg, #e8c78f, #c9a063); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lm-ahero p { font-size: 17px; line-height: 1.7; margin: 0 0 8px; max-width: 560px; }
.lm-ahero__photo { position: relative; margin: 0; }
.lm-ahero__photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 6px solid rgba(255, 255, 255, .12); }
.lm-ahero__photo figcaption { position: absolute; left: -18px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #fff; color: var(--lm-ink); box-shadow: var(--lm-shadow-lg); }
.lm-ahero__photo figcaption .lm-ico { color: var(--lm-gold-600); }
.lm-ahero__photo figcaption b { display: block; font-size: 15px; }
.lm-ahero__photo figcaption span { font-size: 13px; color: var(--lm-muted); }
.lm-astats { position: relative; z-index: 2; margin-top: -44px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--lm-line); border-radius: 20px; box-shadow: var(--lm-shadow); }
.lm-astats div { padding: 24px; text-align: center; }
.lm-astats div + div { border-left: 1px solid var(--lm-line); }
.lm-astats b { display: block; font: 800 32px var(--lm-display); color: var(--lm-blue); }
.lm-astats span { font-size: 14px; color: var(--lm-muted); }
.lm-astory { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lm-astory__text p { font-size: 17px; line-height: 1.8; margin: 0 0 16px; }
.lm-aserv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lm-aserv > div { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--lm-line); transition: .25s; }
.lm-aserv > div:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow); border-color: transparent; }
.lm-aserv span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--lm-blue), var(--lm-sky)); color: #fff; margin-bottom: 16px; }
.lm-aserv h3 { margin: 0 0 6px !important; font-size: 18px !important; }
.lm-aserv p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.lm-avalues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lm-avalues > div { position: relative; padding: 28px; border-radius: 18px; background: linear-gradient(160deg, var(--lm-blue-50), #fff); border: 1px solid var(--lm-line); overflow: hidden; }
.lm-avalues b { font: 800 44px var(--lm-display); color: transparent; -webkit-text-stroke: 1.5px #c3cdea; display: block; line-height: 1; margin-bottom: 14px; }
.lm-avalues h3 { margin: 0 0 6px !important; font-size: 19px !important; }
.lm-avalues p { margin: 0; line-height: 1.65; }

/* Kontak */
.lm-ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -72px; position: relative; z-index: 2; }
.lm-ccard { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--lm-line); box-shadow: var(--lm-shadow); text-decoration: none !important; color: var(--lm-text) !important; transition: transform .25s; min-width: 0; }
.lm-ccard:hover { transform: translateY(-4px); }
.lm-ccard__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--lm-blue-50); color: var(--lm-blue); margin-bottom: 10px; }
.lm-ccard__ico--wa { background: #e7f9ee; color: #1aa851; }
.lm-ccard__ico--gold { background: var(--lm-gold-50); color: var(--lm-gold-600); }
.lm-ccard small { font-size: 13px; color: var(--lm-muted); font-weight: 600; }
.lm-ccard b { color: var(--lm-ink); font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.lm-ccard em { margin-top: 8px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--lm-blue); display: inline-flex; align-items: center; gap: 6px; }
.lm-cathero:has(+ .lm-section .lm-ccards) { padding-bottom: 110px; }
.lm-cmain { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.lm-cform { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--lm-line); display: flex; flex-direction: column; gap: 14px; }
.lm-cform h2 { margin: 0 !important; font-size: 24px !important; }
.lm-cform > p { margin: 0 0 4px; font-size: 14.5px; }
.lm-cform label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--lm-ink); margin: 0; }
.lm-cform input, .lm-cform select, .lm-cform textarea { width: 100%; border: 1px solid var(--lm-line) !important; border-radius: 10px !important; padding: 12px 14px !important; font: 500 15px var(--lm-font) !important; color: var(--lm-ink) !important; background: var(--lm-bg) !important; box-shadow: none !important; }
.lm-cform input:focus, .lm-cform select:focus, .lm-cform textarea:focus { outline: 0; border-color: var(--lm-blue) !important; background: #fff !important; }
.lm-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lm-cform .lm-btn { align-self: flex-start; margin-top: 4px; }
.lm-cmap { border-radius: 20px; overflow: hidden; border: 1px solid var(--lm-line); min-height: 420px; background: var(--lm-bg); }
.lm-cmap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 1180px) {
	.lm-bgrid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1024px) {
	.lm-bgrid { grid-template-columns: repeat(4, 1fr); }
	.lm-grid--blog { grid-template-columns: repeat(2, 1fr); }
	.lm-cattool { flex-direction: column; align-items: stretch; }
	.lm-ahero__in { grid-template-columns: 1fr; }
	.lm-astats { grid-template-columns: repeat(2, 1fr); }
	.lm-astats div:nth-child(3) { border-left: 0; }
	.lm-astats div:nth-child(n+3) { border-top: 1px solid var(--lm-line); }
	.lm-astory { grid-template-columns: 1fr; gap: 16px; }
	.lm-aserv { grid-template-columns: repeat(2, 1fr); }
	.lm-cmain { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.lm-bgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.lm-bcard { padding: 8px; }
	.lm-bcard__title { font-size: 14px !important; }
	.lm-bcard__price b { font-size: 15px; }
	.lm-catfilter { flex-direction: column; align-items: stretch; }
	.lm-catsearch, .lm-catselect { width: 100% !important; }
	.lm-cattab { font-size: 15px; padding: 8px 10px 10px; }
	.lm-grid--blog { grid-template-columns: 1fr 1fr; gap: 12px; }
	.lm-post--sm p { display: none; }
	.lm-post--sm h3 { font-size: 14px !important; }
	.lm-ahero__photo figcaption { left: 10px; bottom: -18px; }
	.lm-aserv, .lm-avalues { grid-template-columns: 1fr; }
	.lm-astats b { font-size: 26px; }
	.lm-ccards { grid-template-columns: 1fr; margin-top: -60px; }
	.lm-cform { padding: 22px; }
	.lm-cform__row { grid-template-columns: 1fr; }
}

/* ---------- Detail buku ---------- */
.lm-book__top { padding: 32px 0 64px; background: linear-gradient(180deg, var(--lm-bg) 0%, #fff 100%); }
.lm-book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; margin-top: 18px; }
.lm-book__gallery { position: sticky; top: calc(var(--lm-admin) + 96px); }
.lm-book__stage { position: relative; display: grid; place-items: center; padding: 48px 40px; border-radius: 28px; background: radial-gradient(circle at 30% 20%, #3a8fd0 0%, transparent 55%), linear-gradient(145deg, #1f2a7a, #121845); overflow: hidden; isolation: isolate; }
.lm-book__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.lm-book__stage::after { content: ""; position: absolute; left: 50%; bottom: 26px; width: 62%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: rgba(0, 0, 0, .45); filter: blur(14px); z-index: -1; }
.lm-book__cover { width: min(320px, 78%); aspect-ratio: 3 / 4.3; border-radius: 4px 12px 12px 4px; overflow: hidden; background: #fff; box-shadow: inset 6px 0 0 rgba(0, 0, 0, .12), 18px 26px 40px -16px rgba(0, 0, 0, .7); transform: perspective(1200px) rotateY(-12deg); transition: transform .5s ease; position: relative; }
.lm-book__cover::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 14px; background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .25) 60%, transparent); }
.lm-book__stage:hover .lm-book__cover { transform: perspective(1200px) rotateY(0deg); }
.lm-book__cover img, .lm-book__cover .lm-cover-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-book__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.lm-book__thumbs button { width: 64px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--lm-bg); cursor: pointer; }
.lm-book__thumbs button.is-on { border-color: var(--lm-blue); }
.lm-book__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-book__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.lm-book__title { font-size: clamp(28px, 3.4vw, 42px) !important; line-height: 1.15 !important; font-weight: 800 !important; margin: 0 0 10px !important; }
.lm-book__author { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-weight: 600; color: var(--lm-blue); }
.lm-book__buy { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 22px; margin: 18px 0 22px; border-radius: 18px; background: #fff; border: 1px solid var(--lm-line); box-shadow: var(--lm-shadow-sm); }
.lm-book__price small { display: block; font-size: 13px; color: var(--lm-muted); font-weight: 600; margin-bottom: 2px; }
.lm-book__price b { font: 800 28px var(--lm-display); color: var(--lm-gold-600); }
.lm-book__price b .woocommerce-Price-amount { color: inherit; }
.lm-book__price b.is-ask { font-size: 22px; color: var(--lm-blue); }
.lm-book__stock { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: #e7f9ee; color: #1a8a46; font-size: 12px; font-weight: 700; vertical-align: 6px; }
.lm-book__stock.is-out { background: #fdecec; color: #c0392b; }
.lm-book__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lm-book__actions form.cart { display: flex; gap: 10px; align-items: center; margin: 0 !important; }
.lm-book__actions .quantity input { width: 64px; height: 48px; border-radius: 999px !important; text-align: center; border: 1px solid var(--lm-line) !important; }
.lm-book__actions .single_add_to_cart_button { min-height: 48px; padding: 0 24px !important; border-radius: 999px !important; background: var(--lm-blue) !important; color: #fff !important; font: 700 15px var(--lm-font) !important; border: 0 !important; }
.lm-share--box { width: 48px; height: 48px; border: 1px solid var(--lm-line); background: #fff; }
.lm-book__intro p { font-size: 16.5px; line-height: 1.75; margin: 0 0 12px; }
.lm-book__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 20px 0; border: 1px solid var(--lm-line); border-radius: 16px; overflow: hidden; }
.lm-book__specs div { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--lm-line); }
.lm-book__specs div:nth-child(odd) { border-right: 1px solid var(--lm-line); }
.lm-book__specs dt { font-size: 12.5px; color: var(--lm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.lm-book__specs dd { margin: 4px 0 0; font-weight: 700; color: var(--lm-ink); font-size: 15px; }
.lm-book__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lm-book__trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0; }
.lm-book__trust .lm-ico { color: var(--lm-blue); }
.lm-book__tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--lm-line); margin-bottom: 24px; }
.lm-book__tabs button { position: relative; padding: 12px 16px; border: 0; background: none; font: 700 17px var(--lm-display); color: var(--lm-muted); cursor: pointer; }
.lm-book__tabs button.is-on { color: var(--lm-blue); }
.lm-book__tabs button.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--lm-blue); }
.lm-book__panel.lm-prose { max-width: 860px; }
.lm-book__panel.lm-prose p { margin: 0 0 16px; }
@media (max-width: 1024px) {
	.lm-book__grid { grid-template-columns: 1fr; gap: 32px; }
	.lm-book__gallery { position: static; }
}
@media (max-width: 760px) {
	.lm-book__stage { padding: 32px 20px; border-radius: 20px; }
	.lm-book__cover { width: 62%; }
	.lm-book__specs { grid-template-columns: 1fr; }
	.lm-book__specs div:nth-child(odd) { border-right: 0; }
	.lm-book__buy { padding: 16px; }
}
.lm-book__specs div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.lm-book__specs div:last-child, .lm-book__specs div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

.lm-bcard__price del, .lm-book__price del { font-size: .7em; color: var(--lm-muted); font-weight: 600; margin-right: 4px; }

/* ==========================================================
   v1.3 - Ornamen hero, rekomendasi, kategori, blog berlabel, formulir naskah
   ========================================================== */
/* Ornamen hero (hanya CSS: ringan, animasi transform/opacity) */
.lm-orb { position: relative; height: 460px; }
.lm-orb > span { position: absolute; display: block; will-change: transform; }
.lm-orb__blob { border-radius: 50%; filter: blur(40px); opacity: .55; }
.lm-orb__blob--1 { width: 260px; height: 260px; left: 18%; top: 14%; background: #3a8fd0; animation: lm-float1 14s ease-in-out infinite; }
.lm-orb__blob--2 { width: 200px; height: 200px; right: 8%; top: 40%; background: #c9a063; opacity: .4; animation: lm-float2 16s ease-in-out infinite; }
.lm-orb__blob--3 { width: 180px; height: 180px; left: 30%; bottom: 4%; background: #6f5bd6; opacity: .35; animation: lm-float1 18s ease-in-out infinite reverse; }
.lm-orb__ring { left: 50%; top: 50%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); transform: translate(-50%, -50%); }
.lm-orb__ring--1 { width: 360px; height: 360px; animation: lm-rot 28s linear infinite; }
.lm-orb__ring--2 { width: 260px; height: 260px; border-style: dashed; border-color: rgba(232, 199, 143, .4); animation: lm-rot 20s linear infinite reverse; }
.lm-orb__ring--3 { width: 440px; height: 440px; border-color: rgba(255, 255, 255, .07); }
.lm-orb__ring i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #e8c78f; box-shadow: 0 0 18px #e8c78f; }
.lm-orb__ring--2 i { background: #7cc0ff; box-shadow: 0 0 16px #7cc0ff; width: 10px; height: 10px; top: -5px; margin-left: -5px; }
.lm-orb__core { left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 40px; display: grid !important; place-items: center; color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: lm-bob 6s ease-in-out infinite; }
.lm-orb__core .lm-ico { color: #e8c78f; }
.lm-orb__shape--sq { width: 46px; height: 46px; left: 12%; top: 20%; border-radius: 12px; background: linear-gradient(135deg, #e8c78f, #c9a063); animation: lm-spinfloat 12s ease-in-out infinite; }
.lm-orb__shape--tri { width: 54px; height: 48px; right: 14%; top: 12%; background: linear-gradient(135deg, #7cc0ff, #3a8fd0); clip-path: polygon(50% 0, 100% 100%, 0 100%); animation: lm-spinfloat 15s ease-in-out infinite reverse; }
.lm-orb__shape--dot { width: 22px; height: 22px; right: 22%; bottom: 18%; border-radius: 50%; background: #fff; opacity: .85; animation: lm-float2 9s ease-in-out infinite; }
.lm-orb__shape--pill { width: 90px; height: 26px; left: 8%; bottom: 22%; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .3); animation: lm-float1 11s ease-in-out infinite; }
.lm-orb__shape--plus { width: 28px; height: 28px; right: 6%; top: 58%; background: linear-gradient(#e8c78f, #e8c78f) center / 100% 6px no-repeat, linear-gradient(#e8c78f, #e8c78f) center / 6px 100% no-repeat; animation: lm-rot 10s linear infinite; }
.lm-orb__grid { inset: 8% 6%; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 65%); mask-image: radial-gradient(circle at center, #000 0%, transparent 65%); opacity: .6; }
@keyframes lm-rot { to { transform: translate(-50%, -50%) rotate(360deg); } }
.lm-orb__shape--plus { animation-name: lm-rot2; }
@keyframes lm-rot2 { to { transform: rotate(360deg); } }
@keyframes lm-float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, -22px); } }
@keyframes lm-float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, 18px); } }
@keyframes lm-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes lm-spinfloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .lm-orb > span, .lm-orb__ring { animation: none !important; } }
@media (max-width: 1024px) { .lm-orb { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; } .lm-orb__ring--3 { width: 340px; height: 340px; } .lm-orb__ring--1 { width: 290px; height: 290px; } }
@media (max-width: 760px) { .lm-orb { height: 280px; } .lm-orb__core { width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 30px; } .lm-orb__ring--1 { width: 220px; height: 220px; } .lm-orb__ring--2 { width: 170px; height: 170px; } .lm-orb__ring--3 { width: 270px; height: 270px; } .lm-orb__blob { filter: blur(30px); } }

/* Sinopsis rata kiri-kanan, lebar penuh */
.lm-book__synopsis.lm-prose { max-width: none; text-align: justify; hyphens: auto; -webkit-hyphens: auto; font-size: 16.5px; line-height: 1.8; }

/* Kartu "lihat semua" pengisi rekomendasi */
.lm-bcta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px 16px; border-radius: 14px; border: 2px dashed #c3cdea; background: linear-gradient(160deg, #fff, var(--lm-blue-50)); color: var(--lm-ink) !important; text-decoration: none !important; transition: .3s; min-height: 100%; }
.lm-bcta:hover { border-color: var(--lm-blue); transform: translateY(-4px); box-shadow: var(--lm-shadow); }
.lm-bcta__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--lm-blue), var(--lm-sky)); color: #fff; }
.lm-bcta b { font: 700 17px var(--lm-display); }
.lm-bcta small { color: var(--lm-muted); font-size: 13.5px; line-height: 1.5; }
.lm-bcta__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--lm-gold); color: var(--lm-navy); margin-top: 6px; }

/* Label kategori artikel berwarna di atas gambar */
.lm-post__mediawrap { position: relative; }
.lm-postcat { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 800 11px/1 var(--lm-font); letter-spacing: .06em; text-transform: uppercase; color: #fff !important; text-decoration: none !important; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.lm-postcat--gold { background: linear-gradient(135deg, #e0b56e, #b48a4c); color: #1b1407 !important; }
.lm-postcat--violet { background: linear-gradient(135deg, #8b6cf0, #5b3fd1); }
.lm-postcat--rose { background: linear-gradient(135deg, #f0708a, #c93a5c); }
.lm-postcat--blue { background: linear-gradient(135deg, #3a8fd0, #2446a8); }
.lm-postcat--teal { background: linear-gradient(135deg, #2fc4b2, #138a7d); }
.lm-postcat--indigo { background: linear-gradient(135deg, #4b5bd6, #1f2a7a); }
.lm-tab--gold.is-active { background: #b48a4c; border-color: #b48a4c; }
.lm-tab--violet.is-active { background: #5b3fd1; border-color: #5b3fd1; }
.lm-tab--rose.is-active { background: #c93a5c; border-color: #c93a5c; }
.lm-tab--teal.is-active { background: #138a7d; border-color: #138a7d; }
.lm-tab--indigo.is-active { background: #1f2a7a; border-color: #1f2a7a; }

/* Halaman Kategori */
.lm-katgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lm-katcard { position: relative; display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 8px; min-height: 250px; padding: 24px 28px 24px 12px; border-radius: 24px; overflow: hidden; text-decoration: none !important; color: #c9d3f3 !important; isolation: isolate; transition: transform .35s ease, box-shadow .35s ease; }
.lm-katcard::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.lm-katcard::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); z-index: -1; }
.lm-katcard--blue::before { background: linear-gradient(135deg, #2446a8, #121845); }
.lm-katcard--indigo::before { background: linear-gradient(135deg, #3b2f8f, #121845); }
.lm-katcard--sky::before { background: linear-gradient(135deg, #2b7bbf, #1f2a7a); }
.lm-katcard--gold::before { background: linear-gradient(135deg, #8a6a37, #1f2a7a 70%); }
.lm-katcard:hover { transform: translateY(-6px); box-shadow: var(--lm-shadow-lg); }
.lm-katcard__art { position: relative; height: 200px; }
.lm-katcard__book { position: absolute; top: 50%; left: 50%; width: 104px; aspect-ratio: 3 / 4.3; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6); transition: transform .45s ease; background: #fff; }
.lm-katcard__book img, .lm-katcard__book .lm-cover-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-katcard__book .lm-cover-ph strong { font-size: 11px; }
.lm-katcard__book--1 { transform: translate(-50%, -50%); z-index: 3; }
.lm-katcard__book--2 { transform: translate(-95%, -46%) rotate(-10deg); z-index: 2; opacity: .9; }
.lm-katcard__book--3 { transform: translate(-5%, -46%) rotate(10deg); z-index: 1; opacity: .9; }
.lm-katcard:hover .lm-katcard__book--1 { transform: translate(-50%, -56%); }
.lm-katcard:hover .lm-katcard__book--2 { transform: translate(-110%, -46%) rotate(-14deg); }
.lm-katcard:hover .lm-katcard__book--3 { transform: translate(10%, -46%) rotate(14deg); }
.lm-katcard__count { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(232, 199, 143, .16); color: #f0d7a8; font-size: 12.5px; font-weight: 700; }
.lm-katcard h2 { color: #fff !important; font-size: 26px !important; margin: 12px 0 8px !important; line-height: 1.2 !important; }
.lm-katcard p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; }
.lm-katcard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.lm-katcard:hover .lm-katcard__go { color: #e8c78f; gap: 12px; }
.lm-katfree { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 32px 36px; border-radius: 24px; background: linear-gradient(120deg, #121845, #2446a8); color: #c9d3f3; }
.lm-katfree h2 { color: #fff !important; margin: 8px 0 6px !important; font-size: 26px !important; }
.lm-katfree p { margin: 0; }
.lm-katfree__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.lm-katfree__tags a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; font-size: 13px; text-decoration: none !important; }

/* Formulir naskah */
.lm-nhero { padding: 48px 0 120px; background: linear-gradient(125deg, #121845, #1f2a7a 55%, #2446a8); color: #c9d3f3; position: relative; overflow: hidden; isolation: isolate; }
.lm-nhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px 300px at 85% 20%, rgba(232, 199, 143, .2), transparent 70%), radial-gradient(480px 300px at 10% 100%, rgba(58, 143, 208, .35), transparent 70%); }
.lm-nhero__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.lm-nhero h1 { color: #fff !important; font-size: clamp(28px, 3.6vw, 44px) !important; line-height: 1.15 !important; margin: 16px 0 12px !important; font-weight: 800 !important; }
.lm-nhero h1 span { background: linear-gradient(90deg, #e8c78f, #c9a063); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lm-nhero p { margin: 0; font-size: 16.5px; line-height: 1.7; max-width: 620px; }
.lm-nhero__points { list-style: none; margin: 0; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 12px; }
.lm-nhero__points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14.5px; line-height: 1.5; }
.lm-nhero__points .lm-ico { color: #e8c78f; margin-top: 1px; }
.lm-nform-wrap { position: relative; z-index: 2; max-width: 920px; margin: -100px auto 0; padding: 34px 40px 36px; border-radius: 28px; background: #fff; border: 1px solid var(--lm-line); box-shadow: 0 40px 80px -30px rgba(18, 24, 69, .35); }
.lm-nsteps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; justify-content: space-between; gap: 10px; }
.lm-nsteps li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--lm-muted); font-size: 14.5px; }
.lm-nsteps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lm-line); font-weight: 800; transition: .3s; }
.lm-nsteps li.is-on { color: var(--lm-ink); }
.lm-nsteps li.is-on span { background: var(--lm-blue); border-color: var(--lm-blue); color: #fff; }
.lm-nsteps li.is-done span { background: var(--lm-gold); border-color: var(--lm-gold); color: var(--lm-navy); }
.lm-nbar { height: 6px; border-radius: 6px; background: var(--lm-blue-50); overflow: hidden; margin-bottom: 26px; }
.lm-nbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--lm-blue), var(--lm-sky), var(--lm-gold)); transition: width .45s ease; }
.lm-nform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lm-nstep { display: none; animation: lm-fadein .4s ease; }
.lm-nstep.is-on { display: block; }
@keyframes lm-fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lm-nform legend { font: 800 22px var(--lm-display); color: var(--lm-ink); margin-bottom: 18px; padding: 0; }
.lm-ngrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.lm-nf { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--lm-ink); margin: 0; }
.lm-nf--full { grid-column: 1 / -1; }
.lm-nf em { color: #d8433a; font-style: normal; }
.lm-nf input, .lm-nf select, .lm-nf textarea { width: 100%; border: 1.5px solid var(--lm-line) !important; border-radius: 12px !important; padding: 13px 15px !important; font: 500 15px var(--lm-font) !important; color: var(--lm-ink) !important; background: var(--lm-bg) !important; box-shadow: none !important; transition: border-color .2s, background .2s, box-shadow .2s; }
.lm-nf input:focus, .lm-nf select:focus, .lm-nf textarea:focus { outline: 0; border-color: var(--lm-blue) !important; background: #fff !important; box-shadow: 0 0 0 4px var(--lm-blue-50) !important; }
.lm-nf.is-bad input, .lm-nf.is-bad textarea, .lm-nf.is-bad .lm-ncards, .lm-ncheck.is-bad { border-color: #e06b62 !important; }
.lm-nf.is-bad .lm-ncards { outline: 2px solid #f5c4bf; outline-offset: 4px; border-radius: 12px; }
.lm-ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lm-ncard, .lm-npill { position: relative; margin: 0; cursor: pointer; }
.lm-ncard input, .lm-npill input { position: absolute; opacity: 0; pointer-events: none; }
.lm-ncard span { display: flex; align-items: center; min-height: 56px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--lm-line); background: #fff; font-weight: 600; font-size: 14px; color: var(--lm-text); transition: .2s; }
.lm-ncard input:checked + span { border-color: var(--lm-blue); background: var(--lm-blue-50); color: var(--lm-blue); box-shadow: inset 0 0 0 1px var(--lm-blue); }
.lm-npills { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-npill span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--lm-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--lm-text); transition: .2s; }
.lm-npill span .lm-ico { color: var(--lm-muted); }
.lm-npill input:checked + span { background: var(--lm-navy); border-color: var(--lm-navy); color: #fff; }
.lm-npill input:checked + span .lm-ico { color: #e8c78f; }
.lm-ncard input:focus-visible + span, .lm-npill input:focus-visible + span { outline: 3px solid var(--lm-sky); outline-offset: 2px; }
.lm-ncheck { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--lm-gold-50); border: 1.5px solid transparent; font-size: 14px; line-height: 1.55; margin: 0; cursor: pointer; }
.lm-ncheck input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--lm-blue); flex: none; }
.lm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lm-nerr { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #b0322a; font-weight: 600; font-size: 14px; }
.lm-nnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--lm-line); }
.lm-nnav [data-n="next"], .lm-nnav [data-n="send"] { margin-left: auto; }
.lm-btn.is-busy { opacity: .7; pointer-events: none; }
.lm-ndone { text-align: center; padding: 20px 10px; }
.lm-ndone__ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #2fc47a, #1a8a46); color: #fff; box-shadow: 0 16px 34px -12px rgba(26, 138, 70, .6); }
.lm-ndone h2 { margin: 18px 0 8px !important; font-size: 28px !important; }
.lm-ndone p { max-width: 560px; margin: 0 auto 22px; line-height: 1.7; }
.lm-ndone .lm-hero__actions { justify-content: center; }

@media (max-width: 1024px) {
	.lm-katgrid { grid-template-columns: 1fr; }
	.lm-nhero__in { grid-template-columns: 1fr; }
	.lm-bgrid--home[style*="--bcols:5"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	.lm-katcard { grid-template-columns: 1fr; padding: 20px; }
	.lm-katcard__art { height: 170px; }
	.lm-katfree { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
	.lm-nform-wrap { padding: 24px 18px; border-radius: 20px; margin-top: -90px; }
	.lm-nsteps b { display: none; }
	.lm-ngrid { grid-template-columns: 1fr; }
	.lm-ncards { grid-template-columns: 1fr 1fr; }
	.lm-bgrid--home[style*="--bcols:5"] { grid-template-columns: repeat(2, 1fr); }
	.lm-book__synopsis.lm-prose { text-align: left; }
}

.lm-page [hidden] { display: none !important; }
.lm-nform .lm-nstep { padding: 0 !important; border: 0 !important; margin: 0 !important; }
.lm-nform legend { float: none; width: 100%; }
.lm-nf > span { display: block; }
.lm-nform legend { margin: 0 0 18px !important; padding: 0 !important; }


/* =========================================================
   MOBILE POLISH (tampilan ponsel) - Oktober 2026
   ========================================================= */
@media (max-width: 600px) {
  /* Admin bar WP tidak sticky di layar kecil, jadi header menempel ke atas */
  .admin-bar .lm-header { top: 0 !important; }
}
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }

  /* Hero: ilustrasi dekoratif disembunyikan agar tidak memakan satu layar */
  .lm-hero__art { display: none !important; }
  .lm-hero__in { padding-top: 32px; padding-bottom: 44px; }
  .lm-hero__title { font-size: clamp(26px, 8vw, 34px); line-height: 1.18; }
  .lm-hero__lead { font-size: 15px; line-height: 1.65; }
  .lm-hero__search input::placeholder { font-size: 14px; }
  .lm-hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .lm-hero__actions .lm-btn { width: 100%; justify-content: center; }
  .lm-hero__stats { justify-content: space-between; gap: 12px; }
  .lm-hero__stats dd { font-size: 12px; }

  /* Kartu buku 2 kolom: lebih rapi dan tidak terpotong */
  .lm-bgrid { gap: 12px !important; }
  .lm-bcard { padding: 6px; border-radius: 14px; }
  .lm-bcard__cover { border-radius: 10px; }
  .lm-bcard__badge {
    display: block; left: 6px; right: 6px; bottom: 6px; max-width: none; width: auto;
    font-size: 9px; letter-spacing: .02em; padding: 4px 7px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .lm-bcard__badge .lm-ico { width: 11px; height: 11px; vertical-align: -2px; margin-right: 3px; }
  .lm-bcard__body { padding: 10px 2px 2px; }
  .lm-bcard__title {
    font-size: 13.5px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .lm-bcard__chips { flex-wrap: nowrap; overflow: hidden; }
  .lm-chip2 { max-width: 100%; font-size: 11px; padding: 3px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lm-bcard__from { font-size: 11.5px; }
  .lm-bcard__price { font-size: 15px; }
  .lm-bcard__foot { gap: 6px; padding-top: 8px; }
  .lm-bcard__cta { font-size: 12px; gap: 4px; white-space: nowrap; }

  /* Kartu e-book & artikel */
  .lm-ecard__title { font-size: 14px; line-height: 1.35; }

  /* Tab kategori katalog bisa digeser tanpa merusak lebar layar */
  .lm-cattab { flex: 0 0 auto; }
}
@media (max-width: 360px) {
  .lm-bgrid, .lm-bgrid--home { grid-template-columns: 1fr !important; }
}
