* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Heiti TC", Roboto, Arial, sans-serif;
  color: #2b2b2b;
  background: #000;
  padding-top: 60px;
  overflow-x: auto;
  min-width: 1200px;
}
main {
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo-link {
  display: inline-block;
  text-decoration: none;
}

.nav-logo {
  height: 32px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav-logo-link:hover .nav-logo {
  opacity: 0.8;
}

/* 漢堡選單按鈕 */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #d62872;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d62872;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  padding: 0 20px;
  min-width: 1200px;
}

.section {
  position: relative;
}

/* Common title styles */
.section-title {
  margin: 0 auto;
}

.section-title.large {
  width: 520px;
  margin-bottom: 20px;
}

.section-title.medium {
  width: 420px;
  margin-bottom: 20px;
}

.section-title.small {
  width: 380px;
  margin-bottom: 30px;
}

/* Common grid styles */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-gallery .big {
  grid-row: span 2;
}


.is-m {
  display: none;
}

.tag {
  position: absolute;
  left: -9999px;
}

.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.beans img {
  position: absolute;
  opacity: 0.9;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35));
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50%) translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateX(0);
  }
}
/* KV */
.kv {
  min-height: 760px;
  background-image: url(bg_style_2.jpg?t=1759307929698);
}

.kv .wrap {
  height: 760px;
}

.kv .brand {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 90px;
}

.kv .new {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  opacity: 0;
  animation: fadeInDown 1s ease-out 0.5s forwards;
}

.kv .halo {
  position: absolute;
  left: 70%;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0.9;
}

.kv .content {
  position: absolute;
  top: 260px;
  left: 24%;
  transform: translateX(-50%);
  width: 32%;
  opacity: 0;
  animation: fadeInRight 1s ease-out 1s forwards;
}

.kv .product {
  position: absolute;
  left: 73%;
  transform: translateX(-50%);
  width: 77%;
  margin-top: 80px;
}

.kv .cta-m {
  display: inline-block;
  margin: 14px auto 0 auto;
  width: 68%;
}

.kv .beans img:nth-child(1) {
  top: 120px;
  left: 6%;
}

.kv .beans img:nth-child(2) {
  top: 90px;
  right: 8%;
  transform: rotate(18deg);
}

.kv .beans img:nth-child(3) {
  bottom: 90px;
  left: 10%;
  transform: rotate(-12deg);
}
/* S2 優惠 */
.s2 {
  padding: 80px;
  height: 740px;
  background-image: url(bg_style_1.jpg?t=1759307929698);
  background-size: 100%;
}

.s2 .title {
  width: 50%;
  margin: 0 auto 20px auto;
}

.s2 .content {
    position: absolute;
    left: 7%;
    margin-top: 40px;
    width: 36%;
}

.s2 .product {
    width: 64%;
    position: absolute;
    top: 58px;
    right: -70px;
}

.s2 .ribbons img {
  position: absolute;
  opacity: 0.9;
}

.s2 .ribbons .r1 {
    width: 70px;
    position: absolute;
    top: 500px;
    left: 8% !important;
}

.s2 .ribbons .r2 {
    top: 364px;
    left: 40%;
    width: 16px !important;
}

.s2 .ribbons .r3 {
    top: 181px;
    width: 70px;
    left: 48% !important;
}

.s2 .ribbons .r4 {
    width: 30px;
    top: 96px;
    left: 55% !important;
}

.s2 .ribbons .r5 {
  right: 16%;
    width: 20px;
}

.s2 .ribbons .r6 {
  width: 50px;
  top: 400px;
  right: 8% !important;
}
/* S3 特色 */
.s3 {
  padding: 80px 0;
  background-image: url(bg_style_2.jpg?t=1759307929698);
  text-align: left;

}

.s3 .title {
  width: 50%;
  margin: 0 auto 20px auto;
}

.s3 .title-small {
  margin: 0 auto 20px auto;
    color: white;
    text-align: center;
    letter-spacing: 3px;
    font-size: 24px;
    margin-bottom: 80px;
}

.s3 .icons {
  display: flex;
  justify-content: center;
  margin: 0 auto 50px auto;
}

.s3 .icon {
  margin: 10px 0;
  width: 60px;
  height: 60px;
  text-align: center;
  color: #eee;
}

