﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f5f8fc;
    color: #1e2a3a;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 顶部公告栏 ===== */
.top-bar {
    background: #0f1825;
    color: #b6c8e0;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #1f2c3f;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .top-bar a {
        color: #b6c8e0;
        text-decoration: none;
        margin-left: 18px;
        transition: color 0.2s;
    }

        .top-bar a:hover {
            color: #ffffff;
        }

    .top-bar .highlight {
        color: #f6c343;
    }

/* ===== 主导航 ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 14px 24px;
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #0f1825;
    text-decoration: none;
}

    .logo i {
        color: #4f9cf7;
        font-size: 30px;
    }

    .logo span {
        letter-spacing: -0.5px;
    }

    .logo small {
        font-size: 12px;
        font-weight: 400;
        color: #5f738c;
        margin-left: 4px;
    }

.search-bar {
    display: flex;
    align-items: center;
    background: #f0f4fa;
    border-radius: 40px;
    padding: 4px 6px 4px 18px;
    flex: 1;
    max-width: 520px;
    min-width: 200px;
    margin: 0 20px;
    border: 1px solid #e2e8f0;
    transition: 0.15s;
}

    .search-bar:focus-within {
        border-color: #4f9cf7;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(79, 156, 247, 0.08);
    }

    .search-bar input {
        border: none;
        outline: none;
        background: transparent;
        padding: 10px 0;
        font-size: 14px;
        flex: 1;
        color: #1e2a3a;
    }

    .search-bar button {
        background: #1f2a3a;
        border: none;
        border-radius: 40px;
        padding: 8px 22px;
        color: #fff;
        font-weight: 500;
        font-size: 14px;
        cursor: pointer;
        transition: 0.15s;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .search-bar button:hover {
            background: #2c3b52;
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .header-actions a {
        color: #1f2a3a;
        text-decoration: none;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 500;
        transition: 0.15s;
    }

        .header-actions a i {
            font-size: 18px;
            color: #4f6f8f;
        }

        .header-actions a:hover {
            color: #4f9cf7;
        }

    .header-actions .cart-badge {
        background: #e74c3c;
        color: #fff;
        border-radius: 30px;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 600;
        line-height: 22px;
        margin-left: -6px;
    }

/* ===== 分类导航 (二级) ===== */
.category-nav {
    background: #ffffff;
    border-top: 1px solid #eef3fa;
    border-bottom: 1px solid #eef3fa;
    padding: 0 0;
}

    .category-nav .container {
        display: flex;
        align-items: center;
        gap: 28px;
        flex-wrap: wrap;
        padding: 0 24px;
    }

    .category-nav a {
        color: #2f4058;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        padding: 14px 0;
        border-bottom: 3px solid transparent;
        transition: 0.1s;
    }

        .category-nav a:hover,
        .category-nav a.active {
            color: #0f1825;
            border-bottom-color: #4f9cf7;
        }

    .category-nav .all-cat {
        color: #4f9cf7;
        font-weight: 600;
    }

        .category-nav .all-cat i {
            margin-right: 6px;
        }

/* ===== 轮播 / 横幅区 ===== */
.banner-section {
    margin: 24px 0 30px;
}

.banner-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    border-radius: 24px;
    overflow: hidden;
    background: #dce6f2;
    min-height: 200px;
}

