.card-big-mac-and-iphone .card-big-headline {
	max-width: 18ch;
}

@media only screen and (min-width: 1068px) {
	#mac-with-iphone .hero-card-front {
		padding-right: 30px;
	}
}

.large-show-inline-customized {
	display: inline;
}

.small-show-inline-customized {
	display: none;
}

@media (max-width: 1068px) {
	.card-big-mac-and-iphone .card-big-headline {
		max-width: 15ch;
	}

	.card-big-mac-and-iphone .highlight-ml:before {
		left: 0;
		width: 100%;
	}
}

/* modal */

.hero-card .hero-card-front {
	display: flex;
}

.hero-card .hero-card-back {
	display: flex;
	align-items: flex-start;
	text-align: left;
}

@media (pointer: fine) {
	.section-welcome .hero-card:has(.hero-card-back):hover *,
	.section-welcome
		.hero-card:has(.hero-card-back)[data-focus-method="key"]
		* {
		pointer-events: all;
	}

	.section-welcome .hero-card:has(.hero-card-back):hover .hero-card-front,
	.section-welcome
		.hero-card:has(.hero-card-back)[data-focus-method="key"]
		.hero-card-front {
		opacity: 1;
	}

	.section-welcome .hero-card:has(.hero-card-back):hover .hero-card-back,
	.section-welcome
		.hero-card:has(.hero-card-back)[data-focus-method="key"]
		.hero-card-back {
		opacity: 0;
	}

	.section-welcome .hero-card:has(.hero-card-back):hover .hero-card-back *,
	.section-welcome
		.hero-card:has(.hero-card-back)[data-focus-method="key"]
		.hero-card-back
		* {
		pointer-events: all;
	}
}

.hero-card-switch {
	display: none;
}

.hero-card-switch-label {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 10;
	cursor: pointer;
	opacity: 0;
	border-radius: 30px;
	appearance: none;
	border: none;
	outline: none;
}

.hero-card
	.hero-card-switch:checked
	+ .hero-card-switch-label
	+ .hero-card-front {
	opacity: 0;
}

.hero-card
	.hero-card-switch:checked
	+ .hero-card-switch-label
	+ .hero-card-front
	+ .hero-card-back {
	opacity: 1;
}

.boc-plus {
	fill: grey;
	--bg: grey;
}

.hero-card-front .hero-card-icon,
.hero-card-back .hero-card-icon,
.hero-card-front .hero-card-icon svg,
.hero-card-back .hero-card-icon svg {
	width: 41px;
	height: 42px;
	color: grey;
}

.hero-card-back .hero-card-icon {
	transform: rotate(45deg);
	right: 21px;
	bottom: 21px;
}

@media only screen and (max-width: 1068px) {
	.hero-card-back .hero-card-icon {
		transform: rotate(45deg);
		right: 21px;
		bottom: 21px;
	}
}

@media only screen and (max-width: 734px) {
	.hero-card-back .hero-card-icon {
		transform: rotate(45deg);
		right: 17px;
		bottom: 15px;
	}
}

/* Card - Performance */
@media (max-width: 734px) {
	.card-big-performance .highlight-ml:before {
		left: -1ch;
		width: calc(100% + 0.7em);
	}
}

/* Card - Setup */
@media (max-width: 734px) {
	.card-big-setup .typography-card-big-headline .new-line {
		font-size: 23px;
		line-height: 1.35;
	}
}

@media (max-width: 734px) {
	.max-width-s {
		max-width: calc(var(--max-width-s) + 30px);
	}
}

@media only screen and (min-width: 1069px) {
	.section-welcome .hero-card-apps .hero-card-front {
		padding-right: 53px;
	}
	#apps .typography-hero-card-boc-headline {
		font-size: 63px;
	}
}

@media only screen and (max-width: 1068px) {
	#apps .typography-hero-card-boc-headline {
		font-size: 56px;
		margin-left: -30px;
	}
}

@media only screen and (max-width: 734px) {
	.small-show-inline-customized {
		display: inline;
		font-size: 20px;
	}
	.large-show-inline-customized {
		display: none;
	}
	#apps .typography-hero-card-boc-headline {
		font-size: 38px;
	}
}

/* apple store VPs */

