.product-detail {
    display: flex;
    gap: 40px;
    max-width: 70%;
    margin: 100px auto;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    /*max-width: 150px;*/
    height: auto;
    border-radius: 10px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}


.product-info .product-title {
    font-size: 36px;
    margin-bottom: 17px;
    color: #000;
}

.product-info h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #14DCDC;
}


.product-info .features-list {
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-info .features-list li {
    position: relative;
    padding-left: 20px;
}

.product-info .features-list li::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: black;
    border-radius: 50%;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.thumbnail-item {
    width: 60px;
    height: 90px;
    padding: 6px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-item.active {
    border-color: #14DCDC;
}

.thumbnail-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.inquiry-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #14DCDC;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    transition: all 0.3s ease;
}

.inquiry-btn:hover {
    background-color: #12b3b3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(20, 200, 200, 0.3);
}

section.postless-tech {
    font-size: 0;
}

/* product-description-wrapper */

.product-description-wrapper {
    margin: 100px auto;
}

.tab-description {
    display: flex;
    gap: 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    justify-content: center;
}

.tab-description span {
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 10px;
    position: relative;
    cursor: pointer;
}

.tab-description span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: #14DCDC;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.tab-description span.active::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-content {
    display: none;
    margin: 0 auto;
}

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

.tab-content .feature-wrapper {
    display: flex;
    max-width: 80%;
    flex-direction: row;
    gap: 40px;
    margin: 10px auto 0 auto;
    background-color: #f7f7f7;
    justify-content: center;
    padding: 80px 0;
}

.feature-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex: 0 1 10%;
}

.feature-item .feature-img{
    flex:6;
}

.feature-item .feature-desc {
    flex:4;
    font-size: 16px;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

/* product-description-wrapper */

/* specification-wrapper */
.specification-wrapper {
    max-width: 80%;
    margin: 10px auto 0 auto;
    padding: 20px;
    background-color: #f7f7f7;
    font-family: sans-serif;
}

.specification-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.specification-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #fff;
}

/* 偶数项背景色 */
.specification-item:nth-child(even) {
    background-color: #f5f5f5;
}

.specification-item .name,
.specification-item .value {
    width: 50%;
    font-size: 16px;
    color: #333;
    text-align: left;
}

.specification-item .name {
    font-weight: bold;
    font-size: 16px;
    color: #707070;
}

.specification-item .value {
    font-size: 16px;
    color: #707070;
}

/* filling-instruction */
.filling-instruction-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 80%;
    justify-content: center;
    margin: 10px auto 0 auto;
    background-color: #f7f7f7;
    /* margin-top: 20px; */
    font-size: 0;
}

.filling-instruction-text {
    flex: 1;
    text-align: left;
    margin: 0 auto;
    padding: 0 6%;
    line-height: 2;
    font-size: 18px;
}

.filling-instruction-text p.highline {
    color: #ed6c00;
    font-weight: bold;
    margin-top: 10px;
}

.filling-img {
    flex: 1;
}

/* product slider */
.product-image-wrapper {
    position: relative;
}

.product-item{
    position: relative;
}

.product-item .product-img img{
    width: 100%;
}

/*.product-image img{*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: contain;*/
/*}*/

.product-content {
    color: #fff;
}

.left_image{
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(-50%, -50%);
    max-width: 450px;
    text-align: left;
}

.right_image{
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    max-width: 450px;
    text-align: left;
}

.bottom_image{
    color: #fff;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 450px;
    padding-top: 40px;
}

.product-content h4 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #313131;
}

.padding-40{
    padding: 40px 0;
}

.center{
    text-align: center;
}

/* customizable */
div.customizable {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    margin: 5% auto;
}

h2.customizable-title {
    font-size: 48px;
    color: #313131;
    text-align: center;
}

.customizable-description {
    margin-top: 3%;
    text-align: center;
}

.customizable-product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* related product */
.related-product-title {
    font-size: 48px;
    color: #313131;
    text-align: center;
}

.related-subtitle {
    font-size: 18px;
    color: #313131;
    margin-top: 10px;
    text-align: center;
}

.product-slider-wrapper__container {
    width: 100%;
    margin: 5% auto;
}

.product-slider-wrapper__swiper {
    width: 100%;
    padding: 40px 0;
}

.product-slider-wrapper__swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.product-slider-wrapper__swiper .swiper-slide-active {
    opacity: 1;
}

.product-slider-wrapper__swiper .swiper-slide-prev,
.product-slider-wrapper__swiper .swiper-slide-next {
    opacity: 1;
}

.product-slider-wrapper__card {
    background: #eef0f1;
    border-radius: 40px;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 500px;
    transition: transform 0.3s;
    margin: 0 auto;
}

.product-slider-wrapper__title {
    padding-top: 35px;
    font-size: 36px;
}

.product-slider-wrapper__desc {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 300;
}

.product-slider-wrapper__img img {
    object-fit: contain;
    margin-top: 50px;
    transition: transform 0.3s;
}

.product-slider-wrapper__learn-more {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    color: #14DCDC;
    border-radius: 20px;
    font-size: 20px;
    text-decoration: none;
    margin-bottom: 30px;
}

