.yingjun-container {
    width: 100%;
    margin: 0 auto;
}

/* 大图区域 */
.yingjun-main-slider {
    position: relative;
    max-width: 740px; /* 620px图片 + 两侧各60px灰色区域 */
    margin: 0 auto 20px;
    height: auto;
    overflow: hidden;
    background-color: #f0f0f0; /* 浅灰色背景 */
    border-radius: 20px; /* 四个角20px圆角 */
    padding: 0; /* 移除内边距，改为直接控制图片宽度 */
    box-sizing: border-box;
}

.yingjun-main-image {
    width: 100%;
    max-width: 520px; /* 大图最大宽度620px */
    height: auto;
    object-fit: cover;
    cursor: crosshair;
    display: block;
    margin: 0 auto; /* 图片居中，两侧自然形成灰色区域 */
}

/* 放大镜效果 */
.yingjun-zoom-lens {
    position: absolute;
    border: 2px solid #fff;
    background-repeat: no-repeat;
    display: none;
    pointer-events: none;
}

/* 导航箭头 - 放置在灰色区域 */
.yingjun-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    border-radius: 50%; /* 箭头圆形背景 */
    transition: background 0.3s;
}

/* 左侧箭头放置在左侧灰色区域 */
.yingjun-arrow.yingjun-prev {
    left: 10px; /* 距离左侧边缘10px */
}

/* 右侧箭头放置在右侧灰色区域 */
.yingjun-arrow.yingjun-next {
    right: 10px; /* 距离右侧边缘10px */
}

/* 箭头悬停效果 */
.yingjun-arrow:hover {
    background: rgba(0,0,0,0.7);
}

/* 缩略图区域 */
.yingjun-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 0 60px; /* 与大图区域两侧灰色区域对齐 */
    box-sizing: border-box;
}

.yingjun-thumbnail {
    width: 100px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.yingjun-thumbnail.yingjun-active {
    opacity: 1;
    border: 2px solid #333;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.yingjun-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}