@charset "UTF-8";
/*頁數 */
.page {
  text-align: right;
  margin: 10px 0;
  line-height: 30px;
  color: #FFFFFF;
}
.page-now, .page-all, .page-control, .page-prev, .page-next, .page-num {
  display: inline-block;
  vertical-align: middle;
}
.page-now, .page-all {
  border-right: #CCC solid 1px;
  padding-right: 10px;
  margin-right: 10px;
}
.page-next, .page-prev {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.page-prev {
  background: url("../images/prev.gif") no-repeat center;
}
.page-next {
  background: url("../images/next.gif") no-repeat center;
}
.page a {
  display: inline-block;
  width: 20px;
  height: 20px;
  text-decoration: underline;
  text-align: center;
  color: #FFFFFF;
}
.page a.active, .page a:hover {
  color: #fd7321;
}

/*list */
.list-wrap {
  margin: -1%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.list-item {
  position: relative;
  background: #FFF;
  width: 31.3333%;
  margin: 1%;
  overflow: hidden;
  cursor: pointer;
}
.list-item:hover img {
  opacity: 0.7;
}
.list-img {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}
.list img {
  position: absolute;
  width: 100%;
}
.list-text {
  position: relative;
  padding: 10px;
  line-height: 1.5;
  color: #000;
}
.list-price, .list-date {
  margin-top: 10px;
  color: #c09368;
  font-size: 12px;
}
.list-price span, .list-date span {
  margin-right: 5px;
}
.list-delete {
  text-decoration: line-through;
}
.list-sale {
  color: red;
}
.list-icon {
  background: #C09368;
  color: #FFF;
  font-size: 12px;
  position: absolute;
  right: 10px;
  top: -10px;
  line-height: 20px;
  width: 40px;
  text-align: center;
}

/*RWD setting */
@media screen and (max-width: 1100px) {
  /* set tablet */
  .content {
    margin-top: 70px;
  }

  .page {
    text-align: center;
  }
  .page-now, .page-all, .page-top {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  /* set mobile */
  .list-item {
    width: 48%;
  }
}
