/* ==========================================================
   Cakra Safety — tema situs (di atas Bootstrap 5.3)
   Konsep: rambu keselamatan — biru tinta, kuning sinyal,
   pita hazard sebagai satu-satunya ornamen.
   ========================================================== */

:root {
  --ink: #13233F;
  --ink-2: #1C3156;
  --ink-3: #2A4372;
  --signal: #FFC20E;
  --signal-deep: #E5A800;
  --red: #D62718;
  --steel: #556175;
  --line: #DCE2EA;
  --paper: #F2F4F7;
  --white: #FFFFFF;
  --wa: #128A44;
  --wa-deep: #0E7238;

  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 10px;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bs-body-font-family: var(--font);
  --bs-body-color: #1E2A3B;
  --bs-body-bg: var(--white);
  --bs-link-color: var(--ink);
  --bs-link-color-rgb: 19, 35, 63;
  --bs-link-hover-color: var(--ink-3);
  --bs-link-hover-color-rgb: 42, 67, 114;
  --bs-border-color: var(--line);
  --bs-primary: var(--ink);
  --bs-primary-rgb: 19, 35, 63;
  --bs-emphasis-color: var(--ink);
}

html { scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-stretch: 108%;
}

a { text-underline-offset: 3px; }
img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

.cs-skip {
  position: absolute; z-index: 2000; top: 8px; left: 8px;
  background: var(--signal); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 700;
}

/* ---------- Pita hazard ---------- */
.cs-hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--ink) 14px 28px);
}

