/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}
.textCenter{
    text-align: center;
}
.companyTitle{
    font-size: 18px;
    line-height: 2em;
}
/* 容器样式 */
#root {
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
}

/* 头部横幅 */
.bannerBox {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.bannerBox img{
    width: 100%;
}

/* 主体内容 */
.mainBody {
    padding: 16px;
}

/* 产品信息卡片 */
.product-info {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 产品属性列表 */
.orderMed {
    margin: 0;
    padding: 0;
}

.orderMed li {
    margin-bottom: 8px;
}

.orderMed .orderNumber {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.orderMed .elseMes {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 提示信息 */
.tips-section {
    margin-bottom: 16px;
}

.tipWords {
    background-color: #fff3f3;
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    border-left: 4px solid #ff6b6b;
}

.tipWords::before {
    content: "⚠️ ";
    margin-right: 4px;
}

/* 保障信息 */
.guarantee-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e8e8;
}

.guarantee-content {
    display: flex;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 12px;
}

.iconBox {
    margin: 0 12px 0 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.iconBox img {
    width: 32px;
    height: 32px;
    display: block;
}

.guarantee-status {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
    text-align: left;
}

.explainBox {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 8px 0 16px;
    padding: 12px;
    background-color: #fafafa;
    border-radius: 6px;
    border-left: 3px solid #e8e8e8;
    text-align: left;
    max-width: 100%;
}

.deadline-info {
    text-align: center;
    font-size: 14px;
    color: #ff6b6b;
    font-weight: 500;
    padding: 12px;
    background-color: #fff3f3;
    border-radius: 8px;
    margin-top: 16px;
}

/* 服务菜单 */
.services-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menuList {
    display: flex;
    flex-wrap: wrap;

}

.menuItem {
    width: 25%;
    text-decoration: none;
    color: #333;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}
.redText{
    color: #ff0000;
}
.menuItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #1890ff;
}

.menuItem .iconImg {
    width: 48px;
    height: 48px;
    display: block;
    margin-bottom: 8px;
    object-fit: contain;
}

.menuItem .textWord {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.Introduction{
    line-height: 2;
    font-size: 16px;
    text-indent: 36px;
}
.brand_img{
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
.felx-3{
    display: flex;
    flex-wrap: wrap;
}
.felx3_Item{
    width: 30%;
    margin-right: 5%;

}
.felx-3 .felx3_Item:nth-child(3n){
    margin-right: 0;
}
.felx3_Item .imgItem{
    width: 100%;
}
.image-preview{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: auto;
}
.image-preview .preview-img{
    width: 100%;
}
.preview-content{
    position: relative;
}
.closeIcon{
    position: absolute;
    top: -50px;
    right: 10px;

}
.closeIcon .closeImg{
    width: 40px;
    height: 40px;
}
/* 响应式设计 */
@media (max-width: 480px) {
    .mainBody {
        padding: 12px;
    }
    
    .product-info,
    .guarantee-section,
    .services-section {
        padding: 12px;
    }
    
    .menuItem {

        padding: 12px;
    }
    
    .menuItem .iconImg {
        width: 40px;
        height: 40px;
    }
    
    .guarantee-status {
        font-size: 16px;
    }
    
    .explainBox {
        max-width: 95%;
    }
}

/* 状态样式 - 过期 */
.guarantee-section.expired .iconBox {
    background-color: #fff3f3;
}

.guarantee-section.expired .guarantee-status {
    color: #ff6b6b;
}

/* 状态样式 - 正常 */
.guarantee-section.valid .iconBox {
    background-color: #f0fff4;
}

.guarantee-section.valid .guarantee-status {
    color: #52c41a;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.carousel-indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

.no-carousel {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}