/* GDL Property Detail - Premium Design */

.gdl-detail-page {
  background: #FDFAF4;
  min-height: 100vh;
}

/* --- BACK NAV --- */
.gdl-back-nav {
  padding: 16px 40px;
  background: white;
  border-bottom: 0.5px solid rgba(26,74,94,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gdl-back-link {
  font-size: 12px;
  color: #8A9BA8;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.gdl-back-link:hover { color: #1A4A5E; }
.gdl-breadcrumb-sep { color: #E8D9B8; font-size: 12px; }
.gdl-breadcrumb-current { font-size: 12px; color: #1A1A18; font-family: 'DM Sans', sans-serif; opacity: 0.6; }

/* --- HERO GALLERY --- */
.gdl-hero-gallery {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 680px;
  overflow: hidden;
  background: #1A4A5E;
}
.gdl-hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}
.gdl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(26,26,24,0.7) 100%);
  pointer-events: none;
}
.gdl-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.gdl-hero-text {}
.gdl-hero-city {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,237,214,0.7);
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.gdl-hero-stats {
  display: flex;
  gap: 16px;
}
.gdl-hero-stat {
  background: rgba(253,250,244,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

/* Gallery nav arrows */
.gdl-gallery-prev,
.gdl-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,250,244,0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #1A4A5E;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.gdl-gallery-prev { left: 24px; }
.gdl-gallery-next { right: 24px; }
.gdl-gallery-prev:hover,
.gdl-gallery-next:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

/* Gallery counter */
.gdl-gallery-counter {
  position: absolute;
  bottom: 20px;
  right: 48px;
  background: rgba(26,26,24,0.6);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  padding: 5px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

/* Thumbnail strip */
.gdl-thumb-strip {
  display: flex;
  gap: 6px;
  padding: 8px 48px;
  background: white;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(26,74,94,0.06);
}
.gdl-thumb-strip::-webkit-scrollbar { display: none; }
.gdl-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.gdl-thumb:hover { opacity: 0.85; }
.gdl-thumb.active {
  opacity: 1;
  border-color: #1A4A5E;
}

/* --- MAIN CONTENT --- */
.gdl-detail-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .gdl-detail-body { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* Left column */
.gdl-detail-left {}

.gdl-amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.gdl-amenity-pill {
  padding: 7px 14px;
  background: #F5EDD6;
  border-radius: 20px;
  font-size: 12px;
  color: #1A4A5E;
  font-family: 'DM Sans', sans-serif;
}

.gdl-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #1A1A18;
  margin: 0 0 14px;
}
.gdl-section-divider {
  height: 1px;
  background: #E8D9B8;
  margin: 28px 0;
}
.gdl-description {
  font-size: 14px;
  color: #8A9BA8;
  line-height: 1.85;
  font-family: 'DM Sans', sans-serif;
  white-space: pre-line;
}
.gdl-description.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gdl-read-more {
  background: none;
  border: none;
  color: #1A4A5E;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0 0;
  font-family: 'DM Sans', sans-serif;
  text-decoration: underline;
}

/* --- BOOKING PANEL --- */
.gdl-booking-sticky {
  position: sticky;
  top: 24px;
}
.gdl-panel-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 40px rgba(26,74,94,0.1);
  border: 0.5px solid rgba(26,74,94,0.08);
}
.gdl-panel-eyebrow {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4735A;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-dates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.gdl-field-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A9BA8;
  display: block;
  margin-bottom: 6px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-date-input {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #E8D9B8;
  border-radius: 9px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: #1A1A18;
  background: white;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.gdl-date-input:focus { border-color: #1A4A5E; }

.gdl-avail-result-box {
  padding: 16px;
  border-radius: 10px;
  background: rgba(45,90,61,0.06);
  border: 1px solid rgba(45,90,61,0.18);
  margin-top: 12px;
  animation: fadeIn 0.3s ease;
}
.gdl-avail-ok {
  color: #2D5A3D;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-avail-no {
  color: #D4735A;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-price-lbl { color: #8A9BA8; }
.gdl-price-amt { font-weight: 500; color: #1A1A18; }
.gdl-price-deposit { color: #1A4A5E; font-weight: 600; }
.gdl-price-divider { height: 0.5px; background: #E8D9B8; margin: 8px 0; }

.gdl-panel-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 11px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
  margin-top: 10px;
}
.gdl-btn-primary { background: #1A4A5E; color: white; }
.gdl-btn-primary:hover { background: #2D6A84; }
.gdl-btn-book { background: #D4735A; color: white; }
.gdl-btn-book:hover { background: #c4624a; }
.gdl-btn-wa { background: #25D366; color: white; }
.gdl-btn-wa:hover { background: #1ebe5d; }
.gdl-btn-disabled { background: #E8D9B8; color: #8A9BA8; cursor: not-allowed; }

.gdl-stripe-note {
  text-align: center;
  font-size: 10px;
  color: #8A9BA8;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
}

/* Booking form */
.gdl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.gdl-form-full { grid-column: 1 / -1; }
.gdl-form-input {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #E8D9B8;
  border-radius: 9px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: #1A1A18;
  background: white;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.gdl-form-input:focus { border-color: #1A4A5E; }

.gdl-summary-box {
  background: #1A4A5E;
  border-radius: 12px;
  padding: 18px;
  color: white;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.gdl-summary-prop-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  margin-bottom: 6px;
}
.gdl-summary-dates { font-size: 11px; opacity: 0.7; margin-bottom: 10px; }
.gdl-summary-divider { height: 0.5px; background: rgba(255,255,255,0.15); margin-bottom: 10px; }
.gdl-summary-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.gdl-summary-lbl { opacity: 0.7; }
.gdl-summary-val { font-weight: 600; }

.gdl-error-msg {
  padding: 12px;
  background: rgba(212,115,90,0.1);
  border-radius: 8px;
  font-size: 12px;
  color: #D4735A;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
