/* local overrides */

.custom_anchor {
	display: none !important;
}

/* android legal */

html.no-android
	#ac-globalfooter
	.ac-gf-sosumi
	[data-toggle-footnote="android"] {
	visibility: hidden;
	overflow: hidden;
	height: 0;
	padding: 0;
	margin: 0;
}

/* Upgrade section */
section.section-upgrade
	.inline-compare-wrap
	.inline-wrap
	.compare-tile.compare-tile-chip
	strong {
	max-width: 8ch;
	margin: auto;
}

@media only screen and (min-width: 735px) {
	section.section-upgrade .inline-compare-wrap {
		padding-bottom: 96px;
	}
}

/* disclaimer */

.disclaimer-text {
	font-size: 12px;
	line-height: 16px;
	color: #86868b;
}

/* Highlights section */
@media only screen and (min-width: 1069px) {
	#highlights
		.media-card-gallery-content
		.media-gallery-wrapper
		.media-gallery
		li.media-gallery-item-1
		.caption-animation-container {
		max-width: 345px;
	}
}

/* Battery section */
.section-battery
	.viewport-content
	.product-stories-section-header
	.banner-card-ctas {
	margin-top: 30px;
}

.section-battery
	.viewport-content
	.product-stories-section-header
	.section-header-copy-wrapper {
	margin-top: 41px;
}

@media only screen and (max-width: 1068px) {
	.section-battery
		.viewport-content
		.product-stories-section-header
		.banner-card-ctas {
		margin-top: 25px;
	}

	.section-battery
		.viewport-content
		.product-stories-section-header
		.section-header-copy-wrapper {
		margin-top: 21px;
	}
}

@media only screen and (max-width: 734px) {
	.section-battery
		.viewport-content
		.product-stories-section-header
		.banner-card-ctas {
		margin-top: 0px;
	}

	.section-battery
		.viewport-content
		.product-stories-section-header
		.section-header-copy-wrapper {
		margin-top: 21px;
	}
}

/* section battery atv caption */

.section-battery .atv-caption {
	font-size: 14px;
	margin-block-start: 1.5em;
}

@media (max-width: 734px) {
	.section-battery .atv-caption {
		margin-block-start: 0;
		margin-block-end: 2em;
	}
}

.section-battery .atv-caption .description-copy-color {
	color: #999;
}

@media (max-width: 734px) {
	.section-battery .inline-media-component-container {
		margin: 10px 0 0;
	}
}

/* shared features */

.section-shared-features
	.shared-features-gallery
	.scroll-gallery
	.item-container {
	min-width: unset;
	width: min-content;
}

/* sos icon */
section.section-upgrade
	.inline-compare-wrap
	.inline-wrap
	.compare-tile.compare-tile-esos
	.bg-upgrade-image {
	--tile-image-width: 71px;
	--tile-image-height: 71px;
	width: var(--tile-image-width);
	height: var(--tile-image-height);
}
section.section-upgrade
	.inline-compare-wrap
	.inline-wrap
	.compare-tile.compare-tile-esos
	.bg-upgrade-image.ready-to-load {
	background-size: 71px 71px;
	background-repeat: no-repeat;
	background-image: url(/la/iphone-17e/images/overview/upgrade/inline-compare/esos__cga8tppiejqq_large.png);
}
@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image.ready-to-load {
		background-image: url(/la/iphone-17e/images/overview/upgrade/inline-compare/esos__cga8tppiejqq_large_2x.png);
	}
}
@media (max-width: 1068px) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image.ready-to-load {
		background-size: 51px 51px;
		background-repeat: no-repeat;
		background-image: url(/la/iphone-17e/images/overview/upgrade/inline-compare/esos__cga8tppiejqq_medium.png);
	}
}
@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image.ready-to-load {
		background-image: url(/la/iphone-17e/images/overview/upgrade/inline-compare/esos__cga8tppiejqq_medium_2x.png);
	}
}
@media (max-width: 734px) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image.ready-to-load {
		background-size: 51px 51px;
		background-repeat: no-repeat;
		background-image: url(/la/iphone-17e/images/overview/upgrade/inline-compare/esos__cga8tppiejqq_small.png);
	}
}
@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image.ready-to-load {
		background-image: url(/la/iphone-17e/images/overview/upgrade/inline-compare/esos__cga8tppiejqq_small_2x.png);
	}
}
@media (max-width: 1068px) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image {
		--tile-image-width: 51px;
		--tile-image-height: 51px;
		width: var(--tile-image-width);
		height: var(--tile-image-height);
	}
}
@media (max-width: 734px) {
	section.section-upgrade
		.inline-compare-wrap
		.inline-wrap
		.compare-tile.compare-tile-esos
		.bg-upgrade-image {
		--tile-image-width: 51px;
		--tile-image-height: 51px;
		width: var(--tile-image-width);
		height: var(--tile-image-height);
	}
}

#apple-intelligence-gallery-item-7 {
	display: none;
}