.product-slider-wrapper__card:hover .product-slider-wrapper__img img {
    transform: scale(1.1);
}

/* 自定义箭头颜色（可选） */
.product-slider-wrapper__swiper .swiper-button-next,
.product-slider-wrapper__swiper .swiper-button-prev {
    color: #14DCDC;
}

/* faq */
.faq-wrapper {
    max-width: 80%;
    margin: 10px auto 30px auto;
    padding: 20px;
}

.faq-title {
    font-size: 48px;
    color: #313131;
    margin-bottom: 60px;
    text-align: center;
}

.faq-item {
    text-align: left;
    margin-bottom: 10px;
    position: relative;
    padding: 1rem 0;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

.faq-item .question {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #313131;
    font-weight: bold;
    font-size: 18px;
    padding: 1rem 0;
    border-radius: 6px;
    transition: color 0.2s;
}

.faq-item .question:hover {
    color: #0a9896;
}

.question .question-icon,
.answer .answer-icon {
    display: inline-block;
    flex: 0 0 7%;
}

.question .question-icon img{
    max-width: 100%;
    height: auto;
    object-fit: initial;
}

.iconfont {
    font-size: 18px !important;
    font-weight: bold;
}

.faq-item .answer {
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.3s;
    font-size: 16px;
    color: #555;
}


.faq-item.active .answer {
    max-height: 500px;
    /* 足够大即可 */
    opacity: 1;
    margin: 10px auto;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.3s;
}

.faq-item.active .arrow {
    transform: rotate(90deg);
    color: #14DCDC;
}

.twentytwenty-container {
    width: 80vw;
    margin: 0 auto;
    max-width: 1000px;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.twentytwenty-container img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    object-fit: contain;
}

/* TwentyTwenty 插件样式覆盖 */
.twentytwenty-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.twentytwenty-before,
.twentytwenty-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.twentytwenty-before img,
.twentytwenty-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.twentytwenty-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #14dcdc !important;
    cursor: ew-resize;
    z-index: 10;
}

.twentytwenty-handle:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #14dcdc !important;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.twentytwenty-handle:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff !important;
    border-right: 8px solid #fff !important;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.twentytwenty-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.twentytwenty-before-label,
.twentytwenty-after-label {
    display: none;
}

@media (max-width: 768px) {

    .product-info .product-title{
        font-size: 32px;
    }

    .product-description{
        font-size: 14px;
    }

    .inquiry-btn{
        padding: 6px 10px;
    }

    .product-detail{
        flex-direction: column;
        max-width: 100%;
        margin: 0;
        padding: 8px 10px;
        gap: 10px;
    }

    .product-description-wrapper{
        margin: 40px 0;
    }

    h2.customizable-title,
    .related-product-title,
    .faq-title,
    .product-content h4{
        font-size: 32px;
    }


    /* 移动端 tab-description 样式 */
    .tab-description {
        flex-direction: row;
        gap: 8px;
        font-size: 14px;
        padding: 10px 5px;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .tab-description span {
        text-align: center;
        padding: 8px 12px;
        /*border: 1px solid #e0e0e0;*/
        border-radius: 6px;
        background: #f8f8f8;
        transition: all 0.3s ease;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .tab-description span.active {
        background: #14DCDC;
        color: #fff;
        border-color: #14DCDC;
    }

    .tab-description span::after {
        display: none;
    }

    /* 移动端 feature-wrapper 样式 */
    .tab-content .feature-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        gap: 10px;
        padding: 20px 10px;
        margin: 10px 0 0 0;
        justify-content: flex-start;
    }

    .feature-item {
        flex: 0 0 calc(33.333% - 7px);
        width: calc(33.333% - 7px);
        min-width: 0;
    }

    .feature-item .feature-img {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .feature-item .feature-img img {
        width: 100%;
        max-width: 60px;
        height: auto;
        object-fit: contain;
    }

    .feature-item .feature-desc {
        font-size: 12px;
        margin-top: 0;
        padding: 0 5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .product-slider-wrapper__title{
        font-size: 24px;
    }

    .related-subtitle,
    .product-slider-wrapper__desc,
    .product-slider-wrapper__learn-more,
    .customizable-description{
        font-size: 14px;
    }

    .customizable-product-list {
        margin-top: 30px;
        padding: 0 10px;
        gap: 20px;
    }

    .specification-wrapper{
        max-width: 100%;
        padding: 10px;
    }

    .twentytwenty-container{
        width: 100%;
        max-width: 100%;
        min-height: 250px;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .twentytwenty-container img{
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .twentytwenty-wrapper {
        width: 100%;
        height: 100%;
    }

    .twentytwenty-before,
    .twentytwenty-after {
        width: 100%;
        height: 100%;
    }

    .twentytwenty-before img,
    .twentytwenty-after img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .specification-item .name,
    .specification-item .value,
    .faq-item .question{
        font-size: 14px;
    }

    .filling-instruction-wrapper{
        flex-direction: column;
    }

    .faq-title{
        margin-bottom: 10px;
    }

    .question-text{
        margin-left: 10px;
    }

    .faq-wrapper{
        padding: 0;
    }

    .product-slider-wrapper__img img{
        margin-top: 0;
    }
}
