* {
    /*margin: 0;*/
    /*padding: 0;*/
    /*box-sizing: border-box;*/
}

body {
    font-family: Arial, sans-serif;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /*background-color: #f5f5f5;*/
    /*padding: 20px;*/
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 10px;
}

/* 图片比较查看器样式 */
.comparison-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 80px;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: white;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}

.comparison-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
}

.comparison-labels {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    padding: 0 20px;
}

.comparison-label {
    background-color: rgba(0, 0, 0, 17%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: clamp(14px, 2vw, 18px);
}

/* 360度查看器样式 */
.viewer-wrapper {
    width: 100%;
    /*max-width: 1000px;*/
    background: #212529;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 auto 80px;
}

.viewer-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    /*background-color: #000;*/
    margin-bottom: 20px;
}

.product-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.001s;
    will-change: opacity;
}

.product-image.active {
    opacity: 1;
}

.viewer-controls {
    width: 100%;
    position: relative;
    margin-top: 25px;
}

.viewer-slider {
    width: 100%;
    height: 40px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    z-index: 2;
}

.viewer-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: grab;
    border: 2px solid #4a89dc;
}

.viewer-slider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: grab;
    border: 2px solid #4a89dc;
}

.angle-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #666;
}

.playback-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.control-btn {
    padding: 8px 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.control-btn:hover {
    background: #FFC107;
}

.control-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .comparison-labels {
        bottom: 10px;
    }

    .comparison-label {
        padding: 6px 12px;
    }

    .viewer-wrapper {
        padding: 15px;
    }

    .viewer-slider::-webkit-slider-thumb {
        width: 30px;
        height: 30px;
    }

    .playback-controls {
        flex-wrap: wrap;
    }
}


/* 360度产品查看器标题 */
section h2 {
    text-align: center;
    margin: 50px 0;
    color: #02126a;
    font-size: 30px; /* 手机默认大小 */
}

/* PC端样式 */
@media (min-width: 768px) {
    section h2 {
        font-size: 55px;
    }
}


/*下面是邮件样式*/
{
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}
.email-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}
.email-btn:hover {
    background-color: #004d99;
}
.contact-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}