.white-line {
    width: 100%;
    height: 76px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


/* 为什么需要NEMO -start */
#whyNeedSection {
    background-image: url(../image/dirty-bg.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
}

#whyNeedSection .section-sub-title,
#whyNeedSection .section-title,
#whyNeedSection .section-content p {
    display: flex;
    justify-content: center;
}

#whyNeedSection .imgs-wrapper {
    position: relative;
}

#whyNeedSection .big-img-wrapper {
    position: relative;
    margin-top: 50px;
    border-radius: 24px;
    overflow: hidden;
}

#whyNeedSection .big-img-wrapper img {
    width: 100%;
    height: 100%;
    animation: scale 10s ease-in-out infinite;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

#whyNeedSection .small-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #fff;
    padding: 20px;
    position: absolute;
    animation: translate-2 10s ease-in-out infinite;
}

@keyframes translate-2 {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-10px, 10px);
    }

    50% {
        transform: translate(10px, -10px);
    }

    75% {
        transform: translate(10px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes translate-3 {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, 10px);
    }

    50% {
        transform: translate(10px, -10px);
    }

    75% {
        transform: translate(-10px, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes translate-4 {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, 10px);
    }

    50% {
        transform: translate(-10px, -10px);
    }

    75% {
        transform: translate(10px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

#whyNeedSection .small-img-wrapper .ty-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 48%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

#whyNeedSection .small-img-wrapper:hover .ty-icon {
    opacity: 1;
}

#whyNeedSection .small-img-wrapper::before {
    content: "";
    width: 260px;
    height: 260px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: -30px;
    /* animation: scale 10s ease-in-out infinite; */
    animation: translate-1 10s ease-in-out infinite;
}

@keyframes translate-1 {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, 10px);
    }

    50% {
        transform: translate(10px, -10px);
    }

    75% {
        transform: translate(-10px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

#whyNeedSection .small-img-wrapper::after {
    content: "";
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

#whyNeedSection .small-img-wrapper:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#whyNeedSection .small-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#whyNeedSection .small-img-wrapper.img-1 {
    top: -80px;
    left: -80px;
    animation: translate-2 20s ease-in-out infinite;
}

#whyNeedSection .small-img-wrapper.img-2 {
    top: 30%;
    right: -100px;
    transform: translateY(-50%);
    animation: translate-3 20s ease-in-out infinite;
}

#whyNeedSection .small-img-wrapper.img-3 {
    bottom: -80px;
    left: 20%;
    transform: translateX(-50%);
    animation: translate-4 20s ease-in-out infinite;
}

#whyNeedSection .small-img-wrapper:hover .q-txt {
    opacity: 1;
}

#whyNeedSection .small-img-wrapper .q-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

/* 为什么需要NEMO -end */

/* 選擇NEMO -start */
#chooseTitleSection {
    padding-bottom: 0;
}

#chooseSection {
    padding-top: 40px;
}

.choose-section {
    padding: 60px 0;
    border-radius: 24px;
}

.choose-section {
    padding: 100px;
    border-radius: 24px;
    background-image: url(../image/choose-1-bg.jpg);
    /* background-attachment: fixed; */
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

#chooseSection1 {
    background-image: url(../image/choose-1-bg.jpg);
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
}

#chooseSection2 {
    background-image: url(../image/4.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#chooseSection3 {
    background-image: url(../image/q-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#chooseSection1::before {
    content: "";
    width: calc(50% + 50px );
    height: calc(50% - 100px);
    top: calc(50% - 80px);
    left: 50px;
    background-color: rgba(250, 250, 250, 0.3);
    position: absolute;
    border-radius: 24px;
    z-index: 0;
}

#chooseSection3::before {
    content: "";
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    top: 50px;
    left: 50px;
    background-color: rgba(250, 250, 250, 0.6);
    position: absolute;
    border-radius: 24px;
    z-index: 0;
}

#chooseSection2::before {
    content: "";
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    top: 50px;
    left: 50px;
    border-radius: 24px;
    border: 2px solid rgba(255, 123, 20, 0.6);
    position: absolute;
}

.choose-section .section-sub-title,
.choose-section .section-title,
.choose-section .section-content,
.choose-section .section-content p {
    position: relative;
    z-index: 1;
}

