@charset "UTF-8";
/* =============================================================================
   CCT95 DESIGN BASE
   to quote Adobe Dreamweaver CS6 as boilerplate.css
   ========================================================================== */
/* =============================================================================
   HTML5 顯示定義
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
}

[hidden] {
  display: none;
}

/* =============================================================================
   印刷樣式
   ========================================================================== */
abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* 重新宣告固定寬度字體系列  */
pre, code, kbd, samp {
  font-family: monospace, monospace;
  _font-family: "courier new", monospace;
  font-size: 1em;
}

/* 改善所有瀏覽器中預先格式化之文字的可讀性 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before, q:after {
  content: "";
  content: none;
}

small {
  font-size: 85%;
}

/* 放置下標字和上標字內容，而不影響行高 */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* =============================================================================
   內嵌內容
   ========================================================================== */
/*
 * 1. 改善在 IE7 中縮放時的影像品質
 * 2. 移除影像容器上影像與邊框之間的間隙
 */
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}

/* 修正 IE9 中未隱藏的溢位 */
svg:not(:root) {
  overflow: hidden;
}

/* =============================================================================
   圖表
   ========================================================================== */
figure {
  margin: 0;
}

/* =============================================================================
   表單
   ========================================================================== */
form {
  margin: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/* 表示「label」會將焦點移至相關聯的表單元素 */
label {
  cursor: pointer;
}

/* 
 * 1. 修正 IE6/7/8/9 中非繼承的顏色 
 * 2. 修正 IE6/7 中顯示異常的對齊 
 */
legend {
  border: 0;
  padding: 0;
}

/*
 * 1. 修正所有瀏覽器中非繼承的字體大小
 * 2. 移除 FF3/4 S5 Chrome 中的邊界
 * 3. 在所有瀏覽器中定義一致的垂直對齊顯示
 */
button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
}

/*
 * 1. 顯示手掌游標，表示可點選的表單元素
 * 2. 允許 iOS 中可點選之表單元素的樣式
 */
button, input[type=button], input[type=reset], input[type=submit] {
  cursor: pointer;
}

/* 一致的方塊大小和外觀 */
input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
}

input[type=search] {
  box-sizing: content-box;
}

input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*  移除 FF3/4 中的內部內距和邊框 */
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* 
 * 1. 移除 IE6/7/8/9 中的預設垂直捲軸 
 * 2. 僅允許垂直調整大小
 */
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

/* 表單有效性的色彩 */
input:invalid, textarea:invalid {
  background-color: #f0dddd;
}

/* =============================================================================
   表格
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  vertical-align: top;
}

/* ==|== 非語意的 helper 類別 ========================================
   在進入此區段之前，請先定義您的樣式。
   ========================================================================== */
/* 用於影像取代 */
.ir {
  display: block;
  border: 0;
  text-indent: -999em;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
}

.ir br {
  display: none;
}

/* 同時在螢幕讀取器和瀏覽器中隱藏: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden;
}

/* 僅垂直隱藏，但在螢幕讀取器中提供使用: h5bp.com/v */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* 擴充 .visuallyhidden 類別，以允許元素可在透過鍵盤瀏覽時取得焦點: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/* 垂直隱藏且在螢幕讀取器中隱藏，但保留版面 */
.invisible {
  visibility: hidden;
}

/* 包含浮動: h5bp.com/q */
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* ==|== 列印樣式 =======================================================
   列印樣式。
   已內嵌，以避免必要的 HTTP 連線: h5bp.com/r
   ========================================================================== */
@media print {
  /* 黑色的列印速度更快 */
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  a, a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /* 不要顯示影像的連結或 javascript/內部連結 */
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
    content: "";
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    page-break-after: avoid;
  }
}
/* =============================================================================
   ALL USE
   ========================================================================== */
html {
  height: 100%;
}

.clear {
  clear: both;
}

/* 消虛線IE7 */
/* JQ TOOL USE */
a.disabled {
  visibility: hidden !important;
}

/* =============================================================================
   base style
   ========================================================================== */
body, td, th, input {
  font-size: 14px;
  -webkit-text-size-adjust: none;
}

a:link, a:visited {
  text-decoration: none;
}

a:hover, a:active {
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
}

/* CSS Document */
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: none; /*  Fix Chrome Font size limit */
}

li {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit;
  font: 100%;
}

fieldset, img {
  border: none;
}

address, caption, cite, code, dfn, em, th, var {
  font-style: normal;
  font-weight: normal;
}

img {
  vertical-align: middle;
}

