/* 内容布局组件样式 - 基于网格风格 */
.content-layout {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    min-height: 100vh;
}

.content-layout__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* 面包屑导航 */
.content-detail__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb__link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb__link:hover {
    color: #60a5fa;
}

.breadcrumb__separator {
    color: #64748b;
}

.breadcrumb__current {
    color: #f8fafc;
    font-weight: 600;
}

/* 主要内容区域布局 */
.content-layout__main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/* 主内容区域 */
.content-layout__primary {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 内容详情头部 */
.content-detail__header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(96, 165, 250, 0.3);
}

.content-detail__categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.content-category {
    background: rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #60a5fa;
    font-weight: 600;
}

.content-detail__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-detail__meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.meta-text {
    font-weight: 500;
}

.content-detail__image {
    margin-top: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
}

/* ==================== 产品详情特有样式 ==================== */

/* 产品品牌标签 */
.product-detail__brand {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.brand-tag, .type-tag {
    background: rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #60a5fa;
    font-weight: 600;
}

.type-tag {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c084fc;
}

/* 产品信息卡片 */
.product-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #475569;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: #60a5fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
}

.info-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #cbd5e1;
    font-weight: 500;
}

.info-value {
    color: #f8fafc;
    font-weight: 600;
}

.price-value {
    color: #10b981;
    font-size: 1.2rem;
    font-weight: 700;
}

/* 评分显示 */
.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star {
    color: #475569;
    font-size: 1.1rem;
}

.star--active {
    color: #f59e0b;
}

.rating-value {
    color: #f8fafc;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* 使用感受网格 */
.experience-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #f8fafc;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(96, 165, 250, 0.3);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.experience-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #475569;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #60a5fa;
    transform: translateY(-2px);
}

.experience-label {
    color: #cbd5e1;
    font-weight: 500;
}

.experience-value {
    color: #f8fafc;
    font-weight: 600;
}

/* 成分网格 */
.ingredients-section {
    margin-bottom: 3rem;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.ingredient-item {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: #60a5fa;
    transform: translateY(-2px);
}

.ingredient-name {
    color: #60a5fa;
    font-weight: 600;
}

/* 产品内容 */
.product-content {
    margin-bottom: 3rem;
}

.content-text {
    line-height: 1.8;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.content-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem 0;
    color: #f8fafc;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #f8fafc;
}

.content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* 购买区域 */
.purchase-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 1rem;
    margin-top: 3rem;
}

.purchase-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.purchase-button:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.purchase-note {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

/* 侧边栏 */
.content-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #f8fafc;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(96, 165, 250, 0.3);
}

.cta-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 1rem;
}

.cta-text {
    color: #cbd5e1;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-layout__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-layout__sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .content-layout__container {
        padding: 1rem;
    }
    
    .content-layout__primary {
        padding: 1.5rem;
    }
    
    .content-detail__title {
        font-size: 2rem;
    }
    
    .product-info-cards {
        grid-template-columns: 1fr;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .content-detail__meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .content-detail__title {
        font-size: 1.75rem;
    }
    
    .product-detail__brand {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}