/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root{
    --box-shadow1: 0px 8px 28px 0px rgba(20, 20, 43, 0.10);
    --box-shadow2: 0px 4px 20px 5px rgba(0,0,0,.1);
    --border:#DEE0EA
}
@font-face {
    font-family: 'BigNoodleTitling';
    src: url('assets/font/BigNoodleTitling.woff2') format('woff2'),
    url('assets/font/BigNoodleTitling.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.header.transparent .header-nav-main .menu-item a{
    color: #1caa40;
}
.price,.h2, h2,.font-bignoodle,a.header-bnt.button.primary.trendy-btn,.header .header-nav-main .menu-item a{
    font-family: "BigNoodleTitling", sans-serif !important;
}
.header .header-nav-main .menu-item a{
    font-size: 1.8em;
}
a.header-bnt.button.primary.trendy-btn {
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 999;
    font-size: 25px;
    font-style: normal;
    line-height: 25px;
    min-height: 45px;
    letter-spacing: 2px;
}
.nav.nav-right>li{
    margin: 0 5px!important;
}
.header-button a.button,.account-item.has-icon>a>i {
    min-width: 45px!important;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 99px;
    border: unset;
    color: #ffffff;
}
.header-button a.button i {
    font-size: 20px!important;
    top: 0!important;
}
.h2, h2 {
    font-size: 3.3em;
    line-height: 55px;margin-bottom: 10px;letter-spacing: 2px;
}
.br-20,.br-20>*{
    border-radius: 20px;overflow: hidden;
}
.br-10,.br-10>*{
    border-radius: 10px;overflow: hidden;
}
.box-shadow{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.text-justify {
	text-align: justify;
}
.cau-chuyen-thuong-hieu p{
    margin-bottom: 5px;
}
.cau-chuyen-thuong-hieu .boxtext-right {
    width: 55%;
}

.img-absolute-home {
    position: absolute;
    bottom: 0;
    max-width: 310px;
    right: 0;
}
.bnt-ccth-home{
	position: absolute;
    bottom: 10px;
    right: 45%;
}
.section-title b{
    background-color:var(--primary-color);opacity:1
}
a.button.trendy-btn {
	color: #ec9222!important;
    padding: 2px 15px 0 35px;
    font-style: italic;
    border: none;
    transition: all 0.3s ease;
    clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%) ;   
	margin: 0;
}
a.button.primary.trendy-btn {
    color: #fff !important;
}
a.button.trendy-btn:hover {
  background-color: #fbae4b!important; /* trượt sang trái */
	color:#fff!important;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Ánh sáng quét */
a.button.trendy-btn:before {
	content:'';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
}

/* Kích hoạt ánh sáng khi hover */
a.button.trendy-btn:hover:before {
  animation: shine 0.8s ease forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.col-slider-newspaper>.col-inner .img,.trendy-partner .img {

    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s;
}
.col-slider-newspaper .flickity-prev-next-button {
    top: 50%;
    bottom: unset;
    margin-top: -18px;
}
.col-slider-newspaper .flickity-prev-next-button.next{
    right: -2%;
}
.col-slider-newspaper .flickity-prev-next-button.previous {
    left: -2%;
}
.col-slider-newspaper>.col-inner .img:hover,.trendy-partner .img:hover{
    transform: scale(1.1);
}
.box-home-sp .box-text-bottom {
    background-color: #fff;
    padding: 5px;
    border-radius: 25px;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.box-home-sp .box-text-bottom img{
    border-radius: 20px;
}
.box-home-sp .box-text{
    padding-bottom: 5px;font-size:100%
}
a#top-link {
    border-radius: 50% 50% 0 0 !important;
    bottom: 0;
    background-color:#fbae4b;
    border: unset;    font-size: 20px;box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
a#top-link i.icon-angle-up{
    font-size: 35px;
    color: #fff;
}
.p-bt0,.post-item{
    padding-bottom: 0!important;
}

.box-blog-post .box-image {
    border-radius: 15px;
}
.box-blog-post p.cat-label {
    background:var(--primary-color);
    position: absolute;
    top: -35px;
    left: 10px;
    font-size: 13px;opacity: 1;
    padding: 4px 7px;border-radius: 5px;
}
.box-blog-post .entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;margin-bottom: 5px;
}
.box-blog-post .entry-meta .posted-on,.box-blog-post .entry-meta .post-author,.blog-list-1 .entry-meta .posted-on{
    display: flex;
    align-items: center;color: var(--primary-color);gap: 5px;
}
.box-blog-post .entry-meta .posted-on,.blog-list-1 .entry-meta .posted-on{
    border-bottom: 1px var(--primary-color) solid;    width: max-content;
}

.box-blog-post .entry-meta svg,.blog-list-1 .entry-meta .posted-on svg{
    width: 17px;    fill: var(--primary-color);
}
.blog-list-1 .entry-meta .posted-on{
    font-size: 13px;
}
.blog-list-1 .entry-meta .posted-on svg{
    width: 14px;
}
.box-blog-post h5.post-title {
    font-size: 1.3em;
    line-height: 35px!important;    font-weight: 600;    font-family: Quicksand, sans-serif;
}
.box-blog-post .is-divider{display: none}

.trendy-box-service {
    position: relative;
    width: 200px;
    height: 200px;    margin: 0 auto;
}

.trendy-box-service .ring-thin {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #ffdeaa;
    box-sizing: border-box;
    transition: transform 1s ease;
}

.trendy-box-service .ring-thick {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid transparent;
    border-left-color: #fa8c00;
    transform: rotate(45deg);
    box-sizing: border-box;
    z-index: 2;
    transition: transform 1s ease;
}

.trendy-box-service .ring-thick.mirror {
    transform: rotate(225deg);
}

.trendy-box-service .dot {
    width: 12px;
    height: 12px;
    background-color: #fa8c00;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    transition: transform 1s ease;
}

.trendy-box-service .dot1 {
    bottom: 25px;
    left: calc(50% + 62px);
}

.trendy-box-service .dot2 {
    top: 25px;
    left: calc(50% - 75px);
}

.trendy-box-service .main-circle {
    position: absolute;
    width: 170px;
    height: 170px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at center, #ffffff, #e5e5e5);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 4;
    transition: all 0.6s ease;
}

.trendy-box-service:hover .ring-thin {
    transform: rotate(360deg);
}

.trendy-box-service:hover .ring-thick {
    transform: rotate(405deg);
}

.trendy-box-service:hover .ring-thick.mirror {
    transform: rotate(585deg);
}

.trendy-box-service:hover .main-circle {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 20px rgba(250, 140, 0, 0.4), inset 0 2px 6px rgba(0,0,0,0.1);
}

.trendy-box-service .main-circle .icon {
    width: 30px;
    height: 30px;
    background: url('https://img.icons8.com/ios/50/fa8c00/globe--v1.png') no-repeat center center;
    background-size: contain;
    margin-bottom: 4px;
}

.trendy-box-service .main-circle .label {
    font-size: 20px;
    font-weight: bolder;
    color: #fa8c00;
}
.trendy-box-service-2.box-wrapper {
    position: relative;
    width: 330px;margin: 0 auto;
}

/* === Box === */
.trendy-box-service-2 .info-box {
    background-color: #ffffff;
    padding: 20px;
    padding-top: 50px;
    border-radius: 25px;
    box-shadow: 7px 4px 2px 0px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    border: 1px #ddd solid;height: 320px;overflow: auto;
}

.trendy-box-service-2 .info-box p {
    margin-bottom: 5px;
}

.trendy-box-service-2 .info-box em {
    font-style: italic;
    font-weight: bold;
}

/* === Ribbon === */
.trendy-box-service-2 .ribbon-wrapper {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    z-index: 10;
}

.trendy-box-service-2 .ribbon-shape {
    width: fit-content;
    padding: 6px 10px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    min-width: 230px;
}

.trendy-box-service-2 .ribbon-wrapper::before,
.trendy-box-service-2 .ribbon-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    z-index: -1;
    border-left: 10px solid transparent;
}

.trendy-box-service-2 .ribbon-wrapper::before {
    left: -10px;
    border-bottom: 10px solid #a65a00;
}

.trendy-box-service-2 .ribbon-wrapper::after {
    right: -10px;
    border-bottom: 10px solid #a65a00;
}

.box-thanhtuu .box-image {
    border-radius: 20px;
    border: 5px var(--primary-color) solid;
}
@keyframes pxl_pulse_border {
    0% {
        transform: scale(1);
        opacity: .67
    }

    100% {
        transform: scale(2.2);
        opacity: 0
    }
}

@-webkit-keyframes pxl_pulse_border {
    0% {
        transform: scale(1);
        opacity: .67
    }

    100% {
        transform: scale(2.2);
        opacity: 0
    }
}

a.button.open-video.icon.circle.is-outline.is-xlarge {
    background: #fff;
    color: var(--primary-color);
    border: unset;
    line-height: 60px;
    font-size: 25px
}

a.button.open-video.icon.circle:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
    animation: pxl_pulse_border 1500ms ease-out infinite;
    -webkit-animation: pxl_pulse_border 1500ms ease-out infinite;
    z-index: -2
}
.text-quyenloi p:before {
    content: '';
    width: 40px;
    height: 4px;
    background: #f99f21;
    display: block;
    position: absolute;
    top: 15px;left: 0;
}
.text-quyenloi{padding-left: 60px}
.line-wave-sp {
    position: absolute;
    bottom: -100px;
    z-index: -1;
}
.img-page-sp-top {
    width: 400px !important;
}
.section-title b:after {
    content: '';
    width: 100%;
    height: 45px;
    background: #fff;
    display: block;
    position: relative;
    bottom: -2.5px;
}
span.section-title-main {
    margin: 0;    -webkit-text-stroke: 20px #ffffff;
    paint-order: stroke fill;
}
.section-sp{z-index: 1}
.product_cat-content.flex {
    gap: 15px;
    justify-content: center;
}
.product_cat-content .cat-item {
    border: 1px solid rgb(189, 189, 189);
    padding: 5px 10px;
    border-radius: 25px;
    transition: all 0.5ms;
    background-color: var(--primary-color);
}
.product_cat-content .cat-item a{
    white-space: nowrap;
    color: #ffffff;
}
.product-small img.featured-image {
    left: -21px;
    width: 75px;
}
.product-small.box .box-image {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    border-radius: 20px;background-color: #fff;
}
.product-small.box span.price {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.7em;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px 0 0 0;box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.box-sp-home{
    margin-top: -60px
}

.product-small.box .box-image img {
    transition: all 0.6s ease;
    scale: 0.9;border-radius: 15px;
}
.product-small.box:hover .box-image img {
    scale: 1;

}
.product-small.box p.product-title {
    font-size: 17px;
    text-align: center;
    font-weight: 800;
}
.quantity .button,.quantity input{
    border: unset!important;
    box-shadow: unset!important;
}
.quantity input[type=number] {
    max-width: 3em !important;
    width: 3em;
    font-size: 17px;
}
.quantity{
    border: 1px solid #dedede;
}
#footer .absolute-footer.dark{
    color: #fff;
}
#trendy-popup.lightbox-modal {
    transform: scale(0);
    transition: all .3s ease-in-out;
    display: flex!important;
    align-items: center;
    opacity: 0;position: fixed;z-index: 99999;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}
