/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	font-family: "Inter", sans-serif;
}

.section > .section-content > .row > .col {
	padding-bottom: 0;
}
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0;
}
.icon-box-left p {
	margin-bottom: 0;
}
.absolute-footer {
	display: none;
}

.header-top .nav-uppercase>li>a {
	text-transform: none;
}
.header-top .nav-small .social-icons a.icon:not(.button) {
	background-color: #fff;
	color: var(--primary-color);
	width: 24px;
	height: 24px;
    line-height: 26px;
    border-radius: 99px;
    text-align: center;
    display: inline-block;
}
.header-button .button {
	height: 40px;
    line-height: 40px;
    width: 116px;
}
.header-button .button span {
	text-transform: none;
	font-weight: normal;
	font-size: 14px;
}

.header-main .form-flat input:not([type=submit]) {
	height: 40px;
	background-color: transparent;
}
.header-main .nav>li>a {
	font-size: 16px;
	font-weight: normal;
}
.searchform-wrapper.form-flat .flex-col:last-of-type {
    margin-left: -3.8em;
}

.header-vertical-menu__opener {
	height: 80px;
}
.header-vertical-menu__opener .header-vertical-menu__title {
	font-size: 16px;
}
.header-bottom .flex-center .nav.header-nav.header-bottom-nav {
	justify-content: start;
	margin-left: 15px;
}
.header-bottom .nav>li>a {
	padding: 2px 0;
	font-size: 16px;
	font-weight: normal;
}

.row-info .col-inner:hover {
	background-color: #FFC10E !important;
}
.row-info .col-inner:hover p {
	color: #333 !important;
}
/* Trạng thái bình thường */
.row-info .col-inner .icon-box-img img {
    transition: all 0.3s ease; /* Thêm dòng này để tạo độ mượt */
}
.row-info .col-inner:hover .icon-box-img img {
    filter: brightness(0) invert(1);
}
.button {
	font-weight: normal;
}
.product-small.box {
	background-color: #fff;
	border-radius: 8px;
	border: 1px solid #D9D9D9;
}
.product-small.box:hover .box-text {
	background-color: #262121;
	color: #fff;
	border-radius: 0 0 8px 8px;
}
.product-small.box .box-image {
	padding: 10px;
}
.product-small.box img {
	border-radius: 8px 8px 0 0;
}
.product-small.box .product-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 0;
    height: 40px;
    line-height: 20px;
    margin-bottom: 10px;
}
.product-small.box:hover .box-text .product-title a {
	color: #fff;
}
.product-small.box .price {
	margin-bottom: 10px;
}
.product-small.box .price *,
.product-small.box .price ins .amount {
	font-size: 14px;
	font-weight: bold;
	color: #E60303 !important;
}
.product-small.box .price del {
	text-decoration: none;
}
.product-small.box .price del .amount {
	font-size: 12px;
	color: #999999 !important;
	text-decoration: line-through;
}
.product-small.box .button.primary:not(.is-outline) {
	text-transform: none;
	font-weight: normal;
	background-color: #000 !important;
	border-radius: 4px;
	font-size: 12px;
}
.product-small.box:hover .box-text .button.primary:not(.is-outline) {
	background-color: var(--primary-color) !important;
}

.custom-uu-dai-loop {
	text-align: left;
}
.custom-uu-dai-loop ul li {
	margin-bottom: 2px;
	line-height: 20px;
}
.product-small.box:hover .box-text .custom-uu-dai-loop {
	color: #fff;
}
.ratingresult {
	text-align: left;
	color: #FFC10E;
	font-size: 12px;
	display: flex;
	align-items: center;
}
.ratingresult i {
	margin-left: 10px;
	margin-right: 5px;
}

