/* =========================================================
   MONGYA338 INFORMATION PAGE - 401.css
   201.css 디자인 톤 기준 재정리
   - Hero size/style aligned with 401.php
   - Cream horizontal detail section
   - No accordion
========================================================= */

:root {
  --room-cream: #f8efdc;
  --room-sand: #d5c8ac;
  --room-text: #8b867d;
  --room-muted: #9b958a;
  --room-ink: #171717;
  --room-line: rgba(47, 43, 36, 0.2);
  --room-line-strong: rgba(47, 43, 36, 0.32);
  --room-white: #ffffff;
  --room-black: #111111;
  --room-green: #66754d;
  --room-brown: #8a735d;
}

* {
  box-sizing: border-box;
}

.site-main {
  background: var(--room-cream);
}

.info-detail-section a,
.price-table a,
.room-other a {
  text-decoration: none;
}

/* =========================================================
   HERO - 401.css room-hero 기준
========================================================= */

.room-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #15130f;
  touch-action: pan-y;
  user-select: none;
}

.room-hero-track,
.room-hero-slide,
.room-hero-overlay {
  position: absolute;
  inset: 0;
}

.room-hero-track {
  z-index: 1;
}

.room-hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 950ms ease,
    transform 5400ms ease;
  will-change: opacity, transform;
}

.room-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.room-hero-overlay {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.18) 48%,
    rgba(0, 0, 0, 0.44) 100%
  );
  pointer-events: none;
}

.room-hero-caption {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 4;
  width: min(380px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
}

.room-hero-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

/* =========================================================
   INFORMATION DETAIL - 401 room-detail-section 톤
========================================================= */

.info-detail-section {
  background: var(--room-cream);
  padding: 112px 0 104px;
  color: var(--room-text);
}

.room-detail-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.room-detail-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
}

.room-detail-copy {
  max-width: 560px;
}

.room-brand {
  margin: 0 0 6px;
  color: #8a857b;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.room-detail-copy h1 {
  margin: 0;
  color: #817c73;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: 0.035em;
}

.room-detail-copy h2 {
  margin: 42px 0 0;
  color: #8a857b;
  font-size: clamp(24px, 2.8vw, 33px);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.08em;
}

.room-lead {
  margin: 34px 0 0;
  color: #817c73;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 500;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

.room-detail-side {
  width: 100%;
  padding-top: 8px;
}

.info-line-list {
  width: 100%;
  border-top: 1px solid var(--room-line);
}

.info-line-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--room-line);
}

.info-line-item strong {
  color: var(--room-ink);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.info-line-item span {
  color: #5f5a52;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.room-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 34px;
  flex-wrap: wrap;
}

.room-actions a,
.room-other a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(47, 43, 36, 0.32);
  color: var(--room-ink);
  background: transparent;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.room-actions a.primary {
  background: var(--room-ink);
  border-color: var(--room-ink);
  color: #fff;
}

.room-actions a:hover,
.room-other a:hover {
  background: var(--room-ink);
  border-color: var(--room-ink);
  color: #fff;
}

/* =========================================================
   SECTION HEAD
========================================================= */

.info-section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.info-section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.info-section-head p {
  margin: 0 0 12px;
  color: #8a857b;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.info-section-head h2 {
  margin: 0;
  color: #817c73;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.065em;
}

.info-section-head span {
  display: block;
  margin-top: 24px;
  color: #817c73;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: -0.055em;
}

/* =========================================================
   PRICE TABLE
========================================================= */

.price-section {
  background: var(--room-cream);
  padding: 98px 0 96px;
  color: var(--room-ink);
  border-top: 1px solid var(--room-line);
}

.price-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.price-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--room-line-strong);
  border-bottom: 1px solid var(--room-line-strong);
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: transparent;
}

.price-table th,
.price-table td {
  padding: 23px 18px;
  border-bottom: 1px solid var(--room-line);
  color: #5f5a52;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.055em;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.price-table thead th {
  color: #756f66;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-room {
  text-align: left !important;
}

.price-room a {
  display: inline-grid;
  gap: 5px;
  color: var(--room-ink);
}

.price-room a em {
  color: #756f66;
  font-size: 12px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.price-room a:hover {
  color: var(--room-brown);
}

.price-value {
  color: #4f4a43 !important;
  font-weight: 700 !important;
}

.price-note {
  margin: 22px 0 0;
  color: #716b62;
  font-size: 14px;
  line-height: 1.72;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

/* =========================================================
   EXTRA CHARGE
========================================================= */

.extra-charge-section {
  background: var(--room-cream);
  padding: 102px 0 46px;
  color: var(--room-ink);
}

.extra-charge-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.extra-charge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--room-line);
  border-left: 1px solid var(--room-line);
}

.extra-charge-card {
  min-height: 242px;
  padding: 30px 24px 28px;
  background: transparent;
  border-right: 1px solid var(--room-line);
  border-bottom: 1px solid var(--room-line);
}

.extra-charge-card > span {
  display: block;
  margin-bottom: 30px;
  color: #756f66;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.extra-charge-card h3 {
  margin: 0 0 20px;
  color: var(--room-ink);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.extra-charge-card ul,
.notice-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.extra-charge-card li,
.notice-card li {
  position: relative;
  padding-left: 14px;
  color: #5f5a52;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.extra-charge-card li::before,
.notice-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #756f66;
}

/* =========================================================
   NOTICE
========================================================= */

.notice-section {
  background: var(--room-cream);
  padding: 0 0 104px;
  color: var(--room-ink);
}

.notice-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.notice-card {
  min-height: 248px;
  padding: 38px 40px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--room-line);
}

