/* HEADER CURRENCY */
.woocommerce-currency-switcher-form.woocs_show_flags .dd-selected {
    display: flex;
    align-items: center;
}

.dd-selected-image {
    width: 26px;
    height: 26px;
    margin-right: 8px !important;
    margin-left: 0 !important;
}

.dd-selected-text {
    line-height: normal !important;
    margin-bottom: 0;
}

.dd-options .dd-option .dd-option-image {
    width: 26px;
    height: 26px;
    margin-right: 8px !important;
    margin-left: 0 !important;
}

.dd-options .dd-option {
    display: flex !important;
    flex-direction: row;
    align-items: center;
}

.dd-option-text {
    margin-bottom: 0;
    line-height: normal !important;
}

.lang-item {
    margin: 0 !important;
    display: flex !important;
}

.lang-item a {
    padding: 0 !important;
    position: relative;
    display: flex;
}

.lang-item a img {
    display: none;
}

.lang-item-vi a::before {
    background-image: url('../images/lang-vi.png');
}

.lang-item-en a::before {
    background-image: url('../images/lang-us.png');
}

.lang-item a::before {
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 26px;
    display: block;
    z-index: 1;
    opacity: 1;
}

.header-nav-main:hover .lang-item a::before,
.mobile-nav:hover .lang-item a::before {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-nav {
    gap: 0;
}

/* PRODUCTS */
.price.product-page-price.price-on-sale del {
    color: red;
}

.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-direction: column;
}

.woocommerce-billing-fields__field-wrapper #billing_first_name_field {
    order: 1;
}

.woocommerce-billing-fields__field-wrapper #billing_phone_field {
    order: 2;
}

.woocommerce-billing-fields__field-wrapper #billing_address_1_field {
    order: 3;
}

.woocommerce-billing-fields__field-wrapper #billing_email_field {
    display: none !important;
}

.product-short-description {
    position: relative;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.bg-mask {
    position: absolute;
    bottom: 20px;
    width: 100%;
    height: 200px;
    left: 0;
    background: linear-gradient(0deg, white, #ffffffd9, #ffffff5e, transparent, transparent);
    opacity: 1;
    visibility: visible;
}

.product-short-description.is-collapsed,
.product-footer .product-page-sections .product-section:first-child {
    max-height: 200px;
    overflow: hidden;
}

.category-page-row .shop-container .term-description.is-collapsed {
    max-height: 400px;
    overflow: hidden;
}

.product-short-description.is-expanded,
.category-page-row .shop-container .term-description.is-expanded,
.product-footer .product-page-sections .product-section.is-expanded {
    max-height: 200000px;
}

.product-short-description-toggle,
.product-section-toggle {
    display: flex;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.product-section-toggle {
    margin-bottom: 10px;
}

.product-short-description-toggle span,
.product-section-toggle span {
    background: var(--fs-color-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 5px 15px;
    font-size: 15px;
    z-index: 2;
}

.product-short-description-toggle span strong,
.product-section-toggle span strong {
    padding-right: 5px;
}

.product-short-description-toggle span:hover,
.product-section-toggle span:hover {
    background: #1a7357;
}

.product-short-description.is-expanded+.product-short-description-toggle .bg-mask,
.product-section.is-expanded+.product-section-toggle .bg-mask {
    opacity: 0;
    visibility: hidden;
}

.product-short-description.is-expanded+.product-short-description-toggle span svg,
.product-section.is-expanded+.product-section-toggle span svg {
    transform: rotate(180deg);
}

.related-products-wrapper.product-section {
    margin-top: 30px;
}

.scproduct-cat .col .col-inner,
.scproduct-cat .col .col-inner .product-small {
    height: 100%;
}

.badge-container {
    margin-top: 20px !important;
}

.badge {
    margin-left: 5px;
    width: fit-content !important;
    height: 100% !important;
}

.badge-circle+.badge {
    margin-left: 5px !important;
    margin-top: 5px !important;
}

.badge-inner {
    padding: 5px 10px;
    line-height: normal;
    font-weight: 600;
}

.badge .onsale {
    font-size: 12px;
    transform: translateY(-1px);
    display: block;
}

.button.alt,
.button.checkout,
.checkout-button,
.secondary {
    background: var(--fs-color-primary);
}

.product-policy.row {
    padding: 30px 10px 0 10px;
    flex-wrap: nowrap;
    gap: 10px;
}

.product-policy .col {
    width: 20%;
    border: 1px solid #f2f2f2;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
}

.product-policy .icon {
    width: 30px;
    height: 30px;
}

.product-policy .content {
    width: calc(100% - 30px);
    font-size: 14px;
    line-height: normal;
    padding-left: 10px;
}

.product-gallery .woocommerce-product-gallery__image a {
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    border: 1px solid #e3e3e3;
    padding: 15px;
    border-radius: 10px;
}

.product-small.box .box-text.box-text-products {
    padding: 10px 8px 13px 8px;
    text-align: left;
}

.product-footer .woocommerce-tabs>.nav-line:not(.nav-vertical) {
    background: #f3f3f3;
    border-bottom: 1px solid var(--fs-color-primary);
}

.product-small.box {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    font-size: 16px;
    color: var(--black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover {
    color: var(--fs-color-primary);
}

.product-info.product-summary .price-wrapper .amount {
    color: red;
    font-size: 22px;
}

.product-footer ul.product-tabs li a {
    padding: 10px 20px;
}

.product-footer ul.product-tabs li.active a,
.product-footer ul.product-tabs li:hover a {
    background-color: var(--fs-color-primary);
    color: var(--white);
}

.product-footer ul.product-tabs li a:before {
    content: none;
}

/* POSTS */
.post-title {
    text-transform: capitalize;
}

.post-title a {
    color: var(--black);
}

/*=== SINGLE ===*/
.entry-header-text {
    padding-bottom: 0;
}

.single .rank-math-breadcrumb {
    font-size: 12px;
}

.single .entry-header .entry-divider {
    display: none;
}

.single .entry-header .entry-title {
    color: var(--fs-color-primary);
    font-size: 30px;
}

.related_posts .title {
    font-size: 20px;
    text-transform: uppercase;
    color: var(--fs-color-primary);
    font-weight: 700;
    text-align: center;
}

.related_posts .related_slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related_posts .related_slider a.relative {
    display: block;
}

.related_posts .related_slider .relative:before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}

.related_posts .related_slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related_posts .related_slider .content a {
    color: var(--black);
    font-weight: 600;
    text-transform: capitalize;
}

.related_posts .related_slider .content a:hover {
    color: var(--fs-color-primary);
}

/*=== END SINGLE  ===*/

.hotline-phone-ring-wrap {
    bottom: 200px;
    right: -10px;
    position: fixed;
    z-index: 10;
}

.hotline-phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 11;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: visibility 0.5s;
    left: 0;
    bottom: 0;
    display: block;
}

.hotline-phone-ring-circle {
    width: 85px;
    height: 85px;
    top: 10px;
    left: 10px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e60808;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}

@keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.5) skew(1deg);
        transform: rotate(0) scale(0.5) skew(1deg);
        opacity: 0.1;
    }

    30% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.5;
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.1;
    }
}

