/* LOCAL OVERRIDES */

/* Nav */

@media only screen and (max-width: 480px) {
	#ac-localnav .ac-ln-menu-items {
		padding: 40px 24px 24px;
	}
}

/* locale switcher on */

@media only screen and (max-width: 734px) and (max-height: 644px) {
	html.ac-ls-visible .section-hero .hero-content {
		padding-top: 67px;
	}
}

/* Ribbon */
@media only screen and (max-width: 734px) {
	.ribbon-content .column {
		max-width: 253px;
	}
}

@media only screen and (max-width: 480px) {
	.ribbon-content {
		padding-top: 18px;
	}
}

/* hero mac-mini alt */

.section-hero .hero-product-macmini {
	display: block;
}

.section-hero .hero-product-macmini {
	grid-row-start: watch;
	grid-column-start: watch;
	transform: translateY(-240px);
}

.section-hero .hero-product-watch {
	grid-row-start: homepod;
	grid-column-start: homepod;
	transform: translateY(68px);
}

.section-hero .hero-product-illustration.hero-product-macmini {
	grid-row-start: watch;
	grid-column-start: watch;
	transform: translateY(-240px);
}

.section-hero .hero-product-illustration.hero-product-watch {
	grid-row-start: homepod;
	grid-column-start: homepod;
	transform: translateY(68px);
}

.section-hero .lottie-illustration-macmini,
.overview-hero-macmini-illustration {
	display: block;
	width: var(--p-width);
	height: var(--p-height);
	--p-width: 490px;
	--p-height: 490px;
}
@media only screen and (max-width: 1068px) {
	.section-hero .lottie-illustration-macmini,
	.overview-hero-macmini-illustration {
		--p-width: 394px;
		--p-height: 394px;
	}
}
@media only screen and (max-width: 734px) {
	.section-hero .lottie-illustration-macmini,
	.overview-hero-macmini-illustration {
		--p-width: 288px;
		--p-height: 288px;
	}

	.section-hero .hero-product-macmini {
		grid-row-start: homepod;
		grid-column-start: homepod;
		transform: translate(-65px, -165px);
	}

	.section-hero .hero-product-watch {
		grid-row-start: watch;
		grid-column-start: watch;
	}

	.section-hero .hero-product-illustration.hero-product-macmini {
		grid-row-start: homepod;
		grid-column-start: homepod;
		transform: translate(-65px, -165px);
	}

	.section-hero .hero-product-illustration.hero-product-watch {
		grid-row-start: watch;
		grid-column-start: watch;
	}

	html.no-sticky-small-hero-xp
		.section-hero
		.hero-product-illustration.hero-product-macmini,
	html.no-sticky-small-hero-xp .section-hero .hero-product-macmini {
		transform: translate(-150px, 0px);
	}
	.section-hero .hero-product-watch,
	.section-hero .hero-product-illustration.hero-product-watch {
		transform: translateY(5px);
	}
}

/* ----- ----- trade-in ----- ----- */
@media only screen and (min-width: 735px) {
	.section-trade-in .card-content {
		flex-direction: row;
	}
	.section-trade-in .card-headline {
		text-align: left;
	}
	.section-trade-in .trade-in-link {
		text-align: left;
	}
}
@media only screen and (max-width: 734px) {
	.section-trade-in .section-card.card-rounded {
		min-height: 500px;
		height: 500px;
	}
}

/* trade-in - content */
@media only screen and (min-width: 735px) {
	.section-trade-in .card-content {
		max-width: 50%;
	}
}
@media only screen and (min-width: 1069px) {
	.section-trade-in .card-content {
		padding: 175px 60px 0;
	}
}
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-trade-in .card-content {
		padding: 135px 35px 0;
	}
}

/* hero copy */

@media only screen and (max-width: 400px) {
	.sticky-small-hero-xp .hero-content .hero-intro.typography-hero-intro {
		margin-top: 30px;
	}
}

/* trade-in - link */
.section-trade-in .trade-in-link {
	margin-top: 25px;
}

/* LOCAL SCREENS */
/* ----- ----- trade-in ----- ----- */
/* trade-in - position */
@media only screen and (min-width: 735px) {
	.section-trade-in .card-content__image-container {
		transform: translateX(-50%);
	}
}
@media only screen and (min-width: 1069px) {
	.section-trade-in .card-content__image-container {
		left: 75%;
		top: 13%;
	}
}
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-trade-in .card-content__image-container {
		left: 91.5%;
		top: 13%;
	}
}
@media only screen and (max-width: 734px) {
	.section-trade-in .card-content__image-container {
		left: 50%;
		top: 265px;
	}
}

