#page-home {
    /* background-image: url(../images/bg-body.jpg); */
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f8f8f8;
    padding: 24px 0;
}

.product-categories {
    padding: 24px 25px;
    background-color: var(--third-color);
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-categories .cat-name {
    color: var(--fifth-color);
    font-size: 18px;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
}

.product-categories .cat-item .icon-arrow svg {
    width: 20px;
    height: 20px;
    transform: translateY(2px);
}

.product-categories .cat-item .icon-arrow svg path {
    stroke: var(--fifth-color);
}

.product-categories .cat-item:not(:last-child) {
    background-image: radial-gradient(circle at 1.5px, rgba(0, 0, 0, .2) .75px, rgba(255, 255, 255, 0) 1.5px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: bottom center;
}

.product-categories .cat-item {
    padding: 16px 20px 16px 0;
    position: relative;
}

.product-categories .cat-item .icon-arrow {
    position: absolute;
    top: 17px;
    right: 0;
    cursor: pointer;
    transition: .3s;
    transform: rotate(-90deg);
}

.product-categories .cat-item .icon-arrow.active {
    transform: rotate(0deg);
}

.product-categories-child {
    margin-left: 25px;
    padding-top: 12px;
    display: none;
}

.product-categories-child .cat-name-child {
    color: var(--sixth-color);
}

.product-categories-child .cat-name-child:hover {
    color: var(--fifth-color);
}

.product-categories-child .cat-child {
    margin-bottom: 8px;
    list-style: disc;
}

.product-categories-child .cat-child::marker {
    color: var(--sixth-color);
}

.tai-sao-chon {
    padding: 50px 30px 42px;
    margin-bottom: 20px;
    background-color: var(--second-color);
    border-radius: 10px;
}

.tai-sao-chon .item {
    text-align: center;
}

.tai-sao-chon .item .image svg,
.tai-sao-chon .item .image img {
    width: 50px;
    height: 50px;
}

.tai-sao-chon .item .image {
    display: flex;
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.tai-sao-chon .item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #000;
}

.tai-sao-chon .item .des {
    color: var(--sixth-color);
}

.tai-sao-chon .item:not(:last-child) {
    background-image: url(../images/line-dot.png);
    padding-bottom: 46px;
    margin-bottom: 46px;
    background-position: bottom center;
    background-repeat: repeat-x;
}

.tai-sao-chon .item-1 .image {
    -webkit-mask-image: url(../images/taisaochon1.png);
    background-color: #d5dbe6;
}

.tai-sao-chon .item-1:hover .image{
    background-color: #D5DBE680;
}

.tai-sao-chon .item-2 .image {
    -webkit-mask-image: url(../images/taisaochon2.png);
    background-color: #fbe6ce;
}

.tai-sao-chon .item-2:hover .image{
    background-color: #FBE6CE80;
}

.tai-sao-chon .item-3 .image {
    -webkit-mask-image: url(../images/taisaochon3.png);
    background-color: #fed2cc;  
}

.tai-sao-chon .item-3:hover .image{
    background-color: #FED2CC80;
}

.tai-sao-chon .item .image {
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
     /* background-color: rgba(0, 0, 0, .11); */
    transition: .3s;
}

.top-holiday {
    margin-bottom: 20px;
    padding: 45px 0 50px;
    text-align: center;
    background-color: var(--second-color);
    border-radius: 10px;
    overflow: hidden;
}

.top-holiday .title-wrap {
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.top-holiday .title-wrap .title {
    font-size: 30px;
    margin-bottom: 5px;
}

.top-holiday .title-wrap .des {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.top-holiday .image {
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.top-holiday .image img {
    transition: .3s;
}

.top-holiday .image:hover img {
    transform: scale(1.1);
}

.btn-web,
.banner-qc .box .content a {
    padding: 9px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: .3s;
}

.btn-web:hover,
.banner-qc .box .content a:hover {
    color: var(--fifth-color);
}

.btn-web:after,
.banner-qc .box .content a:after {
    background-image: linear-gradient(90deg, #fed2cc 50%, transparent 50%), linear-gradient(90deg, #fed2cc 50%, transparent 50%), linear-gradient(0deg, #fed2cc 50%, transparent 50%), linear-gradient(0deg, #fed2cc 50%, transparent 50%);
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 76px;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 0 0, 10px 2px, 0 0, 0 0;
    background-position: 50% 50%, 0 100%, 0% 0%, 0% 0px;
}

.btn-web.btn-1::after,
.banner-qc .box .content a:after {
    background-image: linear-gradient(90deg, #be7374 50%, transparent 50%), linear-gradient(90deg, #be7374 50%, transparent 50%), linear-gradient(0deg, #be7374 50%, transparent 50%), linear-gradient(0deg, #be7374 50%, transparent 50%);
}

.btn-web:hover::after,
.banner-qc .box .content a:hover:after {
    animation: dash 1.5s linear infinite;
}

@keyframes dash {
    100% {
        background-position: 100% 100%;
    }
}

.articles {
    background-color: var(--second-color);
    margin-bottom: 20px;
    padding: 46px 30px 50px;
    border-radius: 10px;
    text-align: center;
}

.articles .title-section {
    font-size: 40px;
}

.title-section {
    font-family: "Dancing Script", Sans-serif;
    font-size: 60px;
    font-weight: 400;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
    margin-bottom: 38px;
}

.title-section::before {
    content: '';
    height: 5px;
    width: 230px;
    max-width: 85%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: radial-gradient(circle at 1.5px, #b7c1d4 .75px, rgba(255, 255, 255, 0) 1.5px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: bottom center;
}

.articles .item h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 16px;
    margin-bottom: 10px;
}

.articles .item {
    padding-bottom: 40px;
    background-image: radial-gradient(circle at 1.5px, #b7c1d4 .75px, rgba(255, 255, 255, 0) 1.5px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: bottom center;
    margin-bottom: 40px;
}

.articles .item .meta-title {
    color: #8396a0;
}

.articles .item .meta-content {
    font-weight: 600;
}

.articles .item .meta-inner {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.articles .item .meta-inner .byline {
    position: relative;
}

.articles .item .meta-inner .byline:not(:last-child)::before {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: -12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #d5dbe6;
}

.reviews {
    background-color: #fff;
    background-image: url(../images/bg-avatar.jpg);
    background-position: top center;
    background-repeat: repeat-x;
    padding: 30px 24px 42px;
}

.reviews .item .image {
    margin-bottom: 20px;
    position: relative;
}

.reviews .item .image .phay {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background-color: var(--second-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}   

.reviews .item .image .phay img {
    width: 20px;
}

.reviews .item {
    text-align: center;
}

.reviews .item .avt {
    border-radius: 50%;
    height: 80px;
    width: 80px;
    object-fit: cover;
    margin: 0 auto;
}

.reviews .item .content {
    font-size: 17px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}

.banner-slider {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.banner-slider .item img {
    width: 100%;
}

.banner-slider .slick-arrow {
    background: rgba(0, 0, 0, 0.25);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slider .slick-arrow svg {
    width: 20px;
    height: 20px;
}

.banner-slider .slick-arrow svg path {
    stroke: #FFF;
}

.banner-slider .slick-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.banner-slider:hover .slick-next {
    opacity: 1;
    right: 15px;
}

.banner-slider:hover .slick-prev {
    opacity: 1;
    left: 15px;
}

.banner-qc {
    margin-bottom: 24px;
}

.banner-qc .box {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 340px;
}

.banner-qc .box img {
    height: 100%;
    width: 100%;
    transition: .5s;
}

.banner-qc .box-1 .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 30% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.banner-qc .box-big .content .des ,
.banner-qc .box-big .content h3{
    margin-bottom: 15px;
    font-size: 18px; 
}

.banner-qc .box-big .content .title,
.banner-qc .box-big .content h2 {
    margin-bottom: 30px;
    font-size: 30px;
    text-align: center;
}

.banner-qc .box:hover img {
    transform: scale(1.2);
}

.banner-qc .box-2 .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px;
}

.banner-qc .box-2 .content .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    background-color: var(--second-color);
    height: 100%;
    width: 100%;
}

.banner-qc .box-small .content .des,
.banner-qc .box-small .content h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.banner-qc .box-small .content .title,
.banner-qc .box-small .content h2 {
    margin-bottom: 16px;
    font-size: 25px;
}

.banner-qc .box-2 .content .inner .code {
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: 2px;
}

.featured-product {
    background-color: var(--second-color);
    margin-bottom: 24px;
    padding: 46px 24px 20px;
    border-radius: 10px;
}

.title-section-wrap {
    text-align: center;
}

.item-product .wrap-img {
    padding-bottom: 108%;
}

.item-product .content {
    padding: 15px 5px 25px;
    text-align: center;
}

.item-product .content .price {
    font-size: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.item-product .content .price-new {
    font-weight: 600;
}

.item-product .content .price-old {
    font-weight: 600;
    color: var(--sixth-color);
}

.item-product .content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.5;
    margin-bottom: 10px;
    /* height: 42px; */
}

.item-product .stars ul li {
    display: inline-block;
}

.item-product .stars ul li svg {
    width: 15px;
    height: 15px;
}

.item-product .group-action {
    position: absolute;
    background-color: #FFF;
    box-shadow: 1px 0 30px rgba(0, 0, 0, .1);
    border-radius: 30px;
    display: inline-flex;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    padding: 0 10px;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: all .3s ease 0s;
    visibility: hidden;
    opacity: 0;
}

.item-product:hover .group-action {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0%);
}

.item-product .group-action a {
    display: block;
    padding: 8px;
    color: var(--sixth-color);
}

.item-product .group-action a:hover {
    color: var(--fifth-color);
}

.item-product .group-action svg {
    width: 25px;
    height: 25px;
    transition: .3s;
}   

.item-product .group-action .add-cart svg path {
    stroke: currentColor;
}

.item-product .group-action .see-detail svg {
    fill: currentColor;
}

.item-product .discount {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--fifth-color);
    color: var(--second-color);
    padding: 2px 10px;
}

.item-product .image-wrap {
    position: relative;
}



.banner-qc .box-3 .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 52px;
    color: var(--primary-color);
    text-align: center;
}

.banner-qc .box-4 .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.categories-home {
    padding: 46px 24px 24px;
    background-color: var(--second-color);
    border-radius: 10px;
}

.item-cate {
    overflow: hidden;
}

.item-cate .inner{
    transition: .3s;
}

.item-cate:hover .inner {
    transform: translateY(-30px);
}

.item-cate .wrap-img {
    padding-bottom: 108%;
}

.item-cate .content {
    text-align: center;
}

.item-cate .content h3 {
    margin-top: 16px;
    margin-bottom: 5px;
}

.item-cate .content .count {
    color: var(--sixth-color);
}

.categories-home .item-cate {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    #page-home .reverse-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) { 
    .banner-qc .box-1 .content {
        padding: 15px;
    }

    .featured-product {
        padding: 10px;
    }

    .title-section {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .categories-home {
        padding: 10px 10px 0px;
        margin-bottom: 20px;
    }

    .banner-qc .box-big .content .title, 
    .banner-qc .box-big .content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .banner-qc .box-big .content .des, 
    .banner-qc .box-big .content h3 {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .banner-qc .box-small .content .title, 
    .banner-qc .box-small .content h2 {
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }

    .banner-qc .box-2 .content {
        padding: 15px;
    }

    .product-categories {
        padding: 5px 15px;
    }

    .banner-slider {
        margin: 0 -10px 20px;
        border-radius: 0px;
    }

    .banner-qc .box {
        height: 215px;
    }

    .banner-qc .box-4 .content {
        padding: 15px;
    }

    .tai-sao-chon {
        padding: 25px;
    }

    .top-holiday {
        padding: 25px 0 25px;
    }

    .top-holiday .title-wrap,
    .top-holiday .image {
        padding-bottom: 10px;
    }

    .articles {
        padding: 25px 20px 30px;
    }
}
