
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	padding-top: 20px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999999!important;
	overflow: auto!important;
	background: rgba(211,211,211,0.5);
}
.ka-pc-full-content-wrap-popup{
	padding: 35px!important;
}
.templat-no-temp_4 #k_pc_e_close_icon{
	    padding: 4px 8px!important;
	    display: block!important;
}
.kap-tempalte-full-content{
	    margin-top: 25px;
    border-top: 1px solid #d3d3d391;
    padding-top: 25px;
}
.my-modal-box{
	background-color: white;
	width: 50%;
	max-width: 100%;
	min-width: 1%;
	height: 50%;
	min-height: 1%;
	max-height: 100%;
	top: 50%;
	overflow: hidden;
	position: fixed;
	box-sizing: border-box;
}
.my-modal-box.animate-left, .my-modal-box.animate-right{
	top: auto!important;
	bottom: auto!important;
}
.animate-center {
	 position: fixed;
		/*top: 50%;
		right: 50%!important;
		left: 50%;
		transform: translate(-50%, -50%);*/
		top: auto !important;
		z-index: 1000;
}
.modal.show{
	display: flex!important;
}
.modal{
/*	display: flex;*/
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/*1 template*/
.k-pc-product-info .k-pc-grid-row{
	display: flex;
	gap: 25px;
}
.k-pc-product-info .k-pc-grid-row .kpc-col-4{
	width: 30%;
}
.k-pc-product-info .k-pc-grid-row .kpc-col-8{
	width: 68%;
}
#k_pc_e_close_icon{
	position: absolute;
	top: 4px; /* Adjust top position as needed */
	right: 9px; /* Adjust right position as needed */
	z-index: 1100; /* Ensure close button is above the sidebar */
	background-color: transparent;
	border: none;
	min-height: auto!important;
	    border-radius: 20px;
	cursor: pointer;
	font-size: 26px;
}
.templat-no-temp_1 .k-pc-product-thumb img{
	border-radius: 8px!important;
}
.layout-one .k-pc-product-cart-info{
	padding: 15px 0;
  border-top: 1px solid #d3d3d373;
  margin: 10px 0px 0px;
}
.layout-one .ka-popup-cart-item.total-price{
	  border-top: 1px solid #d3d3d373;
    padding-top: 10px;
}
.ka-popup-cart-item{
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}
.k-pc-product-cart-info .ka-popup-cart-item:last-child{
	margin-bottom: 0;
}
.k-pc-product-cart-info p, .ka-popup-cart-item p{
	margin-bottom: 0;
}
.templat-no-temp_1 .total-price p, .templat-no-temp_1 .total-price label{
	font-weight: 600;
}
.k-pc-product-price-info{
	margin-bottom: 8px;
}
.k-pc-product-title-info h3{
	font-size: 26px;
	line-height: 36px;
	margin-bottom: 8px;
	margin-top: 0;
}
.k-pc-product-actions ul{
	list-style: none!important;
	padding: 0!important;
	margin:0;
	overflow: auto !important;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	text-align:center;
}
.koala-related-product .related{
	margin-top: 0!important;
}
.k-pc-product-actions a{
	width: 100%;
	background: black;
	border: 1px solid black;
	box-sizing: border-box;
	color: #fff;
	padding: .4em 1.5em .4em;
	text-decoration: none;
	display: inline-block;
	transition: all ease .3s;
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 16px;
	line-height: 26px;
	text-align: center;
}
.templat-no-temp_1 .k-pc-product-actions{
		padding: 16px 0;
    border-bottom: 1px solid #d3d3d373;
    margin-bottom: 25px;
}
.close-btn{
	background-color: #eeeeee;
	font-weight: 600;
	padding: 5px 10px;
	line-height: 22px;
	transition-duration: 0.4s;
	text-decoration: none;
	overflow: hidden;
}
.message_text_color {
	padding: 10px 13px;
	position: relative;
	text-align: left;
	border-radius: 4px;
	margin-bottom: 20px;
}
/*2nd tempalte*/
.k-pc-grid-row.template-col-2{
	padding: 25px;
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 1.5fr 2fr;
    gap: 28px;
}
.template-col-2 .k-pc-grid-row{
	grid-column: span 2;
}
.templat-no-temp_2 #k_pc_e_close_icon{
    top: 8px!important
}
.ka-cart-tem2-wrap, .k-pc-product-content{
	text-align: left;
}
.k-pc-related-products h3,
	.layout-three .k-pc-product-cart-info h3{
		  text-align: center;
		text-transform: uppercase;
		font-size: 18px;
		margin-top: 0;
		margin-bottom: 20px;
		line-height: 28px;
		color: #404040;
		font-weight: 700;
	}
