/* CSS table ======================================*/

table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  margin: 0 0 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

tr:first-child{
  background-color: #007BFF;
  color: white;
  text-align: left;
}

tr:first-child td {
  background: #435e74;
  color: #fff;
}
tr:first-child:hover{
	cursor: pointer
}
tr:first-child th{
	color: #fff
}

th, td {
  padding: 6px !important;
  border-bottom: 1px solid #ddd;
  font-size: 98%;
  line-height: 1.5em;
  color: #000;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.table-wrapper {
    max-height: 700px; 
    overflow: hidden;
    position: relative;
}

.table-wrapper.expanded {
    max-height: none;
}

.toggle-table {
  display: inline-block;
  background: #333;
  color: #fff;
  border: none;
  margin-top: 10px;
  border-radius: 25px;
  font-weight: 400;
	line-height: 2em;
	min-height: 2em;
	font-size: 13px;
}


/* Cuộn ngang chỉ trên thiết bị nhỏ */
/* Scroll ngang trên mobile */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;
  }

  th, td {
    white-space: nowrap;
  }
  th:first-child,
  td:first-child {
    position: sticky;
    left: 0;
    background: #fff; 
    z-index:10;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1); 
  }
  thead th:first-child {
    z-index: 3;
  }
}
/* CSS Blockqoute===================== */

blockquote{
	font-size: 16px;
	font-style: normal;
	background: #fff8e5;
	border-radius: 2px;
	border-left: none;
	padding: 10px 10px 10px;
}

blockquote p{
	color: #000;
	text-align: justify
}
blockquote li{
    text-align: justify;
}
blockquote p a{
    color: #116fe3;
	font-weight: 600;
	transition: .3s
}


blockquote li a{
	color: #FF7F50;
}
blockquote li a:hover{
	color: #000;
	font-weight: bold;
}
blockquote ul, blockquote li:last-child{
	margin-bottom: 0;
}
.term-top-description blockquote ul{
    margin-left: 30px;
}

