/* RedFly Pénztár+ – futárlogók a szállítási módok előtt */
.rf-futarlogo {
	display: inline-block;
	width: var(--rf-futarlogo-meret, 24px);
	height: var(--rf-futarlogo-meret, 24px);
	margin: 0 8px 0 2px;
	vertical-align: middle;
	line-height: 0;
	transition: opacity .2s ease, filter .2s ease;
}

.rf-futarlogo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

/* Az ár ne törjön ketté a logó miatt */
#shipping_method li label .woocommerce-Price-amount,
.woocommerce-shipping-methods li label .woocommerce-Price-amount {
	white-space: nowrap;
}

/* Nem kiválasztott mód: visszafogottabb logó */
#shipping_method li input[type="radio"]:not(:checked) + label .rf-futarlogo,
.woocommerce-shipping-methods li input[type="radio"]:not(:checked) + label .rf-futarlogo {
	opacity: .7;
	filter: grayscale(.4);
}

#shipping_method li input[type="radio"] + label:hover .rf-futarlogo,
.woocommerce-shipping-methods li input[type="radio"] + label:hover .rf-futarlogo {
	opacity: 1;
	filter: none;
}

@media (max-width: 767px) {
	.rf-futarlogo {
		--rf-futarlogo-meret: 22px;
		margin-right: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rf-futarlogo {
		transition: none;
	}
}
