/**************************************************************************************************************************
 *xwy 自定义样式 start 
 **************************************************************************************************************************
**/
.post-126{
	display: grid;
	place-items: center; /* 水平和垂直居中 */
	min-height: 100vh; /* 可选：确保父级容器至少占满整个视口高度 */	
}

/* 通用样式 */
/* 父容器使用 Flexbox 布局 */
.dy-home-container {
    display: flex;
    flex-direction: column;
    gap: 50px; /* 在两个 home_choise 之间留出 50px 的间距 */
    padding-top: 50px; /* 为整个容器的顶部留出 50px */
	 align-items: center; /* 使子元素水平居中 */
}

.dy-box {
   width: 100%;
	/* 高度根据内容适配 */
	height: auto; 
}

.dy-caro-box {
   width: 100%;
}

.dy-center {
	text-align: center
}

.carousel {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  padding: auto;
}

.carousel-cell {
  display: block;
  width: 100%; /* 全宽 */
  margin-right: 10px;
  background: #FAFAFA;
  border-radius: 5px;
  overflow: hidden;
}
.carousel-cell img {
	display: block;
	width: 100%;
	height: auto; /* cell高度跟随图片 */
	object-fit: contain; /* 确保图片在容器内完整显示 */
}
/* 确保.flickity-viewport不设置固定高度，防止大屏幕时图片显示不全的问题 */
/* .flickity-viewport {	 
  height: 650px !important;
} */
@media (min-width: 1920px) {
	.carousel {
		max-width: 1920px;
	}
}

/* home page our service  */
.home_choise .choise-list {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.home_choise .item {
    padding: 0 50px;
    margin-bottom: 70px;
}
.home_choise .img {
	position: relative;
	transition: .5s;
	width: 97px;
	height: 97px;
	border: 2px solid #909090;
	border-radius: 50px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.home-main-tit {
	font-size: 40px;
	font-weight: 600;
	color: black;
	margin: 2px auto 10px;
}
.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.text-capitalize {
    text-transform: capitalize;
}
.text-center {
    text-align: center;
}

/* 客户询盘 */
.home_message {
	padding: 110px 0 90px;
	background-color: #212529;
	display: flex; /* 使用 Flexbox 布局 */
	justify-content: center; /* 水平居中 */
	align-items: center; /* 垂直居中 */
}
.home_message .message-form {
    padding: 38px;
    background: #fff;
    border: 2px solid #e7e7e7;
    box-shadow: 0 -2px 43px 0 rgba(134, 134, 134, .26);
}
.home_message .home-main-tit {
    margin-top: 149px;
}
.home-main-tit {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    margin: 2px auto 18px;
}
.home_message .message-sub-tit {
    color: #fff;
    padding-top: 78px;
}
.overflow {
    overflow: hidden;
}
.bg-cover {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.home_message .inputs, .home_message .textarea {
    background: #fff;
    border: 1px solid #a0a0a0;
    font-size: 14px;
    color: #000;
    width: 100%;
    margin-bottom: 40px;
}
.home_message .inputs input {
    width: 100%;
    padding: 14px 15px;
}	
.home_message input, .home_message input:focus, .home_message input:active {
    user-select: text;
}
.home_message input, .home_message textarea, .home_message select, .home_message button {
    border: 0;
    background: 0 0;
    outline: 0;
    font-family: poppins, arial, sans-serif;
}
.home_message button, .home_message input, .home_message select, .home_message textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.home_message input {
    line-height: normal;
}
.home_message button, .home_message input, .home_message optgroup, .home_message select, .home_message textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

.home_message .m-btn-theme, .home_message button.m-btn-theme {
    background-color: #b90e17;
    font-size: 18px;
    color: #000;
    text-transform: uppercase;
    width: 100%;
    padding: 18px 10px;
    transition: .5s;
}

/* 首页定制产品分类展示 */
.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05);
}
/* 定制开发的卡片样式 */
.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-card p {
    font-size: 16px;
    color: #555;
}

.dy-flow-box {
	width: 100%;
}

@media screen and (min-width: 1800px) {
	.dy-flow-box {
		width: 80%;
	}
}

.dy-col-5 {
        flex: 0 0 20%; /* 每个图片占据 20% 的宽度 */
        max-width: 20%;
    }

.dy-col-5 img {
	width: 100%;
	height: auto;
}


