/*
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.   ***************/
.copyright-footer {
	color: #ffffff;
}
:root {
    --theme-color: #ffa034;
    --theme-color2: #332617;
    --black: #000;
    --fa6: 'Font Awesome 6 Pro'
}
.nav>li>a {
	color: none;
}
.mfp-close-btn-in .mfp-close {
    color: #ffffff;
}
.section-title-container {
    margin-bottom: 0 !important;
}
.slider-nav-circle .flickity-button {
    width: 44px;
    height: 44px;
    box-shadow: 0px 3px 6px #00000029 !important;
    top: 45% !important;
    margin-top: 0 !important;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center
}

.slider-nav-circle .flickity-button svg {
    display: none
}

.slider-nav-circle .flickity-button:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f061';
    color: var(--theme-color);
    font-weight: 300;
    font-size: 20.5px
}

.slider-nav-circle .flickity-button.previous:before {
    content: '\f060'
}

.slider-nav-circle .flickity-button:hover {
    color: #fff;
    background: var(--theme-color)
}

.slider-nav-circle .flickity-button:hover:before {
    color: #fff
}
/*Header*/
#header .header-wrapper.stuck .header-bg-color,#header .header-bg-color,#header .active-search .header-bg-color {
    background: #fff
}

#header .header-wrapper.stuck .header-nav-main>.menu-item>a,#header .header-wrapper.stuck .btn-search,#header .header-wrapper.stuck .icon-shopping-basket:before,#header .header-wrapper.active-search .header-nav-main>.menu-item>a,#header .header-wrapper.active-search .btn-search,#header .header-wrapper.active-search .icon-shopping-basket:before {
    color: #292929
}
#header .header-wrapper.stuck {
    -webkit-animation: stuckMoveDown .6s;
    animation: stuckMoveDown .6s;
    height: 80px;
    position: fixed !important
}

#header .header-wrapper.stuck .header-main {
    display: block
}
#header .header-wrapper.stuck .header-main {
    height: 70px !important
}
.header-nav .menu-item .nav-top-link{
	font-size: 15px;
}
.logo-center .logo{
	margin: 0;
}
.header-inner .nav-left {
    justify-content: center;
}
.header-nav .menu-item a{
	padding: 0 10px;
}
.header-nav .header-search a,
.header-nav .cart-item a {
	padding: 0 10px;
}
/* .header-nav.nav-right li {
    margin: 0 10px;
} */
.nav li:last-child {
    margin-right: 0 !important;
}
#header .icon-shopping-basket:before, #header .icon-user:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f290';
    color: #292929;
    font-weight: 300;
}
#header .icon-shopping-basket:after {
    background: #ffa034;
    height: 16px;
    line-height: 16px;
    min-width: 16px;
    opacity: 1;
    top: 16px;
    padding: 0;
    right: -6px;
}
#masthead .cart-item .nav-dropdown {
    min-width: 400px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .06666666666666667);
    border: 1px solid #d9d9d9;
}
.t-checkout .woocommerce-cart-form__cart-item .remove, #masthead .cart-item .remove {
    border: none;
    color: #2d2d2d;
    opacity: 1 !important;
}
/*End-header*/
/* Section-customer */
.section-customer {
    padding-bottom: 47px !important;
}
.section-customer .col {
    padding: 0 12.5px 0;
}
.section-customer .icon-box {
    padding: 30px;
    border: .5px solid #c2c2c2;
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s ease;
}
.section-customer .icon-box:hover {
    border-color: #fff;
    background: #fdfffc;
}
.section-customer .icon-box:hover .icon-box-text h3,
.section-customer .icon-box:hover .icon-box-text p {
	color: #000000 !important;
}

.section-customer .icon-box-text h3 {
	font-size: 18px;
    line-height: 22px;
    margin-bottom: 8px;
}
.section-customer .icon-box-text p {
    font-size: 16px;
    line-height: 21px;
}
/* END-Section-customer */