.choose-section .details-wrapper {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.choose-section .skin-img-wrapper {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.choose-section .skin-img-wrapper .skin-txt {
    font-size: 16px;
    margin-top: 2px;
}

.choose-section .skin-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 隐藏原始箭头 */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    opacity: 1 !important;
    /* 确保箭头总是可见 */
}

.layui-carousel-arrow {
    background-color: transparent !important;
}

.layui-carousel .layui-icon-up:before,
.layui-carousel .layui-icon-down:before {
    display: none;
}

/* 设置自定义箭头图片 */
.layui-carousel .layui-icon-up::after {
    content: "";
    position: absolute;
    width: 118px;
    height: 10px;
    left: 0;
    background-image: url('../image/upArrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.layui-carousel .layui-icon-down:after {
    content: "";
    position: absolute;
    width: 118px;
    height: 10px;
    left: 0;
    background-image: url('../image/downArrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

#chooseSection .layui-carousel-arrow {
    left: auto !important;
    right: 53px !important;
}

#chooseSection .layui-carousel-arrow.layui-icon-up {
    top: 160px;
}

#chooseSection .layui-carousel-arrow.layui-icon-down {
    bottom: 160px;
}

#chooseSection .layui-carousel[lay-anim=updown] .layui-carousel-ind li {
    width: 4px;
    height: 4px;
    background-color: #C28565;
    position: relative;
    margin-bottom: 20px;
    transition-duration: 0s !important;
}

#chooseSection .layui-carousel[lay-anim=updown] .layui-carousel-ind li:last-child {
    margin-bottom: 0;
}

#chooseSection .layui-carousel[lay-anim=updown] .layui-carousel-ind li::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid #C28565;
    border-radius: 50%;
    top: -4px;
    left: -4px;
}

#chooseSection .layui-carousel[lay-anim=updown] .layui-carousel-ind li.layui-this {
    width: 10px;
    height: 10px;
}

#chooseSection .layui-carousel[lay-anim=updown] .layui-carousel-ind li.layui-this::before {
    width: 16px;
    height: 16px;
}

#chooseSection .layui-carousel-ind ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 選擇NEMO -end */

/* NEMO的溫柔秘密  -start */
#secretSection {
    background-image: url(../image/team_bg_1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#secretSection .drop-icon {
    width: 24px;
    height: 24px;
    margin-bottom: -4px;
}

#secretSection .corn-icon {
    width: 28px;
    height: 28px;
    margin-bottom: -4px;
}

#secretSection .detail-item {
    margin: 12px 0;
    font-size: 18px;
    line-height: 32px;
    color: rgba(117, 111, 111, 0.8);
}

#secretSection .video-wrapper {
    width: 100%;
    border-radius: 60px;
}

#secretSection .tips {
    font-size: 14px;
    line-height: 14px;
}

.my-container .right-wrapper {
    padding-left: 60px;
}

/* NEMO的溫柔秘密  -end */

/* NEMO 的生活態度 -start */
#lifestyleSection {
    padding-bottom: 0px;
}

#lifestyleSection .section-sub-title,
#lifestyleSection .section-title,
#lifestyleSection .section-content p {
    display: flex;
    justify-content: center;
}

#lifestyleSection .product-list {
    margin-top: 80px;
}

.swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

#lifestyleSection .swiper-slide {
    margin-right: 0 !important;
}

#lifestyleSection .product-wrapper {
    margin-bottom: 0;
}

#lifestyleSection .swiper-slide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#lifestyleSection .product-item {
    width: calc(25% - 30px);
    /* 每行4個產品 */
    text-align: center;
    margin-bottom: 80px;
    background-color: #F9F3F0;
    padding-bottom: 40px;
    border-radius: 24px;
    margin: 0 15px 30px 15px;
}

#lifestyleSection .product-item .img-wrapper {
    width: 100%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 30px;
    background-image: url(../image/product-bg.jpg);
    background-size: 120% 120%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px 24px 0 0;
    transition: all 0.3s ease-in-out;
}

#lifestyleSection .product-item img {
    width: 52%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

#lifestyleSection .product-item:hover img {
    transform: scale(1.2);
}

#lifestyleSection .product-item:hover .img-wrapper {
    background-size: 100% 100%;
}

#lifestyleSection .product-name {
    font-size: 16px;
    margin-top: 20px;
    color: var(--font-color);
}

#lifestyleSection .product-name-en {
    font-size: 14px;
    margin-top: 8px;
    color: #666;
}

#lifestyleSection .swiper-pagination {
    margin-top: 0px;
    text-align: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--main-color);
    background-color: rgba(255, 123, 20, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-img {
    width: 100%;
    height: auto;
}

.snipaste {
    padding-top: 60px;
    padding-bottom: 0px;
}
/* NEMO 的生活態度 -end */

/* NEMO 的卓越技術 -start */
#technicalSection {
    padding-bottom: 0;
}

#technicalSection .cert-technical-list,
#patentSection .cert-list,
#designSection .cert-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#technicalSection .cert-technical-list {
    justify-content: flex-start;
    gap: 37px;
}

