@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&family=Work+Sans&display=fallback');
/*@font-face {
   font-family: 'Noto Sans TC';
   font-style: normal;
   font-weight: 400;
   src: url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.woff2) format('woff2'),
        url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.woff) format('woff'),
        url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.otf) format('opentype');
  font-display: fallback;
}*/

html, body {
  height: 100%;
  margin: 0;
  font-family: "Noto Sans TC", "Work Sans", sans-serif;
  font-size: 16px;
  color: #696767;
}
a{
    text-decoration: none;
    color: #696767;
}
.row-custom{
    display:flex;
    flex-wrap:wrap;
}
.slick-dots {
    position: relative;
    margin-top: 10px;
}
.slick-dots li button {
    width: 5px !important;
    height: 5px !important;
    border: 1px solid #5685A2 !important;
    padding:4px !important;
    border-radius: 99px !important;
}
.slick-dots li button:before {
    color:transparent !important;
    font-size: 10px !important;
    line-height: 12px !important;
    width: 10px !important;
    height: 10px !important;
}
.slick-dots li button:hover:before,.slick-dots li button:focus:before{
    color:#5685A2 !important;
}
.slick-dots li.slick-active button:before{
    color:#5685A2 !important;
}
.slick-prev,.slick-next{
    width:20px !important;
}
.slick-prev:before,.slick-next:before {
    content:"" !important;
}
.slick-prev:hover,.slick-next:hover{
    background:none !important;
}
.wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.container{
    max-width:100%;
    padding:0;
}
.mb-20{
    margin-bottom:20px;
}
.mb-27{
    margin-bottom:27px;
}
.mb-57{
    margin-bottom:57px;
}
/* header menu*/
.logo-img{
    height:38px;
}
.btn-close{
    --bs-btn-close-bg:url("https://junoi.com.tw/assets/images/icon/btn-close.png");
    opacity:1;
    width: 24px !important;
    height: 24px !important;
    background-size: 24px 24px;
}
.btn-close:hover{
    opacity:1;
}
#mobileMenu{
    width:100% !important;
}
.offcanvas{
    /*width:100% !important;*/
    --bs-offcanvas-color: #696767;
}
.offcanvas li{
    font-family:"Noto Sans TC";
    font-size:17px;
    letter-spacing:2px;
    margin-bottom:18px;
}
.offcanvas li div{
    margin-bottom:18px;
}
.navbar{
    padding:5px 20px;
}
.navbar-toggler {
    border:none;
    padding:0;
    margin:0;
}
.navbar-toggler:focus {
    box-shadow:none;
}
.toggle-submenu span:last-child {
    font-weight: bold;
    cursor: pointer;
}
/* 預設是 + */
.toggle-submenu .toggle-icon::after {
  content: "＋";
}

