@charset "UTF-8";
/* 主内容区 */
.main-content {
    display: flex;
    margin: 25px auto;
    gap: 25px;
}

/* 左侧边栏 */
.left-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-box {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e7e7e7;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sidebar-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.sidebar-box h3 {
    background: linear-gradient(to right, #ff9900, #ff6600);
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.sidebar-box h3 i {
    margin-right: 10px;
}

.sidebar-content {
    padding: 20px;
}

/* 分类样式 */
.category-list {
    list-style: none;
}

.category-item {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.category-item:hover {
    background-color: #fff8f0;
    color: #ff9900;
    transform: translateX(5px);
}

.category-item.active {
    background-color: #fff8f0;
    color: #ff9900;
    font-weight: bold;
    border-left: 5px solid #ff9900;
    box-shadow: 0 3px 8px rgba(255, 153, 0, 0.15);
}

.category-count {
    background-color: #f5f5f5;
    color: #666;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 12px;
    transition: all 0.3s;
}

.category-item.active .category-count {
    background-color: #ff9900;
    color: white;
}

/* 文章列表样式 */
.article-list {
    list-style: none;
}

.article-item {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    border-radius: 8px;
    margin-bottom: 5px;
}

.article-item:hover {
    background-color: #fff8f0;
    transform: translateX(5px);
}

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

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.article-title i {
    color: #ff9900;
    margin-right: 10px;
    font-size: 14px;
}

.article-date {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.article-date i {
    margin-right: 6px;
}

/* 客服信息样式 */
.service-list {
    list-style: none;
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    font-size: 15px;
}

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

.service-list i {
    color: #ff9900;
    margin-right: 12px;
    width: 22px;
    font-size: 16px;
}

.warning-box {
    background-color: #fff8f0;
    border: 1px solid #ff9900;
    border-radius: 8px;
}

.warning-title {
    color: #ff9900;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.warning-title i {
    margin-right: 10px;
}

.about-text {
    line-height: 1.8;
    color: #666;
    font-size: 14px;
}

/* 中间内容区 */
.content-area {
    flex: 1;
}

/* 购买指南 - 整行布局，使用快手橙色，图标中间加箭头 */
.purchase-guide {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e7e7e7;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.purchase-guide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff9900, #ff6600);
}

.purchase-guide h3 {
    color: #ff9900;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #fff8f0;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.purchase-guide h3 i {
    margin-right: 12px;
}

.guide-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.guide-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #ffe0b3;
    z-index: 1;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.step-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.step-icon {
    background: linear-gradient(to right, #ff9900, #ff6600);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    color: white;
    font-size: 32px;
    box-shadow: 0 6px 15px rgba(255, 153, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: all 0.3s;
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4);
}

.step-arrow {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    color: #ff9900;
    font-size: 28px;
    z-index: 3;
}

.step:last-child .step-arrow {
    display: none;
}

.step h4 {
    margin-bottom: 8px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 15px;
}

/* 分类标题 - 使用快手橙色 */
.category-title {
    background: linear-gradient(to right, #fff8f0, white);
    padding: 18px 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-left: 6px solid #ff9900;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.category-title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ff9900, #ff6600);
}

.category-title i {
    margin-right: 12px;
    color: #ff9900;
    font-size: 26px;
}

/* 商品列表 */
.product-list {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e7e7e7;
    margin-bottom: 35px;
    transition: transform 0.3s;
}

.product-list:hover {
    transform: translateY(-5px);
}

.list-header {
    background: linear-gradient(to right, #fff8f0, #ffe6cc);
    padding: 16px 20px;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    color: #333;
    font-size: 16px;
}

.header-name {
    flex: 4;
}

.header-price, .header-stock, .header-action {
    flex: 0.5;
    text-align: center;
}

.product-item {
    display: flex;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background-color 0.2s;
}

.product-item:hover {
    background-color: #fff8f0;
}

.product-name {
    flex: 4;
}

.product-name h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.4;
}

.product-price {
    flex: 0.5;
    text-align: center;
    color: #ff9900;
    font-weight: bold;
    font-size: 22px;
}

.product-stock {
    flex: 0.5;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.product-stock.low {
    color: #ff6600;
    font-weight: bold;
}

.product-stock.out {
    color: #ff3333;
    font-weight: bold;
}

.product-action {
    flex: 0.6;
    text-align: center;
}

.buy-btn {
    background: linear-gradient(to right, #ff9900, #ff6600);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
    font-size: 16px;
    text-decoration: none;
}

.buy-btn:hover {
    background: linear-gradient(to right, #ff6600, #ff9900);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 153, 0, 0.4);
}

/* 快手特色 - 直播/短视频标签 */
.live-badge {
    background-color: #ff3333;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.video-badge {
    background-color: #3399ff;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}


/* 手机端适配 */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .left-sidebar {
        width: 100%;
    }
    
    .guide-steps {
        flex-wrap: wrap;
    }
    
    .step {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
    
    .guide-steps::before {
        display: none;
    }
    
    .step-arrow {
        display: none;
    }
	.header-price, .header-stock, .header-action {
		flex: 1;
		text-align: center;
	}
}

@media (max-width: 768px) {
    /* 移动端布局调整 */
    .main-content {
        flex-direction: column;
        margin: 15px auto;
        gap: 15px;
    }
    
    /* 移动端显示商品分类、温馨提示、关于售后 */
    .left-sidebar {
        display: block;
    }
    
    /* 隐藏不需要的模块 */
    .sidebar-box:not(.category-box):not(.warning-box):not(.after-sales-box) {
        display: none;
    }
    
    .purchase-guide {
        display: none;
    }
    
    /* 头部适配 */
    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    /* 商品列表优化 - 确保标题、价格、库存都显示 */
    .category-title {
        padding: 14px 16px;
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .product-item {
        flex-direction: row;
        align-items: center;
        padding: 14px;
    }
    
    .product-name {
        flex: 2;
    }
    
    .product-name h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .product-price {
        flex: 0.6;
        text-align: center;
        color: #ff9900;
        font-weight: bold;
        font-size: 18px;
        padding: 0 5px;
    }
    
    .product-stock {
        flex: 0.5;
        text-align: center;
        color: #666;
        font-size: 14px;
        padding: 0 5px;
    }
    
    .product-action {
        flex: 0.6;
        text-align: center;
        padding: 0 5px;
    }
    
    .buy-btn {
        padding: 10px 18px;
        font-size: 14px;
        width: auto;
    }
    
    .list-header {
        display: flex;
        padding: 12px 14px;
        font-size: 14px;
    }
    
    /* 侧边栏优化 */
    .sidebar-box {
        margin-bottom: 15px;
    }
    
    .sidebar-box h3 {
        font-size: 16px;
        padding: 12px 14px;
    }
    
    .sidebar-content {
        padding: 14px;
    }
    
    .category-item {
        padding: 12px 14px;
    }
}


@media (max-width: 480px) {
    .category-title {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .product-item {
        padding: 10px;
    }
    
    .product-name h4 {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    .product-stock {
        font-size: 13px;
    }
    
    .buy-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
}