/* customize scroll bar */
*::-webkit-scrollbar {
  background-color: #fff;
  width: 6px;
  height: 0px;
}
*::-webkit-scrollbar-track {
  background-color: #fff;
}
*::-webkit-scrollbar-thumb {
  background-color: #babac0;
  border-radius: 16px;
  border: 1px solid #9b9b9b;
}
*::-webkit-scrollbar-button {
  display: none;
}
/* firefox滾動條 */
@-moz-document url-prefix() {
  * {
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
  }
}



html {
  display: flex;
  justify-content: center;
  background-color: rgb(255, 255, 255);
}

@media (min-width: 728px) {
  html {
    /* 0.7 */
    height: 70%;
    transform: scale(0.7);
    transform-origin: top center; 
    /* 0.7 */
  
    overflow-x: hidden;/* 禁止拖動 */
  }
}


/* === 限制整體在手機尺寸 ====== */
/* === 限制整體在手機尺寸 ====== */
body {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 100%; */
  /* 沒width: 100%;沒全白 */
}

/* 廣告modal */
/* @media (max-width: 1023px){ */
@media (max-width: 727px) {
  #interstitial.tenmax_ad_container.show .content {
    height: 100vh !important;
    top: -48px !important;
    background-color: rgba(100, 100, 100, 0.464) !important;
  }
  #interstitial.tenmax_ad_container.show .content .ad {
    width: 100vw !important;
  }
}
/* - */

.main-content,
.ub-header-b,
.mobile-footer {
  /* width: 100%;  */
  width: 393px;
}
.main-content {
  align-self: center;
  /* 解決body橫軸 */
}
.field-marginbottom-20 {
  margin-bottom: 17px;
}
/* ========= */
/* ========= */

.swiper-container {
  margin-top: -3px;
}

.ub-header-b {
  position: sticky !important;
  top: 0px;
}
.ub-header-b {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background: linear-gradient(to bottom, white, white 35%, #f0f0f0); */
  z-index: 200;
  padding: 0px 20px;
  /* 確保 header 的 z-index 大於遮罩的 z-index */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); */
  min-height: 50px;
  box-shadow: unset !important;
}

@media (max-width: 727px) {
  .header-container {
    height: 39px;
  }
}
.header-img-container {
  width: 107px;
  height: 100%;
}
.ub-header-b .logo {
  width: 107px;
  margin-right: 0px; /*蓋掉套件  */
  margin-left: unset; /*蓋掉套件  */
  height: auto;
  top: -4.5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 121px;
}

.ub-nav-header {
  font-weight: bold;
  text-align: left;
  color: #64363c;
  padding: 0;
}

.header-container {
  display: flex;
  width: 100%; /* 使 container 佔滿整個可用寬度 */
  /* height: 55px; */
}

.header-left,
.header-center,
.header-right {
  flex: 1; /* 使三個部分平分空間 */
  display: flex;
  justify-content: center; /* 使內容居中顯示 */
  align-items: center; /* 垂直居中 */
}

.header-left {
  justify-content: flex-start; /* 左側內容靠左對齊 */
  color: #f896aa;
  padding-left: 5px;
}

.header-center {
  justify-content: center; /* 中間內容居中對齊 */
  overflow: hidden;
  position: relative;
  height: 44px;
}
.travel-title-font {
  color: #000000;
  font-size: 30px;
}

.header-right {
  justify-content: flex-end; /* 右側內容靠右對齊 */
  width: auto; /* 自動調整寬度 */
  padding-right: 5px;
}

.hami {
  color: #58eb8a;
  font-size: 20px;
  font-weight: bold;
}

.japan-travel {
  color: #000000; /* 粉色 */
  font-size: 20px;
  font-weight: bold;
}

.header-right img {
  width: 20px;
  height: auto;
}

.user-menu {
  position: relative;
}
.user-menu-mask {
  display: none; /* 預設不顯示 */

  position: fixed; /* 固定定位，覆蓋整個視窗 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d9d9d981; /* 半透明黑色背景 */
  z-index: 99; /* 確保遮罩位於下拉菜單之下 */
}
.user-menu-dropdown {
  font-size: 22px;
  display: none; /* 啟用 Flexbox */

  flex-direction: column;
  position: absolute;
  box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  right: 0;
  background-color: white;
  border-radius: 6px;
  padding: 6px 13px;
  /* display: flex; */
}
.user-menu-dropdown a {
  display: block; /* 讓每個鏈接獨佔一行 */
  text-align: right;
  text-decoration: none; /* 去掉下劃線 */
  line-height: 2; /* 調整行高以改善閱讀性 */
}
.footer-images img {
  width: 80px;
}
.ub-banner {
  margin-bottom: 10px;
}

.swiper-slide .cover .content .title {
  display: none;
  /* 不顯示廣告看板title */
}

.mobile-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  bottom: 0px; /* 從底部留出一些空間 */

  background-color: #eaeaea;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
  z-index: 999;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 372px;
}
.footer-links.footer-links-desktop {
  display: none;
}

.footer-links a {
  font-size: 10px;
}

.footer-images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}
.footer-images img {
  width: 80px;
}

/* 橫向顯示時的樣式 */
.footer-image-and-text-container {
  display: flex;
  justify-content: space-around; /* 圖片平均分佈 */
  flex-wrap: wrap;
  width: 100%;
  gap: 10px 0px;
}

.footer-text {
  color: #979797;
  width: 100%;
  font-size: 9px;
}
.footer-text p {
  margin-bottom: unset;
}

.footer-button img {
  width: 40px;
  color: white; /* 文字顏色 */
  cursor: pointer; /* 鼠標樣式 */
}

.banner-img {
  border-radius: 10px;
  width: 100%;
}

.horizontal-scroll {
  display: flex; /* 啟用 Flexbox */
  flex-wrap: nowrap; /* 防止元素換行 */
  overflow-x: auto; /* 允許水平滾動 */
  justify-content: space-around; /* 使子元素平均分佈 */
  padding: 0px 0px 8px 0px;
}
/* 旅遊好物 */
#productListButtonsContainer.horizontal-scroll {
  margin-bottom: -1px;
}

.strategy-buttons.horizontal-scroll {
  justify-content: flex-start;
}

.horizontal-scroll-container {
  position: relative;
}

.horizontal-scroll.gap {
  gap: 7px;
}

.col-md-6 {
  flex: 1 1 auto; /* 可以根據需要調整 */
}

.themed-events-item {
  margin: 2px;
}