div#trendy-popup.show {
    transform: scale(1);
    opacity: 1;
}
#trendy-popup .modal-content {
    max-width: 850px;background: #fff;
    padding: 25px 25px 0;
    border-radius: 25px;
}
#trendy-popup .modal-body {
    flex: 1 1 auto;
    padding: 20px 18px;
    background: #fff;
    border-radius: 10px;
}
#trendy-popup .modal-body .col{padding-bottom: 0!important;}
#trendy-popup .modal-body h1.product-title {
    font-size: 20px;
    margin-top: 15px;
}
#trendy-popup .modal-body .price-wrapper{padding: 5px}
#trendy-popup .modal-body .note-price{
    font-size: 13px;
}
#trendy-popup .modal-body span.amount{
    font-size: 20px;
}
#trendy-popup .modal-body .title-form{margin-top:10px;margin-bottom: 0}
#trendy-popup .modal-body p.small{font-size: 14px}
#trendy-popup .popup-close{
    position: absolute;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    font-size: 30px;
    border-radius: 50%;
    text-align: center;
    top: -15px;
    right: -15px;
    z-index: 99;    cursor: pointer;
}
#trendy-popup .popup-close .close-line{
    position: absolute;
    display: inline-block;
    background: #000;
    transform: rotate(45deg);
    width: 22px;
    height: 2px;
    top: 22px;
    left: 13px;
}
#trendy-popup .popup-close .close-line + .close-line{
    transform: rotate(-45deg);
    left: 12px;
}
#trendy-popup form{
    margin-bottom: 0;
}
.trendy-form .input-filled p {
    margin-bottom: 0;
    position: relative;
}
.trendy-form .input-filled:not(.submit) i {
    z-index: 1;
    position: absolute;
    top: 50%;
    right: 22px;
    font-size: 17px;
    color: #c5c5c5;
    -webkit-transform: translate(0,-50%);
    -khtml-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
}
.trendy-form .input-filled input{
    margin-bottom: 0;
    border: unset;
    box-shadow: unset;
}
.trendy-form .input-filled label {
    position: absolute;
    top: 6px;
    left: 15px;
    font-size: 14px;
    color: #666;
    z-index: 1;
    width: max-content;-webkit-transition: .3s cubic-bezier(.24,.74,.58,1);
    -khtml-transition: .3s cubic-bezier(.24,.74,.58,1);
    -moz-transition: .3s cubic-bezier(.24,.74,.58,1);
    -ms-transition: .3s cubic-bezier(.24,.74,.58,1);
    -o-transition: .3s cubic-bezier(.24,.74,.58,1);
    transition: .3s cubic-bezier(.24,.74,.58,1);
}
.trendy-form .input-filled:focus-within label {
    top: -10px;color: #333;font-size: 12px; background: #fff; padding: 2px 5px;
}
.trendy-form .input-filled textarea {
    margin-bottom: 0;
}
.trendy-form .wpcf7-form-control:not(.wpcf7-submit) {
    height: 55px;
    padding-left: 15px;
    padding-top: 22px;
    padding-bottom: 0;
    font-size: 17px;
    color: #121212;
    background-color: #fff;
    border: 2px solid #eee;border-radius: 10px;margin-bottom: 0;
}
.trendy-form  .input-filled.submit{
    text-align: center;
}
.trendy-form .wpcf7-submit {
    padding: 0 38px;
    line-height: 51px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    background: #151515;
    color: #fff;letter-spacing: 1px;margin: 0;
}
.trendy-form .wpcf7-submit i {
    font-size: 18px;margin-left: 5px; color: var(--fs-color-secondary);
}
.trendy-form .wpcf7-submit:hover,.trendy-form .wpcf7-submit:focus {
    background: var(--fs-color-secondary);
    color: #151515
}
.trendy-form .wpcf7-submit:hover i,.trendy-form .wpcf7-submit i:focus {
    color: #151515
}
.wpcf7 .wpcf7-not-valid-tip{
    font-size: 12px;
}
.blog-list-1 {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 15px;
    border-top: 1px dashed var(--border);
    padding-top: 20px;
    margin-top: 20px
}

