/* Local Overrides */

/* Ribbon */
@media only screen and (min-width: 761px) {
	.ribbon-alt .ribbon-content-wrapper .ribbon-content {
		width: auto;
	}
}

/* Dynamic Pricing */
.sosumi-link-follows,
.sosumi-link-follows + .footnote,
.sosumi-link-follows + .apr-copy,
.sosumi-link-follows + .apr-copy + .footnote {
	display: none;
}
.sosumi-link-follows[data-pricing-loaded],
.sosumi-link-follows[data-pricing-loaded] + .footnote,
.sosumi-link-follows[data-pricing-loaded] + .apr-copy,
.sosumi-link-follows[data-pricing-loaded] + .apr-copy + .footnote {
	display: inline;
}
.section-hero
	.hero-copy-wrapper
	.hero-pricing
	span[data-pricing-product].financing-apr {
	text-transform: none;
}

/* Upgrades Content Section */

@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.section-upgraders .bento-item.neural-engine .copy-wrapper {
		min-width: 200px;
	}
}
@media only screen and (max-width: 375px) {
	.tile-rounded.neural-engine
		div.copy-wrapper
		p.bento-copy-reduced.custom-font-size {
		font-size: 17px;
	}

	.section-upgraders .bento-item.neural-engine .copy-wrapper {
		max-width: 10em;
		min-width: 158px;
	}
}

@media only screen and (max-width: 350px) {
	article.section-upgraders
		#macbook-air-intel-gallery-item-1
		.bento-item
		.image-wrapper {
		width: 100px;
	}
}

/* Environment Section */

@media only screen and (min-width: 1069px) {
	.section-routers
		.router-item-environment
		.router-item-headline.custom-witdh {
		max-width: 475px;
	}
}

/*Images overrides*/

/* environment tile full width customization */
.section-routers .router-item-environment .router-item-content {
	margin-top: 100px;
	margin-bottom: 100px;
}

@media only screen and (max-width: 1068px) {
	.section-routers .router-item-environment .router-item-content {
		margin-top: 80px;
		margin-bottom: 80px;
	}
}

@media only screen and (max-width: 734px) {
	.section-routers .router-item-environment .router-item-content {
		margin-top: 50px;
		margin-bottom: 50px;
	}
}

/* trade in */

@media only screen and (min-width: 735px) {
	.router-item-tradein.router-item.full-width .router-item-picture {
		justify-content: unset;
	}
}

#overview-routers-tradein-1 {
	display: flex;
	justify-content: center;
}

.overview-routers-tradein {
	display: block;
	width: var(--p-width);
	height: var(--p-height);
	max-width: 100%;
	--p-width: 1380px;
	--p-height: 528px;
}

@media only screen and (max-width: 1068px) and (max-width: 1068px) {
	.overview-routers-tradein {
		--p-width: 1028px;
		--p-height: 404px;
	}
}

@media only screen and (max-width: 734px) and (max-width: 734px) {
	.overview-routers-tradein {
		--p-width: 375px;
		--p-height: 192px;
	}
}

.router-item-tradein .router-item-picture.align-middle {
	padding-bottom: 0px;
}

@media only screen and (max-width: 734px) and (max-width: 734px) {
	.overview-routers-tradein {
		--p-width: 375px;
		--p-height: 192px;
	}
	.router-item-picture.align-middle {
		align-items: end;
		padding-top: var(--minimum-row-spacing);
		margin-top: auto;
	}
}

/* Hero AI headline */
.section-hero
	.content-container
	.hero-copy-container
	.apple-intelligence-container
	.apple-intelligence-text {
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
}

/* Messaging */
.content-container .hero-copy-container .pricing-copy-container,
.section-hero
	.content-container
	.hero-copy-container
	.macbook-air-13-and-15-global-avail {
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
}

.custom_apple-intelligence-avail {
	color: #86868b;
	margin-top: 27px;
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
}

.macbook-air-13-and-15-global-avail + .custom_apple-intelligence-avail {
	margin-top: 4px;
}

.section-apple-intelligence .custom_apple-intelligence-avail {
	padding-top: 0px;
	padding-bottom: 20px;
}

/* center display size */

article.section-design .subsection-size .size-labels .size span {
	display: flex;
	justify-content: center;
}

/* Environment tile - green highlight */
@media only screen and (max-width: 734px) {
	.section-routers .router-item-environment .accent-green:before {
		left: -6px;
		bottom: -2px;
	}
}

@media only screen and (min-width: 735px) {
	.section-routers .router-item-environment .accent-green:before {
		bottom: -2px;
		left: -9px;
	}
}