.limited-time-events-item {
  position: relative; /* 確保子元素的絕對定位是相對於此元素 */
  width: 210px; /* 設置固定寬度 */
  height: 110px; /* 設置固定高度，與寬度相同形成正方形 */
  border-radius: 15px; /* 設置圓角 */
  overflow: hidden; /* 確保所有內容都在圓角內 */
  box-shadow: 3px 5px 2px #cbcbcb;
}

.limited-time-events-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.limited-time-events-title {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  padding-left: 7px;
  padding-right: 7px;
  font-weight: bold;
  display: block;
  word-wrap: break-word;
  line-height: 1.2;
  text-align: center;
  margin: auto;
}

.overlay-content {
  position: absolute; /* 絕對定位，使文字覆蓋在圖片上 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  color: white; /* 文字顏色 */
  pointer-events: none; /* 這將禁止所有點擊事件 */
}

.title {
  color: inherit;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  display: block;
  word-wrap: break-word;
  line-height: 1.2;
  text-align: center;
  margin: auto;
  padding-top: 0.15em;
}
.no-collection-text {
  font-size: 24px;
}
/* @media (max-width: 1023px){ */
@media (max-width: 727px) {
  #Banner_1 .title {
    font-size: 23px !important;
    white-space: normal !important;
  }
}

.keywords-title {
  display: block; /* 讓鏈接以塊狀元素顯示，佔滿整行 */
  text-align: center; /* 文本居中對齊 */
  color: black; /* 設置文本顏色爲黑色 */
  text-decoration: none; /* 去除下劃線 */
  padding: 8px 0; /* 添加一些垂直填充 */
  font-size: 18px; /* 字體大小，根據需要調整 */
}
.keywords-item {
  position: relative; /* 確保子元素的絕對定位是相對於此元素 */
  width: 150px; /* 設置固定寬度 */
  height: 150px; /* 設置固定高度，與寬度相同形成正方形 */
  border-radius: 20px; /* 設置圓角 */
  overflow: hidden; /* 確保所有內容都在圓角內 */
}

.ub-nav-header-container {
  display: flex; /* 使用flex佈局 */
  justify-content: space-between; /* 使子元素分佈在兩端，一個靠左一個靠右 */
  align-items: center; /* 垂直居中對齊子元素 */
  height: 30px;
}

.coupon-buttons {
  margin-bottom: 2px;
}

.view-all {
  text-decoration: none; /* 去除鏈接下劃線 */
  color: #0072c5; /* 設置鏈接顏色，可根據需要調整 */
  font-weight: bold; /* 加粗文字 */
  font-size: 15px;
}

.item {
  text-decoration: none; /* 去除鏈接下劃線 */
  font-weight: bold; /* 加粗文字 */
  font-size: 15px;
}

.ub-search-block {
  background-color: #ffffff;
  padding: 0;
}

.travel-container {
  background-color: #ffffff;
  border: 2px solid #aeaeae; /* 深灰色邊框 */
  border-radius: 10px; /* 圓角邊緣 */
  text-align: center; /* 文字居中 */
  padding: 20px; /* 內部間距 */
  width: auto;
  height: 130px;
}
.add-travel-container {
  background-color: #eaeaea; /* 灰色背景 */
}

.add-travel-link {
  text-decoration: none; /* 移除下劃線 */
  color: #aeaeae; /* 文字顏色 */
  display: flex; /* 使用 flex 佈局 */
  flex-direction: column; /* 子項垂直排列 */
  align-items: center; /* 水平居中對齊子項 */
  justify-content: center; /* 垂直居中對齊子項 */
  font-weight: bold; /* 加粗文字 */
  font-size: 25px;
}

.add-travel-image {
  max-width: 100%; /* 圖片最大寬度爲容器寬度 */
  border-radius: 10px; /* 圖片圓角邊緣 */
}
.travel-ub-nav {
  padding: var(--size-margin);
  border-radius: var(--size-radius);
  position: relative;
}
.travel-ub-nav .item.active,
.travel-ub-nav a.active {
  background: #f896aa;
  color: #ffffff;
}
.travel-ub-nav .item,
.travel-ub-nav a {
  display: inline-block;
  background: transparent; /* 設置背景透明 */
  color: #dddddd; /* 文本顏色保持不變 */
  border: 1px solid #dddddd; /* 添加邊框，1px 寬，#dddddd 顏色 */
  border-radius: 0.2rem; /* 圓角半徑保持不變 */
  line-height: 1rem;
  padding: 0.25rem 0.4rem;
  margin: 0 0.25rem 0 0;
}

.travel-card-title {
  font-weight: bold; /* 加粗文字 */
  font-size: 25px;
  color: #535353;
  overflow: hidden;
  height: 75px;
}

.menu-container {
  position: relative;
  float: right;
}

.menu-button {
  border: none;
  background: none;
  font-size: 24px; /* 或根據需要調整 */
  cursor: pointer;
}

.menu-content {
  display: none;
  position: absolute;
  top: 100%; /* 位於觸發元素的下方 */
  right: 0; /* 與觸發元素的右側對齊 */
  background-color: #f896aa;
  min-width: 60px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.menu-content a {
  color: #ffffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.menu-content a:hover {
  background-color: #eb1212;
}

/* 遮罩層樣式 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(192, 192, 192, 0.5);
  z-index: 1000; /* 確保這個值低於編輯元素的z-index */
  display: none;
}
/* 編輯模式下元素的樣式 */
.edit-mode {
  position: relative;
  z-index: 1010; /* 高於遮罩層 */
}
/* 輸入框樣式 */
.hidden-input {
  display: none;
  width: 100%;
}

.link-button {
  background: none !important;
  border: none;
  padding: 0 !important;
  font-family: arial, sans-serif;
  color: #069;
  text-decoration: underline;
  text-align: right;
  cursor: pointer;
}
.link-button:hover {
  color: #00a;
  text-decoration: underline;
}
.alert-custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.alert-custom-modal-content {
  background-color: #ffb36c;
  padding-top: 60px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  position: relative;
  text-align: center;
}
.alert-msg {
  color: #0072c5;
  font-weight: bold;
  font-size: 30px;
}
.alert-close-btn {
  color: #0072c5;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.alert-login-btn {
  border-radius: 12px;
  border: none;
  color: #0072c5;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 20px;
}

.promotion-card {
  display: flex;
  background-color: #ececec;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
  align-items: stretch; /* 確保子項填滿容器的高度 */
}

.image-wrapper {
  flex-shrink: 0; /* 防止圖片部分壓縮 */
  width: 100px; /* 控制圖片寬度，同時也是正方形的邊長 */
  height: 100px; /* 與寬度相同，形成正方形 */
}