.s3 .icon-item-1, .s3 .icon-item-2, .s3 .icon-item-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:8px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  margin: 0 8px;
}

.s3 .icon-item-1 p, .s3 .icon-item-2 p, .s3 .icon-item-3 p {
  margin: 0;
  color: #eee;
  text-align: center;
  width: 100%;
}

.s3 .icon-item-1 p:first-of-type,
.s3 .icon-item-2 p:first-of-type,
.s3 .icon-item-3 p:first-of-type {
  font-weight: bold;
}

.s3 .icon-item-1 p:last-of-type,
.s3 .icon-item-2 p:last-of-type,
.s3 .icon-item-3 p:last-of-type {
  font-weight: 300;
}

.bean-first {
  position: absolute;
  right: 104px;
  width: 78px;
  top: -111px;
}
.bean-second {
  position: absolute;
  width: 70px;
}
.bean-third {
  position: absolute;
  right: 140px;
  width: 50px;
  bottom: 47%;
}

/* 首頁產品輪播樣式 */
.hero-product-carousel {
  position: relative;
}

.hero-product-carousel .product {
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}

/* 產品輪播樣式 */
.product-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 100px auto 20px auto;
  max-width: 100%;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  min-width: 1200px;
}

.swiper-wrapper {
  width: 100% !important;
}

.swiper-slide, .swiper-slide-active, .swiper-slide-prev, .swiper-slide-next {
  width: 33.633% !important;
}

/* Swiper 容器光暈遮罩 */
.product-swiper {
  position: relative;
}

.product-swiper::before,
.product-swiper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 130px;
  height: 100%;
  z-index: 1; 
  pointer-events: none;
}

