@charset "utf-8";
/* CSS Document */
 /* 产品列表样式 */
        .product-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            padding: 20px;
        }

        .product-item {
            width: 255px;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .product-item:hover {
            transform: scale(1.05);
        }

        .product-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
        }

        /* 相册模态框样式 */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 999;
        }

        .gallery-modal.active {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gallery-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .gallery-image {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 8px;
        }

        /* 导航按钮 */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.8);
            border: none;
            padding: 15px;
            cursor: pointer;
            border-radius: 50%;
            font-size: 24px;
        }

        .prev-btn {
            left: -70px;
        }

        .next-btn {
            right: -70px;
        }

        /* 关闭按钮 */
        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 40px;
            cursor: pointer;
        }

        /* 图片计数器 */
        .image-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            background: rgba(0, 0, 0, 0.7);
            padding: 5px 15px;
            border-radius: 20px;
        }

