/**
 * Offer cards, laid out SIDE BY SIDE (one row) so the tiers take little
 * vertical space and the add-to-cart button stays high on the page.
 * Colours come from the theme --uq-* tokens; squared corners + hairlines
 * + a dashed accent match the UTILIQ motif.
 */

.uq-offers {
	display: flex;
	gap: 8px;
	margin: 12px 0 0;
}

.uq-offer {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 3px;
	padding: 13px 8px 11px;
	border: 1.5px solid var( --uq-line, #d8c9b2 );
	border-radius: var( --uq-r, 4px );
	background: var( --uq-paper, #fff );
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.uq-offer:hover {
	border-color: var( --uq-cta, #e0702f );
}

.uq-offer.is-selected {
	border-color: var( --uq-cta-deep, #c16028 );
	background: var( --uq-cream, #f6f1e8 );
	box-shadow: inset 0 0 0 1px var( --uq-cta-deep, #c16028 );
}

.uq-offer input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* badge straddles the top border - absolute so all cards keep equal height */
.uq-offer-badge {
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX( -50% );
	max-width: 96%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: .58rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 2px 8px;
	border-radius: 3px;
	background: var( --uq-cta-deep, #c16028 );
	color: #fff;
}

.uq-offer-head {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 2px;
}

.uq-offer-radio {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid var( --uq-line, #d8c9b2 );
	position: relative;
	flex: none;
}

.uq-offer.is-selected .uq-offer-radio {
	border-color: var( --uq-cta-deep, #c16028 );
}

.uq-offer.is-selected .uq-offer-radio::after {
	content: "";
	position: absolute;
	inset: 2.5px;
	border-radius: 50%;
	background: var( --uq-cta-deep, #c16028 );
}

.uq-offer-label {
	font-weight: 700;
	font-size: .88rem;
	color: var( --uq-ink, #241b13 );
	white-space: nowrap;
}

.uq-offer-total {
	font-family: var( --uq-font-mono, ui-monospace, monospace );
	font-weight: 500;
	font-size: 1.05rem;
	color: var( --uq-ink, #241b13 );
}

.uq-offer-was {
	font-size: .76rem;
	color: var( --uq-ink-soft, #6e6154 );
	text-decoration: line-through;
}

.uq-offer-unit {
	font-size: .72rem;
	color: var( --uq-ink-soft, #6e6154 );
}

/* One free-shipping line under the whole offers block. */
.uq-offers-ship {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 4px 0 0;
	font-size: .78rem;
	font-weight: 600;
	color: var( --uq-cta, #e0702f );
}

.uq-offers-ship .uq-ic {
	width: 1.15em;
	height: 1.15em;
	color: var( --uq-cta, #e0702f );
}

@media ( max-width: 400px ) {
	.uq-offer-label { font-size: .8rem; }
	.uq-offer-total { font-size: .96rem; }
}
