.mwp-preview {
	max-width: 1040px;
}

.mwp-intro {
	margin-bottom: 28px;
}

.mwp-panel {
	padding: clamp(20px, 4vw, 38px);
	border: 1px solid rgba(75, 98, 110, .09);
	border-radius: 24px;
	background: #fffefa;
	box-shadow: 0 12px 36px rgba(67, 57, 40, .055);
}

.mwp-comparison {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(12px, 2.4vw, 28px);
}

.mwp-scene {
	min-width: 0;
	text-align: center;
}

.mwp-scene-label {
	margin: 0 0 12px;
	color: #315f70;
	font-size: 18px;
	font-weight: 750;
}

.mwp-screen {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	box-sizing: border-box;
	aspect-ratio: 16 / 9;
	border: 7px solid #34434b;
	border-radius: 13px;
	background: #f4f7f7;
	box-shadow: 0 8px 18px rgba(45, 57, 63, .12);
}

.mwp-screen::before,
.mwp-screen::after {
	position: absolute;
	left: 50%;
	background: #697980;
	content: "";
	transform: translateX(-50%);
}

.mwp-screen::before {
	bottom: -31px;
	width: 14px;
	height: 31px;
	border-radius: 0 0 3px 3px;
}

.mwp-screen::after {
	bottom: -34px;
	width: 86px;
	height: 7px;
	border-radius: 3px 3px 0 0;
}

.mwp-display {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	padding: 9px;
	overflow: hidden;
	box-sizing: border-box;
	background: #f4f7f7;
}

.mwp-screen--roomy .mwp-display {
	grid-template-columns: 1.08fr .92fr;
	gap: 7px;
}

.mwp-window {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
	border: 1px solid #cbd5d8;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(36, 54, 60, .1);
	text-align: left;
}

.mwp-browser-chrome {
	display: flex;
	flex: 0 0 12%;
	align-items: center;
	gap: 4px;
	min-height: 0;
	padding: 0 7px;
	border-bottom: 1px solid #dce4e7;
	background: #eef3f5;
}

.mwp-browser-chrome > span {
	width: 5px;
	height: 5px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #93aab3;
}

