/* ==========================================================================
   💎 客户端高奢房产详情页 - 完整版样式表 (detail.css)
   ========================================================================== */
:root {
    --bg-global: #f8fafc;
    --panel-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-gold: #b8860b;
    --border-color: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: var(--bg-global); 
    color: var(--text-main); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    line-height: 1.6; 
}

/* --- 1. 顶部导航区 --- */
.detail-header { 
    background: var(--panel-bg); 
    padding: 18px 5%; 
    border-bottom: 1px solid var(--border-color); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.breadcrumb { font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-main); text-decoration: none; }
.back-home-btn { 
    color: var(--accent-gold); 
    text-decoration: none; 
    border: 1px solid var(--accent-gold); 
    padding: 6px 18px; 
    border-radius: 4px; 
    font-size: 13px; 
    font-weight: 600;
}

/* --- 2. 双栏容器 --- */
.detail-container { 
    max-width: 1400px; 
    margin: 40px auto; 
    padding: 0 30px; 
    display: grid; 
    grid-template-columns: 1.3fr 1fr; 
    gap: 50px; 
}

/* --- 3. 画廊/大图舞台 --- */
.gallery-stage-wrapper { display: flex; flex-direction: column; gap: 15px; }

.detail-gallery { 
    background: #111111; 
    border-radius: 8px; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 550px; 
    position: relative; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.05); 
}

.main-stage-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    transition: opacity 0.2s ease-in-out; 
    user-select: none;
}

/* 左右切换箭头 */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.6);
    color: #ffffff;
    border: none;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
.detail-gallery:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: var(--accent-gold); transform: translateY(-50%) scale(1.1); }
.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

/* 缩略图导航栏 */
.thumb-nav-container { display: flex; gap: 12px; overflow-x: auto; padding: 5px 2px; }
.thumb-nav-container::-webkit-scrollbar { height: 5px; }
.thumb-nav-container::-webkit-scrollbar-thumb { background: var(--accent-gold); border-radius: 3px; }

.thumb-card {
    width: 100px; height: 70px; flex-shrink: 0; border-radius: 6px;
    border: 2px solid transparent; cursor: pointer; opacity: 0.5; transition: all 0.25s;
}
.thumb-card img { width: 100%; height: 100%; object-fit: cover; }
.thumb-card:hover, .thumb-card.active { opacity: 1; border-color: var(--accent-gold); }

/* --- 4. 右侧信息面板 --- */
.detail-info-panel { 
    background: var(--panel-bg); 
    padding: 45px; 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
}
.info-tag { font-size: 12px; color: var(--accent-gold); border: 1px solid rgba(184,134,11,0.3); padding: 3px 12px; border-radius: 4px; display: inline-block; margin-bottom: 25px; }
.info-title { font-size: 30px; font-weight: 700; margin-bottom: 25px; }

/* 属性网格 */
.universal-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 25px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin-bottom: 35px; }
.spec-item-card { background: #f8fafc; border-left: 3px solid var(--accent-gold); padding: 12px 16px; font-size: 14px; display: flex; justify-content: space-between; }
.spec-label { color: var(--text-muted); font-weight: 700; }
.spec-value { color: var(--text-main); font-weight: 600; }

/* 详细介绍 */
.description-text { font-size: 15px; color: #475569; white-space: pre-line; }

/* --- 5. 响应式适配 --- */
@media (max-width: 992px) { 
    .detail-container { grid-template-columns: 1fr; gap: 25px; padding: 20px; } 
    .detail-gallery { height: 350px; }
    .gallery-arrow { opacity: 0.8; width: 36px; height: 36px; font-size: 16px; }
}