/*
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.   ***************/
/* css header main menu */
div#masthead {
    background-color: #fff;
}
div#masthead ul li.menu-item a.nav-top-link {
    color: #222;
    font-size: 16px;
    font-weight: 500;
    padding-right: 60px !important;
}
input#woocommerce-product-search-field-0, input#woocommerce-product-search-field-1 {
    border: 1px solid #0c8796;
    height: 38px;
    min-height: 38px;
    line-height: 38px;
    box-shadow: 0 0;
    border-radius: 8px 0 0 8px;
}
button.ux-search-submit.submit-button {
    height: 38px;
    background: #0c8796;
    width: 60px;
    border-radius: 0 8px 8px 0;
}

/* css trang chủ */
/* css section danh mục */
.title-home h2 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}
.stack-danhmuc {
    overflow: auto;
    display: flex;
    justify-content: space-between;
}
.stack-danhmuc a.plain {
    flex-basis: 18%;
    flex-shrink: 0;
}
.icon-box.box-danhmuc {
    display: flex;
    align-items: center;
    justify-content: start;
    cursor: pointer;
}

/* css section tab product */
.tab-pro ul li a {
    color: #000;
    font-weight: 300;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #dde1ef;
}
.tab-pro ul li.active a, .tab-pro ul li a:hover {
    background: #0c8796;
    color: #fff;
}

/* css mỗi sản phẩm */
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    color: #444;
    text-transform: capitalize;
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin-bottom: 10px;
}
.product-small.box .price span.amount bdi {
    color: #f08522;
    font-size: 15px;
}
.badge-inner.secondary.on-sale {
    background: #fcaf17;
    border-radius: 4px;
}
.callout.badge.badge-circle {
    height: 20px;
}
.callout.badge.badge-circle span.onsale {
    font-size: 14px;
    font-weight: 300;
    line-height: 15px;
}

/* css btn xem thêm */
a.button.primary.btn-xemthem {
    background: bottom;
    color: #222;
    font-weight: 300;
    text-transform: initial;
    font-size: 19px;
    padding: 0 30px;
    border: 1px solid #122;
}
a.button.primary.btn-xemthem:hover {
    color: #f08522;
    box-shadow: 0 0;
}

/* css chi tiết sản phẩm */
/* css breadcrumbs */
.page-title-inner {
    min-height: 0;
    padding: 14px 0 14px 5px;
}
.page-title-inner .flex-col.medium-text-center {
    padding: 0;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase {
    text-transform: inherit;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase a {
    color: #111;
    font-size: 15px;
}

.single-product .product-info {
    padding-top: 0;
}
.single-product h1.product-title.product_title.entry-title {
    font-size: 22px;
}
.single-product p.ma-sp {
    font-size: 15px;
}
/* css giá sản phẩm */
p.price.giabienthe ins span.amount bdi {
    color: #f08522;
}
p.price.giabienthe del span.amount bdi {
    font-size: 15px;
}

/* css các biến thể */
.single-product table.variations .ux-swatch {
    box-shadow: 0 0;
}
.single-product table.variations .ux-swatch.ux-swatch--label {
    border: 1px solid #DDE1EF;
    box-shadow: 0 0;
}
.single-product table.variations .ux-swatch.selected {
    border: 2px solid #f08522;
}

/* css mua ngay và thêm vào giỏ */
.single-product .product-info form.cart {
    margin-bottom: 0;
}
button.single_add_to_cart_button.button {
    background-color: #0c8796;
    opacity: 1;
    border-radius: 4px;
}
button#buy_now_button {
    background-color: #f08522;
}

/* css chính sách thêm vào chi tiết sản phẩm */
.col.col-padding {
	padding-bottom: 0;
}
.row-cs-pro>.col {
    background: #f7f8fa;
    padding: 10px !important;
}
.box-cs-pro {
    display: flex;
    align-items: center;
}
.box-cs-pro .icon-box-img+.icon-box-text {
    padding-left: 10px;
}
.box-cs-pro p {
    margin-bottom: 0;
    font-size: 15px;
}
div#cs-thanh-toan p, div#cs-doi-hang p, div#cs-van-chuyen p, div#cs-giam-sau p {
    margin-bottom: 5px;
    font-size: 15px;
}
/* css đặc điểm */
.ct-dacdiem {
    margin-top: 15px;
}
.ct-dacdiem p {
    margin-bottom: 8px;
}
.ct-dacdiem ul li {
    list-style: none;
    background-image: url(/wp-content/uploads/2022/06/3717f1481a3412c7be6eac58c09766ac7b4e917834fc02d6ecf712f5.svg);
    background-repeat: no-repeat;
    background-position: left top 5px;
    padding-left: 24px;
}
.product-footer .woocommerce-tabs {
	border-top: none;
	padding-top: 0;
}

/* css danh mục sản phẩm */
.archive.tax-product_cat .flex-col.flex-grow.medium-text-center {
    background: #f8f9fa;
    padding: 8px;
    margin-right: 15px;
}