@media only screen and (min-width: 1069px) {
	.section-routers .router-item-environment .accent-green:before {
		bottom: -8px;
		left: -12px;
	}
}

/* Switchers section */
@media only screen and (min-width: 1069px) {
	#switch-gallery #compare-gallery-item-3 .gallery-item-copy {
		padding-right: 14px;
	}
}

/* Compare section */
@media only screen and (min-width: 1069px) {
	.section-routers .section-compare .product-pricing {
		max-width: 270px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-routers .section-compare .product-pricing {
		max-width: 175px;
	}
}

/*Images overrides*/
/* Let your apps fly */
.section-macos .apps-wrapper .apps {
	background-image: url("/ca/fr/macbook-air/images/overview/performance/apps/all-apps/apps__dcweftdl8uqa_large.jpg");
}

@media (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
	.section-macos .apps-wrapper .apps {
		background-image: url("/ca/fr/macbook-air/images/overview/performance/apps/all-apps/apps__dcweftdl8uqa_large_2x.jpg");
	}
}

@media only screen and (max-width: 1068px) {
	.section-macos .apps-wrapper .apps {
		background-image: url("/ca/fr/macbook-air/images/overview/performance/apps/all-apps/apps__dcweftdl8uqa_medium.jpg");
	}
}

@media only screen and (max-width: 1068px) and (min-resolution: 1.5dppx),
	only screen and (max-width: 1068px) and (min-resolution: 144dpi) {
	.section-macos .apps-wrapper .apps {
		background-image: url("/ca/fr/macbook-air/images/overview/performance/apps/all-apps/apps__dcweftdl8uqa_medium_2x.jpg");
	}
}

@media only screen and (max-width: 734px) {
	.section-macos .apps-wrapper .apps {
		background-image: url("/ca/fr/macbook-air/images/overview/performance/apps/all-apps/apps__dcweftdl8uqa_small.jpg");
	}
}

@media only screen and (max-width: 734px) and (min-resolution: 1.5dppx),
	only screen and (max-width: 734px) and (min-resolution: 144dpi) {
	.section-macos .apps-wrapper .apps {
		background-image: url("/ca/fr/macbook-air/images/overview/performance/apps/all-apps/apps__dcweftdl8uqa_small_2x.jpg");
	}
}

/* chips modal */

@media only screen and (min-width: 735px) and (max-width: 770px) {
	.performance-modal-content .subsection-gallery .tabnav-link,
	.performance-modal-content .subsection-gallery .tabnav {
		font-size: 25px;
	}
}

@media only screen and (max-width: 560px) {
	.performance-modal-content .subsection-gallery .tabnav-link,
	.performance-modal-content .subsection-gallery .tabnav {
		font-size: 15px;
	}
}

/* Environment tile */
.section-routers .accent-green:before {
	width: 190px;
	height: 60px;
	background-size: 190px 60px;
	background-image: url(/ca/fr/macbook-air/images/overview/routers/environment_highlight__edulvmndbz42_large.png);
}
@media (-webkit-min-device-pixel-ratio: 1.5),
	(min-resolution: 144dpi),
	only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx) {
	.section-routers .accent-green:before {
		background-image: url(/ca/fr/macbook-air/images/overview/routers/environment_highlight__edulvmndbz42_large_2x.png);
	}
}
@media only screen and (max-width: 1068px) {
	.section-routers .accent-green:before {
		width: 158px;
		height: 49px;
		background-size: 158px 49px;
		background-image: url(/ca/fr/macbook-air/images/overview/routers/environment_highlight__edulvmndbz42_medium.png);
	}
}
@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (max-width: 1068px) and (min-resolution: 1.5dppx),
	only screen and (max-width: 1068px) and (min-resolution: 144dpi) {
	.section-routers .accent-green:before {
		background-image: url(/ca/fr/macbook-air/images/overview/routers/environment_highlight__edulvmndbz42_medium_2x.png);
	}
}
@media only screen and (max-width: 734px) {
	.section-routers .accent-green:before {
		width: 123px;
		height: 40px;
		background-size: 123px 40px;
		background-image: url(/ca/fr/macbook-air/images/overview/routers/environment_highlight__edulvmndbz42_small.png);
	}
}
@media only screen and (max-width: 734px) and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (max-width: 734px) and (min-resolution: 1.5dppx),
	only screen and (max-width: 734px) and (min-resolution: 144dpi) {
	.section-routers .accent-green:before {
		background-image: url(/ca/fr/macbook-air/images/overview/routers/environment_highlight__edulvmndbz42_small_2x.png);
	}
}
