:root {
    --nx-primary: #b55d34;
    --nx-price-color: #ed3324;
    --nx-text-secondary-color: #8f8f8f;
    --nx-label-background: #fff0e9;
    --nx-label-color: #eb5757;
    --nx-buynow-bg: #d7322d;
    --nx-body-background: #f3e9d2;
}

/* --- General --- */
.button.is-outline,
input[type=button].is-outline,
input[type=reset].is-outline,
input[type=submit].is-outline {
    font-weight: normal;
    border-width: 1px;
    line-height: 2.5;
}

table td,
table th {
    padding: 8px !important;
}

/* --- Menu --- */

.header-wrapper {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.header-nav-main.nav-right>li a {
    display: flex;
    flex-direction: row-reverse;
    font-size: 16px;
    justify-content: start;
    align-items: center;
}

.header-nav-main.nav-right>li a i {
    margin: 0 5px 0 0;
}

.nav-dropdown {
    display: block;
}

.nav-dropdown-default {
    padding: 0;
    font-size: 14px;
}

.nav-dropdown>li.nav-dropdown-col {
    display: block;
    width: 100%;
}

.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    margin: 0 0;
    padding-left: 10px;
    padding-right: 10px;
}

.nav-dropdown .sub-menu {
    display: none;
}

.nav-dropdown .sub-menu>li>a {
    border-bottom: 0 none;
}

.nav-dropdown li:hover .sub-menu,
.nav-dropdown li.active:hover .sub-menu {
    display: block !important;
    position: absolute;
    left: 100%;
    top: -2px;
    margin-left: 2px;
    min-height: 100%;
    min-height: calc(100% + 4px);
    background: white;
    border: 2px solid #ddd;
    border-left: 0 none;
}

.header-bottom .nav-dropdown a,
.nav-dropdown li.menu-item-has-children a {
    position: relative;
    color: #666666d9;
    font-size: 14px;
    font-weight: unset;
}

.header-bottom .nav-dropdown a:hover {
    color: var(--nx-primary);
}

.nav-dropdown li.menu-item-has-children>a::after {
    display: block;
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 10px;
    line-height: 100%;
    padding: 0;
    margin: 0;
    margin-top: -.5em;

    font-family: fl-icons !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 400 !important;
    text-transform: none !important;
    content: "";
}

@media (max-width: 849px) {

    #top-bar,
    .html_topbar_left,
    .html_topbar_right {
        display: none !important;
    }
}

@media (min-width: 850px) {

    .active>ul.children,
    .active>ul.sub-menu:not(.nav-dropdown) {
        display: none !important;
    }

    .no1-menu {
        background-color: #489430;
        padding-left: 13px !important;
    }

    .no1-menu>a {
        color: white !important;
    }

    .no1-menu.current-dropdown>.nav-dropdown {
        left: 0;
    }
}

/* --- Category  --- */

.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0;
}

.flickity-slider .box-image:hover img {
    animation: tada 2s infinite;
}

@keyframes tada {
    0% {
        transform: scaleX(1);
    }

    10%,
    20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate(-3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate(3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg);
    }

    to {
        transform: scaleX(1);
    }
}

/* --- Coupons --- */

.row-box-shadow-1 .nx-coupon-item .col-inner {
    margin-top: 3px;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .15));
    box-shadow: none;
}

.nx-coupons .flickity-prev-next-button {
    margin-top: -16px !important;
}

.slider-nav-light .flickity-page-dots .dot.is-selected,
.flickity-page-dots .dot.is-selected {
    background-color: var(--nx-primary);
}

/* --- Home special block --- */

.nx-border-inside.row-collapse>.col,
.products>.col,
.related-products-wrapper>.row>.col {
    padding: 9.8px 9.8px 19.6px !important
}

.nx-border-inside .nx-image {
    margin: 9.8px 0;
}

.nx-border-inside,
.products,
.related-products-wrapper>.row {
    border: 1px solid #ddd
}

.nx-border-inside>.col::before,
.products>.col::before,
.related-products-wrapper>.row>.col::before {
    border-left: 1px solid #ddd;
    content: " ";
    height: 100%;
    left: -1px;
    position: absolute;
    top: 0;
    z-index: 1;
}

.nx-border-inside>.col::after,
.products>.col::after,
.related-products-wrapper>.row>.col::after {
    border-bottom: 1px solid #ddd;
    bottom: -1px;
    content: " ";
    height: 0;
    left: 0;
    position: absolute;
    top: auto;
    width: 100%;
    z-index: 1;
}