.image-wrapper img {
  width: 100%; /* 使圖片填滿整個.image-wrapper容器 */
  height: 100%; /* 保持圖片的高度與容器相同 */
  margin: 5px 5px 5px 5px; /* 頂部、底部和左側各留出10px空間，右側爲0 */
  border-radius: 10px;
  display: flex; /* 使用flex佈局以便在內部居中圖片 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
}

.content-wrapper {
  padding: 0.1rem 0.1rem 0.1rem 1rem; /* 內容區域的內邊距 */
  display: flex;
  flex-direction: column; /* 子項垂直排列 */
  justify-content: center; /* 垂直居中 */
}

.title,
.summary,
.receive-btn,
.received-notice {
  margin-bottom: 5px; /* 調整間距 */
  text-align: center;
  white-space: nowrap; /* 防止文本斷行 */
  overflow: hidden; /* 超出部分隱藏 */
  text-overflow: ellipsis; /* 超出部分顯示爲省略號 */
}

.promotion-card .cover {
  height: 200px; /* 可根據實際內容調整 */
  background-size: cover;
  background-position: center;
}

.promotion-card .title {
  font-size: 18px;
  color: #121212;
  text-decoration: none; /* 移除鏈接下劃線 */
}

.promotion-card .summary {
  font-size: 15px;
  color: #ff5e5e;
}

.receive-btn {
  background-color: #ff7a00; /* 示例顏色 */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.received-notice {
  background-color: #dedede; /* 示例顏色 */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.ub-list-items {
  position: relative;
}

.ub-list-items-max-height {
  max-height: 766px;
  min-height: calc(100vh - 585px);
  overflow-y: scroll;
  overflow-x: hidden;
}

/* ======list min & max======= */
/* 優惠券 */
.ub-list-items-min-height-coupon {
}
.row-max-height-coupon {
  align-content: flex-start;
}
/* 旅遊list */
.ub-list-items-min-height-travellist {
}
.row-max-height-travellist {
  align-content: flex-start;
}
/* 個人頁list */
.ub-list-items-min-height-userinfo {
}
.row-max-height-userinfo {
  align-content: flex-start;
}
/*  =================  */
/*  =================  */

/*  */
.row {
  margin-left: unset !important;
}

.ub-list-items-coupon {
  display: flex;
  justify-content: center;
}

/* 試圖解決上線後寬度與本地不一致 */
/* .ub-list-items,
.ub-list-items-coupon,
.couponContainerRow{
  width: 359px;
} */

/* ---- */

/* --------- */
.ub-list-items .item-k {
  padding: 0.5rem 0.5rem 0.5rem 5rem;
  /* 套件有設定這個padding在小尺寸裝置上，但沒設定在其他尺寸上，
  為保持統一所以所有裝置大小都設置此padding */
  /* 為了使大小裝置統一而設定此class樣式，
  否則套件自動在小尺寸上套用其他樣式，所以在此覆蓋 */
}
.ub-list-items .item-k .title {
  font-size: var(--font-size);
  /* 為了使大小裝置統一而設定此class樣式，
  否則套件自動在小尺寸上套用其他樣式，所以在此覆蓋 */
}
.ub-nav-header {
  font-size: var(--font-size-large);
  /* 為了使大小裝置統一而設定此class樣式，
  否則套件自動在小尺寸上套用其他樣式，所以在此覆蓋 */
}
/* --------- */
/* --------- */

.dots {
  position: absolute;
  bottom: -10px;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  display: flex;
  gap: 3px;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: grey;
  border-radius: 50%;
}

.strategy-buttons {
  margin-bottom: 0px;
  display: flex;
  gap: 7px;
}
#shopListButtonsContainer.strategy-buttons {
  margin-bottom: 5px;
}

.strategy-buttons.travel-buttons {
  /* padding-bottom: 5px; */
}

.btn {
  background-color: #ffffff;
  color: rgb(23, 139, 254);
  border-radius: 6px;
  border: 1px rgb(23, 139, 254) solid;
}
.btn-active {
  background-color: rgb(23, 139, 254);
  color: white !important;
  border-radius: 6px;
  border: 1px rgb(23, 139, 254) solid !important;
}
.btn:hover {
  background-color: rgb(23, 139, 254);
}
.btn:hover:not(.disabled) {
  /* 蓋掉套件的 */
  color: rgb(255, 255, 255);
  border: 1px rgb(23, 139, 254) solid;
}

/* ============== */
/* ============== */
/* ============== */

.themed-events-item {
  position: relative; /* 確保子元素的絕對定位是相對於此元素 */
  width: 50px; /* 設置固定寬度 */
  height: 50px; /* 設置固定高度，與寬度相同形成正方形 */
  border-radius: 45px; /* 設置圓角 */
  overflow: hidden; /* 確保所有內容都在圓角內 */
}

.themed-events-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: flex-start;
  height: fit-content;
}

.themed-events-title {
  display: block;
  text-align: center;
  color: black;
  text-decoration: none;
  font-size: 13px;
  overflow: hidden;
  max-height: 36px;
  width: 78px;
  cursor: pointer;
}
.themed-events-text {
  display: inline-block;
  text-align: left;
  line-height: 19px;
}

/* @media (max-width: 1023px){ */
@media (max-width: 727px) {
  .themed-events-horizontal-scroll {
    gap: 16px;
    justify-content: unset;
  }
}

.themed-events-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.author-container {
  display: flex;
  align-items: center; /* 垂直居中對齊子元素 */
}
.author-img {
  margin-right: 10px; /* 根據需要在圖片和名字之間添加間隔 */
}
.travel-author-img {
  width: 20px;
  height: 20px;
  border-radius: 50%; /* 使圖片成為圓形 */
  object-fit: cover; /* 保持圖片的長寬比 */
}

.travel-summary {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 5px; /* 調整間距 */
}
.travel-item {
  display: flex;
  background-color: #ececec;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
  align-items: stretch; /* 確保子項填滿容器的高度 */
}

.travel-source {
  font-size: 10px;
}

.coupon-item {
  position: relative; /* 確保子元素的絕對定位是相對於此元素 */
  width: 220px; /* 設置固定寬度 */
  height: 100px; /* 設置固定高度，與寬度相同形成正方形 */
  border-radius: 20px; /* 設置圓角 */
  overflow: hidden; /* 確保所有內容都在圓角內 */
}

.couponItemContent .title,
.couponItemContent .coupon-summary {
  top: 30%;
  font-size: 20px;
}

.back-to-top {
  width: 90px;
  position: fixed;
  bottom: 10%;
  right: 3%;
  background-color: #70707000;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  display: none;
  z-index: 11111;
  transition: all 0.2s ease;
  opacity: 0.6;
}
.back-to-top:hover {
  transform: scale(1.2);
}

