@charset "big5";

/* CSS Document */
/* ================================================
- Basic
================================================ */
body {min-width: 1200px;color: #333; font: 13px/1.6em "Century Gothic", Arial, 'Microsoft JhengHei', "蘋果儷中黑", "儷黑 Pro", "新細明體", "sans-serif";}
a {display: block; text-decoration: none;}
:focus {outline: none;}
i {font-style: normal;}
.header,.footer {text-align: center; background: #fff;}
.display_pc {display: block;}
.display_m {display: none;}
.tag_wfe {display: none;}

/* ================================================
- 商品區塊
================================================ */
/*.group_product {
    padding-bottom: 50px;
}*/
.group {position: relative; box-sizing: border-box; width: 1200px; margin: 0 auto; clear: both;}
.group::before {content: ''; width: 1200px; height: 643px; margin: auto; position: absolute; top: 45px; left: 0; z-index: -2;
background: url("../images/border.png")no-repeat center top;}
.group_7:before, .group_8:before {content: ''; width: 1200px; height: 750px; margin: auto; position: absolute; top: 45px; left: 0; z-index: -2;
background: url("../images/border2.png")no-repeat center top;}

.group_tit.tit_01,.group_tit.tit_02,.group_tit.tit_03,.group_tit.tit_04,.group_tit.tit_05,.group_tit.tit_06,.group_tit.tit_07,.group_tit.tit_08,.group_tit.tit_09,.group_tit.tit_10,.group_tit.tit_11,.group_tit.tit_12 {position: relative; text-align: center; margin: auto;}
/** 商品 **/
.pro_temp {display: none;}
.ProductList {position: relative; width: 100%; flex-shrink: 0; overflow: hidden;}
.ProductList::before {content: ' '; display: block; width: 100%; height: auto; position: absolute; top: 0; bottom: -30px; left: 0; right: 0; z-index: -2;}
.ProductList .item {font-size: 16px; border-radius: 10px;}
.ProductList .item > a {position: relative; border-radius: 10px;}
.ProductList .ProductImg {background-position: center; background-repeat: no-repeat; background-size: cover; border-radius: 10px;}
.ProductImg .tab {position: absolute; top: 0; left: 10px; z-index: 4; color: #ffffff; font-size: 18px; font-weight: bold; display: inline-block; background-color: #e04d34;    padding: 10px 20px; border-radius: 0 0 10px 10px; box-shadow: rgb(0 0 0 / 35%) 2px 2px 3px;}
.item {position: relative; z-index: 4; box-sizing: border-box; text-align: center; width: 25%; padding-left: 0.5em; padding-right: 0.5em; margin-bottom: 1em;}
.item > a {display: block; background: #fff; -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.45); -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.45);    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.45); -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; -webkit-transition-duration: 0.1s; transition-duration: 0.1s;overflow: hidden;}
.item > a:hover,.item > a:focus,.item > a:active {transform: translateY(-5px);}
.item .ProductImg {position: relative; box-sizing: border-box; width: calc(100% - 20px); margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; overflow: hidden;}
.item .ProductImg img {width: 100%; height: 100%; object-fit: cover;}
.item .ProductDesc {color: #fff; font-weight: bold; font-size: 14px; line-height: 36px; background: linear-gradient(90deg, #30c2b5 0%, #306eb7 100%); width: 90%; height: 36px;    padding: 0 5px; margin: 2px auto; border-radius: 50px; overflow: hidden;}
.item .ProductName {color: #000; font-size: 15px; line-height: 20px; text-align: center; height: 40px; padding: 4px 5px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;}
.item .ProducPrice,.item .Event_Condition { position: relative; height: 48px; color: #f00; line-height: 1.2em; margin-top: 3px;}
.item .ProducPrice label {cursor: pointer;}
.item .ProducPrice i em span {font-size: 13px;}
.item .ProducPrice i {display: flex; flex-direction: column-reverse;}
.item .ProducPrice span,.item .Event_Condition i span {margin: 0 2px; font-weight: 500; font-size: 33px;}
.item .ProducPrice i em {color: #747474; font-style: normal; font-size: 13px;}

/* ================================================
- 頁籤效果
================================================ */
.tab-content {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.tab-wrapper {
    /*width: 95%;*/
    margin: auto;
    text-align: center;
    position: relative;
}

.tab-wrapper > input {
    margin: 0;
    padding: 0;
    position: absolute;
    opacity: 0;
}

.tab-wrapper > input + label {
    transition: all 0.3s;
    cursor: pointer;
}

.tab-wrapper #tab-1 {}

.tab-wrapper > input + label:hover,
.tab-wrapper > input:checked + label {}

.tab-content-wrap {
    margin: 0px auto;
    text-align: left;
    color: white;
    font-size: 13px;
    line-height: 20px;
    position: relative;
    min-height: 500px;
}

.tab-wrapper > input + label :hover{
    transform: scale(0.95);
    filter: brightness(120%);
}

.tab-wrapper > input + label p {
    display: flex;
    align-items: center;
}


/*其他tab不見*/
.tab-content-wrap > .tab-content {
    opacity: 0;
    display: none;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 20px;
    visibility: hidden;
    transition: all 0.3s;
    position: absolute;
}

#tab-1:checked ~ .tab-content-wrap #group_1,
#tab-2:checked ~ .tab-content-wrap #group_2,
#tab-3:checked ~ .tab-content-wrap #group_3,
#tab-4:checked ~ .tab-content-wrap #group_4 {
    position: relative;
    width: 90%;
    margin: 0 auto;
    opacity: 1;
    display: flex;
    visibility: visible;
    pointer-events: auto;
    height: auto;
}


/* ================================================
- 至適應
================================================ */
@media screen and (max-width: 1024px) {
    body {width: 100vw; min-width: inherit;}
    * {box-sizing: border-box;}
    .ProductList {min-height: auto;}
    .group_product {padding-top: 30px;}
    .tab-wrapper {text-align: center; border-radius: 15px; box-shadow: inset 0 0 0 2px #08cadb; background-color: #004249;}
    .group {width: 100vw;/*background: url(../images/flash_tit_bg.png) no-repeat center top ;*/background-size: 100%; padding-bottom: 20px;}  
    .group::before {width: 100vw; height: auto;background: none;}
    .item .ProductImg {margin: 10px auto;}
    .item .ProductDesc {width: 96%;}
    .item .ProductName {font-size: 14px; line-height: 18px;}
    .item .ProducPrice .prePrice span, .item .Event_Condition i span {line-height: 25px; font-size: 25px; font-weight: bold;}
    
@media screen and (max-width: 768px) {
    .display_pc {
        display: none;
    }

    .display_m {
        display: block;
    }

    .item > a:hover,
    .item > a:focus,
    .item > a:active {
        transform: translateY(0);
    }

    .ProductList .item,
    .item {
        box-sizing: border-box;
        width: 50% !important;
        min-width: initial;
        padding-left: 0.3em;
        padding-right: 0.3em;
        margin-top: 0.3em;
        margin-bottom: 0.3em;
    }
    #tab-1:checked ~ .tab-content-wrap #group_1,
    #tab-2:checked ~ .tab-content-wrap #group_2,
    #tab-3:checked ~ .tab-content-wrap #group_3,
    #tab-4:checked ~ .tab-content-wrap #group_4{
        width: 96vw;
        padding: 0 3vw 3vw;
    }
    .tab-content-wrap{min-height: auto;}
    .tab-wrapper{width: 96vw;}
    .tab-wrapper > input + label img {width: 49%;}

    .group_tit.tit_01,group_tit.tit_02,group_tit.tit_03,group_tit.tit_04,group_tit.tit_05,group_tit.tit_06,group_tit.tit_07,group_tit.tit_08,group_tit.tit_09,group_tit.tit_10,group_tit.tit_11,group_tit.tit_12 {
        width: 100vw;
        margin: auto;
    }

    .group_tit.tit_01 img,.group_tit.tit_02 img,.group_tit.tit_03 img,.group_tit.tit_04 img,.group_tit.tit_05 img,.group_tit.tit_06 img,.group_tit.tit_07 img,.group_tit.tit_08 img,.group_tit.tit_09 img,.group_tit.tit_10 img,.group_tit.tit_11 img,.group_tit.tit_12 img {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .group_tit a span {
        background-size: 100%;
        width: 17vw;
        height: 8.5vw;
        margin-left: 5px;
    }

    .tab-wrapper > input + label {}

    .tab-wrapper > input + label a span {
        background-size: 100%;
        width: 82px;
        height: 42px;
        margin-left: 10px;
    }

    /*.tab-wrapper.no-more > input + label {
        margin: 1px;
        line-height: 1.5em;
        font-size: 1.3em;
        padding: 0.5em 1em;
    }*/

    /*.tab-wrapper {
		width: 100%;
		padding: 5px 0 10px 0;
	}*/

    .tab-content-wrap > .tab-content {
        padding: 0 10px;
    }
    .group::after {
        top: 40px;
    }
}

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

@media screen and (max-width: 320px) {
    .group_tit {
        font-size: 26px;
        line-height: 22vw;
        height: 20vw;
    }

    .tab-wrapper > input + label {
        font-size: 1em;
    }

    .tab-content,
    .group-list {
        padding-left: 0.2em;
        padding-right: 0.2em;
    }

    .ProductList .item,
    .item {
        padding-left: 0.2em;
        padding-right: 0.2em;
    }

    .item .ProducPrice i em span,
    .item .ProducLimited i em span {
        font-size: 11px;
        margin-right: 0;
    }

    .item .ProducPrice .price_txt,
    .item .ProducLimited .price_txt {
        font-size: 13px;
    }

    .item .ProducPrice .prePrice,
    .item .ProducLimited .prePrice {
        font-size: 12px;
    }
}
