/* 會員列 */
.full_menu_shop{
  display:none;
}

/* 售價 數量 購物車 隱藏 */
.price_box,
.pd_price_box,
.buy_but,
.pd_sort,
.web_share{
  display:none;
}

/* head & nav */
[box_id="7"]{
  top:-6px;
}

[box_id="7"] > .cell_v{
  width:25px;
}

/* banner */
[box_id="2"]{
  padding: 0 10px;
}

[box_id="8"] .cell_v > img{
  width: 100%;
  height: 100% !important;
}

/* news */
[box_id="9"]{
  padding: 10px;
}

[box_id="23"] .cell_v > span:first-child{
  position: relative;
  top: -5px;
}

[box_id="24"] .cell_v{
  align-items: baseline !important;
}

[box_id="24"] .cell_v table{
  line-height: 2.6em;
}

.word-overflow{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

/* product */
[box_id="10"]{
  display: flex;  
  height: 200px !important;
  margin: 20px auto;
  padding: 0 10px;
}

[box_id="11"],
[box_id="12"],
[box_id="13"],
[box_id="14"]{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23% !important;
  height: 200px !important;
  margin-right: 30px;
  padding: 0;  
  overflow: hidden;
}

[box_id="14"]{
  margin-right: 0;
}
[box_id="15"],
[box_id="17"],
[box_id="19"],
[box_id="21"]{
  height: 100% !important;  
}

[box_id="15"] .cell_v > a,
[box_id="15"] .cell_v > a > img,
[box_id="17"] .cell_v > a,
[box_id="17"] .cell_v > a > img,
[box_id="19"] .cell_v > a,
[box_id="19"] .cell_v > a > img,
[box_id="21"] .cell_v > a,
[box_id="21"] .cell_v > a > img{
  width: 100% !important;
  height: 100% !important;  
}

[box_id="15"] .cell_v > a::after,
[box_id="17"] .cell_v > a::after,
[box_id="19"] .cell_v > a::after,
[box_id="21"] .cell_v > a::after{
  content: "";
  position: absolute;
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;   
}

[box_id="16"],
[box_id="18"],
[box_id="20"],
[box_id="22"]{
  position: absolute !important;
  display: flex;
  justify-content: center; 
  opacity: 0 !important;
  visibility: hidden;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;   
}

[box_id="16"]::after,
[box_id="18"]::after,
[box_id="20"]::after,
[box_id="22"]::after{
  content: "";
  position: absolute;
  border-bottom: 1px solid #fff;
  width: 100%;
  height: 100%;
  top: -7px;
  transform: translateX(-100%);
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;   
  
}

[box_id="16"]::after,
[box_id="20"]::after{
  top: 20px;
}


[box_id="16"] .cell_v,
[box_id="18"] .cell_v,
[box_id="20"] .cell_v,
[box_id="22"] .cell_v{
  text-align: center;  
}


[box_id="16"] .cell_v > a,
[box_id="18"] .cell_v > a,
[box_id="20"] .cell_v > a,
[box_id="22"] .cell_v > a{
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  outline: none;
}


[box_id="11"]:hover [box_id="15"] > .cell_v > a::after,
[box_id="12"]:hover [box_id="17"] > .cell_v > a::after,
[box_id="13"]:hover [box_id="19"] > .cell_v > a::after, 
[box_id="14"]:hover [box_id="21"] > .cell_v > a::after{
  opacity: 1;
  visibility: visible;
}

[box_id="11"]:hover [box_id="15"] > .cell_v > a > img,
[box_id="12"]:hover [box_id="17"] > .cell_v > a > img,
[box_id="13"]:hover [box_id="19"] > .cell_v > a > img, 
[box_id="14"]:hover [box_id="21"] > .cell_v > a > img{
  filter: blur(5px);
}


[box_id="11"]:hover [box_id="16"],
[box_id="12"]:hover [box_id="18"],
[box_id="13"]:hover [box_id="20"],
[box_id="14"]:hover [box_id="22"]{
  opacity: 1 !important;
  visibility: visible;
}

[box_id="11"]:hover [box_id="16"]::after,
[box_id="12"]:hover [box_id="18"]::after,
[box_id="13"]:hover [box_id="20"]::after,
[box_id="14"]:hover [box_id="22"]::after{
  transform: translateX(0);
}

/* footer */
[box_id="3"]{
  border-top: 1px solid #ddd;
}

[box_id="3"] .cell_v{
  display: flex;
  align-items: center;
  justify-content: center !important;
  padding: 10px;
}

/* medaia query */
@media (max-width:1200px) {
  
  [box_id="7"]{
    position: fixed !important;
    width: 25px !important;
    top: 5px;
    right: 26px;
  }
  
  .main{
    padding-top: 90px;
  }
}

@media (max-width:768px) {
 
  .main{
    padding-top: 35px;
  }
  
  [box_id="10"]{
    flex-wrap:wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100% !important
  }
  [box_id="11"],
  [box_id="12"],
  [box_id="13"],
  [box_id="14"]{
    width: 49% !important;
    height: 240px !important;
    margin-right: 0;    
  }
}

/* medaia query */
@media (max-width:480px) {  
  [box_id="7"]{
    right: 5px;
  }
  [box_id="11"],
  [box_id="12"],
  [box_id="13"],
  [box_id="14"]{
    width: 100% !important;
    height: 255px !important;  
  }  

  [box_id="15"] .cell_v > a::after,
  [box_id="17"] .cell_v > a::after,
  [box_id="19"] .cell_v > a::after,
  [box_id="21"] .cell_v > a::after{
    content: "";
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 25%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    opacity: 1 !important;
    visibility: visible;  
  }
  
  [box_id="16"],
  [box_id="18"],
  [box_id="20"],
  [box_id="22"]{
    opacity: 1 !important;
    visibility: visible;  
    transform: translateX(0);
  } 
  
  [box_id="11"]:hover [box_id="15"] > .cell_v > a::after,
  [box_id="12"]:hover [box_id="17"] > .cell_v > a::after,
  [box_id="13"]:hover [box_id="19"] > .cell_v > a::after, 
  [box_id="14"]:hover [box_id="21"] > .cell_v > a::after{
    height: 100%;
  }  
}