.notice-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: #756f66;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.notice-card h3 {
  margin: 0 0 22px;
  color: var(--room-ink);
  font-size: 26px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.06em;
}

/* =========================================================
   OTHER ROOMS - 201.css 기준
========================================================= */

.room-other {
  background: var(--room-sand);
  padding: 62px 0;
}

.room-other-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.room-other a {
  flex: 1 1 220px;
  max-width: 360px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .room-hero {
    height: 100svh;
    min-height: 760px;
  }

  .room-hero-caption {
    bottom: 52px;
  }

  .room-hero-title {
    font-size: 17px;
    letter-spacing: 4px;
  }

  .info-detail-section {
    padding: 78px 0 74px;
  }

  .room-detail-inner,
  .price-inner,
  .extra-charge-inner,
  .notice-inner,
  .room-other-inner {
    width: calc(100% - 52px);
  }

  .room-detail-row {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .room-detail-side {
    padding-top: 0;
  }

  .info-line-item {
    grid-template-columns: 130px 1fr;
  }

  .price-section {
    padding: 74px 0 76px;
  }

  .extra-charge-section {
    padding: 74px 0 36px;
  }

  .notice-section {
    padding: 0 0 82px;
  }

  .info-section-head {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .extra-charge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notice-inner {
    grid-template-columns: 1fr;
  }

  .room-other-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .room-other a {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .room-hero {
    height: 100svh;
    min-height: 780px;
  }

  .room-hero-caption {
    bottom: 52px;
    width: calc(100% - 36px);
  }

  .info-detail-section {
    padding: 64px 0 62px;
  }

  .room-detail-inner,
  .price-inner,
  .extra-charge-inner,
  .notice-inner,
  .room-other-inner {
    width: calc(100% - 48px);
  }

  .room-detail-row {
    gap: 52px;
  }

  .room-brand {
    font-size: 18px;
  }

  .room-detail-copy h1 {
    font-size: 52px;
  }

  .room-detail-copy h2 {
    margin-top: 34px;
    font-size: 25px;
  }

  .room-lead {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.7;
  }

  .info-line-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .info-line-item strong {
    font-size: 15px;
  }

  .info-line-item span {
    font-size: 15px;
    line-height: 1.75;
  }

  .room-actions a {
    width: 100%;
  }

  .info-section-head h2 {
    font-size: 38px;
  }

  .info-section-head span {
    font-size: 15px;
  }

  .extra-charge-grid {
    grid-template-columns: 1fr;
  }

  .extra-charge-card,
  .notice-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .room-other-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   401.php HERO SLIDER NAV BUTTON
   - 상단 배너 좌우 방향 버튼 표시
   - 이미지 슬라이드 이전/다음 버튼
========================================================= */

#page-401 .room-hero-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: block !important;

  width: 42px;
  height: 42px;
  padding: 0;

  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);

  transform: translateY(-50%);
  cursor: pointer;
  appearance: none;

  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

/* 화살표 모양 */
#page-401 .room-hero-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 11px;
  height: 11px;

  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* 왼쪽 버튼 위치 */
#page-401 .room-hero-prev {
  left: 7%;
}

/* 오른쪽 버튼 위치 */
#page-401 .room-hero-next {
  right: 7%;
}

/* 왼쪽 화살표 방향 */
#page-401 .room-hero-prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

/* 오른쪽 화살표 방향 */
#page-401 .room-hero-next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

#page-401 .room-hero-nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-50%) scale(1.04);
}

/* =========================================================
   401.php HERO STATUS FIX
   - INFORMATION 페이지 전용 진행바 애니메이션 복구
   - 캡션/진행바 위치를 LOCATION 페이지처럼 아래쪽으로 조정
   - 401.php 내부 .room-hero-caption top 설정을 덮어쓰기
========================================================= */

/* 401 전용 캡션 위치 */
#page-401 .room-hero-caption {
  position: absolute;
  left: 50%;

  /* 기존 top 방식 제거 */
  top: auto !important;

  /* 숫자가 작을수록 더 아래로 내려갑니다. */
  bottom: 70px !important;

  z-index: 5;
  width: min(380px, calc(100% - 48px));
  transform: translateX(-50%) !important;
  text-align: center;
  color: #fff;
}

/* 제목과 진행바 사이 간격 */
#page-401 .room-hero-status {
  display: grid;
  grid-template-columns: 44px minmax(86px, 1fr) 44px;
  align-items: center;
  gap: 18px;
  width: min(260px, 100%);
  margin: 26px auto 0;

  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

/* 진행바 기본 라인 */
#page-401 .room-hero-progress {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 진행되는 흰색 눈금 */
#page-401 .room-hero-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

/* 진행바 애니메이션 - 이게 없으면 눈금이 움직이지 않습니다 */
@keyframes roomHeroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  #page-401 .room-hero-caption {
    top: auto !important;
    bottom: 24px !important;
    width: min(360px, calc(100% - 48px));
    transform: translateX(-50%) !important;
  }

  #page-401 .room-hero-status {
    margin: 26px auto 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  #page-401 .room-hero-caption {
    top: auto !important;
    bottom: 28px !important;
    width: calc(100% - 44px);
    transform: translateX(-50%) !important;
  }

  #page-401 .room-hero-status {
    grid-template-columns: 38px minmax(76px, 1fr) 38px;
    gap: 14px;
    margin: 24px auto 0;
    font-size: 12px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {
  #page-401 .room-hero-caption {
    top: auto !important;
    bottom: 30px !important;
    width: calc(100% - 36px);
    transform: translateX(-50%) !important;
  }

  #page-401 .room-hero-status {
    grid-template-columns: 34px minmax(76px, 1fr) 34px;
    gap: 12px;
    margin: 24px auto 0;
    font-size: 12px;
  }
}