/* Itwuyu_qd 自定义样式文件 */

/* 基础样式 */
.itwuyu-qd-container {
    width: 100%;
    box-sizing: border-box;
}

/* 动画效果 */
.itwuyu-qd-fade-in {
    animation: itwuyuFadeIn 0.5s ease-in-out;
}

@keyframes itwuyuFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .itwuyu-qd-container {
        padding: 10px;
    }
}

/* 编辑器特定样式 */
.block-editor .itwuyu-qd-container {
    border: 1px dashed #007cba;
    padding: 15px;
    border-radius: 4px;
}

/* 前端特定样式 */
.itwuyu-qd-frontend {
    /* 前端特定样式可以在这里添加 */
    clear: none;
}
.ly_wz_ce {
            margin-bottom: 2rem;
        }
        .ly_wz_ce .main-title {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            text-decoration: none;
            transition: color 0.3s;
        }
        .ly_wz_ce .main-title:hover {
            color: #3498db;
        }
        .ly_wz_ce .sub-title {
            font-size: 1.5rem;
            color: #7f8c8d;
            font-weight: normal;
        }

        .ly_cp_01 {
            font-family: 'Arial', sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        .ly_cp_01 .product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }
        .ly_cp_01 .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .ly_cp_01 .product-card:hover {
            transform: translateY(-5px);
        }
        .ly_cp_01 .product-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .ly_cp_01 .product-info {
            padding: 1rem;
            text-align: center;
        }
        .ly_cp_01 .product-title {
            font-size: 1.2rem;
            color: #333;
            margin-bottom: 0.5rem;
            text-decoration: none;
            display: block;
        }
        .ly_cp_01 .product-title:hover {
            color: #3498db;
        }

        .ly_cp_02-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .ly_cp_02-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        
        .ly_cp_02-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        
        .ly_cp_02-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.15);
        }
        
        .ly_cp_02-image-container {
            height: 220px;
            overflow: hidden;
        }
        
        .ly_cp_02-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .ly_cp_02-card:hover .ly_cp_02-image {
            transform: scale(1.05);
        }
        
        .ly_cp_02-content {
            padding: 18px;
            text-align: center;
        }
        
        .ly_cp_02-title {
            font-size: 16px;
            color: #333;
            margin: 0;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: color 0.3s;
        }
        
        .ly_cp_02-title:hover {
            color: #3498db;
        }
        
        @media (max-width: 1024px) {
            .ly_cp_02-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .ly_cp_02-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .ly_cp_02-grid {
                grid-template-columns: 1fr;
            }
        }




/* ------------区块自定义样式------------------------ */
.ly_wz_title-container {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
        }
        .ly_wz_main-title {
            font-size: 2.5rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 0.5rem;
        }
        .ly_wz_sub-title {
            font-size: 1rem;
            color: #7f8c8d;
            font-weight: 300;
        }

  .ly_wy_left_title-container {
            max-width: 800px;
            margin: 2rem;
            padding: 1.5rem;
        }
        .ly_wy_left_main-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.8rem;
            text-align: left;
        }
        .ly_wy_left_sub-title {
            font-size: 1.1rem;
            color: #666;
            font-weight: 400;
            text-align: left;
            line-height: 1.5;
        }

         .ly_wy_right_title-container {
            max-width: 800px;
            margin: 2rem auto 2rem 0;
            margin-left: auto;
            padding: 1.5rem;
        }
        .ly_wy_right_main-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.8rem;
            text-align: right;
        }
        .ly_wy_right_sub-title {
            font-size: 1.1rem;
            color: #666;
            font-weight: 400;
            text-align: right;
            line-height: 1.5;
        }



        /* 产品一行四个01效果 */
        .ly_cp_01_container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .ly_cp_01_h1 {
            text-align: center;
            color: var(--ly_cp_01_dark-color);
            margin-bottom: 3rem;
            font-size: 2.5rem;
            position: relative;
        }
        
        .ly_cp_01_h1::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--ly_cp_01_accent-color);
            margin: 1rem auto;
            border-radius: 2px;
        }
        
        .ly_cp_01_products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .ly_cp_01_product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .ly_cp_01_product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .ly_cp_01_product-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .ly_cp_01_product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .ly_cp_01_product-card:hover .ly_cp_01_product-image img {
            transform: scale(1.1);
        }
        
        .ly_cp_01_product-info {
            padding: 1.5rem;
            text-align: center;
        }
        
        .ly_cp_01_product-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--ly_cp_01_dark-color);
            margin: 0.5rem 0;
            transition: color 0.3s ease;
        }
        
        .ly_cp_01_product-card:hover .ly_cp_01_product-title {
            color: var(--ly_cp_01_primary-color);
        }
        
        .ly_cp_01_price-tag {
            display: inline-block;
            background: var(--ly_cp_01_primary-color);
            color: rgb(10, 10, 10);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            transition: all 0.3s ease;
        }
        
        .ly_cp_01_product-card:hover .ly_cp_01_price-tag {
            background: var(--ly_cp_01_secondary-color);
            transform: scale(1.05);
        }
        
        @keyframes ly_cp_01_pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .ly_cp_01_product-card:nth-child(1):hover {
            animation: ly_cp_01_pulse 1s infinite;
        }
        
        .ly_cp_01_product-card:nth-child(2):hover {
            transform: rotate(3deg) translateY(-10px);
        }
        
        .ly_cp_01_product-card:nth-child(3):hover {
            box-shadow: 0 0 20px rgba(67, 97, 238, 0.5);
        }
        
        .ly_cp_01_product-card:nth-child(4)::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 2px solid transparent;
            border-radius: 12px;
            transition: all 0.3s ease;
            pointer-events: none;
        }
        
        .ly_cp_01_product-card:nth-child(4):hover::before {
            border-color: var(--ly_cp_01_accent-color);
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
        }
        
        @media (max-width: 768px) {
            .ly_cp_01_products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .ly_cp_01_products-grid {
                grid-template-columns: 1fr;
            }
        }


        /* 产品一行四个02效果 */
      .ly_wz_02 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .ly_wz_02 .product-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        .ly_wz_02 .product-grid {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
        .ly_wz_02 .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        .ly_wz_02 .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        .ly_wz_02 .product-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .ly_wz_02 .product-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .ly_wz_02 .product-info {
            padding: 1.5rem;
        }
        .ly_wz_02 .product-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #333;
            transition: color 0.3s ease;
        }
        .ly_wz_02 .product-link:hover .product-title {
            color: #3b82f6;
        }
        .ly_wz_02 .product-desc {
            color: #666;
            font-size: 0.875rem;
            line-height: 1.5;
        }
        .ly_wz_02 .page-title {
            font-size: 2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 2rem;
            color: #333;
        }

        