.tab-active  a{
  background-color: #00A7EA !important;
  color: #FFFFFF !important;
}

.elementor-widget-posts .elementor-post__title a{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;



}
/* Optimized Styles for Product Specs List */

/* 初始状态：搜索框隐藏并收缩 */
#header-search-bar {
    width: 0;
    opacity: 0;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}

/* 展开状态：搜索框显示并展开 */
#header-search-bar.active {
    width: 250px; /* 您可以根据需要调整宽度 */
    opacity: 1;
}

/* 隐藏搜索按钮和表单标签（可选） */
#header-search-bar .elementor-search-form__submit,
#header-search-bar .elementor-search-form__toggle {
    display: none;
}

.product-specs-list {
    font-family: Arial;
    color: #444;
    margin: 2em auto; /* Center the list on the page and add vertical spacing */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 20px;
}

.product-specs-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top for multi-line values */
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease-in-out;
}

.product-specs-list li:last-child {
    border-bottom: none;
}

.product-specs-list li:hover {
    background-color: #f9f9f9;
}

.product-specs-list .spec-name {
    font-weight: 600; /* Use a slightly bolder font weight */
    flex-basis: 20%; /* Increase the width for the name column */
    color: #333;
    padding-right: 20px;
    line-height: 1.4;
}

.product-specs-list .spec-value {
    flex-basis: 80%;
    color: #666;
    text-align: left;
    line-height: 1.4;
    word-break: break-word; /* Prevents long words from overflowing */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .product-specs-list {
        padding: 15px;
        margin: 1em;
    }

    .product-specs-list li {
        flex-direction: column; /* Stack name and value vertically */
        align-items: stretch;
    }

    .product-specs-list .spec-name,
    .product-specs-list .spec-value {
        text-align: left; /* Align text to the left for better readability */
        padding-right: 0;
        flex-basis: auto;
    }
    
    .product-specs-list .spec-value {
        padding-top: 5px; /* Add a small space between name and value */
    }
}

/* Styles for the Key Features list */
.product-features-list {
    font-family:  Arial;
    max-width: 1200px;
    margin: 2em auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* 优化图片容器和图片样式 */
.feature-image-container {
    width: 100%;
    height: 200px; /* 固定高度，确保图片容器统一 */
    overflow: hidden; /* 隐藏超出容器的图片部分 */
    border-radius: 8px; /* 圆角与卡片一致 */
    margin-bottom: 20px; /* 图片与标题的间距 */
}


.feature-image-container .feature-image {
    width: auto;
    height: 100%;
    object-fit: cover; /* 关键：图片自适应容器，保持比例并裁剪 */
    display: block;
    margin: auto;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #005BAC;
    margin: 0 0 10px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    height: calc(1.3em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.feature-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #005BAC;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .product-features-list {
        padding: 15px;
        margin: 1em;
    }

    .feature-item h3 {
        height: auto;
        -webkit-line-clamp: unset;
    }
}


.floating-menu.-right a.fm-link {
	box-shadow:  6px 6px 10px 0px rgba(0, 0, 0, 0.3) !important;
}
.fm-bar{
	gap: 12px !important;
}

@media (max-height: 100vh) {
    #float-menu-top {
        display: none;
    }
}


/* Shortcode 2: Product Features Grid Styles */
/* Shortcode 2: Product Features Grid Styles (Optimized) */

.product-features-grid {
    font-family: Arial, sans-serif;
    color: #000000;
    max-width: 1200px;
    margin: 2em auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* 增加间距以适应hover效果 */
    text-align: left; /* 文本靠左对齐 */
}

.feature-grid-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 文本靠左对齐 */
    padding: 25px; /* 增加内边距 */
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 初始阴影 */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-grid-item:hover {
    transform: translateY(-5px); /* 向上浮动 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* 阴影更明显 */
}

.feature-grid-image-container {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.feature-grid-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-grid-item h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 10px;
}

.feature-grid-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* 移动端响应式，变为两列或一列 */
@media (max-width: 992px) {
    .product-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .product-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Shortcode 3: Product Features Tabs Styles (Final Version) */

.product-features-tabs {
    display: flex;
    gap: 30px;
  /*  margin: 2em auto;
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);*/
}

.tabs-navigation {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-item {
    background-color: #ffffff;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-item:hover {
    background-color: #fafafa;
    transform: translateX(5px);
}

.tab-item.active {
    background-color: #005BAC;
    color: #ffffff;
    font-weight: bold;
    border-color: #005BAC;
    box-shadow: 0 2px 8px rgba(0, 91, 172, 0.2);
}

.tab-item.active .arrow-icon {
    color: #ffffff;
}

.arrow-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ccc;
}

.tabs-content {
    flex-grow: 1;
    position: relative;
}

.tab-panel {
    display: none;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px; /* 右侧面板圆角 */
    min-height: 400px;
    /* 取消投影 */
    box-shadow: none; 
    transition: opacity 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

.tab-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.tab-image-container {
    width: 100%;
    /* 固定高度为 360px */
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    /* 取消投影 */
    box-shadow: none;
}

.tab-image {
    width: 100%;
    height: 100%;
    /* 关键：图片完整显示，不裁剪 */
    object-fit: contain;
}

.tab-description {
    flex-grow: 1;
}

.tab-description h3 {
    color: #005BAC;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.tab-description p {
    color: #555;
    line-height: 1.6;
}

.tab-panel-inner .tab-image-container img{
	width:720px;
	height:360px;
	object-fit:contain;
}

/* 移动端响应式 */
@media (max-width: 992px) {
    .product-features-tabs {
        flex-direction: column;
        gap: 20px;
    }
    .tabs-navigation {
        flex: auto;
    }
    .tab-item {
        background-color: #f0f0f0;
    }
    .tab-item.active {
        background-color: #005BAC;
        color: #fff;
    }
    .tab-panel {
        padding: 15px;
    }
    .tab-panel-inner {
        flex-direction: column;
    }
    .tab-image-container {
        width: 100%;
        /* 在移动端，图片高度自动适应，防止过高 */
        height: 250px; 
    }
}
