* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fb;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Noto Sans TC",
        sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 24px;
}

.title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.search {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    margin-bottom: 24px;
}

.grid {
    display: grid;
    gap: 20px;
}

.card {
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow:
        0 4px 18px rgba(0,
            0,
            0,
            .05);
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.badge {
    background: #eef2ff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
}

.chart {
    width: 100%;
    height: 420px;
}

.card-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.product-image {
    width: 140px;
    height: 140px;

    object-fit: contain;

    background: white;

    border-radius: 14px;

    border: 1px solid #eee;

    padding: 10px;

    flex-shrink: 0;
}

.product-right {
    flex: 1;
}

@media(max-width:768px) {

    .card-top {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        height: 220px;
    }

}

.load-more {
    width: 100%;
    padding: 16px;
    margin: 20px 0 40px;
    border: 0;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    background: #111827;
    color: white;
    cursor: pointer;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #111827;
    color: white;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    display: none;
    z-index: 999;
}

.back-to-top.show {
    display: block;
}

.beta-tag {
    display: inline-block;

    margin-left: 10px;

    padding: 4px 10px;

    border-radius: 999px;

    background: #111827;

    color: white;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    vertical-align: middle;
}