/* ===== 會員有禮頁 ===== */
.member-exclusive-page {
  background: #fff;
  color: #333;
}

.member-exclusive-hero {
  padding: 40px 16px 40px;
  text-align: center;
}

.member-exclusive-heading {
  max-width: 760px;
  margin: 0 auto 28px;
}

/* 沒有封面圖片時，收掉原本預留給封面的空間 */
.member-exclusive-hero.no-cover {
  padding-bottom: 0;
}

.member-exclusive-hero.no-cover .member-exclusive-heading {
  margin-bottom: 0;
}

.member-exclusive-hero.no-cover + .member-exclusive-content-wrap {
  padding-top: 12px;
}

.member-exclusive-kicker {
  margin: 0 0 10px;
  color: #3bb696;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.member-exclusive-heading h1 {
  margin: 0;
  color: #222;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  letter-spacing: .04em;
}

.member-exclusive-subtitle {
  margin: 14px 0 0;
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.member-exclusive-cover {
  max-width: 1088px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  background: #f8f8f8;
}

.member-exclusive-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.member-exclusive-content-wrap {
  padding: 28px 0 72px;
}

.member-exclusive-content {
  max-width: 1088px;
  margin: 0 auto;
  color: #333;
  font-size: 16px;
  line-height: 1.9;

}

.member-exclusive-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.member-exclusive-content h2,
.member-exclusive-content h3 {
  margin-top: 1.8em;
  margin-bottom: .8em;
  color: #222;
  font-weight: 600;
  line-height: 1.4;
}

.member-exclusive-content p {
  margin: 0 0 1.1em;
  text-align: center;
}

.member-exclusive-content a {
  color: #35ad91;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-exclusive-content ul,
.member-exclusive-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

/* 隱藏會員有禮 RichEditor 圖片附件的檔名 / 大小 */
.member-exclusive-content .attachment__caption,
.member-exclusive-content .attachment__name,
.member-exclusive-content .attachment__size,
.member-exclusive-content figcaption {
  display: none !important;
}

.member-exclusive-content figure,
.member-exclusive-content .attachment {
  margin: 20px 0;
  text-align: center;
}

.member-exclusive-content figure img,
.member-exclusive-content .attachment img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  margin: 0 auto;
}

.member-exclusive-button-wrap {
  max-width: 1088px;
  margin: 28px auto 0;
  text-align: center;
}

.member-exclusive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.member-exclusive-button:hover {
  color: #ffffff !important;
  filter: brightness(0.95);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .member-exclusive-hero {
    padding: 36px 0 18px;
  }

  .member-exclusive-hero.no-cover {
    padding-bottom: 0;
  }

  .member-exclusive-hero.no-cover .member-exclusive-heading {
    margin-bottom: 0;
  }

  .member-exclusive-hero.no-cover + .member-exclusive-content-wrap {
    padding-top: 10px;
  }

  .member-exclusive-content-wrap {
    padding-bottom: 48px;
  }

  .member-exclusive-content {
    font-size: 15px;
    line-height: 1.85;
  }
}
/* ===== 會員有禮頁 END ===== */

/* ===== A+B 任選組合優惠 ===== */

.promo-ab-combo {
  margin: 32px 0 56px;
}

.promo-ab-group {
  margin-top: 24px;
}

.promo-ab-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.promo-ab-group-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border: 1px solid var(--green);
  border-radius: 50%;

  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}


/* 商品卡 */

