/* 全局設定
-------------------------------------------------- */

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  body {
    margin: 0px;
    font-family: "Noto Sans TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    /*background-color: #d28718;*/
    background-color: #e6e6e6;
    /*padding-bottom: 3rem;*/
    /*color: rgb(var(--bs-tertiary-color-rgb));*/
  }
  
  .separator{ /* 基本分隔線設定 */
    border-top: 1px solid #7b7b7b; /* 黑色分隔線，1px 寬度 */
    width: 1180px; /* 線長度 */
    margin: 30px auto;  /* 與其他元素間距增大，中間對齊 */
    /*box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); /* 添加陰影效果 */
  
  }
  html {
    scroll-behavior: smooth;
  }

  /* 滑動至頂部按鈕 
  ----------------------- */
.slider {
  position: fixed; /* 固定位置 */
  bottom: 40px; /* 距離底部 40px */
  right: 27px; /* 距離右邊 27px */
  width: 50px;
  height: 50px;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* 保證在最上層 */
}

.top {
  width: 42px;
  height: 42px;
  color: rgb(172, 186, 198);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top:hover {
  font-size: 60px;
  bottom: 35px; 
  right: 22px;
  width: 70px;
  height: 70px;
  transition: 0.3s;
  color: #333333;
}
  
  /* 上方欄位 (工具欄)
  -------------------------------------------------- */
  .navbar-expand-lg{
    background-color: #cec0b4;
    height:auto;
    padding: 0px;
    border: 0px;
    margin: 0px;
  }
  .navOneRow{
    width: 100%;
    height:100%;
    margin: 0px;
  }


  .navLogoCol{ /* nav logo 容器 */
    /*background-color: aqua;*/

  }
  .navLogo{
    display: inline-block;
    position: relative;
    cursor: default;
    width: 100%;
    /*background-color: #535758;*/
    margin-left: 210px; /* 將左側邊距自動設置為最大化，使圖像水平向右對齊 */
    width: 115px; /*設定和圖片寬度差不多寬*/
  }
  .navLogo img {
    width: 105px;
    height: auto; /* 自動計算高度，保持圖片比例 */
    display: block; /* 設定為區塊元素 */
    /*padding-right: 25px;*/
    /*background-color: #796146;*/
  }
  

  .searchBarCol{ /* searchBar 搜尋欄容器 */
    width: auto; /*搜尋欄位容器隨搜尋欄的寬度而自動改變*/
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
    /*background-color: brown;*/
  }
  
  .searchBar{
    background-color: #ffffff;
  }
  
  .searchBar::placeholder { /*更改搜尋本字的顏色*/
    color: #8b7e71; 
    font-weight: bold;
  
  }
  
  .searchBar.focused {
    background-color: #ffffff; /* 修改為您想要的背景顏色 */
    color: #8b7e71; /* 修改為您想要的文字顏色 */
    font-weight: bold;
    
  }
  
  .BuyCart_and_Account{
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
  }
  
  /* 工具列第二欄下拉式選單*/
  
  .navCol-2  {
    list-style: none;
    margin: 0px;
    border: 0px;
    background-color: #f7f7f7;
    width: 100%;
    margin-left: 0px;
    
  }
  
  
  .dropdown-menu{
    background: none;
    /*border: 1px solid #7b6b5e; /* 添加邊框 */
    border: 0px;
  }
  
  .nav-link:hover{
    background-color: #ece3d5;
  }
  
  
  .dropdown-item{
    background-color: #eacfa8;
    padding: 5px;
    color:#3f3f3f;
    text-align:justify;
    font-weight: bold;
    border: 1px solid #000; /* 添加邊框 */
    
  }
  .dropdown-item:hover{
    background-color: #fef6ea;
    color: #3f3f3f;
  }
  
  /* 圖片輪播
  -------------------------------------------------- */
  
  /* Carousel base class */
  .carousel {
    
  }
  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    bottom: 3rem;
    z-index: 10;
  }
  
  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 40rem; /*32*/
  }
  
  .bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 100%; /* Change this to your desired width */
  }
  
  .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }

  .carousel-control-prev-icon{
    background-color: #3f3f3f;
    background-size: 70%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
  }

  .carousel-control-next-icon{
    background-color: #3f3f3f;
    background-size: 70%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
  }

  
  /* TrendingProduct 人氣排行 
  -------------------------------------------------- */
  
  .TrendingProduct_PictureTitle {
    /*background-color: #712cf9;*/
    display: inline-block;
    position: relative;
    cursor: default;
    width: 100%;
    
  }
  
  .TrendingProduct_PictureTitle img {
    width: 200px;
    height: auto; /* 自動計算高度，保持圖片比例 */
    display: block; /* 設定為區塊元素 */
    margin: 0 auto; /* 將左右邊距設為 auto，使圖片水平置中 */
  }
  
  .ResgisterForSale{
    /*background-color: #712cf9;*/
    display: inline-block;
    position: relative;
    cursor: default;
    width: 100%;
    height:auto;
  
  }
  
  .ResgisterForSale img{
    display: block; /* 設定為區塊元素 */
    margin: 0 auto;
    width: 1500px;
    height: auto;
    
  }
  
  .TrendingProduct{
    /*background-color: brown;*/
    margin: 0;
    height: auto;
  }
  
  .TrendingProduct_CardContainer{
    /*background-color: aqua;*/
    display: flex;
    justify-content: center; 
    align-items: center; 
  }
  
  /* card-hover 樣式 */
  
  .card-hover { /*套用同種card-hover樣式*/
    transition: box-shadow 0.3s; /* 添加過渡效果 */
    width: 330px; /* 與 card 元素相同的寬度 */
    height: 420px; /* 與 card 元素相同的高度 */
    margin-left:40px;
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .card-hover:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 滑鼠懸停時添加陰影效果 */
  }
  
  .CardGridInside{
    display: grid;
    grid-template-rows: 250px 56px 56px 56px; /*250px 56px 56px 56px*/
    width: 330px; 
    height: 420px; 
    position: relative;
    background-color: rgb(255, 255, 255);
  }

  /* -------------- */
  
  .ResgisterForSale img{
    width: 1000px;
    height: auto; /* 自動計算高度，保持圖片比例 */
  }
  
  /* Bootstrap Overrides */
  .col-empty {
    flex: 1;
  }
  
  .border {
    border: 1px solid #dee2e6;
  }
  
  /* Additional Bootstrap Overrides */
  .bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }
  
  .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }
  
  .b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }
  
  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }
  
  .bd-mode-toggle {
    z-index: 1500;
  }
  
  .bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
  }
  
  /* NewArrivals 新品上架 
  -------------------------------------------------- */
  
  .NewArrivals{
    /*background-color: brown;*/
    margin: 0;
    height: auto;
  }
  
  .NewArrivals_PictureTitle {
    /*background-color: #712cf9;*/
    display: inline-block;
    position: relative;
    cursor: default;
    width: 100%;
    
  }
  
  .NewArrivals_PictureTitle img {
    width: 220px;
    height: auto; /* 自動計算高度，保持圖片比例 */
    display: block; /* 設定為區塊元素 */
    margin: 0 auto; /* 將左右邊距設為 auto，使圖片水平置中 */
  }
  
  .NewArrivals_CardContainer{
    /*background-color: aqua;*/
    display: flex;
    justify-content: center; 
    align-items: center; 
  }
  
  /* Recommendation 精選推薦 
  -------------------------------------------------- */
  
  .Recommendation{
    /*background-color: brown;*/
    margin: 0;
    height: auto;
  }
  
  .Recommendation_PictureTitle {
    /*background-color: #712cf9;*/
    display: inline-block;
    position: relative;
    cursor: default;
    width: 100%;
    
  }
  
  .Recommendation_PictureTitle img {
    width: 210px;
    height: auto; /* 自動計算高度，保持圖片比例 */
    display: block; /* 設定為區塊元素 */
    margin: 0 auto; /* 將左右邊距設為 auto，使圖片水平置中 */
  }
  
  
  .Recommendation_CardContainer{
    /*background-color: aqua;*/
    display: flex;
    justify-content: center; 
    align-items: center; 
  }
  
  .card-btn { /*套用同種card-hover樣式*/
    transition: box-shadow 0.3s; /* 添加過渡效果 */
    width: 330px; /* 與 card 元素相同的寬度 */
    height: 420px; /* 與 card 元素相同的高度 */
    margin-left:40px;
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
  }
  
  /* Footers 頁尾(含聯絡資訊) 
  -------------------------------------------------- */

  .separator_Footer{ /* 基本分隔線設定 */
  
    border-top: 1px solid #7b7b7b; /* 黑色分隔線，1px 寬度 */
    width: 1300px; /* 線長度 */
    margin: 30px auto;  /* 與其他元素間距增大，中間對齊 */
    /*box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); /* 添加陰影效果 */
  
  }
  