/* color */
/* font */
/* transition */
.categoryBox .categoryList li:before, .productList .productItem, .productList .productItem:before, .productList .productItem .title, .productList .productItem .tag:before, .productContent .topBox .tag:before {
  transition: all 0.5s ease-in-out; }

@keyframes rotate {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.categoryBox .title {
  background-color: #f2ebd4;
  box-shadow: 0px 0px 5.94px 0.06px rgba(8, 8, 8, 0.58);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3.96px;
  text-align: center;
  color: #56220a;
  margin-bottom: 25px;
  max-width: 150px; }
  @media (max-width: 640px) {
    .categoryBox .title {
      font-size: 18px; } }

.categoryBox .categoryList {
  margin-bottom: 35px; }
  .categoryBox .categoryList li {
    font-size: 20px;
    color: #56220a;
    font-weight: 600;
    padding-left: 56px;
    letter-spacing: 3.6px;
    line-height: 2;
    position: relative; }
    @media (max-width: 640px) {
      .categoryBox .categoryList li {
        font-size: 16px; } }
    .categoryBox .categoryList li.current:before {
      content: "";
      position: absolute;
      opacity: 1; }
    .categoryBox .categoryList li.current:after {
      content: "";
      position: absolute;
      opacity: 1; }
    .categoryBox .categoryList li:before {
      content: "";
      position: absolute;
      width: 14px;
      height: 14px;
      background-image: url("../assets/images/list-icon.svg");
      background-size: contain;
      background-repeat: no-repeat;
      left: 30px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0; }
    .categoryBox .categoryList li:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 1px;
      background-color: #56220a;
      left: 0;
      bottom: 0;
      opacity: 0; }

