/*
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.   ***************/
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0;
}
.icon-box-left p {
	margin-bottom: 0;
}
.header:not(.transparent) .header-nav-main.nav > li > a {
	font-weight: normal;
	font-size: 16px;
}
.header:not(.transparent) .header-nav-main.nav > li.active > a {
	font-weight: 600;
}
.section > .section-content > .row > .col {
	padding-bottom: 0;
}

/* Styling cho nút chính */
.button.btn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Khoảng cách giữa chữ và icon */
  margin-bottom: 0;
  
  /* Màu sắc */
  background-color: #f9f9f9; 
  color: #79e0e8;
  
  /* Khung viền 2 lớp (Double border effect) */
  border: 2px solid #79e0e8;
  outline: 2px solid #79e0e8;
  outline-offset: 4px;       /* Tạo khoảng trắng giữa viền ngoài và nút */
  
  /* Font & Kích thước */
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;      /* Giãn khoảng cách giữa các chữ cái */
  text-decoration: none;
  text-transform: uppercase;
  
  /* Tùy chỉnh khác */
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;               /* Đảm bảo có khoảng trống xung quanh để hiện outline */
}

/* Định dạng Icon mũi tên */
.button.btn-button .icon-angle-right {
  font-size: 22px;
  font-weight: bold;
}

/* Hiệu ứng Rê chuột (Hover) */
.button.btn-button:hover {
  background-color: #79e0e8;  /* Đổi màu nền nhẹ khi hover */
  color: #030043;
  border-color: #79e0e8;
  outline-color: #79e0e8;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

textarea.wpcf7-form-control {
	min-height: 75px;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	margin-bottom: 0;
	box-shadow: none;
}
input.wpcf7-form-control {
	height: 45px;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	margin-bottom: 0;
	box-shadow: none;
}
input.wpcf7-form-control.wpcf7-submit {
	display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Khoảng cách giữa chữ và icon */
  margin-bottom: 0;
  
  /* Màu sắc */
  background-color: #79e0e8; /* Màu nền xanh ngọc */
  color: #0b0742;            /* Màu chữ tím/xanh đen đậm */
  
  /* Khung viền 2 lớp (Double border effect) */
  border: 2px solid #79e0e8;
  outline: 2px solid #79e0e8;
  outline-offset: 4px;       /* Tạo khoảng trắng giữa viền ngoài và nút */
  
  /* Font & Kích thước */
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;      /* Giãn khoảng cách giữa các chữ cái */
  text-decoration: none;
  text-transform: uppercase;
  
  /* Tùy chỉnh khác */
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;  
  border-radius: 0;
  float: right;
}
/* Hiệu ứng Rê chuột (Hover) */
input.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #5ecef4;  /* Đổi màu nền nhẹ khi hover */
  border-color: #5ecef4;
  outline-color: #5ecef4;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.absolute-footer {
	display: none;
}
.box-icon .col-inner {
	border: 1px solid transparent;
	transition: all 0.3s ease;
	background-color: transparent;
	border-radius: 8px;
	padding: 20px 15px;
}
.box-icon .col-inner:hover {
	border: 1px solid #00ECEC;
	background-color: #E2FFFF;
}

