/*Dang ky dang nhap*/
.account-wrapper{
    max-width:1200px;
    margin:20px auto;
    display:flex;
    gap:30px;
    align-items:flex-start;
}
.account-box{
    flex:1;
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}
.account-box h2{
    margin:0 0 20px;
    font-size:18px;
    color:#222;
    font-weight:700;
    text-transform:uppercase;
}
.form-group{ margin-bottom:15px;}
.form-group label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    color:#666;
	font-weight:bold
}
.form-group input[type=text],
.form-group input[type=password],
.form-group input[type=email]{
    width:100%;
    height:40px;
    border:1px solid #dcdfe6;
    border-radius:8px;
    padding:0 10px;
    font-size:15px;
    transition:.3s;
}
input:focus{
    border-color:#00a0d2;
    box-shadow:0 0 0 3px rgba(0,160,210,.15);
    outline:none;
}
.alert-error{
    background:#fff2f2;
    border:1px solid #ffcaca;
    color:#d60000;
    padding:12px 15px;
    border-radius:8px;
    margin-bottom:15px;
}
.alert-success{
    color:#060;
    padding:12px 0px;
	font-weight:bold
}
.btn-main{
    background:#00a0d2;
    color:#fff;
    border:none;
    height:48px;
    padding:0 30px;
    border-radius:8px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}
