table.table tr.bg {
    background: #FBF9F9;
}

.money {
	color: #CC3300;
	font-weight: bold;
	padding: 5px;
}

.discounts_money {
	color: #000000;
	font-weight: normal;
	text-decoration: line-through;
	padding: 5px;
}

.rate-star{
    padding: 5px;
    float: left;
    height: 14px;
    line-height: 14px;
}
.rate-star .width-star-title{
    float: left;
    margin-right: 5px;
}
.rate-star .width-star-num{
    float: left;
    font-weight: bold;
    margin-left: 5px;
}
.rate-star .width-star-bg{
    width: 180px;
    float: left;
    cursor: pointer;
    border-radius: 3px;
    background: #dadada;
}
.rate-star .width-star-value{
    float: left;
    border-radius: 3px;
    background: url("../images/shops/star-png.png") repeat-x;
}
.rateavg_percent{
    font-size: 18px;
    font-weight: bold;
}

#search_form_shops .form-group{
	margin-bottom: 4px;
}

#products .col-sm-6 .thumbnail, #category .col-sm-6 .thumbnail{
	padding-top: 10px;
}

#products .col-sm-6 .label-default{
	margin-bottom: 10px;
	display: inline-block;
}

.price{
    height: 40px;
    margin-top: 5px;
}

#category .col-sm-6 .price .money{
      display: block;
      vertical-align: middle;
}

.image{
    margin: 0 10px 10px 0;
}

.msgshow {
	background: #F5F5F5;
	padding: 20px;
	border: 4px solid #C7C7C7;
	position: fixed;
	bottom: 0;
	right: 0;
	display: none;
	z-index: 10020 !important;
}

/*tooltip*/
.tooltip-inner {
    max-width:250px;
    padding:10px;
    color:#fff;
    text-align:left !important;
    background-color:#0C2138;
    border-radius:4px
}

.tooltip-inner img.pull-left{
    margin:3px 5px 1px 0;
}

.tooltip-inner img.pull-right{
    margin:3px 1px 0 5px;
}
.pages {
    display: inline-block;
    float: right;
    margin-bottom: 5px;
    margin-top: 5px;
}

#formsearch{
    margin-top: 10px;
}

#formsearch .row{
    margin-bottom: 10px;
}

/* Custom controls */
div[id*="product_center"]{
	position: relative;
}
div[id*="product_center"] .crsl-nav{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
div[id*="product_center"] .crsl-items:after{
	display: block;
	clear: both;
	content: '';
}

div[id*="product_center"] .crsl-items img{
    margin: 0 auto 6px auto;
}

div[id*="product_center"] .previous, div[id*="product_center"] .next{
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	text-indent: -10000px;
	color: #FFF;
	background: rgba(0, 0, 0, .80) url(../images/shops/previous-next.png) no-repeat 0 0;
	z-index: 10;
	/* border radius */
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	/* transition */
	-webkit-transition: background .2s ease-out;
	-moz-transition: background .2s ease-out;
	-o-transition: background .2s ease-out;
	transition: background .2s ease-out;
}
div[id*="product_center"] .previous:hover, div[id*="product_center"] .next:hover{
	background-color: rgba(0,0,0, .95);
}
div[id*="product_center"] .previous{
	left: 0;
	background-position: 0 0;
}
div[id*="product_center"] .next{
	right: 0;
	background-position: 100% 0;
}
div[id*="product_center"] .crsl-item{
	margin-bottom: 0;
}

.caption h3{
    line-height: 22px;
    height: 40px;
}

/* BLOCK OTHER PRODUCT */
.others_product ul{
	width: 100%;
	margin: 0;
	padding: 0;
}

.others_product ul li {
	list-style: none;
	text-align: center;
	margin-bottom: 10px;
}

.others_product ul li img {
	margin: 5px;
}

.others_product ul li.bg {
	background: #FFFFF0;
}

.others_product ul li span.time {
	color: #c0c0c0;
	font-size: 11px
}

.page-header{
    padding: 10px 0px;
    margin: 0 0 10px;
}

/* PRINT */
#print{
    padding: 10px;
}

#print table.rows2 {
    width: 100%;
    border: none;
    margin-bottom: 10px;
}

#print table.rows {
    width: 100%;
    border: 1px solid #F5F5F5;
}

#print table.rows td {
    padding: 5px;
    border: 1px solid #F5F5F5;
}

#print table.rows td img {
    width: 60px;
    padding: 2px;
    border: 1px solid #ebebeb;
    vertical-align: middle;
}

#print table.rows tr.bg {
    background: #f3f3f3;
}

#print table.rows tr.bgtop {
    background: #CCCCCC;
    line-height: 22px;
}

/* CART */
div.step_bar a.step {
    display: block;
    float: left;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    font-weight: 700;
    background: url('../images/shops/star.png') no-repeat left center;
    padding-left: 10px;
    margin-right: 10px;
}

div.step_bar a.step span {
    display: block;
    width: 32px;
    height: 32px;
    float: left;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #039;
}

div.step_bar a.step_current{
    color: red;
}

.block{
	margin-bottom: 10px
}

.block .payment_info{
    margin: 10px 0 10px 0;
}

.block .payment_info .payment_items{
    text-align:center;
    margin-right:2px;
    display:inline-block
}

#detail{
	margin: 5px !important;
}

#detail .zoom_img {
    margin: 10px 0 10px 0;
}

#detail ul.product_info {
    padding: 0;
}

#detail ul.product_info li {
    margin-bottom: 5px;
}

/* TAB */
.r-tabs {
    margin: 10px 0 10px 0;
    position: relative;
}

.r-tabs .r-tabs-nav {
    border-bottom: 1px solid #ccc;
}

.r-tabs .r-tabs-nav .r-tabs-tab {
    position: relative;
    top: 1px;
}

.r-tabs .r-tabs-nav .r-tabs-anchor {
    background: #00aadd;
    margin-bottom: 3px;
    padding: 10px 12px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.r-tabs .r-tabs-nav .r-tabs-state-active {
    background-color: #fff;
    margin-bottom: -1px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.r-tabs .r-tabs-nav .r-tabs-state-disabled {
    opacity: 0.5;
}

.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    color: #00aadd;
    background-color: #fff;
}

.r-tabs .r-tabs-panel {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 3px;
}

.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
    display: block;
    padding: 10px;
    background-color: #00aadd;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 3px;
}

.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
    opacity: 0.5;
}

.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
    background-color: #fff;
    color: #00aadd;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 0;
}

/* Social button */
em.fb,       span.fb{        color: #3b5998; }
em.tw,       span.tw{        color: #00aced; }
em.google,   span.google{    color: #dd4b39; }

.google-plus-one{
   overflow: hidden;
   position: relative;
}

.google-plus-one i{
   position: absolute;
   left: -4px;
   bottom: -5px;
}

.google-plus-one span{
   font-size: 16px;
   font-weight: 900;
   line-height: 10px;
   margin-left: 15px;
}

.btn-sm.google-plus-one span{ font-size: 14px; }
.btn-sm.google-plus-one i{ bottom: -3px; }
.btn-lg.google-plus-one span{ font-size: 20px; margin-left: 18px; }
.btn-lg.google-plus-one i{ bottom: -5px; }
.btn-xs.google-plus-one span{ font-size: 12px;}
.btn-xs.google-plus-one i{ bottom: -7px; }

/*********************/


#products .items {
	float: left;
	display: block;
}

#products .items .items_content {
	text-align: center;
	border: 1px solid #e5e5e5;
	padding: 10px;
	margin: 1px;
}

#products .items .items_content img {
	border: #EFEFEF 1px solid;
	padding: 2px;
}

