.wc-atc-overlay {
	position: fixed; 
	inset: 0; 
	background: rgba(0,0,0,.45);
	z-index: 9998;
}
.wc-atc-modal {
	position: fixed; 
	inset: 0; 
	display: grid; 
	place-items: center;
	z-index: 9999;
}
.wc-atc-modal[hidden],
.wc-atc-overlay[hidden] { 
	display: none !important; 
}
.wc-atc-content {
	background: #fff; 
	max-width: 880px; 
	width: calc(100% - 2rem);
	border-radius: 8px; 
	padding: 38px 24px; 
	box-shadow: 0 10px 40px rgba(0,0,0,.15);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	position: relative;
	max-height: 85vh;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.wc-atc-title { 
	margin: 0 0 12px; 
	font-size: 20px; 
}
.wc-atc-confirm { 
	display: flex; 
	align-items: center; 
	justify-content: space-between; 
	gap: 14px;
}
.wc-atc-product { 
	display: flex; 
	align-items: center; 
	gap: 14px;
	position: relative;
	list-style: none outside;
	width: auto;
	word-wrap: break-word;
}
.wc-atc-close {
	border-radius: 100% !important;
	min-width: 40px;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px !important;
	border: 1px solid #16216C !important;
	cursor: pointer !important;
	transition: all .4s ease;
}
.wc-atc-close:hover,
.wc-atc-close:focus {
	border: 1px solid #16216C;
}
.wc-atc-thumb img { 
	width: 64px; 
	height: 64px; 
	object-fit: cover; 
	border-radius: 8px; 
}
.wc-atc-upsells-title { 
	margin: 60px 0 30px 0; 
	font-size: 20px!important; 
	font-weight: 700!important; 
}
.wc-atc-upsells-wrap .woocommerce-loop-product__title { 
	line-height: 1.2; 
}
.wc-atc-upsells-wrap .products { 
	margin: 0; 
}
.wc-atc-loading { 
	opacity: .7; 
}
.wc-atc-actions { 
	display: flex; 
	gap: 10px; 
	justify-content: flex-start; 
	margin-top: 18px; 
}
.wc-atc-actions .button { 
	text-decoration: none !important;
	font-family: "Urbanist", Sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	border-style: solid !important;
	border-width: 1px 1px 1px 1px !important;
	border-radius: 68px 68px 68px 68px !important;
	padding: 14px 24px 14px 24px !important;
	color: #FFF !important;
	background-color: #16216C !important;
	border-color: #16216C !important;
	transition: all 0.2s !important;
	cursor: pointer !important;
}
.wc-atc-actions .button:hover,
.wc-atc-actions .button:focus,
.wc-atc-actions .button:active {
	background-color: transparent !important;
	color: #16216C !important;
	border-color: #16216C !important;
}
body.wc-atc-lock { 
	overflow: hidden; 
}
.wc-atc-upsells .lpf-category-products a {
	text-decoration: none;
	cursor: pointer;
}

@media (max-width: 991px) {
  .wc-atc-upsells .lpf-category-products {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 768px) {
  .wc-atc-upsells-wrap .products .product {
    margin: 0 0 20px 0!important;
  }
	.wc-atc-content {
		height: 96vh;
	}
	.wc-atc-upsells .lpf-category-products {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 490px) {
	.wc-atc-actions { 
		flex-direction: column; 
	}
	.wc-atc-actions .button { 
		text-align: center; 
	}
	.wc-atc-confirm {
		flex-direction: column-reverse;
	}
	.wc-atc-close {
		align-self: flex-end;
	}
}
@media (max-width: 390px) {
	.wc-atc-upsells .lpf-category-products {
		grid-template-columns: repeat(1, 1fr);
	}
}