/* Header */
#header .header-main .nav > li > a {
    position: relative;
    color: #303998;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: color .25s ease;
}

#header .header-main .nav > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 2px;
    margin-top: 18px;
    border-radius: 99px;
    background: linear-gradient(
        90deg,
        #078b45,
        #f4c400,
        #f47a20,
        #d92345,
        #6a35a8,
        #159bd7
    );
    transform: translateX(-50%);
    transition: width .28s ease;
}

#header .header-main .nav > li:hover > a {
    color: #078b45;
}

#header .header-main .nav > li:hover > a::after {
    width: calc(100% - 18px);
}

#header .header-main .nav > li.active > a,
#header .header-main .nav > li.current-menu-item > a,
#header .header-main .nav > li.current-menu-ancestor > a {
    color: #078b45;
}

#header .header-main .nav > li.active > a::after,
#header .header-main .nav > li.current-menu-item > a::after,
#header .header-main .nav > li.current-menu-ancestor > a::after {
    width: calc(100% - 18px);
}

.header-wrapper.stuck #header .header-main .nav > li > a::after,
.stuck .header-main .nav > li > a::after {
    top: 50%;
    margin-top: 18px;
}

.header-main {
    box-shadow: 0 3px 16px rgba(30, 45, 90, .05);
}

/* Dropdown sản phẩm */
@media (min-width: 850px) {
    .menu-san-pham-in > .sub-menu {
        width: 560px !important;
        min-width: 560px !important;
        padding: 16px 18px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        border: 1px solid #e4e8f0 !important;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 16px 45px rgba(32, 48, 90, .15);
        overflow: hidden;
    }

    .menu-san-pham-in > .sub-menu::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(
            90deg,
            #078b45,
            #f4c400,
            #f47a20,
            #d92345,
            #6a35a8,
            #159bd7
        );
    }

    .menu-san-pham-in > .sub-menu > li {
        width: 100% !important;
        border-bottom: 1px solid #edf0f5;
    }

    .menu-san-pham-in > .sub-menu > li > a {
        min-height: 42px;
        padding: 10px 6px !important;
        display: flex;
        align-items: center;
        color: #4c5566 !important;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.35;
        transition:
            color .2s ease,
            padding-left .2s ease;
    }

    .menu-san-pham-in > .sub-menu > li > a::before {
        content: "";
        width: 6px;
        height: 6px;
        margin-right: 9px;
        flex: 0 0 6px;
        border-radius: 50%;
        background: #303998;
        opacity: .35;
        transition:
            opacity .2s ease,
            background .2s ease;
    }

    .menu-san-pham-in > .sub-menu > li:hover > a {
        color: #303998 !important;
        padding-left: 10px !important;
    }

    .menu-san-pham-in > .sub-menu > li:hover > a::before {
        opacity: 1;
        background: #078b45;
    }
}

/* Màn hình rộng */
@media (min-width: 1440px) {
    #header .header-main .header-inner {
        max-width: 100% !important;
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}

/* Footer */
.ivc-footer{
    position:relative;
    margin:0!important;
    min-height:0!important;
    padding-top:44px!important;
    padding-bottom:28px!important;
    background:#f7f9fc;
    border-top:1px solid #e8ecf3;
}

.ivc-footer::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#078b45,#f4c400,#f47a20,#d92345,#6a35a8,#159bd7);
}

.ivc-footer .section-content,
.ivc-footer .row,
.ivc-footer .col,
.ivc-footer .col-inner{
    min-height:0!important;
}

.ivc-footer-row{
    align-items:flex-start;
    margin-bottom:0!important;
}

.ivc-footer .col{
    padding-bottom:0!important;
}

/* Logo */
.ivc-footer-brand{
    text-align:center;
}

.ivc-footer-logo,
.ivc-footer-brand .img{
    margin-left:auto;
    margin-right:auto;
}

.ivc-footer-brand img{
    max-width:205px;
}

.ivc-footer-brand .img-inner{
    overflow:visible;
}

/* Hai cột nội dung */
.ivc-footer-about,
.ivc-footer-menu-col{
    padding-left:22px;
    padding-right:22px;
}

.ivc-footer-heading{
    margin:0;
}

.ivc-footer-title{
    position:relative;
    margin:0 0 16px;
    padding-bottom:12px;
    color:#172536;
}

.ivc-footer-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:45px;
    height:3px;
    border-radius:99px;
    background:#303998;
}

