.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: 767px) {
  .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: 1440px) {
  .main-view-brand h1::after {
    height: 80px !important;
  }
}

@media (max-width: 991px) {
  .main-view-brand h1::after {
    height: 60px !important;
  }
}

@media (max-width: 767px) {
  .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: 767px) {
  .list-con ul.list-brand {
    white-space: nowrap;
    margin-bottom: -40px;
  }
}

@media (max-width: 767px) {
  .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;
  }
}
/* 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);
}
