﻿/* AB模板网 整站模板下载 */
/* 模板：Www.AdminBuy.Cn */
/* 仿站：Fang.AdminBuy.Cn */
/* 素材：Sc.AdminBuy.Cn */
/* js特效：js.AdminBuy.Cn */
/* QQ：9490489 */
.diy_page,.diy_page2{font:12px/21px Arial;clear:both;margin:0 auto;text-align:center;color:#999;}
.diy_page a img{border:0;}
.diy_page a{text-decoration:none;color:#333;border:1px solid #CCCCCC; padding:0 4px;margin-right:1px;}
.diy_page a:hover{color:#f00;background:#CCCCCC;text-decoration:none;}
.diy_page a.current{color:red;border:1px solid #CCCCCC; background:#CCCCCC;}
.diy_page a.p_n{border:none;}
.diy_page a.p_n:hover{border:none;background:none;color:#F00;text-decoration:underline;}
.diy_page a.nob{border:none;padding:0 3px}
.diy_page a.p_n2{border:none;text-decoration:none;border:1px solid #FFF;}
.diy_page a.p_n2:hover{border:none;background:none;border:1px solid #FFBB55;}



        /* 外层容器 */
        .product-container {
            max-width: 1600px;
            margin: 0 auto;
        }

        .product-wrapper {
            width: 100%;
        }

        /* 核心Grid布局：严格三列（左1，中2，右1） */
        .product-layout-grid {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            grid-template-rows: auto auto;
            gap: 16px;
            align-items: stretch;
        }

        /* 左右大卡片：固定列位置，跨两行（保持原有上下布局） */
        .product-item.big-card {
            grid-row: 1 / span 2;
            background: #FFFFFF;
            border-radius: 4px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            transition: transform 0.3s ease;
        }

        .product-item.big-card:hover {
            transform: translateY(-5px);
        }

        /* 中间小卡片组：固定在第二列，跨两行 */
        .small-card-container {
            grid-column: 2 / 3;
            grid-row: 1 / span 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 16px;
            height: 100%;
        }

        /* 小卡片样式：左图右文字的横向布局 */
        .product-item.small-card {
            background: #FFFFFF;
            border-radius: 4px;
            overflow: hidden;
            display: flex; /* 改为横向flex布局 */
            align-items: center; /* 垂直居中 */
            padding: 20px;
            transition: transform 0.3s ease;
        }

        .product-item.small-card:hover {
            transform: translateY(-5px);
        }

        /* 小卡片图片区域：固定宽度，居左 */
        .small-card .item-image-box {
            flex: 0 0 100px; /* 固定图片宽度 */
            margin-right: 15px; /* 图片与文字间距 */
            margin-bottom: 0; /* 取消上下布局的margin */
        }

        .small-card .item-image-box img {
            max-width: 100%;
            max-height:400px;
            object-fit: contain;
        }

        /* 小卡片文字+按钮区域：自适应宽度，居右 */
        .small-card .item-content-wrap {
            flex: 1; /* 占满剩余宽度 */
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* 标题区域（仅小卡片生效） */
        .small-card .item-title-area {
            margin-bottom: 10px;
            text-align: left; /* 文字左对齐 */
        }

        .small-card .item-title-area h3 {
            font-size: 16px;
            color: #333333;
            margin-bottom: 2px;
            font-weight: 500;
        }

        .small-card .item-title-area .english-title {
            font-size: 12px;
            color: #999999;
        }

        /* 大卡片图片区域（保持原有样式） */
        .big-card .item-image-box {
            margin-bottom: 20px;
        }

        .big-card .item-image-box img {
            max-width: 100%;
            max-height: 120px;
            object-fit: contain;
        }

        /* 大卡片标题区域（保持原有样式） */
        .big-card .item-title-area {
            margin-bottom: 15px;
            text-align: center;
        }

        .big-card .item-title-area h3 {
            font-size: 18px;
            color: #333333;
            margin-bottom: 4px;
            font-weight: 500;
        }

        .big-card .item-title-area .english-title {
            font-size: 14px;
            color: #999999;
        }

        /* 展开按钮（统一样式） */
        .expand-button {
            display: inline-block;
            width: 32px;
            height: 32px;
            line-height: 32px;
            border: 1px solid #0D7B82;
            border-radius: 50%;
            color: #0D7B82;
            font-size: 18px;
            cursor: pointer;
            text-align: center;
            transition: all 0.2s ease;
        }

        .expand-button:hover {
            background-color: #0D7B82;
            color: #FFFFFF;
        }

        /* 响应式适配 */
        @media (max-width: 1200px) {
            .product-layout-grid {
                grid-template-columns: 1fr;
            }
            .product-item.big-card {
                grid-row: auto;
            }
            .small-card-container {
                grid-column: 1 / 2;
                grid-row: auto;
                grid-template-columns: 1fr 1fr;
            }
            /* 小屏幕下小卡片仍保持左图右文字 */
            .product-item.small-card {
                flex-direction: row;
            }
        }

        /* 超小屏幕适配 */
        @media (max-width: 768px) {
            .small-card-container {
                grid-template-columns: 1fr;
            }
            .product-item.small-card {
                flex-direction: column; /* 超小屏幕改回上下布局 */
                text-align: center;
            }
            .small-card .item-image-box {
                margin-right: 0;
                margin-bottom: 10px;
                flex: none;
            }
            .small-card .item-title-area {
                text-align: center;
            }
        }