.blog-list-1:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0
}

.blog-list-1 .post-thumbnail {
    flex: 0 0 38%;
    max-width: 38%
}

.blog-list-1 .post-thumbnail img {
    border-radius: 20px
}

.blog-list-1 .entry-title {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.blog-list-1 .post-date {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4285714286;
    color: var(--text_light)
}
.main-menu-overlay {
    opacity: 0.9!important;
}
.off-canvas-center .nav-vertical>li>a {
    font-size: 2.5em;
}
.trendy-partner {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);    justify-items: center;
}
@media screen and (min-width: 850px) {

    .box-chungnhan .large-2 {
        flex-basis: 20%;
        max-width: 20%;
    }
    .box-chungnhan .large-7 {
        flex-basis: 55%;
        max-width: 55%;
    }

}
@media screen and (min-width: 480px) {
    .container{
        padding: 0 30px;
    }
    .box-thanhtuu>.col{
        flex-basis: 32%;
        max-width: 32%;
    }
}
@media screen and (max-width: 849px) {
    .header-button a.button,.account-item.has-icon>a>i {
        min-width: 35px!important;
        min-height: 35px;
    }
    .product_cat-content.flex{
        justify-content: start;
        overflow-x: scroll;
    }
    .trendy-partner{
        display: flex;
        flex-wrap: nowrap;
        overflow: auto;
    }
    .trendy-partner .img{
        width: 40% !important;flex-shrink: 0; scale: 1
    }
    .line-wave-sp {
        bottom: -100px;
        left: -270px;
        width: 160% !important;
    }
}

@media only screen and (max-width: 549px) {
    .h2, h2{
        font-size: 2.7em;
    }
    .cau-chuyen-thuong-hieu .boxtext-right{
        width: 100%;
    }
    .cau-chuyen-thuong-hieu .boxtext-right-last{
        width:calc(100% - 190px) ;
    }
    .img-absolute-home{
        max-width: 210px;
    }

    .trendy-box-service{
        width: 170px;
        height: 170px;
    }
    .trendy-box-service .main-circle{
        width: 140px;
        height: 140px;
    }
    .trendy-box-service .dot2 {
        top: 25px;
        left: calc(50% - 68px);
    }
    .trendy-box-service .dot1 {
        bottom: 25px;
        left: calc(50% + 55px);
    }
    .line-wave-sp {

        bottom: -50px;
        width: 150% !important;
        left: -120px;
    }
    .line-wave-sp-bottom {
        width: calc(100% - 200px);
    }
}