@charset "utf-8";

/* =============================================================================
   예약 바 리뉴얼 (2026-11-25)

   적용 범위
   - 모든 규칙을 #reservation_bar / .fxd-bx 아래로 한정합니다.
   - main2.html 은 .addable_reservation 을 쓰지 않고 이 파일도 로드하지 않으므로
     영향을 받지 않습니다.

   색상은 tokens.css 의 디자인 토큰을 씁니다. (main.html 에서 함께 로드)
   ============================================================================= */

#reservation_bar,
.fxd-bx {
  --resv-card: var(--color-white, #ffffff);
  --resv-line: var(--color-gray-150, #e6e6e6);
  --resv-label: var(--color-gray-600, #888888);
  --resv-value: var(--color-gray-900, #111111);
  --resv-muted: var(--color-gray-400, #aaaaaa);
  --resv-accent: var(--color-brown-900, #3e3936);
  --resv-tint: var(--color-beige-100, #f0ece4);
  --resv-hover: var(--color-gray-50, #f8f8f8);
}

/* -----------------------------------------------------------------------------
   날짜 표기 (PC·모바일 공통)
   JS renderResvDates() 가 이 구조로 그립니다.
   "2026.11.28 - 2026.11.29" 처럼 나열하면 어디가 인이고 아웃인지 읽기 어려워서
   화살표로 방향을 주고, 박수를 따로 띄웁니다.
   -------------------------------------------------------------------------- */
#reservation_bar .rd-date,
.fxd-bx .rd-date {
  color: var(--resv-value);
  font-weight: 600;
}
#reservation_bar .rd-sep,
.fxd-bx .rd-sep {
  color: var(--resv-muted);
  font-weight: 400;
}
#reservation_bar .rd-wait,
.fxd-bx .rd-wait {
  color: var(--resv-muted);
  font-weight: 400;
}
#reservation_bar .rd-nights {
  flex: 0 0 auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--resv-tint);
  color: var(--resv-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

/* =============================================================================
   PC (901px 이상)
   기존: 흰 카드와 예약 버튼이 8px 떨어진 채 1320px 를 가득 채워 휑했습니다.
   변경: 하나의 카드로 합치고 폭·높이·여백을 줄였습니다.
   ============================================================================= */
@media screen and (min-width: 901px) {
  #reservation_bar .m_modalbx.addable_reservation {
    width: min(1120px, 92%);
    border-radius: 14px;
  }
  #reservation_bar .m_modalbx.addable_reservation ul {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--resv-card);
    border: 1px solid var(--resv-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(62, 57, 54, 0.1), 0 2px 6px rgba(62, 57, 54, 0.05);
    overflow: hidden;
  }

  /* ---- 선택 영역 ---- */
  #reservation_bar .m_modalbx.addable_reservation .picklistwrap {
    display: flex;
    align-items: stretch;
    width: calc(100% - 168px);
    height: auto;
    min-height: 66px;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  #reservation_bar .m_modalbx.addable_reservation .picklist {
    flex: 1 1 0;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 10px 34px 10px 22px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.18s ease;
  }
  #reservation_bar .m_modalbx.addable_reservation .picklist:hover {
    background: var(--resv-hover);
  }

  /* 라벨 */
  #reservation_bar .m_modalbx.addable_reservation .picklist .tit {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--resv-label);
    text-align: left;
  }

  /* 값 */
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg,
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg p,
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg span {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--resv-value);
  }
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg {
    width: 100%;
    padding: 0;
    justify-content: flex-start;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  /* 날짜: 인 → 아웃 → 박수 를 한 줄로 */
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg.reg_date {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
  }
  /* 미선택 안내 — 값보다 작고 흐리게 (모바일 바와 동일) */
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg:empty::before {
    content: "선택해주세요";
  }
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg:empty::before,
  #reservation_bar .m_modalbx.addable_reservation .picklist .msg .ph {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--resv-muted);
  }

  /* 인원: 일반/유아를 나란히.
     항상 값이 차 있는 칸이라 날짜·객실 값처럼 진하게 두면 혼자 튑니다.
     모바일 바와 같이 안내 문구와 같은 크기·굵기·색으로 맞춥니다. */
  #reservation_bar .m_modalbx.addable_reservation .picklistBtnWrap {
    display: flex;
    align-items: center;
    /* 기존 space-between 때문에 양끝으로 벌어졌습니다 */
    justify-content: flex-start;
    gap: 12px;
  }
  #reservation_bar .m_modalbx.addable_reservation .picklistBtnWrap .msg {
    width: auto;
  }
  #reservation_bar .m_modalbx.addable_reservation .picklistBtnWrap .msg,
  #reservation_bar .m_modalbx.addable_reservation .picklistBtnWrap .msg p,
  #reservation_bar .m_modalbx.addable_reservation .picklistBtnWrap .msg span {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--resv-muted);
  }
  #reservation_bar .m_modalbx.addable_reservation .picklistBtnWrap .msg:not(:first-child) {
    margin: 0;
  }

  /* 화살표 — 세로 가운데 */
  #reservation_bar .m_modalbx.addable_reservation .picklist::after {
    top: 50%;
    bottom: auto;
    right: 16px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    opacity: 0.45;
    transition: opacity 0.18s ease;
  }
  #reservation_bar .m_modalbx.addable_reservation .picklist:hover::after {
    opacity: 1;
  }

  /* 구분선 */
  #reservation_bar .m_modalbx.addable_reservation .picklistbar {
    flex: 0 0 1px;
    width: 1px;
    height: 26px;
    margin: auto 0;
    background: var(--resv-line);
  }

  /* ---- 예약하기 버튼 (카드에 붙임) ---- */
  #reservation_bar .m_modalbx.addable_reservation .reserbtn {
    display: flex;
    width: 168px;
    flex: 0 0 168px;
    /* 기존 CSS 가 height 를 고정해 두어 왼쪽 선택영역(72px)과 어긋났습니다.
       내용 높이에 맞춰 늘어나도록 풀어 줍니다. */
    height: auto;
    align-self: stretch;
    min-height: 66px;
    border-radius: 0;
    background: transparent;
  }
  #reservation_bar .m_modalbx.addable_reservation .reserbtn .btn {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  #reservation_bar .m_modalbx.addable_reservation .reserbtn .btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--resv-accent);
    color: var(--color-white, #ffffff);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background-color 0.18s ease;
  }
  #reservation_bar .m_modalbx.addable_reservation .reserbtn .btn a:hover {
    background: #2b2724;
  }
}