abbr, acronym {
  border: none;
  font-variant: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input, button, textarea, select {
  font-size: 100%;
}

input {
  vertical-align: middle;
}

select, input, button, textarea {
  font: 100% Verdana, Arial, Helvetica, sans-serif;
}

pre, code, kbd, samp, tt {
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

small {
  font-size: 100%;
}

ins {
  text-decoration: none;
}

pre {
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
}

body {
  min-height: 100vh;
  margin: 0px;
  padding: 0px;
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  overflow-x: hidden;
  color: #252525;
}

* {
  box-sizing: border-box;
}
*:focus {
  outline: 0;
}

input::-webkit-input-placeholder {
  font-family: "Noto Sans TC", sans-serif;
  color: #aaaaaa;
}

textarea, input, select, option {
  font-family: "Noto Sans TC", sans-serif;
  color: #252525;
}

p, ul li, ol li {
  font-size: 14px;
  line-height: 25px;
}

ol li {
  list-style-type: decimal;
  margin-left: 16px;
}

a {
  color: #252525;
}
a:hover {
  text-decoration: none;
}
a:focus {
  outline: 0;
}

h2 {
  font-size: 20px;
  font-weight: 700;
}

.button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 16px;
  height: 36px;
  color: white;
  border-radius: 40px;
  background-color: #252525;
  transform: scale(1);
  cursor: pointer;
  transition: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.button img {
  width: 24px;
  padding: 4px;
}
.button span {
  font-size: 14px;
}
.button:hover {
  transform: scale(1.075);
  border-radius: 18px;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.button.back {
  align-self: center;
  justify-content: center;
  width: 240px;
  margin-bottom: 16px;
}
.button--border {
  color: #656565;
  border: #d9d9d9 1px solid;
  background-color: transparent;
}
.button--border:hover {
  border: #959595 1px solid;
}
.button--border.disabled:hover {
  transform: scale(1);
  border-radius: 40px;
  border: #d9d9d9 1px solid;
  transition: none;
  cursor: not-allowed;
}
.button--circle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
}
.button--circle img {
  width: 20px;
}
.button--back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
}
.button--back img {
  width: 16px;
}
.button--sm {
  font-size: 12px;
  height: 30px;
  line-height: 22px;
  padding: 4px 16px;
}
.buttonArea {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 48px 48px 0;
}
.header .headerList {
  display: flex;
  flex-direction: row;
}
.header .headerList .noticeNav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
}
.header .headerList .noticeNav li {
  position: relative;
}
.header .headerList .noticeNav li .notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #006b62;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.header .headerList .noticeNav li img {
  width: 20px;
}
.header .headerList .mainNav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
  border-left: #252525 1px solid;
  z-index: 999;
}
.header .headerList .mainNav li:first-child {
  display: none;
}

