/* ========================================
   Amazon Article Pro - 文章内容样式
   ======================================== */

/* ========================================
   1. 产品基本信息卡片
   ======================================== */

.aap-product-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.aap-product-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #AB47BC;
}

.aap-product-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.aap-product-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.aap-product-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aap-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aap-product-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aap-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #AB47BC;
}

.aap-info-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 80px;
}

.aap-info-label i {
    margin-right: 6px;
    color: #AB47BC;
}

.aap-info-value {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

.aap-price-value {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.aap-stars {
    display: inline-flex;
    gap: 2px;
    margin-right: 8px;
}

.aap-star-filled {
    color: #f39c12;
    font-size: 16px;
}

.aap-star-empty {
    color: #ddd;
    font-size: 16px;
}

.aap-rating-text {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.aap-review-count {
    color: #7f8c8d;
    font-weight: 400;
}

/* 产品特性列表 */
.aap-product-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e8e8e8;
}

.aap-features-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.aap-features-title i {
    color: #AB47BC;
    margin-right: 8px;
}

.aap-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aap-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s;
}

.aap-feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(171, 71, 188, 0.1);
}

.aap-feature-icon {
    color: #AB47BC;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.aap-feature-item span {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ========================================
   2. 产品规格表
   ======================================== */

.aap-product-specs {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.aap-specs-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #AB47BC;
}

.aap-specs-title i {
    color: #AB47BC;
    margin-right: 8px;
}

.aap-specs-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.aap-specs-content p {
    margin-bottom: 10px;
}

/* ========================================
   3. 成分信息
   ======================================== */

.aap-product-ingredients {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.aap-ingredients-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #AB47BC;
}

.aap-ingredients-title i {
    color: #AB47BC;
    margin-right: 8px;
}

.aap-ingredients-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.aap-ingredients-content p {
    margin-bottom: 10px;
}

/* ========================================
   4. 用户评论
   ======================================== */

.aap-user-reviews {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.aap-reviews-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #AB47BC;
}

.aap-reviews-title i {
    color: #AB47BC;
    margin-right: 8px;
}

.aap-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.aap-review-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

.aap-review-card:hover {
    box-shadow: 0 4px 12px rgba(171, 71, 188, 0.1);
    transform: translateY(-2px);
}

.aap-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.aap-review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aap-review-rating i {
    color: #f39c12;
    font-size: 14px;
}

.aap-review-rating-text {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.aap-review-date {
    font-size: 12px;
    color: #7f8c8d;
}

.aap-review-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.aap-review-content {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px 0;
}

.aap-review-footer {
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

.aap-review-author {
    font-size: 13px;
    color: #7f8c8d;
}

.aap-review-author i {
    color: #AB47BC;
    margin-right: 5px;
}

/* ========================================
   5. AI生成内容统一样式
   ======================================== */

.aap-ai-content {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.aap-ai-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #AB47BC;
}

.aap-ai-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 10px 0;
}

.aap-ai-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.aap-ai-content ul,
.aap-ai-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.aap-ai-content li {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

/* FAQ特殊样式 */
.aap-faq-section .faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 3px solid #AB47BC;
}

.aap-faq-section .faq-item h4 {
    color: #AB47BC;
    margin-top: 0;
}

/* ========================================
   6. 响应式设计
   ======================================== */

/* 平板端 */
@media (max-width: 1024px) {
    .aap-product-body {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
    
    .aap-product-title {
        font-size: 24px;
    }
}

/* 手机端 */
@media (max-width: 768px) {
    .aap-product-section,
    .aap-product-specs,
    .aap-product-ingredients,
    .aap-user-reviews,
    .aap-ai-content {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .aap-product-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .aap-product-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .aap-product-title {
        font-size: 20px;
    }
    
    .aap-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .aap-info-label {
        min-width: auto;
    }
    
    .aap-price-value {
        font-size: 20px;
    }
    
    .aap-features-title,
    .aap-specs-title,
    .aap-ingredients-title,
    .aap-reviews-title,
    .aap-ai-content h3 {
        font-size: 18px;
    }
    
    .aap-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 小屏手机 */
@media (max-width: 375px) {
    .aap-product-section,
    .aap-product-specs,
    .aap-product-ingredients,
    .aap-user-reviews,
    .aap-ai-content {
        padding: 15px;
    }
    
    .aap-product-title {
        font-size: 18px;
    }
    
    .aap-price-value {
        font-size: 18px;
    }
}

/* ========================================
   7. 打印样式
   ======================================== */

@media print {
    .aap-product-section,
    .aap-product-specs,
    .aap-product-ingredients,
    .aap-user-reviews,
    .aap-ai-content {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .aap-review-card,
    .aap-feature-item {
        break-inside: avoid;
    }
}