/* CSS footer ======================================*/
.custom-footer {
	background: #f2f2f2 !important
}
.custom-footer .row{
	background: linear-gradient(#004a88,#0065bb);
	padding-top: 20px;
	border-radius: 3px
}
.custom-footer p{
  font-size: 14px !important;
	color: #fff
}

.footer-col h4 {
	font-size: 18px;
	color: #fff;
  margin-bottom: 15px;
  font-weight: 500;
  border-bottom: 2px solid #f39c12;
  padding-bottom: 8px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
	font-size: 15px;
    color: #fff;
    text-decoration: none;
}
.footer-col ul li a:hover {
    color: #f39c12;
}
.footer-col p{
	text-align: justify !important
}
.footer-bottom {
  text-align: center;
  padding: 10px;
	margin-bottom: 0;
}
.footer-bottom p{
	margin-bottom: 0;
	color: #fff
}

.footer-col img{
	border-radius: 10px
}

.footer-col blockquote{
	padding:5px;
	margin-bottom: 0;
	background: #ffffff
}
.footer-col blockquote p{
	text-align: left !important;
	margin: 5px !important;
}
.footer-col blockquote li{
	font-size: 14px
}
.footer-col blockquote li a {
	font-weight: 400;
	color: #0c71ed
}
.footer-backgr {
	height: 20px
}



/* CSS CPT sản phẩm ============================== */
.hnp-single-product-main .post-author-box{
	margin: 50px 0 30px;
	text-align: inherit
}

.hnp-product-title {
	text-align: left
}
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

.product-policises-wrapper {
	border: 1px dashed #0c71ed;
	border-radius: 5px
}
.product-policises {
	margin: 0 !important;
	padding: 15px
}
.item_poli {
	list-style: none;
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 15px
}

.item_poli:last-child{
	margin-bottom: 00
}
.item_poli img{
	width: 30px;
	height: 30px
}

.product-views {
	background: #0c71ed;
	color: #fff;
	padding: 5px 10px;
	border-radius: 2px;
	margin-bottom: 15px
}

.cat-detail {
	padding-top: 20px
}
.cat-detail .large-9{
	background: #fff;
	text-align: justify;
	padding-top: 15px
}
.cat-detail .large-9 ul, .hnp-single-product-main ul {
	margin-left: 20px
}
.cat-detail .large-9 h2, .hnp-single-product-main h2{
	font-size: 22px
}
.cat-detail .large-9 h1{
	text-align: left
}
.hnp-single-product-main {
	background: #fff;
	padding-top: 20px;
	text-align: justify
}
.hnp-single-product-wrapper  {
	padding-top: 20px
}

.hnp-product-list .hnp-product-item {
	background: #fff;
	padding: 5px;
	border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;	
	transition: 0.2s
}
.hnp-product-list .hnp-product-item:hover{
	box-shadow: #0089ff6e 0px 0px 5px 0px, #0089ff6e 0px 0px 1px 0px;
}
.hnp-product-item img{
	border-bottom: 2px solid #e5e5e5
}
.hnp-product-list {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
	margin-bottom: 20px
}


.hnp-product-item h5 {
  font-size: 15px;
  margin-top: 8px;
	text-align: center;
	font-weight: 450;
	padding: 0 5px;
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;	
}

.hnp-product-image {
width: 100%
}

.hnp-product-image img {
	width: 100% !important;
	
}


.hnp-related-products-row{
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
}
.hnp-related-products-col {
	padding: 5px;
	border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.hnp-related-products-col h5 {
	text-align: center;
	margin-bottom: 0
}
.hnp-related-products-col h5 a{
	color: #333;
	display: -webkit-box;
	font-weight: 450;
	font-size: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;	
	padding: 7px 5px
}
.sidebar-product-cats {
    background: #fff;
    padding: 15px; 
}

.sidebar-product-cats .parent-category {
    position: relative;
    margin-bottom: 5px;
}


.sidebar-product-cats .parent-link {
	display: block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.sidebar-product-cats ul {
	margin: 0
}
.sidebar-product-cats ul li.parent-category {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
	list-style: none;
	position: relative
}


.sidebar-product-cats ul li a {
    display: block;
    color: #222;
}


.sidebar-product-cats .child-category {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: none;
}


.sidebar-product-cats .child-category .list-group-item {
    padding: 3px 0;
}
.sidebar-product-cats .child-category .list-group-item a {
	font-size: 15px
}

.sidebar-product-cats .child-category a:hover {
    color: #007bff;
}



.sidebar-product-cats .child-category a:hover {
    color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-product-cats {
      margin-bottom: 20px;
      padding: 10px;
			display: none
    }
    .sidebar-product-cats .widget-title {
        font-size: 16px;
    }
    .sidebar-product-cats .child-category a {
        font-size: 13px;
    }
	.hnp-product-item {
		max-width: 50%;
		flex-basis: 50%
	}
	.hnp-product-item h5{
		font-size: 15px
	}
	.hnp-related-products-col {
		flex-basis: 50%;
		max-width: 50%
	}
}

.sidebar-sticky-wrap {
    position: sticky;
    top: 120px;
}


.sidebar-product-cats .toggle-cat {
		font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    position: absolute;
    right: 0;
    bottom: 0px;
    padding: 3px 15px;
    color: #333;
	transition: 0.2s
}
.toggle-cat.toggle-down{
		transform: translatey(-6px)
}
.toggle-cat.toggle-up{
			transform: translatey(-12px)
}
.sidebar-product-cats .toggle-cat.toggle-down::before {
  content: "▼";
}

.sidebar-product-cats .toggle-cat.toggle-up::before {
  content: "▲";
}
.sidebar-product-cats .toggle-cat:hover{
	background:#f7f7f7
}


.sidebar-product-cats .child-category {
    margin-left: 15px;
    padding-left: 0;
    list-style: none;
}

.sidebar-product-cats .hnp-category-list {
	margin-bottom: 20px
}




.hnp-cat-desc-wrapper {
    position: relative;
    margin-top: 20px;
}

.hnp-cat-desc-content {
	max-height: 250px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease;
}

.hnp-cat-desc-wrapper.expanded .hnp-cat-desc-content {
    max-height: 100%;
}
.readmore-cat{
	text-align: center;
	position: relative
}
.hnp-readmore-btn {
  padding: 0px 18px;
  background: #0c71ed;
  border: none;
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
  font-size: 15px;
	text-transform: inherit;
	min-height: 1em;
	line-height: 2em;
	font-weight: 500;
	margin: 10px 0;
}

.hnp-readmore-btn:hover {
    background: #0051b5;
}
.hnp-cat-desc-wrapper:not(.expanded) .hnp-cat-desc-content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; 
    height: 70px; 
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1) 100%
    );
    pointer-events: none;
}

