/* =====================================================================
   Luxvee Furniture — situs publik
   Navy + emas + krem hangat, mengikuti sampul katalog "Precision in
   Design, Performance in Business". Judul Jost, isi Inter.
   ===================================================================== */

:root {
  --navy: #14202e;
  --navy-2: #1d2c3e;
  --navy-3: #2a3b50;
  --gold: #b8914f;
  --gold-2: #c9a76a;
  --gold-soft: #efe4cf;
  --cream: #faf7f1;
  --cream-2: #f3eee4;
  --paper: #ffffff;
  --ink: #18212c;
  --ink-2: #4a5462;
  --muted: #6e7681;
  --line: #e6dfd2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --walnut: #4a3426;

  --font-head: 'Jost', 'Futura', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 4px;
  --shadow: 0 1px 2px rgba(20, 32, 46, 0.06), 0 8px 24px rgba(20, 32, 46, 0.06);
  --shadow-lg: 0 2px 4px rgba(20, 32, 46, 0.06), 0 18px 40px rgba(20, 32, 46, 0.12);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; color: inherit; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 680px; }
.center { text-align: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* -------------------------------- TOMBOL -------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 14px/1.2 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 50px; padding: 14px 26px; font-size: 15px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a37f42; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.section-dark .btn-ghost:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-arrow { color: var(--gold); font: 500 14px var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--navy); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.4 var(--font-head); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

/* -------------------------------- HEADER -------------------------------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; color: var(--gold); }
.logo-text { display: flex; flex-direction: column; font: 700 22px/1 var(--font-head); letter-spacing: 0.28em; }
.logo-text small { font: 500 9.5px/1 var(--font-head); letter-spacing: 0.42em; color: var(--gold); margin-top: 5px; }

.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a {
  position: relative; text-decoration: none; color: var(--ink-2);
  font: 500 14px/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 0;
}
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s; }
.menu a:hover, .menu a.current { color: var(--navy); }
.menu a:hover::after, .menu a.current::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { min-height: 38px; padding: 8px 16px; font-size: 13px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 18px; height: 1.5px; background: var(--navy); transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel { display: none; }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .nav { height: 64px; }
  .menu { display: none; }
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter membuat header jadi containing block untuk anak "fixed";
     matikan di mobile supaya panel menu menutupi seluruh layar. */
  header.site { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .mobile-panel {
    display: block; position: fixed; inset: 64px 0 0; z-index: 60; height: calc(100dvh - 64px); background: #fff; padding: 12px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    overflow-y: auto;
  }
  .mobile-panel.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-panel .m-link {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none;
    font: 500 18px var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy);
  }
  .mobile-panel .m-link.current { color: var(--gold); }
  .mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
}

/* --------------------------------- HERO --------------------------------- */

.hero { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px);
}
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); margin-top: 18px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }

