.cross-wrap {
  background: #fff;
}

/* 新戶首刷禮區塊樣式 */
.firstpay-blocks {
  padding: 30px 0;
  width: 100%;
}

.firstpay-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 85px;
}

.firstpay-item {
  width: calc(50% - 10px);
  overflow: hidden;
  position: relative;
}

.firstpay-img {
  width: 100%;
  display: block;
}

.firstpay-btn {
  display: inline-block;
  color: #fff;
  background: #3d69c1;
  text-decoration: none;
  margin-top: 25px;
  padding: 12px 25px;
  border: 1px solid #fff;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 16px;
}

.firstpay-btn img {
  position: relative;
  display: inline-block;
  width: 20px;
  vertical-align: middle;
  margin-left: 15px;
  top: -3px;
}

.firstpay-btn:hover {
  background: #3d5da3;
  transform: translateY(-2px);
}

/* 響應式樣式 */
@media screen and (max-width: 767px) {
  .firstpay-wrap {
    flex-direction: column;
    padding: 0 35px;
  }

  .firstpay-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .firstpay-btn {
    margin-top: 15px;
  }

  .firstpay-btn img {
    position: relative;
    display: inline-block;
    width: 14px;
    top: -2px;
    vertical-align: middle;
    margin-left: 15px;
  }
}

/* 新增 cross-four-swiper 樣式 */
.cross-four-swiper {
  padding: 15px 40px 50px 40px;
  box-sizing: border-box;
}

.cross-four-swiper .swiper-wrapper {
  padding-top: 30px;
}

.cross-four-swiper .swiper-slide {
  height: auto;
  background: #fff;
  border-radius: 25px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  transition: transform 0.5s;
  position: relative;
}

.cross-four-swiper .swiper-slide .fullimg {
  width: 83%;
  margin: 0 auto;
}

.cross-four-swiper .swiper-slide .icon {
  position: absolute;
  top: -18%;
  left: -13%;
  aspect-ratio: 113/125;
  width: 30%;
}
@media screen and (max-width: 767px) {
  .cross-four-swiper .swiper-slide .fullimg {
    width: 83%;
  }
  .cross-four-swiper .swiper-slide .icon {
    top: -13%;
    left: -6.5%;
    width: 25%;
  }
}

.cross-four-swiper .swiper-button-prev {
  left: 0;
}

.cross-four-swiper .swiper-button-next {
  right: 0;
}

/* .cross-four-swiper .swiper-slide:hover {
  transform: translateY(-5px);
} */

.cross-four-swiper .swiper-slide h4 {
  font-size: 18px;
  color: #007ac4;
}

.cross-four-swiper .swiper-slide h4 span {
  color: #5fbb55;
}

.cross-four-swiper .swiper-slide p {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 18px;
  color: #333;
  margin: 5px 0;
  gap: 15px;
}

.cross-four-swiper .swiper-slide p span {
  flex: 1 0 0;
  height: 1px;
  background: #333;
}

.cross-four-swiper .swiper-button-next,
.cross-four-swiper .swiper-button-prev {
  color: #3d69c1;
}

.cross-four-swiper .swiper-pagination {
  width: 100%;
  text-align: center;
  bottom: 10px;
  left: 0;
}

.cross-four-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #fff;
  opacity: 1;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
}

.cross-four-swiper .swiper-pagination-bullet-active {
  background: #3d69c1;
}

@media screen and (max-width: 767px) {
  .cross-four-swiper {
    padding: 15px 15px 35px 15px;
  }

  .cross-four-swiper .swiper-slide h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 30vw;
    font-size: 5vw;
  }

  .cross-four-swiper .swiper-slide p {
    font-size: 5vw;
    gap: 5%;
  }

  .cross-four-swiper .swiper-button-next,
  .cross-four-swiper .swiper-button-prev {
    display: none;
  }
}

/* 禮遇詳情連結區塊 */
.cross-info-links {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 30px auto;
  flex-wrap: wrap;
  max-width: 1100px;
  padding: 0 20px;
}

.cross-info-links .firstpay-btn {
  display: inline-block;
  color: #fff;
  background: #3d69c1;
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid #fff;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 3px;
  transition: background 0.3s, transform 0.3s;
  text-align: center;
  min-width: 280px;
}

.cross-info-links .firstpay-btn:hover {
  background: #3d5da3;
  transform: translateY(-2px);
}

.cross-info-links .firstpay-btn img {
  position: relative;
  display: inline-block;
  width: 20px;
  vertical-align: middle;
  margin-left: 15px;
  top: -2px;
}