/* Về chúng tôi */
.ivc-footer-contact{
    width:100%;
    margin:0;
}

.vietcolor-contact{
    width:100%;
    margin:0;
    padding:0;
}

.vc-contact-item{
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    align-items:center;
    column-gap:14px;
    min-height:72px;
    margin:0;
    padding:10px 0;
    border-bottom:1px solid #e3e7ee;
    color:#4d5665;
    transition:color .22s ease;
}

.vc-contact-item:last-child{
    border-bottom:0;
}

.vc-contact-item > br,
.vc-icon > br,
.vc-contact-text > br{
    display:none!important;
}

.vc-icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    background:rgba(48,57,152,.08);
    transition:background .22s ease,transform .22s ease;
}

.vc-icon svg{
    display:block!important;
    width:16px!important;
    height:16px!important;
    margin:0!important;
    padding:0!important;
    fill:#596274;
    transition:fill .22s ease;
}

.vc-contact-text{
    display:block;
    min-width:0;
    margin:0!important;
    padding:0!important;
    align-self:center!important;
    font-style:italic!important;
    line-height:1.5;
}

.vc-contact-text a{
    color:inherit;
    text-decoration:none;
    font-style:italic!important;
}

.ivc-footer-about .vc-contact-text,
.ivc-footer-about .vc-contact-text a{
    font-style:italic!important;
}

.vc-contact-item:hover{
    color:#303998;
}

.vc-contact-item:hover .vc-icon{
    background:#303998;
    transform:translateX(2px);
}

.vc-contact-item:hover .vc-icon svg{
    fill:#fff;
}

/* Căn giữa icon với nội dung */
.vc-contact-item .vc-icon{
    align-self:center!important;
}

.vc-contact-address{
    align-items:center!important;
}

.vc-contact-address .vc-icon{
    margin-top:0!important;
}

/* Danh mục */
.ivc-footer-menu{
    width:100%;
    margin:0!important;
    padding:0!important;
}

.ivc-footer-menu .ux-menu-link{
    margin:0!important;
    padding:0!important;
    border-bottom:1px solid #e3e7ee;
}

.ivc-footer-menu .ux-menu-link__link{
    position:relative;
    min-height:64px;
    margin:0!important;
    padding:0!important;
    display:flex;
    align-items:center;
    color:#4d5665!important;
    transition:color .22s ease,padding-left .22s ease;
}

.ivc-footer-menu .ux-menu-link__link::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#303998;
    opacity:0;
    transform:translateY(-50%) scale(0);
    transition:opacity .22s ease,transform .22s ease;
}

.ivc-footer-menu .ux-menu-link__link:hover{
    padding-left:15px!important;
    color:#303998!important;
}

.ivc-footer-menu .ux-menu-link__link:hover::before{
    opacity:1;
    transform:translateY(-50%) scale(1);
}

/* Footer mặc định Flatsome */
#footer .absolute-footer{
    margin:0!important;
}

/* Tablet */
@media(max-width:849px){
    .ivc-footer{
        padding-top:38px!important;
        padding-bottom:22px!important;
        text-align:center;
    }

    .ivc-footer .col{
        padding-bottom:28px!important;
    }

    .ivc-footer .col:last-child{
        padding-bottom:0!important;
    }

    .ivc-footer-about,
    .ivc-footer-menu-col{
        padding-left:15px;
        padding-right:15px;
    }

    .ivc-footer-title{
        text-align:center!important;
    }

    .ivc-footer-title::after{
        left:50%;
        transform:translateX(-50%);
    }

    .vietcolor-contact,
    .ivc-footer-menu{
        max-width:460px;
        margin-left:auto!important;
        margin-right:auto!important;
        text-align:left;
    }
}

/* Mobile */
@media(max-width:549px){
    .ivc-footer{
        padding-top:32px!important;
        padding-bottom:18px!important;
    }

    .ivc-footer-brand img{
        max-width:170px;
    }

    .vc-contact-item{
        grid-template-columns:32px minmax(0,1fr);
        column-gap:12px;
        min-height:60px;
    }

    .vc-icon{
        width:32px!important;
        height:32px!important;
        min-width:32px!important;
        min-height:32px!important;
    }

    .vc-icon svg{
        width:14px!important;
        height:14px!important;
    }

    .ivc-footer-menu .ux-menu-link__link{
        min-height:56px;
    }
}