nav ul>li:hover,
nav ul>li.active {
    background-color: rgb(var(--blue-900));
}
/* 修复导航主菜单li的宽度计算 */
nav ul>li {
    flex-shrink: 0; /* 防止收缩 */
    box-sizing: border-box; /* 确保border和padding包含在宽度内 */
    min-width: 0; /* 允许收缩到最小内容宽度 */
}
nav ul>li>ul.dropdown {

    /* width: max-content; */
    /* min-width: 120px; */
	visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px); /* 向上偏移一点，为动画做准备 */
    
    /* 过渡效果 */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
	
}

nav ul>li:hover>ul.dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0); /* 回到原位 */
}
nav ul>li>ul.dropdown li{
	 width: 220px; 
    flex: 0 0 auto; /* 固定宽度，不允许增长或收缩 */
    box-sizing: border-box; /* 确保padding包含在内 */
}
@media (max-width: 1536px) {
    nav ul>li>ul.dropdown li {
        max-width: 190px;
    }
}
/* 当屏幕小于等于 1280px 时，应用这个，它会覆盖上面的 */
@media (max-width: 1280px) {
    nav ul>li>ul.dropdown li {
        max-width: 160px;
    }
}
/* ... 以此类推 */
@media (max-width: 1024px) {
    nav ul>li>ul.dropdown li {
        max-width: 120px;
    }
}

nav ul>li>ul.dropdown li>div{
	background-image: url(https://tpl-ce91c6e-pic48.websiteonline.cn/upload/b11.png);
	background-repeat: no-repeat;
	background-size: 100%;
}

nav ul>li>ul>li:hover {
    color: rgb(var(--blue-600));
    background-color: rgb(var(--white));
}

/* 移动端产品标题样式 */
@media (max-width: 768px) {
    .product-title a.text-right {
        flex-shrink: 0;
        white-space: nowrap;
        margin-left: 8px;
    }

    .product-title h4 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.fade-from-top {
    animation: fadeFromTop 0.5s ease-in-out;
}

.product-info {
    animation: flipFromBottom 0.5s ease-in-out;
    transform-origin: bottom center;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transform: translateY(100%);
}

.product-image:hover .product-info {
    opacity: 0.7;
    transform: translateY(0);
}

.product-image:not(:hover) .product-info {
    opacity: 0;
    transform: rotateX(90deg);
}

.duration-500 {
    transition-duration: 500ms;
}

@keyframes flipFromBottom {
    0% {
        transform: rotateX(-90deg);
        opacity: 0;
    }

    50% {
        transform: rotateX(0deg);
        opacity: 0.7;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 0.7;
    }
}

@keyframes fadeFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0.7;
    }
}

@keyframes fadeFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.uppercase {
    text-transform: uppercase;
}

.space-x-20>:not([hidden])~:not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-left: calc(5rem*(1 - var(--tw-space-x-reverse)));
    margin-right: calc(5rem*var(--tw-space-x-reverse))
}
.btn-hover-border-blue600:hover {
    border-color: rgb(var(--blue-600));
    color: rgb(var(--blue-600));
}
.border-dashed {
    border-style: dashed;
}
.pages span{
    display: contents;
}
.page-status{
    display: block !important;
}
.pages span a,
.page-status{
    padding: 5px 10px;
    background-color: rgb(var(--gray-100));
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 6px;
}
.page-num-current,
.pages span a:hover{
    background-color: rgb(var(--blue-600)) !important;
    color: rgb(var(--white));
}
/* 客服组件 */
.jqui-customer-main li{
    list-style: none;
}
.jqui-callback-bottom {
	width: 340px;
	height: 60px;
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 100;
	box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.06);
}

.jqui-callback-bottom li {
	height: 100%;
}

.jqui-callback-bottom p,
.jqui-callback-bottom a {
	margin-top: 10px;
	font-size: 16px;
	font-family: '幼圆';
	white-space: nowrap;
	font-weight: 500;
}

.jqui-callback-bottom li:nth-of-type(1) {
	padding-top: 4px;
	background-color: #FFFFFF;
}

.jqui-callback-bottom li:nth-of-type(2) {
	background-color: rgb(var(--blue-600));
	padding-top: 12px;
}

#jqui-customer {
	width: 60px;
	position: fixed;
	right: 0px;
	top: 15%;
	background-color: #FFFFFF;
	box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.06);
}

#jqui-customer li {
	height: 60px;
	text-align: center;
	line-height: 60px;
}

#jqui-customer li a {
	font-size: 20px;
	color: rgb(var(--blue-600));
}

#jqui-wechat,
#jqui-callback {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: 100;
}

#jqui-wechat-main,
#jqui-callback-main {
	background: #fff;
	font-size: 16px;
	color: #000;
	text-align: center;
	line-height: 31px;
	border-radius: 10px;
	margin: 0 auto;
	margin-top: 10%;
}

#jqui-wechat-main {
	padding: 20px 10px;
	width: 320px;
}

#jqui-callback-main {
	width: 50%;
}

.jqui-wechat-head-img a {
	background-color: #00D78D;
	color: #FFFFFF;
}

.jqui-callback-right img {
	height: calc(333 * 0.0625em);
	border-radius: 0px 10px 10px 0px;
}


#jqui-callback-main input[type=button] {
	height: 40px;
	font-size: 16px;
}

@media (max-width: 576px) {
	.jqui-callback-bottom {
		width: 100%;
	}

	#jqui-callback-main {
		width: 80%;
		margin-top: 30%;
	}

	#jqui-wechat-main {
		margin-top: 30%;
	}
}
[data-tips]:after{
    background-color:rgb(var(--blue-600)) !important;
    color: rgb(var(--white));
}