﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400");
@import url("https://fonts.googleapis.com/css?family=Prompt:100,300,400");
@import url("https://fonts.googleapis.com/css?family=Source Sans Pro");
.ProdDiscountLabel {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
           supported by Chrome, Edge, Opera and Firefox */
}

html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, ins, img, kbd, q, samp, small, strong, sub, sup, var, b, i, p, a, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, input, textarea, button {
  padding: 0;
  outline: none;
  font-size: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  word-break: normal;
  font-family: "Helvetica Neue", Helveticaa, "Microsoft JhengHei", Arial, sans-serif !important;
}

button {
  border-width: 0px;
}

body {
  font-family: "Helvetica Neue", Helvetica, "Microsoft JhengHei", Arial, sans-serif;
}

select {
  background-color: white;
}

.content p,
.searchBar > div > span {
  font-size: 14px;
  padding: 5px 0;
  letter-spacing: 1px;
  margin-bottom: 0px !important;
}

header {
  background-color: #71304e;
  padding: 0px 10px;
  line-height: 34px;
  position: fixed;
  z-index: 9000;
  width: 100%;
  top: 0px;
}
header a {
  display: inline-block;
}
@media (max-width: 1070px) {
  header {
    padding: 0px;
  }
}

li {
  list-style: none;
}

button {
  cursor: pointer;
}

.mainMenu > div > ul {
  display: inline-flex;
}
.mainMenu > div > ul li {
  white-space: nowrap;
  padding: 0px 10px;
}
.mainMenu a {
  color: #fff;
}
@media (max-width: 1070px) {
  .mainMenu {
    display: none !important;
  }
}

/* 頁首按鈕 mobile */
.MobileHeader {
  background: var(--sanmin);
  display: none;
  padding: 0;
  height: 40px;
  line-height: 40px;
  color: #fff;
  align-items: center;
  flex-wrap: nowrap;
}
.MobileHeader > * {
  flex: 1;
  text-align: center;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  cursor: pointer;
}
.MobileHeader a, .MobileHeader a:hover {
  color: #fff;
}
.MobileHeader .Logo {
  flex: 5;
  padding: 2px 0px;
}
.MobileHeader .Logo img {
  max-width: 100%;
  max-height: 32px;
}
.MobileHeader .bubble {
  position: absolute;
  top: 0px;
  right: 0px;
}
@media (max-width: 1070px) {
  .MobileHeader {
    display: flex;
  }
}

.HeadImg {
  width: 100%;
  height: 145px;
  position: absolute;
  margin-top: 30px;
}

.hot-search {
  height: 54px;
  overflow: hidden;
  margin-top: 5px;
  padding: 5px 0px;
  max-width: 700px;
  line-height: 16px;
}
.hot-search h3 {
  display: inline;
}
.hot-search a, .hot-search a:hover {
  font-size: 14px;
  color: #000;
}
@media (max-width: 1070px) {
  .hot-search {
    height: auto;
    margin-top: 5px;
    background-color: #fff;
    border-radius: 10px;
    max-width: 100%;
    padding: 5px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  }
}