/* =============================================================================
   모바일 (900px 이하)
   기존: 우하단 원형 버튼 → 탭하면 시트가 열림
   변경: 하단에 항상 떠 있는 예약 바. 칸마다 "캡션 + 값" 2단으로 읽히게 합니다.
   ============================================================================= */
@media screen and (max-width: 900px) {
  /* 바 높이 — 하단 여백·가이드맵 위치 계산에 함께 씁니다 (실측값) */
  :root {
    --resv-bar-h: 174px;
  }

  /* 플로팅 예약 버튼은 더 이상 쓰지 않습니다 */
  .reserveIcon {
    display: none !important;
  }

  /* 바가 콘텐츠를 가리지 않도록 문서 하단에 여백.
     body 에 주면 푸터(#242424) 아래로 흰 띠가 남아서,
     푸터 안쪽에 같은 배경으로 공간을 만들어 바에 딱 붙게 합니다. */
  body {
    padding-bottom: 0;
  }
  #footer::after {
    content: "";
    display: block;
    height: calc(var(--resv-bar-h) + env(safe-area-inset-bottom, 0px));
  }
  /* 푸터가 없는 화면을 위한 보강 */
  body:not(:has(#footer)) {
    padding-bottom: calc(var(--resv-bar-h) + env(safe-area-inset-bottom, 0px));
  }
  /* 예전 플로팅 예약 버튼 자리로 비워 두던 하단 여백.
     바가 상시 노출인 지금은 푸터 아래 흰 띠로만 남습니다.
     푸터를 감싼 요소(#wrap, .service 등 페이지마다 다름)의 아래 여백을 지웁니다.
     (바가 없는 화면은 그대로) */
  body:has(.fxd-bx) :has(#footer) {
    padding-bottom: 0;
  }

  /* 가이드맵 플로팅 버튼을 바 위로 */
  body .guide-icon {
    bottom: calc(var(--resv-bar-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  /* ---- 바 본체 ---- */
  .fxd-bx {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: block;
    width: 100%;
    height: auto !important;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: var(--resv-card);
    border-top: 1px solid rgba(62, 57, 54, 0.08);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 24px rgba(62, 57, 54, 0.12);
    transform: none !important;
    transition: transform 0.3s ease;
  }
  /* 햄버거 메뉴가 열려 있는 동안에는 바를 아래로 내려 둡니다.
     (reservation_bar.js 가 .btn_open_drawer / .btn_close 클릭에 맞춰 토글) */
  .fxd-bx.is-drawer-hidden {
    transform: translateY(110%) !important;
    pointer-events: none;
  }

  /* 기존 토글(높이 0 ↔ 특정 높이)을 무력화하고 항상 펼친 상태로 둡니다.
     JS 가 인라인 height 를 넣더라도 !important 로 덮습니다. */
  .fxd-bx .mo_optbx {
    position: static;
    /* 기존 CSS 가 100vw 로 잡고 있어 .fxd-bx 의 좌우 패딩만큼 넘쳤습니다 */
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .fxd-bx .mo_optbx .inner {
    width: 100%;
    padding: 0;
  }

  /* ---- 실시간 예약 뱃지 ---- */
  .fxd-bx .resv-badge-wrap {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 10px 2px;
  }
  .fxd-bx .resv-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--resv-tint);
    color: var(--resv-accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .fxd-bx .resv-badge svg {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
  }

  /* ---- 날짜 / 룸 / 인원 3분할 ---- */
  .fxd-bx .mo_optbx .cont {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .fxd-bx .mo_optbx .cont .optbx {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: auto;
    margin: 0;
    padding: 5px 4px 7px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.18s ease;
  }
  /* 날짜는 "11.28 → 12.01" 로 폭이 고정이고 가장 깁니다.
     룸 이름은 말줄임이 가능하므로 날짜 칸에 여유를 더 줍니다. */
  .fxd-bx .mo_optbx .cont .date_opt {
    flex: 1.25 1 0;
  }
  .fxd-bx .mo_optbx .cont .person_opt {
    flex: 1.15 1 0;
  }

  /* 칸 사이 구분선 — 칸 전체 높이가 아니라 가운데 짧게 */
  .fxd-bx .mo_optbx .cont .optbx {
    position: relative;
  }
  .fxd-bx .mo_optbx .cont .optbx:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: var(--resv-line);
  }
  /* 누르는 동안만 눌린 느낌을 줍니다.
     패널이 열려 있는 동안 계속 깔리던 .on 배경(#f8f8f8)은 뺐습니다. */
  .fxd-bx .mo_optbx .cont .optbx:active {
    background: var(--resv-hover);
  }

  /* 캡션: 아이콘 + 라벨
     아이콘과 글자의 광학 중심을 맞추기 위해 둘 다 line-height 를 1 로 두고
     같은 높이(14px) 상자 안에서 가운데 정렬합니다. */
  .fxd-bx .mo_optbx .cont .optbx .resv-cap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 14px;
  }
  .fxd-bx .mo_optbx .cont .optbx .resv-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    color: var(--resv-label);
  }
  .fxd-bx .mo_optbx .cont .optbx .resv-ico svg {
    display: block;
    width: 14px;
    height: 14px;
  }
  .fxd-bx .mo_optbx .cont .optbx .subtit {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--resv-label);
  }

  /* 값 + 화살표 */
  .fxd-bx .mo_optbx .cont .optbx .txtbx {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .fxd-bx .mo_optbx .cont .optbx .txtbx p {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: var(--resv-value);
    text-align: center;
    white-space: nowrap;
    /* "Grand Pool Suite Y 외 1" 처럼 길면 화살표 위로 넘쳐 그려졌습니다.
       넘치는 만큼 말줄임 처리합니다. */
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* 고르기 전 안내 문구는 값보다 작고 흐리게 — 값이 들어오면 커집니다. */
  .fxd-bx .mo_optbx .cont .optbx .txtbx p .ph {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--resv-muted);
  }
  /* 날짜를 지우면 JS 가 텍스트를 비웁니다. 그때도 안내 문구가 남도록. */
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p:empty::before {
    content: "선택해주세요";
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--resv-muted);
  }
  /* 날짜 값은 "11.28 → 12.01" 로 가장 길어 한 칸에 담으려면 조금 작게 */
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p {
    font-size: 14px;
    letter-spacing: -0.04em;
  }
  /* 인원: 일반 · 유아 한 줄.
     항상 값이 차 있어 날짜·룸 값처럼 진하게 두면 혼자 튀어서,
     '선택해주세요' 안내 문구와 같은 크기·굵기·색으로 맞춥니다. */
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    letter-spacing: -0.03em;
  }
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p .adult,
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p .child {
    /* 기존 CSS 의 좌측 여백을 지워야 한 줄에 들어갑니다 */
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: var(--resv-muted);
    white-space: nowrap;
  }
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p .child::before {
    content: "·";
    margin-right: 4px;
    color: var(--resv-muted);
    font-weight: 400;
  }
  /* 인원 패널에서 [선택하기] 로 확정하면 날짜·룸 값과 같은 색으로 올립니다.
     is-set 은 .pickbtn 확정 시 JS 가 붙입니다. 크기만 12px 로 둡니다
     (세 칸이 한 줄이라 키우면 '일반 2 · 유아 0' 이 넘칩니다). */
  .fxd-bx .mo_optbx .cont .person_opt.is-set .txtbx p .adult,
  .fxd-bx .mo_optbx .cont .person_opt.is-set .txtbx p .child,
  .fxd-bx .mo_optbx .cont .person_opt.is-set .txtbx p .child::before {
    color: var(--resv-value);
    font-weight: 600;
    /* 날짜 값과 같은 14px. 룸(15px)은 "일반 4 · 유아 2" 가 칸을 넘겨서 안 씁니다. */
    font-size: 14px;
  }

  /* 화살표 */
  .fxd-bx .mo_optbx .cont .optbx .txtbx .ico {
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    color: var(--resv-muted);
  }
  .fxd-bx .mo_optbx .cont .optbx .txtbx .ico svg {
    display: block;
    width: 11px;
    height: 11px;
  }

  /* ---- 예약하기 버튼 ---- */
  .fxd-bx .reserv_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin: 12px 0 0;
    position: static;
    border-radius: 12px;
    background: var(--resv-accent);
    color: var(--color-white, #ffffff);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    -webkit-tap-highlight-color: transparent;
  }
  .fxd-bx .reserv_btn:active {
    background: #2b2724;
  }

  /* 서브페이지(resv_mob.html) 전용: PC 예약 팝업 CTA 색과 맞춥니다.
     메인(mo_resv_bar.html) 버튼은 .is-sub 가 없어 갈색을 유지합니다. */
  .fxd-bx .reserv_btn.is-sub {
    background: #0f519b;
  }
  .fxd-bx .reserv_btn.is-sub:active {
    background: #0c4280;
  }

  /* 날짜/룸/인원 선택 모달은 바 위로 */
  .opt_container {
    z-index: 130;
  }
}

