﻿@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@500;600;700;800&display=swap');

/* ============================================================
   THEMES â€” SahabatKomik
   Setiap theme cuma override CSS variables & beberapa warna kunci.
   Struktur/layout TIDAK berubah. theme dipilih via <html data-theme="...">
   ============================================================ */

/* ---------- DEFAULT: Komik Neo (kuning + merah, comic) ----------
   Ini ialah nilai asal dalam :root style.css. Tiada override needed.
   Dikekalkan di sini supaya jelas. */
html[data-theme="neo"]{
  --sk-red:#E63329;
  --sk-red-dark:#C4231C;
  --sk-yellow:#FFD400;
  --sk-yellow-soft:#FFF9D6;
  --sk-ink:#111318;
  --sk-muted:#6B7280;
  --sk-line:#E5E7EB;
  --sk-cream:#FBF9F3;
}

/* ---------- BLUE (korporat â€” ilham komikai.my) ---------- */
html[data-theme="blue"]{
  --sk-red:#2563EB;          /* aksen utama = blue */
  --sk-red-dark:#1D4ED8;
  --sk-yellow:#FACC15;       /* aksen sekunder = kuning lembut */
  --sk-yellow-soft:#EFF6FF;  /* blue pucat ganti kuning pucat */
  --sk-ink:#0F172A;          /* navy */
  --sk-muted:#475569;        /* slate */
  --sk-line:#CBD5E1;
  --sk-cream:#F1F5FF;        /* latar blue pucat */

  /* theme flag untuk rule khas di bawah */
  --sk-font-heading:'Inter',sans-serif;
}

/* ---------- MIDNIGHT (gelap, moden) ---------- */
html[data-theme="midnight"]{
  --sk-red:#38BDF8;
  --sk-red-dark:#0284C7;
  --sk-yellow:#FBBF24;
  --sk-yellow-soft:#152238;
  --sk-ink:#E2E8F0;
  --sk-muted:#94A3B8;
  --sk-line:#334155;
  --sk-cream:#0F172A;
  --sk-font-heading:'Inter',sans-serif;
}

/* ---------- MONO (hitam putih, minimalis) ---------- */
html[data-theme="mono"]{
  --sk-red:#111318;
  --sk-red-dark:#000;
  --sk-yellow:#E5E7EB;
  --sk-yellow-soft:#F3F4F6;
  --sk-ink:#111318;
  --sk-muted:#6B7280;
  --sk-line:#D1D5DB;
  --sk-cream:#FFFFFF;
  --sk-font-heading:'Inter',sans-serif;
}

/* ============================================================
   PENYESUAIAN KHUSUS THEME
   Rule asal guna Barlow Condensed untuk heading + hardcoded #111.
   Di sini kita selaraskan supaya theme benar-benar nampak tanpa
   mengubah struktur HTML.
   ============================================================ */

/* Font heading ikut theme (Blue/Midnight/Mono guna Inter) */
html[data-theme="blue"] .sk-nav a,
html[data-theme="blue"] .sk-logo,
html[data-theme="blue"] .sk-hero-title,
html[data-theme="blue"] .sk-section-title,
html[data-theme="blue"] .sk-pro-hero h1,
html[data-theme="blue"] .sk-pro-section-head h2,
html[data-theme="midnight"] .sk-nav a,
html[data-theme="midnight"] .sk-logo,
html[data-theme="midnight"] .sk-hero-title,
html[data-theme="midnight"] .sk-section-title,
html[data-theme="midnight"] .sk-pro-hero h1,
html[data-theme="midnight"] .sk-pro-section-head h2,
html[data-theme="mono"] .sk-nav a,
html[data-theme="mono"] .sk-logo,
html[data-theme="mono"] .sk-hero-title,
html[data-theme="mono"] .sk-section-title,
html[data-theme="mono"] .sk-pro-hero h1,
html[data-theme="mono"] .sk-pro-section-head h2{
  font-family:var(--sk-font-heading,'Inter'),sans-serif;
}