#products .items .items_content .content_top {
	height: 135px;
}

#products .items .items_content .show-product-code {
	height: 156px;
}

#products .items .items_content .content_price {
	height: 15px;
}

.time_up {
	color: #c0c0c0;
	font-weight: normal;
}

.btnum, .shops-center {
	text-align: center;
}

/* BUTTON */
a.pro_order, a.pro_detail {
	color: #000000;
	padding: 2px 0px;
	background: url(../images/shops/bgbt.png) repeat 0 0;
	display: inline-block;
	width: 60px;
	text-align: center;
	border: 1px solid #FC0;
}

a.pro_detail:hover, a.pro_order:hover {
	background: #FFCC33
}

/* DETAIL */
#detail .image-demo {
	float: left;
	width: 150px;
}

#detail .info_product {
	padding-left: 150px;
}

#detail .date_up {
	color: #bcbcbc;
	display: block;
}

#detail .info_product p {
	padding: 2px;
	margin: 0;
}

#detail h2 {
	color: #004080;
	font-size: 14px;
	font-weight: bold;
	text-align: justify
}

#detail .detail_com {
	margin-bottom: 5px;
}



#detail .prd_rate {
	padding: 0px;
}


#detail .prd_rate div.line {
	margin-bottom: 10px;
}

#detail .prd_rate div.cm_rows {
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	border-bottom: 1px dashed #d7e2e6;
}

#detail .prd_rate div.avata {
	width: 54px;
	text-align: center;
	float: left;
}

#detail .prd_rate div.avata img {
	border: 1px solid #d7e2e6;
	padding: 1px;
}

#detail .prd_rate div.cm_c {
	float: right;
}

/* OTHER PRODUCT */
#detail .others {
	padding: 10px;
}

#detail .others ul li {
	background: url(../images/shops/square.jpg) no-repeat 0px 5px;
	padding-left: 8px;
}

#detail .others .date {
	color: #999;
}

#detail .others h1 {
	border-bottom: #CCC 1px solid;
	margin-bottom: 5px;
}

#detail .div_rate a {
	padding-right: 18px;
	background: url('../images/shops/star.png') no-repeat right center;
	margin-right: 5px;
}

/* OTHER */
.payment {
	color: #ff0000;
	font-weight: bold;
	display: block;
	margin-top: 10px;
	border: 1px solid #ff0000;
	padding: 3px;
	text-transform: uppercase;
}

.pages a {
	color: #000000;
	border: 1px solid #ebebeb;
	padding: 2px 6px;
	display: inline-block;
}

.pages a:hover {
	background: #f2f2f2;
}

.pages strong {
	color: #ffffff;
	border: 1px solid #ebebeb;
	padding: 2px 6px;
	display: inline-block;
	background: #0080c0;
	font-weight: normal;
}

/* GIRD */
#category {
	margin-bottom: 8px;
	background: #ffffff;
}

#category .page_title {
	font-size: 13px;
	color: #454545;
	height: 20px;
	line-height: 20px;
	padding: 5px;
	font-weight: bold;
	border-bottom: 2px solid #e5e5e5;
}

#category .list_rows {
	border-bottom: 1px dashed #cad5d8;
}

#category .list_rows div.img {
	float: left;
	margin-right: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#category .list_rows div.img input {
	position: absolute;
	top: 15px;
	left: 5px;
}

#category .list_rows div.img img {
	border: 1px solid #f4f4f4;
	padding: 2px;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}

#category .list_rows div.list_c {
	width: 300px;
	float: left;
	margin-right: 10px;
	padding: 20px 0;
}

#category .list_rows div.list_c h3 {
	margin-bottom: 10px;
}

#category .list_rows div.list_c p.des {
	padding-bottom: 10px;
	border-bottom: 1px dashed #cad5d8;
}

#category .list_rows div.list_c p.add_prd {
	margin: 10px 0 0 0;
}

#category .list_rows div.info_prd {
	width: 170px;
	margin-right: 10px;
	margin-top: 20px;
	float: left;
}

#category .list_rows div.info_prd ul {
	padding: 15px;
}

#category .list_rows div.info_prd ul li {
	padding: 0 0 10px 15px;
}

#category .list_rows div.info_prd strong {
	color: #fc4d00;
}

#category .list_rows div.info_prd span {
	display: block;
	font-weight: 700;
}

#category .grid_rows {
	width: 33%;
	float: left;
	margin-top: 10px;
}

table.rows2 {
	width: 100%;
	border: 1px solid #b9dcff;
	padding: 5px;
}

table.rows {
	width: 100%;
}

table.rows td {
	padding: 5px
}

table.rows td img.imgpro {
	width: 40px;
	padding: 2px;
	border: 1px solid #ebebeb;
	vertical-align: middle;
}

table.rows tr.bgtop {
	background: #CCE6FF;
	line-height: 22px;
}



.share a {
	padding: 0px;
	margin: 0px;
}

.share img {
	height: 16px;
	float: left;
	margin-right: 3px;
	margin-left: 3px;
}

.title_cate {
	background: url('../images/shops/pro_cat_header.png') repeat-x;
	height: 20px;
	line-height: 20px;
	padding: 5px;
	font-weight: bold;
}

.btn_view {
	background: url('../images/shops/bl.png') no-repeat left center;
	display: inline-block;
}

.btn_view span {
	background: url('../images/shops/br.png') no-repeat right;
	padding: 3px 10px;
	display: inline-block;
}

#total {
	color: #ff0000;
	font-weight: bold;
	font-size: 15px;
}

.order_code {
	padding: 5px;
	border: 1px solid #dfdfdf;
	text-align: center;
}

.text_date {
	color: #0080c0;
	font-size: 16px;
	font-weight: 700;
}

/* BLOCK PRODUCT CENTER */
.product_center {
	z-index: 2;
	margin-bottom: 2px;
}

.product_center {
	overflow: hidden;
	position: relative;
	margin-top: 5px;
}

.product_center .container {
	width: 960px;
	height: 130px;
	overflow: hidden;
	position: relative;
}

.product_center .slides {
	position: absolute;
	top: 0;
	left: 0;
}

.product_center .slides > div {
	position: absolute;
	top: 0;
	width: 960px;
	display: none;
}

#block_newtop .slides > div a:hover {
	text-decoration: underline;
}

.product_center p {
	padding: 0px;
}

.product_center ul.pagination {
	padding: 5px;
	float: right;
}

.product_center ul.pagination li {
	float: left;
	list-style: none;
}

.product_center ul.pagination a {
	display: block;
	overflow: hidden;
	background: #f3f3f3;
	margin-right: 2px;
	line-height: 20px;
	height: 20px;
	width: 20px;
	text-align: center;
}

.product_center ul.pagination li.active a {
	background: #b5b5b5;
	color: #ffffff;
}

.product_center .slides .items {
	display: block;
	width: 150px;
	float: left;
	height: 120px;
	margin-right: 10px;
	text-align: center;
}

.product_center .slides .items img {
	height: 80px;
	border: #DFDFDF 1px solid;
	padding: 2px;
}

.block-nobg .title_adv {
	background: url('../images/dot_gray.gif') repeat-x center;
}

.frame {
	padding: 20px;
	text-align: center;
}

/* SEARCH */
.search {
	border: 1px solid #ebebeb;
	padding: 5px;
	margin-bottom: 5px;
}

.search .input {
	width: 200px
}

.search .rows {
	line-height: 25px
}

.search .rows label {
	width: 180px;
	display: inline-block;
}

