/* ============================================================
   AI穿戴详情区（wear-detail）
   独立文件：避免与 style.css 编辑冲突，加载在主样式之后
   ============================================================ */

/* ---------- 区块容器 ---------- */
.wear-detail {
    display: none;
    margin-top: 40px;
    padding: 34px;
    background: #FFFFFF;
    border: 1px solid #E5EAF2;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    scroll-margin-top: 90px;
}
.wear-detail.is-visible {
    display: block;
}

/* ---------- 内容区 ---------- */
.wear-content .label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1A56DB;
    margin-bottom: 10px;
}
.wear-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 14px;
}
.wear-content h3 span {
    display: block;
}
.wear-desc {
    color: #64748B;
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #E5EAF2;
}

/* ---------- 两张产品卡 ---------- */
.wear-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.wear-card {
    background: #F7FAFF;
    border: 1px solid #E5EAF2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 卡片内嵌图片区 */
.wear-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #EEF3FB;
}
.wear-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.wear-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.wear-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}
.wear-card p {
    color: #64748B;
    font-size: 0.87rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.wear-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.wear-card .tags span {
    background: #FFFFFF;
    border: 1px solid #E5EAF2;
    color: #64748B;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 30px;
}

/* 悬停 */
.wear-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 86, 219, 0.35);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}
.wear-card:hover .wear-card-media img {
    transform: none;
}
.wear-card:hover h4 {
    color: #1A56DB;
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
    .wear-detail {
        padding: 22px;
    }
    .wear-cards {
        grid-template-columns: 1fr;
    }
    .wear-card-media {
        height: 180px;
    }
    .wear-content h3 {
        font-size: 1.35rem;
    }
}

/* ---------- 英文模式微调 ---------- */
body.lang-en .wear-card .tags span {
    letter-spacing: 0;
}