.hotline-phone-ring-circle-fill {
    width: 55px;
    height: 55px;
    top: 25px;
    left: 25px;
    position: absolute;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

@keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }

    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}

.hotline-phone-ring-img-circle {
    background-color: #e60808;
    width: 33px;
    height: 33px;
    top: 37px;
    left: 37px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    transform-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1) skew(1deg);
    }
}

.hotline-phone-ring-img-circle .pps-btn-img {
    display: flex;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
    width: 20px;
    height: 20px;
}

.hotline-bar {
    padding-left: 10px;
    padding-right: 55px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: max-content;
    height: auto;
    opacity: 0;
    border-radius: 50px;
    visibility: hidden;
    bottom: 50%;
    left: -100%;
    transform: translateY(50%);
    position: absolute;
    background: rgba(230, 8, 8, 0.75);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
}

.hotline-bar>a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    text-indent: 15px;
    display: block;
    letter-spacing: 1px;
    line-height: 40px;
}

.hotline-bar>a:hover {
    color: var(--cl-yellow);
}

.hotline-phone-ring-wrap:hover .hotline-bar {
    opacity: 1;
    visibility: visible;
}

#mes-icon {
    bottom: 25px;
    left: -14px;
    width: 230px;
}

.zalo-container.right {
    right: 25px;
    bottom: 80px;
    position: fixed;
    width: 40px;
    height: 40px;
    z-index: 10;
}

.zalo-container a {
    display: block;
}

.animated_zalo.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.zoomIn_zalo {
    -webkit-animation-name: zoomIn_zalo;
    animation-name: zoomIn_zalo;
}

