.bmx-size-table {

	.bmx-size-table__header {
		width: 760px;
		max-width: 100%;
		margin: 0 auto 40px;
		text-align: center;

		.bmx-size-table__title {
			margin-bottom: 15px;
		}

		.bmx-size-table__intro {
			line-height: 1.5;

			p {
				margin-bottom: 0;
			}
		}
	}

	.bmx-size-table__table {
		border: 1px solid var(--border-white);
		border-radius: 4px;
		@media (max-width: 767px) {
			border: none;
			border-radius: 0;
		}
	}

	.bmx-size-table__head,
	.bmx-size-table__row {
		display: grid;
		grid-template-columns: 1.35fr .8fr .9fr 1.4fr;
	}

	.bmx-size-table__head {
		border-bottom: 1px solid var(--border-white);

		@media (max-width: 767px) {
			display: none;
		}

		.bmx-size-table__head-cell {
			display: flex;
			align-items: center;
			min-height: 48px;
			padding: 12px 20px;
			border-right: 1px solid var(--border-white);
			font-family: var(--font-heading-family);
			font-weight: 500;
			text-transform: uppercase;

			&:last-child {
				border-right: 0;
			}
		}
	}

	.bmx-size-table__body {

		.bmx-size-table__row {
			border-bottom: 1px solid var(--border-white);

			@media (max-width: 767px) {
				display: block;
				padding: 0 20px;
				margin-bottom: 10px;
				border: 1px solid var(--border-white);
				border-radius: 3px;

			}

			@media (min-width: 767px) {
				&:last-child {
					border-bottom: 0;
				}
			}

			.bmx-size-table__cell {
				display: flex;
				flex-direction: column;
				justify-content: center;
				min-width: 0;
				min-height: 120px;
				padding: 20px;
				border-right: 1px solid var(--border-white);

				@media (max-width: 767px) {
					min-height: 0;
					padding: 18px 0;
					border-right: 0;
					border-bottom: 1px solid var(--border-white);
				}

				&:last-child {
					border-right: 0;

					@media (max-width: 767px) {
						border-bottom: 0;
					}
				}

				&.bmx-size-table__cell--size {
					padding-top: 12px;
					padding-bottom: 12px;
				}

				.bmx-size-table__mobile-label {
					display: none;
					margin-bottom: 8px;
					font-family: var(--font-heading-family);
					font-size: 14px;
					font-weight: 500;
					text-transform: uppercase;
					color: var(--color-primary);

					@media (max-width: 767px) {
						display: block;
					}
				}

				.bmx-size-table__size-wrap {
					display: flex;
					align-items: center;
					gap: 22px;

					@media (max-width: 767px) {
						justify-content: space-between;
						gap: 16px;
					}

					.bmx-size-table__wheel-size {
						flex-shrink: 0;
						margin: 0;
					}

					.bmx-size-table__image {
						width: var(--bike-image-width, 180px);
						max-width: 60%;
						flex-shrink: 0;

						img {
							display: block;
							width: 100%;
							height: auto;
							object-fit: contain;
						}
					}
				}

				.bmx-size-table__value {
					font-weight: 500;
				}

				.bmx-size-table__subvalue {
					margin-top: 4px;
					color: rgb(from var(--color-white) r g b / 65%);
				}

				.bmx-size-table__recommendation {
					line-height: 1.5;

					p {
						margin-bottom: 0;
					}
				}
			}
		}
	}

	.page__cta {
		margin-top: 70px;
		text-align: center;

		@media (max-width: 767px) {
			margin-top: 50px;
		}

		.page__cta-intro {
			margin-bottom: 18px;
			line-height: 1.45;

			p {
				margin-bottom: 0;
			}
		}

		.page__cta-button {
			min-width: 200px;
		}
	}
}