@media (max-width: 1070px) {
  .topBgHead {
    display: none;
  }
}
@media screen and (max-width: 395px) {
  .searchBar input#qu {
    width: 40% !important;
  }
  .searchBar input#qumobile {
    width: 40% !important;
  }
}
/* 頁首選單 */
.ClassMenu {
  --size: 16px;
}
.ClassMenu > .body {
  text-align: left;
  padding: 0px !important;
}
.ClassMenu > .title {
  font-size: 1.2rem;
}
.ClassMenu .collapsed:after {
  content: "\f285" !important;
  color: var(--bs-secondary);
  margin-right: 0px;
}
.ClassMenu .collapse, .ClassMenu .collapsing {
  padding: 10px 5px;
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.3);
  max-height: 0%;
}
.ClassMenu .show {
  /*max-height: none;*/
}
.ClassMenu .list {
  background-color: var(--bs-gray-100);
  padding: 0px;
  margin: 0px;
  border-radius: 5px 5px 5px 5px;
  -webkit-filter: drop-shadow(0 0px 2px rgba(0, 0, 0, 0.7)) !important;
  box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 2px;
  --size: 14px;
  overflow: hidden;
}
.ClassMenu .list > .item:not(:last-child) {
  border-bottom: 1px #cccccc solid;
}
.ClassMenu .item {
  display: flex;
  flex-direction: column;
}
.ClassMenu .link {
  position: relative;
  line-height: 1.6rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-wrap: nowrap;
  font-size: var(--size);
}
.ClassMenu .link:hover {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  background: inherit;
}
.ClassMenu .link a {
  font-size: var(--size);
  text-align: left;
  padding: 5px 10px;
  display: block;
  color: var(--bs-dark);
  font-weight: 500;
}
.ClassMenu .link .Menu-active, .ClassMenu .link .activity {
  color: var(--bs-danger) !important;
  font-weight: 600;
}
.ClassMenu .link:has(:not(.link-collapse)) a {
  flex: 1 auto;
}
.ClassMenu .link .link-collapse {
  flex: 1 auto;
  line-height: 2rem;
  display: flex;
  justify-content: end;
}
.ClassMenu .link .link-collapse:after {
  z-index: 1;
  content: " \f282";
  font-family: "Bootstrap-icons";
  font-size: 20px;
  color: var(--bg-color);
  margin-right: 8px;
}
.ClassMenu img {
  text-align: center;
  display: block;
}
.ClassMenu *::selection {
  background: transparent; /* 無效，大部分瀏覽器會忽略 */
}

.mainMenu {
  display: flex;
  width: 1280px;
  margin: auto;
}
.mainMenu > div > ul {
  margin-bottom: 0px;
}
.mainMenu .leftMenu {
  width: 30%;
  text-align: left;
  padding: 0px;
  padding-left: 1%;
}
.mainMenu .rightMenu {
  width: 70%;
  text-align: right;
  padding: 0px;
  padding-right: 1%;
}
.mainMenu > a {
  color: white;
}
.mainMenu li:hover {
  background-color: var(--pruple);
}
.mainMenu li:hover a:hover {
  color: white;
}

.layout {
  margin: 0 auto;
  width: 100%;
}

.content {
  padding: 0px;
  max-width: 1280px;
  margin: auto;
}

/* logo & 搜尋欄 */
.topBgArea {
  height: 175px;
}
.topBgArea input:focus, .topBgArea select:focus {
  outline: none;
}
.topBgArea .LogoSearch {
  padding: 55px 1% 1% 1%;
  max-width: 1280px;
  margin: auto;
  display: flex;
}
@media (max-width: 1070px) {
  .topBgArea {
    position: fixed;
    left: 0px;
    top: 40px;
    z-index: 500;
    background-color: rgba(160, 96, 133, 0.9);
    height: auto;
    max-height: 0%;
    width: 100%;
    transition: all 0.5s ease;
    overflow: hidden;
  }
  .topBgArea .LogoSearch {
    max-width: 600px;
    padding: 0px !important;
  }
  .topBgArea .hot-search a {
    font-size: 16px;
    line-height: 30px;
  }
}
.topBgArea .Logo {
  width: 40%;
  margin: auto;
}
.topBgArea .SearchBar {
  width: 60%;
  margin: auto;
  padding: 10px !important;
}
@media (max-width: 1070px) {
  .topBgArea .Logo, .topBgArea .btn-pruple {
    display: none;
  }
  .topBgArea .SearchBar {
    width: 100%;
  }
}

#MobileSearchSwitch {
  display: none;
}
@media (max-width: 1070px) {
  #MobileSearchSwitch:checked ~ .topBgArea {
    max-height: 100%;
  }
}

