   /* Header 基礎設定 */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 導航列表樣式 */
.nav-left, .nav-right {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.mobile-extra-list {
  display: none; /* 預設桌機端隱藏，手機展開時顯示 */
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #222222;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #00bfa5;
}

.nav-link .arrow {
  font-size: 16px;
  color: #666;
}

/* 下拉選單樣式 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  list-style: none;
  padding: 10px 0;
  min-width: 160px;
  display: none;
  z-index: 10;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  color: #444444;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f7f7f7;
  color: #00bfa5;
}

/* Logo 樣式 */
.header-logo {
  display: flex;
  align-items: center;
}

.logo-shape {
  width: 46px;
  height: 46px;
 
  border-radius: 50%; /* 模擬圖片中的圓形識別標記 */
}

/* 右側圖標樣式 */
.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 20px;
}

.icon-btn {
  background: none;
  border: none;
  color: #222222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.icon-btn:hover {
  color: #00bfa5;
}

.cart-btn .cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: #00bfa5;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 手機端漢堡按鈕 (預設隱藏) */
.hamburger mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #222222;
  transition: all 0.3s ease;
}

/* ==========================
   響應式適配：手機端 (1024px 以下)
   ========================== */
@media (max-width: 1024px) {
  .header-container {
    height: 70px;
  }

  .hamburger mobile-menu-toggle {
    display: flex; /* 顯示手機端漢堡選單按鈕 */
  }

  .desktop-only {
    display: none !important; /* 桌機專用選單隱藏 */
  }

  /* 手機端滑出/展開選單 (麵包屑/漢堡展開) */
  .nav-left {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-left.active {
    left: 0; /* 展開選單 */
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
  }

  .mobile-extra-list {
    display: flex; /* 手機端顯示右側原本的選單項目 */
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
  }

  /* 手機端下拉選單點擊展開優化 */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 15px;
    display: none; /* 手機端預設收合，可透過 JS 控制點擊展開 */
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}
/* 區塊整體設定與青綠色滿版背景 */
.app-experience-section {
  width: 100%;
  background-color: #00bfa5; /* 經典蒂芬妮綠 / 湖水綠背景 */
  padding: 80px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.app-experience-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 0 20px;
}

/* 左側文字欄位 */
.app-content-col {
  flex: 1;
  color: #ffffff;
  z-index: 2;
}

.app-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
}

.app-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 30px 0;
}