.btn-main:hover{background:#0088b3;}
.forgot-link{
    display:block;
    margin-top:15px;
    color:#00a0d2;
    text-decoration:none;
}
.checkbox-custom{
    display:flex;
    align-items:center;
    gap:8px;
    margin:15px 0 20px;
    font-size:14px;
}
@media(max-width:768px){
    .account-wrapper{
        flex-direction:column;
    }
    .account-box{
        width:100%;
		padding:15px;
    }
}

/*Danh sach san pham foreach01.html*/
.product-grid{
	display:grid;
	grid-template-columns:repeat(5,1fr);
	gap:15px;
}
.product-item{
	background:#fff;
	border:1px solid #e5e5e5;
	border-radius:10px;
	overflow:hidden;
	transition:all .2s ease;
	position:relative;
}
.product-item:hover{
	transform:translateY(-4px);
	box-shadow:0 4px 14px rgba(0,0,0,0.12);
}
.product-image{
	position:relative;
	width:100%;
	aspect-ratio:1/1;
	overflow:hidden;
	background:#fff;
}
.product-image img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}
.discount-badge{
	position:absolute;
	top:0;
	right:0;
	background:rgba(250, 242, 242, 0.8); 
	color:#ee4d2d;
	font-size:14px;
	font-weight:bold;
	padding:3px 5px;
	/*z-index:2;*/
	border-bottom-left-radius:10px;
}
.flash-sale{
	position:absolute;
	left:3px;
	bottom:3px;
	display:flex;
	gap:4px;
	z-index:2;
}
.flash-sale span{
	background:#ffd400;
	color:#003ea8;
	font-size:11px;
	font-weight:bold;
	padding:4px 6px;
	border-radius:5px;
}
.product-content{
	padding:10px;
}
.product-title{
	font-size:15px;
	line-height:1.4;
	height:42px;
	overflow:hidden;
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
}
.product-price{
	color:#ee4d2d;
	font-size:18px;
	font-weight:bold;
	margin-top:10px;
}
.product-price span{ color:#777; font-weight:400; float:right}
.product-sold{
	margin-top:6px;
	color:#777;
	font-size:14px;
}
@media(max-width:991px){
	.product-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:576px){
	.product-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
	.product-content{padding:8px;}
	.product-title{font-size:13px;height:36px;}
	.product-price{font-size:16px;}
	.discount-badge{font-size:14px;padding:5px 9px;}
	.flash-sale span{font-size:10px;padding:3px 5px;}
}
.like_pro{background:#F60; padding:0px 3px; border-radius:4px;color:#FFF !important;  font-size:12px; float:right; margin:8px 0}
.like_pro:hover{font-size:13px;}
.like_pro i{color:#FFF !important; font-size:10px !important}

.cart_pro{background:#22A4A2; padding:0px 3px; border-radius:4px;color:#FFF !important;  font-size:12px; float:left; margin:8px 0}
.cart_pro:hover{font-size:13px; }
.cart_pro i{color:#FFF !important; font-size:10px !important}


/* Hinh chi tiet san pham  detail_sokany.html*/
.product-gallery{
	max-width:900px;
	margin:auto;
	background:#fff;
	padding:10px;
} 
.main-image{
	width:100%;
	height:480px; 

	position:relative;
	overflow:hidden;
	border-radius:12px;
	background:#fafafa;

	touch-action:pan-y;
	user-select:none;
	margin-bottom:5px;
	padding:5px;
}
.main-image img{
	width:100%;
	height:100%;
	max-width:100%;
	max-height:100%;
	
	object-fit:contain;
	display:block;

	transition:
	opacity .25s ease,
	transform .35s ease;
}
.main-image img.animate{
	opacity:.5;
	transform:scale(.999);
}
.thumb-wrapper{
	width:100%;
	overflow-x:auto;
	overflow-y:hidden;
	white-space:nowrap;

	-webkit-overflow-scrolling:touch;
	scroll-behavior:smooth;
	touch-action:pan-x;

	scrollbar-width:none;
}
.thumb-wrapper::-webkit-scrollbar{
	display:none;
}
.thumb-list{
	display:flex;
	gap:10px;
	width:max-content;
	padding-bottom:5px;
}
.thumb{
	width:75px;
	height:75px;
	min-width:75px;
	border:2px solid #ddd;
	border-radius:10px;
	overflow:hidden;
	background:#fff;
	flex-shrink:0;
	cursor:pointer;
	transition:0.2s;
}
.thumb.active{
	border-color:#ff4d4f;
}
.thumb img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}
@media(max-width:768px){
	.product-gallery{
		padding:8px;
	}

	.main-image{
	height:360px;
	}

	.thumb{
		width:70px;
		height:70px;
		min-width:70px;
	}
}

/* Chi tiet san pham detail_sokany.html */
.product-box{
    max-width:720px;
    background:#fff;
    margin:auto;
    padding:10px;
    border-radius:4px;
}
.product-title-sk{
    font-size:20px;
    line-height:1.4;
    color:#222;
    margin-bottom:5px;
    font-weight:500;
}
.mall{
    background:#000;
    color:#fff;
    padding:3px 6px;
    border-radius:3px;
    font-size:14px;
    margin-right:5px;
    font-weight:bold;
	
}
.rating-row{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:10px;
    color:#555;
    font-size:15px;
}
.rating{
    color:#ee4d2d;
    font-weight:bold;
}

.stars{
    color:#ffce3d;
    letter-spacing:2px;
}
.flash-sale-01{
    background:#ff5a1f;
    color:#fff;
    padding:10px 15px;
    font-size:18px;
    font-weight:bold;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:0;
	
}
.price-box{
    background:#faf3f0;
    padding:15px;
    display:flex;
    align-items:center;
    gap:15px;
}
.price{
    font-size:35px;
    color:#ee4d2d;
    font-weight:500;
}
.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:24px;
}
.discount{
    color:#ee4d2d;
    font-size:20px;
}
.info-row{
    display:flex;
    padding:10px 0;
    border-bottom:1px solid #f0f0f0;
}
.info-title{
    width:170px;
    color:#888;
    font-size:16px;
}
.voucher-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.voucher{
    background:#fff4f4;
    border:1px solid #ffd5d5;
    color:#ee4d2d;
    padding:8px 12px;
    font-size:16px;
}
.shipping{
    color:#444;
    font-size:17px;
}
.shipping strong{
  padding:0px 5px; font-size:16px; color:#060;

}
.safe-buy{
    color:#444;
    line-height:1.8;
    font-size:17px;
}
.qty-item{
    display:flex;
    align-items:center;
    border:1px solid #ddd;
    width:max-content;
}
.qty-minus{
    width:42px;
    height:35px;
    border:none;
    background:#fff;
    font-size:22px;
    cursor:pointer;
    color:#555;
}
.qty-plus{
    width:42px;
    height:35px;
    border:none;
    background:#fff;
    font-size:22px;
    cursor:pointer;
    color:#555;
}
.qty-input{
    width:60px;
    height:35px;
    border:none;
    border-left:1px solid #ddd;
    border-right:1px solid #ddd;
    text-align:center;
    font-size:20px;
    outline:none;
}
.warning{
    color:#ee4d2d;
    margin-top:12px;
    font-size:16px;
}
.action{
    display:flex;
    gap:18px;
    margin-top:15px;
}
.btn-cart{
    flex:1;
    padding:15px 0;
    border:1px solid #ee4d2d;
    background:#fff5f1;
    color:#ee4d2d;
    font-size:20px;
    cursor:pointer;
}
.btn-buy{
    flex:1;
    padding:15px 0;
    border:none;
    background:#ee1d2d;
    color:#fff;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
}
.btn-cart:hover{
    background:#ffece6;
}
.btn-buy:hover{
    opacity:.92;
}
@media(max-width:768px){
    .product-title-sk{
        font-size:16px;
    }
    .price{
        font-size:30px;
    }
    .old-price{
        font-size:18px;
    }
    .info-row{
		display:flex;
		align-items:center;
		gap:10px;
	}
    .info-title{
		width:110px;
		min-width:110px;
	}
    .action{
        flex-direction:column;
    }
}

/* video detail.html*/
 .video-box{
	position:relative;
	width:100%;
	padding-top:120%; 
	overflow:hidden;
	border-radius:12px;
}
.video-box video{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
}

@media(max-width:768px){
.video-box{padding-top:150%;}
}


/*css footer.html*/
.footer{
    background:#000;
    color:#ccc;
    padding-top:60px;
}
.footer-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
    padding:0 20px;
}

.footer-logo{
    color:#fff;
    font-size:28px;
    margin-bottom:20px;
}
.footer-text{
    line-height:1.8;
    margin-bottom:20px;
}
.footer-info li{
    list-style:none;
    margin-bottom:10px;
    font-size:14px;
}
.footer-col h3{
    color:#fff;
    margin-bottom:20px;
    font-size:18px;
}
.footer-links{
    padding:0;
}
.footer-links li{
    list-style:none;
    margin-bottom:12px;
}
.footer-links a{
    color:#bbb;
    text-decoration:none;
    transition:0.3s;
}
.footer-links a:hover{
    color:#fff;
    padding-left:5px;
}
.socials{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:20px;
}
.socials a{
    color:#bbb;
    text-decoration:none;
}
.newsletter{
    display:flex;
    gap:10px;
}
.newsletter input{
    flex:1;
    height:42px;
    border:none;
    padding:0 12px;
    border-radius:6px;
}
.newsletter button{
    background:#ff6600;
    color:#fff;
    border:none;
    padding:0 18px;
    border-radius:6px;
    cursor:pointer;
}
.footer-bottom{
    max-width:1200px;
    margin:50px auto 0;
    padding:30px 20px;
    border-top:1px solid #222;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}
.footer-bottom img{
    height:32px;
    margin-left:10px;
}
.payment,
.shipping{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
}
.copyright{
    text-align:center;
    border-top:1px solid #222;
    padding:20px;
    font-size:14px;
    color:#777;
}
@media(max-width:992px){

    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:600px){
    .footer-container{
        grid-template-columns:1fr;
    }
    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
    .newsletter{
        flex-direction:column;
    }
    .newsletter button{
        height:42px;
    }
}
