/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/*elementor表单*/
.elementor-form input:focus,
.elementor-form select:focus,
.elementor-form textarea:focus {
  border: none !important;      /* 去掉边框 */
  outline: none !important;     /* 去掉默认的 outline 高亮 */
  box-shadow: none !important;  /* Elementor/主题有时会加 box-shadow */
}

@media (max-width:1366px){
.elementor-field-group .elementor-field{
    font-size: 16px!important;
}

.elementor-field-textual.elementor-size-lg,.elementor-form .elementor-button.elementor-size-lg {
    min-height: 45px!important;
}

.elementor-53 .elementor-element.elementor-element-906d3ab .elementor-button{
    padding: 16px 16px 16px 16px!important;
}
}

@media (max-width:768px){
.elementor-field-group .elementor-field{
    font-size: 14px!important;
}

.elementor-field-textual.elementor-size-lg,.elementor-form .elementor-button.elementor-size-lg {
    min-height: 40px!important;
}

.elementor-53 .elementor-element.elementor-element-906d3ab .elementor-button{
    padding: 12px 12px 12px 12px!important;
}
}

.ct-container-fluid {
	width:100%!important;
	padding: 0vw 8vw 0vw 8vw;
}

@media (max-width:1366px) {
	[data-header*="type-1"] .ct-header [data-row*="middle"]{
     height:90px;
	}
 	
	
.ct-container-fluid {
	padding: 0vw 5vw 0vw 5vw;	
	}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container{
    logo-max-height: 50px;
}
	
.site-logo-container img{
	height:50px;	
	}	
}

@media (max-width:768px) {
[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container{
    logo-max-height: 35px;
}

	[data-header*="type-1"] .ct-header [data-row*="middle"]{
     height:70px;	
	}	
.site-logo-container img{
	height:35px;	
	}	
}	


/*商品菜单*/
.vertical-product-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 16px;
}

.vertical-product-menu > .menu-item > .menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: #7a7a7a;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.vertical-product-menu .menu-item-header .menu-title-wrapper a {
    color: #666666;
    line-height: 1.3em;
    font-weight: 500;
    text-decoration: none;

}

.vertical-product-menu > .menu-item.current > .menu-item-header{
    background-color: #fff;
}

.vertical-product-menu > .menu-item.current > .menu-item-header > .menu-title-wrapper a {
    color: #1F46C4;
    font-weight: 600;
}

.vertical-product-menu > .menu-item > .menu-item-header:hover {
    background-color: #fff;
    color: #1F46C4;
    transform: translateX(5px);
}

.vertical-product-menu > .menu-item > .menu-item-header:hover a {
    color: #1F46C4;
}

.vertical-product-menu > .menu-item > .menu-item-header:hover .menu-toggle {
    color: #1F46C4;
}

.vertical-product-menu .submenu .menu-item-header {
    padding: 0px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    cursor: pointer;
}

.vertical-product-menu .submenu .menu-item.current .menu-item-header {
    background-color: #fff;
}

.vertical-product-menu .submenu .menu-item.current a {
    color: #1F46C4;
    font-weight: 700;
}

.vertical-product-menu .submenu .menu-item  a {
    font-size: 18px!important;
    line-height: 1.3em;
    color: #7a7a7a;
    font-weight: 500;
}

.vertical-product-menu .menu-icon-left {
    vertical-align: middle;
}

.menu-title-wrapper a {
    display: flex;
    align-items: center;
    gap: 5px; 
}
.menu-title-wrapper img {
    display: block; 
    width: 16px;
    height: 16px;
}


.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #7a7a7a;
    transition: transform 0.3s ease, color 0.3s ease;
    border-radius: 6px;
}

.menu-toggle:hover {
    color: #1F46C4;
}

.menu-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.menu-toggle.open .menu-icon {
    transform: rotate(90deg);
}

.menu-toggle.no-submenu {
    cursor: default;
}

.submenu {
    list-style: none;
    margin-left: 20px;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid #ddd;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, margin-top 0.3s ease;
}

.submenu.open {
    max-height: 800px!important;
    margin-top: 10px;
}

.submenu .menu-item-header:hover {
    background-color: #fff;
}

.vertical-product-menu .submenu .menu-item-header {
    display: block;
    position: relative;
}

.vertical-product-menu .submenu .menu-item-header a {
    display: block;
    width: 100%;
    padding: 12px 20px;
}

@media (max-width:2560px) {
.vertical-product-menu .menu-item-header .menu-title-wrapper a {
    font-size: 24px;
}

.vertical-product-menu > .menu-item > .menu-item-header{
    padding: 20px 30px;
}

.menu-title-wrapper img {
    width: 30px!important;
    height: 30px!important;
}
}

@media (max-width:1920px) {
.vertical-product-menu .menu-item-header .menu-title-wrapper a {
    font-size: 18px;
}

.vertical-product-menu .submenu .menu-item  a {
    font-size: 16px!important;
}

.vertical-product-menu > .menu-item > .menu-item-header{
    padding: 15px 20px;
}

.menu-title-wrapper img {
    width: 20px!important;
    height: 20px!important;
}

}
