/* Local Overrides */

/* PRICING */

/* Front Camera Section */

@media only screen and (min-width: 1068px) {
	.section-cameras .all-access-pass__container {
		top: calc(var(--new-camera-features-section-height) + 110px);
	}
}

/* Back Camera Section */

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

/* Ceramic Shield */
@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 Gallery - Highlights */

/* Front Camera */
@media only screen and (max-width: 365px) {
	#media-card-gallery-item-2 .caption-container.pin-top-center p {
		margin-left: 20px;
		margin-right: 20px;
		margin-top: 20px;
	}
}

/* stats */

@media only screen and (min-width: 1069px) {
	section.section .ps-stat .gradient-wrapper {
		max-width: 300px;
	}
}

/* AI */
#media-card-gallery-item-6 .caption-container.pin-top-center {
	display: flex;
	flex-direction: column;
	margin-top: -50px;
	padding: 0;
	height: 240px;
	align-items: center;
}
#media-card-gallery-item-6
	div
	div.caption-container.pin-top-center
	p.caption.pin-offset.typography-media-card-gallery-headline {
	margin-bottom: 0px;
}

@media only screen and (min-width: 1056px) {
	#media-card-gallery-item-6
		div
		div.caption-container.pin-top-center
		p.caption.pin-offset.typography-media-card-gallery-headline {
		width: 60%;
	}
}

@media only screen and (min-width: 1069px) and (max-width: 1155px) {
	#media-card-gallery-item-6
		div
		div.caption-container.pin-top-center
		p.caption.pin-offset.typography-media-card-gallery-headline {
		width: 66%;
	}
}

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

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

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

/* Inline Compare */

@media only screen and (min-width: 1069px) {
	section.section-performance
		#compare-performance-gallery
		.inline-compare-option-wrap
		.ps-stat-p {
		width: 200px;
	}
	section.section-performance
		#compare-performance-gallery
		.inline-compare-option-wrap
		.ps-stat-p:last-child {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 1068px) and (min-width: 735px) {
	section.section-performance #compare-performance-gallery .ps-stat {
		margin-left: 55px;
	}
	section.section-performance
		#compare-performance-gallery
		.inline-compare-option-wrap
		.ps-stat-p {
		width: 200px;
	}
	section.section-performance
		#compare-performance-gallery
		.inline-compare-option-wrap
		.ps-stat-p:last-child {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 332px) {
	.section-contrast
		.viewport-content
		.card-container
		.product-tile-contrast-container
		.product-tile-contrast-alignment-container
		.product-tile-set
		.product-tile-iphone-air
		.product-tile-ctas
		.product-tile-button
		span {
		margin-left: -4px;
	}
}

/* Screens Overrides */

/* Upgrade */

/* Section Upgrade*/

@media only screen and (max-width: 1068px) and (min-width: 735px) {
	section.section.section-upgrade
		.inline-compare-option
		.compare-tile-battery
		.ps-stat
		.ps-stat-copy:last-child,
	section.section.section-upgrade
		.inline-compare-option
		.compare-tile-graphics
		.ps-stat
		.ps-stat-copy:first-child {
		margin-left: 10px;
		margin-right: 10px;
	}
}

@media only screen and (max-width: 734px) {
	section.section.section-upgrade
		.inline-compare-option
		.compare-tile-battery
		.ps-stat
		.ps-stat-copy:last-child,
	section.section.section-upgrade
		.inline-compare-option
		.compare-tile-graphics
		.ps-stat
		.ps-stat-copy:first-child,
	section.section.section-upgrade
		.inline-compare-option
		.compare-tile-graphics
		.ps-stat
		.gradient-wrapper {
		margin-left: 10px;
		margin-right: 10px;
	}
}

@media (max-width: 350px) {
	section.section.section-upgrade .compare-tile-wrap {
		grid-template-columns: 1fr 103px;
	}
}

@media (max-width: 381px) {
	.default-tile .gradient-wrapper .custom-xs {
		display: block;
	}
}

/**/

.copy-headline.ric-large-6.ric-medium-10.ric-small-12.typography-ps-upgrade-headline {
	max-width: 600px;
}

@media (max-width: 734px) {
	.copy-headline.ric-large-6.ric-medium-10.ric-small-12.typography-ps-upgrade-headline {
		max-width: 314px;
	}
}

@media (max-width: 734px), (min-width: 1068px) {
	.copy-headline.ric-large-6.ric-medium-10.ric-small-12.typography-ps-upgrade-headline
		span {
		white-space: unset;
	}
}

/* Deleting the margin for let the spacing of the disclaimer */
section.section.section-upgrade .trade-in-content .copy-eyebrow {
	margin-bottom: 0;
}

/* Custom disclaimer with analytics "name:upgrade" */
.typography-feature-card-body.feature-card-body.custom-disclaimer-vp {
	opacity: 1;
	font-size: 14px;
	font-family: "SF Pro Text";
	line-height: 16px;
	color: #0000008f;
	font-weight: 400;
}

.trade-in-content
	.typography-feature-card-body.feature-card-body.custom-disclaimer-vp {
	max-width: 100%;
	height: unset;
	margin-bottom: 0.8em;
	margin-top: 0.8em;
}

/* Pricing compare */

#compare-gallery-wrapper .copy-container .callout {
	line-height: 1;
}

/*section cameras*/
section#cameras {
	padding-bottom: 0;
}

@media only screen and (max-width: 1068px) {
	/*pause button hero*/
	.section-welcome .marquee-bottom {
		padding-bottom: 34px;
		margin-bottom: 5px;
	}
}

/*section faq*/
@media only screen and (min-width: 735px) {
	.section-faq .section-header .section-header-headline {
		max-width: 100%;
	}
}
