.parts-tabs-section {
	background: var(--wp--preset--color--primary-50);
	padding: 96px 24px 121px;
}

.parts-tabs-title {
	color: var(--wp--preset--color--black);
	font-size: 40px;
	font-weight: 600;
	line-height: 48px;
	letter-spacing: -0.8px;
	text-transform: capitalize;
	margin: 0 0 8px;
	background: transparent;
}

.parts-tabs-subtitle {
	color: var(--wp--preset--color--black);
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.036px;
	margin: 0 0 16px;
}

.parts-tabs-intro {
	color: var(--wp--preset--color--black);
	max-width: 620px;
	margin: 0 0 48px;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

/* Desktop Tabs */
.parts-tabs-nav {
	display: flex !important;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	border-bottom: 1px solid var(--wp--preset--color--primary-100);
	margin-bottom: 48px;
	padding-bottom: 0;
}

.parts-tabs-nav .wp-block-button.parts-tab {
	position: relative;
	margin: 0;
	width: auto;
	flex: 0 0 auto;
	display: flex;
	justify-content: center;
}

.parts-tabs-nav .wp-block-button.parts-tab .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	appearance: none;
	border: 0;
	box-shadow: none;
	background: transparent !important;
	color: var(--wp--preset--color--black);
	font-size: 15px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.03px;
	padding: 0 0 16px;
	cursor: pointer;
	position: relative;
	text-decoration: none;
	border-radius: 0;
	transition: color 0.2s ease;
}

.parts-tabs-nav .wp-block-button.parts-tab .wp-block-button__link:hover,
.parts-tabs-nav .wp-block-button.parts-tab .wp-block-button__link:focus {
	background: transparent !important;
	box-shadow: none;
	outline: none;
	color: var(--wp--preset--color--primary-500);
}

.parts-tabs-nav .wp-block-button.parts-tab .wp-block-button__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 4px;
	background: var(--wp--preset--color--primary-500);
	opacity: 0;
	transform: scaleX(0.8);
	transform-origin: center;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.parts-tabs-nav .wp-block-button.parts-tab:hover .wp-block-button__link::after,
.parts-tabs-nav .wp-block-button.parts-tab.is-active .wp-block-button__link::after {
	opacity: 1;
	transform: scaleX(1);
}

/* Panels */
.parts-tab-panel {
	display: none;
}

.parts-tab-panel.is-active {
	display: block;
}

.wp-block-group.parts-tab-panel {
	margin: 0;
	max-width: 1190px !important;
}

.parts-accordion-trigger {
	display: none;
}

/* Content Layout */
.parts-tab-content {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
	max-width: 1190px !important;
	gap: 64px;
	align-items: center;
}

.parts-tab-content h3 {
	color: var(--wp--preset--color--black);
	font-size: 23px;
	line-height: 32px;
	font-weight: 600;
	letter-spacing: -0.46px;
	text-transform: capitalize;
	margin: 0 0 16px;
	background: transparent;
}

.parts-tab-content p {
	color: var(--wp--preset--color--black);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin: 0 0 40px;
}

/* CTA */
.parts-tab-cta .wp-block-button__link,
.parts-tab-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--primary-500) !important;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.03px;
	padding: 16px 24px;
	border-radius: 0;
	box-shadow: none;
}

.parts-tab-cta .wp-block-button__link:hover,
.parts-tab-cta .wp-block-button__link:focus,
.parts-tab-button:hover,
.parts-tab-button:focus {
	background: var(--wp--preset--color--primary-600) !important;
	color: var(--wp--preset--color--white);
	outline: none;
	box-shadow: none;
}

/* Images */
.parts-tab-content figure {
	margin: 0;
}

.parts-tab-content img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 350px;
	object-fit: contain;
}