.banner-main {
    background: linear-gradient(145deg, #1f2a3a, #2a3b54);
    padding: 38px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .banner-main h2 {
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .banner-main p {
        color: #b6c8e0;
        margin: 12px 0 18px;
        font-size: 16px;
        max-width: 480px;
    }

    .banner-main .btn-banner {
        background: #4f9cf7;
        border: none;
        padding: 12px 32px;
        border-radius: 40px;
        color: #fff;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        transition: 0.15s;
        width: fit-content;
    }

        .banner-main .btn-banner:hover {
            background: #3b86df;
        }

.banner-side {
    background: #eaf0f8;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    gap: 6px;
    justify-content: center;
}

    .banner-side .side-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

        .banner-side .side-item:last-child {
            border-bottom: none;
        }

        .banner-side .side-item i {
            font-size: 28px;
            color: #3b6f9e;
            width: 40px;
            text-align: center;
        }

        .banner-side .side-item span {
            font-weight: 500;
            color: #1f3348;
        }

        .banner-side .side-item small {
            color: #5f738c;
            font-size: 13px;
        }

/* ===== 商品分类展示 ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 36px 0 18px;
}

    .section-title h3 {
        font-size: 22px;
        font-weight: 600;
        color: #0b1829;
    }

    .section-title a {
        color: #4f9cf7;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 16px 20px;
    border: 1px solid #e9eff6;
    transition: 0.15s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        border-color: #cdddee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    }

.product-img {
    background: #f0f6fe;
    height: 180px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #4f6f8f;
    margin-bottom: 14px;
}

.product-card .product-name {
    font-weight: 600;
    font-size: 15px;
    color: #0f1825;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f4fc;
}

.product-card .price {
    font-weight: 700;
    color: #1a3a5c;
    font-size: 18px;
}

    .product-card .price small {
        font-weight: 400;
        font-size: 13px;
        color: #7a8fa9;
        text-decoration: line-through;
        margin-left: 6px;
    }

.product-card .shop {
    font-size: 13px;
    color: #5f738c;
}

    .product-card .shop i {
        color: #4f9cf7;
        margin-right: 4px;
    }

/* ===== 商家推荐 (B2B特色) ===== */
.vendor-showcase {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 28px 28px;
    border: 1px solid #e9eff6;
    margin: 32px 0;
}

    .vendor-showcase .vendor-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

        .vendor-showcase .vendor-header h3 {
            font-size: 20px;
            font-weight: 600;
        }

            .vendor-showcase .vendor-header h3 i {
                color: #4f9cf7;
                margin-right: 10px;
            }

.vendor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.vendor-item {
    background: #f8fafd;
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #edf3fa;
    transition: 0.1s;
}

    .vendor-item:hover {
        background: #f0f6fe;
    }

    .vendor-item .avatar {
        width: 52px;
        height: 52px;
        background: #dce6f2;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #2f4b6e;
        flex-shrink: 0;
    }

    .vendor-item .info .name {
        font-weight: 600;
        color: #0f1825;
    }

    .vendor-item .info .desc {
        font-size: 13px;
        color: #5f738c;
    }

    .vendor-item .badge {
        margin-left: auto;
        background: #e6f6ee;
        color: #1f7840;
        font-size: 12px;
        padding: 2px 14px;
        border-radius: 30px;
        font-weight: 500;
    }

/* ===== 底部 ===== */
.footer {
    background: #0f1825;
    color: #b6c8e0;
    margin-top: 48px;
    padding: 44px 0 24px;
}

    .footer .container {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer h4 {
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 16px;
        font-size: 16px;
    }

    .footer a {
        color: #b6c8e0;
        text-decoration: none;
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        transition: 0.15s;
    }

        .footer a:hover {
            color: #ffffff;
        }

    .footer .copyright {
        grid-column: 1 / -1;
        border-top: 1px solid #1f2c3f;
        padding-top: 24px;
        margin-top: 20px;
        text-align: center;
        font-size: 13px;
    }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .banner-wrapper {
        grid-template-columns: 1fr;
    }

    .banner-main h2 {
        font-size: 26px;
    }

    .footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        margin: 8px 0 0;
        flex-basis: 100%;
    }

    .category-nav .container {
        gap: 14px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 16px;
    }

    .category-nav a {
        font-size: 13px;
        padding: 12px 4px;
        white-space: nowrap;
    }

    .banner-main {
        padding: 28px 24px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .footer .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .top-bar .right-links {
        margin-top: 4px;
    }

    .top-bar a {
        margin-left: 0;
        margin-right: 14px;
    }

    .header-actions a span {
        display: none;
    }

    .banner-main h2 {
        font-size: 22px;
    }

    .vendor-list {
        grid-template-columns: 1fr;
    }
}

/* ===== 联系信息 ===== */
.contact-section {
    background: #ffffff;
    border-radius: 28px;
    padding: 36px 44px 40px;
    border: 1px solid #e9eff6;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

    .contact-section h2 {
        font-size: 26px;
        font-weight: 600;
        color: #0b1829;
        margin-bottom: 20px;
    }

        .contact-section h2 i {
            color: #4f9cf7;
            margin-right: 12px;
        }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

    .contact-grid .item {
        display: flex;
        align-items: center;
        gap: 14px;
        background: #f8fafd;
        padding: 16px 20px;
        border-radius: 18px;
        border: 1px solid #edf3fa;
    }

        .contact-grid .item i {
            font-size: 28px;
            color: #4f9cf7;
            width: 44px;
            text-align: center;
        }

        .contact-grid .item .info {
            font-size: 15px;
            color: #1f3348;
        }

            .contact-grid .item .info small {
                display: block;
                font-size: 13px;
                color: #5f738c;
            }
/* ===== 关于我们 内容 ===== */
.about-section {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 44px;
    border: 1px solid #e9eff6;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

    .about-section h2 {
        font-size: 26px;
        font-weight: 600;
        color: #0b1829;
        margin-bottom: 16px;
    }

        .about-section h2 i {
            color: #4f9cf7;
            margin-right: 12px;
        }

    .about-section p {
        font-size: 16px;
        color: #2f4058;
        margin-bottom: 16px;
        max-width: 100%;
    }

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

    .about-grid .item {
        background: #f8fafd;
        border-radius: 20px;
        padding: 24px 20px;
        text-align: center;
        border: 1px solid #edf3fa;
        transition: 0.15s;
    }

        .about-grid .item:hover {
            border-color: #cdddee;
            background: #f2f7ff;
        }

        .about-grid .item i {
            font-size: 36px;
            color: #4f9cf7;
            margin-bottom: 14px;
        }

        .about-grid .item h4 {
            font-weight: 600;
            font-size: 18px;
            color: #0b1829;
        }

        .about-grid .item p {
            font-size: 14px;
            color: #5f738c;
            margin-top: 6px;
            margin-bottom: 0;
        }
/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 18px 0 8px;
    font-size: 14px;
    color: #6a7e99;
}

    .breadcrumb a {
        color: #4f6f8f;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #1f2a3a;
        }

    .breadcrumb .sep {
        margin: 0 8px;
    }

/* ===== 商品详情主体 ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    border-radius: 28px;
    padding: 32px 36px;
    border: 1px solid #e9eff6;
    margin: 16px 0 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

/* 左侧 - 图片区 */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .product-gallery .main-img {
        background: #f0f6fe;
        border-radius: 24px;
        height: 380px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 80px;
        color: #3b6f9e;
        border: 1px solid #eef3fa;
    }

    .product-gallery .thumbnails {
        display: flex;
        gap: 12px;
    }

        .product-gallery .thumbnails .thumb {
            width: 72px;
            height: 72px;
            border-radius: 16px;
            background: #f0f6fe;
            border: 2px solid transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: #4f6f8f;
            cursor: default;
            transition: 0.1s;
        }

            .product-gallery .thumbnails .thumb.active {
                border-color: #4f9cf7;
                background: #e8f0fe;
            }

/* 右侧 - 信息区 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .product-info .product-name {
        font-size: 28px;
        font-weight: 700;
        color: #0b1829;
        line-height: 1.3;
    }

    .product-info .product-sub {
        color: #5f738c;
        font-size: 15px;
    }

    .product-info .rating {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        color: #4d637e;
    }

        .product-info .rating .stars {
            color: #f6c343;
            letter-spacing: 2px;
        }

    .product-info .price-box {
        background: #f8fafd;
        border-radius: 18px;
        padding: 18px 22px;
        border: 1px solid #edf3fa;
        display: flex;
        align-items: baseline;
        gap: 16px;
        flex-wrap: wrap;
    }

        .product-info .price-box .current {
            font-size: 32px;
            font-weight: 700;
            color: #c0392b;
        }

        .product-info .price-box .original {
            font-size: 18px;
            color: #7a8fa9;
            text-decoration: line-through;
        }

        .product-info .price-box .discount {
            background: #fdeaea;
            color: #b13e3e;
            padding: 2px 14px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 500;
        }

    .product-info .meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 40px;
        font-size: 14px;
        color: #3f5670;
        padding: 10px 0;
        border-bottom: 1px solid #f0f4fc;
    }

        .product-info .meta-row span i {
            margin-right: 6px;
            color: #6f88a3;
        }

/* 规格选择 */
.spec-group {
    margin: 6px 0;
}

    .spec-group .spec-label {
        font-weight: 500;
        font-size: 14px;
        color: #1f3348;
        margin-bottom: 8px;
        display: block;
    }

    .spec-group .spec-options {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

        .spec-group .spec-options .opt {
            padding: 6px 18px;
            border-radius: 30px;
            border: 1px solid #dce4ef;
            background: #fafcff;
            font-size: 14px;
            cursor: default;
            transition: 0.1s;
        }

            .spec-group .spec-options .opt.active {
                border-color: #4f9cf7;
                background: #e8f0fe;
                font-weight: 500;
            }

/* 数量 & 按钮 */
.qty-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 6px 0 10px;
    flex-wrap: wrap;
}

    .qty-section .qty-control {
        display: flex;
        align-items: center;
        border: 1px solid #dce4ef;
        border-radius: 40px;
        overflow: hidden;
    }

        .qty-section .qty-control button {
            background: #f8fafd;
            border: none;
            padding: 8px 16px;
            font-size: 18px;
            cursor: default;
            color: #1f2a3a;
            transition: 0.1s;
        }

        .qty-section .qty-control span {
            padding: 8px 18px;
            font-weight: 500;
            font-size: 16px;
            min-width: 40px;
            text-align: center;
            border-left: 1px solid #dce4ef;
            border-right: 1px solid #dce4ef;
            background: #fff;
        }

    .qty-section .stock-info {
        color: #2b7a4b;
        font-size: 14px;
        font-weight: 500;
    }

        .qty-section .stock-info i {
            margin-right: 4px;
        }

.action-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn {
    padding: 14px 36px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #1f2a3a;
    color: #fff;
}

    .btn-primary:hover {
        background: #2c3b52;
    }

.btn-success {
    background: #c0392b;
    color: #fff;
}

    .btn-success:hover {
        background: #a93226;
    }

.btn-outline {
    background: transparent;
    border: 1px solid #dce4ef;
    color: #1f2a3a;
}

    .btn-outline:hover {
        background: #f0f4fa;
    }

/* ===== 商品详情 Tab ===== */
.detail-tabs {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e9eff6;
    padding: 0 0 8px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

    .detail-tabs .tab-nav {
        display: flex;
        gap: 32px;
        padding: 0 32px;
        border-bottom: 1px solid #eef3fa;
    }

        .detail-tabs .tab-nav .tab {
            padding: 18px 0 14px;
            font-weight: 600;
            font-size: 16px;
            color: #4d637e;
            border-bottom: 3px solid transparent;
            cursor: default;
        }

            .detail-tabs .tab-nav .tab.active {
                color: #0b1829;
                border-bottom-color: #4f9cf7;
            }

    .detail-tabs .tab-content {
        padding: 28px 32px 32px;
        color: #2f4058;
        font-size: 15px;
    }

        .detail-tabs .tab-content p {
            margin-bottom: 12px;
        }

        .detail-tabs .tab-content ul {
            padding-left: 24px;
            margin-bottom: 12px;
        }

            .detail-tabs .tab-content ul li {
                margin-bottom: 4px;
            }
/* ===== 购物车主体 ===== */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin: 16px 0 32px;
}

/* 左侧 - 商品列表 */
.cart-items {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e9eff6;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

    .cart-items .cart-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid #f0f4fc;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

        .cart-items .cart-header .left {
            display: flex;
            align-items: center;
            gap: 14px;
        }

            .cart-items .cart-header .left input[type="checkbox"] {
                width: 18px;
                height: 18px;
                accent-color: #4f9cf7;
                cursor: default;
            }

            .cart-items .cart-header .left label {
                font-weight: 500;
                color: #1f3348;
                font-size: 15px;
            }

        .cart-items .cart-header .right a {
            color: #6a7e99;
            text-decoration: none;
            font-size: 14px;
        }

            .cart-items .cart-header .right a:hover {
                color: #c0392b;
            }

/* 购物车商品项 */
.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f4fc;
    align-items: center;
}

    .cart-item:last-child {
        border-bottom: none;
    }

    .cart-item .item-check {
        display: flex;
        align-items: center;
    }

        .cart-item .item-check input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #4f9cf7;
            cursor: default;
        }

    .cart-item .item-info {
        display: flex;
        gap: 16px;
        align-items: center;
        flex: 1;
    }

        .cart-item .item-info .thumb {
            width: 72px;
            height: 72px;
            background: #f0f6fe;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: #3b6f9e;
            flex-shrink: 0;
        }

        .cart-item .item-info .detail .name {
            font-weight: 600;
            font-size: 16px;
            color: #0b1829;
        }

        .cart-item .item-info .detail .meta {
            font-size: 13px;
            color: #5f738c;
            margin-top: 2px;
        }

            .cart-item .item-info .detail .meta i {
                margin-right: 4px;
            }

    .cart-item .item-right {
        display: flex;
        align-items: center;
        gap: 24px;
    }

        .cart-item .item-right .price {
            font-weight: 600;
            font-size: 17px;
            color: #0b1829;
            min-width: 70px;
            text-align: right;
        }

        .cart-item .item-right .qty-control {
            display: flex;
            align-items: center;
            border: 1px solid #dce4ef;
            border-radius: 40px;
            overflow: hidden;
        }

            .cart-item .item-right .qty-control button {
                background: #f8fafd;
                border: none;
                padding: 4px 14px;
                font-size: 16px;
                cursor: default;
                color: #1f2a3a;
            }

            .cart-item .item-right .qty-control span {
                padding: 4px 14px;
                font-weight: 500;
                font-size: 15px;
                min-width: 36px;
                text-align: center;
                border-left: 1px solid #dce4ef;
                border-right: 1px solid #dce4ef;
                background: #fff;
            }

        .cart-item .item-right .remove {
            color: #9aafc7;
            font-size: 16px;
            cursor: default;
            transition: 0.15s;
        }

            .cart-item .item-right .remove:hover {
                color: #c0392b;
            }

/* 右侧 - 结算面板 */
.cart-summary {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e9eff6;
    padding: 28px 26px;
    height: fit-content;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    position: sticky;
    top: 100px;
}

    .cart-summary h3 {
        font-size: 20px;
        font-weight: 600;
        color: #0b1829;
        margin-bottom: 20px;
        padding-bottom: 14px;
        border-bottom: 1px solid #f0f4fc;
    }

    .cart-summary .row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-size: 15px;
        color: #2f4058;
    }

        .cart-summary .row.total {
            font-size: 20px;
            font-weight: 700;
            color: #0b1829;
            border-top: 2px solid #f0f4fc;
            padding-top: 16px;
            margin-top: 8px;
        }

            .cart-summary .row.total .amount {
                color: #c0392b;
            }

    .cart-summary .btn-checkout {
        width: 100%;
        padding: 16px;
        border-radius: 40px;
        border: none;
        background: #c0392b;
        color: #fff;
        font-weight: 700;
        font-size: 18px;
        cursor: pointer;
        transition: 0.15s;
        margin-top: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .cart-summary .btn-checkout:hover {
            background: #a93226;
        }

    .cart-summary .coupon {
        display: flex;
        gap: 8px;
        margin: 16px 0 8px;
    }

        .cart-summary .coupon input {
            flex: 1;
            padding: 10px 14px;
            border-radius: 30px;
            border: 1px solid #dce4ef;
            font-size: 14px;
            outline: none;
            background: #fafcff;
        }

            .cart-summary .coupon input:focus {
                border-color: #4f9cf7;
            }

        .cart-summary .coupon button {
            padding: 10px 20px;
            border-radius: 30px;
            border: none;
            background: #1f2a3a;
            color: #fff;
            font-weight: 500;
            cursor: pointer;
            font-size: 14px;
        }

            .cart-summary .coupon button:hover {
                background: #2c3b52;
            }

/* ===== 下单主布局 ===== */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    margin: 16px 0 32px;
}

/* 左侧表单区 */
.checkout-form {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e9eff6;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

    .checkout-form .section {
        margin-bottom: 28px;
        padding-bottom: 28px;
        border-bottom: 1px solid #f0f4fc;
    }

        .checkout-form .section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    .checkout-form .section-title {
        font-weight: 600;
        font-size: 18px;
        color: #0b1829;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .checkout-form .section-title i {
            color: #4f9cf7;
        }

/* 收货地址 */
.address-box {
    background: #f8fafd;
    border-radius: 18px;
    padding: 18px 22px;
    border: 1px solid #edf3fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .address-box .info .name {
        font-weight: 600;
        font-size: 16px;
        color: #0b1829;
    }

    .address-box .info .detail {
        font-size: 14px;
        color: #2f4058;
        margin-top: 2px;
    }

    .address-box .info .tag {
        background: #e6f6ee;
        color: #1f7840;
        font-size: 12px;
        padding: 1px 12px;
        border-radius: 30px;
        font-weight: 500;
        margin-left: 10px;
    }

    .address-box .action a {
        color: #4f9cf7;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
    }

/* 商品列表（下单预览） */
.order-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4fc;
}

    .order-item:last-child {
        border-bottom: none;
    }

    .order-item .thumb {
        width: 60px;
        height: 60px;
        background: #f0f6fe;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #3b6f9e;
        flex-shrink: 0;
    }

    .order-item .info {
        flex: 1;
    }

        .order-item .info .name {
            font-weight: 500;
            font-size: 15px;
            color: #0b1829;
        }

        .order-item .info .meta {
            font-size: 13px;
            color: #5f738c;
        }

            .order-item .info .meta i {
                margin-right: 4px;
            }

    .order-item .price-qty {
        text-align: right;
        font-weight: 500;
        font-size: 15px;
        color: #0b1829;
    }

        .order-item .price-qty small {
            font-weight: 400;
            color: #5f738c;
            font-size: 13px;
        }

/* 配送方式 & 支付方式 */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .option-group .opt {
        padding: 10px 22px;
        border-radius: 40px;
        border: 1px solid #dce4ef;
        background: #fafcff;
        font-size: 14px;
        cursor: default;
        transition: 0.1s;
    }

        .option-group .opt.active {
            border-color: #4f9cf7;
            background: #e8f0fe;
            font-weight: 500;
        }

        .option-group .opt i {
            margin-right: 6px;
            color: #4f6f8f;
        }

/* 备注 */
.checkout-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid #dce4ef;
    font-size: 14px;
    resize: vertical;
    min-height: 70px;
    outline: none;
    background: #fafcff;
    font-family: inherit;
}

    .checkout-form textarea:focus {
        border-color: #4f9cf7;
        box-shadow: 0 0 0 3px rgba(79, 156, 247, 0.08);
    }

/* 右侧结算面板 */
.checkout-summary {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e9eff6;
    padding: 28px 26px;
    height: fit-content;
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    position: sticky;
    top: 100px;
}

    .checkout-summary h3 {
        font-size: 20px;
        font-weight: 600;
        color: #0b1829;
        margin-bottom: 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid #f0f4fc;
    }

    .checkout-summary .row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 15px;
        color: #2f4058;
    }

        .checkout-summary .row.total {
            font-size: 20px;
            font-weight: 700;
            color: #0b1829;
            border-top: 2px solid #f0f4fc;
            padding-top: 16px;
            margin-top: 8px;
        }

            .checkout-summary .row.total .amount {
                color: #c0392b;
            }

    .checkout-summary .btn-submit {
        width: 100%;
        padding: 16px;
        border-radius: 40px;
        border: none;
        background: #c0392b;
        color: #fff;
        font-weight: 700;
        font-size: 18px;
        cursor: pointer;
        transition: 0.15s;
        margin-top: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .checkout-summary .btn-submit:hover {
            background: #a93226;
        }
/* ===== 收货地址表单 (文本框) ===== */
.address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

    .address-form .full-width {
        grid-column: 1 / -1;
    }

    .address-form .form-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .address-form .form-group label {
            font-weight: 500;
            font-size: 14px;
            color: #1f3348;
        }

            .address-form .form-group label .required {
                color: #c0392b;
                margin-left: 2px;
            }

    .address-form .form-control {
        padding: 10px 14px;
        border-radius: 14px;
        border: 1px solid #dce4ef;
        background: #fafcff;
        font-size: 14px;
        outline: none;
        transition: 0.15s;
        color: #1a2634;
        width: 100%;
    }

        .address-form .form-control:focus {
            border-color: #4f9cf7;
            box-shadow: 0 0 0 3px rgba(79, 156, 247, 0.12);
            background: #fff;
        }
/* ===== 支付主体 ===== */
.payment-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px 0 40px;
}