/* Section-category */
.section-category .box-image {
    border-radius: 6px;
}
.section-category .box-image:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: transparent linear-gradient(180deg, #32965d00 0%, #00270a00 21%, #00270ab3 100%) 0% 0% no-repeat padding-box;
    opacity: .5;
    z-index: 2;
    -webkit-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
    z-index: 1;
}
.section-category .box-text {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 45px 24px;
    z-index: 2;
}
.section-category .box-text h2 {
    color: #fff;
    font-size: 24px;
    line-height: 22px;
    margin: 0 0 11px;
}
.section-category .box-text p {
    color: #fff;
    margin: 0;
    font-size: 15px;
    line-height: 20px;
}
/* END-section-category */
/* Section-intro */
.section-intro .title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}
.section-intro .title h3 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffa034;
    margin-bottom: 20px;
}
.section-intro .title p {
    font-size: 16px;
    line-height: 22px;
}
.product-small.box {
    background: #fff;
    padding: 30px 15px 20px;
    border-radius: 6px;
}
.product-small.box .box-image {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    overflow: hidden;
    padding-top: 75%;
    position: relative;
}
.product-small.box .image-tools.top.right {
    filter: unset;
    opacity: 1;
    pointer-events: all;
    padding: 0;
    left: 26px;
    right: unset;
    top: 20px;
}
.product-small.box .box-image img {
    bottom: 0;
    height: 100%;
    left: 0;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.product-small.box .box-text {
    padding: 0;
    margin-top: 35px;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}
.product-small.box .box-text:before {
    content: '\f005 \f005 \f005 \f005 \f005';
    font-family: 'Font Awesome 6 Pro';
    position: absolute;
    bottom: 103%;
    color: var(--theme-color);
    font-weight: 700;
    letter-spacing: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 17px;
}
.product-small.box .title-wrapper {
    order: 1;
    width: 100%;
}
.product-small.box .product-title {
    margin-bottom: 12px;
    margin-top: 0;
}
.product-small.box .product-title a {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    margin: 0;
    color: #262626;
    height: 44px;
    overflow: hidden;
}
.product-small.box .price-wrapper {
    order: 2;
    flex: 1;
}
.product-small.box .price-wrapper .price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
}
.product-small.box .price-wrapper del {
    text-decoration: unset;
    height: 21px;
/*     margin-right: 10px; */
}
.product-small.box .price-wrapper del .amount {
    font-size: 14px !important;
    line-height: 23px;
    color: #606060;
    text-decoration: line-through;
}
.product-small.box .price-wrapper ins {
    display: flex;
    align-items: center;
}
.product-small.box .price-wrapper .amount {
    color: #262626;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}
.product-small.box:hover .add-to-cart-button {
    top: -60px;
    opacity: 1;
}
.product-small.box .add-to-cart-button {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all .4s ease;
    white-space: nowrap;
    padding: 0 !important;
}
.product-small.box .add-to-cart-button a {
    margin: 0;
    background: var(--theme-color);
    box-shadow: none;
    color: #fff;
    border: 1px solid var(--theme-color);
    font-size: 14px;
    border-radius: 50px;
    font-weight: 400;
    width: fit-content;
    padding: 0 15px;
    height: 35px;
    line-height: 32px;
    text-transform: none;
}
.product-small.box .add-to-cart-button a:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f290';
    margin-right: 5px;
    font-weight: 300;
}
.button.btn-view {
    width: fit-content;
    margin: 10px auto 0px;
    display: flex;
    align-items: center;
    height: 45px;
    padding: 0 32px;
    letter-spacing: .32px;
    font-size: 16px;
    line-height: 20px;
    border-radius: 50px !important;
    background-color: var(--theme-color) !important;
    box-shadow: none !important;
}
.section-intro .button.btn-view:hover {
    background-color: #fff !important;
    color: var(--theme-color2);
    border-color: var(--theme-color);
}
.col-phu-kien{
	margin-top: 50px;
}
/* END-Section-intro */
/* Section-news */
.section-news {
    padding-top: 93px !important;
}
.section-title-normal, .section-title-normal span{
	border-bottom: 0;
}
.section-news .section-title-normal {
    margin-bottom: 0;
}
.section-news .section-title-main{
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.5;
}
.section-news .section-title-main {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 46px;
    color: var(--theme-color);
    font-weight: 700;
    padding: 0;
}
.section-news .is-divider {
	display: none;
}
.section-news .blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}
.section-news .blog-grid .col.post-item:first-of-type {
    grid-column: span 2;
    grid-row: span 2;
}
.section-news .box-blog-post {
    border: 0;
    box-shadow: none !important;
		border-radius: 10px;
    transition: all .3s ease;
}
/* .section-news .blog-grid .col.post-item:first-of-type .box-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#000));
    background-image: -o-linear-gradient(transparent, #000);
    background-image: linear-gradient(transparent, #000);
    z-index: 2;
    opacity: .5;
    -webkit-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
    border-radius: 10px;
} */
.section-news .blog-grid .col.post-item:first-of-type .overlay{
	background-color: rgba(8, 8, 8, 0.57) !important;
}
.section-news .box-blog-post .box-image {
	border-radius: 6px;
}
.section-news .blog-grid .col.post-item:first-of-type .image-cover {
    padding-top: 95% !important;
}
.section-news .blog-grid .col.post-item:first-of-type .box-text {
    position: absolute;
    bottom: 0;
    padding: 0;
}
.section-news .blog-grid .col.post-item:first-of-type .box-text:hover a{
	color: #ffffff;
}
.section-news .box-blog-post .box-text {
    padding-bottom: 1.4em;
    padding: .7em 0 1.4em;
}
.section-news .blog-grid .col.post-item:first-of-type .post-title {
    z-index: 2;
    position: relative;
    color: #fff;
    font-size: 22px;
    padding: 0 25px 30px;
    height: auto;
}
.box-blog-post .box-text .post-title {
    margin-top: 0;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
}
.section-news .blog-grid .post-title {
    color: #292929;
    height: auto !important;
    margin-bottom: 0 !important;
}
.section-news .button {
    margin: 12px auto 0;
    display: block;
    width: fit-content;
    background-color: #ffa034 !important;
    height: 45px;
    line-height: 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    padding: 0 40px;
}
/* END-Section-news */
/* Section-review */
.section-review {
	padding-top: 45px;
}
.section-review .col {
	padding-bottom: 0;
}
.slider-type-fade .flickity-slider>.is-selected {
    opacity: 1;
    z-index: 2;
}
.slider-type-fade .flickity-slider>* {
    left: 0 !important;
}
.section-review .title {
    padding: 15px;
    position: absolute;
    max-width: 454px;
    right: 140px;
    top: 10px;
    z-index: 999;
}
.section-review .title h2 {
    font-size: 32px;
    line-height: 45px;
    margin-bottom: 21px;
    text-transform: uppercase;
    color: #262626;
}
.section-review .title strong {
    color: #ffa034;
    display: block;
}
.section-review .title p {
    color: #5b5b5b;
    font-size: 20px;
    line-height: 26px;
    margin: 0;
}
.section-review .slider-wrapper {
    width: calc(100% - 118px);
    margin: 0 auto;
}
.section-review .slider .col {
    padding-bottom: 0;
    width: 100%;
}
.section-review .box {
    display: flex;
    align-items: flex-end;
    margin-right: 0;
    transition: all 1s ease-in-out;
}
.section-review .box .box-image {
    flex-shrink: 0;
    width: 49% !important;
    max-width: 471px;
    background: #fff;
    border-radius: 10px;
}
.section-review .box .image-cover {
    opacity: 0;
}
.section-review .image-cover {
    border-radius: 10px;
}
.flip-slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%
}