/* 按鈕樣式 */
.btn-open-app {
  display: inline-block;
  padding: 14px 32px;
  background-color: #2b2633; /* 深色圓角按鈕 */
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-open-app:hover {
  background-color: #1a1720;
  transform: translateY(-2px);
}

/* 右側手機框架欄位 */
.app-image-col {
  flex: 1.1;
  display: flex;
  justify-content: flex-end;
}

.phone-mockup-frame {
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

.phone-mockup-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .app-experience-section {
    padding: 50px 0;
  }

  .app-experience-container {
    flex-direction: column; /* 手機端改為上下垂直堆疊 */
    gap: 40px;
    text-align: left;
  }

  .app-title {
    font-size: 28px;
  }

  .app-desc {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .btn-open-app {
    width: 100%; /* 行動端滿版按鈕方便點擊 */
    text-align: center;
    box-sizing: border-box;
  }

  .app-image-col {
    justify-content: center;
    width: 100%;
  }

  .phone-mockup-frame {
    max-width: 100%;
  }
}
/* 區塊整體設定 */
.design-features-section {
  width: 100%;
  background-color: #6b1d47; /* 深紫紅色背景 */
  padding: 80px 0 60px 0;
  box-sizing: border-box;
  color: #ffffff;
}

.design-features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-header {
  margin-bottom: 40px;
}

.features-header h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
  letter-spacing: 1px;
}

/* 卡片網格與切換顯示控制 */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-card {
  background-color: #531436;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-image {
  width: 100%;
 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-image img {
  max-width: 100%;
 
  object-fit: contain;
  display: block;
}

.feature-desc p {
  font-size: 13px;
  line-height: 1.7;
  color: #f0e6ed;
  margin: 0;
}

/* 底部膠囊按鈕群 */
.features-model-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
}

.switcher-pill-group {
  display: inline-flex;
  background-color: #531436;
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.switcher-btn {
  background: transparent;
  border: none;
  color: #d1b8ca;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.switcher-btn.active {
  background-color: #ffffff;
  color: #531436;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.switcher-btn:hover:not(.active) {
  color: #ffffff;
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .design-features-section {
    padding: 50px 0 40px 0;
  }

  .features-header h2 {
    font-size: 26px;
  }

  .features-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }

  .feature-card {
    padding: 20px 15px;
  }

  .feature-image {
    height: 280px;
  }

  .switcher-pill-group {
    width: 100%;
    display: flex;
  }

  .switcher-btn {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    text-align: center;
  }
}
/* 區塊整體容器 */
.iqos-sticks-showcase-section {
  width: 100%;
  background-color: #e5e7e9; /* 與全站一致的淺灰色底色 */
  padding: 60px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.iqos-sticks-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
}

/* 左側漸層口味視覺區 */
.sticks-left-visual {
  flex: 1.1;
  display: flex;
  justify-content: flex-start;
}

.flavor-banner-stack {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: skewX(-10deg); /* 模擬圖片中的斜向斜切層次感 */
}

.flavor-strip {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 各口味專屬色帶 */
.flavor-strip.bronze { background-color: #8c7373; }
.flavor-strip.red { background-color: #d97878; }
.flavor-strip.amber { background-color: #e6b17a; }
.flavor-strip.yellow { background-color: #fce19e; color: #555555; }

/* 中間文字與按鈕區塊 */
.sticks-middle-content {
  flex: 1.2;
  padding: 0 10px;
}

.sticks-middle-content h2 {
  font-size: 26px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.sticks-middle-content p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 16px;
}

/* 按鈕樣式 */
.sticks-action {
  margin-top: 25px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #bfa15f; /* 金棕色調 */
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 右側直立設備展示區 */
.sticks-right-device {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.sticks-right-device img {
  width: 100%;

  height: auto;
  object-fit: contain;
  display: block;
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .iqos-sticks-showcase-section {
    padding: 35px 0;
  }

  .iqos-sticks-container {
    flex-direction: column; /* 改為垂直堆疊 */
    gap: 30px;
  }

  .sticks-middle-content {
    order: 1; /* 手機端優先顯示標題與介紹文字 */
    padding: 0;
  }

  .sticks-middle-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .sticks-middle-content p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .sticks-left-visual {
    order: 2; /* 漸層色帶放第二 */
    width: 100%;
    justify-content: center;
  }

  .flavor-banner-stack {
    transform: none; /* 行動端取消斜切以確保排版整潔 */
  }

  .sticks-right-device {
    order: 3; /* 右側主機放最後 */
    width: 100%;
  }

  .sticks-right-device img {
    max-width: 150px;
  }
}
/* 首屏外層全螢幕背景 */
.hero-banner-section {
  width: 100%;
  background-color: #00bfa5; /* 蒂芬妮綠 / 湖水綠背景色 */
  padding: 60px 0 30px 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.hero-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 主視覺區域 (文字與大圖) */
.hero-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 420px;
}

/* 左側標題與標籤 */
.hero-text-group {
  color: #ffffff;
  z-index: 2;
}

.hero-title .sub {
  display: block;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
}

.hero-title .main {
  display: block;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 4px;
  margin-top: 5px;
}

.hero-tech-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 4px;
  width: fit-content;
}

.hero-tech-tag .tech-icon {
  font-size: 24px;
  color: #ffffff;
}

.hero-tech-tag .tech-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
}

.hero-tech-tag .tech-text small {
  font-size: 10px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

/* 右側主圖 */
.hero-image-group {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image-group img {
  max-width: 550px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 底部 3 個卡片按鈕網格 */
.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  z-index: 3;
  position: relative;
}

/* 單個卡片樣式 */
.hero-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  text-decoration: none;
  height: 110px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-text {
  padding: 0 20px;
  flex: 1;
}

.card-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.card-link {
  font-size: 12px;
  color: #666666;
  transition: color 0.3s ease;
}

.hero-card-item:hover .card-link {
  color: #00bfa5;
}

.card-img {
  width: 45%;
  height: 100%;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 往下滾動指示 */
.scroll-down-arrow {
  text-align: center;
  margin-top: 30px;
}

.scroll-down-arrow a {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-down-arrow a:hover {
  opacity: 1;
}

/* 行動端 RWD 適配 (768px 以下) */
@media (max-width: 768px) {
  .hero-banner-section {
    padding: 40px 0 20px 0;
  }

  .hero-main-content {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title .main {
    font-size: 52px;
  }

  .hero-image-group {
    justify-content: center;
    margin-top: 20px;
  }

  .hero-image-group img {
    max-width: 100%;
  }

  .hero-cards-grid {
    grid-template-columns: 1fr; /* 切換為單欄垂直排列 */
    gap: 15px;
    margin-top: 30px;
  }

  .hero-card-item {
    height: 95px;
  }

  .card-text h3 {
    font-size: 15px;
  }
}
/* 區塊整體容器 */
.iluma-models-section {
  width: 100%;
  background-color: #e5e7e9; /* 與全站一致的淺灰色底色 */
  padding: 60px 0;
  box-sizing: border-box;
}

.iluma-models-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 頂部大標題 */
.iluma-models-section .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

/* 三欄式 Layout */
.iluma-models-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.model-col {
  flex: 1;
}

.model-col-center {
  flex: 1.2;
  display: flex;
  justify-content: center;
}

.model-col-center img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 欄位標題與文字 */
.model-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
}

.model-col p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 16px;
}

/* 按鈕組排版 (垂直堆疊雙按鈕) */
.model-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: #ffffff;
  color: #bfa15f; /* 金棕色調 */
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 12.5px;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .iluma-models-section {
    padding: 35px 0;
  }

  .iluma-models-section .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .iluma-models-grid {
    flex-direction: column; /* 切換為垂直堆疊 */
    gap: 30px;
  }

  .model-col-center {
    order: 1; /* 產品圖片在行動端排在標題下方 */
    width: 100%;
  }

  .model-col-left {
    order: 2; /* 左側內容排第二 */
  }

  .model-col-right {
    order: 3; /* 右側內容排第三 */
  }

  .model-col p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .btn-more {
    width: 100%; /* 行動端按鈕全寬呈現，更方便點擊 */
    box-sizing: border-box;
  }
}
/* 區塊整體容器 */
.iluma-intro-section {
  width: 100%;
  background-color: #e5e7e9; /* 與前幾個區塊一致的灰色背景基調 */
  padding: 60px 0;
  box-sizing: border-box;
}

.iluma-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

/* 標題顯示控制 */
.mobile-title {
  display: none;
}

.desktop-title {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #222222;
}

/* 左側文字欄位 */
.iluma-intro-content {
  flex: 1.1;
  color: #333333;
}

.iluma-intro-content .subtitle-desc {
  font-size: 15px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 15px;
}

.iluma-intro-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 15px;
}

.iluma-intro-content .notice-text {
  font-size: 15px;
  line-height: 1.6;
  color: #777777;
  margin-top: 20px;
}

/* 按鈕樣式 */
.iluma-intro-action {
  margin-top: 30px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #bfa15f; /* 經典金棕色 */
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 右側圖片與播放按鈕欄位 */
.iluma-intro-image {
  flex: 1.2;
  width: 100%;
}

.video-banner-wrapper {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.video-banner-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 影片播放按鈕樣式 */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.play-icon-circle {
  width: 64px;
  height: 64px;
  background-color: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
  margin-left: 4px; /* 微調讓視覺置中 */
}

.video-play-btn:hover .play-icon-circle {
  background-color: rgba(0, 0, 0, 0.65);
  transform: scale(1.08);
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .iluma-intro-section {
    padding: 30px 0;
  }

  .iluma-intro-container {
    flex-direction: column; /* 改為垂直上下排列 */
    gap: 20px;
    padding: 0 20px;
  }

  /* 切換標題顯示 */
  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
    margin: 0 0 10px 0;
    width: 100%;
    order: 1; /* 第一順位：標題 */
  }

  .iluma-intro-image {
    order: 2; /* 第二順位：圖片與播放按鈕 */
    width: 100%;
  }

  .iluma-intro-content {
    order: 3; /* 第三順位：詳細內文與按鈕 */
  }

  .iluma-intro-content p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .iluma-intro-action {
    margin-top: 20px;
  }

  .play-icon-circle {
    width: 50px;
    height: 50px;
  }

  .play-triangle {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #ffffff;
  }
}
/* 區塊整體容器 */
.customization-section {
  width: 100%;
  background-color: #e5e7e9; /* 與前幾個區塊一致的灰色背景基調 */
  padding: 80px 0;
  box-sizing: border-box;
}

.customization-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

/* 左右圖片欄位 */
.customization-images {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.customization-images img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 中間文字欄位 */
.customization-content {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.customization-content h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  color: #222222;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.customization-content p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 30px;
}

/* 按鈕樣式 */
.customization-action {
  display: inline-block;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background-color: #ffffff;
  color: #bfa15f; /* 經典金棕色 */
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .customization-section {
    padding: 40px 0;
  }

  .customization-container {
    flex-direction: column; /* 改為垂直堆疊 */
    gap: 30px;
    padding: 0 20px;
  }

  .customization-content {
    order: 1; /* 手機上讓文字標題優先置頂 */
    padding: 0;
  }

  .customization-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .customization-content p {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .customization-images {
    order: 2; /* 圖片排列在後 */
    width: 100%;
  }

  /* 若有多張圖，在手機可讓右側圖隱藏或合並顯示，此處保留第一張或依需求調整 */
  .customization-images.right-group {
    display: none; /* 手機螢幕較窄，通常隱藏其中一側或上下並排展示 */
  }
}
/* 區塊外框 */
.science-intro-section {
  width: 100%;
  background-color: #e5e7e9; /* 與前幾個區塊保持一致的灰色背景基調 */
  padding: 60px 0;
  box-sizing: border-box;
}

.science-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

/* 左側圖片區塊 */
.science-intro-image {
  flex: 0 0 65%; /* 圖片佔據較寬的比例 */
  max-width: 65%;
}

.science-intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 右側浮動白色卡片外層 */
.science-intro-content-wrapper {
  flex: 0 0 50%;
  margin-left: -15%; /* 讓白色卡片往左覆蓋在圖片上方，創造層次感 */
  z-index: 2;
}

/* 白色卡片本體 */
.science-intro-content {
  background-color: #ffffff;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.science-intro-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #222222;
}

.science-intro-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 24px;
}

/* 按鈕樣式 */
.science-intro-action {
  margin-top: 25px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #bfa15f; /* 經典金棕色 */
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .science-intro-section {
    padding: 30px 0;
  }

  .science-intro-container {
    flex-direction: column; /* 改為垂直上下排列 */
    padding: 0 20px;
  }

  .science-intro-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .science-intro-content-wrapper {
    flex: 0 0 100%;
    margin-left: 0;
    margin-top: -20px; /* 輕微上移讓行動端也有卡片覆蓋感，或可設為 0 */
    width: 100%;
    box-sizing: border-box;
  }

  .science-intro-content {
    padding: 30px 20px; /* 手機上縮減內距 */
  }

  .science-intro-content h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .science-intro-content p {
    font-size: 13.5px;
    margin-bottom: 16px;
  }
}
/* 全域與基本佈局 */
.product-intro-section {
  width: 100%;
  background-color: #e5e7e9;
  padding: 60px 0;
  box-sizing: border-box;
}

.product-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 桌機端：反轉排版 (左圖右文) */
.product-intro-container.layout-reverse {
  flex-direction: row-reverse;
}

/* 標題控制 */
.mobile-title {
  display: none;
}

.desktop-title {
  display: block;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #222222;
}

/* 內容與圖片 */
.product-intro-content {
  flex: 1;
  padding: 0 40px;
  color: #333333;
}

.product-intro-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 20px;
}

.product-intro-image {
  flex: 1;
  width: 100%;
}

.product-intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 按鈕樣式 */
.product-intro-action {
  margin-top: 35px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #bfa15f;
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 行動端 RWD 適配 (768px 以下) */
@media (max-width: 768px) {
  .product-intro-section {
    padding: 30px 0;
  }

  .product-intro-container,
  .product-intro-container.layout-reverse {
    display: flex;
    flex-direction: column; /* 強制重置為單欄垂直排列 */
    gap: 20px;
    padding: 0 20px;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    width: 100%;
    order: 1; /* 第一順位：標題 */
  }

  .product-intro-image {
    order: 2; /* 第二順位：圖片 */
  }

  .product-intro-content {
    order: 3; /* 第三順位：介紹與按鈕 */
    padding: 0;
  }

  .product-intro-content p {
    font-size: 13.5px;
    margin-bottom: 14px;
  }

  .product-intro-action {
    margin-top: 20px;
  }
}
  /* 全域與預設 (桌機端 Layout) */
.product-intro-section {
  width: 100%;
  background-color: #e5e7e9;
  padding: 60px 0;
  box-sizing: border-box;
}

.product-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 標題顯示控制 */
.mobile-title {
  display: none; /* 桌機端隱藏行動標題 */
}

.desktop-title {
  display: block;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #222222;
}

/* 內容與圖片 */
.product-intro-content {
  flex: 1;
  padding: 0 40px;
  color: #333333;
}

.product-intro-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 20px;
}

.product-intro-image {
  flex: 1;
  width: 100%;
}

.product-intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 按鈕樣式 */
.product-intro-action {
  margin-top: 35px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #bfa15f;
  border: 1px solid #dcdcdc;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #f8f8f8;
  border-color: #bfa15f;
  color: #9e8243;
}

.btn-more .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-more:hover .arrow {
  transform: translateX(4px);
}

/* 行動端 RWD 適配 (768px 以下) */
@media (max-width: 768px) {
  .product-intro-section {
    padding: 30px 0;
  }

  .product-intro-container {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    gap: 20px;
    padding: 0 20px;
  }

  /* 切換標題與顯示順序 */
  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    width: 100%;
  }

  .product-intro-image {
    order: 2; /* 第二順位：圖片 */
  }

  .product-intro-content {
    order: 3; /* 第三順位：介紹文字與按鈕 */
    padding: 0;
  }

  .product-intro-content p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .product-intro-action {
    margin-top: 20px;
  }
}
/* 底部區塊整體容器 */
.site-footer {
  width: 100%;
  background-color: #00bfa5; /* 蒂芬妮綠 / 湖水綠背景色 */
  color: #ffffff;
  padding: 60px 0;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

/* 左側品牌與簡介欄位 */
.footer-brand-col {
  flex: 1.3;
}

.footer-logo h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  color: #ffffff;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* 中間導航清單群組 */
.footer-nav-cols {
  flex: 1.5;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-nav-group h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-group li {
  margin-bottom: 12px;
}

.footer-nav-group a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-nav-group a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 右側社群關注欄位 */
.footer-social-col {
  flex: 0.6;
}

.footer-social-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0;
  }

  .footer-container {
    flex-direction: column; /* 改為垂直單欄堆疊 */
    gap: 30px;
  }

  .footer-nav-cols {
    flex-direction: column;
    gap: 25px;
  }

  .footer-brand-col,
  .footer-nav-cols,
  .footer-social-col {
    flex: 1;
    width: 100%;
  }

  .footer-logo h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .footer-desc {
    font-size: 13px;
    margin-bottom: 15px;
  }
}
/* 區塊整體設定 */
.product-grid-section {
  width: 100%;
  background-color: #ffffff;
  padding: 60px 0;
  box-sizing: border-box;
}

.product-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title-link {
  text-decoration: none;
}

.product-grid-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0 0 30px 0;
}

/* 產品網格 (3 欄) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 單個產品卡片 */
.product-card {
  display: flex;
  flex-direction: column;
}

/* 上方圖片外框與柔和背景 */
.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 85%; /* 固定比例 */
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bg-pink-light {
  background-color: #f7eff1;
}

.bg-purple-light {
  background-color: #f4f4f8;
}

/* 促銷與新品標籤 */
.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 2px;
}

.badge-red {
  background-color: #e53935;
}

.badge-purple {
  background-color: #8e24aa;
}

/* 圖片容器 */
.product-main-link {
  text-decoration: none;
}

.image-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-box img {
  max-width: 80%;
  max-height: 75%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .image-box img {
  transform: scale(1.05);
}

/* 顏色選擇圓點 */
.color-swatches {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--swatch-color);
  cursor: pointer;
  display: inline-block;
}

.swatch.active {
  outline: 2px solid var(--swatch-color);
  outline-offset: 2px;
}

/* 商品資訊區 */
.product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.original-price {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  text-decoration: line-through;
  margin-left: 8px;
}

/* 評分星級 */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #666666;
}

.stars {
  display: flex;
  gap: 2px;
}

.star.filled {
  color: #f5a623;
}

.star.half {
  color: #f5a623;
}

.star.empty {
  color: #d8d8d8;
}

/* 加入購物車按鈕樣式 */
.product-action {
  width: 100%;
  margin-top: 5px;
}

.btn-add-cart {
  display: block;
  width: 100%;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background-color: #36323e;
  color: #ffffff;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-add-cart:hover {
  background-color: #1e1b24;
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .product-grid-section {
    padding: 30px 0;
  }

  .product-grid-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr; /* 手機端自動改為單欄直排 */
    gap: 35px;
  }

  .product-name {
    font-size: 20px;
  }

  .product-price {
    font-size: 18px;
  }

  .btn-add-cart {
    width: 100%; /* 行動端滿版按鈕，提升點擊體驗 */
  }
}

/* 區塊整體設定 */
.product-category-header-section {
  width: 100%;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* 上方深色橫幅 */
.category-banner-wrapper {
  width: 100%;
  background-color: #1a1a1a; /* 深色質感背景 (可替換為實際背景圖片或網址) */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/uploads/Homepage_TopBanner_Desktop.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  box-sizing: border-box;
}

.category-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.category-banner-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 2px;
}

/* 下方分類導航列外框 */
.category-nav-wrapper {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.category-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 分類按鈕清單 */
.category-nav-tabs {
  display: flex;
  align-items: center;
  gap: 40px;
  overflow-x: auto; /* 手機端支援橫向滾動 */
  white-space: nowrap;
  scrollbar-width: none; /* 隱藏捲軸 (Firefox) */
}

.category-nav-tabs::-webkit-scrollbar {
  display: none; /* 隱藏捲軸 (Chrome/Safari) */
}

.category-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.category-tab-item .count {
  font-size: 12px;
  color: #888888;
}

.category-tab-item:hover {
  color: #111111;
}

/* 當前選中項目的樣式與底部下劃線 */
.category-tab-item.active {
  color: #111111;
  font-weight: 600;
}

.category-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #111111; /* 黑色粗下劃線 */
}

/* 響應式適配：行動端 (768px 以下) */
@media (max-width: 768px) {
  .category-banner-wrapper {
    padding: 50px 0;
  }

  .category-banner-title {
    font-size: 30px;
  }

  .category-nav-container {
    padding: 0 10px;
  }

  .category-nav-tabs {
    gap: 25px;
    padding: 0 10px;
  }

  .category-tab-item {
    padding: 15px 0;
    font-size: 13.5px;
  }
}

/* ==========================================
   懸浮按鈕群組容器 (統一固定在右下角)
   ========================================== */
.iqos-floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column; /* 順向排列：購物車在最上，客服居中，回頂部在最下 */
    align-items: flex-end;
    gap: 12px;
    z-index: 9999;
}


/* ==========================================
   懸浮小購物車按鈕樣式
   ========================================== */
.iqos-float-cart {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;

    width: 48px;
    height: 48px;

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

    padding: 0;
    margin: 0;

    background: #36323e;
    color: #fff;

    border: 0;
    border-radius: 50%;

    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 9999;

    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

/* 購物車 SVG 圖標 */
.iqos-cart-svg {
    display: block;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
}

/* 商品數量紅點 */
.floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    line-height: 1;
}

/* 購物車滑鼠懸停效果 */
@media (hover:hover){
    .iqos-float-cart:hover {
        background: #1e1b24;
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(0,0,0,.22);
    }
}


/* ==========================================
   回到頂部按鈕
   ========================================== */
.iqos-back-top {
    position: static !important;
    width: 48px;
    height: 48px;

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

    padding: 0;
    margin: 0;

    background: #198754;
    color: #fff;

    border: 0;
    border-radius: 50%;

    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 9999;

    /* 預設隱藏 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);

    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease;
}

.iqos-back-top span {
    display: block;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-1px);
}

.iqos-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (hover:hover){
    .iqos-back-top:hover {
        background: #146c43;
        transform: translateY(-3px);
    }
}

.iqos-back-top:focus-visible {
    outline: 3px solid rgba(25,135,84,.35);
    outline-offset: 3px;
}


/* ==========================================
   懸浮線上客服按鈕
   ========================================== */
.iqos-float-service {
    position: static !important;
    min-width: 120px;
    height: 48px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    background: #06c755;
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    z-index: 9999;

    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.iqos-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
}

.iqos-service-text {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

@media (hover:hover){
    .iqos-float-service:hover {
        background: #05b94e;
        color: #fff !important;
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(0,0,0,.22);
    }
}

.iqos-float-service:focus-visible {
    outline: 3px solid rgba(6,199,85,.3);
    outline-offset: 3px;
}


/* ==========================================
   手機版適應
   ========================================== */
@media(max-width: 768px){
    .iqos-floating-actions {
        right: 15px;
        bottom: 18px;
    }

    .iqos-float-cart,
    .iqos-back-top {
        width: 44px;
        height: 44px;
    }

    .iqos-back-top span {
        font-size: 22px;
    }

    .iqos-float-service {
        min-width: 108px;
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }

    .iqos-service-icon {
        font-size: 17px;
    }

    .iqos-service-text {
        font-size: 13px;
    }
}


/* 尊重使用者減少動畫設定 */
@media(prefers-reduced-motion: reduce){
    .iqos-back-top,
    .iqos-float-service,
    .iqos-float-cart {
        transition: none;
    }
}

/* ==========================================
   規格選擇彈窗專屬樣式
   ========================================== */
.gift-spec-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gift-spec-modal {
  background-color: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.gift-spec-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeeee;
}

.gift-spec-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.gift-spec-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #888888;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.gift-spec-modal-close:hover {
  color: #222222;
}

.gift-spec-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.gift-spec-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}

.gift-spec-product-image {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background-color: #f7eff1;
  border-radius: 6px;
  padding: 5px;
  box-sizing: border-box;
}

.gift-spec-product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gift-spec-product-name {
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  margin: 0;
  line-height: 1.4;
}

.gift-spec-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #e53935;
  margin: 0;
}

.gift-spec-section {
  margin-bottom: 20px;
}

.gift-spec-title {
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  margin: 0 0 10px 0;
}

.gift-spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gift-spec-option {
  background-color: #f8f9fa;
  border: 1px solid #dcdcdc;
  color: #333333;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gift-spec-option:hover:not(.disabled) {
  border-color: #36323e;
}

.gift-spec-option.selected {
  background-color: #36323e;
  color: #ffffff;
  border-color: #36323e;
  font-weight: 600;
}

.gift-spec-option.disabled {
  background-color: #f1f1f1;
  color: #b0b0b0;
  border-color: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.6;
}

.gift-spec-quantity-section {
  margin-bottom: 20px;
}

.gift-spec-quantity-title {
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  margin: 0 0 10px 0;
}

.gift-spec-quantity-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gift-spec-quantity-control {
  display: inline-flex;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.gift-spec-quantity-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 38px;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gift-spec-quantity-btn:hover {
  background-color: #eaeaea;
}

.gift-spec-quantity-input {
  width: 50px;
  height: 38px;
  border: none;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffffff;
  outline: none;
  box-sizing: border-box;
}

.gift-spec-quantity-input::-webkit-inner-spin-button,
.gift-spec-quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gift-spec-quantity-label {
  font-size: 13px;
  color: #666666;
}

.gift-spec-price-info {
  background-color: #f8f9fa;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gift-spec-price-info .price {
  font-size: 16px;
  font-weight: 700;
  color: #e53935;
  margin: 0;
}

.gift-spec-price-info .stock {
  font-size: 13px;
  color: #666666;
  margin: 0;
}

.gift-spec-actions {
  padding-top: 10px;
}

.gift-spec-confirm-btn {
  width: 100%;
  height: 46px;
  background-color: #36323e;
  color: #ffffff;
  border: none;
  border-radius: 23px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gift-spec-confirm-btn:hover:not(:disabled) {
  background-color: #1e1b24;
}

.gift-spec-confirm-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .gift-spec-modal {
    max-width: 100%;
    margin: 10px;
    border-radius: 10px;
  }
}