* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:before,
*:after {
  box-sizing: border-box;
}

a {
  display: block;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  border: 0;
}

section {
  display: block;
}

/* -----reset end----- */

body {
  font-size: 14px;
  font-family: Helvetica, Arial, "LiHei Pro", "Microsoft JhengHei", "微軟正黑體", sans-serif;
}

.build--1260 {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

.margin-top-sm {
  margin-top: 2%;
}

.margin-bottom-sm {
  margin-bottom: 2%;
}

.margin-bottom-md {
  margin-bottom: 4%;
}

.build__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* ===== animation setting start ===== */
.build__wrap.wow {
  animation: .5s bounce-in-left both;
}

@keyframes bounce-in-left {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(0);
    opacity: 1;
    }
}

/* ===== animation setting end ===== */

/* ===== card--top12-space setting start ===== */
.card--top12-space .build__item {
  border: 1px solid #EDEDED;
  transition: transform 0.16s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 19%;
  margin: .6% .25%;
  background: #eee;
  background: -webkit-linear-gradient(to right, #FFFFFF, #eee);
  background: linear-gradient(to right, #FFFFFF, #eee);
  position: relative;
}

.card--top12-space .build__item:active,
.card--top12-space .build__item:hover {
  transform: translateY(-15px);
  z-index: 3;
  transition: .3s;
}

/* ===== card--top12-space setting end ===== */
/* ===== card--top12-space item *6 setting start ===== */

.card--top12-space .build__item,
.card--top12-space .item__img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* ===== card--top12-space item *6 setting end ===== */
/* ===== item-push & button background-color setting start ===== */
.card--top12-space .item__push.bg__blue {
  background: #3000b1;
  background: -webkit-linear-gradient(to right, #1a00ea, #3000b1, #1a00ea);
  background: linear-gradient(to right, #1a00ea, #3000b1, #1a00ea);
  border-radius: 20px;
  color: #fff;
  letter-spacing: 1.5px;
}

.card--top12-space .item__push.bg__green {
  background: #3CA55C;
  background: -webkitlinear-gradient(to right, #7fc313, #3CA55C, #7fc313);
  background: linear-gradient(to right, #7fc313, #3CA55C, #7fc313);
  border-radius: 20px;
  color: #fff;
  letter-spacing: 1.5px;
}

.card--top12-space .item__push.bg__red,
.card--top12-space .bg__red {
  background: #f01400;
  background: -webkit-linear-gradient(to right, #f07219, #f01400, #f07219);
  background: linear-gradient(to right, #f07219, #f01400, #f07219);
  border-radius: 20px;
  color: #fff;
  letter-spacing: 1.5px;
}

.item__btn:hover{
  transition: .6s;
  transform: scale(1.1);
}

/* ===== item-push background-color setting end ===== */
/* ===== top30 Start  ===== */

.n-flag__wrap .flag__top {
  display: block;
}

.card--top12-space .build__item .item__name {
  font-size: 16px;
  height: 41px;
  line-height: 125%;
  margin-top: 5px;
}

.card--top12-space .build__item .item__btn {
  border-radius: 50px;
  width: 85px;
  padding: 5px 10px;
  position: absolute;
  bottom: 4px;
  right: 10px;
  text-align: center;
}

.card--top12-space .build__item .item__btn button {
  color: #fff;
  background: transparent;
  border: 0;
}

@media screen and (min-width: 769px) and (max-width: 960px) {
  .item__btn {
    display: none;
  }
}

@media screen and (max-width: 625px) {
  .item__btn {
    display: none;
  }
}

.card--top12-space .build__item {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.2);
}

.card--top12-space .build__item .item__push {
  height: 24px;
  font-size: 13px;
}

.card--top12-space .build__item .item__push span {
  max-height: 24px;
  line-height: 170%;
  letter-spacing: 0;
  color: #333;
  font-weight: 300;
}

.card--top12-space .item__push span:before,
.card--top12-space .item__push span:after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #999;
}

.card--top12-space .item__push span:before {
  top: 0;
}

.card--top12-space .item__push span:after {
  bottom: 0;
}

.card--top12-space .build__item .item__price span {
  display: inline-block;
}

/* ===== top30 End  ===== */

/* top 30 標籤 */
.item__box {
  position: relative;
}

.n-flag__wrap {
  background-color: #fe2a00;
  width: 26px;
  padding-top: 2px;
  position: relative;
  z-index: 1;
  text-align: center;
  position: absolute;
  top: 0;
  left: 5px;
  color: #fff;
}

.n-flag__wrap:before,
.n-flag__wrap:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  bottom: 0;
}

.n-flag__wrap:before {
  border-top: 0 solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 0 solid transparent;
  border-right: 26px solid #821000;
  right: 0;
  bottom: -10px;
}

.n-flag__wrap:after {
  border-top: 0 solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 26px solid #fe2a00;
  left: 0;
  bottom: -10px;
}

.card--top12-space .n-flag__wrap .flag__top {
  font-size: 12px;
}

.n-flag__wrap .num {
  font-size: 1.2em;
}

/* top 30 標籤 END */

.build__item a {
  color: #5d5d5d;
}

.item__pic {
  position: relative;
  z-index: 0;
  padding-top: 100%;
  overflow: hidden;
}

.item__img {
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  top: 0;
  left: 0;
}

.item__info {
  padding: 2%;
}

.item__push {
  width: 100%;
  height: 28px;
  text-align: center;
}

.item__push span {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  z-index: 0;
  margin: 0 3%;
  max-height: 28px;
  line-height: 200%;
  color: #cc1e05;
  font-weight: bold;
  overflow: hidden;
}

.item__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  height: 36px;
  line-height: 120%;
  font-size: 15px;
  overflow: hidden;
}

.item__price span:last-child {
  color: #cc1e05;
  font-size: 22px;
}

@media screen and (max-width: 768px) {
  .card--top12-space .build__item {
    width: 48%;
    margin: .8% .25%;
  }

  .card--top12-space .build__item .item__btn {
    width: 85px;
  }

  .card--top12-space .n-flag__wrap .flag__top,
  .card--top12-space .build__item .item__push {
    display: none;
  }

  .card--top12-space .build__item .item__name {
    font-size: 15px;
    height: 35px;
  }
}

@media screen and (max-width: 600px) {
  .card--top12-space .build__item .item__name {
    margin-top: 2px;
    margin-bottom: 0;
  }

  .card--top12-space .item__price span:last-child {
    font-size: 20px;
  }

  .card--top12-space .item__price.margin-bottom-sm {
    margin-bottom: 0;
  }
}

/* banner 表頭 */
section {
  display: block;
}

.title__wrap {
  max-width: 1260px;
  margin: .5% auto;
  padding: 0;
}

.title__wrap__img {
  margin: 0;
  height: 65px;
  border: 0;
  background: 50% 0%/auto auto no-repeat;
}

/* banner 表頭 end */
