
/* General Styles */
.container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Product Listing Section */
.product-listing-section {
}

.pls-container {
    /*max-width: 1300px;*/
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.pls-header {
    display: flex;
    justify-content: space-between;
}
.pls-header span {
    background: var(--base-color);
    width: 20px;
    height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 20px;
    line-height: 21px;
    text-align: center;
    transform: rotate(-90deg);
    border-radius: 20px;
    transition: transform 300ms ease-in;
}
.pls-header span.active {
    transform: rotate(90deg);
    transition: transform 300ms ease-out;
}
.pls-nav-item input, .pls-nav-item label {
    cursor: pointer;
}
.pls-sidebar {
    flex: 0.3;
    /* 固定宽度侧边栏 */
    /*background-color: #fff;*/
    padding: 0 20px 0 0;
    align-self: flex-start;
    /* 确保侧边栏从顶部开始 */
}

@media (min-width: 768px) and (max-width: 1365px) {
    .pls-sidebar {
        flex: 0 0 25%;
    }
}

.pls-main-title-sidebar {
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    /* 移除默认的上边距 */
    margin-bottom: 10px;
    text-wrap-mode: nowrap;
}

.pls-sidebar-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.pls-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pls-category-item {
    margin-bottom: 15px;
    font-size: 16px;
    /*cursor: pointer;*/
    position: relative;
    color: #000;
    padding: 10px 20px;
    border-bottom: 1px solid #b1b1b1;
}
.pls-category-item:nth-child(1) {
    border-top: 1px solid #b1b1b1;
    padding-top: 20px;
}
.pls-category-item h2 {
    font-size: 18px;
    /*margin-bottom: 0;*/
    color: #000;
    font-weight: 600;
}
/*.pls-category-item.active {*/
/*    background-color: #FFBB0E;*/
/*}*/
/*.pls-category-item:hover {*/
/*    background-color: #FFBB0E;*/
/*}*/
/*.pls-category-item.active h2 {*/
/*    color: #fff;*/
/*}*/
/*.pls-category-item:hover h2 {*/
/*    color: #fff;*/
/*}*/


.pls-category-item>span:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    /* The arrow is a sibling img, not a child of this span */
}


.pls-sub-category-item>span:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*font-size: 18px;*/
    /* The arrow is a sibling img, not a child of this span */
}

.pls-category-item.active>span:first-child {
    color: #fff;
    font-weight: 700;
}

.pls-category-item>span:first-child:hover {
    /* background-color: #f0f0f0; */
}

.pls-category-item.active>span:first-child:hover {
    /* background-color: #c4000f; */
}

.pls-arrow {
    width: 27px;
    /* Assuming this is the desired size */
    height: 27px;
    transition: transform 0.3s ease;
    position: absolute;
    right: 20px;
    top: 0;
    /* Adjust top if not perfectly aligned with span */
    display: none;
    /* Hidden by default */
    transform: rotate(0deg);
    /* Default rotation - assuming arrow.svg points right or down */
}

.pls-arrow svg path {
    fill: #999;
}

.pls-category-item.has-submenu.open>.pls-arrow svg path {
    fill: #000;
}

/* Show arrow only if item has a submenu */
.pls-category-item.has-submenu>.pls-arrow {
    display: inline-block;
    /* Or block, depending on layout needs */
}

/* Show arrow only if item has a submenu */
.pls-sub-category-item.has-submenu>.pls-arrow {
    display: inline-block;
    top: 8px;
    /* Or block, depending on layout needs */
}
/* Rotate arrow when item with submenu is open */
.pls-category-item.has-submenu.open>.pls-arrow {
    transform: rotate(180deg);
    /* Rotates to point upwards */
}
/* Rotate arrow when item with submenu is open */
.pls-sub-category-item.has-submenu.open>.pls-arrow {
    transform: rotate(180deg);
    /* Rotates to point upwards */
}