.SearchCtrl {
  line-height: 50px;
  display: flex;
  column-gap: 5px;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 600px;
}
.SearchCtrl .input-group {
  line-height: 50px;
  max-width: 450px;
}
.SearchCtrl input {
  border-left-width: 0px;
  padding: 10px;
  font-size: 20px;
}
.SearchCtrl select {
  padding: 10px;
  font-size: 20px;
}
.SearchCtrl .btn {
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9);
}
.SearchCtrl .btn-search {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
}
.SearchCtrl .CtrlGroup {
  background-color: #fff;
  border-radius: 5px;
  flex-wrap: nowrap;
  flex: 1;
}
.SearchCtrl .CtrlGroup select {
  flex: 0 auto;
  width: 150px;
}
@media (max-width: 768px) {
  .SearchCtrl .CtrlGroup select {
    width: 100px;
  }
}

/*.searchBar {
    .icon {
        position: absolute;
        margin-left: 15px;
        margin-top: 15px;
        z-index: 1;
        color: #4f5b66;
        -webkit-transition: all .55s ease;
        -moz-transition: all .55s ease;
        -ms-transition: all .55s ease;
        -o-transition: all .55s ease;
        transition: all .55s ease;
    }
}
*/
/*    @media screen and (max-width: 769px) {

    .searchBar .icon {
        margin-left: -30px;
    }


}*/
/* 書籍分類選單 */
.topMenu {
  background-color: #fedfdd;
}

@media screen and (max-width: 768px) {
  .topMenu {
    display: none;
  }
}
.topMenu > .classMenu {
  padding: 10px 0px 10px 0px;
  width: 1280px;
  margin: auto;
}

.burgerButton2 {
  color: #77324e;
}

.burgerButton2,
.mobileClassTopMenu {
  display: none;
}

@media screen and (max-width: 768px) {
  .burgerButton2 {
    display: block;
    text-align: center;
  }
  .mobileClassTopMenu > ul {
    display: block;
  }
  .mobileClassTopMenu > ul > a > li {
    width: 100%;
  }
}
.mobileClassTopMenu > ul > a {
  color: #6d364b;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

@media screen and (max-width: 1070px) {
  .topMenu {
    display: none;
  }
}
/* 1280間距 */
@media screen and (max-width: 1280px) {
  .content, .mainMenu, .topMenu > .classMenu {
    width: 100%;
  }
}
@media screen and (max-width: 420px) {
  .btnStyle2 {
    /*padding: 20px !important;*/
  }
}
@media screen and (max-width: 360px) {
  .btnStyle1 {
    /*word-break: keep-all !important;*/
  }
  .btnStyle2 {
    /*padding: 15px !important;*/
  }
}
@media screen and (max-width: 320px) {
  .btnStyle1 {
    word-break: keep-all !important;
  }
  .btnStyle2 {
    /*padding: 10px !important;*/
  }
}
.bottomButton .bottomBtn:focus {
  background-color: #825267;
  color: white;
  -webkit-transition: 0.8s;
  -moz-transition: 0.6s;
  -ms-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
  cursor: pointer;
}

/* 上方按鈕 */
/*.topButtonMobile {
    display: none;
}*/
/*@media screen and (max-width:767px) {
    .topNews {
        padding-top: 51px;
    }
}*/
/*
.topButton {
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
}

    .topButton .topBtn {
        padding: 10px;
        color: #000;
        font-weight: 600;
    }

    .topButton a {
        padding: 5px 15px;
        color: #333;
    }

    .topButton :hover {
        color: #333;
    }*/
@media screen and (max-width: 1070px) {
  body {
    margin-top: 44px !important;
  }
}
@media screen and (max-width: 768px) {
  .topButtonMobile {
    /*display: block;*/
    padding-top: 51px;
    background-color: #f6f7f9;
  }
}
@media screen and (max-width: 430px) {
  .topButton a {
    padding: 5px 8px;
  }
}
@media screen and (max-width: 380px) {
  .topButton a {
    padding: 5px 3px;
  }
}
@media screen and (max-width: 350px) {
  .Mpromote a:nth-last-child(1) {
    display: none;
  }
  .centerLogo img {
    margin-top: 5px;
  }
  .centerLogo img {
    max-height: 22px;
  }
  .mobileTopArea {
    margin-top: 3px;
  }
}
/* 跑馬燈 */
.topNews {
  width: 100%;
  display: inline-flex;
  height: 32px;
}

.topNewsLeft {
  width: 80%;
  padding-left: 330px;
  background-color: #a06085;
}

.topNewsLeft > a > p {
  color: white;
  margin: 16px 0 16px 0px;
}

.topNewsRight {
  width: 20%;
  background-color: #7d0000;
}

.topNewsRight > a > p {
  color: white;
  text-align: center;
  font-size: 15px;
  padding: 6px 0;
  letter-spacing: 1px;
  margin-bottom: 0px !important;
}

@media screen and (max-width: 1600px) {
  .topNewsLeft {
    padding-left: 173px;
  }
}
@media screen and (max-width: 1440px) {
  .topNewsLeft {
    padding-left: 93px;
  }
}
@media screen and (max-width: 1366px) {
  .topNewsLeft {
    padding-left: 60px;
  }
}
@media screen and (max-width: 768px) {
  .topNewsLeft {
    width: 100%;
    display: none;
  }
  .topNewsRight {
    display: none;
  }
}
#dropdown-menu0 {
  display: none;
}

