/* HomeOgarden – Popup Upsells */

.mfp-content.hog-pu-wide {
	max-width: 720px;
}

.hog-pu {
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid rgba( 0, 0, 0, .09 );
	text-align: left;
}

.hog-pu__heading {
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.hog-pu__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

.hog-pu__grid--2 {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.hog-pu__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 10px 14px;
	border: 1px solid rgba( 0, 0, 0, .08 );
	border-radius: 8px;
	text-align: center;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.hog-pu__item:hover {
	border-color: rgba( 0, 0, 0, .18 );
	box-shadow: 0 2px 10px rgba( 0, 0, 0, .06 );
}

.hog-pu__item.is-added {
	border-color: #83b735;
	background-color: rgba( 131, 183, 53, .05 );
}

.hog-pu__thumb {
	display: block;
	width: 100%;
	max-width: 110px;
	margin-bottom: 8px;
}

.hog-pu__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.hog-pu__name {
	display: -webkit-box;
	overflow: hidden;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.hog-pu__price {
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 1.3;
}

.hog-pu__price del {
	opacity: .5;
	font-size: .9em;
}

.hog-pu__price ins {
	text-decoration: none;
}

.hog-pu__btn {
	position: relative;
	width: 100%;
	margin-top: auto;
	padding: 8px 10px;
	border: 0;
	border-radius: 5px;
	background-color: #83b735;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .3px;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.hog-pu__btn:hover:not( [ disabled ] ) {
	background-color: #6f9c2b;
	color: #fff;
}

.hog-pu__btn-done,
.hog-pu__btn-spinner {
	display: none;
}

.hog-pu__btn-done svg {
	display: inline-block;
	margin-right: 5px;
	vertical-align: -2px;
}

/* Loading */
.hog-pu__btn.is-loading {
	cursor: default;
	opacity: .75;
}

.hog-pu__btn.is-loading .hog-pu__btn-label {
	visibility: hidden;
}

.hog-pu__btn.is-loading .hog-pu__btn-spinner {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border: 2px solid rgba( 255, 255, 255, .45 );
	border-top-color: #fff;
	border-radius: 50%;
	animation: hog-pu-spin .6s linear infinite;
}

@keyframes hog-pu-spin {
	to {
		transform: rotate( 360deg );
	}
}

/* Added */
.hog-pu__btn.is-added {
	background-color: #4d7a12;
	cursor: default;
	opacity: 1;
}

.hog-pu__btn.is-added .hog-pu__btn-label {
	display: none;
}

.hog-pu__btn.is-added .hog-pu__btn-done {
	display: block;
	animation: hog-pu-pop .25s ease;
}

@keyframes hog-pu-pop {
	from {
		transform: scale( .8 );
		opacity: 0;
	}
	to {
		transform: scale( 1 );
		opacity: 1;
	}
}

/* Error */
.hog-pu__btn.is-error {
	background-color: #c0392b;
}

/* Mobile */
@media ( max-width: 600px ) {
	.hog-pu {
		margin-top: 18px;
		padding-top: 15px;
	}

	.hog-pu__grid,
	.hog-pu__grid--2 {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 10px;
	}

	.hog-pu__item {
		padding: 10px 8px 12px;
	}

	.hog-pu__name {
		font-size: 12px;
	}

	.hog-pu__btn {
		padding: 8px 6px;
		font-size: 11px;
	}
}