/* @media (max-width: 1023px){ */
@media (max-width: 727px) {
  .back-to-top {
    width: 80px;
  }

  .list-couponItem {
    height: 140px !important;
    width: 100% !important;
    margin: 5px 0px !important;
  }
  .list-couponItemContent {
    padding: 0.5rem 0.5rem 0.5rem 7.5rem !important;
    height: 100% !important;
    width: 100% !important;
  }
  .list-couponItem .couponImage .ub-cover-4-3 {
    height: 140px;
    width: 140px;
  }
  .couponItemContent .title {
    top: 20% !important;
  }
  .couponItemContent .coupon-summary {
    top: 17% !important;
  }
}
.couponContainerRow#likeDataContainer {
  flex-direction: column;
  --container-height: 100%;
}

.coupon-like-btn,
.travel-like-btn {
  height: fit-content;
  width: fit-content;
  position: absolute;
  right: 8px; /* 將連結定位到容器的最右側 */
  bottom: 8px; /* 將連結定位到容器的最右側 */
  cursor: pointer;
}
.coupon-like-btn {
  bottom: 10px; /* 將連結定位到容器的最右側 */
}

/* .list-couponItemContent .coupon-like-btn img{
  height: 17px;
} */
/* .coupon-like-btn{
  height: 13px;
} */

.coupon-like-btn,
.coupon-like-btn img,
.travel-like-btn img {
  height: 13px;
  width: 14.5px;
}

.coupon-img {
  height: 100%; /* 保持圖片的高度與容器相同 */
  text-align: center;
}

.coupon-title {
}
.coupon-summary {
  font-weight: 800;
  font-size: 13px !important;

  margin-bottom: 5px; /* 調整間距 */
  text-align: center;
  white-space: nowrap; /* 防止文本斷行 */
  overflow: hidden; /* 超出部分隱藏 */
  text-overflow: ellipsis; /* 超出部分顯示爲省略號 */
}
.loginText {
  color: #000000;
  font-size: 15px;
  font-weight: bold;
}

/* 彈窗的基本樣式 */
.privacy-modal {
  display: none; /* 隱藏彈窗，直到需要時顯示 */
  position: fixed; /* 固定定位，使彈窗不隨滾動條滾動 */
  left: 0;
  top: 0;
  width: 100%; /* 全螢幕寬度 */
  height: 300%; /* 讓灰色全螢幕高度 */
  overflow: auto; /* 如必要可滾動 */
  background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色背景 */
  z-index: 1000; /* 高堆疊順序以保持在最上層 */
  font-size: 16px;
}
.privacy-modal h2 {
  font-size: 20px;
}

/* 彈窗內容的樣式 */
.privacy-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 5% auto; /* 中央置放並留出一些邊距 */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* 適當的寬度 */
  max-height: 600px; /* 最大高度 */
  overflow-y: auto; /* 垂直滾動條 */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* 陰影效果 */
  border-radius: 10px;
}

.privacy-modal-content h2 {
  margin-bottom: 10px; /* 給標題和段落之間一些空間 */
  text-align: center;
}

.privacy-modal-content p {
  max-height: 500px; /* 最大高度，可根據需要調整 */
  overflow-y: auto; /* 垂直方向上的滾動條，當內容超出時顯示 */
  margin-bottom: 20px; /* 段落下方留出一些空間 */
  padding-right: 10px; /* 防止滾動條太靠近文字 */
}

.privacy-button {
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  background-color: #0072c5; /* 綠色背景 */
  color: white;
  border: none;
  border-radius: 15px;
  margin-right: 10px;
}
.privacy-button.disabled {
  background-color: #cccccc; /* 灰色背景 */
  color: #ffffff; /* 深灰色文字 */
  cursor: not-allowed; /* 不允許的光標 */
}
.privacy-cancel-button {
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  background-color: #ffffff; /* 綠色背景 */
  color: #209CFF;
  border: 1px solid #209CFF; /* 藍色邊框 */
  border-radius: 15px;
  margin-right: 10px;
}
.privacy-label {
  margin-bottom: 0;
}
.privacy-checkbox-container {
  margin-top: 20px;
  margin-bottom: 20px;
  gap: 5px; /* 按鈕間隔 */
  width: 100%; /* 寬度設為100% */
  display: flex;
  justify-content: center; /* Flexbox 居中 */
}
.privacy-buttons-container {
  display: flex;
  justify-content: center; /* Flexbox 居中 */
  gap: 20px; /* 按鈕間隔 */
}
.privacy-buttons-container {
  display: flex;
  justify-content: center; /* Flexbox 居中 */
  gap: 20px; /* 按鈕間隔 */
}

.travel-articles-ub-article {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tw-p-10 {
  padding: 0px;
}

.travel-articles-header {
  display: flex;
  align-items: baseline;
  padding-left: 6px;
}

.travel-articles-title {
  color: #64363c;
  margin-bottom: 0px;
  padding-left: 6px;
}

.travel-articles-author {
  font-weight: bold; /* 作者名稱使用粗體 */
  margin-right: 5px; /* 添加右邊距來分隔作者和來源 */
  font-size: 20px;
  padding: 0; /* 確保沒有內邊距影響佈局 */
}
.travel-articles-source {
  margin: 0; /* 清除可能存在的外邊距 */
  padding: 0; /* 清除內邊距 */
  font-size: 10px;
  display: inline-block; /* 使 div 行為類似於文本元素 */
}

.travel-articles-post-time {
  white-space: nowrap; /* 確保日期不會換行 */
  text-align: right; /* 文字靠右對齊 */
  margin-left: auto; /* 將日期推至最右邊 */
  margin-right: 10px;
}

.travel-articles-ub-container {
  /* padding: 15px ; */
}
.tw-py-10 {
  padding: 0px;
}

.button-tags-container {
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
}

.travel-articles-ub-container.tw-bg-white.tw-rounded.tw-py-10.travel-detail-coupon {
  display: none;
}

.ub-container {
  padding: 17px;
  overflow: hidden;
}

.ub-article {
  display: flex;
  flex-direction: column;
}

.travel-articles-button-container {
  padding: 5px;
}
.divider {
  height: 1px; /* 橫線的高度 */
  background-color: #ccc; /* 橫線的顏色，這裡使用淺灰色 */
  margin: 0px 10px; /* 上下邊距為 10px, 左右邊距為 20px */
}
.header-divider {
  background-color: #ccc; /* 橫線的顏色，這裡使用淺灰色 */
  width: 100%;
  height: 1px;
}

#x_btn img,
#fb_btn img,
#line_btn img,
#share_btn img {
  height: 25px; /* 或者其他您希望的尺寸 */
  width: auto; /* 保持圖像比例 */
}