/* 響應式調整 */
@media screen and (max-width: 767px) {
  .cross-info-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px auto;
    overflow: hidden;
    padding: 0;
  }

  .cross-info-links .firstpay-btn {
    padding: 10px;
    letter-spacing: 2px;
    font-size: 12px;
  }

  .cross-info-links .firstpay-btn img {
    width: 16px;
    margin-left: 10px;
  }

  .cross-one-block .detail {
    /* 在行動版上可能需要調整位置 */
    top: 60%;
    left: 50%;
  }
}

.float-fix-btn {
  background: #fff;
  box-shadow: none;
  padding: 24px 0 0 0;
  position: unset;
}

/* 標籤圖片切換樣式 */
.float-fix-btn-flex a {
  position: relative;
  display: block;
  width: 50%;
  padding: 0;
  text-decoration: none;
}

.float-fix-btn-flex a .tab-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 預設隱藏所有 active 圖片，顯示 inactive 圖片 */
.float-fix-btn-flex a .tab-img.active {
  display: none;
}

.float-fix-btn-flex a .tab-img.inactive {
  display: block;
}

/* 當連結處於 active 狀態時，顯示 active 圖片，隱藏 inactive 圖片 */
.float-fix-btn-flex a.active .tab-img.active {
  display: block;
}

.float-fix-btn-flex a.active .tab-img.inactive {
  display: none;
}

/* 移除不再需要的樣式 */
.float-fix-btn-flex a p,
.float-fix-btn-flex a span {
  display: none;
}

.float-fix-btn .float-fix-btn-flex {
  gap: 150px;
}

.float-fix-btn .float-fix-btn-flex a {
  width: 25%;
}

@media screen and (max-width: 767px) {
  .float-fix-btn .float-fix-btn-flex {
    gap: 16px;
  }

  .float-fix-btn .float-fix-btn-flex a {
    width: 45%;
  }
}
.cross-wrap .cross-one-block {
  padding: 0;
  position: relative;
}

.cross-one-block-btn {
  display: block;
  color: #fff;
  background: #3d69c1;
  text-decoration: none;
  padding: 12px 18px 12px 28px;
  border: 1px solid #fff;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 16px;
}

.cross-one-block .detail {
  position: absolute;
  top: 73%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 50px;
  z-index: 0;
}

/* section#new-300 {
  padding-top: 50px;
} */

.card-service-text {
  background-color: #7fb5e6;
  color: #000;
  text-align: center;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 40px;
  width: 90%;
  box-sizing: border-box;
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .cross-one-block-btn {
    font-size: 14px;
    letter-spacing: 10px;
    padding: 8px 18px 8px 28px;
  }

  .cross-one-block .detail {
    /* 在行動版上可能需要調整位置 */

    left: 50%;
  }

  .cross-one-block .detail.cht {
    top: 86%;
  }
  .cross-one-block .detail.all-me {
    top: 85%;
  }

  .card-service-text {
    font-size: 24px;
    padding: 8px 15px;
    bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .card-service-text {
    bottom: 0;
  }
}

.part3,
.partWrap {
  padding: 0;
}

.popMain .pop-block .pop-flex article a {
  border-radius: 16px;
}

.popMain .pop-block .pop-flex article {
  width: 90%;
}

.goToPopTitle {
  font-size: 28px;
  font-weight: 400;
  margin-top: 32px;
  color: #1e1e1e;
}

.popMain .pop-block .pop-flex {
  display: flex;
  padding: 0 5% 15px 5%;
  flex-direction: column;
}

.popMain .pop-block .pop-flex article .pop-btn-1,
.popMain .pop-block .pop-flex article .pop-btn-2 {
  background: none;
  padding: 0;
  margin: 0;
}
.popMain .pop-block .pop-flex article .pop-btn-1 img,
.popMain .pop-block .pop-flex article .pop-btn-2 img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .popMain .pop-block .pop-flex > div {
    width: 70%;
  }

  .popMain .pop-block .pop-flex article .pop-btn-1 img.pc,
  .popMain .pop-block .pop-flex article .pop-btn-2 img.pc {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  .goToPopTitle {
    font-size: 20px;
  }
}

/* Add this to your CSS */
@keyframes pulse-zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.fixedBox .goBtn,
.fixedBox_m .goBtn {
  display: inline-block;
  transition: transform 0.3s ease;
  /* Apply the animation */
  animation: pulse-zoom 2s infinite ease-in-out;
}

/* Optional: pause animation on hover for better UX */
.goBtn:hover {
  animation-play-state: paused;
}

.fixedBox.fixed .goBtn {
  margin-top: 10px;
}

#ctbc-qr-click {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 100%;
  z-index: 300;
}

.cross-btn-back-1,
.cross-btn-back-2 {
  height: 36px;
  margin-top: -16px;
  line-height: 36px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.firstpay-btn-wrap {
  width: 85%;
  text-align: left;
  margin: auto;
  font-weight: bold;
  color: #000;
  font-size: 20px;
}