.col.post-item .col-inner .box-image {
	border-radius: 16px 16px 0 0;
}
.col.post-item .col-inner .box-text {
	background-color: #fff;
	padding: 35px 20px 20px;
	border-radius: 0 0 16px 16px;
}
.col.post-item .post-meta {
	display: none;
}
.col.post-item .from_the_blog_excerpt {
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-bottom: 10px;
	font-size: 14px;
}
.box-blog-post .is-divider {
	display: none;
}
.btn-readmore {
	font-weight: bold;
	font-size: 14px;
}
.box-abs {
	background-color: var(--primary-color);
	color: #fff;
    padding: 8px 10px;
    border-radius: 2px 0px 0px 2px;
    position: absolute;
    top: -17px;
    right: 0;
    font-size: 12px;
}
.box-abs .svl_show_count_only {
	margin-right: 10px;
}
.box-abs .svl_show_count_only:before {
	content: '\f06e';
	font-family: FontAwesome;
	margin-right: 5px;
}
.box-abs .post_time:before {
	content: '\f073';
	font-family: FontAwesome;
	margin-right: 5px;
}
.woocommerce-breadcrumb {
	display: none;
}
h1.shop-page-title {
	margin-bottom: 0;
}
.page-title-inner {
	padding-top: 0;
}
.category-page-row {
    padding-top: 20px;
}
.product-info .price-wrapper {
	border-top: 1px solid #f2f2f2;
	border-bottom: 1px solid #f2f2f2;
	margin-bottom: 20px;
}
.product-short-description {
	font-size: 14px;
	margin-bottom: 20px;
}
.product-info .price {
}
.product-info .price,
.product-info .price ins .amount {
	font-size: 24px;
	color: #E60303;
}
.product-info .price del {
	text-decoration: none;
}
.product-info .price del .amount {
	font-size: 18px;
	color: #757575;
	text-decoration: line-through;
}
.slider-nav-reveal .flickity-prev-next-button, .slider-nav-reveal .flickity-prev-next-button:hover {
	background-color: transparent;
	box-shadow: none;
}
.button i, button i {
	top: 0;
}

/* Khung bao ngoài */
.devvn-product-meta-inline {
    margin-bottom: 15px;
    font-size: 14px;
    color: #555; /* Màu chữ tiêu đề (Thương hiệu:, Mã SP:...) */
}

/* Dấu gạch đứng phân cách | */
.devvn-product-meta-inline .meta-divider {
    margin: 0 10px;
    color: #ddd;
}

/* Style cho các LINK (Thẻ a) trong Thương hiệu và Danh mục */
.devvn-product-meta-inline .meta-value a {
    color: #333;           /* Màu mặc định của link */
    font-weight: 700;      /* In đậm */
    text-decoration: none; /* Bỏ gạch chân */
    transition: color 0.2s;
}

/* Hiệu ứng khi di chuột vào link */
.devvn-product-meta-inline .meta-value a:hover {
    color: #e34444;       /* Đổi màu đỏ khi hover */
    text-decoration: underline; /* Thêm gạch chân khi hover */
}

/* Style riêng cho Mã SP (vì nó không phải thẻ a) */
.devvn-product-meta-inline .meta-item.sku .meta-value {
    color: #333;
    font-weight: 700;
}

.single .cart {
	margin-bottom: 5px;
}
.buy_support {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin: 0;
    margin-bottom: 10px;
    list-style: none;
}
.buy_support li {
    margin-left: 0 !important;
    width: 54%;
    padding: 5px 10px;
    text-align: center;
    float: left;
    border-radius: 3px;
    margin-bottom: 10px;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px #888;
    box-shadow: 0 0 5px #888;
    border-radius: 7px;
    cursor: pointer;
}
.buy_support li:nth-of-type(1) {
    background-color: #35a8e0;
}
.buy_support li p {
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 400;
}
.buy_support li p:nth-of-type(1) {
    height: 24px;
    line-height: 24px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}
.buy_support li p:nth-of-type(2) {
    height: 16px;
    line-height: 16px;
    font-size: 0.9em;
}
.product-main {
    padding: 10px 0;
}