/* 아주 좁은 화면(≤360px) 보정 */
@media screen and (max-width: 360px) {
  .fxd-bx .mo_optbx .cont .optbx .txtbx p,
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p {
    font-size: 13px;
  }
  .fxd-bx .mo_optbx .cont .optbx .txtbx p .ph,
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p:empty::before,
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p,
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p .adult,
  .fxd-bx .mo_optbx .cont .person_opt .txtbx p .child {
    font-size: 11px;
  }
  /* 확정된 인원은 날짜 값(13px)과 같게 */
  .fxd-bx .mo_optbx .cont .person_opt.is-set .txtbx p .adult,
  .fxd-bx .mo_optbx .cont .person_opt.is-set .txtbx p .child,
  .fxd-bx .mo_optbx .cont .person_opt.is-set .txtbx p .child::before {
    font-size: 13px;
  }
}

/* =============================================================================
   예약 바 안내 팝업 (PC·모바일 공통)
   날짜/객실을 고르지 않고 다음 단계를 열면 빈 화면 대신 이 안내를 띄웁니다.
   마크업은 reservation_bar.js 의 showResvNotice() 가 처음 호출될 때 생성합니다.
   ============================================================================= */
.resv-notice-dim {
  position: fixed;
  inset: 0;
  z-index: 200;              /* .opt_container(130) · .fxd-bx(110) 보다 위 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 26, 23, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.resv-notice-dim.is-open {
  opacity: 1;
  visibility: visible;
}

.resv-notice {
  width: 100%;
  max-width: 300px;
  padding: 30px 24px 22px;
  border-radius: 16px;
  background: var(--color-white, #ffffff);
  box-shadow: 0 18px 48px rgba(30, 26, 23, 0.28);
  text-align: center;
  transform: translateY(10px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.resv-notice-dim.is-open .resv-notice {
  transform: none;
}

.resv-notice__icon {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  color: var(--color-brown-900, #3e3936);
}

.resv-notice__msg {
  margin: 14px 0 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-gray-900, #111111);
}

.resv-notice__btn {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--color-brown-900, #3e3936);
  color: var(--color-white, #ffffff);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.resv-notice__btn:hover,
.resv-notice__btn:active {
  background: #2b2724;
}

/* 서브페이지(resv_mob.html)는 예약하기 CTA 가 파랑이라 확인 버튼도 맞춥니다.
   팝업은 body 직속이라 페이지 구분이 안 돼서, 서브 전용 .is-sub 로 판별합니다. */
body:has(.fxd-bx .reserv_btn.is-sub) .resv-notice__btn {
  background: #0f519b;
}
body:has(.fxd-bx .reserv_btn.is-sub) .resv-notice__btn:hover,
body:has(.fxd-bx .reserv_btn.is-sub) .resv-notice__btn:active {
  background: #0c4280;
}

/* =============================================================================
   선택한 객실 확인 영역 (PC·모바일 공통)
   객실 패널 하단에 고른 방 이름을 늘어놓고 [선택 확인] 으로 닫습니다.
   마크업은 pc_resv_bar.html / mo_resv_bar.html, 채우기는 reservation_bar.js.
   ============================================================================= */
.resv-roomsel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--color-white, #ffffff);
  border-top: 1px solid var(--color-gray-150, #e6e6e6);
}
.resv-roomsel.is-empty {
  display: none;
}

.resv-roomsel__list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  /* 칸을 넘치면 오른쪽이 흐려져 더 있다는 걸 알립니다.
     넘치지 않으면 그 자리가 비어 있어 보이지 않습니다. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
}
.resv-roomsel__list::-webkit-scrollbar {
  display: none;
}

.resv-roomsel__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 6px 0 12px;
  border-radius: 999px;
  background: var(--color-beige-100, #f0ece4);
  color: var(--color-brown-900, #3e3936);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.resv-roomsel__nm {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brown-900, #3e3936);
}
.resv-roomsel__del {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(62, 57, 54, 0.12);
  color: var(--color-brown-900, #3e3936);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.resv-roomsel__del:hover {
  background: rgba(62, 57, 54, 0.24);
}

.resv-roomsel__confirm {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--color-brown-900, #3e3936);
  color: var(--color-white, #ffffff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.resv-roomsel__confirm:hover,
.resv-roomsel__confirm:active {
  background: #2b2724;
}

/* PC — 목록이 길어 스크롤돼도 하단에 붙어 있게 */
@media screen and (min-width: 901px) {
  #reservation_bar .modalbx.addable_reservation .resv-roomsel {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -4px 12px rgba(62, 57, 54, 0.06);
  }
}

