/* ============================================================
   卓宏开关 - 网站美化样式表
   原则：不改页头/导航/页脚底色和布局，不改文字颜色
   只加视觉装饰：圆角、阴影、悬浮效果、间距优化
   ============================================================ */

/* 不影响页头，仅改善正文字体 */
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
}
html {
    scroll-behavior: smooth;
}

/* ============================================================
   产品展示图片卡片效果（首页和产品页）
   ============================================================ */
img[src*="s01.jpg"],
img[src*="s02.jpg"],
img[src*="s03.jpg"],
img[src*="s04.jpg"],
img[src*="s05.jpg"],
img[src*="s06.jpg"],
img[src*="s07.jpg"],
img[src*="s08.jpg"],
img[src*="s09.jpg"],
img[src*="s10.jpg"],
img[src*="s11.jpg"],
img[src*="s12.jpg"] {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 3px solid #fff;
    width: 280px;
    height: 180px;
    object-fit: cover;
}
img[src*="s01"]:hover,
img[src*="s02"]:hover,
img[src*="s03"]:hover,
img[src*="s04"]:hover,
img[src*="s05"]:hover,
img[src*="s06"]:hover,
img[src*="s07"]:hover,
img[src*="s08"]:hover,
img[src*="s09"]:hover,
img[src*="s10"]:hover,
img[src*="s11"]:hover,
img[src*="s12"]:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ============================================================
   下方大产品展示图
   ============================================================ */
img[src*="38003.jpg"],
img[src*="380002.jpg"],
img[src*="380004.jpg"],
img[src*="380001.jpg"] {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    width: 360px;
    height: 360px;
    object-fit: cover;
}
img[src*="38003"]:hover,
img[src*="380002"]:hover,
img[src*="380004"]:hover,
img[src*="380001"]:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* ============================================================
   工厂环境图片墙
   ============================================================ */
img[src*="j1.jpg"],
img[src*="j2.jpg"],
img[src*="j3.jpg"],
img[src*="j4.jpg"],
img[src*="j5.jpg"] {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    width: 180px;
    height: 140px;
    object-fit: cover;
}
img[src*="j1"]:hover,
img[src*="j2"]:hover,
img[src*="j3"]:hover,
img[src*="j4"]:hover,
img[src*="j5"]:hover {
    transform: scale(1.08);
}

/* ============================================================
   产品分类左侧栏菜单美化
   ============================================================ */
.productsboxover {
    padding: 8px 15px;
    border-radius: 6px;
    margin: 3px 0;
    transition: all 0.3s ease;
}
.productsboxout {
    padding: 8px 15px;
    border-radius: 6px;
    margin: 3px 0;
    transition: all 0.3s ease;
}
.productsboxout:hover {
    padding-left: 20px;
}

/* ============================================================
   产品详情页小图美化
   ============================================================ */
table img[width="150"],
table img[width="160"],
table img[width="180"] {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
table img[width="150"]:hover,
table img[width="160"]:hover,
table img[width="180"]:hover {
    transform: scale(1.05);
}

/* ============================================================
   侧边栏圆角
   ============================================================ */
img[src*="rx.jpg"],
img[src*="qq.gif"],
img[src*="wx0.png"] {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
a img[src*="qq.gif"] {
    transition: transform 0.3s ease;
}
a:hover img[src*="qq.gif"] {
    transform: scale(1.05);
}

/* ============================================================
   95000 大图横幅
   ============================================================ */
img[src*="95000.jpg"],
img[src*="950000.jpg"] {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ============================================================
   企业认证logo
   ============================================================ */
img[src*="ce.png"],
img[src*="cqc.png"] {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ============================================================
   新闻列表分割线
   ============================================================ */
table[width="480"] tr td {
    border-bottom: 1px dashed #dee2e6;
    padding: 8px 0;
}
table[width="480"] tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   通用：图片自适应
   ============================================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
    img[src*="s01.jpg"],
    img[src*="s02.jpg"],
    img[src*="s03.jpg"],
    img[src*="s04.jpg"],
    img[src*="s05.jpg"],
    img[src*="s06.jpg"],
    img[src*="s07.jpg"],
    img[src*="s08.jpg"],
    img[src*="s09.jpg"],
    img[src*="s10.jpg"],
    img[src*="s11.jpg"],
    img[src*="s12.jpg"] {
        width: 240px;
        height: 160px;
    }
    img[src*="38003.jpg"],
    img[src*="380002.jpg"],
    img[src*="380004.jpg"] {
        width: 300px;
        height: 300px;
    }
    img[src*="j1.jpg"],
    img[src*="j2.jpg"],
    img[src*="j3.jpg"],
    img[src*="j4.jpg"],
    img[src*="j5.jpg"] {
        width: 150px;
        height: 120px;
    }
}
