.網頁{
    overflow: hidden;
}
html::-webkit-scrollbar {
    display: none;
}
.物件漂浮 {
    position: relative; /* 保證元素可以浮動 */
    animation: var(--漂浮速率,float 3s) ease-in-out infinite; /* 設定漂浮動畫 */
  }
  @keyframes float {
    0% {
      transform: translateX(0) translateY(0);
    }
    50% {
      transform: var(--漂浮幅度,translateX(0px) translateY(-10px)); /* 漂浮的高度 */
    }
    100% {
      transform: translateX(0) translateY(0);
    }
  }


/*站內搜尋元件*/

.站內搜尋框 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.搜尋-輸入 {
    flex: 1;
    width: 100%;
    padding: 9px;
    background-color: #ffffff00;
    border: 1px solid #C2A569;
    border-radius: 1px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    font-family: 'Noto Serif TC', serif;
}
.搜尋-輸入:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    font-family: 'Noto Serif TC', serif;
}
.搜尋-按鈕 {
    width: 30%;
    background-color: #C2A569;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 1px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Noto Serif TC', serif;
}
.搜尋-按鈕:hover {
    background-color: #D0021B
;
}
.搜尋結果-下拉 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    padding: 12px;
}
.搜尋結果-下拉.顯示 {
    display: block;
}
.旋轉器框 {
    display: flex;
    justify-content: center;
    padding: 10px;
}
.旋轉器 {
    width: 24px;
    height: 24px;
}
.搜尋結果框 {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.3s;
}
.搜尋結果框:hover {
    background: #f8f9fa;
}
.搜尋結果-標題 {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}
.搜尋結果-敘述 {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
}
.高亮{color: red;}



/*購物車按鈕元件*/

.購物車框 {
    position: relative;
    display: inline-block;
}