.result-frame .result-content {
	margin-bottom: 5px;
	border-bottom: 1px dotted #c0c0c0;
	padding-bottom: 5px;
}

.result-frame .result-content img {
	margin-right: 5px;
	border: 1px solid #e6e6e6;
	padding: 2px;
}

.result-frame .linktitle {
	color: #0080c0;
	line-height: 22px;
	font-weight: bold;
}

.result-frame .keyword {
	background: #ffff00;
}

.search .date {
	background: url(../images/shops/date.png) no-repeat center;
	border: 0px;
	margin: auto;
	padding: 4px 10px;
}

.divbg {
	background: #F9F9F9;
	line-height: 28px;
	margin-top: 10px;
	padding: 0px 10px;
	font-size: 14px;
	text-transform: uppercase;
}

/* TOOLTIP */
#products .tip {
	color: #fff;
	background: #1d1d1d;
	display: none;
	padding: 10px;
	position: absolute;
	z-index: 3000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	width: 250px;
	text-align: left;
}

#products .tip img {
	margin-right: 10px;
	float: left;
}

.title_shop {
	color: #000000;
	font-weight: bold;
	text-align: left;
	display: block;
}

.no-wrap {
	white-space: nowrap
}

/* POST */
.post-product h2 {
	border-bottom: 1px #D8D8D8 solid;
}

.txt-full {
	width: 99%;
}

.title_group {
	margin-bottom: 10px;
	border-bottom: 1px #e8e8e8 solid;
	line-height: 20px;
}

.info-require {
	color: red;
	font-size: 11px;
	font-style: italic;
}

.span-require {
	color: red;
	font-style: italic;
}

.post-error {
	border: 1px solid #FFAAD5;
	margin: 0 auto 10px;
	background: #FFD2E9;
	padding: 10px;
}

.post-error span {
	color: #F00;
	font-weight: bold;
}

.post-product .show-date {
	vertical-align: middle;
}

.ddsmoothmenu-v ul, .ddsmoothmenu-v li, ddsmoothmenu-h ul, .ddsmoothmenu-h li {
	list-style: none;
	margin: 0;
}

.rows3 td {
	padding: 1px;
}

.error {
	color: red;
}

img.calendar {
	vertical-align: middle;
}

.bsss {
	background: none repeat scroll 0 0 #FFFFFF;
	border: medium none;
	color: #5C5C5C;
	cursor: pointer;
	text-decoration: underline;
}

.compare {
	margin-bottom: 10px;
}

.tabs {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 1em 0 1em;
	font-weight: 300;
	z-index: 0
}

/* Nav */
.tabs .nav {
	text-align: center;
}

.tabs .nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}

.tabs .nav li {
	border: 1px solid #becbd2;
	border-bottom: none;
	margin: 0 0.25em;
	display: block;
	float: left;
	position: relative;
	padding-top: 2px;
}

.tabs .nav li.active {
	border: 1px solid #47a3da;

	/*box-shadow: inset 0 2px #47a3da;*/
	box-shadow: 0 2px #47a3da inset;
	border-bottom: none;
	z-index: 100;
}

.tabs .nav li.active:before,
.tabs .nav li.active:after {
	content: '';
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 1000px;
	background: #47a3da;
}

.tabs .nav li.active:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs .nav a {
	color: #becbd2;
	display: block;
	font-size: 1.1em;
	line-height: 2.5;
	padding: 0 1.25em;
	white-space: nowrap;
	border-radius: 0;
	border: none;
}

.tabs .nav a:hover {
	color: #768e9d;
}

.tabs .nav li.active a {
	color: #47a3da;
	border-radius: 0;
	border: none;
}

#detail ul{
	padding-left: 0;
}

.nav-tabs li a img{
	display: inline-block;
	max-height: 30px;
	max-width: 30px;
	padding-right: 3px;
}

/* Icons */
.tabs .nav a:before {
	display: inline-block;
	vertical-align: middle;
	text-transform: none;
	font-weight: normal;
	font-variant: normal;
	font-family: 'icomoon';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	margin: -0.25em 0.4em 0 0;
}

/* Content */
.content section {
	font-size: 1.25em;
	padding: 2px 1px;
	display: none;
	max-width: 1230px;
	margin: 0 auto;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid #47a3da;
}

.content section.content-current {
	display: block;
}

/* Example media queries */

@media screen and (max-width: 52.375em) {
	.tabs .nav a span {
		display: none;
	}

	.tabs .nav a:before {
		margin-right: 0;
	}

	.mediabox {
		float: none;
		width: auto;
		padding: 0 0 35px 0;
		font-size: 90%;
	}

	.mediabox img {
		float: left;
		margin: 0 25px 10px 0;
		max-width: 40%;
	}

	.mediabox h3 {
		margin-top: 0;
	}

	.mediabox p {
		margin-left: 40%;
		margin-left: calc(40% + 25px);
	}

	.mediabox:before,
	.mediabox:after {
		content: '';
		display: table;
	}

	.mediabox:after {
		clear: both;
	}
}