.header .headerList .selectInput {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  background-color: #f2f2f2;
}
.header .headerList .selectInput .selectHead {
  padding-right: 8px;
  font-size: 12px;
  color: #959595;
  border-right: #959595 1px solid;
}
.header .headerList .selectInput select {
  min-width: 100px;
  padding: 0 32px 0 0;
  border: 0;
  appearance: none;
  background-color: transparent;
  background-image: url('../images/icon--arrowDown.svg');
  background-position: right center;
  background-size: 12px;
  background-repeat: no-repeat;
}
.header .headerList .openMenu {
  display: none;
  position: relative;
  width: 30px;
  margin: 10px 0 8px 16px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.header .headerList .openMenu::after {
  content: '';
  position: absolute;
  top: calc( 50% - 1px);
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}
.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  padding: 35px 48px 0;
}
.content .insideTitle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.content .insideTitle .head, .content .insideTitle .option {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.content .insideTitle .head .title, .content .insideTitle .option .title {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.content .insideTitle .head .title h2, .content .insideTitle .option .title h2 {
  font-size: 24px;
}
.content .insideTitle .head .title h2:nth-child(n+2), .content .insideTitle .option .title h2:nth-child(n+2) {
  padding-left: 16px;
  border-left: #d9d9d9 1px solid;
}
.content .insideTitle .searchInput {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 16px;
  border-radius: 24px;
  border: #d9d9d9 1px solid;
  background-color: white;
}
.content .insideTitle .searchInput input {
  min-width: 100px;
  padding: 0;
  border: 0;
  background-color: transparent;
}
.content .insideTitle .searchInput .icon--search {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("../images//icon--search.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}
.content .insideTitle .selectInput {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  background-color: #f2f2f2;
}
.content .insideTitle .selectInput .selectHead {
  padding-right: 8px;
  font-size: 12px;
  color: #959595;
  border-right: #959595 1px solid;
}
.content .insideTitle .selectInput select {
  min-width: 100px;
  padding: 0 32px 0 0;
  border: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  background-image: url("../images/icon--arrowDown.svg");
  background-position: right center;
  background-size: 12px;
  background-repeat: no-repeat;
}
.content .insideTitle .price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
}
.content .insideTitle .price span.subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #959595;
}
.content .pageList {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
}
.content .pageList li a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  color: #959595;
  border-radius: 4px;
  border: #d9d9d9 1px solid;
  transform: scale(1);
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
}
.content .pageList li a img {
  width: 4px;
}
.content .pageList li a:hover {
  transform: scale(1.075);
  border-radius: 4px;
  border: #959595 1px solid;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 48px 18px;
  background-color: #ECF4F2;
}
.footer .footerTop .subNav {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.footer .footerTop .subNav li a {
  padding: 0 16px;
  border-left: #aaaaaa 1px solid;
  font-size: 12px;
}
.footer .footerTop .subNav li:first-child a {
  padding-left: 0;
  border-left: 0;
}
.footer .footerBottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: #aaaaaa 1px solid;
}
.footer .footerBottom .cpoyright {
  font-size: 12px;
}
.footer .footerBottom .socialNav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer .footerBottom .socialNav li a img {
  width: 20px;
}

@media screen and (max-width: 979px) {
  .button {
    padding: 4px 16px;
    height: 56px;
  }
  .button span {
    font-size: 16px;
  }
  .button--circle {
    width: 24px;
    height: 24px;
    padding: 0;
  }
  .button--back {
    width: 32px;
    height: 32px;
    padding: 0;
  }
  .button--sm {
    height: 32px;
  }
  .header {
    padding: 48px 24px 0;
  }
  .header .headerList .noticeNav {
    padding-right: 0;
  }
  .header .headerList .noticeNav li img {
    width: 24px;
  }
  .header .headerList .noticeNav li .notification-badge {
    width: 18px;
    height: 18px;
  }
  .header .headerList .mainNav {
    position: fixed;
    bottom: 0;
    left: 0;
    flex-direction: column;
    width: 100%;
    height: 0;
    padding: 0 24px 0;
    border-left: 0;
    border-radius: 18px;
    background-color: white;
    box-shadow: 0 -5px 24px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 99999999;
    transition: .3s;
  }
  .header .headerList .mainNav li {
    flex: 1;
    width: 100%;
  }
  .header .headerList .mainNav li .button {
    justify-content: center;
  }
  .header .headerList .mainNav li:first-child {
    display: none;
  }
  .header .headerList .mainNav.open {
    height: auto;
    padding: 24px 24px 48px;
  }
  .header .headerList .selectInput {
    padding: 4px 16px;
    height: 56px;
    border-radius: 56px;
  }
  .header .headerList .selectInput select {
    width: 100%;
  }
  .header .headerList .openMenu {
    display: block;
  }
  .content {
    padding: 24px 24px 152px;
  }
  .content .insideTitle {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .content .insideTitle .head, .content .insideTitle .option {
    align-items: center;
    font-size: 12px;
  }
  .content .insideTitle .buttonArea .button {
    height: 32px;
    padding: 4px 8px;
    font-size: 12px;
  }
  .content .insideTitle .buttonArea .button span {
    font-size: 12px;
  }
  .content .insideTitle .buttonArea .button img {
    width: 14px;
    padding: 0;
  }
  .footer {
    display: none;
  }
}
.indexProdctList {
  display: flex;
  flex-direction: row;
  gap: 16px;
  height: calc(100vh - 240px - 72px);
}
.indexProdctList li {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.indexProdctList li a {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}
.indexProdctList li a img {
  width: 100%;
}
.indexProdctList li a .productTitle {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: white;
  /* background-color: rgba(0, 0, 0, 0.45); */
}
.indexProdctList li a .productTitle h2 {
  font-size: 32px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.8);
}
.indexProdctList li a .productTitle span {
  font-size: 16px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 979px) {
  .indexProdctList {
    flex-direction: column;
    height: calc(100vh - 80px - 48px);
    z-index: 9999;
  }
  .indexProdctList li a .productTitle {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px;
  }
}
.app--product {
  background-position: top center;
  background-size: contain;
}
.app--product .header, .app--product .content {
  background-color: white;
}
.app--product .content .insideTitle .head .title {
  flex-direction: column;
  gap: 0;
}
.app--product .content .insideTitle .head .title > * {
  white-space: nowrap;
}

.productList {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  padding: 8px;
}
/* 自定義 scrollbar 樣式 */
.productList::-webkit-scrollbar {
  width: 8px;
}

.productList::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.productList::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.productList::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.productList li {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.productList__img {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  margin: 10px;
}
.productList__detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.productList__detail .head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.productList__detail .head .name {
  font-weight: 700;
}
.productList__detail .head .price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
.productList__detail .head .price span.unit {
  font-size: 12px;
  color: #959595;
}
.productList__detail .spec {
  flex: 1;
  font-size: 12px;
  color: #959595;
}
.productList__detail .detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.productList__detail .detail .shift {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.productList__detail .detail .shift img {
  width: 10px;
}
.productList__detail .detail .shift .price-rise {
  color: #ff4545;
}
.productList__detail .detail .shift .price-fall {
  color: #48c781;
}
.productList__detail .detail .trend {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  gap: 4px;
}
.productList__detail .detail .trend img {
  width: 16px;
}
.productList__option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
}
.productList__option > img {
  width: 24px;
}
.productList__option img.icon--favorite {
  cursor: pointer;
}

.no-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
}

.no-product__icon {
  margin-bottom: 15px;
}

.no-product__icon svg {
  width: 80px;
  height: 80px;
  opacity: 0.8;
}

.no-product__content h3 {
  font-size: 18px;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.no-product__content p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

@media screen and (max-width: 979px) {
  .app--product {
    background-position: top center;
    background-size: contain;
  }
  .app--product .header, .app--product .content {
    background-color: rgba(0, 0, 0, 0.5);
  }
  .app--product .noticeNav img, .app--product .openMenu {
    filter: invert(1) brightness(200);
  }
  .app--product .content {
    padding: 0;
  }
  .app--product .content .insideTitle {
    margin-bottom: -25px;
  }
  .app--product .content .insideTitle .head {
    padding: 24px 24px;
    color: white;
  }
  .app--product .content .insideTitle .head .title {
    text-shadow: 2px 2px rgba(0, 0, 0, 0.8);
  }
  .app--product .content .insideTitle .option {
    flex-direction: row-reverse;
    padding: 24px;
    border-radius: 16px 16px 0 0;
    background-color: white;
  }
  .app--product .content .insideTitle img {
    filter: brightness(200);
  }
  .productList {
    flex-direction: column;
    gap: 24px;
    padding: 0 24px 152px;
    background-color: white;
    max-height: none;
    overflow-y: visible;
  }
  .productList li {
    flex: 1;
  }
  .productList__img {
    width: 100px;
    height: 100px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
  .productList__detail {
    padding: 8px;
  }
  .productList__detail .head, .productList__detail .spec, .productList__detail .detail {
    font-size: 12px;
  }
  .productList__option {
    align-items: center;
    padding: 12px 12px 12px 0;
  }
  .productList__option > img {
    width: 24px;
  }
  .content--favorite .selectInput {
    width: 100%;
  }
  .content--favorite .selectInput select {
    width: calc(100% - 42px);
  }
  .content--favorite .productList {
    padding: 0;
  }
  
  .no-product {
    min-height: 250px;
  }
  
  .no-product__icon svg {
    width: 60px;
    height: 60px;
  }
  
  .no-product__content h3 {
    font-size: 16px;
  }
  
  .no-product__content p {
    font-size: 13px;
  }
}
.insideTitle--order .head .buttonArea .notice {
  display: none;
}

.orderTable {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 8px;
  border: #d9d9d9 1px solid;
}
.orderTable__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  height: 52px;
  border-top: #d9d9d9 1px solid;
  cursor: pointer;
}
.orderTable__row:nth-child(2n) {
  background-color: #fafafa;
}
.orderTable__row:hover {
  background-color: #f2f2f2;
}
.orderTable__row--head {
  height: 32px;
  border-top: 0;
}
.orderTable__row--head .orderTable__cell {
  color: #959595;
}
.orderTable__row--head:hover {
  background-color: white;
}
.orderTable__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}
.orderTable__cell span.price {
  font-size: 16px;
  font-weight: 700;
}

.insideTitle--orderInside .option h2 {
  display: none;
}

.orderDetail {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}
.orderDetail__shipping {
  display: flex;
  flex-direction: column;
  width: 400px;
  padding: 24px;
  border-radius: 8px;
  border: #d9d9d9 1px solid;
}
.orderDetail__shipping li {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 4px 0;
}
.orderDetail__shipping li .head {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 64px;
  color: #aaaaaa;
  font-size: 12px;
  border-radius: 4px;
  background-color: #f2f2f2;
}
.orderDetail__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: calc(100% - 448px);
}
.orderDetailTable {
  display: flex;
  flex-direction: column;
}
.orderDetailTable__row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 8px 0;
  border-top: #d9d9d9 1px solid;
  cursor: pointer;
}
.orderDetailTable__row--head {
  border-top: 0;
  color: #959595;
}
.orderDetailTable__cell {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.orderDetailTable__cell:first-child {
  flex: 5;
  justify-content: flex-start;
}
.orderDetailTable__cell:last-child {
  justify-content: flex-end;
}
.orderDetailDiscount {
  display: flex;
  flex-direction: column;
}
.orderDetailDiscount li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
  border-top: #d9d9d9 1px solid;
}

