@charset "utf-8";
/* CSS Document */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* outline: solid #f00 1px !important;
  background: #000 !important;
  color: #fff !important; */
}
html {
  font-size: 62.5%;
}
body {
  margin: 0px;
  padding: 0px;
  /* background: url("images/bg-hero.jpg") top fixed; */
  /* 　//設定背景圖片的呈現方式.jpg */
  -moz-background-size: cover;
  background-size: cover;
  background-color: #fff;
  position: relative;
}
.main {
  font-family: "Noto Sans TC", sans-serif;
  max-width: 100rem;
  margin: 0 auto;
}
.span-inline-block {
  display: inline-block;
}

/*****************************/
/* SECTION SELLER-COUPON */
/*****************************/
.section-seller-coupon {
  padding: 3.2rem 1.6rem;
  /* position: relative; */
}
.seller-coupon-slogan-grid {
  width: 90rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.seller-soupon-gift-img {
  width: 18rem;
}
.seller-coupon-text {
  align-self: flex-end;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 3.6rem;
  letter-spacing: 0.08rem;
  text-align: left;
  color: #ff057d;
}
.seller-coupon-text-username {
  color: #343434;
}
.coupon-generator-img {
  width: 25.6rem;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  transition: all 0.3s;
  cursor: pointer;
}
.coupon-generator-img:hover,
.coupon-generator-img:active {
  transform: scale(1.05);
}

.seller-coupon-info-grid {
  width: 80rem;
  display: grid;
  grid-template-columns: auto auto;
  gap: 3.2rem;
  align-items: end;
}
.seller-coupon-info-description {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 1.4rem;
  line-height: 2.3rem;
  letter-spacing: 0.08rem;
  text-align: left;
  color: #343434;
}
.info-description-bold {
  font-weight: 500;
  color: #ff057d;
}
.info-description-flex {
  display: flex;
  justify-content: flex-start;
  gap: 0.8rem;
}
.sparkle {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sparkle-img {
  width: 2.4rem;
}
.info-descriprion-username {
  font-weight: 500;
}
.text-link {
  color: #ff057d;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  transition: all 0.3s;
}
.text-link:hover,
.text-link:active {
  color: #9f3966;
}
.number-bold {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff057d;
}
.seller-coupon-cta-box {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}
.seller-coupon-cta {
  height: 4.8rem;
  width: 25.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3.6rem;
  border: solid 0.1rem #ff057d;
  color: #ff057d;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
  letter-spacing: 0.08rem;
  transition: all 0.3s;
}
.seller-coupon-cta:hover,
.seller-coupon-cta:active {
  background-color: #ff057d;
  color: #fff;
  /* text-decoration: underline;
  text-underline-offset: 0.2rem; */
}
.seller-coupon-share-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}
.seller-coupon-share {
  font-size: 1.6rem;
  font-weight: 500;
}
.seller-coupon-social-links-flex {
  display: flex;
}
.seller-coupon-social-link {
  padding: 1.2rem;
}
.seller-coupon-social-link-img {
  width: 2.4rem;
}

/*****************************/
/* COUPON MODAL*/
/*****************************/
.coupon-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 51.2rem;
  text-align: left;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3rem 5rem rgba(52, 52, 52, 0.3);
  z-index: 20000;
  transition: all 0.5s;
}
.coupon-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 52, 52, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  transition: all 0.5s;
}
.hidden {
  visibility: hidden;
  opacity: 0;
}
.coupon-modal-title-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.coupon-modal-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #151515;
  padding: 1.6rem;
}
.close-coupon-modal {
  background-color: transparent;
  padding: 1.2rem;
}
.close-coupon-modal-img {
  width: 2.4rem;
}
.coupon-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 1.6rem;
}
.coupon-modal-subcontent {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.coupon-modal-pic {
  align-self: center;
}
.coupon-modal-pic-img {
  width: 16rem;
}
.coupon-modal-e-coupon {
  font-size: 1.6rem;
  font-weight: 500;
  color: #ff057d;
}
.coupon-modal-form {
  width: 48rem;
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 0;
}
.coupon-modal-form input {
  width: 42rem;
  height: 4.8rem;
  border-radius: 4px 0 0 4px;
  border: solid 1px #ff057d;
  padding: 0 1.6rem;
}
.coupon-modal-form input:focus {
  outline: #ff057d;
}
.coupon-modal-form button {
  width: 6rem;
  height: 4.8rem;
  background-color: #ff057d;
  color: #fff;
  border-radius: 0 4px 4px 0;
}
.coupon-modal-description {
  font-size: 1.4rem;
  line-height: 2.3rem;
  color: #343434;
  letter-spacing: 0.05rem;
}
.coupon-modal-btns {
  display: flex;
  padding: 1.6rem;
  justify-content: space-between;
}
.coupon-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: transparent;
  width: 23.2rem;
  height: 4.8rem;
  border-radius: 3.6rem;
  border: solid 1px #ff057d;
  transition: all 0.3s;
}
.coupon-modal-btn:hover,
.coupon-modal-btn:active {
  background-color: #ffe3ed;
}

