/* ── object.css — dark theme detail page ── */
.ob-main { max-width: 860px; margin: 0 auto; padding: 80px 20px 40px; }
.ob-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; transition: color 0.15s; }
.ob-back:hover { color: var(--accent); }

/* Gallery */
.ob-gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 24px; }
.ob-gallery__main { position: relative; aspect-ratio: 16/10; background: var(--dark3); cursor: pointer; }
.ob-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-gallery__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 16/10; color: var(--muted); gap: 8px; }
.ob-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: background 0.15s; }
.ob-gallery__nav:hover { background: rgba(0,0,0,0.8); }
.ob-gallery__nav--prev { left: 10px; }
.ob-gallery__nav--next { right: 10px; }
.ob-gallery__thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; background: var(--dark2); }
.ob-gallery__thumb { flex-shrink: 0; width: 56px; height: 42px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; }
.ob-gallery__thumb.is-active { border-color: var(--accent); }
.ob-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.ob-info { margin-bottom: 28px; }
.ob-price { font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 4px; }
.ob-cad { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-bottom: 8px; word-break: break-all; }
.ob-addr { font-size: 0.92rem; color: var(--text); display: flex; align-items: flex-start; gap: 6px; margin-bottom: 16px; }
.ob-addr i { color: var(--muted); margin-top: 3px; }
.ob-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 700; border: none; cursor: pointer; text-decoration: none; transition: transform 0.15s; }
.ob-btn:active { transform: scale(0.97); }
.ob-btn--call { background: var(--accent); color: #fff; }
.ob-btn--wa { background: #25D366; color: #fff; }
.ob-btn--tg { background: #2AABEE; color: #fff; }
.ob-btn--copy { background: var(--glass); border: 1px solid var(--border); color: var(--muted); }
.ob-btn--submit { background: var(--accent); color: #fff; padding: 14px 24px; font-size: 0.95rem; }

/* Sections */
.ob-section { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; backdrop-filter: blur(10px); }
.ob-section--cta { background: rgba(201,169,110,0.05); border-color: rgba(201,169,110,0.2); }
.ob-section__title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ob-section__title i { color: var(--accent); }

/* Specs */
.ob-specs { display: flex; flex-direction: column; }
.od-row { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.od-row:last-child { border-bottom: none; }
.od-row__label { color: var(--muted); flex-shrink: 0; min-width: 170px; }
.od-row__value { color: var(--text); font-weight: 600; word-break: break-word; }

/* Description */
.ob-desc { font-size: 0.92rem; line-height: 1.7; color: var(--text); white-space: pre-wrap; word-wrap: break-word; }

/* Map */
.ob-map { width: 100%; height: 300px; border-radius: 8px; overflow: hidden; background: var(--dark3); }

/* Lightbox */
.ob-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,15,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.2s; padding: 16px; }
.ob-lightbox.is-open { opacity: 1; visibility: visible; }
.ob-lightbox__stage { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 90vh; }
.ob-lightbox__stage img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; user-select: none; }
.ob-lightbox__close, .ob-lightbox__prev, .ob-lightbox__next { position: absolute; border: none; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.ob-lightbox__close:hover, .ob-lightbox__prev:hover, .ob-lightbox__next:hover { background: rgba(255,255,255,0.2); }
.ob-lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.1rem; }
.ob-lightbox__prev, .ob-lightbox__next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1rem; }
.ob-lightbox__prev { left: 16px; }
.ob-lightbox__next { right: 16px; }

@media (max-width: 600px) {
    .ob-price { font-size: 1.5rem; }
    .od-row__label { min-width: 120px; font-size: 0.78rem; }
    .od-row__value { font-size: 0.78rem; }
    .ob-section { padding: 16px; }
    .ob-map { height: 220px; }
}