/* ---------- Tombol ---------- */
.btn { font-weight: 650; border-radius: 999px; padding: .6rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.cs-btn-signal { background: var(--signal); color: var(--ink); border: 2px solid var(--signal); }
.cs-btn-signal:hover, .cs-btn-signal:focus-visible { background: var(--signal-deep); border-color: var(--signal-deep); color: var(--ink); }
.cs-btn-wa { background: var(--wa); color: #fff; border: 2px solid var(--wa); }
.cs-btn-wa:hover, .cs-btn-wa:focus-visible { background: var(--wa-deep); border-color: var(--wa-deep); color: #fff; }
.cs-btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.cs-btn-outline:hover, .cs-btn-outline:focus-visible { background: var(--ink); color: #fff; }
.cs-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.cs-btn-ghost:hover, .cs-btn-ghost:focus-visible { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

.cs-link { font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 5px; white-space: nowrap; }
.cs-link:hover { color: var(--ink-3); text-decoration-color: var(--ink); }

/* ---------- Topbar ---------- */
.cs-topbar { background: var(--ink); color: rgba(255,255,255,.78); font-size: .8125rem; padding: .45rem 0; }
.cs-topbar a { color: rgba(255,255,255,.88); text-decoration: none; }
.cs-topbar a:hover { color: var(--signal); }
.cs-topbar i { margin-right: .3rem; }
.cs-topbar__tagline { color: rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.cs-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.cs-header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.cs-brand img { height: 58px; width: auto; display: block; }

.cs-nav { align-items: center; gap: .25rem; }
.cs-nav > a, .cs-nav__drop {
  position: relative; display: inline-block; padding: .55rem .8rem;
  color: var(--ink); font-weight: 620; text-decoration: none; background: none; border: 0;
}
.cs-nav > a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 3px;
  background: var(--signal); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.cs-nav > a:hover::after, .cs-nav > a.is-active::after { transform: scaleX(1); }
.cs-nav__drop::after { vertical-align: .15em; }

.cs-mega {
  padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(19,35,63,.35);
  columns: 2; column-gap: .5rem; min-width: 420px;
}
.cs-mega .dropdown-item { border-radius: 8px; padding: .45rem .7rem; font-weight: 520; break-inside: avoid; color: var(--ink); }
.cs-mega .dropdown-item:hover, .cs-mega .dropdown-item:focus { background: var(--paper); }

.cs-search { position: relative; flex: 1 1 auto; max-width: 380px; margin-left: auto; }
.cs-search input {
  width: 100%; height: 46px; border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 0 3.25rem 0 1.15rem; font: inherit; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.cs-search input::placeholder { color: #7A8597; }
.cs-search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.cs-search button {
  position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; display: grid; place-items: center;
}
.cs-search button:hover { background: var(--ink-3); }
.cs-search--mobile { max-width: none; margin: 0 0 .85rem; }
.cs-search--block { max-width: 460px; margin: 1.5rem auto 0; }

.cs-wa-pill {
  align-items: center; gap: .6rem; text-decoration: none; color: var(--ink);
  padding: .3rem .9rem .3rem .3rem; border-radius: 999px; border: 1.5px solid var(--line);
}
.cs-wa-pill i { width: 38px; height: 38px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.cs-wa-pill strong { display: block; font-size: .9rem; line-height: 1.1; }
.cs-wa-pill small { display: block; color: var(--steel); font-size: .72rem; }
.cs-wa-pill:hover { border-color: var(--wa); color: var(--ink); }

.cs-burger {
  margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1.6rem; display: grid; place-items: center;
}

/* Offcanvas (menu mobile) */
.cs-offcanvas { --bs-offcanvas-width: min(88vw, 360px); }
.cs-offcanvas .offcanvas-header { border-bottom: 1px solid var(--line); }
.cs-offnav { display: grid; gap: .15rem; margin-bottom: 1.5rem; }
.cs-offnav a { font-size: 1.35rem; font-weight: 750; font-stretch: 112%; color: var(--ink); text-decoration: none; padding: .45rem 0; border-bottom: 1px solid var(--paper); }
.cs-offnav a.is-active { box-shadow: inset 4px 0 0 var(--signal); padding-left: .75rem; }
.cs-offcanvas__head { font-size: .9rem; color: var(--steel); font-weight: 600; margin: 0 0 .6rem; }
.cs-offcats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.cs-offcats a { font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; }
.cs-offcanvas__contact p { color: var(--steel); font-size: .875rem; margin: .75rem 0 0; }

/* ---------- Hero (beranda) ---------- */
.cs-hero { padding: 1.25rem 0 0; }
.cs-hero__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr;
}
.cs-hero__text { padding: 2.25rem 1.5rem 2rem; position: relative; z-index: 1; }
.cs-hero__kicker { color: var(--signal); font-weight: 650; font-size: 1.05rem; margin: 0 0 .4rem; }
.cs-hero__title {
  color: #fff; margin: 0;
  font-size: clamp(3.6rem, 1.6rem + 9vw, 7.75rem);
  font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; line-height: .9;
}
.cs-hero__sub { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); color: rgba(255,255,255,.82); margin: 1rem 0 1.75rem; max-width: 28ch; }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cs-hero__media { position: relative; background: #f6ece8; }
.cs-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; aspect-ratio: 870 / 431; }
.cs-hazard--hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }

@media (min-width: 992px) {
  .cs-hero__frame { grid-template-columns: 5fr 7fr; min-height: 440px; }
  .cs-hero__text { padding: 3.5rem 3rem 3.75rem; align-self: center; }
  .cs-hero__media img { aspect-ratio: auto; position: absolute; inset: 0; }
  .cs-hero__media::before {
    content: ""; position: absolute; inset: 0 auto 0 -1px; width: 180px; z-index: 1;
    background: linear-gradient(90deg, var(--ink) 0%, rgba(19,35,63,.55) 45%, rgba(19,35,63,0) 100%);
  }
}

/* Satu momen gerak: judul hero + pita hazard */
@media (prefers-reduced-motion: no-preference) {
  .cs-hero__title { animation: cs-rise .7s cubic-bezier(.2,.7,.2,1) both .05s; }
  .cs-hero__sub, .cs-hero__actions { animation: cs-rise .7s cubic-bezier(.2,.7,.2,1) both .18s; }
  .cs-hazard--hero { animation: cs-tape 1.1s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes cs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cs-tape { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* Keunggulan */
.cs-assure { padding: 1.25rem 0 0; }
.cs-assure__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
}
.cs-assure__list li {
  display: flex; align-items: flex-start; gap: .7rem; font-size: .875rem; color: var(--steel); line-height: 1.35;
  padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
}
.cs-assure__list i { color: var(--ink); font-size: 1.25rem; line-height: 1; margin-top: .1rem; }
.cs-assure__list strong { display: block; color: var(--ink); font-weight: 680; }
@media (min-width: 992px) {
  .cs-assure__list { grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); }
  .cs-assure__list li { border: 0; border-radius: 0; padding: 1.1rem 1.25rem; }
  .cs-assure__list li + li { border-left: 1px solid var(--line); }
}

/* ---------- Seksi ---------- */
.cs-section { padding: 3.5rem 0; }
.cs-section--paper { background: var(--paper); }
.cs-section--tight-top { padding-top: 1rem; }
.cs-section--catalog { padding-top: 2rem; }
.cs-section--detail { padding-top: 1.5rem; }
.cs-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.cs-section__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; font-stretch: 115%; margin: 0; }
.cs-section__sub { margin: .35rem 0 0; color: var(--steel); }
@media (min-width: 992px) { .cs-section { padding: 4.5rem 0; } }

/* Kategori (beranda) */
.cs-cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: 38%;
  gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; margin: 0 -12px; padding-inline: 12px; scroll-padding-inline: 12px; scrollbar-width: thin;
}
.cs-cat { scroll-snap-align: start; text-decoration: none; color: var(--ink); display: block; }
.cs-cat__img {
  display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: border-color .15s;
}
.cs-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cs-cat__name { display: block; font-weight: 650; font-size: .9rem; margin-top: .55rem; line-height: 1.25; }
.cs-cat:hover .cs-cat__img { border-color: var(--ink); }
.cs-cat:hover .cs-cat__img img { transform: scale(1.04); }
@media (min-width: 576px) { .cs-cats { grid-auto-columns: 26%; } }
@media (min-width: 992px) {
  .cs-cats { grid-auto-flow: row; grid-template-columns: repeat(7, 1fr); overflow: visible; margin: 0; padding: 0; gap: 1.25rem 1rem; }
}

/* Kartu produk */
.cs-product {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.cs-product__img { display: block; aspect-ratio: 1; background: #fff; padding: .6rem; }
.cs-product__img img { width: 100%; height: 100%; object-fit: contain; }
.cs-product__body { display: block; padding: .7rem .85rem .95rem; border-top: 1px solid var(--paper); }
.cs-product__cat { display: block; font-size: .72rem; color: var(--steel); margin-bottom: .2rem; }
.cs-product__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 620; font-size: .9rem; line-height: 1.3;
}
.cs-product:hover { border-color: var(--ink); box-shadow: 0 10px 24px -16px rgba(19,35,63,.5); color: var(--ink); }

@media (max-width: 767.98px) {
  [data-more-group]:not(.is-open) .cs-more { display: none; }
}

/* Banner promosi */
.cs-banner { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.cs-banner img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.cs-banner:hover img { transform: scale(1.02); }

/* Kartu artikel */
.cs-post { height: 100%; display: flex; flex-direction: column; }
.cs-post__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.cs-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cs-post:hover .cs-post__img img { transform: scale(1.03); }
.cs-post__body { padding-top: .9rem; }
.cs-post__date { display: block; color: var(--steel); font-size: .8rem; margin-bottom: .35rem; }
.cs-post__title { font-size: 1.15rem; font-weight: 720; margin: 0 0 .45rem; line-height: 1.3; }
.cs-post__title a { color: var(--ink); text-decoration: none; }
.cs-post__title a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
.cs-post__excerpt { color: var(--steel); font-size: .925rem; margin: 0; }

.cs-lead-post { display: grid; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.cs-lead-post__img { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper); }
.cs-lead-post__img img { width: 100%; height: 100%; object-fit: cover; }
.cs-lead-post h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; font-stretch: 112%; margin: .25rem 0 .75rem; }
.cs-lead-post h2 a { color: var(--ink); text-decoration: none; }
.cs-lead-post p { color: var(--steel); max-width: 60ch; }
@media (min-width: 992px) { .cs-lead-post { grid-template-columns: 7fr 5fr; align-items: center; gap: 3rem; } }

/* ---------- Kepala halaman ---------- */
.cs-pagehead { background: var(--ink); color: rgba(255,255,255,.8); padding: 2rem 0 2.25rem; }
.cs-pagehead h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 850; font-stretch: 118%; letter-spacing: -0.02em; margin: .25rem 0 .5rem; }
.cs-pagehead__meta { margin: 0; }
.cs-pagehead__meta strong { color: var(--signal); }
.cs-pagehead .cs-q { color: var(--signal); }
.cs-pagehead--slim { padding: .9rem 0; }
.cs-pagehead .breadcrumb, .cs-article-head .breadcrumb { margin: 0; font-size: .85rem; --bs-breadcrumb-divider-color: rgba(255,255,255,.4); --bs-breadcrumb-item-active-color: rgba(255,255,255,.65); }
.cs-pagehead .breadcrumb a, .cs-article-head .breadcrumb a { color: #fff; text-decoration: none; }
.cs-pagehead .breadcrumb a:hover, .cs-article-head .breadcrumb a:hover { color: var(--signal); }

/* Chip kategori */
.cs-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .75rem; margin: 0 -12px 1rem; padding-inline: 12px; scrollbar-width: none; }
.cs-chips::-webkit-scrollbar { display: none; }
.cs-chips--wrap { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
.cs-chip {
  flex: 0 0 auto; display: inline-block; padding: .45rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.cs-chip:hover { border-color: var(--ink); color: var(--ink); }
.cs-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Sidebar */
.cs-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; background: #fff; }
.cs-side--sticky { position: sticky; top: 100px; }
.cs-side__title { font-size: 1.05rem; font-weight: 750; margin: 0 0 .85rem; }
.cs-side__cats { list-style: none; margin: 0; padding: 0; }
.cs-side__cats a {
  display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .925rem; font-weight: 520;
}
.cs-side__cats a:hover { background: var(--paper); }
.cs-side__cats a.is-active { background: var(--ink); color: #fff; box-shadow: inset 4px 0 0 var(--signal); }

.cs-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cs-mini-list a { display: flex; gap: .75rem; align-items: center; color: var(--ink); text-decoration: none; }
.cs-mini-list img { width: 64px; height: 64px; flex: 0 0 64px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.cs-mini-list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.cs-mini-list small { display: block; color: var(--steel); font-weight: 400; font-size: .75rem; margin-top: .2rem; }
.cs-mini-list a:hover span { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* Paginasi */
.cs-pagination { margin-top: 2.5rem; }
.cs-pagination .pagination {
  justify-content: center; flex-wrap: wrap; gap: .35rem;
  --bs-pagination-color: var(--ink); --bs-pagination-border-color: var(--line);
  --bs-pagination-hover-bg: var(--paper); --bs-pagination-hover-color: var(--ink);
  --bs-pagination-active-bg: var(--ink); --bs-pagination-active-border-color: var(--ink);
  --bs-pagination-focus-box-shadow: 0 0 0 3px var(--signal);
}
.cs-pagination .page-link { border-radius: 10px !important; min-width: 42px; text-align: center; font-weight: 600; }

.cs-empty { padding: 2.5rem 1.5rem; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--steel); }
.cs-empty p { max-width: 52ch; margin: 0 auto 1rem; }

/* ---------- Detail produk ---------- */
.cs-gallery__main {
  aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: grid; place-items: center; padding: 1.25rem; overflow: hidden;
}
.cs-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.cs-gallery__thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; }
.cs-gallery__thumbs button {
  flex: 0 0 76px; height: 76px; padding: 4px; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: #fff; cursor: pointer;
}
.cs-gallery__thumbs button.is-active { border-color: var(--ink); }
.cs-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

.cs-buy__cat { display: inline-block; font-size: .85rem; font-weight: 650; color: var(--ink); background: var(--signal); padding: .25rem .7rem; border-radius: 999px; text-decoration: none; }
.cs-buy__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 850; font-stretch: 112%; margin: .75rem 0 1rem; }
.cs-buy__desc { color: #3A4658; }
.cs-buy__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.cs-buy__cta .btn { flex: 1 1 auto; }
.cs-buy__facts { list-style: none; padding: 1.25rem 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; color: var(--steel); font-size: .9rem; }
.cs-buy__facts i { color: var(--ink); margin-right: .5rem; }
@media (min-width: 992px) { .cs-buy { position: sticky; top: 104px; } }

.cs-tabs { margin-top: 3rem; }
.cs-tabs .nav-underline { --bs-nav-underline-border-width: 3px; --bs-nav-link-color: var(--steel); --bs-nav-link-hover-color: var(--ink); --bs-nav-underline-link-active-color: var(--ink); border-bottom: 1px solid var(--line); gap: 1.5rem; }
.cs-tabs .nav-link { font-weight: 700; font-size: 1.05rem; padding: .75rem 0; }
.cs-tabs .nav-link.active { border-bottom-color: var(--signal); }
.cs-tabs .tab-content { padding-top: 1.5rem; }

.cs-prose { max-width: 72ch; }
.cs-prose p { margin-bottom: 1rem; }
.cs-prose h2, .cs-prose h3 { margin: 1.5rem 0 .6rem; }
.cs-prose h2:first-child { margin-top: 0; }
.cs-prose--article { font-size: 1.0625rem; line-height: 1.8; color: #263347; }

/* ---------- Artikel ---------- */
.cs-article-head { background: var(--ink); padding: 2rem 0 2.5rem; color: rgba(255,255,255,.8); }
.cs-article-head h1 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 850; font-stretch: 112%; margin: .75rem 0 1rem; max-width: 24ch; }
.cs-article-head__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; font-size: .9rem; }
.cs-article-head__meta i { color: var(--signal); margin-right: .35rem; }
.cs-section--article { padding-top: 2.5rem; }
.cs-article-figure { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.cs-article-figure img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.cs-article-cta {
  margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--paper);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cs-article-cta p { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Kontak ---------- */
.cs-contact { display: grid; gap: .75rem; }
.cs-contact__item {
  display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: #fff;
}
.cs-contact__item i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-size: 1.25rem; color: var(--ink); }
.cs-contact__item small { display: block; color: var(--steel); font-size: .8rem; }
.cs-contact__item strong { display: block; font-weight: 700; line-height: 1.35; }
a.cs-contact__item:hover { border-color: var(--ink); color: var(--ink); }
.cs-contact__item--wa i { background: var(--wa); color: #fff; }

.cs-map { position: relative; height: 100%; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.cs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-map__card {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; max-width: 320px;
  background: #fff; border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: 0 16px 36px -16px rgba(19,35,63,.45);
  display: grid; gap: .15rem; font-size: .875rem; color: var(--steel); border-top: 4px solid var(--signal);
}
.cs-map__card strong { color: var(--ink); font-size: 1rem; }

/* ---------- 404 ---------- */
.cs-notfound__box { max-width: 560px; margin: 0 auto; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 1.5rem 2.5rem; overflow: hidden; }
.cs-hazard--tag { margin: 0 -1.5rem 2rem; }
.cs-notfound__code { font-size: 5rem; font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--ink); margin: 0 0 .5rem; }
.cs-notfound__box p { color: var(--steel); }

/* ---------- Footer ---------- */
.cs-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 0; }
.cs-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.cs-footer a:hover { color: var(--signal); }
.cs-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.cs-footer__join {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
  padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.cs-footer__join h2 { color: #fff; font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2rem); font-weight: 800; font-stretch: 115%; margin: 0 0 .3rem; }
.cs-footer__join p { margin: 0; }
.cs-footer__join .btn { color: #fff; }
.cs-footer__main { padding: 2.75rem 0 2rem; }
.cs-footer__logo { display: inline-block; background: #fff; border-radius: var(--radius); padding: .5rem .75rem; margin-bottom: 1rem; }
.cs-footer__logo img { height: 64px; width: auto; display: block; }
.cs-footer__lead { max-width: 34ch; }
.cs-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .925rem; }
.cs-footer__list li { display: flex; gap: .7rem; }
.cs-footer__list i { color: var(--signal); }
.cs-footer__cats { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1rem; font-size: .9rem; }
.cs-footer__cats li { margin-bottom: .45rem; break-inside: avoid; }
.cs-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  padding: 1.25rem 0 5.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem;
}
.cs-footer__bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (min-width: 992px) { .cs-footer__bottom { padding-bottom: 1.5rem; } }

/* Tombol WhatsApp melayang */
.cs-float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(18,138,68,.65);
}
.cs-float-wa i { font-size: 1.6rem; line-height: 1; }
.cs-float-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cs-float-wa:hover, .cs-float-wa:focus-visible { background: var(--wa-deep); color: #fff; }
@media (min-width: 992px) { .cs-float-wa { right: 24px; bottom: 24px; } }

/* ---------- Mobile kecil ---------- */
@media (max-width: 575.98px) {
  .cs-header__row { min-height: 66px; gap: .75rem; }
  .cs-brand img { height: 46px; }
  .cs-hero { padding-top: .75rem; }
  .cs-hero__frame { border-radius: 18px; }
  .cs-hero__actions .btn { flex: 1 1 auto; }
  .cs-section { padding: 2.75rem 0; }
  .cs-product__body { padding: .6rem .7rem .8rem; }
  .cs-product__title { font-size: .85rem; }
  .cs-pagehead { padding: 1.5rem 0 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
