/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f5f5f5;
    color: #333;
    min-width: 1200px;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #e4393c;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* 顶部导航 */
.top-bar {
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    color: #666;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    height: 30px;
    line-height: 30px;
}

.top-bar a {
    color: #666;
    font-size: 12px;
}

.top-bar a:hover {
    color: #e4393c;
}

.top-bar .divider {
    margin: 0 8px;
    color: #ccc;
}

.top-bar .badge {
    background: #e4393c;
    color: #fff;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 3px;
}

/* 头部 */
.header {
    background: #fff;
    padding: 20px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 32px;
    color: #2d8f4e;
    font-weight: bold;
}

.logo p {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 搜索框区域 */
.search-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 500px;
}

.search-box input {
    flex: 1;
    height: 40px;
    border: 2px solid #2d8f4e;
    border-right: none;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    width: 100px;
    height: 40px;
    background: #2d8f4e;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background: #1f6b3a;
}

.hot-searches {
    width: 100%;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.hot-searches a {
    color: #666;
    margin-left: 10px;
}

.hot-searches a:hover {
    color: #e4393c;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 2px solid #2d8f4e;
    color: #2d8f4e;
    border-radius: 4px;
    font-size: 14px;
}

.cart-btn:hover {
    background: #2d8f4e;
    color: #fff;
}

.cart-count {
    background: #e4393c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* 分类导航 */
.category-nav {
    background: #fff;
    border-bottom: 2px solid #2d8f4e;
    position: relative;
}

.category-nav .container {
    display: flex;
    height: 40px;
}

.all-categories {
    width: 210px;
    background: #2d8f4e;
    color: #fff;
    line-height: 40px;
    padding: 0 15px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.all-categories i {
    margin-right: 10px;
}

.category-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 210px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.all-categories:hover .category-dropdown {
    display: block;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item:hover {
    background: #f0f7f2;
    color: #2d8f4e;
}

.cat-desc {
    font-size: 10px;
    color: #999;
    margin-left: 5px;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.main-nav a {
    padding: 0 20px;
    line-height: 40px;
    font-size: 14px;
    color: #333;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2d8f4e;
}

/* 主页Banner区域 */
.home-banner {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.side-categories {
    width: 210px;
    background: #fff;
    padding: 10px 0;
}

.side-cat-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.side-cat-item:hover,
.side-cat-item.active {
    background: #f0f7f2;
    color: #2d8f4e;
}

.side-cat-item i:first-child {
    width: 25px;
    color: #2d8f4e;
}

.side-cat-item span {
    flex: 1;
    font-size: 14px;
}

.side-cat-item i:last-child {
    color: #ccc;
    font-size: 12px;
}

.banner-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.banner-text h2 {
    font-size: 36px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text p {
    font-size: 18px;
    margin: 15px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2d8f4e;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn:hover {
    background: #1f6b3a;
    color: #fff;
}

/* 侧边促销信息 */
.side-promos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 200px;
}

.promo-item {
    background: #fff;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.promo-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.promo-item i {
    font-size: 20px;
    color: #2d8f4e;
}

.promo-item h4 {
    font-size: 13px;
    margin-bottom: 2px;
}

.promo-item p {
    font-size: 11px;
    color: #999;
}

/* 快捷入口 */
.quick-links {
    display: flex;
    justify-content: space-around;
    background: #fff;
    padding: 25px;
    margin-top: 15px;
    border-radius: 4px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.quick-item:hover {
    transform: translateY(-3px);
}

.quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.quick-item span {
    font-size: 13px;
    color: #333;
}

/* 通用区块样式 */
.section {
    margin-top: 20px;
    background: #fff;
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2d8f4e;
}

.section-header h2 {
    font-size: 20px;
    color: #333;
}

.more-link {
    color: #999;
    font-size: 13px;
}

.more-link:hover {
    color: #2d8f4e;
}

/* 秒杀区块 */
.seckill-section .section-header {
    border-bottom-color: #e4393c;
}

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

.seckill-title i {
    color: #e4393c;
    font-size: 24px;
}

.seckill-title h2 {
    color: #e4393c;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.countdown .time {
    background: #333;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* 商品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.seckill-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-img {
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 3px;
    color: #fff;
}

.tag:not(.seckill-tag) {
    background: #2d8f4e;
}

.seckill-tag {
    background: #e4393c;
}

/* 检测报告标识 */
.test-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(45,143,78,0.9);
    color: #fff;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
}

/* 已售数量 */
.sold-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    height: 42px;
}

.product-info .desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

/* 商品标签 */
.product-tags {
    display: flex;
    gap: 5px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.tag-item {
    font-size: 11px;
    padding: 2px 6px;
    background: #f0f7f2;
    color: #2d8f4e;
    border-radius: 3px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price .current {
    font-size: 18px;
    color: #e4393c;
    font-weight: bold;
}

.price .original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.price .sales {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.shop-info {
    margin: 8px 0;
}

.shop-name {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 3px;
}

/* 秒杀进度条 */
.progress-bar {
    background: #ffe0e0;
    height: 18px;
    border-radius: 9px;
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar .progress {
    background: linear-gradient(90deg, #ff6b6b, #e4393c);
    height: 100%;
    border-radius: 9px;
    transition: width 0.3s;
}

.progress-bar span {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #fff;
    font-weight: bold;
}

/* Tab链接 */
.tab-links {
    display: flex;
    gap: 20px;
}

.tab-links a {
    color: #666;
    font-size: 14px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.tab-links a:hover,
.tab-links a.active {
    color: #2d8f4e;
    border-bottom-color: #2d8f4e;
}

/* 功效分类专区 */
.effect-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.effect-section .section-header h2 i {
    color: #e74c3c;
    margin-right: 10px;
}

.section-desc {
    font-size: 13px;
    color: #999;
}

.effect-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.effect-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.effect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.effect-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin: 0 auto 10px;
}

.effect-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.effect-card p {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.effect-count {
    font-size: 11px;
    color: #2d8f4e;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 新品上市 */
.new-arrival-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.new-arrival-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #eee;
    position: relative;
}

.new-arrival-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.new-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 1;
}

.new-arrival-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.new-arrival-card h4 {
    padding: 10px 15px 5px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-desc {
    padding: 0 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.new-arrival-card .price {
    padding: 0 15px;
}

.new-arrival-card .shop-info {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* 品牌店铺 */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.brand-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.brand-card:hover {
    border-color: #2d8f4e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand-logo {
    font-size: 40px;
    margin-bottom: 10px;
}

.brand-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.brand-card p {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.brand-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.brand-tags span {
    font-size: 11px;
    padding: 3px 8px;
    background: #fff3f3;
    color: #e4393c;
    border-radius: 3px;
}

.brand-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    border: 1px solid #2d8f4e;
    color: #2d8f4e;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.3s;
}

.brand-link:hover {
    background: #2d8f4e;
    color: #fff;
}

/* 体质调理专区 */
.constitution-section .section-header h2 i {
    color: #9b59b6;
    margin-right: 10px;
}

.constitution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.constitution-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.constitution-card:hover {
    border-color: #9b59b6;
    box-shadow: 0 5px 20px rgba(155,89,182,0.1);
}

.const-icon {
    display: inline-block;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.constitution-card h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.constitution-card p {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.const-products {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.const-products img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.const-link {
    font-size: 12px;
    color: #9b59b6;
}

/* 养生资讯 */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.news-card {
    cursor: pointer;
    transition: all 0.3s;
}

.news-card:hover h4 {
    color: #2d8f4e;
}

.news-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
}

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

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    background: #e8f5e9;
    color: #2d8f4e;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.news-content h4 {
    font-size: 15px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.news-content p {
    font-size: 12px;
    color: #999;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.news-meta i {
    margin-right: 5px;
}

/* 底部 */
.footer {
    background: #fff;
    margin-top: 30px;
    padding-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul a {
    color: #666;
    font-size: 13px;
}

.footer-col ul a:hover {
    color: #2d8f4e;
}

.service-phone {
    font-size: 20px;
    color: #2d8f4e;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.service-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    border: 1px dashed #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.qr-placeholder i {
    font-size: 30px;
    margin-bottom: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

/* 筛选区域 */
.filter-section {
    background: #fff;
    padding: 15px 0;
    margin-top: 15px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-row label {
    width: 80px;
    font-size: 12px;
    color: #999;
    padding-top: 5px;
}

.filter-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tags a {
    padding: 5px 12px;
    font-size: 12px;
    color: #666;
    border-radius: 3px;
}

.filter-tags a:hover,
.filter-tags a.active {
    background: #2d8f4e;
    color: #fff;
}

/* 排序栏 */
.sort-bar {
    background: #fff;
    padding: 10px 0;
    margin-top: 10px;
    border-bottom: 2px solid #2d8f4e;
}

.sort-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sort-options {
    display: flex;
    gap: 20px;
}

.sort-options a {
    font-size: 14px;
    color: #333;
    padding: 5px 15px;
}

.sort-options a:hover,
.sort-options a.active {
    background: #2d8f4e;
    color: #fff;
}

.view-options {
    font-size: 12px;
    color: #999;
}

.view-options em {
    color: #e4393c;
    font-weight: bold;
}

/* 商品列表页网格 */
.product-list-page {
    background: #f5f5f5;
    padding: 20px 0;
}

.product-grid-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.product-grid-list .product-card {
    background: #fff;
}

.product-grid-list .product-info {
    padding: 12px;
}

.product-grid-list .product-info h4 {
    font-size: 13px;
    height: 36px;
    margin-bottom: 8px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 11px;
    color: #999;
}

.product-footer .shop {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 30px 0;
}

.pagination a {
    min-width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
}

.pagination a:hover,
.pagination a.active {
    background: #2d8f4e;
    color: #fff;
    border-color: #2d8f4e;
}

.pagination .next {
    padding: 0 15px;
}

/* 商品列表页 */
.product-list-page {
    min-height: 600px;
}

/* 购物车页面 */
.cart-page {
    background: #f5f5f5;
    padding: 20px 0;
    min-height: 500px;
}

.cart-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.cart-title i {
    color: #2d8f4e;
    margin-right: 10px;
}

.cart-table {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

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

.cart-table th {
    background: #f5f5f5;
    padding: 15px;
    text-align: left;
    font-size: 13px;
    color: #666;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.product-cell {
    display: flex;
    gap: 15px;
}

.product-cell img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #eee;
}

.product-cell h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.product-cell p {
    font-size: 12px;
    color: #999;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.quantity input {
    width: 40px;
    height: 25px;
    text-align: center;
    border: 1px solid #ddd;
}

.subtotal {
    color: #e4393c;
    font-weight: bold;
}

.delete-btn {
    color: #999;
    font-size: 12px;
}

.delete-btn:hover {
    color: #e4393c;
}

/* 购物车底部 */
.cart-footer {
    background: #fff;
    padding: 15px 20px;
    margin-top: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-left a {
    font-size: 13px;
    color: #999;
}

.cart-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cart-summary {
    font-size: 14px;
}

.cart-summary em {
    color: #2d8f4e;
}

.cart-summary .total {
    font-size: 24px;
    color: #e4393c;
    font-weight: bold;
}

.btn-checkout {
    padding: 12px 40px;
    background: #e4393c;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.btn-checkout:hover {
    background: #c22b2e;
}

/* 通用按钮 */
.btn-primary {
    background: #2d8f4e;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.btn-primary:hover {
    background: #1f6b3a;
}

.btn-danger {
    background: #e4393c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.btn-outline {
    background: transparent;
    color: #2d8f4e;
    padding: 10px 20px;
    border: 1px solid #2d8f4e;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

/* 商家入驻流程 */
.merchant-steps {
    background: #fff;
    padding: 30px 0;
    margin-top: 15px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

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

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step.active .step-icon {
    background: #2d8f4e;
    color: #fff;
}

.step-text {
    font-size: 14px;
    color: #999;
}

.step.active .step-text {
    color: #2d8f4e;
    font-weight: bold;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #ddd;
    margin: 0 20px;
    margin-bottom: 25px;
}

/* 入驻表单 */
.merchant-form {
    background: #f5f5f5;
    padding: 30px 0;
}

.form-card {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-card h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.form-card h3 i {
    color: #2d8f4e;
    margin-right: 10px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.required {
    color: #e4393c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d8f4e;
    outline: none;
}

/* 上传区域 */
.upload-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.upload-item {
    text-align: center;
}

.upload-label {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

.upload-area {
    border: 2px dashed #ddd;
    padding: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.upload-area:hover {
    border-color: #2d8f4e;
}

.upload-area i {
    font-size: 30px;
    color: #2d8f4e;
    margin-bottom: 10px;
}

.upload-area p {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
}

.upload-area span {
    font-size: 11px;
    color: #999;
}

.upload-status {
    margin-top: 10px;
    font-size: 12px;
}

.upload-status.success {
    color: #2d8f4e;
}

/* 协议 */
.form-agreement {
    padding: 15px 0;
    font-size: 13px;
}

.form-agreement a {
    color: #2d8f4e;
}

/* 操作按钮 */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.btn-save {
    padding: 12px 40px;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.btn-submit {
    padding: 12px 40px;
    background: #2d8f4e;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.btn-submit:hover {
    background: #1f6b3a;
}
