/* Guías paso a paso (onboarding) — panel y cotizador */
.tt-tour {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
}

.tt-tour-blocker {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: transparent;
  pointer-events: auto;
  cursor: default;
}

.tt-tour-spotlight {
  position: fixed;
  z-index: 4001;
  border: 2px solid #a8394b;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgb(32, 28, 27, 0.72), 0 0 0 4px rgb(168, 57, 75, 0.22);
  pointer-events: none;
  transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
}

.tt-tour-card {
  position: fixed;
  z-index: 4002;
  width: min(380px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  background: #fff;
  color: #6d2130;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  padding: 1rem 1rem 0.9rem;
  pointer-events: auto;
}

.tt-tour-card--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tt-tour--center .tt-tour-spotlight {
  display: none;
}

.tt-tour--center .tt-tour-blocker {
  background: rgb(32, 28, 27, 0.72);
}

.tt-tour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.tt-tour-kicker {
  color: #6f6864;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tt-tour-count {
  color: #6f6864;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.tt-tour-title {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  color: #6d2130;
}

.tt-tour-text {
  margin: 0;
  color: #55504d;
  font-size: 0.82rem;
  line-height: 1.5;
}

.tt-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e5ded8;
}

.tt-tour-actions-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.tt-tour-btn {
  border: 1px solid #d8d0ca;
  background: #fff;
  color: #6d2130;
  border-radius: 7px;
  padding: 0.38rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
}

.tt-tour-btn:hover {
  background: #f1f5f9;
}

.tt-tour-btn--primary {
  background: #6d2130;
  border-color: #6d2130;
  color: #a8394b;
}

.tt-tour-btn--primary:hover {
  background: #201c1b;
}

.tt-tour-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tt-tour-skip {
  border: 0;
  background: transparent;
  color: #6f6864;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tt-tour-skip:hover {
  color: #6d2130;
}

.tt-tour-progress {
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: #e5ded8;
  overflow: hidden;
}

.tt-tour-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #a8394b;
  transition: width 0.2s ease;
}

body.tt-tour-open .cookie-consent,
body.tt-tour-open .whatsapp-float,
body.tt-tour-open .quote-float,
body.tt-tour-open .to-top {
  visibility: hidden !important;
}

[data-tour-start] svg {
  vertical-align: -2px;
  margin-right: 0.25rem;
}

@media (max-width: 640px) {
  .tt-tour-card {
    left: 12px !important;
    right: 12px;
    top: auto !important;
    bottom: 12px;
    width: auto;
    transform: none;
    border-radius: 12px;
  }

  .tt-tour-card--center {
    left: 12px !important;
    bottom: 12px;
    top: auto !important;
    transform: none;
  }

  .tt-tour-spotlight {
    border-radius: 8px;
  }
}