/* 모바일 — 전체화면 패널 하단에 고정 */
@media screen and (max-width: 900px) {
  .rooms_container .choice_rooms .resv-roomsel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* 예약마감 카드의 .dark_overlay 가 모바일에서 z-index:9 라
       (index_addable.css) 독바가 그 아래로 깔려 같이 어두워졌습니다. */
    z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 20px rgba(62, 57, 54, 0.1);
  }
  /* 마지막 객실이 확인 영역에 가리지 않도록.
     배지가 줄을 바꿔 쌓이면 영역이 69~129px 로 커져서, JS 가 실제 높이를
     --resv-roomsel-h 로 넘겨 줍니다. (reservation_bar.js renderSelectedRooms) */
  .rooms_container .choice_rooms #available-rooms-area-mo {
    padding-bottom: calc(var(--resv-roomsel-h, 69px) + 16px);
  }
  /* [선택 확인] 버튼이 한 줄을 같이 쓰면 배지 자리가 234px 뿐이라
     "Grand Pool Suite Y"(148px) 하나밖에 안 들어갑니다.
     가로 스크롤로 두면 두 번째 방이 아예 안 보여서 줄을 바꿔 쌓습니다. */
  .resv-roomsel__list {
    flex-wrap: wrap;
    max-height: 102px;
    padding-right: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .resv-roomsel__confirm {
    height: 44px;
    padding: 0 20px;
  }
}

/* =============================================================================
   인원 선택 패널 버튼 — 객실 패널의 [선택 확인] 과 같은 형태로 맞춥니다.
   기존: 모바일은 각진 검정(#111) 전폭, PC 는 #242424 사각 버튼이었습니다.
   ============================================================================= */
