*{
  font-family: "Noto Sans", sans-serif;
}
body{
  background-color: transparent;
}
@media (min-width: 1400px) {
  .container {
      width: 1380px;
  }
}
/* navbar */
.navbar {
  background-color: transparent;
}
.bootsnav {
    position: fixed;
    width: 100%;
    background: #FFF;
    z-index:999;
}
.navbar .mainlink li a{
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2.5px;
  padding: 20px 30px;
}
.nav-link{ 
  text-align: center;
}
.navbar-brand img {
  max-width: 180px;
  padding: 15px 0;
}

.navbar-brand {
  margin-top: 10px;
}

/* navbar collapse padding */
.navbar-collapse {
  padding: 70px 0 20px;
  margin-bottom: 10px;
}

/* 主選單樣式 */
.navbar-nav .mainlink li a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2.5px;
  padding: 20px 30px;
}

/* 桌機版 */
@media screen and (min-width:769px) {
  .navbar-collapse.collapse {
    display: flex !important;
    justify-content: center; 
  }

  /* Logo 固定置中 */
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-toggle {
    display: none;
  }
  .toplink li a{
    padding: 15px 10px;
  }
  /* 右上角：搜尋 + 會員 + 購物車 */
  .toplink {
    display: flex;
    gap: 15px;
    order: 3;
    position: fixed;
    z-index:999;
    right: 10%;
  }

  .toplink ul {
    display: flex;
    align-items: center;
  }

  .toplink .memberlogin{
    padding: 0;
  }
  .toplink .dropdown .cart-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .toplink .badge{
    background-color: #000;
  }
}
@media screen and (max-width: 480px) {
  .toplink li a ,
  .navbar-toggle,
  .navbar-search-xs{
    padding: 5px;
  }
  .navbar-search-xs{
    font-size: 16px;
  }
  
}
/* 手機版 */
@media screen and (max-width:768px) {
  .navbar-brand img {
    max-width: 150px;
  }

  .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* 左側：漢堡 + 搜尋 */
  .header-left {
    display: flex;
    align-items: center;
    order: 1;
  }

  .navbar-toggle {
    display: block;
    font-size: 18px;
  }

  .navbar-brand {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    position: static;
    transform: none;
    padding-right: 60px;/* 顯示會員及購物車後 改為10px */    
  }

  /* 右側：會員 / 購物車 */
  .toplink {
    order: 3;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  .toplink ul {
    display: flex;
    align-items: center;
  }

  .toplink li {
    float: none;
    padding: 0;
  }

  .toplink .member_status {
    display: none;
  }
  .toplink  .memberlogin{
    padding-right: 5px;
  }
  .toplink .dropdown .cart-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .toplink .badge{
    background-color: #000;
  }
}

/* 上排選單 hover 效果 */
@media (min-width: 769px) {
  .navbar-nav > li > a {
    position: relative;
  }

  .navbar-nav > li > a:hover,
  .navbar-nav > li > a:focus {
    background-color: transparent !important; 
  }

}
/* dropdown-menu */
.dropdown-menu{
  box-shadow: none;
}

.top-nav-collapse .dropdown-menu {
  display: none;
}
@media (min-width: 769px) {
  .navbar-nav > .dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .navbar-nav > .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .navbar-brand {
    padding: 0px 0 0px 0;
    width: 102%;
    text-align: center;
    position: fixed;
    background: #FFF;
    margin: 0;
    padding: 0;

  }

  .dropdown-menu {
    display: none;
    position: fixed;
    border-radius: 0px;
    z-index: 12;
    width: 100%;
    top: 115px !important;
    left: 0 !important;
    background: #f5f5f5;
    border: 0px !important;
    text-align: center;
    padding: 30px 0 20px 0;
  }

  .dropdown-menu > .container > li {
    display: inline-block;
    padding: 0 2%;
    border-right: 1px solid #e6e7e9;
    vertical-align: top;
    text-align: left;
  }


  .dropdown-menu > .container > li > a {
    display: inline-block;
    padding: 0 20px;
    clear: none;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
  }

  .dropdown-menu > .container > li > a:focus,
  .dropdown-menu > .container > li > a:hover {
    color: #333333;
    background-color: transparent;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative !important;
  }

  .navbar-nav li a,
  .topmenutitle {
    padding: 5px 10px;
    display: block;
  }
}
.nav-link-2{
  padding: 5px 10px!important;
}
.dropdown-toggle{
  text-align: center;
}

.topmenutitle {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 10px;
}

.menu_inside a {
  line-height: 2;
  color: #6e6e6e !important;
  text-align: center;
}
.menu_inside a{
  padding: 10px 10px 10px 0 !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}
.menu_inside a:hover {
  color: #a7a7a7 !important;
}


/* navbar END */

.AD_viedo{
  width: 100%;
}

.brand{
  padding: 100px 0;
  /* footer選單打開後改為padding: 100px 0 40px; */

}
.brand .brand-wrap img{
  padding: 0;
}

.brand .image-container {
      position: relative;
      display: inline-block;
}

.brand .image-container img {
    width: 100%;
    display: block;
}

.brand .image-container button {
    position: absolute;
    top: 80%;      
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255, 255, 255);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 6px 27px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.brand .image-container button:hover {
  background: rgba(0, 0, 0, 1);
  color: #fff;
}


/* footer */
/* Footer Top Wrap */
footer .top-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
@media screen and (max-width: 1400px) {
  footer .top-wrap{
    flex-direction: column;
    align-items: center;
  }
}

/* Footer Links */

footer .link{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

footer .link li{
  padding: 20px;
}
/* footer .link{
  display: grid;
  grid-template-columns: repeat(7, 1fr); 
  justify-items: center; 
  row-gap: 20px; 
} */

/* 平板：992px 以下 → 第一排4個、第二排3個 */
/* @media (max-width: 991px) and (min-width: 481px) {
  footer .link{
    grid-template-columns: repeat(4, 1fr);
    justify-content: center; 
  }
  footer .link li:nth-child(n+5){
    grid-column: span 1;
  }
} */

/* 手機：480px 以下 → 一排2個 */
/* @media (max-width: 498px) {
  footer .link{
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
} */

footer .link li a{
  color: #000;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2.5px;
  white-space: nowrap;
}

/* Footer Social Icons */
footer .icon-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
}
@media (max-width: 498px) {
  footer .icon-wrap{
    flex-direction: column;
    justify-items: center;
    margin: 30px 0 0;
  }
}
footer .icon{
  display: flex;
  align-items: center;
  padding: 20px 0;
  justify-content: center; /* 手機板置中 */
  margin-left: 15px;
}
footer .icon-wrap li{
  padding: 0 5px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

/* Footer Bottom Wrap */
.footerwrap{
  background-color: #000;
  padding: 40px;
}

footer .info{
  text-align: center;
  font-weight: 300;
  font-size: 14px;
}
footer .info .title{
  font-size: 15px;
  font-weight: 600;
}
footer .info li{
  padding: 3px 0;
  letter-spacing: 2.5px;
}
footer .copy-text{
  padding: 10px 0 0;
  font-size: 12px;
  color: #ffffff8a;
  text-align: center;
  letter-spacing: 1.5px;
}

/* category */
.breadcrumb{
  background:transparent;
  border-bottom:1px solid #f5f5f5;
  padding: 10px 0;
}
.sub_box{
  display:none;
}
.page-header {
  padding: 50px 0 40px;
  margin: 0;
  border-bottom: transparent;
}
@media screen and (max-width:768px){
  .page-header{
    padding: 0px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
 
.category-wrapper .li-item
.search-wrapper .li-item{
  padding: 0;
  border: none;
  background-color: transparent;
}
.category-wrapper .li-item:hover,
.search-wrapper .li-item:hover{
  box-shadow: none;
  background: transparent;
}
.category-wrapper .li-item .imgBox,
.search-wrapper .li-item .imgBox{
  overflow: hidden;
}
.category-wrapper .imgBox-fit,
.search-wrapper .imgBox-fit {
  display: block;
  transition: all 0.3s;
}    
.category-wrapper .imgBox-fit:hover,
.search-wrapper .imgBox-fit:hover{
    transform: scale(1.1);
}  
.features-box a h4{
  font-size: 14px;
  color: #000;
  letter-spacing: 1.3px;
  font-weight: 400;
  padding: 0 15px 0;
}  
.category-wrapper .normal-price-s,
.category-wrapper .normal-price2
.search-wrapper .normal-price-s,
.search-wrapper .normal-price2{
  font-size: 14px;
  color: #000;
  letter-spacing: 1.3px;
  font-weight: 400;
}
.search-wrapper .features-box a h4{
  margin-top: 20px;
}
.category-wrapper .prd_info{
  padding: 22px 15px 0;
}
.li-item .features-box a.btn-default{
  display: none;
}


/* 商品列表設定 */

.thumbnail-list li {
    width: calc(100% / 4);
    padding: 30px 0;
}

@media (max-width: 992px) {
    .thumbnail-list li {
        width: calc(100% / 2);
    }
}

@media (max-width: 544px) {
    .thumbnail-list li {
        width: 100%;
    }
}

.fprod_code{
  margin-left: 15px;
  font-size: 14px;
  color:#000
}
/* 頁碼 */
.pagination{
  margin: 40px 0 0;
}
.pagination li > a {
  border-radius: 50%;
  margin: 5px 5px;
  padding: 8px 8px;
  min-width: 38px;
  color: #000;
}
.pagination li > a:hover, .pagination li > a:focus {
  background-color: #000;
  border: 1px solid #000;
}
.pagination li:first-child > a, .pagination li:last-child > a {
  border: 0px solid #000;
}
.pagination > .active > a {
  background-color: #000;
  color: #fff;
}
.pagination > .active > a:hover, .pagination > .active > a:focus {
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
}


/* 會員 */

.CHANNEL{
  color: #000;
  border-radius: 0;
}
.CHANNEL:hover{
  color: #444444;
}
.COMPLETE_BOX .MEM_BTN{
  background-color: #000;
  border: none;
  border-radius: 0;
}
.COMPLETE_BOX h2.MEM_TITLE{
  border: #000;
}

/* news */
.news-wrapper .news-content{
  margin: 30px 10px 0;
}
.news_author{
    display: none;
}
.news_title{
    font-size: 25px;
    font-weight: 600;
    color: #5B5050;
    margin: 0 0 18px!important;
    line-height: 1.4;
}
.news-wrapper .aside-title{
    display: none;
}
@media screen and (max-width: 768px) {
    .news-wrapper .aside-title{
      display: block!important;
      background-color: transparent;
    }
}
@media screen and (max-width: 480px) {
    .news_imgBox{
      display: block;
  }
}
.newsitem{
    margin-bottom: 20px;
    padding: 0 20px;
  }
.NEWS_type{
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    border-bottom: 1px #cacaca solid;
}
@media screen and (max-width: 480px){
    .NEWS_type{
        flex-direction: column;
    }
}

.NEWS_type li{
    font-weight: 600;
    transition: all .3s linear;
    display: block;
    margin-bottom: 10px;
    max-width: 200px;
}
@media screen and (max-width: 768px){
    .NEWS_type li{
      max-width: 100%;
  }
}

.NEWS_type li a{
  background-color: #fff;
  color: #000;
  border: #000 1px solid;
  margin: 0 10px;
  border-radius: 25px;
}
.NEWS_type li a:hover{
  background-color: #000;
  color: #fff;
}
.NEWS_type li .topic{
  background-color: #000;
  color: #fff;
}
.NEWS_type li .type_icon{
    display: none;
}
.NEWS_type .badge{
    display: none;
}
@media screen and (max-width: 480px){
.headlinecate{
    border: transparent;
    border-radius: 0px;
    margin: 0;
}
}
.headlinecate img{
    display: none;
}
.news-wrapper .aside-title{
  padding: 0 10px;
}
.news-wrapper .newsbar{
  display: none;
}
.news-wrapper .thumbnail{
    border: none;
    border-bottom: 1px #cccccc solid;
    background-color: transparent;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.newslist img.news_pic{
    margin: 0 30px 0 0;
    padding: 0;
    width: 250px;
    border-radius: 15px;
    transition: all 0.3s;
}
@media screen and (max-width: 560px){
    .newslist img.news_pic{
        margin: 0 0 20px 0;
        width: 100%;
    }
}
.newslist :hover img{
    transform: scale(1.03);
}
.newslist .newslist img:hover .news_title{
    color: #000;
}

.news-list .news_imgBox-fit{
  overflow: hidden;
  display: block;
}
.caption p{
    margin: 20px 0;
    letter-spacing: 1.2px;
    font-weight: 500;
    color: #7d7d7d;
     display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制顯示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (max-width: 768px){
    .caption p{
        margin: 0 0 10px 0;
    }
}
.news_date{
  letter-spacing: 0.5px;
  font-size: 16px;
  min-width: 103px;
  font-weight: 500;
  color: #5B5050;
}
.news_date img{
    display: none;
}
.news_sort{
  display: none;
}
.news_sort img{
    display: none;
}
.news_author{
  display: none;
}
.news_more:hover,
.news_more:focus{
  background-color: transparent;
  color: #000;
}
#LinkContainer h1.news_title{
    padding: 0 20px;
}
.news-wrapper .btn-default{
    border-radius: 0px;
    padding: 10px 30px;
    background-color: #000;
    color: #fff;
    transition: all.2s ;
}
.news p{
    padding-left: 20px;
}
.descri-none {
    font-size: 15px;
    letter-spacing: 1.5px;
    line-height: 1.5;
    margin: 20px 0;
}   
.news-wrapper h1.news_title{
  padding: 0;
  font-size: 25px;
}
.news-wrapper .article-content{
  margin: 20px 0;
}
.news-wrapper .arti-news{
  margin: 0;
  text-align: center;

}
.news-wrapper .news_content{
  margin: 0;
}
.news-content .arti-news > img{
  margin: 30px 0;
  max-width: 800px;
}
.pagination>.active>a{
    transition: all.3s;
}
.pagination>.active>a, 
.pagination>.active>a:focus, 
.pagination>.active>a:hover,
.pagination>li>a:focus,
.pagination>li>a:hover{
    background-color: #000000;
    border-color: transparent;
}
@media screen and (max-width: 768px) {
    .news-wrapper h2.aside-title:after {
        color: #555;
        font-weight: 400;
    }
}
.news-wrapper .NP-Buttons{
  display: flex;
  justify-content: flex-end;
  border-bottom: #aaaaaa 1px solid;
  padding-bottom: 20px;
}


/* ShopList */
.h2.SHOP_TITLE{
  background: transparent;
  color: #000;
}
.PRD_NAME a{
 color: #000;
}
.TOTAL .SUB,
.TOTAL .SHIP,
.TOTAL .ico_tol,
.TOTAL .TP{
 color: #000;
}
.TOTAL .TP{
  font-size: 30px;
}
#btn_precheck{
  background-color: #000;
  border: none;
  border-radius: 0;
  padding: 15px 20px;
}
.SHIP_NOTE{
  border: none!important;
}
h1.MYCART_TITLE{
  display: none;
}
h2.SHOP_TITLE {
  font-size: 20px;
  margin-bottom: 30px!important;
  padding-bottom: 20px!important;
  border-bottom: 1px solid #e9e9e9!important;
  background: transparent!important;
  color: #000!important;
}