@media screen and (max-width: 979px) {
  .insideTitle--order .head {
    flex-wrap: wrap;
  }
  .insideTitle--order .head .title {
    width: 100%;
  }
  .insideTitle--order .head .notice {
    display: none;
  }
  .insideTitle--order .head .buttonArea {
    align-items: center;
    width: 100%;
  }
  .insideTitle--order .head .buttonArea .notice {
    display: block;
  }
  .insideTitle--order .head .buttonArea .button {
    position: absolute;
    right: 24px;
  }
  .insideTitle--order .option {
    gap: 0 !important;
  }
  .insideTitle--order .option .buttonArea {
    order: 1;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
  }
  .insideTitle--order .option .notice:first-child {
    order: 2;
  }
  .insideTitle--order .option .notice:nth-child(2) {
    order: 3;
  }
  .orderTable {
    padding: 0;
    border: 0;
  }
  .orderTable__row {
    cursor: pointer;
  }
  .orderTable__row:nth-child(2n) {
    background-color: white;
  }
  .content .insideTitle--orderInside .head {
    justify-content: flex-start;
  }
  .content .insideTitle--orderInside .head .title h2:last-child {
    display: none;
  }
  .content .insideTitle--orderInside .option {
    justify-content: space-between;
    padding-top: 16px;
  }
  .content .insideTitle--orderInside .option h2 {
    display: block;
    font-size: 24px;
  }
  .content .insideTitle--orderInside .option .price span {
    font-size: 16px;
  }
  .orderDetail {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .orderDetail__shipping {
    width: 100%;
    padding: 0;
    border: 0;
  }
  .orderDetail__shipping li {
    font-size: 16px;
  }
  .orderDetail__shipping li .head {
    font-size: 12px;
  }
  .orderDetail__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .orderDetailTable__cell:first-child {
    flex: 2;
  }
}
.cartDetail {
  display: flex;
  flex-direction: row;
  gap: 48px;
}
.cartDetail__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cartDetail__content .cartPrice {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 8px 0;
  border-top: #d9d9d9 1px solid;
}
.cartDetail__content .cartPrice .detail {
  font-size: 16px;
  font-weight: 700;
}
.cartDetail__shipping {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cartDetail__shipping li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 4px 0;
}
.cartDetail__shipping li:has(.button) {
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
}
.cartDetail__shipping li .head {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 24px;
  border-radius: 4px;
  font-size: 12px;
  color: #959595;
  background-color: #f2f2f2;
}
.cartDetail__shipping li .detail {
  flex: 1;
}
.cartDetail__shipping li .detail select, .cartDetail__shipping li .detail input {
  width: 100%;
  height: 38px;
  padding: 0;
  line-height: 38px;
  border: 0;
  border-bottom: #d9d9d9 1px solid;
}
.cartDetail__shipping li .detail input#discount {
  width: 50px;
}
.cartDetail__shipping li .detail .balance-warning {
  display: none;
  margin-left: 6px;
  color: red;
}
.cartDetail__shipping li .button {
  width: 160px;
  margin-top: 24px;
  justify-content: center;
}

