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

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.page-title-inner.container.align-center.text-center.flex-row-col.medium-flex-wrap .box-ps {
    display: ;
}

.ninja_column_2 span.woocommerce-Price-amount.amount {
    font-size: 18px;
}


.ninja_column_2 del span.amount {
     display: none;
}


p.price.product-page-price.price-on-sale {
    text-align: center;
}

.product-small span.woocommerce-Price-amount.amount {
    font-size: 16px;
}

.price-wrapper .price {
    display: block;
    text-align: center;
}

.product-title-container .product-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0px 0px 10px;
    text-align: center;
}

span.woocommerce-Price-amount.amount {
    font-size: 22px;
}

.product-price-container.is-large .woocommerce-Price-amount.amount{
    font-size: 28px;
}

.product-price-container del span.amount{
    font-size: 20px !important;

}

#mega_menu a:hover {
	color: #fff;
}

.woocommerce-product-gallery__wrapper .slide a img.nam-ngang {
	top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
}

.product-thumbnails a {
	position: relative;
    padding-top: 100%;
	background-color: #808080;
}

.product-thumbnails a img {
	position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
}


.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
    transform: translate(-50%, -50%) !important;
}

.entry-header-text.entry-header-text-top.text-center {
    padding: 0px !important;
}

.container.section-title-container {
    margin-bottom: 5px;
}

.entry-content.single-page {
    padding: 10px !important;
}

.success {
    background-color: #0014df;
}

.box-text-inner.blog-post-inner {
    padding: 10px;
}

span.tagged_as {
    max-height: 258px;
    overflow: hidden;
}

.woocommerce-no-products-found {
    display: none;
}

.shop-container .li {
    margin: 5px 28px !important;
}

.woocommerce-layout__header .woocommerce-layout__header-wrapper {
    display: none !important;
    align-items: center;
    min-height: 60px;
}

#mega-menu-wrap {
    height: 44px !important;
}

.banner {
    background-color: #050B20;
}

.home .section-title-normal {
    border: none;
}

.home .section-title-normal span,
.home .section-title-center span {
    border: none;
    font-size: 22px;
    font-weight: bold;
    text-transform: capitalize;
}

.home .section-title-center span {
    margin: 0 auto;
}

.home .section-title a {
    font-size: 18px;
    color: #050B20;
}

.home .section-title a .icon-angle-right::before {
    content: "" !important;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(./assets/icon/icon-right.svg) center / contain no-repeat;
}

.home .section-title b {
    display: none;
}

.home .section-title.section-title-center span::after {
    content: "";
    display: block;
    width: 50%;
    height: 3px;
    background-color: var(--fs-color-secondary);
    margin: auto;
}


.flickity-prev-next-button.next {
    opacity: 1;
    right: 12px;
    background-color: #fff;
    border-radius: 99px;
    width: 35px;
    height: 35px;
    min-height: unset;
    margin-top: 0 !important;
}

.flickity-prev-next-button.previous {
    opacity: 1;
    left: 12px;
    background-color: #fff;
    border-radius: 99px;
    width: 35px;
    height: 35px;
    min-height: unset;
    margin-top: 0 !important;
}

.blog-single .row.align-center {
	max-width: 1200px;
}

#mega-menu-wrap {
    width: 100%;
    max-width: 250px;
}

#masthead {
    background: url(https://xehoiaz.com/wp-content/uploads/2022/03/pattern-2.svg) !important;
    background-color: #282828 !important;
    color: #282828 !important;
    background-repeat: repeat !important;
    background-size: .725em 0.725em !important;
}

input#woocommerce-product-search-field-0,
input#woocommerce-product-search-field-1,
input#woocommerce-product-search-field-2{
    box-shadow: unset;
    height: 40px;
    border: 1px solid;
    border-color: #000;
    border-radius: 99px !important;
    font-size: 16px;
    background-color: #fff;
}

.header-search-form .flex-col:not(.flex-grow) {
    width: 80px;
    margin-left: -80px;
}