/* trade-in - dimensions */
@media only screen and (min-width: 1069px) {
	.section-trade-in .overview-trade-in-phone-hands {
		--p-width: 509px;
		--p-height: 447px;
	}
}
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-trade-in .overview-trade-in-phone-hands {
		--p-width: 729px;
		--p-height: 338px;
	}
}
@media only screen and (max-width: 734px) {
	.section-trade-in .overview-trade-in-phone-hands {
		--p-width: 390px;
		--p-height: 259px;
	}
}

/* Less power  */

.section-less-power .card-content {
	padding-top: 40px;
}

.section-less-power .card-content picture {
	padding-top: 40px;
}

/* Tradi-In Tile */

@media only screen and (max-width: 734px) {
	.section-you .tile.tile-trade-in .tile-content {
		padding: 40px 40px 40px;
	}
}

/* modals XS */

@media only screen and (max-width: 345px) {
	.modal-story .modal-copy-width {
		max-width: 280px;
	}
}

@media only screen and (max-width: 734px) and (max-width: 734px) {
	.overview-hero-watch {
		--p-height: 212px;
	}
}

/* people section  */

.section-people .people-headline {
	max-width: 17.5ch;
}

/* intro copy */

@media only screen and (min-width: 735px) {
	.section-hero .hero-intro .hero-intro-block:nth-child(1) {
		max-width: 37ch;
	}
}

/* HERO SNIPES */

/* RECOVER */

.gallery-item-recovery .plan-item-label {
	grid-row-gap: 1px;
	row-gap: 1px;
}
.overview-plan-text-recover {
	--p-width: 170px;
	--p-height: 31px;
}
.plan-gallery .plan-item-label-recovery {
	margin-left: calc(var(--plan-circle-width) * -0.5);
}
@media only screen and (max-width: 734px) {
	.overview-plan-text-recover {
		--p-width: 93px;
		--p-height: 14px;
	}
}

/* MAKE */

.overview-plan-text-make {
	--p-width: 180px;
}
@media only screen and (max-width: 734px) {
	.overview-plan-text-make {
		--p-width: 100px;
		margin-left: -3px;
	}
}
.plan-gallery .plan-item-label-make {
	margin-left: calc(var(--plan-circle-width) * 0.25);
}

/* PACKAGE */

.overview-plan-text-package {
	margin-left: -40px;
	--p-width: 137px;
}

@media only screen and (max-width: 734px) {
	.overview-plan-text-package {
		margin-left: -19px;
		--p-width: 71px;
	}
}

/* USE */

.overview-plan-text-use {
	--p-width: 183px;
	--p-height: 50px;
}
@media only screen and (max-width: 734px) {
	.overview-plan-text-use {
		--p-width: 102px;
		--p-height: 24px;
	}
}
.plan-gallery .plan-item-label-product-use {
	margin-left: calc(var(--plan-circle-width) * -0.61);
	top: calc(var(--plan-circle-height) * 0.505);
}
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.plan-gallery .plan-item-label-product-use {
		top: calc(var(--plan-circle-height) * 0.49);
	}
}
@media only screen and (max-width: 734px) {
	.plan-gallery .plan-item-label-product-use {
		top: calc(var(--plan-circle-height) * 0.48);
	}
}

@media only screen and (max-width: 734px) {
	.plan-gallery
		.plan-item-description-product-use
		.plan-item-description-copy {
		max-width: 14ch;
	}
}

/* GALLERY SNIPES */

/* APPLE WATCH */

.section-products .tile-case .overview-card-case-text {
	margin-inline-end: 42px;
}
.overview-card-case-text {
	--p-width: 233px;
	--p-height: 83px;
}
.section-products .tile-case .tile-copy {
	top: 644px;
	left: 229px;
}
@media only screen and (max-width: 1068px) {
	.section-products .tile-case .overview-card-case-text {
		margin-inline-end: 70px;
	}
	.overview-card-case-text {
		--p-width: 194px;
		--p-height: 65px;
	}
	.section-products .tile-case .tile-copy {
		top: 568px;
		left: 192px;
	}
}
@media only screen and (max-width: 734px) {
	.section-products .tile-case .overview-card-case-text {
		margin-inline-end: 41px;
	}
	.overview-card-case-text {
		--p-width: 123px;
		--p-height: 40px;
	}
	.section-products .tile-case .tile-copy {
		top: 418px;
		left: 150px;
	}
}

/* MAC */

