.first-visit {
  position: fixed;
  inset: 0;
  width: min(600px, calc(100% - 32px));
  max-height: 90dvh;
  margin: auto;
  padding: 38px;
  border: 0;
  border-radius: 24px;
  color: #21172f;
  background: #fcf9f2;
  box-shadow: 0 24px 90px #160e3840;
  overflow: auto;
}
.first-visit::backdrop {
  background: #160e38b3;
  backdrop-filter: blur(5px);
}
.first-visit h2 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.12;
  margin: 14px 0;
}
.first-visit p {
  line-height: 1.6;
  margin: 14px 0;
}
.first-visit .first-visit-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #805eaa;
  padding-right: 24px;
}
.first-visit-category {
  font-weight: 700;
}
.first-visit-close {
  position: absolute;
  top: 15px;
  right: 16px;
  border: 0;
  background: #ece5f3;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font: inherit;
  cursor: pointer;
}
.first-visit .btn {
  width: 100%;
  text-align: center;
  white-space: normal;
  margin: 8px 0;
}
.first-visit-detail {
  font-size: 13px;
  line-height: 1.6;
}
.first-visit .first-visit-detail {
  color: #6f6579;
  font-size: 13px;
}
.first-visit-schedule {
  color: #573681;
  font-weight: 700;
  text-decoration: underline;
}
.first-visit-schedule[hidden] {
  display: none;
}
.first-visit-invite {
  font-weight: 700;
  margin: 20px 0 0;
}
.gym-buy > [data-first-visit] {
  margin-top: 12px;
}
@media (max-width: 600px) {
  .first-visit {
    padding: 28px 22px;
  }
}

.first-visit button[data-request-callback] {margin:8px 0; width:100%; white-space:normal;}

.first-visit-form {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}
.first-visit-form[hidden],
.first-visit-trap {
  display: none !important;
}
.first-visit-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
}
.first-visit-form input:not([type="radio"], [type="checkbox"]) {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #d8cde4;
  border-radius: 12px;
  background: #fff;
}
.first-visit-slots {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.first-visit-slots legend {
  font-weight: 800;
  margin-bottom: 8px;
}
.first-visit-slots label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  padding: 12px 14px;
  border: 1px solid #d8cde4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.first-visit-slots label:has(input:checked) {
  border-color: #573681;
  box-shadow: 0 0 0 2px #57368133;
}
.first-visit-slots label:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}
.first-visit-form .first-visit-consent {
  display: flex;
  gap: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.first-visit-consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.first-visit-status {
  font-weight: 700;
  line-height: 1.6;
}