#designSection .cert-list {
    justify-content: center;
}

#technicalSection .cert-item,
#patentSection .cert-item,
#designSection .cert-item {
    width: calc(20% - 30px);
    border-radius: 12px;
    border: 2px solid #C28565;
    cursor: pointer;
    overflow: hidden;
}

#designSection .cert-item {
    margin: 0 20px;
}

#technicalSection .cert-item .cert-img,
#patentSection .cert-item .cert-img,
#designSection .cert-item .cert-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.swiper-slide {
    margin-left: 0px;
    margin-right: 0px;
}


#technicalSection .swiper-pagination-bullets,
#patentSection .swiper-pagination-bullets,
#designSection .swiper-pagination-bullets {
    margin-top: 30px;
}

#patentSection {
    padding-bottom: 0;
}

#patentSection,
#designSection {
    padding-top: 0;
}

.cert-img {
    transition: all 0.3s ease-in-out;
}

.cert-item:hover .cert-img {
    transform: scale(1.2);
}

/* NEMO 的卓越技術 -end */

.swiper-title {
    font-size: 30px;
    font-weight: 600;
    color: var(--main-color);
    text-align: center;
    line-height: 48px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.swiper-pagination-bullets {
    text-align: center;
}

/* 規格與細節 -start*/
/* 主容器：左右布局 */
.details-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 60px 20px;
  margin: 0 auto;
  gap: 40px;
  position: relative;
}

/* 左侧：规格内容 */
.details-left,
.details-right {
  width: 50%;
  position: relative;
  z-index: 1;
}

.details-left {
  width: 60%;
}

.details-right {
  width: 40%;
}

.details-left {
  flex: 1;
  max-width: 600px;
}

.kitchen-title {
  font-size: 2.2em;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-weight: 300;
}

.kitchen-subtitle {
  font-size: 1.3em;
  color: #666;
  margin-bottom: 20px;
  font-weight: 400;
}

.kitchen-desc {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.specification-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95em;
}

.specification-table th {
  background-color: #f2f2f2;
  padding: 12px 15px;
  text-align: left;
  width: 120px;
  vertical-align: top;
  font-weight: 600;
  color: #1a1a1a;
}

.specification-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  color: #555;
}

#detailsSection {
  position: relative;
  min-height: 100vh;
  background-color: #f6f6f6;
}

#detailsSection .white-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url(../image/white-line.png);
    background-size: 100% 10px;
    background-position: center;
    background-repeat: repeat-x;
  }

/* 右侧：固定轮播图 */
.details-right {
  position: relative;
}

.layui-carousel>[carousel-item]>* {
  background: transparent;
}

/* 基础样式 */
.fixed-wrapper {
  width: 500px;
  transition: transform 0.3s ease; /* 只对transform应用过渡效果 */
  position: sticky; /* 改用sticky定位 */
  top: 0;
  margin-left: auto; /* 使用margin-left: auto来右对齐 */

  background-image: url(../image/get_more_fetaure_shape.png);
  background-size: 82%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.fixed-wrapper #detailsCarousel {
  width: 500px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden; /* 确保图片不会溢出圆角 */
}

.fixed-wrapper img {
    width: 60%;
}

.fixed-wrapper #detailsCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* 滚动状态类 */
.fixed-wrapper.is-centered {
  transform: translateY(calc(50vh - 50% + 400px)); /* 居中定位 */
}

.fixed-wrapper.is-top {
  transform: translateY(20px); /* 顶部定位 */
}

.fixed-wrapper.is-bottom {
  transform: translateY(calc(100vh - 100% + 350px)); /* 底部定位 */
}

/* 响应式调整 */
@media (max-width: 992px) {
  .fixed-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: none !important; /* 移动端禁用transform */
  }
  
  .fixed-wrapper #detailsCarousel {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* 保持1:1的比例 */
  }
}

/* #detailsCarousel {
  height: 100% !important;
}

#detailsCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
} */

#detailsSection .details-list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.details-list .detail-item {
  padding: 20px 0;
  border-bottom: 1px solid #333333;
}

.details-list .detail-item:last-child {
  border-bottom: none;
}

.details-list .detail-item .detail-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.details-list .detail-item .detail-desc {
  font-size: 16px;
  line-height: 26px;
  color: #646464;
}

.details-list .detail-item .detail-img {
  height: 188px;
  margin-bottom: 24px;
}


/* 响应式：小屏下变为上下结构 */
@media (max-width: 992px) {
  .details-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .details-right {
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 30px;
  }
}

/* 規格與細節 -end*/