.pls-sub-categories {
    list-style: none;
    padding-left: 0;
    /* 子分类缩进 */
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.pls-third-categories {
    list-style: none;
    padding-left: 0;
    /* 子分类缩进 */
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.pls-category-item.active .pls-sub-categories,.pls-sub-category-item.active .pls-third-categories {
    max-height: 500px;
    /* 根据内容调整，确保能完全显示 */
}

.pls-sub-category-item {
    cursor: pointer;
    position: relative;
    padding: 8px 15px;
    font-size: 14px;
    color: #555;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pls-sub-category-item:hover {
    /* background-color: #f0f0f0; */
    color: #1a1a1a;
}

.pls-sub-category-item.active {
    /* background-color: #fde6e8; */
    /* 淡红色背景 */
    color: #000;
    font-weight: bold;
}

.pls-third-category-item {
    cursor: pointer;
    position: relative;
    padding: 8px 15px;
    font-size: 14px;
    color: #555;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pls-third-category-item:hover {
    /* background-color: #f0f0f0; */
    color: #1a1a1a;
}

.pls-third-category-item.active {
    /* background-color: #fde6e8; */
    /* 淡红色背景 */
    color: #000;
    font-weight: bold;
}

.pls-content-area {
    position: relative;
    flex: 0.7;
}

.pls-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding-top: 20px;
}

.pls-product-card {
    display: flex;
    /*background-color: #fff;*/
    /*border-radius: 8px;*/
    overflow: hidden;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pls-product-card a{
    width: 100%;
}
.pls-product-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 auto 10px;
    width: 90%;
    font-size: 14px;
}

.pls-product-card:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);*/
}

/* 如果有图片，可以替换为以下样式 */

.pls-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.pls-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pls-pagination li a,
.pls-pagination li span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pls-pagination li a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.pls-pagination li a.active {
    background-color: #e50012;
    color: #fff;
    border-color: #e50012;
    font-weight: bold;
}

.pls-pagination li span {
    border: none;
    padding: 10px 5px;
}

.pls-pagination .next {
    display: flex;
    align-items: center;
}

.pagination-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #555;
    /* 默认箭头颜色 */
    margin-left: 8px;
    transition: border-left-color 0.3s ease;
}

.pls-pagination li a.active .pagination-arrow,
.pls-pagination li a:hover .pagination-arrow {
    /* border-left-color: #e50012; */
    /* 如果active时也需要变色 */
}

.pls-pagination li a.active .pagination-arrow {
    border-left-color: #fff;
    /* Active 状态下箭头颜色 */
}
.pagination-container {
    padding: 0 15px;
}

@media (max-width: 767px) {
    .pls-container {
        flex-direction: column;
    }
    .pls-category-item h2 {
        font-size: 14px;
    }
    .pls-category-item {
        font-size: 14px;
    }
    .pls-sidebar {
        width: 100%;
    }
}

