.detail-page {
    min-height: 100vh;
    background: var(--bg-color);
}

/* 轮播图样式 */
.swiper {
    width: 100%;
    height: 56.25vw; /* 16:9比例 */
    max-height: 450px;
    position: relative;
    background: #000;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

/* 基本信息区域 */
.info-section {
    background: var(--white);
    padding: 15px;
    margin-bottom: 10px;
}

.project-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 8px;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
}

.addr-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.addr-title,
.contact-title {
    width: 60px;
    color: var(--text-color-light);
    font-size: 14px;
}

.addr-content,
.contact-content {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
    margin-right: 10px;
}

.nav-btn {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--primary-color);
    border-radius: 16px;
    cursor: pointer;
}

.nav-btn:hover {
    opacity: 0.9;
}

.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.nav-btn span {
    color: var(--white);
    font-size: 12px;
}

/* 标签页样式 */
.tabs {
    background: var(--white);
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-color-light);
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    padding: 15px;
}

/* 户型信息样式 */
.house-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.type-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.type-header {
    padding: 10px;
    background: #f8f9fa;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.type-info {
    padding: 10px;
}

.type-info div {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color-light);
}

/* 其他信息样式 */
.info-item {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
}

.info-item .label {
    width: 100px;
    color: var(--text-color-light);
}

.info-item .value {
    flex: 1;
    color: var(--text-color);
}

/* 响应式设计 */
@media screen and (min-width: 768px) {
    .detail-page {
        max-width: 800px;
        margin: 0 auto;
    }

    .project-name {
        font-size: 24px;
    }

    .info-section {
        padding: 20px;
    }

    .tab-item {
        font-size: 16px;
    }

    .house-types {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}
