#sec-notice {
  padding-top: 96px;
  padding-bottom: 120px;
}
#sec-notice .sec-container {
  width: 1080px;
}
@media (min-width: 769px) and (max-width: 1150px) {
  #sec-notice .sec-container {
    width: 90%;
  }
}
@media (max-width: 768px) {
  #sec-notice .sec-container {
    width: 90%;
  }
}
#sec-notice .sec-tit {
  display: flex;
  margin-bottom: 16px;
}
#sec-notice .sec-tit p {
  font-size: 14px;
  margin-left: 5px;
}
#sec-notice ul {
  padding-left: 1.3em;
}
#sec-notice ul li {
  list-style: decimal;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1em;
  text-align: justify;
}
#sec-notice .toggle-wrap {
  position: relative;
}
@media (max-width: 768px) {
  #sec-notice .toggle-wrap {
    height: 300px;
    overflow: hidden;
  }
  #sec-notice .toggle-wrap.-active {
    height: auto;
  }
}
#sec-notice .toggle-btn {
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(100%);
  display: none;
  left: 0;
}
@media (max-width: 768px) {
  #sec-notice .toggle-btn {
    display: block;
  }
}
#sec-notice .toggle-btn .-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background-color: #c0c0c0;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}
#sec-notice .toggle-btn .-btn span {
  display: block;
  width: 50%;
  height: 3px;
  background-color: #fff;
  border-radius: 100px;
}
#sec-notice .toggle-btn .-btn span:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#sec-notice .toggle-btn .-btn span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}
#sec-notice .toggle-btn:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background-color: #c0c0c0;
}
#sec-notice .toggle-btn.-active .-btn span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
}
#sec-notice .twm-content {
  margin-top: 0;
}
.custom_full_table thead td {
  font-weight: normal;
}

.top-promo {
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-bottom: 5rem;
  font-family: "Noto Sans TC", sans-serif;
}
.top-promo h3 {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.7em;
  letter-spacing: 2px;
  background: #0c6fbc;
  background: linear-gradient(
    90deg,
    rgba(12, 111, 188, 1) 20%,
    rgba(123, 178, 227, 1) 80%
  );
  /*background: rgb(255,103,0);
  background: linear-gradient(90deg, rgba(255,143,8,1) 20%, rgba(255,103,0,1) 80%);
  background-color: #007ac4;*/
  border-radius: 16px 16px 0 0;
  padding: 15px 10px;
  line-height: 150%;
  text-align: center;
}

/*.top-promo .txt-primary-orange {
  color: #007ac4 !important;
}*/
.top-promo h4 {
  display: inline;
  font-size: 1.3em;
  line-height: 1.5em;
  font-weight: bold;
}
.top-promo sup {
  font-size: 12px;
}
.num {
  font-size: 72px;
  color: #bdbebd;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  width: 60px;
  text-align: center;
  line-height: 60px;
}
.ex {
  border-radius: 99px;
  border: 1px solid #1b1c1e;
  padding: 10px 5px;
  font-size: 1.4em;
  text-align: center;
  font-weight: bold;
  line-height: 150%;
}
.gift-note {
  border-radius: 12px;
  padding: 2rem;
  background-color: #f8f8f8;
}
.gift-note h5 {
  font-size: 15px;
  color: #1b1c1e;
  margin-bottom: 1rem;
}
.gift-note p {
  font-size: 13px;
  color: #1b1c1e;
  line-height: 150%;
  margin-bottom: 1rem;
}

.catchd-container .banner.full-color {
  width: 100%;
  background: #d3d5dc;
}

