.wp-block-woocommerce-checkout-shipping-methods-block
	.wc-block-components-radio-control--highlight-checked
	label.wc-block-components-radio-control__option--checked-option-highlighted.photohappy-delivery-recipient-rate {
	border-radius: 4px 4px 0 0;
	box-shadow:
		inset 1.5px 1.5px 0 currentColor,
		inset -1.5px 1.5px 0 currentColor;
}

.photohappy-delivery-recipient {
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

.wp-block-woocommerce-checkout
	[data-photohappy-delivery-recipient-duplicate='true'] {
	display: none !important;
}

.photohappy-delivery-recipient-host > .photohappy-delivery-recipient {
	border-radius: 0 0 4px 4px;
	box-shadow:
		inset 1.5px -1.5px 0 currentColor,
		inset -1.5px -1.5px 0 currentColor;
	margin-top: -1px;
	padding: 0 16px 18px 48px;
}

.photohappy-delivery-recipient--fallback {
	border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
	border-radius: 4px;
	margin-block: 12px 0;
	padding: 16px;
}

.photohappy-delivery-recipient__field,
.photohappy-delivery-recipient__input {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.photohappy-delivery-recipient__description {
	font-size: var(--wp--preset--font-size--small, 13px);
	line-height: 1.45;
	margin: 8px 0 0;
}

@media (max-width: 480px) {
	.photohappy-delivery-recipient-host > .photohappy-delivery-recipient {
		padding-inline: 16px;
	}
}

@media (forced-colors: active) {
	.photohappy-delivery-recipient-host > .photohappy-delivery-recipient,
	.wp-block-woocommerce-checkout-shipping-methods-block
		.wc-block-components-radio-control--highlight-checked
		label.wc-block-components-radio-control__option--checked-option-highlighted.photohappy-delivery-recipient-rate {
		box-shadow: none;
	}

	.wp-block-woocommerce-checkout-shipping-methods-block
		.wc-block-components-radio-control--highlight-checked
		label.wc-block-components-radio-control__option--checked-option-highlighted.photohappy-delivery-recipient-rate {
		border: 1px solid CanvasText;
		border-bottom: 0;
		box-sizing: border-box;
	}

	.photohappy-delivery-recipient-host > .photohappy-delivery-recipient {
		border: 1px solid CanvasText;
		border-top: 0;
	}
}
