/* lk.php - pk.php*/

.lkpk-wrapper {
    display: flex;
    gap: 20px;
}

.lkpk-main {
	display: flex;
	width: 95%;
	margin: auto;
}

.content_top{ /* sản phẩm nổi bật */
	padding:15px 20px;
	border:1px solid #b9f0be;
	border-radius:3px;
    background: #fff;
}

/* === Sidebar ============== */

.lk-sidebar, .pk-sidebar {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.filter-block {
    background: linear-gradient(to bottom, #00e72b 0%, #fffefe 100%);
    padding: 10px 15px;
    border: 1px solid #ddd;
    /* border-radius: 6px; */
}

.filter-block h2 {
    margin-bottom: 8px;
    font-size: 16px;
}

/* Checkbox item */
.filter-block label {
    display: block;
    margin: 5px 0;
    cursor: pointer;
}

/* === Products =============== */
.lk-products, .pk-products {
    flex: 1;
	background: #fff;
}

/* Container 4 cột */
.section.group.lkpk{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
	justify-content: flex-start;
    gap: 20px;
    /* margin-top: 40px; */
}


/**** Grid 1_0f_3 ****/

/* Mỗi sản phẩm = 33% */
.grid_1_of_3 {
	/* width: calc(33.333% - 20px); */
	width: calc((100% - 40px) / 3);
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 3px rgb(150,150,150);
    box-sizing: border-box; /*QUAN TRỌNG*/
    display: flex;
    flex-direction: column;
}

.grid_1_of_3:first-child { 
	margin-left: 0; 
} 
.images_1_of_3 {
    width: 100%;
    padding: 1.5%;
    object-fit: cover; /* thay contain → để cao đều nhau */
	text-align: center;
    position:relative;
}

.images_1_of_3  img{
	height: 200px;
	max-width:100%;
	/* object-fit: cover; */
    object-fit: contain;
}
.discount{
	background:url(../images/discount-img.png) no-repeat 0 0;
	position: absolute;
	top: 30px;
	width: 42px;
	height: 42px;
}
.discount span.percentage{
	color: #FFF;
	font-size: 1em;
	font-weight: bold;
	line-height: 40px;
}
.images_1_of_3  h2 {
	color: #CC3636;
	font-family: 'Monda', sans-serif;
	font-size:0.9em;
	font-weight : normal;
}
.images_1_of_3  p {
	font-size:0.8125em;
	padding:0.4em 0;
	color: #333;	
}
.images_1_of_3  p span.strike{
	font-size:18px;
	font-family: 'Monda', sans-serif;
	color:#444;
	text-decoration:line-through;
}
.images_1_of_3  p span.price{
	font-size:18px;
	font-family: 'Monda', sans-serif;
	color: #CC3636;
	margin-left:15px;
}
.images_1_of_3 .button {
  /* float: left; */
  line-height: 1.9em;
  /* margin-top: 0.3em; */
  margin-top: auto; 
  width: 100%;
  text-align: center;
}
.images_1_of_3 .button a{
	padding:7px 20px;
	font-size:0.8em;
}
.images_1_of_3 .button a{
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 14px;
	line-height: 15px;
	text-transform: none;
	color: #737370;
	text-decoration: none!important;
	background:#F58220 url(../images/large-button-overlay.png);
	display: inline-block;
	border-left: 1px solid #D4D4D4!important;
	border-right: 1px solid #ADADAD!important;
	border-top: 1px solid #E0E0E0!important;
	border-bottom: 1px solid #9C9C9C!important;
	cursor: pointer!important;
	margin: 0 2px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
}
.images_1_of_3 .button a:hover{
     color:#fff;
     background: #70389C;
}
.images_1_of_3 .button span img{
	position:absolute;
}
.images_1_of_3 .button a.cart-button{
	padding:7px 5px 7px 38px; 
}

/* ẩn đi ô trống đầu tiên trong sản phẩm*/
/* .section.group.lk::before,
.section.group.lk::after {
    display: none !important;
} */

.section::before,
.group::before,
.section.group.lk::before {
    content: none !important;
    display: none !important;
}


/*  Preview  ============================================================================= */
.section.group.details{
    background: #fff;
}
.back-links{
	float:left;
	padding-top:5px;
	width:20%;
}
.back-links p{
	font-size:0.8125em;
	color: #333;
}
.back-links p a{
	font-size:0.9em;
	padding:0  1.3%;
	color: #333;
}
.back-links p a:hover,.back-links p a:active{
	color:#70389C;
}
.image {
	clear: both;
	padding: 0px;
	margin: 0px;
	background:#F0F0F0;
	padding:1.5%;
}
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1;
}
.cont-desc{
	display: block;
	float:left;
	clear:both;
}
.rightsidebar{
	display: block;
	float:left;
	margin: 0% 0 0% 1.6%;
}
.cont-desc:first-child { margin-left: 0; } 
.desc{
	display: block;
	float:left;
	margin: 0% 0 0% 2.6%;
}
.span_1_of_2{
	width: 67.1%;
	padding:1.5%;
}
.images_3_of_2 {
	width: 44.2%;
	float:left;
	text-align:center;
}
.span_3_of_2{
	width: 53.2%;
}
.span_3_of_1{
	width: 25.2%;
	padding:1.5%;
}
.images_3_of_2 img {
	height: auto;  
  /* height: 320px; */
  	max-width: 100%;
  	width: 100%;
}
.span_3_of_2  h2 {
	font-family: 'Monda', sans-serif;
	font-size:1.1em;
	color: #CC3636;
	font-weight : normal;
	margin-top: 0px;
	text-transform:uppercase;
}
.span_3_of_2  p{
	font-size:0.8125em;
	padding:0.3em 0;
	color:#969696;
	line-height: 1.6em;
	font-family : verdana, arial, helvetica, helve, sans-serif; 	
}
.price p{
	font-size:0.8125em;
	padding:1.5% 1%;
	color: #666;
	vertical-align:top;
}
.price p span{
	font-size:1.5em;
	font-family: 'Monda', sans-serif;
	color: #CC3636;
}


/*==============================================================*/
/*                           Search                             */
/****************************************************************/
.search-wrapper{
	width: 100%;
}
.section.group.pdsearch{
    display: flex;
    flex-wrap: wrap;
	width: 95%;
    justify-content: center;
    gap: 20px;
	/* margin-top: 40px; */
	background: #fff;
	margin: 0 auto;
}

.grid_1_of_4{ 
	margin: 2% 0 2% 0%;
}	
.images_1_of_4 {
	width:94%;
	padding:3%;
}
.images_1_of_4 .button{
    width:100%;
    margin-top:0.5em;
}
.images_1_of_4 h2 {
    font-size:1.2em;
    letter-spacing:0;
}
.images_1_of_4 p span.strike,.images_1_of_4 p span.price {
    font-size:2em;
}
/* ======================= productlist ====================*/
.section.group.pdfilter{
	display: grid;
    flex-wrap: wrap;
	width: 95%;
    justify-content: center;
    gap: 20px;
	/* margin-top: 40px; */
	background: #fff;
	margin: 0 auto;
}

.pdfilter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    width: 100%;
    /*justify-content: flex-start; /* dồn các thẻ về bên trái */
}

