:root,
body.theme-dark {
  --bg: #000000;
  --header-bg: rgba(0, 0, 0, 0.92);
  --surface: #0b0d12;
  --surface-2: #06070a;
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-body: #e5e7eb;
  --text-muted: #9ca3af;
  --gold: #f5b400;
  --gold-soft: rgba(245, 180, 0, 0.14);
  --gold-border: rgba(245, 180, 0, 0.42);
  --tokopedia: #03ac0e;
  --tokopedia-hover: #04940d;
  --shopee: #ee4d2d;
  --shopee-hover: #d83f20;
  --danger: #ef4444;
  --warning-bg: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(127, 29, 29, 0.32) 100%);
  --warning-border: rgba(239, 68, 68, 0.65);
  --warning-title: #ffffff;
  --warning-text: #fee2e2;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

/* Tema Putih — siap dipakai pada halaman-halaman selanjutnya (<body class="theme-light">) */
body.theme-light {
  --bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.94);
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e7eb;
  --text: #111827;
  --text-body: #1f2937;
  --text-muted: #64748b;
  --gold: #b45309;
  --gold-soft: rgba(217, 119, 6, 0.1);
  --gold-border: rgba(217, 119, 6, 0.35);
  --danger: #dc2626;
  --warning-bg: #fef2f2;
  --warning-border: rgba(220, 38, 38, 0.35);
  --warning-title: #991b1b;
  --warning-text: #7f1d1d;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #111111;
  background: linear-gradient(135deg, #ffd147 0%, #e09600 100%);
  box-shadow: 0 4px 14px rgba(224, 150, 0, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link.is-active {
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
}

/* Hero Section */
.hero-section {
  padding: 24px 0 18px;
}

.hero-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000000;
  box-shadow: var(--shadow);
  padding: 14px;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
}

.hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  padding: 40px 24px;
}

.hero-placeholder-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f5b400;
  background: rgba(245, 180, 0, 0.14);
  border: 1px solid rgba(245, 180, 0, 0.38);
  margin-bottom: 16px;
}

.hero-placeholder-title {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: 0.04em;
  color: #ffffff;
}

.hero-placeholder-sub {
  margin: 0;
  max-width: 540px;
  color: #cbd5e1;
  font-size: 0.96rem;
}

/* Two Marketplace Buttons: Left (Tokopedia) and Right (Shopee) directly below Hero Image */
.hero-cta-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.btn-marketplace {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn-marketplace:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
}

.btn-tokopedia {
  background: linear-gradient(135deg, #06c112 0%, var(--tokopedia) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-tokopedia:hover {
  background: var(--tokopedia-hover);
}

.btn-shopee {
  background: linear-gradient(135deg, #ff5e3a 0%, var(--shopee) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: auto;
}

.btn-shopee:hover {
  background: var(--shopee-hover);
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.btn-label small {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.btn-label strong {
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.btn-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  opacity: 0.92;
}

/* Article Section */
.article-section {
  padding: 20px 0 64px;
}

.home-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px 48px;
  box-shadow: var(--shadow);
}

.article-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}

.article-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--text);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text-body);
}

.article-body p {
  margin: 0 0 20px;
}

.article-body p.list-intro {
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--text);
  font-weight: 700;
}

.article-list {
  margin: 0 0 26px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-list li {
  padding-left: 6px;
}

.article-list li::marker {
  color: var(--gold);
  font-weight: 700;
}

.article-subheading {
  margin: 34px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: 0.03em;
  color: var(--gold);
}

/* Warning Callout inside Article */
.warning-callout {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-left: 5px solid var(--danger);
  animation: warningBorderPulse 1.1s ease-in-out infinite;
}

.warning-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--warning-title);
  animation: warningBlink 1.1s ease-in-out infinite;
}

.warning-icon {
  width: 26px;
  height: 26px;
  color: var(--danger);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.7));
}

@keyframes warningBlink {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.85);
  }
  50% {
    opacity: 0.2;
    text-shadow: none;
  }
}

@keyframes warningBorderPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4), 0 0 22px rgba(239, 68, 68, 0.25);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0), 0 0 6px rgba(239, 68, 68, 0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .warning-callout,
  .warning-title-row {
    animation: none;
  }
}

.warning-callout p {
  margin: 0;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--warning-text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: var(--text);
}

.footer-inner p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Company Profile & Flipbook (Tema Putih) */
.profile-section {
  padding: 34px 0 64px;
}

.profile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.profile-title {
  margin: 0 0 6px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.18;
  color: var(--text);
}

.profile-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline,
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-primary-light {
  background: #111827;
  color: #ffffff;
  border: 1px solid #111827;
}

