@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.fullimg {
  display: block;
  width: 100%;
}

.fullimgHeight {
  display: block;
  height: 100%;
  margin: auto;
}

.clear {
  clear: both;
}

input {
  background: none;
  border: 0;
  font-size: 0.9rem;
  line-height: 1.7rem;
  -webkit-appearance: none;
}
input:focus {
  outline: none;
}

@media only screen and (min-width: 1025px) {
  .for-m {
    display: none !important;
  }
}
@media only screen and (max-width: 1024px) {
  .for-pc {
    display: none !important;
  }
}
.card-container,
.card-wrapper {
  overflow: visible;
}

.content-item-info {
  height: 7rem;
}

.card-item-block {
  position: relative;
  padding: 2% 3% 3rem 3%;
  box-sizing: border-box;
  border-radius: 8px;
  height: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  border: 0 !important;
  background: #FFF;
}
.card-item-block .content-item-info {
  height: 8rem;
  overflow: hidden;
}
.card-item-block .card-logo {
  display: inline-block;
  width: 33%;
  vertical-align: top;
}
.card-item-block .card-info {
  display: inline-block;
  width: 60%;
  margin-left: 3.5%;
  vertical-align: top;
}
.card-item-block .card-info p:nth-of-type(1) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-item-block .card-info .des-hot,
.card-item-block .card-info .des-new {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  padding: 0.35rem 0.35rem 0 0;
  width: 3.75rem;
  height: 3.75rem;
  color: #FFF;
  font-size: 0.8rem;
  line-height: 1.2rem;
  box-sizing: border-box;
  background: linear-gradient(-135deg, #00ba00, #00ba00 50%, transparent 51%, transparent);
  text-align: right;
}
.card-item-block .card-info .des-hot {
  background: linear-gradient(-135deg, #ff003e, #ff003e 50%, transparent 51%, transparent);
}
.card-item-block .card-info p:nth-of-type(1) {
  font-size: 0.9rem;
  line-height: 1.7rem;
  font-weight: bold;
  transition: color 0.5s;
}
.card-item-block .card-info .price-dot {
  position: relative;
}
.card-item-block .card-info .price-dot::before {
  content: "$";
}
.card-item-block .card-info .ori-price {
  text-decoration: line-through;
}
.card-item-block .card-info .ori-price.not-sale {
  text-decoration: none;
}
.card-item-block .card-info .sale-price {
  color: #00ba00;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: bold;
  white-space: nowrap;
  white-space-font-weight: normal;
}
.card-item-block .card-info .due-date {
  font-size: 0.8rem;
  line-height: 1.2rem;
  color: #00ba00;
}
.card-item-block .card-info .due-date::before {
  content: "優惠至";
}
.card-item-block .card-tag-block {
  margin: 1rem 0 0.5rem 0;
  color: #747474;
}
.card-item-block .card-tag-block span {
  display: inline-block;
  margin-right: 3px;
  margin-top: 3px;
  border: 1px solid #747474;
  padding: 0 0.35rem;
  border-radius: 5px;
}
.card-item-block .card-company {
  color: #747474;
  font-size: 0.8rem;
  line-height: 1.2rem;
}
.card-item-block .content-item-bottom {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}
.card-item-block .content-item-bottom .card-rank {
  display: inline-block;
  visibility: hidden;
  width: 35%;
  position: relative;
  font-size: 2.25rem;
  line-height: 2.75rem;
  color: #cdcdcd;
}
.card-item-block .content-item-bottom .card-rank::after {
  display: inline-block;
  content: "";
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.25rem;
  vertical-align: middle;
  background: url("../img/icon-star.png") no-repeat center center;
  background-size: contain;
}
.card-item-block .content-item-bottom .card-date {
  position: absolute;
  display: block;
  max-width: 60%;
  right: 6%;
  bottom: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.2rem;
  color: #747474;
  text-align: right;
}
.card-item-block .content-item-bottom .card-date::before {
  content: "上架日期 ";
}
.card-item-block .content-item-bottom .card-date::after {
  position: absolute;
  content: "";
  display: block;
  width: 20%;
  height: 1px;
  left: -25%;
  top: 50%;
  background: #747474;
}
.card-item-block article {
  margin: 1rem 0;
}

.item-buy {
  width: 100%;
  background: #00ba00;
  padding: 0.5rem 0;
  text-align: center;
  margin-top: 1rem;
  color: #FFF;
  border-radius: 8px;
}
.item-buy::after {
  display: inline-block;
  content: "";
  position: relative;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.5rem;
  top: -0.1rem;
  transform: rotate(45deg);
}

.swiper-slide {
  overflow: hidden;
}

.no-swiper .swiper-slide {
  width: calc((100% - 31px) / 3);
}
.no-swiper .swiper-slide:nth-child(3n-1) {
  margin: 0 15px;
}

.content-search-none .card-item-block .content-item-info {
  height: 10rem;
}

.chooseHide .content-search-none .card-item-block .content-item-info {
  height: 12rem;
}

@media only screen and (min-width: 1025px) {
  .card-item-block:hover .card-info p:nth-of-type(1) {
    color: #00ba00;
    text-decoration: underline;
  }
}
@media only screen and (max-width: 1024px) {
  .card-item-block {
    position: relative;
    padding: 5% 5% 4rem 5%;
    border-radius: 15px;
  }
  .card-item-block .content-item-info {
    height: auto;
  }
  .card-item-block .card-logo {
    vertical-align: middle;
  }
  .card-item-block .card-info {
    margin-left: 3%;
    vertical-align: middle;
  }
  .card-item-block .card-info p:nth-of-type(1) {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
  .card-item-block .card-info p:nth-of-type(2) {
    font-size: 1rem;
    line-height: 1.75rem;
  }
  .card-item-block .card-tag-block {
    margin: 1rem 0 0 0;
    font-size: 1rem;
    line-height: 1.75rem;
  }
  .card-item-block .card-tag-block a {
    margin-right: 1.5%;
  }
  .card-item-block .card-company {
    font-size: 0.9rem;
    line-height: 1.7rem;
  }
  .card-item-block .content-item-bottom .card-date {
    font-size: 0.9rem;
    line-height: 1.7rem;
  }
  .content-search-none .card-item-block .content-item-info {
    height: auto;
  }
  .no-swiper .swiper-wrapper,
  .no-swiper .swiper-slide {
    display: block;
  }
  .no-swiper .swiper-slide {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
    padding: 5%;
  }
  .no-swiper .swiper-slide:nth-child(3n-1) {
    margin: 1.5rem 0;
  }
  .no-swiper .card-item-block .content-item-bottom {
    position: static;
    padding: 0;
    margin-top: 1rem;
  }
}
@media only screen and (max-width: 480px) {
  .content-item-info .card-logo {
    width: 40%;
  }
  .content-item-info .card-info {
    width: 55%;
  }
}

/*# sourceMappingURL=card.css.map */
