html { 
    scroll-behavior: smooth; 
}

#wrapper {
    position: relative;
}

.imgWith100{
    width: 100%;
}

.wc25 {
    width: 25%;
    float: left;
    padding-bottom: 10px;
}
.wc100 {
    width: 100%;
}

.pd50 {
    width: 50%;
    float: left;
    padding: 0 3px;
}

/*隱鑶*/
.show_for_pc {}
.show_for_mobile { display:none !important;}
@media screen and (max-width: 991px){
    .show_for_pc { display:none !important;}
    .show_for_mobile { display: inherit !important;}
}


/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 區塊【main KV】id="edmsp_kv"
*/
#edmsp_kv img{
    width: 100%;
}

/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 區塊【商品card】class="SP-singleProd-GDItem"
*/
.SP-singleProd-GDItem{
    position: relative;
    border-radius: 5px;
    padding: 5px !important;
    background: #FFF !important;
}
.SP-singleProd-GDItem .SP-cp-sku-pdimg img{
    width: 100%;
    transition: all 0.5s;
    margin: 0px auto;
}
.SP-singleProd-GDItem .SP-cp-sku-pdimg img:hover{
    transform: scale(1.04);
}
.SP-singleProd-GDItem .SP-cp-infosku-pdtxt{
    text-align: center;
    font-size: 14px;
    padding: 0px 5px;
    background: #333;
    color: #fff;
    word-break: break-all;
    height: 2em;
    line-height: 2em;
    width: 100%;
    overflow: hidden;
}
.SP-singleProd-GDItem .SP-cp-sku-pdinfo {
    background: #fff;
}
.SP-singleProd-GDItem .SP-cp-sku-pdinfo h3 {
    text-align: center;
    color: #333;
    margin: 5px 0px;
    line-height: 1.3em;
    height: 2.5em;
    font-size:14px;
    overflow: hidden;
}
.SP-singleProd-GDItem .SP-cp-sku-pdprice {
    width: 100%;
    font-weight: 400;
    display: flex;
}
.SP-singleProd-GDItem .SP-cp-wc50 {
    width: 50%;
    float: left;
    margin-bottom: 10px;
}
.SP-singleProd-GDItem .SP-cp-sku-pdprice .SP-cp-sku-pdpriceold {
    color: #333;
}
.SP-singleProd-GDItem .SP-cp-sku-pdprice .SP-cp-sku-pdpricenew {
    text-align: right;
    color: #000;
}

.SP-singleProd-GDItem .SP-cp-sku-pdprice em {
    font-style: normal;
}


.SP-singleProd-GDItem .SP-cp-sku-pdpricenew .SP-singleProd-GDPRCNM,
.SP-singleProd-GDItem .SP-cp-sku-pdpricenew .SP-singleProd-GDPRC {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;
}
.SP-singleProd-GDItem .SP-cp-sku-pdprice .SP-cp-sku-pdpricenew span {
    font-size: 18px;
}

.PD_layout[data-pd-col-phone="2"] li { width: calc(50% - 0.5em * 0.5);}
.PD_layout[data-pd-col-phone="3"] li { width: calc(33% - 0.5em * 0.535);}
.PD_layout[data-pd-col-phone="4"] li { width: calc(25% - 0.5em * 0.75);}


/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 區塊【一帶二】id="SP-cp-sku-002"
*/
#SP-cp-sku-002 .SP-cp-sku-pdline{
    display: flex;
    justify-content: space-between; 
}
#SP-cp-sku-002 .SP-cp-sku-pdline .SP-cp-wc50{
    margin-right: 10px;
    margin-bottom: 10px;
    width: 50%;
}
#SP-cp-sku-002 .SP-cp-sku-pdline .SP-cp-wc50:last-child{
    /*margin-right: 0;*/
}

/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 區塊【一帶三】id="SP-cp-sku-003"
*/
#SP-cp-sku-003 .SP-cp-sku-pdline{
    display: flex;
    justify-content: space-between; 
}
#SP-cp-sku-003 .SP-cp-sku-pdline .SP-cp-wc33{
    margin: 0 10px 10px 0 ;
    width: 33%;
}
#SP-cp-sku-003 .SP-cp-sku-pdline .SP-cp-wc33:last-child{
    /*margin: 0;*/
}