@media screen and (max-width: 32em) {
	.tabs .nav ul,
	.tabs .nav ul li a {
		width: 100%;
		padding: 0;
	}

	.tabs .nav ul li {
		width: 20%;
		width: calc(20% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs .nav ul li:last-child {
		border-right: none;
	}

	.mediabox {
		text-align: center;
	}

	.mediabox img {
		float: none;
		margin: 0 auto;
		max-width: 100%;
	}

	.mediabox h3 {
		margin: 1.25em 0 1em;
	}

	.mediabox p {
		margin: 0;
	}
}

.info_pro{
	position: absolute;
	top: 40px;
	left: 5px
}

.newday{
	display: block;
	text-transform: uppercase
}

#coupons_info{
	margin-top: 6px
}

.tab-pane{
	padding: 5px
}
.select2-selection{
	height: 32px !important
}
.select2-container .select2-selection--single .select2-selection__rendered
{
	padding-top: 2px
}
.order_shipping_info li{
	margin: 8px 0;
}
/* =====================================================
   PRODUCT FILTER - MODERN OPTION CHIPS
   ===================================================== */

.filter_product {
 
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0;
}


/* Label tiêu đề */
.filter_product > label {
    margin: 0 8px 0 0 !important;

    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 36px;
}


/* =====================================================
   OPTION
   ===================================================== */

.filter_product .label_group {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    float: none !important;

    min-width: 44px;
    min-height: 34px;

    margin: 0 !important;
    padding: 6px 13px;

    background: #fff;

    border: 1px solid #d9dee5;
    outline: none;

    border-radius: 7px;

    color: #44505f;

    font-size: 13px;
    line-height: 20px;
    font-weight: 500;

    text-align: center;
    text-transform: none;
    white-space: nowrap;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
}


/* =====================================================
   HOVER
   ===================================================== */

.filter_product .label_group:hover {
    color: #1769a5;

    background: #f5f9fc;

    border-color: #8db9d8;

    box-shadow: 0 2px 7px rgba(23, 105, 165, .08);

    transform: translateY(-1px);
}


/* =====================================================
   ACTIVE / ĐANG CHỌN
   ===================================================== */

.filter_product .label_group.active,
.filter_product .active {
    color: #1769a5;

    background: #edf6fc;

    border-color: #2879b5;

    font-weight: 600;

    box-shadow:
        0 0 0 2px rgba(40, 121, 181, .08);
}


/* Active + hover */
.filter_product .label_group.active:hover,
.filter_product .active:hover {
    background: #e6f2fa;

    border-color: #1769a5;

    box-shadow:
        0 3px 9px rgba(23, 105, 165, .12);
}


/* =====================================================
   INPUT ẨN
   ===================================================== */

.filter_product .label_group input,
.filter_product .image_group input {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    margin: 0;

    cursor: pointer;

    opacity: 0;

    z-index: 1;
}


/* =====================================================
   KEYBOARD FOCUS
   ===================================================== */

.filter_product .label_group:focus-within {
    border-color: #1769a5;

    box-shadow:
        0 0 0 3px rgba(23, 105, 165, .12);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .filter_product {
        gap: 7px;
    }

    .filter_product .label_group {
        min-width: 42px;
        min-height: 36px;

        padding: 7px 12px;

        font-size: 13px;
    }
}

.ajax-load-qa {
	background: url("../images/shops/ajax-loader.gif") no-repeat center center rgba(255,255,255,0.5);
	position: absolute;
	z-index: 100;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
}

.thumbnail .caption h3{
	font-size: 14px
}

.info_icon:before {
	font-family: FontAwesome;
	color: #1E91CF;
	font-size: 14px;
	content: "\f05a";
}

.fb-like{
	margin-right: 30px;
}

.form-review{
	font-size: 13px
}

.form-review .pagination{
	margin-top: 2px
}

.form-review .pagination>li>a{
	padding: 1px 5px;
	font-size: 12px;
}

.form-review .review_row{
	border-bottom: 1px solid #ddd;
	margin-bottom: 5px
}

.form-review .border{
	padding: 0 10px 0 10px
}

.form-review .border-right{
	border-right: 1px solid #ddd;
}

/*  Second Example with big stars */
.rate-ex2-cnt{
	width:150px; height: 30px;
}
.rate-ex2-cnt .rate-btn{
	width: 30px; height:30px;
	float: left;
	background: url(../images/shops/rate/rate-btn2.png) no-repeat;
	cursor: pointer;
}
.rate-ex2-cnt .rate-btn:hover, .rate-ex2-cnt  .rate-btn-hover, .rate-ex2-cnt  .rate-btn-active{
	background: url(../images/shops/rate/rate-btn2-hover.png) no-repeat;
}
/* End second Example with big stars */

/* rate result */
.rate-result-cnt{
	width: 82px; height: 18px;
	position: relative;
}
.rate-stars{
	width: 82px; height: 18px;
	background: url(../images/shops/rate/rate-stars.png) no-repeat;
	position: absolute;
}
.rate-bg{
	height: 18px;
	background-color: #ffbe10;
	position: absolute;
}
.star-icon{
	width: 17px;
	height: 17px;
	background: url(../images/shops/rate/rate-btn3-hover.png) no-repeat;
	float: left
}

.docpay div{
	line-height: 25px
}

.docpay div strong{
	width: 120px;
	display: inline-block
}

#group_error {
	color: #C00;
	font-style: italic;
	padding: 5px;
	border: 1px dashed #C00;
	margin: 5px 0;
	display: none;
}

.download{
	border-bottom: dashed #DDDDDD 1px;
	line-height: 35px
}

.download, .download a{
	font-size: 13px
}

.btn-transparent{
	background: none;
	border: none;
	box-shadow: none
}
/* ==========================================================
   KHOI MOC DECOR - Shops module custom style (12/08/2026)
   Brand colors: blue #205FA0 (accent #2671B5), red #CD3333
   ========================================================== */

/* --- FIX ROOT BUG: #products was a shrinking flex-item inside
   the .col-md-18 wrapper, collapsing the whole product grid
   down to ~190px wide. Force it to fill the row. --- */
#products {
    flex: 1 1 100%;
    width: 100%;
}

/* --- LISTING: product cards --- */
#products .thumbnail {
    position: relative;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}
#products .thumbnail:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transform: translateY(-3px);
}
#products .thumbnail > div:first-child {
    text-align: center;
    margin-bottom: 10px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#products .thumbnail img.img-thumbnail {
    border: none;
    padding: 0;
    max-height: 190px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
#products .info_pro {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}
#products .info_pro .label-success.newday {
    background: #CD3333;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 4px 8px;
    border-radius: 3px;
}
#products .caption h3 {
    font-size: 15px;
    height: auto;
    min-height: 40px;
    margin-top: 0;
    line-height: 1.35;
}
#products .caption h3 a {
    color: #205FA0;
    font-weight: 600;
}
#products .caption h3 a:hover {
    color: #CD3333;
    text-decoration: none;
}
#products .caption p.label-default {
    background: #f2f2f2;
    color: #999;
    font-weight: normal;
    font-size: 11px;
}
#products .price {
    height: auto;
    margin: 8px 0;
}
#products .price .money {
    color: #CD3333;
    font-size: 19px;
    padding: 0;
}
#products .caption .btn-primary {
    background: #205FA0;
    border-color: #205FA0;
}
#products .caption .btn-primary:hover {
    background: #CD3333;
    border-color: #CD3333;
}

/* --- DETAIL PAGE --- */
#detail .panel {
    border: none;
    box-shadow: none;
}
#detail .col-sm-6 {
    text-align: center;
}
#detail .col-sm-6 img.img-thumbnail {
    width: 100%;
    max-width: 320px;
    height: auto;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    padding: 8px;
}
#detail ul.product_info {
    list-style: none;
    padding-left: 0;
}
#detail ul.product_info h2 {
    color: #3d3d3d;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    margin: 22px 0 10px;
    padding-top: 12px;
    border-top: 1px dashed #e5e5e5;
}
#detail ul.product_info > li:first-child h2 {
    font-size: 20px;
    margin: 0 0 6px;
    padding-top: 0;
    border-top: none;

}
#detail ul.product_info > li:nth-child(2) {
    color: #999;
    font-size: 13px;
    margin-bottom: 6px;
}
#detail ul.product_info > li.km-detail-price {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}
#detail ul.product_info > li.km-detail-price .money {
    font-size: 26px;
    font-weight: 700;
    color: #CD3333;
    padding: 0;
}
#detail ul.product_info > li.km-detail-hometext {
    background: #f7f9fb;
    border-left: 3px solid #205FA0;
    padding: 12px 5px;
    margin: 12px 0 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
}
#detail ul.product_info > li.km-detail-price {
    font-size: 14.5px;
    line-height: 1.75;
    color: #333;
}

#detail .btn-order {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 10px;
}
#detail .btn-order.btn-danger {
    background: #CD3333;
    border-color: #CD3333;
}
#detail .btn-order.btn-danger:hover {
    background: #a82929;
    border-color: #a82929;
}
#detail .btn-order.btn-success {
    background: #205FA0;
    border-color: #205FA0;
}
#detail .btn-order.btn-success:hover {
    background: #2671B5;
    border-color: #2671B5;
}
/* ==========================================================
   Round 2 (12/08/2026): move buy-box near top of detail page,
   add wishlist button styling to match banghieugo.com pattern
   ========================================================== */

/* Reorder: title/meta/price/short-desc + buy box appear first,
   the long article (bodytext) is pushed below. Uses flex order
   so no PHP/tpl generation logic needs to change. */
#detail .col-xs-24.col-sm-18 {
    display: flex;
    flex-direction: column;
}
#detail .col-xs-24.col-sm-18 > ul.product_info {
    display: contents;
}
 
#detail .col-xs-24.col-sm-18 > .well {
    order: 7;
}
#detail .col-xs-24.col-sm-18 > .clearfix {
    order: 8;
}
#detail .col-xs-24.col-sm-18 > button.btn-order {
    order: 9;
}
#detail .col-xs-24.col-sm-18 > a {
    order: 10;
}
#detail ul.product_info > li:nth-child(6) {
    order: 30;
    margin-top: 15px;
}

