/* =========================================================
   방문예약 섹션 (cw-thehue-megacentum 전용 추가 스타일)
   원본 톤 유지: Pretendard/시스템 서체 상속, navy(#131a47) 포인트
   ========================================================= */
.reserve_wrap { width: 100%; background: #f5f6fa; padding: 5.5rem 0 5rem; position: relative; }

.reserve_inner { width: 90%; max-width: 1200px; margin: 0 auto; }

.reserve_head { text-align: center; margin-bottom: 2.75rem; }
.reserve_head .reserve_kicker { display: block; font-size: 0.9375rem; letter-spacing: 0.18em; color: rgba(19,26,71,0.65); text-transform: uppercase; margin-bottom: 0.75rem; }
.reserve_head h2 { font-size: 2.25rem; line-height: 1.3; color: #131a47; font-weight: 600; letter-spacing: -0.02em; }
.reserve_head .reserve_sub { margin-top: 0.875rem; font-size: 0.9375rem; color: rgba(19,26,71,0.6); line-height: 1.6; }

.reserve_body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }

/* 좌측 안내 */
.reserve_info { background: #131a47; color: #fff; padding: 2.5rem 2.25rem; border-radius: 2px; }
.reserve_info .ri_title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.25rem; color: #fff; }
.reserve_info ul li { display: flex; gap: 1rem; padding: 0.55rem 0; font-size: 0.9375rem; line-height: 1.55; color: rgba(255,255,255,0.85); }
.reserve_info ul li .ri_label { min-width: 5.5rem; color: rgba(255,255,255,0.5); }
.reserve_info ul li a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.reserve_info .ri_note { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,0.16); font-size: 0.9375rem; line-height: 1.65; color: rgba(255,255,255,0.45); }

/* 우측 폼 */
.reserve_form_box { background: #fff; padding: 2.5rem 2.5rem 2.25rem; border-radius: 2px; box-shadow: 0 12px 40px rgba(19,26,71,0.08); }
.rv_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.rv_field { display: flex; flex-direction: column; gap: 0.45rem; text-align: left; }
.rv_field.rv_full { grid-column: 1 / -1; }
.rv_field label { font-size: 1.0625rem; font-weight: 500; color: #131a47; text-align: left; width: 100%; }
.rv_field label .req { color: #e23b3b; margin-left: 2px; }
.rv_field input,
.rv_field select { height: 3rem; padding: 0 0.9rem; border: 1px solid rgba(19,26,71,0.22); border-radius: 2px; font-size: 0.9375rem; color: #131a47; background: #fff; box-sizing: border-box; outline: none; transition: border-color 0.2s; font-family: inherit; width: 100%; }
.rv_field input:focus,
.rv_field select:focus { border-color: #131a47; }
.rv_field input::placeholder { color: rgba(19,26,71,0.35); }
.rv_field input, .rv_field select { width: 100%; text-align: left; }

/* 동의 */
.rv_agrees { margin-top: 1.4rem; border: 1px solid rgba(19,26,71,0.15); padding: 1.1rem 1.25rem; }
.rv_agrees .rv_agree_row { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.3rem 0; }
.rv_agrees .rv_agree_row + .rv_agree_row { margin-top: 0.75rem; padding-top: 0.85rem; border-top: 1px dashed rgba(19,26,71,0.14); }
.rv_agrees input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; accent-color: #131a47; flex: none; cursor: pointer; }
.rv_agrees .agree_tit { font-size: 0.875rem; font-weight: 600; color: #131a47; cursor: pointer; }
.rv_agrees .agree_tit .opt { color: rgba(19,26,71,0.5); font-weight: 500; }
.rv_agrees .agree_desc { font-size: 0.78rem; line-height: 1.6; color: rgba(19,26,71,0.5); margin-top: 0.15rem; }

/* 제출 */
.rv_submit_box { margin-top: 1.5rem; }
.rv_submit { width: 100%; height: 3.5rem; background: #131a47; color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; border: none; border-radius: 2px; cursor: pointer; transition: opacity 0.2s, transform 0.15s; font-family: inherit; }
.rv_submit:hover { opacity: 0.88; }
.rv_submit:disabled { opacity: 0.45; cursor: not-allowed; }
.rv_msg { margin-top: 0.9rem; font-size: 0.875rem; line-height: 1.5; text-align: center; min-height: 1.2em; }
.rv_msg.ok { color: #1d7a3d; }
.rv_msg.err { color: #e23b3b; }

.rv_hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* 반응형 (원본 pad/m 분위기에 맞춤) */
@media (max-width: 1024px) {
  .reserve_body { grid-template-columns: 1fr; gap: 1.75rem; }
  .reserve_head h2 { font-size: 1.75rem; }
  .reserve_wrap { padding: 3.75rem 0 3.25rem; }
}
@media (max-width: 640px) {
  .rv_grid { grid-template-columns: 1fr; }
  .reserve_form_box { padding: 1.75rem 1.25rem; }
  .reserve_info { padding: 1.75rem 1.25rem; }
}
/* === v1.2.3 동의 아코디언 (아이파크 폼 기준) === */
.rv_agrees { display: flex; flex-direction: column; gap: 0.75rem; }
.rv_agree_item { border: 1px solid rgba(19,26,71,0.16); border-radius: 4px; background: #fff; padding: 0.9rem 1rem; }
.rv_agree_row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.rv_agree_row input[type="checkbox"] { width: 18px; height: 18px; accent-color: #131a47; flex: 0 0 auto; }
.agree_tit { font-size: 1rem; font-weight: 600; color: #131a47; cursor: pointer; flex: 1 1 auto; }
.agree_toggle { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8125rem; font-weight: 500; color: #131a47; background: none; border: 1px solid rgba(19,26,71,0.25); border-radius: 12px; padding: 0.2rem 0.6rem; cursor: pointer; }
.agree_toggle i { width: 8px; height: 8px; border-right: 1.5px solid #131a47; border-bottom: 1.5px solid #131a47; transform: rotate(45deg); transition: transform 0.25s; margin-top: -3px; }
.agree_toggle[aria-expanded="true"] i { transform: rotate(-135deg); margin-top: 3px; }
.agree_sum { margin-top: 0.45rem; font-size: 0.8125rem; color: rgba(19,26,71,0.6); }
.agree_detail { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px dashed rgba(19,26,71,0.18); }
.agree_detail ul { display: flex; flex-direction: column; gap: 0.25rem; }
.agree_detail li { font-size: 0.8125rem; color: rgba(19,26,71,0.75); line-height: 1.55; }
.agree_detail li.indent { padding-left: 1rem; }
.agree_note { margin-top: 0.5rem; font-size: 0.75rem; color: rgba(19,26,71,0.5); }
/* === v1.2.31 폼 헤더: 안내 문장이 제목 역할 === */
.reserve_sub { margin-top: 0.5rem; font-size: 1.4375rem; line-height: 1.6; color: #131a47; font-weight: 600; letter-spacing: -0.01em; }
.gift_text { color: #c8102e; font-weight: 700; font-size: 1.375rem; }
@media all and (max-width: 767px) {
  .reserve_sub { font-size: 1.25rem; line-height: 1.55; }
  .gift_text { font-size: 1.1875rem; }
}
/* === v1.2.30 동의 아코디언 좌측정렬 명시 (상속 무관) === */
.rv_agree_item, .agree_detail, .agree_detail ul, .agree_detail li, .agree_sum, .agree_note { text-align: left !important; }
/* === v1.2.34 모바일 동의 행 1줄 정렬 === */
@media all and (max-width: 767px) {
  .rv_agree_row { flex-wrap: nowrap; align-items: center; }
  .agree_tit { font-size: 0.8125rem; flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .agree_tit span { display: block; white-space: normal; line-height: 1.45; }
  .agree_toggle { flex: 0 0 auto; padding: 0.15rem 0.5rem; font-size: 0.75rem; white-space: nowrap; }
}
