/* ========== 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #52c41a;
    --danger: #ff4d4f;
    --warning: #faad14;
    --bg: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border: #e8e8e8;
    --radius: 8px;
    --radius-lg: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.bottom-safe {
    height: 70px;
}

/* ========== 顶部导航栏 ========== */
.top-nav {
    background: linear-gradient(135deg, #ff6b35 0%, #e8552d 100%);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    position: relative;
}
.nav-header > .nav-region {
    position: absolute;
    left: 12px;
}
.nav-header > .nav-actions {
    position: absolute;
    right: 12px;
}

.nav-region {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    flex: 1;
    min-width: 0;
}

.nav-region .city-selector {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-region .region-selects {
    display: none;
    align-items: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.nav-region i {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    flex-shrink: 0;
}

.nav-region select {
    flex: 1;
    min-width: 0;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 0 2px;
    font-size: 11px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    appearance: auto;
    -webkit-appearance: auto;
}

.nav-region select option { color: #333; background: #fff; }

.nav-region .btn-go {
    flex-shrink: 0;
    height: 28px;
    padding: 0 10px;
    background: rgba(255,255,255,0.25);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.nav-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
}

.logo i {
    font-size: 24px;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-btn {
    position: relative;
    color: var(--white);
    font-size: 20px;
}

.nav-btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
}

/* 分类标签 */
.cate-tabs-wrapper {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.cate-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 15px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.cate-tabs::-webkit-scrollbar {
    display: none;
}

.cate-tab {
    padding: 6px 16px;
    background: #f5f5f5;
    color: var(--text-light);
    border-radius: 16px;
    font-size: 13px;
    transition: all 0.3s;
}

.cate-tab.active {
    background: var(--primary);
    color: var(--white);
}

/* ========== 搜索栏 (其他页面保留) ========== */
.search-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-bar.simple {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.search-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 8px 15px;
}

.search-input i {
    color: var(--text-lighter);
    margin-right: 8px;
}

.search-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-msg {
    position: relative;
    margin-left: 15px;
    color: var(--white);
    font-size: 20px;
}

.search-msg .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
}

/* ========== 轮播图 ========== */
.banner-slider {
    position: relative;
    height: 180px;
    background: var(--primary);
    overflow: hidden;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.banner-item.active {
    opacity: 1;
    z-index: 2;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: var(--white);
}

.banner-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.banner-text p {
    font-size: 13px;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background: var(--white);
    width: 16px;
    border-radius: 4px;
}

/* ========== 分类导航 ========== */
.category-nav {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: var(--white);
    margin-bottom: 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.category-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #ff8f5a);
}

.category-item:nth-child(1) .icon { background: linear-gradient(135deg, #ff6b35, #ff8f5a); }
.category-item:nth-child(2) .icon { background: linear-gradient(135deg, #52c41a, #73d13d); }
.category-item:nth-child(3) .icon { background: linear-gradient(135deg, #1890ff, #40a9ff); }
.category-item:nth-child(4) .icon { background: linear-gradient(135deg, #52c41a, #95de64); }
.category-item:nth-child(5) .icon { background: linear-gradient(135deg, #faad14, #ffc53d); }

.cate-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.cate-icon.cate-1 { background: linear-gradient(135deg, #ff6b35, #ff8f5a); }
.cate-icon.cate-2 { background: linear-gradient(135deg, #52c41a, #73d13d); }
.cate-icon.cate-3 { background: linear-gradient(135deg, #1890ff, #40a9ff); }
.cate-icon.cate-4 { background: linear-gradient(135deg, #52c41a, #95de64); }
.cate-icon.cate-5 { background: linear-gradient(135deg, #faad14, #ffc53d); }

.category-item span {
    font-size: 12px;
    color: var(--text-light);
}

/* ========== 公告栏 ========== */
.notice-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff7e6;
    margin-bottom: 10px;
}

.notice-bar i {
    color: var(--warning);
    margin-right: 8px;
}

.notice-bar .text {
    flex: 1;
    color: var(--text-light);
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.notice-scroll {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.notice-scroll span {
    color: var(--text-light);
    font-size: 13px;
}

/* ========== 区块样式 ========== */
.section {
    background: var(--white);
    margin-bottom: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.section-header h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header h3 i {
    color: var(--primary);
}

.section-header .more {
    font-size: 13px;
    color: var(--text-lighter);
}

/* ========== 限时秒杀 ========== */
.flash-sale {
    padding: 15px;
}

.flash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.flash-header .title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
}

.flash-header .countdown {
    background: #333;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.flash-products {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.flash-products::-webkit-scrollbar {
    display: none;
}

.flash-item {
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.flash-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.flash-item .price {
    color: var(--primary);
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
}

.flash-item .original {
    color: #999;
    font-size: 11px;
    text-decoration: line-through;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.countdown span:first-child {
    color: var(--text-lighter);
}

.time-box {
    background: var(--text);
    color: var(--white);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
}

/* ========== 商品列表 ========== */
.product-list {
    padding: 15px;
}

.product-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: var(--radius);
    margin-bottom: 12px;
    cursor: pointer;
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-card > img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.product-img {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.product-img .tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius) 0 var(--radius) 0;
}

.product-img .tag.hot {
    background: var(--danger);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h4 {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text);
}

.product-info .desc {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.product-info .tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.product-info .tags .tag {
    display: inline-block;
    padding: 2px 8px;
    background: #fff2e8;
    color: var(--primary);
    font-size: 11px;
    border-radius: 3px;
}

.product-info .bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-info .bottom .price {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}

.product-info .bottom .price small {
    font-size: 12px;
    font-weight: normal;
}

.product-info .bottom .sales {
    font-size: 12px;
    color: var(--text-lighter);
    margin-top: 4px;
}

.product-info .btn-buy {
    background: linear-gradient(90deg, var(--primary), #ff8f5a);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 13px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.group-price {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}

.group-price span {
    font-size: 12px;
    font-weight: normal;
}

.original-price {
    font-size: 12px;
    color: var(--text-lighter);
    text-decoration: line-through;
}

.group-num {
    font-size: 11px;
    color: var(--text-lighter);
    display: block;
    margin-top: 8px;
}

.btn-group-buy {
    background: linear-gradient(90deg, var(--primary), #ff8f5a);
    color: var(--white);
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
}

.group-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff8f5a);
    border-radius: 3px;
}

.progress-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 11px;
    color: var(--primary);
    white-space: nowrap;
}

.progress-text span:first-child {
    color: var(--text-lighter);
}

/* ========== 商品网格 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.grid-item {
    text-align: center;
}

.grid-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 6px;
}

.grid-item h5 {
    font-size: 12px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grid-price {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
}

.grid-sold {
    font-size: 11px;
    color: var(--text-lighter);
}

/* ========== 底部导航 ========== */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 55px;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-lighter);
    font-size: 11px;
    position: relative;
}

.tab-item i {
    font-size: 20px;
}

.tab-item.active {
    color: var(--primary);
}

.tab-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
}

/* ========== 顶部导航 ========== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    width: 30px;
    font-size: 18px;
    color: var(--text);
}

.header h1 {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
}

.header-right {
    display: flex;
    gap: 15px;
    font-size: 18px;
}

.header-action {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== 详情页 ========== */
.detail-gallery {
    position: relative;
    height: 350px;
    background: #f5f5f5;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.detail-price-box {
    background: linear-gradient(90deg, var(--primary), #ff8f5a);
    color: var(--white);
    padding: 15px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price-main .symbol {
    font-size: 14px;
}

.price-main .price {
    font-size: 32px;
    font-weight: bold;
}

.price-main .unit {
    font-size: 14px;
}

.price-main .original {
    font-size: 13px;
    opacity: 0.8;
    text-decoration: line-through;
    margin-left: 10px;
}

.price-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.price-tags span {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
}

.tag-red {
    background: rgba(255,255,255,0.2);
}

.tag-yellow {
    background: var(--warning);
    color: var(--text);
}

.countdown-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    background: rgba(0,0,0,0.1);
    padding: 8px;
    border-radius: var(--radius);
}

.cd-time {
    font-weight: bold;
    font-family: monospace;
}

.detail-info {
    padding: 15px;
    background: var(--white);
    margin-bottom: 10px;
}

.detail-info h2 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.detail-info .subtitle {
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 12px;
}

.info-tags {
    display: flex;
    gap: 15px;
}

.info-tags span {
    font-size: 12px;
    color: var(--text-light);
}

.info-tags i {
    color: var(--secondary);
    margin-right: 3px;
}

.detail-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--white);
    margin-bottom: 10px;
}

.cell-label {
    color: var(--text-light);
}

.cell-value {
    color: var(--text);
}

.cell-value i {
    color: var(--text-lighter);
    margin-left: 5px;
}

.group-info-box {
    background: var(--white);
    padding: 15px;
    margin-bottom: 10px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.group-title {
    font-size: 15px;
    font-weight: 500;
}

.group-more {
    font-size: 13px;
    color: var(--text-lighter);
}

.group-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.group-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fafafa;
    border-radius: var(--radius);
}

.group-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.group-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8e8e8;
}

.group-user span {
    font-size: 14px;
}

.group-status {
    text-align: right;
    margin-right: 10px;
}

.group-status p {
    font-size: 13px;
}

.group-status b {
    color: var(--primary);
}

.group-time {
    color: var(--text-lighter);
    font-size: 12px !important;
}

.btn-join {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
}

.detail-section {
    background: var(--white);
    margin-bottom: 10px;
}

.section-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.section-tabs span {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: var(--text-light);
    position: relative;
}

.section-tabs span.active {
    color: var(--primary);
    font-weight: 500;
}

.section-tabs span.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.detail-content {
    padding: 15px;
}

.detail-content img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: var(--radius);
}

.detail-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.detail-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    height: 55px;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 100;
}

.footer-icons {
    display: flex;
    width: 40%;
}

.icon-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
    gap: 2px;
}

.icon-item i {
    font-size: 18px;
}

.footer-btns {
    display: flex;
    flex: 1;
    height: 100%;
}

.btn-buy, .btn-group {
    flex: 1;
    border: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.btn-buy {
    background: #ffa940;
}

.btn-group {
    background: var(--primary);
}

/* ========== 规格弹窗 ========== */
.spec-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
}

.spec-popup.show {
    display: block;
}

.spec-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.spec-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 15px;
}

.spec-header {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.spec-header img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.spec-price {
    flex: 1;
    padding-top: 10px;
}

.spec-price .price {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
}

.spec-price .price span {
    font-size: 14px;
}

.spec-price .stock {
    font-size: 13px;
    color: var(--text-lighter);
    margin: 5px 0;
}

.spec-price .selected {
    font-size: 13px;
    color: var(--text);
}

.spec-header .close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    color: var(--text-lighter);
    padding: 5px;
}

.spec-section {
    margin-bottom: 15px;
}

.spec-section h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
}

.spec-option.active {
    background: #fff2e8;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    width: fit-content;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.quantity-selector button {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    font-size: 16px;
}

.quantity-selector input {
    width: 50px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 14px;
}

.quantity-selector.small button {
    width: 26px;
    height: 26px;
    font-size: 14px;
}

.quantity-selector.small input {
    width: 40px;
    height: 26px;
}

.spec-footer {
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.btn-confirm {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 16px;
}

/* ========== 购物车 ========== */
.address-bar {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--white);
    margin-bottom: 10px;
}

.address-bar > i:first-child {
    color: var(--primary);
    font-size: 18px;
    margin-right: 10px;
}

.address-info {
    flex: 1;
}

.address-text {
    font-size: 14px;
    margin-bottom: 3px;
}

.address-name {
    font-size: 12px;
    color: var(--text-lighter);
}

.address-bar > i:last-child {
    color: var(--text-lighter);
}

.cart-list {
    padding-bottom: 10px;
}

.cart-shop {
    background: var(--white);
    margin-bottom: 10px;
}

.shop-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

.shop-header i {
    color: var(--text-lighter);
}

.shop-header .fa-store {
    color: var(--primary);
    margin: 0 6px;
}

.shop-name {
    flex: 1;
    font-size: 14px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 10px;
}

.checkbox {
    position: relative;
}

.checkbox input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.checkbox input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox input:checked + .checkmark::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
}

.item-img {
    width: 80px;
    height: 80px;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.item-spec {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 6px;
}

.group-tag {
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}

.item-price .price {
    color: var(--primary);
    font-weight: bold;
}

.cart-footer {
    position: fixed;
    bottom: 55px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    height: 50px;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0 15px;
    z-index: 100;
}

.cart-select {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-total {
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

.total-price {
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
}

.total-tip {
    display: block;
    font-size: 11px;
    color: var(--text-lighter);
}

.btn-settle {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
}

/* ========== 个人中心 ========== */
.user-header-new {
    background: linear-gradient(135deg, var(--primary), #ff8f5a);
    padding: 20px 15px;
    margin-bottom: 10px;
}

.user-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 15px;
    backdrop-filter: blur(10px);
}

.user-avatar-new {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
}

.user-avatar-new img {
    width: 100%;
    height: 100%;
}

.vip-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: var(--text);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.user-info-new {
    flex: 1;
    margin-left: 15px;
    color: var(--white);
}

.user-info-new h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.user-phone {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.user-tags-new {
    display: flex;
    gap: 8px;
}

.user-tags-new span {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.tag-auth {
    background: rgba(82, 196, 26, 0.9) !important;
}

.tag-level {
    background: rgba(255, 215, 0, 0.9) !important;
    color: var(--text) !important;
}

.user-arrow {
    color: var(--white);
    font-size: 18px;
    opacity: 0.8;
}

/* 我的资产 */
.user-assets {
    background: var(--white);
    margin-top: 15px;
    padding: 15px;
    border-radius: var(--radius);
}

.asset-row {
    display: flex;
    justify-content: space-around;
}

.asset-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.asset-value {
    font-size: 16px;
    font-weight: bold;
    color: var(--text);
}

.asset-name {
    font-size: 12px;
    color: var(--text-lighter);
}

/* 图标颜色 */
.icon-profile { background: #1890ff; }
.icon-auth { background: #52c41a; }

.user-section {
    background: var(--white);
    margin-bottom: 10px;
    padding: 15px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title h4 {
    font-size: 15px;
}

.section-title .more {
    font-size: 13px;
    color: var(--text-lighter);
}

.order-types, .group-types {
    display: flex;
    justify-content: space-around;
}

.order-item, .group-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.order-item i, .group-type-item i {
    font-size: 24px;
    color: var(--text-light);
}

.order-item span, .group-type-item span {
    font-size: 12px;
    color: var(--text-light);
}

.order-item .badge, .group-type-item .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.menu-list {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 12px;
}

.icon-coupon { background: #ff4d4f; }
.icon-address { background: #52c41a; }
.icon-bill { background: #1890ff; }
.icon-fav { background: #faad14; }

.menu-text {
    flex: 1;
    font-size: 14px;
}

.menu-tip {
    font-size: 12px;
    color: var(--text-lighter);
    margin-right: 8px;
}

.menu-item > i {
    color: var(--text-lighter);
    font-size: 12px;
}

.asset-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.asset-item, .service-item {
    text-align: center;
}

.asset-num {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.asset-label {
    font-size: 12px;
    color: var(--text-lighter);
}

.service-item i {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.service-item span {
    font-size: 12px;
    color: var(--text-light);
}

/* ========== 分类页 ========== */
.category-page {
    display: flex;
    height: calc(100vh - 110px);
    background: var(--white);
}

.category-sidebar {
    width: 85px;
    background: #f8f8f8;
    overflow-y: auto;
}

.cate-item {
    display: block;
    padding: 15px 10px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    border-left: 3px solid transparent;
}

.cate-item.active {
    background: var(--white);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 500;
}

.category-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.cate-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.cate-banner img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.cate-banner-text {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--white);
}

.cate-banner-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.cate-banner-text p {
    font-size: 12px;
    opacity: 0.9;
}

.subcate-section {
    margin-bottom: 20px;
}

.subcate-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

/* 热门分类文字标签 */
.subcate-text-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subcate-text-item {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-light);
    transition: all 0.3s;
}

.subcate-text-item:active {
    background: var(--primary);
    color: var(--white);
}

.subcate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.subcate-item {
    text-align: center;
}

.subcate-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 6px;
    object-fit: cover;
}

.subcate-item span {
    font-size: 12px;
    color: var(--text-light);
}

.cate-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cate-product-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fafafa;
    border-radius: var(--radius);
}

.cate-product-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    margin-right: 10px;
    object-fit: cover;
}

.cate-product-info {
    flex: 1;
}

.cate-product-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
}

.cate-product-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 14px;
}

.cate-product-sales {
    font-size: 11px;
    color: var(--text-lighter);
}

.add-cart {
    color: var(--primary);
    font-size: 22px;
}

/* ========== 订单页 ========== */
.order-address {
    background: var(--white);
    margin-bottom: 10px;
}

.address-bg-top, .address-bg-bottom {
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary),
        var(--primary) 8px,
        var(--white) 8px,
        var(--white) 16px
    );
}

.address-content {
    display: flex;
    align-items: center;
    padding: 15px;
}

.address-icon {
    font-size: 20px;
    color: var(--primary);
    margin-right: 12px;
}

.address-info {
    flex: 1;
}

.address-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.address-user .name {
    font-weight: 500;
}

.address-user .phone {
    color: var(--text-light);
}

.tag-default {
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
}

.address-text {
    font-size: 13px;
    color: var(--text-light);
}

.order-goods {
    margin-bottom: 10px;
}

.order-shop {
    background: var(--white);
    padding: 15px;
    margin-bottom: 10px;
}

.order-shop .shop-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.order-shop .shop-name i {
    color: var(--primary);
}

.order-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.order-item img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.item-detail {
    flex: 1;
}

.item-detail h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.item-detail .item-spec {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.item-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.item-price-row .price {
    color: var(--primary);
    font-weight: bold;
}

.item-price-row .original {
    font-size: 12px;
    color: var(--text-lighter);
    text-decoration: line-through;
}

.item-price-row .qty {
    flex: 1;
    text-align: right;
    color: var(--text-light);
}

.order-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.cell-label {
    color: var(--text);
}

.cell-value {
    color: var(--text-light);
}

.cell-value.discount {
    color: var(--primary);
}

.freight {
    color: var(--secondary);
}

.remark-input {
    flex: 1;
    border: none;
    text-align: right;
    font-size: 13px;
    outline: none;
}

.shop-total {
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.shop-total b {
    color: var(--primary);
    font-size: 15px;
}

.order-section {
    background: var(--white);
    padding: 15px;
    margin-bottom: 10px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.order-row:first-child {
    border-bottom: 1px solid var(--border);
}

.order-row i {
    margin-right: 6px;
}

.row-value {
    color: var(--text-light);
}

.row-value.discount {
    color: var(--primary);
}

.section-title {
    font-size: 14px;
    margin-bottom: 12px;
}

.pay-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-item {
    display: flex;
    align-items: center;
    position: relative;
}

.pay-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 10px;
}

.pay-icon.wechat { background: #07c160; }
.pay-icon.alipay { background: #1677ff; }
.pay-icon.balance { background: #faad14; }

.pay-name {
    flex: 1;
}

.pay-balance {
    font-size: 12px;
    color: var(--text-lighter);
    margin-right: 10px;
}

.pay-item input {
    position: absolute;
    opacity: 0;
}

.radio-check {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.pay-item input:checked + .radio-check {
    border-color: var(--primary);
}

.pay-item input:checked + .radio-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.pay-item input:disabled ~ .radio-check {
    opacity: 0.5;
}

.price-detail .price-row {
    padding: 6px 0;
}

.price-row.discount {
    color: var(--primary);
}

.order-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 55px;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0 15px;
    gap: 15px;
    z-index: 100;
}

.order-total .total-price {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
}

/* ========== 新页面图标颜色 ========== */
.icon-address { background: #ff6b35; }
.icon-setting { background: #8c8c8c; }
.icon-service { background: #722ed1; }
.icon-help { background: #13c2c2; }
.icon-feedback { background: #eb2f96; }
.icon-about { background: #faad14; }

/* ========== 个人资料页 ========== */
.profile-avatar-section {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #ff8f5a);
}

.avatar-upload {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.3);
}

.upload-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    padding: 5px;
    font-size: 12px;
}

.profile-form {
    padding: 15px;
}

.profile-form .form-group {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.profile-form label {
    width: 100px;
    color: var(--text-light);
    font-size: 14px;
}

.profile-form input,
.profile-form textarea {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.change-link {
    color: var(--primary);
    font-size: 13px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex: 1;
}

.save-btn {
    color: var(--white);
    font-size: 14px;
}

/* ========== 个人资料页新样式 ========== */
.profile-form-new {
    padding: 15px;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.form-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-card-title i {
    color: var(--primary);
    font-size: 16px;
}

.form-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.form-item:last-child {
    border-bottom: none;
}

.form-item.textarea-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.form-label {
    width: 90px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
}

.form-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text);
    text-align: right;
    background: transparent;
}

.form-input-wrap input::placeholder {
    color: var(--text-lighter);
}

.form-input-wrap i {
    font-size: 12px;
    color: var(--text-lighter);
}

.btn-change {
    color: var(--primary);
    font-size: 13px;
    padding: 4px 10px;
    background: #fff2e8;
    border-radius: 12px;
}

.form-item textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    font-size: 14px;
    resize: none;
    outline: none;
}

/* 性别选择 */
.gender-select {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.gender-option input {
    display: none;
}

.gender-option.active {
    background: var(--primary);
    color: var(--white);
}

.gender-option i {
    font-size: 14px;
}

/* ========== 认证信息页 ========== */
.auth-status {
    padding: 15px;
}

.status-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.status-card.personal .status-icon {
    background: #e6f7ff;
    color: #1890ff;
}

.status-card.enterprise .status-icon {
    background: #fff7e6;
    color: #faad14;
}

.status-info {
    flex: 1;
}

.status-text.verified {
    color: #52c41a;
}

.status-text.unverified {
    color: #999;
}

.btn-auth {
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
}

.auth-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.upload-box {
    width: 100%;
    height: 120px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
}

.btn-submit-auth {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 15px;
}

/* 身份证上传两列布局 */
.idcard-upload-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.idcard-box {
    flex: 1;
    height: 100px;
}

/* ========== 设置页 ========== */
.switch {
    position: relative;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
    border-radius: 25px;
    font-size: 15px;
}

/* ========== 客服中心页 ========== */
.service-hero {
    background: linear-gradient(135deg, var(--primary), #ff8f5a);
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.btn-call {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 500;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: var(--radius);
}

.service-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-item {
    background: #f8f8f8;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
}

.faq-answer {
    padding: 0 15px 15px;
    font-size: 13px;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========== 帮助中心页 ========== */
.help-search .search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 10px 15px;
}

.help-categories {
    display: flex;
    justify-content: space-around;
    padding: 20px 15px;
    background: var(--white);
    margin: 10px 0;
}

.help-cate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.help-cate-item i {
    font-size: 28px;
}

.guide-step {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ========== 投诉建议页 ========== */
.type-item {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
}

.type-item.active {
    background: var(--primary);
    color: var(--white);
}

.type-item input {
    display: none;
}

.word-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: var(--text-lighter);
}

.upload-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 12px;
}

.history-status.pending {
    background: #fff7e6;
    color: #faad14;
}

.history-status.resolved {
    background: #f6ffed;
    color: #52c41a;
}

.btn-submit-feedback {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 15px;
}

/* ========== 关于我们页 ========== */
.about-hero {
    background: linear-gradient(135deg, var(--primary), #ff8f5a);
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
}

.about-logo i {
    font-size: 64px;
    margin-bottom: 15px;
}

.version {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
}

.adv-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.about-footer {
    padding: 30px 15px;
    text-align: center;
}

.about-footer p {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

/* ========== 申请售后页 ========== */
.refund-type-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.refund-type-item input {
    display: none;
}

.refund-type-item:has(input:checked) {
    background: #fff7e6;
    border-color: var(--primary);
}

.refund-type-content {
    flex: 1;
}

.refund-type-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refund-type-desc {
    font-size: 12px;
    color: var(--text-lighter);
}

/* ========== 评价页 ========== */
.star-rating {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.star-rating.small {
    gap: 6px;
}

.star-rating .fa-star {
    font-size: 32px;
    color: #e8e8e8;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating.small .fa-star {
    font-size: 20px;
}

.star-rating .fa-star.active,
.star-rating .fa-star:hover {
    color: #faad14;
}

.quick-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.quick-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========== 查看物流页 ========== */
.logistics-status-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), #ff8f5a);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.logistics-status-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.logistics-status-info h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.logistics-status-info p {
    font-size: 13px;
    opacity: 0.9;
}

.logistics-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logistics-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.logistics-item:last-child {
    border-bottom: none;
}

.logistics-label {
    width: 80px;
    font-size: 13px;
    color: var(--text-light);
}

.logistics-value {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}

.copy-btn {
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 12px;
    color: var(--primary);
}

.address-display {
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius);
}

.address-user-info {
    margin-bottom: 8px;
}

.address-name {
    font-size: 15px;
    font-weight: 500;
    margin-right: 10px;
}

.address-phone {
    font-size: 14px;
    color: var(--text-light);
}

.address-full {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.logistics-timeline {
    padding-left: 20px;
    border-left: 2px solid #e8e8e8;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    width: 12px;
    height: 12px;
    background: #e8e8e8;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.timeline-item.active .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.timeline-content {
    margin-left: 10px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.5;
}

.timeline-time {
    font-size: 12px;
    color: var(--text-lighter);
}

.timeline-item.active .timeline-text {
    color: var(--primary);
    font-weight: 500;
}

.logistics-contact-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius);
    color: var(--text);
}

.logistics-contact-btn i {
    font-size: 24px;
    color: var(--primary);
}

.logistics-contact-btn span {
    font-size: 13px;
}

/* ========== 商品详情页 - 规格参数 ========== */
.spec-table {
    background: #f8f8f8;
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-row {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #e8e8e8;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    width: 100px;
    font-size: 13px;
    color: var(--text-light);
}

.spec-value {
    flex: 1;
    font-size: 13px;
    color: var(--text);
}

/* ========== 商品详情页 - 用户评价 ========== */
.review-summary {
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.review-score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.score-num {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
}

.score-stars {
    display: flex;
    gap: 2px;
}

.score-stars i {
    color: #faad14;
    font-size: 14px;
}

.score-text {
    font-size: 12px;
    color: var(--text-lighter);
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.review-tag {
    padding: 6px 12px;
    background: var(--white);
    border-radius: 14px;
    font-size: 12px;
    color: var(--text-light);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.review-item:last-child {
    border-bottom: none;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.review-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.review-user span {
    font-size: 13px;
    color: var(--text-light);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.review-stars i {
    color: #faad14;
    font-size: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-imgs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.review-imgs img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.review-time {
    font-size: 12px;
    color: var(--text-lighter);
}

/* ========== 我的订单页 ========== */
.order-list-container {
    padding: 10px;
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.order-shop-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text);
}

.order-shop-info i:first-child {
    color: var(--primary);
}

.order-status {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.order-card-body {
    padding: 15px;
}

.order-product {
    display: flex;
    gap: 12px;
}

.order-product img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.order-product-info {
    flex: 1;
}

.order-product-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.order-product-spec {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.order-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.order-product-price .price {
    color: var(--primary);
    font-size: 15px;
    font-weight: bold;
}

.order-product-price .original {
    font-size: 12px;
    color: var(--text-lighter);
    text-decoration: line-through;
}

.order-product-qty {
    font-size: 13px;
    color: var(--text-lighter);
}

.order-card-footer {
    padding: 12px 15px;
    background: #fafafa;
}

.order-total {
    text-align: right;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.order-total .total-price {
    color: var(--text);
    font-size: 15px;
    font-weight: bold;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-order-default {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text);
}

.btn-order-primary {
    padding: 8px 16px;
    background: var(--primary);
    border: none;
    border-radius: 16px;
    font-size: 13px;
    color: var(--white);
}

/* ========== 我的拼团页 ========== */
.group-list-container {
    padding: 10px;
}

.group-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    overflow: hidden;
}

.group-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #fff7e6, #fff);
}

.group-status-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.group-status-tag.grouping {
    background: #fff2e8;
    color: var(--primary);
}

.group-status-tag.success {
    background: #f6ffed;
    color: #52c41a;
}

.group-status-tag.failed {
    background: #f5f5f5;
    color: #999;
}

.group-time {
    font-size: 12px;
    color: var(--text-lighter);
}

.group-card-body {
    padding: 15px;
}

.group-product {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.group-product img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.group-product-info {
    flex: 1;
}

.group-product-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.group-price-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.group-price {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}

.group-price small {
    font-size: 12px;
    font-weight: normal;
}

.group-progress-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar-mini {
    flex: 1;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff8f5a);
    border-radius: 3px;
}

.progress-fill-mini.success {
    background: #52c41a;
}

.progress-fill-mini.failed {
    background: #999;
}

.progress-text {
    font-size: 11px;
    color: var(--primary);
    white-space: nowrap;
}

.group-members {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fafafa;
    border-radius: var(--radius);
}

.member-avatars {
    display: flex;
}

.member-avatars img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -8px;
}

.member-avatars img:first-child {
    margin-left: 0;
}

.member-more {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
    margin-left: -8px;
    border: 2px solid var(--white);
}

.member-text {
    font-size: 12px;
    color: var(--text-light);
}

.member-text b {
    color: var(--primary);
}

.group-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 15px;
    border-top: 1px solid #f5f5f5;
}

.btn-group-default {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text);
}

.btn-group-primary {
    padding: 8px 16px;
    background: var(--primary);
    border: none;
    border-radius: 16px;
    font-size: 13px;
    color: var(--white);
}

.btn-group-share {
    padding: 8px 16px;
    background: #fff2e8;
    border: 1px solid var(--primary);
    border-radius: 16px;
    font-size: 13px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
