/* 方案卡：價格放回內容上方，項目不要被絕對定位蓋住或擠在卡片中間 */
.hostplan__card__body.SEO_optimization {
  height: auto;
  justify-content: flex-start;
  padding: 1.4rem 0.85rem 1.6rem;
}

.SEO_optimization .SEO_optimization_cost {
  position: static;
  top: auto;
  left: auto;
  width: auto;
  transform: none;
  line-height: 1.15;
}

.hostplan__card__body.SEO_optimization > div:last-child {
  padding-top: 0.85rem !important;
}

#section2 .hostplan__card,
#section3 .hostplan__card {
  display: flex;
  flex-direction: column;
}

#section2 .hostplan__card__body,
#section3 .hostplan__card__body {
  flex: 1 1 auto;
}

@media (max-width: 991px) {
  .SEO_optimization_padding {
    padding-top: 0;
  }
}

/* 加贈服務：原文包在單一窄欄裡，改成置中並排 */
.gift > .row {
  display: flex;
  justify-content: center;
}

.gift > .row > [class*="col-"] {
  width: 100% !important;
  max-width: 1100px;
  float: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gift > .row > [class*="col-"] > .row {
  display: contents;
}

.gift-item {
  float: none !important;
  width: 200px !important;
  max-width: calc(50% - 12px);
  height: auto;
  min-height: 168px;
  margin: 0;
}

/* 沒有主視覺的內頁，第一段不要被固定選單蓋住 */
main:not(:has(.indexBN)) {
  padding-top: 92px;
}

/* 售後服務：三欄並排，窄螢幕改為全寬置中 */
.marketing_power > .container > .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.marketing_power .col-sm-4 {
  float: none;
  width: 33.333%;
  padding: 0 22px;
  box-sizing: border-box;
}

.marketing_power .aftersale__item__title,
.marketing_power .aftersale__item__p {
  text-align: center;
}

@media (max-width: 767px) {
  .marketing_power .col-sm-4 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .hostplan__card {
    flex: 1 1 100% !important;
  }

  .gift-item {
    width: min(280px, 100%) !important;
    max-width: 100%;
  }
}