.coupon-modal-btn-icon-img {
  width: 2.4rem;
}

.coupon-modal-btn-text {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  letter-spacing: 0.08rem;
  color: #ff057d;
}

/*****************************/
/* SELLER NOTICE*/
/*****************************/
.section-seller-notice {
  width: 100rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.seller-notice-box {
  width: 80rem;
  background-color: #fff0f0;
  text-align: left;
  border-radius: 0.8rem;
}
.seller-notice-content-flex {
  padding: 0 1.6rem;
  padding-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.seller-notice-textarea {
  width: 76.8rem;
  height: 12rem;
  padding: 1.6rem;
  line-height: 2.3rem;
  letter-spacing: 0.08rem;
  color: #343434;
  border-radius: 0.4rem;
  border: solid 1px #bdbdbd;
  text-align: left;
}
.seller-notice-textarea:focus {
  outline: #535353;
}
.align-center {
  display: flex;
  justify-content: center;
}

:root {
  --form-control-color: #ff057d;
}
.seller-notice-radios-flex {
  display: flex;
  gap: 0.8rem;
}
.seller-notice-radio {
  width: 12.8rem;
  height: 4.8rem;
  display: grid;
  grid-template-columns: 1.8rem auto;
  gap: 1.5rem;
  align-items: center;
  padding-left: 1.5rem;
}
.seller-notice-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff0f0;
  margin: 0;
  color: #ff057d;
  width: 1.8rem;
  height: 1.8rem;
  border: 0.2rem solid #ff057d;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.seller-notice-radio input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
}
.seller-notice-radio input[type="radio"]:checked::before {
  transform: scale(1);
}
.seller-notice-radio label {
  font-size: 1.4rem;
  line-height: 2.3rem;
  letter-spacing: 0.08rem;
  font-weight: 400;
  color: #343434;
  margin: 0;
  cursor: pointer;
}

/*****************************/
/* SECTION BOOKS*/
/*****************************/
.headline-h1 {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 3.6rem;
  letter-spacing: 0.08rem;
  padding: 1.6rem;
  text-align: left;
  color: #151515;
}
.headline-h1-pink {
  color: #ff057d;
}
.welcome-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.usedbook-seller-username {
  color: #151515;
}
.books {
  padding: 1.6rem;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  row-gap: 1.6rem;
  justify-content: space-between;
}
.book {
  width: 15.4rem;
  text-align: left;
}
.book-img {
  width: 100%;
  margin-bottom: 0.8rem;
}
.book-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.book-title {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2.3rem;
  letter-spacing: 0.08rem;
  color: #343434;
}
.book-author {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  /* Limit the Text line */
  -webkit-line-clamp: 1;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2rem;
  letter-spacing: 0.08rem;
  color: #343434;
}
.book-discount-flex {
  display: flex;
  height: 4.8rem;
  align-items: center;
  justify-content: space-between;
}
.book-discount-flex-start {
  justify-content: flex-start;
}
.book-discount {
  display: flex;
  gap: 0.8rem;
  color: #535353;
  font-size: 1.2rem;
  line-height: 2rem;
}
.icon-cart {
  padding: 1.2rem;
}
.icon-img {
  width: 2.4rem;
}
.btn-more-flex {
  display: flex;
  justify-content: flex-end;
}
.btn-more {
  color: #ff057d;
  display: inline-block;
  border-radius: 3.6rem;
  border: solid 0.1rem #ff057d;
  margin-top: 1.6rem;
  transition: all 0.3s;
}
.btn-more:hover,
.btn-more:active {
  background-color: #ffe3ed;
}
.btn-more-margin-top {
  margin-top: 3.2rem;
}
.more-flex {
  display: flex;
  gap: 0.1rem;
  padding: 0.8rem 0.8rem 0.8rem 1.6rem;
  align-items: center;
  justify-content: center;
}
.more {
  font-size: 1.4rem;
  letter-spacing: 0.08rem;
}
.more-arrow-img {
  width: 1.6rem;
}
.bn-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.6rem;
  margin: 1.6rem 0;
}
.bn-img {
  width: 32rem;
}

/*****************************/
/* SECTION HOT */
/*****************************/
.hot-lists {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin: 1.6rem;
}
.hot-list {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.hot-list-text {
  font-size: 1.4rem;
  color: #ff057d;
  letter-spacing: 0.08rem;
  line-height: 2.4rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  transition: all 0.3;
}
.hot-list-text:hover,
.hot-list-text:active {
  color: #9f3966;
}

/*****************************/
/* SECTION E-COUPON */
/*****************************/
.section-e-coupon-note {
  margin-bottom: 4.6rem;
}
.e-coupon-note-text {
  padding: 0 1.6rem;
  padding-bottom: 1.6rem;
}
.e-coupon-note-lists {
  margin-left: 2rem;
  /* text-align: justify; */
}
