body {
	line-break: strict;
}

br.xlarge {
	display: none;
}
@media (min-width: 1441px) {
	br.xlarge {
		display: inline;
	}
}
.detail-ctas-link.button {
	padding-block: 9px;
}
.safari .detail-ctas-link.button {
	padding-block: 10px 8px;
}

.no-desktop #ac-localnav .ac-ln-button:lang(ja) {
	padding-block: 4px 2px;
}

.aap-base-button__text {
	padding-top: 17px;
	padding-bottom: 14px;
}

@media (max-width: 734px) {
	.aap-base-button__text {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.no-desktop .aap-base-button__text {
		padding-top: 11px;
		padding-bottom: 9px;
	}
}

@media (min-width: 735px) {
	.section-apple-intelligence .section-header .section-header-eyebrow, .section-performance .section-header .section-header-eyebrow, .section-display .section-header .section-header-eyebrow, .section-camera-mics-speakers .section-header .section-header-eyebrow, .section-imac-iphone .section-header .section-header-eyebrow, .section-accessories .section-header .section-header-eyebrow, .section-upgraders .section-header .section-header-eyebrow {
		width: 100%;
	}
	.section-apple-intelligence .section-header .section-header-headline, .section-performance .section-header .section-header-headline, .section-display .section-header .section-header-headline, .section-camera-mics-speakers .section-header .section-header-headline, .section-imac-iphone .section-header .section-header-headline, .section-accessories .section-header .section-header-headline, .section-upgraders .section-header .section-header-headline {
		max-width: none;
		width: 100%;
	}
}

/* welcome */

.section-welcome .apple-intelligence-marquee {
	translate: 0.3em 0;
}

.section-welcome .marquee-milestone-cta, .section-welcome .marquee-milestone-cta .milestone-secondary + .milestone-secondary {
	margin-top: 5px;
}
@media (max-width: 1068px) and (min-width: 735px) {
	.section-welcome .marquee-milestone-cta, .section-welcome .marquee-milestone-cta .milestone-secondary + .milestone-secondary {
		margin-top: 6px;
	}
}

.section-welcome:has(.video-wrapper.loaded)
	.media-container
	.overview-welcome-headline {
	animation: appearElement 1s ease-in-out 1.5s 1 forwards;
}
html.safari
	.section-welcome:has(.video-wrapper.loaded)
	.media-container
	.overview-welcome-headline {
	animation: appearElement 1s ease-in-out 2s 1 forwards;
}
@media (max-width: 734px) {
	.section-welcome:has(.video-wrapper.loaded)
		.media-container
		.overview-welcome-headline {
		animation-duration: 1.5s;
	}
}
.section-welcome .media-container .overview-welcome-headline {
	position: absolute;
	z-index: 3;
	opacity: 0;
	transform: scale(var(--scale-media-modifier));
	transform-origin: top;
}
html.no-enhanced .section-welcome .media-container .overview-welcome-headline, html.no-js .section-welcome .media-container .overview-welcome-headline {
	opacity: 1;
	animation: none;
}

@keyframes appearElement {
	0% {
		opacity: 0;
		transform: translateY(25px) scale(var(--scale-media-modifier));
	}
	60% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(var(--scale-media-modifier));
	}
}

/* highlights */

@media (max-width: 480px) {
	.section-highlights .media-gallery-item-center-stage.gallery-item.media-gallery-item-5 .caption span:first-child {
		--caption-span-width: 210px;
	}
}

/* apple intelligence */

.section-apple-intelligence .subsection-privacy .subsection-header-headline {
	max-width: none;
}

/* performance */
.section-product-stories .section-performance .section-header .section-header-eyebrow {
	width: 100%;
}
@media (min-width: 735px) {
	.section-product-stories .section-performance .section-header + .section-copy {
		max-width: 695px;
	}
}

/* display */

.section-product-stories .section-display .section-header .section-header-eyebrow {
	width: 100%;
}
@media (min-width: 735px) {
	.section-product-stories .section-display .section-header + .section-copy {
		max-width: 840px;
	}
}

/* camera-mics-speakers */

@media (min-width: 735px) {
	.section-camera-mics-speakers .section-header .section-header-headline {
		max-width: 95%;
	}
}

/* connections */

@media (min-width: 735px) {
	.section-connections .section-header-headline {
		margin-right: -0.45em;
	}
}
@media (max-width: 1068px) and (min-width: 735px) {
	.section-product-stories .section-apple-intelligence .typography-product-stories-copy.section-copy {
		max-width: 690px;
	}
}
.bento-item.display .bento-copy {
	text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}
@media (min-width: 1069px) {
	.section-connections .section-header-headline .header-magical {
		margin-right: 0;
	}
}

/* imac iphone */
@media (min-width: 735px) {
	.section-imac-iphone .section-header + .section-copy {
		max-width: 700px;
	}
}

/* upgraders */

@media (max-width: 734px) {
	.upgraders-content .upgraders-gallery .bento-copy:lang(ja), .upgraders-content .upgraders-gallery .bento-copy-reduced:lang(ja) {
		margin-top: 2px;
	}
}

/* incentive */

@media (max-width: 1440px) and (min-width: 1069px) {
	.section-incentive #gallery-item-apple-store .tile-content {
		padding-inline-end: 66px;
	}
}

/* accessories */
.section-product-stories .section-accessories .section-header .section-header-eyebrow {
	width: 100%;
}

/* which mac */
@media (min-width: 1069px) {
	.product-tile {
		--image-link-margin: 42px;
	}
}
@media (max-width: 1068px) {
	.product-tile {
		--image-link-margin: 35px;
	}
}
@media (max-width: 734px) {
	.product-tile {
		--image-link-margin: 37px;
	}
}

.form-tooltip-wrapper .form-tooltip {
	top: -3px;
}
html.desktop .form-tooltip-wrapper .form-tooltip {
	top: -2px;
}

.section-contrast .product-tile-ctas .button:lang(ja) {
	padding-top: 12px;
	padding-bottom: 10px;
}

@media (min-width: 735px) {
	.section-contrast .product-tile-mac-mini .typography-product-tile-positioning {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.section-apple-intelligence .subsection-privacy .subsection-header-headline .ai-gradient-text {
		display: inline;
	}
}

.imac-product-page-ribbon.ribbon-bts-2024 {
	position: relative;
	top: 0;
	margin-top: -52px;
	margin-bottom: 52px;
	z-index: 2;
}

@media (max-width: 1068px) and (min-width: 735px) {
	.section-upgraders .upgraders-gallery .gallery-item-imac-27 .performance, .section-upgraders .upgraders-gallery .gallery-item-imac-27 .graphics-caption {
		height: 340px;
	}
}

@media (min-width: 735px) {
	.section-highlights.alt-2025 .section-header {
		grid-column-gap: 128px;
		column-gap: 128px;
	}
}

.ac-ls-visible .imac-product-page-ribbon.ribbon-edu-2025 {
	top: 0;
}