.promo-ab-product-card {
  height: 100%;

  display: flex;
  flex-direction: column;

  padding: 12px;

  overflow: hidden;

  border: 1px solid #eee;
  border-radius: 12px;

  background: #fff;

  text-align: center;

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

.promo-ab-product-card:hover {
  transform: translateY(-4px);

  border-color: #e1e1e1;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, .08);
}


/* 已選取 */

.promo-ab-product-card.is-selected {
  border: 2px solid var(--green);

  box-shadow:
    0 0 0 2px rgba(26, 188, 156, .10);
}

/* ===== A+B：正在選擇規格 ===== */

.promo-ab-product-card.is-choosing:not(.is-selected) {
  border-color: var(--green);

  box-shadow:
    0 0 0 2px rgba(26, 188, 156, .08);

  background: #fbfffe;
}

.promo-ab-select-btn.is-choosing:not(.is-selected) {
  border-color: var(--green);

  color: var(--green);

  background: #eefbf8;
}

/* 圖片 */

.promo-ab-product-image {
  position: relative;

  width: 100%;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  border-radius: 10px;

  background: #f7f7f7;
}

.promo-ab-product-image img {
  display: block;

  width: 100%;
  height: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;
}


/* 商品內容 */

.promo-ab-product-body {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 0;
}

.promo-ab-product-title {
  min-height: calc(1.5em * 2);

  margin: 12px 0 10px;

  color: #222;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;

  text-align: center;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}


/* 價格 */

.promo-ab-product-price {
  min-height: 24px;

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

  gap: 10px;

  margin: 8px 0 12px;

  font-size: 15px;

  text-align: center;
}

.promo-ab-compare-price {
  color: #777;

  font-size: 15px;

  text-decoration: line-through;
}

.promo-ab-current-price {
  color: #e53935;

  font-size: 15px;
  font-weight: 600;
}


/* 選擇商品 */

.promo-ab-select-btn {
  width: 100%;

  margin-top: auto;

  padding: 9px 0;

  border: 1px solid var(--green);
  border-radius: 0;

  color: var(--green);

  background: #fff;
}

.promo-ab-select-btn:hover,
.promo-ab-select-btn.is-selected {
  border-color: var(--green);

  color: #fff;

  background: var(--green);
}


/* A + B 中間加號 */

.promo-ab-plus {
  margin: 28px 0;

  color: var(--green);

  font-size: 34px;
  font-weight: 700;
}


/* 優惠摘要 */

.promo-ab-summary {
  position: relative;
  max-width: 620px;

  margin: 38px auto 0;
  padding: 22px;

  border: 1px solid #e5e5e5;
  border-radius: 14px;

  background: #fafafa;

  text-align: center;
}

/* ===== A+B 優惠摘要：清除選擇 ===== */

.promo-ab-summary-clear {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

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

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;
  color: #888;

  font-size: 16px;
  line-height: 1;

  cursor: pointer;

  transition:
    color .2s ease,
    background-color .2s ease;
}

.promo-ab-summary-clear:hover {
  color: #333;
  background: #eee;
}

.promo-ab-summary-clear i {
  pointer-events: none;
}

.promo-ab-summary-title {
  margin-bottom: 10px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

.promo-ab-selected-text {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.promo-ab-price-summary {
  margin-top: 14px;
  color: #555;
  line-height: 1.8;
}

.promo-ab-original-total {
  color: #888;

  text-decoration: line-through;
}

.promo-ab-discount-total {
  color: #e65b4f;
  font-size: 24px;
  font-weight: 700;
}


/* 加入購物車 */

.promo-ab-add-cart-btn {
  min-width: 220px;
  margin-top: 18px;
  padding: 10px 26px;
  border: 0;
  border-radius: 0px;
  color: #fff;
  background: var(--green);
}

.promo-ab-add-cart-btn:hover:not(:disabled),
.promo-ab-add-cart-btn:focus:not(:disabled),
.promo-ab-add-cart-btn:active:not(:disabled) {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  filter: brightness(.90);
  box-shadow: none;
}

.promo-ab-add-cart-btn:disabled {
  cursor: not-allowed;
  opacity: .45;
}


/* 手機 */

@media (max-width: 768px) {

  .promo-ab-combo {
    margin-top: 24px;
  }

  .promo-ab-group-title {
    font-size: 16px;
  }

  .promo-ab-product-body {
    padding: 0;
  }

  .promo-ab-product-title {
    min-height: calc(1.5em * 2);
    max-height: calc(1.5em * 2);

    overflow: hidden;

    font-size: 13px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .promo-ab-product-price {
    min-height: 24px;

    display: flex;
    align-items: center;
  }

  .promo-ab-current-price {
    font-size: 13px;
  }

  .promo-ab-select-btn {
    padding: 8px 0;

    font-size: 13px;
  }

  .promo-ab-summary {
    padding: 18px 14px;
  }

  .promo-ab-add-cart-btn {
    width: 100%;
    min-width: 0;
  }
}

/* A+B 規格選擇 */

.promo-ab-variant-panel {
  max-width: 620px;
  margin: 32px auto;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
}

/* 規格面板開啟時加強提示 */

.promo-ab-variant-panel.is-attention {
  border-color: var(--green);

  box-shadow:
    0 0 0 3px rgba(26, 188, 156, .10),
    0 8px 24px rgba(0, 0, 0, .08);

  animation: promoAbVariantAttention .45s ease;
}

@keyframes promoAbVariantAttention {
  0% {
    transform: scale(.985);
    opacity: .72;
  }

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

.promo-ab-variant-inner {
  width: 100%;
}

.promo-ab-variant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.promo-ab-variant-title {
  font-size: 18px;
}

.promo-ab-variant-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 26px;
  line-height: 1;
}

.promo-ab-variant-product-name {
  margin-bottom: 18px;
  color: #333;
  font-weight: 600;
}

.promo-ab-variant-field {
  margin-bottom: 18px;
}

.promo-ab-variant-label {
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
}


/* Type */

.promo-ab-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-ab-type-btn {
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 0px;
  background: #fff;
  color: #555;
}

.promo-ab-type-btn:hover,
.promo-ab-type-btn.is-active {
  border-color: var(--green);

  color: var(--green);
}


/* 顏色 */

.promo-ab-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-ab-color-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid #ddd;
  border-radius: 50%;
  background: #eee;
}

.promo-ab-color-btn.is-active {
  border-color: var(--green);

  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--green);
}


/* 規格價格 */

.promo-ab-variant-price {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 12px 0;
}

.promo-ab-variant-compare-price {
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
}

.promo-ab-variant-current-price {
  color: #e65b4f;
  font-size: 20px;
}


/* 確認 */

.promo-ab-confirm-variant {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 0px;
  color: #fff;
  background: var(--green);
}

.promo-ab-confirm-variant:hover:not(:disabled),
.promo-ab-confirm-variant:focus:not(:disabled),
.promo-ab-confirm-variant:active:not(:disabled) {
  color: #fff;
  background: var(--green);
  filter: brightness(.90);
  border-color: var(--green);
  box-shadow: none;
}

.promo-ab-confirm-variant:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ===== A+B 任選組合優惠 END ===== */

/* ===== 任選 N 件固定價：商品選擇 ===== */

.mix-match-product-card {
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.mix-match-product-card.is-selected {
  border: 2px solid var(--green);

  box-shadow:
    0 0 0 2px rgba(26, 188, 156, .10);
}

.mix-match-select-btn.is-selected {
  border-color: var(--green);

  color: #fff;

  background: var(--green);
}

/* ===== 任選 N 件固定價：活動說明 ===== */

.promo-mix-match .promo-block-meta,
.promo-mix-match .promo-mix-meta {
  max-width: 100%;
  margin: 0 0 20px;

  color: #555;

  font-size: 14px;
  line-height: 1.7;
}


/* 第一行：任選 N 件 NT$xxx */

.promo-mix-match .promo-mix-main-rule {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;

  gap: 6px;

  margin-bottom: 8px;

  color: #333;

  font-size: 15px;
  font-weight: 500;
}

.promo-mix-match .promo-mix-main-rule strong {
  color: #e65b4f;

  font-size: 18px;
  font-weight: 700;

  letter-spacing: .02em;
}


/* 第二行：規則標籤 */

.promo-mix-match .promo-mix-rule-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;
}

.promo-mix-match .promo-mix-rule-tag {
  display: inline-flex;
  align-items: center;

  min-height: 28px;

  padding: 4px 10px;

  border: 1px solid #e5e5e5;
  border-radius: 999px;

  background: #fafafa;

  color: #666;

  font-size: 12px;
  line-height: 1.4;
}

.promo-mix-match .promo-mix-rule-tag::before {
  content: '';

  width: 5px;
  height: 5px;

  margin-right: 6px;

  border-radius: 50%;

  background: var(--green);
}


/* 手機 */

@media (max-width: 768px) {

  .promo-mix-match .promo-block-meta,
  .promo-mix-match .promo-mix-meta {
    margin-bottom: 16px;
  }

  .promo-mix-match .promo-mix-main-rule {
    font-size: 14px;
  }

  .promo-mix-match .promo-mix-main-rule strong {
    font-size: 17px;
  }

  .promo-mix-match .promo-mix-rule-list {
    gap: 6px;
  }

  .promo-mix-match .promo-mix-rule-tag {
    padding: 4px 8px;

    font-size: 11px;
  }
}

/* ===== 任選 N 件固定價：優惠摘要 ===== */

.promo-mix-summary {
  position: relative;

  max-width: 620px;

  margin: 38px auto 0;
  padding: 22px;

  border: 1px solid #e5e5e5;
  border-radius: 14px;

  background: #fafafa;

  text-align: center;
}


/* 清除選擇 */

.promo-mix-summary-clear {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  display: inline-flex;

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

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;
  color: #888;

  font-size: 16px;
  line-height: 1;

  cursor: pointer;

  transition:
    color .2s ease,
    background-color .2s ease;
}

.promo-mix-summary-clear:hover {
  color: #333;

  background: #eee;
}

.promo-mix-summary-clear i {
  pointer-events: none;
}


/* 標題 */

.promo-mix-summary-title {
  margin-bottom: 10px;

  color: #333;

  font-size: 20px;
  font-weight: 700;
}


/* 選擇狀態 */

.promo-mix-selected-text {
  color: #666;

  font-size: 14px;
  line-height: 1.7;
}


/* 已選商品清單 */

.promo-mix-selected-list {
  max-width: 500px;

  margin: 12px auto 0;

  text-align: left;
}

.promo-mix-selected-item {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;

  padding: 8px 0;

  border-bottom: 1px solid #eee;

  color: #555;

  font-size: 13px;
  line-height: 1.6;
}

.promo-mix-selected-item:last-child {
  border-bottom: 0;
}

.promo-mix-selected-item-main {
  min-width: 0;

  flex: 1;
}

.promo-mix-selected-item-title {
  color: #333;

  word-break: break-word;
}

.promo-mix-selected-item-variant {
  margin-top: 2px;

  color: #888;

  font-size: 12px;
}

.promo-mix-selected-item-qty {
  flex: 0 0 auto;

  color: #777;

  white-space: nowrap;
}


/* 價格摘要 */

.promo-mix-price-summary {
  margin-top: 14px;

  color: #555;

  line-height: 1.8;
}

.promo-mix-original-total {
  color: #888;

  text-decoration: line-through;
}

.promo-mix-discount-total {
  color: #e65b4f;

  font-size: 24px;
  font-weight: 700;
}


/* 加入購物車 */

.promo-mix-add-cart-btn {
  min-width: 220px;

  margin-top: 18px;
  padding: 10px 26px;

  border: 0;
  border-radius: 0;

  color: #fff;

  background: var(--green);
}

.promo-mix-add-cart-btn:hover:not(:disabled),
.promo-mix-add-cart-btn:focus:not(:disabled),
.promo-mix-add-cart-btn:active:not(:disabled) {
  color: #fff;

  background: var(--green);
  border-color: var(--green);

  filter: brightness(.90);

  box-shadow: none;
}

.promo-mix-add-cart-btn:disabled {
  cursor: not-allowed;

  opacity: .45;
}


/* 手機 */

@media (max-width: 768px) {

  .promo-mix-summary {
    margin-top: 28px;

    padding: 18px 14px;
  }

  .promo-mix-selected-list {
    text-align: left;
  }

  .promo-mix-add-cart-btn {
    width: 100%;

    min-width: 0;
  }
}

/* ===== 任選 N 件固定價：商品選擇 END ===== */

/* ===== 服務問題設定：RichEditor 內容 ===== */
.service-question-editor-content {
  max-width: 900px;
  margin: 28px auto 42px;
  color: #444;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

.service-question-editor-content h1,
.service-question-editor-content h2,
.service-question-editor-content h3 {
  color: #222;
  font-weight: 700;
  line-height: 1.4;
  margin: 28px 0 12px;
  text-align: center;
}

.service-question-editor-content p,
.service-question-editor-content ol,
.service-question-editor-content ul,
.service-question-editor-content li {
  text-align: left;
}

.service-question-editor-content h1 {
  font-size: 1.6rem;
}

.service-question-editor-content h2 {
  font-size: 1.35rem;
}

.service-question-editor-content h3 {
  font-size: 1.15rem;
}

.service-question-editor-content p {
  margin-bottom: 12px;
}

.service-question-editor-content ul,
.service-question-editor-content ol {
  padding-left: 1.5rem;
  margin-bottom: 16px;
}

.service-question-editor-content li {
  margin-bottom: 12px;
  text-align: left;
}

.service-question-editor-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-question-editor-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  border-radius: 0;
}

.service-question-editor-content figure,
.service-question-editor-content .attachment {
  margin: 18px 0;
  text-align: center;
}

/* 隱藏 RichEditor 附件檔名 / 大小 */
.service-question-editor-content .attachment__caption,
.service-question-editor-content .attachment__name,
.service-question-editor-content .attachment__size,
.service-question-editor-content figcaption {
  display: none !important;
}

/* 保固下方說明內容 */
.warranty-detail-content {
  text-align: left;
}

/* 後台 FAQ 答案內容 */
.service-question-answer-content {
  color: #555;
  line-height: 1.8;
}

.service-question-answer-content p {
  margin-bottom: 6px;
}

.service-question-answer-content ul,
.service-question-answer-content ol {
  padding-left: 1.4rem;
  margin-bottom: 8px;
}

.service-question-answer-content li {
  margin-bottom: 4px;
}

.service-question-answer-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-question-answer-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
  border-radius: 0;
}

.service-question-answer-content figure,
.service-question-answer-content .attachment {
  margin: 14px 0;
  text-align: center;
}

/* 隱藏 FAQ 答案 RichEditor 附件檔名 / 大小 */
.service-question-answer-content .attachment__caption,
.service-question-answer-content .attachment__name,
.service-question-answer-content .attachment__size,
.service-question-answer-content figcaption {
  display: none !important;
}

@media (max-width: 768px) {
  .service-question-editor-content {
    font-size: 15px;
    margin: 22px auto 34px;
  }

  .service-question-answer-content {
    font-size: 15px;
  }
}
/* ===== 服務問題設定：RichEditor 內容 END ===== */

/* ===== 售後服務 / Terms & Conditions 頁 ===== */

/* ===== 購物常見問題頁（兩層結構） ===== */

/* 上方卡片列 */
.sfaq-tabs-wrapper {
  margin-top: 40px;
}

.sfaq-cat-wrapper {
  max-width: 880px;
  margin: 24px auto 24px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  -webkit-overflow-scrolling: touch;
}

.sfaq-cat-wrapper::-webkit-scrollbar {
  display: none;
}

.sfaq-cat-list {
  display: flex;
  gap: 16px;
  min-width: max-content;
}

.sfaq-cat-item {
  flex: 0 0 220px;
  border-radius: 20px;
  border: 1px solid #e3e3e3;
  background-color: #fff;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 0 rgba(0, 160, 255, 0);
}

.sfaq-cat-item:hover {
  border-color: #C4E1E1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.sfaq-cat-item.active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  background-color: #f4fbff;
}

.sfaq-cat-icon i {
  font-size: 2.2rem;
  color: #c0c0c0;
}

.sfaq-cat-item.active .sfaq-cat-icon i {
  color: var(--green);
}

.sfaq-cat-label {
  font-size: 0.95rem;
  color: #333;
}

/* 小螢幕時卡片窄一點好滑 */
@media (max-width: 767.98px) {
  .sfaq-cat-item {
    flex: 0 0 160px;
  }
}

/* ===== 桌機顯示水平滑桿 ===== */
@media (min-width: 960px) {

  /* 確保可橫向捲動 */
  .sfaq-cat-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    /* 留空間給滑桿，不會壓到卡片 */
  }

  /* 如果你之前有 display:none，這裡把它改回來 */
  .sfaq-cat-wrapper::-webkit-scrollbar {
    height: 10px;
    /* 水平滑桿高度 */
    display: block;
  }

  .sfaq-cat-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
  }

  .sfaq-cat-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .25);
    border-radius: 999px;
  }

  .sfaq-cat-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .35);
  }

  /* Firefox */
  .sfaq-cat-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .25) rgba(0, 0, 0, .08);
  }
}