/* mainArea */
.mainArea {
  display: flex;
  margin-top: 10px;
}

@media screen and (max-width: 1024px) {
  .fullscreen_slider {
    margin: auto;
  }
}
@media screen and (max-width: 992px) {
  .fullscreen_slider {
    display: none;
  }
}
@media screen and (max-width: 425px) {
  .view-m {
    display: none;
  }
  .view-w {
    display: none;
  }
  .view-m {
    display: block;
  }
}
/* 最新消息&類別 */
.classArea {
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 1024px) {
  .classArea .booksArea {
    display: none;
  }
}
.news > p,
.tab > p,
.tab1 > p,
.tabcla > p {
  font-size: 16px;
  font-weight: 700;
}

.bookStatusAddCtrl > div {
  margin-bottom: 5px;
}

.newsFrame {
  border: 2px solid #bf7dad;
  width: 100%;
}

.pagination {
  font-size: 16px;
  color: black;
  text-align: center;
  padding-bottom: 10px;
  letter-spacing: 10px;
}

.newsList {
  display: block;
  color: #3b6e71;
  padding: 5px 0 1px 39px;
  margin-bottom: 0px;
}
.newsList > li {
  list-style: disc;
  width: 100%;
  padding: 7px;
}
.newsList > li > a {
  color: #3b6e71;
  font-size: 14px;
}
.newsList > li > a:hover {
  opacity: 0.5;
}

