/* 产品详情页样式 */

/* 面包屑导航 */
.product-hero {
    background: linear-gradient(135deg, #E8D4B8 0%, #D4A574 50%, #8B6914 100%);
    padding: 120px 0 60px;
}

.breadcrumb {
    color: var(--white);
    font-size: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--white);
    margin: 0 10px;
}

/* 产品详情主区域 */
.product-detail {
    padding: 60px 0;
    background: var(--light-bg);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 产品图片区域 */
.product-gallery-section {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.thumbnail {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* 产品信息区域 */
.product-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-tagline {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

/* 产品亮点 */
.product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.highlight-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
}

.highlight-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 产品介绍 */
.product-description {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.product-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.product-description p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* 产品特点 */
.product-features {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.product-features h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--accent-color);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 食用方法 */
.product-usage {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.product-usage h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.usage-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.usage-tip {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 15px;
    padding: 12px;
    background: var(--accent-color);
    border-radius: 8px;
}

/* 产品规格 */
.product-specs {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.product-specs h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--accent-color);
}

.product-specs td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 120px;
}

.product-specs td:last-child {
    color: var(--text-light);
}

.product-specs tr:last-child td {
    border-bottom: none;
}

/* 购买按钮区域 */
.product-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* 相关产品推荐 */
.related-products {
    padding: 80px 0;
    background: var(--white);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-product-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(139, 105, 20, 0.25);
}

.related-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-product-card h3 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.related-product-card p {
    padding: 0 20px 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.related-product-card a {
    display: block;
    padding: 10px 20px 15px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-product-card a:hover {
    color: var(--primary-color);
}

/* Logo链接样式 */
.logo a {
    text-decoration: none;
    color: inherit;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery-section {
        position: static;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 100px 0 40px;
    }
    
    .product-detail {
        padding: 40px 0;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-highlights {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-list {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.6rem;
    }
    
    .product-tagline {
        font-size: 1.1rem;
    }
    
    .thumbnail-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-specs td:first-child {
        width: auto;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-detail,
.related-products {
    animation: fadeIn 0.5s ease;
}
