/* Toolbar */

.toolbar {
    background: var(--color-red);
    width: 100%;
    padding: 3vw;
    bottom: 0px;
    position: fixed;
    z-index: 500;
    height: auto;
    left: 0px;
}

.toolbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    margin: 0px;
}

.toolbar ul li {
    text-align: center;
    width: 25%;
}

.toolbar ul li a {
    display: block;
    width: 100%;
    cursor: pointer;
}

.toolbar ul li a img {
    height: 6vw;
    width: auto;
}

.toolbar ul li a span {
    font-weight: 400;
    color: #ffffff;
    font-size: 3.5vw;
    display: none;
}


/* Fixbar */

.fixbar {
    bottom: 0;
    display: block;
    background: #f0eff4;
    border-top: 1px solid #ddd;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    margin: 0;
    z-index: 500;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 50px;
}

.fixbar ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.fixbar ul li {
    display: inline-block;
    margin: 0 auto 10px;
    text-align: center;
    width: 25%;
    float: left;
}

.fixbar .icon-cart-mobile,
.fixbar .icon-cart-new,
.fixbar .icon-home-new,
.fixbar .icon-hotdeal-new {
    width: 20px;
    height: 20px;
    display: block;
    margin: 8px auto 0;
}

.fixbar .icon-cart-mobile {
    background: url(../images/cart-mobile.png) no-repeat;
}

.cart-total-header-mobile {
    font-size: 10px;
    position: absolute;
    background: red;
    color: #fff!important;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    line-height: 15px;
    top: 5px;
    margin-left: 5px;
}

.fixbar ul li a {
    font-size: 11px;
    text-decoration: none;
    color: #333;
}

.fixbar ul li a i {
    font-size: 20px;
}

.fix-toolbar {
    background: #cf1c24;
    width: 100%;
    padding: 5px;
    bottom: 0;
    position: fixed;
    z-index: 500;
    height: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: none;
    border-top: 1px solid #fff;
}

.fix-toolbar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    margin: 0;
}

.fix-toolbar ul li {
    text-align: center;
    width: 20%;
}

.fix-toolbar ul li a {
    display: block;
    width: 100%;
    cursor: pointer;
    color: #fff;
    font-size: 11px;
}

.fix-toolbar img {
    vertical-align: top;
}

.fix-toolbar ul li a img {
    height: 20px;
    width: auto;
}


/* Zalo */

.btn-zalo {
    bottom: 315px;
}


/* Phone */

.btn-phone {
    bottom: 230px;
}


/* Messenger */

.js-facebook-messenger-container.closed,
.js-facebook-messenger-tooltip.closed {
    display: none!important
}

.js-facebook-messenger-tooltip {
    bottom: 97px;
    right: 97px
}

.js-facebook-messenger-tooltip {
    color: #404040;
    background: #fff
}

.js-facebook-messenger-box,
.js-facebook-messenger-button,
.js-facebook-messenger-tooltip {
    z-index: 999
}

.js-facebook-messenger-tooltip {
    display: none;
    position: fixed;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: rgba(0, 0, 0, 0.15) 0 2pt 10pt;
    z-index: 1.0E+30
}

.js-facebook-messenger-close-tooltip {
    width: 10px;
    height: 10px;
    display: inline-block;
    cursor: pointer;
    margin-left: 10px
}

.js-facebook-messenger-box.rubberBand {
    -webkit-animation-name: rubberBand;
    animation-name: rubberBand
}

.js-facebook-messenger-box.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.js-facebook-messenger-box,
.js-facebook-messenger-button,
.js-facebook-messenger-tooltip {
    z-index: 999
}

.js-facebook-messenger-box {
    display: block;
    position: fixed;
    cursor: pointer;
    bottom: 150px;
    right: 17px;
    width: 56px;
    height: 56px;
    text-align: center;
    background: #1182FC;
    border-radius: 100%;
    overflow: hidden;
    z-index: 99;
    -webkit-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.3)
}

.js-facebook-messenger-box.rotate svg#fb-msng-icon {
    transform: rotate(0deg)
}

.js-facebook-messenger-box svg#fb-msng-icon {
    width: 32px;
    height: 33px;
    position: absolute;
    top: 13px;
    left: 12px;
    opacity: 1;
    overflow: hidden;
    -webkit-transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    -moz-transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    -o-transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
}

.js-facebook-messenger-box.rotate svg#close-icon {
    transform: rotate(-45deg)
}