.section-ways-to-save .headline {
	max-width: 19ch;
}

.section-ways-to-save .card-small-headline {
	max-width: 15ch;
}

/* ways-to-save */
@media only screen and (min-width: 1069px) {
	.section-ways-to-save .card-small-headline {
		max-width: 15ch;
	}
}
@media only screen and (max-width: 734px) {
	.section-ways-to-save .headline {
		max-width: 12ch;
	}
}

@media only screen and (min-width: 1769px) {
	.section-ways-to-save .paddlenav.scroll-gallery-paddles.section-content {
		display: block;
	}
}

/* accessibility VP */

@media only screen and (min-width: 735px) {
	.card-small.card-small-accessibility p {
		width: 280px;
	}
}

/* Ways to Save -- Carousel */
.paddlenav.scroll-gallery-paddles.paddles-hide {
	display: flex;
	visibility: hidden;
}

/* modal card big */
.modal.modal-card-big
	.modal-content-performance
	.graphs
	.container
	div:last-child {
	flex: 0 0 56px;
}

/* Financing card */

.card-big-financing .card-big-copy,
.card-big-financing .card-big-headline {
	max-width: 650px;
}

@media (max-width: 1068px) {
	.card-big-financing .card-big-copy,
	.card-big-financing .card-big-headline {
		max-width: 320px;
	}
}

@media (max-width: 734px) {
	.card-big-financing .card-big-copy,
	.card-big-financing .card-big-headline {
		max-width: 180px;
	}
}

br.x-small {
	display: none;
}

@media (max-width: 330px) {
	br.x-small {
		display: block;
	}
}

/* compare strip */

@media only screen and (max-width: 734px) {
	.section-select .gallery-gallery-1 .product-tile-positioning {
		max-width: 214px;
	}
}

@media only screen and (max-width: 734px) {
	.section-select .select-gallery-container .tabnav .tabnav-items {
		max-width: 69.5vw;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-header {
		gap: 65px;
	}
}

/* compare buttons */

@media only screen and (max-width: 734px) {
	.section-select
		.product-tile-product-mbp1416
		.product-tile-ctas
		.button
		+ a,
	.section-select .product-tile-product-imac .product-tile-ctas .button + a,
	.section-select .product-tile-product-macpro .product-tile-ctas .button + a,
	.section-select
		.product-tile-product-macmini
		.product-tile-ctas
		.button
		+ a {
		margin-inline-start: 13px;
	}

	.product-tile-product-macmini .product-tile-price.product-tile-padding {
		padding-top: 20px;
	}

	#scroll-gallery-gallery-2
		.product-tile-set
		li:nth-child(3)
		.product-tile-ctas
		a:first-child {
		max-width: fit-content;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.product-tile-product-macmini .product-tile-price.product-tile-padding {
		padding-top: 26px;
	}
}

@media (max-width: 734px) {
	.section-select .select-gallery-container .tabnav.with-paddles {
		max-width: 75%;
	}
	.section-select .gallery,
	.section-select .select-gallery-container {
		--gallery-side-padding: calc(50vw - 139px);
	}
}

.select-gallery-container
	.galleries-container
	> div
	.paddlenav
	ul
	li
	button:after {
	display: none;
}

/* preorder button */
@media only screen and (max-width: 1068px) {
	.section-select .product-tile-ctas a:not(:first-child) {
		margin-inline-start: 20px;
	}
}
@media only screen and (max-width: 734px) {
	.section-select .product-tile-ctas a:not(:first-child) {
		margin-inline-start: 12px;
	}
}

/* Dynamic Pricing */
.sosumi-link-follows,
.sosumi-link-follows + .footnote {
	display: none;
}

.sosumi-link-follows[data-pricing-loaded],
.sosumi-link-follows[data-pricing-loaded] + .footnote {
	display: inline;
}

.product-tile-price {
	max-width: 24ch;
}

/* highlight-green */

#apps .hero-card-back .highlight.highlight-green {
	width: 31%;
}

#apps .hero-card-back .typography-hero-card-boc-headline {
	margin-left: -30px;
}

@media only screen and (max-width: 734px) {
	#apps .hero-card-back .typography-hero-card-boc-headline {
		margin-left: -15px;
	}
}
