/*!
 * 以纯集团 B2B订货系统 - ZARA风格原型
 * Version: V1.0
 * Author: AI Assistant
 */

/* ========== CSS Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 色彩系统 */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-medium: #666666;
    --color-text-light: #999999;
    --color-border: #EEEEEE;
    --color-success: #00C853;
    --color-warning: #FF9800;
    --color-error: #F44336;
    --color-bg-light: #F5F5F5;
    
    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
    
    /* 字号 */
    --font-size-title: 24px;
    --font-size-page: 18px;
    --font-size-product: 16px;
    --font-size-body: 14px;
    --font-size-small: 12px;
    
    /* 间距 */
    --spacing-page: 20px;
    --spacing-component: 16px;
    --spacing-item: 12px;
    
    /* 圆角 */
    --radius-button: 8px;
    --radius-card: 4px;
    --radius-input: 4px;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* ========== Page Container ========== */
.page {
    display: none;
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-white);
    padding-bottom: 60px;
}

.page.active {
    display: block;
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-page);
    background-color: var(--color-white);
    z-index: 100;
}

.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-title {
    font-size: var(--font-size-page);
    font-weight: 600;
}

.navbar-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-icon svg {
    width: 24px;
    height: 24px;
}

/* ========== Tabbar ========== */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    z-index: 100;
}

.tabbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.tabbar-item svg {
    width: 24px;
    height: 24px;
}

.tabbar-item span {
    font-size: var(--font-size-small);
}

.tabbar-item.active {
    color: var(--color-black);
}

.tabbar-item:not(.active) {
    color: var(--color-text-light);
}

/* ========== Cart Badge ========== */
.cart-badge {
    position: relative;
}

.cart-badge-num {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background-color: var(--color-error);
    color: var(--color-white);
    font-size: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== Common Button Styles ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: var(--font-size-body);
    border-radius: var(--radius-button);
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.btn-text {
    padding: 8px 12px;
}

/* ========== Product Card ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    padding: var(--spacing-component) var(--spacing-page);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 10px;
    border-radius: var(--radius-card);
}

.product-name {
    margin-top: 8px;
    font-size: var(--font-size-product);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-top: 4px;
    font-size: var(--font-size-page);
    font-weight: 600;
    color: var(--color-black);
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
    font-size: var(--font-size-body);
    border-radius: var(--radius-button);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast.show {
    opacity: 1;
}

/* ========== Loading ========== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-black);
    z-index: 1001;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0; opacity: 1; }
    50% { width: 70%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* ========== Swiper ========== */
.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-inner {
    display: flex;
    transition: transform 0.3s;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
}

/* ========== Category Nav ========== */
.category-nav {
    display: flex;
    gap: 20px;
    padding: var(--spacing-component) var(--spacing-page);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.category-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-name {
    font-size: var(--font-size-small);
    color: var(--color-text-dark);
}

/* ========== Input ========== */
.input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    font-size: var(--font-size-body);
}

.input::placeholder {
    color: var(--color-text-light);
}

/* ========== Search Bar ========== */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--spacing-component) var(--spacing-page);
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    background-color: var(--color-white);
}

.search-input-wrap svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
}

.search-input {
    flex: 1;
    border: none;
    font-size: var(--font-size-body);
}

.search-filter {
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
}

/* ========== Section Title ========== */
.section-title {
    padding: var(--spacing-component) var(--spacing-page);
    font-size: var(--font-size-product);
    font-weight: 600;
}

/* ========== Empty State ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: var(--color-text-light);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: var(--font-size-body);
}

/* ========== Modal ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: none;
}

.modal-overlay.show {
    display: block;
}

.modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    border-radius: 16px 16px 0 0;
    z-index: 201;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.modal.show {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--spacing-page);
    border-bottom: 1px solid var(--color-border);
}

.modal-title {
    font-size: var(--font-size-product);
    font-weight: 600;
}

.modal-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: var(--spacing-page);
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px var(--spacing-page);
    border-top: 1px solid var(--color-border);
}

/* ========== Spec Selector ========== */
.spec-selector {
    padding: var(--spacing-page);
}

