/* 예시 4·5 공통 티켓 요금, 예시 5 전용 사진 패키지 */
.test-4 .ticket-pricing {
  background: #f0f7f8;
  padding: 58px 0 38px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.test-4 .ticket-heading {
  text-align: center;
  margin-bottom: 30px;
}
.test-4 .ticket-heading .eyebrow {
  color: #087f96;
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.test-4 .ticket-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.045em;
}
.test-4 .ticket-heading h2 em {
  font-style: normal;
  color: #087e9c;
}
.test-4 .ticket-heading > p:last-child {
  font-size: 15px;
  line-height: 1.75;
  margin-top: 17px;
  color: #527079;
}
.test-4 .ticket-track {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 4px max(24px, calc((100vw - 1098px) / 2)) 16px;
  scroll-padding-inline: max(24px, calc((100vw - 1098px) / 2));
}
.test-4 .ticket-track::-webkit-scrollbar {
  display: none;
}
.test-4 .rate-ticket {
  flex: 0 0 350px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 3px 0 #d8e4e7;
  overflow: hidden;
  scroll-snap-align: start;
}
.test-4 .ticket-top {
  position: relative;
  padding: 24px 24px 21px;
  color: #103d52;
  background: linear-gradient(115deg, #9be1ed, #e1f4e9);
  border-bottom: 1px dashed #aed3d7;
}
.test-4 .ticket-top::before,
.test-4 .ticket-top::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f7f8;
  bottom: -13px;
}
.test-4 .ticket-top::before {
  left: -13px;
}
.test-4 .ticket-top::after {
  right: -13px;
}
.test-4 .ticket-top > p {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 4px;
}
.test-4 .ticket-top h3 {
  display: flex;
  align-items: baseline;
  font-size: 23px;
  line-height: 1;
}
.test-4 .ticket-top h3 strong {
  font-size: 65px;
  letter-spacing: -0.06em;
  margin-right: 5px;
}
.test-4 .ticket-top h3 span {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}
.test-4 .ticket-body {
  padding: 24px;
}
.test-4 .ticket-rates {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.test-4 .ticket-rates + .ticket-rates {
  margin-top: 24px;
}
.test-4 .ticket-rates caption {
  text-align: left;
  margin-bottom: 10px;
}
.test-4 .ticket-rates caption span {
  display: inline-block;
  padding: 3px 13px;
  border-radius: 20px;
  background: #edf3f4;
  font-size: 13px;
  font-weight: 700;
}
.test-4 .ticket-rates.weekend caption span {
  background: #e2f2f1;
  color: #196d71;
}
.test-4 .ticket-rates th {
  text-align: left;
  font-size: 14px;
  color: #5a6c73;
  font-weight: 500;
}
.test-4 .ticket-rates td {
  text-align: right;
  padding: 6px 0;
  white-space: nowrap;
}
.test-4 .ticket-rates del {
  font-size: 13px;
  color: #7a888d;
}
.test-4 .ticket-rates strong {
  font-size: 23px;
  letter-spacing: -0.045em;
  color: #087e9c;
}
.test-4 .ticket-rates small {
  font-size: 11px;
  margin-left: 2px;
  color: #42636e;
}
.test-4 .ticket-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #edf1f2;
  font-size: 10px;
  color: #617981;
}
.test-4 .ticket-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}
.test-4 .ticket-controls[hidden] {
  display: none;
}
.test-4 .ticket-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #163e51;
  font-size: 28px;
  cursor: pointer;
}
.test-4 .ticket-controls button:disabled {
  opacity: 0.25;
  cursor: default;
}
.test-4 .ticket-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #42636e;
}
.test-4 .ticket-note {
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
  color: #637b83;
  padding: 14px 20px 0;
}
.test-4 .ticket-track:focus-visible,
.test-4 .ticket-controls button:focus-visible,
.test-5 .rental-poster:focus-visible {
  outline: 3px solid #087e9c;
  outline-offset: 3px;
}
.test-5 .rental-feature {
  padding-top: 58px;
}
.test-5 .rental-intro {
  text-align: center;
  padding-bottom: 28px;
}
.test-5 .rental-intro .eyebrow {
  color: #087e9c;
  font-size: 11px;
  margin-bottom: 12px;
}
.test-5 .rental-intro h2 {
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.4;
}
.test-5 .rental-intro > p:last-child {
  font-size: 14px;
  color: #527079;
  margin-top: 14px;
  line-height: 1.8;
}
.test-5 .rental-poster {
  position: relative;
  display: block;
  min-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  color: #123d51;
}
.test-5 .rental-poster > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
.test-5 .rental-stamp {
  position: absolute;
  top: 24px;
  left: 26px;
  color: white;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px #000;
}
.test-5 .rental-caption {
  position: absolute;
  bottom: 26px;
  left: 26px;
  right: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 14px;
  padding: 25px 20px;
  backdrop-filter: blur(8px);
}
.test-5 .rental-caption > p:first-child {
  font-size: 13px;
  color: #387185;
  margin-bottom: 8px;
}
.test-5 .rental-caption h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.45;
}
.test-5 .rental-caption .rental-price {
  margin-top: 14px;
  font-size: 15px;
}
.test-5 .rental-price strong {
  font-size: 34px;
  letter-spacing: -0.04em;
  margin-left: 9px;
}
.test-5 .rental-caption small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #527079;
}
.test-5 .rental-arrow {
  position: absolute;
  right: 19px;
  top: 17px;
  font-size: 20px;
}
.test-5 #quick-calculator {
  margin: 25px auto 0;
}
@media (max-width: 760px) {
  .test-4 .ticket-pricing {
    padding: 38px 0 25px;
  }
  .test-4 .ticket-heading {
    margin-bottom: 26px;
  }
  .test-4 .ticket-heading h2 {
    font-size: 29px;
  }
  .test-4 .ticket-heading > p:last-child {
    font-size: 13px;
    margin-top: 14px;
  }
  .test-4 .ticket-track {
    --ticket-width: min(82vw, 340px);
    gap: 16px;
    padding-inline: calc((100vw - var(--ticket-width)) / 2);
    scroll-padding-inline: calc((100vw - var(--ticket-width)) / 2);
  }
  .test-4 .rate-ticket {
    flex-basis: var(--ticket-width);
  }
  .test-4 .ticket-top {
    padding: 20px 20px 18px;
  }
  .test-4 .ticket-top h3 strong {
    font-size: 60px;
  }
  .test-4 .ticket-body {
    padding: 23px 20px 18px;
  }
  .test-4 .ticket-rates strong {
    font-size: 24px;
  }
  .test-4 .ticket-rates del {
    font-size: 12px;
  }
  .test-4 .ticket-foot {
    font-size: 10px;
  }
  .test-5 .rental-feature {
    padding-top: 40px;
  }
  .test-5 .rental-poster {
    min-height: 440px;
    border-radius: 14px;
  }
  .test-5 .rental-stamp {
    left: 18px;
    top: 20px;
    font-size: 10px;
  }
  .test-5 .rental-caption {
    left: 14px;
    right: 14px;
    bottom: 16px;
    padding: 22px 14px;
  }
  .test-5 .rental-caption h3 {
    font-size: 18px;
  }
  .test-5 .rental-price strong {
    font-size: 29px;
  }
  .test-5 .rental-arrow {
    font-size: 17px;
    top: 15px;
    right: 14px;
  }
}

/* 시안 6의 렌탈·강습 전환: 시간 선택은 티켓 슬라이드로 유지한다. */
.test-6 .ticket-mode-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid #d4e3e7;
  border-radius: 28px;
  background: #fff;
}
.test-6 .ticket-mode-toggle button {
  min-width: 96px;
  min-height: 40px;
  padding: 8px 20px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.test-6 .ticket-mode-toggle button[aria-selected="true"] {
  background: #103d52;
  color: #fff;
  font-weight: 700;
}
.test-6 .ticket-mode-toggle button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.test-6 .ticket-mode-panel[hidden] {
  display: none;
}
.test-6 .lesson-rate-ticket .ticket-top {
  background: linear-gradient(115deg, #c3e5ef, #e7eff8);
}
.test-6 .lesson-rate-ticket .ticket-top h3 {
  font-size: 20px;
}
.test-6 .lesson-rate-ticket .ticket-top > p {
  font-size: 9px;
}
.test-6 .lesson-rate-ticket .ticket-rates td {
  padding-block: 10px;
}
.test-6 .lesson-rate-ticket .ticket-rates tr + tr {
  border-top: 1px solid var(--line);
}
.test-6 .lesson-ticket-includes {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
