/* 详情页特定样式 */

/* 焦点图样式 */
.detail-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 基本信息样式 */
.info-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}

.info-text {
    padding-right: 2rem;
}

.info-text h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.info-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.features h4 {
    color: #333;
    margin-bottom: 1rem;
}

.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-tags li {
    background: #ff6b6b;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.info-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 饲养指南样式 */
.guide-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.guide-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.guide-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.guide-text {
    padding: 1.5rem;
}

.guide-text h3 {
    color: #333;
    margin-bottom: 1rem;
}

.guide-text ul {
    list-style: none;
}

.guide-text li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.guide-text li::before {
    content: "•";
    color: #ff6b6b;
    position: absolute;
    left: 0;
}

/* 注意事项样式 */
.attention-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.attention-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.attention-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.attention-item p {
    color: #666;
    margin-bottom: 1rem;
}

.attention-item ul {
    list-style: none;
    margin-bottom: 1rem;
}

.attention-item li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.attention-item li::before {
    content: "!";
    color: #ff6b6b;
    position: absolute;
    left: 0;
}

/* 相关推荐样式 */
.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.related-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-item h3 {
    color: #333;
    margin: 1rem 0;
}

.view-more {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}

.view-more:hover {
    background-color: #ff8787;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .info-content,
    .guide-content,
    .attention-content {
        grid-template-columns: 1fr;
    }

    .info-text {
        padding-right: 0;
    }

    .detail-banner {
        height: 300px;
    }
} 