.login-modal.hidden {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 24, 0.45);
}

.login-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(460px, calc(100vw - 40px));
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: rgba(113, 164, 203, 0.94);
  border: 1.5px solid rgba(255,255,255,0.28);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  padding: 34px 28px 28px;
}

.login-modal-inner {
  color: #fff;
}

.login-modal-en {
  font-size: 15px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  text-align: center;
}

.login-modal-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 24px;
}

.login-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-modal-close:hover {
  background: rgba(255,255,255,0.22);
}

.login-modal-error {
  margin-bottom: 16px;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(165, 36, 36, 0.22);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 14px;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.login-field input {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.94);
  color: #244055;
  font-size: 16px;
  padding: 0 16px;
  outline: none;
}

.login-field input:focus {
  border-color: rgba(36, 77, 107, 0.42);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
}

.login-submit-btn,
.login-forgot-btn {
  height: 50px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-submit-btn {
  border: none;
  background: rgba(255,255,255,0.92);
  color: #2c4f69;
  margin-top: 6px;
}

.login-submit-btn:hover {
  background: #fff;
}

.login-forgot-btn {
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.login-forgot-btn:hover {
  background: rgba(255,255,255,0.16);
}


.login-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.login-field-head label {
  margin-bottom: 0;
}

.login-text-link {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.login-text-link:hover {
  opacity: 0.8;
}

.login-modal-success {
  margin-bottom: 16px;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(70, 148, 93, 0.22);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 14px;
}

.login-field-error-text {
  color: #ffb3b3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.login-field-error-text.hidden,
.login-modal-success.hidden {
  display: none;
}

.login-field-error-text {
  color: #ffb3b3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.login-modal-inner > .login-submit-btn {
  width: 100%;
  margin-top: 10px;
}

.member-booking-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  background: #3f5b73;
  padding: 36px 34px 34px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.member-booking-step-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.member-booking-step-no {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.member-booking-step-tag {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  background: #c85c22;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.member-booking-step-body {
  background: #a9bccd;
  border-radius: 14px;
  padding: 34px;
}

.member-booking-step-body-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.member-booking-calendar-card,
.member-booking-visual-card,
.member-booking-form-card,
.member-booking-notice-card,
.member-booking-done-card {
  background: #f3f0ec;
  border-radius: 18px;
}

.member-booking-calendar-card {
  padding: 22px 24px;
}

.member-booking-calendar-year {
  text-align: center;
  color: #435c70;
  font-size: 22px;
  margin-bottom: 2px;
}

.member-booking-calendar-month-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.member-booking-calendar-month {
  color: #435c70;
  font-size: 34px;
  font-weight: 700;
}

.member-booking-calendar-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(67, 92, 112, 0.35);
  background: transparent;
  color: #435c70;
}

.member-booking-calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.member-booking-calendar-table th,
.member-booking-calendar-table td {
  padding: 8px 4px;
  color: #24384a;
  font-size: 14px;
}

.member-booking-calendar-table td.is-selected {
  background: #6f87a2;
  color: #fff;
  border-radius: 999px;
}

.member-booking-visual-card {
  overflow: hidden;
  min-height: 360px;
}

.member-booking-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-booking-form-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 30px;
}

.member-booking-form-grid {
  display: grid;
  gap: 16px;
}

.member-booking-form-grid label {
  display: grid;
  gap: 6px;
  color: #586674;
  font-size: 14px;
  font-weight: 700;
}

.member-booking-form-grid input,
.member-booking-form-grid textarea {
  width: 100%;
  border: 1px solid rgba(88, 102, 116, 0.28);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  color: #435c70;
  resize: vertical;
}

.member-booking-notice-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 30px;
}

.member-booking-notice-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 999px;
  border: 2px solid #5f7990;
  color: #5f7990;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.member-booking-notice-list {
  margin: 0;
  padding-left: 20px;
  color: #586674;
  font-size: 14px;
  line-height: 1.95;
  font-weight: 700;
}

.member-booking-done-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 30px;
  text-align: center;
  color: #586674;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.member-booking-footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.member-booking-footer-between {
  justify-content: space-between;
  gap: 16px;
}

