/* 山东临工防伪溯源 - 查询结果页样式 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    padding-bottom: calc(42px + env(safe-area-inset-bottom));
}

.sv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 40px 18px 36px;
    background: #fff;
    border-bottom: 11px solid #f4f4f4;
}

.sv-header__logo {
    display: block;
    width: 50%;
    max-width: 195px;
    height: auto;
}

.sv-header__title {
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sv-main {
    padding: 44px 16px 0;
}

.sv-line {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    word-break: normal;
    overflow-wrap: break-word;
}

.sv-line:last-of-type {
    margin-bottom: 0;
}

.sv-label {
    color: #8b8b8b;
}

.sv-strong {
    color: #1a1a1a;
}

.sv-greeting {
    font-weight: 700;
}

#sv-code,
#sv-first {
    white-space: nowrap;
}

.sv-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    word-break: normal;
    overflow-wrap: break-word;
}

.sv-follow {
    margin: 54px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #e60012;
    text-align: center;
}

.sv-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 68%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    margin: 24px auto 0;
}

.sv-qr__logo {
    display: block;
    width: 54%;
    height: auto;
}

.sv-qr__note {
    font-size: 12px;
    line-height: 1.6;
    color: #93a1ac;
    text-align: center;
}

.sv-qr img.sv-qr__image {
    display: block;
    width: 100%;
    height: auto;
}

.sv-empty {
    display: none;
    margin: 28px 0 0;
    padding: 24px 18px;
    border-radius: 10px;
    background: #f7f9fa;
    color: #6b7780;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.sv-empty.is-visible {
    display: block;
}

.sv-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    height: calc(36px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
}

.sv-tab {
    display: flex;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
}

.sv-tab--active {
    background: #22aadc;
    font-weight: 600;
}

.sv-tab--dark {
    background: #333;
}

@media (min-width: 768px) {
    body {
        background: #f2f3f4;
    }

    .sv-header,
    .sv-main {
        max-width: 430px;
        margin: 0 auto;
        background: #fff;
    }

    .sv-header {
        border-bottom: 11px solid #f4f4f4;
    }

    .sv-tabs {
        max-width: 430px;
        margin: 0 auto;
    }
}

/* 企业介绍单页 */
body.sv-body--about {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    body.sv-body--about {
        background: #fff;
    }

    .about-main {
        max-width: 430px;
        margin: 0 auto;
        background: #fff;
        padding-left: 18px;
        padding-right: 18px;
    }
}