@media screen and (min-width: 850px) {
    /* 2 col */

    .large-columns-2>.nx-col-2 {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* 3 col */

    .large-columns-3>.nx-col-2 {
        flex-basis: 66.6666666667%;
        max-width: 66.6666666667%;
    }

    .large-columns-3>.nx-col-3 {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* 4 col */

    .large-columns-4>.nx-col-2 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .large-columns-4>.nx-col-3 {
        flex-basis: 75%;
        max-width: 75%;
    }

    .large-columns-4>.nx-col-4 {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* 5 col */

    .large-columns-5>.nx-col-2 {
        flex-basis: 40%;
        max-width: 40%;
    }

    .large-columns-5>.nx-col-3 {
        flex-basis: 60%;
        max-width: 60%;
    }

    .large-columns-5>.nx-col-4 {
        flex-basis: 80%;
        max-width: 80%;
    }

    .large-columns-5>.nx-col-5 {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* 6 col */

    .large-columns-6>.nx-col-2 {
        flex-basis: 33.3333333333%;
        max-width: 33.3333333333%;
    }

    .large-columns-6>.nx-col-3 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .large-columns-6>.nx-col-4 {
        flex-basis: 66.6666666667%;
        max-width: 66.6666666667%;
    }

    .large-columns-6>.nx-col-5 {
        flex-basis: 83.3333333333%;
        max-width: 83.3333333333%;
    }

    .large-columns-6>.nx-col-6 {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* 7 col */

    .large-columns-7>.nx-col-2 {
        flex-basis: 14.2857142857%;
        max-width: 14.2857142857%;
    }

    .large-columns-7>.nx-col-3 {
        flex-basis: 42.8571428571%;
        max-width: 42.8571428571%;
    }

    .large-columns-7>.nx-col-4 {
        flex-basis: 57.1428571429%;
        max-width: 57.1428571429%;
    }

    .large-columns-7>.nx-col-5 {
        flex-basis: 71.4285714286%;
        max-width: 71.4285714286%;
    }

    .large-columns-7>.nx-col-6 {
        flex-basis: 85.7142857143%;
        max-width: 85.7142857143%;
    }

    .large-columns-7>.nx-col-7 {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* 8 col */

    .large-columns-8>.nx-col-2 {
        flex-basis: 25%;
        max-width: 25%;
    }

    .large-columns-8>.nx-col-3 {
        flex-basis: 37.5%;
        max-width: 37.5%;
    }

    .large-columns-8>.nx-col-4 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .large-columns-8>.nx-col-5 {
        flex-basis: 62.5%;
        max-width: 62.5%;
    }

    .large-columns-8>.nx-col-6 {
        flex-basis: 75%;
        max-width: 75%;
    }

    .large-columns-8>.nx-col-7 {
        flex-basis: 87.5%;
        max-width: 87.5%;
    }

    .large-columns-8>.nx-col-8 {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* --- Product price --- */

.price {
    line-height: 1.5;
}

.price bdi {
    color: var(--nx-price-color);
}

.price del bdi {
    color: var(--nx-text-secondary-color);
}

.price .nx-discount-percent {
    display: inline-block;
    background: var(--nx-label-background);
    color: var(--nx-label-color);
    padding: 5px;
    z-index: 3;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
}

/* --- Move add-to-cart button --- */

.nx-product-box {
    position: relative;
}

.nx-product-box ins {
    display: block;
}

.nx-product-box .add_to_cart_button {
    display: block;
    width: 30px;
    height: 30px;
    padding: 4px !important;
    border: 1px solid transparent;
    border-radius: 100%;
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 5px;
    margin-left: auto;
    color: white;
    /* background: var(--nx-buynow-bg) !important; */
    background: var(--nx-primary) !important;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.25);
    font-size: 16px;
}

.nx-product-box .cart-icon,
.nx-product-box .nx-icon-plus {
    width: 1.25em;
    height: 1.25em;
    font-size: unset;
}

.nx-product-box .cart-icon {
    background: url(../images/icon-cart.svg) center no-repeat;
}

.nx-product-box .nx-icon-plus {
    background: url(../images/icon-plus.svg) center no-repeat;
}

.nx-product-box .cart-icon strong,
.nx-product-box .nx-icon-plus strong {
    display: none;
}

/* -- Product tabs header -- */

.tabbed-content.nx-tabs {
    justify-content: space-between;
}

.tabbed-content.nx-tabs>* {
    width: auto;
}

.tabbed-content.nx-tabs .tab-panels {
    width: 100%;
}

.tabbed-content.nx-tabs .nav-pills>li>a {
    border-radius: 4px;
    border: 1px solid var(--nx-primary)
}

.tabbed-content.nx-tabs .nav-pills>li {
    margin-left: 15px;
}

.tabbed-content.nx-tabs .nav-pills>li:first-child {
    margin-left: 0;
}

/* -- Product quick view -- */

.nx-product-box-actions {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

.has-hover:hover .nx-product-box-actions.show-on-hover {
    transform: translate(-50%, -50%) !important;
}

.nx-product-box-actions .quick-view {
    background-color: white;
    color: black;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    transition: all 0.22s ease-out;
    box-shadow: -2px 2px 6px rgb(0 0 0 / 25%);
    border-radius: 100%;
}

.nx-product-box-actions .quick-view:hover {
    color: var(--nx-primary);
}

/* -- Product category page -- */

.woocommerce-pagination {
    margin-top: 30px;
}

.term-description {
    overflow: hidden;
    max-height: 110px;
}

.term-description.nx-collapsed {
    max-height: 100px !important;
}

.nx-seemore {
    position: relative;
}

#main .nx-seemore {
    padding-bottom: 15px;
}

.nx-seemore i::before {
    content: ""
}

.nx-seemore.nx-expanded i::before {
    content: ""
}

.nx-seemore a::after {
    content: 'Xem thêm';
}

.nx-seemore.nx-expanded a::after {
    content: 'Thu gọn';
}

.nx-seemore::before {
    position: absolute;
    content: " ";
    left: 0;
    right: 0;
    bottom: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 17%, #fff 93.12%);
}

.nx-seemore.nx-expanded::before {
    display: none;
}

.nx-brands div.box-image>div>img {
    object-fit: contain;
}

/* -- Product page -- */

.single-product #main,
.single-product #wrapper {
    background-color: var(--nx-body-background);
}

.single-product #product-sidebar {
    padding-left: 15px !important;
}

.single-product .product-gallery,
.single-product .product-info,
.single-product .product-section {
    background-color: white;
    border-radius: 4px;
    /* filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .15)); */
    padding: 15px !important;
    border: 0 none;
}

.single-product .product-section {
    margin-bottom: 15px;
}

.single-product .product-section .entry-content img {
    border-radius: 4px;
}

.single-product .row-box-shadow-1 .nx-coupon-item .col-inner {
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .15));
}

.single-product .product-gallery {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.single-product .product-info {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.single-product .page-title-inner {
    padding-top: 0;
}

.product-short-description {
    font-size: 14px;
    margin-bottom: 15px;
}

.product-short-description p {
    margin-bottom: 0.5em;
}

.related-products-wrapper {
    margin-bottom: 30px;
}

.nx-saved-amount,
.nx-saved-amount bdi {
    font-weight: normal;
    font-size: 14px;
}

.quantity,
.text-center .quantity {
    align-items: center;
}

.quantity label {
    margin-right: 15px;
}

.quantity~.button {
    width: 100%;
}

.nx-buynow {
    line-height: 1.6em;
    padding: 15px;
    text-align: center;
}

.nx-buynow span {
    display: block;
    text-transform: initial;
    font-weight: normal;
}

.product-gallery .social-icons span {
    line-height: 2.5;
    margin-bottom: 1em;
    vertical-align: top;
}

/* --- FOOTER --- */

footer .menu {
    font-size: 14px;
}

footer .widget>ul>li+li,
footer ul.menu>li+li {
    border-top: 0 none;
}

footer li.menu-item a {
    text-transform: uppercase;
}

footer .header-logo {
    max-width: 140px;
}

/* -- NEWS -- */
.nx-eq-height .post-item .col-inner,
.nx-eq-height .flickity-slider>.col.is-selected {
    height: 100%;
}

/* -- POST -- */

.widget .recent-blog-posts {
    display: block;
}

.widget .recent-blog-posts .flex-col {
    margin-right: 0;
}

.widget .recent-blog-posts .badge.post-date {
    width: 100%;
}

.widget .recent-blog-posts .badge.post-date .badge-inner {
    padding-top: 56.25%;
}

.widget .recent-blog-posts a {
    margin-top: 6px;
}

/* -- Tuyen dung -- */

.nx-recruits th,
.nx-recruits td {
    text-align: center;
}

.nx-recruits .text-left {
    text-align: left;
}

#nx-recruit-page .row-collapse .col {
    padding: 15px !important;
}

#nx-recruit-page .row-collapse .col.p-0 {
    padding: 0 !important;
}

#nx-recruit-page ul {
    list-style: none;
}

#nx-recruit-page li {
    margin-left: 0;
}

#nx-recruit-top .large-9 {
    background: var(--nx-body-background);
}