@media screen and (max-width: 979px) {
  .insideTitle--cart .option {
    padding-top: 16px;
  }
  .insideTitle--cart .option .selectInput {
    width: 100%;
  }
  .insideTitle--cart .option .selectInput select {
    width: calc(100% - 42px);
  }
  .cartDetail {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .cartDetail__shipping li .button {
    width: 50%;
    height: 40px;
  }
}
.messageList {
  display: flex;
  flex-direction: column;
  padding: 48px;
  border-radius: 8px;
  border: #d9d9d9 1px solid;
}
.messageList li:last-child a {
  border-bottom: 0;
}
.messageList li a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 8px;
  border-bottom: #d9d9d9 1px solid;
}
.messageList li a .head {
  font-size: 16px;
  font-weight: 700;
}
.messageList li a .description p {
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 500px;
}
.messageList li a:hover {
  background-color: #fafafa;
}

.messageDetail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px;
  border-radius: 8px;
  border: #d9d9d9 1px solid;
}
.messageDetail .head {
  font-size: 16px;
  font-weight: 700;
}
.messageDetail .description p {
  font-size: 16px;
}
.messageDetail + .button {
  align-self: center;
  justify-content: center;
  width: 240px;
}

@media screen and (max-width: 979px) {
  .messageList {
    padding: 0;
    border: none;
  }
  .messageList li:last-child a {
    border-bottom: 0;
  }
  .messageList li a {
    gap: 0;
    padding: 8px 0;
  }
  .messageDetail {
    padding: 0;
    border: none;
  }
  .content .insideTitle--messageDetail .head {
    justify-content: flex-start;
  }
}
.memberArea {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 100%;
  background-image: url("../images/memberBG.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.memberArea__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  border-radius: 16px;
  background-color: white;
}
.memberArea .memberInfo {
  display: flex;
  flex-direction: row;
  gap: 48px;
  padding-top: 24px;
  border-top: #d9d9d9 1px solid;
}
.memberArea .memberInfo .memberLevel {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.memberArea .memberInfo .memberLevel__image {
  width: 80px;
  height: 80px;
  border-radius: 40px;
}
.memberArea .memberInfo .memberLevel .detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.memberArea .memberInfo .memberLevel .detail .level {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.memberArea .memberInfo .memberLevel .detail .process {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.memberArea .memberInfo .memberLevel .detail .process__BG {
  display: flex;
  flex-direction: row;
  width: 160px;
  height: 10px;
  border-radius: 10px;
  background-color: #f2f2f2;
}
.memberArea .memberInfo .memberLevel .detail .process__bar {
  width: 7%;
  height: 100%;
  border-radius: 10px;
  background-color: #C3D94E;
}
.memberArea .memberInfo .memberDetail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.memberArea .memberInfo .memberDetail li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.memberArea .memberInfo .memberDetail li .head {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 24px;
  color: #959595;
  background-color: #f2f2f2;
}
.memberArea .memberInfo .memberDetail li .detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 196px;
}

@media screen and (max-width: 979px) {
  .memberArea {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    background-image: none;
  }
  .memberArea__card {
    width: 100%;
    padding: 0;
  }
  .memberArea__card .insideTitle {
    flex-direction: row;
  }
  .memberArea__card .insideTitle .head {
    justify-content: flex-start;
  }
  .memberArea .memberInfo {
    flex-direction: column;
    gap: 24px;
    padding-top: 0;
    border-top: none;
  }
  .memberArea .memberInfo .memberLevel {
    width: 100%;
  }
  .memberArea .memberInfo .memberLevel .detail {
    width: calc(100% - 104px);
  }
  .memberArea .memberInfo .memberLevel .detail .process__BG {
    width: calc(100% - 24px);
  }
  .memberArea .memberInfo .memberDetail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .memberArea .memberInfo .memberDetail li {
    width: 100%;
  }
  .memberArea .memberInfo .memberDetail li .detail {
    justify-content: space-between;
    width: calc(100% - 96px);
  }
}
.dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99999;
}
.dialog.isOpen {
  opacity: 1;
  pointer-events: auto;
}
.dialogBox {
  display: none;
  flex-direction: column;
  gap: 24px;
  width: 320px;
  padding: 24px;
  border-radius: 16px;
  background-color: white;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dialogBoxStyle--big {
  align-items: center;
  width: calc(100% - 48px);
  max-width: 640px;
  max-height: calc(100% - 48px);
  overflow: auto;
}
.dialogBox.isActive {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.dialogBox .dialogTitle--login {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: #d9d9d9 1px solid;
}
.dialogBox .dialogPage section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dialogBox .dialogPage section h1 {
  font-size: 16px;
}
.dialogBox .dialogPage section h2 {
  font-size: 14px;
}
.dialogBox .dialogDetail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dialogBox .dialogDetail li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}
.dialogBox .dialogDetail li .head {
  padding: 4px 8px;
  border-radius: 4px;
  color: #aaa;
  font-size: 12px;
  background-color: #f2f2f2;
}
.dialogBox .dialogDetail li .detail {
  width: calc(100% - 56px);
}
.dialogBox .dialogDetail li .amountInput {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
.dialogBox .dialogDetail li .amountInput .buttonArea--amount {
  gap: 4px;
}
.dialogBox .dialogDetail li .amountInput .buttonArea--amount .button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 24px;
  padding: 0;
  border-radius: 4px;
  font-size: 12px;
}
.dialogBox .dialogDetail li .amountInput input {
  flex: 1;
  max-width: calc(100% - 160px);
  border: none;
  text-align: center;
  border-bottom: #d6d6d6 1px solid;
}
.dialogBox .priceSum {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 8px 0;
  border-top: #d6d6d6 1px solid;
}
.dialogBox .priceSum .detail {
  font-size: 16px;
  font-weight: 900;
}
.dialogBox .historyList {
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
}
.dialogBox .historyList li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: #d6d6d6 1px solid;
}
.dialogBox .historyList li:last-child {
  border-bottom: 0;
}
.dialogBox .historyList li .detail {
  font-size: 16px;
}
.dialogBox .historyList li.switch-account {
  cursor: pointer;
}
.dialogBox .historyList li.current-account {
  cursor: default;
}
.dialogBox .dialogOptionList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dialogBox .dialogOptionList li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.dialogBox .dialogOptionList li .head {
  width: 40px;
  color: #aaa;
}
.dialogBox .dialogOptionList li .detail {
  width: calc(100% - 48px);
}
.dialogBox .dialogOptionList li .detail input {
  width: 100%;
  padding: 4px 8px;
  line-height: 30px;
  border-radius: 8px;
  border: #aaa 1px solid;
}
.dialogBox .loginOption {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}
.dialogBox .loginOption li {
  text-align: center;
}
.dialogBox .loginOption li span {
  text-decoration: underline;
  cursor: pointer;
}
.moneyDetail table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
  font-size: 15px;
}
.moneyDetail table thead tr {
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}
.moneyDetail table thead tr th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 500;
}
.moneyDetail table thead tr th.price {
  text-align: right;
}
.moneyDetail table tbody tr {
  border-bottom: 1px solid #eee;
}
.moneyDetail table tbody tr td {
  padding: 12px 12px;
}
.moneyDetail table tbody tr td.price {
  text-align: right;
}
.dialogBox .buttonArea .button--border {
  width: 64px;
}
.dialogBox .buttonArea .button--full {
  width: calc(100% - 80px);
}
.dialogBox .buttonArea .button--fullAll {
  width: 100%;
}
.dialogBox .copy-btn {
  color: #006b62;
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(56, 173, 118, 0.95); /* 綠色成功背景 */
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-10px);
}/*# sourceMappingURL=style.css.map */