.col.post-item .box-text-bottom .box-text {
	background-color: #fff;
    width: 90%;
    position: relative;
    top: -20px;
    left: -1px;
    padding: 30px;
}
.col.post-item .box-text-bottom .box-text .post-title {
	font-size: 18px;
	text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.col.post-item .col-inner:hover .box-text-bottom .box-text {
	background-color: #E2FFFF;
}
.col.post-item .box-text-bottom .box-text p.from_the_blog_excerpt {
	text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.col.post-item .box-image {
	position: relative;
}
.col.post-item .box-image:after {
	content: '';
	width: 89%;
	height: 80%;
	border: 2px solid #00ECEC;
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	transition: all 0.3s ease;
}
.col.post-item .col-inner:hover .box-image:after {
	opacity: 1;
}

.col.post-item .box-vertical .box-text .post-title {
	font-size: 15px;
	text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.col.post-item .box-vertical .box-text {
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 0;
	top: 0;
}
.box-blog-post .is-divider {
	display: none;
}

.box-radius .box-image, 
.box-radius .box-image img {
	border-radius: 8px;
}
.box-radius .box-image:after {
	content: '';
	width: 85%;
	height: 80%;
	border: 2px solid #00ECEC;
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	transition: all 0.3s ease;
	border-radius: 8px;
}
.box-radius:hover .box-image:after {
	opacity: 1;
}

.product-small.box {
	background-color: #fff;
}
.product-small.box .product-title {
	margin-bottom: 25px;
}
.product-small.box .product-title a {
	font-size: 16px;
	font-weight: 600;
	text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
	transition: all 0.2s ease;
}
.product-small.box .price {
	margin: 10px 0 0 0;
}
.product-small.box .price,
.product-small.box .price .amount {
	color: #E00024;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.product-small.box .price del {
	text-decoration: none;
}
.product-small.box .price del .amount {
	font-size: 13px;
	color: #333;
	opacity: .7;
	text-decoration: line-through;
	font-weight: normal;
}
.product-small.box .box-text {
	padding: 20px;
	transition: all 0.2s ease;
}
.product-small.box:hover .box-text {
	background-color: #E2FFFF;
}
h1.page-title {
	text-align: left;
	font-size: 30px;
	margin-bottom: 0;
}
.nav>li>a>i.icon-search {
	background-color: #030043;
	height: 40px;
	width: 40px	;
	color: #fff;
  border-radius: 99px;
  text-align: center;
  line-height: 40px;
}
.nav-spacing-xlarge>li {
    margin: 0 20px;
}

.quick-view-below-price {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0;
	transition: all 0.2s ease;
}
.product-small.box:hover .quick-view-below-price {
	opacity: 1;
}
.quick-view.quick-view-added {
	text-indent: -9999px;
	background-color: transparent;
}
.quick-view.quick-view-added:after {
	content: '\f06e';
	font-family: FontAwesome;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	display: block;
	border: 1px solid #E1E1E1;
	background-color: #F9F9F9;
	color: #1E1B1A;
	text-indent: 0px;
	border-radius: 8px;
}

.tax-product_cat #wrapper, 
.tax-product_cat #main {
	background-color: #f9f9f9;
}
.woocommerce-product-gallery__wrapper {
	border: 1px solid #D9D9D9;
}

.product-info .price .amount, 
.product-info .price.product-page-price {
	font-size: 25px;
	color: #E00024;
}
.product-info .price del {
	text-decoration: none;
}
.product-info .price del .amount {
	font-size: 18px;
	color: #333;
	opacity: .7;
	text-decoration: line-through;
}
.product-short-description {
	background-color: #E2FFFF;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	margin-top: 20px;
}
.product-short-description ul {
	margin-bottom: 0;
}
h1.entry-title, 
h1.product-title.product_title {
	text-transform: uppercase;
	font-size: 34px;
}
.woocommerce-tabs .nav > li > a {
	font-size: 18px;
}

h3.product-section-title {
	font-size: 30px;
}

.widget span.widget-title {
	display: block;
	font-size: 22px;
	text-transform: none;
}
ul.product_list_widget li .amount, 
ul.product_list_widget li .lien-he-price {
	font-size: 14px;
	color: #E00024;
	font-weight: 600;
}
ul.product_list_widget li del {
	text-decoration: none;
}
ul.product_list_widget li del .amount {
	color: #333;
	font-size: 12px;
	text-decoration: line-through;
	font-weight: normal;
}
.icon-box-img img, .icon-box-img svg {
	padding-top: 0;
}

.breadcrumbs {
    color: #030043 !important;
}

.breadcrumbs a {
    color: #030043 !important;
    text-decoration: none !important;
}

.breadcrumbs a:hover {
    text-decoration: underline !important;
    font-weight: 600 !important;
}

@media (min-width: 850px) {
	.row-5 > .col {
		flex-basis: 20%;
		max-width: 20%;
	}
}
@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	h1.product-title.product_title,
	h1.entry-title {
		font-size: 26px;
	}

}