.reservation-page { background: #06101d; }
.reservation-hero { position: relative; min-height: 100vh; padding: 132px 0 92px; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 12%, rgba(62, 139, 255, .22), transparent 30%), radial-gradient(circle at 10% 82%, rgba(19, 214, 192, .1), transparent 28%), linear-gradient(135deg, #030b16 0%, #07182b 54%, #111843 100%); }
.reservation-grid-bg { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(95, 185, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 185, 255, .07) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, #000 10%, transparent 92%); }
.reservation-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(330px, .82fr) minmax(600px, 1.18fr); gap: clamp(48px, 6vw, 94px); align-items: start; }
.reservation-product { position: relative; top: auto; padding-top: 10px; }
.preview-pill { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 30px; padding: 8px 13px; border: 1px solid rgba(104, 211, 255, .25); border-radius: 999px; color: #a6e6ff; background: rgba(35, 131, 212, .1); font-size: 12px; font-weight: 700; }
.preview-pill i { width: 7px; height: 7px; border-radius: 50%; background: #38dfbd; box-shadow: 0 0 12px #38dfbd; }
.reservation-product h1 { margin: 22px 0 18px; font-size: clamp(48px, 4.3vw, 68px); line-height: 1.03; letter-spacing: -.055em; }
.reservation-product h1 em { color: transparent; font-style: normal; background: linear-gradient(90deg, #72dcff, #7770ff); background-clip: text; -webkit-background-clip: text; }
.reservation-product > p { max-width: 540px; color: rgba(224, 234, 248, .7); font-size: 17px; line-height: 1.8; }
.reservation-product-visual { position: relative; overflow: hidden; min-height: 250px; margin: 32px 0; border: 1px solid rgba(132, 196, 255, .19); border-radius: 25px; background: #e8ebef; box-shadow: 0 28px 70px rgba(0, 0, 0, .28); }
.reservation-product-visual img { display: block; width: 100%; height: 275px; object-fit: cover; }
.reservation-product-visual > div { position: absolute; right: 16px; bottom: 16px; min-width: 160px; padding: 14px 17px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(3, 12, 26, .8); backdrop-filter: blur(14px); }
.reservation-product-visual span, .reservation-product-visual small { display: block; color: rgba(225, 237, 250, .64); font-size: 11px; }
.reservation-product-visual strong { display: block; margin: 2px 0; font-size: 32px; }
.reservation-progress { display: grid; gap: 0; border-top: 1px solid rgba(143, 198, 255, .16); }
.reservation-progress li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid rgba(143, 198, 255, .16); opacity: .42; transition: opacity .25s, transform .25s; }
.reservation-progress li.active { opacity: 1; transform: translateX(6px); }
.reservation-progress li > span { color: #68d7ff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.reservation-progress strong, .reservation-progress small { display: block; }
.reservation-progress strong { margin-bottom: 3px; font-size: 14px; }
.reservation-progress small { color: rgba(218, 230, 246, .55); font-size: 11px; }
.reservation-panel { min-height: 760px; scroll-margin-top: 100px; padding: clamp(30px, 4vw, 54px); border: 1px solid rgba(148, 201, 255, .24); border-radius: 30px; background: rgba(249, 252, 255, .985); box-shadow: 0 38px 110px rgba(0, 0, 0, .38); color: #0b1628; }
.reservation-step[hidden], .reservation-success[hidden] { display: none !important; }
.reservation-step.active { animation: reservation-in .38s ease both; }
@keyframes reservation-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-heading { margin-bottom: 30px; }
.step-heading > span, .reservation-success > span { color: #248cff; font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.step-heading h2, .reservation-success h2 { margin: 9px 0 10px; font-size: clamp(34px, 3vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.step-heading p, .reservation-success > p { color: #6c788b; line-height: 1.75; }
.reservation-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.reservation-field { display: grid; gap: 9px; min-width: 0; }
.reservation-field > span { color: #263347; font-size: 14px; font-weight: 750; }
.reservation-field b, .reservation-consent b { margin-left: 5px; color: #277fff; font-size: 10px; }
.reservation-field input, .reservation-field select, .reservation-field textarea { width: 100%; border: 1px solid #d9e1ec; border-radius: 13px; background: #fff; color: #0e1a2d; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.reservation-field input, .reservation-field select { height: 52px; padding: 0 15px; }
.reservation-field textarea { min-height: 116px; padding: 14px 15px; line-height: 1.7; resize: vertical; }
.reservation-field input:focus, .reservation-field select:focus, .reservation-field textarea:focus { border-color: #398eff; box-shadow: 0 0 0 4px rgba(47, 137, 255, .11); }
.reservation-field-full { grid-column: 1 / -1; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.reservation-field .field-hint, .trade-field small { color: #7d899b; font-size: 11px; line-height: 1.6; }
.payment-upload { display: grid; gap: 9px; min-width: 0; }
.payment-upload > span { color: #263347; font-size: 14px; font-weight: 750; }
.payment-upload > span b { margin-left: 5px; color: #277fff; font-size: 10px; }
.payment-upload-control { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 66px; padding: 10px 13px; border: 1px dashed #b9c9dd; border-radius: 13px; color: #263347; background: #f8fbff; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.payment-upload-control:hover, .payment-upload-control:focus-within { border-color: #398eff; background: #f2f8ff; box-shadow: 0 0 0 4px rgba(47, 137, 255, .09); }
.payment-upload-control.selected { border-style: solid; border-color: #77b4ff; background: #f3f9ff; }
.payment-upload-control input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.payment-upload-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: #2187ff; font-size: 22px; font-weight: 400; line-height: 1; }
.payment-upload-control.selected .payment-upload-icon { background: #0c9b79; }
.payment-upload-copy { display: grid; gap: 3px; min-width: 0; }
.payment-upload-copy strong { overflow: hidden; color: #263347; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.payment-upload-copy small { overflow: hidden; color: #7b899c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.payment-upload-action { color: #1876e5; font-size: 11px; font-weight: 800; }
.reservation-rule { margin-top: 26px; padding: 20px; border: 1px solid #f0c86e; border-radius: 16px; background: #fff9e9; }
.reservation-rule > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.reservation-rule span { color: #916313; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.reservation-rule strong { color: #c17600; font-size: 27px; }
.reservation-rule p { color: #67522c; font-size: 13px; line-height: 1.8; }
.reservation-consent { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0 25px; color: #5f6d82; font-size: 12px; line-height: 1.75; cursor: pointer; }
.reservation-consent.compact { margin-top: 24px; }
.reservation-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: #277fff; }
.reservation-primary, .reservation-secondary { display: inline-flex; justify-content: center; gap: 24px; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.reservation-primary { border: 0; color: #fff; background: linear-gradient(110deg, #39b8f8, #6662ff); box-shadow: 0 15px 34px rgba(70, 111, 255, .25); }
.reservation-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(70, 111, 255, .34); }
.reservation-primary:disabled, .reservation-secondary:disabled { cursor: wait; opacity: .64; transform: none; }
.reservation-secondary { border: 1px solid #cfd8e5; color: #29364a; background: #fff; }
.reservation-secondary:hover { border-color: #76aef8; }
.step-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; }
.order-number-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding: 15px 18px; border: 1px solid #dce6f3; border-radius: 14px; color: #66758a; background: #f5f9fe; font-size: 13px; }
.order-number-line strong { color: #1467da; font-size: 16px; letter-spacing: .04em; }
.payment-layout { display: grid; grid-template-columns: 1fr 270px; gap: 22px; align-items: stretch; }
.order-summary, .qr-payment { border: 1px solid #dde5ef; border-radius: 20px; background: #fff; }
.order-summary { padding: 24px; }
.order-summary h3 { margin-bottom: 13px; font-size: 18px; }
.order-summary dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf1f6; font-size: 13px; }
.order-summary dt { color: #8490a1; }
.order-summary dd { text-align: right; color: #263347; font-weight: 700; }
.amount-due { margin-top: 22px; padding: 18px; border-radius: 16px; color: #fff; background: linear-gradient(130deg, #07182b, #18265e); }
.amount-due span, .amount-due em { display: block; color: rgba(225, 237, 250, .65); font-size: 11px; font-style: normal; }
.amount-due strong { display: block; margin: 5px 0; font-size: 38px; }
.amount-due strong small { font-size: 18px; }
.qr-payment { display: flex; flex-direction: column; align-items: center; padding: 22px 18px; text-align: center; }
.alipay-label { align-self: stretch; margin-bottom: 12px; color: #1269db; font-size: 13px; font-weight: 850; }
.qr-payment img { width: min(100%, 210px); height: auto; border-radius: 14px; }
.qr-payment > strong { margin-top: 13px; color: #bb3d42; font-size: 13px; }
.qr-payment p { margin-top: 6px; color: #8994a5; font-size: 10px; line-height: 1.55; }
.payment-notice { margin-top: 18px; padding: 15px 17px; border-radius: 13px; color: #5f6c80; background: #f0f5fb; font-size: 12px; line-height: 1.7; }
.payment-notice b { color: #263347; }
.reservation-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 13px; font-size: 13px; line-height: 1.65; outline: none; }
.reservation-status.error { display: block; color: #8a2d32; background: #fff0f1; border: 1px solid #f1c7ca; }
.reservation-status.success { display: block; color: #066343; background: #e7f8f0; border: 1px solid #bdebd8; }
.order-help { overflow: hidden; border: 1px solid #d8e4f2; border-radius: 16px; background: #f6f9fd; }
.order-help summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 18px; color: #176bda; font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.order-help summary::-webkit-details-marker { display: none; }
.order-help summary::after { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #176bda; background: #e5f0ff; font-size: 18px; font-weight: 500; transition: transform .2s; }
.order-help[open] summary::after { transform: rotate(45deg); }
.order-help-content { padding: 2px 18px 20px; border-top: 1px solid #e1e9f3; }
.order-help-heading { padding: 17px 0 15px; }
.order-help-heading strong { color: #1b2b42; font-size: 15px; }
.order-help-heading p { margin-top: 6px; color: #6f7d90; font-size: 12px; line-height: 1.7; }
.order-help-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.order-help-steps li { min-width: 0; padding: 12px; border: 1px solid #e0e7f0; border-radius: 14px; background: #fff; }
.order-help-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 22px; margin-bottom: 9px; border-radius: 999px; color: #1773e6; background: #e8f2ff; font-size: 10px; font-weight: 850; }
.order-help-steps li > strong { display: block; color: #263347; font-size: 12px; }
.order-help-steps li > p { min-height: 50px; margin: 5px 0 10px; color: #7a8799; font-size: 10px; line-height: 1.55; }
.order-help-steps img { display: block; width: 100%; aspect-ratio: 9 / 20; border: 1px solid #e6eaf0; border-radius: 10px; object-fit: cover; object-position: top; }
.reservation-success { display: grid; justify-items: center; min-height: 620px; align-content: center; text-align: center; animation: reservation-in .4s ease both; }
.success-mark { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 28px; border-radius: 50%; color: #fff; background: linear-gradient(130deg, #25c9a8, #2395ed); box-shadow: 0 18px 40px rgba(38, 188, 179, .25); font-size: 34px; }
.reservation-success > p { max-width: 550px; font-size: 16px; }
.reservation-success > div:not(.success-mark) { display: grid; justify-items: center; min-width: min(100%, 390px); margin: 28px 0; padding: 20px; border: 1px solid #dce6f3; border-radius: 17px; background: #f5f9fe; }
.reservation-success div small { color: #8895a6; }
.reservation-success div strong { margin: 7px 0; color: #1467da; font-size: 20px; }
.reservation-success div em { padding: 5px 11px; border-radius: 999px; color: #9a6914; background: #fff1c9; font-size: 11px; font-style: normal; font-weight: 800; }
.reservation-success .preview-warning { margin-top: 18px; color: #9aa4b2; }
.success-actions { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
.success-actions .reservation-primary, .success-actions .reservation-secondary { min-width: 170px; }
.success-repeat-note { max-width: 520px; margin: 14px auto 0; color: #8a96a8 !important; font-size: 11px; line-height: 1.65 !important; }
.reservation-footer { margin-top: 0; }

@media (max-width: 1080px) {
  .reservation-layout { grid-template-columns: 1fr; }
  .reservation-product { position: relative; top: auto; }
  .reservation-progress { grid-template-columns: repeat(3, 1fr); }
  .reservation-progress li { grid-template-columns: 1fr; gap: 5px; }
  .reservation-progress li.active { transform: translateY(-3px); }
}

@media (max-width: 760px) {
  .reservation-hero { padding: 112px 0 64px; }
  .reservation-layout { gap: 36px; }
  .reservation-product h1 { font-size: 42px; }
  .reservation-product > p { font-size: 15px; }
  .reservation-product-visual img { height: 230px; }
  .reservation-panel { min-height: 0; padding: 28px 20px; border-radius: 22px; }
  .reservation-form-grid, .payment-layout { grid-template-columns: 1fr; }
  .reservation-field-full { grid-column: auto; }
  .qr-payment { order: -1; }
  .order-help-steps { grid-template-columns: 1fr; }
  .order-help-steps li { display: grid; grid-template-columns: 38px 1fr; column-gap: 8px; }
  .order-help-steps li > span { grid-row: 1 / 3; }
  .order-help-steps li > p { min-height: 0; margin: 3px 0 10px; }
  .order-help-steps img { grid-column: 1 / -1; width: min(100%, 320px); margin: 0 auto; aspect-ratio: auto; }
  .step-actions, .success-actions { flex-direction: column-reverse; }
  .reservation-primary, .reservation-secondary { width: 100%; }
}

@media (max-width: 430px) {
  .reservation-product h1 { font-size: 36px; }
  .reservation-progress small { display: none; }
  .reservation-progress li { padding: 12px 0; }
  .step-heading h2, .reservation-success h2 { font-size: 32px; }
  .reservation-product-visual img { height: 205px; }
  .reservation-product-visual > div { right: 10px; bottom: 10px; }
}
.refund-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 12px 14px; border: 1px solid #dce6f3; border-radius: 13px; color: #516174; background: #f7faff; font-size: 11px; font-weight: 800; }
.refund-flow i { color: #1a7bea; font-style: normal; }
.refund-badge { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 5px 10px; border-radius: 999px; color: #087762; background: #ddf8ee; font-size: 11px; font-style: normal; font-weight: 850; }
.reservation-rule p + p { margin-top: 10px; }

/* Keep the desktop payment step within one viewport without hiding content. */
@media (min-width: 900px) {
  .reservation-panel { padding: 34px 40px; }
  .reservation-step[data-step="1"] .step-heading { margin-bottom: 16px; }
  .reservation-step[data-step="1"] .step-heading h2 { margin-top: 6px; font-size: clamp(36px, 3.4vw, 52px); line-height: 1.05; }
  .reservation-step[data-step="1"] .step-heading p { margin-top: 9px; font-size: 14px; line-height: 1.55; }
  .reservation-step[data-step="1"] .order-number-line { margin-top: 16px; padding: 13px 17px; min-height: 0; }
  .reservation-step[data-step="1"] .payment-layout { gap: 14px; margin-top: 16px; }
  .reservation-step[data-step="1"] .payment-brief,
  .reservation-step[data-step="1"] .qr-payment { min-height: 0; padding: 18px; }
  .reservation-step[data-step="1"] .payment-brief { justify-content: center; }
  .reservation-step[data-step="1"] .payment-brief > span { font-size: 16px; }
  .reservation-step[data-step="1"] .payment-brief > p { margin: 12px 0 0; font-size: 15px; line-height: 1.75; }
  .reservation-step[data-step="1"] .price-summary { display: grid; gap: 3px; padding: 13px 14px; border-radius: 12px; color: #fff; background: #10234d; }
  .reservation-step[data-step="1"] .price-summary small { color: #a9bad2; font-size: 10px; }
  .reservation-step[data-step="1"] .price-summary strong { font-size: 25px; line-height: 1.15; }
  .reservation-step[data-step="1"] .price-summary span { color: #c6d1e2; font-size: 10px; }
  .reservation-step[data-step="1"] .qr-payment img { width: min(100%, 195px); max-height: 304px; margin: 8px auto; object-fit: contain; }
  .reservation-step[data-step="1"] .qr-payment > strong { margin-top: 4px; font-size: 15px; }
  .reservation-step[data-step="1"] .qr-payment > p { max-width: 245px; margin-top: 6px; font-size: 10px; line-height: 1.45; }
  .reservation-step[data-step="1"] .reservation-rule { margin-top: 16px; padding: 15px 18px; }
  .reservation-step[data-step="1"] .reservation-rule > div { margin-bottom: 7px; }
  .reservation-step[data-step="1"] .reservation-rule > div strong { font-size: 20px; }
  .reservation-step[data-step="1"] .reservation-rule p { font-size: 11px; line-height: 1.55; }
  .reservation-step[data-step="1"] .reservation-consent { margin-top: 11px; font-size: 10px; line-height: 1.5; }
  .reservation-step[data-step="1"] .step-actions { margin-top: 13px; }
  .reservation-step[data-step="1"] .reservation-primary,
  .reservation-step[data-step="1"] .reservation-secondary { min-height: 46px; }
}

.reservation-explain-intro { color: #52647b; }
.reservation-explain-list { display: grid; gap: 11px; margin-top: 17px; }
.reservation-explain-list > div { display: grid; gap: 4px; padding-left: 13px; border-left: 3px solid #1a7bea; }
.reservation-explain-list strong { color: #14243c; font-size: 15px; line-height: 1.35; }
.reservation-explain-list span { color: #61738b; font-size: 13.5px; line-height: 1.5; }

@media (min-width: 900px) {
  .reservation-step[data-step="1"] .payment-brief > span { font-size: 18px; }
  .reservation-step[data-step="1"] .reservation-explain-intro { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
}
.payment-brief { display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid #dce6f3; border-radius: 17px; background: #fff; }
.payment-brief > span { color: #7c8a9d; font-size: 12px; font-weight: 800; }
.payment-brief > p { margin: 9px 0 14px; color: #5e6d81; font-size: 13px; line-height: 1.6; }

/* Two-step reservation flow: terms first, payment and contact together. */
.terms-heading, .checkout-heading { margin-bottom: 20px; }
.terms-card { overflow: hidden; border: 1px solid #dce6f2; border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(25, 59, 102, .08); }
.terms-card-head { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 22px 24px; color: #fff; background: linear-gradient(125deg, #0a1b33, #15366a); }
.terms-card-head div { display: grid; gap: 5px; }
.terms-card-head span { font-size: 15px; font-weight: 850; }
.terms-card-head small { color: rgba(226, 238, 255, .68); font-size: 11px; }
.terms-card-head > strong { flex: 0 0 auto; font-size: 31px; line-height: 1; }
.terms-card-head > strong em { color: #9fbee8; font-size: 13px; font-style: normal; }
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 8px 22px; }
.terms-grid article { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 16px 10px; border-bottom: 1px solid #edf2f7; }
.terms-grid article:nth-child(odd) { padding-left: 2px; border-right: 1px solid #edf2f7; }
.terms-grid article:nth-child(even) { padding-right: 2px; padding-left: 18px; }
.terms-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.terms-grid article > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #1876e8; background: #eaf3ff; font-size: 10px; font-weight: 900; }
.terms-grid article div { display: grid; gap: 4px; }
.terms-grid article strong { color: #17263d; font-size: 13px; }
.terms-grid article p { color: #6d7c90; font-size: 11px; line-height: 1.55; }
.terms-company-note { margin: 0 22px 18px; padding: 11px 13px; border-radius: 11px; color: #52647b; background: #f2f7fc; font-size: 11px; line-height: 1.55; }
.terms-consent { margin: 17px 0 0 !important; font-size: 11.5px !important; line-height: 1.6 !important; }
.terms-actions { margin-top: 16px !important; }
#continueButton:disabled { cursor: not-allowed; }

.checkout-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.checkout-payment, .checkout-contact { border: 1px solid #dce5f0; border-radius: 20px; background: #fff; }
.checkout-payment { display: flex; flex-direction: column; align-items: center; padding: 18px; text-align: center; }
.checkout-payment > span { align-self: stretch; color: #087c46; font-size: 13px; font-weight: 850; }
.checkout-payment[data-payment-method="alipay"] > span { color: #166edc; }
.payment-method-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 0 0 13px; padding: 3px; border: 1px solid #dce5f0; border-radius: 10px; background: #f2f5f8; }
.payment-method-switch label { position: relative; min-width: 0; cursor: pointer; }
.payment-method-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.payment-method-switch span { display: grid; place-items: center; min-height: 35px; padding: 5px 7px; border-radius: 7px; color: #657489; font-size: 12px; font-weight: 800; }
.payment-method-switch input[value="wechat"]:checked + span { color: #fff; background: #07a957; }
.payment-method-switch input[value="alipay"]:checked + span { color: #fff; background: #1677ff; }
.payment-method-switch input:focus-visible + span { outline: 3px solid rgba(39, 127, 255, .25); outline-offset: 2px; }
.payment-qr-frame { display: grid; place-items: center; width: min(100%, 190px); aspect-ratio: 0.68; margin: 10px auto; overflow: hidden; border: 1px solid #dfe7f0; border-radius: 14px; background: #f6f9fd; }
.payment-qr-frame img { display: block; width: 100%; height: 100%; padding: 5px; background: #fff; object-fit: contain; }
.payment-qr-frame img[hidden], .checkout-contact[hidden], #submitContact[hidden] { display: none !important; }
.payment-qr-loading { max-width: 145px; color: #718096; font-size: 11px; line-height: 1.6; }
.checkout-amount { display: grid; justify-items: center; gap: 2px; }
.checkout-amount small { color: #7a899d; font-size: 10px; }
.checkout-amount strong { color: #c33f44; font-size: 27px; line-height: 1.05; }
.checkout-amount em { color: #607086; font-size: 10px; font-style: normal; }
.checkout-payment > p { margin-top: 8px; color: #8a96a7; font-size: 9px; }
.checkout-contact { padding: 20px; }
.payment-waiting { display: grid; align-content: center; gap: 10px; min-height: 270px; text-align: center; background: linear-gradient(145deg, #f8fbff, #eef5ff); }
.payment-waiting > strong { color: #1b3356; font-size: 17px; }
.payment-waiting > p { color: #6f7f94; font-size: 12px; line-height: 1.8; }
.payment-confirmation { display: flex; gap: 9px; align-items: center; width: 100%; margin-top: 12px; padding: 10px 11px; border-radius: 11px; color: #53657c; background: #f2f6fb; text-align: left; }
.payment-confirmation i { flex: 0 0 auto; width: 10px; height: 10px; border: 2px solid #82a2c8; border-top-color: #1778e8; border-radius: 50%; animation: payment-spin .9s linear infinite; }
.payment-confirmation div { display: grid; gap: 2px; }
.payment-confirmation strong { font-size: 11px; }
.payment-confirmation small { color: #8290a2; font-size: 9px; line-height: 1.45; }
.payment-confirmation[data-state="paid"] { color: #076745; background: #e6f8ef; }
.payment-confirmation[data-state="paid"] i { display: grid; place-items: center; width: 17px; height: 17px; border: 0; color: #fff; background: #18a873; animation: none; }
.payment-confirmation[data-state="paid"] i::after { content: '✓'; font-size: 11px; font-style: normal; }
.payment-confirmation[data-state="error"] { color: #8c3035; background: #fff0f1; }
.payment-confirmation[data-state="error"] i { border-color: #d4777d; animation: none; }
@keyframes payment-spin { to { transform: rotate(360deg); } }
.payment-verified { display: flex; gap: 9px; align-items: center; margin-top: 15px; padding: 11px 12px; border-radius: 11px; color: #076745; background: #e7f8f0; font-size: 12px; font-weight: 750; }
.payment-verified span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: #18a873; font-size: 11px; }
.checkout-contact-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.checkout-contact-head strong { color: #17263d; font-size: 16px; }
.checkout-contact-head span { color: #7c8999; font-size: 10px; }
.checkout-contact .reservation-form-grid { grid-template-columns: 1fr; gap: 11px; }
.checkout-contact .reservation-field { gap: 5px; }
.checkout-contact .reservation-field > span { font-size: 11px; }
.checkout-contact .reservation-field input { height: 44px; border-radius: 11px; font-size: 13px; }
.payment-declaration { display: flex; gap: 9px; align-items: center; margin-top: 15px; padding: 12px 13px; border-radius: 11px; color: #26364c; background: #eef6ff; font-size: 12px; font-weight: 750; cursor: pointer; }
.payment-declaration input { width: 17px; height: 17px; accent-color: #277fff; }
.reservation-step[data-step="2"] .step-actions { margin-top: 18px; }
.reservation-step[data-step="2"] .reservation-primary,
.reservation-step[data-step="2"] .reservation-secondary { min-height: 48px; }
.success-next { min-width: min(100%, 370px) !important; }

@media (min-width: 900px) {
  .reservation-step[data-step="1"] .terms-heading h2,
  .reservation-step[data-step="2"] .checkout-heading h2 { font-size: 40px; }
  .reservation-step[data-step="1"] .terms-heading p,
  .reservation-step[data-step="2"] .checkout-heading p { margin-top: 8px; font-size: 13px; }
}

@media (max-width: 760px) {
  .terms-card-head { padding: 19px; }
  .terms-grid { grid-template-columns: 1fr; padding: 7px 17px; }
  .terms-grid article,
  .terms-grid article:nth-child(odd),
  .terms-grid article:nth-child(even) { padding: 13px 2px; border-right: 0; border-bottom: 1px solid #edf2f7; }
  .terms-grid article:last-child { border-bottom: 0; }
  .terms-company-note { margin: 0 17px 17px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .payment-qr-frame { width: min(100%, 210px); }
}

/* Formal terms presentation. */
.terms-card { border-color: #cfd9e6; border-radius: 18px; box-shadow: 0 14px 34px rgba(25, 52, 86, .07); }
.terms-card-head { padding: 22px 25px; background: #102b4d; }
.terms-card-head span { font-size: 16px; letter-spacing: .01em; }
.terms-card-head small { color: rgba(228, 238, 250, .7); }
.terms-card-head > strong { display: flex; align-items: baseline; gap: 3px; font-size: 30px; }
.terms-card-head > strong > small { margin-right: 4px; color: rgba(228, 238, 250, .7); font-size: 10px; font-weight: 600; }
.terms-grid { grid-template-columns: 1fr; padding: 8px 25px; }
.terms-grid article,
.terms-grid article:nth-child(odd),
.terms-grid article:nth-child(even) { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; padding: 13px 2px; border-right: 0; border-bottom: 1px solid #e8edf3; }
.terms-grid article:last-child { border-bottom: 0; }
.terms-grid article > strong { color: #17263d; font-size: 12.5px; line-height: 1.65; }
.terms-grid article > p { color: #66768b; font-size: 11.5px; line-height: 1.65; }
.terms-company-note { margin: 2px 25px 20px; padding: 12px 14px; border-left: 3px solid #2b76ca; border-radius: 4px 10px 10px 4px; color: #52647b; background: #f1f5fa; }
.terms-company-note strong { color: #263a55; }
.terms-consent { color: #536279 !important; }

@media (max-width: 760px) {
  .terms-card-head { align-items: flex-start; padding: 20px; }
  .terms-card-head > strong { font-size: 26px; }
  .terms-grid { padding: 7px 19px; }
  .terms-grid article,
  .terms-grid article:nth-child(odd),
  .terms-grid article:nth-child(even) { grid-template-columns: 1fr; gap: 4px; padding: 13px 1px; }
  .terms-company-note { margin: 2px 19px 18px; }
}

/* Compact, formal document layout for the full reservation terms. */
.terms-heading .terms-attention { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 13px !important; padding: 12px 14px; border: 1px solid #dec6c6; border-left: 4px solid #9d3434; border-radius: 9px; color: #4f3e42 !important; background: #fff8f8; font-size: 12px !important; line-height: 1.55 !important; }
.terms-attention strong { color: #912e2e; white-space: nowrap; font-size: 12px; }
.terms-attention span { color: #5d4a4e; }
.terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; padding: 7px 24px; }
.terms-grid article,
.terms-grid article:nth-child(odd),
.terms-grid article:nth-child(even) { display: block; padding: 13px 0; border-bottom: 1px solid #e6ebf1; }
.terms-grid article:nth-child(odd) { padding-right: 18px; border-right: 1px solid #e6ebf1; }
.terms-grid article:nth-child(even) { padding-left: 0; }
.terms-grid article:nth-child(6),
.terms-grid article:nth-child(7) { border-bottom: 0; }
.terms-grid article > strong { display: block; margin-bottom: 5px; color: #15243a; font-size: 12.5px; line-height: 1.45; }
.terms-grid article > p { color: #617187; font-size: 11.5px; line-height: 1.6; }
.terms-company-note { margin: 3px 24px 17px; }
.terms-consent { padding: 13px 15px; border: 1px solid #d7e0eb; border-radius: 10px; background: #fff; font-size: 12px !important; }
.checkout-amount strong { color: #c33f44; font-size: 28px; }
.checkout-contact .reservation-field > span small { margin-left: 5px; color: #8793a3; font-size: 10px; font-weight: 500; }

@media (max-width: 760px) {
  .terms-heading .terms-attention { grid-template-columns: 1fr; gap: 4px; }
  .terms-grid { grid-template-columns: 1fr; padding: 7px 19px; }
  .terms-grid article,
  .terms-grid article:nth-child(odd),
  .terms-grid article:nth-child(even) { padding: 13px 1px; border-right: 0; border-bottom: 1px solid #e6ebf1; }
  .terms-grid article:last-child { border-bottom: 0; }
  .terms-company-note { margin: 3px 19px 17px; }
}