.btn-primary-light:hover {
  background: #000000;
}

.book-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.book-wrapper:fullscreen {
  display: flex;
  flex-direction: column;
  background: #f1f5f9;
  border-radius: 0;
}

.book-wrapper:fullscreen .book-stage {
  flex: 1;
  min-height: 0;
}

.book-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.book-nav-group,
.book-util-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-btn {
  appearance: none;
  background: #ffffff;
  color: var(--text);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tool-btn:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.tool-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-indicator {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0 6px;
}

.book-stage {
  position: relative;
  min-height: 540px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, #ffffff 0%, #eef2f6 100%);
  overflow: hidden;
  transition: background-color 0.2s ease, outline 0.2s ease;
}

.book-stage.is-dragover {
  outline: 3px dashed var(--gold);
  outline-offset: -10px;
  background: #fffbeb;
}

.flipbook-mount {
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.flipbook-book {
  margin: 0 auto;
}

.book-page {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  user-select: none;
}

.book-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.book-page-cover {
  background: #f8fafc;
}

.book-spine-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0) 6%,
    rgba(0, 0, 0, 0) 94%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

/* Loading & Empty States */
.book-loading,
.book-empty {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 16px;
}

.spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: #b45309;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.book-loading p {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--text-body);
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5b400, #b45309);
  transition: width 0.2s ease;
}

.book-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
}

.book-empty-icon svg {
  width: 28px;
  height: 28px;
}

.book-empty h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--text);
}

.book-empty p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.book-empty code {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 6px;
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.drop-hint {
  font-size: 0.85rem !important;
  color: var(--text-muted);
}

/* Halaman Produk (Tema Putih) */
.product-hero-section {
  padding: 36px 0 42px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.product-media-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-placeholder {
  width: 100%;
  min-height: 360px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at top, #181f2c 0%, #0b0d12 100%);
  color: #ffffff;
}

.product-placeholder-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #f5b400;
  background: rgba(245, 180, 0, 0.14);
  border: 1px solid rgba(245, 180, 0, 0.42);
  margin-bottom: 18px;
}

.product-placeholder strong {
  font-family: "Oswald", sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #ffd147;
}

.product-placeholder > span:not(.product-placeholder-pill) {
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.product-placeholder small {
  color: #cbd5e1;
  font-size: 0.85rem;
  max-width: 300px;
}

.product-placeholder code {
  color: #ffd147;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 5px;
}

.product-title {
  margin: 0 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  line-height: 1.15;
  color: var(--text);
}

.product-desc {
  margin: 0 0 18px;
  font-size: 1.06rem;
  color: var(--text-body);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.product-tag {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.product-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.product-cta-group .btn-marketplace {
  min-width: 205px;
  flex: 1 1 205px;
  margin-left: 0;
}

.product-contact-note {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.product-contact-note a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-additives-section {
  padding: 44px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro-light {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading-light {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.2;
  color: var(--text);
}

.section-intro-light p {
  margin: 0;
  color: var(--text-body);
}

.additives-grid-light {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.additive-item-light {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.additive-item-wide {
  grid-column: 1 / -1;
}

.additive-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}

.additive-item-light h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  color: var(--text);
}

.additive-item-light p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-fuel-section {
  padding: 44px 0 64px;
}

.fuel-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fuel-compare-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.fuel-compare-warn {
  border-color: rgba(220, 38, 38, 0.35);
}

.fuel-compare-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.fuel-compare-top h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--text);
}

.fuel-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.fuel-pill-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.fuel-pill-danger {
  background: #fef2f2;
  color: #b91c1c;
}

.fuel-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fuel-spec-list li {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.96rem;
}

.fuel-spec-list span {
  color: var(--text-muted);
}

.product-bottom-cta {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: #f8fafc;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.product-bottom-copy h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  color: var(--text);
}

.product-bottom-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.product-bottom-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-bottom-buttons .btn-marketplace {
  min-width: 180px;
  margin-left: 0;
}

/* Katalog Produk Multi-Item (Tema Putih) */
.catalog-hero {
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.catalog-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.catalog-page-title {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  line-height: 1.15;
  color: var(--text);
}

.catalog-page-sub {
  margin: 0;
  color: var(--text-body);
  max-width: 620px;
  font-size: 0.98rem;
}

.catalog-page-sub a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-top-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-top-cta .btn-marketplace {
  min-width: 165px;
  padding: 11px 16px;
  margin-left: 0;
}

.catalog-quick-nav {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-pill {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-body);
  border: 1px solid #cbd5e1;
  transition: all 0.16s ease;
}

.quick-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: #fffbeb;
}

.catalog-list-section {
  padding: 36px 0 64px;
}

.catalog-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.catalog-card {
  scroll-margin-top: 86px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.catalog-card-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catalog-media {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #f1f5f9;
}

.catalog-featured-tag {
  display: block;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.38);
}

.catalog-featured-petrol {
  background: #fef2f2;
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.35);
}

.catalog-highlight-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.highlight-item {
  background: #fef2f2;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 4px solid #dc2626;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-item strong {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #991b1b;
}

.highlight-item span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-body);
}

.catalog-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.catalog-num {
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  background: #111827;
  color: #ffffff;
}

.catalog-formula-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.catalog-title {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  line-height: 1.2;
  color: var(--text);
}

.catalog-intro {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
}

.catalog-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-group-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.catalog-group-wide {
  grid-column: 1 / -1;
}

.catalog-group-box h3 {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.catalog-group-box ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-body);
}

.catalog-group-box ul.two-col-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 6px;
}