.row1, .row2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 1024px) {
  .row1, .row2 {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .row1, .row2 {
    display: block;
  }
}
@media screen and (max-width: 414px) {
  .row1, .row2 {
    display: block;
  }
}
@media screen and (max-width: 375px) {
  .row1, .row2 {
    display: block;
  }
  .tab1 > p {
    font-size: 16px;
  }
}
.row1 > div,
.row2 > div {
  padding: 3px;
}

.row1 > div > a > img,
.row2 > div > a > img {
  width: 100%;
}

.row1 > div > a > picture > img,
.row2 > div > a > picture > img {
  width: 100%;
}

.row1 > div > a > img:hover,
.row2 > div > a > img:hover {
  opacity: 0.8;
}

.row1 > div > a > picture > img:hover,
.row2 > div > a > picture > img:hover {
  opacity: 0.8;
}

.morerwd {
  background-color: #317082;
  color: white;
  width: 70px;
  padding: 5px;
  text-align: center;
  font-size: 14px;
}

.morerwd:hover {
  opacity: 0.7;
}

.newBookTab {
  display: flex;
  border-bottom: 2px solid #4cacc5;
  padding-top: 12px;
  padding-bottom: 1px;
  position: relative;
  overflow-x: auto;
}
.newBookTab p {
  white-space: nowrap;
}
.newBookTab .tabActive, .newBookTab .tabActive1, .newBookTab .tab1, .newBookTab .tab2 {
  background-color: #e6e6e6;
  color: #49abc4;
  width: 160px;
  margin-right: 5px;
  cursor: pointer;
}
.newBookTab .tab {
  background-color: #e6e6e6;
  color: #49abc4;
  width: 200px;
  /*font-size: 18px;*/
  margin-right: 5px;
  cursor: pointer;
}
.newBookTab .tab2, .newBookTab .tabActive2 {
  background-color: #e6e6e6;
  color: #49abc4;
  width: 140px;
  font-size: 18px;
  padding: 0 10px;
  border: 1px solid white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newBookTab .tab:hover, .newBookTab .tab1:hover, .newBookTab .tab2:hover,
.newBookTab .tabActive, .newBookTab .tabActive1, .newBookTab .tabActive2 {
  background: #49abc4;
  color: white !important;
}
.newBookTab .tab:hover, .newBookTab .tab1:hover, .newBookTab .tab2:hover, .newBookTab .tabcla:hover {
  background: #78c0d3;
  color: white;
}
.newBookTab .tab[class*=tabActive]:hover, .newBookTab .tab1[class*=tabActive1]:hover, .newBookTab .tab2[class*=tabActive2]:hover, .newBookTab .tabcla[class*=tabActive]:hover {
  background: #49abc4;
}
.newBookTab > div > p, .newBookTab .newBookTab1 > div > p {
  text-align: center;
  padding: 10px 10px;
  white-space: nowrap;
}

.newBookTab1 {
  display: flex;
  border-bottom: 2px solid #4cacc5;
  padding-bottom: 1px;
  width: 78%;
}

.swiper-slide div:has(.flag_r) .Labels, .swiper-slide div:has(.flag_b) .Labels {
  display: none;
}
.swiper-slide .flag_r {
  --bg-color: rgb(255, 4, 0,0.5);
}
.swiper-slide .flag_b {
  --bg-color: rgb(4, 154, 188,0.5);
}
.swiper-slide .flag_r, .swiper-slide .flag_b {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 45px 50px 0 0;
  border-color: var(--bg-color) transparent transparent transparent;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.9);
}
.swiper-slide .flag_r p, .swiper-slide .flag_b p {
  position: absolute;
  top: -52px;
  left: 4px;
  font-size: 20px;
  color: white;
}

/* video-mobile */
.mobile-video {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-video {
    display: block;
    text-align: center;
  }
}
/* footer */
footer {
  background-color: var(--pruple);
}
footer > .content {
  display: flex;
  justify-content: space-around;
  padding: 10px 30px 30px 30px !important;
}
footer .fb, footer .contact, footer .guild {
  width: 100%;
  margin-bottom: 20px;
}
footer .copyright {
  color: #ffecff;
}
footer .copyright p {
  padding: 0;
  word-break: keep-all;
}
@media (max-width: 1200px) {
  footer > .content {
    display: block;
  }
  footer .contact > .block {
    display: flex;
  }
  footer .fb > .block {
    display: none;
  }
  footer .copyright {
    border-top: 1px solid #ffecff;
    text-align: center;
    padding: 15px 0 45px 0;
  }
  footer .copyright p {
    padding-top: 5px;
  }
}
@media (max-width: 768px) {
  footer .contact,
  footer .footerLogo,
  footer .SiteMap,
  footer .subs-footer-full {
    display: none;
  }
  footer .subs-footer {
    display: block;
  }
  footer .content {
    padding: 10px !important;
  }
}
footer a {
  color: #fff !important;
}
footer .block {
  width: 100%;
}
footer .block > div > p {
  color: #ffecff;
}

.section > h4 {
  color: #6f2f51;
  font-size: 18px;
  font-weight: 600;
}
.section > p > a {
  color: #ffecff;
  font-size: 14px;
  white-space: nowrap;
}
.section > p > a:hover {
  opacity: 0.7;
}

#gotop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  cursor: pointer;
  z-index: 100;
  background-color: #d5d1d1;
  opacity: 0.6;
  border-radius: 5px;
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  padding: 5px;
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.3);
}
#gotop:hover {
  opacity: 1;
}

