.m-items{
    background-color: #f5f5f5;
    position: relative;
}
.buy-wrap{
    margin: 0 auto;
    padding: 30px 0 100px;
    position: relative;
    width: 1200px;
}
.goods-main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 1200px;
}
.goods-main .goods-h-box{
    display: flex;
    flex-direction: row;
    position: relative;
}
.goods-h-more{
    position: absolute;
    bottom: 12px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}
.goods-h-more-imgs{
    display: flex;
    align-items: center;
    gap: 4px;
}
.goods-h-more-img{
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background-color: #f5f5f5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.goods-h-more-img:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.goods-h-more-img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.goods-h-more-link{
    color: #999;
    font-size: 13px;
    font-style: italic;
    font-weight: 800;
    text-decoration: underline;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.goods-h-more-link:hover{
    color: #333;
}
.buy-preview{
    float: left;
    position: sticky;
    top: 130px;
    width: 380px;
    z-index: 4;
}
.buy-preview .preview-window{
    align-items: center;
    background: 50% no-repeat;
    background-size: contain;
    border: 1px solid #eee;
    display: flex;
    height: 380px;
    justify-content: center;
    position: relative;
    transition: all .2s linear;
    width: 380px;
}
.buy-preview .preview-window img,.buy-preview .preview-list ul li img{max-width:100%;max-height:100%;}
.buy-preview .preview-list ul li{
    align-items: center;
    background: 50% no-repeat;
    background-size: contain;
    border: 1px solid #eee;
    cursor: pointer !important;
    display: flex;
    float: left;
    height: 60px;
    justify-content: center;
    margin: 15px 20px 0 0;
    transition: all .1s linear;
    width: 60px;
}
.buy-preview .preview-list ul li:last-child, .buy-preview .preview-list ul li:nth-child(5n){
    margin-right: 0;
}
.buy-preview .preview-list ul li.active,.buy-preview .preview-list ul li:hover{
    border: 2px solid #333;
    position: relative;
}
.goods-info-box{
    background: #fff;
    padding: 20px;
}
.buy-info {
    color: #666;
    display: flex;
    flex-direction: column;
    float: right;
    margin-left: 20px;
    width: 760px;
}
.buy-info .goods-title{
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
.buy-info .goods-options{margin-top:20px;}
.buy-info .goods-sizes{position:relative;}
.buy-info .goods-options-row{margin-bottom:18px;}
.buy-info .goods-options-label{
    color: #000;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 700 !important;
    line-height: 14px;
    min-height: 28px;
    min-width: 65px;
    padding-right: 8px;
    text-transform: capitalize;
}
.buy-info .goods-options-label .good-propName{margin-bottom:15px;}
.buy-info .goods-options-content{
    display: flex;
    flex-direction: column;
    position: relative;
}
.buy-info .goods-options-tags{
    display: flex;
    flex-wrap: wrap;
    margin-top: -2px;
    position: relative;
    transition: all .3s linear;
}
.buy-info .goods-options-tags li{
    border-radius: 15px;
    outline: 1px solid #e5e5e5;
    padding: 5px 10px;
}
.buy-info .goods-options-tags li, .buy-info .goods-options-tags li.img-li{
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    margin: 6px 10px 0 0;
}
.buy-info .goods-options-tags li.img-li{
    border-radius: 4px;
    display: flex;
    line-height: 14px;
    min-height: 32px;
    padding: 2px;
}
.buy-info .goods-options-tags li:hover{
    outline: 1px solid #0083ef;
}
.buy-info .goods-options-tags li.active{
    border-color: #0083ef;
    color: #0083ef;
    cursor: default;
    outline: 2px solid #0083ef;
    text-decoration: none;
}
.sku-item .goods-props-image .sku-item-content, .sku-item .goods-props-image .sku-text{
    position: relative;
}
.buy-info .goods-options-tags li.img-li .sku-item-content{
    align-items: center;
    display: flex;
    font-size: 12px;
}
.buy-info .goods-options-tags li.img-li .sku-item-content .sku-name{
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 26px;
    word-break:break-all;
}
.sku-item .goods-props-image .sku-item-content .sku-item-count, .sku-item .goods-props-image .sku-text .sku-item-count{
    background: red;
    border-radius: 20px;
    color: #fff;
    left: -4px;
    padding: 2px 6px;
    position: absolute;
    right: 0;
    top: 0;
    top: -12px;
    width: fit-content;
}
.goods-options-row.multi .goods-options-tags .sku-item{
    align-items: center;
    border-radius: 0;
    cursor: auto;
    display: flex;
    justify-content: space-between;
    margin: 0 0 14px;
    outline: none;
    padding: 0;
    width: 100%;
}
.goods-options-row.multi .goods-options-tags .multi-select-row .goods-props-image{
    flex: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info{
    align-items: center;
    display: flex;
    margin-left: auto;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-sku-price{
    text-wrap: nowrap;
    color: #000;
    font-weight: 700;
    margin-right: 12px;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-stock {
    text-wrap: nowrap;
    color: #999;
    margin-right: 12px;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation {
    align-items: center;
    display: flex;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation .add,.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation .reduce{
    background: #f6f6f6;
    border: 1px solid #d9d9d9;
    color: #333;
    cursor: pointer;
    font-size: 24px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    transition: all .3s linear;
    user-select: none;
    width: 30px;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation .reduce{
    border-radius: 3px 0 0 3px;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation .add.disabled, .goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation .reduce.disabled{
    background: #f6f6f6;
    color: #999;
    cursor: not-allowed;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation input{
    background: #fff;
    border: 1px solid #d9d9d9;
    border-left: none;
    border-radius: 0;
    border-right: none;
    color: #000;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    width: 46px;
}
.goods-options-row.multi .goods-options-tags .sku-item .goods-sku-info .goods-number-operation .add{
    border-radius: 0 3px 3px 0;
}
.goods-options-row .gs-multi-img{width: 28px;height: 28px;object-fit: cover;border-radius: 8px;margin-right: 2px;}
.buy-info .goods-commit{
    display: flex;
    margin: 16px 0 30px;
    width: max-content;
}
.buy-info .goods-commit button{
    border: none;
    border-radius: 20px;
    cursor: pointer;
    float: left;
    font-size: 14px;
    font-weight: 700;
    padding: 0;
    width: 130px;
}
[lang=en-us] .buy-info .goods-commit button{
    padding: 0;
    width: 130px;
    height:40px;
}
.buy-info .goods-buyNow{
    background: #fff2f2;
    box-sizing: border-box !important;
    color: #f55;
    font-weight: 700;
    transition: all .3s linear;
    width: 130px;
}
.buy-info .goods-buyNow:disabled{
    background: #e2e2e2 !important;
    border-color: #e2e2e2 !important;
    color: #999 !important;
    cursor: not-allowed;
    font-weight: 700;
}
.buy-info .goods-addToCart{
    background: #f55;
    box-sizing: border-box !important;
    color: #fff;
    font-size: 14px;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transition: all .3s linear;
    width: 130px;
}
.buy-info .goods-addToCart:disabled {
    background: #999;
    border-color: #999;
    cursor: not-allowed;
}
.goods-detail_container{
    display: flex;
    margin-top:10px;
}
.goods-detail_container .goods-detail_left{
    margin-right: 10px;
}
.goods-detail_container .goods-detail_left .recommend-goods-container{
    float: left;
    width: 210px;
}
.recommend-goods-container .recommend-goods-title{
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    padding: 14px 20px;
    background-color: #fff;
    border: 1px solid #f0eff1;
    border-bottom: 1px solid #f0eff1;
}
.goods-detail_left .recommend-goods-container .goods-list{
    border: 1px solid #f0eff1;
    border-top: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    overflow-x: auto;
    width: 100%;
}
.recommend-goods-container .goods-list li{
    background-color: #fff;
    margin-bottom: 10px;
    padding: 0 20px;
    width: 100%;
}
.recommend-goods-container .goods-list li a{
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 180px;
    justify-content: center;
    width: 100%;
}
.recommend-goods-container .goods-list li a .img-container, .recommend-goods-container .goods-list li a img{
    display: block;
    height: 100px;
    margin: 0 auto;
    width: 100px;
}
.common-img-wrap {
    background: none !important;
    display: inline-block;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.buy-info .goods-options-tags li.img-li .common-img-wrap>img{
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 8px;
}
.recommend-goods-container .goods-list li .title{
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #888;
    display: -webkit-box;
    font-size: 12px;
    height: 35px;
    margin: 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}
.recommend-goods-container .goods-list li .price{
    color: #ff4256;
    font-weight: 700;
    text-align: center;
}
.goods-detail_container .goods-detail_right{
    width: 980px;
}
.buy-toolbar{
    background-color: #fff;
    height: 54px;
    position: relative;
}
.buy-toolbar .toolbar-btns{
    box-sizing: border-box;
    height: 54px;
    margin-left: -1px;
    width: 100%;
}
.buy-toolbar .toolbar-btns a{
    color: #333;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 14px;
    font-weight: 700;
    height: 51px;
    line-height: 54px;
    overflow: hidden;
    padding: 0 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
}
.buy-detailContent {
    box-sizing: border-box;
    color: #999;
    float: right;
    font: 12px / 20px simsun;
    width: 100%;
    background-color: #FFF;
    margin-top: 10px;
}
.total-sku-info{
    border-top: 1px solid #eee;
    margin-bottom: 10px;
    margin-top: 20px;
    padding: 10px 0;
}
.total-sku-info .total-sku-info-item{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 12px;
}
.total-sku-info .total-sku-info-item i{
    color: #f55;
    font-weight: 700;
}
.total-sku-info .total-sku-info-item .total-sku-info-item-value{
    display: flex;
    flex-wrap: wrap;
    font-size:12px;
}
.total-sku-info .total-sku-info-item .total-sku-info-item-value .price-info{
    margin-right: 20px;
}
.total-sku-info .total-sku-info-item .total-sku-info-item-value .price-info .p-format-price{
    display:inline-block;
}
.total-sku-info .total-sku-info-item .total-sku-info-item-value .freight-info{
    align-items: center;
    display: flex;
}
.total-sku-info .total-sku-info-item .total-sku-info-item-value .freight-info a {
    color: #0083ef;
    font-size: 12px;
    margin-left: 10px;
}
.buy-detailContent .card-wrap{
    padding: 20px 20px 32px;
}
.buy-detailContent .card-wrap img{width:100%;}
.zoomDiv {
    overflow: hidden;
    position: absolute;
    z-index: 9;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
    pointer-events: none;
    transition: background 0.25s cubic-bezier(0.4,0,0.2,1);
    z-index: 10;
}
.main-image-wrapper:hover .image-overlay{pointer-events: auto;}
.overlay-translate-btn {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1), background 0.3s, color 0.3s, box-shadow 0.3s;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    background: #ffffff;
    color: #303133;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 11;
}
.overlay-translate-btn:hover {
    background: #409eff;
    color: #fff;
    box-shadow: 0 6px 22px rgba(64, 158, 255, 0.4);
    transform: translateY(-10px) scale(1.04);
}
.overlay-translate-btn:active {
    transform: translateY(-6px) scale(0.97);
}
.main-image-wrapper:hover .overlay-translate-btn,
.detail-image-wrapper:hover .overlay-translate-btn {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}
.overlay-translate-btn.is-translated {
    background: #67c23a;
    color: #fff;
}
.overlay-translate-btn.is-translated:hover {
    background: #e6a23c;
    box-shadow: 0 6px 22px rgba(230, 162, 60, 0.45);
}
.overlay-translate-btn.loading-state {
    pointer-events: none;
    opacity: 0.7;
    background: #f0f0f0;
    color: #999;
}
.overlay-translate-btn .btn-icon-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.overlay-loading {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #409eff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 12;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
}
.overlay-loading.active {
    pointer-events: auto;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.detail-image-wrapper {
    position: relative;
    display: block;
    margin: 16px auto;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #e4e7ed;
    line-height: 0;
    max-width: 100%;
}
.detail-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
/*.detail-image-wrapper:hover img {
    transform: scale(1.03);
}*/
.detail-image-wrapper .image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px;
    pointer-events: none;
    /*transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1);*/
    z-index: 10;
}
.detail-image-wrapper:hover .image-overlay {
    /*background: rgba(0, 0, 0, 0.35);*/
    pointer-events: auto;
}
.detail-image-wrapper .overlay-translate-btn {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 18px;
}
.detail-image-wrapper:hover .overlay-translate-btn {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}
.detail-image-wrapper .overlay-translate-btn.is-translated {
    background: #67c23a;
    color: #fff;
}
.detail-image-wrapper .overlay-translate-btn.is-translated:hover {
    background: #e6a23c;
}
.detail-image-wrapper .overlay-loading {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #409eff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 12;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.detail-image-wrapper .overlay-loading.active {
    pointer-events: auto;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.goods-detail-underline {
    border-bottom: 3px solid #FF5555;
}
/* 改变颜色和大小 */
.fa-star {
    color: #FF5555;      /* 红色 */
    font-size: 24px;     /* 尺寸 */
    align-self: center;  /* 垂直居中 */
    margin-left: 16px;   /* 与按钮保持间距 */
    cursor: pointer;     /* 鼠标指针变为手型 */
}

.fa-star-o {
    font-size: 24px;     /* 尺寸 */
    align-self: center;  /* 垂直居中 */
    margin-left: 16px;   /* 与按钮保持间距 */
    cursor: pointer;     /* 鼠标指针变为手型 */
}

/* 悬停动画（常用于点赞交互） */
.fa-star .fa-star-o{
    transition: all 0.3s ease;
    cursor: pointer;
}
.fa-star:hover {
    transform: scale(1.2);
    color: #FF5555;
}
.fa-star-o:hover {
    transform: scale(1.2);
}
/* ==================== 验证码遮罩层 ==================== */
.captcha-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.captcha-dialog {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 420px;
    max-width: 90vw;
    overflow: hidden;
}
.captcha-header {
    padding: 28px 32px 16px;
    text-align: center;
}
.captcha-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.captcha-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}
.captcha-body {
    padding: 8px 32px 36px;
    display: flex;
    justify-content: center;
}