/* ASIA89 Produk (asia89produk.shop) — katalog bacaan, indigo dan amber */
:root {
  --lm-bg: #f7f7fb;
  --lm-surface: #ffffff;
  --lm-surface-alt: #eef0fa;
  --lm-ink: #1c1d33;
  --lm-muted: #4c5070;
  --lm-accent: #2a2f8f;
  --lm-accent-hover: #1e236e;
  --lm-chip: #e4e7f8;
  --lm-chip-hover: #d5daf3;
  --lm-gold: #e0a100;
  --lm-line: #e1e3f0;
  --lm-line-strong: #cdd1e6;
  --lm-on-accent: #ffffff;
  --lm-shadow: 0 1px 4px rgba(28, 29, 51, 0.08);
  --lm-radius: 12px;
  --lm-font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --lm-font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; background: var(--lm-bg); color: var(--lm-ink); font-family: var(--lm-font-sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lm-accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--lm-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2.5px solid var(--lm-gold); outline-offset: 2px; border-radius: 4px; }

.lm-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lm-skip { position: absolute; left: -9999px; top: 0; background: var(--lm-accent); color: var(--lm-on-accent); padding: 10px 16px; z-index: 100; }
.lm-skip:focus { left: 16px; top: 16px; }

.lm-header { position: sticky; top: 0; z-index: 40; background: var(--lm-surface); border-bottom: 1px solid var(--lm-line); }
.lm-logo-row { display: flex; align-items: center; min-height: 78px; padding: 10px 0; }
.lm-brand { display: inline-flex; align-items: center; text-decoration: none; }
.lm-brand img { height: 52px; width: auto; }
.lm-nav-row { background: var(--lm-surface); border-top: 1px solid var(--lm-line); }
.lm-nav { display: flex; flex-wrap: nowrap; gap: 8px; list-style: none; margin: 0; padding: 10px 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lm-nav a { display: inline-flex; align-items: center; color: var(--lm-accent); background: var(--lm-chip); font-weight: 700; font-size: 0.82rem; white-space: nowrap; text-decoration: none; padding: 7px 14px; border-radius: 999px; }
.lm-nav a:hover { color: var(--lm-accent); background: var(--lm-chip-hover); }
.lm-nav a[aria-current="page"] { color: var(--lm-on-accent); background: var(--lm-accent); }

.lm-hero { padding: 22px 0 28px; }
.lm-bc { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 0.86rem; color: var(--lm-muted); }
.lm-bc a { color: var(--lm-accent); text-decoration: none; font-weight: 700; }
.lm-hero-copy { margin: 0 0 16px; }
.lm-meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.86rem; color: var(--lm-muted); margin-bottom: 8px; }
.lm-tag-pill { display: inline-block; background: var(--lm-gold); color: var(--lm-ink); font-weight: 800; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.02em; }
.lm-h1 { font-family: var(--lm-font-display); font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.28; margin: 0; overflow-wrap: anywhere; font-weight: 800; color: var(--lm-ink); }
.lm-edition { margin: 10px 0 0; font-size: 0.92rem; }
.lm-edition a { font-weight: 700; }

.lm-hero-catalog { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; align-items: stretch; }
.lm-hero-media { display: block; background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; min-width: 0; }
.lm-hero-media img,
.lm-hero-media amp-img,
.lm-fig img,
.lm-fig amp-img,
.lm-rel-card img,
.lm-rel-card amp-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; display: block; background: var(--lm-bg); }
.lm-hero-facts { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lm-fact-tile { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; background: var(--lm-surface); border: 1px solid var(--lm-line); border-left: 4px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 14px 16px; box-shadow: var(--lm-shadow); }
.lm-fact-tile span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lm-accent); }
.lm-fact-tile strong { font-size: 1.12rem; font-weight: 800; color: var(--lm-ink); line-height: 1.3; }

.lm-main-wrap { padding: 4px 0 56px; }
.lm-content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.lm-summary { background: var(--lm-surface); border: 1px solid var(--lm-line); border-top: 4px solid var(--lm-accent); border-radius: var(--lm-radius); padding: 18px 20px; box-shadow: none; }
.lm-summary h2 { margin: 0 0 8px; font-family: var(--lm-font-display); font-size: 1.15rem; color: var(--lm-accent); }
.lm-summary p { margin: 0; }

