@charset "utf-8";
/* 펜션 실시간예약 창 · 달력 객실 레이어 · 사진보기 (코어 3.0 psReservation/skin001/css/public.css 의 iframe 창 자리 — 3.5 는 화면 안 창) */

/* 달력 객실 정보 레이어 (3.0 roomInforShot 은 스킨 public.css) */
.psCalWrap { position: relative; }
.psCalWrap .roomInforShot { z-index: 50; width: 260px; }
.psCalWrap .roomInforShot[hidden] { display: none; }
.psCalWrap .roomInforShot #roomBtn { display: flex; gap: 4px; flex-wrap: wrap; }
.psCalWrap .roomInforShot #roomBtn button { padding: 4px 8px; border: 1px solid #888; background: #fff; border-radius: 3px; font-size: 12px; cursor: pointer; }
.psCalWrap .roomInforShot #roomBtn button:hover, .psCalWrap .roomInforShot #roomBtn button:focus-visible { background: #333; color: #fff; }
.psCalWrap .psRoomInfoClose { position: absolute; right: 8px; top: 8px; border: 0; background: none; padding: 4px; cursor: pointer; line-height: 0; }
.psCalWrap .psRoomInfoClose img { width: 12px; }
.psCalWrap .dayReserv a:focus-visible { outline: 2px solid #1a73e8; outline-offset: 1px; }

/* 사진보기 */
.psPhotoBox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.psPhotoBox img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.psPhotoBox .psPhotoCap { color: #fff; margin-top: 12px; font-size: 14px; }
.psPhotoBox button { position: absolute; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 32px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.psPhotoBox button:hover, .psPhotoBox button:focus-visible { background: rgba(255,255,255,0.35); }
.psPhotoBox .psPhotoClose { right: 16px; top: 16px; }
.psPhotoBox .psPhotoPrev { left: 16px; top: 50%; transform: translateY(-50%); }
.psPhotoBox .psPhotoNext { right: 16px; top: 50%; transform: translateY(-50%); }

/* 예약 창 */
body.psResOpen { overflow: hidden; }
.psResLayer { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.5); overflow-y: auto; padding: 30px 16px; box-sizing: border-box; }
.psResLayer * { box-sizing: border-box; }
.psResPanel { position: relative; max-width: 800px; margin: 0 auto; background: #fff; border-radius: 8px; color: #222; font-size: 14px; line-height: 1.6; text-align: left; }
.psResHead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 20px; border-bottom: 1px solid #ddd; }
.psResTitle { margin: 0; font-size: 18px; font-weight: 700; }
.psResHeadBtn { display: flex; align-items: center; gap: 6px; }
.psResText { border: 1px solid #ccc; background: #fff; padding: 3px 10px; border-radius: 3px; font-size: 13px; cursor: pointer; }
.psResClose { border: 0; background: none; font-size: 26px; line-height: 1; width: 36px; height: 36px; cursor: pointer; }
.psResSteps { display: flex; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #eee; }
.psResSteps li { flex: 1; text-align: center; padding: 10px 4px; font-size: 13px; color: #999; background: #f7f7f7; }
.psResSteps li.on { color: #fff; background: #333; font-weight: 700; }
.psResBody { padding: 20px; }
.psResSec, .psResAgree { margin-bottom: 20px; }
.psResSub { font-size: 15px; font-weight: 700; margin: 0 0 8px; padding-left: 8px; border-left: 3px solid #333; }
.psResPolicyText { max-height: 160px; overflow-y: auto; border: 1px solid #ddd; padding: 10px; font-size: 13px; background: #fafafa; word-break: break-all; }
.psResCheck { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; cursor: pointer; }
.psResAll { display: flex; justify-content: flex-end; font-weight: 700; padding-top: 10px; border-top: 1px solid #eee; }
.psResModes { display: flex; gap: 16px; margin-bottom: 8px; }
.psResRadio { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; cursor: pointer; }
.psResDates { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.psResDateBtn { border: 1px solid #aaa; background: #fff; padding: 6px 12px; border-radius: 4px; cursor: pointer; min-height: 36px; }
.psResDateBtn::after { content: " ▾"; color: #888; }
.psResSelect, .psResInput, .psResTextarea { border: 1px solid #aaa; border-radius: 4px; padding: 6px 8px; font-size: 14px; min-height: 36px; background: #fff; max-width: 100%; }
.psResInput, .psResTextarea { width: 100%; max-width: 360px; }
.psResTextarea { max-width: 100%; }
.psResAddRoom { width: 100%; margin-top: 8px; }
.psResNights { font-weight: 700; }
.psResRooms { display: flex; flex-direction: column; gap: 10px; }
.psResRoom { border: 1px solid #ddd; border-radius: 6px; padding: 12px; }
.psResRoomHead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.psResDel { border: 1px solid #ccc; background: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; line-height: 1; flex-shrink: 0; }
.psResRoomInfo { margin: 2px 0; color: #444; }
.psResRoomNote { margin: 2px 0; color: #d00; font-size: 13px; }
.psResWarn { color: #d00; }
.psResWarn p { margin: 2px 0; }
.psResRow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.psResLabel { font-weight: 600; }
.psResInline { display: inline-flex; align-items: center; gap: 4px; }
.psResMuted { color: #888; font-size: 13px; }
.psResRoomPrice { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: flex-end; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #ddd; }
.psResMinus { color: #d00; }
.psResEmpty { color: #888; }
.psResServices .psResSelect { width: 100%; }
.psResServiceRow { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.psResServiceName { flex: 1; }
.psResQty { border: 1px solid #aaa; background: #fff; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; font-size: 16px; }
.psResQtyNum { min-width: 28px; text-align: center; }
.psResServiceSum { text-align: right; font-weight: 700; margin: 6px 0 0; }
.psResTotal { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f4f4f4; border-radius: 6px; margin: 10px 0; font-size: 15px; }
.psResTotal strong { font-size: 20px; color: #c00; }
.psResFoot { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.psResFoot[hidden] { display: none; }
.psResBtn { min-width: 96px; min-height: 40px; padding: 8px 16px; border: 1px solid #888; background: #fff; border-radius: 4px; font-size: 14px; cursor: pointer; }
.psResBtn.primary { background: #333; border-color: #333; color: #fff; }
.psResBtn:focus-visible, .psResDateBtn:focus-visible, .psResQty:focus-visible, .psResDel:focus-visible, .psResText:focus-visible, .psResClose:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
.psResField { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.psResFieldLabel { width: 120px; flex-shrink: 0; font-weight: 600; padding-top: 6px; }
.psResFieldCtl { flex: 1; min-width: 0; }
.psResReq { color: #d00; }
.psResNote { color: #888; font-size: 12px; margin: 4px 0 0; }
.psResChoices { display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 6px; }
.psResChoices.col { flex-direction: column; }
.psResWait { text-align: center; color: #555; margin: 8px 0; }
.psResDone { text-align: center; font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.psResInfo { display: grid; grid-template-columns: 120px 1fr; gap: 4px 10px; margin: 0; }
.psResInfo dt { color: #666; }
.psResInfo dd { margin: 0; word-break: break-all; }
.psResPolicyPop { position: absolute; inset: 0; background: rgba(255,255,255,0.6); display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px; z-index: 5; border-radius: 8px; }
.psResPolicyBox { background: #fff; border: 1px solid #aaa; border-radius: 6px; padding: 16px; width: 100%; max-width: 600px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.psResPolicyBox h3 { margin: 0 0 8px; font-size: 16px; }
.psResPolicyBox .psResPolicyText { max-height: 50vh; margin-bottom: 10px; }

/* 날짜 고르기 */
.psResPick { position: absolute; left: 0; top: 100%; margin-top: 4px; z-index: 6; background: #fff; border: 1px solid #aaa; border-radius: 6px; padding: 10px; width: 280px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.psResPickHead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.psResPickNav { border: 1px solid #ccc; background: #fff; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; font-size: 18px; }
.psResPickGrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.psResPickGrid > span { font-size: 12px; color: #666; padding: 2px 0; }
.psResPickGrid .sun { color: #d00; }
.psResPickGrid .sat { color: #06c; }
.psResPickDay { border: 1px solid transparent; background: #eef6ff; height: 32px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.psResPickDay:hover { border-color: #333; }
.psResPickDay.on { background: #333; color: #fff; }
.psResPickDay:disabled { background: none; color: #ccc; cursor: default; border-color: transparent; }

@media (max-width: 600px) {
	.psResLayer { padding: 0; }
	.psResPanel { border-radius: 0; min-height: 100%; }
	.psResHead { padding: 10px 12px; }
	.psResBody { padding: 14px 12px; }
	.psResSteps li { font-size: 11px; padding: 8px 2px; }
	.psResField { flex-direction: column; gap: 4px; }
	.psResFieldLabel { width: auto; padding-top: 0; }
	.psResInput { max-width: 100%; }
	.psResInfo { grid-template-columns: 90px 1fr; }
	.psResFoot { flex-wrap: wrap; }
	.psResBtn { flex: 1; min-width: 0; }
	.psResPick { width: 100%; }
}

/* 달력 좁은 화면 (3.0 skin001 모바일 4일 표 대신 같은 달력 — 객실명 한 줄 줄임) */
@media (max-width: 720px) {
	.psCalWrap .mdReservCalendarPc .dayReserv { padding-top: 30px !important; }
	.psCalWrap .mdReservCalendarPc .dayReserv a, .psCalWrap .mdReservCalendarPc .dayReserv span { display: block; min-height: 18px; font-size: 11px; letter-spacing: -1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.psCalWrap .mdReservCalendarPc .dayReserv img { width: 11px; height: auto; }
}
