/*chi tiet san pham*/
h1.title_sp {
    border-bottom: 1px solid #CCCCCC;
    color: #540f70;
    float: left;
    font-size: 18px;
    line-height: 20px;
    padding: 10px 0;
    width: 58%;
}
.img_ct_sp
{
	float:left;
	padding:10px 15px;
	width:265px;
}
.ds_ct {
    float: left;
    padding: 5px 0;
    width: 58%;
}
.right_main .icon {
    float: left;
    width: 340px;
}
.sp_xt {
    float: left;
    width: 58%;
}
.sp_xt h2{
	color: #C42929;
    float: left;
    font-size: 16px;
    line-height: 40px;
    width: 100%;
}
.sp_xt .list_sp_xt
{
	float:left;
	display:inline;
	margin-top:5px;
}
.sp_xt .list_sp_xt li{
		list-style-type:none;
    float: left;
    text-align: center;
    width: 80px;
		overflow:hidden;
		margin:0px 5px;
		padding-top:5px;
		border:1px solid #F1A196;
		-moz-border-radius:3px;
		border-radius:3px;
}
.sp_xt .list_sp_xt li a {
    float: left;
    height: 100px;
    overflow: hidden;
    text-align: center;
    width: 90px;
	
}
.sp_xt .list_sp_xt li img
{
	width:80px;
	opacity:0.7;
}
.sp_xt .list_sp_xt li img:hover
{
	opacity:1.0;
	box-shadow: 2px 2px 2px #ccc;
}
.sp_xt .list_sp_xt li span
{
	float:left;
	width:100%;
	text-align:center;
	padding:3px 0px;
	color:#444444;
}
.ds_ct li.text_gia {
    font-size: 14px;
		padding-left:10px;
		color:#000
}
.ds_ct li span.gia
{
	color:#F00;
	font-weight:bold;
}
.ds_ct li span.giacu
{
	color:#666;
	font-weight:bold;
	text-decoration:line-through;
}
.ds_ct li input
{
	float:left;
	padding:0 5px ;
}
.ds_ct li span.text_sl
{
	float:left;
	padding:0 5px 5px 0;
}
.buy2
{
	cursor:pointer;
	float:left;
	padding:0 10px;
}
.icon a
{
	text-decoration:none;
}
.noidung_ct_sp 
{
	float:left;
	width:96%;
	overflow:hidden;
	text-align:justify;
	line-height:18px;
	padding:0px 15px
}
.noidung_ct_sp h1.title_tt
{
	float: left;
    font-size: 16px;
    padding: 10px 0 5px;
    width: 100%;
	color:#C42929
}
.noidung_ct_sp .date
{
	float:left;
	color:#666;
	width:100%;
	padding-bottom:5px;
	font-style:italic;
}
.noidung_ct_sp .tinkhac_tt
{
	float:left;
	width:100%;
}
.noidung_ct_sp .tinkhac_tt h2
{
	float:left;
	padding:15px 0px 5px;
	width:100%;
	border-bottom:double 2px #B1B1B1;
	color:#C42929;
	font-size:15px;
}
.noidung_ct_sp .tinkhac_tt ul 
{
	float:left;
	width:100%;
	margin-top:10px;
	padding-bottom:10px;
}
.noidung_ct_sp .tinkhac_tt ul li
{
	float:left;
	padding:4px 0px 4px 20px;
	width:90%;
	
	background:url(../images/icon/icon-ngoisao.png) no-repeat top left
}
.noidung_ct_sp .tinkhac_tt ul li a
{
	color:#C42929;
	padding:2px 5px;
	text-decoration:none;
}
.noidung_ct_sp .tinkhac_tt ul li a:hover{
	color:#333
}
.h2_nd_detail_pro{
	float:left;
	width:99%;
	padding:5px 0px;
	color:#540f70;
	border-bottom:2px solid #540f70
}
.span_nd{
	float:left; width:97%;
	padding: 0px 10px;
}
/*
/*
--- gio hang
*/
 .thongtin
{
	float:left;
	width:100%;
}
 .thongtin td
{
	border:1px solid #E0E0E0;
	padding:3px 8px;
	line-height:17px;
	text-align:justify;
}
 .thongtin tr.title_ct td
{
	background:#DDE6E3;
	color:#993300;
	font-weight:bold;
	text-align:center;
}

thead td
{
	font-weight:bold;
}
.row_bt_tt
{
	float:left;
	width:100%;
	text-align:center;
	margin:50px 0px 20px 0px;
}
.row_bt_tt img
{
	padding:0 20px;
}
#thongtin_kh 
{
	float:left;
	width:95%;
	margin:20px 0px 10px 20px;
}

#thongtin_kh table
{
	float:left;
	width:100%;
	margin:10px 0;
}
#thongtin_kh table tr td
{
	padding:4px 8px;
}
.nd_gt
{
	width:98%;
	margin:10px 1%;
	float:left;
	overflow:auto;
}
/*=======chi tiet tin=================================================================*/
.div_donhang{
	float:left;
	width:95%;
	padding:20px 0px 10px 20px;
}
.box-muahang{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
}

