/*
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 {
	--adauto-red: #c8112c;
	--adauto-red-dark: #a30e24;
	--adauto-dark: #141414;
	--adauto-text-muted: #999999;
	--btn-main: #db1a21;
}

/* === SECTION: Header ===
   Header dùng Header Builder gốc của Flatsome (Customize > Header) - không override file
   template. CSS dưới đây bám vào ID/class thật của Flatsome nên áp dụng dù bạn cấu hình
   thêm/bớt phần tử gì trong Customizer. */
#top-bar {
	background: var(--adauto-dark);
}

#top-bar .nav a {
	color: #cccccc;
}

#top-bar .nav a:hover {
	color: var(--adauto-red);
}

#header #masthead {
	background: #141414;
}

#masthead .header-logo,
#masthead .header-logo-dark {
	max-height: 55px;
	width: auto;
}

#masthead .header-cart-link .cart-icon strong,
#masthead .header-cart-link [data-icon-label]::after {
	background: var(--adauto-red);
}

#header #wide-nav {
	display: none;
	background: var(--adauto-red);
	min-height: 0px;
	height: 0;
	position: relative;
}

#header .stuck #wide-nav {
	display: none;
}

#header #masthead .header-nav {
	justify-content: space-around;
}

#header #masthead .header-nav .menu-item a {
	color: #fff;
}

#header #masthead .flex-right {
	flex: 0 0 35%;
}

#header #masthead .flex-right .search-form {
	min-width: 70%;
	border-radius: 6px;
	overflow: hidden;
}

#header #masthead .flex-right .search-form .search-field,
#header #masthead .flex-right .search-form .ux-search-submit {
	min-height: 48px;
}

#header #masthead .flex-right .search-form .ux-search-submit {
	width: 40px;
	background: var(--btn-main);
}

#header #masthead .flex-right .cart-item .image-icon img {
	filter: brightness(0) invert(1);
}

/* === SECTION: Category Vertical Menu (trang chủ, cạnh banner) === */
.cat-menu-box {
	background: #ffffff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	overflow: hidden;
}

.cat-menu-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--adauto-dark);
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 14px 16px;
}

.cat-menu-title i {
	font-size: 16px;
}

.cat-menu-box .ux-menu {
	gap: 0;
}

.cat-menu-box .ux-menu-link {
	border-bottom: 1px solid #eeeeee;
}

.cat-menu-box .ux-menu-link:last-child {
	border-bottom: none;
}

.cat-menu-box .ux-menu-link__link {
	padding: 12px 16px;
	color: #333333;
	font-size: 14px;
}

.cat-menu-box .ux-menu-link__link:hover,
.cat-menu-box .ux-menu-link--active .ux-menu-link__link {
	color: var(--adauto-red);
	font-weight: 700;
	background: #fafafa;
}

.cat-menu-box .ux-menu-link__icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	object-fit: cover;
	border-radius: 2px;
}

/* === SECTION: Product card - rating + cart icon cùng hàng dưới giá === */
.product-rating-cart-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
}
.product-rating-cart-row .star-rating {
	font-size: 13px;
	margin: 0;
}
.product-rating-cart-row .cart-icon-row-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0 !important;
	border-radius: 50%;
	background: #f2f2f2;
	color: #333;
	flex: 0 0 auto;
}
.product-rating-cart-row .cart-icon-row-btn:hover {
	background: var(--adauto-red);
	color: #fff;
}
.product-rating-cart-row .cart-icon-row-btn i {
	font-size: 14px;
}
.product-rating-cart-row .added_to_cart {
	display: none;
}

/* === SECTION: Review form star picker (p.stars trong form đánh giá) === */
#reviews p.stars {
	line-height: 1;
}
#reviews p.stars span {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
	width: max-content;
}
#reviews p.stars a {
	font-size: 0;
	width: 22px;
	height: 22px;
	position: relative;
}
#reviews p.stars a::before {
	content: "\2605";
	font-size: 20px;
	line-height: 22px;
	color: #dcdcdc;
	position: absolute;
	inset: 0;
	text-align: center;
}
#reviews p.stars a:hover::before,
#reviews p.stars a:hover ~ a::before,
#reviews p.stars a.active::before,
#reviews p.stars a.active ~ a::before {
	color: var(--adauto-red);
}

/* === SECTION: Footer === */

#footer .footer_col {
	max-width: 20% !important;
}

/* trang chủ */
.amlab_showcase .col {
	padding-bottom: 0px;
}

.amlab_showcase .icon-box .icon-box-img {
	align-content: center;
}

.amlab_showcase .icon-box .icon-box-text {
	padding-left: 8px !important;
}

.amlab_showcase .icon-box .icon-box-text h3 {
	font-size: 13px;
	color: #000;
	margin-bottom: 0;
}

.amlab_showcase .icon-box .icon-box-text p {
	font-size: 12px;
	color: #000;
	font-weight: 500;
}

h3.section-title-normal,
h3.section-title-normal span {
	border-bottom: none;
}

h3.section-title-normal span {
	font-size: 36px !important;
	font-weight: 700;
	color: #000;
}

.amlab_why_choose .col .col-inner {
	border-radius: 10px;
	overflow: hidden;
	/* padding: 20px; */
}
.amlab_why_choose .col{
	padding-bottom: 0px;
}
.amlab_why_choose .col .col-inner .box .box-text{
	padding: 10px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
}
.amlab_why_choose .col .col-inner .box h4 {
	font-size: 14px;
	text-transform: uppercase;
}
.amlab_why_choose .col .col-inner .box .box-text p{
	font-size: 12px;
}

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

	.sec-footer-bottom .flex-row {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}

}