.購物車按鈕 {
    display: flex;
    flex-direction: column; /* 改為直向排列 */
    align-items: center;
    justify-content: center;
    gap: 4px; 
    background-color: rgba(0,0,0,0);
    color: white;
    border: none;
    padding: 0px 0px; /* 增加上下內距 */
    cursor: pointer;
    font-size: 16px;
    font-family: 'Noto Serif TC', serif;
    position: relative;
    width: 100%;
    height: 100%; 
}
.購物車按鈕{
    background-color: rgba(0,0,0,0);
}
.CartButton________YrNTI:hover {
    background-color: rgba(0, 0, 0, 0);
}
.購物車按鈕-圖標 {
    width: 100%; 
    height: 100%;
    background-image: url('https://king-pork-bucket.s3.ap-southeast-1.amazonaws.com/public_media/%E8%B3%BC%E7%89%A9%E8%BB%8A%E6%8C%89%E9%88%95.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.購物車按鈕-圖標:hover {
    background-image: url('https://king-pork-bucket.s3.ap-southeast-1.amazonaws.com/public_media/%E8%B3%BC%E7%89%A9%E8%BB%8A%E6%8C%89%E9%88%952.svg');
}
.購物車按鈕-文字 {
    display: none;
}
.購物車按鈕-商品數 {
    background: red;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    padding: 1px 1px;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
}

.購物車-下拉 {
    background:#ffffff;
    height:100vh;
    position:fixed;
    top:0vh;
    right: 0px;
    opacity: 0;
    display: block;
    pointer-events: none;/*讓物件點不到*/
    border-radius:0px;
    transition: opacity 0.3s ease, right 0.5s ease;
}
.購物車-下拉.顯示 {
    background: #f1f1f1;
    height: 100vh;
    width: 38vw;
    position: fixed;
    top: 0vh;
    right: 0px;
    opacity: 1;
    border-radius: 0px;
    pointer-events: auto;
    transition: opacity 0.3s ease, right 0.5s ease;
}
@media only screen and  (min-width: 1921px)                         {.購物車-下拉.顯示 { width: 25vw; } }
@media only screen and  (min-width: 1536px) and (max-width: 1920px) {.購物車-下拉.顯示 { width: 25vw; } }
@media only screen and  (min-width: 1280px) and (max-width: 1535px) {.購物車-下拉.顯示 { width: 35vw; } }
@media only screen and  (min-width: 1024px) and (max-width: 1279px) {.購物車-下拉.顯示 { width: 50vw; } }
@media only screen and  (min-width: 768px)  and (max-width: 1023px) {.購物車-下拉.顯示 { width: 80vw; } }
@media only screen and  (min-width: 640px)  and (max-width: 767px)  {.購物車-下拉.顯示 { width: 80vw; } }
@media only screen and  (min-width: 390px)  and (max-width: 639px)  {.購物車-下拉.顯示 { width: 100vw; } }
@media only screen and                          (max-width: 389px)  {.購物車-下拉.顯示 { width: 100vw; } }

.購物車-下拉 .關閉按鈕{
    display: flex;
    margin-left: auto;
    color: #000;
    background: none;
    border: none;
    font-size: 30px;
}
.購物車列表框 {
    height: 100vh;
    max-height:89vh;
}
.購物車商品框 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.購物車商品框.缺貨 {
    opacity: 0.5;
}
.購物車商品-圖片框 img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}
.購物車商品-資訊框 {
    flex: 1;
    font-size: 14px;
}
.購物車商品-資訊框 .購物車商品-名稱 {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    color: #080808;
    padding: 10px 0px;
    font-family: 'Microsoft Jhenghei', serif;
    font-weight: bold;
}
.購物車商品-資訊框 .購物車商品-數量選擇框 {
    display: flex;
    padding: 20px 0px;
    gap: 10px;
}
.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量增加按鈕,
.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量減去按鈕 {
    background-color: #C2A569 !important;
    color: white;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 32px;
    min-width: 32px;
    max-height: 32px;
    min-height: 32px;
    border: 10px;
    font-size: 13pt;
    -webkit-text-stroke: #ffffff 1px;
    font-family: 'Font Awesome 6 Brands';
    line-height: 13pt;
    padding: 0px;
    margin: 0px;
}
.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量增加按鈕:hover,
.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量減去按鈕:hover {
    background-color: white !important;
    color: #C2A569;
    border: 0px;
    -webkit-text-stroke: #C2A569 1px;
}
.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 {
    width: 3vw;
    text-align: center;
    font-size: 15px;
}
@media only screen and  (min-width: 1921px)                         {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 3vw; } }
@media only screen and  (min-width: 1536px) and (max-width: 1920px) {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 3vw; } }
@media only screen and  (min-width: 1280px) and (max-width: 1535px) {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 3vw; } }
@media only screen and  (min-width: 1024px) and (max-width: 1279px) {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 5vw; } }
@media only screen and  (min-width: 768px)  and (max-width: 1023px) {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 8vw; } }
@media only screen and  (min-width: 640px)  and (max-width: 767px)  {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 8vw; } }
@media only screen and  (min-width: 390px)  and (max-width: 639px)  {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 10vw; } }
@media only screen and                          (max-width: 389px)  {.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量 { width: 10vw; } }

