/* ==========================================================================
   AFTEE Landing Page - Optimized CSS
   ========================================================================== */

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

a {
  text-decoration: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  color: #333333;
}

main {
  background-color: #5ac0b1;
  width: 100%;
  position: relative;
  transition: padding-top 0.3s ease;
}

/* ==========================================================================
			 UI COMPONENTS
			 ========================================================================== */

.back-to-top-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px;
  height: 80px;
  width: 80px;
  box-shadow: 0px 0px 40px 0px #68a66f4d;
  font-size: 16px;
  line-height: 24px;
  border: 2px solid #ffffff;
  background: linear-gradient(to bottom, #ffffff, #d5f4f1);
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  text-wrap: nowrap;
  color: #016053;
  font-weight: 700;
  border-radius: 20px;
}
.back-to-top-btn.show {
  display: flex;
}
.back-to-top-btn:hover {
  cursor: pointer;
  transition: all 0.1s ease;
  background: linear-gradient(to bottom, #ffffff, #adf8e0);
}
.coupon-copied_flash {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background-color: #ffffff;
  box-shadow: 0px 0px 30px 0px #00000040;
  border-radius: 100px;
  height: 48px;
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-weight: 600;
  width: calc(100% - 24px);
  max-width: 500px;
  padding: 12px;
}
.coupon-copied_flash-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
nav {
  display: flex;
  flex-direction: row;
  padding: 0px 80px;
  height: 56px;
  width: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    linear-gradient(0deg, #8cf3ff, #8cf3ff);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-item {
  flex: 1;
  box-shadow: inset 0 -3px 0 0 transparent;
  transition:
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}
.nav-item img {
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover {
    background: linear-gradient(to bottom, #fcfc821a, #fcfc82ff);
  }
}

.coupon-event-title-description {
  background-image: url('./img/Title/Content1_L.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 536px;
  height: 144px;
  margin-bottom: 24px;
}
.featured-campaign-title-description {
  background-image: url('./img/Title/Content2_L.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 480px;
  height: 72px;
  margin-bottom: 40px;
}
.brand-campaign-title-description {
  background-image: url('./img/Title/Content3_L.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 72px;
  width: 288px;
}
.platform-title-description {
  background-image: url('./img/Title/Content4_L.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 72px;
  width: 288px;
}
.brand-campaign-title,
.platform-title {
  margin-bottom: 40px;
}
.ctbc-payment-card .payment-title-description {
  background-image: url('./img/Title/payment/CTBC/Content_CTBC_L.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 539px;
  height: 144px;
}
.ipass-payment-card .payment-title-description {
  background-image: url('./img/Title/payment/IPASS/Content_IPASS_L.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 515px;
  height: 144px;
}

.payment-campaign-description {
  width: 607px;
}
.brand-campaign-title-text,
.platform-title-text,
.payment-binding-title-text,
.coupon-event-title-text,
.featured-campaign-title-text {
  background-size: cover;
  background-position: center;
  width: 161px;
  height: 80px;
}
.coupon-event-title-text {
  background-image: url('./img/tags/Tag_1_L.svg');
  margin-bottom: 16px;
}
.featured-campaign-title-text {
  background-image: url('./img/tags/Tag_2_L.svg');
  margin-bottom: 16px;
}
.brand-campaign-title-text {
  background-image: url('./img/tags/Tag_3_L.svg');
  margin-bottom: 20px;
}
.platform-title-text {
  background-image: url('./img/tags/Tag_4_L.svg');
  margin-bottom: 20px;
}
.payment-binding-title-text {
  background-image: url('./img/tags/Tag_5_L.svg');
  margin-bottom: 40px;
}
.coupon-event-campaign-description {
  width: 560px;
  height: 30px;
  margin-bottom: 40px;
}
.brand-campaign-title-text span,
.platform-title-text span,
.payment-binding-title-text span {
  font-size: 30px;
  font-weight: 700;
  line-height: 45px;
}
.main-item.brand-campaign,
.main-item.platform,
.main-item.payment-binding,
.main-item.featured-campaign,
.main-item.coupon-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.main-item.platform {
  background-color: #8cf3ff;
  padding-bottom: 75px;
}
.main-item.payment-binding {
  background: linear-gradient(to bottom, #38b3f9, #4c8fe3);
  padding-bottom: 80px;
}
.main-item.featured-campaign {
  background: linear-gradient(to bottom, #fffc80, #8cf3ff);
  padding: 75px 116px;
}
.main-item.brand-campaign {
  background-color: #8cf3ff;
  padding-top: 75px;
}
.featured-campaign-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1208px;
  width: 100%;
  background: linear-gradient(to bottom, #5ac0b1, #2e8c7e);
  border-radius: 40px;
  padding: 40px 0px 40px 0px;
}
.featured-campaign-item-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.featured-campaign-item-nav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 10px;
  opacity: 0.5;
  background: linear-gradient(to bottom, #fffed0, #f6f38f);
  padding: 10px 20px;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 450px;
}

.featured-campaign-item-nav-tab img {
  width: 107px;
  height: 40px;
}

.featured-campaign-item-nav-tab .shop-logo {
  display: flex;
  width: 107px;
  height: 40px;
  padding: 4px 11.5px 5px 11.5px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  aspect-ratio: 107/40;
  background-color: white;
  border-radius: 10px;

  @media screen and (max-width: 767.99px) {
    width: 80px;
    height: 30px;
  }

  .samsung-finance-plus {
    aspect-ratio: 914/453;
    width: 100%;
    height: auto;
  }
}

.featured-campaign-item-nav-tab.active {
  opacity: 1;
}
.featured-campaign-item-nav-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(to right, #329183, #32918399);
  transition: none;
}
.featured-campaign-item-nav-tab.active::after {
  animation: var(--progress-animation, progress 6s linear);
}

@keyframes progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.featured-campaign-item-nav-tab-discount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.featured-campaign-item-nav-tab-discount > span {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #016053;
}
.featured-campaign-item-nav-tab-discount .discount-amount {
  color: #e04685;
}

.featured-campaign-item-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding-right: 23px;
  padding-left: 23px;
}
.featured-campaign-item-wrapper .left-arrow,
.featured-campaign-item-wrapper .right-arrow {
  cursor: pointer;
  border-radius: 100%;
}
.featured-campaign-item-wrapper .left-arrow:hover,
.featured-campaign-item-wrapper .left-arrow:active,
.featured-campaign-item-wrapper .right-arrow:hover,
.featured-campaign-item-wrapper .right-arrow:active {
  background-color: #00000033;
}
.featured-campaign-item-content {
  flex-grow: 1;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
}
.brand-campaign-items,
.platform-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 70px 40px;
  box-sizing: border-box;
  letter-spacing: 0.03em;
  max-width: 1208px;
}
.featured-campaign-card {
  letter-spacing: 0.03em;
}
.platform-items {
  margin-bottom: 31px;
}
.brand-campaign-item,
.platform-item {
  max-width: 584px;
}
.brand-campaign-items {
  margin-bottom: 70px;
}
.brand-campaign-item,
.platform-item {
  display: flex;
  flex-direction: column;
  max-width: 584px;
  min-height: 284px;
  border-radius: 20px;
  background-color: #ffffff;
  padding: 0 24px 30px;
  position: relative;
  box-shadow: 0px 0px 20px 0px #01605333;
}
.brand-campaign-item:hover,
.brand-campaign-item:active,
.platform-item:hover,
.platform-item:active {
  box-shadow: inset 0px 0px 0px 2px #5ac0b1;
  transition: all 0.2s ease;
}
.coupon-event-campaign-cards {
  margin-bottom: 40px;
  justify-content: center;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
}
.coupon-event-campaign-card {
  width: 376px;
  height: 248px;
  touch-action: manipulation;
  cursor: pointer;
}
.coupon-event-campaign-card:nth-child(1) {
  background: url('./img/campaigns/CouponEvent50_L.png') no-repeat center center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(2) {
  background: url('./img/campaigns/CouponEvent200_L.png') no-repeat center
    center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(3) {
  background: url('./img/campaigns/CouponEvent300_L.png') no-repeat center
    center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(4) {
  background: url('./img/campaigns/CouponEvent450_L.png') no-repeat center
    center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(1):hover,
.coupon-event-campaign-card:nth-child(1):active {
  background: url('./img/campaigns/CouponEvent50_L_Pressed.png') no-repeat
    center center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(2):hover,
.coupon-event-campaign-card:nth-child(2):active {
  background: url('./img/campaigns/CouponEvent200_L_Pressed.png') no-repeat
    center center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(3):hover,
.coupon-event-campaign-card:nth-child(3):active {
  background: url('./img/campaigns/CouponEvent300_L_Pressed.png') no-repeat
    center center;
  background-size: contain;
}
.coupon-event-campaign-card:nth-child(4):hover,
.coupon-event-campaign-card:nth-child(4):active {
  background: url('./img/campaigns/CouponEvent450_L_Pressed.png') no-repeat
    center center;
  background-size: contain;
}
.featured-campaign-card {
  display: flex;
  flex-direction: column;
  width: 1002px;
  height: 428px !important;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px 0px #01605333;
  padding: 0 40px 40px;
  position: relative;
}
.featured-campaign-card:hover,
.featured-campaign-card:active {
  box-shadow: inset 0px 0px 0px 3px #fdf952;
}
.platform-title,
.brand-campaign-title,
.payment-binding-title,
.featured-campaign-title,
.coupon-event-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.payment-binding-title {
  margin-top: 80px;
  width: 100%;
  max-width: 1208px;
}
/* .platform-title, .brand-campaign-title, .coupon-event-title {
			margin-top: 40px;
		} */
.brand-campaign-item-title,
.platform-item-title,
.featured-campaign-card-title {
  display: flex;
  margin-bottom: 20px;
  width: 140px;
}
.featured-campaign-card-title {
  margin-bottom: 48px;
  width: 200px;
}
.brand-campaign-item-brand,
.platform-item-brand,
.featured-campaign-card-brand {
  display: flex;
  align-items: center;
  position: relative;
  gap: 20px;
  height: 100%;
}
.brand-campaign-item-brand-icon img,
.platform-item-brand-icon img,
.featured-campaign-card-brand-icon img {
  margin-bottom: 10px;
  object-fit: cover;
  object-position: center;
}
.brand-campaign-item-brand-icon img,
.platform-item-brand-icon img {
  /* border-radius: 10px; */
  width: 140px;
  height: 140px;
}
.featured-campaign-card-brand-icon img {
  width: 200px;
  height: 200px;
}
.brand-campaign-item-brand,
.platform-item-brand,
.featured-campaign-card-brand {
  align-items: stretch;
  z-index: 2;
  position: relative;
}
.brand-campaign-item-brand-info,
.platform-item-brand-info,
.featured-campaign-card-brand-info {
  width: 100%;
}
.brand-campaign-item-brand-discounts,
.platform-item-brand-discounts,
.featured-campaign-card-brand-discounts {
  cursor: default;
  position: relative;
  z-index: 3;
  flex: 1;
  height: 100%;
  margin-bottom: 1rem;
}
.brand-campaign-item-title-date,
.platform-item-title-date {
  height: 32px;
  line-height: 32px;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  width: 140px;
  color: #ffffff;
  background: linear-gradient(to bottom, #2e8c7e, #137265);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.featured-campaign-card-title-date {
  height: 32px;
  width: 131px;
  border-radius: 0 0 10px 10px;
  padding: 6px 16px;
  font-size: 16px;
  color: #ffffff;
  background: #e04685;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.48px;
}
.featured-campaign-card-image {
  width: 220px;
  height: 165px;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 0 20px 0 0;
}
.brand-campaign-item-brand-discounts,
.platform-item-brand-discounts,
.featured-campaign-card-brand-discounts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand-campaign-item-brand-discount,
.platform-item-brand-discount,
.featured-campaign-card-brand-discount {
  display: flex;
  align-items: start;
  gap: 8px;
}
.brand-campaign-item-brand-info,
.platform-item-brand-info,
.featured-campaign-card-brand-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #333333;
  flex-shrink: 1;
}
.featured-campaign-card-brand-info {
  padding-bottom: 80px;
}
.brand-campaign-item-brand-info,
.platform-item-brand-info {
  align-self: flex-start;
}
.brand-campaign-item-brand-name,
.platform-item-brand-name {
  font-weight: 700;
  font-size: 28px;
  line-height: 42px;
}
.platform-item-brand-discount-text p,
.brand-campaign-item-brand-discount-text p {
  font-weight: 600;
}
.platform-item-brand-discount-text .discount-code {
  margin-bottom: 10px;
}
.platform-item-brand-discount-text .discount-code:last-child {
  margin-bottom: 0;
}
.featured-campaign-card-brand-name {
  font-weight: 700;
  font-size: 34px;
  line-height: 51px;
  color: #e04685;
}
.brand-campaign-item-brand-name-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.new-user-discount {
  display: flex;
}
.double11-discount {
  color: #e04685;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
}
.featured-campaign-card-brand-discount-text {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
}
.featured-campaign-card-brand-discount-text .copy-block {
  margin-top: 0px;
}
.user-discount-wrapper {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
}

.user-discount-wrapper {
  gap: 0px;
}
.brand-campaign-item-brand-discount-text {
  gap: 0px;
}
.brand-campaign-item-brand-discount-text,
.user-discount-wrapper,
.platform-item-brand-discount {
  font-size: 18px;
  line-height: 27px;
}
.brand-campaign-item-brand-discount-text.brand-discount {
  font-weight: 700;
}
.brand-campaign-item-brand-discount-text.aftee-discount {
  font-weight: 600;
}
.featured-campaign-card-brand-discount-text {
  font-size: 22px;
  line-height: 150%;
}
.new-user-discount-title {
  flex-shrink: 0;
}
.brand-campaign-item-brand-discount-text .discount-detail,
.platform-item-brand-discount-text .discount-detail,
.featured-campaign-card-brand-discount-text .discount-detail,
.double11-discount .discount-detail {
  font-weight: 400;
}
.brand-campaign-item-brand-icon,
.platform-item-brand-icon,
.featured-campaign-card-brand-icon {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
}
.brand-campaign-item-brand-icon,
.platform-item-brand-icon {
  width: 140px;
}
.featured-campaign-card-brand-icon {
  width: 200px;
}
.brand-campaign-item-brand-category,
.platform-item-brand-category,
.featured-campaign-card-brand-category {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  background-color: #ededed;
  padding: 4px 10px;
  border-radius: 10px;
  color: #329183;
  text-align: center;
}
.discount-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.discount-code-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #757575;
}
.copy-block {
  display: flex;
  border: solid 2px #a2ead3;
  height: 40px;
  background-color: #e6fbf4;
  color: #2e8c7e;
  gap: 11px;
  border-radius: 20px;
  align-items: center;
  padding: 0 9px 0 11px;
  font-size: 14px;
  line-height: 40px;
  cursor: pointer;
  font-weight: 600;
}
.copy-block:hover {
  background-color: #c8e4db;
  border-color: #a2d8c7;
}
.brand-campaign-item-brand-discount .copy-block img {
  width: 20px;
  height: 20px;
}
.close-btn {
  padding: 12px;
  cursor: pointer;
}
.go-to-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fefc5a;
  font-size: 24px;
  line-height: 60px;
  font-weight: 700;
  letter-spacing: 0.03em;
  width: 180px;
  height: 60px;
  background-color: #016053;
  border-radius: 100px;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: calc(100% - 30px);
  right: 24px;
}
.brand-campaign-item:hover:not(:has(.copy-block:hover)) .go-to-shop-btn,
.brand-campaign-item:active .go-to-shop-btn,
.go-to-shop-btn:hover,
.go-to-shop-btn:active,
.platform-item:hover .go-to-shop-btn,
.platform-item:active .go-to-shop-btn {
  background-color: #014d42;
  transition: all 0.2s ease;
}
.featured-campaign-card-go-to-shop-btn {
  width: 180px;
  height: 60px;
  background-color: #e04685;
  color: #fefc5a;
  border-radius: 100px;
  font-size: 24px;
  line-height: 36px;
  padding: 12px 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: absolute;
  right: 40px;
  bottom: 40px;
  text-align: center;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.payment-action-btn {
  height: 60px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.main-item.coupon-event {
  display: flex;
  background: linear-gradient(to bottom, #8cf3ff 0%, #38b3f9 100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.coupon-event-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.payment-buttons,
.coupon-event-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}
.coupon-event-buttons > a,
.payment-buttons > a,
.payment-action-btn,
.go-to-draw-winner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 24px;
  line-height: 60px;
  font-weight: 700;
  padding: 12px 24px;
  letter-spacing: 0.03em;
  border-radius: 30px;
}
.payment-action-btn:hover,
.payment-action-btn:active,
.go-to-draw-winner-btn:hover,
.go-to-draw-winner-btn:active {
  background-color: #014d42;
  transition: all 0.2s ease;
}
.coupon-event-buttons > .more-details-btn,
.payment-binding > .more-details-btn {
  border: 2px solid #ffffff;
  color: #ffffff;
}
.payment-buttons > .more-details-btn {
  background-color: #ffffff;
  color: #016053;
  height: 60px;
  border-radius: 100px;
}

.payment-buttons > a {
  background-color: #016053;
  color: #ffffff;
  height: 60px;
  border-radius: 100px;
}

.payment-buttons > .more-details-btn:hover,
.payment-buttons > .more-details-btn:active,
.coupon-event-buttons > .more-details-btn:hover,
.coupon-event-buttons > .more-details-btn:active,
.payment-binding > .more-details-btn:hover,
.payment-binding > .more-details-btn:active {
  background-color: #8cf3ff;
  transition: all 0.2s ease;
}
.payment-action-btn,
.go-to-draw-winner-btn {
  background-color: #ffffff;
  color: #016053;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 24px;
  line-height: 60px;
  font-weight: 700;
  padding: 12px 24px;
  letter-spacing: 0.03em;
  border-radius: 30px;
}
.brand-campaign-item-brand-discount img,
.platform-item-brand-discount img {
  width: 24px;
  height: 24px;
}
.featured-campaign-card-brand-discount img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}
.featured-campaign-card-brand-discount .copy-block img {
  width: 20px;
  height: 20px;
  margin-right: 0;
}
p.payment-campaign-description {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  color: #016053;
  background-color: #8cf3ff;
  text-align: center;
}
.ctbc-payment-card p.payment-campaign-description {
  width: 100%;
}
.ipass-payment-card p.payment-campaign-description {
  width: 458px;
}
.payment-card {
  display: flex;
  border-radius: 40px;
  border: 4px solid #63d0fb;
  background-color: #63d0fb;
  width: 1208px;
}
.payment-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-grow: 1;
  padding: 52px;
}
.ctbc-campaign-tag {
  width: 403px;
  height: 52px;
}
.ipass-campaign-tag {
  width: 486px;
}
.payment-guide {
  background: #329183;
  border-radius: 0 40px 40px 0;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 480px;
}
.payment-guide h3 {
  font-size: 24px;
  line-height: 44px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  width: 315px;
  margin-bottom: 15px;
}
.payment-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.device-simulation {
  position: relative;
  width: 345px;
  height: 713px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-simulation-iPhone {
  position: absolute;
  z-index: 5;
  width: 345px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
  border-radius: 50px;
}
.device-simulation video {
  width: 315px;
  height: 683px;
  object-fit: cover;
  border-radius: 50px;
}
.ipass-payment-card .payment-guide {
  background: url('./img/Title/payment/IPASS/IPASS_payment_guide.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 851px;
}

footer {
  padding: 80px 0;
  background-color: #1c5be1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  color: #ffffff;
}
.footer-links {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  display: flex;
  justify-content: space-between;
  gap: 80px;
  color: #ffffff;
}
.footer-copyright {
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: #ffffff;
}
/* 只在桌面端（非觸控設備）顯示 hover 效果 */
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover {
    box-shadow: inset 0 -3px 0 0 #016053;
    background: linear-gradient(to bottom, #fcfc821a, #fcfc82ff);
  }
}

/* JavaScript 控制的 active 狀態 - 支援平滑淡出 */
.nav-item.active {
  box-shadow: inset 0 -3px 0 0 #016053;
  background: linear-gradient(to bottom, #fcfc821a, #fcfc82ff);
}

/* 點擊時的 active 狀態（保持短暫顯示） */
.nav-item:active {
  box-shadow: inset 0 -3px 0 0 #016053;
  background: linear-gradient(to bottom, #fcfc821a, #fcfc82ff);
}
.header-container {
  background: url('./img/backgrounds/Keyvisual_bg_L.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 1440 / 677;
}

/* Grid 對齊樣式：應用於 new-user-discount */
.new-user-discount {
  display: grid;
  /* 兩欄：第一欄 (標籤) 自動寬度，第二欄 (內容) 佔滿剩餘空間 */
  grid-template-columns: auto 1fr;
  gap: 5px; /* 標籤與內容之間的間距 */
  align-items: start; /* 確保頂部對齊 */
}

/* 標籤欄：AFTEE 新戶 */
.new-user-discount-title {
  grid-column: 1; /* 確保在第一欄 */
  white-space: nowrap; /* 保持標籤文字在一行 */
  margin: 0; /* 移除預設邊距 */
}

/* 優惠細節欄 */
.new-user-discount .brand-campaign-item-brand-discount-text {
  grid-column: 2; /* 確保在第二欄 */
  margin: 0; /* 移除預設邊距 */
}

/* 調整優惠細節內部的段落間距 */
.new-user-discount .brand-campaign-item-brand-discount-text p {
  margin: 0; /* 調整行間距 */
  line-height: 1.5;
}

/* 處理 user-discount-wrapper 內的 flex 佈局 */
.user-discount-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* 確保在 user-discount-wrapper 內的 new-user-discount 也能正確對齊 */
.user-discount-wrapper .new-user-discount {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px;
  align-items: start;
}

/* Featured Campaign Card 的 Grid 對齊樣式 */
.featured-campaign-card-brand-discount-text .aftee-user-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  /* gap: 5px; */
  align-items: start;
}

.featured-campaign-card-brand-discount-text .aftee-user-label {
  grid-column: 1;
  white-space: nowrap;
  font-weight: 600;
}

.featured-campaign-card-brand-discount-text .aftee-user-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 767.99px) {
  .copy-block:hover {
    background-color: #c8e4db;
    border-color: #a2d8c7;
  }
}

/* 桌機版 ( 1280px <= 寬度 ) */

@media screen and (min-width: 1280px) {
  .hide-on-desktop {
    display: none;
  }
}

/* 平板版 (768px <= 寬度 < 1280px) */
@media screen and (min-width: 767.99px) and (max-width: 1279.99px) {
  .main-item.coupon-event {
    padding: 80px;
  }
  .coupon-event-title {
    margin-top: 0px;
  }
  .payment-binding-title {
    margin-top: 80px;
    margin-bottom: 0px;
  }
  .brand-campaign-title-description,
  .platform-title-description {
    width: 296px;
  }

  .brand-campaign-title,
  .platform-title {
    margin-bottom: 40px;
  }
  .brand-campaign-items {
    margin-bottom: 111px;
  }
  .platform-title {
    margin-top: 80px;
  }
  .brand-campaign-items,
  .platform-items {
    grid-template-columns: repeat(1, 1fr);
  }
  .coupon-event-campaign-cards {
    margin-bottom: 40px;
    justify-content: center;
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: center;
  }
  .coupon-event-campaign-card {
    display: block;
    width: 376px;
    height: 220px;
    max-width: 376px;
  }
  .coupon-event-campaign-cards > img {
    width: 100%;
    height: 100%;
    margin: 0px;
    border-radius: 20px;
  }
  .brand-campaign-item,
  .platform-item {
    margin-right: auto;
    margin-left: auto;
    min-width: 584px;
  }
  .payment-guide {
    width: 100%;
    border-radius: 0;
  }
  footer {
    padding: 40px 0;
    gap: 24px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 21px;
    line-height: 31px;
  }
  .featured-campaign-card-image {
    display: none;
  }
  .featured-campaign-card-title {
    margin-bottom: 20px;
  }
  .featured-campaign-card-brand-icon img {
    width: 140px;
    height: 140px;
  }
  .featured-campaign-card-brand-icon {
    width: 140px;
  }
  .featured-campaign-card-title {
    width: 140px;
  }
  .featured-campaign-card {
    padding: 0 24px 24px;
    height: 428px;
  }
  .featured-campaign-card-go-to-shop-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
  }

  .featured-campaign-card-brand-discount-text .discount-code {
    flex-direction: column;
    align-items: start;
  }

  .featured-campaign-card-brand-info {
    flex-grow: 1;
    padding-bottom: 84px;
  }
  .featured-campaign-card {
    width: 584px;
    height: 476px !important;
  }
  .featured-campaign-card-brand-name {
    font-size: 28px;
    line-height: 42px;
  }
  .featured-campaign-card-brand-discount img {
    width: 26px;
    height: 26px;
  }
  .featured-campaign-card-brand-discount-text {
    font-size: 18px;
    line-height: 27px;
  }
  .featured-campaign-items {
    width: 820px;
    padding: 24px 0px;
  }

  .featured-campaign-card-brand-discount-text .discount-code {
    flex-direction: column;
    align-items: start;
  }

  .featured-campaign-item-wrapper {
    flex-direction: column;
    padding-right: 118px;
    padding-left: 118px;
  }
  .featured-campaign-item-wrapper-arrows {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  .main-item.featured-campaign {
    padding-bottom: 80px;
  }
  .featured-campaign-items {
    overflow: hidden;
  }
  .featured-campaign-item-nav {
    overflow: hidden;
  }
  .payment-card {
    flex-direction: column;
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
    border-radius: 20px;
    border: 2px solid #63d0fb;
  }

  .ctbc-payment-card p.payment-campaign-description {
    min-width: 623px;
  }
  .payment-card-content {
    padding: 40px;
  }
  .ipass-payment-card .payment-guide {
    height: 851px;
    background-color: #94e3c1;
    background-size: contain;
    background-position: center;
  }
  .payment-guide {
    border-radius: 0 0 20px 20px;
  }

  .hide-on-tablet {
    display: none;
  }

  .copy-block:hover {
    background-color: #c8e4db;
    border-color: #a2d8c7;
  }
}

/* 手機版 (寬度 < 768px) */
@media screen and (max-width: 767.99px) {
  * {
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
  }
  header {
    width: 100%;
  }
  header img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  main {
    width: 100%;
  }
  .header-container {
    background-image: url('./img/backgrounds/Keyvisual_bg_S.png');
    aspect-ratio: 375 / 501;
  }
  nav {
    flex-direction: row;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    &::-webkit-scrollbar {
      display: none;
    }
  }
  nav img {
    width: auto;
    min-width: 100px;
    max-width: 140px;
    height: 56px;
    object-fit: contain;
  }
  .nav-item {
    box-shadow: none;
    height: 56px;
    padding: 0;
    flex-shrink: 0;
    display: inline-block;
    width: auto;
  }
  .back-to-top-btn {
    padding: 10px;
    height: 60px;
    width: 60px;
    font-size: 10px;
    line-height: 15px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #ffffff, #d5f4f1);
  }
  .back-to-top-btn img {
    width: 21px;
    height: 24px;
  }
  .platform-title-description,
  .brand-campaign-title-description {
    width: 175px;
    height: 42px;
    background-size: contain;
    background-position: center;
  }
  .platform-title-description {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .payment-title-description {
    width: 100%;
    aspect-ratio: 366 / 84;
    background-image: url('./img/Title/Content3_S.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    margin-bottom: 0px;
  }
  .coupon-event-title-description {
    width: 343px;
    height: 84px;
    margin-bottom: 8px;
    background: url('./img/Title/Content1_S.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .coupon-event-campaign-cards {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
  }
  .coupon-event-campaign-card {
    width: 343px;
    height: 175px;
    max-width: 376px;
    border-radius: 10px;
    touch-action: manipulation;
    cursor: pointer;
  }
  .coupon-event-campaign-cards > img {
    width: 100%;
    height: 100%;
    margin: 0px;
    border-radius: 20px;
  }
  .featured-campaign-title-description {
    width: 338px;
    height: 42px;
    background: url('./img/Title/Content2_S.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 24px;
  }
  .platform-items {
    grid-template-columns: repeat(1, 1fr);
  }
  .brand-campaign-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 49px;
    margin-top: 24px;
  }
  .platform-title,
  .brand-campaign-title {
    margin-top: 24px;
  }
  .brand-campaign-items {
    grid-template-columns: repeat(1, 1fr);
  }
  .brand-campaign-item {
    min-height: auto;
    width: 100%;
    max-width: 351px;
    margin: 0 auto;
  }
  .brand-campaign-item-title {
    font-size: 14px;
    line-height: 21px;
  }
  .platform-item-brand-discount img,
  .brand-campaign-item-brand-discount img {
    width: 20px;
    height: 20px;
    margin-right: 4px;
  }
  .brand-campaign-item-brand-discounts {
    gap: 8px;
  }
  .brand-campaign-item-brand-discount .copy-block img {
    width: 16px;
    height: 16px;
    margin-right: 9px;
  }
  .copy-block {
    gap: 11px;
  }
  .brand-campaign-item-title,
  .platform-item-title {
    margin-bottom: 12px;
  }
  .platform-item-brand,
  .brand-campaign-item-brand {
    gap: 10px;
  }
  .brand-campaign-item-brand-name {
    font-size: 20px;
    line-height: 30px;
  }
  .brand-campaign-item-brand-discount-text,
  .new-user-discount-title,
  .platform-item-brand-discount-text {
    font-size: 14px;
    line-height: 21px;
  }
  .brand-campaign-item-brand-discount-text p:last-child {
    margin-bottom: 0;
  }
  .platform-item-brand-discounts {
    margin-bottom: 15px;
  }
  .brand-campaign-item,
  .platform-item {
    margin-bottom: 27px;
    border-radius: 10px;
  }
  .user-discount-wrapper {
    gap: 4px;
  }
  .go-to-shop-btn {
    width: 160px;
    height: 54px;
    top: calc(100% - 25px);
    border-radius: 100px;
    font-size: 20px;
    line-height: 30px;
    right: 16px;
  }
  .go-to-shop-btn img {
    width: 22px;
    height: 22px;
  }
  .coupon-event-campaign-cards {
    flex-direction: column;
    align-items: center;
  }
  .brand-campaign-item-brand-discount img .platform-item-brand-discount img {
    margin-right: 4px;
  }
  .brand-campaign-item-brand-info,
  .platform-item-brand-info {
    gap: 8px;
  }
  .discount-code {
    gap: 4px;
  }
  .brand-campaign-item-brand-discount-text {
    gap: 0;
  }
  .brand-campaign-item-brand-category {
    padding: 2px 8px;
    font-size: 14px;
    line-height: 21px;
    border-radius: 4px;
  }
  .brand-campaign-item-brand-discount-text,
  .user-discount-wrapper {
    font-weight: 600;
  }
  .double11-discount {
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
  }

  .payment-guide {
    width: 100%;
    border-radius: 0;
  }
  .brand-campaign-item {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-campaign-item-brand {
    align-items: start;
    justify-self: stretch;
    align-self: stretch;
  }
  .brand-campaign-item-brand-icon {
    width: 100px;
  }
  .brand-campaign-item-brand-icon,
  .platform-item-brand-icon {
    width: 100px;
  }
  .brand-campaign-item-brand-icon img,
  .platform-item-brand-icon img {
    width: 100px;
    height: 100px;
    border-radius: 0;
  }
  .platform-items {
    gap: 49px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .platform-item {
    width: 100%;
    max-width: 351px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 27px;
  }
  .brand-campaign-item-title div,
  .platform-item-title div {
    width: 100px;
    font-size: 14px;
    line-height: 17px;
    padding: initial;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .brand-campaign-item-brand-name,
  .platform-item-brand-name {
    white-space: normal;
    word-break: break-word;
    line-break: loose;
    font-size: 20px;
    line-height: 30px;
  }
  .brand-campaign-title-text,
  .platform-title-text,
  .payment-binding-title-text {
    height: 45px;
    width: 180px;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 8px;
  }
  .brand-campaign-title-text,
  .platform-title-text,
  .coupon-event-title-text,
  .featured-campaign-title-text {
    width: 111px;
    height: 56px;
  }
  .payment-binding-title-text {
    width: 111px;
    height: 56px;
    margin-bottom: 24px;
  }
  .payment-card-content {
    padding: 24px 18px;
    gap: 12px;
  }
  .ctbc-campaign-tag {
    width: 265px;
    height: 36px;
  }
  .ctbc-payment-card .payment-title-description {
    width: 316px;
    height: 84px;
  }
  .ctbc-payment-card p.payment-campaign-description,
  .ipass-payment-card p.payment-campaign-description {
    width: auto;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    font-weight: 700;
    padding: 2px 4px;
  }
  .ipass-payment-card .payment-title-description {
    background-image: url(./img/Title/payment/IPASS/Content_IPASS_S.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 302px;
    height: 84px;
  }
  .featured-campaign-title-text {
    margin-top: 32px;
    margin-bottom: 8px;
  }
  .payment-binding-title {
    margin-top: 32px;
  }
  .brand-campaign-title-text span,
  .platform-title-text span,
  .payment-binding-title-text span {
    font-size: 20px;
    line-height: 30px;
  }
  .payment-binding > a {
    font-weight: 700;
    text-align: center;
    line-height: 50px;
  }
  .payment-action-btn span,
  .payment-binding > .more-details-btn {
    font-size: 20px;
    line-height: 30px;
  }
  .payment-binding > .more-details-btn {
    width: calc(100% - 22px);
    height: 50px;
    margin-bottom: 32px;
    border-radius: 27px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .payment-guide {
    padding-top: 24px;
    margin-bottom: 40px;
  }
  .main-item.payment-binding {
    padding-bottom: 0;
  }
  .main-item.coupon-event {
    padding: 32px 16px 24px;
  }
  .coupon-event-title {
    margin-top: 0;
  }
  .coupon-event-campaign-description {
    width: 343px;
    height: 62px;
    margin-bottom: 24px;
  }
  /* .payment-campaign-description {
				width: calc(100% - 29px);
				height: 48px;
				margin-bottom: 9px;
			} */
  .payment-guide h3 {
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 30px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .payment-guide {
    width: 100%;
    border-radius: 0px;
    background-image: none;
  }
  footer {
    padding: 40px 0;
    gap: 24px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 21px;
    line-height: 31px;
  }
  .brand-campaign-item-title-date,
  .platform-item-title-date {
    height: 29px;
    line-height: 29px;
    padding: 0 10px;
  }
  .device-simulation {
    width: min(332px, 80vw);
    height: calc(min(332px, 80vw) * (713 / 345));
    margin-bottom: 40px;
    position: relative;
    border-radius: 15px;
  }
  .device-simulation video {
    padding: 12px;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    object-fit: cover;
  }
  .device-simulation-iPhone {
    width: 100%;
    height: 100%;
  }
  .copy-block.active {
    background-color: #c8e4db;
    border-color: #a2d8c7;
  }
  .coupon-event-buttons {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    width: 100%;
    gap: 24px;
  }
  .brand-campaign-title {
    margin-bottom: 0;
    margin-top: 32px;
  }
  .brand-campaign-item-title,
  .platform-item-title,
  .featured-campaign-card-title {
    width: 100px;
  }
  .brand-campaign-item {
    flex-basis: content;
  }
  .payment-action-btn,
  .go-to-draw-winner-btn {
    height: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    letter-spacing: 0.03em;
    border-radius: 30px;
  }
  .brand-campaign-item-brand-icon img,
  .platform-item-brand-icon img {
    width: 100px;
    height: 100px;
  }
  .brand-campaign-item,
  .platform-item {
    flex-basis: initial;
    min-height: 218px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-campaign-item-brand-discount,
  .platform-item-brand-discount,
  .featured-campaign-card-brand-discount {
    gap: 0px;
  }
  .platform-item-brand-category,
  .brand-campaign-item-brand-category {
    font-size: 14px;
    line-height: 21px;
    padding: 2px 8px;
    border-radius: 4px;
  }
  .main-item.featured-campaign {
    padding: 0;
  }
  .featured-campaign-card-image {
    display: none;
  }
  .featured-campaign-items {
    padding-top: 24px;
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 10px;
    padding-bottom: 24px;
  }
  .featured-campaign-card-image {
    display: none;
  }
  .featured-campaign-card-title {
    margin-bottom: 20px;
  }
  .featured-campaign-card-brand-icon img {
    width: 100px;
    height: 100px;
  }
  .featured-campaign-card-brand-icon {
    width: 100px;
  }
  .featured-campaign-card-title {
    width: 100px;
  }

  .featured-campaign-card-brand-info {
    flex-grow: 1;
  }
  .featured-campaign-card {
    width: 584px;
    height: 450px !important;
    padding: 0 24px 24px;
  }

  .featured-campaign-card-brand-name {
    font-size: 20px;
    line-height: 1.5;
  }
  .featured-campaign-card-brand-discount img {
    width: 20px;
    height: 20px;
  }
  .featured-campaign-card-brand-discount-text {
    color: #333333;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.42px;

    @media (max-width: 379.99px) {
      &.ten-mart {
        font-size: 12px;
      }
    }
  }

  .featured-campaign-card-go-to-shop-btn {
    font-size: 20px;
    width: 161px;
    height: 54px;
    line-height: 30px;
    position: absolute;
    right: 26px;
    bottom: 26px;
  }

  .featured-campaign-card-brand-discount-text .discount-code {
    flex-direction: column;
    align-items: start;
  }

  .featured-campaign-card-go-to-shop-btn img {
    width: 22px;
    height: 22px;
  }

  .featured-campaign-card-brand-discount-text {
    font-weight: 700;
  }
  .featured-campaign-item-wrapper {
    flex-direction: column;
    padding-right: 12px;
    padding-left: 12px;
  }
  .featured-campaign-item-wrapper-arrows {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  .featured-campaign-card-brand {
    gap: 10px;
  }
  .main-item.featured-campaign {
    padding-bottom: 32px;
  }
  .featured-campaign-item-nav-tab {
    flex-direction: column;
    gap: 2px;
    padding: 8px 20px;
    width: 161px;
  }
  .featured-campaign-card {
    border-radius: 10px;
    width: 584px;
    height: 375px;
  }
  .featured-campaign-card-brand-discount {
    height: auto;
  }
  .featured-campaign-card-title-date {
    width: 100px;
    font-size: 14px;
    padding: 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.42px;
  }
  .featured-campaign-card-title {
    margin-bottom: 12px;
  }
  .featured-campaign-card-brand-info {
    flex-grow: 1;
    padding-bottom: 54px;
  }
  .featured-campaign-card-brand-discount img {
    margin-right: 4px;
  }
  .featured-campaign-item-wrapper-arrows img {
    width: 40px;
    height: 40px;
    margin-top: 20px;
  }
  .featured-campaign-item-wrapper-arrows {
    gap: 60px;
  }
  .featured-campaign-card-brand-category {
    border-radius: 4px;
    padding: 2px 8px;
    line-height: 21px;
    font-size: 14px;
  }
  .main-item.brand-campaign {
    padding-top: 0;
  }
  .new-user-discount,
  .user-discount-wrapper .new-user-discount {
    gap: 0px;
  }
  .featured-campaign-item-nav img {
    width: 80px;
    height: 30px;
  }
  .featured-campaign-item-nav {
    padding: 0;
  }
  .coupon-event-campaign-card {
    width: 343px;
  }
  .coupon-event-campaign-card:nth-child(1) {
    background: url('./img/campaigns/CouponEvent50_S.png') no-repeat center
      center;
    background-size: contain;
    height: 175px;
  }
  .coupon-event-campaign-card:nth-child(2) {
    background: url('./img/campaigns/CouponEvent200_S.png') no-repeat center
      center;
    background-size: contain;
    height: 200px;
  }
  .coupon-event-campaign-card:nth-child(3) {
    background: url('./img/campaigns/CouponEvent300_S.png') no-repeat center
      center;
    background-size: contain;
    height: 200px;
  }
  .coupon-event-campaign-card:nth-child(4) {
    background: url('./img/campaigns/CouponEvent450_S.png') no-repeat center
      center;
    background-size: contain;
    height: 200px;
  }
  .coupon-event-campaign-card:nth-child(1):hover,
  .coupon-event-campaign-card:nth-child(1):active {
    background: url('./img/campaigns/CouponEvent50_S_Pressed.png') no-repeat
      center center;
    background-size: contain;
  }
  .coupon-event-campaign-card:nth-child(2):hover,
  .coupon-event-campaign-card:nth-child(2):active {
    background: url('./img/campaigns/CouponEvent200_S_Pressed.png') no-repeat
      center center;
    background-size: contain;
  }
  .coupon-event-campaign-card:nth-child(3):hover,
  .coupon-event-campaign-card:nth-child(3):active {
    background: url('./img/campaigns/CouponEvent300_S_Pressed.png') no-repeat
      center center;
    background-size: contain;
  }
  .coupon-event-campaign-card:nth-child(4):hover,
  .coupon-event-campaign-card:nth-child(4):active {
    background: url('./img/campaigns/CouponEvent450_S_Pressed.png') no-repeat
      center center;
    background-size: contain;
  }
  .featured-campaign-items {
    overflow: hidden;
  }
  .featured-campaign-item-nav {
    overflow: hidden;
    gap: 10px;
  }
  .featured-campaign-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .featured-campaign-item-nav-tab-discount > span {
    font-size: 16px;
    line-height: 24px;
  }
  .featured-campaign-item-nav-tab-discounts {
    gap: 2px;
  }
  .featured-campaign-item-nav-tab-discount img {
    width: 12px;
    height: 12px;
  }
  .featured-campaign-item-nav-tab-discount-text span {
    font-size: 14px;
    line-height: 21px;
  }
  .featured-campaign-item-nav-tab-discount.brand-discount span {
    font-size: 12px;
    line-height: 18px;
  }
  .main-item.platform {
    padding-bottom: 32px;
  }
  .payment-buttons > a,
  .coupon-event-buttons > a,
  .payment-buttons > a,
  .payment-action-btn,
  .go-to-draw-winner-btn {
    font-size: 20px;
    line-height: 30px;
  }
  .featured-campaign-item-nav-tab img {
    width: 80px;
    height: 30px;
  }

  .payment-card {
    flex-direction: column;
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
    border-radius: 20px;
    border: 2px solid #63d0fb;
  }
  .payment-buttons {
    flex-direction: column-reverse;
    gap: 24px;
  }
  .payment-buttons > a {
    width: 100%;
  }
  .payment-action-btn {
    gap: 12px;
  }
  .payment-buttons {
    margin-top: 20px;
  }
  .payment-guide {
    margin-bottom: 0px;
    border-radius: 0 0 20px 20px;
  }
  .payment-card-wrapper {
    margin-bottom: 32px;
  }
  .ipass-payment-card .payment-guide {
    height: auto;
    aspect-ratio: 351/624;
  }
  .featured-campaign-card-brand-discounts {
    margin-bottom: 20px;
  }
  .hide-on-mobile {
    display: none;
  }
}

.whitespace-nowrap {
  white-space: nowrap;
}

.flex {
  display: flex;
}

.xs-text-12px {
  @media (max-width: 379.99px) {
    font-size: 12px;
  }
}

.md-invisible {
  @media (min-width: 400px) and (max-width: 767.99px) {
    display: none;
  }
}