.grid_1_of_4{
	display: grid;
	float:left !important;
	/* margin: 1% 0 1% 1.6%; */
    /* margin: 10px; */
    height: 90%;
    padding: 15px;
	box-shadow: 0px 0px 3px rgb(150, 150, 150);
    /* display: flex; */
    flex-direction: column; /* để nút luôn nằm cuối */
}
.grid_1_of_4:first-child { 
	margin-left: 0; 
} 
.images_1_of_4 {
	width: 100%;
	padding:1.5%;
	text-align:center;
	position:relative; 
}
.images_1_of_4  img{
	height: 200px;
	max-width:100%;
	/* object-fit: cover; */
    object-fit: contain;
}
.discount{
	background:url(../images/discount-img.png) no-repeat 0 0;
	position: absolute;
	top: 30px;
	width: 42px;
	height: 42px;
}
.discount span.percentage{
	color: #FFF;
	font-size: 1em;
	font-weight: bold;
	line-height: 40px;
}
.images_1_of_4  h2 {
	color: #CC3636;
	font-family: 'Monda', sans-serif;
	font-size:0.9em;
	font-weight : normal;
}
.images_1_of_4  p {
	font-size:0.8125em;
	padding:0.4em 0;
	color: #333;	
}
.images_1_of_4  p span.strike{
	font-size:18px;
	font-family: 'Monda', sans-serif;
	color:#444;
	text-decoration:line-through;
}
.images_1_of_4  p span.price{
	font-size:18px;
	font-family: 'Monda', sans-serif;
	color: #CC3636;
	margin-left:15px;
}
.images_1_of_4 .button {
  /* float: left; */
  line-height: 1.9em;
  /* margin-top: 0.3em; */
  margin-top: auto; 
  width: 100%;
  text-align: center;
}
.images_1_of_4 .button a{
	padding:7px 20px;
	font-size:0.8em;
}
.images_1_of_4 .button a{
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 14px;
	line-height: 15px;
	text-transform: none;
	color: #737370;
	text-decoration: none!important;
	background:#F58220 url(../images/large-button-overlay.png);
	display: inline-block;
	border-left: 1px solid #D4D4D4!important;
	border-right: 1px solid #ADADAD!important;
	border-top: 1px solid #E0E0E0!important;
	border-bottom: 1px solid #9C9C9C!important;
	cursor: pointer!important;
	margin: 0 2px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
}
.images_1_of_4 .button a:hover{
     color:#fff;
     background: #70389C;
}
.images_1_of_4 .button span img{
	position:absolute;
}
.images_1_of_4 .button a.cart-button{
	padding:7px 5px 7px 38px; 
}