.member-booking-next-btn,
.member-booking-back-btn {
  min-width: 160px;
  height: 46px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.member-booking-next-btn {
  background: #a9bccd;
  color: #fff;
}

.member-booking-next-btn,
.member-booking-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.member-booking-back-btn {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}

.member-booking-resource-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 28px;
  border-radius: 18px;
  background: #f3f0ec;
}

.member-booking-resource-title {
  margin-bottom: 18px;
  color: #435c70;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.member-booking-resource-list {
  display: grid;
  gap: 14px;
}

.member-booking-resource-item {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(67, 92, 112, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #435c70;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.member-booking-resource-item:hover {
  border-color: rgba(67, 92, 112, 0.38);
  background: #f9fbfc;
}

.member-booking-resource-item.is-active {
  border-color: #6f87a2;
  background: rgba(111, 135, 162, 0.10);
  box-shadow: inset 0 0 0 1px rgba(111, 135, 162, 0.18);
}

.member-booking-resource-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.member-booking-resource-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7b89;
}

.member-booking-resource-empty {
  margin-top: 14px;
  color: #6b7b89;
  font-size: 14px;
  text-align: center;
}

.member-booking-inline-error {
  margin-top: 14px;
  color: #c95252;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.member-booking-selected-resource-summary {
  margin: 0 auto 16px;
  max-width: 720px;
  color: rgba(255,255,255,0.94);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.member-booking-selected-resource-name {
  color: #fff;
}

.member-booking-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.member-booking-calendar-weekdays span {
  text-align: center;
  color: #435c70;
  font-size: 12px;
  font-weight: 700;
}

.member-booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.member-booking-calendar-day {
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #24384a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.member-booking-calendar-day:hover:not(:disabled) {
  background: rgba(111, 135, 162, 0.10);
}

.member-booking-calendar-day.is-other-month {
  color: rgba(36, 56, 74, 0.28);
}

.member-booking-calendar-day.is-disabled {
  color: rgba(47, 83, 106, 0.32);
  background: transparent;
  cursor: not-allowed;
}


.member-booking-calendar-day.is-blocked {
  color: #fff;
  background: #cf5f61;
  cursor: not-allowed;
}

.member-booking-calendar-day.is-start,
.member-booking-calendar-day.is-end {
  background: #6f87a2;
  color: #fff;
}

.member-booking-calendar-day.is-in-range {
  background: rgba(111, 135, 162, 0.22);
  color: #24384a;
}

.member-booking-calendar-day.is-today {
  outline: 1px solid rgba(67, 92, 112, 0.30);
}

.member-booking-calendar-day:disabled {
  pointer-events: none;
}

.member-booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: #5d7082;
  font-size: 12px;
  font-weight: 700;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot-selected {
  background: #6f87a2;
}

.legend-dot-range {
  background: rgba(111, 135, 162, 0.22);
  border: 1px solid rgba(111, 135, 162, 0.35);
}

.legend-dot-blocked {
  background: #d16060;
}

.member-booking-calendar-selection {
  margin-top: 14px;
  color: #5d7082;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.member-booking-calendar-arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* =========================
   Yacht booking modal
========================= */

.yacht-booking-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1180px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  background: #3f5b73;
  padding: 28px 28px 34px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.yacht-booking-step.hidden,
.yacht-booking-error.hidden {
  display: none;
}

/* 設計上不顯示右上角 X；HTML 若還沒刪，這裡也會隱藏 */
.yacht-booking-close {
  display: none !important;
}

/* =========================
   Step 1：確認預約項目
========================= */

.yacht-booking-step-body {
  background: #a9bccd;
  border-radius: 14px;
  padding: 28px;
}

.yacht-booking-main-card {
  background: #9fb6c8;
  border-radius: 28px;
  padding: 52px;
  color: #fff;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 40px 56px;
}

.yacht-booking-orange-label {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  background: #c85c22;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.yacht-booking-product-title {
  margin-top: 82px;
  color: #fff;
}

.yacht-booking-product-cn {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.yacht-booking-product-en {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.yacht-booking-right {
  display: grid;
  gap: 42px;
}

.yacht-booking-option-group {
  display: grid;
  gap: 28px;
}

.yacht-booking-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.yacht-booking-choice {
  height: 54px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px;
  background: #9fb6c8;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow:
    0 8px 14px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.28);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.yacht-booking-choice:hover {
  transform: translateY(-1px);
  background: #8faabd;
}

.yacht-booking-choice.is-active {
  background: #3f5b73;
  box-shadow:
    0 8px 14px rgba(0,0,0,0.20),
    inset 0 0 0 2px rgba(255,255,255,0.42);
}

.yacht-booking-info-card {
  grid-column: 1 / -1;
  background: #f3f0ec;
  border-radius: 24px;
  padding: 34px 32px;
  color: #435c70;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr;
  gap: 28px;
  align-items: center;
}

.yacht-booking-info-col {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
}

.yacht-booking-info-icon {
  width: 54px;
  height: 54px;
  border: 2px solid #435c70;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #435c70;
  font-size: 26px;
  font-weight: 900;
}

.yacht-booking-info-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

.yacht-booking-price-list {
  margin: 0;
  padding-left: 20px;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 800;
}

.yacht-booking-info-text {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 800;
}

/* Step 1 縮小版 */
.yacht-booking-step[data-step="1"] .yacht-booking-step-body {
  padding: 20px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-main-card {
  padding: 34px 42px;
  gap: 28px 42px;
  border-radius: 24px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-orange-label {
  min-height: 38px;
  padding: 0 14px;
  font-size: 19px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-product-title {
  margin-top: 58px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-product-cn {
  font-size: clamp(38px, 4vw, 56px);
}

.yacht-booking-step[data-step="1"] .yacht-booking-product-en {
  margin-top: 12px;
  font-size: clamp(22px, 2.4vw, 34px);
}

.yacht-booking-step[data-step="1"] .yacht-booking-right {
  gap: 30px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-option-group {
  gap: 18px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-options {
  gap: 22px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-choice {
  height: 46px;
  font-size: 19px;
  border-radius: 7px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-card {
  padding: 24px 28px;
  gap: 22px;
  border-radius: 20px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-col {
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-icon {
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-title {
  font-size: 18px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-price-list,
.yacht-booking-step[data-step="1"] .yacht-booking-info-text {
  font-size: 15px;
  line-height: 1.6;
}

.yacht-booking-step[data-step="1"] .yacht-booking-footer {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 34px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-primary-btn {
  min-width: 190px;
  min-height: 50px;
  font-size: 22px;
}

/* =========================
   Yacht Step 1 info card v2
   上排：費用 / 電話
   下排：年繳優惠 / 優惠券 / 訂金
========================= */

.yacht-booking-info-card-v2 {
  grid-column: 1 / -1;
  background: #f3f0ec;
  border-radius: 24px;
  padding: 28px 34px;
  color: #435c70;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.yacht-booking-info-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.yacht-booking-info-bottom {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 1.35fr;
  gap: 30px;
  align-items: center;
}

.yacht-booking-info-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.yacht-booking-fee-item {
  padding-left: 62px;
}

.yacht-booking-info-card-v2 .yacht-booking-info-icon {
  width: 54px;
  height: 54px;
  border: 2px solid #435c70;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #435c70;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.yacht-booking-info-card-v2 .yacht-booking-info-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 8px;
}

.yacht-booking-info-card-v2 .yacht-booking-price-list {
  margin: 0;
  padding-left: 20px;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 800;
}

.yacht-booking-info-card-v2 .yacht-booking-info-text {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 800;
}

.yacht-booking-phone-text,
.yacht-booking-strong-text {
  font-weight: 900;
}

/* Step 1 內的新版白卡壓縮版 */
.yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 {
  padding: 22px 30px;
  gap: 20px;
  border-radius: 22px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-top {
  gap: 28px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-bottom {
  gap: 24px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-item {
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-info-icon {
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-info-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-price-list {
  font-size: 15px;
  line-height: 1.55;
}

.yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-info-text {
  font-size: 15px;
  line-height: 1.5;
}

/* 螢幕高度較矮時壓縮，避免 Step 1 popup 超出視窗 */
@media (min-width: 769px) and (max-height: 820px) {
  .yacht-booking-step[data-step="1"] .yacht-booking-step-body {
    padding: 16px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-main-card {
    padding: 28px 38px;
    gap: 22px 36px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-product-title {
    margin-top: 44px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-product-cn {
    font-size: clamp(34px, 3.5vw, 50px);
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-product-en {
    font-size: clamp(20px, 2.2vw, 30px);
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-right {
    gap: 24px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-option-group {
    gap: 16px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-options {
    gap: 18px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-choice {
    height: 44px;
    font-size: 18px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 {
    padding: 18px 26px;
    gap: 16px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-top {
    gap: 22px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-bottom {
    gap: 18px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-item {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-info-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-info-title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-price-list {
    font-size: 14px;
    line-height: 1.45;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-card-v2 .yacht-booking-info-text {
    font-size: 14px;
    line-height: 1.42;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-footer {
    margin-top: 24px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-primary-btn {
    min-height: 46px;
    font-size: 20px;
  }
}

/* 平板以下：全部改成單欄 */
@media (max-width: 900px) {
  .yacht-booking-info-card-v2 {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    gap: 18px;
  }

  .yacht-booking-info-top,
  .yacht-booking-info-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .yacht-booking-info-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .yacht-booking-info-card-v2 .yacht-booking-info-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .yacht-booking-info-card-v2 .yacht-booking-info-title {
    font-size: 17px;
  }

  .yacht-booking-info-card-v2 .yacht-booking-price-list,
  .yacht-booking-info-card-v2 .yacht-booking-info-text {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* =========================
   Step 2：基本資料
========================= */

.yacht-booking-step[data-step="2"] {
  background: #39556B;
  border-radius: 14px;
  padding: 28px 28px 34px;
}

.yacht-booking-top-nav {
  padding: 8px 4px 8px;
}

.yacht-booking-back-link {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.yacht-booking-step-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 28px 0 54px;
}

.yacht-booking-step[data-step="2"] .yacht-booking-step-title {
  margin-top: 22px;
}

.yacht-booking-step-number {
  color: #fff;
  font-size: 44px;
  font-weight: 900;
}

.yacht-booking-step-label {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  background: #c85c22;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.yacht-booking-form-card {
  width: min(620px, 100%);
  margin: 0 auto;
  background: #f3f0ec;
  border-radius: 24px;
  padding: 44px 56px;
}

.yacht-booking-field {
  display: grid;
  gap: 10px;
  color: #435c70;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 22px;
}

.yacht-booking-input {
  width: 100%;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: #d9d9d9;
  padding: 0 12px;
  color: #435c70;
  font-size: 16px;
  outline: none;
}

.yacht-booking-textarea {
  min-height: 44px;
  padding: 10px 12px;
  resize: vertical;
}

.yacht-booking-input.is-invalid {
  outline: 2px solid #c85c5c;
  background: rgba(201, 92, 92, 0.15);
}

.yacht-booking-error {
  color: #b54f4f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}

/* =========================
   Step 3：使用須知
========================= */

.yacht-booking-step[data-step="3"] .yacht-booking-top-nav,
.yacht-booking-step[data-step="4"] .yacht-booking-top-nav {
  display: none !important;
}

.yacht-booking-notice-card {
  width: min(820px, 100%);
  margin: 0 auto;
  background: #f3f0ec;
  border-radius: 24px;
  padding: 42px 70px;
  color: #435c70;
}

.yacht-booking-notice-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 42px;
  border: 2px solid #435c70;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
}

.yacht-booking-notice-lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 900;
  margin-bottom: 36px;
}

.yacht-booking-notice-content {
  font-size: 16px;
  line-height: 1.85;
  font-weight: 800;
}

.yacht-booking-notice-content strong {
  display: block;
  margin-top: 22px;
}

.yacht-booking-agree-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 46px;
  color: #435c70;
  font-size: 17px;
  font-weight: 900;
}

.yacht-booking-agree-row input {
  width: 18px;
  height: 18px;
}

/* =========================
   Step 4：送出完成
========================= */

.yacht-booking-done-card {
  width: min(860px, 100%);
  margin: 42px auto 20px;
  background: #f3f0ec;
  border-radius: 24px;
  padding: 120px 60px 70px;
  text-align: center;
  color: #435c70;
  box-shadow:
    0 10px 28px rgba(0,0,0,0.18),
    inset 0 0 18px rgba(255,255,255,0.4);
}

.yacht-booking-done-card h2 {
  margin: 0 0 58px;
  font-size: 42px;
  font-weight: 900;
}

.yacht-booking-done-card p {
  margin: 0 0 52px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.8;
}

/* =========================
   Footer buttons
========================= */

.yacht-booking-footer {
  margin-top: 48px;
  display: flex;
  align-items: center;
}

.yacht-booking-footer-center {
  justify-content: center;
}

.yacht-booking-footer-between {
  justify-content: space-between;
  gap: 24px;
}

.yacht-booking-primary-btn,
.yacht-booking-secondary-btn {
  min-width: 220px;
  min-height: 58px;
  border: none;
  border-radius: 6px;
  background: #3f5b73;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
}

.yacht-booking-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.yacht-booking-secondary-btn {
  background: #3f5b73;
}

/* =========================
   Yacht RWD
========================= */

@media (max-width: 900px) {
  .yacht-booking-modal-panel {
    width: min(100vw - 20px, 680px);
    padding: 22px 14px;
  }

  .yacht-booking-step-body {
    padding: 16px;
  }

  .yacht-booking-main-card {
    grid-template-columns: 1fr;
    padding: 28px 18px;
    gap: 28px;
  }

  .yacht-booking-product-title {
    margin-top: 34px;
    text-align: center;
  }

  .yacht-booking-orange-label {
    width: fit-content;
    margin: 0 auto;
    min-height: 38px;
    font-size: 18px;
    padding: 0 14px;
  }

  .yacht-booking-options {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .yacht-booking-choice {
    font-size: 18px;
  }

  .yacht-booking-info-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .yacht-booking-step-title {
    flex-direction: column;
    gap: 14px;
    margin: 24px 0 32px;
  }

  .yacht-booking-step-number {
    font-size: 32px;
  }

  .yacht-booking-step-label {
    font-size: 24px;
  }

  .yacht-booking-form-card,
  .yacht-booking-notice-card {
    padding: 28px 20px;
  }

  .yacht-booking-notice-content {
    font-size: 14px;
  }

  .yacht-booking-footer-between {
    flex-direction: column;
  }

  .yacht-booking-primary-btn,
  .yacht-booking-secondary-btn {
    width: 100%;
    min-width: 0;
    font-size: 20px;
  }

  .yacht-booking-done-card {
    padding: 70px 24px 44px;
  }

  .yacht-booking-done-card h2 {
    font-size: 30px;
    margin-bottom: 34px;
  }

  .yacht-booking-done-card p {
    font-size: 16px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-main-card {
    padding: 24px 16px;
    gap: 24px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-product-title {
    margin-top: 28px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-options {
    gap: 12px;
  }

  .yacht-booking-step[data-step="1"] .yacht-booking-info-card {
    padding: 20px 16px;
  }

  .yacht-booking-step[data-step="2"] {
    padding: 20px 14px 26px;
  }
}

@media (max-width: 768px) {
  .member-booking-modal-panel {
    width: min(100vw - 20px, 680px);
    padding: 24px 14px 20px;
  }

  .member-booking-step-head {
    flex-direction: column;
    gap: 10px;
  }

  .member-booking-step-no {
    font-size: 24px;
  }

  .member-booking-step-tag {
    font-size: 16px;
    height: 36px;
    padding: 0 12px;
  }

  .member-booking-step-body {
    padding: 18px 14px;
  }

  .member-booking-step-body-grid {
    grid-template-columns: 1fr;
  }

  .member-booking-visual-card {
    min-height: 220px;
  }

  .member-booking-footer-between {
    flex-direction: column;
  }

  .member-booking-next-btn,
  .member-booking-back-btn {
    width: 100%;
    min-width: 0;
  }

  .member-booking-resource-card {
    padding: 18px 16px;
  }

  .member-booking-resource-title {
    font-size: 18px;
  }

  .member-booking-resource-name {
    font-size: 16px;
  }

  .member-booking-resource-meta {
    font-size: 12px;
  }

  .member-booking-selected-resource-summary {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .member-booking-calendar-day {
    height: 34px;
    font-size: 12px;
    border-radius: 8px;
  }

  .member-booking-calendar-grid {
    gap: 4px;
  }

  .member-booking-calendar-weekdays {
    gap: 4px;
  }

  .member-booking-calendar-selection {
    font-size: 12px;
  }

  .member-booking-calendar-legend {
    gap: 8px;
    font-size: 11px;
  }
}