.product_body {
    background-color: #F9F9F9;
}

.product_list {
    display: flex;
    flex-wrap: wrap;
}

.product_item {
    width: 2.76rem;
    margin-right: .13rem;
    margin-bottom: .208rem;
    background-color: #fff;
    /* border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.product_item:nth-child(3n) {
    margin-right: 0;
}

.product_item_img {
    width: 100%;
    height: 1.875rem;
    overflow: hidden;
    
    /* padding: .105rem .173rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product_item_img img {
    max-width: 100%;
    /* width: 1.672rem; */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product_item_video .bo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: .408rem;
    height: .408rem;
}

.product_item_title {
    font-size: 16px;
    color: #59200a;
    height: 60px;
    line-height: 60px;
    text-align: center;
    padding: 0 .157rem;
    background-color: #FFFBEF;
    /* 单行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* 详情 */
.product_detail {
    display: flex;
    gap: 40px;
    padding: .349rem .521rem;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.product_detail_left_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product_detail_left {
    width: 3.656rem;
	height: 2.438rem;
	background-color: #ffffff;
    border: solid 1px #ebebeb;
    /*padding: 20px;*/
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_detail_left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
    transition: opacity 0.3s ease;
}

/* 小图缩略图 */
.product_detail_left_smail {
    width: 3.656rem;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.smail_item {
    width: .833rem;
    height: .833rem;
    border: 2px solid #E5E5E5;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smail_item:hover {
    border-color: #59200a;
}

.smail_item.active {
    border-color: #59200a;
    box-shadow: 0 2px 8px rgba(89, 32, 10, 0.2);
}

.smail_item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product_detail_right {
    flex: 1;
    padding-top: 20px;
}

.product_detail_title {
    color: #59200a;
    font-size: 40px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.product_detail_info {
    margin-bottom: 40px;
    color: #59200a;
    font-size: 16px;
    line-height: 28px;
}

.product_detail_contact {
    padding-top: 20px;
}

.contact_phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: .203rem;
}

.phone_icon {
    width: 20px;
    height: 20px;
}

.contact_label {
    font-size: 16px;
    color: #59200a;
}

.contact_number {
    font-size: 24px;
    color: #59200a;
    font-weight: bold;
}

.taobao_btn {
    display: inline-block;
    background: #59200a;
    color: #fff;
    padding: 12px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.taobao_btn:hover {
    background: #3d1507;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 32, 10, 0.3);
}

.product_desc {
    background-color: #fff;
}

.desc_title {
    font-size: 20px;
    color: #59200a;
    height: 76px;
    line-height: 76px;
    padding-left: .516rem;
    background-color: #fffbef;
}

.product_desc_main {
    max-width: 100%;
    color: #59200a;
    font-size: 16px;
    line-height: 28px;
    padding: .286rem .521rem;
}


.product_desc_main img {
    max-width: 100%;
    height: auto;
}

.product_desc_main video {
    max-width: 100%;
}
.product_detail_info img {
    width: 100%;
    height: auto;
}
.product_detail_info video {
    max-width: 100%;
}

/* 弹窗 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.mask-main {
    width: 60vw;
    text-align: center;
    background-color: #000;
    /* padding: 10px 0 20px; */
}

.mask-close {
    color: #fff;
    text-align: right;
    padding: 10px 2% 0 0;
    font-size: 1.5625vw;
    cursor: pointer;
}

.mask-video {
    width: 100%;
}

.mask-video video {
    width: 100%;
}

/* 产品卡片 hover 效果 - 桌面端 */
@media (hover: hover) and (pointer: fine) {
    .product_item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .product_item:hover .product_item_img img {
        transform: scale(1.05);
    }

    .product_item:hover .product_item_title {
        color: #fff;
        background-color: #59200a;
        transition: all 0.3s ease;
    }

    /* 添加一个微妙的发光效果 */
    .product_item:hover::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
        z-index: -1;
    }
}

/* 移动端触摸效果 */
.product_item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* 移动端适配 */
@media (max-width: 800px) {
    .product_item {
        width: calc(50% - 0.157rem);
        margin-right: 0.314rem;
    }

    .product_item:nth-child(2n) {
        margin-right: 0;
    }

    .product_item:nth-child(3n) {
        margin-right: 0.314rem;
    }

    .product_item_title {
        font-size: 14px;
        height: 80px;
        line-height: 20px;
        padding: 0.1rem 0.15rem;
    }

    .product_item_img {
        height: 4rem;
    }

    .product_detail {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    .product_detail_left_container {
        width: 100%;
    }

    .product_detail_left {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .product_detail_left_smail {
        justify-content: center;
        width: 100%;
    }
    
    .smail_item {
        width: 70px;
        height: 70px;
    }
    
    .product_detail_right {
        padding-top: 0;
    }
    
    .product_detail_title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .info_item {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .info_label {
        min-width: 70px;
    }
    
    .contact_number {
        font-size: 18px;
    }
    
    .product_detail_contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .product_desc {
        padding: 30px 20px;
    }
    
    .desc_title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .product_desc_main p {
        font-size: 13px;
    }

    .product_detail_title {
        font-size: 24px;
    }

    .product_detail_info {
        font-size: 14px;
    }

    .product_item_video .bo {
        width: 60px;
        height: 60px;
    }

    /* 弹窗 */
    .mask-main {
        width: 100%;
    }

    .mask-close {
        font-size: 20px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .product_item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.2rem;
    }

    .product_item:nth-child(2n),
    .product_item:nth-child(3n) {
        margin-right: 0;
    }

    .product_item_title {
        font-size: 13px;
        height: 70px;
        line-height: 18px;
    }

    .product_item_img {
        height: 8rem;
    }
    
    .product_detail {
        padding: 15px;
    }

    .product_detail_left {
        min-height: 250px;
        padding: 15px;
    }
    
    .smail_item {
        width: 60px;
        height: 60px;
        padding: 3px;
    }
    
    .product_detail_title {
        font-size: 20px;
    }
    
    .contact_label {
        font-size: 12px;
    }
    
    .contact_number {
        font-size: 16px;
    }
    
    .taobao_btn {
        padding: 10px 30px;
        font-size: 14px;
    }
    
    .product_desc {
        padding: 20px 15px;
    }
    
    .desc_title {
        font-size: 18px;
    }
}