#nx-recruit-top .large-3 {
    background: var(--nx-primary);
}

#nx-recruit-top .large-3 * {
    color: white;
}

#nx-recruit-top ul {
    margin-bottom: 0;
}

#nx-recruit-atts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#nx-recruit-atts li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    width: 50%;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 549px) {
    #nx-recruit-atts li {
        width: 100%;
    }
}

#nx-recruit-atts li span {
    /* width: 90px; */
    white-space: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    line-height: normal;
    margin: 0;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    color: var(--nx-primary);
    margin-right: 10px;
}

#nx-recruit-atts li p {
    margin-bottom: 8px;
}

.nx-icon {
    position: relative;
    padding-left: 20px;
    min-height: 12px;
}

.nx-icon::before {
    content: ' ';
    display: block;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 12px;
    height: 12px;
    top: 4px;
    left: 0px;

}

.nx-icon-salary::before {
    background-image: url(../images/nx-icon-1.png);
}

.nx-icon-yoe::before {
    background-image: url(../images/nx-icon-2.png);
}


.nx-icon-diploma::before {
    background-image: url(../images/nx-icon-3.png);
}


.nx-icon-hours::before {
    background-image: url(../images/nx-icon-4.png);
}


.nx-icon-gender::before {
    background-image: url(../images/nx-icon-5.png);
}


