/* Ipad */
@media screen and (max-width: 1200px){
	/* Ở chế độ màn hình này, reset các thành phần bị quy định chiều ngang là px, ví dụ .main {width:950px;} */
	.main{width:100%!important;}
	.main2{width:100%!important;}
	.nutflytocart i,.nutaddtocart i{display:none;}
	input.addtocart-button,input.flytocart-button{padding-left:10px;padding-right:10px;}
}
@media screen and (max-width: 1050px){
	
}
@media screen and (max-width: 800px){
	.cart-block_1_spacer{
		padding-left:30px;
	}
	.cart-usergiohang tr.yek_hovaten, .cart-usergiohang tr.yek_phone_1,
	.cart-usergiohang tr.yek_email, .cart-usergiohang tr.yek_address_1{
		width:auto;
		float:none;
	}
	.cart-block_2{
		width:50%;
	}
	.cart-block_1{
		width:50%;
	}
	.formdk .yek_hovaten, .formdk .yek_password2, .formdk .yek_phone_1,
	.formdk .yek_username, .formdk .yek_password, .formdk .yek_email{
		width:auto;
		float:none;
	}
}

/* Điện thoại: mobile cũ :  @media screen and (max-width: 768px){ */
@media screen and (max-width: 767px){
	#ja-cottrai{padding:0%;width:100%;float:none;}
	#ja-cotphai{padding:0%;width:100%;float:none;}
	#ja-cotgiua{width:100%;float:none;}
	#ja-cottrai,#ja-cotphai{display:none;}
	
	.itemListView.scroller .catItemView .catItemImageBlock{margin-bottom:10px;}
	.header-imageproduct {
		display: block;
		overflow:hidden;
		width: 100%;
		float: none;
		padding: 0%;
		border: 0px;
		background: white;
	}
	.header-descproduct {
		display: block;
		width: 100%;
		float: none;
		margin-top: 20px;
	}
	#ja-cotgiua img{max-width:100%;}
	.bvcungmuc #k2ModuleRelated .k2ItemImageleft {
		width: 30%;
		float: left;
		margin-right: 5%;
	}
	.bvcungmuc #k2ModuleRelated h3 {
		width: 65%;
		float: right;
	}
	#ja-menungang,#Mod326{display:none;}
	.mobile_menu{display:table;position:relative;width:100%;table-layout:fixed;}
	.mobile_menu >div{display:table-cell;width:100%;}
	.mobile_menu .tieude{padding:10px;text-align:center;background:#36b1d5;color:white;font-weight:bold;font-size:130%;cursor:pointer;text-transform:uppercase;}
	.mobile_menu .nentat{position:fixed;z-index:999;background:rgba(0, 0, 0, 0.6);left:0%;top:0%;width:100%;height:100%;cursor:pointer;}
	.mobile_menu .noidung{position:fixed;z-index:1000;width:70%;left:-70%;top:0%;height:100%;background:#38404B;overflow-y:scroll;overflow-x:hidden;}
	.mobile_menu .noidung,.mobile_menu .nentat{
		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
	}
	.mobile_menu .noidung >ul{padding:0px;}
	.mobile_menu .noidung >ul>li{margin-bottom:0px;}
	.mobile_menu .noidung >ul ul{margin-left:20px;}
	.mobile_menu .noidung li{list-style-type:none;}
	.mobile_menu .noidung li a,
	.mobile_menu .noidung li span{padding:0px 20px;display:block;color: #ffffff;font-size:110%;line-height:46px;}
	.mobile_menu .noidung >ul>li>a{font-weight:bold;}
	
	.mobile_menu .nentat{display:none;}
	.mobile_menu .noidung.mnmb{left:0%;}
	.mobile_menu .nentat.mnmb{display:block;}
	.mobile_menu .noidung li a, .mobile_menu .noidung li span{
		padding-right:46px;
	}
	.mobile_menu .noidung li{
		position:relative;
	}
	.mobile_menu .noidung i{
		color:white;
	}
	.mobile_menu .noidung i{
		position:absolute;
		width:46px;
		line-height:46px;
		height:46px;
		top:0;
		right:0;
		text-align: center;
		
	}
	.mobile_menu .noidung i{
		padding-right:0;
	}
	.mobile_menu .noidung > ul > li > a{
		border-bottom:1px solid #757575;
	}
	.mobile_menu .noidung{
		background:rgba(51,51,51,0.9);
	}
	.mobile_menu .noidung > ul >li > ul{
		background:#333;
		margin-left:0;
		border-bottom:1px solid #757575;
	}
	.mobile_menu .noidung >ul ul{
		padding-left:20px;
	}
	.td3,.sd3{font-size:0%!important;width:0px!important;}
	span.cart-images img{width:100%;margin-right:0px;}
	.mobile_menu i{padding-right:10px;}
	.itemFullText td,.itemFullText tr,.itemFullText table,.product-thongtin-mota td,.product-thongtin-mota tr,.product-thongtin-mota table{display:block;width:100%!important;}
	span.cart-images img{height:auto;}
	.td4 {
		width: 18%;
	}
	.td6 {
		width: 29%;
	}
	.cart-summary >tbody > tr:first-child td{font-size:100%;}
	.td4{width:24%;}
	.tranggiohang .product-thongtin-salesPrice{font-size:100%;}
	.tranggiohang .product-thongtin-billTotal{font-size:110%;}
	button.details-button{font-size:0px;padding:7px 3px;}
	button.details-button:before{
		font-family: 'Font Awesome 5 Free';
		font-weight: 400;    content: "\f0c7";font-size:14px;padding:7px 5px
	}
	.formdndk_1,
	.formdndk_2{
		float:none;
		width:Auto;
	}
	.formdn,.order-view{float:none;width:100%;clear:both;display:block;overflow:hidden;}
	.formdk{
		width: 100%;
		float: none;
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #ddd;
	}
	.formdndk_2_2 .ja-workshome,
	.formdndk_2_1 .formdk{
		width:auto;
		margin:0;
		padding:0;
		border:0;
	}
	.formdndk_1{
		margin-bottom:30px;
	}
	.formdndk_1 ul li{
		display:inline-block;
		float:left;
		margin-right:10px;
	}
	.order-view{margin-bottom:20px;}
	.header1_3 .ja-workshome{float:none;}
	.header1_3 td{display:block;padding:0px;}
	.header1 .main2>div{display:block;}
	.header2 .main2>div{display:block;}
	.footer2 .main2>div{display:block;padding:10px 0px;}
	.header2_2 .module_search{width:auto;}
	.popup_cart{width:80%;right:-80%;}
	.popup_cart>div{
		padding: 0px 15px;
	}
	.n1 input{width:24px;}
	.alepaytragopblock_3{overflow-x:scroll;}
	.cart-block_1_spacer{
		padding:0;
	}
	.cart-block_2_spacer{
		padding:20px 10px;
	}
	.cart-block_1,
	.cart-block_2{
		width:auto;
		float:none;
	}
	.cart-block_1{
		margin-bottom:30px;
	}
	.mtcaptcha,
	.mtcaptcha > span{
		display:block;
		text-align:center;
	}
	.mtcaptcha_1{
		padding-right:0;
		margin-bottom:10px;
	}

	.header1_1 .menu li.item-1171,
.header1_1 .menu li.item-1174{display: none;}
.header1 .main2{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
.header2 .main2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  row-gap: 15px; 
}
.header2 .mobile_menu {
  order: 1;
  flex: 0 0 auto;
}
.header2 .header2_1 {
  order: 2;
  flex: 0 0 auto;
  text-align: center;
}
.header2 .header2_1 img {
  max-height: 55px; /* Giới hạn chiều cao logo vừa vặn thanh header */
  width: auto;
  display: inline-block;
}
.header2 .header2_3 {
  order: 3;
  flex: 0 0 auto;
}
.header2 .header2_2 {
  order: 4;
  flex: 0 0 100%;
  width: 100%;
}
.header2 .main2>div.mobile_menu{display: block;
    width: auto;
}
.mobile_0{width: auto;
    display: block;
}
.mobile_menu .tieude{color: #b30000;
    font-size: 180%;
}
.cart_dropdown_trong td:last-child div:first-child{display: none;}
.cart_dropdown_trong td:last-child span{display: none;}
.cart_dropdown_trong i{
    background: none;
    color: #b30000;
    width: auto;
    height: auto;
    font-size: 160%;
}
.cart_dropdown_trong td:last-child{padding-left: 3px;}
.header2_1 {
    width: 40%;
}
.header2 .header2_1 img {
    max-height: 65px;
    width: auto;
    display: inline-block;
}
.header2_2 .module_search input{margin-top: 0;}
.header2_2 .buttontim{top: 0;}
.slideshow2{display: none;}
#ja-extra .extra1 .workshome-title span{
    padding: 0;
}
.workshome-title h2, .workshome-title h1, #ja-cotgiua .workshome-title h2, #ja-cotgiua .workshome-title h1, #ja-extra .workshome-title h2{
    font-size: 160%;
}
#ja-extra .extra1 .workshome-title:after{display: none;}
.browse-view .row, .extra2_1 .browse-view .row {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
	margin-bottom: 10px;
}
.browse-view .blocksp{margin: 0;}
.bodyhome_bd .extra2{padding: 10px;box-sizing: border-box;}
.extra2 .main2{display: block;}
.extra2_1, .extra2_2{width: 100%;}
.extra2_1 .browse-view .row .blocksp:nth-child(3){display:none;}
#Mod422 .menu li{display: none;}
#Mod422 .menu li:nth-child(-n+4){display: flex;}
.bodyhome_bd .extra4 {
    padding: 10px 0;
    background: #f6f4ef;
}
.extra4 .itemRow:first-child {
    width: 100%;
    padding-right: 0;
}
.extra4 .itemRow:first-child .catItemImageBlock {
    width: 100%;
    margin-bottom: 10px;
    height: auto !important;
}
.extra4 .itemRow {
    width: 100%;
    float: left;
    margin-bottom: 0;
}
.extra4 .catItemTitle {
    height: auto;
    font-size: 110%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 5px;
    line-height: 23px;
}
.footer2 .main2{display: block;}
.footer2 .main2>div{width: 100%;}
.mobile_menu .noidung {
	background: rgba(179, 0, 0, 0.9);
}
.mobile_menu .noidung > ul >li > ul{background: #b30000;}
.mobile_menu .noidung > ul > li > a {
	border-bottom: 1px solid #eee;
}
.ttlh, .formlh{width:100%;padding:0;border:none;margin:0;}













}
