.main-view, .main-view-brand .pic {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.list-con section.area-brand h2 {
  background: url("../Content/images/bg_pattern.jpg") repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .list-con section.area-brand h2 {
    background-attachment: unset;
  }
}

.list-con h1 {
  font-family: "Rufina", sans-serif !important;
}

.main-view {
  height: 300px;
  background-attachment: fixed;
  display: flex;
      align-items: center;
      justify-content: center;
  position: relative;
  background-image: url("../Content/images/bg_pattern_mix.jpg");
  background-size: contain;
  background-repeat: repeat;
  text-align: center;
}

.main-view h1 {
  font-family: "Rufina", sans-serif, "PingFang TC", "Noto Sans TC", "LiHei Pro", "Microsoft JhengHei", "Microsoft YaHei";
  font-size: 4.8rem;
  color: #192733;
}

.main-view h1::after {
  content: '';
  display: block;
  height: 100px;
  width: 1px;
  background: #192733;
  left: 50%;
  position: absolute;
  bottom: 0px;
}

.main-view-brand {
  height: auto !important;
  padding-bottom: 0px;
  padding-top: 0px;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: unset;
  position: relative;
}

.main-view-brand .pic {
  width: 100%;
}

.main-view-brand .pic-lg {
  padding-bottom: 26%;
}

.main-view-brand .pic-sm {
  display: none;
  padding-bottom: 62.5%;
}

.main-view-brand h1 {
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
      align-items: center;
      justify-content: center;
}

.main-view-brand h1::after {
  height: 120px;
  background: #fff;
}

.main-view-search span.text-info {
  font-weight: 500;
}

@media (max-width: 1200px) {
  .main-view {
    background-attachment: unset;
  }
}

@media (max-width: 1200px) {
  .main-view-brand h1::after {
    height: 80px !important;
  }
}

@media (max-width: 992px) {
  .main-view-brand h1::after {
    height: 60px !important;
  }
}

@media (max-width: 768px) {
  .main-view {
    height: 120px;
  }
  .main-view h1 {
    font-size: 3.6rem;
  }
  .main-view h1::after {
    height: 30px;
  }
  .main-view-brand {
    height: 250px;
  }
  .main-view-brand .pic-lg {
    display: none;
  }
  .main-view-brand .pic-sm {
    display: block;
  }
  .main-view-search h1 {
    font-size: 2.4rem;
  }
}

.list-con .area {
  opacity: 1;
}

.list-con h1 {
  font-size: 2.8rem;
}

.list-con h1 + .area .count-num {
  margin-top: 15px;
}

.list-con h2 .title::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: #192733;
  margin: 25px auto 0 auto;
}

.list-con h2 + .count-num {
  margin-top: 0px;
}

.list-con .count-num {
  font-size: 1.4rem;
  text-align: right;
  font-weight: 300;
  margin: 50px 0 18px 0;
  position: relative;
  z-index: 50;
}

.list-con .count-num .sort-box {
  font-weight: bold;
}

.list-con .count-num .sort-box a {
  font-size: 14px;
  margin: 0 11px;
}

.list-con .count-num .sort-box a.active {
  font-size: 16px;
  color: #D7967D;
}

.list-con .count-num .sort-box .broduct-sort-change::after {
  content: url("../Content/images/icon/arrow_down.png");
  display: inline-block;
}

.list-con .count-num .sort-box .sort-desc.broduct-sort-change::after {
  transform: rotate(0deg);
}

.list-con .count-num .sort-box .sort-asc.broduct-sort-change::after {
  transform: rotate(180deg);
}

.list-con .count-num span {
  margin: 0 5px;
  font-weight: 500;
}

.list-con .count-num.dropdown .dropdown-toggle::before {
  content: url("../Content/images/icon/categories.png");
  display: inline-block;
  margin-right: 1rem;
}

.list-con .count-num.dropdown .dropdown-menu a {
  display: block;
  font-size: 14px;
  margin: 11px;
  white-space: nowrap;
}

.list-con .row .col-md-4:nth-child(3n+2) {
      transform: translateY(100px);
}

.list-con .func-tool {
  margin: 100px 0;
}

