/*
Theme Name: HC Miền Nam
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* All */
:root {
  --secondary-color: #F7B726;
  --accent-color: #FFCA37;
  --dark-blue: #001E5F;
  --medium-blue: #385EA0;
  --deep-shadow: #031443;
  --gold-dark: #CD9841;
  --background-light: #F8F8F5;
  --heading-color: #042267;
  --text-color: #1E293B;
  --text-muted: #64748B;
  --link-color: #F7B726;
  --link-hover-color: #CD9841;
  --border-color: #E5E7EB;
}

h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2, p{
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}
img, .banner, .banner-inner, .banner-bg {
	border-radius: 8px;	
}

/* Header */
.header-top .flex-left{
	margin-right: 0;
	width: 100%;
}
.header-top .flex-right{
	margin-left: 0;
	width: 100%;
}
.nav > li > a{
	font-family: "Be Vietnam Pro" !important;
}
.sub-menu{
	border-radius: 8px;
}
.nav-dropdown-has-border .nav-dropdown {
    border-radius: 15px;
    border: 2px solid #ffffff !important;
    padding: 10px !important;
}
.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before {
    border-bottom-color: #0c1787;
}
.nav-dropdown li.active>a, .nav-dropdown>li>a:hover {
    color: var(--secondary-color) !important;
}

/* Home page */
.wm-home-sv .banner-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(4, 34, 103, 0.92) 0%,
    rgba(4, 34, 103, 0.65) 30%,
    rgba(4, 34, 103, 0.25) 60%,
    rgba(4, 34, 103, 0.05) 85%,
    rgba(4, 34, 103, 0.00) 100%
  );
  z-index: 1;
  pointer-events: none;
	border-radius: 0 0 10px 10px;
}

.wm-intro-product .banner-inner::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(4, 34, 103, 0.92) 0%,
    rgba(4, 34, 103, 0.65) 30%,
    rgba(4, 34, 103, 0.25) 60%,
    rgba(4, 34, 103, 0.05) 85%,
    rgba(4, 34, 103, 0.00) 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: 10px 10px 0 0;
}
/* ===== Danh mục sản phẩm ===== */
.dmc-block {
	text-align: left;
	min-width: 250px;
    width: 100%;
}

.dmc-divider {
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 16px 0;
}

.dmc-btn-all {
    display: inline-block;
    padding: 5px 20px;
    background-color: var(--secondary-color);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background 0.2s ease;
}

.dmc-btn-all:hover {
    background-color: #fff;
	color: var(--text-color) !important;
}

.dmc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e5e5a1;
}

.dmc-item {
    border-bottom: 1px solid #e5e5e5a1;
	margin-left: 0 !important;
	text-align: left;
}

.dmc-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    text-decoration: none;
    color: #222;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: color 0.2s ease;
}

.dmc-item-link:hover {
    color: #0056b3;
}

.dmc-item-arrow {
    font-size: 1.2rem;
    color: #d5d5d5;
    line-height: 1;
}

.wm-intro-product .product-small, .products .col-inner .product-small, .product-detail .product-r .related .col-inner .product-small{
	background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e5e5a1;
}
.wm-intro-product .product-small .product-title a, .products .col-inner .product-small .product-title a,  .product-detail .product-r .related .col-inner .product-small .product-title a{
	margin-bottom: 22px !important;
	color: var(--primary-color) !important;
	font-size: 16px;
    font-weight: 600;
	transition: 0.3s;
}
.wm-intro-product .product-small .product-title:hover a, .products .col-inner .product-small .product-title:hover a, .product-detail .product-r .related .col-inner .product-small .product-title:hover a{
	color: var(--secondary-color) !important;
}
.wm-intro-product .product-small .price-wrapper .price span.amount, .products .col-inner .product-small .price-wrapper .price span.amount, .product-detail .product-r .related .col-inner .product-small .price-wrapper .price span.amount{
	color: var(--secondary-color) !important;
	font-size: 18px;
}
.wm-h-sc-news .list .box-image{
	border-radius: 15px;
}
.wm-h-sc-news .list .col-inner{
	background-color: #fff;
	border: 1px solid #f9f3f4;
    border-radius: 15px;
    padding: 20px;
	transition: 0.3s;
}
.wm-h-sc-news .list .col{
	padding: 0 15px 15px;
}
.wm-h-sc-news .list .post-title{
	color: var(--secondary-color);
	transition: 0.3s;
}
.wm-h-sc-news .single .col-inner:hover .post-title, .wm-h-sc-news .list .col-inner:hover .post-title{
	color: var(--primary-color);
}
.wm-h-sc-news .list .col-inner:hover{
	transform: translateY(-8px);
	box-shadow: 0 20px 25px -5px rgba(226, 232, 240, 0.5), 0 8px 10px -6px rgba(226, 232, 240, 0.5);
}

/* Products */
#shop-sidebar{
	background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e5e5a1;
	position: sticky;
    top: 100px;
}
.woocommerce-ordering, .woocommerce-ordering select{
	border-radius: 8px;
}

/* Product detail */
.product-detail .product-m,.product-detail .product-d, .product-detail .product-r{
	background-color: #f5f8ff;
	border-radius: 8px;
	margin-bottom: 15px;
}

.product-detail .oder-consult .oder-ic-main .icon-inner{
	padding: 10px;
    background-color: #e8efff;
    border-radius: 99px;
    border: 1px solid var(--primary-color);
}

.product-detail .oder-consult .oder-ic-main .icon-inner img{
	padding-top: 0;
}
.product-detail .single_add_to_cart_button{
	border-radius: 8px;
}
.product-detail .quantity .button.minus,.product-detail  .quantity .button.plus{
	border-radius: 8px 8px;
}
/* Footer */
.wm-ft .ux-menu-link__link{
	color: #fff;
	border-bottom-style: unset !important;
}
.wm-ft .ux-menu-link:hover .ux-menu-link__link{
	color: var(--secondary-color);
	margin-left: 10px;
	font-weight: 600;
}
.wm-ft .logo-ft .img-inner{
	background-color: #fff;
    border-radius: 10px;
}
.absolute-footer.dark{
	display: none;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.wm-ft .intro .button{
		text-align: left;
    	font-size: 12px;
    	padding: 5px;
	}

}