.travel-articles-tw-text-4xl {
  font-size: 1.8rem;
  line-height: 2rem;
  text-align: center;
}
.travel-articles-tag-button {
  background-color: #9d9d9d;
  color: white;
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  border: none; /* 添加此行去除默認邊框 */
  margin: 5px; /* 添加外邊距來分開按鈕 */
  white-space: nowrap;
}

.location-dropdown-item {
  display: block;
  padding: 3px 11px;
  padding-left: 0px;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  color: #a0a0a0;
  width: unset;
  font-size: 18px;
  margin-bottom: 0px !important;
}

.location-dropdown-menu{
  display: flex !important;
  flex-wrap: wrap;
  padding-left:14px;
  padding-right: 14px;

}

.location-search-form {
  display: flex;
  align-items: center;

  padding: 5px 10px; /* 可調整填充以適合設計 */
  border-radius: 25px; /* 如需要，可添加圓角 */

  border:2px #3cd20c solid;
}

.location-search-form .btn {
  background-color: transparent; /* 保持背景透明 */
  border: none; /* 移除邊框 */
  outline: none; /* 防止聚焦時出現輪廓線 */
  padding: 8px 12px; /* 根據設計調整 */
  color: inherit; /* 繼承字體顏色 */
}
.location-search-form .btn:hover,
.location-search-form .btn:focus {
  border: none; /* 鼠標懸停和聚焦時不顯示邊框 */
  outline: none; /* 移除聚焦時的輪廓線 */
  box-shadow: none; /* 移除懸停或聚焦時的陰影 */
  background-color: transparent; /* 維持背景透明 */
}

.location-search-form input.form-lg {
  flex-grow: 1; /* 輸入框佔據剩餘空間 */
  margin: 0 10px; /* 輸入框與按鈕之間的間隙 */
}

/* 日本優惠券 */
.couponContainerRow {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: var(--container-height, 300px);
  overflow-x: auto;
  align-content: flex-start;
}
.couponContainerRow.big {
  --container-height: 620px;
}
.couponContainerRow.article {
  --container-height: 100px;
}
.couponContainerRow.article#couponContainer {
  max-height: 376px;
}

.couponItem {
  border: 0.5px #c4c4c4 solid;
  height: 90px;
  width: 240px;
  overflow: hidden;
  border-radius: 10px 0px 0px 10px;
  margin: 5px;
}

.item-k.tw-bg-white.margin-bottom.couponItemContent {
  background-color: #f4f6f8;
  height: 90px;
  width: 240px;
  border-radius: 10px 0px 0px 10px;
  position: relative;
}
.couponImage {
  width: 90px;
  position: absolute;
  left: 0px;
  top: 0px;
  border-radius: 10px 0px 0px 10px;
}
.couponItemContent .ub-cover-4-3 {
  height: 90px;
}
.couponItemContent .title {
  font-weight: 600;

  font-size: 15px !important;
  color: #121212;
  position: relative;
}
.list-couponItemContent .title {
  top: 30% !important;
}
.list-couponItemContent .coupon-summary {
  top: 30% !important;
}

.couponItemContent .coupon-summary {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  position: relative;
  top: 10px;
  top: 30%;
}

/* 品牌回饋 */
.shopListContainerRow {
  /* flex-direction: column; */
  max-height: 310px;
  width: 393px;
  display: flex;
  /* flex-wrap: wrap;  */
  /* gap: 20px 30px; */
  overflow-y: hidden;
  overflow-x: auto;
}

.shopListItem {
  width: 165px;
  height: 60px;
}
.parent {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
  min-width: 100%;
  align-content: flex-start;
}

