.vfp-product-tabs {
	margin: 34px 0;
	border-top: 1px solid #e4eaf2;
	border-bottom: 1px solid #e4eaf2;
	background: #fff;
}
.vfp-product-tabs__nav button {
    font-size: 16px !important;
}

.vfp-product-tabs__nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	align-items: stretch;
	border-bottom: 1px solid #e4eaf2;
	background: #fff;
}

.vfp-product-tabs__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 78px;
	padding: 0 18px;
	border: 0;
	border-right: 1px solid transparent;
	border-left: 1px solid transparent;
	color: #59636f;
	background: transparent;
	font-size: clamp(16px, 1.45vw, 26px);
	font-weight: 900;
	letter-spacing: 0.24em;
	line-height: 1.1;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vfp-product-tabs__button::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 4px;
	background: #1464f4;
	opacity: 0;
	content: "";
}

.vfp-product-tabs__button:hover,
.vfp-product-tabs__button:focus-visible,
.vfp-product-tabs__button.is-active {
	color: #1464f4;
}

.vfp-product-tabs__button:focus-visible {
	outline: 2px solid #1464f4;
	outline-offset: -4px;
}

.vfp-product-tabs__button.is-active {
	border-color: #1464f4;
	box-shadow: inset 0 0 0 2px #1464f4;
}

.vfp-product-tabs__button.is-active::after {
	opacity: 1;
}

.vfp-product-tabs__panels {
	background: #f7fbff;
}

.vfp-product-tabs__panel[hidden] {
	display: none;
}

.vfp-tab {
	margin: 0;
	padding: 5px 20px;
	color: #111827;
}

.vfp-tab__header {
	max-width: 760px;
	margin-bottom: 18px;
}

.vfp-tab__header h2 {
	margin: 0 0 8px;
	color: #101828;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
}

.vfp-tab__header p {
	margin: 0;
	color: #667085;
	font-size: 17px;
	line-height: 1.65;
}

.vfp-tab__content {
	color: #344054;
	font-size: 17px;
	line-height: 1.75;
}

.vfp-tab__content + .vfp-spec-list,
.vfp-tab__content + .vfp-offer-grid {
	margin-top: 22px;
}

.vfp-tab__content > :first-child {
	margin-top: 0;
}

.vfp-tab__content > :last-child {
	margin-bottom: 0;
}

.vfp-tab__media {
	margin: 0;
	overflow: hidden;
	border: 1px solid #eef1f6;
	border-radius: 8px;
	background: #f7f9fc;
}

.vfp-tab__media img,
.vfp-color-card img {
	display: block;
	width: 100%;
	height: auto;
}

.vfp-color-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.vfp-color-card,
.vfp-offer-card {
	border: 1px solid #eef1f6;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.vfp-color-card {
	overflow: hidden;
}

.vfp-color-card {
	position: relative;
	padding: 16px;
}