.product-swiper::before {
  left: 0;
  background: linear-gradient(to right, #1e130c 0%, rgba(30, 19, 12, 0.8) 40%, transparent 100%);
  z-index: 5;
}

.product-swiper::after {
  right: 0;
  background: linear-gradient(to left, #1e130c 0%, rgba(30, 19, 12, 0.8) 40%, transparent 100%);
  z-index: 5;
}


.swiper-button-prev, .swiper-button-next  {
  background: #c9b89d;
  border: none;
  border-radius: 50%;
  width: 35px !important;
  height: 35px !important;
  z-index: 20 !important;
}

.swiper-button-prev:after, .swiper-button-next:after {
 color: #fff;
 font-size: 16px !important;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.product-container {
  margin:  0 40px;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  position: relative;
}

.product-container::before,
.product-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.product-container::before {
  left: 0;
  background: linear-gradient(to right, #1e130c 0%, transparent 100%);
}

.product-container::after {
  right: 0;
  background: linear-gradient(to left, #1e130c 0%, transparent 100%);
}

.product-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 600%;
  position: relative;
}

.product-item {
  width: 100% !important;
  height: auto;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin: 0 !important;
  object-fit: contain;
}

.product-item:hover {
  transform: scale(1.05);
}


.s3 .product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 140px auto 160px auto;
    width: 80%;
}

.s3 .product-machine {
  width: 32%;
  position: absolute;
  z-index: 2;
  right: 14%;
}

.s3 .product-machine-bg {
  position: absolute;
  top: 27%;
  left: 40%;
  width: 60%;
}

.s3 .product-text {
display: flex;
flex-direction: column;
gap: 5px;
color: white;
font-size: 16px;
letter-spacing: 0.5px;
white-space: nowrap;
}

.s3 .product-text-mobile {
  display: none;
  opacity: 0 !important;
  text-align: left !important;
}

.s3 .gallery {
  max-width: 1000px;
  margin: 0 auto;
}

.s3 .gallery .big {
  width: 80%;
    margin: 0 auto;
}

.s3 .gallery img {
  overflow: hidden;
}

/* S4 影音 */
.s4 {
  padding: 80px 0 160px 0;
  background-image: url(bg_style_1.jpg?t=1759307929698);
}

.s4 .title {
  width: 50%;
  margin: 0 auto 80px auto;
}


.s4 .circle {
  position: absolute;
  width: 24%;
  top: 5%;
  left: -10%;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: brightness(1.3);
}

.s4 .circle-second {
  position: absolute;
  width: 20%;
  top: 42%;
  right: 4%;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: brightness(1.3);
}
.s4 .beans-s4 {
  position: absolute;
  width: 17%;
  top: 38%;
  right: 13%;
}
.s4 .beans-s4-second {
  position: absolute;
    width: 14%;
    top: 51%;
    left: 12%;
}

.s4 .title-small-first {
    margin: 0 auto;
    color: #2f1c15;
    text-align: center;
    letter-spacing: 3px;
    font-size: 27px;
    font-weight: bold;
}

.s4 .title-small-second {
  margin: 0 auto 20px auto;
    color: white;
    text-align: center;
    letter-spacing: 3px;
    font-size: 24px;
    margin-bottom: 80px;
}

.s4 .title-small-third {
  margin: 100px auto 30px auto;
    color: #2f1c15;
    text-align: center;
    letter-spacing: 3px;
    font-size: 27px;
    font-weight: bold;
}
.s4 .video-grid {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 24px auto 0 auto;
}

.video-card {
  position: relative;
  overflow: hidden;
  height: 562px;
}

.video-card video {
  width: 100%;
  height: 560px;
  object-fit: cover;
  z-index: 6;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-card .video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
}

.dec-top-left {
  position: absolute;
  top: 12%;
  left: 6%;
  width: 15%;
  height: auto;
  z-index: 8;
  pointer-events: none;
}

.dec-bottom-right {
  position: absolute;
  top: 42%;
  right: 10px;
  width: 24%;
  height: auto;
  z-index: 8;
  pointer-events: none;
}

.dec-top-left-second {
  position: absolute;
  top: 54%;
  left: 0;
  width: 20%;
  height: auto;
  z-index: 8;
  pointer-events: none;
}

.dec-bottom-right-second {
  position: absolute;
  top: 80%;
  right: 11%;
  width: 24%;
  height: auto;
  z-index: 8;
  pointer-events: none;
}

.video-card .frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-card video {
  display: block;
  width: 94%;
  height: 543px;
  position: relative;
  top: 3px;
  left: auto;
  transform: none;
  margin: 0 auto;
}
/* S5 特色介紹 */
.s5 {
  padding: 80px 0;
  background-image: url(bg_style_2.jpg?t=1759307929698);
}

.s5 .s5-content {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 100px;
}


.s5 .title {
  width: 50%;
  margin: 0 auto 80px auto;
}

.s5-icon {
  width: 30px;
  height: 30px;
}

.machine-halo {
  position: absolute;
  width: 71%;
  left: -6%;
  bottom: -16%;
}
.feature-section:not(:last-of-type) {
  margin-bottom: 100px;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-content-inner{
  width: 380px;
  padding: 0 56px;
}

.feature-text {
  flex: 1;
  color: white;
  text-wrap: nowrap;
  text-align: left !important;
}

.feature-text li::before {
  display: none; /* 移除 li 的 ::before 偽元素 */
}

.feature-image {
  flex: 1;
  text-align: center;
  z-index: 1;
}

.feature-image img {
  max-width: 100%;
  height: auto;

}

.feature-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #ddcdaf;
  letter-spacing: 2px;
}

.feature-list {
  /* list-style: none; */
  padding-left: 20px;
  margin: 30px 0;
  text-align: left !important;
}

.feature-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  position: relative;

  opacity: 0.8;
  letter-spacing: 1px;
}

.feature-list li::before {
  content: "•";
  color: #c9b89d;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0.8;
  letter-spacing: 1px;
  text-align: left !important;
}

.bean-icon {
  position: absolute;
  width: 30px;
  top: 44%;
  right: 14%;
  animation: float-bean-icon 3s ease-in-out infinite;
}

.bean-icon-second {
  position: absolute;
  width: 6%;
  left: 10%;
  animation: float-bean-icon 3.5s ease-in-out infinite;
}

@keyframes float-bean-icon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bean-icon img {
  width: 40px;
  height: auto;
}

.feature-instruction {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #ffffff;
  opacity: 0.8;
  line-height: 1;
  margin: 8px 0;
}

.modes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  /* list-style: none; */
  margin: 16px 0;
  padding: 0;
}

.modes-list .icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.pre-infusion-details {
  text-wrap: nowrap;
  margin-left: 60px;
  opacity: 0.8 !important;
}


.pre-infusion-details p {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}

/* 特定區塊佈局 */
.grinder-section .feature-content {
  flex-direction: row;
}

.pressure-section .feature-content {
  flex-direction: row-reverse;
}

.heating-section .feature-content {
  flex-direction: row;
}

.modes-section .feature-content {
  flex-direction: row-reverse;
}

/* S6 細節 */

.s6 .wrap {
  max-width: 100%;
  min-width: 100%;
  padding: 0;
}
.s6 {
  padding: 100px 0;
  background-image: url(bg_style_4.png?t=1759307929698);
  background-size: 107%;
  background-position: center;
}

.s6 .title {
  width: 50% !important;
  margin: 0 auto 20px auto;
}

.s6 .cols {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
}

.s6 .cols img {
  width: 100%;
  height: auto;
  display: block;
}

/* S7 視覺 */
.s7 {
  position: relative;
  padding: 160px 0;
  background-image: url(block_7_bg.jpg?t=1759307929698);
}

.s7 .title {
  width: 100%;
  margin: 0 auto;
}

/* S8 CTA */
.s8 {
  padding: 90px 0;
  background-image: url(bg_style_3.jpg?t=1759307929698);
  background-size: 100%;
}

.s8 .title {
  width: 50%;
  margin: 0 auto 20px auto;
}

/* 滾動動畫樣式 */
.fade-in-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 為 pre-infusion-details 創建特殊的動畫類 */
.pre-infusion-details.fade-in-right {
  opacity: 0.8 !important;
  transform: translateX(-50px);
  transition: transform 0.8s ease;
}

.pre-infusion-details.fade-in-right.animate {
  opacity: 0.8 !important;
  transform: translateX(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 產品輪播專用動畫 */
.product-carousel.fade-in-up {
  opacity: 0;
  transform: translateX(-50%) translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-carousel.fade-in-up.animate {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 彩帶漂浮動畫 */
.ribbons {
  position: relative;
}

.ribbons img {
  position: absolute;
}

/* r1, r3, r5 的漂浮動畫（向上） */
.ribbons .r1 {
  animation: float-up 3s ease-in-out infinite;
  animation-delay: 0s;
}

.ribbons .r3 {
  animation: float-up 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.ribbons .r5 {
  animation: float-up 3s ease-in-out infinite;
  animation-delay: 1s;
}

/* r2, r4, r6 的漂浮動畫（向下，延遲1.5秒） */
.ribbons .r2 {
  animation: float-down 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.ribbons .r4 {
  animation: float-down 3s ease-in-out infinite;
  animation-delay: 2s;
}

.ribbons .r6 {
  animation: float-down 3s ease-in-out infinite;
  animation-delay: 2.5s;
}

@keyframes float-up {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-down {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}

/* 咖啡豆漂浮動畫 */
.bean-first,
.bean-second,
.bean-third {
  animation: float-bean 4s ease-in-out infinite;
}

.bean-first {
  animation-delay: 0s;
}

.bean-second {
  animation-delay: 1.3s;
}

.bean-third {
  animation-delay: 2.6s;
}

@keyframes float-bean {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* s4 區域咖啡豆漂浮動畫 */
.beans-s4,
.beans-s4-second {
  z-index: 10;
  animation: float-bean-s4 3.5s ease-in-out infinite;
}

.beans-s4 {
  z-index: 10;
  animation-delay: 0s;
}

.beans-s4-second {
  animation-delay: 1.75s;
}

@keyframes float-bean-s4 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 商品展示區域樣式 */
.s8 .PD_layout {
  margin: 40px auto 80px auto;
  max-width: 1200px;
}

.s8 .PD_layout ul {
  background-color: #f5f5f5;
  /* border-radius: 10px; */
  padding: 0 !important;
}

.s8 .PD_layout .PD_slide {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.s8 .PD_layout .PD_slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.s8 .PD_layout .PD_img {
  padding: 15px;
  text-align: center;
}

.s8 .PD_layout .PD_img img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

.s8 .PD_layout .PD_into {
  padding: 15px;
  text-align: center;
}

.s8 .PD_layout .PD h3 {
  width: 50%;
  margin: 0 auto;
  border-radius: 6px;
  background-color: #dadada;
  color: #333;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 8px;
}

.s8 .PD_layout .PD h4 {
  color: #333;
  font-size: 14.5px;
  line-height: 1.4;
}

.s8 .PD_layout .PD p {
  margin: 0;
}

.s8 .PD_layout .PD p del {
  color: #999;
  font-size: 14px;
}

.s8 .PD_layout .PD p .money {
  color: #d62872;
  font-size: 18px;
  font-weight: bold;
}

.s8 .PD_layout .PD p small {
  color: #d62872;
  font-size: 12px;
}

/* 響應式設計 */
@media screen and (max-width: 768px) {
  .s8 .PD_layout {
    margin: 40px auto;
    padding: 0 10px;
  }
  
  .s8 .PD_layout ul {
    padding: 10px;
  }
  
  .s8 .PD_layout .PD_img {
    padding: 10px;
  }
  
  .s8 .PD_layout .PD_img img {
    max-height: 150px;
  }
  
  .s8 .PD_layout .PD_into {
    padding: 10px;
  }
  
  .s8 .PD_layout .PD h3 {
    font-size: 12px;
  }
  
  .s8 .PD_layout .PD h4 {
    font-size: 14px;
  }
  
  .s8 .PD_layout .PD p .money {
    font-size: 16px;
  }
}

.s8 .cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto;
}

@media (max-width: 750px) {
  .s3 .product-text-mobile {
    display: block !important;
    opacity: 1 !important;
    font-size: 16px !important;
  }
  .s3 .product-text-mobile span {
    text-wrap: wrap;
  }
}
@media (max-width: 630px) {
  .s3 .product-text-mobile {
    display: block !important;
    opacity: 1 !important;
    font-size: 14px !important;
  }

}

@media (max-width: 570px) {
  .s3 .icons {
    margin-top: 100px !important;
    font-size: 16px !important;
  }
  .title-small {
    font-size: 16px !important;
  }
  .s4 .title-small-second{
    font-size: 20px !important;
  } 
  .dec-top-left {
    top: 15% !important;
  }
  .dec-bottom-right {
    top: 40% !important;
  }
  .dec-top-left-second {
    top: 60% !important;
  }

  .feature-title {
    font-size: 20px !important;
   }
   .feature-list li {
    font-size: 14px !important;
   }
   .feature-description {
    font-size: 14px !important;
   }
   .pre-infusion-details {
    font-size: 14px !important;
   }
     
  .s5 .s5-content {
    width: 100% !important;
  }

  .s3 .product-machine {
    left: 59% !important;
    width: 86% !important;
    top: -16% !important;
  }

}

@media (max-width: 520px) {
  .s3 .product-machine {
    left: 63% !important;
    width: 90% !important;
    top: -11% !important;
}
}

/* Tablet to Mobile Responsive Scaling */
@media (max-width: 768px) and (min-width: 480px) {
  .s3 .product {
    transform: scale(0.8);
  }
  
  .s3 .product-text {
    font-size: 13px;
  }

  
  .s3 .product-text-mobile {
    font-size: 11px;
  }
  .modes-section .feature-image img {
    transform: translateX(-20%) scale(2.1) !important;
   }
   .machine-halo {
    bottom: 6% !important;
   }
}

@media (max-width: 479px) {
  .s3 .product {
    transform: scale(0.6);
  }
  
  .s3 .product-text {
    font-size: 11px;
  }
  
  .s3 .product-text-mobile {
    font-size: 10px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  body {
    background: #1a1411;
    padding-top: 50px;
    min-width: auto; /* 手機版取消最小寬度限制 */
    overflow-x: hidden; /* 手機版隱藏水平滾動 */
    max-width: 100vw;
  }
  
  .nav-wrap {
    padding: 8px 16px;
    position: relative;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .nav-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .nav-logo {
    height: 28px;
  }
  
  /* 手機版漢堡選單 */
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.3s ease;
    padding: 80px 0 40px 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background: rgba(214, 40, 114, 0.1);
    color: #d62872;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .wrap {
    max-width: 100%;
    padding: 0 16px;
    min-width: auto; /* 手機版取消最小寬度限制 */
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  
  .is-pc {
    display: none;
  }
  
  .is-m {
    display: block;
  }
  
  .kv {
    min-height: 640px;
    background-image: url(block_7_bg_m.jpg?t=1759307929698);
    background: #1a1411;
  }
  
  .kv .block_1_title {
    width: 36%;
    margin: 0 auto;
  }
  .kv .product-name {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin: 10px 0 40px auto;
    text-align: center;
    letter-spacing: 1px;
  }

  .kv .wrap {
    height: auto;
    padding-top: 40px;
    padding-bottom: 20px;
  }
  
  .kv .brand {
    position: static;
    margin: 0 auto 12px auto;
  }
  
  .kv .new {
    /* position: static; */
    transform: none;
    top: 24%;
    width: 80%;
    margin: 0 auto;
  }
  
  .kv .halo {
    position: static;
    transform: none;
    width: 92%;
    margin: 0 auto 8px auto;
  }
  
  .kv .content {
    position: static;
    transform: none;
    width: 90%;
    margin: 0 auto 12px auto;
  }
  
  .kv .product {
    position: relative;
    transform: none;
    width: 75%;
    margin: 40px 0 40px 0;
    left: 3% !important;
    z-index: 2;
  }

  .kv .halo-m {
    position: absolute;
    top: -20%;
    width: 100%;
    z-index: 1;
  }
  
  .kv .cta-btn {
    margin: 30px auto;
  }

  .kv .beans {
    display: none;
  }

  .small-wrap {
    text-wrap: nowrap;
  }
  
  .s2 {
    padding: 40px 0;
    height: 100%;
  }
  
  .s2 .title,
  .s2 .content,
  .s2 .product {
    width: 100%;
  }
  
  .s2 .ribbons {
    display: none;
  }

  .s2 .r1-m{
    position: absolute;
    top: 3%;
    left: 0;
    z-index: 1;
    animation: float-bean-icon 3s ease-in-out infinite;
  }


  .s2 .r2-m{
    position: absolute;
    top: 32%;
    left: 0;
    z-index: 1;
    animation: float-bean-icon 2s ease-in-out infinite;
  }

  .s2 .r3-m{
    position: absolute;
    top: 93%;
    left: 0;
    z-index: 1;
    animation: float-bean-icon 2s ease-in-out infinite;
  }

  .s2 .special-title{
    animation: fadeInDown-special 1s 
    ease-out 0.5s forwards;
  }

  .s2 .special-pack{
    animation: fadeInDown-special 1s 
    ease-out 0.5s forwards;
  }

  @keyframes fadeInDown-special {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .s2 .product-price{
    margin: 40px auto;
  }
  
  .s2 .product-group{
    margin-top: 40px;
  }

.s3 .product-text {
  display: none;
  opacity: 0 !important;
}

.s3 .product-text-mobile {
  display: block;
  opacity: 1 !important;
  color: white;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 2;
  white-space: normal;
  /* width: 68%; */
}

.s3 .product {
  margin: 60px 0 80px 0;
  transform-origin: center;
  transform: scale(1);
}

.s3 .product-machine {
  left: 50%;
  width: 93%;
  top: -16%;
}

.s3 .product-machine-bg {
  left: 46%;
  top: -20%;
  width: 100%;
}

  .s3 {
    padding: 50px 0;
    background: #201714;
  }
  
  .s3 .title {
    width: 100%;
    margin-bottom: 10px;
  }

  .s3 .title-small{
    margin: 0 auto 30px auto;
    letter-spacing: 0px;
    font-size: 21px;
    font-weight: 200;
    text-wrap: nowrap;
  }
  .s3 .gallery .big {
    width: 100%;
  }

  .s4 .title {
    width: 100%;
    margin: 0 auto 20px auto;
  }

  .s4 .title-small-first {
    letter-spacing: 0px;
    font-size: 24px;
    font-weight: 500;
  }

  .s4 .title-small-second {
    margin: 0 auto 30px auto;
    letter-spacing: 0px;
    font-size: 24px;
    font-weight: 200;
  }

  .s4 .circle {
    width: 30%;
    top: 9%;
    left: -4%;
  }

  .s4 .circle-second {
    width: 33%;
    top: 56%;
    right: -11%;
  }

  .dec-bottom-right-second {
    top: 86%;
    right: -10%;
    width: 32%;
  }
  
  .s5 .title {
    width: 100%;
    margin: 0 auto 40px auto;
  }
  
  .s6 .title {
    width: 70%;
  }
  
  .s7 .title {
    width: 70%;
    margin-bottom: 12px;
  }
  
  .s8 .title {
    width: 100%;
  }
  
  .s3 .icons {
    margin-top: 260px;
    align-items: flex-start;
    padding: 0;
    text-wrap: nowrap;
    font-size: 20px;
  }

  .s3 .ribbons-m {
    img {
      position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: float-bean-icon 3.5s ease-in-out infinite;
    }
  }
  
  .s3 .gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 6px;
  }

  .s3 .icon-item-1 p, .s3 .icon-item-2 p, .s3 .icon-item-3 p {
    font-size: 14px !important;
  }

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

  .swiper-slide {
    width: 33.633% !important;
  }
  
  /* 手機版 Swiper 容器設定 */
  .product-swiper {
    overflow: visible !important; 
    padding: 0 15px;
  }
  
  /* 手機版光暈遮罩 */
  .product-swiper::before,
  .product-swiper::after {
    width: 120px;
  }
  
  .product-swiper::before {
    background: linear-gradient(to right, #1e130c 0%, rgba(30, 19, 12, 0.6) 60%, transparent 100%);
    z-index: 5; 
    left: -24px !important;
  }
  
  .product-swiper::after {
    background: linear-gradient(to left, #1e130c 0%, rgba(30, 19, 12, 0.6) 60%, transparent 100%);
    z-index: 5;
    right: -24px !important;
  }

  .swiper-button-prev, .swiper-button-next  {
    width: 20px !important;
    height: 20px !important;
    z-index: 20 !important;
  }

  .swiper-button-prev {
    left: -10px !important;
    position: absolute !important;
    z-index: 30 !important;
  }
  
  .swiper-button-next {
    right: -10px !important;
    position: absolute !important;
    z-index: 30 !important;
  }


  .swiper-button-prev:after, .swiper-button-next:after {
    font-size: 8px !important;
  }
  
  
  .s4 .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 6px;
  }
  
  .s4 {
    padding: 50px 0;
    position: relative;
  }
  .video-card {
    height: revert;
  }

  .video-card {
      position: relative;
      aspect-ratio: 16/9;
      overflow: hidden;
  }
  
  .video-card video {
      position: absolute;
      top: 2px;
      left: 4px;
        width: 98%;
        height: 97%;
      object-fit: cover;
      margin-bottom: 0;
  }

  .video-card .video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
  }
  
  .dec-top-left {
    position: absolute;
    top: 10%;
    left: -2%;
    width: 20%;
    height: auto;
    z-index: 8;
    pointer-events: none;
  }
  .dec-top-left-second {
    top: 53%;
    left: -4%;
    width: 22%;
  }

  .dec-bottom-right {
    position: absolute;
    top: 38%;
    right: -8%;
    width: 31%;
    height: auto;
    z-index: 8;
    pointer-events: none;
  }

  .s4 .title-small-third {
    margin: 60px auto 8px auto;
    letter-spacing: 0px;
    font-size: 24px;
    font-weight: 500;
  }
  
  .s5 {
    padding: 60px 0;
    min-width: auto;
  }

  .s5 .s5-content {
    width: 90%;
    margin: 0 auto;
  }
  
  .feature-section {
    margin-bottom: 40px !important;
  }
  
  .feature-content {
    gap: 16px;
    align-items: center;
  }
  
  .feature-title {
    font-size: 30px;
    margin-bottom: 12px;
    line-height: 1.3;
    /* padding-left: 14px; */
  }
  
  .feature-list li {
    font-size: 15px;

    line-height: 1.4;
    margin-bottom: 4px;
    text-wrap: wrap;
  }
  
  .feature-list li span {
    letter-spacing: 0;
  }

  .feature-description {
    font-size: 15px;
    line-height: 1.4;
    text-wrap: wrap;
  }
  
  .feature-content-inner {
    width: 50%;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .feature-image {
    width: 50%;
    text-align: center;
  }
  
  .feature-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .machine-halo {
    width: 100%;
    left: -28%;
    bottom: 6%;
    transform: scale(1.5) !important;
  }
  /* 手機版modes-section特殊樣式 */
  .modes-section .feature-content {
    flex-direction: row-reverse;
    gap: 20px;
    align-items: center;
  }
  
  .modes-section .feature-content-inner {
    width: 50%;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .modes-section .feature-image {
    width: 40%;
    text-align: center;
  }
  
  .modes-section .feature-image img {
    max-width: 130%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transform: translateX(-20%) scale(2.1) !important;
  }
  
  .modes-section .feature-title {
    font-size: 30px;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .modes-section .feature-instruction {
    font-size: 16px;
    margin: 6px 0;
    line-height: 1.3;
  }
  
  .modes-section .modes-list li {
    font-size: 15px;
    padding-left: 12px;
    line-height: 1.3;
    margin-bottom: 6px;
    text-wrap: nowrap;
    flex-direction: column !important;
    align-items: flex-start;
  > div {
    display: flex;
    align-items: flex-start !important;
    gap: 8px;
    /* flex-wrap: nowrap !important; */
    }
  }

  .modes-section .modes-list li span.list-item {
    padding-left: 32px ;
  }
  
  .modes-section .s5-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  
  .modes-section .pre-infusion-details {
    margin-top: 12px;
    margin-left: 60px;
    opacity: 0.8;
    font-size: 15px;
  }
  
  .modes-section .pre-infusion-details p {
    /* font-size: 16px; */
    line-height: 1.4;
    text-wrap: wrap;
  }

  .feature-text {
    text-wrap: wrap;
    margin-right: 32px !important;
  }
  
  .s6 .wrap {
    padding: 0;
  }
  .s6 {
    padding: 60px 0;
  }
  
  .s6 .cols {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .s6 .cols img {
    display: none;
  }
  
  .s8 .cta {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 30px;
  }
  
  .s7 {
    padding: 90px 0;
    background-image: url(block_7_bg_m.jpg?t=1759307929699);
  }
  
  .s7 .is-m {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .s7 .is-m img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  
  .s8 .PD_layout .PD h4 {
    font-size: 16px;
  }

  .s8 {
    padding: 60px 0;
  }
}

@media (max-width: 479px) {
  .s3 .product-text-mobile {
    display: block;
    opacity: 1 !important;
    color: white;
    font-size: 12px !important;
    letter-spacing: 0;
    line-height: 2;
    white-space: normal;
    width: 90% !important;
  }
  
  .s3 .product {
    margin: 60px 0 80px 0;
    transform-origin: center;
    transform: scale(1);
  }
  
  .s3 .product-machine {
    left: 67% !important;
  }
  
  .s3 .product-machine-bg {
    left: 46%;
    top: 13%;
    width: 100%;
    transform: scale(1.8);
  }

  .s3 .icons {
    font-size: 14px;
    margin-top: 0;
  }

  .s3 .icons img {
    max-width: 112px;
  }

  .s3 .icon {
    width: 50px;
    height: 50px;
  }

  .s3 .title-small{
    font-size: 14px !important;
  }
  .s4 .title-small-first{
    font-size: 16px !important;
  }
  .s4 .title-small-second{
    font-size: 16px !important;
  }
  .s4 .title-small-third{
    font-size: 16px;
  }

  .video-card {
    aspect-ratio: 16/9;
    max-height: 23vh;
  }
  
  .video-card video {
    position: absolute;
    top: 2px;
    left: 4px;
        width: 98%;
        height: 96%;
    object-fit: cover;
  }

  .feature-title {
    font-size: 20px;
    text-wrap: nowrap;
  }
  .feature-list li{
    font-size: 14px;
  }
  .modes-section .feature-title {
    font-size: 20px;
  }
  .modes-section .feature-instruction {
    font-size: 14px;
  }
  .modes-section .modes-list li {
    font-size: 14px;
  }

  .modes-section .modes-list li  div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .modes-section .modes-list li span.list-item {
    padding-left: 32px ;
    letter-spacing: -1px;
  }
   
  .modes-section .pre-infusion-details {
    font-size: 14px;
    margin-left: 64px;
    line-height: 1.5;
  }

  .dec-top-left{
    top: 15%;
  }
  .dec-top-left-second{
    top: 60%;
  }

}

.video-card iframe {
  display: block;
  width: 94%;
  height: 543px;
  position: relative;
  top: 3px;
  left: auto;
  transform: none;
  margin: 0 auto;
  z-index: 2;
}

@media (max-width: 768px) {
  .video-card iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    position: relative;
    top: 0;
    margin: 0 auto;
    z-index: 6;
  }
}