@media screen and (min-width: 901px) {
  #reservation_bar .dropdownbx .clkbtn {
    /* 기존 CSS 가 width:100% 라, 좌우 margin 을 주면 그만큼 넘칩니다.
       좌우 값은 위 인원 목록(li)의 padding 28px 과 맞춥니다. */
    width: calc(100% - 56px);
    height: 42px;
    margin: 0 28px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--color-brown-900, #3e3936);
    color: var(--color-white, #ffffff);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background-color 0.18s ease;
  }
  #reservation_bar .dropdownbx .clkbtn:hover {
    background: #2b2724;
  }
}

@media screen and (max-width: 900px) {
  .opt_container.persons_container .pickbtn {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin: 0;
    /* 좌우는 위 인원 목록의 여백(calc(100vw * (20/375)))과 맞춥니다 */
    padding: 12px calc(100vw * (20 / 375)) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--color-white, #ffffff);
    border: 0;
    border-top: 1px solid var(--color-gray-150, #e6e6e6);
    border-radius: 0;
    box-shadow: 0 -6px 20px rgba(62, 57, 54, 0.1);
  }
  .opt_container.persons_container .pickbtn button {
    width: 100%;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--color-brown-900, #3e3936);
  }
  .opt_container.persons_container .pickbtn button:active {
    background: #2b2724;
  }
  .opt_container.persons_container .pickbtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-white, #ffffff);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  /* ---- 서브페이지 룸선택 패널 버튼 ----
     .rooms_container 에 addable_reservation 이 붙은 쪽은 메인(mo_resv_bar.html)
     이라 건드리지 않습니다. 서브(resv_mob.html)만 CTA 톤에 맞춥니다.
     기존: 둘 다 pill(24/375) + 선택하기 #111 / 자세히보기 #111 테두리 */
  .opt_container.rooms_container:not(.addable_reservation) .btnbx button {
    border-radius: 10px;
  }
  .opt_container.rooms_container:not(.addable_reservation) .btnbx .reserve_btn {
    border-color: #0f519b;
    background: #0f519b;
  }
  .opt_container.rooms_container:not(.addable_reservation) .btnbx .reserve_btn:active {
    border-color: #0c4280;
    background: #0c4280;
  }
  .opt_container.rooms_container:not(.addable_reservation) .btnbx .more_btn {
    border-color: var(--color-gray-150, #e6e6e6);
    background: var(--color-white, #ffffff);
  }
  .opt_container.rooms_container:not(.addable_reservation) .btnbx .more_btn a {
    color: var(--color-gray-600, #888888);
  }

  /* 인원 패널 선택하기도 같은 파랑으로 */
  .opt_container.persons_container:not(.addable_reservation) .pickbtn button {
    background: #0f519b;
  }
  .opt_container.persons_container:not(.addable_reservation) .pickbtn button:active {
    background: #0c4280;
  }
  /* 하단 여백은 기존 .content 의 margin-bottom(104px)이 이미 버튼(69px)을
     덮고 있어 따로 더하지 않습니다. */
}

/* =============================================================================
   ② 모바일 달력 — 선택 구간 글자가 묻히는 문제 (2026-11-25)
   startRange 는 흰 글자인데 inRange 는 #1a1a1a, endRange 는 투명이라
   검은 배경 위에서 날짜가 보이지 않았습니다.
   ============================================================================= */
.opt_container.dates_container .cal.calendar_wrap .flatpickr-day.inRange,
.opt_container.dates_container .cal.calendar_wrap .flatpickr-day.startRange,
.opt_container.dates_container .cal.calendar_wrap .flatpickr-day.endRange,
.opt_container.dates_container .cal.calendar_wrap .flatpickr-day.selected {
  /* endRange 는 기존 규칙이 투명으로 지정해 둬서 덮어써야 합니다 */
  color: var(--color-white, #ffffff) !important;
}

/* =============================================================================
   ④ 반응형(431~900px)에서 예약 패널이 과하게 커지는 문제 (2026-11-25)

   기존 모바일 CSS 는 전부 calc(100vw * (N / 375)) 입니다. 375px 화면을 기준으로
   만든 디자인이라 화면이 넓어질수록 그대로 비례 확대됩니다.
   768px 에서는 날짜 글자가 12px → 31px, 요일이 11px → 29px 가 됩니다.

   해결: 폰 폭(390px)에서의 실측값을 그대로 고정 px 로 고정하고,
   콘텐츠는 한 컬럼으로 가운데 모읍니다.
   ============================================================================= */
@media screen and (min-width: 431px) and (max-width: 900px) {
  /* ---- 콘텐츠를 폰 폭 한 컬럼으로 ---- */
  .opt_container .choice_dates .contbx,
  .opt_container #available-rooms-area-mo,
  .opt_container #mo-addperson-div {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---- 공통 헤더 ---- */
  .opt_container .titbx {
    padding: 10px 16px;
    margin-bottom: 20px;
    height: auto;
  }
  .opt_container .titbx p {
    font-size: 16px;
  }
  .opt_container .titbx .ico {
    width: 24px;
    height: 24px;
  }
  .opt_container .titbx .ico img {
    width: 24px;
    height: 24px;
  }

  /* ---- 달력 ---- */
  .opt_container .choice_dates .contbx {
    padding-top: 10px;
  }
  .opt_container .cal.calendar_wrap .cur-month,
  .opt_container .cal.calendar_wrap .flatpickr-current-month {
    font-size: 16px;
  }
  .opt_container .cal.calendar_wrap .flatpickr-weekday {
    font-size: 14px !important;
    height: 20px;
    line-height: 20px;
  }
  /* 기존 규칙이 !important 로 calc(100vw * (15/375)) 를 걸어 두어
     같은 강도로 덮어야 합니다. 아래 달력 치수도 같은 이유입니다. */
  .opt_container .cal.calendar_wrap .flatpickr-day {
    font-size: 15px !important;
    height: 54px !important;
    max-height: 54px !important;
    line-height: 54px !important;
  }
  /* 요일 줄(absolute)과 날짜 칸이 같은 폭을 쓰도록 공통 부모를 묶습니다 */
  .opt_container .cal.calendar_wrap .flatpickr-rContainer {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }
  .opt_container .cal.calendar_wrap .flatpickr-days,
  .opt_container .cal.calendar_wrap .dayContainer {
    width: 100% !important;
    /* 기존 min-width(= 100vw * 345/375)가 max-width 보다 우선해서
       768px 에서 달력이 707px 까지 늘어났습니다. 같이 풀어 줍니다. */
    min-width: 0 !important;
    max-width: 420px !important;   /* 7칸 × 60px */
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .opt_container .cal.calendar_wrap .flatpickr-days {
    gap: 40px !important;
    margin: 0 auto;
  }
  .opt_container .cal.calendar_wrap .flatpickr-days .dayContainer {
    padding-top: 64px !important;
  }
  /* 월 표기(요일 줄 위에 붙는 라벨) */
  .opt_container .cal.calendar_wrap .flatpickr-weekdaycontainer {
    padding-top: 38px;
  }
  .opt_container .cal.calendar_wrap .flatpickr-weekdaycontainer::before {
    font-size: 16px;
  }
  .opt_container .month-move img {
    width: 22px;
    height: 22px;
  }

  /* ---- 객실 목록 ---- */
  .opt_container .tab-ul li a {
    font-size: 13px;
  }
  .opt_container #available-rooms-area-mo .listBx {
    margin: 20px 0 22px;
  }
  .opt_container #available-rooms-area-mo .listBx .imgbx {
    height: 220px;
  }
  .opt_container #available-rooms-area-mo h2 {
    font-size: 18px;
  }
  .opt_container #available-rooms-area-mo .room_info,
  .opt_container #available-rooms-area-mo .nights-count,
  .opt_container #available-rooms-area-mo .desc span,
  .opt_container #available-rooms-area-mo .title,
  .opt_container #available-rooms-area-mo .f_w_600,
  .opt_container #available-rooms-area-mo .divider,
  .opt_container #available-rooms-area-mo .room_name {
    font-size: 13px;
  }
  .opt_container #available-rooms-area-mo .calc_price {
    font-size: 20px;
  }
  .opt_container #available-rooms-area-mo .swiper-pagination-current,
  .opt_container #available-rooms-area-mo .swiper-pagination-total {
    font-size: 11px;
  }
  .opt_container #available-rooms-area-mo button.reserve_btn {
    height: 42px;
    padding: 0 28px;
  }
  .opt_container #available-rooms-area-mo .reserve_btn a {
    font-size: 12px;
  }

  /* 가격 — 숫자는 크게, 단위/평균은 작게 */
  .opt_container #available-rooms-area-mo .price_selected_days,
  .opt_container #available-rooms-area-mo .price_selected_days > span {
    font-size: 22px;
  }
  .opt_container #available-rooms-area-mo .price_selected_days > span span {
    font-size: 13px;
  }
  .opt_container #available-rooms-area-mo .average_price_selected_days,
  .opt_container #available-rooms-area-mo .average_price_selected_days span {
    font-size: 12px;
  }

  /* 탭이 많아 넘칠 때는 잘리지 말고 가로로 스크롤 */
  .opt_container #available-rooms-area-mo .tab-ul {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .opt_container #available-rooms-area-mo .tab-ul::-webkit-scrollbar {
    display: none;
  }
  .opt_container #available-rooms-area-mo .tab-ul li {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* 요금 상세 모달 */
  .opt_container #available-rooms-area-mo .modal_title {
    font-size: 17px;
  }
  .opt_container #available-rooms-area-mo .modal-price-total-value {
    font-size: 15px;
  }
  .opt_container #available-rooms-area-mo .modal-price-daily-list li,
  .opt_container #available-rooms-area-mo .room_detail_info li {
    font-size: 13px;
  }

  /* ---- 인원 선택 ----
     텍스트만 vw 로 커지고 +/− 아이콘은 19px 고정이라 비율이 어긋났습니다.
     달력(15px)·룸(18px)과 같은 기준으로 맞춥니다. */
  .opt_container #mo-addperson-div {
    font-size: 15px;
  }
  /* 객실명 (섹션 제목) */
  .opt_container #mo-addperson-div .numchkbx > p {
    font-size: 16px;
    line-height: 1.4;
  }
  .opt_container #mo-addperson-div .numchkbx + .numchkbx {
    margin-top: 24px;
  }
  /* 일반 / 유아 줄 */
  .opt_container #mo-addperson-div .person-sel-ul > li {
    height: 60px;
    padding: 0 18px;
  }
  .opt_container #mo-addperson-div .person-sel-ul > li + li {
    margin-top: 10px;
  }
  .opt_container #mo-addperson-div .person-sel-ul > li a {
    font-size: 15px;
  }
  /* 수량 조절 */
  .opt_container #mo-addperson-div .num_crt {
    gap: 14px;
  }
  .opt_container #mo-addperson-div .num_crt > span {
    min-width: 22px;
    font-size: 16px;
    text-align: center;
  }
  .opt_container #mo-addperson-div .num_crt .minus,
  .opt_container #mo-addperson-div .num_crt .plus {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }
}