.searchBox {
  margin-top: 60px;
  height: 30px;
  display: flex;
  align-items: center;
  width: 150px;
  border-bottom: 2px solid #6f2517; }
  .searchBox button {
    flex-shrink: 0;
    align-self: stretch;
    display: block;
    width: 40px;
    height: 100%;
    background-color: #d8d1c7;
    color: #6f2517;
    border: none;
    cursor: pointer; }
  .searchBox input {
    background-color: #fff;
    flex-grow: 1;
    width: 110px;
    align-self: stretch;
    border: none;
    padding: 0 10px;
    font-size: 16px;
    cursor: text; }

.productList {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)); }
  @media (max-width: 640px) {
    .productList {
      grid-template-columns: 1fr; } }
  .productList .productItem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; }
    .productList .productItem:nth-child(1), .productList .productItem:nth-child(2) {
      grid-column: span 6; }
    .productList .productItem:nth-child(1) {
      padding-right: 25px; }
    .productList .productItem:nth-child(2) {
      padding-left: 25px; }
    .productList .productItem:nth-child(n + 3) {
      grid-column: span 4;
      border-radius: 0;
      border-bottom: 1px solid #6f2517; }
      @media (max-width: 1024px) {
        .productList .productItem:nth-child(n + 3) {
          grid-column: span 6;
          border-bottom: none; } }
    .productList .productItem:nth-child(n + 6) {
      border-bottom: none; }
  .productList .productItem {
    color: #56220a;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 50px 20px;
    border-radius: 100px;
    overflow: hidden; }
    @media (max-width: 1180px) {
      .productList .productItem {
        border-radius: 50px; } }
    @media (max-width: 1024px) {
      .productList .productItem {
        padding: 20px; } }
    @media (min-width: 1181px) {
      .productList .productItem:hover {
        background-color: #8b5424;
        filter: drop-shadow(0 0 10px #000); }
        .productList .productItem:hover:before {
          content: "";
          position: absolute;
          opacity: 1; }
        .productList .productItem:hover .textBox {
          color: #fff; }
        .productList .productItem:hover .tag:before {
          content: "";
          position: absolute;
          background-color: #fff; }
        .productList .productItem:hover .btn {
          color: #6f2517;
          border: 1px solid #000;
          background-image: linear-gradient(12deg, #ffdeb3 0%, #d8ad77 60%, #c19574 100%); } }
    .productList .productItem:before {
      content: "";
      position: absolute;
      width: 150%;
      height: 60%;
      border-bottom-left-radius: 50%;
      border-bottom-right-radius: 50%;
      background-color: #830f0f;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      opacity: 0; }
    .productList .productItem:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      background-image: url("../assets/images/product-bg.png");
      opacity: 0.15;
      z-index: 0; }
    .productList .productItem .link {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 3; }
    .productList .productItem .imgBox {
      position: relative;
      z-index: 2;
      max-width: 260px; }
      .productList .productItem .imgBox img {
        max-width: 100%;
        height: auto; }
    .productList .productItem .textBox {
      position: relative;
      z-index: 2;
      text-align: center;
      font-weight: 700; }
    .productList .productItem .title {
      font-size: 22px;
      font-weight: 700;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
      letter-spacing: 3.624px;
      margin-bottom: 10px; }
    .productList .productItem .tagList {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 28px;
      margin-bottom: 30px; }
      @media (max-width: 1024px) {
        .productList .productItem .tagList {
          gap: 15px; } }
      @media (max-width: 768px) {
        .productList .productItem .tagList {
          gap: 5px; } }
    .productList .productItem .tag {
      position: relative; }
      .productList .productItem .tag:before {
        content: "";
        position: absolute;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background-color: #56220a;
        top: 50%;
        left: -8px;
        transform: translateY(-50%); }

.productContent .topBox {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  margin-bottom: 80px; }
  @media (max-width: 1024px) {
    .productContent .topBox {
      grid-template-columns: 1fr; } }
  @media (max-width: 640px) {
    .productContent .topBox {
      margin-bottom: 40px; } }
  .productContent .topBox .leftBox {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px; }
    @media (max-width: 640px) {
      .productContent .topBox .leftBox {
        column-gap: 0; } }
  .productContent .topBox .imgNav {
    height: 360px;
    overflow: hidden; }
    .productContent .topBox .imgNav .swiper-slide {
      height: calc((100% - 30px) / 4) !important;
      opacity: 0.5;
      cursor: pointer;
      transition: opacity 0.3s ease; }
      .productContent .topBox .imgNav .swiper-slide.swiper-slide-thumb-active {
        opacity: 1; }
    .productContent .topBox .imgNav .imgItem {
      background-color: rgba(255, 255, 255, 0.4);
      padding: 8px;
      overflow: hidden;
      height: 100%;
      aspect-ratio: 1; }
      .productContent .topBox .imgNav .imgItem img {
        width: 100%;
        height: 100%;
        object-fit: contain; }
  .productContent .topBox .imgMain {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    overflow: hidden;
    max-width: 320px;
    aspect-ratio: 320/360;
    height: 360px; }
    .productContent .topBox .imgMain .imgItem {
      width: 100%;
      height: 100%; }
      .productContent .topBox .imgMain .imgItem img {
        width: 100%;
        height: 100%;
        object-fit: contain; }
  .productContent .topBox .rightBox {
    padding-top: 40px;
    padding-left: 30px;
    font-family: "Noto Serif TC", sans-serif; }
    @media (max-width: 1024px) {
      .productContent .topBox .rightBox {
        padding-left: 0; } }
  .productContent .topBox .title {
    color: #6f2517;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3.2px;
    padding: 5px 10px;
    border-bottom: 1px solid #6f2517;
    margin-bottom: 20px; }
  .productContent .topBox .tagList {
    display: flex;
    flex: wrap;
    align-items: center;
    width: 100%;
    gap: 28px;
    padding-left: 10px; }
    @media (max-width: 640px) {
      .productContent .topBox .tagList {
        flex-direction: row; } }
  .productContent .topBox .tag {
    position: relative;
    font-size: 16px;
    color: #6f2517;
    letter-spacing: 1.92px;
    font-weight: 700; }
    .productContent .topBox .tag:before {
      content: "";
      position: absolute;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background-color: #56220a;
      top: 50%;
      left: -8px;
      transform: translateY(-50%); }
  .productContent .topBox .desc {
    font-size: 16px;
    color: #6f2517;
    letter-spacing: 1.92px;
    font-weight: 700;
    margin-bottom: 50px; }
  .productContent .topBox .price .label {
    font-size: 22px;
    color: #6f2517;
    font-weight: 700;
    margin-right: 10px;
    letter-spacing: 1.92px; }
  .productContent .topBox .price .amount {
    font-size: 28px;
    color: #a30d16;
    font-family: "Libre Baskerville", Noto Serif TC, sans-serif;
    font-weight: 600;
    letter-spacing: 2.24px; }

.productContent .blockTitle {
  background-color: #e2dbce;
  color: #6f2517;
  font-weight: 700;
  letter-spacing: 1.92px;
  padding: 10px 20px; }

.productContent .textEditor {
  padding: 20px; }
  @media (max-width: 640px) {
    .productContent .textEditor {
      padding: 20px 0; } }

.productContent .btnBox {
  margin-top: 85px;
  text-align: center; }