.js-facebook-messenger-box svg#close-icon {
    opacity: 0;
    width: 19px;
    height: 20px;
    position: absolute;
    top: 19px;
    left: 19px;
    -webkit-transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    -moz-transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    -o-transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
}

.js-facebook-messenger-container,
.js-facebook-messenger-container-button {
    z-index: 1000
}

.js-facebook-messenger-container {
    position: fixed;
    opacity: 0;
    transform: translateY(50px);
    bottom: 110px;
    right: 90px;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 2px 32px rgba(0, 0, 0, 0.16);
    -webkit-transition: transform 160ms ease-in-out, opacity 160ms ease-in-out;
    -moz-transition: transform 160ms ease-in-out, opacity 160ms ease-in-out;
    -o-transition: transform 160ms ease-in-out, opacity 160ms ease-in-out;
    transition: transform 160ms ease-in-out, opacity 160ms ease-in-out
}

.js-facebook-messenger-top-header {
    width: 220px
}

.js-facebook-messenger-top-header {
    color: #ffffff;
    background: #1182FC
}

.js-facebook-messenger-top-header {
    display: block;
    position: relative;
    width: 220px;
    background: #1182FC;
    color: #ffffff;
    text-align: center;
    line-height: 1;
    padding: 10px;
    font-size: 14px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}

.js-facebook-messenger-container iframe,
.js-facebook-messenger-container-button iframe {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px
}

.js-facebook-messenger-box,
.js-facebook-messenger-button,
.js-facebook-messenger-tooltip {
    z-index: 999
}

.js-facebook-messenger-container,
.js-facebook-messenger-container-button {
    z-index: 1000
}

.js-facebook-messenger-top-header {
    color: #ffffff;
    background: #1182FC
}

.js-facebook-messenger-top-header {
    width: 220px
}

.js-facebook-messenger-tooltip {
    color: #404040;
    background: #fff
}

.js-facebook-messenger-container.open {
    transform: translateY(0px);
    opacity: 1;
    pointer-events: all
}

.js-facebook-messenger-tooltip {
    bottom: 97px;
    right: 97px
}

.js-facebook-messenger-box.open svg#fb-msng-icon {
    opacity: 0
}

.js-facebook-messenger-box.rotate.open svg#close-icon {
    transform: rotate(0deg)
}

.js-facebook-messenger-box.open svg#close-icon {
    opacity: 1
}


/* Cart Fix */

.cart-fixed {
    position: fixed;
    right: 20px;
    bottom: 390px;
    z-index: 10;
    background: #4b4f56;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff!important;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-fixed i {
    font-size: 20px;
}

.cart-fixed span {
    position: absolute;
    top: 0px;
    right: -5px;
    color: #ffffff;
    width: 25px;
    height: 25px;
    background: var(--color-red);
    text-align: center;
    line-height: 25px;
    font-size: 11px;
    border-radius: 100%;
}


/* Plugbar */

.plugbar {
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #eae6e6;
    width: 100%;
    right: 0;
    max-width: 767px;
    margin: 0 auto;
    background: #ffffff;
    padding: 9px 10px 10px 7px;
    z-index: 10;
}

.plugbar ul {
    list-style: none;
    padding: 0;
    margin: 0px;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plugbar ul li {
    width: 20%;
    float: left;
}

.plugbar ul li a {
    display: block;
    color: #696969;
    font-size: 12px;
    text-align: center;
    position: relative;
}

.plugbar ul li a i {
    font-size: 20px;
    color: #696969;
}

.plugbar ul li a span {
    position: absolute;
    width: 50px;
    height: 50px;
    top: -40px;
    left: calc(50% - 50px/2);
    font-size: 14px;
    display: block;
    border: 1px solid rgba(234, 230, 230, 0.5);
    border-radius: 100%;
}


/* Combo Phone */

.support-online {
    position: fixed;
    z-index: 999;
    left: 10px;
    bottom: 0px;
}

.support-online a {
    position: relative;
    margin: 20px 10px;
    text-align: left;
    width: 40px;
    height: 40px;
}

.support-online i {
    width: 40px;
    height: 40px;
    background: #43a1f3;
    color: #ffffff;
    border-radius: 100%;
    font-size: 20px;
    text-align: center;
    line-height: 1.9;
    position: relative;
    z-index: 999;
}

.support-online a span {
    border-radius: 2px;
    text-align: center;
    background: rgb(103, 182, 52);
    padding: 9px;
    display: none;
    width: 180px;
    margin-left: 10px;
    position: absolute;
    color: #ffffff;
    z-index: 999;
    top: 0px;
    left: 40px;
    transition: all 0.2s ease-in-out 0s;
    -moz-animation: headerAnimation 0.7s 1;
    -webkit-animation: headerAnimation 0.7s 1;
    -o-animation: headerAnimation 0.7s 1;
    animation: headerAnimation 0.7s 1;
}

.support-online a:hover span {
    display: block;
}

.support-online a {
    display: block;
}

.support-online a span:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent rgb(103, 182, 52) transparent transparent;
    position: absolute;
    left: -10px;
    top: 10px;
}

