/* Layout & komponen situs publik InovaKit (light theme). */

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,249,247,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 1.15rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.logo-pill {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: .78rem; font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--brand); }
.btn-wa { padding: 9px 16px; font-size: .9rem; }

/* ── Hero ───────────────────────────────── */
.hero { padding: 72px 0 56px; text-align: center; }
.hero .eyebrow {
  display: inline-block; color: var(--brand); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin: 0 0 16px; line-height: 1.05;
}
.hero h1 em { color: var(--brand); font-style: italic; }
.hero .lead { color: var(--ink-soft); max-width: 60ch; margin: 0 auto 26px; font-size: 1.08rem; }

/* ── Section ────────────────────────────── */
.section { padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 32px; }
.sec-head h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 8px; }
.sec-head p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto; }
.eyebrow {
  display: inline-block; color: var(--brand); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px;
}

/* ── Grid produk & kategori ─────────────── */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
a.pcard:hover { border-color: var(--brand); transform: translateY(-2px); color: inherit; }
.pcard-img {
  aspect-ratio: 1/1; background: linear-gradient(135deg, #e8ece8, #d5dbd6);
  display: grid; place-items: center; color: var(--steel); font-weight: 700; overflow: hidden;
}
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 14px 16px 16px; }
.pcard-body h3 { margin: 0 0 4px; font-size: 1.02rem; }
.pcard-body .sub { color: var(--ink-soft); font-size: .82rem; margin: 0 0 8px; }
.pcard-body .price { color: var(--brand-deep); font-weight: 700; }

/* ── Artikel / blog ─────────────────────── */
.post-card { display: block; color: inherit; text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-card:hover { color: inherit; }
.post-card h3 { margin: 0 0 6px; }
.post-card .meta { color: var(--ink-soft); font-size: .82rem; }
.post-card .excerpt { color: var(--ink-soft); margin: 6px 0 0; }

/* ── Detail produk ──────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery-main {
  aspect-ratio: 1/1; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(135deg, #e8ece8, #d5dbd6); display: grid; place-items: center;
  color: var(--steel); font-weight: 700; overflow: hidden; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.price-big { font-size: 1.5rem; color: var(--brand-deep); font-weight: 800; margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.spec-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-table td:first-child { color: var(--ink-soft); width: 40%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .85rem; }

/* ── Prose artikel ──────────────────────── */
.prose { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.prose img { max-width: 100%; border-radius: 10px; }
.prose h2, .prose h3 { margin-top: 1.6em; }

/* ── Footer ─────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0 24px; margin-top: 40px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--brand-bright); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.foot-grid h4 { color: #fff; margin: 0 0 10px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; }

/* ── Tombol ghost ───────────────────────── */
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--ink); font-weight: 600;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }

/* ── Logo ───────────────────────────────── */
.logo-img { height: 48px; width: auto; display: block; }

/* ── Hamburger (mobile) ─────────────────── */
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); padding: 4px; line-height: 1; }
@media (max-width: 720px) {
  .hamburger { display: block; }
  .nav {
    display: none; flex-direction: column; gap: 12px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 16px 24px; box-shadow: 0 10px 24px rgba(0,0,0,.06);
  }
  .nav.open { display: flex; }
}

/* ── Kartu kategori ─────────────────────── */
.cat-card {
  background: linear-gradient(135deg, #ffffff, #eef2ee);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; color: inherit; text-decoration: none; display: block;
  transition: border-color .2s, transform .2s;
}
a.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); color: inherit; }
.cat-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cat-card .brand-tag { color: var(--brand); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.cat-card .count { color: var(--ink-soft); font-size: .82rem; }

/* ── Overrides & polish ─────────────────── */
.nav a.btn, .nav a.btn:hover { color: #fff; }
.btn-wa { flex-shrink: 0; white-space: nowrap; background: var(--brand-deep); padding: 10px 18px; }
.btn-wa:hover { background: #2F4A3E; }
.btn-shopee { background: #EE4D2D; }
.btn-shopee:hover { background: #C93A1E; }

.pcard-img .ph {
  color: var(--ink-soft); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .74rem; opacity: .8;
}
.cat-card::before {
  content: ""; display: block; width: 30px; height: 3px;
  background: var(--brand); border-radius: 2px; margin-bottom: 12px;
}
.pcard-body h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em;
}

/* ── Lightbox ───────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 12, 10, .88); align-items: center; justify-content: center;
  cursor: zoom-out; padding: 24px;
}
.lightbox img { max-width: 92%; max-height: 92%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.gallery-thumbs img { cursor: pointer; }

/* ── Prose deskripsi produk ─────────────── */
.desc { color: var(--ink-soft); line-height: 1.7; font-size: .98rem; }
.desc p { margin: 0 0 12px; }
.desc ul, .desc ol { margin: 0 0 12px; padding-left: 20px; }
.desc li { margin-bottom: 4px; }
.desc strong, .desc b { color: var(--ink); }
