.product-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.product-header {
    text-align: center;
    margin-bottom: 30px;
}

/* 主图框样式 */
.main-image-container {
    width: 100%;
    max-width: 910px;
    height: 638px; /* 固定高度 */
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9; /* 背景色 */
    overflow: hidden; /* 防止内容超出框 */
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* 主图图片样式 */
#product-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 保持图片比例，避免超出框 */
}

/* 缩略图框容器样式 */
.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

/* 缩略图样式 */
.product-thumbnail img {
    width: 46px; /* 固定宽度 */
    height: 46px; /* 固定高度 */
    object-fit: contain; /* 保持图片比例，避免超出框 */
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.2s ease;
    background-color: #fff; /* 背景色 */
}

.product-thumbnail img:hover {
    border-color: #0071e3; /* 鼠标悬停时的边框颜色 */
}

/* 响应式样式 */
@media (max-width: 768px) {
    /* 主图框样式 */
    .main-image-container {
        width: 100%;
        max-width: 376px;
        height: 376px; /* 固定高度 */
    }

    /* 主图图片样式 */
    #product-main-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* 保持图片比例，避免超出框 */
    }
}

.product-section {
    margin-bottom: 20px;
}

.product-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.product-section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.purchase-button {
    display: inline-block;
    background-color: #0071e3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
}

.purchase-button:hover {
    background-color: #005bb5;
}

.cx-singlep-top {
    margin-top: 3vh;
}

.default-content img {
    width: 100%;
    max-width: 100%; /* 图片宽度最多占满父容器 */
    height: auto; /* 高度按比例缩放 */
    display: block; /* 防止图片出现下方间隙 */
    margin: 0 auto; /* 居中对齐 */
}

@media (max-width: 768px) {
    .default-content img {
        max-width: 90%; /* 手机浏览时图片宽度缩小 */
    }
}