.ux-search-submit {
    height: 40px;
    width: 80px;
    background-color: var(--fs-color-primary) !important;
    color: #fff;
    border-top-right-radius: 99px;
    border-bottom-right-radius: 99px;
}

.nav.nav-right li.has-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.home_banner h2 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    margin: 0;
    margin-bottom: 30px;
}

.home_banner h3 {
    color: var(--fs-color-primary);
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    margin: 0;
    margin-bottom: 30px;
}

.home_banner p {
    margin-top: 50px;
    margin-bottom: 30px;
}

.section-videos .flickity-slider>* {
    max-width: calc(100% / 3 + 30px) !important;
}

.section-videos .parents-col {
    padding: 0px;
}

.section-videos .box {
    position: relative;
}

.section-videos .video-badge {
    position: absolute;
    top: 0;
    color: #fff;
    background-color: #dc3545;
    padding: 0 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom-right-radius: 10px;
}

.section-videos .box-image {
    border-radius: 10px;
}

.section-videos .box-text.text-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-videos .video-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-button-wrapper .button.icon.circle {
    background-color: #FFFFFF;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #FFFFFF;
    margin: 0;
}

.video-button-wrapper .icon-play {
    font-size: 1em !important;
    color: var(--primary-color);
}

.video-button-wrapper .button.icon.circle::before, .video-button-wrapper .button.icon.circle::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--fs-color-primary);
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 currentColor;
    box-shadow: 0 0 0 0 currentColor;
    -webkit-animation: button-ripple 3s infinite;
    animation: button-ripple 3s infinite;
    opacity: .6;
    z-index: -1;
}

@keyframes button-ripple {
    70% {
        -webkit-box-shadow: 0 0 0 var(--glow-size, 15px) currentColor;
        box-shadow: 0 0 0 var(--glow-size, 15px) currentColor;
        opacity: 0;
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 currentColor;
        box-shadow: 0 0 0 0 currentColor;
        opacity: 0;
    }
}


.product-category .box-image {
    border: 2px solid #E9E9E9;
    border-radius: 16px;
}

.product-category .box-badge .box-text {
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    border-radius: 16px;
    width: calc(100% - 10px);
    bottom: 4px;
    background-color: #ffff;
}

.product-category .header-title {
    margin: 0;
    font-size: 16px;
    text-transform: none;
    font-weight: 600;
}

.product-category:hover .header-title {
    color: var(--fs-color-primary);
}

.child-categories {
    justify-content: center;
}

.product-small.box {
    border: 2px solid #E9E9E9;
    border-radius: 16px;
}

.product-small .box-image {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-small .box-text.text-center {
    padding: 15px;
}

.product-small .product-title {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
    height: 43px;
}


.product-small .product-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-small .title-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.product-small .title-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.5px;
    background-color: #E9E9E9;
}

.product-small .price-wrapper {
    text-align: center;
    font-size: 16px;
    background-color: var(--fs-color-primary);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.product-small span.amount {
    color: #fff;
}

.product-small del span.amount {
    color: #e3e3e3;
    opacity: .8;
    text-decoration: line-through;
    font-weight: 450;
    font-size: 16px !important;
    display: none;
}

.product-small .boc {
        position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 15px;
}

.ux-relay__load-more-button {
    min-width: 150px;
    border-radius: 99px;
    font-size: 16px;
    text-transform: math-auto;
    font-weight: 600;
    margin-top: 30px;
}

.post-item .box-image {
    border-radius: 16px;
}

.post-item .box-text {
    padding: 15px 0;
    text-align: left;
}

.post-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-page-row .product-category .header-title {
    font-size: 16px;
    text-transform: none;
    white-space: unset;
    overflow: unset;
    text-overflow: unset;
}

#footer {
    background-color: #F7F7F7;
}

#footer .parent {
    background-color: #F0F0F0;
    padding-top: 40px;
    padding-bottom: 30px;
}

#footer .parent .col {
    padding-bottom: 0;
}

