/* ── PAGE HERO (image layout — overrides shared) ── */
.page-hero {
  padding-top: 64px;
  padding-bottom: 0;
  background: none;
  border-bottom: none;
  position: relative;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: var(--hero-grad);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 2rem 3rem;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.page-hero h1.en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
}
.page-hero h1.jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}
.hero-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.hero-meta-item {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── LAYOUT ── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ── PHOTO GALLERY ── */
.gallery {
  margin-bottom: 3rem;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-bottom: 0.75rem;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  width: 100%;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; }
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

/* ── INFO SECTIONS ── */
.info-section {
  margin-bottom: 2.5rem;
}
.info-section h3 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table td {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  vertical-align: top;
}
.info-table td:first-child {
  color: var(--fg-muted);
  width: 38%;
  font-size: 0.8rem;
}

/* ── INLINE STYLE REPLACEMENTS ── */
.rent-suffix {
  color: var(--fg-muted);
  font-size: 0.8rem;
}
.img-full {
  width: 100%;
  border-radius: 2px;
  display: block;
}
.img-full--mb {
  margin-bottom: 0.75rem;
}
.access-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.7;
}
.room-legend {
  font-size: 0.68rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
}
.btn--center {
  justify-content: center;
  font-size: 0.75rem;
}

/* ── SIDEBAR ── */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.sidebar-price {
  padding: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-price .label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
  display: block;
}
.sidebar-price .amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1.1;
}
.sidebar-price .per {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: 'Noto Sans JP', sans-serif;
}
.sidebar-rooms {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-rooms h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}
.room-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.room-pill {
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.7rem;
  border: 1px solid var(--border);
  font-family: 'Noto Sans JP', sans-serif;
}
.room-pill.avail { background: rgba(92,136,72,0.1); border-color: rgba(92,136,72,0.3); color: #3a6a28; }
.room-pill.taken { opacity: 0.4; }
.sidebar-cta {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sidebar-cta .line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #06C755;
  color: #fff;
  padding: 0.85rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Noto Sans JP', sans-serif;
  transition: filter 0.2s;
}
.sidebar-cta .line-btn:hover { filter: brightness(1.1); }
.sidebar-note {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.7;
  text-align: center;
}

/* ── MAP ── */
.map-placeholder {
  height: 220px;
}

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}
@media (max-width: 600px) {
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
}