.lm-facts { background: var(--lm-surface); border: 1px solid var(--lm-accent); border-radius: var(--lm-radius); padding: 0; overflow: hidden; }
.lm-facts h3 { margin: 0; padding: 11px 16px; background: var(--lm-accent); color: var(--lm-on-accent); font-size: 0.95rem; }
.lm-facts dl { margin: 0; padding: 8px 16px 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.lm-fact-row { border-top: 1px solid var(--lm-line); padding: 10px 0; }
.lm-facts dt { font-size: 0.75rem; color: var(--lm-accent); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.lm-facts dd { margin: 3px 0 0; font-weight: 700; font-size: 0.98rem; color: var(--lm-ink); }

.lm-toc { background: transparent; border: 0; padding: 0; }
.lm-toc strong { display: block; margin-bottom: 8px; color: var(--lm-ink); }
.lm-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lm-toc a { display: inline-block; color: var(--lm-accent); background: var(--lm-chip); text-decoration: none; font-size: 0.86rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.lm-toc a:hover { background: var(--lm-chip-hover); color: var(--lm-accent); }

.lm-article { background: transparent; border: 0; border-radius: 0; padding: 4px 0 0; box-shadow: none; }
.lm-article section { margin: 0 0 28px; padding-bottom: 8px; border-bottom: 1px solid var(--lm-line); }
.lm-article h2 { font-family: var(--lm-font-display); font-size: clamp(1.22rem, 2vw, 1.55rem); line-height: 1.35; margin: 0 0 12px; font-weight: 800; color: var(--lm-ink); }
.lm-article p { margin: 0 0 14px; font-size: 1.02rem; }
.lm-fig { margin: 18px 0; background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; }
.lm-fig figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--lm-muted); background: var(--lm-surface); }

.lm-table-wrap { overflow-x: auto; margin: 16px 0 6px; border: 1px solid var(--lm-accent); border-radius: var(--lm-radius); background: var(--lm-surface); }
.lm-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
.lm-table caption { padding: 12px 14px; font-weight: 800; text-align: left; background: var(--lm-surface-alt); color: var(--lm-accent); }
.lm-table th, .lm-table td { padding: 11px 14px; border-top: 1px solid var(--lm-line); vertical-align: top; }
.lm-table thead th { background: var(--lm-accent); color: var(--lm-on-accent); font-weight: 700; border-top: 0; }
.lm-table tbody td { background: var(--lm-surface); color: var(--lm-ink); }
.lm-table tbody tr:nth-child(even) td { background: var(--lm-bg); }
.lm-steps { margin: 12px 0 4px; padding-left: 22px; display: grid; gap: 8px; }

.lm-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 8px; }
.lm-info-card { background: var(--lm-surface); border: 1px solid var(--lm-line); border-top: 3px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 14px 14px 16px; box-shadow: var(--lm-shadow); }
.lm-info-card h3 { margin: 0 0 6px; font-size: 1rem; }
.lm-info-card p { margin: 0; font-size: 0.92rem; color: var(--lm-muted); }

.lm-faq details { background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: var(--lm-radius); padding: 12px 16px; margin-bottom: 8px; box-shadow: var(--lm-shadow); }
.lm-faq summary { cursor: pointer; font-weight: 800; color: var(--lm-accent); }
.lm-faq p { margin: 8px 0 0; color: var(--lm-ink); font-size: 0.96rem; }

.lm-related h2 { font-family: var(--lm-font-display); font-size: 1.3rem; margin: 0 0 14px; }
.lm-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.lm-rel-card { position: relative; display: flex; flex-direction: column; background: var(--lm-surface); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--lm-ink); box-shadow: 0 1px 4px rgba(28, 29, 51, 0.1); }
.lm-rel-card:hover { color: var(--lm-ink); box-shadow: 0 4px 12px rgba(42, 47, 143, 0.14); }
.lm-rel-label { position: absolute; z-index: 3; top: 10px; left: 10px; background: var(--lm-gold); color: var(--lm-ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3; padding: 3px 8px; border-radius: 6px; }
.lm-rel-card span:last-child { display: block; padding: 12px 14px 14px; }
.lm-rel-card strong { color: var(--lm-ink); font-size: 1rem; font-weight: 800; }

.lm-footer { background: var(--lm-surface); border-top: 1px solid var(--lm-line); padding: 40px 0 26px; margin-top: 12px; }
.lm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--lm-line); }
img.lm-footer-logo { height: 52px; width: auto; margin-bottom: 12px; }
amp-img.lm-footer-logo { margin-bottom: 12px; }
.lm-footer h2 { font-size: 0.95rem; margin: 0 0 12px; color: var(--lm-accent); }
.lm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lm-footer a { color: var(--lm-muted); text-decoration: none; font-size: 0.92rem; }
.lm-footer a:hover { color: var(--lm-accent); }
.lm-footer p { color: var(--lm-muted); font-size: 0.92rem; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lm-badge { font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--lm-chip); color: var(--lm-accent); }
.lm-copy { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: var(--lm-muted); }
.lm-note { background: transparent; border: 0; padding: 8px 0 28px; box-shadow: none; }
.lm-note h1 { font-family: var(--lm-font-display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; margin: 0 0 12px; font-weight: 800; }
.lm-shelf-link { margin-top: 16px; font-weight: 700; }

@media (max-width: 860px) {
  .lm-hero-catalog { grid-template-columns: minmax(0, 1fr); }
  .lm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lm-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-logo-row { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none; }
}