.flip-slider .list-flip {
    height: 100%;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-radius: 6px;
    overflow: hidden;
    grid-gap: 0
}

.flip-slider .list-flip img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.flip-slider .list-flip .image {
    transform: rotateY(-180deg);
    transition: all .5s linear;
    overflow: hidden;
    opacity: 0;
    width: 100%
}

.flip-slider .list-flip .flip-item {
    width: 471px;
    height: 570px;
    position: absolute
}

.flip-slider .list-flip .image:first-of-type .flip-item {
    left: 0;
}

.flip-slider .list-flip .image:nth-of-type(2) .flip-item {
    left: -100%
}

.flip-slider .list-flip .image:nth-of-type(3) .flip-item {
    left: -200%
}

.flip-slider .list-flip .image:nth-of-type(4) .flip-item {
    left: -300%
}

.flip-slider .list-flip .image:nth-of-type(2) {
    transition-delay: .1s;
}

.flip-slider .list-flip .image:nth-of-type(3) {
    transition-delay: .2s
}

.flip-slider .list-flip .image:nth-of-type(4) {
    transition-delay: .25s
}

.section-review .col.is-selected .flip-slider .image {
    transform: rotateY(0);
    opacity: 1;
}
.section-review .slider .box-text {
    border-radius: 0 50px 0 0;
    background: var(--theme-color2);
    color: #fff;
    padding: 45px;
    margin-bottom: 54px;
    max-height: 247px;
}
.section-review .slider .box-text p:first-of-type {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 26px;
    margin-top: 0;
    padding-left: 79px;
    position: relative;
    font-weight: 700;
}
.section-review .slider .box-text p:first-of-type:before, .section-review .slider .box-text p:first-of-type:after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 44px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 4px;
}
.section-review .slider .box-text p:first-of-type:after {
    left: 45px;
}
.section-review .slider-nav-circle .flickity-button {
    top: unset !important;
    bottom: 54px;
    width: 74px;
    background: #f6fff9;
}
.section-review .slider-nav-circle .flickity-button.previous {
    border-radius: 40px 0 0 40px;
    left: -59px;
}
.slider-nav-circle .flickity-button:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f061';
    color: var(--theme-color);
    font-weight: 300;
    font-size: 20.5px;
}
.slider-nav-circle .flickity-button.previous:before {
    content: '\f060';
}
.section-review .slider-nav-circle .flickity-button.next {
    border-radius: 0 40px 40px 0;
    right: -59px;
}
.section-review .slider-nav-circle .flickity-button:hover {
    background: var(--theme-color);
}
/* END-Section-review */


