.jscb,
.jscb * {
  box-sizing: border-box;
}

.jscb-wrap {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.jscb {
  --jscb-yellow: #ffff33;
  --jscb-black: #080808;
  --jscb-panel: #101010;
  --jscb-panel-soft: #171717;
  --jscb-border: #303030;
  --jscb-text: #ffffff;
  --jscb-muted: #a2a2a2;
  width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 56px);
  color: var(--jscb-text);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 51, 0.09), transparent 28%),
    var(--jscb-black);
  border: 1px solid #242424;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
  font-family: inherit;
}

.jscb__intro {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.jscb__future-notice {
  max-width: 900px;
  margin: 0 0 clamp(28px, 4vw, 42px);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid #3a3a3a;
  border-left: 5px solid var(--jscb-yellow);
  border-radius: 12px;
}

.jscb__future-label,
.jscb__future-text {
  margin: 0;
}

.jscb__future-label {
  color: var(--jscb-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.jscb__future-title {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
}

.jscb__future-text {
  max-width: 760px;
  margin-top: 8px;
  color: #c8c8c8;
  font-size: 15px;
  line-height: 1.5;
}

.jscb__eyebrow {
  margin: 0 0 14px;
  color: var(--jscb-yellow);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.jscb__title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.jscb__title span {
  color: var(--jscb-yellow);
}

.jscb__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d2d2d2;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
}

.jscb__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 20px;
}

.jscb__full-camp {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 18px 22px;
  color: #fff;
  text-align: left;
  background: var(--jscb-panel-soft);
  border: 1px solid var(--jscb-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.jscb__full-camp:hover {
  border-color: #656565;
  transform: translateY(-1px);
}

.jscb__full-camp.is-selected {
  color: #070707;
  background: var(--jscb-yellow);
  border-color: var(--jscb-yellow);
}

.jscb__full-camp:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.jscb__full-camp-check,
.jscb-card__check,
.jscb-night__check {
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.jscb__full-camp.is-selected .jscb__full-camp-check::after,
.jscb-card__input:checked + .jscb-card__surface .jscb-card__check::after,
.jscb-card__input:checked + .jscb-night__surface .jscb-night__check::after {
  width: 10px;
  height: 6px;
  content: '';
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}

.jscb__full-camp strong,
.jscb__full-camp small {
  display: block;
}

.jscb__full-camp strong {
  font-size: 18px;
}

.jscb__full-camp small {
  margin-top: 3px;
  color: var(--jscb-muted);
  font-size: 13px;
}

.jscb__full-camp.is-selected small {
  color: rgba(0, 0, 0, 0.66);
}

.jscb__full-camp-price {
  text-align: right;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 800;
}

.jscb__full-camp-price small {
  font-size: 11px;
  font-weight: 600;
}

.jscb__drivers {
  display: flex;
  min-width: 230px;
  padding: 16px 18px;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: var(--jscb-panel-soft);
  border: 1px solid var(--jscb-border);
  border-radius: 14px;
}

.jscb__drivers-label {
  margin-bottom: 8px;
  color: var(--jscb-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jscb__stepper {
  display: grid;
  grid-template-columns: 38px 54px 38px;
  gap: 5px;
  align-items: center;
}

.jscb__stepper-button,
.jscb__drivers-input {
  width: 100%;
  height: 38px;
  margin: 0;
  color: #fff;
  text-align: center;
  background: #080808;
  border: 1px solid #3a3a3a;
  border-radius: 7px;
  font: inherit;
  font-weight: 750;
}

.jscb__stepper-button {
  padding: 0;
  cursor: pointer;
}

.jscb__stepper-button:hover {
  color: #050505;
  background: var(--jscb-yellow);
  border-color: var(--jscb-yellow);
}

.jscb__drivers-input {
  appearance: textfield;
  -moz-appearance: textfield;
}

.jscb__drivers-input::-webkit-inner-spin-button,
.jscb__drivers-input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.jscb__days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.jscb__days--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jscb-card,
.jscb-night {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.jscb-card__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.jscb-card__surface {
  position: relative;
  display: flex;
  min-height: 252px;
  padding: 22px;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
    var(--jscb-panel);
  border: 1px solid var(--jscb-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.jscb-card__surface::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 76px;
  height: 5px;
  content: '';
  background: var(--jscb-yellow);
}

.jscb-card:hover .jscb-card__surface {
  border-color: #666;
  transform: translateY(-2px);
}

.jscb-card__input:focus-visible + .jscb-card__surface,
.jscb-card__input:focus-visible + .jscb-night__surface {
  outline: 3px solid rgba(255, 255, 51, 0.65);
  outline-offset: 3px;
}

.jscb-card__input:checked + .jscb-card__surface {
  color: #080808;
  background: var(--jscb-yellow);
  border-color: var(--jscb-yellow);
}

.jscb-card__input:checked + .jscb-card__surface::before {
  background: #080808;
}

.jscb-card__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jscb-card__weekday {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.jscb-card__date {
  display: block;
  margin-top: 32px;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.jscb-card__time {
  display: block;
  margin-top: 9px;
  color: var(--jscb-muted);
  font-size: 13px;
}

.jscb-card__input:checked + .jscb-card__surface .jscb-card__time,
.jscb-card__input:checked + .jscb-card__surface .jscb-card__footer small {
  color: rgba(0, 0, 0, 0.65);
}

.jscb-card__footer {
  display: flex;
  margin-top: auto;
  padding-top: 26px;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.jscb-card__input:checked + .jscb-card__surface .jscb-card__footer {
  border-top-color: rgba(0, 0, 0, 0.2);
}

.jscb-card__price {
  font-size: 22px;
  font-weight: 850;
}

.jscb-card__footer small {
  margin-top: 2px;
  color: var(--jscb-muted);
  font-size: 11px;
}

.jscb-card.is-unavailable,
.jscb-night.is-unavailable {
  cursor: not-allowed;
  opacity: 0.45;
}

.jscb-card__unavailable {
  position: absolute;
  inset: auto 16px 16px;
  padding: 7px;
  color: #fff;
  text-align: center;
  background: #6e1717;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 750;
}

.jscb__camping {
  margin-top: 24px;
  background: var(--jscb-panel);
  border: 1px solid var(--jscb-border);
  border-radius: 14px;
  overflow: hidden;
}

.jscb__camping-summary {
  display: flex;
  min-height: 86px;
  padding: 20px 24px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.jscb__camping-summary::-webkit-details-marker {
  display: none;
}

.jscb__camping-summary strong,
.jscb__camping-summary small {
  display: block;
}

.jscb__camping-summary strong {
  font-size: 18px;
}

.jscb__camping-summary small {
  margin-top: 4px;
  color: var(--jscb-muted);
  font-size: 13px;
}

.jscb__camping-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid #4b4b4b;
  border-radius: 50%;
}

.jscb__camping-icon::before,
.jscb__camping-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  content: '';
  background: #fff;
  transform: translate(-50%, -50%);
}

.jscb__camping-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease;
}

.jscb__camping[open] .jscb__camping-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.jscb__nights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}

.jscb__camping-note {
  margin: 0 20px 14px;
  padding: 12px 14px;
  color: #d4d4d4;
  background: #171717;
  border-left: 3px solid var(--jscb-yellow);
  border-radius: 0 7px 7px 0;
  font-size: 12px;
  line-height: 1.45;
}

.jscb-night__surface {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 13px;
  min-height: 80px;
  padding: 15px 16px;
  align-items: center;
  color: #fff;
  background: var(--jscb-panel-soft);
  border: 1px solid #313131;
  border-radius: 10px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.jscb-night:hover .jscb-night__surface {
  border-color: #666;
}

.jscb-card__input:checked + .jscb-night__surface {
  color: #080808;
  background: var(--jscb-yellow);
  border-color: var(--jscb-yellow);
}

.jscb-night__content strong,
.jscb-night__content small {
  display: block;
}

.jscb-night__content strong {
  font-size: 14px;
}

.jscb-night__content small {
  margin-top: 3px;
  color: var(--jscb-muted);
  font-size: 11px;
}

.jscb-card__input:checked + .jscb-night__surface .jscb-night__content small {
  color: rgba(0, 0, 0, 0.64);
}

.jscb-night__price {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
}

.jscb__checkout {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #2b2b2b;
}

.jscb__total span,
.jscb__total strong,
.jscb__total small {
  display: block;
}

.jscb__total span {
  color: var(--jscb-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jscb__total strong {
  margin-top: 3px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.jscb__total small {
  margin-top: 5px;
  color: var(--jscb-muted);
  font-size: 11px;
}

.jscb__submit {
  display: inline-flex;
  min-height: 58px;
  padding: 0 26px;
  gap: 34px;
  justify-content: space-between;
  align-items: center;
  color: #050505;
  background: var(--jscb-yellow);
  border: 1px solid var(--jscb-yellow);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jscb__submit:hover:not(:disabled) {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.jscb__submit:disabled {
  color: #777;
  background: #242424;
  border-color: #303030;
  cursor: not-allowed;
}

.jscb-stay,
.jscb-stay * {
  box-sizing: border-box;
}

.jscb-stay {
  display: grid;
  grid-template-columns: minmax(220px, 25%) minmax(0, 1fr) minmax(225px, 255px);
  min-height: 184px;
  margin-top: 30px;
  overflow: hidden;
  color: #fff;
  background: #111;
  border: 1px solid #303030;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  font-family: inherit;
}

.jscb-stay__media {
  min-width: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.jscb-stay__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 184px;
  object-fit: cover;
  object-position: center;
  transition: transform 280ms ease;
}

.jscb-stay:hover .jscb-stay__image {
  transform: scale(1.025);
}

.jscb-stay--paint-park .jscb-stay__image {
  transform: scale(1.045);
}

.jscb-stay--paint-park:hover .jscb-stay__image {
  transform: scale(1.07);
}

.jscb-stay--preview .jscb-stay__image {
  object-position: 53% 48%;
}

.jscb-stay--experiences .jscb-stay__image {
  object-position: 50% 44%;
}

.jscb-stay__copy {
  align-self: center;
  min-width: 0;
  padding: 24px 28px;
}

.jscb-stay__eyebrow {
  margin: 0 0 8px;
  color: #ffff33;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.jscb-stay__title {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.jscb-stay__text {
  max-width: 660px;
  margin: 11px 0 0;
  color: #b9b9b9;
  font-size: 14px;
  line-height: 1.5;
}

.jscb-stay__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin: 13px 0 0;
  padding: 0;
  color: #f1f1f1;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}

.jscb-stay__facts li {
  margin: 0;
}

.jscb-stay__facts li::before {
  margin-right: 7px;
  color: #ffff33;
  content: '✓';
}

.jscb-stay__actions {
  display: flex;
  min-width: 0;
  padding: 24px 24px 24px 0;
  flex-direction: column;
  justify-content: center;
}

.jscb-stay__link,
.jscb-stay__status {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  justify-content: center;
  align-items: center;
  color: #080808;
  text-align: center;
  text-decoration: none;
  background: #ffff33;
  border: 1px solid #ffff33;
  border-radius: 8px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jscb-stay__status {
  cursor: default;
}

.jscb-stay__link:visited {
  color: #080808;
}

.jscb-stay__link:hover,
.jscb-stay__link:focus-visible {
  color: #080808;
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.jscb-stay__link:focus-visible {
  outline: 3px solid rgba(255, 255, 51, 0.7);
  outline-offset: 3px;
}

.jscb-stay__note {
  margin: 10px 0 0;
  color: #7f7f7f;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 980px) {
  .jscb__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jscb-stay {
    grid-template-columns: minmax(190px, 31%) minmax(0, 1fr);
  }

  .jscb-stay__media {
    grid-row: 1 / span 2;
  }

  .jscb-stay__actions {
    grid-column: 2;
    padding: 0 24px 24px 28px;
  }
}

@media (max-width: 700px) {
  .jscb {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .jscb__toolbar {
    grid-template-columns: 1fr;
  }

  .jscb__drivers {
    min-width: 0;
  }

  .jscb__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .jscb__days--3 {
    grid-template-columns: 1fr;
  }

  .jscb__nights {
    grid-template-columns: 1fr;
  }

  .jscb-card__surface {
    min-height: 178px;
    padding: 15px;
  }

  .jscb-card__surface::before {
    width: 52px;
    height: 4px;
  }

  .jscb-card__check {
    width: 20px;
    height: 20px;
  }

  .jscb-card__weekday {
    font-size: 10px;
  }

  .jscb-card__date {
    margin-top: 18px;
    font-size: clamp(18px, 5.3vw, 21px);
  }

  .jscb-card__time {
    margin-top: 6px;
    font-size: 10px;
  }

  .jscb-card__footer {
    padding-top: 12px;
  }

  .jscb-card__price {
    font-size: 19px;
  }

  .jscb-card__footer small {
    font-size: 9px;
    line-height: 1.25;
  }

  .jscb__camping-note {
    margin-right: 14px;
    margin-left: 14px;
  }

  .jscb__checkout {
    align-items: stretch;
    flex-direction: column;
  }

  .jscb__submit {
    width: 100%;
  }

  .jscb-stay {
    grid-template-columns: 1fr;
    margin-top: 20px;
    border-radius: 14px;
  }

  .jscb-stay__image {
    height: 148px;
    min-height: 0;
    object-position: center 48%;
  }

  .jscb-stay__media {
    grid-row: auto;
  }

  .jscb-stay__copy {
    padding: 20px 20px 10px;
  }

  .jscb-stay__title {
    font-size: clamp(25px, 8vw, 30px);
  }

  .jscb-stay__text {
    font-size: 13px;
  }

  .jscb-stay__facts {
    display: grid;
    gap: 7px;
  }

  .jscb-stay__actions {
    grid-column: 1;
    padding: 10px 20px 20px;
  }

  .jscb-stay__link,
  .jscb-stay__status {
    min-height: 50px;
  }
}

@media (max-width: 440px) {
  .jscb__full-camp {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .jscb__full-camp-price {
    grid-column: 2;
    text-align: left;
  }

  .jscb-night__surface {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .jscb-night__price {
    grid-column: 2;
  }

  .jscb-stay__copy {
    padding-right: 18px;
    padding-left: 18px;
  }

  .jscb-stay__actions {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jscb *,
  .jscb *::before,
  .jscb *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .jscb-stay *,
  .jscb-stay *::before,
  .jscb-stay *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