.vfp-color-card__swatch {
	display: block;
	width: 34px;
	height: 34px;
	margin-bottom: 12px;
	border: 1px solid rgba(16, 24, 40, 0.14);
	border-radius: 999px;
	background: var(--vfp-color, #1464f4);
	box-shadow: inset 0 0 0 3px #fff;
}

.vfp-color-card h3 {
	margin: 12px 0 6px;
	color: #101828;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}

.vfp-color-card p {
	margin: 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.6;
}

.vfp-color-viewer {
	overflow: hidden;
	border: 1px solid #d9e4f2;
	border-radius: 8px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.vfp-color-viewer__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 20px 5px;
	background: #fff;
}

.vfp-color-viewer__stage img {
	display: block;
	width: min(80%, 980px);
	max-height: 400px;
	object-fit: contain;
	transition: opacity 180ms ease;
}

.vfp-color-viewer__rail {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 46px;
	gap: 16px;
	align-items: center;
	padding: 5px clamp(18px, 2vw, 120px) 5px;
	background: #fff;
}

.vfp-color-viewer__thumbs {
	display: flex;
	gap: 14px;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: thin;
	scroll-snap-type: x mandatory;
	padding: 4px;
}

.vfp-color-viewer__thumb,
.vfp-color-viewer__arrow,
.vfp-color-viewer__swatch {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.vfp-color-viewer__thumb {
		    margin-bottom: 5px !important;
		margin-right: 10px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 130px;
	height: 65px;
	padding: 5px 10px;
	border: 1px solid #d8e3f2;
	border-radius: 8px;
	background: #fff;
	scroll-snap-align: center;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.vfp-color-viewer__thumb.is-active {
	border: 4px solid #1464f4;
	box-shadow: 0 14px 26px rgba(20, 100, 244, 0.14);
}

.vfp-color-viewer__thumb:hover {
	transform: translateY(-1px);
}

.vfp-color-viewer__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vfp-color-viewer__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid #d8e3f2;
	border-radius: 999px;
	color: #8aa5c9;
	background: #fff;
	font-size: 20px;
	line-height: 1;
	transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;

}

.vfp-color-viewer__arrow:hover {
	border-color: #1464f4;
	color: #1464f4;
	box-shadow: 0 10px 22px rgba(20, 100, 244, 0.12);
}

.vfp-color-viewer__controls {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) minmax(240px, 0.9fr);
    gap: 30px;
    align-items: center;
    padding: 5px clamp(18px, 2vw, 180px);
    border-top: 1px solid #d9e4f2;
    background: #fff;
}

.vfp-color-viewer__palette-title {
    display: block;
    margin: 0 0 6px;
    color: #1d2327;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.vfp-color-viewer__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.vfp-color-viewer__swatch {
	margin-bottom: 5px !important;
    margin-right: 5px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 4px;
	border: 2px solid #d8e3f2;
	border-radius: 999px;
	background: #fff;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.vfp-color-viewer__swatch span {
	display: block;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(16, 24, 40, 0.16);
	border-radius: inherit;
	background: var(--vfp-color, #1464f4);
}

.vfp-color-viewer__swatch.is-active {
	border-color: #1464f4;
	box-shadow: 0 10px 22px rgba(20, 100, 244, 0.16);
}

.vfp-color-viewer__swatch:hover {
	transform: translateY(-1px);
}

.vfp-color-viewer__meta {
    display: grid;
    gap: 8px;
    align-content: center;
	min-height: 96px;
}

.vfp-color-viewer__eyebrow {
	color: #1464f4;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.vfp-color-viewer__meta strong {
	color: #101828;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
}

.vfp-color-viewer__meta p {
	margin: 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.55;
}

.vfp-offer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.vfp-offer-card {
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 20px;
}

.vfp-offer-card__badge {
	width: fit-content;
	padding: 4px 9px;
	border-radius: 999px;
	color: #1464f4;
	background: #eef5ff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.4;
	text-transform: uppercase;
}

.vfp-offer-card h3 {
	margin: 0;
	color: #101828;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

.vfp-offer-card p {
	margin: 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.6;
}

.vfp-offer-card .vfp-button {
	margin-top: 4px;
	width: fit-content;
}

.vfp-spec-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border: 1px solid #eef1f6;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.vfp-spec-list__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(120px, 0.7fr);
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border-right: 1px solid #eef1f6;
	border-bottom: 1px solid #eef1f6;
}

.vfp-spec-list dt {
	color: #667085;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.vfp-spec-list dd {
	margin: 0;
	color: #101828;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
	text-align: right;
}

.vfp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 4px;
	color: #fff;
	background: #1464f4;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.vfp-button:hover {
	color: #fff;
	background: #0e4fc4;
}

@media (max-width: 849px) {
	.vfp-product-tabs__nav {
		display: flex;
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.vfp-product-tabs__button {
		flex: 0 0 auto;
		min-width: 160px;
		min-height: 64px;
		font-size: 16px;
		letter-spacing: 0.18em;
	}

	.vfp-tab {
		padding: 26px 18px;
	}

	.vfp-color-grid,
	.vfp-offer-grid,
	.vfp-spec-list {
		grid-template-columns: 1fr;
	}

	.vfp-color-viewer__stage {
		min-height: 300px;
		padding: 24px 16px 12px;
	}

	.vfp-color-viewer__rail {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		gap: 8px;
		padding: 14px 12px 22px;
	}

	.vfp-color-viewer__thumb {
		flex-basis: 118px;
		height: 74px;
	}

	.vfp-color-viewer__arrow {
		width: 40px;
		height: 40px;
		font-size: 28px;
	}

	.vfp-color-viewer__controls {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px 18px;
	}

	.vfp-spec-list__item {
		border-right: 0;
	}
}

@media (max-width: 549px) {
	.vfp-tab {
		padding: 24px 14px;
	}

	.vfp-product-tabs__button {
		min-width: 142px;
		min-height: 58px;
		font-size: 14px;
		letter-spacing: 0.14em;
	}

	.vfp-tab__header h2 {
		font-size: 22px;
	}

	.vfp-color-viewer__stage {
		min-height: 220px;
	}

	.vfp-color-viewer__thumb {
		flex-basis: 96px;
		height: 64px;
	}

	.vfp-color-viewer__palette-title {
		font-size: 20px;
	}

	.vfp-spec-list__item {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.vfp-spec-list dd {
		text-align: left;
	}
}