
/*dung chung*/
ul {margin: 0; padding: 0; }
ul > li {list-style-type: disc;}
/*dung chung*/
.index-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px;}
@media (max-width: 640px) { .index-grid { grid-template-columns: 1fr;    gap: 10px; }}


/*Danh sach san pham foreach01.html*/
.product-grid{
	display:grid;
	grid-template-columns:repeat(4,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:#115511; padding:5px 20px; border-radius:5px;color:#FFF !important;  font-size:14px; float:left; margin:8px 0}
.like_pro:hover{font-size:13px;}
.like_pro i{color:#FFF !important; font-size:10px !important}

.cart_pro{background:#352014; padding:5px 10px; border-radius:5px;color:#FFF !important;  font-size:14px; float:right; margin:8px 0}
.cart_pro:hover{font-size:13px; }
.cart_pro i{color:#FFF !important; font-size:10px !important}

/* breadcrumbs */
.breadcrumbs { display:flex;flex-wrap:wrap;gap:10px; padding:22px 0;color:var(--muted);}
.breadcrumbs a:hover {color:var(--green);}

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

	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%;
	border-radius: 10px;
	
	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:auto;
	}

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

/* Chi tiet san pham detail_sokany.html */
.product-box{
    max-width:720px;
    background:#fff;
    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;
}

.price span{
  color: #786657;
  font-size: 25px;
  white-space: nowrap;
}

.price strong {
  color: #786657;
  font-size: 25px;
  font-weight: 600;
}

.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:35px;
    height:35px;
    border:none;
    background:#fff;
    font-size:22px;
    cursor:pointer;
    color:#555;
}
.qty-plus{
    width:35px;
    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;
    }
}

.product-buy-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-pack-select {
  max-width: 100%;
  min-height: 38px;
  padding: 5px ;
  border: 1px solid #d8d2c8;
  border-radius: 6px;
  background: #fff;
  color: #382b21;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.product-pack-select:focus {
  outline: 2px solid #228b22;
  outline-offset: 2px;
}




/* 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;
}

.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;
    }
  
}


/* Phân trang  */
.paging_news {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:28px 0;
  padding:0 10px;
  font:15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
}
.paging_news > a,
.paging_news > b {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  border:1px solid #e8e2d8;
  border-radius:7px;
  background:#fff;
  color:#514238;
  font-weight:500;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s,color .2s,border-color .2s;
}
.paging_news > a:hover {
  background:#edf5ea;
  border-color:#115511;
  color:#115511;
}
.paging_news > b {
  background:#115511;
  border-color:#115511;
  color:#fff;
  font-weight:700;
  box-shadow:0 3px 8px #11551120;
}
.paging_news > .paging_news_truoc,
.paging_news > .paging_news_tiep {
  background:#f7f4ee;
  font-size:20px;
}
.paging_news > .paging_news_truoc:hover,
.paging_news > .paging_news_tiep:hover {
  background:#115511;
  border-color:#115511;
  color:#fff;
}
.paging_news > a:focus-visible {
  outline:2px solid #115511;
  outline-offset:3px;
}

