/* ============================================================
   METIS - Furniture Kayu Jati
   Desain: nuansa kayu jati (krem + cokelat kayu)
   ============================================================ */

/* ---------- Variabel warna ---------- */
:root {
  --cream: #faf6ef;          /* latar utama */
  --cream-2: #f3ebdd;        /* latar sekunder */
  --sand: #e8dcc6;           /* garis / border */
  --wood-dark: #4a2f1d;      /* cokelat jati tua */
  --wood: #7a5230;           /* cokelat jati utama */
  --wood-light: #b08d62;     /* cokelat kayu terang */
  --gold: #c9a26b;           /* aksen emas kayu */
  --ink: #221a12;            /* teks utama */
  --muted: #7a6f63;          /* teks sekunder */
  --white: #fffdf9;
  --shadow: 0 6px 24px rgba(74, 47, 29, 0.10);
  --radius: 14px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset dasar ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  /* angka (mis. Chair001) sejajar dengan huruf, tidak gede-kecil */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
}

.section { padding: 72px 0; }
.section--tint { background: var(--cream-2); }
/* rapatkan jarak bagian pertama setelah hero */
.hero + .section { padding-top: 40px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
}
.btn--wood { background: var(--wood); color: #fff; }
.btn--wood:hover { background: var(--wood-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--wood); color: var(--wood); background: transparent; }
.btn--outline:hover { background: var(--wood); color: #fff; }
.btn--wa {
  background: #25d366;
  color: #fff;
  border-color: #1fb355;
}
.btn--wa:hover { background: #1fb355; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wood-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
}
.brand span { color: var(--wood-light); }
.brand-logo { height: 34px; width: auto; border-radius: 6px; flex-shrink: 0; }
.brand-tagline { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.06em; }
#footer-brand { text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s ease;
}
.nav-links a:hover { background: var(--cream-2); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--wood-dark);
}

/* ---------- Hero (sama gaya & ukuran dengan bagian Tentang) ---------- */
.hero {
  position: relative;
  padding: 64px 0;
  background:
    radial-gradient(1000px 420px at 88% -8%, rgba(201, 162, 107, 0.20), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 32px;
}
.hero-media {
  position: relative;
  flex: 0 0 72%; /* gambar ~72% → melewati tengah, memakan space caption */
  aspect-ratio: 3 / 2; /* lebar 1,5 : tinggi 1 → tinggi = 72%/1,5 = 48% kontainer = SAMA dengan tinggi gambar Tentang */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.9s ease;
}
.hero-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* caption & tombol di tengah sisa space yang tidak dipakai gambar */
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wood);
}
/* caption — font & cara penulisan sama seperti .about-text */
.hero-caption h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero-caption p {
  font-size: 1.05rem;
  color: var(--muted);
}
/* tombol BERJEJER, di tengah di bawah caption */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.about-slide { transition: opacity 0.9s ease; }