.btn-about-us {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-about-us:hover {
    background: #FF99D3;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.product-section {
    padding: 100px 20px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

@media(max-width:767px) {
    .product-section {
        padding: 50px 15px;
    }
}

.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.product-container p {
    font-size: 18px;
}

@media(min-width:768px) and (max-width:1365px) {
    .product-section {
        padding: 50px 15px;
    }

    .product-container h2 {
        font-size: 28px;
    }

    .product-container p {
        font-size: 16px;
    }
}

@media(max-width:767px) {
    .product-container p {
        font-size: 16px;
    }
}

.pls-product-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media(min-width:768px) and (max-width:1365px) {
    .pls-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:767px) {
    .pls-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pls-product-card {
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pls-product-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pls-image-placeholder {
    /*width: 100%;*/
    /*height: 220px;*/
    /* 根据实际图片比例调整 */
    /*background-color: #e9ecef;*/
    /* 占位符背景色 */
    display: flex;
    /*margin: 10px;*/
    justify-content: center;
    align-items: center;
    color: #adb5bd;
    font-size: 14px;
}

/* 如果有图片，可以替换为以下样式 */

.pls-product-card img {
    width: 100%;
    height: 100%;
    /*border-radius: 8px;*/
    /*height: 220px;*/
    aspect-ratio: 1;
    object-fit: cover;
}

.pls-product-name {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 20px auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
    text-align: center;
}

@media(min-width:768px) and (max-width:1365px) {
    .pls-product-name {
        font-size: 14px;
        /*height: 55px;*/
    }
}

@media(max-width:767px) {
    .pls-product-name {
        font-size: 14px;
        /*height: 55px;*/
    }
}

.pls-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.pls-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pls-pagination li a,
.pls-pagination li span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pls-pagination li a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.pls-pagination li a.active {
    background-color: #e50012;
    color: #fff;
    border-color: #e50012;
    font-weight: bold;
}

.pls-pagination li span {
    border: none;
    padding: 10px 5px;
}

.pls-pagination .next {
    display: flex;
    align-items: center;
}

.pagination-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #555;
    /* 默认箭头颜色 */
    margin-left: 8px;
    transition: border-left-color 0.3s ease;
}

.pls-pagination li a.active .pagination-arrow,
.pls-pagination li a:hover .pagination-arrow {
    /* border-left-color: #e50012; */
    /* 如果active时也需要变色 */
}

.pls-pagination li a.active .pagination-arrow {
    border-left-color: #fff;
    /* Active 状态下箭头颜色 */
}

.product-class-list {
    width: 100%;
    position: relative;
}

.show-class-title {
    border: 1px solid #b2b2b2;
    border-radius: 6px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.mobile-nav {
    position: absolute;
    background: #ffffff;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    top: 48px;
    /*下左右添加圆角*/
    border-radius: 10px 10px 10px 10px;
}

.product-class-ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    width: 100%;
}

.product-class-ul li {
    height: 35px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-class-ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-class-ul-active {
    background-color: #4b5956;
    cursor: pointer;
    color: #FFFFFF;
}

.product-class-ul-active h2 {
    color: #FFFFFF !important;
}

.product-class-ul h2 {
    color: #000000;
    font-size: 16px;
    margin: 0;
}


/* work-list-box-nav-item */
.why-chose-msuper-container {
    display: flex;
    gap: 40px;
}
.why-chose-msuper-nav {
    width: 40% !important;
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.why-chose-msuper-nav-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /*gap: 20px;*/
    border-radius: 10px;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.why-chose-msuper-nav-item h3 {
    margin-bottom: 0;
    font-size: 16px;
    padding: 20px;
    font-weight: 600;
}
.why-chose-msuper-nav-item img {
    padding: 20px;
}
.why-chose-msuper-nav-item h3 {
    color: var(--base-color);
}
.why-chose-msuper-nav-item.active img {
    background-color: #B4C3E3;
}
.why-chose-msuper-swiper {
    width: 60%;
    border-radius: 12px;
    overflow: hidden;
}
.why-chose-msuper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.why-chose-msuper-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius: 12px;
    z-index: -1;
}
.why-chose-msuper-item .mask {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(to bottom, #f3cfa87F 0%, #0739A17F 74%);
}
.why-chose-msuper-item h3 {
    font-weight: 600;
    padding: 0 20px;
    margin-bottom: 0;
    color: #fff;
}
.why-chose-msuper-item p {
    padding: 20px;
    color: #fff;
}

@media (max-width: 767px) {
    .why-chose-msuper-container {
        flex-direction: column;
    }
    .why-chose-msuper-nav {
        width: 100% !important;
        gap: 20px;
    }
    .why-chose-msuper-nav-item h3 {
        padding: 10px;
    }
    .why-chose-msuper-nav-item img {
        padding: 15px;
    }
    .why-chose-msuper-swiper {
        width: 100%;
    }
    .why-chose-msuper-item h3 {
        padding: 20px;
    }
}


/* story start */
.story-swiper {
    /*width: 90%;*/
    margin: 0 auto;
}
.story-swiper-item {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /*gap: 20px;*/
    text-align: center;
    position: relative;
}
.story-swiper-item h3 {
    font-weight: 600;
    color: var(--base-color);
    margin-bottom: 0;
    height: 40px;
}
.story-swiper-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}
.story-swiper-item-line {
    height: 36px;
    position: relative;
    /*background-color: var(--base-color);*/
    margin-bottom: 20px;
}
.story-swiper-item-line img {
    z-index: 1;
    width: 36px;
    height: 36px;
    /*top: -11px;*/
    position: relative;
    object-fit: contain;
    border-radius: 20px;
    padding: 6px;
    border: 2px solid var(--base-color);
    background: #fff;
}
.story-swiper-item-line::before {
    position: absolute;
    content: "";
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--base-color);
}
.story-swiper-item-bottom {
    /*border: 1px solid #ddd;*/
    border-radius: 10px;
    margin: 10px;
    /*padding: 10px;*/
    display: flex;
    flex-direction: column;
    /*gap: 20px;*/
    overflow: hidden;
    background-color: #F7F8FA;
}
.story-swiper-item-content {
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    /*padding: 20px;*/
    justify-content: space-between;
}
.story-swiper-item-content h3 {
    padding: 30px;
    font-size: 16px;
    font-weight: 600;
    height: auto;
    color: var(--base-color);
}
.story-swiper-item-content p {
    font-size: 14px;
}
.story-swiper-button-prev, .story-swiper-button-next {
    border: 2px solid var(--base-color);
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
    background-color: #fff;
    top: 62px !important;
    /*box-shadow: 0 0 10px 0 #f1f1f1;*/
}
.story-swiper-button-prev {
    left: 0 !important;
}
.story-swiper-button-next {
    right: 0 !important;
}
.story-swiper-button-prev::after, .story-swiper-button-next::after {
    font-size: 16px !important;
    font-weight: bold;
    color: var(--base-color);
}
/* story end */