/* Wishlist button on detail page */
#detail .col-xs-24.col-sm-18 > a {
    display: inline-block;
}
#detail .btn-order.btn-primary {
    background: #fff;
    color: #205FA0;
    border: 1px solid #205FA0;
}
#detail .btn-order.btn-primary:hover {
    background: #205FA0;
    color: #fff;
}

/* Quantity + well spacing */
#detail .well {
    background: #f7f9fb00;
    border: 0;
    border-bottom: 1px solid #f2f2f2;
    box-shadow: none;
    border-radius: 0px;
    margin: 0px 0px;
}
/* Sort toolbar above listing grid */
#products ~ * , div:has(> #products) {}
.form-group.form-inline.pull-right {
    background: #f7f9fb;
    border: 1px solid #eef1f4;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 15px;
}
.form-group.form-inline.pull-right select {
    border-color: #cfd8e0;
}

/* Compare checkbox on product card */
#products .caption .compare {
    font-size: 12px;
    color: #777;
}
#products .caption .compare input {
    margin-right: 4px;
}
/* ==========================================================
   Round 3 (12/08/2026): buy-box proportions closer to reference
   - "Mua ngay" = single prominent full-width primary button
   - "Thêm vào giỏ" + "Yêu thích" = secondary row, side by side
   Switch the reorder mechanism from flex to CSS grid so two
   items can share one visual row (flex column can't do that).
   ========================================================== */
#detail .col-xs-24.col-sm-18 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}
#detail .col-xs-24.col-sm-18 > ul.product_info {
    display: contents;
}
#detail ul.product_info > li:nth-child(1) { grid-column: 1 / -1; }
#detail ul.product_info > li:nth-child(2) { grid-column: 1 / -1; }
#detail ul.product_info > li:nth-child(3) { grid-column: 1 / -1; }
#detail ul.product_info > li:nth-child(4) { grid-column: 1 / -1; }
#detail ul.product_info > li:nth-child(5) { grid-column: 1 / -1; }
#detail .col-xs-24.col-sm-18 > hr { grid-column: 1 / -1; }
#detail .col-xs-24.col-sm-18 > .well { grid-column: 1 / -1; }
#detail .col-xs-24.col-sm-18 > .clearfix { grid-column: 1 / -1; }
#detail .col-xs-24.col-sm-18 > button.btn-order.btn-success {
    grid-column: 1 / -1;
    order: 9;
    font-size: 15px;
    padding: 13px 24px;
    margin-right: 0;
}
#detail .col-xs-24.col-sm-18 > button.btn-order.btn-danger {
    grid-column: 1 / 2;
    order: 10;
    width: 100%;
    margin-right: 0;
    margin-top: 10px;
    background: #fff;
    color: #CD3333;
    border: 1px solid #CD3333;
}
#detail .col-xs-24.col-sm-18 > button.btn-order.btn-danger:hover {
    background: #CD3333;
    color: #fff;
}
#detail .col-xs-24.col-sm-18 > a {
    grid-column: 2 / 3;
    order: 10;
    margin-top: 10px;
}
#detail .col-xs-24.col-sm-18 > a .btn-order.btn-primary {
    width: 100%;
}
#detail ul.product_info > li:nth-child(6) { grid-column: 1 / -1; }
/* Product gallery frame */
#detail .km-gallery { display:flex; justify-content:center; gap:10px; margin-bottom:8px; }
#detail .km-gallery-thumbs { display:flex; flex-direction:column; gap:8px; }
#detail .km-gallery-thumb { width:56px; height:56px; border:2px solid #eef1f4; border-radius:4px; overflow:hidden; cursor:pointer; flex-shrink:0; background:#fff; }
#detail .km-gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
#detail .km-gallery-thumb.active { border-color:#205FA0; }
#detail .km-gallery-main { flex:0 1 auto; max-width:320px; }
#detail .km-gallery-main img.img-thumbnail { width:100%; max-width:320px; margin:0; }

/* Review widget zero-state */
#detail .km-review-widget { text-align:center; }
#detail .km-review-stars { font-size:20px; letter-spacing:3px; color:#dcdfe3; margin-bottom:8px; }
#detail .km-review-stars::before { content:"\2605\2605\2605\2605\2605"; }
#detail .km-review-empty { color:#777; font-size:13px; margin-bottom:12px; }
#detail .km-review-btn { display:inline-block; background:#fff; color:#205FA0; border:1px solid #205FA0; padding:6px 18px; border-radius:4px; font-size:13px; }
#detail .km-review-btn:hover { background:#205FA0; color:#fff; text-decoration:none; }


/* Product gallery v3 - thumbs + main + lightbox (banghieugo.com reference) */
#detail .km-gallery-v3 { display:flex; gap:14px; align-items:flex-start; margin-bottom:15px; }
#detail .km-gallery-v3-thumbs-wrap { display:flex; flex-direction:column; align-items:center; gap:6px; width:76px; flex-shrink:0; }
#detail .km-gallery-v3-thumbs { display:flex; flex-direction:column; gap:10px; width:76px; max-height:254px; overflow:hidden auto; flex-shrink:0; }
#detail .km-gallery-v3-thumb-nav { width:66px; height:20px; border:1px solid #e5d8cb; border-radius:6px; background:#fff; color:#7a5a3a; font-size:10px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; flex-shrink:0; }
#detail .km-gallery-v3-thumb-nav:hover { background:#f7f1e8; }
#detail .km-gallery-v3-thumb-nav[hidden] { display:none; }
#detail .km-gallery-v3-thumbs::-webkit-scrollbar { display:none; }
#detail .km-gallery-v3-thumb { display:block; width:66px; height:56px; min-height:56px; margin:0; padding:0; overflow:hidden; border:1px solid #e5d8cb; border-radius:7px; background:#fff; cursor:pointer; opacity:.78; box-sizing:border-box; }
#detail .km-gallery-v3-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
#detail .km-gallery-v3-thumb.is-active { border-color:#205FA0; box-shadow:0 0 0 1px #205FA0; opacity:1; }
#detail .km-gallery-v3-main { flex:1 1 auto; min-width:0; }
#detail .km-gallery-v3-main-button { display:block; width:100%; margin:0; padding:0; border:0; background:transparent; cursor:zoom-in; }
#detail .km-gallery-v3-main img { display:block; width:100%; height:auto; object-fit:contain; object-position:center center; border-radius:6px; }

.km-gallery-v3-lightbox[hidden] { display:none; }
.km-gallery-v3-lightbox { position:fixed; inset:0; z-index:9999999; display:grid; place-items:center; padding:24px; background:rgba(18,12,8,.92); }
.km-gallery-v3-lightbox-stage { position:relative; width:min(1180px,100%); height:min(88vh,860px); display:flex; align-items:center; justify-content:center; }
.km-gallery-v3-lightbox-image { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; border-radius:6px; }
.km-gallery-v3-close, .km-gallery-v3-prev, .km-gallery-v3-next { position:absolute; z-index:2; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:50%; background:rgba(255,255,255,.94); color:#2b1b10; cursor:pointer; box-shadow:0 8px 28px rgba(0,0,0,.28); }
.km-gallery-v3-close { top:18px; right:18px; width:44px; height:44px; font-size:26px; line-height:1; }
.km-gallery-v3-prev, .km-gallery-v3-next { top:50%; width:46px; height:46px; transform:translateY(-50%); font-size:26px; line-height:1; }
.km-gallery-v3-prev { left:18px; }
.km-gallery-v3-next { right:18px; }
body.km-gallery-v3-open { overflow:hidden; }
@media (max-width: 767px) {
  #detail .km-gallery-v3 { flex-direction:column; }
  #detail .km-gallery-v3-thumbs-wrap { flex-direction:row; width:100%; }
  #detail .km-gallery-v3-thumbs { flex-direction:row; width:100%; max-height:none; overflow:auto hidden; }
  #detail .km-gallery-v3-thumb-nav { display:none; }
  #detail .km-gallery-v3-thumb { flex-shrink:0; }
}



 #detail .km-content{
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 0px 10px #dcdcdc3d;
}
.right-default .panel-default{
    border: 1px solid #eaeaea!important;
    border-radius: 10px!important;
    padding: 15px!important;
    box-shadow: 0px 0px 10px #dcdcdc3d!important;
}
.right-default .panel-heading{
background-image: none!important;
background-color: transparent;
}