.hnp-cat-desc-wrapper.expanded .hnp-cat-desc-content::after {
    display: none;
}



/* CSS hỗ trợ kỹ thuật ============================================================ */
.widget-title{
	font-size: 18px !important;
	font-weight: 500;
	background: #0065bb;
	display: block;
	color: #fff;
	padding:5px 10px !important;
	margin-bottom: 10px
}

.widget-title:before{
	  content: "\f03a"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    display: inline-block;
    margin-right: 6px;
}

.textwidget img{
	margin-bottom:0 !important;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
	border-radius: 2px
}
.sp-tech{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	border: 1px dashed #ddd;
	padding: 10px !important;
	margin-bottom: 2px
}
.sp-employee{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.sp-employee .sp-name{
	font-weight: 600;
}
.sp-employee .sp-hotline{
	font-size: 13px
}
.sp-contact {
	display: flex;
	gap: 20px;
	align-items:center;
}
.sp-contact img{
	width: 25px !important;
	height: 25px;
	border-radius: 50px;
	object-fit: cover
}

.ct-cl .col-inner{
	border-radius: 3px;
	background: #fff;
	border: 1px solid #ddd;
	padding:30px 10px 10px;
	box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}
.ct-cl .col-inner p{
	text-align: justify;
	color: #000
}
.ct-cl .col-inner blockquote p{
	text-align: left
}




/* CSS custom trang chủ ========================*/
.homepage-featured-products .container{
	padding:0
}
.prd-hp .col img{
	border-radius: 10px;
	padding-top: 20px
}

.featured-category-title span{
	background: #0269e7 ;
	padding: 5px 15px;
	color: #fff;
}

.prdtname {
	padding:0 6px;
	font-weight: 500;
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prd-hp{
	display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
	margin-left: 0px !important;
	margin-right: 0px !important;
	margin-bottom: 20px
}

.prd-hp .col {
	background: #fff;
  box-sizing: border-box;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 0 0 8px;
  margin: 0;
	transition: .3s
}
.prd-hp .col:hover{
	box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.prd-brand{
	position: absolute;
	top: 0;
	left:0;
	background: #0269e7;
	color: #fff;
	padding: 2px 6px;
	font-size: 14px
}
.homepage-intro{
	padding-top: 20px
}

.homepage-intro .container{
	background: linear-gradient(#004a88,#0065bb);
	padding: 20px 15px
}

.homepage-intro .container *{
	color: #fff
}
.intro-content p{
	font-size: 18px;
	text-align: justify;
	margin-bottom: 0

}

.intro-content img{
	margin-top: 20px;
	border-radius: 10px !important;

}
@media (max-width: 576px){
	.prdtname{
		font-size: 16px !important
	}
	.prd-brand {
		font-size: 13px !important;
		padding: 1px 5px !important
	}
}
@media screen and (min-width: 850px) {
	.prd-hp .col {
		flex-basis: 20% !important;
		max-width: 20% !important
	}
	
}

.ct-cl {
	padding: 0
}

.ct-rw .col-inner{
	background: linear-gradient(#004a88,#0065bb) !important
}

.ct-cl  p{
	color: #fff !important
}
.ct-cl a {
	color: #0c71ed !important;
	font-weight: 500
}

.intro-ctn {
	padding-top: 20px;
	background: #fff
}
.page_price {
	background: #fff;
	padding: 25px 0 0 !important;
	border-radius: 2px
}
.page_price_detail{
	text-align: justify
}