/* Gated "Ask Kulsum's Studio Guide" drawer on high-exit pages (/pricing, /book, /academy, /payments) */
.kp-guide-wrap {
  position: fixed;
  left: 16px;
  bottom: 18px;
  z-index: 99990;
  font-family: inherit;
}

@media (max-width: 767px) {
  .kp-guide-wrap {
    left: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 74px);
  }
}

.kp-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 92, 0.55);
  background: #1c1613;
  color: #f8f3ec;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(24, 20, 17, 0.24);
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.kp-guide-pill:hover {
  transform: translateY(-2px);
  background: #2f2520;
}

.kp-guide-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d9b872;
  flex-shrink: 0;
}

.kp-guide-drawer {
  position: fixed;
  left: 16px;
  bottom: 70px;
  width: min(370px, calc(100vw - 24px));
  max-height: min(600px, 80dvh);
  display: flex;
  flex-direction: column;
  background: #fbf8f4;
  color: #1c1613;
  border: 1px solid #d8cbbd;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(24, 20, 17, 0.28);
  overflow: hidden;
  z-index: 99995;
}

.kp-guide-drawer[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .kp-guide-drawer {
    left: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 122px);
    max-height: 62dvh;
  }
}

.kp-guide-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: #1c1613;
  color: #f8f3ec;
  border-bottom: 2px solid #c9a45c;
}

.kp-guide-drawer__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.kp-guide-drawer__sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: #d9c3ab;
}

.kp-guide-drawer__close {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #f8f3ec;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.kp-guide-drawer__body {
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kp-guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kp-guide-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d8cbbd;
  background: #fff;
  color: #3d342e;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.kp-guide-chip:hover {
  border-color: #7f1734;
  background: #fbeef1;
}

.kp-guide-answer {
  padding: 11px 13px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5ddd2;
  font-size: 13px;
  line-height: 1.55;
  color: #1c1613;
}

.kp-guide-answer[hidden] {
  display: none !important;
}

.kp-guide-answer__actions {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kp-guide-action-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #7f1734;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}

.kp-guide-action-btn--ghost {
  background: #f6f0e6;
  color: #1c1613 !important;
  border: 1px solid #d8cbbd;
}

.kp-guide-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e5ddd2;
  background: #fff;
}

.kp-guide-input {
  flex: 1;
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid #d8cbbd;
  border-radius: 999px;
  font-size: 13px;
  color: #1c1613;
  background: #fbf8f4;
}

.kp-guide-submit {
  border: 0;
  border-radius: 999px;
  background: #7f1734;
  color: #fff;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.kp-guide-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