/* =========================
   CART BLOCK - UX CLEAN
========================= */

#cart_shops {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.045);
    font-size: 14px;
    line-height: 1.55;
    color: #2d3748;
    transition: box-shadow .25s ease, transform .25s ease;
}

#cart_shops:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
}

/* Reset khoảng cách mặc định */
#cart_shops p {
    margin: 0;
    padding: 5px 0;
}

/* Dòng giỏ hàng đầu tiên */
#cart_shops p:first-child {
    padding-bottom: 9px;
    margin-bottom: 5px;
    border-bottom: 1px solid #edf0f4;
    color: #333;
}

/* Chữ Giỏ hàng / Tổng */
#cart_shops strong {
    font-weight: 600;
    color: #20242a;
}

/* Số lượng sản phẩm */
#cart_shops p:first-child > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin: 0 3px;
    padding: 0 6px;
    border-radius: 20px;
    background: #f1f6fc;
    color: #1769aa;
    font-size: 13px;
    font-weight: 600;
}

/* Giá tiền */
#cart_shops .money {
    color: #e53935;
    font-size: 16px;
    font-weight: 700;
    margin-left: 3px;
}

/* Nút xem chi tiết */
#cart_shops #submit_send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin: 8px 0 5px;
    padding: 8px 14px;
    background: #1769aa;
    border: 1px solid #1769aa;
    border-radius: 7px;

    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
}

#cart_shops #submit_send:hover {
    background: #125b96;
    border-color: #125b96;
    color: #fff;
    box-shadow: 0 4px 10px rgba(23, 105, 170, .18);
    text-decoration: none;
}

#cart_shops #submit_send:active {
    transform: translateY(1px);
}

/* Các link phụ */
#cart_shops p:not(:first-child) a:not(#submit_send) {
    position: relative;
    display: inline-block;
    color: #44546a;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease;
}

#cart_shops p:not(:first-child) a:not(#submit_send):hover {
    color: #1769aa;
    text-decoration: none;
}

/* Wishlist number */
#cart_shops #wishlist_num_id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #f3f5f8;
    color: #505c6e;
    font-size: 12px;
    font-weight: 600;
}

/* Tạo khoảng cách đẹp cho link phụ */
#cart_shops p:nth-last-child(-n+2) {
    padding-top: 6px;
}

/* Mobile */
@media (max-width: 767px) {
    #cart_shops {
        padding: 14px 15px;
        border-radius: 10px;
    }

    #cart_shops #submit_send {
        min-height: 42px;
    }
} 


/* =========================================================
   DANH MỤC SẢN PHẨM - NUKeviet
   Không cần sửa HTML
   ========================================================= */

/* Chỉ chọn panel có menu metismenu */
.right-default .panel.panel-default:has(.metismenu) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 22px 0 !important;
}


/* =========================
   TIÊU ĐỀ
   ========================= */

.right-default .panel.panel-default:has(.metismenu) > .panel-heading {
    position: relative !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;

    padding: 0 0 20px 0 !important;
    margin:  0!important;

    color: #111 !important;

    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;

    text-transform: uppercase !important;
}


/* Thanh xanh + vàng dưới tiêu đề */

.right-default .panel.panel-default:has(.metismenu) > .panel-heading::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    bottom: 9px !important;

    width: 58px !important;
    height: 3px !important;

    border-radius: 5px !important;

    background: linear-gradient(
        90deg,
        #6d9c53 0%,
        #6d9c53 50%,
        #d4a62a 50%,
        #d4a62a 100%
    ) !important;
}


/* =========================
   PANEL BODY
   ========================= */

.right-default .panel.panel-default:has(.metismenu) > .panel-body {
    padding: 9px 13px !important;
margin-bottom: 20px;
    background: #fff !important;

    border: 1px solid #e4e7de !important;

    border-radius: 13px !important;

    box-shadow: none !important;
}


/* =========================
   RESET METISMENU CŨ
   ========================= */

.right-default .panel.panel-default:has(.metismenu) .metismenu,
.right-default .panel.panel-default:has(.metismenu) .sidebar,
.right-default .panel.panel-default:has(.metismenu) .sidebar-nav {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* =========================
   UL
   ========================= */

.right-default .panel.panel-default:has(.metismenu) .sidebar-nav > ul {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
}


/* =========================
   LI
   ========================= */

.right-default .panel.panel-default:has(.metismenu) .sidebar-nav > ul > li {
    display: block !important;

    position: relative !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 1px solid #e8e9e4 !important;

    box-shadow: none !important;
}

.right-default .panel.panel-default:has(.metismenu) .sidebar-nav > ul > li:last-child {
    border-bottom: 0 !important;
}


/* =========================
   LINK
   ========================= */

.right-default .panel.panel-default:has(.metismenu) .sidebar-nav > ul > li > a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding:
        11px
        12px
        11px
        42px !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 10px !important;

    box-shadow: none !important;

    color: #171717 !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;

    text-decoration: none !important;
    text-shadow: none !important;

    transition:
        background-color .22s ease,
        color .22s ease,
        padding-left .22s ease,
        box-shadow .22s ease !important;
}


/* =========================
   NGÔI SAO
   ========================= */

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a::before {

    content: "★" !important;

    position: absolute !important;

    left: 13px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    width: auto !important;
    height: auto !important;

    color: #6d9c53 !important;

    background: none !important;

    font-size: 15px !important;
    line-height: 1 !important;

    transition:
        color .22s ease,
        transform .22s ease !important;
}


/* =========================
   HOVER
   ========================= */

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:hover,

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:focus {

    background: #f8f5ec !important;
    background-color: #f8f5ec !important;
    background-image: none !important;

    color: #173c18 !important;

    padding-left: 46px !important;

    border: 0 !important;

    box-shadow:
        inset 3px 0 0 #d5a528 !important;

    text-decoration: none !important;
}


/* Sao vàng khi hover */

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:hover::before,

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:focus::before {

    color: #d5a528 !important;

    transform:
        translateY(-50%)
        scale(1.12) !important;
}


/* =========================
   ACTIVE
   ========================= */

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li.active > a {

    background: #f8f5ec !important;
    background-image: none !important;

    color: #173c18 !important;

    font-weight: 600 !important;

    box-shadow:
        inset 3px 0 0 #d5a528 !important;
}

.right-default .panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li.active > a::before {

    color: #d5a528 !important;
}

#category {width: 100%;}

/* =========================================================
   PRODUCT CARD - UX CLEAN / MODERN
   Giữ nguyên HTML hiện tại
   ========================================================= */

