
.detail-container {
    margin: 0 auto;
}

/* ========== 面包屑导航 ========== */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

    .breadcrumb-modern a {
        color: #6b7280;
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb-modern a:hover {
            color: #10b981;
        }

    .breadcrumb-modern .separator {
        color: #cbd5e1;
    }

    .breadcrumb-modern .current {
        color: #10b981;
        font-weight: 500;
    }

/* ========== 主卡片 ========== */
.product-detail-card {
    background: white;
    border-radius: 32px;
    border: 1px solid #e6f0ea;
    overflow: hidden;
    margin-bottom: 32px;
}

.product-header-modern {
    padding: 28px 32px 0;
    border-bottom: none;
}

    .product-header-modern h1 {
        font-size: 1.8rem;
        font-weight: 700;
        background: linear-gradient(125deg, #065f46, #10b981);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        margin-bottom: 8px;
    }

.product-subtitle-modern {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ========== 两列布局 ========== */
.product-two-col-modern {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    padding: 0 32px 28px;
    align-items: start;
}

/* ========== 左侧区域 ========== */
.product-left-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    min-width: 0;
}

/* 图片容器 */
.product-image-wrapper {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    width: 100%;
}

.product-main-image-modern {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

    .product-main-image-modern:hover {
        transform: scale(1.02);
    }

/* 核心保障卡片 */
.core-terms-modern {
    background: #fafdf8;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #eef2f0;
    width: 100%;
}

    .core-terms-modern h3 {
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .core-terms-modern h3 i {
            color: #10b981;
        }

.terms-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.term-item-modern {
    font-size: 0.8rem;
    padding: 10px 12px;
    background: white;
    border-radius: 16px;
    border: 1px solid #eef2f0;
    transition: all 0.2s;
}

    .term-item-modern:hover {
        border-color: #10b981;
        transform: translateX(2px);
    }

.term-label-modern {
    font-weight: 600;
    color: #334155;
}

.term-value-modern {
    color: #065f46;
    font-weight: 600;
    margin-left: 6px;
}

/* ========== 右侧区域 ========== */
.product-right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

/* 选项区域 */
.options-section-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 20px;
    padding: 8px 0;
}

.option-group-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.option-label-modern {
    font-weight: 600;
    color: #334155;
    font-size: 0.85rem;
    min-width: 85px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.radio-group-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .radio-group-modern input[type="radio"] {
        display: none;
    }

    .radio-group-modern label {
        padding: 8px 20px;
        background: #f1f5f9;
        border-radius: 40px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.2s;
        color: #475569;
        font-weight: 500;
    }

        .radio-group-modern label:hover {
            background: #e2e8f0;
        }

    .radio-group-modern input[type="radio"]:checked + label {
        background: #10b981;
        color: white;
    }

.quantity-selector-modern select {
    padding: 8px 24px;
    border: 1.5px solid #e2e8f0;
    border-radius: 40px;
    background: white;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

    .quantity-selector-modern select:hover {
        border-color: #10b981;
    }

/* SKU保障详情 */
.sku-details-modern {
    background: #f8fafc;
    border-radius: 20px;
    padding: 18px;
}

    .sku-details-modern h3 {
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #0f172a;
    }

.sku-terms-list-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sku-term-modern {
    font-size: 0.75rem;
    padding: 8px 12px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eef2f0;
    transition: all 0.2s;
}

    .sku-term-modern:hover {
        border-color: #10b981;
    }

/* 统计栏 */
.stats-bar-modern {
    display: flex;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid #eef2f0;
    border-bottom: 1px solid #eef2f0;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.stat-number-modern {
    font-weight: 700;
    color: #10b981;
}

/* 购买按钮 */
.buy-section-modern {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 8px;
}

.buy-btn-modern {
    background: linear-gradient(105deg, #065f46, #10b981);
    padding: 12px 36px;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

    .buy-btn-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px -4px #10b981;
    }

.stat-link-modern {
    color: #10b981;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

    .stat-link-modern:hover {
        color: #065f46;
    }

/* ========== 投保流程 ========== */
.insurance-process-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: white;
    border-radius: 28px;
    padding: 24px 20px;
    margin-bottom: 32px;
    border: 1px solid #e6f0ea;
}

.process-step-modern {
    text-align: center;
}

.step-icon-modern {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

    .step-icon-modern i {
        font-size: 24px;
        color: #10b981;
    }

.step-title-modern {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.85rem;
}

/* ========== Tab选项卡 ========== */
.detail-tabs-modern {
    background: white;
    border-radius: 28px;
    border: 1px solid #e6f0ea;
    overflow: hidden;
    margin-bottom: 32px;
}

.tab-header-modern {
    display: flex;
    flex-wrap: wrap;
    background: #fafdf8;
    border-bottom: 1px solid #eef2f0;
    padding: 0 8px;
}

.tab-btn-modern {
    padding: 14px 24px;
    background: none;
    border: none;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

    .tab-btn-modern.active {
        color: #10b981;
        border-bottom: 2px solid #10b981;
    }

.tab-content-modern {
    padding: 28px 32px;
}

.tab-pane-modern {
    display: none;
}

    .tab-pane-modern.active {
        display: block;
    }

/* ========== 表格样式 ========== */
.detail-table-modern {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

    .detail-table-modern th,
    .detail-table-modern td {
        border: 1px solid #eef2f0;
        padding: 12px 10px;
        text-align: center;
    }

    .detail-table-modern th {
        background: #fafdf8;
        font-weight: 600;
        color: #334155;
    }

.price-highlight-modern {
    color: #065f46;
    font-weight: 600;
}

.term-label-cell {
    text-align: left;
    font-weight: 500;
}

/* ========== 常见问题 ========== */
.question-item-modern {
    margin-bottom: 20px;
    padding: 16px;
    background: #fafdf8;
    border-radius: 20px;
}

.question-modern {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.answer-modern {
    color: #5b6e8c;
    font-size: 0.85rem;
    line-height: 1.6;
    padding-left: 28px;
}

/* ========== 空状态 ========== */
.empty-content-modern {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

/* ========== 响应式布局 ========== */
@media (max-width: 900px) {
    .product-two-col-modern {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px 24px;
    }

    .product-left-section {
        max-width: 100%;
    }

    .terms-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .sku-terms-list-modern {
        grid-template-columns: 1fr;
    }

    .insurance-process-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-header-modern {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .product-header-modern {
        padding: 20px 20px 0;
    }

        .product-header-modern h1 {
            font-size: 1.4rem;
        }

    .tab-content-modern {
        padding: 20px;
    }

    .detail-table-modern {
        font-size: 0.7rem;
    }

        .detail-table-modern th,
        .detail-table-modern td {
            padding: 8px 6px;
        }
}

@media (max-width: 560px) {
    .terms-grid-modern {
        grid-template-columns: 1fr;
    }

    .option-group-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .radio-group-modern {
        width: 100%;
    }

    .buy-section-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-btn-modern {
        text-align: center;
        justify-content: center;
    }

    .insurance-process-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-two-col-modern {
        padding: 0 16px 20px;
    }

    .product-image-wrapper {
        min-height: 200px;
    }
}