.woocommerce-tabs .nav-tabs>li>a {
	font-size: 16px;
}
.product-section {
	border-top: none;
}
.product-section h3.product-section-title-related {
	background-color: #f2f2f2;
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}
.box-form {
	position: relative;
}
.box-form input.wpcf7-form-control {
	background-color: transparent;
	box-shadow: none;
	border: none;
	border-bottom: 1px solid #fff;
	padding-left: 0;
	height: 45px;
}
.box-form input.wpcf7-form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}
.box-form input.wpcf7-form-control::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}
.box-form input.wpcf7-form-control:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
.box-form input.wpcf7-form-control:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}
.box-form input.wpcf7-form-control.wpcf7-submit {
	position: absolute;
	right: 0;
	top: 0;
	background-image: url(images/btn-send.png);
	background-repeat: no-repeat;
	width: 33px;
	height: 36px;
	background-position: center;
	background-color: transparent;
	border: none;
	text-indent: -9999px;
	margin-right: 0;
}
.page-title-bar {
	padding: 10px 0;
}
.category #main, 
.category #wrapper {
	background-color: rgb(249, 249, 249);
}
h1.page-title {
	text-align: left;
	margin-bottom: 0;
}
.page-wrapper {
	padding-top: 5px;
}
.box-view i {
	margin-bottom: 6px;
}
.menu-dmmb {
    background: #fff;
    border: 1px solid #dfe8ff;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(34, 102, 234, .14);
    padding: 20px 10px 10px;
    overflow: hidden;
    /*max-width: 94% !important;*/
    margin: auto;
}
.menu-dmmb p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.3;
    padding: 0 3px;
}
.menu-dmmb .icon-box-img {
	position: relative;
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e9eefc;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	box-shadow: 0 2px 0 rgba(34, 102, 234, .05), 0 6px 18px rgba(0, 0, 0, .04);
	width: 92% !important;
}
.menu-dmmb .icon-box-img img {
	padding: 20px;
	cursor: pointer;
}
.menu-dmmb .icon-box {
	margin-bottom: 15px;
}
.menu-dmmb .icon-box:hover img {
    animation: tada 1.1s ease both;
    filter: drop-shadow(0 6px 14px rgba(34, 102, 234, .12));
}
.menu-dmmb .icon-box:hover .icon-box-img {
	border: 1px solid #ff3f00;
}
.menu-dmmb .icon-box:hover a{
	color: #ff3f00;
}
/* Keyframes: tada animation */
@keyframes tada{
	0%{transform:scaleX(1)}
	10%,20%{transform:scale3d(.9,.9,.9) rotate(-3deg)}
	30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate(3deg)}
	40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}
	100%{transform:scaleX(1)}
}
@media screen and (min-width: 850px) {
    .row-footer .large-2 {
        flex-basis: 12.666667%;
        max-width: 12.666667%;
    }
    .row-footer .row-footer-col-1 {
    	flex-basis: 29%;
        max-width: 29%;
    }
}
@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.header-button .button {
		width: 40px;
	}
	.buy_support li {
		width: 100%;
	}
	.product-info {
	    padding-top: 25px;
	}
	.footer-wrapper form {
		margin-bottom: 0;
	}
	.footer-wrapper form .wpcf7-spinner {
		display: none;
	}
	.cus-mb .widget  {
		margin-bottom: 0;
	}
	body #mvccount {
	    padding: 0;
	}
	.ega-ul {
		background: #fff;
		margin: 0;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 999999;
	column-count: 4;
	-webkit-columns: 4;
	-moz-columns: 4;
	 padding-top: 5px;
	}
	.ega-ul li {
		margin: 0 !important;
		text-align: center;
		list-style: none;
	}
	.ega-ul li .ega-menu__link {
	    color: #ff3f00 !important;
	    font-size: 14px;
	}
	.ega-ul li img {
        height: 40px;
        width: 40px;
        margin-bottom: 10px;
	}
	.ega-ul i {
		line-height: 40px;
        background: #ffc10e;
        width: 40px;
        text-align: center;
        color: #fff;
        border-radius: 100px;
        margin-bottom: 9px;
	}
	.menu-dmmb { 
		max-width: 94% !important;
	}
    .menu-dmmb .icon-box-img {
    	width: 65px !important;
    	margin-bottom: 10px;
    }
    .menu-dmmb .icon-box-img img{
    	padding: 0;
    }
}
.product-small.box  .product-title a {
	font-weight: bold;
}