.nx-icon-address::before {
    background-image: url(../images/nx-icon-6.png);
}

#nx-recruit-bottom .bt:first-child {
    border-top: 0;
}

#nx-recruit-bottom .large-9 ul {
    list-style: initial;
    list-style-position: outside;
    padding-left: 1em;
}

#nx-recruit-bottom .accordion-title {
    border-top: 0 none;
}

#nx-recruit-bottom form {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid var(--nx-primary)
}

#nx-recruit-bottom .large-9 form ul {
    list-style: none;
    padding-left: 0;
}


@media (max-width: 549px) {
    .nx-recruits thead {
        display: none;
    }


    .nx-recruits th,
    .nx-recruits td {
        text-align: left;
    }

    .nx-recruits td {
        display: block;
        border-bottom: 0 none;
    }

    .nx-recruits tr {
        filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .15))
    }

    .nx-recruits td:first-child {
        display: none;
    }

    .nx-recruits tr td:last-child {
        border-bottom: 1px solid #ececec;
        margin-bottom: 15px;
    }
}

.brands img {
    object-fit: contain;
}

.slider:hover .flickity-prev-next-button svg,
.slider:hover .flickity-prev-next-button .arrow {
    fill: white;
    background-color: var(--nx-primary);
    border-color: var(--nx-primary);
}

.star-rating span:before,
.star-rating:before,
.woocommerce-page .star-rating:before {
    color: #febe10
}

.product .box .product-title a {
	font-weight: 600
}

.product-category .box .box-image,
.product .box .box-image {
	padding: 10%;
}

.product-category .box .box-image .image-cover,
.product .box .box-image .image-cover {
    overflow: visible;
}

/** quick view **/
.tawcvs-swatches .swatch, .tawcvs-swatches .swatch-show-more {
	width: auto !important;
	height: auto !important;
}

.variations_form .variations td.label {
	display: initial !important;
}

/** fix header **/

.nx-h1 {
    font-weight: 400;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 12px;
    color: hsla(0,0%,100%,.8);
	margin: 0 0 0 0;
}

.nx-h3 {
    line-height: 1.3;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    font-weight: 700;
    font-style: normal;
    font-family: Inter, sans-serif;
    font-size: 1.25em;
}

.nx-h5 {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    font-weight: 700;
    font-style: normal;
    font-family: Inter, sans-serif;
    color: #555;
    text-rendering: optimizeSpeed;
    width: 100%;
}

.dark .nx-h1, .dark .nx-h3, .dark .nx-h5,
.hover-dark:hover .nx-h1, .hover-dark:hover .nx-h3, .hover-dark:hover .nx-h5 {
    color: white;
}

.breadcrumbs {
    margin-bottom: 15px;
}