@charset "big5";
/* CSS Document */
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 {position: relative; box-sizing: border-box; max-width: 1208px; width: 100%; margin: 0 auto;clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
 }
.group::before {
    content: '';
    width: 1200px;
    height: 676px;
    position: absolute;
    top: 165px;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -2;
	background: url(../images/stage.png)no-repeat center top;}
.tit_01 {position: relative;
    text-align: center;
    width: 1200px;
    margin: auto;}
.group_tit_clock {position: absolute; top: 0; left: 6px; z-index: 1;}
.group_sale {padding-bottom: 82px; }

.mask{ position: absolute; top:0; bottom:0; left: 0; right: 0; margin: auto; display: flex; align-items: center; justify-content: center;}
.flash_mask_text{ background-color:brown; font-size: 20px; font-weight: bold;	color: #fff; width: 220px; height: 60px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
	position: fixed; top:0;	bottom:0; left: 0; right: 0; margin: auto; z-index: 999;}

/** 商品 **/
.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(135deg, #f3e2c7 0%, #c19e67 50%, #b68d4c 51%, #e9d4b3 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 {padding: 0px 2px 5px; color: #f00; height: 55px; display: flex; justify-content: center;
align-items: center;}
.item .ProducLimited {padding-top: 10px;}
.item .Event_Condition {white-space: nowrap;}
.item .ProducPrice label {cursor: pointer;}
.item .ProducPrice i {display: flex;  flex-direction: column-reverse;}
.item .ProducPrice .prePrice span, .item .Event_Condition i span {font-size: 33px; line-height: 37px;}
.item .Event_Condition i span {margin: 0 2px 0 2px;}
.item .ProducPrice i em {color: #747474; font-size: 12px; line-height: 1; font-style: normal; margin-right: 5px; margin-top: 3px}
.item .ProducPrice i em span { font-weight: 500; }
.item .ProducPrice .prePrice {box-sizing: border-box;display: inline-block;}


.tab-wrapper .mask{ position: absolute; top:0; bottom:0; left: 0; right: 0; margin: auto; display: flex; align-items: center; justify-content: center; background-color: rgba(0,0,0,0.6); border-radius: 30px; font-size: 35px; font-weight: bold; border:3px #fff solid; z-index: 999; color: antiquewhite;}

/* ================================================
- 頁籤效果
================================================ */
.tab-content {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 20px;
}
.tab-wrapper {
    width: 90%; margin: auto;
    padding: 0px 0;
    text-align: center;
    position: relative;}
.tab-wrapper > input {
    margin: 0;
    padding: 0;
    position: absolute;
    opacity: 0;}
.tab-wrapper > input + label {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    background: #d5a765;
    margin: 10px 10px;
    padding: 0.6em 1.3em;
    border: none;
    border-radius: 3em;
    position: relative;
    z-index: 6;
    transition: all 0.3s;
    cursor: pointer;}
.tab-wrapper p span {
    font-size: 0.7em;
}
.tab-wrapper > input + label:hover,.tab-wrapper > input:checked + label {
    background: linear-gradient(40deg, #935400 0%, #ce9e57 50%, #5f3600 100%);
    box-shadow: inset 0 -3px 0 #ffd38e;}
.tab-content-wrap {
    margin: 0px auto;
    text-align: left;
    color: white;
    font-size: 13px;
    line-height: 20px;
    position: relative;
    min-height: 420px;}

/*其他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; opacity: 1;display: flex; visibility: visible; pointer-events: auto;height: auto;}
/**#tab-1:checked ~ .ProductList .mask{
    display: none;
}**/

/* ================================================
- Loading
================================================ */
.loading_container {
    background: url("//www.payeasy.com.tw/privilege/Pmarket/images/loading-white.gif") no-repeat center;
    background-color: #282828;
    background-size: 120px;
    border-radius: 20px;
    position: absolute;
    top: 70px; bottom: 0;
    left: 5px; right: 5px;
    z-index: 99;}

/*已搶購完畢*/
#item_1:before, #item_2:before, #item_3:before, #item_4:before,
#item_5:before, #item_6:before, #item_7:before, #item_8:before,
#item_9:before, #item_10:before, #item_11:before, #item_12:before,
#item_13:before, #item_14:before, #item_15:before, #item_16:before {
    content: ''; position: absolute; top: -5px; left: 0; right: 0; margin: auto; width: 260px; height: 390px; z-index: 1; pointer-events: none;}


/* ================================================
- 至適應
================================================ */
@media screen and (max-width: 1024px) {
body {width: 100vw; min-width: inherit;}
* {box-sizing: border-box;}	
.ProductList {min-height: auto;}
.group {width: 100vw;}
.item .ProductImg {margin: 10px auto;}
.item .ProductDesc {width: 96%;}
.item .ProductName {font-size: 14px; line-height: 18px;}
.item .ProducPrice, .item .Event_Condition {padding: 5px 2px; }
.item .ProducPrice .prePrice span, .item .Event_Condition i span {line-height: 25px; font-size: 25px; font-weight: bold;}	
	
.group::before {width: 106vw; background-size: 100%; left: -3vw;}
.tab-wrapper > input + label {font-size: 2em;}
#item_1:before, #item_2:before, #item_3:before, #item_4:before,
#item_5:before, #item_6:before, #item_7:before, #item_8:before,
#item_9:before, #item_10:before, #item_11:before, #item_12:before,
#item_13:before, #item_14:before, #item_15:before, #item_16:before {
	top: 0; left: 0; background-size: 100% !important; width: 100%; height: 100%;}
}

@media screen and (max-width: 768px) {	
.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-wrapper > input + label {
    font-size: 2em;
    padding: 0.6em 1em;
    margin: 10px 5px;}
	
.group::before {
    content: '';
    width: 100vw;
    height: auto;
    top: 8vw;
    left: 0;
    bottom: -30px;
    background: linear-gradient(to top, #5b0006 0%, #9d000a 100%);
    background-size: 100vw;
    border-radius: 20px 20px 0 0;
    border-bottom: 25px solid #b40b1a;}
	
.tit_01 {width: 100vw; margin: auto;}
.tit_01 img {width: 100%;}
img.group_tit_clock {width: 17vw;}	
	
#item_1:before, #item_2:before, #item_3:before, #item_4:before,
#item_5:before, #item_6:before, #item_7:before, #item_8:before,
#item_9:before, #item_10:before, #item_11:before, #item_12:before,
#item_13:before, #item_14:before, #item_15:before, #item_16:before {
	background-size: 120% !important;}	

.tab-wrapper .mask{font-size: 24px;}   
    
}

@media screen and (max-width: 576px) {
.tab-wrapper > input + label {
    font-size: 1.2em;
    margin: 1px;
    padding: 0.5em 1em;
}
.tab-wrapper {width: 100%; padding: 5px 0 10px 0;}	
.tab-content-wrap > .tab-content {padding: 10px;}

}

@media screen and (max-width: 375px) {
.tab-wrapper > input + label {
    font-size: 1em;
    margin: 1px;
    padding: 0.5em 0.5em;
    border-radius: 1.5em;
}
.tab-wrapper p span {font-size: 0.5em;}

}

@media screen and (max-width: 320px) {
.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;}
}