/*level menu*/
.has-children {
  padding: 10px;
  width: 100%;
  background: #904d6b !important;
}

.option {
  display: block;
  position: relative;
  padding-left: 0;
  cursor: pointer;
  font-size: 22px;
  user-select: none;
  width: 25px;
  height: 25px;
  margin: 0 auto 10px;
}
.option input:checked ~ .checkmark {
  background-color: #2196f3;
}
.option input:checked ~ .checkmark:after {
  display: block;
}
.option .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
}
.option .checkmark:after {
  left: 7px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.option .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

@media screen and (max-width: 768px) {
  .product3_slider > .swiper-pagination-bullets,
  .tab1_slider > .swiper-pagination-bullets,
  .tab2_slider > .swiper-pagination-bullets,
  .tab3_slider > .swiper-pagination-bullets,
  .tab4_slider > .swiper-pagination-bullets,
  .tab5_slider > .swiper-pagination-bullets,
  .tab6_slider > .swiper-pagination-bullets,
  .tab7_slider > .swiper-pagination-bullets {
    display: none;
  }
}
@media screen and (max-width: 1280px) {
  .topNewsLeft {
    padding-left: 15px;
  }
}
.product-border {
  border: 1px #ccc solid;
  border-radius: 2px;
  overflow: hidden;
  background-color: #fff;
}

.product1_slider .sProduct {
  max-width: 230px;
}

.sProduct {
  background: #fff;
  display: flex;
  gap: 5px;
  padding: 5px;
  flex-direction: column;
  height: 100%;
}
.sProduct .Title {
  color: var(--blue1);
  font-size: 16px !important;
  line-height: 20px !important;
  max-height: 40px;
  min-height: 40px;
  margin: 0 !important;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  font-weight: 400;
}
.sProduct .Title a, .sProduct .Title h3 {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  display: inline;
  font-weight: inherit;
}
.sProduct .Cover {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sProduct .Cover .CoverBox {
  max-width: 200px;
}
.sProduct .Cover:hover .ProdDiscountLabel, .sProduct .Cover:hover .Labels {
  opacity: 0.1;
  transition: all 0.5s ease;
}
.sProduct .Info {
  padding: 0px;
  line-height: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  row-gap: 5px;
}
.sProduct .Info .PriceCart {
  display: flex;
  flex-direction: column;
  line-height: 20px;
}
.sProduct .Info .DiscPrice {
  text-align: center;
}
.sProduct .Info .label {
  font-size: 14px;
  display: inline-flex;
}
.sProduct .Info .Description {
  padding: 0px;
  font-size: 14px;
  line-height: 20px;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  overflow: hidden;
  color: var(--bs-secondary);
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
}
.sProduct .Info .Attribute {
  color: #808080;
  font-size: 14px;
  overflow: hidden;
  max-height: 40px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
}
.sProduct .Info .Attribute b {
  color: var(--bs-dark);
}
@media (max-width: 768px) {
  .sProduct .Info .Attribute {
    -webkit-line-clamp: 1;
  }
}
.sProduct .Info .Stock {
  font-weight: 700;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .row-display .sProduct {
    flex-direction: row !important;
  }
  .row-display .sProduct .Cover {
    max-width: 140px !important;
    min-width: 140px !important;
  }
  .row-display .sProduct .Title, .row-display .sProduct .Title h3, .row-display .sProduct Description, .row-display .sProduct .PriceCart > * {
    text-align: left !important;
    justify-content: start;
  }
}

.IndexView {
  padding: 0px;
}
.IndexView .theme-book {
  background-color: var(--color);
}
.IndexView .Recommend {
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.3);
  background-color: var(--color);
}

.ProductView .listview .Prod {
  border-bottom: 1px #cccccc solid;
}
.ProductView .listview .sProduct {
  flex-direction: row;
}
.ProductView .listview .sProduct .Cover {
  max-width: 120px;
  min-width: 120px;
  flex: 0 auto;
  padding: 0px 5px;
}
.ProductView .listview .sProduct .CoverBox {
  height: 150px !important;
}
.ProductView .listview .sProduct .Info {
  text-align: left;
}
.ProductView .listview .sProduct .Info .Title, .ProductView .listview .sProduct .Info .Description {
  text-align: left;
  min-height: 0px;
}
.ProductView .listview .sProduct .Info .PriceCart {
  /*  position: absolute;
    bottom: 0px;
    right: 0;*/
  width: 100%;
  background-color: #fff;
  padding: 0px;
  line-height: 20px;
  display: flex;
  flex-direction: column;
  align-items: end;
  text-align: right;
}
.ProductView .gridview {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: flex-start;
  background-color: #f2f2f2;
  padding: 10px 0px 10px 5px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  row-gap: 5px;
  column-gap: 5px;
}
.ProductView .gridview .Prod {
  border: 1px #ccc solid;
  box-sizing: border-box;
  border-radius: 3px;
  overflow: hidden;
  width: calc(25% - 5px); /* 四欄 */
}
@media (max-width: 992px) {
  .ProductView .gridview .Prod {
    width: calc(33.333% - 5px); /* 三欄 */
  }
}
@media (max-width: 768px) {
  .ProductView .gridview .Prod {
    width: calc(50% - 5px); /* 兩欄，中間間距5px已在父層設定 */
  }
}
.ProductView .gridview .sProduct .Attribute, .ProductView .gridview .sProduct .Description, .ProductView .gridview .sProduct .ListPrice {
  display: none;
}
@media (max-width: 768px) {
  .ProductView .gridview .btn-cart .MobileHide {
    display: inline !important;
  }
}

.bg-test {
  background-image: url(//cdnec.sanmin.com.tw/images/MISbg.png);
}

.PromoteNav {
  max-width: 500px;
  padding: 0px;
}
.PromoteNav img {
  max-height: 25px;
}
.PromoteNav a {
  border: 1px #fff solid;
  display: inline-block;
  width: 50%;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  padding: 5px;
  font-size: 0.8rem;
  line-height: 1rem;
  min-height: 50px;
}

.BonusLablel {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #ff6b35 0%, #ff6b35 70%, rgba(255, 107, 53, 0.8) 85%, rgba(255, 107, 53, 0) 100%);
  color: white;
  padding: 8px 25px 8px 12px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  /* 右側三角剪裁效果 */
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
}

.ProdDiscountLabel {
  position: absolute;
  left: 0px;
  bottom: 0px;
  background-size: contain;
  padding: 0px 10px;
  color: #fff;
  font-weight: 400;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  border-radius: 0px 10px 0px 0px;
  background: var(--bg-color);
  opacity: 0.8;
}

.SearchKeyword {
  display: flex;
  justify-content: start;
  column-gap: 5px;
  padding: 5px;
  row-gap: 5px;
  flex-wrap: wrap;
}
.SearchKeyword a {
  line-height: 20px;
  font-size: 14px;
  background: #fff;
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--vs-dark);
  max-width: 250px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#FilterMenu {
  padding-left: 5px;
}
#FilterMenu .condition {
  border: 2px var(--blue2) solid;
  margin-bottom: 5px;
  padding: 0px;
  line-height: 18px;
}
#FilterMenu .condition .TitleUnderline {
  margin: 5px;
}
#FilterMenu .condition .row {
  justify-items: start;
  padding-bottom: 5px;
}
@media (max-width: 1200px) {
  #FilterMenu .condition .row-cols-2 .col {
    width: 100%;
  }
}
@media (max-width: 375px) {
  #FilterMenu .condition .row-cols-2 .col {
    width: 50%;
  }
}
#FilterMenu .condition a {
  color: var(--bs-dark);
  font-size: 15px;
  display: flex;
  height: 100%;
  align-items: center;
  margin: 0 !important;
  padding: 5px;
  column-gap: 5px;
  border-radius: 3px;
  position: relative;
}
#FilterMenu .condition a span {
  color: var(--blue2);
}
#FilterMenu .condition a i {
  position: absolute;
  right: 0px;
  top: 50%;
  padding: 0px 5px;
  transform: translate(0%, -50%);
  background: inherit;
}
#FilterMenu .condition .col {
  padding: 2px 5px;
}
#FilterMenu .condition .col.active a {
  background: var(--sand);
}
#FilterMenu .condition .col.active span {
  color: #fff;
}
#FilterMenu .condition .col:hover a {
  background: var(--yellow);
}

