/* ============================================
   extension-detail.css
   运营延展海报 — 产品详情页风格排版
   参考：电商产品详情页（左图右文）
   ============================================ */

/* ---- Hero 区 ---- */
.ext-hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.ext-hero__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary, #999);
    margin-bottom: 16px;
}

.ext-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ext-hero__desc {
    font-size: 1.05rem;
    color: var(--text-secondary, #666);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ---- 产品详情区（左右布局） ---- */
.ext-product {
    padding: 40px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.ext-product__inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 48px;
    align-items: start;
}

/* 偶数项目反向 */
.ext-product--reverse .ext-product__inner {
    direction: rtl;
}
.ext-product--reverse .ext-product__inner > * {
    direction: ltr;
}

/* ---- 左侧：视觉区 ---- */
.ext-product__visual {
    position: sticky;
    top: 100px;
}

.ext-product__hero-img {
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f7;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

.ext-product__hero-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ext-product__hero-img:hover img {
    transform: scale(1.02);
}

/* 缩略图行 */
.ext-product__thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.ext-product__thumbs img {
    width: calc(33.333% - 8px);
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    background: #f5f5f7;
}

.ext-product__thumbs img:hover {
    border-color: var(--accent, #000);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ---- 右侧：详情区 ---- */
.ext-product__detail {
    padding-top: 8px;
}

/* 标题区 */
.ext-detail__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.ext-detail__series {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--border, #e5e5e5);
    line-height: 1;
    letter-spacing: -0.03em;
    font-family: 'Instrument Sans', sans-serif;
}

.ext-detail__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.ext-detail__subtitle {
    font-size: 1rem;
    color: var(--text-secondary, #888);
    font-weight: 500;
}

/* 卖点列表 */
.ext-detail__features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ext-detail__features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 14px;
    background: var(--surface, #fafafa);
    transition: all 0.25s ease;
}

.ext-detail__features li:hover {
    background: var(--surface-hover, #f0f0f0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.ext-feature__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ext-feature__icon + div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ext-feature__icon strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
}

.ext-feature__icon span {
    font-size: 0.78rem;
    color: var(--text-tertiary, #999);
    line-height: 1.4;
}

/* 全套展示画廊 */
.ext-detail__gallery {
    margin-bottom: 32px;
}

.ext-gallery__label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary, #aaa);
    margin-bottom: 14px;
    padding-left: 2px;
}

.ext-gallery__row {
    display: flex;
    gap: 12px;
}

.ext-gallery__row img {
    flex: 1;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f7;
}

.ext-gallery__row img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* 设计说明 */
.ext-detail__note {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8fa 100%);
    border: 1px solid var(--border-light, #eee);
}

.ext-detail__note p {
    font-size: 0.9rem;
    color: var(--text-secondary, #555);
    line-height: 1.85;
    margin: 0;
}

.ext-detail__note strong {
    color: var(--text-primary, #1a1a1a);
}

/* ---- 分割线 ---- */
.ext-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border, #e0e0e0) 20%, var(--border, #e0e0e0) 80%, transparent);
}

/* ---- 响应式 ---- */
@media (max-width: 960px) {
    .ext-product__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ext-product--reverse .ext-product__inner {
        direction: ltr;
    }

    .ext-product__visual {
        position: static;
    }

    .ext-product__hero-img {
        border-radius: 16px;
    }

    .ext-detail__header {
        gap: 14px;
    }

    .ext-detail__series {
        font-size: 2.5rem;
    }

    .ext-detail__title {
        font-size: 1.6rem;
    }

    .ext-detail__features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ext-hero {
        padding: 56px 20px 40px;
    }

    .ext-product {
        padding: 24px 16px 56px;
    }

    .ext-detail__features li {
        padding: 12px;
    }

    .ext-gallery__row img {
        height: 140px;
    }

    .ext-detail__note {
        padding: 18px;
    }
}

/* ============================================
   运营延展海报 — 卡片透明覆盖（图片无白底）
   ============================================ */

/* 运营延展页：卡片去掉白底、阴影、圆角，让图片透明背景透出来 */
[data-series="snowking"] .poster-card,
[data-series="totebag"] .poster-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

[data-series="snowking"] .poster-card img,
[data-series="totebag"] .poster-card img {
    display: block;
    width: 100%;
}