/* =============================================================================
   달력 양 끝(일·토) 호버 원이 잘리는 문제
   날짜 칸이 컨테이너 경계에 딱 붙어 있어 원의 바깥쪽이 잘렸습니다.
   컨테이너에 좌우 여유를 주고 넘침을 허용합니다.
   ============================================================================= */
.opt_container .cal.calendar_wrap .flatpickr-days,
.opt_container .cal.calendar_wrap .flatpickr-rContainer,
.opt_container .cal.calendar_wrap .flatpickr-innerContainer {
  overflow: visible !important;
}
.opt_container .cal.calendar_wrap .dayContainer {
  padding-left: 2px;
  padding-right: 2px;
}

/* =============================================================================
   예약 가능한 객실이 없을 때 (PC·모바일 공통)
   reservation_bar.js 의 fillRoomArea() 가 목록 자리에 넣습니다.
   ============================================================================= */
.resv-noroom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  padding: 48px 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #cccccc;
}
@media screen and (max-width: 900px) {
  .resv-noroom {
    min-height: 180px;
    padding: 40px 20px;
    font-size: 15px;
  }
}

/* 서브페이지 룸 팝업 — 메인보다 작고 연하게 */
.resv-noroom.is-sub {
  min-height: 150px;
  padding: 34px 20px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #cccccc;
}