.CoupomList {
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
  row-gap: 5px;
}
.CoupomList > .coupon {
  width: calc(50% - 5px);
}
@media (max-width: 768px) {
  .CoupomList > .coupon {
    width: 100%;
  }
}

.coupon {
  background-color: #fff;
  display: flex;
  flex-direction: row;
  position: relative;
}
.coupon .logo {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 10%, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.1) 90%);
  background-color: var(--color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  width: 110px;
  flex: 0 auto;
  font-size: 12px;
  padding: 5px 5px 5px 10px;
  position: relative;
}
.coupon .logo img {
  max-width: 100%;
}
.coupon .logo .Limited {
  position: absolute;
  top: 10px;
  left: 10px;
  transform: rotate(-10deg);
  background-color: #fff;
}
.coupon .logo .usefor {
  border: 1px #cccccc solid;
  background-color: var(--color);
  color: #fff;
  filter: brightness(120%);
}
.coupon .logo::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  bottom: 0;
  width: 12px;
  background-image: radial-gradient(circle, #fff 6px, #000 6px, #000 6px, transparent 6px);
  background-size: 12px 24px;
  background-repeat: repeat-y;
  background-position: 0 -6px;
}
.coupon .content {
  flex: 1;
  height: 100%;
  border: 2px var(--color) solid;
  border-left: 0px;
  padding: 5px;
  font-size: 12px;
  color: var(--bs-secondary);
  background: #fff;
  line-height: 20px;
  min-height: 90px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.coupon .content i {
  margin-right: 5px;
}
.coupon .content .info {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
}
.coupon .content .info .attr {
  flex: 1;
}
.coupon .content .info .use {
  width: 52px;
  display: flex;
  flex: 0 auto;
  align-items: center;
  justify-content: center;
}
.coupon .content .info .use .btn-use {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border-width: 0px;
  line-height: 50px;
  font-weight: 700;
  -webkit-filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.3));
}
.coupon .content .title {
  font-size: 18px;
  font-weight: 700;
  line-height: 18px !important;
  margin: 0;
}
.coupon .content .overamt {
  color: #000;
  font-weight: 600;
}
.coupon .content .text, .coupon .content .amt, .coupon .content .time, .coupon .content .qty {
  font-size: 12px;
  padding: 0px;
}
.coupon .content .qty {
  text-align: right;
  font-size: 12px;
}
.coupon .content .label {
  border-radius: 0px;
  font-size: 12px;
}
.coupon .content .inuse {
  color: var(--bs-danger);
  border: 2px var(--bs-danger) solid;
  padding: 2px;
  font-size: 20px;
  font-weight: 700;
  transform: rotate(-5deg);
  position: absolute;
  top: 30%;
  right: 10px;
  -webkit-filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.3));
}

#breadcrumb-trail {
  line-height: 20px;
  padding: 0px 5px;
  background-color: #fff;
}
#breadcrumb-trail a {
  padding: 0px 2px;
  color: var(--sanmin);
  font-weight: 900;
  font-size: 16px !important;
}
#breadcrumb-trail i {
  color: #cccccc;
  font-size: 12px;
}