.section-products .tile-enclosure .tile-copy {
	top: 289px;
	left: 175px;
}

@media only screen and (max-width: 1068px) {
	.section-products
		.tile-enclosure
		.tile-media
		.overview-card-enclosure-text {
		margin-block-start: 56px;
		margin-inline-start: 34px;
	}
	.section-products .tile-enclosure .tile-copy {
		top: 287px;
		left: 143px;
	}
}

@media only screen and (max-width: 734px) {
	.section-products
		.tile-enclosure
		.tile-media
		.overview-card-enclosure-text {
		margin-block-start: 20px;
		margin-inline-start: 34px;
	}
	.section-products .tile-enclosure .tile-copy {
		top: 222px;
		left: 105px;
	}
}

/* IPHONE */

.overview-card-iphone-text {
	--p-width: 374px;
}

@media only screen and (max-width: 1068px) and (max-width: 1068px) {
	.overview-card-iphone-text {
		--p-width: 306px;
	}
}

@media only screen and (max-width: 734px) {
	.overview-card-iphone-text {
		--p-width: 231px;
	}
}

/* MBA */

@media only screen and (min-width: 1069px) {
	.section-products .tile-macbook-air .tile-media .inline-video {
		bottom: -30px;
	}
}

@media only screen and (max-width: 734px) {
	.section-products .tile-macbook-air .tile-content {
		padding-block-end: 16px;
	}
	.section-products .tile-macbook-air .tile-media .inline-video {
		bottom: -18px;
	}
}

/* PACKAGING */

@media only screen and (max-width: 734px) {
	.section-products .tile-packaging-shipping .products-headline {
		max-width: 16ch;
	}
}

/* DAISY */

@media only screen and (min-width: 1069px) {
	.section-products .tile-recovery .overview-card-recover-text {
		margin-inline-start: 21px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-products .tile-recovery .overview-card-recover-text {
		margin-inline-start: 44px;
	}
}

/* SHIPPING */

.section-products .tile-shipping .overview-card-shipping-text {
	bottom: 42px;
}
.overview-card-shipping-text {
	--p-width: 378px;
	--p-height: 111px;
}
@media only screen and (max-width: 1068px) {
	.overview-card-shipping-text {
		--p-width: 338px;
		--p-height: 96px;
	}
}
@media only screen and (max-width: 734px) {
	.overview-card-shipping-text {
		--p-width: 202px;
		--p-height: 56px;
	}
	.section-products .tile-shipping .overview-card-shipping-text {
		bottom: 39px;
	}
}

/* Local Nav */
@media only screen and (min-width: 481px) {
	.ac-ln-title .small-show {
		display: none;
	}
}
@media only screen and (max-width: 480px) {
	.ac-ln-content {
		height: 70px;
	}
	#ac-localnav .ac-ln-actions {
		padding-top: 27px;
	}
}

/* localnav height */

@media only screen and (max-width: 480px) {
	#ac-localnav .ac-ln-content {
		height: 70px;
	}
	#ac-localnav .ac-ln-actions {
		padding-top: 27px;
	}
}

/* mother nature */

@media only screen and (max-width: 345px) {
	.typography-headline-elevated-tight {
		font-size: 38px;
	}
}

@media only screen and (max-width: 734px) {
	.section-you .you-cta {
		max-width: 27ch;
	}
}

@media only screen and (max-width: 340px) {
	.section-progress .progress-headline {
		position: relative;
		left: -10px;
	}
}

/* power */

@media only screen and (min-width: 735px) {
	.story-card.story-card-power .story-headline {
		max-width: 14ch;
	}
}

/* values */

@media only screen and (max-width: 931px) {
	section.section-values-router .typography-headline-tight {
		max-width: 500px;
	}
}

@media only screen and (max-width: 734px) {
	section.section-values-router .typography-headline-tight {
		max-width: 377px;
	}
}

/* XS PLAN GALLERY */

/* MAKE */

@media only screen and (max-width: 352px) {
	.plan-gallery .plan-item-label-make {
		margin-left: 60px;
	}

	.plan-item-label-make .lottie-icon {
		padding-left: 10px;
	}
}

/* USO DE LOS PRODUCTOS */

@media only screen and (max-width: 352px) {
	.overview-plan-text-use {
		--p-width: 83px;
	}

	#overview-plan-text-use-2 {
		margin-left: 20px;
	}
}

/* Designed with earth in Mind Grid */
@media only screen and (max-width: 330px) {
	.product-reports-gallery .gallery-item .reports-list {
		column-gap: 0px;
	}
}
