.ldpcg-auto-section {
	width: 100%;
	margin: 0;
	padding: 72px 20px;
	background: #fff;
	scroll-margin-top: 120px;
}

.ldpcg-auto-section__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.ldpcg {
	--ldpcg-primary: #4054B2;
	--ldpcg-secondary: #2D3E91;
	--ldpcg-dark: #202A63;
	--ldpcg-soft: #E8EAF3;
	--ldpcg-text: #161616;
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--ldpcg-text);
	font-family: inherit;
}

.ldpcg *,
.ldpcg *::before,
.ldpcg *::after {
	box-sizing: border-box;
}

.ldpcg__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	margin: 0 0 40px;
	padding: 0;
}

.ldpcg .ldpcg__tab {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 150px;
	min-width: 0;
	max-width: 220px;
	min-height: 56px;
	margin: 0;
	padding: 11px 16px;
	border: 1px solid var(--ldpcg-soft);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: var(--ldpcg-secondary);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ldpcg .ldpcg__tab:hover,
.ldpcg .ldpcg__tab:focus-visible {
	border-color: var(--ldpcg-primary);
	background: var(--ldpcg-soft);
	color: var(--ldpcg-dark);
	transform: translateY(-1px);
}

.ldpcg .ldpcg__tab.is-active {
	border-color: var(--ldpcg-secondary);
	background: var(--ldpcg-secondary);
	color: #fff;
}

.ldpcg .ldpcg__tab:focus-visible,
.ldpcg .ldpcg__item:focus-visible,
.ldpcg-lightbox__close:focus-visible {
	outline: 3px solid rgba(64, 84, 178, .28);
	outline-offset: 3px;
}

.ldpcg__panel {
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
}

.ldpcg__panel[hidden] {
	display: none !important;
}

.ldpcg__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
	gap: 34px 24px;
	align-items: start;
	width: 100%;
	margin: 0;
	padding: 0;
}

.ldpcg .ldpcg__item {
	all: unset;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font-family: inherit;
	text-align: center;
	text-decoration: none;
}

.ldpcg .ldpcg__item[role="button"] {
	cursor: zoom-in;
}

.ldpcg__swatch {
	display: block;
	width: min(100%, 168px);
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid rgba(22, 22, 22, .08);
	border-radius: 50%;
	background: #f6f6f6;
	box-shadow: 0 8px 24px rgba(32, 42, 99, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ldpcg .ldpcg__item[role="button"]:hover .ldpcg__swatch,
.ldpcg .ldpcg__item[role="button"]:focus-visible .ldpcg__swatch {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(32, 42, 99, .14);
}

.ldpcg__swatch img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: cover;
}

.ldpcg__name {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--ldpcg-secondary);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

.ldpcg__notice {
	padding: 14px 16px;
	border-left: 4px solid var(--ldpcg-primary, #4054B2);
	background: #f5f6fb;
	color: #161616;
}

.ldpcg-color-anchor-wrap {
	display: block;
	clear: both;
	width: 100%;
	margin: 14px 0 0;
	padding: 0;
}

.ldpcg-color-anchor-wrap--standalone {
	margin-top: 16px;
}

.ldpcg-color-anchor-wrap .ldpcg-color-anchor {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #2D3E91;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color .2s ease;
}

.ldpcg-color-anchor-wrap .ldpcg-color-anchor:hover,
.ldpcg-color-anchor-wrap .ldpcg-color-anchor:focus-visible {
	color: #4054B2;
}

.ldpcg-color-anchor-wrap .ldpcg-color-anchor:focus-visible {
	outline: 3px solid rgba(64, 84, 178, .22);
	outline-offset: 4px;
}

.ldpcg-lightbox {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(10, 14, 30, .84);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.ldpcg-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.ldpcg-lightbox__dialog {
	position: relative;
	width: min(92vw, 760px);
	padding: 22px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
	text-align: center;
	transform: scale(.97);
	transition: transform .2s ease;
}

.ldpcg-lightbox.is-open .ldpcg-lightbox__dialog {
	transform: scale(1);
}

.ldpcg-lightbox__image {
	display: block;
	width: 100%;
	max-width: 100%;
	max-height: 72vh;
	object-fit: contain;
	border-radius: 10px;
}

.ldpcg-lightbox__name {
	margin: 16px 44px 0;
	color: var(--ldpcg-secondary, #2D3E91);
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.ldpcg-lightbox .ldpcg-lightbox__close {
	all: unset;
	box-sizing: border-box;
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(22, 22, 22, .78);
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 24px;
	line-height: 1;
	text-align: center;
	cursor: pointer;
}

body.ldpcg-lightbox-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.ldpcg-auto-section {
		padding: 56px 24px;
	}
}

@media (max-width: 767px) {
	.ldpcg-auto-section {
		padding: 44px 18px;
	}

	.ldpcg__tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-bottom: 30px;
		padding-bottom: 5px;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.ldpcg .ldpcg__tab {
		flex: 0 0 auto;
		min-width: 138px;
		max-width: none;
		min-height: 44px;
		padding: 10px 18px;
		font-size: 15px;
	}

	.ldpcg__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 18px;
	}

	.ldpcg__swatch {
		width: min(100%, 145px);
	}

	.ldpcg__name {
		font-size: 14px;
	}
}
