/* 四重過濾系統樣式 */
#fourFilterSystem {
    margin-top: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding-bottom: 100px;
}

#kcCert {
    background: #ffffff;
}

.step-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
    text-transform: uppercase;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.20);
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-step {
    animation: fadeInUp 0.6s ease-out;
}

.filter-step:nth-child(1) {
    animation-delay: 0.1s;
}

.filter-step:nth-child(2) {
    animation-delay: 0.2s;
}

.filter-step:nth-child(3) {
    animation-delay: 0.3s;
}

.filter-step:nth-child(4) {
    animation-delay: 0.4s;
}

/* 懸停時的額外效果 */
.filter-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 130, 52, 0.02) 0%, rgba(240, 130, 52, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.filter-step:hover::after {
    opacity: 1;
}

/* 確保文字在懸停時保持可讀性 */
.step-title,
.step-description {
    position: relative;
    z-index: 2;
}

/* 統一顏色主題 */

.filter-step::before {
    content: '';
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    border-radius: 25px 25px 0 0;
}

.filter-step:hover .step-title {
    color: var(--primary-color);
}

.video-wrapper {
    width: 50%;
    margin-top: 60px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* 過濾器輪播圖樣式 */
.filters-swiper {
    margin-top: 80px;
}

.filter-swiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.filter-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.filter-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.filter-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.step-badge {
    color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 12px;
}

.step-badge .step-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 8px;
    /* background: rgba(255, 255, 255, 0.2); */
    /* padding: 4px 8px; */
    /* border-radius: 4px; */
}

.step-badge .step-digit {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px #ffffff;
    color: transparent;
    position: absolute;
    left: 40px;
    top: -14px;
}

.swiper-slide-active .filter-overlay {
    transform: translateY(0);
    opacity: 1;
}

.swiper-slide-active .filter-image {
    transform: scale(1.05);
}

.filter-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.filter-overlay p {
    max-width: 38%;
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 38px;
}

/* Swiper 分頁器樣式 */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Swiper 導航按鈕樣式 */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .filters-swiper {
        margin-top: 20px;
    }
    
    .filter-swiper {
        height: 400px;
    }
    
    .filter-overlay {
        padding: 30px 20px 20px;
    }
    
    .filter-overlay h3 {
        font-size: 24px;
    }
    
    .filter-overlay p {
        font-size: 14px;
    }
    
    .step-badge {
        top: 20px;
        left: 20px;
        padding: 6px 12px;
    }
    
    .step-badge .step-label {
        font-size: 12px;
        padding: 3px 6px;
        margin-right: 6px;
    }
    
    .step-badge .step-digit {
        font-size: 20px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .filter-swiper {
        height: 350px;
    }
    
    .filter-overlay {
        padding: 25px 15px 15px;
    }
    
    .filter-overlay h3 {
        font-size: 20px;
    }
    
    .filter-overlay p {
        font-size: 13px;
    }
    
    .step-badge {
        top: 15px;
        left: -10px;
        padding: 5px 10px;
    }
    
    .step-badge .step-label {
        font-size: 12px;
        padding: 2px 5px;
        margin-right: 5px;
    }
    
    .step-badge .step-digit {
        font-size: 18px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

.vide-wrapper {
    width: 100%;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vide-wrapper video {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
/* 四重過濾系統 -end */

/* KC 認證 -start*/
.certSwiper-container {
    width: 100%;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
  }
  
  .cert-item {
    display: inline-block;
    width: calc(25% - 24px); /* 每个图片占据25%宽度，减去间隔 */
    margin: 10px;
    vertical-align: middle;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  
  .cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  @media (max-width: 768px) {
    .cert-img {
      width: calc(50% - 10px); /* 平板设备上每行显示两张 */
    }
  }
  
  @media (max-width: 480px) {
    .cert-img {
      width: 100%; /* 手机设备上每页显示一张 */
    }
  }
  
  .cert-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    position: relative;
  }
  
  .cert-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
  }
  
  .cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
  }
  
  .cert-item img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
  }
  
  .cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
  }
  
  .cert-item:hover::before {
    opacity: 1;
  }
  
  .cert-item:hover img {
    transform: scale(1.05);
  }

  .certSwiper-container .swiper-pagination {
    line-height: 20px;
    height: 20px;
    top: auto !important;
    bottom: -30px !important;
}

.certSwiper-container .swiper-pagination-bullet {
    height: 10px;
    background-color: rgba(255, 122, 20, 0.3);
    transition: all 0.3s ease;
}

.certSwiper-container .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 10px;
    background-color: #ff7a14d6;
}
  
  /* KC 認證 -end*/

