
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    body,
    html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .lens-section {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        padding: 10px;
        font-family: Arial, sans-serif;
    }

    /* ===== PC 版固定 4 列，居中显示 ===== */
    .lens-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* 固定 4 列 */
        gap: 16px;
        justify-items: center;
        /* 第二行自动居中 */
    }

    /* 单个卡片 */
    .lens-card {
        width: 100%;
        max-width: 260px;
        /* 强制 PC 每个卡片宽度一致，视觉更整齐 */
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: box-shadow .25s;
    }

    .lens-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    /* 图片 – PC 和手机都会用，但手机会压缩尺寸 */
    .lens-img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        background: #ffffff;
        border-radius: 8px;
        cursor: pointer;
    }

    /* 标题、文字等保持紧凑 */
    .lens-title {
        margin: 10px 0 6px;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
    }

    .lens-toggle {
        cursor: pointer;
        font-weight: bold;
        color: #0070f3;
        font-size: 13px;
        margin-top: 6px;
        text-align: center;
    }

    .lens-list {
        display: none;
        list-style: none;
        padding-left: 0;
        margin: 6px 0 4px 0;
        text-align: center;
    }

    .lens-list li {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .buy-btn {
        margin-top: 6px;
        background: #0070f3;
        color: #fff;
        padding: 8px;
        border-radius: 6px;
        font-size: 14px;
        text-align: center;
        font-weight: bold;
        text-decoration: none;
    }


    /* ===== 手机版优化：仍为两列，但高度更小 ===== */
    @media (max-width: 600px) {

        /* 2 列紧凑网格 */
        .lens-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        /* 卡片缩小整体高度 */
        .lens-card {
            padding: 6px;
            /* 更少 padding */
        }

        /* 缩小图片高度，从正方形换成 4:3 更省空间 */
        .lens-img {
            aspect-ratio: 4 / 3;
            /* ← 优化重点：减少图片占据高度 */
        }

        /* 文本更紧凑 */
        .lens-title {
            font-size: 13px;
            margin: 6px 0 4px;
        }

        .lens-toggle {
            font-size: 12px;
            margin-top: 4px;
        }

        .lens-list li {
            font-size: 12px;
            margin-bottom: 3px;
        }

        .buy-btn {
            font-size: 12px;
            padding: 6px;
            margin-top: 8px;
        }
    }