.swal2-container {
  z-index: 999999 !important;
}

.pageList li.active a{
  background-color: #959595;
  color: #fff;
}

/* Policy Page Styles - 政策頁面樣式 */
.content--policy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  min-height: calc(100vh - 240px);
}

.policyContainer {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.policyHeader {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px solid #d9d9d9;
}

.policyHeader h1 {
  font-size: 32px;
  font-weight: 700;
  color: #252525;
  margin: 0;
}

.policyContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policyIntro {
  font-size: 16px;
  line-height: 28px;
  color: #252525;
  margin: 0;
  padding: 16px 0;
}

.policySection {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policySection h2 {
  font-size: 20px;
  font-weight: 700;
  color: #252525;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #e9e9e9;
}

.policySection p {
  font-size: 14px;
  line-height: 24px;
  color: #252525;
  margin: 0;
}

.policySection ul {
  margin: 0;
  padding-left: 20px;
}

.policySection li {
  font-size: 14px;
  line-height: 24px;
  color: #252525;
  margin-bottom: 8px;
  list-style-type: disc;
}

.policySection ul ul {
  margin-top: 8px;
  padding-left: 20px;
}

.policySection ul ul li {
  list-style-type: circle;
}

.policySection strong {
  font-weight: 700;
  color: #252525;
}

.policyConclusion {
  font-size: 16px;
  line-height: 28px;
  color: #252525;
  margin: 0;
  padding: 16px 0;
  text-align: center;
  font-style: italic;
}

/* 響應式設計 */
@media screen and (max-width: 979px) {
  .content--policy {
    padding: 24px 16px;
    min-height: calc(100vh - 176px);
  }
  
  .policyContainer {
    gap: 24px;
  }
  
  .policyHeader h1 {
    font-size: 24px;
  }
  
  .policyIntro {
    font-size: 14px;
    line-height: 24px;
  }
  
  .policySection h2 {
    font-size: 18px;
  }
  
  .policySection p,
  .policySection li {
    font-size: 13px;
    line-height: 22px;
  }
  
  .policyConclusion {
    font-size: 14px;
    line-height: 24px;
  }
}

/* Subscription 頁面樣式 - 符合 beta/ 整體風格 */
.subscriptionArea {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: calc(100vh - 240px);
  padding: 24px 48px 48px;
}

.subscriptionArea .subscriptionTitle {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.subscriptionArea .subscriptionTitle h1 {
  font-size: 24px;
  font-weight: 700;
  color: #252525;
}

.subscriptionArea .planContainer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.subscriptionArea .planContainer .planTitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #252525;
}

.subscriptionArea .planContainer .planItems {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.subscriptionArea .planContainer .planItems .planItem {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(50% - 8px);
  max-width: 400px;
  min-width: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background-color: white;
}

.subscriptionArea .planContainer .planItems .planItem:hover {
  transform: scale(1.02);
}

.subscriptionArea .planContainer .planItems .planItem.disabled {
  pointer-events: none;
  opacity: 0.7;
}

.subscriptionArea .planContainer .planItems .planItem a {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.subscriptionArea .planContainer .planItems .planItem a img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.subscriptionArea .planContainer .planItems .planItem a .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: all;
}

.subscriptionArea .planContainer .planItems .planItem a .checkmark {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background-image: url('../images/subscriptions_ok.png');
  background-size: cover;
  z-index: 2;
}

.subscriptionArea .planDetail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.subscriptionArea .planDetail h1 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #252525;
}

.subscriptionArea .planDetail .planContent {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  line-height: 25px;
  color: #252525;
}

.subscriptionArea .planDetail .planContent img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.subscriptionArea .planDetail .planPrice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #252525;
  text-align: center;
  margin-top: 20px;
}

.subscriptionArea .planDetail .planPrice.expiration {
  font-size: 16px;
  font-weight: 400;
  color: #959595;
}

.subscriptionArea .planDetail .buttonArea {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.subscriptionArea .planDetail .buttonArea .subscribeButton, 
.subscriptionArea .planDetail .buttonArea .backButton {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 48px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  background-color: #252525;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(1);
}

.subscriptionArea .planDetail .buttonArea .subscribeButton:hover, 
.subscriptionArea .planDetail .buttonArea .backButton:hover {
  transform: scale(1.05);
  background-color: #179b16;
}

.subscriptionArea .planDetail .buttonArea .subscribeButton:focus, 
.subscriptionArea .planDetail .buttonArea .backButton:focus {
  outline: 0;
}

.subscriptionArea .planDetail .buttonArea .cancelButton {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 48px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  background-color: #ff4d4d;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(1);
}

.subscriptionArea .planDetail .buttonArea .cancelButton:hover {
  transform: scale(1.05);
  background-color: #e60000;
}

.subscriptionArea .planDetail .buttonArea .cancelButton:focus {
  outline: 0;
}

.subscriptionArea .cancelSubscription {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 16px;
  color: #ff4d4d;
  text-align: center;
}

/* Modal 樣式 */
.modal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal .modal-header {
  border-bottom: 1px solid #d9d9d9;
  padding: 24px;
}

.modal .modal-header .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #252525;
}

.modal .modal-header .close {
  font-size: 24px;
  color: #959595;
  opacity: 1;
}

.modal .modal-header .close:hover {
  color: #252525;
}

.modal .modal-body {
  padding: 24px;
}

.modal .modal-body .form-group {
  margin-bottom: 20px;
}

.modal .modal-body .form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #252525;
}

