h1, h2, h3, h4, h5, h6, p{
margin-top: 0 !important;	
}
form input, select, form textarea, form label, form button {
    font-family: inherit !important;
}		
a:focus, input:focus, p:focus, div:focus, button:focus, span:focus{
-webkit-tap-highlight-color:rgba(0,0,0,0)!important;
outline:none!important;
-moz-outline:none !important;
}
/* 给小部件添加 addudline ，鼠标滑过有下划线 */
.addudline a:hover,  .addudline a>span:hover, #submit:hover, .e-loop-item .elementor-heading-title:hover a, p > a:hover, .elementor-widget-breadcrumbs a:hover, .woocommerce-loop-product__title:hover {
    text-decoration: underline !important;
	text-underline-offset: 4px !important;
}
/* 给小部件添加 noaddudline ，鼠标滑过没有下划线 */
header nav a:hover, .noaddudline a:hover {
    text-decoration: none !important;
}	
img, .e-con-inner{
    -webkit-transition: all 0.5s !important;
    -moz-transition: all 0.5s!important;
    -o-transition: all 0.5s!important;
    transition: all 0.5s !important;
}
/* 给小部件添加 hoverbig , 里面的图片就能滑过变大，并且超出容器框隐藏。添加nohidden，超出容器不隐藏 */	
.elementor-widget-image-box:not(.nohidden), .elementor-widget-image-box:not(.nohidden) .elementor-image-box-img, .elementor-widget-image:not(.nohidden){
overflow: hidden;    
}	
article.elementor-post:hover img, .hoverbig:hover img, .fancybox-toolbar{
    -webkit-transform: scale(1.07) !important;
    -moz-transform: scale(1.07)!important;
    -o-transform: scale(1.07)!important;
    -ms-transform: scale(1.07)!important;
    transform: scale(1.07) !important;
}
/* 给Carousel小部件添加 sliderovfl , 非第一张的幻灯片可以超出边框显示出来 */	
.sliderovfl .swiper, .sliderovfl .elementor-element{
overflow: visible !important;
}
/* 给Icon list等有<li>的小部件添加 fitcwitddm , li宽度会变短适应内容宽度 */	
.fitcwitddm .elementor-widget-icon-list, .fitcwitddm .elementor-icon-list-items, .fitcwitddm li.elementor-icon-list-item{
width: fit-content !important;
}
/* 给带图标的按钮、Tab等小部件添加 spa-btwdm , 文字和图标会2端对齐 */	
.elementor-nav-menu a, .spa-btwdm .e-n-tab-title{
justify-content: space-between !important; 
}	
/* 给幻灯片小部件添加 arrowbg , 切换箭头会添加背景色，变圆形，下面背景色要换。箭头设置23px大 */	
.arrowbg .elementor-swiper-button{
    background: var(--e-global-color-aeccfe7) !important;
    border-radius: 50% !important;
    padding: .6rem !important;
}
/* 给容器添加 tablehoverbg , 定义表格颜色，边距以及鼠标滑过tr背景色*/	
.tablehoverbg td {
    border-color: #d5d5d5 !important;
    padding: 10px 10px;
    font-size: smaller;
    line-height: 1.4em;
}
.tablehoverbg tr:hover{
background:#479dff0d;    
}
.elementor-nav-menu a{
justify-content: space-between; 
}	
:focus-visible, :is(a,button,input[type="submit"],input[type="checkbox"],input[type="button"],input[type="file"],[tabindex="0"]):focus-visible{
outline: none!important;
}
:focus-within {
outline-style: none !important;
}	
input[type=search]::-webkit-search-cancel-button{
	-webkit-appearance: auto  !important;
	appearance: auto !important;
}	
button:hover, input[type="button"], input[type="submit"]{
cursor:pointer !important;
}	
table	p {
margin-bottom: 0 !important;
}
.elementor-element p{
margin-top:0 !important;	
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea
 {
	 border: 1px solid #666;
}		
span.trp-ls-language-name {
padding-left: 4px!important;
}	
textarea#comment {
    display: block;
    width: 100%;
}		
*, *::before, *::after {
    box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
}
.elementor-post__thumbnail {
    padding-bottom: 0!important;
}
/*  鼠标滑过 X 图标旋转变大 */
.e-eicon-close, .eicon-close, .e-off-canvas__content .elementor-icon svg, .ekit-popup-close, .search-error-close, .close-mini-cart, .tcfa-times{
transition:transform 0.2s ease!important;	
}