/* 品牌為潰首頁固定高 */ /* child沒填滿就空白 */
/* 要改回來就刪這段 */
/* @media (max-width: 1023px){ */
@media (max-width: 727px) {
  .parent {
    height: 300px;
  }
  .travel-articles-author,
  .travel-articles-source {
    max-width: 114.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .travel-articles-author {
    font-size: 17px;
  }
}

.shopListItem {
  flex: 0 0 calc(50% - 10px);
}
.shopListItemContent {
  /* background-color: #f4f6f8; */
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.shopListImage {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 60px;
  width: 60px;
  border-radius: 100px;
  /* border: 0.5px #C4C4C4  solid; */
}
.shopListImage .cover {
  height: 100%;
}

.shopListImage .ub-cover-4-3:after {
  border-radius: 100px;
  /* width: 100%; */
  height: 100%;
  /* border: 0.5px #C4C4C4  solid;   */
}
.ub-cover-4-3:after {
  margin-top: unset !important;
}

.shopListInfoContainer {
  position: absolute;
  left: 70px;
  overflow: hidden;
  width: 95px;
}

.shoplist-travel-flag {
  background-color: #f18d00;
  width: fit-content;
  color: white;
  font-size: 8px;
  border-radius: 3px;
  line-height: 9.68px;
  padding: 3px 8px 3px 8px;
}
.shoplist-travel-summary {
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 12px;
  width: 96px;
  color: #000000;
  font-weight: 600;
  white-space: nowrap;
}
.shoplist-travel-source {
}
.shoplist-point {
  height: 15px;
  width: 15px;
  padding: 0px 3px 0px 3px;
  border-radius: 100px;
  background-color: #58eb8a;
  color: white;
  font-size: 12px;
}
.shoplist-discount-price {
  font-size: 12px;
  color: #32c587;
}
.shoplist-price {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-size: 12px;
  color: #979797;
}

/* 旅遊好物 */
.ub-list-items-product {
  position: relative;
}
.scroll-list-arrow,
.scroll-list-arrow-left {
  /* ！如需複用箭頭，父元素要加上relative */
  /* ！如需複用箭頭，父元素要加上relative */
  z-index: 100;
  position: absolute;
  border: solid #858585;
  border-width: 0 3.5px 3.5px 0;
  display: inline-block;
  padding: 3px;

  /* ------ */

  transform: rotate(-45deg) translate(0, -50%);
  -webkit-transform: rotate(-45deg) translate(0, -50%);
  top: 50%;
  right: -17px;
  cursor: pointer;
}
.scroll-list-arrow-left {
  left: -12px;
  right: unset;
  border-width: 3.5px 0px 0px 3.5px;
}
/*  */
.new-arrow-right,
.new-arrow-left {
  display: none;
  z-index: 100;
  position: absolute;
  display: inline-block;
  /* ------ */
  transform: rotate(90deg) translate(-50%, 0);
  -webkit-transform: rotate(90deg) translate(-50%, 0);
  top: 50%;
  right: 10px;
  cursor: pointer;
  width: 55px;
  transition: all 0.2s ease;
  opacity: 0.6;
}
.new-arrow-left {
  left: 10px;
  right: unset;
  -webkit-transform: rotate(-90deg) translate(50%, 0);
  transform: rotate(-90deg) translate(50%, 0);
}
@media (max-width: 727px) {
  .new-arrow-right,
  .new-arrow-left {
    width: 25px;
  }
  .new-arrow-right {
    right: 0px;
  }
  .new-arrow-left {
    left: 0px;
  }
}

/*  */

.scroll-list-arrow-hidden {
  display: none;
}

.productListContainerRow {
  display: flex;
  /* height: 280px; */
  overflow-y: hidden;
  overflow-x: auto;
  column-gap: 9px;
}
.productItem {
  /* padding: 4px 4px 0px 4px; */
  border: 1px #c4c4c4 solid;
  border-radius: 10px;
  position: relative;
}
.productItemContent {
  width: 142px;
  height: 280px;
}
.productImage {
  margin-bottom: 5px;
  height: 142px;
  border-radius: 10px 10px 0px 0px;
}
.product-info-container {
  padding: 0px 7px;
}

.product-discount-price,
.product-price,
.product-name,
.point-container {
  font-size: 16px;
  margin-bottom: 3.5px;
}

.product-discount-price {
  /* margin-bottom: 4px; */
  /* font-size: 16px; */
  color: #000000;
  font-weight: 600;
  line-height: 19.36px;
}
.product-price {
  /* margin-bottom: 4px; */
  /* font-size: 16px; */
  color: #000000;
  font-weight: 400;
  line-height: 19.36px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  color: #c4c4c4;
}
.product-name {
  /* margin-bottom: 4px; */
  /* font-size: 16px; */
  line-height: 19.36px;
  font-weight: 400;
  height: 38px;
  overflow: hidden;
  color: #000000;
  text-overflow: ellipsis;
  max-height: 40px;
  height: fit-content;
}

.point-container {
  height: 19.35px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-point {
  height: 15px;
  width: 15px;
  padding: 0px 3px 0px 3px;
  border-radius: 100px;
  background-color: #58eb8a;
  color: white;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-brand {
  position: absolute;
  bottom: 2px;
  color: #c4c4c4;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  width: 92%;
}

/* 旅遊攻略文章列表 */
/* 特別企劃/懶人包 */
.travel-articles-special-card {
  height: 150px;
  width: 260px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  position: relative;
  color: white;
  margin: 10px;
}

.travel-articles-special-card-image {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}

.travel-articles-special-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.travel-articles-special-card-title {
  font-weight: 700;
  width: 100%;
  text-align: center;
  font-size: 18px;
  white-space: nowrap;
  padding: 4px 11px;
}

.travel-articles-special-card-text {
  white-space: nowrap;
  font-size: 17px;
  color: #666;
  text-align: center;
  padding: 9px 16px;
  background-color: #ffffff;
}

/****/
.travel-card {
  display: flex;
  width: 89%;
  height: 140px;
  border: 1px solid #ccc;
  border-radius: 15px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  margin: 7px;
  position: relative;
}
#travelContainer .travel-card {
  width: 89%;
}

#travelContainer .travel-card.list-travel-card,
#likeDataContainer .travel-card.list-travel-card {
  width: 98%;
  margin: 7px 0px;
}

.travel-card-image {
  width: 40%;
  width: 140px;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.travel-card-content {
  width: 60%;
  padding: 8px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.travel-card-title {
  font-size: 16px;
  color: #333;
  margin-bottom: -2px;
  cursor: pointer;
}

.travel-card-author {
  display: flex;
  align-items: center;
}

.travel-card-author-image {
  width: 17px; /* 作者圖片寬度 */
  height: 17px; /* 作者圖片高度 */
  border-radius: 50%; /* 圓形圖片 */
  background-position: center;
  background-size: cover;
  margin-right: 5px; /* 圖片右邊距 */
}

.travel-card-author-name {
  font-size: 14px; /* 作者名稱字體大小 */
}

.travel-card-info {
  font-size: 9px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 155px;
}

#limitScrollContainer .col-md-6{
  width: unset !important;
  flex: unset !important;
  max-width: unset !important;
}

@media (min-width: 728px) {
  #x_btn img,
  #fb_btn img,
  #line_btn img,
  #share_btn img {
    height: 35px;
  }
  .travel-articles-author {
    font-size: 25px;
    margin-right: 20px;
  }
  .travel-articles-source {
    font-size: 18px;
  }
  .travel-articles-tag-button {
    font-size: 18px;
  }
  /* == */
  .travel-card-info {
    /* font-size: 12px !important; */
    max-width: 258px;
    font-size: 15px !important;
  }
  .travel-card-author-name {
    font-size: 17px; /* 作者名稱字體大小 */
  }
  .travel-card-author-image {
    width: 25.5px;
    height: 25.5px;
  }
}

/* ------ 會員登入資訊頁 ------- */
/* ------ 會員登入資訊頁 ------- */
/* ------ 會員登入資訊頁 ------- */
.user-rewards-container {
  padding: 0px 28px;
  font-size: 15px;
  color: #979797;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 300;
  margin-bottom: 20px;
  margin-top: 10px;
  /*  */
  align-items: center;
  /*  */
}
.rewards-field-container {
  border-radius: 8px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  border: 0.5px #c4c4c4 solid;
  padding: 9px 13px;
  /*  */
  width: 340px;
  /*  */
}
.rewards-field {
  display: flex;
  align-items: center;
}
.welcome-font {
  align-self: center;
  font-weight: 700;
}
.user-link-icon,
.user-link-icon-hover {
  cursor: pointer;
  height: 14px;
  margin-left: 3px;
}
.user-link-icon-hover {
  display: none;
}
.rewards-field img.user-link-icon-hover {
  display: none;
}

.rewards-field:hover img.user-link-icon {
  display: none;
}

.rewards-field:hover img.user-link-icon-hover {
  display: block;
}

.point-and-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}
.p-rewards-field {
  gap: 0px;
  flex-wrap: wrap;
  flex-direction: column;
}
.p-rewards-field .member-point {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.member-point-icon {
  height: 15px;
  width: 15px;
  padding: 0px 0px 0px 4px;
  border-radius: 100px;
  background-color: #58eb8a;
  color: white;
  font-size: 11px;
}
.ub-nav-header-userInfo {
  text-align: center;
}

/* @media (min-width: 1024px){ */
@media (min-width: 728px) {
  #interstitial.tenmax_ad_container.show .content {
    height: 100vh !important;
    top: -48px !important;
    background-color: rgba(100, 100, 100, 0.464) !important;
  }

  #interstitial.tenmax_ad_container.show .content .ad {
    width: 100vw !important;
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-content,
  .ub-header-b {
    width: 1024px;
  }
  .mobile-footer {
    width: 1024px;
    flex-wrap: wrap;
  }
  .footer-links {
    width: 600px;
  }
  .footer-links.footer-links-desktop {
    display: flex;
  }
  .footer-links.footer-links-desktop a {
    font-size: 19px;
  }
  .footer-links-mobile {
    display: none;
  }

  .field-marginbottom-20 {
    margin-bottom: 33px;
  }

  .header-container {
    /* height: 84px; */
  }
  .ub-nav-header {
    font-size: 30px;
  }
  .hami,
  .japan-travel {
    font-size: 35px;
  }
  .loginText {
    font-size: 25px;
    margin-right: 10px;
  }
  /*  */
  .view-all {
    font-size: 25px;
  }
  /*  */
  .swiper-container {
    margin-top: 7px;
  }

  /* footer */
  .footer-image-and-text-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .footer-text {
    text-align: unset;
    padding: unset;
    margin-top: unset;
    width: unset;
  }
  .footer-images {
    width: fit-content;
    gap: 28px;
  }
  .footer-images img {
    width: 110px;
  }
  .footer-text p {
    font-size: 14px;
    margin-bottom: unset;
  }

  /* 優惠卷 */
  .couponContainerRow {
    height: fit-content;
    max-height: 578px;
  }
  .couponContainerRow.couponContainerRow-mainpage {
    max-height: 587px !important;
    height: 587px !important;
  }

  .coupon-h1-title {
    font-size: 34px;
  }

  .couponContainerRow.mainpage-travelContainer {
    height: fit-content;
    max-height: 592px !important;
    height: 592px !important;
    user-select: none;
  }
  .couponContainerRow#likeDataContainer {
    flex-direction: column;
    --container-height: 620px;
  }
  .ub-list-items .item-k {
    padding: 0px 10px 0 190px;
  }

  /* 試圖解決上線後寬度與本地不一致 */
  /* .ub-list-items,
  .ub-list-items-coupon,
  .couponContainerRow{
    width: 1024px;
  } */
  /*------  */
  .couponItem {
    height: 182px;
    width: 487px;
  }
  .list-couponItem {
    width: 484px;
  }
  .couponItemContent .ub-cover-4-3 {
    height: 100%;
    width: 182px;
  }
  .couponImage {
    width: fit-content;
    height: 100%;
  }
  .item-k.tw-bg-white.margin-bottom.couponItemContent {
    width: 100%;
    height: 100%;
  }
  .couponItemContent .title,
  .couponItemContent .coupon-summary {
    top: 30%;
    font-size: 20px !important;
  }
  .ub-list-items .item-k .title {
    font-size: 20px !important;
  }

  /* .couponItemContent .coupon-like-btn img,.travel-like-btn img{ 
    height: 20px;
  } */
  .coupon-like-btn,
  .coupon-like-btn img,
  .travel-like-btn img {
    height: 20px;
    width: 21.5px;
  }

  .coupon-like-btn {
    bottom: 15px; /* 將連結定位到容器的最右側 */
  }

  /* ---- */
  .horizontal-scroll {
    justify-content: unset;
  }
  /* 旅遊攻略-特別企劃懶人包 */
  .horizontal-scroll#specialPlanContainer {
    max-height: 208px !important;
    flex-wrap: wrap;
    /* 要改成橫向滑動直接改row */
    flex-direction: column;
    /* 要改成橫向滑動直接改row */
  }
  .travel-articles-special-card {
    height: 177px;
    width: 226px;
  }
  /* -- */
  .horizontal-scroll.gap-100 {
    gap: 164px;
  }
  .horizontal-scroll.gap-unset {
    gap: unset;
  }
  .horizontal-scroll.gap-100.gap-86 {
    gap: 53px !important;
  }

  /* 限時活動 */
  .horizontal-scroll.gap-10 {
    gap: 10px;
    padding: 0px 0px 15px 0px;
  }
  .limited-time-events-item {
    width: 366px;
    height: 192px;
  }
  .limited-time-events-title {
    font-size: 33px;
  }
  .ub-nav-header-container {
    height: 53px;
  }

  /* 主題活動按鈕 */
  .themed-events-title {
    font-size: 20px;
    width: 120px;
    overflow: hidden;
    max-height: 46px;
  }
  .themed-events-text {
    line-height: 24px;
  }
  .themed-events-container {
    width: 120px;
    /* height: 160px; */
    /* height: 118px; */
    min-height: 118px;
    padding: 5px;
  }
  .themed-events-item {
    height: 70px;
    width: 70px;
  }

  /* 賺物賺點 */
  .shopListContainerRow {
    width: 100%;
    max-height: 390px;
    /* 九宮格高度 */
    /* 九宮格高度 */
    max-height: 392px;
    /* 九宮格高度 */
    /* 九宮格高度 */

    gap: 42px 0px;
    align-content: flex-start;
  }
  .parent {
    gap: 40px 20px;
    height: 380px;
  }
  .shopListItem {
    width: 275px;
    height: 100px;
    /* flex: 0 0 calc(32% - 15px); */
    flex: 0 0 calc(32% - 1px);
  }
  .shopListImage {
    height: 100px;
    width: 100px;
  }
  .shopListInfoContainer {
    left: 120px;
  }
  .shopListInfoContainer {
    width: 100%;
    width: 63%;
  }
  .shoplist-travel-summary {
    font-size: 19px;
    text-overflow: ellipsis;
    width: 200px;
    overflow: hidden;
  }
  .shoplist-travel-flag {
    font-size: 14px;
    line-height: 14px;
  }
  .shoplist-point {
    padding: 0px 5px 0px 5px;
  }
  .shoplist-point,
  .shoplist-discount-price,
  .shoplist-price {
    font-size: 18px;
  }

  /* ------ */
  .btn {
    height: 39px;
    font-size: 21px;
  }

  .strategy-buttons {
    margin-bottom: 2px;
  }
  #shopListButtonsContainer.strategy-buttons {
    margin-bottom: 8px;
  }
  .coupon-buttons {
    margin-bottom: 4px;
  }

  /* 旅遊攻略 */
  #travelContainer .travel-card,
  #likeDataContainer .travel-card {
    width: 484px;
    height: 183px;
  }
  .travel-card.user-info-travel-card {
    height: 183px;
  }
  #travelContainer .travel-card.list-travel-card,
  #likeDataContainer .travel-card.list-travel-card {
    width: 484px;
    margin: 7px;
  }
  #travelContainer .travel-card.list-travel-card {
    width: 480px;
  }
  #likeDataContainer .travel-card.list-travel-card {
    width: 480px;
  }
  .ub-list-items-max-height {
    max-height: 979px;
  }

  /* ======list min & max======= */
  /* 優惠券 */
  /* 旅遊list */

  .row-max-height-travellist {
    align-content: flex-start;
  }
  /* 個人頁list */

  .row-max-height-userinfo {
  }
  /* ============= */
  /* ============= */

  .travel-card-image {
    height: 183px;
    width: 183px;
  }
  .travel-card-title {
    font-size: 24px;
    overflow: unset;
    height: unset;
    /*  */
    overflow: hidden;
    height: 110px;
    /*  */
    line-height: 31px;
    /* border: 1px red solid; */
    height: 99px;
  }

  .travel-card-content {
    padding: 10px;
    padding-right: 20px;
  }

  .scroll-list-arrow-hidden {
    display: block;
  }
  /* 旅遊好物 */
  .productItemContent {
    width: 176px;
    height: 347px;
  }
  .productImage {
    height: 176px;
  }

  .product-discount-price,
  .product-price,
  .product-name {
    font-size: 20px;
    margin-bottom: 9px;
  }

  .product-discount-price,
  .product-price,
  .product-name,
  .point-container {
    font-size: 20px;
    margin-bottom: 7px;
  }

  .product-brand {
    font-size: 20px;
    position: unset;
  }
  .product-point {
    height: 19px;
    width: 19px;
    font-size: 14px;
  }

  .product-name {
    max-height: 45px;
    height: fit-content;
    line-height: 23.36px;
  }

  /* 會員登入資訊頁 */
  .user-rewards-container {
    align-items: unset;

    padding: 30px 65px;
    font-size: 28px;
    color: #979797;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 300;
    border: 1px #c4c4c4 solid;
    border-radius: 10px;
  }
  .rewards-field-container {
    width: unset;
    display: flex;
    justify-content: space-between;
    border: 0px #c4c4c4 solid;
    padding: unset;
  }
  .rewards-field {
    display: flex;
    align-items: center;
  }
  .welcome-font {
    align-self: flex-start;
    font-weight: 700;
  }

  .user-link-icon,
  .user-link-icon-hover {
    height: 25px;
    margin-left: 5px;
  }

  .p-rewards-field {
    gap: 20px;
    flex-direction: row;
  }
  .ub-nav-header-userInfo {
    text-align: left;
  }

  /* 試圖解決上線後圖片寬度超出問題 */
  .header-img-container {
    width: 195px;
    height: 35px;
  }
  /* ---- */

  .ub-header-b .logo {
    /* 蓋掉套件 */
    top: -21px;
    width: 217px;
    /* height: auto; */
  }

  .p-rewards-field .member-point {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
  }
  .member-point-icon {
    height: 30px;
    font-weight: 900;
    width: 30px;
    padding-left: 9px;
    border-radius: 100px;
    background-color: #58eb8a;
    color: white;
    font-size: 20px;
  }
}