/*samsung*/
.samsung-block {
  margin-bottom: 2rem;
}
.samsung-block h3 {
  height: 60px;
  background: rgb(40, 100, 167);
  background: linear-gradient(
    90deg,
    rgba(86, 167, 180, 1) 9%,
    rgba(52, 109, 173, 1) 60%,
    rgba(46, 96, 165, 1) 100%
  );
  background-size: contain;
  color: #ffffff;
  font-size: 21px;
  font-weight: bold;
  line-height: 60px;
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 0;
  border-radius: 16px 16px 0 0;
  letter-spacing: 2px;
}
.samsung-block h4 {
  color: #333;
  margin-left: 10px;
  font-size: 18px;
  display: inline-block;
  margin-bottom: 0;
}
.samsung-content {
  margin: 0;
  border: 2px solid transparent;
  border-image: linear-gradient(
    90deg,
    rgba(86, 167, 180, 1) 9%,
    rgba(52, 109, 173, 1) 60%,
    rgba(46, 96, 165, 1) 100%
  );
  border-image-slice: 1;
  /*border-radius: 0 16px 16px 16px;*/
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.samsung-content img {
  padding: 1rem;
  width: 100%;
}

@media screen and (min-width: 0px) and (max-width: 640px) {
  .samsung-block h3 {
    background-size: contain;
    font-size: 18px;
    padding-left: 15px;
    letter-spacing: 2px;
    display: block;
    text-align: center;
    height: 42px;
    line-height: 42px;
  }
  .samsung-block h4 {
    margin-left: 5px;
    font-size: 13px;
    display: none;
  }
  .samsung-content img {
    padding: 0.5rem;
    width: 100%;
  }
}

/**/
.kv {
  height: 600px;
  background: url(../images/kvbg.jpg) no-repeat top / cover;
}
.kv img {
  text-align: right;
}

.kv h1 {
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}


.bold-underline {
  background: linear-gradient(180deg, transparent 65%, #00e1b1 0);
}

/* ========== 優惠領取流程 ========== */
.promo-section-wrapper {
    --primary-color: #00e1b1;
    --primary-dark: #00c49a;
    --text-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 120px 0; /* 增加上下間距確保壓線圖不被切掉 */
    background-color: #fff;
    width: 100%;
}

.promo-section-wrapper *, 
.promo-section-wrapper *::before, 
.promo-section-wrapper *::after {
    box-sizing: border-box;
}

.promo-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    border: 5px solid var(--primary-color);
    border-radius: 50px;
    padding: 40px 20px 80px 20px;
    text-align: center;
    background-color: #fff;
}

.steps-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.image-box {
    width: 150px;
    height: 150px;
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff; 
    margin-top: -115px; /* 上方壓線 */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.step-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: bold;
}

.step-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.more-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.dot-line {
    flex-grow: 1;
    height: 0;
    border-top: 4px dotted var(--primary-color);
    margin-top: 105px;
    max-width: 120px;
    opacity: 0.6;
}

/* --- <a> 標籤按鈕樣式修正 --- */
.cta-button {
    position: absolute;
    bottom: -30px; /* 下方壓線 */
    left: 50%;
    transform: translateX(-50%);
    
    /* 連結轉按鈕的核心設定 */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* 移除超連結底線 */
    
    background-color: var(--primary-color);
    color: white;
    padding: 12px 60px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 225, 177, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap; /* 確保文字不換行 */
}

.cta-button:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 225, 177, 0.5);
    transform: translateX(-50%) translateY(-5px); /* Hover 浮起 */
    color: white; /* 確保 hover 時文字顏色不變 */
}

/* 響應式佈局：手機版修正 */
@media (max-width: 768px) {
    .promo-container {
        border-radius: 30px;
        padding-top: 60px;
        width: 92%;
        padding-bottom: 30px;
    }

    .steps-wrapper {
        flex-direction: column;
        align-items: center;
    }

    /* --- 修正重點開始 --- */
    .step-item {
        width: 100%;
        /* 關鍵修正：大幅增加底部邊距 */
        /* 原本是 60px，現在改為 185px */
        /* 計算邏輯：原本想要的間隔(約60px) + 圖片向上拉的距離(125px) = 185px */
        margin-bottom: 185px;
    }

    /* 最後一個步驟不需要那麼大的底部邊距 */
    .step-item:last-child {
        margin-bottom: 40px;
    }
    /* --- 修正重點結束 --- */

    .image-box {
        width: 130px;
        height: 130px;
        /* 保持圖片向上拉，壓在邊框上的效果 */
        margin-top: -125px;
    }

    .dot-line {
        display: none;
    }

    .cta-button {
        width: 80%;
        padding: 12px 0;
    }
}