/* Cột sản phẩm */
.col-sm-12.col-md-8 {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Card */
.col-sm-12.col-md-8 > .thumbnail {
    position: relative !important;

    margin: 0 0 24px 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 1px solid #e7eaf0 !important;
    border-radius: 14px !important;

    overflow: hidden !important;

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.045) !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;
}


/* Hover card */
.col-sm-12.col-md-8 > .thumbnail:hover {
    transform: translateY(-3px) !important;

    border-color: #d9dee7 !important;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.09) !important;
}


/* =========================================================
   KHUNG ẢNH
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail > div:first-child {
    position: relative !important;

    height: 210px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #f7f8fa !important;
}


/* Link ảnh */
.col-sm-12.col-md-8 > .thumbnail > div:first-child > a {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    overflow: hidden !important;
}


/* Ảnh sản phẩm */
.col-sm-12.col-md-8 > .thumbnail > div:first-child img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    transition:
        transform .4s ease,
        filter .4s ease !important;
}


/* Zoom ảnh nhẹ */
.col-sm-12.col-md-8 > .thumbnail:hover > div:first-child img {
    transform: scale(1.035) !important;
}


/* =========================================================
   BỎ KHOẢNG TRẮNG info_pro
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .info_pro {
    display: none !important;
}


/* =========================================================
   PHẦN NỘI DUNG
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption {
    padding: 16px 16px 17px !important;

    text-align: left !important;

    background: #fff !important;
}


/* =========================================================
   TÊN SẢN PHẨM
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption h3 {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    min-height: 50px !important;

    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption h3 a {
    color: #172033 !important;

    text-decoration: none !important;

    transition: color .2s ease !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption h3 a:hover {
    color: #1f6fb2 !important;
}


/* =========================================================
   MÃ SẢN PHẨM
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption .label.label-default {
    display: inline-flex !important;
    align-items: center !important;

    margin: 0 0 10px 0 !important;
    padding: 4px 8px !important;

    background: #f1f3f5 !important;

    border: 1px solid #e1e5e9 !important;
    border-radius: 5px !important;

    color: #697386 !important;

    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}


/* =========================================================
   ADMIN EDIT / DELETE
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption p a[title="Sửa"],
.col-sm-12.col-md-8 > .thumbnail .caption p a[title="Xóa"] {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 26px !important;
    height: 26px !important;

    border-radius: 5px !important;

    color: #4b6075 !important;

    background: #f5f7f9 !important;

    text-decoration: none !important;

    transition:
        background-color .2s ease,
        color .2s ease !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption p a[title="Sửa"]:hover {
    background: #eaf3fb !important;
    color: #1976b9 !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption p a[title="Xóa"]:hover {
    background: #fff0f0 !important;
    color: #d9363e !important;
}


/* =========================================================
   GIÁ
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption .price {
    margin: 10px 0 13px 0 !important;
    padding: 0 !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption .price .money {
    color: #d92d2d !important;

    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    letter-spacing: -.2px !important;
}


/* =========================================================
   SO SÁNH
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption p:has(input[type="checkbox"]) {
    display: flex !important;
    align-items: center !important;

    gap: 6px !important;

    margin: 0 0 13px 0 !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;

    margin: 0 !important;

    cursor: pointer !important;

    accent-color: #1f73b7 !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption p:has(input[type="checkbox"]) a {
    color: #536273 !important;

    font-size: 13px !important;

    text-decoration: none !important;

    transition: color .2s ease !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption p:has(input[type="checkbox"]) a:hover {
    color: #1f73b7 !important;
}


/* =========================================================
   VÙNG NÚT HÀNH ĐỘNG
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption > .clearfix {
    display: flex !important;
    align-items: center !important;

    gap: 8px !important;

    margin-top: 2px !important;
}


/* Reset link chứa button */
.col-sm-12.col-md-8 > .thumbnail .caption > .clearfix > a {
    display: block !important;

    margin: 0 !important;

    text-decoration: none !important;
}


/* =========================================================
   BUTTON CHUNG
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption .btn {
    min-height: 36px !important;

    padding: 7px 13px !important;

    border-radius: 7px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;

    box-shadow: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .15s ease !important;
}


/* =========================================================
   ĐẶT HÀNG
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption .clearfix > a:first-child .btn {
    background: #1f73b7 !important;

    border: 1px solid #1f73b7 !important;

    color: #fff !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption .clearfix > a:first-child .btn:hover {
    background: #195f98 !important;

    border-color: #195f98 !important;

    box-shadow:
        0 4px 10px rgba(31, 115, 183, .20) !important;

    transform: translateY(-1px) !important;
}


/* =========================================================
   YÊU THÍCH
   ========================================================= */

.col-sm-12.col-md-8 > .thumbnail .caption .clearfix > a:nth-child(2) .btn {
    background: #fff !important;

    border: 1px solid #d9e0e7 !important;

    color: #526273 !important;
}


.col-sm-12.col-md-8 > .thumbnail .caption .clearfix > a:nth-child(2) .btn:hover {
    background: #f5f8fb !important;

    border-color: #b9c8d6 !important;

    color: #1f73b7 !important;
}


/* NukeViet đang gắn disabled cho nút yêu thích */
.col-sm-12.col-md-8 > .thumbnail .caption .btn.disabled {
    opacity: .6 !important;

    cursor: not-allowed !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .col-sm-12.col-md-8 > .thumbnail > div:first-child {
        height: 230px !important;
    }

    .col-sm-12.col-md-8 > .thumbnail .caption {
        padding: 14px !important;
    }

    .col-sm-12.col-md-8 > .thumbnail .caption h3 {
        min-height: auto !important;
    }

    .col-sm-12.col-md-8 > .thumbnail .caption > .clearfix {
        gap: 7px !important;
    }
}

.thumbnail .caption .product-hometext {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    margin: 4px 0 8px;
    min-height: 2.8em;
}
.km-product {
  max-width: 860px;
  margin: 0 auto;
  color: #222;
  font-size: 16px;
  line-height: 1.75;
}

.km-product p {
  margin: 0 0 14px;
}

.km-spec-box,
.km-price-box,
.km-note,
.cta-box {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 8px;
}

.km-spec-box {
  background: #f7f9fb;
  border: 1px solid #e4e8ed;
}

.km-spec-box p {
  margin: 0;
}

.km-product h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.35;
  color: #111;
}

.image-conten, .km-product .image-conten {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto 8px;
  border-radius: 8px;
}

.km-product .xemthem {
  margin: 0 0 20px;
  color: #666;
  font-size: 14px;
  text-align: center;
  font-style: italic;
}

.km-price-box {
  background: #fffaf2;
  border: 1px solid #efd8aa;
}

.km-price-box p {
  margin: 0;
}

.km-note {
  background: #f4f8f6;
  border-left: 4px solid #2f7d57;
}

.cta-box {
  background: #202020;
  color: #fff;
}

.cta-box p {
  margin: 0;
}

.km-product a {
  color: #0b6bcb;
  text-decoration: none;
}

.km-product a:hover {
  text-decoration: underline;
}

.faq-item {
  margin: 14px 0;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
}

.faq-question {
  margin: 0 0 6px;
  color: #111;
}

.faq-answer {
  margin: 0;
}

