.wc-block-components-shipping-rates-control__package {
	margin: 0;
	@include with-translucent-border( 0 0 1px );

	&.wc-block-components-panel {
		margin-bottom: 0;
	}

	.wc-block-components-panel__button {
		margin-bottom: 0;
		margin-top: 0;
		padding-bottom: em($gap-small);
		padding-top: em($gap-small);
	}

	&:last-child {
		@include with-translucent-border( 0 );

		.wc-block-components-panel__button {
			padding-bottom: 0;
		}
	}

	.wc-block-components-panel__content {
		padding-bottom: em($gap-small);
	}

	.wc-block-components-radio-control {
		margin-bottom: em($gap-small);
	}

	.wc-block-components-radio-control,
	.wc-block-components-radio-control__option-layout {
		padding-bottom: 0;
	}

	.wc-block-components-radio-control .wc-block-components-radio-control__option-layout {
		padding-bottom: 0;
	}

	.wc-block-components-radio-control__label-group {
		@include font-size(small);
	}
	.wc-block-components-radio-control__description-group {
		@include font-size(smaller);
	}

	&--disabled {
		opacity: 0.5;
		transition: opacity 200ms ease;
	}
}

.wc-block-components-shipping-rates-control__package-items {
	@include font-size(small);
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wc-block-components-shipping-rates-control__package-item {
	@include wrap-break-word();
	display: inline-block;
	margin: 0;
	padding: 0;
}

.wc-block-components-shipping-rates-control__package-item:not(:last-child)::after {
	content: ", ";
	white-space: pre;
}
