/* ─── CABIN SUBPAGE STYLES ─── */

/* HERO */
.dp-hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
  margin: 0;
  padding: 0 !important;
}
.dp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.dp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem 4rem;
  color: #fff;
}
.dp-hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.dp-hero-meta span {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.dp-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 1rem;
  width: fit-content;
}
.dp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* BREADCRUMB */
.dp-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 0.5px solid var(--border);
}
.dp-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.dp-breadcrumb a:hover { color: var(--forest); }
.dp-breadcrumb span:last-child { color: var(--dark); }

/* LAYOUT */
.dp-layout {
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  align-items: start;
}

.dp-content,
.dp-sidebar {
  min-width: 0;
}

.dp-content {
  max-width: 100%;
  overflow: hidden;
}

/* CONTENT */
.dp-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--dark);
}
.dp-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 2rem 0 1rem;
  color: var(--dark);
}
.dp-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* NOTES */
.dp-jacuzzi-note {
  background: rgba(45,61,46,0.06);
  border-left: 3px solid var(--forest);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: var(--forest);
  margin: 1.5rem 0;
  line-height: 1.6;
}
.dp-no-jacuzzi-note {
  background: rgba(196,154,60,0.06);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: var(--dark);
  margin: 1.5rem 0;
  line-height: 1.6;
}

/* FEATURES */
.dp-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dp-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem;
  background: rgba(45,61,46,0.03);
  border: 0.5px solid var(--border);
  border-radius: 4px;
}
.dp-feature-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.dp-feature div { display: flex; flex-direction: column; gap: 2px; }
.dp-feature strong { font-size: 13px; font-weight: 500; color: var(--dark); }
.dp-feature span { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* GALLERY */
.dp-gallery,
.dp-photo-grid {
  display: grid;
  gap: 8px;
  margin-top: 0.5rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.dp-gallery {
  grid-template-columns: repeat(3, 1fr);
}
.dp-photo-section {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}
.dp-photo-section h3 {
  margin-top: 0;
}
.dp-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
}
.dp-gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
  position: relative;
  grid-column: span 1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  text-align: left;
}
.dp-gallery-item.dp-wide {
  grid-column: span 1;
  aspect-ratio: 4/3;
}
.dp-gallery-item span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  background: rgba(28,31,26,0.72);
  color: #fff;
  padding: 5px 8px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dp-gallery-item:hover img { transform: scale(1.04); }

.dp-room-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.2rem;
}
.dp-room-list div {
  border: 0.5px solid var(--border);
  background: rgba(45,61,46,0.03);
  border-radius: 4px;
  padding: 1rem;
}
.dp-room-list h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--forest);
}
.dp-room-list p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 !important;
}

/* SIDEBAR */
.dp-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dp-book-card {
  background: var(--forest);
  color: #fff;
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dp-book-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 !important;
}
.dp-book-btn {
  display: block;
  background: var(--gold);
  color: var(--dark);
  text-align: center;
  padding: 14px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.dp-book-btn:hover { background: var(--gold-light); }
.dp-book-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dp-book-info span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.dp-book-info a { color: rgba(255,255,255,0.9); }
.dp-book-info a:hover { color: var(--gold-light); }
.dp-book-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin: 0 !important;
  line-height: 1.5;
}

.dp-location-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}
.dp-location-card h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.dp-location-card p {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 0.75rem !important;
}
.dp-map-link {
  font-size: 13px;
  color: var(--forest);
  font-weight: 500;
}
.dp-map-link:hover { color: var(--gold); }

.dp-other-cabins {
  background: rgba(45,61,46,0.04);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dp-other-cabins h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.dp-other-cabins a {
  font-size: 13px;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border);
  transition: color var(--transition);
  line-height: 1.4;
}
.dp-other-cabins a:last-child { border-bottom: none; }
.dp-other-cabins a:hover { color: var(--forest); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .dp-hero-overlay { padding: 2rem 1.5rem; }
  .dp-breadcrumb { padding: 1rem 1.5rem; }
  .dp-layout { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .dp-sidebar { position: static; }
  .dp-features { grid-template-columns: 1fr; }
  .dp-gallery { grid-template-columns: repeat(2, 1fr); }
  .dp-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-gallery-item,
  .dp-gallery-item.dp-wide { grid-column: span 1; }
  .dp-room-list { grid-template-columns: 1fr; }
}

/* ─── CHATA SIDEBAR ─── */
.dp-chata-contact {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dp-book-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 !important;
}
.dp-chata-phone, .dp-chata-mail {
  display: block;
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
  padding: 10px 14px;
  background: rgba(45,61,46,0.04);
  border: 0.5px solid var(--border);
  border-radius: 3px;
  transition: background var(--transition);
}
.dp-chata-phone:hover, .dp-chata-mail:hover {
  background: rgba(45,61,46,0.08);
  color: var(--forest);
}
.dp-chata-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.dp-chata-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 0.5px solid var(--border);
  font-size: 13px;
}
.dp-chata-info-row:last-child { border-bottom: none; }
.dp-chata-info-row span { color: var(--text-muted); }
.dp-chata-info-row strong { color: var(--dark); font-weight: 500; text-align: right; max-width: 55%; }

/* ─── LIGHTBOX ─── */
.dp-gallery-item,
.dp-floorplan-item {
  cursor: pointer;
}
.dp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.dp-lightbox.open { display: flex; }
.dp-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}
.dp-lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  color: rgba(255,255,255,0.8);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.dp-lightbox-close:hover { color: #fff; }
.dp-lightbox-prev,
.dp-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 48px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  line-height: 1;
  padding: 1rem;
  transition: color 0.2s;
}
.dp-lightbox-prev { left: 1rem; }
.dp-lightbox-next { right: 1rem; }
.dp-lightbox-prev:hover,
.dp-lightbox-next:hover { color: #fff; }
.dp-lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-family: var(--font-body);
}

/* ─── FLOOR PLANS ─── */
.dp-floorplans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.dp-floorplan-item {
  appearance: none;
  background: #fff;
  padding: 0;
  text-align: left;
  border-radius: 4px;
  overflow: hidden;
  border: 0.5px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}
.dp-floorplan-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}
.dp-floorplan-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
.dp-floorplan-item:hover img { transform: scale(1.03); }
.dp-floorplan-label {
  background: var(--forest);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dp-floorplan-zoom { opacity: 0.6; font-size: 14px; }

@media (max-width: 600px) {
  .dp-floorplans-grid { grid-template-columns: 1fr; }
  .dp-photo-grid { grid-template-columns: 1fr; }
  .dp-gallery-item,
  .dp-gallery-item.dp-wide { grid-column: span 1; }
}
