@charset "utf-8";

/*
 * M2 product advertisement page.
 * The PDF pages are rendered as images; CSS only keeps page order,
 * proportion, edges, and responsive scaling inside the shared layout.
 */
.m2-pdf-page,
.m2-pdf-page * {
    box-sizing: border-box;
}

.m2-pdf-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.m2-pdf-sheet {
    width: 100%;
    max-width: 1175px;
    margin: 0 auto;
}

.m2-pdf-sheet img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

@media (max-width: 1199px) {
    .m2-pdf-sheet {
        max-width: none;
    }
}

.product-ad-footer {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    gap: 120px;
    margin-top: 0;
    padding: 18px 24px;
    background: #d3d4d8;
    color: #292929;
    font: 16px/1.5 "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.product-ad-footer span {
    white-space: nowrap;
}

.product-ad-approval {
    display: flex;
    width: 1175px;
    max-width: calc(100% - 48px);
    min-height: 70px;
    align-items: flex-start;
    justify-content: flex-end;
    margin: 0 auto;
    padding: 0 0 8px;
    color: #333;
    font: 10px/1.4 "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .product-ad-approval {
        max-width: calc(100% - 28px);
        min-height: 56px;
        padding-bottom: 6px;
    }

    .product-ad-footer {
        flex-direction: column;
        gap: 4px;
        min-height: 72px;
        font-size: 13px;
    }
}
