@charset "UTF-8";
@keyframes searchSpin {
  to {
    transform: rotate(360deg);
  }
}
#navSection {
  /* 自定義樣式 */
  /* 小螢幕時全畫面選單 */
  /* 大螢幕時正常顯示 */
  /* 手機版浮動購物車尺寸與 LINE 浮動按鈕 .line-float__btn 對齊（52px） */
}
#navSection .PS_nav {
  display: flex;
  align-items: center;
}
#navSection .PS_nav ul {
  list-style: none;
}
#navSection .PS_nav ul li {
  margin: 0 2rem;
}
#navSection .PS_nav ul li a {
  color: black;
  text-decoration: none;
}
#navSection .nav-item {
  width: 100px;
  text-align: center;
  font-weight: bold;
}
#navSection .PS_icon {
  height: 30px;
  width: 30px;
  aspect-ratio: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#navSection .PS_login {
  background-image: url(../images/profile-icon.svg);
}
#navSection .PS_login_in {
  background-image: url(../images/profile-have-icon.svg);
}
#navSection .PS_search {
  cursor: pointer;
  background-image: url(../images/search-icon.svg);
  position: relative;
  transition: opacity 0.2s ease;
}
#navSection .PS_search.is-loading {
  pointer-events: none;
  cursor: wait;
  background-image: none;
}
#navSection .PS_search.is-loading::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid rgba(126, 73, 133, 0.25);
  border-top-color: #7e4985;
  animation: searchSpin 0.7s linear infinite;
}
#navSection .PS_shopcart {
  background-image: url(../images/cart-icon.svg);
}
#navSection .PS_have_shopcart {
  background-image: url(../images/cart-have-icon.svg);
}
#navSection .cart-fab {
  display: flex;
  position: fixed;
  right: 16px;
  bottom: 24px;
  /* 尺寸與側邊 LINE 浮動按鈕 .line-float__btn 對齊（桌機 60px / 手機 52px） */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  align-items: center;
  justify-content: center;
  z-index: 1040;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
#navSection .cart-fab:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
#navSection .cart-fab .PS_icon {
  height: 54px;
  width: 54px;
}
#navSection .cart-fab .cart-count-fab {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.7rem;
  min-width: 20px;
}
#navSection .PS_line {
  background-image: url(../images/line-icon-p.svg);
}
#navSection .dropdown-toggle::after {
  display: none;
}
#navSection .dropdown-toggle {
  text-decoration: none;
}
#navSection .navbar-nav-container {
  transition: all 0.5s ease;
  display: none; /* 預設隱藏 */
}
#navSection .close-btn {
  display: none; /* 大螢幕隱藏關閉按鈕 */
}
@media (max-width: 991px) {
  #navSection {
    /* 關閉按鈕樣式 */
  }
  #navSection .navbar-nav-container.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95); /* 半透明背景 */
    backdrop-filter: blur(5px); /* 選單範圍內模糊 */
    -webkit-backdrop-filter: blur(5px); /* 支援 Safari */
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #navSection .navbar-nav {
    text-align: center;
  }
  #navSection .nav-item {
    margin: 15px 0;
  }
  #navSection .nav-link {
    font-size: 1rem;
    color: #333 !important;
  }
  #navSection .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: block;
  }
}
@media (min-width: 992px) {
  #navSection .navbar-nav-container {
    display: flex;
  }
}
@media (max-width: 768px) {
  #navSection .cart-fab {
    width: 52px;
    height: 52px;
  }
  #navSection .cart-fab .PS_icon {
    height: 50px;
    width: 50px;
  }
}

/*# sourceMappingURL=style-nav.css.map */