/* ===== 第二層內容區 ===== */
.sfaq-category {
  display: none;
  text-align: left;
}

.sfaq-category.active {
  display: block;
}

.sfaq-category-title {
  max-width: 900px;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 24px auto 16px;
}

/* 目錄 */
.sfaq-toc {
  max-width: 900px;
  margin: 0 auto 16px;
}

.sfaq-toc-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.sfaq-toc-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.sfaq-toc-list li {
  margin: 2px 0;
}

.sfaq-toc-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--green);
  cursor: pointer;
}

.sfaq-toc-link:hover {
  text-decoration: underline;
}

/* 問題內容 */
.sfaq-answers {
  max-width: 900px;
  margin: 0 auto;
}

.sfaq-answer {
  padding: 14px 0;
  border-top: 1px solid #eee;
  background: #fff;
  transition: background-color .3s ease, border-left-color .3s ease;
  text-align: left;
  border-left: 4px solid transparent;
  /* 先預留位置，避免跳動 */
}

.sfaq-answer h4 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 700;
}

/* 目錄點擊時淡黃色高亮 */
.sfaq-answer.highlight {
  background: #fff8d6;
  border-left-color: var(--green);
  /* 這條就是你要的綠線 */
}

/* 售後服務頁上方圖片 */
.legal-hero-img {
  max-width: 1280px;
  /* 視覺上像 Logo / 小 Banner */
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.legal-page {
  padding: 40px 16px 40px;
}

.legal-container {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 30px;
}

.legal-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.legal-subtitle {
  font-size: 0.95rem;
  color: #777;
}

.legal-section {
  text-align: center;
  margin-bottom: 60px;
}

.legal-section-title {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.legal-section p {
  margin-bottom: 12px;
  line-height: 1.9;
  color: #555;
}

/* 手機稍微縮小內距 */
@media (max-width: 576px) {
  .legal-page {
    padding: 36px 0 18px;
  }
}

/* ===== 售後服務 / Terms & Conditions 頁 ===== */

/* ===== 保固登陸 / Terms & Conditions 頁 ===== */

/* 標題（小標） */
.legal-subtitles {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left !important;
}

/* 編號條列 */
.legal-list {
  padding-left: 20px;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* 讓條列內容靠左 */
.legal-list,
.legal-list li {
  text-align: left !important;
  margin-bottom: 12px;
}

/* 條列內的連結（如：點此登錄） */
.legal-link {
  color: var(--green);
  /* 你的品牌綠 */
  text-decoration: underline;
}

.legal-link:hover {
  color: var(--green);
}

/* 灰色提示文字框 */
.warranty-info-box {
  background: #f2f2f2;
  border-radius: 12px;
  padding: 20px;
  max-width: 700px;
  text-align: center;
  margin: 20px auto 20px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.warranty-info-box {
  background: #f2f2f2;
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  text-align: center;
  margin: 20px auto 20px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}


.warranty-btn {
  background-color: #1ABC9C;
  /* 與你優惠券色系相同 */
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
}

.warranty-btn:hover {
  background-color: #1bceaa;
}

/* ===== 保固登陸 / Terms & Conditions 頁 ===== */

/* ===== 商品保固 / 退換貨：頁尾展開式 Q&A ===== */

/* Q&A 整體區塊 */
.service-qa-wrap {
  max-width: 900px;
  margin: 40px auto 60px;
}

/* Q&A 標題 */
.service-qa-title {
  margin: 0 0 28px;
  color: #222;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* 問答列表 */
.service-qa-section {
  width: 100%;
  border-top: 1px solid #ddd;
}

/* 每一題都要有下分隔線 */
.service-qa-item {
  border-bottom: 1px solid #ddd;
}

.service-qa-question {
  width: 100%;
  min-height: 86px;
  padding: 22px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border: 0;
  background: transparent;

  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;

  cursor: pointer;
}

.service-qa-arrow {
  flex: 0 0 auto;
  color: #888;
  font-size: 22px;
  font-weight: 400;

  transition: transform .25s ease;
}

.service-qa-answer {
  display: none;
  padding: 0 0 30px;
}

.service-qa-item.is-open .service-qa-answer {
  display: block;
}

.service-qa-item.is-open .service-qa-arrow {
  transform: rotate(180deg);
}

.service-qa-answer .service-question-answer-content {
  color: #666;
  font-size: 16px;
  line-height: 1.9;
}

.service-qa-answer .service-question-answer-content p:last-child {
  margin-bottom: 0;
}


/* 手機版 */
@media (max-width: 768px) {

  .service-qa-section {
    margin: 30px auto 48px;
  }

  .service-qa-question {
    min-height: 68px;
    padding: 18px 0;

    font-size: 16px;
  }

  .service-qa-answer {
    padding-bottom: 24px;
  }

  .service-qa-answer .service-question-answer-content {
    font-size: 15px;
  }
}

/* ===== 頁尾展開式 Q&A END ===== */

/* ===== 產品常見問題頁 ===== */
.faq-page {
  padding: 40px 16px 40px;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-hero-img {
  max-width: 760px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.faq-subtitle {
  color: #777;
  margin-bottom: 0;
}


/* ===== FAQ 商品種類卡片（第一層） ===== */
.faq-cat-wrapper {
  margin: 32px 0 24px;

}

.faq-cat-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 4px 4px 12px;
  justify-content: flex-start;
  scrollbar-width: none;
}

/* 捲動條可以不要就拿掉這段 */
.faq-cat-list::-webkit-scrollbar {
  height: 6px;
  display: none;
}

.faq-cat-list::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 3px;
}

.faq-cat-item {
  min-width: 180px;
  max-width: 220px;
  border-radius: 20px;
  border: 1px solid #e3e3e3;
  background-color: #fff;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 0 rgba(0, 160, 255, 0);
}

.faq-cat-item:hover {
  border-color: #C4E1E1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.faq-cat-item.active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  background-color: #f4fbff;
}

.faq-cat-icon i {
  font-size: 2.2rem;
  color: #c0c0c0;
}

.faq-cat-item.active .faq-cat-icon i {
  color: var(--green);
}

.faq-cat-label {
  font-size: 0.95rem;
  color: #333;
}

/* 小螢幕時讓卡片寬一點好點 */
@media (max-width: 767.98px) {
  .faq-cat-item {
    min-width: 160px;
  }
}

/* 桌機：第一層（商品種類卡片列）顯示捲軸 */
@media (min-width: 992px) {
  .faq-cat-list {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(0, 0, 0, .25) rgba(0, 0, 0, .08);
    padding-bottom: 12px;
    /* 留空間給捲軸 */
  }

  /* Chrome / Edge / Safari */
  .faq-cat-list::-webkit-scrollbar {
    height: 10px;
    display: block;
    /* 原本你是 none，這裡改回來 */
  }

  .faq-cat-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
  }

  .faq-cat-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .25);
    border-radius: 999px;
  }

  .faq-cat-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .35);
  }
}