.購物車商品-資訊框 .購物車商品-數量選擇框 .商品數量增加按鈕,.商品數量減去按鈕 {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 90px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    font-weight: 800;
}
.購物車商品-變體名稱, .購物車商品-任搭名稱 {
    color: #dc3545;
    font-family: 'Microsoft Jhenghei', serif;
    font-weight: 600;
    font-size: 14px;
}
.購物車商品-資訊框 .購物車商品-數量,
.購物車商品-資訊框 .購物車商品-價錢,
.購物車商品-資訊框 .購物車商品-變體類別1,
.購物車商品-資訊框 .購物車商品-變體類別2 {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    line-height: 28px;
    font-family: 'Microsoft Jhenghei', serif;
}
.購物車商品-動作框 {
    text-align: right;
}
.購物車商品-刪除按鈕 {
    background-image: url('https://king-pork-bucket.s3.ap-southeast-1.amazonaws.com/public_media/garbage-1_0.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: rgba(0, 0, 0, 0);
    background-color: #ffffff00;
}
.購物車商品-刪除按鈕:hover {
    background-image: url('https://king-pork-bucket.s3.ap-southeast-1.amazonaws.com/public_media/garbage-2_0.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: rgba(0, 0, 0, 0);
    background-color: #ffffff00;
}
.購物車-下拉 .超連結框 {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 6px;
}
.購物車-超連結 {
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    background: #C2A569;
    padding: 10px 30px;
    font-family: 'Microsoft Jhenghei', serif;
    font-weight: 800;
    border-radius: 2px;
}
.購物車-超連結:hover {
    text-decoration: underline;
    background: #796743;
    color: #ffffff;
}
.結帳-超連結 {
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    background: #cf1616;
    padding: 10px 30px;
    font-family: 'Microsoft Jhenghei', serif;
    font-weight: 800;
    border-radius: 2px;
}
.結帳-超連結:hover {
    text-decoration: underline;
    background: #6b1717;
    color: #ffffff;
}
.購物車無商品-文字{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Noto Serif TC', serif;
    color: #333;
    padding: 40vh 0;
}

/*購物車內容元件*/

.購物車 {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .標題框 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .標題 {
    font-size: 24px;
    font-weight: bold;
  }
  
  .無商品框 {
    text-align: center;
    padding: 20px;
    color: #666;
  }
  
  .購物車-表格 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  
  .表格-欄位名稱 {
    background: #f1f1f1;
    padding: 10px;
    text-align: left;
  }
  
  .表格-列 {
    border-bottom: 1px solid #ddd;
  }
  
  .表格-列 td {
    padding: 10px;
  }
  
  .表格-圖片框 img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .商品數量選擇框 button {
    border: none;
    background: #ddd;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
  }
  
  .商品數量選擇框 input {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
  }

  .商品數量減去按鈕, .商品數量增加按鈕 {
    background-color: #c2a56957;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
  
  .刪除商品按鈕 {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 16px;
  }
  
  .購物車-動作框 {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
  }
  
  .cart-shiping-update a, .cart-clear button {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
  }
  
  .購物車-總計框 {
    background: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    text-align: right;
  }
  
  .結帳連結 {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
  }

  /*我的帳戶按鈕*/

.我的帳戶 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
    gap: 8px;
    border: none; 
}
.超連結框 {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 0px 6px;
    text-align: center;
}
.登入連結,
.註冊連結 {
    font-size: 16px;
    color: #C2A569;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    font-family: 'Noto Serif TC', serif;
}

.登入連結:hover,
.註冊連結:hover {
    color: #D0021B;
}
.分隔線 {
    font-size: 14px;
    color: #999;
}
.帳戶按鈕框 {
    position: relative;
}
.帳戶按鈕 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #C2A569;
    border: none;
    padding: 8px 12px; 
    border-radius: 90px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    border: 1px solid #C2A569; 
    font-family: 'Noto Serif TC', serif;
}
.帳戶-標籤 {
    color: #ffffff;
}
.帳戶-文字 {
    color: #666;
}
.帳戶-名稱 {
    color: #ffffff;
    font-weight: 500;
}
.帳戶按鈕:hover {
    background: #b39760;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.我的帳戶-下拉 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 180px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 10;
    padding: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
    font-family: 'Noto Serif TC', serif;
}
.我的帳戶-下拉.顯示 {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.我的訂單框 a {
    display: block;
    font-size: 14px;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}
.我的訂單框 a:hover {
    background: #f8f9fa;
}
.登出按鈕框 {
    margin-top: 8px;
    text-align: center;
}
.登出按鈕 {
    width: 100%;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}
.登出按鈕:hover {
    background-color: #c82333;
}

.側邊導覽{
    transition: right 1s;
}
.側邊導覽.顯示{
    right:0px !important;
}

/*舊官網提示窗格*/
.窗格消失 {
    display: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/*舊官網福窗測試中*/
.舊官網浮動窗格.不顯示{
    display:none;
}

.舊官網浮動窗格 input#hideTodayCheckbox {
    accent-color: rgb(200 33 38);
}

.剛進來看得見 {
    visibility: visible;
}
.點關閉看不見 {
    display: none;
}