.e-eicon-close:hover, .eicon-close:hover, .e-off-canvas__content .elementor-icon svg:hover, .ekit-popup-close:hover, .search-error-close:hover, .close-mini-cart:hover, .tcfa-times:hover {
transform: rotate(90deg) scale(1.15) !important;
opacity: 1 !important;
}
.elementor-icon-list-item > a:hover{
text-decoration: underline;
text-decoration-color: var(--e-global-color-accent);
}
input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus{
	border-color: var(--e-global-color-accent);
}
.elementor-icon-list-item > a:hover{
text-decoration: underline;
text-decoration-color: var(--e-global-color-accent);
}
input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus{
	border-color: var(--e-global-color-accent);
}
.elementor-post__title a:hover{
text-decoration:underline !important;
color: var(--e-global-color-accent) !important; 
}		
.elementor-post__read-more:hover{
text-decoration:underline !important;	
}	
/* 表单的错误提示导致字段上下居中对齐，变成顶部对齐 */
.elementor-form-fields-wrapper {
    align-items: flex-start !important;
}
/* WP视频播放样式 */
.wp-video {
box-shadow: 0 0 5px 1px #d5d5d5;
width: 100% !important;
}
.mejs-overlay-button {
background-color: #5c2fde!important;
border-radius: 50%;
}
.wp-video button{
background-color: #ffffff00 !important;
border-radius: 0!important;
padding: 0!important;
}
.wp-video .mejs-overlay-button {
background-color: var( --e-global-color-accent ) !important;
}
.mejs-time-rail:hover .mejs-time-handle-content {
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform:scale(0)!important;
}
.mejs-controls button{
-webkit-transition: all 0.5s !important;
-moz-transition: all 0.5s!important;
-o-transition: all 0.5s!important;
transition: all 0.5s !important;
}
.mejs-controls div button:hover{
bottom: 1px!important;
}
.wp-video + p:has( em){
padding-top: 5px!important; 
}
.mejs-video .mejs-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mejs-video:hover .mejs-controls {
    opacity: 1;
}
.elementor-field-group .elementor-field-textual:focus {
box-shadow: none !important;
}

/* 图片右上角加放大图标, 给容器添加  imghvbdm */
.imghvbdm p:has( img){
position: relative !important;
}

.imghvbdm p a:has(img):before{
display: block!important;
position: absolute;
content: '';
top:.5em;
right:.5em;
width: 22px;
height: 22px;
background-size: 16px;
background-image: url(https://diiamo.cc/wp-content/uploads/2026/01/zoom-out-icon-green.svg)!important;
background-color:#00bf461c;
border-radius: 4px;
background-repeat: no-repeat;
background-position: center center;
transition: background-size 0.1s ease;
}	
@media (min-width: 768px) {
.imghvbdm p a:hover::before {
background-size: 21px !important;
}
}

/* 询盘车 */
#pi-eqw-mini-cart{
border-radius: 0 !important;	
font-size: 15px !important;	
}	
#pi-mini-cart-button{
font-weight: 500 !important;	
}	
#pi-mini-cart-button:hover{
text-decoration:underline !important;	
}	
.price bdi{
font-size: 1rem !important;		
}	
body:not(.woocommerce):not(.page-id-3442) .pi-count, .pi-mini-cart-item .price, .pisol-view-cart{
display:none !important; 
}	
#pi-eqw-cart{
z-index: 99 !important; 
}	
.name-qty{
color: #ffffff00;
}	
.name-qty a{
color: -webkit-link !important; 
text-decoration: unset !important; 
}	
.name-qty a:hover{
text-decoration: underline !important; 
}
@media (max-width: 767px) {
a#pi-eqw-cart {
    bottom: 60px !important;
    right: 16px !important;
    width: 35px !important;
}
a#pi-eqw-cart > img {
    width: 35px !important;
    height: 35px !important;
}	
}