main .products:nth-of-type(odd) {
    background: #f5f5f5;
}

/*slider danh mục sản phâm*/
#category-products .box .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}

#category-products .box .intro {
    margin-top: 0.3rem;
}

#category-products .box .item img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

#category-products .slick-next {
    right: 8px !important;
}

#category-products .slick-prev {
    left: 8px !important;
}

.list .slick-prev {
    left: 8px;
    z-index: 100;
}

.list .slick-next {
    right: 8px;
    z-index: 100;
}
/*end slider danh mục sản phâm*/

.layouts .list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    /*flex-flow: row wrap;*/
}

.layouts .list:after {
    content: "";
    flex-basis: 18.5%;
}

.layouts .list .item {
    flex-basis: 18.5%;
    background: var(--gray);
    box-shadow: rgba(0, 0, 0, 0.133) 0 3.2px 7.2px 0, rgba(0, 0, 0, 0.11) 0 0.6px 1.8px 0;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.layouts .list .item-last {
    margin-bottom: 0;
}

/*.products .item {*/
    /*margin: 0 0.8rem;*/
/*}*/

#news .list:after {
    content: '';
    flex-basis: 18.5%;
}

.layouts .list .item:last-child {
    border: none;
}

.layouts .list .item .img {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.layouts .list .item .img img {
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    height: 18rem;
}

.layouts .list .item:hover .img img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.layouts .list .item:hover h3 {
    color: var(--yellow);
}

.layouts .list .item h3 {
    padding: 15px 10px 5px 10px;
    min-height: 90px;
    font-size: 1.8rem;
    line-height: 2.6rem;
    text-transform: capitalize;
}

.detail {
    display: inline-block;
    font-family: 'mySourceSansProSemiBoldFont', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    border-top: 1px solid var(--gray);
    background: var(--gray);
    padding: 1rem;
}

.price {
    display: inline-block;
    font-family: 'mySourceSansProSemiBoldFont', sans-serif;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    border: 1px solid #dedede;
    border-radius: 20px;
    margin: 0 0 1.5rem 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--btn);
}

.discount {
    font-size: 1.4rem;
    color: var(--discount);
    margin-left: 0.5rem;
}

.number-discount {
    color: var(--yellow);
    position: absolute;
    top: -18px;
	right: -10px;
    margin-left: 0.3rem;
    font-size: 1.2rem;
    background-color: var(--bgDiscount);
    padding: 0 0.2rem;
    border-radius: 30%;
}

.stars {
    padding-bottom: 1rem;
}

.stars .number-reviews {
    margin-left: 0.5rem;
    color: var(--discount);
}

.btn-view {
    text-align: center;
    padding-bottom: 1.5rem;
}

.btn-view a {
    width: auto;
    background: var(--btn);
    font-weight: bold;
    color: var(--white);
    padding: 0.6rem 6rem;
    border-radius: 3rem;
}

.btn-view a:hover {
    background: var(--btnHover);
}

.products-last .container {
    padding: 3rem 1.5rem 0;
}

/*Về chúng tôi*/
.about {
    position: relative;
    background-image: url(/templates/images/about-us.jpg);
    background-size: cover;
    background-position: center;
    margin-top: 1.5rem;
}

.about .box-container {
    background: rgba(0, 0, 0, .5);
}

.about .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
}

.about .box .item {
    flex-basis: 48%;
}

.about .box .img img {
    object-fit: cover;
    height: 400px;
}

.about .intro h2 {
    text-align: center;
    color: #fff;
}

.about .intro p {
    text-align: justify;
    color: #fff;
}

#btn-view-about {
    text-align: center;
    margin-top: 15px;
}

#btn-view-about a {
    width: auto;
    background: var(--btn);
    font-weight: bold;
    color: var(--white);
    padding: 0.6rem 6rem;
    border-radius: 3rem;
}

#btn-view-about a:hover {
    background: var(--btnHover);
}

/*Đối tác*/

.partner {
    padding-bottom: 40px;
    background: #f8f8f8;
}

.partner .box {
    padding: 0 10px 10px !important;
    position: relative;
    text-align: center;
    outline: none !important;
    cursor: grab;
}

.partner .box .item {
    display: inline-block;
    border: 1px solid #ccc;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px 3px #e0e0e0;
    background: #fff;
}

.partner .box .item img {
    height: 99px;
    object-fit: contain;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.lazy-partner {
    width: 95%;
    margin: auto;
}

.lazy-partner .slick-prev:before, .lazy-partner .slick-next:before {
    font-size: 30px !important;
}

.lazy-partner .slick-prev:before, .lazy-partner .slick-next:before {
    color: #999999 !important;
}

.lazy-partner .slick-list {
    margin-left: 5px;
}

/*tin tức mới nhất*/

#news .container {
    padding-bottom: 3rem;
}

#news .list .item:hover img {
    -webkit-transform: scale(1);
    transform: scale(1);
}

#news .list .item:hover h3 {
    color: var(--yellow);
}

#news .list .item h3 {
    padding: 15px 10px 10px;
    text-align: left;
}

#news .list .item h3:hover {
    color: var(--yellow);
}

#news .list .item img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

#news .list .item .description {
    text-align: justify;
    cursor: auto;
    padding: 0 10px 15px;
}

.info-pr {
    text-align: center;
    padding: 1.5rem 1rem;
}

.info-pr .title-product {
    min-height: auto !important;
    padding: 0 !important;
    margin-bottom: 1rem;
}