/* ---------- Kategori ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.cat-card:hover { transform: translateY(-5px); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30,18,8,0.8));
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.cat-card h3 { color: #fff; font-size: 1.2rem; }
.cat-card .count { color: var(--gold); font-size: 0.85rem; }

/* ---------- Grid produk ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .prod-grid { gap: 12px; } }
@media (max-width: 820px)  { .prod-grid { gap: 10px; } }
@media (max-width: 520px)  { .prod-grid { gap: 8px; } }
.prod-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(74,47,29,0.16); }
.prod-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prod-card:hover .thumb img { transform: scale(1.05); }
.prod-card .thumb { aspect-ratio: 1 / 1; }
.prod-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-card .cat-tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
}
.prod-card h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }
.prod-card .cap {
  font-size: 0.8rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-card .dims { font-size: 0.75rem; color: var(--wood); font-weight: 600; }
.prod-card .price { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.3; }
.prod-card .price b { color: var(--wood-dark); font-weight: 700; font-size: 0.92rem; }
.prod-card .price-old { color: var(--muted); font-size: 0.72rem; text-decoration: line-through; margin-right: 5px; }
.prod-card .price-disc { color: #b03a2e; font-size: 0.68rem; font-weight: 700; font-style: normal; margin-right: 4px; }
.prod-card .price--tanya { color: var(--muted); font-size: 0.76rem; font-style: italic; }
.prod-card .actions { margin-top: auto; display: flex; gap: 6px; padding-top: 6px; }
.prod-card .actions .btn { flex: 1; justify-content: center; padding: 8px 10px; font-size: 0.82rem; }

/* Badge stok (diisi lewat Panel Admin: Tersedia / Stok Habis / Pre-order) */
.stok-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 9px;
  color: #fff;
}
.stok-badge--ready { background: #2e7d32; }
.stok-badge--habis { background: #b03a2e; }
.stok-badge--preorder { background: #8a6d3b; }
.info .stok-badge { margin-left: 10px; vertical-align: middle; font-size: 0.72rem; padding: 3px 12px; }

/* ---------- Galeri (masonry — menyesuaikan rasio foto 1:1 / 3:4 / landscape) ---------- */
.galeri-grid {
  columns: 3;
  column-gap: 14px;
}
.galeri-item {
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.galeri-item img { width: 100%; height: auto; display: block; }
.galeri-item figcaption {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--sand);
}
@media (max-width: 820px) {
  .galeri-grid { columns: 2; column-gap: 10px; }
}
@media (max-width: 520px) {
  .galeri-grid { columns: 2; column-gap: 8px; }
  .galeri-item { margin-bottom: 8px; }
  .galeri-item figcaption { font-size: 0.75rem; padding: 8px 10px; }
}

/* ---------- Filter katalog ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--sand);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--wood); color: var(--wood); }
.chip.active { background: var(--wood); border-color: var(--wood); color: #fff; }
.search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  padding: 8px 16px;
}
.search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
}
.result-info { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.empty-state { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.pg-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--sand);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pg-btn:hover:not(:disabled) { border-color: var(--wood); color: var(--wood); }
.pg-btn.active { background: var(--wood); color: #fff; border-color: var(--wood); }
.pg-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Spesifikasi produk (detail) ---------- */
.spec {
  margin-bottom: 20px;
  border: 1px solid var(--sand);
  border-radius: 12px;
  overflow: hidden;
}
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--sand);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(even) { background: var(--cream-2); }
.spec-label {
  color: var(--wood);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.spec-value { text-align: right; font-weight: 500; }
@media (max-width: 480px) {
  .spec-row { flex-direction: column; gap: 2px; align-items: flex-start; }
  .spec-value { text-align: left; }
}

/* ---------- Detail produk ---------- */
.detail { padding: 40px 0 72px; }
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: start;
}
.gallery .main-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 1 / 1;
  position: relative;
  touch-action: pan-y;
}
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
/* Galeri geser (swipe) */
.gal-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
}
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(42, 26, 18, 0.45);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.gal-arrow:hover { background: rgba(42, 26, 18, 0.75); }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  background: rgba(42, 26, 18, 0.55);
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 999px;
}
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--sand);
  background: var(--cream-2);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active { border-color: var(--wood); }

