/* 行业详情 · 产品展示（参照云市场：画廊 + 亮点 + 图文模块） */

.industry-showcase__loading {
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.9375rem;
}

.industry-showcase {
    --isc-accent: #2563eb;
    --isc-accent-soft: #eff6ff;
    --isc-border: #e2e8f0;
    --isc-muted: #64748b;
}

.industry-showcase__head {
    margin-bottom: 28px;
}

.industry-showcase__head h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.industry-showcase__tagline {
    margin: 0 0 14px;
    color: var(--isc-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.industry-showcase__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-showcase__tag {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--isc-accent-soft);
    color: var(--isc-accent);
    font-size: 0.75rem;
    font-weight: 600;
}

.industry-showcase__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--isc-border);
    padding-bottom: 12px;
}

.industry-showcase__tab {
    padding: 8px 18px;
    border: 1px solid var(--isc-border);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.industry-showcase__tab.is-active {
    border-color: var(--isc-accent);
    background: var(--isc-accent-soft);
    color: var(--isc-accent);
}

.industry-showcase__gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 900px) {
    .industry-showcase__gallery {
        grid-template-columns: minmax(0, 1fr) 200px;
        align-items: start;
    }
}

.industry-showcase__main {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--isc-border);
    background: linear-gradient(165deg, #f8fafc, #fff);
    overflow: hidden;
    min-height: 280px;
}

.industry-showcase__main img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    background: #f1f5f9;
}

.industry-showcase__caption {
    padding: 14px 18px;
    border-top: 1px solid var(--isc-border);
    background: #fff;
}

.industry-showcase__caption strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9375rem;
}

.industry-showcase__caption span {
    font-size: 0.8125rem;
    color: var(--isc-muted);
    line-height: 1.5;
}

.industry-showcase__thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

@media (min-width: 900px) {
    .industry-showcase__thumbs {
        flex-direction: column;
        overflow-x: visible;
        max-height: 560px;
        overflow-y: auto;
    }
}

.industry-showcase__thumb {
    flex: 0 0 auto;
    width: 88px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: none;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

@media (min-width: 900px) {
    .industry-showcase__thumb {
        width: 100%;
    }
}

.industry-showcase__thumb.is-active {
    border-color: var(--isc-accent);
}

.industry-showcase__thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 8px;
}

.industry-showcase__thumb .industry-showcase__ph {
    aspect-ratio: auto;
    min-height: 80px;
    max-height: 140px;
    object-fit: contain;
}

.industry-showcase__ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
    min-height: 200px;
    background: #e2e8f0;
    border-radius: 8px;
}

.industry-showcase__ph small {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    color: #94a3b8;
    word-break: break-all;
}

.industry-showcase__thumb-label {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
    word-break: break-all;
}

.industry-showcase__highlights {
    display: grid;
    gap: 14px;
    margin-top: 36px;
}

@media (min-width: 768px) {
    .industry-showcase__highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .industry-showcase__highlights {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry-showcase__hl {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--isc-border);
    background: #fff;
}

.industry-showcase__hl h4 {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    color: #0f172a;
}

.industry-showcase__hl p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--isc-muted);
    line-height: 1.55;
}

.industry-showcase__modules {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.industry-showcase__mod {
    display: grid;
    gap: 20px;
    align-items: center;
}

@media (min-width: 900px) {
    .industry-showcase__mod {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .industry-showcase__mod--right .industry-showcase__mod-media {
        order: 2;
    }
}

.industry-showcase__mod-media {
    border-radius: 14px;
    border: 1px solid var(--isc-border);
    overflow: hidden;
    background: #f8fafc;
}

.industry-showcase__mod-media img {
    display: block;
    width: 100%;
    height: auto;
}

.industry-showcase__mod-body h3 {
    margin: 0 0 10px;
    font-size: 1.125rem;
}

.industry-showcase__mod-body p {
    margin: 0;
    color: var(--isc-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.industry-showcase__upload-tip {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px dashed #fcd34d;
    font-size: 0.8125rem;
    color: #92400e;
    line-height: 1.5;
}

.industry-showcase__upload-tip code {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

/* 堆叠模式：每个功能完整展示，不裁切横图 */
.industry-showcase--stack .industry-showcase__stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.industry-showcase__feature {
    border: 1px solid var(--isc-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.industry-showcase__feature-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--isc-border);
    background: #fafafa;
}

.industry-showcase__feature-head h3 {
    margin: 0 0 6px;
    font-size: 1.0625rem;
    color: #0f172a;
}

.industry-showcase__feature-head p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--isc-muted);
    line-height: 1.55;
}

.industry-showcase__feature-img {
    background: #f8fafc;
}

.industry-showcase__feature-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.industry-showcase--retail { --isc-accent: #2563eb; --isc-accent-soft: #eff6ff; }
.industry-showcase--catering { --isc-accent: #ea580c; --isc-accent-soft: #fff7ed; }
.industry-showcase--hotel { --isc-accent: #0284c7; --isc-accent-soft: #f0f9ff; }
.industry-showcase--book { --isc-accent: #059669; --isc-accent-soft: #ecfdf5; }
.industry-showcase--marketing { --isc-accent: #7c3aed; --isc-accent-soft: #f5f3ff; }