.header-left a img {
  height: 22.5px;
}
/* @media (min-width: 1024px){ */
@media (min-width: 728px) {
  .header-left a img {
    height: 37.5px;
  }
  .header-right img {
    width: 35.5px;
  }
  .ub-header-b {
    min-height: 80px;
  }
  .swiper-slide .cover .rmax {
    width: 100% !important;
  }

  /*  === zoom === */

  html {
    /* zoom: 0.7 !important; */
  }
  #interstitial,
  .ad {
    zoom: 1.2 !important;
  }
  #TenMax_fix_bottom,
  #TenMax_sticky {
    zoom: 1.1 !important;
  }
  #interstitial.tenmax_ad_container.show .content {
    height: 120vh !important;
  }

  /*  */
  .privacy-modal-content {
    max-height: 90vh !important;
  }
  .privacy-modal-content,
  .confirm-box-container {
    width: 76% !important;
  }
  /* ============ */
  /* ============ */
}

/* 搜尋頁 */
/* 搜尋頁 */
/* @media (max-width: 1023px){ */
@media (max-width: 727px) {
  .ub-list-items-search {
    height: fit-content;
    max-height: 300px;
    overflow: hidden;
  }
  .ub-list-items-search-showscroll {
    max-height: 590px;
    overflow-y: scroll;
  }
  .travel-card-search {
    width: 97% !important;
  }
  .showmore-travelcard-search,
  .showmore-couponcard-search {
    cursor: pointer;
    padding: 3px 0px 16px 0px;
    text-align: center;
    color: rgb(3, 110, 191);
    margin-bottom: 15px;
  }
  .showmore-travelcard-search.hidden {
    display: none !important;
  }
  .showmore-couponcard-search.hidden {
    display: none !important;
  }
  .searchpage-min-height {
    min-height: calc(100vh - 244px);
  }
  .no-collection-text {
    font-size: 19px !important;
  }
  .rewards-field {
    flex-direction: column;
  }
}

