:root {
	--ppqo-blue: #2676a8;
	--ppqo-blue-dark: #1f628c;
	--ppqo-green: #56c99b;
	--ppqo-green-soft: #f2fbf7;
	--ppqo-pink: #c43c9a;
	--ppqo-pink-soft: #fcecf6;
	--ppqo-text: #292c34;
	--ppqo-muted: #656c79;
	--ppqo-border: #dfe5ec;
	--ppqo-bg: #f7f9fc;
}

.single-product form.cart:has(.ppqo-offer-selector),
.single-product form.cart.ppqo-cart-form {
	flex-wrap: wrap !important;
}

.single-product form.cart .ppqo-offer-selector {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.ppqo-offer-selector {
	width: 100%;
	margin: 0 0 20px;
	padding: 18px;
	color: var(--ppqo-text);
	background: var(--ppqo-bg);
	border: 1px solid var(--ppqo-border);
	border-radius: 14px;
	box-sizing: border-box;
}

.ppqo-offer-selector__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--ppqo-text);
}

.ppqo-offer-selector__heading strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--ppqo-text);
}

.ppqo-offer-selector__heading span {
	font-size: 12px;
	color: var(--ppqo-muted);
}

.ppqo-offer-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.single-product .ppqo-offer-selector .ppqo-offer-card {
	position: relative;
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	min-height: 92px !important;
	margin: 0 !important;
	padding: 14px !important;
	font: inherit !important;
	line-height: normal !important;
	text-align: left !important;
	text-transform: none !important;
	color: var(--ppqo-text) !important;
	background: #fff !important;
	border: 2px solid var(--ppqo-border) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
	appearance: none !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card:hover:not(:disabled),
.single-product .ppqo-offer-selector .ppqo-offer-card:focus:not(:disabled) {
	color: var(--ppqo-text) !important;
	background: #fff !important;
	border-color: #a9c7d9 !important;
	box-shadow: 0 6px 18px rgba(38, 118, 168, .09) !important;
	transform: translateY(-1px);
}

.single-product .ppqo-offer-selector .ppqo-offer-card.is-selected {
	color: var(--ppqo-text) !important;
	background: #fff !important;
	border-color: var(--ppqo-blue) !important;
	box-shadow: 0 7px 20px rgba(38, 118, 168, .10) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card--featured.is-selected {
	background: var(--ppqo-green-soft) !important;
	border-color: var(--ppqo-green) !important;
	box-shadow: 0 7px 20px rgba(86, 201, 155, .14) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card.is-disabled {
	opacity: .52;
	cursor: not-allowed;
}

.single-product .ppqo-offer-selector .ppqo-offer-card__radio {
	position: relative !important;
	display: block !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 2px solid #929aa8 !important;
	border-radius: 50% !important;
	box-sizing: border-box !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card.is-selected .ppqo-offer-card__radio {
	border-color: var(--ppqo-blue) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card.is-selected .ppqo-offer-card__radio::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	display: block;
	width: 8px;
	height: 8px;
	background: var(--ppqo-blue);
	border: 0;
	border-radius: 50%;
}

.single-product .ppqo-offer-selector .ppqo-offer-card--featured.is-selected .ppqo-offer-card__radio {
	border-color: var(--ppqo-green) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card--featured.is-selected .ppqo-offer-card__radio::after {
	background: var(--ppqo-green);
}

.ppqo-offer-card__content {
	display: flex !important;
	flex-direction: column !important;
	gap: 5px !important;
	min-width: 0;
}

.ppqo-offer-card__title-row {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card__title {
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	color: var(--ppqo-text) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card__subline {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: var(--ppqo-muted) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card__subline del,
.single-product .ppqo-offer-selector .ppqo-offer-card__subline del .woocommerce-Price-amount,
.single-product .ppqo-offer-selector .ppqo-offer-card__subline del .woocommerce-Price-currencySymbol {
	color: #666d78 !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-card__price,
.single-product .ppqo-offer-selector .ppqo-offer-card__price .woocommerce-Price-amount,
.single-product .ppqo-offer-selector .ppqo-offer-card__price .woocommerce-Price-currencySymbol {
	font-size: 20px !important;
	font-weight: 750 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	color: var(--ppqo-green) !important;
}

.single-product .ppqo-offer-selector .ppqo-offer-badge,
.ppqo-loop-offer__badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 5px 9px !important;
	font-size: 10px !important;
	font-weight: 750 !important;
	line-height: 1 !important;
	letter-spacing: .02em !important;
	text-transform: uppercase !important;
	color: var(--ppqo-pink) !important;
	background: var(--ppqo-pink-soft) !important;
	border: 0 !important;
	border-radius: 999px !important;
}

.ppqo-offer-card__stock {
	font-size: 11px;
	font-weight: 600;
	color: #a43d3d;
}

.ppqo-offer-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 11px;
	padding: 10px 12px;
	font-size: 12px;
	color: var(--ppqo-muted);
	background: #fff;
	border: 1px solid #edf0f4;
	border-radius: 9px;
}

.ppqo-offer-summary strong {
	font-size: 13px;
	white-space: nowrap;
	color: var(--ppqo-text);
}

.ppqo-offer-summary__total,
.ppqo-offer-summary__total .woocommerce-Price-amount,
.ppqo-offer-summary__total .woocommerce-Price-currencySymbol {
	font-size: 16px;
	font-weight: 700;
	color: var(--ppqo-green) !important;
}

.ppqo-loop-offer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 7px 0 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ppqo-blue-dark);
}

.ppqo-cart-price-note {
	display: inline-block;
	max-width: 150px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ppqo-blue-dark);
}

.ppqo-mini-cart-quantity strong {
	font-weight: 700;
}

@media (max-width: 767px) {
	.ppqo-offer-selector {
		padding: 14px;
	}

	.ppqo-offer-selector__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}

	.ppqo-offer-options {
		grid-template-columns: 1fr;
	}

	.ppqo-offer-summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
}

@media (max-width: 420px) {
	.single-product .ppqo-offer-selector .ppqo-offer-card {
		grid-template-columns: auto minmax(0, 1fr) !important;
	}

	.single-product .ppqo-offer-selector .ppqo-offer-card__price {
		grid-column: 2;
		font-size: 18px !important;
	}
}
