@charset "UTF-8";

.c-product {
    display: block;
    width: 100%;
    padding: 0 0 5px 0;
}

/****收藏鈕****/
.c-product__bt {
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
    width: 30px;
    height: 35px;
    z-index: 50;
}

.c-product__bt::before,
.c-product__bt::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity .4s ease-in-out;
}

.c-product__bt::before {
    background: url(../../images/common/icon_heart_gray.svg) center no-repeat;
    background-size: contain;
}

.c-product__bt::after {
    background: url(../../images/common/icon_heart_green.svg) center no-repeat;
    background-size: contain;
    opacity: 0;
}

.c-product__bt.active::after {
    opacity: 1;
}

/****商品圖片****/
.c-product__pic {
    display: block;
    width: 100%;
    background: #fff;
}

.c-product__pic__cover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

.c-product__pic__cover::before {
    content: '';
    position: relative;
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: url(../../images/common/icon_magnifier.svg) center no-repeat #fff;
    background-size: 40% auto;
    flex: 0 0 auto;
    overflow: hidden;
}

.c-product__pic__cover::after {
    content: 'MORE';
    position: relative;
    display: block;
    width: 100%;
    margin: 10px auto 0 auto;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    font-family: "NotoSansTC-M";
    text-align: center;
}

.c-product:hover .c-product__pic__cover {
    opacity: 1;
}

/****商品資訊****/
.c-product__content {
    display: block;
    width: 100%;
    margin: 15px 0 0 0;
}

.c-product__content__title {
    display: block;
    width: 100%;
    max-height: 3.6em;
    font-size: 16px;
    line-height: 1.8;
    color: #373332;
    text-align: justify;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.c-product__content__title::before {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    min-width: 70px;
    padding: 9px 5px 5px 5px;
    margin: 0 7.5px 0 0;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    font-family: "Rallisaguen-B";
    background: #71a74f;
    border-radius: 5px;
    text-align: center;
}

.c-product__content__title.sale::before {
    content: 'SALE';
}

.c-product__content__title.new::before {
    content: 'NEW';
}

.c-product__content__price {
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    font-size: 20px;
    line-height: .5;
    color: #0e3305;
    font-family: "Rallisaguen-B";
    margin: 10px 0 0 0;
}

.c-product__content__price__original,
.c-product__content__price__special {
    display: block;
    width: auto;
    max-width: 100%;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
    flex: 0 0 auto;
}

.c-product__content__price__original::before,
.c-product__content__price__special::before {
    content: '$';
    padding: 0 5px 0 0;
}

.c-product__content__price__special~.c-product__content__price__original {
    margin: 0 0 0 20px;
    font-size: 14px;
    line-height: 1;
    font-family: 'NotoSansTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
    text-decoration: line-through;
    opacity: .5;
}

.c-product__content__price__special~.c-product__content__price__original::before {
    content: '\00A0\00A0原價 $';
}

.c-product__content__price__special~.c-product__content__price__original::after {
    content: '\00A0\00A0';
}

/****商品連結****/
.c-product__link {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 575px) {

    /****商品資訊****/
    .c-product__content {
        margin: 10px auto 0 auto;
    }

    .c-product__content__title {
        font-size: 15px;
    }
}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}