/* ===============================
   Base.css
   商城通用结构样式（无主题）
=============================== */

/* ===== 字体 ===== */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "SimSun", serif;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== 标题 ===== */
h1, h2, h3 {
    font-weight: 700;
}

/* ===== 通用卡片 ===== */
.paper-card {
    border-radius: 14px;
    padding: 14px;
}

/* ===== 顶部徽章 ===== */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 13px;
}

/* ===== Tab ===== */
.tab-button {
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

/* ===== 商品卡片 ===== */
.product-card {
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s;
}

.product-card:hover {
    transform: translateY(-1px);
}

/* ===== 商品主体 ===== */
.product-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
}

/* ===== 商品描述 ===== */
.product-title {
    font-size: 15px;
    font-weight: 600;
}

/* ===== 价格 ===== */
.product-price {
    font-weight: 700;
    font-size: 14px;
    margin-top: 4px;
}

/* ===== 按钮通用 ===== */
.btn {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
    border: none;
}

.btn[disabled] {
    cursor: not-allowed;
    opacity: .65;
}

/* ===== 奖励展开区 ===== */
.reward-box {
    padding: 8px 12px;
    font-size: 13px;
}

/* ===== 滚动条 ===== */
.scroll-box {
    scrollbar-width: thin;
}

.scroll-box::-webkit-scrollbar {
    width: 8px;
}

.scroll-box::-webkit-scrollbar-thumb {
    border-radius: 8px;
}