#footer .parent h3 {
    margin-bottom: 0;
    font-size: 20px;
}

#footer .parent p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
}

#footer .parent form {
    margin-bottom: 0;
}

.footer-top .wpcf7 p {
    display: flex;
}

.footer-top .wpcf7 .wpcf7-form-control-wrap {
    width: 100%;
}

.footer-top .wpcf7 .wpcf7-form-control-wrap input {
    margin: 0;
    height: 42px !important;
    border-top-left-radius: 99px !important;
    border-bottom-left-radius: 99px !important;
    background: #fff !important;
}

.footer-top .wpcf7 .wpcf7-submit {
    margin: 0;
    height: 42px;
    border-top-right-radius: 99px !important;
    border-bottom-right-radius: 99px !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
}

.footer-top .wpcf7-spinner,
.footer-top .wpcf7-response-output {
    display: none;
}

.footer-bottom p {
    font-size: 16px;
}

.footer-bottom h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}


.footer-bottom .social-icons {
    color: #000;
    font-size: 1em;
}

.footer-bottom .ux-menu-title {
    font-size: 18px;
    font-weight: 700;
    min-height: unset;
    padding: 0;
    margin-bottom: 10px !important;
}

.footer-bottom .ux-menu-link__link {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.footer-bottom .col {
    padding-bottom: 0;
}

.footer-bottom .bottom .col-inner {
    display: flex;
    justify-content: space-between;
    background-color: #E5E5E5;
    border-radius: 10px;
    padding: 20px;
}

.footer-bottom .bottom .img {
    max-width: 350px !important;
}

/*************** TÙY BIẾN THEO MÀN HÌNH   ***************/
/***Ipad****/
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    	.product-small.box .box-image {
    max-height: 239px !important;
    }
    
    .product-small .product-title {
    font-size: 15px !important;
    }
 
}

/***điện thoại***/
@media only screen and (max-width: 768px) {
	.home_banner .text-box.banner-layer {
		width: 90% !important;
	}
	
	
	.category-filtering.container.text-center.product-filter-row.show-for-medium {
    display: none;
    }

	
	.home_banner h2 {
	    font-size: 20px;
		line-height: 1.4;
		margin-bottom: 15px;
	}
	
	.home_banner h3 {
		font-size: 20px;
    	margin-bottom: 20px;
	}
	
	div#category-select-container {
		display: block;
		border-radius: 15px;
	}
	
	#category-select-container .form-group {
		width: 100% !important;
		margin-bottom: 10px;
	}
	
	button#go-to-category {
		width: 100%;
		margin: 0 !important;
	}
	
	#category-select-container select {
		border: 0 !important;
	}
	
	.home .section-title-normal span, 
	.home .section-title-center span {
		font-size: 20px;
	}
	
	.home .section-title a {
		font-size: 16px;
	}
	
	.product-small.box .box-image {
    max-height: 368px !important;
    }
    
    .product-small .product-title {
    font-size: 12px !important;
    }
}

.shop-page-title {
	display: none;
}

.custom-header-page {
	background: url(/wp-content/uploads/2024/08/Background-11.png);
    min-height: 79px;
    display: flex;
    align-items: center;
}

.custom-header-page .title-breadcrumbs {
	display: flex;
    line-height: 1rem;
}

.dark .breadcrumbs a {
	line-height: 1.6;
}

.dark .breadcrumbs a.home-link {
	min-width: fit-content;
}

.custom-header-page .breadcrumbs {
	line-height: 2rem;
}

/*******hết mobile******/
.breadcrumbs a {
    text-transform: math-auto !important;
}

.breadcrumbs {
    text-transform: math-auto;
    color: #8d8d8d;
    font-weight: 500;
}

.product-small.box .box-image {
    max-height: 244px;
}

.title-breadcrumbs .box-ps {
	position: fixed;
}

.title-breadcrumbs .woocommerce-breadcrumb a:first-child {
	padding-left: 98px;
}

.box-ps a.home-link {
    display: none;
}

.box-ps span.divider {
    display: none;
}