.catalog-card-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-card-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-card-order:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.btn-card-tokopedia {
  background: var(--tokopedia);
}

.btn-card-shopee {
  background: var(--shopee);
}

.btn-card-call {
  background: #111827;
}

.catalog-b2b-box {
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-left: 4px solid #b45309;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.catalog-b2b-box strong {
  display: block;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 4px;
}

.catalog-b2b-box p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* Halaman Testimoni Video (Tema Putih) */
.testimonial-section {
  padding: 36px 0 64px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.video-frame {
  background: #000000;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-frame-vertical {
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.video-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-badge {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.video-card-body h2 {
  margin: 4px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--text);
}

.video-card-body p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.video-placeholder-card {
  grid-column: 1 / -1;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.video-placeholder-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  display: grid;
  place-items: center;
}

.video-placeholder-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.video-placeholder-card h2 {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  color: var(--text);
}

.video-placeholder-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Responsive */
@media (max-width: 860px) {
  .product-hero-grid,
  .additives-grid-light,
  .fuel-compare-grid,
  .catalog-card-grid,
  .catalog-groups,
  .catalog-highlight-box,
  .video-grid,
  .catalog-group-box ul.two-col-list {
    grid-template-columns: 1fr;
  }

  .additive-item-wide,
  .catalog-group-wide {
    grid-column: auto;
  }

  .catalog-media {
    position: static;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .home-article {
    padding: 28px 24px;
  }

  .article-body {
    font-size: 1rem;
  }

  .book-stage {
    min-height: 420px;
    padding: 18px 10px;
  }
}

@media (max-width: 600px) {
  .header-nav {
    gap: 8px;
    width: 100%;
  }

  .nav-link {
    font-size: 0.84rem;
    padding: 5px 10px;
  }

  .hero-cta-bar {
    gap: 10px;
  }

  .btn-marketplace {
    min-width: 0;
    flex: 1 1 0;
    padding: 12px 12px;
    gap: 10px;
  }

  .btn-icon {
    width: 32px;
    height: 32px;
  }

  .btn-label strong {
    font-size: 1rem;
  }

  .btn-arrow {
    display: none;
  }

  .home-article {
    padding: 22px 18px;
  }

  .warning-callout {
    padding: 18px;
  }

  .book-toolbar {
    justify-content: center;
  }

  .product-bottom-cta {
    padding: 20px;
  }

  .product-bottom-buttons {
    width: 100%;
  }

  .catalog-card {
    padding: 18px;
  }
}

/* Tombol WhatsApp melayang */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38); }
@keyframes wa-pulse {
  0% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .wa-float svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ===== Menu burger (HP / tablet kecil) ===== */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .brand-text small { display: none; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 4% 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .header-nav.is-open { display: flex; }
  .header-nav .nav-link { padding: 12px 14px; font-size: 0.95rem; }
}

/* ===== Halaman Kontak ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.contact-card h2 {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
}
.contact-card p { margin: 0 0 14px; color: var(--text-body); }
.contact-card address { font-style: normal; color: var(--text-body); line-height: 1.7; }
.btn-card-wa { background: #25d366; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Halaman Sertifikat ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cert-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cert-card a { display: block; background: #f1f5f9; cursor: zoom-in; }
.cert-card img { width: 100%; height: auto; }
.cert-card figcaption {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cert-card figcaption strong { font-family: "Oswald", sans-serif; font-size: 1.1rem; color: var(--text); }
.cert-card figcaption span { font-size: 0.92rem; color: var(--text-muted); }
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
}
.cert-lightbox[hidden] { display: none; }
.cert-lightbox img { max-width: 100%; max-height: 80vh; width: auto; border-radius: 8px; background: #fff; }
.cert-lightbox p { margin: 0; color: #ffffff; font-weight: 600; text-align: center; }
.cert-lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 860px) {
  .cert-grid { grid-template-columns: 1fr; }
}

/* ===== Artikel (publik) ===== */
.artikel-list { display: flex; flex-direction: column; gap: 20px; max-width: 820px; margin: 0 auto; }
.artikel-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 24px 28px;
}
.artikel-card h2 { margin: 4px 0 8px; font-family: "Oswald", sans-serif; font-size: 1.5rem; line-height: 1.25; }
.artikel-card h2 a:hover { color: var(--gold); }
.artikel-card p { margin: 0 0 10px; color: var(--text-body); }
.artikel-meta { font-size: 0.85rem; color: var(--text-muted) !important; }
.artikel-more { font-weight: 700; color: var(--gold); }
.artikel-empty { max-width: 640px; margin: 0 auto; text-align: center; color: var(--text-muted); padding: 30px 0; }
.artikel-pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.quick-pill.is-current { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-border); }
.artikel-detail { max-width: 760px; margin: 0 auto; }
.artikel-title { margin: 6px 0 8px; font-family: "Oswald", sans-serif; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; }
.artikel-body { font-size: 1.05rem; line-height: 1.85; color: var(--text-body); }
.artikel-body h2 { font-family: "Oswald", sans-serif; font-size: 1.6rem; margin: 1.6em 0 0.5em; color: var(--text); }
.artikel-body h3 { font-family: "Oswald", sans-serif; font-size: 1.25rem; margin: 1.4em 0 0.4em; color: var(--text); }
.artikel-body p { margin: 0 0 1.1em; }
.artikel-body ul, .artikel-body ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.artikel-body blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--gold); background: var(--surface-2); color: var(--text-body); }
.artikel-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.artikel-back { max-width: 760px; margin: 28px auto 0; font-weight: 600; }
.artikel-preview { max-width: 760px; margin: 0 auto 18px; padding: 10px 14px; border-radius: 10px; background: #fffbeb; border: 1px solid rgba(217,119,6,.35); color: #92400e; font-weight: 600; }

/* ===== Panel penulis ===== */
.admin-narrow { max-width: 460px; }
.admin-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.admin-title { margin: 0 0 6px; font-family: "Oswald", sans-serif; font-size: 1.9rem; }
.admin-subtitle { margin: 0 0 14px; font-family: "Oswald", sans-serif; font-size: 1.3rem; }
.admin-hint { margin: 0 0 16px; color: var(--text-muted); font-size: 0.95rem; }
.admin-back { margin: 0 0 10px; font-weight: 600; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-top-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-form { display: flex; flex-direction: column; gap: 16px; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.admin-form input[type="text"], .admin-form input[type="password"], .admin-form textarea, .admin-form select, .mini-input {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--text);
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus, .editor-area:focus { outline: 2px solid var(--gold-border); outline-offset: 1px; }
.admin-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-alert { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--border); font-size: 0.95rem; }
.admin-alert-ok { background: #f0fdf4; border-color: rgba(34,197,94,.4); color: #166534; }
.admin-alert-err { background: #fef2f2; border-color: rgba(220,38,38,.35); color: #991b1b; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table th { background: #f8fafc; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.admin-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-actions a, .admin-actions button { font: inherit; font-weight: 600; color: var(--gold); background: none; border: 0; padding: 0; cursor: pointer; }
.admin-actions .link-danger { color: #dc2626; }
.admin-badge { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.admin-badge-terbit { background: rgba(34,197,94,.14); color: #15803d; }
.admin-badge-draft { background: #f1f5f9; color: #475569; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.mini-input { padding: 6px 8px; width: 170px; font-size: 0.85rem; }
.editor-label { font-weight: 600; font-size: 0.92rem; margin-bottom: -8px; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: #f8fafc; border: 1px solid #cbd5e1; border-bottom: 0; border-radius: 8px 8px 0 0; margin-bottom: -16px; }
.editor-toolbar button { font: inherit; font-size: 0.85rem; padding: 6px 10px; border: 1px solid #cbd5e1; background: #fff; border-radius: 6px; cursor: pointer; color: var(--text); }
.editor-toolbar button:hover { border-color: var(--gold); color: var(--gold); }
.editor-area { min-height: 340px; padding: 16px; border: 1px solid #cbd5e1; border-radius: 0 0 8px 8px; background: #fff; overflow-wrap: anywhere; }
@media (max-width: 600px) { .artikel-card { padding: 18px; } .mini-input { width: 120px; } }
