/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1677ff;
    --primary-dark: #0958d9;
    --primary-light: #e6f4ff;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #ff4d4f;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

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

/* ===== 顶部导航 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

.nav a.active,
.nav a:hover {
    color: var(--primary);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-gray);
    border-radius: 20px;
    padding: 6px 14px;
    width: 200px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: var(--text-primary);
}

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

.cart-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-gray);
    font-size: 18px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    gap: 6px;
}

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

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

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

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== Hero Banner ===== */
.hero {
    background: linear-gradient(135deg, #0c1a3a 0%, #1a3a6e 50%, #0d47a1 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 119, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82, 196, 26, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #69b1ff, #91caff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(22, 119, 255, 0.4);
}

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-card-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #69b1ff, #1677ff);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hero-card-title h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.hero-card-title p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 24px;
    font-weight: 700;
    color: #69b1ff;
}

.hero-stat .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ===== 通用区块 ===== */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 产品展示 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.product-tag.hot {
    background: var(--warning);
}

.product-tag.new {
    background: var(--success);
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--danger);
}

.product-price .unit {
    font-size: 12px;
    font-weight: 400;
}

.product-btn {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.product-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ===== 服务特色 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), #e6f4ff);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 关于我们 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.about-stat .num {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.about-stat .label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-visual {
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
}

.about-visual-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.about-visual-card:last-child {
    margin-bottom: 0;
    margin-left: 40px;
}

.about-visual-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-visual-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin-bottom: 6px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 16px 0;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumb-inner a:hover {
    color: var(--primary);
}

.breadcrumb-inner .current {
    color: var(--text-primary);
}

/* ===== 商品列表页 ===== */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    padding: 30px 0;
}

.sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 84px;
}

.sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.category-list li {
    margin-bottom: 4px;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.category-list li a:hover,
.category-list li a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.category-list li a .count {
    font-size: 12px;
    color: var(--text-light);
}

.products-main .products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.products-toolbar .sort-options {
    display: flex;
    gap: 16px;
}

.products-toolbar .sort-options a {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.products-toolbar .sort-options a.active {
    background: var(--primary);
    color: white;
}

.products-toolbar .result-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.products-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== 商品详情页 ===== */
.product-detail {
    padding: 30px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.product-gallery {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.product-main-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
}

.product-thumbs {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border);
}

.product-thumb {
    width: 70px;
    height: 70px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-thumb.active {
    border-color: var(--primary);
}

.product-info-detail h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.product-price-box {
    background: linear-gradient(135deg, #fff1f0, #fff2e8);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: var(--danger);
}

.price-current .symbol {
    font-size: 20px;
}

.price-original {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-discount {
    background: var(--danger);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.meta-item .label {
    color: var(--text-secondary);
}

.meta-item .value {
    color: var(--text-primary);
    font-weight: 500;
}

.product-specs {
    margin-bottom: 24px;
}

.spec-group {
    margin-bottom: 16px;
}

.spec-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
}

.spec-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.spec-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

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

.quantity-row label {
    font-size: 14px;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.product-actions {
    display: flex;
    gap: 16px;
}

.product-actions .btn {
    flex: 1;
    padding: 14px;
    font-size: 16px;
}

.btn-buy {
    background: linear-gradient(135deg, #ff7a45, #ff4d4f);
    color: white;
}

.btn-buy:hover {
    opacity: 0.9;
    color: white;
}

/* 商品详情标签页 */
.product-tabs {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-gray);
}

.tab-item {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--bg-white);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.detail-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-list-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.feature-list-item .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.feature-list-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-list-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.spec-table th {
    background: var(--bg-gray);
    font-weight: 600;
    width: 160px;
    color: var(--text-secondary);
}

/* ===== 支付页 ===== */
.payment-page {
    padding: 30px 0 60px;
    background: var(--bg-gray);
    min-height: calc(100vh - 64px);
}

.payment-container {
    max-width: 900px;
    margin: 0 auto;
}

.payment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.step-item.active .step-num {
    background: var(--primary);
    color: white;
}

.step-item.done .step-num {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 16px;
}

.step-item.done + .step-line {
    background: var(--success);
}

.payment-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.payment-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-card-header h3 {
    font-size: 17px;
    font-weight: 600;
}

.order-no {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-items {
    padding: 20px 24px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

.order-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.order-item-info .spec {
    font-size: 12px;
    color: var(--text-secondary);
}

.order-item-price {
    text-align: right;
}

.order-item-price .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.order-item-price .qty {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.order-summary {
    padding: 20px 24px;
    background: var(--bg-gray);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row .label {
    color: var(--text-secondary);
}

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

.summary-row.total .value {
    color: var(--danger);
    font-size: 24px;
}

.payment-methods {
    padding: 20px 24px;
}

.payment-methods h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover {
    border-color: var(--primary-light);
}

.payment-method.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 16px;
    flex-shrink: 0;
}

.payment-method-icon.alipay {
    background: #1677ff;
    color: white;
}

.payment-method-icon.wechat {
    background: #07c160;
    color: white;
}

.payment-method-icon.unionpay {
    background: #e60012;
    color: white;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.payment-method-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.payment-method .radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method.active .radio {
    border-color: var(--primary);
}

.payment-method.active .radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.payment-actions {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
}

.payment-actions .total-amount {
    font-size: 14px;
    color: var(--text-secondary);
}

.payment-actions .total-amount span {
    font-size: 28px;
    font-weight: 700;
    color: var(--danger);
}

.payment-actions .btn {
    padding: 14px 48px;
    font-size: 16px;
}

.payment-tips {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-inner,
    .about-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .products-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