/*Custom CSS Widgets Product Sidebar thu ngắn text thành [...]*/
.product_list_widget .product-title {
	display: block;
  	display: -webkit-box;
  	font-size: 16px;
  	line-height: 1.3;
  	-webkit-line-clamp: 1;  /* số dòng hiển thị */
  	-webkit-box-orient: vertical;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

/*Tablet*/
@media screen and (max-width: 1023.98px){
	.section-customer {
		padding-top: 30px !important;
	}
	.section-customer .icon-box-img{
		width: 60px !important;
	}
}
@media (min-width: 850px){
    header#header .nav-dropdown {
        display: block;
    }
    header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        background: #fff;
        width: 250px;
        padding: 0;
        display: none !important;
        border-radius: 5px;
        -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
        box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    }
    header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
        font-weight: 400;
    }
    header#header .nav-dropdown li:hover > ul.sub-menu{
        display: block !important;
    }
    header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }
	.nav-dropdown-bold .nav-column li>a {
		border-radius: 6px;
	}
	.nav-dropdown.nav-dropdown-bold>li>a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
    header#header .nav-dropdown li.menu-item-has-children > a {
        font-weight: 400;
        text-transform: none;
        color: rgba(102,102,102,.85);
		font-size: 16px;
    }
    header#header .nav-dropdown li.active>a {
        color: #e82c2a;
    }
}
@media screen and (max-width: 849.98px) {
    .section-review .title {
        width: calc(100% - 118px);
        position: unset;
        max-width: 100%;
        margin: 0 auto;
    }
	.section-review .box .image-cover {
        padding-top: 100% !important;
    }
	.section-review .slider .box-text {
        padding: 20px;
        margin-bottom: 25px;
    }
	.section-review .slider .box-text p:first-of-type {
        padding-left: 50px;
        margin-bottom: 15px;
        font-size: 16px;
    }
	.section-review .slider .box-text p:first-of-type:before, .section-review .slider .box-text p:first-of-type:after {
        width: 10px;
        height: 30px;
        left: 8px;
    }
	.section-review .slider .box-text p:first-of-type:after {
        left: 26px;
    }
	.section-review .slider-nav-circle .flickity-button {
        bottom: 25px;
    }
}
/*Mobile*/
@media screen and (max-width: 767.98px){
    .section-customer .col {
        padding-bottom: 20px;
    }	
	.slider-nav-circle .flickity-button {
        width: 30px !important;
        height: 30px !important;
        min-height: unset;
    }
	.section-intro .slider-nav-circle .flickity-button:hover {
    color: #fff;
    background: var(--theme-color) !important;
    }
	.section-news .section-title-main {
        font-size: 23px;
        margin-bottom: 20px;
    }
	.section-news .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }
	.section-news .blog-grid .post-item:nth-of-type(n+2) .box {
        display: flex;
        align-items: center;
    }
	.section-news .blog-grid .post-item:nth-of-type(n+2) .box-image {
        width: 37%;
        flex-shrink: 0;
    }
	.section-news .blog-grid .post-item:nth-of-type(n+2) .box-text {
        padding: 0 0 0 10px;
    }
	.section-news .blog-grid .post-item:nth-of-type(n+2) .post-title {
        font-size: 14px;
    }
	.section-news .blog-grid .col.post-item:first-of-type {
    	grid-column: span 1;
	} */
	.section-review .slider-wrapper, .section-review .title {
        width: 100% !important;
    }
	.section-review .box {
        width: 100%;
		flex-direction: column;
    }
	.section-review .box .box-image {
        width: 100% !important;
    }
	.section-review .slider .box-text {
        border-radius: 0 0 6px 6px;
    }
	.section-review .slider-nav-circle .flickity-button.previous {
        left: -15px;
    }
	.section-review .slider-nav-circle .flickity-button.next {
        right: -15px;
    }
	.section-review .slider-nav-circle .flickity-button {
        bottom: 30%;
    }
}


 @media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}