.site-header:before {
    height: 100%;
}

.site-main {
    position: relative;
}

.banner {
    margin-bottom: 70px;
}

.banner .slick-prev,
.banner .slick-next {
    white-space: nowrap;
    text-indent: 101%;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: url('../../images/common/index/banner_arrow.png') no-repeat;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    position: absolute;
    z-index: 1;
    top: 50%;
    cursor: pointer;
    visibility: hidden;
}

.banner .slick-prev {
    background-position: 0 0;
    left: 18px;
}

.banner .slick-next {
    background-position: 100% 0;
    right: 18px;
}

.banner .slick-prev:hover {
    background-position: 0 100%;
}

.banner .slick-next:hover {
    background-position: 100% 100%;
}

.banner .slick-dots {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 5px 0 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

.banner .slick-dots li {
    display: inline-block;
    vertical-align: middle;
}

.banner .slick-dots li button {
    white-space: nowrap;
    text-indent: 101%;
    overflow: hidden;
    padding: 0;
    border: 0;
    width: 10px;
    height: 5px;
    border-radius: 20px;
    margin: 10px 5px;
    cursor: pointer;
}

.banner .slick-dots li:nth-child(odd) button {
    background: #f1f1f1;
}

.banner .slick-dots li:nth-child(even) button {
    background: #f1f1f1;
}

.banner .slick-dots li.slick-active:nth-child(n) button {
    background: #579860;
}

.sect-title {
    color: #656565;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 0px;
    letter-spacing: 0.2em;
}

.sect-title span {
    display: inline-block;
    color: #57985e;
    font-family: 'Baloo', cursive;
    font-size: 27px;
    letter-spacing: 0.1em;
    font-weight: normal;
    margin-right: 10px;
    text-transform: uppercase;
    position: relative;
}

.sect-title span:before {
    content: '';
    display: inline-block;
    background: url(../../images/common/index/titlte_icon_01.png) no-repeat;
    width: 42px;
    height: 31px;
    position: relative;
    margin-right: 10px;
    vertical-align: bottom;
}

.sect1 {
    margin-bottom: 50px;
}

.ad-link {
    display: block;
    transition: opacity 0.3s;
}

.ad-link:hover {
    opacity: 0.7;
}

.sect2 {
    margin-bottom: 60px;
}

.sect2 .ibtn.more {
    margin-top: 8px;
}

.news-sect {
    float: left;
    width: 42%;
}

.news-sect .sect-title {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.news-list {
    max-width: 1280px;
    margin: 20px auto 0;
}

.news-list .item {
    width: 50%;
    padding: 0 10px;
}

.news-list .box {
    max-width: 260px;
    margin: 0 auto 30px;
    text-align: center;
}

.news-list .pic {
    position: relative;
    max-width: 250px;
    z-index: 2;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: solid 3px #a3b211;
    transition: all .3s ease-in-out;
    overflow: hidden;
}

.news-list .pic img {
    border-radius: 50%;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.news-list .box:hover .pic {
    border-color: #fff;
}
.news-list .pic:before{
    content: '';
    display: block;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background: url(../../images/common/news/hover.png) no-repeat 50% 50%, rgba(152, 152, 152, 0.6);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    z-index: 4;
    border-radius: 50%;
    transition: all .3s ease-in-out;
    transform: scale(1.2);
}
.news-list .box:hover .pic:before{
    opacity: 1;
    transform: scale(1);
}

.news-list .pic:after {
    content: "";
    display: block;
    width: 0%;
    height: 0%;
    background: #579860;
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

.news-list .box:hover .pic:after {
    width: 100%;
    height: 100%;
}

.news-list .name {
    color: #656565;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-transition: all .2s;
    transition: all .2s;
    max-height: 42px;
}

.news-list a:hover .name {
    color: #000;
}

.news-list .date {
    display: block;
    border-width: 1px 0;
    width: 120px;
    margin: 10px auto 0;
    color: #579860;
    font-family: 'Baloo', cursive;
    letter-spacing: 0.1em;
    font-size: 15px;
    line-height: 26px;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.news-list a:hover .date {
    letter-spacing: 0.2em;
}


.about-sect {
    float: right;
    width: 57%;
}

.about-sect .sect-title span::before{
    background-image: url(../../images/common/index/title_icon_02.png);
}
.about-sect .sect-title {
    margin-bottom: 10px;
}

.about-sect .pic {
    float: left;
    width: 49%;
    margin-top: 30px;
}

.about-sect .txt {
    float: right;
    width: 49%;
}

.about-sect .btn-box {
    text-align: right;
}

.sect3 {
    padding: 5px 0 50px;
    position: relative;
    box-sizing: border-box;
    background: url(../../images/common/product_title_bg.jpg) no-repeat 50% 0,url(../../images/common/index/products_bg.jpg);
}
.sect3:before{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    box-sizing: border-box;
    background: linear-gradient(to right, #dddb6e , #a3b211,#dddb6e);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.products-sect .sect-title span::before {
    display: none;
}

.products-sect .sect-title {
    text-align: center;
    background: url(../../images/common/index/products_title_icon.png) no-repeat 50% 30px;
    box-sizing: border-box;
    padding-top: 120px;
    margin: 6px auto 5px;
}

.products-sect .sect-title span {
    display: block;
    margin: 0;
}

.products-sect .ibtn.more {
    display: block;
    margin: 50px auto 15px;
    
}


.products-list {
    margin: 0 -10px;
}

.products-list .item {
    /* width: 20%;*/
    padding: 0 10px;
}


/*
.products-list .item:nth-child(5n+1) {
    clear: left;
}
.products-list .item:nth-child(n+11) {
    display: none;
}*/

.products-list .box {
    max-width: 270px;
    margin: 20px auto 5px;
    position: relative;
}

.products-list .box.new:before {
    content: '';
    display: block;
    background: url('../../images/common/products/new_tag.png') no-repeat;
    width: 43px;
    height: 64px;
    position: absolute;
    z-index: 10;
    right: 15px;
    top: -12px;
}

.products-list .pic-box {
    position: relative;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: solid 1px rgba(152, 152, 152, 0.3);
}




.products-list .pic {
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.products-list .pic:before {
    content: '';
    display: block;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background: url(../../images/common/news/hover.png) no-repeat 50% 50%, rgba(163, 178, 17, 0.8);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    z-index: 4;
    transition: all .3s ease-in-out;
    transform: scale(1.2);
}

.products-list .box:hover .pic:before {
    opacity: 1;
    transform: scale(1);
}

.products-list .pic img {
    display: block;
    overflow: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.products-list .box:hover .pic img {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

.products-list .pic-box .ibtn.delete {
    background-image: url('../../images/common/lightbox_close.png');
    width: 40px;
    height: 40px;
    position: absolute;
    z-index: 2;
    bottom: 10px;
    right: 10px;
}

.products-list .txt {
    padding-top: 10px;
}

.products-list .name {
    color: #656565;
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 27px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-align: center;
}

.products-list .box:hover .name {
    color: #579860;
}

.products-list .offers {
    color: #d5a84b;
    font-size: 17px;
    line-height: 32px;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 37px;
    font-family: 'Baloo', cursive;
    letter-spacing: 0;
    text-align: center;
}

.products-list .offers .icon {
    background-position: 0px 0;
    background: url(../../images/common/products/cart_icon.png) no-repeat;
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
    background-size: 90% auto;
}

.products-list .offers .ic {
   
}


/******** 2.0 新增banner下方html區塊 ********/

.sect4 {
    margin-bottom: 30px;
}


/******** 2.0 新增banner下方html區塊 ********/


/******** 新增拆單系統 *****************/

.products-list .shopping_way span+span {
    margin: 0 2px;
}

.products-list .shopping_way span {
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    background: #fbab9b;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 8px;
    width: auto;
    padding: 0 6px;
    letter-spacing: 1px;
}

.products-list .shopping_way .cold {
    background: #80dc9c;
}

.products-list .shopping_way .freezing {
    background: #63c7f5;
}


/******** 新增拆單系統 *****************/

@media screen and (max-width: 1200px) {
    .news-sect,
    .about-sect {
        float: none;
        width: auto;
    }
    .news-sect {
        text-align: center;
        max-width: 800px;
        margin: 20px auto;
    }
    .about-sect {
        max-width: 900px;
        margin: 0 auto;
    }
    /*  .products-list .item {
        width: 25%;
    }
    .products-list .item:nth-child(n) {
        display: block;
    }
    .products-list .item:nth-child(5n+1) {
        clear: none;
    }
    .products-list .item:nth-child(4n+1) {
        clear: left;
    }*/
}

@media screen and (max-width: 1000px) {
    /* .products-list .item {
        width: 33.33%;
    }
    .products-list .item:nth-child(4n+1) {
        clear: none;
    }
    .products-list .item:nth-child(3n+1) {
        clear: left;
    }*/
    /***  優化 ***/
    .banner .slick-dots,
    .banner .slick-dots li {
        display: none;
    }
    .banner {
        margin-bottom: 10px;
    }
    .sect4,
    .sect1,
    .sect2 {
        margin-bottom: 10px;
    }
    .sect3 {
        margin-top: 20px;
        padding: 10px 0 10px;
    }
    .news-list .name {
        font-size: 16px;
        padding: 6px 0;
        height: 42px;
    }
    .news-list .date {
        line-height: 25px;
        margin: 2px auto 0;
    }
    .news-list .box {
        margin: 0 auto 10px;
    }
    .sect-title span {
        font-size: 24px;
    }
    .news-list {
        margin: 10px auto 0;
    }
    .about-sect .sect-title {
        margin-bottom: 8px;
    }
    .about-sect {
        float: none;
        text-align: center;
    }
    .about-sect .btn-box {
        text-align: center;
        padding: 8px 0 13px;
    }
    .products-list .box {
        margin: 20px auto 10px;
    }
    .products-sect .ibtn.more {
        margin: 10px auto 20px;
    }
    .products-list .shopping_way span {
        line-height: 22px;
        font-size: 12px;
        font-weight: normal;
        width: auto;
        padding: 0 8px;
        margin-bottom: 3px;
    }
    .products-sect .sect-title {
        margin: 2px 0 10px;
    }
    .products-list .name {
        height: 20px;
        line-height: 20px;
    }
    .products-list .offers {
        font-size: 15px;
        line-height: 15px;
        margin: 0px 0 5px;
        height: 32px;
    }
    .news-sect .sect-title {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    .banner .container:before {
        height: 16px;
        background-size: auto 100%;
    }
    .ibtn.fb-fans-page{
        margin-bottom: 5px;
    }
    .banner .slick-prev,
    .banner .slick-next {
        width: 36px;
        height: 36px;
        background-size: 72px auto;
        margin-top: -18px;
    }
    .banner .slick-prev {
        left: 2%;
    }
    .banner .slick-next {
        right: 2%;
    }
    .banner .slick-dots li button {
        width: 40px;
    }
    .about-sect .pic {
        margin-bottom: 1.8em;
    }
    /* .products-list {
        margin: 0 -7px;
    }
    .products-list .item {
        padding: 0 7px;
        width: 50%;
    }
    .products-list .item:nth-child(n+11) {
        display: none;
    }
    .products-list .item:nth-child(3n+1) {
        clear: none;
    }
    .products-list .item:nth-child(2n+1) {
        clear: left;
    }*/
    .news-list .pic {
        margin: 0 auto 2px;
    }
    .news-sect .sect-title {
        margin-bottom: 1px;
    }
    .news-sect .sect-title {
        width: 100%;
    }
    .sect-title span {
        display: block;
    }
    .about-sect .sect-title {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 550px) {
    .about-sect .pic,
    .about-sect .txt {
        float: none;
        width: auto;
    }
    .products-list .item {
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    /* .products-list .item {
        width: 100%;
*/
}

.news-list {
    margin: 10px auto 0;
}

.news-list .name {
    height: auto;
}


}

/*@media screen and (max-width: 440px) {
    .news-list .item{
        width: 100%;
    }
    .news-list .item:nth-child(n) {
        clear: none;
    }
}*/