.spec-title {
    font-size: var(--font-size-product);
    font-weight: 600;
    margin-bottom: 12px;
}

.spec-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.spec-btn {
    flex: 1;
    height: 36px;
    border: 1px solid var(--color-black);
    border-radius: var(--radius-card);
    font-size: var(--font-size-body);
}

.spec-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

.size-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.size-label {
    width: 40px;
    font-size: var(--font-size-body);
    font-weight: 500;
}

.size-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-black);
    border-radius: var(--radius-card);
    font-size: var(--font-size-body);
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

.size-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-black);
    border-radius: var(--radius-card);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input {
    width: 40px;
    height: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    text-align: center;
    font-size: var(--font-size-body);
}

/* ========== Ratio Options ========== */
.ratio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.ratio-option {
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    font-size: var(--font-size-body);
}

.ratio-option.active {
    border-color: var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.custom-ratio {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.custom-ratio input {
    width: 80px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    text-align: center;
}

/* ========== Bottom Action Bar ========== */
.bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-page);
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    z-index: 100;
}

.bottom-action-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bottom-action-right {
    display: flex;
    gap: 12px;
}

.bottom-action .btn {
    height: 36px;
    padding: 0 16px;
}

/* ========== Cart Item ========== */
.cart-item {
    display: flex;
    padding: var(--spacing-page);
    border-bottom: 1px solid var(--color-border);
}

.cart-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-checkbox.checked {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

.cart-checkbox.checked::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

.cart-image {
    width: 80px;
    height: 80px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-card);
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-name {
    font-size: var(--font-size-product);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-sku {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 4px;
}

.cart-delivery {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 2px;
}

.cart-sizes {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    font-size: var(--font-size-small);
}

.cart-size {
    color: var(--color-text-medium);
}

.cart-subtotal {
    font-size: var(--font-size-product);
    font-weight: 600;
    text-align: right;
    margin-top: auto;
}

/* ========== Address Card ========== */
.address-card {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-page);
    background-color: var(--color-bg-light);
    margin: var(--spacing-page);
    border-radius: var(--radius-card);
}

.address-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.address-info {
    flex: 1;
}

.address-name {
    font-size: var(--font-size-product);
    font-weight: 600;
}

.address-phone {
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
    margin-top: 4px;
}

.address-detail {
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
    margin-top: 4px;
}

.address-arrow {
    width: 24px;
    height: 24px;
    color: var(--color-text-light);
}

/* ========== Order Card ========== */
.order-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    margin: var(--spacing-page);
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px var(--spacing-page);
    border-bottom: 1px solid var(--color-border);
}

.order-no {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

.order-status {
    font-size: var(--font-size-small);
    padding: 4px 8px;
    border-radius: var(--radius-card);
}

.order-status.pending {
    background-color: #FFF3E0;
    color: var(--color-warning);
}

.order-status.shipped {
    background-color: #E3F2FD;
    color: #2196F3;
}

.order-status.partial {
    background-color: #FFF8E1;
    color: #FF9800;
}

.order-status.completed {
    background-color: #E8F5E9;
    color: var(--color-success);
}

.order-products {
    display: flex;
    padding: 12px var(--spacing-page);
    gap: 8px;
}

.order-product-thumb {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.order-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px var(--spacing-page);
    border-top: 1px solid var(--color-border);
}

.order-summary {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

.order-amount {
    font-size: var(--font-size-product);
    font-weight: 600;
}

.order-actions {
    display: flex;
    gap: 8px;
}

/* ========== Status Tabs ========== */
.status-tabs {
    display: flex;
    gap: 24px;
    padding: 0 var(--spacing-page);
    height: 40px;
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
}

.status-tab {
    position: relative;
    padding: 10px 0;
    font-size: var(--font-size-body);
    color: var(--color-text-light);
    white-space: nowrap;
}

.status-tab.active {
    color: var(--color-black);
    font-weight: 600;
}

.status-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-black);
}

/* ========== Timeline ========== */
.timeline {
    padding: var(--spacing-page);
}