.hero-search { display: flex; margin-top: 28px; max-width: 520px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 16px; font: 15px var(--font-body); color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { border-color: var(--gold); }
.hero-search .btn { border-radius: 0 var(--radius) var(--radius) 0; }

.hero-art { margin: 0; position: relative; }
.hero-art::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: var(--radius); pointer-events: none;
}
.hero-art img { position: relative; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 55% 50%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-art figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(20, 32, 46, 0.88); color: #fff;
  padding: 10px 14px; border-left: 2px solid var(--gold); display: grid; gap: 2px; max-width: calc(100% - 32px);
}
.hero-art figcaption span:first-child { font: 500 14px var(--font-head); letter-spacing: 0.04em; }
.hero-art figcaption span:last-child { font-size: 12px; color: #c9d1db; }

.stat-strip { background: var(--navy); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font: 600 clamp(24px, 3vw, 34px)/1.1 var(--font-head); color: var(--gold-2); }
.stat .lbl { font-size: 13px; color: #b9c2cd; margin-top: 6px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; }
  .hero-art img { aspect-ratio: 16 / 9; }
  .hero-art::before { inset: -10px 10px 10px -10px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

/* ------------------------------- SECTION -------------------------------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .lede, .section-dark p { color: #c4ccd6; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--navy); }
.section-dark h2 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-desc { max-width: 46ch; color: var(--ink-2); margin: 0; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* -------------------------------- TENTANG ------------------------------- */

.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p { color: var(--ink-2); }
.badge-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge-list li { border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--navy); }
.badge-list li::before { content: '◆'; color: var(--gold); font-size: 9px; margin-right: 8px; vertical-align: 2px; }
.about-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-fig { background: #fff; padding: 28px 24px; }
.about-fig .num { font: 600 clamp(28px, 3.4vw, 38px)/1 var(--font-head); color: var(--navy); }
.about-fig .lbl { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------- KATEGORI ------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-tile {
  display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px 12px 12px;
  text-decoration: none; color: var(--navy); transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cat-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-img { width: 84px; height: 72px; background: var(--cream); display: grid; place-items: center; border-radius: 2px; overflow: hidden; }
.cat-img img { max-width: 76px; max-height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.cat-text { display: grid; gap: 4px; }
.cat-name { font: 500 16px/1.25 var(--font-head); }
.cat-count { font-size: 13px; color: var(--muted); }
.cat-arrow { color: var(--gold); font-size: 18px; transition: transform 0.18s; }
.cat-tile:hover .cat-arrow { transform: translateX(3px); }

/* ---------------------------- KARTU PRODUK ------------------------------ */

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.product-card:hover { border-color: var(--gold-2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; padding: 18px; border-bottom: 1px solid var(--cream-2); }
.product-media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; transition: transform 0.3s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.no-img { color: var(--muted); font-size: 13px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 8px; font: 500 11px var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; background: var(--navy); color: #fff; }
.badge-warn { background: #9a4a2b; }
.product-body { padding: 16px 18px 6px; flex: 1; }
.product-cat { font: 500 11.5px/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.product-name { font: 500 18px/1.3 var(--font-head); margin-top: 6px; color: var(--navy); }
.product-name a { text-decoration: none; }
.product-name a::after { content: ''; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-foot, .product-media { position: relative; z-index: 1; }
.product-code { font: 400 12.5px var(--font-mono); color: var(--muted); margin-top: 4px; }
.product-price { font: 600 17px/1.3 var(--font-head); color: var(--gold); margin-top: 8px; }
.product-price small { font: 400 12px var(--font-body); color: var(--muted); }
.product-specs { margin: 12px 0 0; display: grid; gap: 6px; }
.product-specs div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; font-size: 13px; line-height: 1.4; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; color: var(--ink-2); }
.product-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px 16px; font: 500 13px var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; }
.product-foot a { text-decoration: none; color: var(--navy); }
.product-foot a:hover { color: var(--gold); }
.product-foot .wa-link { color: #1f8a4c; }

/* ------------------------------ PENDIDIKAN ------------------------------ */

.edu-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.edu-art { margin: 0; position: relative; }
.edu-art img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.edu-art::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.edu-art { z-index: 0; isolation: isolate; }
.edu h2 { margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; color: #dfe5ec; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .edu-grid { grid-template-columns: minmax(0, 1fr); }
  .edu-art img { max-height: 340px; }
}

/* ------------------------------ KEUNGGULAN ------------------------------ */

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 28px 24px; border-radius: var(--radius); }
.service-card .idx { font: 500 13px var(--font-mono); color: var(--gold); }
.service-card h3 { font-size: 20px; color: var(--navy); margin: 14px 0 10px; }
.service-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------- PROYEK -------------------------------- */

.project-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.project-feature, .project-mini { background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.project-feature .tag { color: var(--gold); font: 500 12px var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.project-feature h3 { font-size: 24px; margin: 10px 0 14px; color: var(--navy); }
.project-side { display: grid; gap: 18px; }
.project-mini h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
blockquote { margin: 20px 0 0; padding-left: 18px; border-left: 2px solid var(--gold); }
blockquote cite { font-style: normal; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------- KONTAK -------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-list { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list dt { font: 500 12px/1.6 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.contact-list dd { margin: 0; color: #e7ebf0; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact-list a:hover { border-color: var(--gold-2); }

.quote { background: #fff; color: var(--ink); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); display: grid; gap: 6px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > div { display: grid; gap: 6px; }
.quote label { font: 500 12px var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-top: 8px; }
.quote .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--font-body); }
.quote input, .quote select, .quote textarea {
  width: 100%; border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius);
  padding: 12px 14px; font: 15px var(--font-body); color: var(--ink);
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(184, 145, 79, 0.15); }
.quote textarea { min-height: 110px; resize: vertical; }
.quote button { margin-top: 16px; }
.quote .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 6px 0 0; min-height: 1.4em; font-size: 14px; color: var(--ink-2) !important; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* -------------------------------- KATALOG ------------------------------- */

.catalog-hero { background: var(--navy); color: #fff; padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 56px); }
.catalog-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 14px; }
.catalog-hero .lede { color: #c4ccd6; }
.catalog-hero .breadcrumb, .catalog-hero .breadcrumb a { color: #9eabba; }
.catalog-search { display: flex; max-width: 560px; margin-top: 24px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.catalog-search input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: 15px var(--font-body); color: var(--ink); }
.catalog-search input:focus { outline: none; }
.catalog-search .btn { border-radius: 0; }

.catalog-section { padding-top: clamp(28px, 4vw, 48px); }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.catalog-side { position: sticky; top: 92px; }
.catalog-side .side-title { font: 500 12px var(--font-head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-cats a {
  display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--radius);
  text-decoration: none; color: var(--ink-2); font-size: 14.5px; border-left: 2px solid transparent;
}
.side-cats a span { color: var(--muted); font: 12px var(--font-mono); padding-top: 2px; }
.side-cats a:hover { background: #fff; color: var(--navy); }
.side-cats a.active { background: #fff; color: var(--navy); border-left-color: var(--gold); font-weight: 600; box-shadow: var(--shadow); }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-bar p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.catalog-main .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.catalog-empty { background: #fff; border: 1px dashed var(--line); padding: 40px 24px; text-align: center; color: var(--ink-2); border-radius: var(--radius); }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { text-decoration: none; font: 500 14px var(--font-head); letter-spacing: 0.04em; }
.pager > a, .pager > span { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); }
.pager > a:hover { border-color: var(--gold); }
.pager .disabled { color: #b3b8bf; }
.pager-nums { display: flex; gap: 4px; flex-wrap: wrap; }
.pager-nums a, .pager-nums span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); color: var(--ink-2); }
.pager-nums a:hover { background: #fff; color: var(--navy); }
.pager-nums .current { background: var(--navy); color: #fff; }

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .catalog-side { position: static; }
  .side-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .side-cats a { white-space: nowrap; background: #fff; border: 1px solid var(--line); border-left-width: 1px; }
  .side-cats a.active { border-color: var(--gold); }
}
@media (max-width: 560px) {
  .catalog-main .catalog-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 12px 12px 4px; }
  .product-name { font-size: 15.5px; }
  .product-specs { display: none; }
  .product-price { font-size: 15px; }
  .product-foot { padding: 10px 12px 12px; flex-direction: column; gap: 6px; font-size: 12px; }
  .product-media img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .pager > a, .pager > span { flex: 1; text-align: center; }
  .pager-nums { order: -1; width: 100%; justify-content: center; }
}

/* ----------------------------- DETAIL PRODUK ---------------------------- */

.breadcrumb { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.product-page { padding-top: clamp(24px, 4vw, 40px); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 24px; align-items: start; }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery-main img { position: absolute; inset: clamp(18px, 4vw, 40px); width: calc(100% - 2 * clamp(18px, 4vw, 40px)); height: calc(100% - 2 * clamp(18px, 4vw, 40px)); object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 84px; height: 68px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active, .thumb:hover { border-color: var(--gold); }
.product-info h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); margin-top: 8px; }
.product-info .product-code { font-size: 14px; margin-top: 8px; }
.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.meta-grid div { padding: 14px 16px; border-left: 1px solid var(--line); }
.meta-grid div:first-child { border-left: 0; }
.meta-grid dt { font: 500 11.5px var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.meta-grid dd { margin: 4px 0 0; font-weight: 500; color: var(--navy); font-size: 14.5px; }
.small-link { margin-top: 16px; font-size: 14px; }
.small-link a { color: var(--gold); text-decoration: none; }

.spec-block { margin-top: clamp(40px, 6vw, 64px); }
.spec-block h2 { font-size: clamp(24px, 3vw, 30px); color: var(--navy); margin-bottom: 18px; }
.spec-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.spec-table { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.spec-table div:first-child { border-top: 0; }
.spec-table dt { color: var(--muted); font-size: 14px; }
.spec-table dd { margin: 0; color: var(--ink); font-size: 14.5px; }
.spec-note { margin: 0; padding: 12px 18px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--cream); }
@media (max-width: 900px) {
  .product-grid, .spec-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .meta-grid div { padding: 12px 10px; }
  .meta-grid dd { font-size: 13.5px; }
  .wa-float { width: 48px; height: 48px; }
  .wa-float svg { width: 24px; height: 24px; }
  .spec-table div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

.page-title { font-size: clamp(28px, 5vw, 44px); color: var(--navy); margin: 10px 0 16px; }
.wrap.center { text-align: center; padding-top: 24px; }
.wrap.center .eyebrow { justify-content: center; }

/* -------------------------------- FOOTER -------------------------------- */

.site-footer { background: #0e1722; color: #9eabba; padding-top: 56px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer .logo { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-style: italic; color: #b9c2cd; }
.site-footer h4 { font: 500 12px var(--font-head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c4ccd6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ------------------------------ WA MENGAMBANG --------------------------- */

.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); transition: transform 0.18s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------------------------- LAYAR SANGAT KECIL ------------------------ */

@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 13px 18px; font-size: 14px; }
  .hero h1 { font-size: 30px; }
  .hero-search .btn, .catalog-search .btn { padding-left: 14px; padding-right: 14px; }
  .logo-text { font-size: 19px; letter-spacing: 0.22em; }
  .logo-mark { width: 30px; height: 30px; }
  .cat-tile { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .cat-img { width: 64px; height: 56px; }
  .cat-img img { max-width: 58px; max-height: 50px; }
  .stat { padding: 16px 12px; }
  .product-foot { font-size: 11.5px; }
}

@media (max-width: 359px) {
  .meta-grid { grid-template-columns: minmax(0, 1fr); }
  .meta-grid div { border-left: 0; border-top: 1px solid var(--line); }
  .meta-grid div:first-child { border-top: 0; }
}
