[data-type="coblocks/pricing-table"] {

	.wp-block-shortcode textarea {
		width: 100%;
	}
}

.wp-block-coblocks-pricing-table__inner.has-3-columns.has-medium-gutter > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {

	&:nth-of-type(1),
	&:nth-of-type(2) {
		@include break-large-max() {
			flex-basis: 50%;
			max-width: calc(100% / 2 - var(--coblocks-spacing--2, #{map-get($spacing, 2)}));
		}
	}

	&:nth-of-type(3) {
		@include break-large-max() {
			flex-basis: 100%;
			margin-top: calc(2 * var(--coblocks-spacing--2, #{map-get($spacing, 2)}));
			max-width: 100%;
		}
		@include break-small-max() {
			margin-top: 0;
		}
	}
}

.wp-block-coblocks-pricing-table__inner.has-3-columns.has-large-gutter > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {

	&:nth-of-type(1),
	&:nth-of-type(2) {
		@include break-large-max() {
			flex-basis: 50%;
			max-width: calc(100% / 2.01 - var(--coblocks-spacing--3, #{map-get($spacing, 3)}));
		}
	}

	&:nth-of-type(3) {
		@include break-large-max() {
			flex-basis: 100%;
			margin-top: calc(2 * var(--coblocks-spacing--3, #{map-get($spacing, 3)}));
			max-width: 100%;
		}
		@include break-small-max() {
			margin-top: 0;
		}
	}
}

.wp-block-coblocks-pricing-table__inner.has-3-columns.has-huge-gutter > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {

	&:nth-of-type(1),
	&:nth-of-type(2) {
		@include break-large-max() {
			flex-basis: 50%;
			max-width: calc(100% / 2.02 - var(--coblocks-spacing--4, #{map-get($spacing, 4)}));
		}
	}

	&:nth-of-type(3) {
		@include break-large-max() {
			flex-basis: 100%;
			margin-top: calc(2 * var(--coblocks-spacing--4, #{map-get($spacing, 4)}));
			max-width: 100%;
		}
		@include break-small-max() {
			margin-top: 0;
		}
	}
}