/* 如果目標 collapse 展開 (.show)，就改成 - */
.toggle-submenu[aria-expanded="true"] .toggle-icon::after {
  content: "－";
}
.nav-link:hover{
    color: #696767;
}
main {
	padding-top:90px;
 	flex: 1; /* 自動撐開主要區塊高度 */
}
.container-content{
    margin: 0 20px;
}
/* footer */
footer{
    padding:0 24px;
    margin-top:100px;
    margin-bottom:20px;
}
#footer-1 p{
    font-family:"Work Sans";
    font-size:16px;
    letter-spacing:2px;
    margin-bottom:0;
}
#footer-1 img{
    height: 51px;
    padding-bottom: 5px;
}
#footer-2 p{
    font-family:"Work Sans";
    font-size:14px;
    letter-spacing:2px;
    margin-bottom:0;
}
#footer-3 a{
    font-family:"Work Sans";
    font-size:14px;
    letter-spacing:2px;
    margin-bottom:0;
}
#footer-3 a:not(:last-child) {
    margin-right:16px;
}
#footer-4 p{
    font-family:"Work Sans";
    font-size:13px;
    letter-spacing:2px;
    margin-bottom:0;
}
#floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}
#floating-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    text-decoration: none;
    opacity:0.7;
}
#floating-buttons a img {
    width:32px;
}
#floating-buttons a:hover {
    opacity:1;
}
/* 顯示狀態 */
#floating-buttons.show {
    opacity: 1;
    visibility: visible;
}
/*member*/
.member-box{
    max-width:1000px;
    padding-top:5px;
    margin: 0 auto;
}
.member-box .card{
    margin-bottom:20px;
    border-radius: 22px;
}
.member-box .card-body {
  font-family: "Noto Sans TC", "Work Sans", sans-serif;
  color: #696767;
  border:4px solid #5685A2;
  border-radius:22px;
  padding:17px 27px;
}
.member-text-font{
    font-family:"Noto Sans TC";
    font-size:17px;
    letter-spacing:2px;
}
.member-text-font-2{
    font-family:"Noto Sans TC";
    font-size:14px;
    letter-spacing:2px;
}
.member-text-font-3{
    font-family:"Noto Sans TC";
    font-size:25px;
    letter-spacing:2px;
}
.member-name{
    color:#696767;
    margin-bottom:20px;
}
.member-lvl-area{
    margin-bottom:35px;
}
.member-box .member-lvl {
    color: #5685A2 !important;
    margin-bottom:0;
}
.member-box .member-joindate{
    color: #696767 !important;
}
.amt-area{
    margin-bottom:8px;
}
.amt-area-text{
    margin:0 auto 18px auto;
}
.amt-area .progress{
    height:6px;
    margin-bottom:5px;
}
.amt-area .progress-bar{
    background:#5685A2;
}
.total_amt{
    color: #5685A2 !important;
    margin-bottom:0;
}
.member-lvl-uptext{
    font-family:"Noto Sans TC";
    font-size:14px;
    letter-spacing:1px;
    color:#696767;
}
.addcartsuccess{
    position: fixed;
    z-index: 9999;
    top: 100px;
    width: 100%;
    display: none;
}
.addcartsuccess p{
    font-family:"Noto Sans TC";
    font-size: 14px;
    width: 149px;
    text-align: center;
    background: #5685A2;
    color: white;
    margin: 0 auto;
    padding: 10px 0px 10px 2px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 10px;
    box-shadow: 3px 2px 2px rgb(0 0 0 / 20%);
}
/*.info-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #FFF;
  color: #696767;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  border: 1px solid #696767;
}*/
.tooltip.vip-tip{
  --bs-tooltip-bg: #696767;         /* 泡泡底色（你的一般字色） */
  --bs-tooltip-color: #fff;         /* 文字顏色 */
  --bs-tooltip-border-radius: 999px;/* 膠囊圓角 */
  --bs-tooltip-padding-x: 12px;
  --bs-tooltip-padding-y: 6px;
  --bs-tooltip-max-width: none;     /* 讓金額不被壓縮 */
  --bs-tooltip-opacity: 1;          /* 不要半透明 */
  --bs-tooltip-arrow-width: 12px;   /* 箭頭寬 */
  --bs-tooltip-arrow-height: 8px;   /* 箭頭高 */
  --bs-tooltip-arrow-color: #696767;
}
.tooltip.vip-tip .tooltip-inner{
  font-family: "Noto Sans TC";
  font-size: 16px;
  letter-spacing:2px;
}
.member_barcode_title{
    color: #696767 !important;
}
.member_barcode{
    margin:0 auto 20px auto;
}
.member_barcode_text{
    color: #696767 !important;
    text-align:center;
}
.member_functional{
    margin-bottom:60px;
}
.member_functional_text{
    color:#5685A2;
    text-align:center;
}
.member_functional_title{
    color:#696767;
    text-align:center;
}
.member-box .list-group-item{
  border:0;
  margin-bottom: 20px;
}
.member-box .list-group-item a {
    color: #696767;
    display: block;
    text-decoration: none;
}
.cart-link {
  line-height: 1;
}
.cart-count-badge {
    font-family:"Noto Sans TC";
    position: absolute;
    top: 0;
    right: 3px;
    transform: translate(50%, -30%);
    min-width: 15px;
    height: 15px;
    padding: 0 3px 2px 3px;
    border-radius: 99em;
    background: #F6C89F;
    color: #fff;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* === 搜尋 Offcanvas === */
.search-drawer {
  /* 桌機：右側抽屜，最大寬度 400 */
  width: min(400px, 100vw);
}

/* 手機（<992px）：改成視覺滿版 */
@media (max-width: 991.98px) {
  .search-drawer {
    width: 100vw !important;
    /* 依然從右側滑出，但寬度覆蓋整個視窗；若想要「從上方」感覺，可加高度過渡 */
  }
}

/* 內部樣式 */
.search-input-group .form-control.search-input {
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 12px;
  border-color: #D4D0C9;
}
.search-input{
    border-bottom: 1px solid #5685A2 !important;
    border-radius: 0;
}
.search-input:focus {
  border-color: none;
  box-shadow:none;
}

.hot-keys-title {
  font-family:"Noto Sans TC";
  color: #696767;
  font-size: 24px;
  margin-top:83px;
  margin-bottom: 20px;
}

.hot-keys-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.hot-key-chip {
  font-family:"Noto Sans TC";
  color: #696767;                 /* 行動按鈕字色 */
  border: 1px solid #696767;      /* 注意事項字色做邊框 */
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 17px;
  line-height: 1;
  letter-spacing:2px;
}
.hot-key-chip:hover {
  background: white;            /* 行動按鈕（實） */
  border-color: #696767;
}
#searchDrawer{
  top:32px !important;
}
/* 調齊 Offcanvas header 的 logo 與文字 */
.search-drawer .offcanvas-header .navbar-brand img { vertical-align: middle; }
.search-drawer .offcanvas-title { color: #D4D0C9; font-weight: 600; }
@media (max-width: 992px) {
    .w-sm-100{
        width:100% !important;
    }
}
@media (min-width: 992px) {
    .slick-dots li button {
        padding:5px !important;
    }
    .slick-dots li button:before {
        font-size: 12px !important;
        line-height: 14px !important;
        width: 12px !important;
        height: 12px !important;
    }
    .mb-lg-20{
        margin-bottom:20px;
    }
    .mb-lg-46{
        margin-bottom:46px;
    }
    /* header menu*/
    .logo-img{
        height:52px;
    }
    .navbar{
        padding:10px 54px 20px 54px;
    }
    .navbar-nav li:hover>ul.dropdown-menu {
        display: block;
    }
    .nav-item:not(:last-child) {
        margin-right:43px;
    }
    .nav-item >ul.dropdown-menu{
        padding:17px 0;
    }
    .nav-link,.dropdown-item{
        font-size:18px;
        letter-spacing:2px;
        padding:8px;
    }
    .dropdown-toggle::after{
        border:none;
    }
    .dropdown-menu {
        --bs-dropdown-color: #696767;
        --bs-dropdown-link-color: #696767;
        --bs-dropdown-link-hover-color: #5685A2;
        --bs-dropdown-link-hover-bg: #FEE4CD;
        --bs-dropdown-link-active-color: #5685A2;
        --bs-dropdown-link-active-bg: #FEE4CD;
        border: none;
    }
    .dropdown-menu>li>a:hover:after {
        transform: rotate(-90deg);
        transition: 1s;
    }
    .dropdown-submenu {
        position: relative;
        border:none;
    }
    .dropdown-submenu>.dropdown-menu {
        top: 0%;
        left: 100%;
        margin-top: -3px;
    }
    .dropdown-item {
        display: block;
        width: 100%;
        padding:8px 9px;
        clear: both;
        color: var(--bs-dropdown-link-color);
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        border-radius: var(--bs-dropdown-item-border-radius, 0);
    }
    main {
        padding-top:124px;
        flex: 1; /* 自動撐開主要區塊高度 */
    }
    .container-content{
        max-width:1460px;
        margin: 0 auto;
    }
    /* footer */
    footer{
        padding:0;
        margin-top:150px;
    }
    #footer-1 p{
        font-size:18px;
    }
    #footer-1 img{
        height:61px;
        padding-bottom: 10px;
    }
    #footer-2 p{
        font-size:16px;
    }
    #footer-3 a{
        font-size:18px;
    }
    #footer-3 a:not(:last-child) {
        margin-right:50px;
    }
    #footer-4 p{
        font-size:15px;
    }
    /*member*/
    .member-box .card{
        margin-bottom:25px;
    }
    .member-text-font{
        font-size:18px;
    }
    .member-text-font-2{
        font-size:16px;
    }
    .member-text-font-3{
        font-size:26px;
    }
    .member-name{
        margin-bottom:26px;
    }
    .member-lvl-area{
        margin-bottom:45px;
    }
    .amt-area-text{
        margin:0 auto 15px auto;
    }
    .amt-area .progress{
        margin-bottom:7px;
    }
    .cart-count-badge {
        min-width: 20px;
        height: 20px;
        padding: 0 5px 2px 5px;
        right: 5px;
        font-size: 16px;
    }
}

:root { --topbar-h: 32px; }

.top-bar{
  top:0;
  z-index:1045;
  height:var(--topbar-h);
  font-size:14px;
  color:#696767;
  background:#FFF2DE;
  letter-spacing:2px;
    overflow: hidden;
  transform: translateY(0);
  transition: transform .35s ease;
}
.top-bar.closed {
  transform: translateY(-100%);
}
.navbar.fixed-top{ top:var(--topbar-h); transition:top .3s ease; }