/*
Theme Name: WindyFood
Description: This is a child theme for Flatsome Theme
Author: TruongBaoNgoc
Template: flatsome
Text Domain: windyfood
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#header .sub-menu .section .section-content{
	padding-left: 20px;
	padding-right: 20px;
}

#header .sub-menu .section .section-content ul{
	list-style: none;
}
#header .sub-menu .section .section-content ul a{
	display: flex;
	font-size: 15px;
	padding: 8px 0px;
}

#header .sub-menu .section .section-content ul li{
	border-bottom: 1px solid #e5e5e5;
}

#header .sub-menu .section .section-content ul li:last-child{
	border-bottom:0
}

#header .sub-menu .section .section-content ul a:before{
	content:"\f105";
	font-family: fl-icons;
	margin-right: 5px;
	color: var(--fs-primary-color)
}

.box-blog-post .post-title{
	margin-bottom: 0;
	text-transform: uppercase
}

.product-widget-item a {
	display: flex;
	flex: 1;
}

.product-widget-item {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.product-widget-item img {
  width: 120px;
  height: 120px;
  margin-right: 10px;
  border-radius: 4px;
  object-fit: contain;
  flex: 0 0 120px;
}

.product-widget-item div{
	flex: 1;
}

.product-widget-item .product-title {
  font-weight: bold;
  line-height: 1.3;
  font-size: 16px
}

.product-widget-item .price {
  font-size: 0.9em;
  color: #888;
}

.widget-area {
  position: sticky;
  top: 120px;
}

.product-price {
	color: #c92127;
	margin-top: 20px;
	margin-bottom: 20px;
	font-weight: bold;
}
.product-price del {
	font-size: .85em;
	color: #888
}
.product-price {
	font-size: 1.5rem
}
.text-primary {
	color: #c92127;
}
.product-widget-item .price span {
	color: #c92127;
}

.product-widget-item .price del span {
	color: #888;
}

img[src="Array"] {
  display: none !important;
}
.item-price del {
	color: #555;
	font-size: 14px;
}
.view-item-detail{
	display: flex !important;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}
.star-r .star {
    color: #FFD700;
    font-size: 18px;
}
img.alignnone {
	width: 100%;
	object-fit: cover;
}
.post-title.custom{
	text-transform: capitalize;
	margin-top: 20px;
	margin-bottom: 0 !important;
	min-height: unset !important;
	font-size: 18px !important;
}

.product-main p.category, .product-main .image-tools.grid-tools, .product-main .badge-container {
	display: none;
}
.product-main h3{
	margin-top: 20px !important;
	margin-bottom: 0 !important;
	text-align: center !important;
	font-size: 18px !important;
	text-transform: capitalize !important;
}
.product-main .product-small.box {
	padding: 18px;
	padding-top:24px;
} 
.product-main .price-wrapper {
	color: #c92127;
	text-align: center;
}

.custom-product-detail .product-images .badge-container {
	display: none;
}

.product-main .price del {
	color: #888;
}
.taxonomy-description img {
	margin-top: 16px;
	margin-bottom: 16px;
}
/* Hạ cỡ chữ và giữ viết hoa chữ cái đầu cho tên sản phẩm */
.name.product-title a {
    font-size: 16px !important; 
    font-weight: 600; 
    line-height: 1.3;
    text-transform: capitalize; /* Tự động viết hoa chữ cái đầu mỗi từ */
}

/* 3. Giữ chữ "đ" bay lên cho xịn */
.woocommerce-Price-currencySymbol {
    font-size: 0.8em !important;
    vertical-align: super !important;
}