/* 奢華與堅固的完美結合 - start */
#safeSection {
    padding-top: 60px;
    background-image: url(../image/tree-bg.png);
    background-size: contain;
    background-position: bottom right;
    background-repeat: repeat;
}

#safeSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1); /* 半透明白，控制磨砂强度 */
    backdrop-filter: blur(2px); /* 关键：背景模糊 */
    -webkit-backdrop-filter: blur(2px); /* Safari 兼容 */
    pointer-events: none; /* 不影响点击事件 */
    z-index: 0; /* 确保在背景之下，但覆盖背景图 */
  }

#safeSection .my-container {
    border-radius: 24px;
    background-image: url(../image/shower-bg-1.png);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    box-shadow: 0 0 50px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

#safeSection .my-container .left-wrapper{
    padding: 180px 40px 100px 72px;
}

#safeSection .my-container .right-wrapper .shower-img-1 {
    height: 500px;
    margin-top: 220px;
    margin-bottom: 100px;
    animation: rotate 10s linear infinite;
}

/* 定义持续绕 Y 轴旋转的动画 */
@keyframes rotate {
    0% {
      transform: rotate(0deg);
    }

    25% {
      transform: rotate(-20deg);
    }

    75% {
      transform: rotate(6deg);
    }

    100% {
      transform: rotate(0deg);
    }
  }
/* 奢華與堅固的完美結合 - end */

/* 豐富的調香技術與經驗 -start */
#perfumerySection .section-sub-title,
#perfumerySection .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

#perfumerySection .section-content {
    text-align: center;
}

#perfumerySection .shower-2-video-wrapper {
    padding: 298px 100px 0 100px;
    position: relative;
    margin-top: 40px;
}
#perfumerySection .shower-2-video {
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
}

#perfumerySection .product-list {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#perfumerySection .product-item {
    width: 240px;
    overflow: hidden;
}

#perfumerySection .product-item img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

#perfumerySection .product-item:hover img {
    transform: translateY(-10px) scale(1.06);
}
/* 豐富的調香技術與經驗 -end */

/* 優質過濾器 - start */
#filterSection {
    background-image: url(../image/features-style1_one-content-bg.jpg);
    background-size: 100% 620px;
    background-position: bottom left;
    background-repeat: no-repeat;
}

#filterSection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

#filterSection .my-container {
    min-height: 610px;
    z-index: 1;
}

#filterSection .left-wrapper {
    height: 100%;
    position: relative;
}

#filterSection .right-wrapper {
    padding-left: 60px;
}

#filterSection .video-wrapper {
    position: absolute;
    width: 72%;
}

#filterSection .video-wrapper-1 {
    top: 0;
    left: 0;
}

#filterSection .video-wrapper-2 {
    bottom: 0;
    right: 0;
}

#filterSection .video-wrapper video {
    width: 100%;
    border-radius: 24px;
}

#filterSection .video-wrapper-3 {
    width: 100%;
    margin-top: 60px;
}

#filterSection .video-wrapper-3 video {
    width: 100%;
    border-radius: 24px;
}

#filterSection .video-title {
    color: var(--font-color);
    font-size: 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}
/* 優質過濾器 - end */

/* 科學的設計 - start */
#designSection .right-wrapper video {
    width: 100%;
    border-radius: 24px;
}

#designSection .shower-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

#designSection .shower-item {
    flex: 1 1 33%;
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
}

#designSection .shower-item img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

#designSection .shower-item:hover img {
    transform: scale(1.06);
}

#designSection .right-wrapper {
    padding-top: 100px;
}

.layui-layer-photos .layui-layer-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.layui-layer-photos .layer-layer-photos-main img {
  width: 50%;
}
/* 科學的設計 - end */


* 規格與細節 -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: 100%;
  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: 42%;
}

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

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

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

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

/* 响应式调整 */
@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*/