* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #181818;
    background: #fff;
}

.page {
    max-width: 440px;
    margin: auto;
    padding: 5px 17px 26px;
}

.hero {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 102px;
    height: 102px;
    flex-shrink: 0;
    border-radius: 22px;
    object-fit: cover;
}

.hero-mid {
    min-width: 0;
    flex: 1;
}

.name {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.vendor {
    font-size: 14px;
    color: #33618c;
    margin-top: 3px;
}

.chips {
    display: flex;
    gap: 7px;
    margin-top: 6px;
    white-space: nowrap;
}

.chip {
    font-size: 12px;
    color: #839bb0;
    border: 1px solid #b7c8d7;
    border-radius: 25px;
    padding: 5px 10px;
}

.rating {
    text-align: right;
    white-space: nowrap;
    align-self: flex-start;
    padding-top: 12px;
}

.rating b {
    font-size: 45px;
    line-height: 1;
    font-weight: 750;
}

.rating small {
    font-size: 12px;
    font-weight: 700;
    margin-left: 3px;
}

h2 {
    font-size: 19px;
    margin: 23px 0 12px;
    font-weight: 800;
}

.desc {
    font-size: 16px;
    margin: 0 8px;
}

.review-section h2 {
    margin-top: 17px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 11px 0;
}

.bar-main {
    flex: 1;
    min-width: 0;
}

.stars {
    color: #ffb900;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 22px;
}

.track {
    height: 6px;
    background: #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 3px;
}

.fill {
    height: 100%;
    background: #43c9c1;
    border-radius: 8px;
}

.percent {
    color: #9aafc5;
    font-size: 12px;
    font-weight: 700;
    width: 33px;
    text-align: right;
}

.actions {
    display: flex;
    gap: 8px;
    margin: 30px 4px 28px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    text-decoration: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 750;
}

.btn-primary {
    background: linear-gradient(100deg, #2bbad1, #51e5a2);
    color: #fff;
    flex: 2;
}

.btn-outline {
    border: 1px solid #6dd8d2;
    color: #42bdbb;
    flex: 1;
    white-space: nowrap;
}

.comment {
    background: #f7f7f7;
    border-radius: 19px;
    padding: 22px 16px 20px;
    margin-top: 4px;
}

.comment-title {
    font-weight: 800;
    font-size: 16px;
}

.author,
.date {
    font-size: 13px;
    color: #819bb1;
    font-weight: 700;
    margin-top: 8px;
}

.comment .stars {
    font-size: 18px;
    margin-top: 3px;
}

.comment-text {
    font-size: 15px;
    line-height: 1.25;
    margin-top: 2px;
}

.date {
    margin-top: 7px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f7f7f7;
    border-radius: 17px;
    margin: 18px 2px 0;
    padding: 18px 0;
}

.stat {
    text-align: center;
    border-right: 1px solid #e1e1e1;
}

.stat:last-child {
    border: 0;
}

.stat-label {
    font-size: 12px;
    color: #2c587a;
}

.stat-value {
    font-size: 21px;
    font-weight: 800;
    margin-top: 3px;
}

.info h2 {
    margin: 18px 2px 18px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #ededed;
    min-height: 50px;
    font-size: 15px;
}

.info-row span:first-child {
    color: #8099aa;
    flex-shrink: 0;
}

.info-row span:last-child {
    text-align: right;
}

.copyright {
    color: #777;
    font-size: 12px;
    line-height: 1.25;
    margin: 38px 2px 0;
}

@media(max-width:365px) {
    .page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo {
        width: 83px;
        height: 83px;
    }

    .hero {
        gap: 8px;
    }

    .rating b {
        font-size: 35px;
    }

    .rating small {
        font-size: 10px;
    }

    .chip {
        padding: 4px 6px;
        font-size: 11px;
    }

    .name {
        font-size: 18px;
    }

    .btn {
        font-size: 14px;
    }
}