@media (max-width: 640px) {
  .km-product {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .km-product h2 {
    font-size: 21px;
  }

  .km-spec-box,
  .km-price-box,
  .km-note,
  .cta-box,
  .faq-item {
    padding: 14px;
  }
}


/* =====================================================
   FIX KM-NOTE BỊ DÍNH / CHỒNG VÀO ẢNH
   ===================================================== */

/* Figure phải nằm thành 1 block riêng */
.km-product figure.image {
    display: block !important;
    float: none !important;
    clear: both !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 20px 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* Ảnh không được tràn */
.km-product figure.image img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;
}


/* Caption */
.km-product figure.image figcaption {
    display: block !important;
    float: none !important;
    clear: both !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 8px 12px !important;

    box-sizing: border-box !important;
}


/* =====================================================
   KM NOTE
   ===================================================== */

.km-product .km-note {
    display: block !important;
    float: none !important;
    clear: both !important;

    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 18px 0 !important;
    padding: 16px 18px !important;

    box-sizing: border-box !important;

    background: #f4f8f6 !important;

    border: 0 !important;
    border-left: 4px solid #2f7d57 !important;

    border-radius: 8px !important;
}


/* Paragraph bên trong note */
.km-product .km-note p {
    margin: 0 !important;

    line-height: 1.7 !important;
}


/* Nếu có nhiều paragraph */
.km-product .km-note p + p {
    margin-top: 8px !important;
}

/* =====================================================
   CTA BOX - SÁNG, CHUYÊN NGHIỆP
   ===================================================== */

.km-product .cta-box {
    position: relative !important;
    display: block !important;
    clear: both !important;

    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

    margin: 24px 0 !important;
    padding: 18px 22px 18px 24px !important;

    /* nền xanh rất nhẹ */
    background: linear-gradient(
        135deg,
        #f3f8fc 0%,
        #f8fbfd 100%
    ) !important;

    /* viền */
    border: 1px solid #d9e7f2 !important;
    border-left: 4px solid #2369a5 !important;

    border-radius: 10px !important;

    color: #25384a !important;

    box-shadow:
        0 3px 12px rgba(31, 105, 165, .07) !important;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease !important;
}


/* Hover nhẹ */
.km-product .cta-box:hover {
    border-color: #c8deed !important;
    border-left-color: #d5a62a !important;

    box-shadow:
        0 7px 20px rgba(31, 105, 165, .11) !important;

    transform: translateY(-1px) !important;
}


/* Nội dung */
.km-product .cta-box p {
    margin: 0 !important;

    color: #25384a !important;

    font-size: 15px !important;
    line-height: 1.75 !important;
}


/* Chữ nhấn mạnh */
.km-product .cta-box strong {
    color: #145b91 !important;
    font-weight: 700 !important;
}


/* Link nếu CTA có link */
.km-product .cta-box a {
    color: #1769a5 !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    border-bottom: 1px dashed #8ab5d4 !important;

    transition:
        color .2s ease,
        border-color .2s ease !important;
}

.km-product .cta-box a:hover {
    color: #d08c00 !important;
    border-bottom-color: #d08c00 !important;
}


/* Mobile */
@media (max-width: 767px) {

    .km-product .cta-box {
        margin: 20px 0 !important;
        padding: 15px 17px 15px 19px !important;

        border-radius: 8px !important;
    }

    .km-product .cta-box p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
}

/* =========================================================
   DANH MỤC SẢN PHẨM
   Đồng bộ trang danh mục + trang chi tiết
   ========================================================= */

/* Chỉ chọn panel có metismenu */
.panel.panel-default:has(.metismenu) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    margin: 0 0 22px 0 !important;
    padding: 0 !important;
}


/* =========================================================
   TIÊU ĐỀ
   ========================================================= */

.panel.panel-default:has(.metismenu) > .panel-heading {
    position: relative !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

     margin: 20px 0 0 0!important;
    padding: 0 0 18px 0 !important;

    color: #111 !important;

    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;

    text-transform: uppercase !important;
}


/* Gạch xanh + vàng */
.panel.panel-default:has(.metismenu) > .panel-heading::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    bottom: 7px !important;

    width: 58px !important;
    height: 3px !important;

    border-radius: 3px !important;

    background: linear-gradient(
        90deg,
        #6fa34c 0%,
        #6fa34c 48%,
        #d6a72c 48%,
        #d6a72c 100%
    ) !important;
}


/* =========================================================
   KHUNG MENU
   ========================================================= */

.panel.panel-default:has(.metismenu) > .panel-body {
    background: #fff !important;

    border: 1px solid #e5e8df !important;
    border-radius: 13px !important;

    padding: 9px 13px !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .02) !important;
}


/* =========================================================
   RESET CSS CŨ
   ========================================================= */

.panel.panel-default:has(.metismenu) .panel,
.panel.panel-default:has(.metismenu) .metismenu,
.panel.panel-default:has(.metismenu) .sidebar,
.panel.panel-default:has(.metismenu) .sidebar-nav {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* =========================================================
   UL
   ========================================================= */

.panel.panel-default:has(.metismenu) .sidebar-nav > ul {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    background: transparent !important;
    background-image: none !important;
}


/* =========================================================
   LI
   ========================================================= */

.panel.panel-default:has(.metismenu) .sidebar-nav > ul > li {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 1px solid #e8e9e4 !important;

    box-shadow: none !important;
}

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li:last-child {
    border-bottom: 0 !important;
}


/* =========================================================
   LINK DANH MỤC
   ========================================================= */

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a {

    position: relative !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 11px 12px 11px 42px !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 10px !important;

    box-shadow: none !important;

    color: #171717 !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;

    text-decoration: none !important;
    text-shadow: none !important;

    transition:
        background-color .22s ease,
        color .22s ease,
        padding-left .22s ease,
        box-shadow .22s ease !important;
}


/* =========================================================
   SAO BÊN TRÁI
   ========================================================= */

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a::before {

    content: "★" !important;

    position: absolute !important;

    left: 13px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    color: #6fa34c !important;

    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    background: none !important;

    transition:
        color .22s ease,
        transform .22s ease !important;
}


/* =========================================================
   HOVER
   ========================================================= */

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:hover,

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:focus {

    background: #f8f5ec !important;
    background-color: #f8f5ec !important;
    background-image: none !important;

    color: #173d16 !important;

    padding-left: 46px !important;

    box-shadow: inset 3px 0 0 #d3a52a !important;

    text-decoration: none !important;
}


/* Sao vàng khi hover */
.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:hover::before,

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li > a:focus::before {

    color: #d5a62a !important;

    transform:
        translateY(-50%)
        scale(1.12) !important;
}


/* =========================================================
   ACTIVE - DANH MỤC ĐANG XEM
   ========================================================= */

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li.active > a,

.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li.active > a:hover {

    background: #f8f5ec !important;
    background-image: none !important;

    color: #173d16 !important;

    font-weight: 600 !important;

    padding-left: 46px !important;

    box-shadow: inset 3px 0 0 #d3a52a !important;
}


.panel.panel-default:has(.metismenu)
.sidebar-nav > ul > li.active > a::before {

    color: #d5a62a !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .panel.panel-default:has(.metismenu)
    > .panel-heading {

        font-size: 17px !important;
    }


    .panel.panel-default:has(.metismenu)
    > .panel-body {

        padding: 8px 11px !important;

        border-radius: 11px !important;
    }


    .panel.panel-default:has(.metismenu)
    .sidebar-nav > ul > li > a {

        min-height: 45px !important;

        padding-left: 39px !important;

        font-size: 14px !important;
    }
}


.product-km{
    padding: 9px 13px !important;
    background: #fff !important;
    border: 1px solid #e4e7de !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    margin-bottom: 20px;
}

.well .row ,.filter_product .row {
    display: flex !important;
    align-items: center !important;
}

.panel-default>.panel-heading {
    color: #333 !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    border-bottom: 1px solid #ededed !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 18px !important;
}