/* ===== 類別內容切換（第一層區塊） ===== */
.faq-category {
  display: none;
}

.faq-category.active {
  display: block;
}

.faq-category-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 24px 0 16px;
}

/* ===== 子分類卡片（第二層） ===== */
.faq-subcat-list {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.faq-subcat-item {
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  padding: 10px 18px;
  background-color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.faq-subcat-item i {
  font-size: 1.2rem;
  color: #999;
}

.faq-subcat-item:hover {
  border-color: #C4E1E1;
  background-color: #f8fbff;
}

.faq-subcat-item.active {
  border-color: var(--green);
  background-color: #eaf7ff;
}

.faq-subcat-item.active i {
  color: var(--green);
}



/* 第二層內容區（第三層：目錄＋回答包在裡面） */
.faq-subcat-content {
  display: none;
}

.faq-subcat-content.active {
  display: block;
}

.faq-subcat-title {
  max-width: 900px;
  margin: 0 auto 8px;
  text-align: left;
  font-size: 1.25rem;
  font-weight: 600;
}

/* 第二層子分類在平板 / 手機橫向滑動 */
@media (max-width: 991.98px) {
  .faq-subcat-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 4px 12px;
    justify-content: flex-start;
  }

  /* 子分類卡片：禁止文字換行保持水平 */
  .faq-subcat-item {
    white-space: nowrap;
    /* 這行讓文字不直向排列 */
    flex-shrink: 0;
    /* 卡片不會被壓扁 */
  }

  /* 隱藏捲軸 (Chrome / Safari / Edge) */
  .faq-subcat-list::-webkit-scrollbar {
    display: none;
  }

  /* 隱藏捲軸 (Firefox) */
  .faq-subcat-list {
    scrollbar-width: none;
  }
}

/* ===== FAQ 目錄樣式（第三層：目錄） ===== */
.faq-toc {
  max-width: 900px;
  margin: 16px auto 24px;
}

.faq-toc-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-toc-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.faq-toc-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--green);
  cursor: pointer;
}

.faq-toc-link:hover {
  text-decoration: underline;
}

/* ===== 回答區塊 ===== */
.faq-answers {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
}

.faq-answer {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.faq-answer h3,
.faq-answer h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-answer p {
  margin-bottom: 4px;
  color: #555;
}

/* 點目錄後高亮效果 */
.faq-answer.highlight {
  background-color: #fff9d6;
  border-left: 3px solid var(--green);
  padding-left: 12px;
}

/* 手機調整 */
@media (max-width: 767.98px) {
  .faq-page {
    padding: 36px 0 18px;
  }

  .faq-title {
    font-size: 1.6rem;
  }

  .faq-hero-img {
    width: 70%;
  }
}