.list-con section.area-brand {
  opacity: 1;
      transform: translateY(0px);
  margin: 64px 0 96px 0;
}

.list-con section.area-brand h2 {
  padding: 0px;
  margin: 0px !important;
  min-height: 0px;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 80px;
  z-index: -1;
}

.list-con section.area-brand h2 .sub-title {
  color: #192733;
  opacity: 1;
  font-weight: 400;
  font-size: 4.8rem;
  position: relative;
  top: auto;
  left: auto;
}

.list-con section.area-brand .row {
  padding-top: 80px;
}

.list-con section.area-brand .row + h2 {
  height: 160px;
  padding: 0px;
}

.list-con section.area-brand .empty-status {
  padding-top: 150px;
}

.list-con section.area-brand:first-child {
  margin-top: -10px;
}

.list-con ul.list-brand {
  text-align: center;
  padding: 0px 15px;
  margin-bottom: -30px;
  overflow-y: hidden;
  overflow-x: auto;
}

.list-con ul.list-brand li {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  line-height: 30px;
  text-align: center;
}

.list-con ul.list-brand li.acitve, .list-con ul.list-brand li:hover {
  background: #d7967d;
}

.list-con ul.list-brand li.acitve a, .list-con ul.list-brand li:hover a {
  color: #fff;
  display: block;
}

.list-con ul.list-brand li.disabled {
  opacity: .3;
}

.list-con ul.list-brand li.disabled a {
  color: #192733;
  cursor: not-allowed;
  pointer-events: none;
}

.list-con ul.list-brand li.disabled:hover {
  background: none;
}

@media (max-width: 768px) {
  .list-con ul.list-brand {
    white-space: nowrap;
    margin-bottom: -40px;
  }
}

@media (max-width: 768px) {
  .list-con section.area h2 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: -50px;
    min-height: 70px;
  }
  .list-con section.area h2 .sub-title {
    font-size: 4.8rem;
    line-height: 0.8;
  }
  .list-con section.area h2 .title {
    padding-top: 10px;
  }
  .list-con section.area .row .col-md-4:nth-child(3n+2) {
        transform: translateY(0px);
  }
  .list-con section.area .func-tool {
    margin: 32px 0 50px 0;
  }
  .list-con section.area-brand {
    margin: 64px 0px;
  }
  .list-con section.area-brand .empty-status {
    padding-top: 120px;
  }
  .list-con section.area-brand .row {
    padding-top: 50px;
  }
  .list-con section.area-brand .row + h2 {
    padding: 0px;
    height: 100px;
  }
}