.support-online .kenit-alo-circle-fill {
    width: 60px;
    height: 60px;
    top: -10px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    background-color: rgba(0, 175, 242, 0.5);
    opacity: .75;
    right: -10px;
}

.support-online .kenit-alo-circle {
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid rgba(30, 30, 30, 0.4);
    opacity: .1;
    border-color: #0089B9;
    opacity: .5;
}

.support-online .support-online .btn-support {
    cursor: pointer;
}

.support-online .mes i {
    background: orange;
}

.support-online .sms i {
    background: red;
}

.support-online .call-now i {
    background: green;
}


/* Phone Switch */

.widget-mobile {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    z-index: 9999999;
}

#my-phone-circle {
    position: relative;
    width: 50px!important;
    height: 50px!important;
}

.wcircle-open .wcircle-icon i:before {
    content: '\f00d';
}

.wcircle-icon {
    background: #1282fc;
    border-radius: 50%;
    display: flex!important;
    display: -ms-flex!important;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative!important;
}

.wcircle-icon:before {
    position: absolute;
    content: '';
    width: 60px;
    height: 60px;
    background: rgba(18, 130, 252, .5);
    border: 1px solid #ffffff;
    border-radius: 50%;
    left: -5px;
    top: -5px;
    -webkit-animation: pulse 1s infinite ease-in-out;
    -moz-animation: pulse 1s infinite ease-in-out;
    -ms-animation: pulse 1s infinite ease-in-out;
    -o-animation: pulse 1s infinite ease-in-out;
    animation: pulse 1s infinite ease-in-out;
}

.wcircle-icon:after {
    position: absolute;
    content: '';
    width: 80px;
    height: 80px;
    background: rgba(18, 130, 252, .5);
    border-radius: 50%;
    left: -15px;
    top: -15px;
    -webkit-animation: zoomIn 2s infinite ease-in-out;
    -moz-animation: zoomIn 2s infinite ease-in-out;
    -ms-animation: zoomIn 2s infinite ease-in-out;
    -o-animation: zoomIn 2s infinite ease-in-out;
    animation: zoomIn 2s infinite ease-in-out;
}

.wcircle-menu {
    position: absolute!important;
    left: 0;
    top: 0;
    display: none;
}

.wcircle-menu-item {
    width: 50px;
    height: 50px;
    background: #1282fc;
    border-radius: 50%;
    display: flex;
    display: -ms-flex;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.wcircle-menu-item img {
    width: 50px;
    height: 50px;
    display: block;
    border-radius: 50%;
}

.wcircle-menu-item i,
.wcircle-icon i {
    font-size: 25px;
    color: #ffffff;
    position: relative;
    z-index: 9999;
}

.shake-anim {
    -webkit-animation: shake-anim 1s infinite ease-in-out;
    -moz-animation: shake-anim 1s infinite ease-in-out;
    -ms-animation: shake-anim 1s infinite ease-in-out;
    -o-animation: shake-anim 1s infinite ease-in-out;
    animation: shake-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%
}

@-moz-keyframes shake-anim {
    0% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    10%,
    30% {
        -moz-transform: rotate(-25deg) scale(1) skew(1deg)
    }
    20%,
    40% {
        -moz-transform: rotate(25deg) scale(1) skew(1deg)
    }
    100%,
    50% {
        -moz-transform: rotate(0) scale(1) skew(1deg)
    }
}

@-webkit-keyframes shake-anim {
    0%,
    100%,
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }
    10%,
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }
    20%,
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }
}

@-o-keyframes shake-anim {
    0%,
    100%,
    50% {
        -o-transform: rotate(0) scale(1) skew(1deg)
    }
    10%,
    30% {
        -o-transform: rotate(-25deg) scale(1) skew(1deg)
    }
    20%,
    40% {
        -o-transform: rotate(25deg) scale(1) skew(1deg)
    }
}