/* 详情页线框布局：左文右图等高，下方详情 */

.info-detail-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 40px;
    box-sizing: border-box;
}

.info-detail-v2-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px 0;
    font-size: 14px;
    line-height: 1.5;
}

.info-detail-v2-breadcrumb,
.info-detail-v2-breadcrumb a {
    color: #1843e2;
    text-align: left;
}

.info-detail-v2-breadcrumb a:hover {
    text-decoration: underline;
}

.info-detail-v2-top {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
    margin-top: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.info-detail-v2-left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.info-detail-v2-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    color: #1843e2;
    line-height: 1.35;
    text-align: left;
}

.info-detail-v2-publisher {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.info-detail-v2-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #e8e8e8;
    flex-shrink: 0;
}

.info-detail-v2-publisher-meta {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
}

.info-detail-v2-publisher-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.info-detail-v2-publisher-sub {
    margin-top: 4px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.info-detail-v2-follow {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid #1843e2;
    border-radius: 20px;
    font-size: 13px;
    color: #1843e2;
    text-decoration: none;
    background: #fff;
    white-space: nowrap;
}

.info-detail-v2-follow:hover {
    background: #f0f4ff;
}

.info-detail-v2-follow.is-muted {
    border-color: #ccc;
    color: #999;
    pointer-events: none;
}

.info-detail-v2-rows {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.info-detail-v2-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    background: #f3f4f6;
    /* border-radius: 6px; */
    font-size: 14px;
    box-sizing: border-box;
}

.info-detail-v2-row-label {
    flex: 0 0 88px;
    color: #666;
}

.info-detail-v2-row-value {
    flex: 1 1 auto;
    min-width: 0;
    color: #222;
    word-break: break-word;
    text-align: left;
    margin-left: 20px;
}

.info-detail-v2-actions {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: auto;
    padding-top: 8px;
}

.info-detail-v2-btn-buy {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #f39800;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.info-detail-v2-btn-buy:hover {
    filter: brightness(1.05);
    color: #fff;
    text-decoration: none;
}

.info-detail-v2-btn-fav {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.info-detail-v2-btn-fav:hover {
    background: #fafafa;
    color: #222;
    text-decoration: none;
}

.info-detail-v2-right {
    flex: 0 0 42%;
    max-width: 42%;
    min-width: 260px;
    display: flex;
    flex-direction: column;
}

.info-detail-v2-gallery {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    height: 100%;
}

.info-detail-v2-main-img {
    flex: 1 1 auto;
    min-height: 220px;
    max-height: 420px;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    background: #e8e8e8;
}

.info-detail-v2-thumbs {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex: 0 0 auto;
}

.info-detail-v2-thumb {
    flex: 1 1 0;
    width: 0;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
    background: #e8e8e8;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.info-detail-v2-thumb:hover,
.info-detail-v2-thumb.is-active {
    border-color: #1843e2;
}

/* 商品详情：白底圆角浅边框，与线稿一致 */
.info-detail-v2-detail-section {
    margin-top: 28px;
    padding: 22px 26px 28px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.info-detail-v2-detail-title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.info-detail-v2-detail {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.75;
    color: #222;
    word-break: break-word;
}

.info-detail-v2-detail img {
    max-width: 100%;
    height: auto;
}

#hit {
    display: none;
}

@media (max-width: 900px) {
    .info-detail-v2-top {
        flex-direction: column;
    }

    .info-detail-v2-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .info-detail-v2-main-img {
        max-height: 320px;
    }
}
