/* Local Overrides */
.caption-tile .card-footnote-content:last-child {
	padding-left: 0;
}

/* Pricing */
.custom_superscript a {
	color: black !important;
}

@media only screen and (min-width: 1069px) {
	.marquee-bottom .large-show {
		display: inline;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1069px) {
	.marquee-bottom .medium-show {
		display: inline;
	}
}
@media only screen and (max-width: 734px) {
	.marquee-bottom .small-show {
		display: inline;
	}
	.section-welcome .detail-inner-group .marquee-pricing {
		white-space: wrap;
	}
}

/* Media Gallery - Highlights */

/* Ceramic Shield */
@media only screen and (min-width: 1069px) {
	#media-card-gallery-item-1
		.caption-container.medium-pin-top-center.large-pin-top-left
		p {
		width: 700px;
	}
}

@media only screen and (max-width: 334px) {
	#media-card-gallery-item-1
		.caption-container.medium-pin-top-center.large-pin-top-left
		p {
		margin: 0;
		margin-top: 25px;
	}
}

@media only screen and (max-width: 734px) {
	#media-card-gallery-item-1
		.caption-container.medium-pin-top-center.large-pin-top-left
		p {
		width: 275px;
	}
}

/* AI */
#media-card-gallery-item-6 .caption-container.pin-top-center {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	height: auto;
	align-items: center;
}

#media-card-gallery-item-6 .caption-container.pin-top-center div {
	margin-top: 6px;
	font-size: 19px;
}

@media only screen and (max-width: 1069px) and (min-width: 735px) {
	#media-card-gallery-item-6 .caption-container.pin-top-center div {
		margin-top: 12px;
		font-size: 18px;
	}
}

@media only screen and (min-width: 735px) {
	#media-card-gallery-item-6 .caption-container.pin-top-center p {
		margin-bottom: -20px;
		margin-top: 25px;
		width: 635px;
	}
}

@media only screen and (max-width: 734px) and (min-width: 363px) {
	#media-card-gallery-item-6 .caption-container.pin-top-center p {
		margin-bottom: -15px;
		margin-top: 25px;
	}
}

@media only screen and (max-width: 362px) {
	#media-card-gallery-item-6 .caption-container.pin-top-center p {
		margin-bottom: -18px;
		margin-top: 20px;
	}
}

#media-card-gallery-item-6 .caption-container.pin-top-center div {
	margin-top: 6px;
}

@media only screen and (max-width: 734px) {
	#media-card-gallery-item-6 .caption-container.pin-top-center div p {
		font-size: 14px;
	}
}

/* Back Camera */

@media (max-width: 420px) {
	.section-cameras .back-camera-wrapper .typography-ps-headline span {
		max-width: 212px;
	}
}

/* Accessories */

.accessories-item:nth-child(2) .tile-header.typography-ps-card {
	display: inline;
}

/* Compare Pricing */
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.product-tile .product-tile-price {
		width: 290px;
	}
}

@media only screen and (max-width: 734px) {
	.product-tile .product-tile-price {
		max-width: 180px;
	}
}

/* Screens Overrides */

/* Upgrade */
section.section.section-upgrade
	.inline-wrap
	.compare-tile-center-stage
	.bg-upgrade-image.ready-to-load {
	background-size: 156px 322px;
	background-repeat: no-repeat;
	background-image: url(/ca/fr/iphone-17//images/overview/upgrade/center_stage__gbg09axlfiuu_large.jpg);
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-image: url(/ca/fr/iphone-17//images/overview/upgrade/center_stage__gbg09axlfiuu_large_2x.jpg);
	}
}

@media (max-width: 1068px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-size: 96px 196px;
		background-repeat: no-repeat;
		background-image: url(/ca/fr/iphone-17//images/overview/upgrade/center_stage__gbg09axlfiuu_medium.jpg);
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-image: url(/ca/fr/iphone-17//images/overview/upgrade/center_stage__gbg09axlfiuu_medium_2x.jpg);
	}
}

@media (max-width: 734px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-size: 80px 165px;
		background-repeat: no-repeat;
		background-image: url(/ca/fr/iphone-17//images/overview/upgrade/center_stage__gbg09axlfiuu_small.jpg);
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-image: url(/ca/fr/iphone-17//images/overview/upgrade/center_stage__gbg09axlfiuu_small_2x.jpg);
	}
}

section.section.section-upgrade
	.inline-wrap
	.compare-tile-display
	.bg-upgrade-image.ready-to-load {
	background-size: 156px 322px;
	background-repeat: no-repeat;
	background-image: url(/ca/fr/iphone-17/images/overview/upgrade/display__byzcm0i4kxaq_large.jpg);
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-image: url(/ca/fr/iphone-17/images/overview/upgrade/display__byzcm0i4kxaq_large_2x.jpg);
	}
}

@media (max-width: 1068px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-size: 96px 200px;
		background-repeat: no-repeat;
		background-image: url(/ca/fr/iphone-17/images/overview/upgrade/display__byzcm0i4kxaq_medium.jpg);
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-image: url(/ca/fr/iphone-17/images/overview/upgrade/display__byzcm0i4kxaq_medium_2x.jpg);
	}
}

@media (max-width: 734px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-size: 80px 165px;
		background-repeat: no-repeat;
		background-image: url(/ca/fr/iphone-17/images/overview/upgrade/display__byzcm0i4kxaq_small.jpg);
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-image: url(/ca/fr/iphone-17/images/overview/upgrade/display__byzcm0i4kxaq_small_2x.jpg);
	}
}

@media (max-width: 1068px) {
	.section-welcome
		.welcome-video.with-media-ui-button
		.inline-media-ui-button
		.play-pause-button {
		margin-bottom: 1em;
	}
}

@media (max-width: 734px) {
	#compare-gallery-wrapper .copy-container .headline ~ .feature {
		margin-top: 2px;
	}
}
