.mfs-product-component {
	margin-block: 1.25rem;
}

.mfs-delivery-estimate,
.mfs-setup-details,
.mfs-returns-support,
.mfs-mattress-details {
	padding: 1rem;
	border: 1px solid #e7e1d7;
	border-radius: 0.375rem;
	background: #fffdf8;
}

.mfs-returns-support {
	margin-block: 1rem;
	background: #fff;
}

.mfs-delivery-estimate h2 {
	font-size: 26px;
	line-height: 1.2;
}

.mfs-returns-support h2 {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
}

.mfs-mattress-details h2 {
	font-size: 24px;
	line-height: 1.25;
}

.mfs-variation-mount[hidden] {
	display: none !important;
}

.mfs-product-component h2,
.mfs-product-component h3 {
	margin-block: 0 0.75rem;
}

.mfs-product-badges ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mfs-badge {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border: 1px solid currentColor;
	border-radius: 0.25rem;
	font-weight: 600;
}

.mfs-data-table {
	width: 100%;
	border-collapse: collapse;
}

.mfs-data-table th,
.mfs-data-table td {
	padding: 0.5rem;
	border-bottom: 1px solid currentColor;
	text-align: left;
	vertical-align: top;
}

.mfs-delivery-estimate .mfs-data-table th,
.mfs-delivery-estimate .mfs-data-table td,
.mfs-returns-support .mfs-data-table th,
.mfs-returns-support .mfs-data-table td,
.mfs-mattress-details .mfs-data-table th,
.mfs-mattress-details .mfs-data-table td {
	padding: 8px;
	border-bottom-color: #e7e1d7;
}

.mfs-delivery-estimate .mfs-data-table tr:last-child th,
.mfs-delivery-estimate .mfs-data-table tr:last-child td,
.mfs-returns-support .mfs-data-table tr:last-child th,
.mfs-returns-support .mfs-data-table tr:last-child td,
.mfs-mattress-details .mfs-data-table tr:last-child th,
.mfs-mattress-details .mfs-data-table tr:last-child td {
	border-bottom: 0;
}

.mfs-data-table th {
	width: 40%;
}

.mfs-note {
	margin-block: 0.75rem;
}

.mfs-delivery-access-note {
	padding: 0.75rem;
	border-inline-start: 3px solid #e7e1d7;
	background: #fffdf8;
}

.mfs-delivery-access-note h3 {
	margin-block: 0 0.35rem;
	font-size: 1rem;
	font-weight: 600;
}

.mfs-delivery-estimate .mfs-note {
	font-size: 14px;
	line-height: 1.5;
}

.mfs-delivery-estimate .mfs-note:last-child,
.mfs-returns-details-content > :last-child {
	margin-bottom: 0;
}

.mfs-returns-details,
.mfs-mattress-more {
	border-top: 1px solid #e7e1d7;
	padding-block-start: 0.625rem;
}

.mfs-returns-details-toggle,
.mfs-mattress-more-toggle {
	cursor: pointer;
	font-weight: 600;
	line-height: 1.5;
}

.mfs-returns-details-toggle:focus-visible,
.mfs-mattress-more-toggle:focus-visible,
.mfs-product-component a:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.mfs-returns-details-content,
.mfs-mattress-more-content {
	padding-block-start: 0.75rem;
}

.mfs-return-detail-note,
.mfs-mattress-detail-note {
	margin-block: 1rem;
}

.mfs-return-detail-note h3,
.mfs-mattress-detail-note h3 {
	margin-block: 0 0.35rem;
	font-size: 1rem;
}

.mfs-product-component[aria-busy="true"] {
	cursor: progress;
}

.mfs-update-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 782px) {
	.mfs-delivery-estimate,
	.mfs-setup-details,
	.mfs-returns-support,
	.mfs-mattress-details {
		padding: 1rem;
	}

	.mfs-delivery-estimate h2 {
		font-size: 24px;
	}

	.mfs-returns-support h2 {
		font-size: 22px;
	}
}

@media (max-width: 600px) {
	.mfs-delivery-estimate,
	.mfs-returns-support,
	.mfs-mattress-details {
		padding: 14px;
	}

	.mfs-delivery-estimate h2 {
		font-size: 22px;
	}

	.mfs-returns-support h2 {
		font-size: 20px;
	}

	.mfs-data-table,
	.mfs-data-table tbody,
	.mfs-data-table tr,
	.mfs-data-table th,
	.mfs-data-table td {
		display: block;
		width: 100%;
	}

	.mfs-data-table th {
		padding-bottom: 0.125rem;
		border-bottom: 0;
	}

	.mfs-data-table td {
		padding-top: 0.125rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mfs-product-component {
		scroll-behavior: auto;
	}
}
