/* The product fills the screen; brief notes follow the actual highlighted item. */
body.tour-in-view .site-header {
  visibility: hidden;
  pointer-events: none;
}
#walkthrough {
  --tour-gold: #d6a548;
  color: #f3f0e8;
  background: #0c0c0b;
  font-family: Manrope, Arial, sans-serif;
  scroll-margin-top: 0;
}
#walkthrough *,
#walkthrough *::before,
#walkthrough *::after {
  box-sizing: border-box;
}
#walkthrough [hidden] {
  display: none !important;
}
#walkthrough p {
  margin: 0;
  color: inherit;
}
#walkthrough button,
#walkthrough a {
  font-family: inherit;
  touch-action: manipulation;
}
#walkthrough button {
  cursor: pointer;
}
#walkthrough button:focus-visible,
#walkthrough a:focus-visible {
  outline: 2px solid #edc66e;
  outline-offset: -3px;
}
#walkthrough.journey {
  padding: 0;
  border: 0;
}
#walkthrough .journey-pin {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  height: max(600px, 100svh);
}
#walkthrough .journey-toolbar {
  position: absolute;
  inset: 0 0 auto;
  height: 38px;
  display: flex;
  align-items: stretch;
  background: #0c0c0b;
  border-bottom: 1px solid #353126;
  z-index: 5;
}
#walkthrough .journey-tabs {
  position: static;
  display: flex;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
#walkthrough .journey-tabs::-webkit-scrollbar {
  display: none;
}
#walkthrough .journey-tabs button {
  flex: 1;
  min-width: 78px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #bcb8ac;
  background: transparent;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
#walkthrough .journey-tabs button[aria-selected="true"] {
  border-color: var(--tour-gold);
  color: #edc66e;
}
#walkthrough .journey-skip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-left: 1px solid #353126;
  color: #f3f0e8;
  font-size: 11px;
  text-decoration: none;
}
#walkthrough .journey-skip:hover {
  background: #262319;
}
#walkthrough .journey-screen {
  position: absolute;
  inset: 38px 0 30px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
#walkthrough .journey-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: #e9e9e9;
}
#walkthrough .journey-viewport iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f3f1e8;
  pointer-events: none !important;
}
/* Keep the WebGL canvas sized when another stage is displayed. */
#walkthrough #journey-frame-0[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none !important;
}
#walkthrough .feature-target {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--tour-gold);
  border-radius: 5px;
  box-shadow: 0 0 0 4px #d6a54820;
  pointer-events: none;
}
#walkthrough .feature-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 3;
  pointer-events: none;
}
#walkthrough .feature-connector path {
  fill: none;
  stroke: #b88830;
  stroke-width: 1.5;
}
#walkthrough .feature-connector circle {
  fill: #edc66e;
  stroke: #5b451e;
  stroke-width: 1;
}
#walkthrough .feature-note {
  position: absolute;
  z-index: 4;
  left: 20px;
  top: 20px;
  bottom: auto;
  right: auto;
  width: 260px;
  max-width: calc(100% - 24px);
  padding: 14px 16px;
  margin: 0;
  display: block;
  color: #f3f0e8;
  background: #11110f;
  border: 1px solid #b88b39;
  border-radius: 6px;
  box-shadow: 0 7px 24px #0002;
  pointer-events: none;
}
#walkthrough .feature-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
  color: #edc66e;
  font-size: 9px;
  line-height: 1.4;
}
#walkthrough .feature-meta > span:last-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #bcb8ac;
}
#walkthrough #feature-title {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.2px;
}
#walkthrough #feature-description {
  margin-top: 5px;
  color: #d0cabe;
  font-size: 11px;
  line-height: 1.55;
}
#walkthrough .note-enter {
  animation: feature-pop 160ms ease-out;
}
@keyframes feature-pop {
  from {
    opacity: 0;
    translate: 0 4px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
#walkthrough .journey-bottom {
  position: absolute;
  inset: auto 0 0;
  height: 30px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #bcb8ac;
  background: #0c0c0b;
  font-size: 9px;
}
#walkthrough .journey-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
#walkthrough .journey-controls button {
  min-width: 30px;
  height: 28px;
  padding: 0 7px;
  background: none;
  border: 0;
  color: #edc66e;
  font-size: 17px;
}
#walkthrough .journey-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
#walkthrough #journey-counter {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#walkthrough .journey-progress {
  position: absolute;
  z-index: 6;
  inset: auto 0 0;
  height: 2px;
  background: #353126;
}
#walkthrough .journey-progress span {
  display: block;
  width: 5.556%;
  height: 100%;
  background: var(--tour-gold);
}
#walkthrough noscript {
  position: absolute;
  z-index: 8;
  bottom: 35px;
  left: 20px;
  padding: 15px;
  background: #0c0c0b;
}
#walkthrough noscript a {
  color: #edc66e;
}
#products,
#after-examples,
#barnwright-features {
  scroll-margin-top: 100px;
}
@media (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  #walkthrough.tour-enhanced {
    height: 1000svh;
  }
  #walkthrough.tour-enhanced .journey-pin {
    position: sticky;
    top: 0;
    height: 100svh;
  }
}
@media (max-width: 719px) {
  #walkthrough .journey-tabs {
    padding: 0 4px;
  }
  #walkthrough .journey-tabs button {
    min-width: 68px;
    padding: 8px 7px;
    font-size: 10px;
  }
  #walkthrough .journey-skip {
    padding: 0 10px;
    font-size: 10px;
    gap: 5px;
  }
  #walkthrough .feature-note {
    width: 225px;
    padding: 12px 14px;
  }
  #walkthrough #feature-title {
    font-size: 13px;
  }
  #walkthrough #feature-description {
    font-size: 11px;
  }
  #walkthrough .journey-bottom {
    padding: 0 8px;
    font-size: 8px;
  }
  #walkthrough #journey-scroll {
    display: none;
  }
  #walkthrough .journey-controls {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #walkthrough .note-enter {
    animation: none;
  }
}