/* ẩn đi ô trống đầu tiên trong sản phẩm*/
.section.group.pdfilter::before {
    display: none;
}


/*============================= customerinf =================================*/

/* Nền */
body {
    background: #eaffea;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Tiêu đề */
h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #222;
    /* margin: 30px 0 20px; */
}

/* Khung form */
.customerInfo {
    max-width: 720px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 28px 32px 36px;
    border-radius: 12px;
}

/* bỏ table */
.customerInfo table,
.customerInfo tr,
.customerInfo tbody {
    width: 100%;
    display: block;
}

/* Input */
.customerInfo input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    margin-bottom: 14px;
    font-size: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    outline: none;
    background: #fff;
    transition: border 0.2s;
}

.customerInfo input::placeholder {
    color: #888;
}

/* Focus nhẹ, không glow */
.customerInfo input:focus {
    border-color: #0d6efd;
}

/* Nút */
.search {
    text-align: center;
    margin-top: 20px;
}

.search button {
    min-width: 180px;
    height: 44px;
    font-size: 16px;
    border-radius: 22px;
    border: none;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.search button:hover {
    background: #0b5ed7;
}

/* Mobile */
@media (max-width: 600px) {
    .customInf {
        margin: 0 12px 30px;
        padding: 22px;
    }

    h2 {
        font-size: 22px;
    }
}


/*==============================================================*/

/*** move top **/
#toTop {
	display:none;
	text-decoration:none;
	position:fixed;
	bottom:10px;
	right:10px;
	overflow:hidden;
	width:48px;
	height:48px;
	border:none;
	text-indent:100%;
	background:url(../images/arrow_up.png) no-repeat right top;
}

#toTopHover {
	width:48px;
	height:48px;
	display:block;
	overflow:hidden;
	float:right;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
}
#toTop:active, #toTop:focus {
	outline:none;
}

/* === Responsive: Sidebar nhảy lên trên khi màn nhỏ === */
/* ====== RESPONSIVE ====== */

/* Tablet và Mobile */
@media (max-width: 992px) {

    /* Bao ngoài: đưa mọi thứ thành 1 cột */
    .lkpk-wrapper {
        display: block !important;
    }

    /* Bên trong main cũng phải đổi */
    .lkpk-main {
        flex-direction: column !important;
        width: 100% !important;
    }

    /* Sidebar lên trên – full width */
    .lk-sidebar,
    .pk-sidebar {
        width: 100% !important;
        order: -1 !important;
    }

    /* Content sản phẩm full width */
    .lk-products,
    .pk-products {
        width: 100% !important;
    }

    /* Sản phẩm chia 2 cột */
    .grid_1_of_3 {
        width: calc(50% - 20px) !important;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .grid_1_of_3 {
        width: 100% !important;
    }
}

/* options phương thức thanh toán*/

/* ===== KHUNG CHỌN HÌNH THỨC ĐẶT HÀNG ===== */
.section.group.payment1 {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* Tiêu đề */
.payment1 h2 {
    margin-bottom: 25px;
    font-size: 22px;
    color: #2e7d32;
    text-transform: uppercase;
}

/* Link đặt hàng */
.payment1 a {
    display: block;
    width: 100%;
    padding: 14px 0;
    margin-bottom: 15px;
    background: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hover */
.payment1 a:hover {
    background: #388e3c;
    transform: translateY(-2px);
}

/* Nút Shopee màu cam */
.payment1 a[href*="shp.ee"] {
    background: #ff5722;
}

.payment1 a[href*="shp.ee"]:hover {
    background: #e64a19;
}

/* Nút tiktok màu đen */
.payment1 a[href*="tiktok"] {
    background: #4b4746;
}

.payment1 a[href*="tiktok"]:hover {
    background: #575352;
}
/* Nút quay về */
.back {
    margin-top: 20px;
}

.back a {
    display: inline-block;
    color: #1e1515;
	background: #aec9dad4;
    font-size: 14px;
    text-decoration: none;
}

.back a:hover {
    text-decoration: underline;
}

