/* ================= PRODUCT TOUR (berdiri sendiri) ================= */
.tour-root {
  --t-ink: var(--ink, #0b2342);
  --t-white: var(--white, #fff);
  --t-coral: var(--coral, #ff5c7a);
  --t-sun: var(--sun, #ffd66b);
  --t-mute: var(--mute, #47607c);
  --t-font: var(--f-b, "Inter", system-ui, sans-serif);
  --t-font-d: var(--f-d, "Bricolage Grotesque", "Inter", system-ui, sans-serif);
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  font-family: var(--t-font);
}
.tour-root [hidden] { display: none !important; }
.tour-shield { position: fixed; inset: 0; pointer-events: auto; background: transparent; }
.tour-root.is-center .tour-shield { background: rgba(11, 35, 66, .62); }
.tour-spot {
  position: fixed;
  border: 3px solid var(--t-coral);
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(11, 35, 66, .62);
  pointer-events: none;
  transition: top .15s, left .15s, width .15s, height .15s;
}
.tour-root.is-center .tour-spot { display: none; }
.tour-tip {
  position: fixed;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 24px));
  padding: 16px;
  border: 2px solid var(--t-ink);
  border-radius: 16px;
  background: var(--t-white);
  color: var(--t-ink);
  box-shadow: 5px 5px 0 var(--t-ink);
  pointer-events: auto;
  line-height: 1.5;
}
.tour-tip.is-mid { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.tour-tip.is-dock {
  top: auto !important; left: 12px !important; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  width: auto; transform: none;
}
.tour-count {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px;
  border: 2px solid var(--t-ink); border-radius: 999px;
  background: var(--t-sun); color: var(--t-ink);
  font: 700 .72rem var(--t-font);
}
.tour-tip h3 {
  margin: 0 0 6px; color: var(--t-ink);
  font: 800 1.1rem/1.2 var(--t-font-d); letter-spacing: -.02em;
}
.tour-tip p { margin: 0; color: var(--t-mute); font-size: .92rem; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.tour-actions > span { display: flex; gap: 8px; }
.tour-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 6px 14px;
  border: 2px solid var(--t-ink); border-radius: 12px;
  background: var(--t-white); color: var(--t-ink);
  font: 600 .84rem/1.2 var(--t-font);
  box-shadow: 3px 3px 0 var(--t-ink);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.tour-btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--t-ink); }
.tour-btn.primary { background: var(--t-coral); }

.tour-help {
  position: fixed; left: max(16px, env(safe-area-inset-left, 0px));
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  z-index: 60; display: grid; place-items: center;
  box-sizing: border-box; width: 44px; height: 44px; padding: 0;
  border: 2px solid var(--ink, #0b2342); border-radius: 50%;
  background: var(--sun, #ffd66b); color: var(--ink, #0b2342);
  box-shadow: 3px 3px 0 var(--ink, #0b2342); cursor: pointer;
}
.tour-help:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink, #0b2342); }
.tour-help .material-symbols-outlined { font-size: 24px; line-height: 1; }