/* @media (min-width: 1024px){ */
@media (min-width: 728px) {
  .themed-events-horizontal-scroll.space-around {
    justify-content: space-around;
  }

  .couponcard-title-search {
    height: 50% !important;
    font-size: 20px !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
  .searchpage-min-height {
    min-height: 1080px;
  }
  .ub-list-items-search {
  }
  .travel-card-search {
  }
  .travellist-search,
  .couponlist-search {
    max-height: 605px;
    overflow-y: scroll;
    flex-wrap: wrap;
    display: flex;
  }
  .travel-card-search {
    height: 183px;
    width: calc(48.5%);
  }

  /*  */
  .hottheme-scroll-container {
    gap: 8px !important;
  }
  .horizontal-scroll.gap {
    gap: 17px;
  }
  .blue-btns-container {
    margin-bottom: 7px !important;
    /* border:1px  #0072C5 solid; */
  }
}

/*  */
.ub-empty.tw-my-20{
  transform: scale(2);
  transform-origin: top center;
}
/* -------- */

#travelContainer div,
#travelContainer a,
#hotThemeScrollContainer div,
#hotThemeScrollContainer a,
#couponContainer div,
#couponContainer a,
#limitScrollContainer div,
#limitScrollContainer a,
#shopListContainer div,
#shopListContainer a,
#productListContainer div,
#productListContainer a,
#specialPlanContainer div,
#specialPlanContainer a,
.horizontal-scroll.gap-100.themed-events-horizontal-scroll.gap-86 div,
.horizontal-scroll.gap-100.themed-events-horizontal-scroll.gap-86 a {
  -webkit-user-select: none !important; /* Safari */
  -moz-user-select: none !important; /* Firefox */
  -ms-user-select: none !important; /* IE 10+ and Edge */
  user-select: none !important; /* Standard syntax */
}