.box-muahang .qty{
	margin-top: 10px;
    width:70px;
    height:40px;
    border:1px solid #ddd;
    border-radius:6px;
    text-align:center;
    font-size:16px;
}

.btn-addcart{
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px 16px;
    background:#003b7d;
    color:#fff;
    font-weight:bold;
    border-radius:6px;
    text-decoration:none;
    transition:0.3s;
}

.btn-addcart:hover{
    background:#e65c00;
}

.btn-addcart img{
    width:22px;
}

/* khung giỏ hàng */
.div_donhang{
    border:1px solid #ddd !important;
    border-radius:8px;
    padding:15px;
    background:#fff;
}

/* table */
.thongtin{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

/* header */
.thongtin thead td{
    background:#003b7d;
    color:#fff;
    padding:12px;
    font-weight:bold;
    text-align:center;
}

/* dòng dữ liệu */
.thongtin tbody td{
    border-bottom:1px solid #eee;
    padding:10px;
    vertical-align:middle;
	line-height:25px;
}

/* hover */
.thongtin tbody tr:hover{
    background:#fafafa;
}

/* input số lượng */
.thongtin input[type=text]{
    width:55px;
    height:32px;
    text-align:center;
    border:1px solid #ddd;
    border-radius:4px;
}

/* icon */
.thongtin img{
    transition:0.2s;
}

.thongtin img:hover{
    transform:scale(1.1);
}

/* tổng tiền */
#tongtien{
    font-size:18px;
    color:#e60023;
}
.row_bt_tt{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.btn_cart{
    background:#003b7d;
    border-radius:6px;
	margin-left:5px;
}

.btn_cart a{
    display:block;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
}

.btn_cart:hover{
    background:#e85d00;
}
@media (max-width:992px){

.thongtin thead td{
    font-size:13px;
}

.thongtin tbody td{
    font-size:13px;
}

}
@media (max-width:600px){

.thongtin thead{
    display:none;
}

.thongtin,
.thongtin tbody,
.thongtin tr,
.thongtin td{
    display:block;
    width:100%;
}

.thongtin tr{
    border:1px solid #eee;
    border-radius:8px;
    margin-bottom:15px;
    padding:10px;
}

.thongtin td{
    border:none;
    display:flex;
    justify-content:space-between;
    padding:6px 0;
}

.thongtin td:nth-child(1)::before{content:"Sản phẩm";}
.thongtin td:nth-child(2)::before{content:"Số lượng";}
.thongtin td:nth-child(3)::before{content:"Giá";}
.thongtin td:nth-child(4)::before{content:"Cập nhật";}
.thongtin td:nth-child(5)::before{content:"Xóa";}

.thongtin td::before{
    font-weight:bold;
    color:#555;
}

}
#thongtin_kh{
    margin-top:25px;
    border:1px solid #eee;
    padding:15px;
    border-radius:8px;
    background:#fafafa;
}

#thongtin_kh table{
    width:100%;
}

#thongtin_kh .input_dk,
#thongtin_kh textarea{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
	border-color: #003b7d;
}

.bnt_gui{
    background:#003b7d;
    color:#fff;
    padding:10px 20px;
    border:none;
    border-radius:6px;
    font-weight:bold;
}

#thongtin_kh{
    margin-top:25px;
    padding:20px;
    border:1px solid #e5e5e5;
    border-radius:8px;
    background:#fafafa;
}

/* tiêu đề */
#thongtin_kh h2{
    float:none !important;
    font-size:20px;
    color:#003b7d !important;
    margin-bottom:15px;
    border-bottom:2px solid #eee;
    padding-bottom:8px;
}
#thongtin_kh table{
    width:100%;
}

#thongtin_kh td{
    padding:8px 5px;
    vertical-align:top;
}

#thongtin_kh td:first-child{
    font-weight:600;
    color:#444;
}
.input_dk,
#thongtin_kh textarea{
    width:100%;
    max-width:400px;
    padding:8px 10px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:14px;
    transition:0.2s;
}

.input_dk:focus,
#thongtin_kh textarea:focus{
    border-color:#003b7d;
    outline:none;
    box-shadow:0 0 4px rgba(0,59,125,0.2);
}

#thongtin_kh textarea{
    height:120px;
}
.captcha{
    border:1px solid #ddd;
    padding:4px;
    border-radius:4px;
    background:#fff;
}
.bnt_gui{
    background:#003b7d;
    color:#fff;
    border:none;
    padding:10px 22px;
    font-size:15px;
    border-radius:6px;
    cursor:pointer;
    transition:0.2s;
}

.bnt_gui:hover{
    background:#002b5c;
}
.cart-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #e6f7ff, #ffffff);
    border: 1px solid #b3e0ff;
    border-left: 5px solid #00aaff;
    padding: 15px 18px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.cart-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.cart-icon {
    font-size: 26px;
    line-height: 1;
}

.cart-content p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.cart-content strong {
    color: #e53935;
}

.cart-content span {
    color: #0077cc;
    font-weight: 500;
}

.cart-content b {
    display: block;
    margin-top: 6px;
    color: #0a7d3b;
    font-size: 15.5px;
}