#buildpc{padding:10px 0;}
.devices {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 32px;
	gap: 16px;
}
.device {
	-webkit-box-ordinal-group: 1;
	-ms-flex-order: 0;
	order: 0;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: #fff;
	border: 1px solid #e1e4e6;
	border-radius: 6px;
	padding: 12px 24px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.device__title {
	width: 100px;
	margin-right: 8px;
	color: #6a737a;
	font-weight:500;
}
.device__icon {
	border: 1px solid #cbd1d6;
	border-radius: 6px;
	padding: 16px;
	width: 80px;
	height: 80px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.flex-1 {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
.link{
	color: #0664f9;
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
}
.device.has-choose .device__icon,
.device.has-choose .device__icon + div{
	display:none;
}
.device:not(.has-choose) .product--horizontal{display:none;}
.device .product.product--horizontal{
	flex:1;
	-ms-flex:1;
	padding-right:0;
}
.device .product.product--horizontal .product__info h3 a{
	font-size: 14px;
	line-height: 20px;
}
#modal-buildpc .modal-header{
	padding: 10px 24px;
	display: flex;
	justify-content: space-between;
	width: 100%;
}
#modal-buildpc .modal-header .modal-title{
	font-size: 24px;
	line-height: 32px;
	text-transform: capitalize;
	color: #000;
	text-align: left;
	flex: 1;
}
#modal-buildpc .modal-header .close-modal-lk{
	cursor: pointer;
	outline: 0;
	color: #939ca3;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background: none;
	border: none;
	font-size: 35px;
	line-height: 1;
}
#modal-buildpc .modal-body{padding:0;}
#modal-buildpc .select-device__search{
	padding: 16px 24px;
	background: #f8f9fa;
}
.form-search-device{
	position: relative;
}
.form-search-device .form-group{
	margin:0;
}
.form-search-device .form-search{
	position: relative;
	padding-left: 30px;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #cbd1d6;
	border-radius: 4px;
}
.form-search-device .form-search .form-search-icon{
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
}
.form-search-device .form-search .form-search-input{
	width: 100%;
	outline: none;
	border: none;
	color:#444b52;
}
.form-search-device .search-btn{
	cursor: pointer;
	color: #fff;
	padding: 9px 16px;
	background: #939ca3;
	border: 1px solid #939ca3;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 0 6px 6px 0;
	font-weight: 500;
	border-width: 2px;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 16px;
	line-height: 1;
}

.select-device__not-found{
	padding: 44px 24px 60px;
	text-align: center;
}
.select-device__not-found img{
	height: 140px;
	margin-bottom: 16px;
}
.select-device__not-found .text-found1{
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
	color: #444b52;
}
.select-device__not-found .text-found2{
	font-size: 16px;
	line-height: 24px;
	color: #444b52;
	font-weight: 400;
}
.product.product--horizontal{
	padding: 12px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding-right: 24px;
}
.product.product--horizontal .product__img{
	height: unset;
	width: 124px;
	padding: 0;
	margin-bottom: 0;
	margin-right: 16px;
}
.product.product--horizontal .product__img a{
	display: block;
	position: relative;
	//padding-bottom: 100%;
}
.product.product--horizontal .product__img a img{
	//position: absolute;
	//top: 0;
	//left: 0;
}
.product.product--horizontal .product__detail{
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
}
.product.product--horizontal .product__info{
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	position: relative;
}
.product.product--horizontal .product__info .alert-status{
	margin-bottom:8px;
}
.product__info .alert-status:not(.soldout) i{
	color:#48bb78;
}
.product__info .alert-status:not(.soldout) .alert-text{
	color:#48bb78;
}
.product__info .alert-status.soldout i{
	color:#c53a30;
}
.product__info .alert-status.soldout .alert-text{
	color:#c53a30;
}
.product__info .alert-status .alert-text{
	font-size: 14px;
	line-height: 20px;
	margin-left:5px;
}
.product.product--horizontal .product__info h3 a{
	font-weight: 500;
	font-size: 28px;
	font-size: 18px;
	line-height: 24px;
	color: #32373d;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	display: inline-block;
}
.product.product--horizontal .product__info .product__price{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 8px;
}
.product.product--horizontal .product__info .product__price .price{
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
	color: #cb1c22;
	margin-right: 8px;
}
.product.product--horizontal .product__info .product__price .product__strike{
	font-size: 14px;
	line-height: 20px;
	color: #939ca3;
	display: block;
	text-decoration: line-through;
}
.product.product--horizontal .product__btn{padding-left:30px;}
.product.product--horizontal .product__btn .btn-choose-lk {
	font-weight: 500;
	font-size: 16px;
	display: inline-block;
	padding: 0 16px;
	color: #fff;
	background: #cb1c22;
	height: 36px;
	line-height: 36px;
	border-radius: 4px;
}
.product.product--horizontal .btn-chonlai{
	border: 1px solid #cbd1d6;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 4px;
	padding: 7px 12px;
	cursor: pointer;
	color: #6a737a;
	font-size:14px;
}
.build-pc__actions{
	padding: 15px;
	border: 1px solid #e1e4e6;
	border-radius: 6px;
}
.build-pc__actions .btn-buildpc-add{
	display: block;
	text-align: center;
	height: 40px;
	line-height: 40px;
	background: #4a90e2;
	border-radius: 6px;
	color: #fff;
	text-transform: uppercase;
}
@media (min-width:768px){
	.build-pc__right{
		position: sticky;
		position: -webkit-sticky;
		top: 65px;
	}
}
@media (min-width:1200px){
	#modal-buildpc .modal-dialog{
		max-width: 1076px;
		width: 100%;
		margin-top: 64px;
		margin-bottom: 0;
	}
	.select-device__result{
		max-height: 400px;
		overflow: hidden;
		overflow-y: auto;
	}
}
@media (max-width:767px){
	.device{padding:12px 10px;}
	.device__title{font-size:14px;}
	.build-pc__actions{
		position: fixed;
		bottom: -2px;
		left: 0;
		right: 0;
		background: #fff;
		z-index: 22;
		border-bottom: 0;
	}
	.product.product--horizontal .product__btn{
		width: 100%;
		padding-left: 0;
	}
	.product.product--horizontal .product__btn .btn-choose-lk{
		display: block;
		text-align: center;
	}
	.device .product.product--horizontal .product__detail{
		width: 100%;
		flex: auto;
	}
	.device .product.product--horizontal .product__btn{
		text-align: center;
		margin-top: 8px;
	}
}