.animated_zalo {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.cmoz-alo-circle {
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid rgba(17, 130, 252, 0.8);
    opacity: 0.1;
    border-color: #1182fc;
    opacity: 0.5;
}

@keyframes zoomIn_zalo {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

.cmoz-alo-circle-fill {
    width: 60px;
    height: 60px;
    top: -10px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    background-color: rgba(17, 130, 252, 0.45);
    opacity: 0.75;
    right: -10px;
}

.pulse_zalo {
    -webkit-animation-name: pulse_zalo;
    animation-name: pulse_zalo;
}

@keyframes pulse_zalo {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.zalo-container span {
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1182fc;
    position: relative;
}

.zalo-container img {
    padding: 7px;
}

.fanpage-container.right a {
    display: block;
}

.fanpage-container.right {
    position: fixed;
    width: 40px;
    height: 40px;
    z-index: 10;
    right: 25px;
    bottom: 155px;
}

.fanpage-container.right span {
    background: #1182fc;
    display: block;
    border-radius: 50%;
    padding: 5px;
}

.shortcode-hotline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: fit-content;
    background: var(--fs-color-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
    transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s;
}

.shortcode-hotline img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.shortcode-hotline:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 40px 0 rgba(0, 0, 0, .2);
    transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s;
}

.shortcode-hotline:hover {
    color: #f2f2f2;
}

.shortcode-products {
    margin: 15px 0;
}

/* HOME */
/* .home-why-choose {
    display: none;
} */
.home-why-choose .heading-title {
    width: fit-content;
    margin: 0 auto 10px;
    /* background: linear-gradient(to right, #fff412 0%, #ffca12 50%, #ffaf12 100%); */
    /* background: linear-gradient(45deg, var(--fs-color-primary), var(--fs-color-secondary)); */
    background: linear-gradient(180deg, var(--fs-color-primary), #1b7d5e);
    padding: 10px 60px;
    border-radius: 100px;
    border-bottom: 6px solid #23936f;
    letter-spacing: 2px;
}

.home-why-choose .heading-title h2 {
    margin-bottom: 0;
    line-height: normal;
}

.rows-why {
    /* background: linear-gradient(to right, #FFC107 0%, #f9c20d 50%, #FFEA3D 100%); */
    background: linear-gradient(45deg, var(--fs-color-primary), #1b7d5e);
    border-bottom: 1px solid #FFFFFF;
}

.rows-why .col {
    border-right: 2px solid #FFFFFF;
    padding: 0;
}

.rows-why .col .col-inner {
    height: 100%;
}

.rows-why .col:last-child {
    border-right: none;
}

.rows-why .col .icon-box {
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    border-bottom: 1px dotted #FFFFFF;
}

.rows-why .col .icon-box-img img {
    padding-top: 0;
    filter: brightness(0) invert(1);
}

.rows-why .col .icon-box h3 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: normal;
}

.rows-why .icon-box-text {
    font-weight: 800;
    flex: none;
    padding-left: 10px !important;
}

.rows-why .icon-box .text {
    padding: 0 !important;
}

.rows-why .col .text {
    padding: 20px 15px;
    font-weight: 800;
    font-size: 18px;
}

.rows-why::after {
    content: none;
}

@media screen and (max-width: 849px) {
    .lang-item a::before {
        width: 20px;
        height: 20px;
    }

    .mobile-nav.nav.nav-right .html.custom.html_top_right_text {
        display: none;
    }
}

@media screen and (max-width: 769px) {
    .rows-why .col {
        border-bottom: 1px solid #000000;
    }

    .rows-why .col .icon-box {
        padding: 20px 15px;
    }

    .rows-why .col .icon-box h3 {
        font-size: 18px;
    }

    .rows-why .col .text {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .home-why-choose .heading-title {
        padding: 10px 20px;
    }

    .home-why-choose .heading-title h2 {
        font-size: 18px;
    }

    .rows-why .col .icon-box {
        padding: 15px 12px;
    }

    .rows-why .col .icon-box h3 {
        font-size: 16px;
    }

    .rows-why .col .text {
        font-size: 14px;
    }
}

/* FOOTER */
footer ul {
    padding-left: 0px !important;
}

@media (max-width: 1024px) {
    .product-policy.row {
        flex-wrap: wrap;
    }

    .product-policy .col {
        width: 100%;
    }
}

@media (max-width: 849px) {
    #product-sidebar {
        padding-top: 0;
        padding-bottom: 0;
        /*         display: block !important; */
    }

    .product-policy.row {
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .product-thumbnails.thumbnails.slider {
        display: none;
    }

    .fanpage-container.right {
        bottom: 150px;
    }

    .hotline-phone-ring-wrap {
        bottom: 190px;
    }

    .shortcode-hotline {
        padding: 8px 16px;
        font-size: 16px;
    }

    .shortcode-hotline img {
        width: 24px;
        height: 24px;
    }
}