@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:'';
	position: absolute;
	top: 183px;
	bottom: 0;
	left: 0px;
	right: 0;
	margin: auto;
    background-image: linear-gradient(to right, #a0000d 0%, #b2010f 50%, #a0000d 100%);
    border-radius: 0 0 25px 25px;
    width: 1100px;
    /**height: 1150px !important;**/
	z-index: -1;
}
.tit_brand {position: relative;
    text-align: center;
    width: 1200px;
    margin: auto;
}
.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; height: 60px; color: #f00;}
.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 {}
.item .ProducPrice .prePrice {box-sizing: border-box;display: inline-block;}


/**title***/
.tit {
  margin: auto;
}
.group .tit{
  display: block!important;
  width: 1000px;
  height: 410px;
  margin: 0 auto;
  color: #fff;
  cursor: pointer;
  position: relative;
  margin: 25px auto 15px;
}

.group .tit a{
  transition: linear .2s;  
}

@media(hover:hover) {
.group .tit a:hover, .group .tit a:focus, .group .tit a:active {
  transform: scale(.98);
  filter: brightness(110%);
}
}

/* ================================================
- 頁籤效果
================================================ */
.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.1em;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    background: #d5a765;
    margin: 8px 8px;
    padding: 0.5em 0.35em 1em;
    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;}

/**品牌logo**/
.tab-wrapper .logo{
  margin-bottom: 15px;  
}

/**more**/
.tab-wrapper > input + label a span {display: block; background: url(../images/more.png) no-repeat center top; width: 121px; height: 50px; transition: .3s ease-in-out; position: absolute; left: 55px; margin-top: 12px;}
.tab-wrapper > input + label a:hover span {transform: scale(0.95); filter: brightness(120%);}

/* ================================================
- 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: 100vw; height: auto; }
.tab-wrapper > input + label {font-size: 1.5em; width: 23vw;}
#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: 1.2em;
    padding: 0.5em 0.3em;
    margin: 10px 5px;
    width: 20vw;
}
	
.group::before {
    width: 98vw;
    /**height: 183vw !important;**/
    top: 16vw;
}
	
.tit_brand {width: 100vw; margin: auto;}
.tit_brand img {width: 100%;}
.group_sale {padding-bottom: 40px; }

/**title***/
.group .tit{
  width: 100vw;
  height: auto;
  margin: 25px auto 8px;
}
    
.group .tit img{
  width: 100%
} 
    
 /**品牌logo**/
.tab-wrapper .logo{
  margin-bottom: 5px;  
}
    
.tab-wrapper .logo img{
  width: 100%;
}

/**more**/
.tab-wrapper > input + label a span{
   background-size: 100%;
   width: 80px;
   height: 42px;    
   left: 4vw; 
   margin-top: 0px;
} 
	
#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;}	

}

@media screen and (max-width: 576px) {
.tab-wrapper > input + label {
    font-size: 1.2em;
    margin: 1px;
    padding: 0.5em 0.3em;
    width: 23vw;
}
.tab-wrapper {width: 100%; padding: 5px 0 10px 0;}	
.tab-content-wrap > .tab-content {padding: 10px;}
    
/**more**/
.tab-wrapper > input + label a span{
   left: 1.2vw; 
}
    
.group::before {
    width: 98vw;
    /**height: 233vw !important;**/
    top: 12vw;
}    

}

@media screen and (max-width: 375px) {
.tab-wrapper > input + label {
    font-size: 1.1em;
}
.tab-wrapper p span {font-size: 0.5em;}
    
/**more**/
.tab-wrapper > input + label a span{
   left: 0.4vw; 
}     

.group::before {
    width: 98vw;
    /**height: 237vw !important;**/
    top: 12vw;
} 

}

@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;}
}