@-webkit-keyframes rotateDesc {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

@keyframes rotateDesc {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

@-webkit-keyframes rotateAsc {
  from {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes rotateAsc {
  from {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(0deg);
  }
}


.detail-con .pic .img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.detail-con .product-album {
  position: absolute;
  top: 20px;
  right: 60px;
  color: #333;
  z-index: 1000;
}

@media (max-width: 360px) {
  .detail-con .product-album {
    right: 50px;
    top: 10px;
  }
}
.detail-con .pic {
  background-repeat: repeat-x;
  padding-bottom: 100%;
  position: relative;
  background-image: url("../Content/images/bg_card.png");
  background-size: auto 100%;
  overflow: hidden;
}

.detail-con .pic .img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transition: ease-in-out 0.3s;
}

.detail-con .con {
  margin-bottom: 60px;
}

.detail-con .con .brand, .detail-con .con h1, .detail-con .con .gift .title {
  font-weight: 600;
}

.detail-con .con .brand {
  font-size: 1.4rem;
}

.detail-con .con h1 {
  font-size: 2.4rem;
  margin-top: 8px;
}

.detail-con .con h1 span {
  display: block;
  font-weight: bold;
  font-family: "Rufina", sans-serif;
  margin-bottom: 8px;
}

.detail-con .con .price {
  margin: 20px 0;
  font-weight: 600;
  font-size: 1.8rem;
  color: #8f482c;
}

.detail-con .con .price.line-through {
  text-decoration: line-through;
  color: #192733;
}

.detail-con .con .price.line-through span {
  color: #7D8996;
  text-decoration: line-through;
}

.detail-con .con .price.line-through span:last-child {
  color: #7D8996;
}

.detail-con .con .form-group .form-stepper {
  margin-top: 10px;
}

.detail-con .con .form-group .form-stepper .num {
      flex-grow: 1;
}

.detail-con .con .btn-primary {
  margin-bottom: 24px;
}

.detail-con .con .tip {
  margin-top: 10px;
}

.detail-con .con .gift .con .title {
  font-size: 1.8rem;
}

.detail-con .con .gift .con .text {
  margin-top: 18px;
  line-height: 1.5;
}

.detail-con .con .nav-tabs {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .detail-con .con {
    margin-top: 30px;
  }
  .detail-con .con .brand {
    font-size: 1.2rem;
  }
  .detail-con .con h1 {
    font-size: 2.2rem;
  }
  .detail-con .con .price {
    font-size: 1.6rem;
  }
  .detail-con .con .form-group {
    margin: 0 0 16px 0;
  }
  .detail-con .con .form-group .form-stepper .num {
    width: auto;
        flex-grow: 1;
  }
  .detail-con .con .gift .con {
    margin: 0px;
  }
  .detail-con .con .gift .con .title {
    font-size: 1.6rem;
  }
  .detail-con .con .gift .con .text {
    font-size: 1.4rem;
    margin-top: 8px;
  }
}

.detail-con .area {
      transform: translateY(0);
  opacity: 1;
}

.detail-con .area h2 {
  margin-bottom: 30px;
  min-height: 0px;
}

@media (max-width: 768px) {
  .detail-con .area h2 .title {
    padding-top: 20px;
  }
}

.detail-con .area-pattern {
  min-height: 350px;
}

.detail-con .area-pattern h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 16px 0px;
}

.detail-con .area-pattern p {
  line-height: 1.8;
}

@media (max-width: 768px) {
  .detail-con .area-pattern h3 {
    font-size: 1.6rem;
  }
  .detail-con .area-pattern p {
    font-size: 1.4rem;
  }
}

#modal_album .close {
  top: 20px;
}

#modal_album .modal-content {
  background: transparent;
}

#modal_album .modal-content .owl-carousel .owl-item {
  min-height: auto;
}

#modal_album .modal-content .owl-carousel .owl-item .item {
  padding: 0px;
}

#modal_album .modal-content .owl-carousel .owl-nav .owl-prev {
  left: -25px;
}

#modal_album .modal-content .owl-carousel .owl-nav .owl-next {
  right: -25px;
}

#modal_album .modal-content .owl-thumbs {
      justify-content: center;
}

#modal_album .modal-content .owl-thumbs .owl-thumb-item {
  width: 90px;
}

@media (max-width: 992px) {
  #modal_album .modal-content .modal-body {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  #modal_album .modal-content .close {
    right: 30px;
  }
  #modal_album .modal-content .owl-carousel .owl-item {
    min-height: auto;
  }
  #modal_album .modal-content .owl-carousel .owl-nav > * {
    position: absolute;
    top: calc(60% - 50px);
  }
  #modal_album .modal-content .owl-carousel .owl-nav .owl-prev {
    left: -15px;
  }
  #modal_album .modal-content .owl-carousel .owl-nav .owl-next {
    right: -15px;
  }
  #modal_album .modal-content .owl-thumbs .owl-thumb-item {
    width: 55px;
  }
}
.loading{
        background: url("./images/ani_loading.gif") top center no-repeat;
        padding-top: 40px;
        margin: 50px 0px;
        text-align: center;
}
/* 2022.12.06 聯名卡專案 - Sorting */
.sortby-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("./images/ic_angle.svg") 96% no-repeat #FAFAFA;
    border: none;
    padding: 2px 8px;
    min-width: 109px;
}

.orderby-btn {
    background-color: #FAFAFA;
    padding: 2px 8px;
    margin-inline: 2px !important;
}

.orderby-btn::after {
    content: url("./images/ic_triangle.svg");
    display: inline-block;
}

/* 2024-04-16修復標籤背景圖片分割問題 */
.orderby-btn.sort-desc::after {
    transform: rotate(0deg);
}

.orderby-btn.sort-asc::after {
    transform: rotate(180deg);
}