@charset "UTF-8";
html {
  max-width: 100dvw;
}

body {
  width: 100%;
  max-width: 100dvw;
  overflow-x: hidden;
}
body .banner-top-wrap {
  position: sticky;
  top: -80px;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100dvw;
  height: 80px;
  background-color: var(--G50);
  transition: height 0.1s;
}
body .banner-top-wrap a {
  display: block;
  width: 100%;
  max-width: 1480px;
  height: 100%;
}
body .banner-top-wrap a div {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
body .bannerTop_wrap {
  position: relative;
  display: none;
  width: 100dvw;
  height: 88px;
  background-color: #001860;
}
body .bannerTop_wrap a {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 1480px;
  margin: 0 auto;
}
body .bannerTop_wrap a .bannerTop {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
body .console-switch {
  display: none;
}
body div#Content {
  position: relative;
  z-index: 1 !important;
}
@media screen and (min-width: 1024px) and (orientation: landscape) {
  body .banner-top-wrap.active {
    display: flex;
    top: 0;
  }
  body .banner-top-wrap.active.hide {
    height: 0px;
  }
}

@media screen and (max-width: 768px) {
  html:has(li.search-wrap input[type=search].focus), html:has(li.search-wrap input[type=search]:focus) {
    overflow-y: hidden;
  }
}
body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) > .icon-wrap i {
  background-color: var(--G00);
}
body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) > .icon-wrap.solid-arrow-tb {
  transform: rotate(180deg);
}
body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) > strong {
  color: var(--G00);
}
body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) .member-view {
  display: block;
}
@media screen and (max-width: 768px) {
  body:has(li.search-wrap input[type=search].focus), body:has(li.search-wrap input[type=search]:focus), body:has(li.search-wrap input[type=search].has-value) {
    overflow-y: hidden;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap {
    top: 56px;
    z-index: 10;
    display: flex;
    height: calc(100dvh - 56px);
    min-height: 45dvh;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list {
    display: flex;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap {
    margin: 0;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul {
    position: fixed;
    top: 0;
    left: 0;
    justify-content: end;
    width: 100dvw;
    height: 56px;
    padding: 0 12px;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.ebookcase,
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.shopcart,
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.member, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.ebookcase,
  body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.shopcart,
  body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.member, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.ebookcase,
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.shopcart,
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.member {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-close, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-close, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-close {
    display: block;
    margin-right: -12px;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap {
    max-width: inherit;
    height: auto;
    min-height: 40px;
    padding: 0 0 0 8px;
    border-color: var(--G50);
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap input[type=search], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap input[type=search], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap input[type=search] {
    padding: 0 0 0 48px;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit] {
    z-index: 2;
    margin: 0;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit].enter-btn, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit].enter-btn, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit].enter-btn {
    z-index: 2;
    display: flex;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle] {
    top: 0;
    transform: translateY(0);
    z-index: 1;
    max-width: 144px;
    height: 36px;
    opacity: 1;
    pointer-events: all;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover strong, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover strong, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover strong {
    color: var(--PFC);
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover .icon-wrap i, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover .icon-wrap i, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover .icon-wrap i {
    background-color: var(--PFC);
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .fuction-btn-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .fuction-btn-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .fuction-btn-wrap {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list div.list-wrap .search-list, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list div.list-wrap .search-list, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list div.list-wrap .search-list {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header {
    overflow: visible;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap {
    position: relative;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap {
    top: 56px;
    z-index: 10;
    display: flex;
    width: 100%;
    height: max-content;
    min-height: unset;
    opacity: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search {
    position: relative;
    display: block;
    min-width: unset;
    border: none;
    box-shadow: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form {
    border-top: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap > ul li.search-wrap,
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap.no-recode > ul li.search-wrap,
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap.has-match > ul li.search-wrap, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap > ul li.search-wrap,
  body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap.no-recode > ul li.search-wrap,
  body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap.has-match > ul li.search-wrap, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap > ul li.search-wrap,
  body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap.no-recode > ul li.search-wrap,
  body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap header .header-wrap .toolbar-wrap.has-match > ul li.search-wrap {
    border-radius: 20px 20px 0 0;
    border-bottom: none !important;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap {
    height: 40px;
    min-height: 40px;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap input[type=search].has-value {
    width: calc(100% - 160px);
    padding-left: 48px;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=reset] {
    right: 128px;
    z-index: 2;
    display: flex;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit] {
    z-index: 2;
    margin: 0;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list::after {
    display: block;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list {
    display: flex;
  }
  body:has(#navToggle:checked) header .header-wrap label[for=navToggle] {
    transform: translateX(1px);
  }
  body:has(#navToggle:checked) header .header-wrap label[for=navToggle] span {
    justify-content: center;
    gap: 0;
  }
  body:has(#navToggle:checked) header .header-wrap label[for=navToggle] span::before {
    width: 9.5px;
    height: 6%;
    transform: rotate(-45deg) translate(4px, -1px);
  }
  body:has(#navToggle:checked) header .header-wrap label[for=navToggle] span::after {
    width: 9.5px;
    height: 6%;
    transform: rotate(45deg) translate(2px, -1px);
  }
  body:has(#navToggle:checked) header nav {
    transform: translateX(0);
    z-index: 10;
    opacity: 1;
  }
  body:has(#navToggle:checked) main {
    position: relative;
    z-index: 1;
  }
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  body:has(li.search-wrap input[type=search].focus) header, body:has(li.search-wrap input[type=search]:focus) header, body:has(li.search-wrap input[type=search].has-value) header {
    overflow: visible;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap {
    position: relative;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap {
    position: absolute;
    top: 40px;
    z-index: 10;
    display: flex;
    width: 100%;
    max-width: 400px;
    height: max-content;
    border: 1px solid var(--G100);
    border-top: none;
    border-radius: 0 0 20px 20px;
    opacity: 1;
    overflow: hidden;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list {
    display: flex;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list::after, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list::after, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list::after {
    content: "";
    position: absolute;
    top: 0;
    left: 48px;
    width: calc(100% - 80px);
    height: 1px;
    background-color: var(--G100);
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap {
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus, body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus), body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value), body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus), body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value), body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus), body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) {
    max-width: 480px;
    min-width: 400px;
    height: 40px;
    border-color: var(--G100);
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus input[type=search], body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) input[type=search], body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) input[type=search], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus input[type=search], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) input[type=search], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) input[type=search], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus input[type=search], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) input[type=search], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) input[type=search] {
    padding-left: 48px;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit], body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit], body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit] {
    z-index: 2;
    margin: 0 0 0 8px;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit] button > .icon-wrap i, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit] button > .icon-wrap i {
    background-color: var(--G500) !important;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit].enter-btn, body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit].enter-btn, body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit].enter-btn, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit].enter-btn, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit].enter-btn, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit].enter-btn, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus button[type=submit].enter-btn, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) button[type=submit].enter-btn, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=submit].enter-btn {
    z-index: 2;
    display: flex;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus label[for=advancedToggle], body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) label[for=advancedToggle], body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) label[for=advancedToggle], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus label[for=advancedToggle], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) label[for=advancedToggle], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) label[for=advancedToggle], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap.focus label[for=advancedToggle], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search]:focus) label[for=advancedToggle], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) label[for=advancedToggle] {
    z-index: 1;
    max-width: 128px;
    opacity: 1;
    pointer-events: all;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) input[type=search], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) input[type=search], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) input[type=search] {
    padding-right: 160px;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=reset], body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=reset], body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap:has(input[type=search].has-value) button[type=reset] {
    right: 128px;
    z-index: 2;
    display: flex;
    opacity: 1;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode .popup-wrap {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap .fuction-btn-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap .fuction-btn-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode .popup-wrap .fuction-btn-wrap {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap div.list-wrap .search-list, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap.no-recode .popup-wrap div.list-wrap .search-list, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode .popup-wrap div.list-wrap .search-list {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap.no-recode > ul li.search-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap.no-recode > ul li.search-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode > ul li.search-wrap {
    border-radius: 20px;
    border: 1px solid var(--G100);
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header {
    overflow: visible;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap {
    display: block;
    max-width: 400px;
    border-top: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list {
    display: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search {
    position: relative;
    display: block;
    min-width: unset;
    border: none;
    box-shadow: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form {
    border: none;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap {
    display: flex;
  }
  body:has(li.search-wrap input[type=search].focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search]:focus):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search].has-value):has(#advancedToggle:checked) header .header-wrap .toolbar-wrap > ul li.search-wrap {
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap {
    display: flex;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list::after {
    display: block;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list {
    display: flex;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match > ul li.search-wrap {
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.no-recode .popup-wrap div.list-wrap {
    margin: 0;
  }
}
@media screen and (min-width: 1281px) {
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap .popup-wrap {
    width: 100%;
    min-width: 480px !important;
  }
  body:has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap > ul li.search-wrap {
    min-width: 480px !important;
  }
}

@media screen and (max-width: 768px) {
  body:not(.logined):has(li.search-wrap input[type=search].focus) .popup-wrap:has(.popup-view.search-tool-list), body:not(.logined):has(li.search-wrap input[type=search]:focus) .popup-wrap:has(.popup-view.search-tool-list) {
    height: max-content;
    min-height: 0;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list, body:not(.logined):has(li.search-wrap input[type=search]:focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list {
    padding: 0 0 8px;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .fuction-btn-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .fuction-btn-wrap {
    display: none;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .list-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .list-wrap {
    margin: 0;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .list-wrap .search-list, body:not(.logined):has(li.search-wrap input[type=search]:focus) .popup-wrap:has(.popup-view.search-tool-list) .popup-view.search-tool-list .list-wrap .search-list {
    display: none;
  }
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  body:not(.logined):has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap {
    display: none;
    min-height: unset;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .fuction-btn-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .fuction-btn-wrap {
    display: none;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .list-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .list-wrap {
    margin: 0;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .list-wrap .search-list, body:not(.logined):has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .list-wrap .search-list {
    display: none;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus) header .header-wrap .toolbar-wrap > ul li.search-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus) header .header-wrap .toolbar-wrap > ul li.search-wrap {
    border-radius: 20px;
    border: 1px solid var(--G100);
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus):has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus):has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap {
    display: flex;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus):has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list, body:not(.logined):has(li.search-wrap input[type=search]:focus):has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list {
    display: flex;
    padding: 8px 0 0;
  }
  body:not(.logined):has(li.search-wrap input[type=search].focus):has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match > ul li.search-wrap, body:not(.logined):has(li.search-wrap input[type=search]:focus):has(li.search-wrap input[type=search].has-value) header .header-wrap .toolbar-wrap.has-match > ul li.search-wrap {
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
}

@media screen and (min-width: 769px) and (orientation: landscape) {
  body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) {
    background-color: var(--PFC);
  }
  body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) > .icon-wrap i {
    background-color: var(--G00);
  }
  body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) > .icon-wrap.solid-arrow-tb {
    transform: rotate(180deg);
  }
  body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) > strong {
    color: var(--G00);
  }
  body header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) .member-view {
    display: block;
  }
}

body:has(#share_switch:checked) .detail-content .detils-header {
  z-index: 6;
}
body:has(#share_switch:checked) .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share {
  z-index: 10;
  display: flex;
  opacity: 1;
  background-color: transparent;
  box-shadow: none;
}
body:has(#share_switch:checked) .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view {
  z-index: 2;
  opacity: 1;
}
body section.popup-wrap:has(.popup-view.copied) {
  z-index: 10;
  display: flex;
  background: transparent;
  opacity: 1;
}
body section.popup-wrap:has(.popup-view.copied) .popup-view.copied {
  position: relative;
  z-index: 5;
  display: flex;
}
body .detail-content .detils-header .toolbar-wrap div.favorite:has(input[type=checkbox]:checked) .icon-wrap i {
  mask-image: url(../assets/icon/icon_favorite_a.png);
  background-color: var(--PSC);
}
body .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add:has(input[type=checkbox]:checked) .icon-wrap.cart i {
  mask-image: url(../assets/icon/icon_cart_a.png);
}
body .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add:has(input[type=checkbox]:checked) strong::before {
  content: "已";
  margin: 0 -3px 0 0;
}
body .page-navigation-wrap:has(#page_nav_toggle:checked) {
  transform: translateX(0) translateY(-50%);
}
body .page-navigation-wrap:has(#page_nav_toggle:checked) .icon-wrap i {
  transform: rotate(180deg);
}
body .detail-content .metadata-wrap .description:has(.btn-more input:checked) {
  padding: 16px 0 0;
}
body .detail-content .metadata-wrap .description:has(.btn-more input:checked) .text-wrap p.line-limit {
  -webkit-line-clamp: 9999;
}
body .detail-content .metadata-wrap .description:has(.btn-more input:checked) .text-wrap::after {
  display: none;
}
body .detail-content .metadata-wrap .description:has(.btn-more input:checked) .btn-more strong::before {
  content: "less";
}
body:has(#mediaUsedToggle:checked) {
  overflow-y: hidden;
}
body:has(#mediaUsedToggle:checked) .popup-wrap:has(.popup-view.media-used) {
  z-index: 10;
  display: flex;
  padding: 0 16px;
  opacity: 1;
}
body:has(#mediaUsedToggle:checked) .popup-wrap:has(.popup-view.media-used) .popup-view.media-used {
  display: block;
}
body:has(#giftSwitch:checked) section.popup-wrap:has(.popup-view.gift) {
  z-index: 10;
  display: flex;
  opacity: 1;
}
body:has(#giftSwitch:checked) section.popup-wrap:has(.popup-view.gift) .popup-view.gift {
  display: flex;
}
body .detail-content .product-detail .tabs-wrap:has(.prodsuct-data input[type=radio]:checked) ~ .content-wrap .detail-content {
  display: flex !important;
}
body .detail-content .product-detail .tabs-wrap:has(.prodsuct-data input[type=radio]:checked) ~ .content-wrap .table-content,
body .detail-content .product-detail .tabs-wrap:has(.prodsuct-data input[type=radio]:checked) ~ .content-wrap .other-content {
  display: none !important;
}
body .detail-content .product-detail .tabs-wrap:has(.catalog input[type=radio]:checked) ~ .content-wrap .table-content {
  display: flex !important;
}
body .detail-content .product-detail .tabs-wrap:has(.catalog input[type=radio]:checked) ~ .content-wrap .detail-content,
body .detail-content .product-detail .tabs-wrap:has(.catalog input[type=radio]:checked) ~ .content-wrap .other-content {
  display: none !important;
}
body .detail-content .product-detail .tabs-wrap:has(.radio-wrap input[type=radio]:checked) ~ .content-wrap .other-content {
  display: flex;
}
body .detail-content .product-detail .tabs-wrap:has(.radio-wrap input[type=radio]:checked) ~ .content-wrap .detail-content,
body .detail-content .product-detail .tabs-wrap:has(.radio-wrap input[type=radio]:checked) ~ .content-wrap .table-content {
  display: none;
}
body .shopping-guide .about-tab:has(label[for=about-usedbook] input[type=radio]:checked) ~ article.usedbook {
  display: block;
}
body .shopping-guide .about-tab:has(label[for=about-ebook] input[type=radio]:checked) ~ article.ebook {
  display: block;
}
body .shopping-guide .about-tab:has(label[for=about-newbook] input[type=radio]:checked) ~ article.newbook {
  display: block;
}
@media screen and (min-width: 769px) {
  body .detail-content .metadata-wrap .description:has(.btn-more input:checked) {
    padding: 0 32px 32px 0;
  }
}
@media screen and (min-width: 1281px) {
  body .detail-content .metadata-wrap .description:has(.btn-more input:checked) {
    padding: 0 64px 32px 0;
  }
  body .metadata-wrap:has(#usedbooksToggle:checked) .popup-wrap.note-popup {
    transform: translate(-50%, 0);
  }
}

body .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item:has(input[type=radio]:checked) {
  background-color: var(--PFUC);
  border: 1px solid var(--PTC);
  outline: 1px solid var(--PTC);
}
body .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item:has(input[type=radio]:checked) div.select-state {
  display: flex;
}
body .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item:has(input[type=radio]:checked) div.select-state:after {
  display: block;
}
body:has(.porduct-type ul li.type-item.new input[type=radio]:checked) .porduct-info .porduct-type ul li.type-item.new {
  pointer-events: none;
}
body:has(.porduct-type ul li.type-item.new input[type=radio]:checked) .control-wrap .btn-wrap.btn-gift {
  display: none !important;
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .porduct-info .porduct-type ul li.type-item.used {
  pointer-events: none;
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .page-navigation-wrap ul li.nav-usedlist {
  display: block;
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .control-wrap .btn-wrap.btn-gift {
  display: none !important;
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .porduct-price .discount::after {
  content: "折起";
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .porduct-price .special-price.range-upper {
  display: inline-flex;
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .usedbooks-list {
  display: block;
  max-height: 420px;
}
body:has(.porduct-type ul li.type-item.used input[type=radio]:checked) .detail-content .metadata-wrap .control-wrap {
  display: none;
}
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .porduct-info .porduct-type ul li.type-item.ebook {
  pointer-events: none;
}
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .control-wrap label[for=ebook-function-switch] {
  display: flex;
}
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .detils-header .toolbar-wrap div.favorite,
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .detils-header .toolbar-wrap div.file-format,
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .detils-header .toolbar-wrap div.trial-btn {
  display: flex;
}
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .metadata-wrap .metadata > div.stock {
  visibility: hidden;
}
body .metadata-wrap:has(#usedbooksToggle:checked) .usedbooks-list {
  max-height: 99999px;
}
body .metadata-wrap:has(#usedbooksToggle:checked) .usedbooks-list label[for=usedbooksToggle] {
  position: relative;
  transform: translateY(0);
  transition: transform ease 0.35s;
  background-image: none;
  background-color: var(--G00);
}
body .metadata-wrap:has(#usedbooksToggle:checked) .usedbooks-list label[for=usedbooksToggle] strong span::before {
  content: "部分";
}
body .metadata-wrap:has(#usedbooksToggle:checked) .usedbooks-list label[for=usedbooksToggle].type-top {
  display: block;
}
body .metadata-wrap:has(#usedbooksToggle:checked) .usedbooks-list table tbody tr {
  opacity: 1 !important;
}
body .metadata-wrap:has(table th.note .icon-wrap.note input:checked) .popup-wrap.note-popup {
  display: block;
}
body .detail-content .metadata-wrap .control-wrap:has(label[for=ebook-function-switch] input[type=checkbox]:checked) .btn-wrap.btn-gift {
  display: flex;
}
@media screen and (min-width: 769px) {
  body:has(.detail-content .porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .metadata-wrap .control-wrap label[for=ebook-function-switch] {
    display: none;
  }
  body:has(.detail-content .porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
    display: flex;
  }
}
@media screen and (min-width: 1281px) {
  body .metadata-wrap:has(#usedbooksToggle:checked) .popup-wrap.note-popup {
    transform: translate(-35%, -8px);
    max-width: 560px;
  }
}

body {
  /* chinese catalog view show */
  /* foreign catalog view show */
  /* event view show */
  /*  news view show */
}
body:has(#navToggle:checked) header nav.main-menu {
  transform: translateX(0);
  z-index: 9999;
  opacity: 1;
}
body:has(#navCategoryChinese:checked) section.catalog-popup[data-type=chinese] {
  transform: translateX(0);
  z-index: 9;
  opacity: 1;
}
body:has(#navCategoryChinese:checked) header {
  z-index: 8;
}
body:has(#navCategoryChinese:checked) header nav.main-menu {
  z-index: 8;
}
body:has(#navCategoryChinese:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryChinese]) label {
  color: var(--PFC);
}
body:has(#navCategoryChinese:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryChinese]) label span {
  transform: rotate(0deg);
}
body:has(#navCategoryChinese:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryChinese]) label span i {
  background-color: var(--PFC);
}
body:has(#navCategoryChinese:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryChinese])::after {
  width: 80%;
  opacity: 1;
}
body:has(#navCategoryForeign:checked) section.catalog-popup[data-type=foreign] {
  transform: translateX(0);
  z-index: 9;
  opacity: 1;
}
body:has(#navCategoryForeign:checked) header {
  z-index: 8;
}
body:has(#navCategoryForeign:checked) header nav.main-menu {
  z-index: 8;
}
body:has(#navCategoryForeign:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryForeign]) label {
  color: var(--PFC);
}
body:has(#navCategoryForeign:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryForeign]) label span {
  transform: rotate(0deg);
}
body:has(#navCategoryForeign:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryForeign]) label span i {
  background-color: var(--PFC);
}
body:has(#navCategoryForeign:checked) header nav.main-menu ul li.nav-item:has(label[for=navCategoryForeign])::after {
  width: 80%;
  opacity: 1;
}
body:has(#navEvent:checked) section.event-popup {
  transform: translateX(0);
  z-index: 8;
  display: flex;
  opacity: 1;
  transition: 0s;
}
body:has(#navEvent:checked) header nav.main-menu {
  z-index: 8;
}
body:has(#navEvent:checked) header nav.main-menu ul li.nav-item:has(label[for=navEvent]) label {
  color: var(--PFC);
}
body:has(#navEvent:checked) header nav.main-menu ul li.nav-item:has(label[for=navEvent]) label span {
  transform: rotate(0deg);
}
body:has(#navEvent:checked) header nav.main-menu ul li.nav-item:has(label[for=navEvent]) label span i {
  background-color: var(--PFC);
}
body:has(#navEvent:checked) header nav.main-menu ul li.nav-item:has(label[for=navEvent])::after {
  width: 80%;
  opacity: 1;
}
body:has(#navNews:checked) section.news-popup {
  transform: translateX(0);
  z-index: 8;
  display: flex;
  opacity: 1;
  transition: 0s;
}
body:has(#navNews:checked) header nav.main-menu {
  z-index: 8;
}
body:has(#navNews:checked) header nav.main-menu ul li.nav-item:has(label[for=navNews]) label {
  color: var(--PFC);
}
body:has(#navNews:checked) header nav.main-menu ul li.nav-item:has(label[for=navNews]) label span {
  transform: rotate(0deg);
}
body:has(#navNews:checked) header nav.main-menu ul li.nav-item:has(label[for=navNews]) label span i {
  background-color: var(--PFC);
}
body:has(#navNews:checked) header nav.main-menu ul li.nav-item:has(label[for=navNews])::after {
  width: 80%;
  opacity: 1;
}

body header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  width: 100dvw;
  height: 48px;
  padding: 0 16px;
  background-color: var(--G00);
  overflow: hidden;
}
body header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
body header .header-wrap label[for=navToggle] {
  display: block;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
body header .header-wrap label[for=navToggle] span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 6px;
  transition: transform ease 0.35s;
}
body header .header-wrap label[for=navToggle] span::before, body header .header-wrap label[for=navToggle] span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 3px;
  background-color: var(--G700);
  transition: ease 0.35s;
}
body header .header-wrap label[for=navToggle] span::after {
  width: 12px;
}
body header .header-wrap .logo-wrap {
  flex: 1;
  max-width: max-content;
  max-height: 32px;
}
body header .header-wrap .logo-wrap h1 {
  display: none;
}
body header .header-wrap .logo-wrap a picture img {
  max-width: 160px;
  max-height: 32px;
}
body header .header-wrap .toolbar-wrap {
  width: max-content;
  display: flex;
  justify-content: end;
  margin: 0 0 0 auto;
}
body header .header-wrap .toolbar-wrap .popup-wrap {
  display: none;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background-color: var(--G00);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search {
  display: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search h3 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 16px 16px 32px;
  background-color: var(--G00);
  border-top: 1px solid var(--G50);
  overflow: hidden;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form div.input-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 40px;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form div.input-wrap label {
  min-width: 48px;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form div.input-wrap input {
  width: 100%;
  height: 32px;
  padding: 0 8px 0 16px;
  line-height: 32px;
  border: 1px solid var(--G300);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap button {
  width: 100%;
  height: 40px;
  padding: 0 24px;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search::after {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  display: none;
  width: calc(100% - 80px);
  height: 1px;
  background-color: var(--G100);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 0 16px;
  background-color: var(--G00);
  overflow: hidden;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list h2 {
  width: max-content;
  height: 32px;
  line-height: 32px;
  text-align: left;
  font-size: 0.875rem;
  color: var(--G700);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100dvh - 56px);
  margin: 32px 0 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list {
  position: relative;
  display: none;
  flex-direction: column;
  height: max-content;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 16px 0 8px;
  box-sizing: border-box;
  font-size: 1rem;
  color: var(--G700);
  background-color: var(--G00);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li .icon-wrap.clock, body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li .icon-wrap.search,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li .icon-wrap.clock,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li .icon-wrap.search {
  cursor: default;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li .icon-wrap.close i,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li .icon-wrap.close i {
  mask-size: 18px;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li .icon-wrap.close:hover i,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li .icon-wrap.close:hover i {
  background-color: var(--OC2);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li p,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
  width: max-content;
  max-width: calc(100% - 64px);
  margin: 0 auto 0 0;
  line-height: 32px;
  cursor: pointer;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list li p:hover,
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .match-list li p:hover {
  color: var(--PFC);
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list {
  display: flex;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap .search-list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 8px);
  width: calc(100% - 32px);
  height: 1px;
  background-color: var(--G50);
  display: none;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .fuction-btn-wrap {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 24px;
}
body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list .fuction-btn-wrap button {
  width: max-content;
  height: 32px;
  line-height: 32px;
  text-decoration: underline;
}
body header .header-wrap .toolbar-wrap > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--G00);
}
body header .header-wrap .toolbar-wrap > ul li {
  position: relative;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  width: max-content;
  height: 32px;
  padding: 0 12px 0 4px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 32px;
  background-color: var(--G00);
  transition: width ease 0.35s;
  cursor: pointer;
}
body header .header-wrap .toolbar-wrap > ul li > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
body header .header-wrap .toolbar-wrap > ul li > strong {
  display: none;
}
body header .header-wrap .toolbar-wrap > ul li:hover > .icon-wrap i {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li:hover > strong {
  color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.search-close {
  display: none;
  transform: translateX(-8px);
  max-width: 32px;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap {
  justify-content: start;
  width: max-content;
  max-width: 32px;
  min-width: 0;
  padding: 0;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap input[type=search] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0 6px;
  box-sizing: border-box;
  border: none;
  border-radius: 32px;
  background-color: var(--G00);
  color: var(--G700);
  font-size: 0.875rem;
  opacity: 0;
  transition: ease 0.35s;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit] {
  position: relative;
  z-index: 0;
  width: auto;
  height: 32px;
  margin: 0;
  padding: 0;
  transition: ease 0.35s;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=reset],
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit].enter-btn {
  position: absolute;
  top: 50%;
  right: 104px;
  transform: translateY(-50%);
  z-index: -1;
  display: none;
  margin: 0;
  opacity: 0;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=reset] .icon-wrap i,
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit].enter-btn .icon-wrap i {
  transform: translateY(2px);
  mask-size: 18px;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=reset]:hover .icon-wrap i,
body header .header-wrap .toolbar-wrap > ul li.search-wrap button[type=submit].enter-btn:hover .icon-wrap i {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle] {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  z-index: -1;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 0px;
  height: 32px;
  padding: 0 12px 0 4px;
  border: 1px solid transparent;
  border-radius: 0 32px 32px 0;
  background-color: var(--G00);
  pointer-events: none;
  opacity: 0;
  cursor: pointer;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle] strong {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  padding: 0 0 0 16px;
  font-size: 0.875rem;
  background-color: var(--G00);
  transition: ease 0.35s;
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle] .icon-wrap {
  transform: rotate(0deg);
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover strong {
  color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.search-wrap label[for=advancedToggle]:hover .icon-wrap i {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.shopcart {
  position: relative;
}
body header .header-wrap .toolbar-wrap > ul li.shopcart strong.cart-count {
  position: absolute;
  bottom: 4px;
  left: 20px;
  transform: translate(3px, 1px);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13px;
  height: 13px;
  line-height: 16px;
  border-radius: 24px;
  font-size: 9px;
  color: var(--G00);
  background-color: var(--OC2);
  opacity: 1;
}
body header .header-wrap .toolbar-wrap > ul li.shopcart .icon-wrap i {
  background-color: var(--G500);
}
body header .header-wrap .toolbar-wrap > ul li.shopcart:hover .icon-wrap i {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.shopcart.no-item strong.cart-count {
  z-index: -1;
  opacity: 0;
}
body header .header-wrap .toolbar-wrap > ul li.member {
  align-items: center;
}
body header .header-wrap .toolbar-wrap > ul li.member > label[for=memberToggle] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body header .header-wrap .toolbar-wrap > ul li.member > a {
  position: relative;
}
body header .header-wrap .toolbar-wrap > ul li.member > a.login {
  gap: 4px;
}
body header .header-wrap .toolbar-wrap > ul li.member > a.login i {
  mask-size: 28px;
}
body header .header-wrap .toolbar-wrap > ul li.member > a.login::after {
  content: "登入";
  display: none;
  width: max-content;
}
body header .header-wrap .toolbar-wrap > ul li.member > a.login:hover i {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.member > a.register {
  display: none;
  align-items: center;
}
body header .header-wrap .toolbar-wrap > ul li.member > a.register::after {
  content: "註冊";
  display: none;
}
body header .header-wrap .toolbar-wrap > ul li.member > a.member-center {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body header .header-wrap .toolbar-wrap > ul li.member > span.icon-wrap {
  display: none;
}
body header .header-wrap .toolbar-wrap > ul li.member strong {
  display: none;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view {
  position: fixed;
  top: 48px;
  right: 0;
  z-index: 10;
  display: none;
  width: 100%;
  height: max-content;
  padding: 12px 12px 48px;
  border-radius: 0 0 26px 26px;
  background-color: var(--G50);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 12px;
  border-radius: 20px 20px 0 0;
  background-color: var(--G00);
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content h3 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content p.user-name {
  display: none;
  font-size: 1rem;
  line-height: 1.2;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content p.user-account {
  font-size: 0.75rem;
  line-height: 1.2;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content p span.bonuspoint, body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content p span.ecoupon {
  color: var(--OC2);
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content button.goto-member {
  margin: 8px auto;
  padding: 0 16px;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .view-content button.goto-member strong {
  display: block;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 4px 0 0;
  padding: 12px 0;
  background-color: var(--G00);
  border-radius: 0 0 20px 20px;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap button {
  display: flex;
  height: 32px;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap button strong {
  display: block;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap button.logout {
  position: absolute;
  bottom: 4px;
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap button:hover .icon-wrap i {
  background-color: var(--PFC);
}
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap button:hover a,
body header .header-wrap .toolbar-wrap > ul li.member .member-view .fuction-btn-wrap button:hover strong {
  color: var(--PFC);
}
body header nav.main-menu {
  position: fixed;
  top: 48px;
  left: 0;
  transform: translateX(-100%);
  z-index: -1;
  width: 100dvw;
  max-width: 1280px;
  height: 100dvh;
  margin: 0 auto;
  padding: 0.5rem 0;
  background-color: var(--G00);
  border-top: 1px solid var(--G50);
  opacity: 0;
  transition: ease 0.35s;
}
body header nav.main-menu .area-title {
  position: absolute;
  display: flex;
  display: none;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 1rem;
  box-sizing: border-box;
}
body header nav.main-menu .area-title label {
  width: max-content;
  height: max-content;
  cursor: pointer;
}
body header nav.main-menu .area-title label span.icon-wrap {
  display: block;
  width: 32px;
  height: 32px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../images/iconset/icon_close_n.png");
}
body header nav.main-menu .area-title h2 {
  display: block;
  width: max-content;
  margin: 0 auto 0 0;
  line-height: 48px;
}
body header nav.main-menu ul {
  display: flex;
  flex-direction: column;
  align-items: start;
}
body header nav.main-menu ul li.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 40px;
  padding: 0 1rem;
  box-sizing: border-box;
}
body header nav.main-menu ul li.nav-item label {
  display: flex;
  align-items: center;
  line-height: 40px;
  cursor: pointer;
}
body header nav.main-menu ul li.nav-item label span.icon-wrap {
  transform: rotate(90deg);
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  body header {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 96px;
    padding: 8px 24px 0;
    border-bottom: 1px solid var(--G50);
    transition: padding ease 0.35s;
  }
  body header .header-wrap label[for=navToggle] {
    display: none;
  }
  body header .header-wrap .logo-wrap {
    flex: 1;
    max-height: unset;
  }
  body header .header-wrap .logo-wrap a picture img {
    max-width: 200px;
    max-height: 40px;
  }
  body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search {
    position: absolute;
    top: 0;
    justify-content: start;
    min-width: max-content;
    height: max-content;
    border: 1px solid var(--G100);
    border-top-color: transparent;
  }
  body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap {
    justify-content: end;
  }
  body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.advanced-search form .fuction-btn-wrap button {
    width: max-content;
  }
  body header .header-wrap .toolbar-wrap .popup-wrap .popup-view.search-tool-list div.list-wrap {
    max-height: 360px;
  }
  body header nav.main-menu {
    position: relative;
    top: 0;
    transform: translate(0);
    z-index: 1;
    width: 100%;
    min-width: 800px;
    height: max-content;
    padding: 0;
    border: none;
    opacity: 1;
    transition: none;
  }
  body header nav.main-menu ul {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1280px;
  }
  body header nav.main-menu ul li.nav-item {
    transform: translateY(4px);
    justify-content: center;
  }
  body header nav.main-menu ul li.nav-item label span.icon-wrap {
    transform: rotate(180deg);
    transition: transform ease 0.15s;
  }
}
@media screen and (min-width: 1281px) {
  body header {
    z-index: 9;
    padding: 8px 64px 0;
  }
  body header .header-wrap .logo-wrap a picture img {
    max-width: 192px;
  }
  body header .header-wrap .toolbar-wrap > ul li {
    gap: 0;
    height: 36px;
    padding: 0 16px 0 4px;
  }
  body header .header-wrap .toolbar-wrap > ul li strong {
    display: block;
  }
  body header .header-wrap .toolbar-wrap > ul li:hover {
    border-color: var(--PFC);
  }
  body header .header-wrap .toolbar-wrap > ul li.search-wrap {
    margin: 0 8px 0 0;
    padding: 0;
    border-color: transparent;
  }
  body header .header-wrap .toolbar-wrap > ul li.member .member-view {
    right: unset;
    left: 50%;
    transform: translateX(calc(-50% + 640px - 140px));
  }
  body header .header-wrap .toolbar-wrap > ul li.member > span.icon-wrap i {
    background-color: var(--G500);
  }
  body header .header-wrap .toolbar-wrap > ul li.member > span.icon-wrap.member i {
    mask-size: 28px;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a {
    position: relative;
    display: inline-flex;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a.login {
    width: max-content;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a.login::after {
    display: block;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a.register {
    display: inline-flex;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a.register::before {
    content: "/";
    color: var(--G500);
    margin: 0 4px;
    cursor: default;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a.register::after {
    display: inline-block;
  }
  body header .header-wrap .toolbar-wrap > ul li.member > a.member-center {
    display: none;
  }
}
body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member {
  padding: 0 4px 0 0;
}
body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > span.icon-wrap.member {
  display: flex;
}
body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > a.login, body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > a.register {
  display: none;
}
body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > a.member-center {
  display: none;
}
body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member:hover > span.icon-wrap i {
  background-color: var(--PFC);
}
@media screen and (max-width: 768px) {
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member {
    margin-left: 4px;
    padding: 0;
  }
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member .icon-wrap.member i {
    mask-size: 28px;
  }
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member label[for=memberToggle] {
    display: block;
  }
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > a {
    display: none;
  }
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > a.member-center {
    display: none;
  }
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > span.icon-wrap.solid-arrow-tb {
    display: flex;
  }
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member > strong {
    display: block;
  }
  body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member .member-view {
    top: 64px;
    right: 24px;
    max-width: 280px;
    border-radius: 26px;
  }
}

footer {
  width: 100%;
  padding: 24px 16px;
  background-color: var(--G00);
}
footer .footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0;
  gap: 24px;
}
footer .footer-wrap .business-l {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 32px;
}
footer .footer-wrap .business-l > div {
  min-width: calc(100% - 64px);
}
footer .footer-wrap .business-l > div h4 {
  margin: 0 0 8px;
  color: var(--PFC);
}
footer .footer-wrap .business-l > div ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .footer-wrap .business-r {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0 32px;
}
footer .footer-wrap .business-r button {
  height: 48px;
  border-radius: 4px;
  background-color: var(--G300);
}
footer .footer-wrap .business-r button img {
  width: auto;
  margin: 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: color-dodge;
}
footer .footer-wrap .business-r button.fb-fans img {
  background-image: url("../../Content/images/footer-btn-fb.png");
}
footer .footer-wrap .business-r button.e-news img {
  background-image: url("../../Content/images/footer-btn-enews.png");
}
footer .footer-wrap .business-r button:hover {
  background-color: var(--PFC);
}
footer .footer-wrap .twca-wrap .MINI {
  position: relative;
  max-width: 80px;
  margin: 0 auto;
}
footer .footer-wrap .twca-wrap .MINI img {
  width: auto;
}
footer .footer-wrap .twca-wrap .MINI #twcad3 {
  position: absolute;
  bottom: 0;
  right: 0;
}
footer .footer-wrap .twca-wrap .MINI #twcad1,
footer .footer-wrap .twca-wrap .MINI #twcad2 {
  display: none;
}
footer .copyrights {
  margin: 16px 0 0;
  text-align: center;
}
footer .copyrights p {
  font-size: 0.875rem;
}
footer .copyrights p a:hover {
  color: var(--PFC);
}
footer .copyrights small {
  font-size: 0.875rem;
}

@media screen and (min-width: 769px) {
  footer .footer-wrap .business-l {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
  }
  footer .footer-wrap .business-l > div {
    min-width: auto;
  }
  footer .footer-wrap .business-l > div ul {
    gap: 0;
  }
  footer .footer-wrap .business-r {
    padding: 0 16px;
  }
}
@media screen and (min-width: 1024px) and (orientation: landscape) {
  footer {
    padding: 32px 0 4px;
  }
  footer .footer-wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    max-width: 1366px;
    margin: 0 auto 24px;
  }
  footer .footer-wrap .business-l {
    max-width: 620px;
  }
  footer .footer-wrap .business-r {
    position: relative;
    flex-direction: row;
    width: max-content;
  }
  footer .footer-wrap .business-r .twca-wrap {
    position: absolute;
    left: 16px;
    transform: translateY(64px);
  }
}
.books-module {
  --bookcover-size: 120px;
  width: var(--bookcover-size);
  flex: 0 0 var(--bookcover-size);
  transition: ease 0.25s;
}
.books-module .cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1/1.4;
  background-color: var(--G00);
  border: 1px solid transparent;
  mix-blend-mode: multiply;
  overflow: hidden;
  cursor: pointer;
}
.books-module .cover span.favorite {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  opacity: 0.5;
  cursor: pointer;
}
.books-module .cover span.favorite input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.books-module .cover span.favorite i {
  background-color: var(--G700);
}
.books-module .cover span.favorite:has(> input[type=checkbox]:checked) {
  opacity: 1;
}
.books-module .cover span.favorite:has(> input[type=checkbox]:checked) i {
  mask-image: url(../assets/icon/icon_favorite_a.png);
  background-color: var(--PSC);
}
.books-module .cover span.permission-icon {
  right: inherit;
  left: 0;
  z-index: 0;
  display: none;
  background-color: var(--G100);
  opacity: 1;
  cursor: default;
}
.books-module .cover span.permission-icon i {
  background-color: var(--G900);
}
.books-module .cover span.permission-icon strong {
  display: none;
  color: var(--G900);
}
.books-module .cover span.permission-icon:hover {
  background-color: var(--G100);
}
.books-module .cover span.tf-icon {
  top: inherit;
  bottom: 0;
  justify-content: start;
  padding: 0 4px;
  background-color: var(--SK01);
  opacity: 1;
  display: none;
}
.books-module .cover span.tf-icon strong {
  display: block;
  width: max-content;
  max-width: 0;
  white-space: nowrap;
  color: var(--G00);
  overflow: hidden;
  transition: ease 0.25s;
}
.books-module .cover span.tf-icon:hover {
  justify-content: center;
  width: 100%;
  padding: 0 4px;
  background-color: var(--SK01);
}
.books-module .cover span.tf-icon:hover strong {
  max-width: 100%;
}
.books-module .cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.books-module .cover:hover span.favorite {
  opacity: 1;
}
.books-module .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  overflow-x: hidden;
}
.books-module .info p,
.books-module .info h4 {
  line-height: 1.25;
  word-break: break-all;
}
.books-module .info h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin: 8px 0 0;
  font-size: 1rem;
}
.books-module .info h4.title_zhtw {
  -webkit-line-clamp: 2;
}
.books-module .info .simple-info {
  display: none;
  align-items: center;
}
.books-module .info .simple-info span {
  vertical-align: middle;
  line-height: 24px;
}
.books-module .info .simple-info span::after {
  content: "｜";
  margin: 0 4px;
}
.books-module .info .simple-info span:last-child::after {
  display: none;
}

.loading-module {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: center;
  max-width: 100dvw;
  max-height: 100dvh;
  background-color: rgba(248, 248, 248, 0.7450980392);
  backdrop-filter: blur(3px);
}
.loading-module .loading-wrap {
  display: inline-block;
  height: 200px;
  width: 33.3%;
  float: left;
  position: relative;
  /*margin:0 -4px -5px -2px;*/
  transition: all 0.2s ease;
}
.loading-module .loading-wrap .loader-animation {
  position: relative;
  width: 12px;
  height: 12px;
  top: 46%;
  top: -webkit-calc(50% - 6px);
  top: calc(50% - 6px);
  left: 46%;
  left: -webkit-calc(50% - 6px);
  left: calc(50% - 6px);
  border-radius: 12px;
  background-color: rgba(156, 138, 114, 0.8431372549);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-animation: loader-animation 1s ease-in-out infinite;
  animation: loader-animation 1s ease-in-out infinite;
}
.loading-module .loading-wrap .loader-animation:before {
  content: "";
  position: absolute;
  background-color: rgba(156, 138, 114, 0.4745098039);
  top: 0px;
  left: -25px;
  height: 12px;
  width: 12px;
  border-radius: 12px;
}
.loading-module .loading-wrap .loader-animation:after {
  content: "";
  position: absolute;
  background-color: rgba(156, 138, 114, 0.4745098039);
  top: 0px;
  left: 25px;
  height: 12px;
  width: 12px;
  border-radius: 12px;
}
@-webkit-keyframes loader-animation {
  0% {
    -webkit-transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
  }
}
@keyframes loader-animation {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
.loading-module.show {
  display: flex;
}

section.popup-wrap.catalog-popup {
  position: fixed;
  top: 0;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100dvw;
  height: calc(100dvh - 48px);
  background: rgba(0, 0, 0, 0.75);
  box-sizing: border-box;
  opacity: 0;
  background-color: var(--G00);
}

/* Catalog popup Chinese */
section.catalog-popup {
  flex-direction: column;
}
section.catalog-popup > div {
  --popoverWidth: clamp(320px, calc(100% - 0px), 100dvw);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  width: var(--popoverWidth);
  height: 100%;
  background-color: var(--G00);
}
section.catalog-popup .control-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 8px;
  border-bottom: 1px solid var(--G50);
}
section.catalog-popup .control-wrap h2 {
  font-size: 1rem;
}
section.catalog-popup .catalog-wrap * {
  border: none;
}
section.catalog-popup .catalog-wrap .main-category {
  position: relative;
  margin: 0;
}
section.catalog-popup .catalog-wrap .main-category li {
  position: relative;
  width: calc(100% - 32px);
  min-height: 40px;
  margin: 0 16px;
  line-height: 40px;
  transition: ease 0.35s;
}
section.catalog-popup .catalog-wrap .main-category li input[type=radio] {
  position: absolute;
  width: 100%;
  height: 40px;
  z-index: 1;
  cursor: pointer;
}
section.catalog-popup .catalog-wrap .main-category li span {
  display: block;
  width: 100%;
  min-width: 100%;
}
section.catalog-popup .catalog-wrap .main-category li span::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 0;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 1px solid #afafaf;
  border-right: 1px solid #afafaf;
  border-radius: 2px;
  transition: ease 0.35s;
}
section.catalog-popup .catalog-wrap .main-category li span:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #f0f0f0;
}
section.catalog-popup .catalog-wrap .main-category li .sub-category {
  --popoverWidth: clamp(320px, calc(100% - 16px), 640px);
  --left: clamp(0, -16px, 0) transform: translateX(var(var(--left)));
  z-index: -1;
  flex-wrap: wrap;
  width: var(--popoverWidth);
  height: max-content;
  overflow-y: hidden;
  opacity: 0;
  transition: ease 0.35s;
  background-color: #f7f7f7;
}
section.catalog-popup .catalog-wrap .main-category li .sub-category li {
  width: fit-content;
  height: 0px;
  min-height: inherit;
  margin: 0 16px 0 0;
}
section.catalog-popup .catalog-wrap .main-category li .sub-category li.mobile {
  display: block;
  width: 100%;
}
section.catalog-popup .catalog-wrap .main-category li input[type=radio]:checked ~ span::before {
  transform: rotate(135deg);
}
section.catalog-popup .catalog-wrap .main-category li input[type=radio]:checked ~ .sub-category {
  z-index: 1;
  display: flex;
  padding: 0 16px;
  opacity: 1;
}
section.catalog-popup .catalog-wrap .main-category li input[type=radio]:checked ~ .sub-category li {
  height: 40px;
}
/* Catalog popup Foreign */
section.catalog-popup[data-type=foreign] {
  display: flex;
  flex-direction: column;
  gap: 0;
  container: catalog-popup-foreign/inline-size;
}
section.catalog-popup[data-type=foreign] .catalog-wrap {
  z-index: 2;
  flex: 1;
  width: 100%;
  padding: 0 0 48px;
}
section.catalog-popup[data-type=foreign] .catalog-wrap .main-category {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0;
}
section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li input[type=radio] {
  display: none;
}
section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li span a {
  text-transform: capitalize;
}
section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li span::before {
  display: none;
}
section.catalog-popup[data-type=foreign] .catalog-wrap p.category-overview {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: var(--popoverWidth);
  height: 48px;
  padding: 0 16px;
  line-height: 48px;
  text-align: right;
  font-size: 1.025rem;
  color: var(--PFC);
  background-color: var(--G00);
}
section.catalog-popup[data-type=foreign] .catalog-wrap p.category-overview a {
  line-height: 48px;
}
section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap {
  display: none;
}
section.catalog-popup[data-type=foreign] > label[for=category-foreign-toggle] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}
@container catalog-popup-foreign (min-width: 769px) {
  section.catalog-popup[data-type=foreign] .catalog-wrap {
    padding: 0;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category {
    align-items: center;
    height: max-content;
    max-height: calc(100dvh - 144px);
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li {
    width: 33.3333333333%;
    max-width: 33.3333%;
    margin: 0;
    padding: 0 0 0 16px;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li input[type=radio] {
    display: none;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li span::after {
    display: none;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap::before, section.catalog-popup[data-type=foreign] .catalog-wrap::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100dvh;
    top: 0;
    left: 33.3333%;
    background-color: var(--G50);
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap::after {
    left: 66.6666%;
  }
}
@container catalog-popup-foreign (min-width: 1025px) {
  section.catalog-popup[data-type=foreign] .control-wrap {
    display: none;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap {
    flex: 0 0 fit-content;
    width: 100dvw;
    margin: 0 auto;
    padding: 0 0 24px;
    overflow-y: hidden;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category {
    align-items: start;
    width: 100%;
    height: max-content;
    max-height: 560px;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li {
    width: calc((100% - 0px) / 4);
    padding: 0 0 0 16px;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap p.category-overview {
    position: absolute;
    right: 48px;
    bottom: 24px;
    left: unset;
    transform: translate(0);
    width: max-content;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap {
    display: flex;
    justify-content: start;
    width: 100%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span {
    position: absolute;
    top: 0;
    display: block;
    width: 1px;
    height: 100dvh;
    margin: 0 auto;
    background-color: var(--G50);
    left: 25%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span:nth-of-type(2) {
    left: 50%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span:nth-of-type(3) {
    left: 75%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span:nth-of-type(4) {
    display: none;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap::before, section.catalog-popup[data-type=foreign] .catalog-wrap::after {
    display: none;
  }
  section.catalog-popup[data-type=foreign] > label[for=category-foreign-toggle] {
    position: absolute;
    background-color: var(--G00);
  }
}
@container catalog-popup-foreign (min-width: 1281px) {
  section.catalog-popup[data-type=foreign] .control-wrap {
    display: none;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category {
    max-height: 480px;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .main-category li {
    width: calc((100% - 0px) / 5);
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span {
    position: absolute;
    top: 0;
    display: block;
    width: 1px;
    height: 100dvh;
    margin: 0 auto;
    background-color: var(--G50);
    left: 20%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span:nth-of-type(2) {
    left: 40%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span:nth-of-type(3) {
    left: 60%;
  }
  section.catalog-popup[data-type=foreign] .catalog-wrap .hr-wrap span:nth-of-type(4) {
    display: block;
    left: 80%;
  }
}

@media screen and (min-width: 769px) and (orientation: portrait) {
  section.popup-wrap.catalog-popup {
    display: block;
    height: max-content;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] .catalog-wrap {
    position: relative;
    display: block;
    height: max-content;
    min-height: 728px;
    overflow: hidden;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] .catalog-wrap p.category-overview {
    position: sticky;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    width: 100%;
    text-align: center;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] .catalog-wrap p.category-overview a {
    width: max-content;
    line-height: 48px;
  }
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  section.popup-wrap.catalog-popup {
    top: 96px;
    justify-content: start;
    background-color: var(--G00);
  }
  section.popup-wrap.catalog-popup .control-wrap {
    display: none;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap {
    --popoverWidth: clamp(320px, calc(100% - 0px), 100dvw);
    width: var(--popoverWidth);
    margin: 0 auto;
    border-top: 16px solid var(--G00);
    border-bottom: 16px solid var(--G00);
    box-sizing: border-box;
    border-radius: 0;
    container: grid-auto-fit/inline-size;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: minmax(max-content, 1fr);
    row-gap: 24px;
    column-gap: 16px;
    max-height: 65dvh;
    margin: 0;
    padding: 0 48px;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li {
    grid-column: span 1;
    grid-row: span 1;
    width: 100%;
    height: max-content;
    min-height: 96px;
    margin: 0;
    padding: 0 0.75rem;
    box-sizing: border-box;
    border-radius: 0.75rem;
    background-color: rgba(0, 0, 0, 0.025);
    overflow: hidden;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li:nth-last-of-type(1) {
    margin: 0 0 24px;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li input[type=radio] {
    display: none;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li span a {
    font-weight: 700 !important;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li span::before {
    display: none;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li span:after {
    display: none;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li .sub-category {
    position: relative;
    z-index: 1;
    display: flex;
    width: auto;
    background-color: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 1;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li .sub-category::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 1px;
    background-color: var(--G100);
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li .sub-category li {
    height: 28px !important;
    min-height: 0px;
    font-size: 0.9rem;
    line-height: 28px;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li .sub-category li:nth-child(1) {
    width: auto;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li .sub-category li.mobile {
    display: none;
  }
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category > li input[type=radio]:checked ~ .sub-category {
    padding: 0;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] .catalog-wrap {
    display: block;
    width: calc(100% - 64px);
    height: max-content;
    min-height: 728px;
    margin: 0 auto;
    padding: 0 0 24px;
    overflow: hidden;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] > label[for=category-foreign-toggle] {
    position: absolute;
    background-color: transparent;
  }
}
@media screen and (min-width: 1025px) and (orientation: landscape) {
  section.popup-wrap.catalog-popup[data-type=chinese] .catalog-wrap .main-category {
    padding: 0 96px;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] .catalog-wrap {
    width: calc(100% - 128px);
    min-height: 0px;
    padding: 0 0 24px;
  }
}
@media screen and (min-width: 1280px) {
  section.popup-wrap.catalog-popup {
    top: 96px;
    display: block;
    max-width: 100vw;
    height: max-content;
    border-top: 1px solid var(--G50);
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.35);
    background-color: var(--G00);
    overflow: visible;
  }
  section.popup-wrap.catalog-popup[data-type=foreign] .catalog-wrap {
    width: calc(100% - 160px);
    min-height: inherit;
  }
}
section.catalog-popup.show {
  z-index: 11;
  opacity: 1;
  display: none;
}
section.catalog-popup.show span.btn-close {
  transform: rotate(180deg);
}

.bookcase-module {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100dvw;
  margin: 24px 0;
  padding: 24px 0 0px;
  background-color: var(--G00);
  overflow-x: hidden;
  container: bookcase-module/inline-size;
}
.bookcase-module .area-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 100%;
  height: 64px;
  padding: 0 16px;
  margin: 16px 0 0;
  text-align: center;
}
.bookcase-module .area-title h2 {
  text-align: left;
}
.bookcase-module .area-title span.notes {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  margin: 0 0 0 -16px;
  padding: 0 16px;
  line-height: 24px;
  color: var(--SK01);
  background-color: var(--G00);
}
.bookcase-module .area-title::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--G300);
}
.bookcase-module .bookcase-list {
  position: relative;
  width: 100%;
  max-width: 100dvw;
  scrollbar-width: thin;
}
.bookcase-module .bookcase-list .swiper {
  width: calc(100% - 16px);
  height: 112px;
  border-radius: 8px;
}
.bookcase-module .bookcase-list .swiper .swiper-wrapper .swiper-slide .banner-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.bookcase-module .bookcase-list .bookcase-tab {
  margin: 0 auto;
  padding: 16px 0;
}
.bookcase-module .bookcase-list .bookcase-tab ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 8px;
}
.bookcase-module .bookcase-list .bookcase-tab ul li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  cursor: pointer;
}
.bookcase-module .bookcase-list .bookcase-tab ul li label {
  position: relative;
}
.bookcase-module .bookcase-list .bookcase-tab ul li label input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.bookcase-module .bookcase-list .bookcase-tab ul li label p {
  padding-left: 40px;
}
.bookcase-module .bookcase-list .bookcase-tab ul li label p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
  display: block;
  width: 32px;
  height: 32px;
  mask-size: 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--G500);
}
.bookcase-module .bookcase-list .bookcase-tab ul li:hover label p, .bookcase-module .bookcase-list .bookcase-tab ul li.active label p {
  color: var(--PB01);
}
.bookcase-module .bookcase-list .bookcase-tab ul li:hover label p::before, .bookcase-module .bookcase-list .bookcase-tab ul li.active label p::before {
  background-color: var(--PB01);
}
.bookcase-module .bookcase-list .bookcase-tab ul li:focus {
  outline: 2px solid var(--PB01) !important;
  outline-style: auto !important;
}
.bookcase-module .bookcase-list .bookcase-tab ul li.TF-university label p::before {
  mask-image: url(../assets/icons/icon_tf_university.png);
}
.bookcase-module .bookcase-list .bookcase-tab ul li.TF-award label p::before {
  mask-image: url(../assets/icons/icon_tf_award.png);
}
.bookcase-module .bookcase-list .bookcase-tab ul li.TF-publications label p::before {
  mask-image: url(../assets/icons/icon_tf_publications.png);
}
.bookcase-module .bookcase-list .bookcase-tab ul li.TF-cnci label p::before {
  mask-image: url(../assets/icons/icon_tf_cnci.png);
}
.bookcase-module .bookcase-list > ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  min-width: 100dvw;
  max-width: 100dvw;
  height: 100%;
  margin: 0 auto;
  padding: 16px 16px 32px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
}
.bookcase-module .bookcase-list > ul::-webkit-scrollbar {
  display: none;
}
.bookcase-module .bookcase-list > ul li.books-item {
  position: relative;
  z-index: 1;
  display: flex;
}
.bookcase-module .bookcase-list .slider-btn-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100dvw;
  pointer-events: visible;
  transition: ease 0.35s;
  display: none;
}
.bookcase-module .bookcase-list .slider-btn-wrap button {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.bookcase-module .bookcase-list .slider-btn-wrap button .icon-wrap i {
  background-color: var(--G900);
  mask-size: 32px;
  -webkit-mask-size: 32px;
}
.bookcase-module .bookcase-list .slider-btn-wrap button.btn-disabled {
  pointer-events: none;
  opacity: 0.15;
  filter: grayscale(0);
  cursor: not-allowed;
}
.bookcase-module .bookcase-list .tool-btn-wrap {
  justify-content: center;
  display: none;
}
.bookcase-module .bookcase-list .tool-btn-wrap .btn-change {
  position: absolute;
  top: 0;
  right: 16px;
  transform: translateY(-24px);
  width: max-content;
  height: 28px;
  padding: 0 8px 0 4px;
  border-radius: 4px;
  display: none;
}
.bookcase-module .bookcase-list .tool-btn-wrap .btn-change.btn-wrap.type2 {
  border-color: var(--SK01);
  outline: 6px solid var(--G00);
}
.bookcase-module .bookcase-list .tool-btn-wrap .btn-change.btn-wrap.type2 .icon-wrap i {
  background-color: var(--SK01);
}
.bookcase-module .bookcase-list .tool-btn-wrap .btn-change.btn-wrap.type2 b {
  color: var(--SK01);
}
.bookcase-module .bookcase-list .tool-btn-wrap .btn-change.btn-wrap.type2:hover {
  background-color: var(--SK02);
}
.bookcase-module .bookcase-list .tool-btn-wrap .btn-more {
  display: none;
}
.bookcase-module.change-on .bookcase-list .tool-btn-wrap {
  display: flex;
}
.bookcase-module.change-on .bookcase-list .tool-btn-wrap .btn-change {
  display: flex;
}
.bookcase-module.expand-on .bookcase-list .slider-btn-wrap {
  top: calc(50% - 38px);
}
.bookcase-module.expand-on .bookcase-list .tool-btn-wrap {
  display: flex;
}
.bookcase-module.expand-on .bookcase-list .tool-btn-wrap .btn-more {
  display: flex;
}
.bookcase-module.tool-all-on .bookcase-list .slider-btn-wrap {
  top: calc(50% - 38px);
}
.bookcase-module.tool-all-on .bookcase-list .tool-btn-wrap {
  display: flex;
}
.bookcase-module.tool-all-on .bookcase-list .tool-btn-wrap .btn-change {
  display: flex;
}
.bookcase-module.tool-all-on .bookcase-list .tool-btn-wrap .btn-more {
  display: flex;
}
@container bookcase-module (width > 480px) {
  .bookcase-module .bookcase-list ul li.books-item .books-module {
    --bookcover-size: 144px;
  }
  .bookcase-module .bookcase-list ul li.books-item .books-module .cover span.permission-icon {
    gap: 8px;
    width: 100%;
    padding: 0 32px 0 8px;
  }
  .bookcase-module .bookcase-list ul li.books-item .books-module .cover span.permission-icon strong {
    display: flex;
    width: auto;
  }
}
@container bookcase-module (width > 769px) {
  .bookcase-module .bookcase-list ul li.books-item .books-module {
    --bookcover-size: 160px;
  }
}

@media screen and (min-width: 769px) {
  .bookcase-module .swiper {
    width: calc(100% - 24px);
    max-width: 980px;
    height: 220px;
  }
  .bookcase-module .area-title {
    max-width: 1200px;
    margin: 16px auto 0;
  }
  .bookcase-module .bookcase-list {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  .bookcase-module .bookcase-list > ul:has(.tf-icon.active)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .bookcase-module .bookcase-list > ul:has(.tf-icon.active) li.books-item {
    z-index: 0;
  }
  .bookcase-module .bookcase-list > ul:has(.tf-icon.active) li.books-item:has(.tf-icon.active) {
    z-index: 2;
  }
  .bookcase-module .bookcase-list .slider-btn-wrap {
    top: calc(50% - 16px);
    display: flex;
    width: 100%;
    height: 0;
  }
  .bookcase-module.recommend {
    margin: 0;
    padding: 32px 0;
  }
}
@media screen and (min-width: 1024px) {
  .bookcase-module .swiper {
    width: calc(100% - 32px);
    max-width: 1200px;
    height: 360px;
  }
  .bookcase-module .area-title {
    max-width: 1200px;
    margin: 16px auto 0;
  }
  .bookcase-module .bookcase-list {
    max-width: 1200px;
    margin: 0 auto;
  }
  .bookcase-module .bookcase-list > ul {
    min-width: unset;
  }
}
/*---- bookcase module + recommend module 書牆書櫃(推薦)模組----*/
.bookcase-module.recommend {
  margin: 0;
  padding: 0;
}
.bookcase-module.recommend .swiper,
.bookcase-module.recommend .area-title {
  display: none;
}
.bookcase-module.recommend .bookcase-list {
  max-width: unset;
  margin: 0 auto;
  padding: 0 0 0 16px;
}
.bookcase-module.recommend .bookcase-list .tool-btn-wrap {
  display: none;
}
.bookcase-module.recommend .bookcase-list .bookcase-tab {
  width: calc(100% - 16px);
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li {
  flex: 1 1 100%;
  padding: 0;
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li label {
  width: 100%;
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li label p {
  position: relative;
  width: 100%;
  padding: 0;
  line-height: 48px;
  text-align: center;
  text-transform: uppercase;
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li label p::before {
  content: "";
  display: none;
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li label p::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0px);
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: var(--G300);
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li label:has(input:checked) p {
  color: var(--PTC);
}
.bookcase-module.recommend .bookcase-list .bookcase-tab ul li label:has(input:checked) p::after {
  background-color: var(--PTC);
}
.bookcase-module.recommend .bookcase-list > ul {
  justify-content: start;
  gap: 32px;
  max-width: calc(100dvw - 16px);
  min-width: unset;
  margin: 16px auto;
  padding: 0;
}

@media screen and (min-width: 769px) {
  .bookcase-module.recommend .bookcase-list {
    padding: 0 24px;
  }
  .bookcase-module.recommend .bookcase-list > ul {
    min-width: unset;
    max-width: 1120px;
  }
}
.banner-module {
  position: relative;
  width: 100%;
  container: banner-module/inline-size;
}
.banner-module .bookcase {
  /*.swiper*/
  width: 100dvw;
  max-width: 480px;
  margin: 0 auto;
}
.banner-module .bookcase .swiper-wrapper {
  max-height: 640px;
  background-color: var(--SK02);
}
.banner-module .bookcase .swiper-wrapper .swiper-slide {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: start;
  align-items: center;
  aspect-ratio: 1/1.75;
  padding: 16px;
  background-color: var(--SK02);
}
.banner-module .bookcase .swiper-wrapper .swiper-slide .banner-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.banner-module .bookcase .swiper-wrapper .swiper-slide .banner-text .slogan {
  color: var(--G900);
  line-height: 1.25;
}
.banner-module .bookcase .swiper-wrapper .swiper-slide .banner-text .description {
  color: var(--G900);
}
.banner-module .bookcase .swiper-wrapper .swiper-slide .mask {
  display: none;
}
.banner-module .bookcase .swiper-wrapper .swiper-slide.simple-type .banner-img-wrap img {
  max-height: 240px;
}
.banner-module .bookcase .swiper-wrapper .swiper-slide.full-type {
  padding: 0;
}
.banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .banner-text {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: calc(100% - 64px);
}
.banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .banner-img-wrap img {
  width: 100%;
  height: fit-content;
  object-fit: contain;
  aspect-ratio: 1/1.75;
}
.banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .mask {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 25%, rgba(255, 255, 255, 0.7) 50%, rgb(255, 255, 255) 75%);
}
.banner-module .bookcase .swiper-wrapper .swiper-slide.text-hide .banner-text {
  opacity: 0;
}
.banner-module .bookcase .swiper-pagination {
  position: absolute;
  bottom: 20px;
  display: flex;
  justify-content: center;
}
.banner-module .bookcase .swiper-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 6px;
  border-radius: 2px;
  background-color: var(--G500);
  opacity: 1;
}
.banner-module .bookcase .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--G900);
}
.banner-module .bookcase .swiper-button-prev,
.banner-module .bookcase .swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--G00);
  opacity: 0;
  transition: ease 0.35s;
}
.banner-module .bookcase .swiper-button-prev::after,
.banner-module .bookcase .swiper-button-next::after {
  content: "";
}
.banner-module .bookcase .swiper-button-prev:hover,
.banner-module .bookcase .swiper-button-next:hover {
  background-color: var(--G900);
}
.banner-module .bookcase .swiper-button-prev:hover .icon-wrap i,
.banner-module .bookcase .swiper-button-next:hover .icon-wrap i {
  background-color: var(--G00);
}
.banner-module .bookcase .swiper-button-prev {
  left: 0;
}
.banner-module .bookcase .swiper-button-next {
  right: 0;
}
.banner-module .bookcase:hover .swiper-button-prev,
.banner-module .bookcase:hover .swiper-button-next {
  opacity: 1;
}
@container banner-module (min-width: 560px) {
  .banner-module .bookcase {
    /*.swiper*/
    max-width: 1200px;
  }
  .banner-module .bookcase .swiper-wrapper {
    align-items: center;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide {
    aspect-ratio: 16/9;
    max-height: 440px;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide .banner-text {
    max-width: 440px;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.simple-type {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0 48px;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.simple-type .banner-text {
    max-width: 65%;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.simple-type .banner-img-wrap {
    margin: 0;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.simple-type .banner-img-wrap img {
    max-width: 160px;
    max-height: unset;
    aspect-ratio: unset;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .banner-text {
    top: 50%;
    bottom: inherit;
    left: 5%;
    transform: translateY(-50%);
    width: 70%;
    max-width: 440px;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .banner-img-wrap img {
    aspect-ratio: unset;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.right-type.simple-type {
    flex-direction: row-reverse;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.right-type.full-type .banner-text {
    left: inherit;
    right: 5%;
  }
}
@container banner-module (min-width: 980px) {
  .banner-module .bookcase {
    /*.swiper*/
  }
  .banner-module .bookcase .swiper-wrapper {
    align-items: center;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide {
    aspect-ratio: 14/5;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.simple-type .banner-img-wrap img {
    max-width: 280px;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .banner-text {
    top: 50%;
    bottom: inherit;
    left: 15%;
    transform: translateY(-50%);
    width: 70%;
    max-width: 560px;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.full-type .banner-img-wrap img {
    aspect-ratio: unset;
  }
  .banner-module .bookcase .swiper-wrapper .swiper-slide.right-type.full-type .banner-text {
    left: inherit;
    right: 15%;
  }
}

/* Pomption Banner 輪播 */
.banner-module.promption {
  margin: 24px 0 40px;
}

body section.popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
body section.popup-wrap .popup-view {
  display: none;
}
body section.popup-wrap.event-popup {
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 48px 0 0 0;
  background-color: transparent;
  overflow-y: auto;
  container: event-view/inline-size;
}
body section.popup-wrap.event-popup .control-wrap {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: block;
  width: 100%;
  margin: auto 0 0 0;
  border-top: 1px solid var(--G100);
  background-color: var(--G00);
}
body section.popup-wrap.event-popup .control-wrap label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  cursor: pointer;
}
body section.popup-wrap.event-popup .control-wrap label .icon-wrap i {
  transform: rotate(90deg);
}
body section.popup-wrap.event-popup .control-wrap label strong {
  font-size: 1rem;
}
body section.popup-wrap.event-popup .control-wrap.top {
  position: relative;
  bottom: inherit;
  top: 0px;
  display: flex;
  align-items: center;
  height: 48px;
  margin-top: -49px;
  padding: 0 8px;
  border-bottom: 1px solid var(--G50);
}
body section.popup-wrap.event-popup .control-wrap.top > label[for=navEvent] {
  width: 32px;
}
body section.popup-wrap.event-popup .control-wrap.top > label[for=navEvent] .icon-wrap i {
  transform: rotate(0deg);
}
body section.popup-wrap.event-popup .control-wrap.top h2 {
  font-size: 1rem;
  font-weight: 400;
}
body section.popup-wrap.event-popup .event-list {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
  padding: 16px;
  background-color: var(--G00);
}
body section.popup-wrap.event-popup .event-list li {
  flex: 1 1 100%;
  max-width: 340px;
}
body section.popup-wrap.event-popup > label[for=navEvent] {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
@container event-view (min-width: 1281px) {
  body section.popup-wrap.event-popup .event-list {
    padding: 32px 64px;
  }
}
@container event-view (min-width: 1440px) {
  body section.popup-wrap.event-popup .event-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(250px, 1fr));
    gap: 32px;
    overflow-x: hidden;
  }
}
body section.popup-wrap.news-popup {
  top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  height: calc(100% - 48px);
  background-color: transparent;
}
body section.popup-wrap.news-popup .control-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  margin-top: -49px;
  padding: 0 8px;
  border-bottom: 1px solid var(--G50);
  background-color: var(--G00);
}
body section.popup-wrap.news-popup .control-wrap > label[for=navEvent] {
  width: 32px;
}
body section.popup-wrap.news-popup .control-wrap > label[for=navEvent] .icon-wrap i {
  transform: rotate(0deg);
}
body section.popup-wrap.news-popup .control-wrap h2 {
  font-size: 1rem;
  font-weight: 400;
}
body section.popup-wrap.news-popup .news-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100%;
  min-height: 25vh;
  gap: 8px;
  padding: 8px 16px 24px;
  background-color: var(--G00);
}
body section.popup-wrap.news-popup .news-list li {
  width: 100%;
  height: 40px;
  border-bottom: 1px solid var(--G50);
  list-style: decimal inside;
}
body section.popup-wrap.news-popup .news-list li p {
  display: inline-block;
  line-height: 40px;
}
body section.popup-wrap.news-popup .news-list li:last-child {
  border-bottom: none;
}
body section.popup-wrap.news-popup > label[for=navNews] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.35);
}
body section.popup-wrap .popup-view.alert {
  position: relative;
  z-index: 2;
  display: none;
  width: max-content;
  height: max-content;
}
body section.popup-wrap .popup-view.alert .title,
body section.popup-wrap .popup-view.alert .text,
body section.popup-wrap .popup-view.alert .fuction-btn-wrap {
  display: block;
  width: max-content;
  text-align: center;
}
@keyframes fadeToggle {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body section.popup-wrap .popup-view.alert .text::before {
  color: var(--G00);
  content: "已複製連結";
}
body section.popup-wrap .popup-view.alert .fuction-btn-wrap {
  display: none;
}
body section.popup-wrap .popup-view.alert.copied {
  padding: 8px 24px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeToggle 1.2s ease;
  opacity: 0;
}
body section.popup-wrap .popup-view.alert.added-cart {
  padding: 8px 24px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeToggle 1.2s ease;
  opacity: 0;
}
body section.popup-wrap .popup-view.rating {
  position: relative;
  z-index: 2;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  padding: 0 0 16px;
  background-color: var(--G00);
  border-radius: 6px;
  overflow: hidden;
  /* state setting */
}
body section.popup-wrap .popup-view.rating h2 {
  width: 100%;
  height: 64px;
  line-height: 64px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--G700);
  background-color: var(--OC1);
}
body section.popup-wrap .popup-view.rating p.text {
  width: calc(100% - 48px);
  margin: 16px auto;
  font-size: 0.875rem;
  text-align: center;
}
body section.popup-wrap .popup-view.rating p.text::before {
  content: "警告，本商品為限制級商品，限年齡18歲以上瀏覽，請填寫您的生日";
  color: var(--EBC2);
}
body section.popup-wrap .popup-view.rating .opction-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 48px);
  margin: 16px auto;
}
body section.popup-wrap .popup-view.rating .opction-wrap select {
  display: block;
  flex: 1 1 auto;
  height: 40px;
  text-align: center;
  letter-spacing: 3px;
  border: 1px solid var(--G50);
  box-sizing: border-box;
  border-radius: 4px;
}
body section.popup-wrap .popup-view.rating .opction-wrap select option {
  line-height: 32px;
  text-align: center;
}
body section.popup-wrap .popup-view.rating .fuction-btn-wrap {
  width: calc(100% - 48px);
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body section.popup-wrap .popup-view.rating .fuction-btn-wrap button {
  display: block;
  width: max-content;
  height: 40px;
  padding: 0 24px;
  line-height: 40px;
  text-align: center;
  font-size: 1rem;
  color: var(--G00);
  background-color: var(--PFC);
  border-radius: 5px;
  cursor: pointer;
}
body section.popup-wrap .popup-view.rating .fuction-btn-wrap button.cancel {
  background-color: var(--G100);
}
body section.popup-wrap .popup-view.rating .fuction-btn-wrap button.cancel, body section.popup-wrap .popup-view.rating .fuction-btn-wrap button.edit {
  display: none;
}
body section.popup-wrap .popup-view.rating.uncheck p.text::before {
  content: "購物車內含有成人商品，您尚未填寫生日資訊，請點擊以下按鈕或至會員中心→修改會員資料新增生日資訊";
}
body section.popup-wrap .popup-view.rating.uncheck .opction-wrap {
  display: none;
}
body section.popup-wrap .popup-view.rating.uncheck .fuction-btn-wrap button.cancel, body section.popup-wrap .popup-view.rating.uncheck .fuction-btn-wrap button.ok {
  display: none;
}
body section.popup-wrap .popup-view.rating.underage p.text::before {
  content: "部分商品因限定18歲以上購買，已自購物車移除";
}
body section.popup-wrap .popup-view.rating.underage .fuction-btn-wrap button.cancel, body section.popup-wrap .popup-view.rating.underage .fuction-btn-wrap button.edit {
  display: none;
}
body section.popup-wrap .popup-view.media-used {
  position: relative;
  z-index: 2;
  max-width: 480px;
  background-color: var(--G00);
}
body section.popup-wrap .popup-view.media-used .title-wrap {
  position: relative;
  display: block;
  width: 100%;
  background-color: var(--G100);
}
body section.popup-wrap .popup-view.media-used .title-wrap h2 {
  font-size: 1rem;
  line-height: 40px;
  text-align: center;
}
body section.popup-wrap .popup-view.media-used .title-wrap label {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
}
body section.popup-wrap .popup-view.media-used .video-wrap {
  position: relative;
  width: 100%;
  height: auto;
  padding: 16px 16px 0;
}
body section.popup-wrap .popup-view.media-used .video-wrap .notice-text {
  margin: 8px 0 12px;
  font-size: 0.875rem;
}
body section.popup-wrap .popup-view.media-used.no-video .video-wrap video,
body section.popup-wrap .popup-view.media-used.no-video .video-wrap .notice-text {
  visibility: hidden;
}
body section.popup-wrap .popup-view.media-used.no-video .video-wrap::before {
  content: "此書暫無書況影片";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  font-size: 1rem;
  color: var(--G500);
  background-color: var(--G50);
  border: 1px solid var(--G100);
}
body section.popup-wrap .popup-view.gift {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  width: calc(100% - 32px);
  max-width: 640px;
  padding: 32px 16px;
  background-color: var(--G00);
  border-radius: 6px;
  overflow: hidden;
}
body section.popup-wrap .popup-view.gift > label[for=giftSwitch] {
  position: absolute;
  z-index: 1;
  top: 4px;
  right: 4px;
}
body section.popup-wrap .popup-view.gift h2,
body section.popup-wrap .popup-view.gift h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--G700);
}
body section.popup-wrap .popup-view.gift h2 span,
body section.popup-wrap .popup-view.gift h3 span {
  display: block;
  flex: 1 1 auto;
  height: 1px;
  background-color: var(--G300);
}
body section.popup-wrap .popup-view.gift p {
  width: 100%;
  text-align: left;
  line-height: 1.75;
  letter-spacing: 0.5px;
  color: var(--G500);
}
body section.popup-wrap .popup-view.gift .quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 16px 0;
}
body section.popup-wrap .popup-view.gift .quantity input {
  width: 100%;
  max-width: 160px;
  height: 40px;
  padding-left: 16px;
  border-radius: 4px;
  border: 1px solid var(--G300);
}
body section.popup-wrap .popup-view.gift .quantity .control-wrap {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 0 16px;
}
body section.popup-wrap .popup-view.gift .quantity .control-wrap button {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background-color: var(--PFC);
  cursor: pointer;
}
body section.popup-wrap .popup-view.gift .quantity .control-wrap button span::before, body section.popup-wrap .popup-view.gift .quantity .control-wrap button span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--G00);
}
body section.popup-wrap .popup-view.gift .quantity .control-wrap button span::before {
  transform: translate(-50%, -50%) rotate(90deg);
}
body section.popup-wrap .popup-view.gift .quantity .control-wrap button.btn-dec {
  background-color: var(--G300);
}
body section.popup-wrap .popup-view.gift .quantity .control-wrap button.btn-dec span::before {
  display: none;
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap {
  display: flex;
  gap: 16px;
  width: 100%;
  margin: 16px 0 0;
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap .btn {
  flex: 1 1 auto;
  text-align: center;
  border-radius: 4px;
  border: 2px solid var(--PFC);
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap .btn span {
  display: block;
  width: 100%;
  line-height: 40px;
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap .btn.putin-cart {
  background-color: var(--PFC);
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap .btn.putin-cart span {
  color: var(--G00);
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap .btn.buynow {
  background-color: var(--G00);
  border-color: var(--SSC);
}
body section.popup-wrap .popup-view.gift .fuction-btn-wrap .btn.buynow span {
  color: var(--G500);
}
body section.popup-wrap > label.popup-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

@media screen and (min-width: 769px) {
  body section.popup-wrap .popup-view.gift {
    padding: 32px 48px;
  }
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  body section.popup-wrap.event-popup {
    top: 96px;
    justify-content: start;
    height: calc(100vh - 96px);
    padding: 0;
    overflow: hidden;
  }
  body section.popup-wrap.event-popup .event-list {
    max-height: 70dvh;
    overflow-y: auto;
  }
  body section.popup-wrap.event-popup .control-wrap {
    position: relative;
    margin: 0;
  }
  body section.popup-wrap.event-popup .control-wrap.top {
    display: none;
  }
  body section.popup-wrap.news-popup {
    top: 96px;
    justify-content: start;
  }
  body section.popup-wrap.news-popup .news-list {
    top: 8px;
    max-width: 560px;
    max-height: 70dvh;
    padding: 16px 24px;
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
  }
  body section.popup-wrap.news-popup .news-list li {
    height: 44px;
    border-color: var(--G100);
  }
  body section.popup-wrap.news-popup .control-wrap {
    display: none;
  }
  body section.popup-wrap.news-popup > label[for=navNews] {
    background-color: transparent;
  }
}
@media screen and (min-width: 1281px) {
  body section.popup-wrap.event-popup {
    height: max-content;
    max-height: 62dvh;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
    background-color: transparent;
  }
  body section.popup-wrap.event-popup .event-list {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.65);
  }
  body section.popup-wrap.event-popup .control-wrap {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.65);
  }
  body section.popup-wrap.event-popup > label[for=navEvent] {
    background-color: transparent;
  }
}
body:is(.foreign-type) .bradcrumb-wrap {
  container: bradcrumb/inline-size;
}
body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.main-category::after {
  display: none;
}
body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.sub-category {
  display: none;
}
body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.prods-name {
  display: none;
}
@container bradcrumb (min-width: 769px) {
  body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.main-category::after {
    content: ">";
    display: inline-block;
    margin: 0 8px;
  }
  body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.sub-category {
    display: inline-block;
  }
}
@container bradcrumb (min-width: 1025px) {
  body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.foreign {
    display: inline-block;
  }
  body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.sub-category::after {
    content: " ";
    display: none;
  }
  body:is(.foreign-type) .bradcrumb-wrap .bradcrumb li.prods-name {
    visibility: hidden;
  }
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-info hgroup h1::before {
  display: inline-flex;
  font-size: 1rem;
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap {
  display: none;
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-price strong.original-price::before {
  content: "NT";
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-price strong.discount {
  display: none;
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-price strong.special-price {
  margin: 0 0 0 12px;
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-price strong.special-price::before {
  content: "NT";
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .porduct-price strong.special-price::after {
  display: none;
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .metadata .availability {
  display: none;
}
body:is(.foreign-type) main.detail .detail-content .metadata-wrap .description .text-wrap p.text {
  line-height: 1.5;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 1024px) and (orientation: landscape) {
  body:has(.banner-top-wrap.active) .banner-top-wrap,
  body:has(.banner-top-wrap.active) .bannerTop_wrap, body:has(.bannerTop_wrap.active) .banner-top-wrap,
  body:has(.bannerTop_wrap.active) .bannerTop_wrap {
    display: block;
    top: 0;
  }
  body:has(.banner-top-wrap.active).not-scroll .popup-wrap.navbar, body:has(.bannerTop_wrap.active).not-scroll .popup-wrap.navbar {
    transform: translate(0, 88px) !important;
  }
  body:has(.banner-top-wrap.active).not-scroll header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) .member-view, body:has(.bannerTop_wrap.active).not-scroll header .header-wrap .toolbar-wrap ul li.member:has(#memberToggle:checked) .member-view {
    top: 152px !important;
  }
  body:has(.banner-top-wrap.active).not-scroll main .prodsInterface-L, body:has(.bannerTop_wrap.active).not-scroll main .prodsInterface-L {
    position: absolute;
    top: 0;
  }
  body:has(.banner-top-wrap.active).not-scroll main.detail .detail-content .detils-header .toolbar-wrap div.share, body:has(.bannerTop_wrap.active).not-scroll main.detail .detail-content .detils-header .toolbar-wrap div.share {
    top: 194px;
  }
}/*# sourceMappingURL=main.css.map */