:root {
  --bg: #ffffff;
  --bg-muted: #fafbfc;
  --bg-warm: #fef7f0;
  --ink: #121212;
  --text: #333333;
  --heading: #2d3748;
  --muted: #6d768d;
  --accent: #f97316;
  --accent-2: #fb923c;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 5px;
  --container: 1180px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --font: "Poppins", system-ui, sans-serif;
  --chrome-offset: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

.wrap {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* —— Sticky chrome: topbar + header —— */
.chrome {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  background: linear-gradient(135deg, #121212 0%, #313131 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: flex-end;
  min-height: 36px;
  padding: 0.3rem 0;
}

.topbar a:hover { color: var(--accent-2); }
.topbar-wa { font-weight: 600; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  z-index: 2;
}

.brand img { height: 34px; width: auto; }

.nav {
  display: flex;
  gap: 1.15rem;
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
  align-items: center;
}

.nav a:hover { color: var(--ink); }
.nav-wa { color: #128c7e !important; font-weight: 600; }

.header-cta { margin-left: 0.25rem; }

/* Burger */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f5f5f5;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 60;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-accent {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--heading);
}
.btn-ghost:hover { border-color: #cfd4dc; }
.btn-wa {
  background: #25d366;
  color: #06240f;
}
.btn-wa:hover { background: #1da851; color: #fff; }
.btn-demo {
  background: #f5f5f5;
  color: var(--ink);
}
.btn-demo:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(249, 115, 22, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg-muted) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.75rem 0 3rem;
}

.badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-weight: 800;
}

.lede {
  margin: 0.9rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta strong {
  color: var(--heading);
  display: block;
  font-size: 16px;
}

.hero-slide {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3.2;
  padding: 14px;
  background: linear-gradient(180deg, #f8f9fa, #eef1f4);
}

.img-frame img,
.product-card .thumb img,
.detail-media .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
}

.hero-slide-caption span {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.products {
  padding: 2.75rem 0 3rem;
  background: var(--bg-muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.eyebrow {
  margin: 0 0 0.2rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head h2,
.bundle-box h2,
.contact-box h2,
.detail-copy h1 {
  margin: 0;
  color: var(--heading);
  letter-spacing: -0.02em;
  font-weight: 750;
}

.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.section-note { margin: 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-card .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1.05;
  padding: 12px;
  background: linear-gradient(180deg, #f8f9fa, #eef1f4);
  overflow: hidden;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 14px 14px 16px;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--heading);
  letter-spacing: -0.02em;
  line-height: 1.35;
  min-height: 2.6em;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
}

.price span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}

.card-actions .btn {
  padding: 9px 8px;
  font-size: 11.5px;
}

.bundle {
  padding: 0 0 2.5rem;
  background: var(--bg-muted);
}

.bundle-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-warm);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius);
}

.bundle-box p { margin: 0.35rem 0 0; color: var(--muted); }

.contact { padding: 0 0 3rem; }

.contact-box {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-box p { color: var(--muted); margin: 0.5rem 0 1.1rem; }

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer strong { color: var(--heading); }
.site-footer p { margin: 0.2rem 0 0; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }

/* Detail */
.detail { padding: 2rem 0 3rem; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.detail-media {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-media .img-frame {
  aspect-ratio: 1 / 1.1;
  min-height: 420px;
}

.detail-copy .badge { margin-bottom: 0.6rem; }

.detail-copy h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.detail-price {
  margin: 0.75rem 0 1rem;
  font-size: 28px;
  font-weight: 800;
  color: var(--heading);
}

.detail-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.detail-blurb {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 15px;
}

.feature-list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--heading);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.loading,
.error {
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
}

/* Mobile dock — fixed sub-bar */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
}

.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.45rem 0.25rem;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius);
}

.mobile-dock a:hover,
.mobile-dock a:active {
  color: var(--ink);
  background: #f5f5f5;
}

.dock-wa { color: #128c7e !important; }
.dock-ico { font-size: 14px; line-height: 1; }

@media (max-width: 960px) {
  .hero-inner,
  .detail-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .burger { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    margin: 0;
    padding: 5.5rem 1.25rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    z-index: 55;
  }

  body.nav-open .nav { transform: translateX(0); }

  .nav a {
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius);
    color: var(--heading);
    font-weight: 600;
  }

  .nav a:hover { background: #f5f5f5; }

  .mobile-dock { display: grid; }

  body,
  .page-detail {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-footer { padding-bottom: 1.25rem; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .detail-actions { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .detail-media .img-frame { min-height: 300px; }
}