/* Tablet + Mobile Accordion */
@media (max-width: 1024px) {
	.parts-tabs-section {
		padding: 96px 40px;
	}

	.parts-tabs-title,
	.parts-tabs-subtitle,
	.parts-tabs-intro {
		text-align: left;
	}

	.parts-tabs-intro {
		max-width: 100%;
		margin-bottom: 48px;
	}

	.parts-tabs-nav {
		display: none !important;
	}

	.parts-tabs-panels {
		border-top: 1px solid var(--wp--preset--color--primary-100);
	}

	.parts-tab-panel {
		display: block;
		border-bottom: 1px solid var(--wp--preset--color--primary-100);
	}

	.parts-tab-panel .parts-tab-content {
		display: none !important;
		padding: 0 0 32px;
		margin-top: 0;
	}

	.parts-tab-panel.is-active .parts-tab-content {
		display: grid !important;
	}

	.parts-accordion-trigger {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		appearance: none;
		border: 0;
		background: transparent;
		color: var(--wp--preset--color--black) !important;
		font-size: 18px;
		font-weight: 700;
		line-height: 28px;
		padding: 24px 0 16px;
		cursor: pointer;
		text-align: left;
	}

	/* Chevron Icons */
	.parts-accordion-icon {
		width: 20px;
		height: 20px;
		flex: 0 0 20px;
		margin-left: 16px;
		background-image: url('/wp-content/uploads/2026/04/Chevron-Down.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}

	.parts-tab-panel.is-active .parts-accordion-icon {
		background-image: url('/wp-content/uploads/2026/04/Chevron-Up.svg');
	}

	.parts-tab-content {
		grid-template-columns: 1fr !important;
		gap: 24px;
	}

	.parts-tab-content h3 {
		display: none;
	}

	.parts-tab-content p {
		margin-bottom: 24px;
	}

	.parts-tab-content img {		
		max-height: none;
		max-width: 700px;
		margin-right: auto !important;
		margin-left: auto !important;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.parts-tabs-section {
		padding: 48px 16px 40px;
	}

	.parts-tabs-title {
		font-size: 24px;
		line-height: 32px;
		letter-spacing: -0.48px;
	}

	.parts-tabs-subtitle {
		margin: 0 0 8px;
		font-size: 16px;
		line-height: 24px;
		letter-spacing: 0.032px;
		margin: 0 0 8px;
	}

	.parts-tabs-intro {
		margin: 0 0 24px;
		font-size: 16px;
		font-weight: 400;
		line-height: 24px;
	}

	.parts-tab-panel .parts-tab-content {
		padding-bottom: 32px;
	}

	.parts-tab-cta .wp-block-button__link,
	.parts-tab-button {
		padding: 12px 16px;
		font-size: 14px;
		line-height: 20px;
		
	}

	.parts-accordion-trigger {
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
		letter-spacing: 0.032px;
		padding: 16px 0 16px;
	}

	.parts-tab-content p {
		margin-bottom: 24px;
		font-size: 16px;
		font-weight: 400;
		line-height: 24px;
	}

	.parts-tab-content img {		
		max-height: none;
		max-width: 700px;
		margin-right: auto !important;
		margin-left: auto !important;
	}
}

@media (max-width: 600px) {
	.parts-tabs-section {
		padding: 48px 16px 40px;
	}

	.parts-tabs-intro {
		margin-bottom: 24px;
	}

	.parts-tab-content h3 {
		font-size: 24px;
	}
}

.editor-styles-wrapper .parts-tab-panel {
	display: block !important;
	margin-bottom: 48px !important;
	padding-bottom: 48px !important;
	border-bottom: 1px dashed var(--wp--preset--color--primary-100);
}

.editor-styles-wrapper .parts-tab-panel .parts-tab-content {
	display: grid !important;
}

.editor-styles-wrapper .parts-accordion-trigger {
	display: none !important;
}

.editor-styles-wrapper .parts-tabs-nav {
	display: flex !important;
	pointer-events: none;
	opacity: 0.65;
}