/* =============================================================================
   룸선택/날짜/인원 패널 헤더 가운데 정렬 (2026-11-27)

   index.css 가 .ico 에 margin-right: calc(100vw * (123 / 375)) 로 간격을 줘서
   제목이 가운데로 가는 건 화면이 정확히 375px 일 때뿐입니다.
   390px 에서는 약 16px 왼쪽으로 치우쳐 보였습니다.
   뒤로가기 아이콘을 흐름에서 빼고 제목을 컨테이너 기준 가운데에 둡니다.
   ============================================================================= */
@media screen and (max-width: 900px) {
  /* 메인(mo_resv_bar.html)은 index_addable.css 가
     .opt_container.addable_reservation .titbx { justify-content: space-between }
     로 덮어쓰기 때문에 클래스를 하나 더 붙여 줘야 이깁니다. */
  .opt_container .titbx,
  .opt_container.addable_reservation .titbx {
    position: relative;
    justify-content: center;
  }
  .opt_container .titbx p {
    text-align: center;
  }
  /* 메인 쪽 제목 뒤의 빈 <span> 은 space-between 용 우측 자리맞춤이라
     가운데 정렬에서는 제목을 왼쪽으로 24px 밀어냅니다. */
  .opt_container .titbx > span:empty {
    display: none;
  }
  .opt_container .titbx .ico {
    position: absolute;
    top: 50%;
    left: calc(100vw * (16 / 375));
    margin-right: 0;
    transform: translateY(-50%) rotate(180deg);
  }
}
@media screen and (min-width: 431px) and (max-width: 900px) {
  .opt_container .titbx .ico {
    left: 16px;
  }
}

/* =============================================================================
   서브페이지 인원 패널 +/- 버튼 (resv_mob.html 전용) — 2026-11-27

   예약하기 페이지(/reserve/main)와 같은 톤으로 맞춥니다.
   기존에는 꽉 찬 SVG 사각형 두 장(.clk-prev_ico 회색 / .clk_ico 검정)을
   번갈아 보여 주는 구조인데, 토글 규칙이 .plus/.minus 를 보고 있어서
   .plus_mo/.minus_mo 에는 안 걸려 항상 회색만 나왔습니다.
   이미지 두 장을 모두 가리고 테두리 + CSS 기호로 다시 그립니다.
   아이콘 파일은 다른 화면에서도 쓰므로 건드리지 않습니다.
   ============================================================================= */
