@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 .console-switch {
  display: none;
}
@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) {
  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(100vh - 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: 40px;
    padding: 0 112px 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 40px;
    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;
  }
  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.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.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].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) {
    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.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].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] {
    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.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].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] {
    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.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].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 {
    background-color: var(--G500) !important;
  }
  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.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].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] {
    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.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;
  }
  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 (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 .usedbooks-list: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) .control-wrap .btn-wrap.btn-gift {
  display: none !important;
}
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-lower::after {
  display: none;
}
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 {
  max-height: 9999px;
}
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) .control-wrap label[for=ebook-function-switch] {
  display: flex;
}
body:has(.porduct-type ul li.type-item.ebook input[type=radio]:checked) .detail-content .metadata-wrap .porduct-info hgroup h1::before {
  content: "(電子書)";
  display: inline-block;
}
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 .usedbooks-list:has(#usedbooksToggle:checked) label[for=usedbooksToggle] {
  transform: translateY(0);
  transition: transform ease 0.35s;
  background-image: none;
  background-color: var(--G00);
}
body .usedbooks-list:has(#usedbooksToggle:checked) label[for=usedbooksToggle] strong span::before {
  content: "部分";
}
body .usedbooks-list:has(#usedbooksToggle:checked) label[for=usedbooksToggle].type-top {
  display: block;
}
body .usedbooks-list:has(#usedbooksToggle:checked) .popup-wrap.note-popup {
  transform: translate(-50%, 44px);
}
body .usedbooks-list:has(table th.note .icon-wrap.note:hover) {
  overflow-y: visible;
}
body .usedbooks-list:has(table th.note .icon-wrap.note:hover) .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;
  }
}

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: 9;
  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: 9;
  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;
  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: ease 0.35s;
  cursor: pointer;
}
body header .header-wrap .toolbar-wrap > ul li > a {
  position: absolute;
  inset: 0;
  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 {
  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;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 6px;
  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;
  padding: 0;
  transition: ease 0.35s;
}
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 > label[for=memberToggle] {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  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::after {
  content: "登入";
  display: none;
}
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;
}
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;
  inset: 0;
  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: 64px;
  right: 24px;
  z-index: 10;
  display: none;
  width: 280px;
  height: max-content;
  padding: 12px 12px 48px;
  border-radius: 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: 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 {
  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 {
  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 {
    padding: 0 4px 0 0;
  }
  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-block;
  }
  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 > 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: block;
}
body:is(.logined) header .header-wrap .toolbar-wrap > ul li.member:hover > span.icon-wrap i {
  background-color: var(--PFC);
}
@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;
  }
}

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;
  inset: 0;
  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;
  inset: 0;
  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;
  inset: 0;
  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;
    inset: 0;
    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;
  inset: 0;
  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;
  text-align: center;
}
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;
  inset: 0;
  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 .bradcrumb-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1280px;
  height: max-content;
  margin: 0 auto;
}
body .bradcrumb-wrap .bradcrumb {
  width: 100%;
  padding: 8px 16px;
  background-color: var(--G00);
}
body .bradcrumb-wrap .bradcrumb li {
  display: inline-block;
}
body .bradcrumb-wrap .bradcrumb li a,
body .bradcrumb-wrap .bradcrumb li span {
  display: inline-block;
  color: var(--PFC);
}
body .bradcrumb-wrap .bradcrumb li span {
  color: var(--G700);
}
body .bradcrumb-wrap .bradcrumb li.back-result {
  display: none;
}
body .bradcrumb-wrap .bradcrumb li.home::after {
  content: ">";
  display: inline-block;
  margin: 0 8px;
}
body .bradcrumb-wrap .bradcrumb li.foreign {
  display: none;
}
body .bradcrumb-wrap .bradcrumb li.foreign::after {
  content: ">";
  display: inline-block;
  margin: 0 8px;
}
body .bradcrumb-wrap .bradcrumb li.main-category::after {
  content: ">";
  display: inline-block;
  margin: 0 8px;
}
body .bradcrumb-wrap .bradcrumb li.sub-category::after {
  content: ">";
  display: none;
  margin: 0 8px;
}
body .bradcrumb-wrap .bradcrumb li.prods-name {
  display: none;
}
body:has(main.detail) {
  font-size: 14px;
}
body main.detail {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background-color: var(--G00);
  /*page navigation*/
  /*detail content*/
}
body main.detail .page-navigation-wrap {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateX(96px) translateY(-50%);
  z-index: 8;
  display: flex;
  transition: transform 0.35s ease;
}
body main.detail .page-navigation-wrap h2 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .page-navigation-wrap label[for=page_nav_toggle] {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 84px;
  border-radius: 5px 0 0 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  background-color: var(--G300);
}
body main.detail .page-navigation-wrap label[for=page_nav_toggle] input {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body main.detail .page-navigation-wrap label[for=page_nav_toggle] .icon-wrap {
  width: 16px;
  height: 16px;
}
body main.detail .page-navigation-wrap label[for=page_nav_toggle] .icon-wrap i {
  background-color: var(--G00);
}
body main.detail .page-navigation-wrap ul {
  display: flex;
  flex-direction: column;
  width: 96px;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  background-color: var(--G30);
}
body main.detail .page-navigation-wrap ul li {
  width: 100%;
  padding: 0 12px;
  line-height: 28px;
  border-bottom: 1px solid var(--G100);
  cursor: pointer;
}
body main.detail .page-navigation-wrap ul li label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
body main.detail .page-navigation-wrap ul li:last-child {
  border-bottom: none;
}
body main.detail .page-navigation-wrap ul li.nav-usedlist {
  display: none;
}
body main.detail .page-navigation-wrap ul li.nav-comment {
  display: none;
}
body main.detail .detail-content {
  position: relative;
  z-index: 1;
}
body main.detail .detail-content .detils-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body main.detail .detail-content .detils-header .cover-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
}
body main.detail .detail-content .detils-header .cover-wrap .cover,
body main.detail .detail-content .detils-header .cover-wrap .prods-img {
  position: relative;
  width: 100%;
}
body main.detail .detail-content .detils-header .cover-wrap .cover picture,
body main.detail .detail-content .detils-header .cover-wrap .prods-img picture {
  display: block;
  width: max-content;
  max-width: 200px;
  margin: 0 auto;
}
body main.detail .detail-content .detils-header .cover-wrap .cover picture img,
body main.detail .detail-content .detils-header .cover-wrap .prods-img picture img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
body main.detail .detail-content .detils-header .cover-wrap .cover .icon-wrap.favorite,
body main.detail .detail-content .detils-header .cover-wrap .prods-img .icon-wrap.favorite {
  position: absolute;
  right: 0;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5);
}
body main.detail .detail-content .detils-header .cover-wrap .cover .icon-wrap.favorite i,
body main.detail .detail-content .detils-header .cover-wrap .prods-img .icon-wrap.favorite i {
  background-color: var(--G00);
}
body main.detail .detail-content .detils-header .cover-wrap .cover .icon-wrap.favorite:hover,
body main.detail .detail-content .detils-header .cover-wrap .prods-img .icon-wrap.favorite:hover {
  background-color: var(--PB01);
}
body main.detail .detail-content .detils-header .cover-wrap .cover .icon-wrap.permission-icon,
body main.detail .detail-content .detils-header .cover-wrap .prods-img .icon-wrap.permission-icon {
  width: calc(100% - 32px);
}
body main.detail .detail-content .detils-header .cover-wrap .toolbar-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 200px;
}
body main.detail .detail-content .detils-header .cover-wrap .toolbar-wrap label {
  cursor: pointer;
}
body main.detail .detail-content .detils-header .cover-wrap .toolbar-wrap label strong {
  display: inline-block;
  margin: 0 0 0 4px;
}
body main.detail .detail-content .detils-header .toolbar-wrap {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}
body main.detail .detail-content .detils-header .toolbar-wrap div label {
  max-height: 32px;
}
body main.detail .detail-content .detils-header .toolbar-wrap div label input {
  display: none;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.file-format {
  position: absolute;
  top: 8px;
  transform: translateX(-96px);
  z-index: 1;
  display: none;
  align-items: center;
  width: max-content;
  height: max-content;
  padding: 0 8px;
  border-radius: 4px;
  background-color: rgba(75, 75, 75, 0.7);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.file-format strong {
  line-height: 1.5;
  color: var(--G00);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.file-format strong.pdf {
  display: none;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.favorite,
body main.detail .detail-content .detils-header .toolbar-wrap div.share {
  position: absolute;
  top: 0;
  right: calc((100% - 200px) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  z-index: 1;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.favorite strong,
body main.detail .detail-content .detils-header .toolbar-wrap div.share strong {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.favorite {
  display: none;
  transform: translateY(16px);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share {
  right: 16px;
  transform: translateY(-32px);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(8px);
  z-index: -1;
  display: none;
  justify-content: end;
  height: max-content;
  padding: 0 12px 0 0;
  opacity: 0;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view {
  position: relative;
  transform: translateX(8px);
  display: flex;
  align-items: center;
  width: max-content;
  background-color: var(--PFUC);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 32px;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view h3 {
  position: absolute;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view .content-wrap {
  width: 100%;
  margin: 0 8px 0 0;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view .content-wrap ul {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  height: 40px;
  padding: 0 0 0 16px;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view .content-wrap ul li.share-list {
  display: block;
  width: 32px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  cursor: pointer;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view .content-wrap ul li.share-list.fb {
  background-image: url(../assets/images/detail/share_fb.png);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view .content-wrap ul li.share-list.line {
  background-image: url(../assets/images/detail/share_line.png);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share .share-view .content-wrap ul li.share-list.link {
  background-image: url(../assets/images/detail/share_link.png);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share label[for=share_switch] {
  transform: translateX(-4px);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share label[for=share_switch] .icon-wrap i {
  background-color: var(--PFC);
}
body main.detail .detail-content .detils-header .toolbar-wrap div.trial-btn {
  position: absolute;
  top: 256px;
  display: none;
  align-items: center;
  gap: 4px;
  width: max-content;
  padding: 0 16px;
  border-radius: 32px;
  border: 1px solid var(--G00);
  background-color: rgba(36, 121, 180, 0.85);
  cursor: pointer;
}
body main.detail .detail-content .detils-header .toolbar-wrap div.trial-btn strong {
  color: var(--G00);
}
body main.detail .detail-content .detils-header .cover-info {
  position: absolute;
  right: 24px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: max-content;
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--G00);
  background-color: rgba(75, 75, 75, 0.7);
}
body main.detail .detail-content .detils-header .cover-info span {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 21px;
  color: var(--G00);
}
body main.detail .detail-content .detils-header .cover-info span.total::before {
  content: " / ";
  margin: 0 4px 0 0;
  font-size: 0.785rem;
}
body main.detail .detail-content .detils-header .swiper-button-next,
body main.detail .detail-content .detils-header .swiper-button-prev {
  width: 48px;
  height: 48px;
}
body main.detail .detail-content .detils-header .swiper-button-next::after,
body main.detail .detail-content .detils-header .swiper-button-prev::after {
  display: none;
}
body main.detail .detail-content .detils-header .swiper-button-next .icon-wrap i,
body main.detail .detail-content .detils-header .swiper-button-prev .icon-wrap i {
  mask-size: 40px;
  background-color: var(--G300);
}
body main.detail .detail-content .detils-header .swiper-button-prev {
  left: 0;
  transform: translateX(-8px);
}
body main.detail .detail-content .detils-header .swiper-button-next {
  right: 0;
  transform: translateX(8px);
}
body main.detail .detail-content .detils-header .swiper-button-next .icon-wrap {
  transform: rotate(180deg);
}
body main.detail .detail-content .metadata-wrap {
  padding: 0 16px;
}
body main.detail .detail-content .metadata-wrap .porduct-info {
  position: sticky;
  top: 48px;
  transform: translateY(0) translateX(-16px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100dvw;
  padding: 16px 0;
  box-sizing: border-box;
  background-color: var(--G00);
}
body main.detail .detail-content .metadata-wrap .porduct-info hgroup {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  max-height: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: hidden;
  transition: ease 0.35s;
}
body main.detail .detail-content .metadata-wrap .porduct-info hgroup h1 {
  text-align: left;
  font-size: 1.25rem;
  color: var(--G900);
}
body main.detail .detail-content .metadata-wrap .porduct-info hgroup p {
  display: none;
}
body main.detail .detail-content .metadata-wrap .porduct-info hgroup p::after {
  content: "(AI trnslation)";
  font-size: var(--P4);
  color: var(--G500);
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap {
  display: flex;
  gap: 24px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  flex-direction: column;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul {
  display: flex;
  gap: 8px;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-content: center;
  flex: 1 1 100%;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--G500);
  font-weight: 700;
  color: var(--G900);
  background-color: var(--G30);
  overflow: visible;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item i.state {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(8px, -12px);
  z-index: 2;
  display: none;
  width: max-content;
  height: max-content;
  padding: 0 8px;
  font-style: normal;
  font-size: 0.875rem;
  border-radius: 16px;
  color: var(--G00);
  background-color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item i.state::before {
  content: "";
  line-height: 21px;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item input[type=radio] {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item strong.price {
  font-family: var(--font-nb) !important;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item strong.price::after {
  content: "元";
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item div.select-state {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 32px;
  overflow: hidden;
  display: none;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item div.select-state span {
  position: absolute;
  top: 8px;
  right: 2px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item div.select-state span::before, body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item div.select-state span::after {
  content: "";
  display: block;
  transform: rotate(-45deg) translate(0px, 3px);
  width: 12px;
  height: 2px;
  background-color: var(--G00);
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item div.select-state span::before {
  width: 6px;
  transform: rotate(45deg) translate(7px, 0);
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item div.select-state:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(48deg) translate(14px, 10px);
  width: 24px;
  height: 48px;
  background-color: var(--PTC);
  display: none;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item:hover {
  background-color: var(--G50);
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.non-select {
  cursor: not-allowed;
  pointer-events: none;
  background-color: var(--G30);
  color: var(--G300);
  border-color: var(--G100);
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.non-select strong.price,
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.non-select div.select-state {
  display: none;
}
body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.non-select::after {
  content: "無此版本";
  transform: translateY(-2px);
  font-weight: 400;
  font-size: 0.875rem;
}
body main.detail .detail-content .metadata-wrap .porduct-price {
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
}
body main.detail .detail-content .metadata-wrap .porduct-price > h2 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .detail-content .metadata-wrap .porduct-price strong {
  display: inline-flex;
  align-items: center;
  line-height: 32px;
  white-space: nowrap;
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.original-price:before {
  content: "定價:";
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.original-price::after {
  content: "元";
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.original-price span {
  text-decoration: line-through;
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.discount {
  margin: 0 8px;
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.discount span {
  font-family: var(--font-nb) !important;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.discount span::first-letter {
  text-transform: capitalize;
  font-family: var(--font-nb) !important;
  font-size: 1.5rem;
  font-weight: 700;
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.discount::after {
  content: "折";
  font-size: 0.875rem;
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.special-price {
  font-family: var(--font-nb) !important;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.special-price.range-upper {
  display: none;
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.special-price.range-upper:before {
  content: "－";
  margin: 0 4px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .porduct-price strong.special-price::after {
  content: "元";
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 0;
  overflow-y: hidden;
  transition: max-height 0.4s ease-in-out;
  container: usedbooks/inline-size;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list h2 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup {
  position: absolute;
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  width: 100%;
  max-width: 360px;
  height: max-content;
  max-height: 420px;
  padding: 8px 16px 16px 16px;
  background-color: var(--G00);
  border-radius: 16px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup > h3,
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup > p {
  color: var(--G700);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 32px;
  border-bottom: 1px solid var(--G50);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul {
  margin: 8px 0 0;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul li {
  color: var(--G700);
  font-size: 0.875rem;
  line-height: 24px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul li b {
  display: block;
  flex: 0 0 auto;
  width: max-content;
  height: 100%;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul li b::after {
  content: "：";
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul li p {
  color: var(--G700);
  font-weight: 400;
  width: max-content;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul.state-note li {
  position: relative;
  display: flex;
  padding-left: 16px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul.state-note li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--EBC2);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul.state-note::after {
  content: "以上書況提供參考,實際狀況請以書況影片呈現為準。書況影片如来有附件或贈品呈現,即表示此無提供附件或贈品";
  font-size: 0.75rem;
  color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul.product-note li {
  margin: 0 0 0 16px;
  list-style: conic-circle;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup ul.product-note li a {
  color: var(--EBC1);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool {
  margin: 24px auto 12px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool h3 {
  float: left;
  margin: 0 12px 0 0;
  line-height: 32px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul {
  display: flex;
  gap: 8px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid var(--G700);
  line-height: 32px;
  color: var(--G700);
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li input {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li span {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li span::before, body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li span::after {
  content: "";
  display: block;
  transform: rotate(-45deg) translate(0px, 3px);
  width: 12px;
  height: 2px;
  background-color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li span::before {
  width: 6px;
  transform: rotate(45deg) translate(7px, 0);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li:has(input:checked) {
  color: var(--PFC);
  border-color: var(--PFC);
  padding: 0 8px 0 4px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list .table-tool ul li:has(input:checked) span {
  display: flex;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table {
  width: 100%;
  height: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--G300);
  clear: both;
  transition: height 0.35s ease;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th,
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr td,
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr th,
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td {
  padding: 0;
  line-height: 24px;
  vertical-align: middle;
  color: var(--G900);
  border-bottom: 1px solid var(--G300);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th {
  min-height: 32px;
  line-height: 32px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.number {
  width: 40px;
  text-align: center;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.price {
  width: 25%;
  min-width: 96px;
  text-align: center;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.note {
  position: relative;
  padding: 0 0 0 8px;
  text-align: left;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.note input {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.note .icon-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.note .icon-wrap i {
  mask-size: 18px;
  transform: translateX(-4px);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.buy {
  width: 48px;
  text-align: center;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table thead tr th.buy .icon-wrap i {
  background-color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td {
  text-align: center;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.price .discount-value {
  font-size: var(--font-nb);
  color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.price .discount-value::after {
  content: "折";
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.price .price-value {
  font-size: var(--font-nb);
  color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.price .price-value::after {
  content: "元";
  color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.price br {
  display: block;
  margin-top: -4px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.note {
  max-width: calc(75% - 88px);
  padding: 4px 8px;
  text-align: left;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.note .state-video {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
  width: 100%;
  background-color: transparent;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.note .state-video .state-text {
  display: inline-block;
  min-width: 24px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.note .state-video .state-text::before {
  content: "－";
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.note .state-video .icon-wrap {
  width: 24px;
  height: 24px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.note p {
  display: block;
  width: 100%;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.buy label {
  position: relative;
  display: block;
  height: 32px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.buy label input {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.buy .icon-wrap i {
  background-color: var(--G700);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.buy:has(input:checked) .icon-wrap.cart i {
  mask-image: url(../assets/icon/icon_cart_a.png);
  background-color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr:last-of-type td {
  vertical-align: middle;
  border-bottom: none;
}
@container usedbooks (min-width: 400px) {
  body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.price br {
    display: none;
  }
  body main.detail .detail-content .metadata-wrap .usedbooks-list table tbody tr td.buy {
    width: 56px;
  }
}
body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle] {
  position: relative;
  transform: translateY(-16px);
  display: block;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 10%, rgb(255, 255, 255) 35%, rgb(255, 255, 255) 100%);
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle] input {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle] strong {
  display: block;
  color: var(--PFC);
  line-height: 44px;
}
body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle] strong span {
  color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle] strong span::before {
  content: "全部";
}
body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle].type-top {
  display: none;
}
body main.detail .detail-content .metadata-wrap .metadata > div {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 0 0 4px;
}
body main.detail .detail-content .metadata-wrap .metadata > div h3 {
  font-size: 1rem;
  line-height: 24px;
  color: var(--G900);
  flex: 0 0 fit-content;
}
body main.detail .detail-content .metadata-wrap .metadata > div h3::after {
  content: ":";
  display: inline-block;
  margin: 0 0 0 4px;
  color: var(--G700);
  cursor: default;
}
body main.detail .detail-content .metadata-wrap .metadata > div div a {
  display: inline;
}
body main.detail .detail-content .metadata-wrap .metadata > div div a:not(:last-child)::after {
  content: ";";
  display: inline-block;
  margin: 0 0 0 4px;
  color: var(--G700);
  cursor: default;
}
body main.detail .detail-content .metadata-wrap .metadata > div span,
body main.detail .detail-content .metadata-wrap .metadata > div a {
  display: inline-block;
  word-break: break-all;
  line-height: 24px;
  font-size: 1rem;
  color: var(--G900);
}
body main.detail .detail-content .metadata-wrap .metadata > div a {
  color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .metadata > div.stock span::before {
  content: "";
}
body main.detail .detail-content .metadata-wrap .metadata > div.stock i {
  font-style: normal;
}
body main.detail .detail-content .metadata-wrap .activity {
  padding: 24px 0;
}
body main.detail .detail-content .metadata-wrap .activity h3 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .detail-content .metadata-wrap .activity ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body main.detail .detail-content .metadata-wrap .activity ul li.activity-item {
  display: flex;
  flex-direction: column;
  color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .activity ul li.activity-item strong.type {
  width: max-content;
  padding: 0 8px;
  background-color: var(--OC4);
}
body main.detail .detail-content .metadata-wrap .activity ul li.activity-item h4 {
  padding: 0 8px;
  color: var(--OC2);
}
body main.detail .detail-content .metadata-wrap .tags-wrap {
  position: relative;
  display: block;
  margin: 24px 0;
  padding: 0;
}
body main.detail .detail-content .metadata-wrap .tags-wrap h3 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .detail-content .metadata-wrap .tags-wrap .tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body main.detail .detail-content .metadata-wrap .tags-wrap .tags li {
  display: inline-flex;
  align-items: center;
  width: max-content;
  height: 24px;
  padding: 0 12px;
  border-radius: 16px;
  background-color: var(--G00);
  border: 1px solid var(--PFC);
  line-height: 24px;
  color: var(--PFC);
  transition: ease 0.35s;
}
body main.detail .detail-content .metadata-wrap .tags-wrap .tags li a {
  display: block;
  width: max-content;
  font-size: 0.875rem;
  line-height: 24px;
  color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .tags-wrap .tags li:hover {
  border-color: var(--SSC);
}
body main.detail .detail-content .metadata-wrap .tags-wrap .tags li:hover a {
  color: var(--SSC);
}
body main.detail .detail-content .metadata-wrap .description {
  position: relative;
  margin: 16px 0 0;
  padding: 16px 0 16px 0;
}
body main.detail .detail-content .metadata-wrap .description h3.title {
  display: block;
  text-align: center;
  background-color: var(--G30);
  line-height: 32px;
}
body main.detail .detail-content .metadata-wrap .description .text-wrap {
  position: relative;
  min-height: 120px;
  margin: 0 0 8px;
  padding: 12px 24px;
  overflow-y: hidden;
  transition: height ease 0.35s;
}
body main.detail .detail-content .metadata-wrap .description .text-wrap p.text {
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--G900);
}
body main.detail .detail-content .metadata-wrap .description .text-wrap p.line-limit {
  -webkit-line-clamp: 5;
}
body main.detail .detail-content .metadata-wrap .description .text-wrap::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgb(255, 255, 255) 85%, rgb(255, 255, 255) 100%);
}
body main.detail .detail-content .metadata-wrap .description .btn-translate {
  transform: translate(16px, 0px);
  display: inline-flex;
  display: none;
}
body main.detail .detail-content .metadata-wrap .description .btn-translate strong::before {
  content: "translate";
}
body main.detail .detail-content .metadata-wrap .description .btn-more {
  position: absolute;
  right: 16px;
  bottom: 0;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .description .btn-more input {
  display: none;
}
body main.detail .detail-content .metadata-wrap .description .btn-more strong {
  padding: 0 0 0 8px;
  list-style: 32px;
  color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .description .btn-more strong::before {
  content: "more";
}
body main.detail .detail-content .metadata-wrap .control-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  gap: 8px;
  width: 100dvw;
  height: 64px;
  padding: 0 16px;
  box-sizing: border-box;
  background-color: var(--PFC);
  transition: transform ease 0.35s;
}
body main.detail .detail-content .metadata-wrap .control-wrap .sale-notice {
  position: absolute;
  top: 0;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  display: none;
  width: 100%;
  height: 32px;
  font-size: 0.875rem;
  color: var(--G500);
  border-top: 1px solid var(--G50);
  background-color: var(--G00);
}
body main.detail .detail-content .metadata-wrap .control-wrap .sale-notice span:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin: 0 4px;
}
body main.detail .detail-content .metadata-wrap .control-wrap .sale-notice span:nth-last-child(1) {
  margin: 0 4px 0 0;
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap {
  min-width: 72px;
  width: max-content;
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap strong {
  color: var(--G00);
  white-space: nowrap;
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-read {
  flex: 1 1 max-content;
  height: 40px;
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: var(--PFC);
  border: 2px solid transparent;
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-read {
  display: none;
  background-color: var(--EBC1);
  border-color: var(--G00);
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add {
  position: relative;
  border-color: var(--G00);
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add label {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
  display: none;
  position: absolute;
  top: 0;
  transform: translateY(-36px);
  width: 100dvw;
  height: 36px;
  border-radius: 0;
  border-color: transparent;
  background-color: var(--G00);
  box-shadow: 0px -4px 6px rgba(46, 46, 46, 0.3137254902);
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift label {
  position: absolute;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift strong {
  color: var(--PFC);
}
body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift:hover {
  background-color: var(--G100);
}
body main.detail .detail-content .metadata-wrap .control-wrap label[for=ebook-function-switch] {
  display: none;
  flex: 0 1 32px;
  width: max-content;
  height: 32px;
  margin: 0 0 0 auto;
  cursor: pointer;
}
body main.detail .detail-content .metadata-wrap .control-wrap label[for=ebook-function-switch] input[type=checkbox] {
  display: none;
}
body main.detail .detail-content .product-detail {
  width: 100%;
  margin: 16px auto 0;
  padding: 0 16px;
  overflow-x: hidden;
}
body main.detail .detail-content .product-detail .area-title {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body main.detail .detail-content .product-detail .tabs-wrap {
  position: relative;
  max-width: calc(100dvw - 48px);
  overflow-x: auto;
  scrollbar-width: none;
}
body main.detail .detail-content .product-detail .tabs-wrap div {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  height: 40px;
  padding: 0 24px 0 0;
}
body main.detail .detail-content .product-detail .tabs-wrap div label {
  position: relative;
  flex: 1 1 100%;
  padding: 0 4px;
  line-height: 40px;
  cursor: pointer;
}
body main.detail .detail-content .product-detail .tabs-wrap div label input[type=radio] {
  display: none;
}
body main.detail .detail-content .product-detail .tabs-wrap div label strong {
  display: block;
  width: max-content;
  text-align: center;
  line-height: 40px;
}
body main.detail .detail-content .product-detail .tabs-wrap div label strong::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--G100);
  display: none;
}
body main.detail .detail-content .product-detail .tabs-wrap div label:has(input:checked) strong {
  color: var(--PTC);
}
body main.detail .detail-content .product-detail .tabs-wrap div label:has(input:checked) strong::after {
  display: block;
  background-color: var(--PTC);
}
body main.detail .detail-content .product-detail .tabs-wrap span.line {
  position: sticky;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 auto;
  visibility: visible;
  background-color: var(--G100);
}
body main.detail .detail-content .product-detail .content-wrap .detail-content,
body main.detail .detail-content .product-detail .content-wrap .table-content,
body main.detail .detail-content .product-detail .content-wrap .other-content {
  display: none;
  flex-direction: column;
  justify-content: start;
  min-height: 320px;
  padding: 16px;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content h4,
body main.detail .detail-content .product-detail .content-wrap .table-content h4,
body main.detail .detail-content .product-detail .content-wrap .other-content h4 {
  color: var(--G700);
  line-height: 20px;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .publishing-info,
body main.detail .detail-content .product-detail .content-wrap .table-content .publishing-info,
body main.detail .detail-content .product-detail .content-wrap .other-content .publishing-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .publishing-info h4::after,
body main.detail .detail-content .product-detail .content-wrap .table-content .publishing-info h4::after,
body main.detail .detail-content .product-detail .content-wrap .other-content .publishing-info h4::after {
  content: "：";
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .publishing-info b,
body main.detail .detail-content .product-detail .content-wrap .table-content .publishing-info b,
body main.detail .detail-content .product-detail .content-wrap .other-content .publishing-info b {
  white-space: nowrap;
  color: var(--G700);
  line-height: 20px;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .publishing-info b::after,
body main.detail .detail-content .product-detail .content-wrap .table-content .publishing-info b::after,
body main.detail .detail-content .product-detail .content-wrap .other-content .publishing-info b::after {
  content: "｜";
  margin: 0 -4px 0 4px;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .publishing-info b:last-child::after,
body main.detail .detail-content .product-detail .content-wrap .table-content .publishing-info b:last-child::after,
body main.detail .detail-content .product-detail .content-wrap .other-content .publishing-info b:last-child::after {
  display: none;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .bradcrumbs-all-wrap,
body main.detail .detail-content .product-detail .content-wrap .table-content .bradcrumbs-all-wrap,
body main.detail .detail-content .product-detail .content-wrap .other-content .bradcrumbs-all-wrap {
  display: none;
  margin: auto 0 0 0;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .bradcrumbs-all-wrap ul li,
body main.detail .detail-content .product-detail .content-wrap .table-content .bradcrumbs-all-wrap ul li,
body main.detail .detail-content .product-detail .content-wrap .other-content .bradcrumbs-all-wrap ul li {
  display: inline-block;
}
body main.detail .detail-content .product-detail .content-wrap .detail-content .bradcrumbs-all-wrap ul li:not(:last-child)::after,
body main.detail .detail-content .product-detail .content-wrap .table-content .bradcrumbs-all-wrap ul li:not(:last-child)::after,
body main.detail .detail-content .product-detail .content-wrap .other-content .bradcrumbs-all-wrap ul li:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin: 0 0 0 4px;
}
body main.detail .detail-content .product-detail .content-wrap .table-content {
  display: none;
}
body main.detail .detail-content .product-detail .content-wrap .other-content {
  display: none;
}
body main.detail .bookcase-module .bookcase-list .slider-btn-wrap {
  display: none;
}
body main.detail .shopping-guide {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin: 0 0 64px;
  padding: 16px 0 0;
  color: var(--G700);
  background-color: var(--G00);
  container: shopping-guide/inline-size;
}
body main.detail .shopping-guide .about-tab {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 1120px;
  padding: 0 24px;
  height: 40px;
}
body main.detail .shopping-guide .about-tab .area-title {
  float: left;
  position: relative;
  width: max-content;
  margin: 0 16px 0 0;
  padding: 0 8px 0 0;
  font-size: 1.25rem;
  line-height: 40px;
}
body main.detail .shopping-guide .about-tab label {
  position: relative;
  display: block;
  padding: 0 8px;
  border-radius: 24px;
  border: 1px solid var(--G100);
  background-color: var(--G00);
  text-align: center;
  transition: padding 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
body main.detail .shopping-guide .about-tab label input {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
body main.detail .shopping-guide .about-tab label h3 {
  font-size: 0.875rem;
  line-height: 32px;
}
body main.detail .shopping-guide .about-tab label:has(input:hover) h3 {
  color: var(--PTC);
}
body main.detail .shopping-guide .about-tab label:has(input:checked) {
  padding: 0 16px;
  border-color: var(--PTC);
}
body main.detail .shopping-guide .about-tab label:has(input:checked) h3 {
  color: var(--PTC);
}
body main.detail .shopping-guide article {
  display: none;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 16px;
  clear: both;
}
body main.detail .shopping-guide article > h3 {
  display: none;
  width: 100%;
  margin: 0 auto 8px;
}
body main.detail .shopping-guide article > p {
  width: calc(100% - 32px);
  margin: 0 0 8px 16px;
  list-style: disc inside;
  text-indent: -16px;
}
body main.detail .shopping-guide article > p a {
  color: var(--PFC);
  text-decoration: underline;
}
body main.detail .shopping-guide article > p span {
  display: block;
  margin: 0 0 0 16px;
  text-indent: -20px;
}
body main.detail .shopping-guide article > p span img {
  display: inline-block;
  vertical-align: bottom;
  margin: 0 4px 0 0;
}
@container shopping-guide (min-width: 1120px) {
  body main.detail .shopping-guide .about-tab label h3 {
    font-size: 1rem;
  }
  body main.detail .shopping-guide article > h3 {
    font-size: 1.125rem;
  }
}
body .app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  background-color: var(--G50);
}
body .app-link .exross-logo {
  max-width: 128px;
  margin: 0 auto 16px;
}
body .app-link .text-wrap {
  margin: 0 0 12px;
  text-align: center;
}
body .app-link .text-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--G700);
}
body .app-link .link-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}
body .app-link .link-wrap a {
  display: block;
  max-width: 160px;
}
body footer {
  margin: 0 0 64px;
}
@media screen and (min-width: 769px) {
  body:has(main.detail) {
    font-size: 16px;
  }
  body .bradcrumb-wrap .bradcrumb {
    padding: 8px 32px;
  }
  body main.detail .detail-content .detils-header {
    position: sticky;
    top: 64px;
    left: 32px;
    z-index: 1;
    float: left;
  }
  body main.detail .detail-content .detils-header .cover-wrap {
    max-width: 272px;
  }
  body main.detail .detail-content .detils-header .cover-wrap .cover,
  body main.detail .detail-content .detils-header .cover-wrap .prods-img {
    max-width: 240px;
    margin: 0 16px;
  }
  body main.detail .detail-content .detils-header .cover-wrap .cover picture,
  body main.detail .detail-content .detils-header .cover-wrap .prods-img picture {
    width: 100%;
    max-width: unset;
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.share {
    position: fixed;
    top: 100px;
    right: 32px;
    transform: translateY(0);
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.trial-btn {
    top: 320px;
  }
  body main.detail .detail-content .detils-header .cover-info {
    right: 0;
    bottom: 20px;
  }
  body main.detail .detail-content .metadata-wrap {
    width: calc(100% - 352px);
    margin: 0 0 0 352px;
    padding: 0;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info {
    transform: translateX(0);
    width: 100%;
    padding: 16px 32px 16px 0;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info hgroup {
    padding: 0;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap {
    padding: 0;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item {
    height: 48px;
  }
  body main.detail .detail-content .metadata-wrap .usedbooks-list {
    padding: 0 32px 0 0;
  }
  body main.detail .detail-content .metadata-wrap .metadata {
    padding: 0 32px 0 0;
  }
  body main.detail .detail-content .metadata-wrap .activity {
    width: 100%;
    padding: 24px 32px 24px 0;
  }
  body main.detail .detail-content .metadata-wrap .activity ul li.activity-item strong.type {
    font-size: 0.875rem;
  }
  body main.detail .detail-content .metadata-wrap .description {
    padding: 16px 32px 16px 0;
  }
  body main.detail .detail-content .metadata-wrap .description .text-wrap p.line-limit {
    -webkit-line-clamp: 5;
  }
  body main.detail .detail-content .metadata-wrap .description .btn-more {
    right: 64px;
  }
  body main.detail .detail-content .metadata-wrap .tags-wrap .tags li {
    height: 32px;
  }
  body main.detail .detail-content .metadata-wrap .tags-wrap .tags li a {
    line-height: 32px;
  }
  body main.detail .detail-content .metadata-wrap .control-wrap {
    position: relative;
    bottom: unset;
    left: unset;
    z-index: 1;
    flex-direction: column;
    width: 100%;
    height: max-content;
    padding: 0 32px 0 0;
    background-color: var(--G00);
  }
  body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-read, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
    flex: auto;
    width: 100%;
    height: 48px;
    border: 2px solid transparent;
  }
  body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
    border-color: var(--SSC);
    background-color: var(--G30);
  }
  body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy strong, body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift strong {
    color: var(--G700);
  }
  body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
    position: relative;
    transform: translateY(0);
    box-shadow: none;
    border-radius: 5px;
  }
  body main.detail .detail-content .banner-module .series-pack {
    max-width: 720px;
  }
  body main.detail .detail-content .banner-module .series-pack .swiper-wrapper .pack-item {
    padding: 0 48px;
  }
  body main.detail .detail-content .product-detail {
    position: relative;
    z-index: 2;
    width: calc(100% - 320px);
    margin: 24px 0 0 320px;
    background-color: var(--G00);
  }
  body main.detail .detail-content .product-detail .tabs-wrap {
    padding: 0;
  }
  body main.detail .detail-content .product-detail .tabs-wrap div {
    width: max-content;
    min-width: 100%;
    max-width: 100%;
    padding: 0;
  }
  body main.detail .detail-content .product-detail .tabs-wrap div label {
    max-width: 144px;
  }
  body main.detail .detail-content .product-detail .tabs-wrap div label strong {
    margin: 0 auto;
  }
  body main.detail .detail-content .product-detail .content-wrap .detail-content,
  body main.detail .detail-content .product-detail .content-wrap .table-content {
    padding: 16px 32px 32px;
  }
  body main.detail .bookcase-module {
    clear: both;
  }
  body main.detail .shopping-guide .area-title {
    padding: 0 32px 12px;
  }
  body main.detail .shopping-guide > p {
    margin: 0 32px;
  }
  body main.detail .shopping-guide > a {
    width: max-content;
    margin: 32px auto 0;
  }
  body .app-link {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 32px;
  }
  body .app-link .exross-logo {
    max-width: 160px;
    margin: 0;
  }
  body .app-link .text-wrap {
    text-align: left;
  }
  body .app-link .link-wrap {
    flex-direction: row;
  }
  body footer {
    margin: 0;
  }
}
@media screen and (min-width: 769px) and (orientation: landscape) {
  body main.detail .detail-content .detils-header {
    top: 112px;
  }
}
@media screen and (min-width: 1281px) {
  body:has(main.detail) {
    font-size: 16px;
  }
  body .bradcrumb-wrap .bradcrumb {
    padding: 12px 64px;
  }
  body main.detail .page-navigation-wrap {
    top: 45%;
    transform: translateX(144px) translateY(-50%);
  }
  body main.detail .page-navigation-wrap label[for=page_nav_toggle] {
    width: 24px;
  }
  body main.detail .page-navigation-wrap ul {
    width: 144px;
  }
  body main.detail .page-navigation-wrap ul li {
    line-height: 40px;
  }
  body main.detail .detail-content .detils-header {
    position: sticky;
    top: 96px;
    left: 64px;
    float: left;
  }
  body main.detail .detail-content .detils-header .cover-wrap {
    max-width: 312px;
  }
  body main.detail .detail-content .detils-header .cover-wrap .cover,
  body main.detail .detail-content .detils-header .cover-wrap .prods-img {
    max-width: 280px;
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.share {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translate(calc(-50% + 560px), 0);
    justify-content: end;
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.share .popup-wrap.share {
    transform: translate(4px, 2px);
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.file-format {
    top: 24px;
    transform: translateX(-128px);
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.favorite {
    right: 32px;
    transform: translateY(24px);
  }
  body main.detail .detail-content .detils-header .toolbar-wrap div.trial-btn {
    top: 360px;
  }
  body main.detail .detail-content .detils-header .cover-info {
    bottom: 35px;
  }
  body main.detail .detail-content .detils-header .swiper-button-prev {
    left: 0;
    transform: translateX(-32px);
  }
  body main.detail .detail-content .detils-header .swiper-button-next {
    right: 0;
    transform: translateX(32px);
  }
  body main.detail .detail-content .metadata-wrap {
    width: calc(100% - 760px);
    margin: 0 0 0 432px;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info {
    position: relative;
    top: 0;
    align-items: start;
    gap: 0;
    padding: 0 0 16px;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info hgroup h1 {
    min-height: 48px;
  }
  body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap {
    width: calc(100% + 272px);
    padding: 0;
    background-color: var(--G00);
  }
  body main.detail .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type {
    width: calc(100% - 272px);
  }
  body main.detail .detail-content .metadata-wrap .usedbooks-list {
    padding: 0;
  }
  body main.detail .detail-content .metadata-wrap .usedbooks-list .popup-wrap.note-popup {
    top: 112px;
    left: 50%;
    max-width: 480px;
  }
  body main.detail .detail-content .metadata-wrap .usedbooks-list label[for=usedbooksToggle].type-top {
    display: none !important;
  }
  body main.detail .detail-content .metadata-wrap .activity {
    padding: 24px 0 32px;
  }
  body main.detail .detail-content .metadata-wrap .activity ul {
    gap: 0;
  }
  body main.detail .detail-content .metadata-wrap .activity ul li.activity-item {
    flex-direction: row;
    align-items: center;
    height: 36px;
  }
  body main.detail .detail-content .metadata-wrap .activity ul li.activity-item strong.type {
    font-size: 0.875rem;
  }
  body main.detail .detail-content .metadata-wrap .description {
    width: calc(100% + 320px);
    margin: 0;
    padding: 0 64px 32px 0;
  }
  body main.detail .detail-content .metadata-wrap .description .text-wrap {
    min-height: 160px;
  }
  body main.detail .detail-content .metadata-wrap .description .btn-more {
    right: 88px;
    bottom: 16px;
  }
  body main.detail .detail-content .metadata-wrap .control-wrap {
    position: absolute;
    top: 8px;
    right: 64px;
    left: unset;
    z-index: 5;
    align-items: end;
    max-width: 240px;
    height: max-content;
    padding: 0;
  }
  body main.detail .detail-content .metadata-wrap .control-wrap .btn-wrap {
    max-width: calc(100% - 16px);
  }
  body main.detail .detail-content .product-detail {
    width: calc(100% - 440px);
    margin: 0 0 0 440px;
    padding: 0 72px 0 0;
  }
  body main.detail .shopping-guide {
    margin: 0 auto;
    padding: 16px 0 56px;
  }
}

/* state setting */
body:has(main.rating) section.popup-wrap:has(.popup-view.rating) {
  z-index: 10;
  display: flex;
  opacity: 1;
}
body:has(main.rating) section.popup-wrap:has(.popup-view.rating) .popup-view.rating {
  display: flex;
}
body:has(main.format-pdf) .detils-header .toolbar-wrap div.file-format strong.epub {
  display: none;
}
body:has(main.format-pdf) .detils-header .toolbar-wrap div.file-format strong.pdf {
  display: block !important;
}
body:has(main.purchased) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.ebook i.state {
  display: block;
}
body:has(main.purchased) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.ebook i.state::before {
  content: "已擁有";
}
body:has(main.purchased) .detail-content .metadata-wrap .control-wrap[data-type=ebook] {
  background-color: var(--EBC1);
}
body:has(main.purchased) .detail-content .metadata-wrap .control-wrap[data-type=ebook] .btn-wrap.btn-read {
  display: inline-flex;
}
body:has(main.purchased) .detail-content .metadata-wrap .control-wrap[data-type=ebook] .btn-wrap.btn-buy, body:has(main.purchased) .detail-content .metadata-wrap .control-wrap[data-type=ebook] .btn-wrap.btn-add {
  display: none;
}
body:has(main.redeemed) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.ebook i.state {
  display: block;
}
body:has(main.redeemed) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.ebook i.state::before {
  content: "已兌換";
}
body:has(main.redeemed) .detail-content .metadata-wrap .control-wrap[data-type=ebook] .btn-wrap.btn-read {
  display: inline-flex;
}
body:has(main.redeemed) .detail-content .metadata-wrap .control-wrap[data-type=ebook] .btn-wrap.btn-buy {
  display: none;
}
body:has(main.carted-ebook) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.ebook i.state {
  display: block;
}
body:has(main.carted-ebook) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.ebook i.state::before {
  content: "已放入";
}
body:has(main.carted-used) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.used i.state {
  display: block;
}
body:has(main.carted-used) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.used i.state::before {
  content: "已放入";
}
body:has(main.carted-new) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.new i.state {
  display: block;
}
body:has(main.carted-new) .detail-content .metadata-wrap .porduct-info .sales-wrap .porduct-type ul li.type-item.new i.state::before {
  content: "已放入";
}
body:has(main.out-stock) .detail-content .metadata-wrap .metadata > div.stock span::before {
  content: "無庫存，調貨約需5-7個工作日";
}
body:has(main.out-stock) .detail-content .metadata-wrap .metadata > div.stock span i {
  display: none;
}
body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap {
  background-color: var(--G300);
}
body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add, body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy {
  background-color: var(--G300);
  border-color: var(--G100);
  pointer-events: none;
  cursor: not-allowed;
}
body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add .icon-wrap i, body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy .icon-wrap i {
  background-color: var(--G100);
}
body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add strong, body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy strong {
  color: var(--G100);
}
body:has(main.sold-out) .detail-content .metadata-wrap .metadata > div.stock span::before {
  content: "此商品暫缺，無法購買";
}
body:has(main.sold-out) .detail-content .metadata-wrap .metadata > div.stock span i {
  display: none;
}
body:has(main.print-out) .detail-content .metadata-wrap .metadata > div.stock span::before {
  content: "此商品已絕版";
}
body:has(main.print-out) .detail-content .metadata-wrap .metadata > div.stock span i {
  display: none;
}
body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap {
  height: max-content;
  padding: 48px 16px 16px;
  background-color: var(--G100);
}
body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .sale-notice {
  display: flex;
}
body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
  background-color: var(--G100);
  border-color: var(--G00);
  pointer-events: none;
  cursor: not-allowed;
}
body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add .icon-wrap i, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy .icon-wrap i, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift .icon-wrap i {
  background-color: var(--G00);
}
body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add strong, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy strong, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift strong {
  color: var(--G00);
}
body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap label[for=ebook-function-switch] {
  pointer-events: none;
  cursor: not-allowed;
}
@media screen and (min-width: 769px) {
  body:has(main.purchased) .detail-content .metadata-wrap .control-wrap[data-type=ebook] {
    background-color: transparent;
  }
  body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap {
    background-color: transparent;
  }
  body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add, body:has(main.out-stock) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy {
    border-color: transparent;
  }
  body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap {
    background-color: transparent;
    padding: 0 24px 0 0;
  }
  body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .sale-notice {
    position: relative;
    border: none;
  }
  body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-add, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-buy, body:has(main.coming-sale) .detail-content .metadata-wrap .control-wrap .btn-wrap.btn-gift {
    border-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 {
  content: "(ebooks)" !important;
  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 {
    display: flex;
    top: 0;
  }
}/*# sourceMappingURL=detail.css.map */