/* css footer */
.footer-widgets div#block_widget-4 {
    margin-bottom: 0;
}
.ct-foo p {
    margin-bottom: 5px;
}
.ct-foo p, .ct-foo p a {
    font-size: 15px;
	color: #000;
}
.ct-icon p:nth-child(2) {
    background-image: url(/wp-content/uploads/2022/06/map.svg);
    padding-left: 40px;
}
.ct-icon p:nth-child(3) {
    background-image: url(/wp-content/uploads/2022/06/phone.svg);
    padding-left: 40px;
}
.ct-icon p:nth-child(4) {
    background-image: url(/wp-content/uploads/2022/06/email.svg);
    padding-left: 40px;
}
.ct-icon p {
    background-repeat: no-repeat;
    background-position: left;
    background-size: 30px;
    line-height: 20px;
    margin-bottom: 10px;
}
.blog-foo .col.post-item {
    padding-bottom: 5px;
}
a#top-link {
    background: #0c8796;
    border: 2px solid #0c8796;
    color: #fff;
}

/* css trang giỏ hàng */
.woocommerce-cart div#content {
    background: #f8f8f8;
}
.woocommerce-cart form.woocommerce-cart-form, .cart-sidebar.col-inner {
    background: #fff;
    padding: 15px 20px;
    border-radius: 5px;
}
.woocommerce-cart .woocommerce.row.row-large.row-divided>.col {
    padding: 15px;
}
.woocommerce-cart .cart-collaterals {
    border-left: 0 !important;
}
.woocommerce-cart .shop_table th {
    font-weight: 300;
    text-transform: initial;
}
.woocommerce-cart a.checkout-button.button.alt.wc-forward {
    background-color: #fcaf17;
    border-radius: 4px;
    font-weight: 200;
    font-size: 18px;
}
.woocommerce-cart input#coupon_code {
    box-shadow: 0 0;
}
.woocommerce-cart input.is-form.expand {
    background-color: #fcaf17;
    color: #fff;
    text-shadow: 0 0;
    border-radius: 4px;
    font-size: 18px;
}
.woocommerce-cart a.button-continue-shopping.button.primary.is-outline {
    background-color: #fcaf17;
    border: 2px solid #fcaf17;
    color: #fff;
}

/* css trang thanh toán - checkout */
.woocommerce-checkout .row.row-main {
	background-color: #fff;
	padding-top: 15px;
}
input#billing_first_name, .woocommerce-checkout input#billing_address_1, .woocommerce-checkout input#billing_phone, .woocommerce-checkout input#billing_email, .woocommerce-checkout textarea#order_comments {
	border-radius: 6px;
	box-shadow: none;
	border-color: #000;
}
.woocommerce-checkout p#billing_address_1_field {
	margin-right: 0px;
}
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr th {
	text-transform: initial;
	color: #000;
}
.woocommerce-checkout .has-border {
	border: 1px solid #1e1e1e;
	border-top: 4px solid #8bbea5;
}
.woocommerce-checkout .woocommerce-billing-fields {
    padding-top: 15px;
    border-top: 4px solid #8bbea5;
}
.woocommerce-checkout .ts-product-image {
    width: 52px;
    height: 45px;
    padding-right: 7px;
    vertical-align: middle;
    float: left;
}
button#place_order {
	background: #fcaf17;
	width: 100%;
	border-radius: 4px;
}
/* end css trang thanh toán - checkout */

@media (max-width: 1060px) and (min-width: 992px) {
	/* 	css header menu */
	div#masthead ul li.menu-item a.nav-top-link {
		font-size: 15px;
		padding-right: 10px;
	}
}

@media (max-width: 992px) and (min-width: 850px) {
	/* 	css header menu */
	div#logo {
		margin-right: 0;
	}
	div#masthead ul li.menu-item a.nav-top-link {
		font-size: 14px;
		padding-right: 0px;
	}
}

@media (min-width: 768px) {
	/* 	css danh mục */
	.icon-box.box-danhmuc {
		background: #f6f0d0;
		padding: 10px 5px;
	}
}

@media (max-width: 768px) {
	/* 	css menu mobile */
	.sidebar-menu.no-scrollbar {
		padding-top: 0;
	}
	.mfp-content {
		background-color: #fff !important;
	}
	.mfp-content ul li.menu-item a {
		color: #000;
		font-weight: 400;
		font-size: 16px;
	}
	/* 	css danh mục */
	.col-danhmuc>.col-inner {
		overflow-x: auto;
	}
	.stack-danhmuc .icon-box {
		display: flex;
		flex-direction: column;
		-webkit-box-align: center;
		align-items: center;
		flex-shrink: 0;
	}
	.stack-danhmuc a.plain {
		flex-basis: 29%;
	}
	.icon-box.box-danhmuc .icon-box-img {
		background: #f6f0d0;
		border-radius: 50%;
		padding: 8px;
		margin-bottom: 5px;
	}
	.ct-danhmuc p {
		font-size: 15px;
	}
	.box-danhmuc .icon-box-text {
		padding-left: 0 !important;
	}
	/* 	css tab product */
	.tab-pro>ul.nav {
		overflow-y: scroll;
		justify-content: unset;
		overflow-x: auto;
		flex-wrap: unset;
	}
	.tab-pro>ul.nav li a {
		width: 129px;
		padding: 10px;
		justify-content: center;
		font-size: 14px;
	}
}

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


}