/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 區塊【一帶四】id="SP-cp-sku-003"
*/
#SP-cp-sku-004 .SP-cp-sku-pdline{
    display: flex;
    justify-content: space-between; 
}
#SP-cp-sku-004 .SP-cp-sku-pdline .SP-cp-wc25{
    margin: 0 10px 10px 0 ;
    width: 25%;
}
/*
#SP-cp-sku-004 .SP-cp-sku-pdline .SP-cp-wc25:last-child{
    margin: 0 10px 10px 0 ;
}
*/
@media only screen and (max-width: 991px) {

    #SP-cp-sku-004 .SP-cp-sku-pdline{
        align-items: stretch;
        flex-wrap: wrap;
    }
    #SP-cp-sku-004 .SP-cp-sku-pdline .SP-cp-wc25{
        width: calc(50% - 0.5em * 0.5);
        margin: 0 0 15px 0;
    }
}
/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 區塊【一帶六】id="SP-cp-sku-003"
*/
#SP-cp-sku-0032 .SP-cp-sku-pdline{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#SP-cp-sku-0032 .SP-cp-sku-pdline .SP-cp-wc33{
    margin: 0 0 15px 0;
    width: calc(33% - 0.5em * 0.535);
}
@media only screen and (max-width: 991px) {

    #SP-cp-sku-0032 .SP-cp-sku-pdline{
        align-items: stretch;
        flex-wrap: wrap;
    }
    #SP-cp-sku-0032 .SP-cp-sku-pdline .SP-cp-wc33{
        width: calc(50% - 0.5em * 0.5);
        margin: 0 0 15px 0;
    }
}



/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 新舊版並用的CSS【之後找時間砍掉】
*/

/*收合黏人精*/
.fixed_Area.fixed_Area_hide {
    -webkit-transform: rotate3d(0, 0, 0, 0deg) translate3d(150px, 0, 0);
    transform: rotate3d(0, 0, 0, 0deg) translate3d(150px, 0, 0);
}

.fixed_Area.fixed_Area_hide h3 {
    -webkit-transform: rotate3d(0, 0, 0, 0deg) translate3d(-205px, 0, 0);
    transform: rotate3d(0, 0, 0, 0deg) translate3d(-205px, 0, 0);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

@media screen and (max-width:767px) {
    .fixed_Area,
    .fixed_Area_hide {
        display: none !important;
    }
}
/*快速導覽*/

.fixed_Area h3 {
    position: absolute;
    top: 100px;
    right: -50px;
    margin: 0;
    padding: 35px 0 0 0;
    border-radius: 10px;
    width: 45px;
    height: 82px;
    font-size: 16px;
    line-height: 30px;
    writing-mode: tb-lr;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    text-align: left;
    cursor: pointer;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.fixed_Area h3 i {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.fixed_Area h3 i:before {
    content: "";
    position: absolute;
    top: 41%;
    left: 37%;
    display: block;
    border: 1px solid #000;
    border-width: 0 1px 1px 0;
    width: 15%;
    height: 15%;
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media (min-width: 1022px) {
    footer {
        margin-top: 0 !important;
    }
}


/*---------------------------------------------------------------------------------------------------------------------*/
/*
** 待刪
*/

.SP-cp-sku-pdpriceold.SP-cp-wc50,
.SP-cp-sku-pdpricenew.SP-cp-wc50{
    margin-right: 0 !important;
}



/*
** goTop
*/
.edmLayoutPage-goTop{
    right: 10px;
    position: fixed;
    bottom: 95px;
    z-index: 1;
    cursor: pointer;
    display: none;
}
.edmLayoutPage-goTop.active{
    display: block;
}
.edmLayoutPage-goTop ul{
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px 0 hsl(0deg 0% 47% / 50%);
    color: #464e5b;
    overflow: hidden;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 48px;
    height: 48px;
    cursor: pointer;
}
.edmLayoutPage-goTop ul li{
    font-size: 13px;
}

.edmLayoutPage-goTop svg{
    height: 18px;
    width: 25px;
    overflow: hidden;
    fill: #464E5B;
    stroke: #464E5B;
    stroke-width: 0;
    vertical-align: bottom;
    display: initial;
}