.timeline-item {
    display: flex;
    gap: 12px;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: -20px;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-border);
    flex-shrink: 0;
    margin-top: 2px;
}

.timeline-dot.active {
    background-color: var(--color-black);
}

.timeline-dot.completed {
    background-color: var(--color-success);
}

.timeline-content {
    flex: 1;
    padding-bottom: 20px;
}

.timeline-title {
    font-size: var(--font-size-body);
    font-weight: 500;
}

.timeline-item:not(.active):not(.completed) .timeline-title {
    color: var(--color-text-light);
}

.timeline-time {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 4px;
}

/* ========== Order Detail Table ========== */
.order-table {
    width: 100%;
    padding: var(--spacing-page);
}

.order-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-small);
}

.order-table th,
.order-table td {
    padding: 8px 4px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.order-table th {
    font-weight: 600;
    background-color: var(--color-bg-light);
}

.order-table td {
    vertical-align: middle;
}

.order-table .align-left {
    text-align: left;
}

.order-table .align-right {
    text-align: right;
}

.order-table .product-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-table .product-thumb {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.order-table .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-table .green {
    color: var(--color-success);
}

.order-table .blue {
    color: #2196F3;
}

.order-table .total-row {
    font-weight: 600;
}

/* ========== User Profile ========== */
.user-profile {
    display: flex;
    align-items: center;
    padding: var(--spacing-page);
    background-color: var(--color-bg-light);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-border);
    margin-right: 16px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: var(--font-size-page);
    font-weight: 600;
}

.user-shop {
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
    margin-top: 4px;
}

/* ========== Menu List ========== */
.menu-list {
    padding: var(--spacing-component) 0;
}

.menu-item {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 var(--spacing-page);
}

.menu-item svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.menu-item span {
    flex: 1;
    font-size: var(--font-size-product);
}

.menu-arrow {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
}

.menu-item + .menu-item {
    border-top: 1px solid var(--color-border);
}

/* ========== Split Category Layout ========== */
.split-layout {
    display: flex;
    padding-top: 44px;
}

.category-sidebar {
    width: 100px;
    background-color: var(--color-bg-light);
    flex-shrink: 0;
}

.category-sidebar-item {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-body);
    color: var(--color-text-light);
}

.category-sidebar-item.active {
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 600;
}

.category-content {
    flex: 1;
    padding-top: 44px;
}

/* ========== Batch Actions ========== */
.batch-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 var(--spacing-page);
    border-bottom: 1px solid var(--color-border);
}

.batch-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-body);
}

.batch-delete {
    font-size: var(--font-size-body);
    color: var(--color-error);
}

/* ========== Footer ========== */
.footer-info {
    text-align: center;
    padding: 24px;
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

/* ========== Editable Mode ========== */
.edit-mode .batch-actions {
    display: flex;
}

.no-edit .batch-actions {
    display: none;
}

/* ========== Remarks ========== */
.remarks-section {
    padding: var(--spacing-component) var(--spacing-page);
}

.remarks-input {
    width: 100%;
    height: 80px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    font-size: var(--font-size-body);
    resize: none;
}

/* ========== Order Summary ========== */
.order-summary-section {
    padding: var(--spacing-component) var(--spacing-page);
    border-top: 1px solid var(--color-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: var(--font-size-body);
}

.summary-row.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-page);
    font-weight: 600;
}

/* ========== Product Detail ========== */
.product-detail-swiper {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-light);
}

.product-detail-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: var(--spacing-page);
}

.product-info-name {
    font-size: var(--font-size-title);
    font-weight: 600;
}

.product-info-sku {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 4px;
}

.product-info-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-black);
    margin-top: 12px;
}

.product-info-meta {
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
    margin-top: 8px;
}

/* ========== Section Header ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-component) var(--spacing-page);
}

.section-header h3 {
    font-size: var(--font-size-product);
    font-weight: 600;
}

/* ========== Product List ========== */
.product-list {
    padding: 0 var(--spacing-page);
}