/* ---------- BLUE ---------- */
html[data-theme="blue"] body,
html[data-theme="blue"] .public-body{ background:var(--sk-cream); color:var(--sk-ink); }
html[data-theme="blue"] .sk-navbar{ background:#fff; }
html[data-theme="blue"] .sk-nav a.active,
html[data-theme="blue"] .sk-nav a.utama{ background:var(--sk-red) !important; color:#fff !important; }
html[data-theme="blue"] .sk-nav a{ color:var(--sk-ink) !important; }
html[data-theme="blue"] .sk-nav a:hover{ background:var(--sk-yellow-soft) !important; color:var(--sk-red) !important; }
html[data-theme="blue"] .sk-logo{ color:var(--sk-ink); text-shadow:none; }
html[data-theme="blue"] .sk-logo span{ color:var(--sk-red); text-shadow:none; }
html[data-theme="blue"] .sk-tagline{ color:var(--sk-muted); }
html[data-theme="blue"] .sk-section-title{ color:var(--sk-red) !important; }
/* butang/Lihat Semua */
html[data-theme="blue"] .sk-more{ color:var(--sk-red) !important; }
html[data-theme="blue"] .sk-btn,
html[data-theme="blue"] .sk-pro-cta{ background:var(--sk-red) !important; color:#fff !important; border-color:var(--sk-red) !important; }
/* badge/kotak kuning â†’ blue */
html[data-theme="blue"] .sk-chip,
html[data-theme="blue"] .sk-badge{ background:var(--sk-red); color:#fff; border-color:var(--sk-red-dark); }
/* breadcrumb kotak */
html[data-theme="blue"] .breadcrumb-item a{ background:var(--sk-yellow); color:var(--sk-ink); border-color:var(--sk-ink); }
/* kad */
html[data-theme="blue"] .sk-card,
html[data-theme="blue"] .sk-uniform-card,
html[data-theme="blue"] .sk-book,
html[data-theme="blue"] .sk-article-mini{ background:#fff; border-color:var(--sk-line); }
/* hero */
html[data-theme="blue"] .sk-hero{ background:var(--sk-yellow-soft); }
/* kaki */
html[data-theme="blue"] .sk-footer{ background:var(--sk-ink); }

/* ---------- MIDNIGHT ---------- */
html[data-theme="midnight"] body,
html[data-theme="midnight"] .public-body{ background:var(--sk-cream); color:var(--sk-ink); }
html[data-theme="midnight"] .sk-navbar,
html[data-theme="midnight"] .sk-header{ background:#152238; }
html[data-theme="midnight"] .sk-nav a{ color:var(--sk-ink); }
html[data-theme="midnight"] .sk-nav a.active,
html[data-theme="midnight"] .sk-nav a.utama{ background:var(--sk-red); color:#0F172A; }
html[data-theme="midnight"] .sk-nav a:hover{ background:var(--sk-yellow-soft); color:var(--sk-yellow); }
html[data-theme="midnight"] .sk-logo{ color:var(--sk-ink); text-shadow:none; }
html[data-theme="midnight"] .sk-logo span{ color:var(--sk-yellow); text-shadow:none; }
html[data-theme="midnight"] .sk-section-title{ color:var(--sk-red) !important; }
html[data-theme="midnight"] .sk-card,
html[data-theme="midnight"] .sk-uniform-card,
html[data-theme="midnight"] .sk-book,
html[data-theme="midnight"] .sk-article-mini{ background:#1E293B; color:var(--sk-ink); border-color:var(--sk-line); }
html[data-theme="midnight"] .sk-card h5,
html[data-theme="midnight"] .sk-uniform-body h3 a,
html[data-theme="midnight"] .sk-article-mini h5{ color:var(--sk-ink); }

/* ---------- MONO ---------- */
html[data-theme="mono"] .sk-nav a.active,
html[data-theme="mono"] .sk-nav a.utama{ background:var(--sk-ink); color:#fff; }
html[data-theme="mono"] .sk-logo{ text-shadow:none; }
html[data-theme="mono"] .sk-logo span{ color:var(--sk-ink); text-shadow:none; }
html[data-theme="mono"] .sk-section-title,
html[data-theme="mono"] .sk-more{ color:var(--sk-ink) !important; }
html[data-theme="mono"] .sk-chip,
html[data-theme="mono"] .sk-badge{ background:#E5E7EB; color:#111; border-color:#111; }

/* ============================================================
   KOPRATE — rujukan "Panduan Reka Bentuk SahabatKomik"
   Background #F8F6EF · Primary #FFB91F (royal gold) · Footer #171717
   Heading Bebas Neue · Subheading Montserrat · Body Inter
   Kad radius 12–16px · Button radius 8–10px · Content 1280px
   Hero desktop 16:6 · Hero mobile 4:5 · Cover 3:4
   Minimalis, smooth, tiada bold line / shadow hitam / hover -degree.
   ============================================================ */
html[data-theme="koprate"]{
  /* BRAND — design system tokens */
  --sk-primary:#FFB91F;
  --sk-primary-hover:#E9A20B;
  --sk-gold:#B78D2B;
  --sk-red:#FFB91F;
  --sk-red-dark:#B78D2B;
  --sk-yellow:#FFB91F;
  --sk-yellow-soft:#FFF6DF;
  /* TEXT */
  --sk-ink:#171717;
  --sk-text:#333333;
  --sk-muted:#777777;
  /* BACKGROUND */
  --sk-cream:#F8F6EF;
  --sk-white:#FFFFFF;
  --sk-line:#EAE7DF;
  --sk-border:#EAE7DF;
  /* STATUS */
  --sk-success:#238636;
  --sk-danger:#DC2626;
  /* RADIUS */
  --radius-sm:6px; --radius-md:10px; --radius-lg:14px;
  --radius-xl:20px; --radius-2xl:24px; --radius-full:999px;
  /* SHADOW — lembut, bukan hitam tebal */
  --shadow-card:0 2px 8px rgba(23,23,23,.05),0 1px 2px rgba(23,23,23,.04);
  --shadow-card-hover:0 8px 24px rgba(23,23,23,.09),0 2px 6px rgba(23,23,23,.04);
  --shadow-button:0 2px 5px rgba(23,23,23,.10);
  /* LAYOUT */
  --container-width:1280px; --section-spacing:64px;
  /* FONT */
  --sk-font-heading:'Bebas Neue',sans-serif;
  --sk-font-sub:'Montserrat',sans-serif;
  --sk-font-body:'Inter',sans-serif;
}

/* --- Asas: paper krim, ink, body Inter --- */
html[data-theme="koprate"] body,
html[data-theme="koprate"] .public-body,
html[data-theme="koprate"] #main,
html[data-theme="koprate"] .public-body #main{
  background:var(--sk-cream) !important;
  color:var(--sk-ink) !important;
  font-family:var(--sk-font-body) !important;
}
/* Content width 1280px */
html[data-theme="koprate"] .container,
html[data-theme="koprate"] .sk-hero-inner,
html[data-theme="koprate"] .sk-uniform-grid,
html[data-theme="koprate"] .sk-inner{ max-width:1280px !important; }
/* Subheading → Montserrat */
html[data-theme="koprate"] h2,
html[data-theme="koprate"] h3,
html[data-theme="koprate"] h4,
html[data-theme="koprate"] .sk-pro-section-head h2,
html[data-theme="koprate"] .sk-card h5,
html[data-theme="koprate"] .sk-uniform-body h3 a{
  font-family:var(--sk-font-sub) !important;
}
/* Hero desktop 16:6 · mobile 4:5. Inner/art/carousel isi penuh tinggi
   supaya tiada ruang kosong bila skrin besar. */
@media (min-width:768px){
  html[data-theme="koprate"] .sk-hero{ aspect-ratio:16/6 !important; }
}
@media (max-width:767px){
  html[data-theme="koprate"] .sk-hero{ aspect-ratio:4/5 !important; }
}
html[data-theme="koprate"] .sk-hero-inner,
html[data-theme="koprate"] .sk-hero-art,
html[data-theme="koprate"] .sk-hero-carousel,
html[data-theme="koprate"] .sk-hero-carousel .carousel-inner,
html[data-theme="koprate"] .sk-hero-carousel .carousel-item{
  height:100% !important;
  min-height:0 !important;
  align-self:stretch !important;
}
html[data-theme="koprate"] .sk-hero-img{
  height:100% !important;
  min-height:0 !important;
  object-fit:cover !important;
}
html[data-theme="koprate"] .sk-uniform-cover,
html[data-theme="koprate"] .sk-book-cover,
html[data-theme="koprate"] .sk-card-cover{ aspect-ratio:3/4 !important; }
html[data-theme="koprate"] *,
html[data-theme="koprate"] *::before,
html[data-theme="koprate"] *::after{
  box-shadow:none !important;
  text-shadow:none !important;
  border-color:var(--sk-border) !important;
}
/* Korporat: tiada bold line — semua border tebal jadi 1px halus */
html[data-theme="koprate"] .sk-search,
html[data-theme="koprate"] .sk-kempen,
html[data-theme="koprate"] .sk-feature-body,
html[data-theme="koprate"] .bi,
html[data-theme="koprate"] .sk-popular-col-title,
html[data-theme="koprate"] .sk-popular-rank,
html[data-theme="koprate"] .sk-popular-eps-icon,
html[data-theme="koprate"] .p-3,
html[data-theme="koprate"] a,
html[data-theme="koprate"] span,
html[data-theme="koprate"] h3{
  border-width:1px !important;
  border-color:var(--sk-border) !important;
}
html[data-theme="koprate"] a:focus-visible,
html[data-theme="koprate"] button:focus-visible,
html[data-theme="koprate"] input:focus-visible,
html[data-theme="koprate"] select:focus-visible,
html[data-theme="koprate"] textarea:focus-visible{
  outline:2px solid var(--sk-red) !important;
  outline-offset:2px !important;
}

/* --- Hapus transform rotate/translate pada elemen UI --- */
html[data-theme="koprate"] .sk-kempen,
html[data-theme="koprate"] .sk-badge,
html[data-theme="koprate"] .sk-chip,
html[data-theme="koprate"] .sk-book,
html[data-theme="koprate"] .sk-book:nth-child(even),
html[data-theme="koprate"] .sk-card,
html[data-theme="koprate"] .sk-article-feature,
html[data-theme="koprate"] .sk-article-mini,
html[data-theme="koprate"] .sk-uniform-card,
html[data-theme="koprate"] .sk-uniform-grid .sk-uniform-card,
html[data-theme="koprate"] .sk-explore-card,
html[data-theme="koprate"] .sk-partner,
html[data-theme="koprate"] .sk-community-item,
html[data-theme="koprate"] .book-catalog-card,
html[data-theme="koprate"] .book-related-card,
html[data-theme="koprate"] .sk-popular-item,
html[data-theme="koprate"] .sk-side-card,
html[data-theme="koprate"] .sk-pro-card,
html[data-theme="koprate"] .sk-hp-panel,
html[data-theme="koprate"] .sk-hp-panel.p2,
html[data-theme="koprate"] .sk-hp-panel.p3{
  transform:none !important;
  box-shadow:none !important;
}

/* --- Hover: smooth warna sahaja, tiada -degree / translate --- */
html[data-theme="koprate"] .sk-card:hover,
html[data-theme="koprate"] .sk-article-feature:hover,
html[data-theme="koprate"] .sk-article-mini:hover,
html[data-theme="koprate"] .sk-book:hover,
html[data-theme="koprate"] .sk-uniform-card:hover,
html[data-theme="koprate"] .sk-uniform-grid .sk-uniform-card:hover,
html[data-theme="koprate"] .sk-explore-card:hover,
html[data-theme="koprate"] .sk-partner:hover,
html[data-theme="koprate"] .sk-community-item:hover,
html[data-theme="koprate"] .book-catalog-card:hover,
html[data-theme="koprate"] .book-related-card:hover,
html[data-theme="koprate"] .sk-popular-item:hover,
html[data-theme="koprate"] .sk-side-card:hover,
html[data-theme="koprate"] .sk-pro-card:hover,
html[data-theme="koprate"] .sk-nav a:hover,
html[data-theme="koprate"] .sk-btn:hover,
html[data-theme="koprate"] .btn:hover,
html[data-theme="koprate"] .btn-primary:hover,
html[data-theme="koprate"] .sk-pro-cta:hover,
html[data-theme="koprate"] .sk-search:hover,
html[data-theme="koprate"] .sk-more:hover,
html[data-theme="koprate"] .sk-wc-btn:hover,
html[data-theme="koprate"] .sk-nav-toggle:hover{
  transform:none !important;
  box-shadow:none !important;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease !important;
}
html[data-theme="koprate"] .sk-card:hover,
html[data-theme="koprate"] .sk-uniform-card:hover,
html[data-theme="koprate"] .sk-book:hover,
html[data-theme="koprate"] .sk-article-mini:hover{ background:#fff !important; }

/* --- Kad: border 1px, radius 14px, shadow lembut (design system) --- */
html[data-theme="koprate"] .sk-card,
html[data-theme="koprate"] .sk-article-feature,
html[data-theme="koprate"] .sk-article-mini,
html[data-theme="koprate"] .sk-book,
html[data-theme="koprate"] .sk-uniform-card,
html[data-theme="koprate"] .sk-uniform-grid .sk-uniform-card,
html[data-theme="koprate"] .sk-explore-card,
html[data-theme="koprate"] .sk-partner,
html[data-theme="koprate"] .sk-community-item,
html[data-theme="koprate"] .book-catalog-card,
html[data-theme="koprate"] .book-related-card,
html[data-theme="koprate"] .sk-popular-item,
html[data-theme="koprate"] .sk-side-card,
html[data-theme="koprate"] .sk-pro-card,
html[data-theme="koprate"] .card,
html[data-theme="koprate"] .bg-white.rounded.shadow-sm{
  border:1px solid var(--sk-border) !important;
  border-radius:var(--radius-lg) !important;
  background:var(--sk-white) !important;
  box-shadow:var(--shadow-card) !important;
}
/* Hover kad: naik 4px + shadow sedikit kuat, smooth */
html[data-theme="koprate"] .sk-card:hover,
html[data-theme="koprate"] .sk-article-feature:hover,
html[data-theme="koprate"] .sk-article-mini:hover,
html[data-theme="koprate"] .sk-book:hover,
html[data-theme="koprate"] .sk-uniform-card:hover,
html[data-theme="koprate"] .sk-uniform-grid .sk-uniform-card:hover,
html[data-theme="koprate"] .sk-explore-card:hover,
html[data-theme="koprate"] .book-catalog-card:hover,
html[data-theme="koprate"] .sk-side-card:hover{
  transform:translateY(-4px) !important;
  box-shadow:var(--shadow-card-hover) !important;
}
html[data-theme="koprate"] .sk-section-head,
html[data-theme="koprate"] .sk-hero-inner,
html[data-theme="koprate"] .sk-hero,
html[data-theme="koprate"] .sk-cat-heading,
html[data-theme="koprate"] .book-related-heading,
html[data-theme="koprate"] .sk-pro-section-head,
html[data-theme="koprate"] .subscribe-gate,
html[data-theme="koprate"] .sk-hp-panel,
html[data-theme="koprate"] .sk-detail-cover{ border:0 !important; }
/* Navbar: guna background-color (bukan background shorthand) supaya
   background-image yang diupload dari admin tidak terpadam. */
html[data-theme="koprate"] .sk-navbar{
  background-color:transparent !important;
  border-bottom:1px solid var(--sk-border) !important;
}

/* --- Butang: Primary oren · Secondary hitam · Outline putih --- */
html[data-theme="koprate"] .sk-btn,
html[data-theme="koprate"] .sk-btn-primary,
html[data-theme="koprate"] .btn-primary,
html[data-theme="koprate"] .sk-pro-cta,
html[data-theme="koprate"] .sk-wc-btn,
html[data-theme="koprate"] .sk-more,
html[data-theme="koprate"] .subscribe-gate .btn,
html[data-theme="koprate"] .sk-nav-toggle{
  background:var(--sk-red) !important;
  color:#fff !important;
  border:1px solid var(--sk-red) !important;
  border-radius:8px !important;
  box-shadow:none !important;
  transform:none !important;
  font-family:var(--sk-font-body) !important;
  font-weight:700 !important;
}
html[data-theme="koprate"] .sk-btn:hover,
html[data-theme="koprate"] .sk-btn-primary:hover,
html[data-theme="koprate"] .btn-primary:hover,
html[data-theme="koprate"] .sk-pro-cta:hover,
html[data-theme="koprate"] .sk-wc-btn:hover,
html[data-theme="koprate"] .sk-nav-toggle:hover{
  background:#E8911A !important;
  color:#fff !important;
}
html[data-theme="koprate"] .sk-more:hover{ text-decoration:none !important; color:var(--sk-red-dark) !important; }
/* Secondary (butang hitam dalam mockup) */
html[data-theme="koprate"] .btn-outline-secondary,
html[data-theme="koprate"] .btn-secondary{
  background:var(--sk-ink) !important;
  color:#fff !important;
  border:1px solid var(--sk-ink) !important;
}

/* --- Chip / label kecil: pill radius 999px ikut design system --- */
html[data-theme="koprate"] .sk-popular-col-title,
html[data-theme="koprate"] .sk-popular-rank,
html[data-theme="koprate"] .sk-popular-eps-icon,
html[data-theme="koprate"] .sk-chip,
html[data-theme="koprate"] .book-category,
html[data-theme="koprate"] .book-catalog-category{
  background:var(--sk-yellow-soft) !important;
  color:var(--sk-gold) !important;
  border:1px solid var(--sk-gold) !important;
  border-radius:var(--radius-full) !important;
  box-shadow:none !important;
  font-family:var(--sk-font-body) !important;
  font-weight:600 !important;
  letter-spacing:.04em !important;
}
/* Badge (Best Seller / New) — pill, gold */
html[data-theme="koprate"] .sk-badge,
html[data-theme="koprate"] .book-cover-badge{
  background:var(--sk-primary) !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-primary) !important;
  border-radius:var(--radius-full) !important;
  box-shadow:none !important;
  font-family:var(--sk-font-body) !important;
  font-weight:700 !important;
}
/* Section title: Bebas Neue, ink, underline oren */
html[data-theme="koprate"] .sk-section-title{
  background:transparent !important;
  color:var(--sk-ink) !important;
  border:0 !important;
  border-bottom:2px solid var(--sk-gold) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
  font-family:var(--sk-font-heading) !important;
  font-weight:400 !important;
  font-size:1.9rem !important;
  letter-spacing:.03em !important;
  text-transform:uppercase !important;
  padding:0 0 .2rem !important;
  display:inline-block !important;
}
html[data-theme="koprate"] .sk-section-title::after{ display:none !important; }

/* --- Nav: Montserrat, active oren --- */
html[data-theme="koprate"] .sk-nav a{ color:var(--sk-ink) !important; font-family:var(--sk-font-body) !important; border-radius:8px !important; }
html[data-theme="koprate"] .sk-nav a.active,
html[data-theme="koprate"] .sk-nav a.utama,
html[data-theme="koprate"] .sk-nav a:hover,
html[data-theme="koprate"] .sk-nav a.text-warning{
  background:var(--sk-red) !important;
  color:#fff !important;
  box-shadow:none !important;
  transform:none !important;
  border:1px solid var(--sk-red) !important;
}

/* --- Breadcrumb kotak oren, tanpa shadow --- */
html[data-theme="koprate"] .breadcrumb-item a{
  background:var(--sk-red) !important;
  color:#fff !important;
  border:1px solid var(--sk-red) !important;
  box-shadow:none !important;
  font-family:var(--sk-font-body) !important;
}

/* --- Logo & heading: Bebas Neue / Montserrat --- */
html[data-theme="koprate"] .sk-logo,
html[data-theme="koprate"] .sk-footer .sk-logo{
  color:var(--sk-ink) !important;
  font-family:var(--sk-font-heading) !important;
  text-shadow:none !important;
}
html[data-theme="koprate"] .sk-logo span,
html[data-theme="koprate"] .sk-footer .sk-logo span{ color:var(--sk-red) !important; text-shadow:none !important; }
html[data-theme="koprate"] .sk-tagline{ color:var(--sk-muted) !important; font-family:var(--sk-font-body) !important; }
html[data-theme="koprate"] .sk-hero-title,
html[data-theme="koprate"] .sk-pro-hero h1,
html[data-theme="koprate"] .public-body .sk-pro-hero h1,
html[data-theme="koprate"] .sk-page-title,
html[data-theme="koprate"] .sk-pro-detail-title,
html[data-theme="koprate"] .book-title,
html[data-theme="koprate"] .book-catalog-heading h1,
html[data-theme="koprate"] .sk-pro-section-head h2,
html[data-theme="koprate"] .sk-uniform-body h3 a,
html[data-theme="koprate"] .sk-card h5{
  color:var(--sk-ink) !important;
  font-family:var(--sk-font-heading) !important;
  letter-spacing:.02em !important;
  text-shadow:none !important;
  font-weight:400 !important;
}
/* Eyebrow / kempen: pill gold lembut, Montserrat */
html[data-theme="koprate"] .sk-pro-eyebrow,
html[data-theme="koprate"] [data-sk-section] .sk-pro-eyebrow,
html[data-theme="koprate"] .sk-kempen,
html[data-theme="koprate"] [data-sk-section="hero"] .sk-kempen{
  display:inline-flex !important;
  background:var(--sk-yellow-soft) !important;
  color:var(--sk-gold) !important;
  border:1px solid var(--sk-gold) !important;
  border-radius:var(--radius-full) !important;
  box-shadow:none !important;
  transform:none !important;
  font-family:var(--sk-font-sub) !important;
  font-weight:700 !important;
}
html[data-theme="koprate"] .sk-hero{ background:var(--sk-cream) !important; }

/* --- Harga promosi (merah) --- */
html[data-theme="koprate"] .sk-price,
html[data-theme="koprate"] .book-price,
html[data-theme="koprate"] .sk-card-price,
html[data-theme="koprate"] .sk-uniform-body .price{ color:var(--sk-red-dark) !important; font-weight:800 !important; }

/* --- Footer: hitam, teks putih/gray --- */
html[data-theme="koprate"] .sk-footer{ background:var(--sk-ink) !important; }
html[data-theme="koprate"] .sk-footer a{ color:#fff !important; }

/* --- Reader nav / sort button: korporat, tiada translate/shadow --- */
html[data-theme="koprate"] .sk-sort-btn,
html[data-theme="koprate"] .sk-epnav-btn,
html[data-theme="koprate"] .sk-epnav-btn-center,
html[data-theme="koprate"] .sk-epnav-btn-prev,
html[data-theme="koprate"] .sk-epnav-btn-next,
html[data-theme="koprate"] .sk-reader-nav,
html[data-theme="koprate"] .sk-epnav-btn:hover,
html[data-theme="koprate"] .sk-sort-btn:hover,
html[data-theme="koprate"] .sk-reader-nav:not(:disabled):hover{
  background:var(--sk-primary) !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-primary) !important;
  border-radius:var(--radius-md) !important;
  box-shadow:none !important;
  transform:none !important;
  font-family:var(--sk-font-body) !important;
  font-weight:600 !important;
  transition:background-color .2s ease, color .2s ease !important;
}
/* Secondary reader button (hitam) */
html[data-theme="koprate"] .sk-epnav-btn-center,
html[data-theme="koprate"] .btn-secondary,
html[data-theme="koprate"] .btn-outline-secondary{
  background:var(--sk-ink) !important;
  color:#fff !important;
  border:1px solid var(--sk-ink) !important;
}
html[data-theme="koprate"] .sk-epnav-btn-center:hover,
html[data-theme="koprate"] .btn-secondary:hover{ background:#333 !important; color:#fff !important; }

/* --- Carousel nav: ikut primary gold, bukan kuning lama --- */
html[data-theme="koprate"] [data-sk-section="buku_pilihan"] .sk-books-nav,
html[data-theme="koprate"] .sk-books-nav{
  background:var(--sk-primary) !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-primary) !important;
  border-radius:var(--radius-md) !important;
  opacity:1 !important;
}
html[data-theme="koprate"] [data-sk-section="buku_pilihan"] .sk-books-nav:hover,
html[data-theme="koprate"] .sk-books-nav:hover{
  background:var(--sk-primary-hover) !important;
  color:var(--sk-ink) !important;
}
/* Hero carousel arrows */
html[data-theme="koprate"] .sk-hero-carousel .carousel-control-prev,
html[data-theme="koprate"] .sk-hero-carousel .carousel-control-next{
  background:var(--sk-ink) !important;
  opacity:.9 !important;
}
html[data-theme="koprate"] .sk-hero-carousel .carousel-control-prev:hover,
html[data-theme="koprate"] .sk-hero-carousel .carousel-control-next:hover{ background:var(--sk-primary) !important; }

/* --- Modal & reader: shadow lembut, border kemas --- */
html[data-theme="koprate"] .modal-content,
html[data-theme="koprate"] .sk-reader-dock,
html[data-theme="koprate"] #subscribeModal .modal-content{
  box-shadow:0 8px 30px rgba(17,23,23,.10) !important;
  border:1px solid var(--sk-line) !important;
}


/* ============================================================
   KOPRATE — final polish (design system: kuning accent sahaja)
   ============================================================ */
html[data-theme="koprate"] .sk-article-feature .sk-feature-body,
html[data-theme="koprate"] .sk-feature-body{
  background:var(--sk-white) !important;
  color:var(--sk-ink) !important;
  border-top:1px solid var(--sk-border) !important;
  border-radius:0 0 var(--radius-md) var(--radius-md) !important;
}
html[data-theme="koprate"] .sk-feature-title,
html[data-theme="koprate"] .sk-feature-meta,
html[data-theme="koprate"] .sk-feature-meta span{
  color:var(--sk-ink) !important;
  font-family:var(--sk-font-body) !important;
}
html[data-theme="koprate"] .sk-feature-title{ font-family:var(--sk-font-sub) !important; font-weight:700 !important; }

/* Detail kicker: pill gold, Montserrat, tiada rotate */
html[data-theme="koprate"] .sk-detail-kicker{
  display:inline-flex !important;
  background:var(--sk-yellow-soft) !important;
  color:var(--sk-gold) !important;
  border:1px solid var(--sk-gold) !important;
  border-radius:var(--radius-full) !important;
  box-shadow:none !important;
  transform:none !important;
  font-family:var(--sk-font-sub) !important;
  font-weight:700 !important;
}

/* Audit polish: detail title → Bebas Neue; outline button → outline style */
html[data-theme="koprate"] .sk-detail-title{
  font-family:var(--sk-font-heading) !important;
  color:var(--sk-ink) !important;
  text-shadow:none !important;
}
html[data-theme="koprate"] .sk-btn-outline,
html[data-theme="koprate"] .btn-outline-primary{
  background:transparent !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-ink) !important;
}
html[data-theme="koprate"] .sk-btn-outline:hover,
html[data-theme="koprate"] .btn-outline-primary:hover{
  background:var(--sk-ink) !important;
  color:#fff !important;
}

/* ============================================================
   KOPRATE — typography global ikut design system
   h1/h2 = Bebas Neue (heading) · h3/h4 = Montserrat (subheading)
   body = Inter. Semua heading dikecualikan dari Barlow.
   ============================================================ */
html[data-theme="koprate"] h1,
html[data-theme="koprate"] h2,
html[data-theme="koprate"] .sk-hero-title,
html[data-theme="koprate"] .sk-detail-title,
html[data-theme="koprate"] .sk-section-title,
html[data-theme="koprate"] .sk-pro-hero h1,
html[data-theme="koprate"] .sk-pro-hero h2,
html[data-theme="koprate"] .sk-popular-title,
html[data-theme="koprate"] .sk-pro-section-title,
html[data-theme="koprate"] .sk-detail-h2{
  font-family:var(--sk-font-heading) !important;
  text-shadow:none !important;
}
html[data-theme="koprate"] h3,
html[data-theme="koprate"] h4,
html[data-theme="koprate"] h5,
html[data-theme="koprate"] h6,
html[data-theme="koprate"] .sk-feature-title,
html[data-theme="koprate"] .sk-card h5,
html[data-theme="koprate"] .sk-uniform-body h3 a{
  font-family:var(--sk-font-sub) !important;
  text-shadow:none !important;
}

/* Reader chip → Inter */
html[data-theme="koprate"] .sk-reader-chip{
  font-family:var(--sk-font-body) !important;
  border-radius:var(--radius-full) !important;
  border:1px solid var(--sk-border) !important;
}

/* ============================================================
   KOPRATE — kontras: background hitam → teks putih
   ============================================================ */
html[data-theme="koprate"] .sk-epnav-btn-center,
html[data-theme="koprate"] .btn-secondary,
html[data-theme="koprate"] .btn-outline-secondary:hover,
html[data-theme="koprate"] .btn-outline-primary:hover,
html[data-theme="koprate"] .sk-btn-outline:hover{
  background:var(--sk-ink) !important;
  color:#fff !important;
}
html[data-theme="koprate"] .sk-epnav-btn-center strong,
html[data-theme="koprate"] .sk-epnav-btn-center small,
html[data-theme="koprate"] .sk-epnav-btn-center span,
html[data-theme="koprate"] .sk-epnav-btn-center i,
html[data-theme="koprate"] .btn-secondary strong,
html[data-theme="koprate"] .btn-secondary span,
html[data-theme="koprate"] .btn-secondary i{
  color:#fff !important;
}

/* ============================================================
   KOPRATE — Newsletter footer (radius 10px ikut design system)
   ============================================================ */
html[data-theme="koprate"] .sk-newsletter input,
html[data-theme="koprate"] .sk-newsletter button{
  border-radius:var(--radius-md) !important;
  font-family:var(--sk-font-body) !important;
}
html[data-theme="koprate"] .sk-newsletter input{
  border:1px solid var(--sk-border) !important;
  background:var(--sk-white) !important;
  color:var(--sk-ink) !important;
}
html[data-theme="koprate"] .sk-newsletter button{
  background:var(--sk-primary) !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-primary) !important;
  font-weight:600 !important;
}
html[data-theme="koprate"] .sk-newsletter button:hover{ background:var(--sk-primary-hover) !important; }

/* ============================================================
   KOPRATE — Hero slide cover penuh (16:6), teks di atas artwork
   ============================================================ */
html[data-theme="koprate"] .sk-hero-inner{
  display:block !important;
  position:relative;
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
  height:100% !important;
  min-height:0 !important;
}
html[data-theme="koprate"] .sk-hero-art{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:0 !important;
}
html[data-theme="koprate"] .sk-hero-carousel,
html[data-theme="koprate"] .sk-hero-carousel .carousel-inner,
html[data-theme="koprate"] .sk-hero-carousel .carousel-item{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}
html[data-theme="koprate"] .sk-hero-img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  object-fit:cover !important;
  object-position:center !important;
}
html[data-theme="koprate"] .sk-hero-copy{
  position:relative !important;
  z-index:3 !important;
  max-width:min(760px,90%) !important;
  width:auto !important;
  margin:0 auto !important;
  padding:2.5rem 1rem !important;
  text-align:center !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}
html[data-theme="koprate"] .sk-hero-overlay{
  background:linear-gradient(90deg,rgba(248,246,239,.92),rgba(248,246,239,.55) 45%,rgba(248,246,239,.1)) !important;
  z-index:1 !important;
}

/* Hero overlay: lebih transparen supaya artwork kelihatan */
html[data-theme="koprate"] .sk-hero-overlay{
  background:linear-gradient(90deg,rgba(248,246,239,.85),rgba(248,246,239,.35) 50%,rgba(248,246,239,.05)) !important;
}
/* Copy: Jangan stretch kids — kempen/button kekal saiz natural, tengah */
html[data-theme="koprate"] .sk-hero-copy{
  align-items:center !important;
}
html[data-theme="koprate"] .sk-hero-copy .sk-kempen,
html[data-theme="koprate"] .sk-hero-copy .sk-hero-title,
html[data-theme="koprate"] .sk-hero-copy .sk-hero-desc,
html[data-theme="koprate"] .sk-hero-copy .sk-btn{
  align-self:center !important;
  width:auto !important;
  max-width:100% !important;
}

/* KOPRATE — Kad komik besarkan sikit: 4 kolum desktop (~260px),
   3 kolum pada skrin sederhana. */
@media (min-width:1200px){
  html[data-theme="koprate"] .sk-uniform-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:1.5rem !important;
  }
}
@media (min-width:769px) and (max-width:1199px){
  html[data-theme="koprate"] .sk-uniform-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* ============================================================
   KOPRATE — Kandungan Berkaitan (mobile): gambar + tajuk sahaja
   ============================================================ */
@media (max-width:767px){
  /* ruang antara tajuk "Kandungan Berkaitan" dengan kad */
  html[data-theme="koprate"] .sk-related-block .sk-uniform-grid{
    margin-top:1rem !important;
  }
  /* kad lebih padat: gambar + tajuk je */
  html[data-theme="koprate"] .sk-related-block .sk-uniform-card .sk-chip,
  html[data-theme="koprate"] .sk-related-block .sk-uniform-card p,
  html[data-theme="koprate"] .sk-related-block .sk-uniform-card .btn{
    display:none !important;
  }
  html[data-theme="koprate"] .sk-related-block .sk-uniform-card .sk-uniform-body{
    padding:.6rem !important;
  }
  html[data-theme="koprate"] .sk-related-block .sk-uniform-card h3{
    margin:0 !important;
    font-size:.9rem !important;
    line-height:1.25 !important;
  }
}

/* ============================================================
   KOPRATE — Semua butang Bootstrap ikut design system
   Primary gold · Outline hitam/transparent · radius 10px · Inter
   ============================================================ */
html[data-theme="koprate"] .btn,
html[data-theme="koprate"] .btn-primary,
html[data-theme="koprate"] .btn-outline-primary,
html[data-theme="koprate"] .btn-outline-secondary,
html[data-theme="koprate"] .btn-secondary{
  font-family:var(--sk-font-body) !important;
  font-weight:600 !important;
  font-size:.875rem !important;
  letter-spacing:.01em !important;
  text-transform:none !important;
  border-radius:var(--radius-md) !important;
  box-shadow:none !important;
  padding:.6rem 1.1rem !important;
}
html[data-theme="koprate"] .btn,
html[data-theme="koprate"] .btn-primary{
  background:var(--sk-primary) !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-primary) !important;
}
html[data-theme="koprate"] .btn-primary:hover{ background:var(--sk-primary-hover) !important; color:var(--sk-ink) !important; }
html[data-theme="koprate"] .btn-outline-primary,
html[data-theme="koprate"] .btn-outline-secondary,
html[data-theme="koprate"] .btn-secondary{
  background:transparent !important;
  color:var(--sk-ink) !important;
  border:1px solid var(--sk-ink) !important;
}
html[data-theme="koprate"] .btn-outline-primary:hover,
html[data-theme="koprate"] .btn-outline-secondary:hover,
html[data-theme="koprate"] .btn-secondary:hover{
  background:var(--sk-ink) !important;
  color:#fff !important;
}
