/* 商家入驻区域开始 */
.merchant{
    text-align: right;
    margin-right: 230px;
}
.merchant a{
    display: inline-block;
    border: 1px solid #f03d37;
    padding: 10px 15px;
    font-size: 15px;
    margin:30px;
    color: #f03d37;
    border-radius: 22.5px;
    margin-top: 100px;
}
/* 商家入驻区域结束 */
/* 主体区域域开始 */
.product{
    width: 1200px;
    margin: 0 auto;
    padding: 18px;
    padding-left: 140px;
    overflow: hidden;
}
.product .goods-itom{
    float: left;
    text-align: center;
    margin: 0 100px 20px 0;
}
.product .goods-itom .puduct-img{
    width: 280px;
    height: 285px;
}
.product .goods-itom img{
    height: 100%;
}
.product .goods-itom .product-info{
    color: #333;
    font-size: 18px;
    margin-top: 20px;
}
.product .goods-itom p strong{
    color: #f03d37;
    margin-right: 6px;
}
.product .goods-itom p span{
    color: #999;
    text-decoration: line-through;
}


/* 主体区域域结束 */

.magnifier-container {
    position: relative;
    display: inline-block;
}

.product-img {
    display: block;
    width: 280px;
    height: 250px; /* 或者指定具体高度，但保持宽高比 */
}

.magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    cursor: none;
    width: 100px;
    height: 100px;
    opacity: 0.3;
    display: none;
    pointer-events: none; /* 防止放大镜干扰鼠标事件 */
}

.magnified-img-container {
    position: absolute;
    top: 0;
    left: 0; /* 初始位置，确保不在可视区域 */
    width: 300px; /* 放大图片的容器宽度，根据需要调整 */
    height: 300px; /* 放大图片的容器高度，根据需要调整 */
    overflow: hidden;
    display: none;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 1000;
    pointer-events: none; /* 防止放大图片容器干扰鼠标事件 */
    background-repeat: no-repeat;
    background-position: center;
}

.magnified-img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none; /* 取消默认的最大宽度限制 */
    transform-origin: top left; /* 放大图片的原点，通常设置为容器的左上角 */
}