.template-col-2 .k-pc-product-cart-info{
	    padding: 1.25rem;
    background-color: #e4f2ff82;
    border-radius: 0.75rem;
}
.template-col-2  .ka-cart-temp-item{
	   display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.template-col-2  .ka-cart-temp-item:last-child{
	margin-bottom: 0!!important;
}
.kap-tempalte-two-product{
	padding: 25px;
	border-top: 1px solid #d3d3d35e;
}
/*3th template*/
.templat-no-temp_3, .templat-no-temp_3 .kasc-model-wrap, .templat-no-temp_2 .kasc-model-wrap{
	padding: 0;
	overflow: hidden;
}
.templat-no-temp_3 .message_text_color, .templat-no-temp_2 .message_text_color{
	padding: 12px 17px;
  margin-bottom: 0!important;
}
.templat-no-temp_3 .k-pc-product-thumb img{
	margin-bottom: 0!important;
	border-radius: 7px;
}
.templat-no-temp_3 .k-pc-product-actions a{
	margin-bottom: 0!important;
}
.templat-no-temp_3 .close-btn.close_modal{
	display: none;
}
.templat-no-temp_3 .k-pc-grid-row{
	padding: 25px;
	border-bottom: 1px solid #e9e5f5;
}
.template3-close-btn.close_modal{
	display: block;
	 padding: 5px 10px;
	line-height: 22px;
	top: 23px!important;
    right: 24px!important;
}
.koala-modal-content-wrap.layout-three, .koala-modal-content-wrap.layout-two{
	 height: calc(100% - 50px);
	 overflow-y: auto;
}
.ka-cart-temp3-item{
	display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.templat-no-temp_3 .ka-product-information{
	    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 25px;
    position: relative;
}
.templat-no-temp_3 .thumbnail{
	max-width: 200px;
}
.layout-three .k-pc-product-cart-info{
	margin-bottom: 25px;
}

/*4th template*/
.ka-forth-template-wrap{
	grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
}
.ka-left-section{
	padding: 2rem;
/*	background-color: #f9fafb;*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.ka-left-wrap{
	width: 100%;
	max-width: 24rem;
}
.ka-left-thumbnail{
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
}
.ka-left-thumbnail img{
	width: 100%;
	margin-bottom: 0!important;
	height: auto;
	object-fit: cover;
}
.ka-left-content h3{
	font-weight: 600;
	color: #000;
	font-size: 20px;
	line-height: 28px;
	margin-bottom: 0.5rem;
}
.ka-left-content p.ka-price{
	font-weight: 900;
	font-size: 24px;
	line-height: 2rem;
	margin-bottom: 10px!important;
}
.ka-right-section{
	display: flex;
	padding: 2rem;
	flex-direction: column;
}
.ka-temp-conent-4{
	flex: 1 1 0%;
}
.ka-sub-total-temp{
	padding: 1.25rem;
	background-color: #f9fafb;
	border-radius: 0.75rem;
	margin-bottom: 1rem;
}
.ka-sub-total-temp .ka-subtotal-wrap{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
.ka-added-cart-message{
		display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}
.templat-no-temp_4 .kasc-model-wrap{
	padding: 0!important;
}

.message-icon{
	width: 100%;
	max-width: 30px;
    height: 30px;
}
.message-icon img{
	margin-bottom: 0!important;
}
.ka-subtotal-wrap .ka-amount p{
	font-weight: 700;
	color: #000;
	font-size: 18px;
	line-height: 26px;
	margin-bottom: 0;
}
.ka-added-cart-message p{
	font-weight: 600;
    font-size: 16px;
    text-align: left;
    line-height: 20px;
    margin-bottom: 0;
}
body.ka-popup-show{
	overflow: hidden!important;
}
.ka-popup-show .wd-add-cart-icon{
	display: none!important;
}
.product-grid-item.force-hover .fade-in-block.wd-scroll{
	    visibility: visible;
    opacity: 1;
}
.product-grid-item.force-hover .product-wrapper{
	    z-index: 20;
}
.product-grid-item.force-hover .content-product-imagin{
	visibility: visible;
    opacity: 1;
    transition: opacity .3s ease, visibility .0s ease, transform .3s ease;
    transform: scale(1);
}
.ka-popup-show .wd-hover-with-fade .product-wrapper{
	transform: none!important;
}
.ka-left-content .variation, .k-pc-product-title-info .variation{
	display: grid!important;
  grid-template-columns: auto 1fr!important;
  margin: 13px 0 10px!important;
}
.ka-left-content .variation dd,
.k-pc-product-title-info .variation dd{
	margin-bottom: 8px!important;
}
.ka-left-content .variation dd p,
.k-pc-product-title-info .variation dd p{
	margin-bottom: 0!important;
}
.ka-temp-4-buttons a{
	width: 100%;
	display: block;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	font-weight: 600;
	padding-top: 0.875rem;
	text-align: center!important;
	font-size: 16px;
	line-height: 23px;
	border-radius: 0.75rem;
    padding-bottom: 0.875rem;
    margin-bottom: 15px;
}
.kasc-model-wrap{
	padding: 30px;
	height: 100%;
	overflow-y: auto;
}
.kasc-model-wrap::-webkit-scrollbar,
.koala-modal-content-wrap.layout-three::-webkit-scrollbar,
.koala-modal-content-wrap.layout-two::-webkit-scrollbar{
  width: 5px;
  height: 5px;
}

/* track (background) */
.kasc-model-wrap::-webkit-scrollbar-track,
.koala-modal-content-wrap.layout-three::-webkit-scrollbar-track,
.koala-modal-content-wrap.layout-two::-webkit-scrollbar-track{
  background: #f1f1f1;
}

/* thumb (scroll handle) */
.kasc-model-wrap::-webkit-scrollbar-thumb,
.koala-modal-content-wrap.layout-three::-webkit-scrollbar-thumb,
.koala-modal-content-wrap.layout-two::-webkit-scrollbar-thumb{
  background: #8888887d;
  border-radius: 50px;
}
.kap-tempalte-four-product{
	  grid-column: span 2;
	  padding: 2rem;
	  padding-bottom: 0!important;
	  border-top: 1px solid #d3d3d375;
}
.kap-tempalte-four-product .kpc-col-12{
	padding: 0!important;
}
/* hover effect */
.kasc-model-wrap::-webkit-scrollbar-thumb:hover,
.koala-modal-content-wrap.layout-three::-webkit-scrollbar-thumb:hover,
.koala-modal-content-wrap.layout-two::-webkit-scrollbar-thumb:hover{
  background: #555;
}
.templat-no-temp_4 #k_pc_e_close_icon{
	display: none;
}
.template-close-btn{
	font-size: 26px;
	padding: 5px 10px;
	font-weight: bold;
	transition-duration: 0.4s;
	line-height: 22px;
}
.ka-forth-template-wrap .template-close-btn.close_modal{
/*	background: #fff!important;*/
	text-align: right;
	flex-grow: 1;
	font-size: 33px!important;
}
/*full conetent template*/
.k-pc-grid-row tr td{
	vertical-align: middle!important;
	padding: 15px!important;
	border:0!important;
	background-color: transparent!important;
}
.k-pc-grid-row table{
	border: 0!important;
	width: 100%!important;
}
.k-pc-grid-row table p{
	margin:0!important;
}
.k-pc-grid-row table .quantity{
	display: table-cell!important;
}
.k-pc-grid-row tr td:first-child{
	padding-left: 0!important;
}
.quantiy{
	max-width: 80px;
	padding: 8px;
    border-radius: 5px;
    text-align: center;
}
.k-pc-grid-row .product-thumbnail img {
	max-width: 80px!important;
	margin: 0!important;
}

.subtotal{
	font-weight: bold;
	margin-bottom: 0;
}
.product-price p, .product-name{
	margin-bottom: 0;
}
.for-mobile-view{
	display: none!important;
}
.adf-full-content-popup-wrap .kasc-model-wrap{
	padding: 0!important;
}
@media screen and (max-width: 480px) {
		.my-modal-box {
			width: 90% !important;
      height: 80% !important;
			box-sizing: border-box;
		}
		.ka-right-section .ka-added-cart-message{
			display: none!important;
		}
		.ka-forth-template-wrap, .k-pc-product-actions ul,
		.k-pc-product-info .k-pc-grid-row, .k-pc-grid-row.template-col-2,
		.templat-no-temp_3 .ka-product-information{
			display: block!important;
		}
		.templat-no-temp_3 .thumbnail {
		    max-width: 100%;
		    margin-bottom: 23px;
		}
		.template3-close-btn.close_modal {
		    padding: 4px 8px;
		    top: 1px !important;
		    right: -1px !important;
		}
		.k-pc-product-actions ul{
			gap: 0!important;
		}
		.k-pc-product-info .k-pc-grid-row .kpc-col-4,
		.k-pc-product-info .k-pc-grid-row .kpc-col-8{
			width: 100%!important;
		}
		.shrt_dis_style, .k-pc-product-actions ul li:last-child{
			margin-bottom: 0!important;
		}
		.ka-left-section .ka-added-cart-message.for-mobile-view{
			display: flex!important;
		}
		.k-pc-product-cart-info, .templat-no-temp_2 .k-pc-product-content{
			margin-bottom: 30px;
		}
		.templat-no-temp_3 .k-pc-product-actions ul li{
			margin-bottom: 15px;
		}
		.ka-left-section, .ka-right-section, .kap-tempalte-four-product{
	    padding: 20px;
	  }
}