/*khối ảnh danh mục*/
.category-box ul {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
}

.category-box ul li {
    flex-basis: 24%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.category-box ul li img {
    height: 300px;
    border-radius: 4px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.category-box ul li img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.category-box ul li span {
    text-transform: capitalize;
    font-size: 2.4rem;
    color: var(--white);
    text-align: center;
    /*display: block;*/
    width: 100%;
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

/*end khối ảnh danh mục*/

@media only screen and (max-width: 1250px) {
    .slick-initialized .slick-slide {
        display: inline-flex !important;
    }

    #banner .box .item img {
        height: 400px;
    }

    #banner .box .item .intro p {
        font-size: 41px;
    }

    .layouts .list .item h3 {
        padding: 10px;
        min-height: 65px;
    }

    .number-discount {
        position: static;
    }

    .price {
        min-height: 55px;
        padding-bottom: 0;
    }

    .price del {
        display: block;
        margin-top: 0.5rem;
    }

    .category-products .title-product {
        padding-bottom: 3rem;
    }
}

@media only screen and (max-width: 1024px) {
    .layouts .list .item .img img {
        height: 15rem;
    }

    .about .box .img img {
        height: 320px;
    }

    .partner .box .item img {
        height: 70px;
    }
}

@media only screen and (max-width: 991px) {
    .container h3 {
        min-height: 76px;
    }

    .lazy-partner {
        width: 100%;
    }

    .lazy-partner .slick-list {
        margin-left: 0;
    }

    #news h3 {
        min-height: auto;
    }
}

@media only screen and (max-width: 768px) {
    .layouts .list .item .img img {
        height: 18rem;
    }

    #banner .box .item .intro {
        top: 40%;
    }

    #banner .box .item .intro p {
        font-size: 30px;
        line-height: 50px;
    }

    .layouts .list .item {
        flex-basis: 48.5%;
    }

    .about .box {
        align-items: flex-start;
    }

    .about .box .img img {
        height: 250px;
    }

    .partner .box .item img {
        height: 50px;
    }

    .partner .lazy-partner .slick-dots li button:before {
        font-size: 8px !important;
    }

    .partner .slick-dots li {
        width: 15px !important;
        height: 15px !important;
    }

    .partner {
        padding-bottom: 35px;
    }

    .slick-dots {
        bottom: -20px !important;
    }

    .partner .slick-dots li {
        margin: 0 3px !important;
    }

    #contact .box-contact input {
        padding-left: 10px;
    }

    #contact .box-contact textarea {
        padding: 10px;
    }

    .container h3 {
        min-height: auto;
    }

    #news .list li.item:last-child {
        display: none;
    }
}

@media only screen and (max-width: 650px) {
    .container h3 {
        min-height: 76px;
    }

    .about .box {
        flex-wrap: wrap;
    }

    .about .box .item {
        flex-basis: 100%;
    }

    .about .title {
        display: none;
    }

    .about .box .img {
        display: none;
    }

    .about .intro {
        margin-top: 20px;
    }

    .about .intro h2 {
        margin-bottom: 15px;
    }

    #news h3 {
        min-height: 26px;
    }

    .layouts .list .item h3 {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
}

@media only screen and (max-width: 576px) {
    #banner .box .item img {
        height: 200px;
    }

    #banner .box .item .intro p {
        font-size: 22px;
        line-height: 40px;
    }

    #banner .slick-dots li button:before {
        font-size: 8px !important;
    }

    #banner .slick-dots {
        bottom: 5px !important;
    }

    .layouts .list .item .img img {
        height: 180px;
    }

    .container h3 {
        min-height: 64px;
    }

    #news .list .item .description {
        display: none;
    }

    #category-products .box .item img {
        width: 60px;
        height: 60px;
    }

    .btn-view a {
        margin-top: 0.5rem;
        padding: 0.6rem 4rem;
    }

    .products-last .container {
        padding: 2rem 1rem 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    #banner .box .item img {
        height: 160px;
    }

    .layouts .list .item .img img {
        height: 150px;
    }

    .layouts .list .item h3 {
        padding: 5px;
        min-height: 54px;
    }

    #banner .box .item .intro p {
        font-size: 17px;
        line-height: 30px;
    }

    .about .intro {
        margin-top: 15px;
    }

    .about .intro h2 {
        margin-bottom: 10px;
    }

    .about .box {
        padding-bottom: 15px;
    }

    .partner .box .item img {
        height: 65px;
    }

    .partner .box .item {
        padding: 10px;
    }

    #news .list .item h3 {
        padding: 5px;
    }

    .stars .fa-star, .stars .checked {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 420px) {
    #banner .box .item .intro p {
        font-size: 16px;
    }

    #products .container h3 {
        min-height: 60px;
    }

    .partner .box .item img {
        height: 80px;
    }

    .about .box .img img {
        height: 200px;
    }
}

@media only screen and (max-width: 375px) {
    .partner .box .item img {
        height: 68px;
    }
}

@media only screen and (max-width: 320px) {
    #banner .box .item .intro p {
        font-size: 15px;
        line-height: 28px;
    }

    .partner .box .item img {
        height: 60px;
    }

    .layouts .list .item {
        flex-basis: 100%;
    }

    .layouts .list .item .img img {
        height: 150px;
    }

    .layouts .list .item h3, #products .container h3 {
        min-height: auto;
    }

    .price {
        margin-top: 5px;
    }

}