.payment-card {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid #e9eff6;
    padding: 40px 48px 44px;
    max-width: 620px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    text-align: center;
}

    .payment-card .order-info {
        font-size: 14px;
        color: #5f738c;
        margin-bottom: 6px;
    }

        .payment-card .order-info strong {
            color: #0b1829;
        }

    .payment-card .amount {
        font-size: 36px;
        font-weight: 700;
        color: #c0392b;
        margin: 8px 0 20px;
    }

    .payment-card .qr-placeholder {
        width: 220px;
        height: 220px;
        background: #ffffff;
        margin: 8px auto 16px;
        border-radius: 20px;
        border: 2px dashed #dce4ef;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #4f6f8f;
        font-size: 14px;
    }

        .payment-card .qr-placeholder i {
            font-size: 64px;
            color: #1f2a3a;
            opacity: 0.85;
        }

        .payment-card .qr-placeholder .hint {
            font-size: 13px;
            color: #6a7e99;
        }

    .payment-card .payment-methods {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 18px 0 22px;
    }

        .payment-card .payment-methods .method {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 20px;
            border-radius: 40px;
            border: 2px solid #e9eff6;
            background: #fafcff;
            font-weight: 500;
            font-size: 15px;
            cursor: default;
            transition: 0.15s;
        }

            .payment-card .payment-methods .method.active {
                border-color: #4f9cf7;
                background: #e8f0fe;
            }

            .payment-card .payment-methods .method i {
                font-size: 20px;
            }

            .payment-card .payment-methods .method .fab.fa-weixin {
                color: #07c160;
            }

            .payment-card .payment-methods .method .fab.fa-alipay {
                color: #1677ff;
            }

    .payment-card .status-tip {
        font-size: 14px;
        color: #5f738c;
        margin-top: 6px;
    }

        .payment-card .status-tip i {
            color: #f6c343;
            margin-right: 4px;
        }

    .payment-card .actions {
        display: flex;
        gap: 14px;
        justify-content: center;
        margin-top: 24px;
        flex-wrap: wrap;
    }

.btn {
    padding: 12px 32px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #1f2a3a;
    color: #fff;
}

    .btn-primary:hover {
        background: #2c3b52;
    }

.btn-outline {
    background: transparent;
    border: 1px solid #dce4ef;
    color: #1f2a3a;
}

    .btn-outline:hover {
        background: #f0f4fa;
    }

.btn-success {
    background: #1a7a4a;
    color: #fff;
}

    .btn-success:hover {
        background: #136a3e;
    }
