/*
===============================
    GLOBAL LAYOUT
===============================
*/

.mes-content {
    max-width: calc(100vw - 8rem) !important;
    max-width: -webkit-calc(100vw - 8rem) !important;
    max-height: calc(100vh - 8rem) !important;
    max-height: -webkit-calc(100vh - 8rem) !important;
    margin: 4rem !important;
}

.mes-close {
    width: 4rem !important;
    height: 4rem !important;
}

.mes-close:before,
.mes-close:after {
    width: 30% !important;
}

#box-search .mes-content {
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin: 0 !important;
}

/*
--------------------------------
    Header
--------------------------------
*/
#wrap>header {padding: 0 3rem}



/*
--------------------------------
    Main
--------------------------------
*/
main {
    padding: 8rem 3rem 4rem 3rem;
}


/*
--------------------------------
    Home
--------------------------------
*/
#home .banner {
    width: 100%;
    height: 75vw;
}

#home .banner>div {
    bottom: 2rem;
}


#home .banner a[data-id=banner-1] div {bottom: 2rem}

#home .banner a[data-id=banner-1] div span:nth-child(2) {
    font-size: 2em;
}

/*
--------------------------------
    Footer
--------------------------------
*/
footer {
    padding: 6rem 3rem 14rem 3rem;
}


/*
--------------------------------
    Elements
--------------------------------
*/
#contact,
#cart section {
    width: calc(100vw - 10rem) !important;
    width: -webkit-calc(100vw - 10rem) !important;
}


#call-desktop {display: none}

#call-mobile {
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 7rem;
    margin: auto;
    z-index: 9;
    display: flex;
    justify-content: space-between;
}
#call-mobile > a {
    height: 5rem;
    line-height: 5rem;
    padding: 0 2em;
    background: #ffb54c;
    border-radius: 3rem;
    color: #fff;
    letter-spacing: .1em;
    display: flex;
    align-items: center;
}
#call-mobile > .call:before {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    background: url('image/icon-call-white.png') center no-repeat;
    background-size: contain;
    margin-right: .5em;
}
#call-mobile > .zalo {
    background-image: url('image/icon-sms-white.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60% auto;
}

/*#call-mobile:before {
    width: 25rem;
    height: 5rem;
    border-radius: 2.5rem;
    border: solid .1rem #ffb54c;
    box-sizing: border-box;
    position: absolute;
    top: -.5rem;
    left: -.5rem;
    z-index: -1;
    box-shadow: 0 0 2rem rgba(0,0,0,.3);
}

#call-mobile a {
    width: 100%;
    height: 100%;
    float: left;
    font-size: 2rem;
    font-family: lato-e;
    line-height: 4rem;
    color: #fff;
    position: relative;
}

#call-mobile a:before,
#call-mobile a:after {
    width: 5rem;
    height: 4rem;
    position: absolute;
    top: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 40%;
}

#call-mobile a:before {
    left: 0;
    background-image: url('image/icon-call-white.png');
}
#call-mobile a:after {
    right: 0;
    background-image: url('image/icon-sms-white.png');
}*/


.s-product a:hover [class*=cover] label,
.s-product a:hover [class*=cover]:before {display: none}


/*
===============================
OBJECT
===============================
*/
/*
--------------------------------
    Home
--------------------------------
*/
#home .product .nav label {
    margin: 0 2rem;
    font-size: 1.8rem;
}


#home .news .s-title {
    font-size: 2.5rem;
}



/*
--------------------------------
    Product detail
--------------------------------
*/
#product-detail .info h1 {
    font-size: 2rem;
}

#product-detail .content>label {
    padding: 0 2rem;
    font-size: 2rem;
}

#product-detail .content > div {
    padding: 0;
}



/*
................................
    Contact
................................
*/

#contact {
    width: 100%;
}


#article-detail .nav div h1 {
    font-size: 2.5em;
}