@media screen and (max-width: 900px) {
  .opt_container.persons_container .num_crt .minus_mo,
  .opt_container.persons_container .num_crt .plus_mo {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background-color: var(--color-white, #ffffff);
    cursor: pointer;
  }
  .opt_container.persons_container .num_crt .minus_mo img,
  .opt_container.persons_container .num_crt .plus_mo img {
    display: none;
  }
  /* 가로 막대 (− 와 + 공통) */
  .opt_container.persons_container .num_crt .minus_mo::before,
  .opt_container.persons_container .num_crt .plus_mo::before,
  /* 세로 막대 (+ 전용) */
  .opt_container.persons_container .num_crt .plus_mo::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 1.5px;
    border-radius: 1px;
    background-color: var(--resv-value, #111111);
  }
  .opt_container.persons_container .num_crt .plus_mo::after {
    width: 1.5px;
    height: 11px;
  }
  /* 더 이상 뺄 수 없을 때는 흐리게 (JS syncMinusStateMo 가 is-off 를 붙입니다) */
  .opt_container.persons_container .num_crt .minus_mo.is-off::before {
    background-color: #999999;
  }

  /* ---- 메인(mo_resv_bar.html)도 같은 모양으로 ----
     메인은 JS 가 .minus / .plus 로 그리고 아이콘이 SVG 이미지(19px, 테두리 없음)라
     서브페이지(28px, 테두리 + CSS 기호)와 달라 보였습니다.
     흐림 상태는 reservation_bar.js 의 syncPersonMinusState 가 is-off 로 붙입니다. */
  .opt_container.persons_container .num_crt .minus,
  .opt_container.persons_container .num_crt .plus {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background-color: var(--color-white, #ffffff);
    cursor: pointer;
  }
  .opt_container.persons_container .num_crt .minus img,
  .opt_container.persons_container .num_crt .plus img {
    display: none;
  }
  .opt_container.persons_container .num_crt .minus::before,
  .opt_container.persons_container .num_crt .plus::before,
  .opt_container.persons_container .num_crt .plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 1.5px;
    border-radius: 1px;
    background-color: var(--resv-value, #111111);
  }
  .opt_container.persons_container .num_crt .plus::after {
    width: 1.5px;
    height: 11px;
  }
  .opt_container.persons_container .num_crt .minus.is-off::before {
    background-color: #999999;
  }
  /* 행 높이도 서브페이지(50/375 · 안쪽 여백 20/375)와 동일하게.
     메인은 높이 지정이 없어 버튼이 커진 만큼 63px 까지 늘어났습니다. */
  /* index_addable.css 의
     .opt_container.addable_reservation.persons_container .content .numchkbx ul li
     (height:auto · padding 16/375) 를 이겨야 해서 같은 깊이로 적습니다. */
  .opt_container.addable_reservation.persons_container .content .numchkbx .person-sel-ul li {
    height: calc(100vw * (50 / 375));
    padding: calc(100vw * (20 / 375));
  }
  /* 카운트 숫자도 기호와 같은 검정으로 */
  .opt_container.persons_container .num_crt > span {
    color: var(--resv-value, #111111);
    font-weight: 600;
  }
}

/* =============================================================================
   룸 목록 버튼 글자 수직 정렬 (2026-11-27)

   버튼 크기/글자 규칙이 @media (min-width:431px) and (max-width:900px) 안에만
   있어서, 360~430px 폰에서는 적용되지 않았습니다. 그 구간에서는 <a> 가 인라인
   그대로라 글자가 버튼 세로 가운데보다 약 2.5px 아래에 앉았습니다.
   크기는 기존 값을 그대로 두고 정렬만 모든 모바일 폭에서 잡아 줍니다.
   ============================================================================= */
@media screen and (max-width: 900px) {
  /* inline-flex 여야 기존처럼 우측에 나란히 붙습니다.
     flex 로 두면 블록이 되어 폭을 다 먹고 세로로 쌓입니다. */
  .opt_container #available-rooms-area-mo button.reserve_btn,
  .opt_container #available-rooms-area-mo button.cart_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .opt_container #available-rooms-area-mo .reserve_btn a,
  .opt_container #available-rooms-area-mo .cart_btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
  }
}

/* =============================================================================
   하단 독바 날짜 값 글자 크기 (2026-11-30)

   .rd-date / .rd-sep 에 크기를 안 줘서 레거시 모바일 규칙
   (span 에 calc(100vw * (11 / 375)))이 먹어 11.44px 로 떨어졌습니다.
   같은 줄의 룸(15px) · 인원(14px) 보다 작아 혼자 작아 보였습니다.
   감싸는 p 의 크기(14px)를 그대로 물려받게 합니다.
   ============================================================================= */
@media screen and (max-width: 900px) {
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p .rd-date,
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p .rd-sep,
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p .rd-nights {
    font-size: inherit;
  }
  /* 글자가 커진 만큼 "12.10 → 12.11" 이 2~5px 모자라 말줄임이 걸렸습니다.
     날짜 칸을 조금 넓혀 받아 줍니다. (룸 이름은 원래 말줄임이 설계입니다) */
  .fxd-bx .mo_optbx .cont .date_opt {
    flex: 1.36 1 0;
  }
  /* 좁은 화면(360px)에서 "일반 4 · 유아 2" 가 모자라서 인원 칸도 조금 늘리고,
     모자란 폭은 어차피 말줄임이 걸리는 룸 칸에서 가져옵니다. */
  .fxd-bx .mo_optbx .cont .person_opt {
    flex: 1.24 1 0;
  }
  .fxd-bx .mo_optbx .cont .room_opt {
    flex: 0.86 1 0;
  }
  .fxd-bx .mo_optbx .cont .date_opt .txtbx p {
    letter-spacing: -0.05em;
  }
}

/* =============================================================================
   PC 예약 바 — 인원 값 표기 (2026-11-30)

   날짜·객실은 고른 값을 #111111 / 14px / 500 으로 보여 주는데, 인원만
   #aaaaaa / 12px / 400 (안내 문구용 색) 이라 혼자 흐렸습니다.
   인원이 1명 이상이면 다른 두 칸과 같은 모양으로 올립니다.
   is-set 은 reservation_bar.js 의 updateDisplay() 가 붙입니다.
   ============================================================================= */
@media screen and (min-width: 901px) {
  #reservation_bar .m_modalbx.addable_reservation .picklist.is-set .msg,
  #reservation_bar .m_modalbx.addable_reservation .picklist.is-set .msg p,
  #reservation_bar .m_modalbx.addable_reservation .picklist.is-set .msg span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--resv-value, #111111);
  }
}