.modal .modal-body .form-group .form-control {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 14px;
  color: #252525;
  background-color: white;
  transition: border-color 0.3s ease;
}

.modal .modal-body .form-group .form-control:focus {
  border-color: #252525;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(37, 37, 37, 0.1);
}

.modal .modal-body .form-group .form-control::placeholder {
  color: #aaaaaa;
}

.modal .modal-body .btn-primary {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  background-color: #252525;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(1);
}

.modal .modal-body .btn-primary:hover {
  transform: scale(1.02);
  background-color: #179b16;
}

.modal .modal-body .btn-primary:focus {
  outline: 0;
}

/* 成功/錯誤頁面樣式 */
.resultPage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 48px;
  text-align: center;
}

.resultPage h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 24px;
}

.resultPage p {
  font-size: 16px;
  line-height: 25px;
  color: #252525;
  margin-bottom: 24px;
}

.resultPage .resultButton {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 48px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  background-color: #9195c2;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(1);
  text-decoration: none;
}

.resultPage .resultButton:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

.resultPage .resultButton:focus {
  outline: 0;
}

/* RWD 響應式設計 */
@media screen and (max-width: 979px) {
  .subscriptionArea {
    padding: 24px 24px 152px;
  }
  
  .subscriptionArea .planContainer .planItems {
    flex-direction: column;
    align-items: center;
  }
  
  .subscriptionArea .planContainer .planItems .planItem {
    width: 100%;
    max-width: 400px;
    min-width: unset;
    margin-bottom: 16px;
  }
  
  .subscriptionArea .planContainer .planItems .planItem a img {
    max-height: 150px;
  }
  
  .subscriptionArea .planDetail {
    padding: 24px;
  }
  
  .subscriptionArea .planDetail h1 {
    font-size: 20px;
  }
  
  .subscriptionArea .planDetail .planContent {
    font-size: 14px;
  }
  
  .subscriptionArea .planDetail .planPrice {
    font-size: 18px;
  }
  
  .subscriptionArea .planDetail .buttonArea .subscribeButton, 
  .subscriptionArea .planDetail .buttonArea .backButton, 
  .subscriptionArea .planDetail .buttonArea .cancelButton {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }
  
  .modal .modal-dialog {
    margin: 16px;
  }
  
  .modal .modal-content {
    border-radius: 12px;
  }
  
  .modal .modal-header, .modal .modal-body {
    padding: 16px;
  }
  
  .resultPage {
    padding: 24px;
  }
  
  .resultPage h2 {
    font-size: 20px;
  }
  
  .resultPage p {
    font-size: 14px;
  }
  
  .resultPage .resultButton {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .content .searchInput {
    width: 175px;
  }
}

.grecaptcha-badge {
  display: none !important;
}

/* 置頂按鈕樣式 */
.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: #252525;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* .back-to-top:hover {
  background-color: #006b62;
  transform: scale(1.1);
} */

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top i {
  font-size: 22px;
}

/* 手機版置頂按鈕樣式 */
@media screen and (max-width: 979px) {
  .back-to-top {
    right: 16px;
    width: 40px;
    height: 40px;
  }
  
  .back-to-top i {
    font-size: 18px;
  }
}