.tag,
.top-tag {
    display: inline-block;
    height: 1.4rem;
    padding: 0 0.2rem;
    border: 1px solid var(--sina-red);
    border-radius: 0.15rem;
    color: var(--sina-red);
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
}

.price {
    color: var(--sina-red);
    font-weight: 400;
}

.sale {
    color: var(--muted);
    font-size: 1.1rem;
}

.btn-primary,
.btn-line,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.6rem;
    border-radius: 0;
    font-weight: 400;
}

.btn-primary {
    background: var(--sina-red);
    color: #fff;
}

.btn-line {
    border: 1px solid #d8d8d8;
    background: #f8f8f8;
    color: #333;
}

.btn-danger {
    background: #333;
    color: #fff;
}

.load-more {
    display: flex;
    width: calc(100% - 2.2rem);
    margin: 1.2rem 1.1rem;
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #666;
}

.bottom-nav,
.cart-badge {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 3rem;
    z-index: 200;
    max-width: 80%;
    padding: 0.7rem 1rem;
    border-radius: 0.3rem;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font-size: 1.3rem;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.toast.show {
    opacity: 1;
}

.empty-box {
    padding: 3rem 1rem;
    color: var(--muted);
    text-align: center;
}

.form-input {
    width: 100%;
    height: 3.8rem;
    padding: 0 1rem;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #fff;
    outline: none;
}

.form-input:focus {
    border-color: var(--sina-red);
}

.status-line {
    color: var(--muted);
    font-size: 1.2rem;
}

.sina-footer {
    background: var(--page-bg);
    padding-top: 1rem;
    color: #666;
}

.footer-channel {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 3rem;
    background: #fff;
}

.footer-channel a {
    font-size: 1.4rem;
    line-height: 3rem;
    text-align: center;
}

.footer-copy {
    padding: 1.5rem 0 2.2rem;
    color: #777;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

@media (min-width: 480px) {
    html {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .top-bar {
        grid-template-columns: 12rem 9.4rem 1fr;
    }

    .header-tools {
        gap: 1.1rem;
    }

    .channel-nav a {
        font-size: 1.56rem;
    }
}