.mwp-browser-chrome > span:first-child { background: #d77b73; }
.mwp-browser-chrome > span:nth-child(2) { background: #e0b75d; }
.mwp-browser-chrome > span:nth-child(3) { background: #7daa7b; }

.mwp-browser-chrome > i {
	width: 44%;
	height: 6px;
	margin-left: 4px;
	border-radius: 4px;
	background: #dce5e8;
}

.mwp-browser-content {
	display: flex;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6%;
	padding: 7%;
}

.mwp-browser-heading {
	width: 48%;
	height: 9%;
	flex: 0 0 auto;
	border-radius: 3px;
	background: #537b8b;
}

.mwp-browser-main {
	display: grid;
	min-height: 0;
	flex: 1 1 auto;
	grid-template-columns: .9fr 1.1fr;
	gap: 6%;
}

.mwp-browser-image {
	min-height: 0;
	border-radius: 4px;
	background: linear-gradient(145deg, #d9e8ed, #b7d0d9);
}

.mwp-browser-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	gap: 8%;
}

.mwp-browser-copy > b,
.mwp-browser-copy > i,
.mwp-browser-footer > i {
	display: block;
	min-width: 0;
	border-radius: 3px;
	background: #d5e0e3;
}

.mwp-browser-copy > b {
	width: 82%;
	height: 14%;
	background: #668797;
}

.mwp-browser-copy > i { width: 100%; height: 7%; }
.mwp-browser-copy > i:last-child { width: 70%; }

.mwp-browser-footer {
	display: flex;
	flex: 0 0 12%;
	gap: 4%;
}

.mwp-browser-footer > i:first-child { width: 44%; }
.mwp-browser-footer > i:last-child { width: 26%; }

.mwp-window--browser-small {
	width: 96%;
	height: auto;
	align-self: center;
	justify-self: center;
	aspect-ratio: 16 / 9;
}

.mwp-window--document {
	gap: 4px;
	padding: 4px;
}

.mwp-document-toolbar {
	display: flex;
	flex: 0 0 11%;
	align-items: center;
	justify-content: space-between;
	gap: 3px;
	min-height: 0;
	padding: 0 4px;
	border-bottom: 1px solid #e0e6e7;
	color: #47765c;
	font-size: clamp(6px, .65vw, 9px);
}

.mwp-document-toolbar b { font-weight: 700; white-space: nowrap; }
.mwp-document-toolbar i { width: 28%; height: 5px; border-radius: 3px; background: #e0e7e8; }

.mwp-document-grid {
	display: flex;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #d6e0e2;
	background: #fff;
}

.mwp-document-row {
	display: grid;
	min-height: 0;
	flex: 1 1 0;
	grid-template-columns: .65fr repeat(3, 1fr);
}

.mwp-document-row > span,
.mwp-document-row > i {
	min-width: 0;
	border-right: 1px solid #dce5e7;
	border-bottom: 1px solid #dce5e7;
}

.mwp-document-row > span {
	overflow: hidden;
	color: #73848a;
	background: #f1f5f5;
	font-size: clamp(5px, .55vw, 7px);
	line-height: 1.8;
	text-align: center;
}

.mwp-document-row--head > span { color: #4d735d; background: #eef4f0; font-weight: 700; }
.mwp-document-row > span:first-child { min-width: 8px; font-weight: 600; }
.mwp-document-row:not(.mwp-document-row--head) > span:first-child { background: #f2f5f5; }
.mwp-document-row > i { display: block; box-sizing: border-box; background: #fff; }
.mwp-document-row:nth-child(even):not(.mwp-document-row--head) > i { background: #fbfcfc; }
.mwp-document-row:nth-child(3) > i:nth-child(2),
.mwp-document-row:nth-child(5) > i:nth-child(3),
.mwp-document-row:nth-child(7) > i:nth-child(4) { background: #dbeee0; }
.mwp-document-row:last-child > * { border-bottom: 0; }
.mwp-document-row > *:last-child { border-right: 0; }

.mwp-scene-note {
	margin: 43px 0 0;
	color: #65747a;
	font-size: 14px;
	line-height: 1.4;
}

.mwp-comparison-arrow {
	color: #4b7f91;
	font-size: 32px;
	font-weight: 600;
}

.mwp-explanation {
	max-width: 760px;
	margin: 30px auto 0;
	color: #36434a;
	font-size: 17px;
	line-height: 1.65;
	text-align: center;
}

.mwp-explanation p { margin: 0; }

.mwp-explanation .mwp-secondary-copy {
	margin-top: 8px;
	color: #6d797e;
	font-size: 15px;
}

.mwp-action-area {
	margin-top: 28px;
	text-align: center;
}

.mwp-confirm {
	max-width: 100%;
	min-height: 58px;
	padding: 16px 26px;
	border: 0;
	border-radius: 14px;
	background: #315f70;
	color: #fff;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}

.mwp-confirm:hover { background: #274e5d; transform: translateY(-1px); }
.mwp-confirm:focus-visible { outline: 3px solid #426d80; outline-offset: 4px; }

.mwp-success {
	margin: 0;
	color: #315f70;
	font-size: 18px;
	font-weight: 700;
}

.mwp-results {
	margin-top: 34px;
}

.mwp-results h2 {
	margin: 0;
	color: #26343c;
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 650;
	line-height: 1.3;
	text-align: center;
}

.mwp-results-copy {
	max-width: 700px;
	margin: 10px auto 0;
	color: #69747a;
	font-size: 16px;
	line-height: 1.55;
	text-align: center;
}

.mwp-results-grid {
	margin-top: 24px;
}

.mwp-results-grid .mmc-specs > div:nth-child(2) dd {
	color: #315f70;
	font-size: 15px;
	font-weight: 750;
}

.mwp-no-results {
	margin: 24px 0 0;
	color: #69747a;
	font-size: 18px;
	line-height: 1.55;
	text-align: center;
}

.mwp-flow {
	margin: 28px auto 0;
	text-align: center;
}

.mwp-flow[hidden],
.mwp-connectors[hidden],
.mwp-cable-confirm[hidden],
.mwp-cart-success[hidden],
.mwp-cart-error[hidden] {
	display: none !important;
}

.mwp-confirm-offer {
	display: block;
	margin: 0 auto;
}

.mwp-connectors {
	margin-top: 22px;
}

.mwp-connectors h3 {
	margin: 0 0 8px;
	color: #26343c;
	font-size: 22px;
}

.mwp-connectors > p {
	margin: 0 0 18px;
	color: #69747a;
}

.mwp-cable-options {
	grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.mwp-cable-option {
	min-height: 92px;
}

.mwp-cable-confirm {
	margin-top: 18px;
}

.mwp-cable-copy,
.mwp-cable-included {
	margin: 8px 0;
	font-weight: 700;
}

.mwp-cable-unknown-copy {
	color: #69747a;
}

.mwp-change-cable {
	margin: 4px 0 12px;
}

.mwp-add-to-cart {
	display: block;
	margin: 12px auto;
}

.mwp-cart-success,
.mwp-cart-error {
	margin: 16px 0 0;
}

.mwp-cart-success-model,
.mwp-cart-success-cable {
	font-weight: 700;
}

.mwp-results-grid .mmc-card[role="button"] {
	cursor: pointer;
}

.mwp-results-grid .mmc-card[role="button"]:focus-visible,
.mwp-flow button:focus-visible {
	outline: 3px solid #1684d5;
	outline-offset: 3px;
}

.mwp-results-grid.is-selection {
	grid-template-columns: minmax(0, 1fr);
	max-width: 460px;
	margin-right: auto;
	margin-left: auto;
}

.mwp-results-grid .mmc-card[hidden] {
	display: none !important;
}

@media (max-width: 600px) {
	.mwp-preview {
		width: min(calc(100% - 32px), 480px);
		padding-top: 30px;
	}

	.mwp-intro { margin-bottom: 22px; }
	.mwp-intro h1 { font-size: clamp(28px, 8vw, 36px); }
	.mwp-panel { padding: 18px 14px; border-radius: 20px; }
	.mwp-comparison { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.mwp-screen { border-width: 5px; border-radius: 9px; }
	.mwp-screen::before { bottom: -25px; width: 12px; height: 25px; }
	.mwp-screen::after { bottom: -28px; width: 66px; height: 6px; }
	.mwp-display { padding: 6px; }
	.mwp-screen--roomy .mwp-display { gap: 5px; }
	.mwp-window--document { gap: 3px; padding: 3px; }
	.mwp-document-toolbar { font-size: 7px; }
	.mwp-document-row > span { font-size: 6px; }
	.mwp-scene-note { margin-top: 36px; font-size: 13px; }
	.mwp-comparison-arrow { justify-self: center; transform: rotate(90deg); font-size: 25px; line-height: 1; }
	.mwp-explanation { margin-top: 22px; font-size: 16px; line-height: 1.55; }
	.mwp-explanation .mwp-secondary-copy { font-size: 14px; }
	.mwp-action-area { margin-top: 22px; }
	.mwp-confirm { width: 100%; min-height: 58px; padding: 14px 16px; font-size: 16px; line-height: 1.35; }
	.mwp-results { margin-top: 26px; }
	.mwp-results h2 { font-size: 23px; text-align: left; }
	.mwp-results-copy { font-size: 15px; text-align: left; }
	.mwp-results-grid { gap: 16px; }
}
