/* ══ OBJECT PAGE ════════════════════════════════════════════════════ */
.obj-nav { display: flex; align-items: center; gap: 32px; }
.obj-nav a { font-size: 14px; color: rgba(232,237,245,.7); text-decoration: none; transition: color .15s; }
.obj-nav a:hover { color: var(--ink); }

/* ── LAYOUT ── */
.obj-main { padding-bottom: 80px; }
.obj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0 0;
}
.obj-breadcrumb a { color: var(--accent); text-decoration: none; }
.obj-breadcrumb a:hover { text-decoration: underline; }

/* ── HERO ── */
.obj-hero { margin: 20px auto 0; }

.obj-hero-img {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.obj-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.obj-hero-img:hover .obj-hero-photo { transform: scale(1.03); }
.obj-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(13,17,23,.5) 100%);
  pointer-events: none;
}
.obj-hero-placeholder {
  width: 100%;
  height: 280px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CONTENT + SIDEBAR ── */
.obj-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding-top: 8px;
}
.obj-content { min-width: 0; }

/* ── TYPE BADGE ── */
.obj-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.obj-capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  padding: 3px 10px;
  background: rgba(255,255,255,.05);
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ── TITLE ── */
.obj-title { margin-bottom: 4px; }

/* ── DESCRIPTION ── */
.obj-description {
  font-size: 16px;
  color: rgba(232,237,245,.8);
  line-height: 1.75;
  margin-bottom: 40px;
  white-space: pre-line;
}

/* ── SECTION TITLES ── */
.obj-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.obj-section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── AMENITIES ── */
.obj-amenities-section { margin-bottom: 48px; }
.obj-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.obj-amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--ink);
}
.obj-amenity-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(212,168,71,.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── EXTRAS ── */
.obj-extras-section { margin-bottom: 48px; }
.obj-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.obj-extra-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.obj-extra-card:hover { border-color: rgba(212,168,71,.4); transform: translateY(-2px); }
.obj-extra-img { width: 100%; height: 120px; object-fit: cover; display: block; }
.obj-extra-img-ph {
  width: 100%;
  height: 80px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--faint);
}
.obj-extra-body { padding: 14px 16px; }
.obj-extra-name { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.obj-extra-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.obj-extra-price { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ── RULES ── */
.obj-rules { margin-bottom: 48px; }
.obj-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.obj-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--accent);
}
.obj-rule > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.obj-rule strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.obj-rule span { font-size: 12px; color: var(--muted); }

/* ── SIDEBAR ── */
.obj-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }

/* Book card */
.obj-book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}

/* Price */
.obj-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}
.obj-price-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.obj-price-cur { font-size: 16px; color: var(--accent); font-weight: 500; }
.obj-price-per { font-size: 14px; color: var(--muted); margin-left: 2px; }

/* Date picker fields in sidebar */
.obj-dp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 2px;
  position: relative;
  cursor: pointer;
}
.obj-dp-field {
  padding: 12px 14px;
  background: var(--bg2);
  transition: background .15s;
  position: relative;
}
.obj-dp-field:first-child { border-right: 1px solid var(--border); }
.obj-dp-field:hover { background: var(--bg3); }
.obj-dp-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  pointer-events: none;
}
.obj-dp-val { font-size: 14px; color: var(--ink); pointer-events: none; }
.obj-dp-val.ph { color: var(--faint); }

/* dp-popup override: position relative to card */
.obj-book-card { isolation: isolate; }
.obj-book-card .dp-popup { min-width: 320px; left: 0; top: auto; }

/* Guests */
.obj-guests-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 14px;
  margin-top: 8px;
}
.obj-guests-field label {
  font-size: 13px;
  color: var(--muted);
}
.obj-guests-ctrl { display: flex; align-items: center; gap: 12px; }

/* Nights summary */
.obj-nights-summary {
  background: var(--bg2);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.obj-nights-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.obj-nights-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--ink);
}

.obj-book-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
}
.obj-book-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Contact card */
.obj-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.obj-contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(212,168,71,.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.obj-contact-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.obj-contact-val { font-size: 15px; color: var(--ink); font-weight: 500; text-decoration: none; display: block; margin-top: 2px; }
.obj-contact-val:hover { color: var(--accent); }

/* ── RELATED ── */
.obj-related {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0;
  margin-top: 64px;
}
.obj-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.obj-related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
  display: block;
}
.obj-related-card:hover { border-color: rgba(212,168,71,.4); transform: translateY(-3px); }
.obj-related-img { height: 160px; overflow: hidden; background: var(--bg3); }
.obj-related-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.obj-related-card:hover .obj-related-photo { transform: scale(1.05); }
.obj-related-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.obj-related-body { padding: 16px 18px; }
.obj-related-type { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.obj-related-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.obj-related-price { font-size: 13px; color: var(--muted); }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .obj-layout { grid-template-columns: 1fr; gap: 32px; }
  .obj-sidebar { position: static; }
  .obj-hero-img { height: 300px; }
  .obj-rules-grid { grid-template-columns: 1fr; }
  .obj-nav { display: none; }
}
@media(max-width:600px) {
  .obj-amenities-grid { grid-template-columns: 1fr 1fr; }
  .obj-extras-grid { grid-template-columns: 1fr; }
  .obj-hero-img { height: 220px; }
  .obj-dp-fields { grid-template-columns: 1fr; }
  .obj-dp-field:first-child { border-right: none; border-bottom: 1px solid var(--border); }
}