.info .cat-tag {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
}
.info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 8px 0 14px; text-transform: uppercase; letter-spacing: 0.02em; }
.info .desc { color: var(--muted); margin-bottom: 24px; }
.info .price-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.info .price-main { font-size: 1.9rem; font-weight: 700; color: var(--wood-dark); }
.info .price-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.info .price-disc { background: #b03a2e; color: #fff; border-radius: 6px; padding: 2px 8px; font-size: 0.8rem; font-weight: 700; }
.info .note {
  background: var(--cream-2);
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.info .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.back-link:hover { color: var(--wood); }

/* ---------- Tentang ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-text ul { list-style: none; margin-top: 16px; }
.about-text li { padding: 6px 0; display: flex; gap: 10px; align-items: center; color: var(--ink); }
.about-text li::before { content: "✓"; color: var(--wood); font-weight: 700; }

/* ---------- Kontak / footer ---------- */
.contact-card {
  background: var(--wood-dark);
  color: #f3ecdf;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.contact-card h2 { color: #fff; margin-bottom: 10px; }
.contact-card p { color: #d9c9b4; margin-bottom: 24px; max-width: 520px; margin-inline: auto; }
.contact-card .btn--wa { font-size: 1.05rem; padding: 15px 30px; }

footer {
  background: var(--wood-dark);
  color: #d9c9b4;
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: #fff; font-family: var(--font-serif); margin-bottom: 12px; }
.footer-grid a { display: block; padding: 4px 0; transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  color: #b3a08a;
  font-size: 0.85rem;
}

/* ---------- Tombol WhatsApp mengambang ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.22s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Tombol kembali ke atas ---------- */
.to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--wood);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--wood-dark); }
@media (max-width: 640px) {
  .to-top { width: 40px; height: 40px; left: 14px; bottom: 16px; font-size: 1rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: 12px 16px 20px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  /* hero: gambar → caption → tombol (menumpuk) */
  .hero { padding: 44px 0; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .hero-media { flex: 0 0 auto; width: 100%; aspect-ratio: 3 / 2; height: auto; }
  .hero-side { align-items: center; text-align: center; justify-content: flex-start; }
  .hero-caption { text-align: center; }
  .hero-caption h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .hero-caption p { font-size: 0.95rem; }
  .hero-cta { justify-content: center; }
}

/* ---------- Responsive HP (layar kecil) ---------- */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }

  /* header di HP: nama brand saja, melebar & rapi */
  .brand { font-size: 1.4rem; }
  .brand-logo { height: 26px; }
  .brand-tagline { display: none; }

  /* hero lebih ringkas */
  .hero { padding: 32px 0; }
  .hero + .section { padding-top: 24px; }
  .hero-caption h1 { font-size: clamp(1.3rem, 6vw, 1.6rem); }
  .hero-caption p { font-size: 0.9rem; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; padding: 10px 14px; font-size: 0.82rem; }

  /* kartu kategori 3 sejajar di HP */
  .cat-grid { gap: 10px; grid-template-columns: repeat(3, 1fr); }
  .cat-card .overlay { padding: 10px; }
  .cat-card h3 { font-size: 0.95rem; }

  /* chip filter bisa digeser ke samping */
  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 4px;
  }
  .chip { white-space: nowrap; flex-shrink: 0; }

  /* pagination lebih kecil */
  .pg-btn { min-width: 36px; height: 38px; padding: 0 10px; font-size: 0.85rem; }

  /* kartu produk 3 sejajar di HP */
  .prod-grid { gap: 8px; grid-template-columns: repeat(3, 1fr); }
  .prod-card .body { padding: 6px; gap: 2px; }
  .prod-card .cat-tag { font-size: 0.5rem; letter-spacing: 0.08em; }
  .prod-card h3 { font-size: 0.68rem; }
  .prod-card .cap { display: none; }
  .prod-card .dims { font-size: 0.56rem; }
  .prod-card .price { font-size: 0.7rem; }
  .prod-card .price b { font-size: 0.78rem; }
  .prod-card .price-old { display: none; }
  .prod-card .price--tanya { font-size: 0.64rem; }
  .prod-card .actions { gap: 4px; padding-top: 3px; }
  .prod-card .actions .btn { padding: 5px 2px; font-size: 0.62rem; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  /* kontak lebih ringkas di HP */
  .contact-card { padding: 24px 18px; }
  .contact-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
  .contact-card p { font-size: 0.9rem; margin-bottom: 16px; }
  .contact-card .btn--wa { font-size: 0.92rem; padding: 12px 22px; width: 100%; }
}

@media (max-width: 480px) {
  .hero-caption h1 { font-size: clamp(1.15rem, 5.2vw, 1.4rem); }
  .hero-caption p { font-size: 0.8rem; }
  .about-text h2 { font-size: 1.6rem; }
  .detail { padding: 24px 0 48px; }
  .info .actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Lightbox zoom galeri */
.lb-zoom { display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.92); }
.lb-zoom.open { display:block; }
.lb-bar { position:absolute; top:0; left:0; right:0; display:flex; justify-content:flex-end; padding:12px; z-index:2; }
.lb-close { width:44px; height:44px; border:none; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; font-size:1.2rem; cursor:pointer; }
.lb-close:hover { background:rgba(255,255,255,.3); }
.lb-stage { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:20px; }
.lb-stage img { max-width:100%; max-height:100%; transition:transform .15s ease; cursor:zoom-out; user-select:none; -webkit-user-drag:none; }
.lb-cap { position:absolute; bottom:44px; left:0; right:0; text-align:center; color:#ddd; font-size:.95rem; padding:0 20px; }
.lb-hint { position:absolute; bottom:12px; left:0; right:0; text-align:center; color:#888; font-size:.75rem; }