.product-list-item {
    display: flex;
    padding: var(--spacing-item) 0;
    border-bottom: 1px solid var(--color-border);
}

.product-list-item:last-child {
    border-bottom: none;
}

.product-list-image {
    width: 100px;
    height: 100px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-card);
    margin-right: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-list-name {
    font-size: var(--font-size-product);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-list-sku {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 4px;
}

.product-list-price {
    font-size: var(--font-size-product);
    font-weight: 600;
    color: var(--color-black);
    margin-top: auto;
}

/* ========== Slide Actions ========== */
.slide-action {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background-color: var(--color-error);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-body);
}

/* ========== Address List ========== */
.address-list {
    padding: 0;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.address-main {
    flex: 1;
}

.address-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.address-name {
    font-size: var(--font-size-product);
    font-weight: 600;
}

.address-phone {
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
}

.address-default {
    font-size: 10px;
    padding: 2px 6px;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 2px;
}

.address-detail {
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
    line-height: 1.4;
}

.address-actions {
    display: flex;
    gap: 12px;
    margin-left: 12px;
}

.address-edit-btn {
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
}

.address-default-btn {
    font-size: var(--font-size-body);
    color: var(--color-text-light);
}

/* ========== Form Styles ========== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    font-size: var(--font-size-body);
    background-color: var(--color-white);
}

.form-input:focus {
    border-color: var(--color-black);
}

.form-textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    font-size: var(--font-size-body);
    resize: none;
    background-color: var(--color-white);
}

.form-textarea:focus {
    border-color: var(--color-black);
}

.form-area-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    background-color: var(--color-white);
    cursor: pointer;
}

.area-text {
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========== Switch ========== */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border);
    border-radius: 24px;
    transition: 0.3s;
}

.switch-slider::before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: var(--color-white);
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .switch-slider {
    background-color: var(--color-black);
}

.switch input:checked + .switch-slider::before {
    transform: translateX(20px);
}

/* ========== Settings Page ========== */
.settings-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    background-color: var(--color-bg-light);
    cursor: pointer;
}

.avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-hint {
    display: flex;
    align-items: center;
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

.settings-list {
    margin: 16px 0;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-label {
    font-size: var(--font-size-product);
    color: var(--color-text-dark);
}

.settings-value {
    font-size: var(--font-size-body);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
}

.settings-new {
    color: var(--color-error);
}

/* ========== Customer Service Page ========== */
.service-section {
    padding: 16px 20px;
}

.service-title {
    font-size: var(--font-size-product);
    font-weight: 600;
    margin-bottom: 12px;
}

.service-hotline {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    cursor: pointer;
}

.hotline-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.hotline-info {
    flex: 1;
}

.hotline-number {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
}

.hotline-time {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 4px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
}

.service-item:last-child {
    border-bottom: none;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.wechat-icon {
    background-color: #07C160;
    color: var(--color-white);
}

.work-icon {
    background-color: #5766F5;
    color: var(--color-white);
}

.service-info {
    flex: 1;
}

.service-name {
    font-size: var(--font-size-product);
    font-weight: 500;
}

.service-desc {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 2px;
}

/* ========== FAQ ========== */
.faq-list {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 12px;
    font-size: var(--font-size-body);
    cursor: pointer;
}

.faq-arrow {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
    transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 12px 14px;
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ========== About Us Page ========== */
.about-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    background: linear-gradient(180deg, #F5F5F5 0%, #FFFFFF 100%);
}

.about-logo {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-version {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    margin-top: 4px;
}

.about-section {
    padding: 20px;
}

.about-title {
    font-size: var(--font-size-product);
    font-weight: 600;
    margin-bottom: 12px;
}

.about-content {
    font-size: var(--font-size-body);
    color: var(--color-text-medium);
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    padding: 16px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.feature-name {
    font-size: var(--font-size-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

.contact-list {
    background-color: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

.contact-value {
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
    margin-top: 2px;
}

.about-footer {
    text-align: center;
    padding: 32px 20px;
    font-size: var(--font-size-small);
    color: var(--color-text-light);
}

.about-footer p {
    margin: 4px 0;
}