/* 明智的選擇 -start*/
.smart-choice {
    /* background: linear-gradient(135deg, #007BFF, #0056b3); */
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    background-image: url(../image/working-process-area-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    margin-top: 100px;
  }

  .smart-choice .section-header p {
    color: #333333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  @keyframes rotateBg {
    from {
      transform: rotate(0deg);
    }
  
    to {
      transform: rotate(360deg);
    }
  }
  
  /* 明智的選擇 -start */
  .smart-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    /* margin-top: 60px; */
    position: relative;
    z-index: 2;
  }
  
  .smart-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
  }
  
  .smart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 123, 20, 0.1) 0%, rgba(255, 123, 20, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
  }
  
  .smart-card-2 {
    background: rgba(255, 123, 20, 0.6);
    /* border: 2px solid rgba(255, 123, 20, 1); */
    /* box-shadow: 0 8px 32px rgba(255, 123, 20, 0.15); */
  }
  
  .card-number {
    font-size: 50px;
    line-height: 50px;
    font-weight: bold;
    padding: 0 8px;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .smart-card:hover {
    border: 2px solid #ffffff;
  }
  
  .card-num {
    font-size: 16px;
    line-height: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .size-a {
    font-size: 50px;
    line-height: 50px;
  }
  
  .card-desc {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
    position: relative;
    z-index: 2;
  }
  
  /* 数字滚动动画 */
  @keyframes countUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .card-number.animate {
    animation: countUp 0.8s ease-out;
  }
  
  .litre-counter {
    font-size: 5.5rem;
    font-weight: bold;
    margin: 30px 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .litre-counter::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
  /* 明智的選擇 -end*/

/* 更簡潔的廚房 -start */
.simpler-kitchen-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.kitchen-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

/* 左邊：輪播圖區域 */
.kitchen-carousel {
    width: 50%;
    position: relative;
}

.kitchen-swiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.kitchen-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kitchen-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kitchen-swiper:hover .kitchen-slide img {
    transform: scale(1.05);
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.8);
    z-index: 2;
}

/* 輪播分頁器 */
.kitchen-pagination {
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
}

.kitchen-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.kitchen-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 輪播導航按鈕 */
.kitchen-button-next,
.kitchen-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.kitchen-button-next:hover,
.kitchen-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(240, 130, 52, 0.4);
}

.kitchen-button-next::after,
.kitchen-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

/* 右邊：文字內容區域 */
.kitchen-text {
    padding-left: 40px;
}

.kitchen-text .section-header {
    text-align: center;
    margin-bottom: 0;
}

.kitchen-text .section-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.kitchen-text .section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .kitchen-content {
        gap: 60px;
    }
    
    .kitchen-swiper {
        height: 450px;
    }
    
    .kitchen-text .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .simpler-kitchen-section {
        padding: 80px 0;
    }
    
    .kitchen-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .kitchen-swiper {
        height: 400px;
    }
    
    .kitchen-text {
        padding-left: 0;
        text-align: center;
    }
    
    .kitchen-text .section-header {
        text-align: center;
    }
    
    .kitchen-text .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .kitchen-text .section-divider {
        margin: 0 auto 30px;
    }
    
    .slide-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 15px;
        right: 15px;
    }
    
    .kitchen-button-next,
    .kitchen-button-prev {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .simpler-kitchen-section {
        padding: 60px 0;
    }
    
    .kitchen-content {
        gap: 40px;
    }
    
    .kitchen-swiper {
        height: 300px;
    }
    
    .kitchen-text .section-title {
        font-size: 28px;
    }
    
    .slide-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: 12px;
        right: 12px;
    }
    
    .kitchen-button-next,
    .kitchen-button-prev {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .kitchen-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}
/* 更簡潔的廚房 -end */

/* 產品展示視頻 -start */
#productVideo .pc {
    width: 80%;
    background: #ffffff;
}
/* 產品展示視頻 -end */
