/* Minification failed. Returning unminified contents.
(103,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(104,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(107,33): run-time error CSS1039: Token not allowed after unary operator: '-mask-color'
(107,52): run-time error CSS1039: Token not allowed after unary operator: '-mask-opacity'
(114,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
 */
.card:hover {
    border: 1px solid #e9e9e9;
    cursor: pointer;
    animation: card-shadow 0.5s linear infinite;
}

.company-title {
    color: rgba(0,0,0,1);
    position: relative;
    white-space: nowrap; /* 强制文本不换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    width: auto;
    font-weight: bold;
}

    .company-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100px;
        height: 2px;
        background-color: red;
    }

@keyframes card-shadow {
    0%, 100% {
        box-shadow: 0 0 20px #e7e7e7;
    }
}


.content-nav {
            position: relative;
            height: 300px; /* 固定高度，可根据需要调整 */
            overflow: hidden; /* 隐藏超出部分 */
            border-radius: 8px; /* 可选：添加圆角 */
        }
        
        .content-nav img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 图片填充整个容器 */
            transition: transform 0.3s ease; /* 添加平滑过渡效果 */
        }
        
        .content-nav:hover img {
            transform: scale(1.05); /* 鼠标悬停时放大1.05倍 */
        }
        
        .content-nav .d-flex {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); /* 底部渐变背景 */
            color: white; /* 文字颜色 */
            align-items: center; /* 垂直居中 */
        }
        
        .content-nav .d-flex div:first-child {
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .content-nav .d-flex div:last-child {
            margin-left: auto; /* 将右侧内容推到最右 */
            cursor: pointer; /* 鼠标悬停时显示手型 */
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .content-nav .d-flex div:last-child:hover {
            color: #0dcaf0; /* 悬停时改变颜色 */
        }

/* 首页产品类别列表卡片 */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
        border-color: #0dafc6 !important;
    }

    .category-card .card-img {
        transition: transform 0.3s ease;
    }

    .category-card:hover .card-img {
        transform: scale(1.08);
    }

/* 类别卡遮罩：颜色与透明度均可在 CSS 中设置
   颜色：--mask-color 用 "R,G,B"，黑=0,0,0，蓝=13,110,253
   透明度：--mask-opacity，平时 0.75，hover 0.4 */
.category-mask {
    --mask-color: 13,110,253; /* 黑色遮罩；蓝色改 13,110,253 */
    --mask-opacity: 0.75; /* 平时透明度 75%（即 25% 透出图片） */
    position: absolute;
    inset: 0;
    background-color: rgba(var(--mask-color), var(--mask-opacity));
    z-index: 1; /* 在图片(0)之上、文字(2)之下 */
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.category-card:hover .category-mask {
    --mask-opacity: 0.4;       /* 鼠标悬停时透明度降到 40% */
}

.category-card .card-img-overlay {
    z-index: 2;                /* 文字始终位于遮罩之上 */
}
.image-box {
    overflow: hidden;
    border: 1px #e7e7e7 solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #ffffff;
    border-radius: 4px;
}

    .image-box:hover {
        border: 1px #0dafc6 solid;
    }

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    /* 核心放大效果 - 鼠标悬停时放大1.1倍 */
    .image-wrapper:hover img {
        transform: scale(1.1);
    }


.image-box .image-wrapper img:hover {
    transform: scale(1.1);
}

/* ===== Card 产品卡片样式（点击整卡全屏查看） ===== */
.product-card {
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
        border-color: #0dafc6;
    }

    /* 4:3 图片区：宽>高的扁图 */
    .product-card .image-wrapper {
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        cursor: pointer;
    }

        .product-card .image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* 鼠标悬停图片放大 */
        .product-card:hover .image-wrapper img {
            transform: scale(1.1);
        }

/* 全屏显示样式 */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .fullscreen-overlay.active {
        display: flex;
        opacity: 1;
    }

.fullscreen-image-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-fullscreen {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .close-fullscreen:hover {
        background-color: rgba(0, 0, 0, 0.85);
        transform: rotate(90deg);
    }

