.fbsp-uploader {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0.95rem 0 0.75rem;
	color: #1f171b;
}

.fbsp-uploader *,
.fbsp-uploader *::before,
.fbsp-uploader *::after {
	box-sizing: inherit;
}

.fbsp-uploader__body {
	display: grid;
	gap: 0.43rem;
	padding: 0.52rem;
	border: 1px solid rgba(204, 23, 116, 0.22);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(44, 21, 34, 0.04);
}

.fbsp-uploader__copy {
	min-width: 0;
	padding: 0 0.1rem;
}

.fbsp-uploader__section-label {
	margin: 0 0 0.18rem;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}

.fbsp-uploader__description {
	margin: 0;
	font: inherit;
	line-height: 1.35;
	color: inherit;
}

form.cart:has(.fbsp-uploader) .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

form.cart:has(.fbsp-uploader) > .quantity,
form.cart:has(.fbsp-uploader) .woocommerce-variation-add-to-cart .quantity {
	flex: 0 0 auto;
	margin: 0;
}

form.cart:has(.fbsp-uploader) > .single_add_to_cart_button,
form.cart:has(.fbsp-uploader) .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 0 0 auto;
	margin: 0;
}

form.cart:has(.fbsp-uploader) .single_add_to_cart_button.fbsp-add-to-cart-loading,
form.cart:has(.fbsp-uploader) button[name="add-to-cart"].fbsp-add-to-cart-loading {
	position: relative;
	color: #fff !important;
	opacity: 0.95 !important;
	text-indent: 0 !important;
}

form.cart:has(.fbsp-uploader) .single_add_to_cart_button.fbsp-add-to-cart-loading::after,
form.cart:has(.fbsp-uploader) button[name="add-to-cart"].fbsp-add-to-cart-loading::after {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	margin-left: 0.5em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 999px;
	vertical-align: -0.12em;
	animation: fbsp-spin 650ms linear infinite;
}

.fbsp-uploader__slots {
	display: grid;
	gap: 0.32rem;
}

.fbsp-uploader__slot {
	min-width: 0;
}

.fbsp-uploader__slot[hidden],
.fbsp-uploader__editor[hidden],
.fbsp-uploader__uploaded[hidden],
.fbsp-uploader__add-row[hidden] {
	display: none;
}

.fbsp-uploader__add-row,
.fbsp-uploader__editor,
.fbsp-uploader__uploaded {
	animation: fbsp-fade-expand 160ms ease-out;
}

.fbsp-uploader__add-row {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 2.35rem;
	gap: 0.4rem;
	padding: 0.38rem 0.52rem;
	border: 1px solid rgba(204, 23, 116, 0.16);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: #cc1774;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}

.fbsp-uploader__add-row:hover,
.fbsp-uploader__add-row:focus {
	border-color: rgba(204, 23, 116, 0.42);
	background: #fff7fb;
}

.fbsp-uploader__add-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 1.24rem;
	width: 1.24rem;
	height: 1.24rem;
	border-radius: 999px;
	background: #cc1774;
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(204, 23, 116, 0.22);
}

.fbsp-uploader__editor {
	display: grid;
	gap: 0.3rem;
	padding: 0.44rem;
	border: 1px solid rgba(204, 23, 116, 0.2);
	border-radius: 10px;
	background: #fff7fb;
}

.fbsp-uploader__slot-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.fbsp-uploader__slot-label {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	color: #1f171b;
}

.fbsp-uploader__slot-fee {
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.2;
	color: #cc1774;
}

.fbsp-uploader__dropzone {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.55rem;
	padding: 0.38rem 0.5rem;
	border: 1px dashed rgba(204, 23, 116, 0.38);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.fbsp-uploader__dropzone:hover,
.fbsp-uploader__dropzone--drag {
	border-color: #cc1774;
	background: #fffafd;
	box-shadow: inset 0 0 0 1px rgba(204, 23, 116, 0.12);
}

.fbsp-uploader__slot--busy .fbsp-uploader__dropzone {
	cursor: wait;
	opacity: 0.78;
}

.fbsp-uploader__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	clip-path: inset(50%);
}

.fbsp-uploader__icon {
	position: relative;
	flex: 0 0 1.25rem;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid #cc1774;
	border-radius: 7px;
}

.fbsp-uploader__icon::before,
.fbsp-uploader__icon::after {
	position: absolute;
	content: "";
	background: #cc1774;
}

.fbsp-uploader__icon::before {
	top: 50%;
	left: 0.3rem;
	right: 0.3rem;
	height: 2px;
	transform: translateY(-50%);
}

.fbsp-uploader__icon::after {
	top: 0.3rem;
	bottom: 0.3rem;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
}

.fbsp-uploader__prompt {
	min-width: 0;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.3;
	color: #6a5962;
}

.fbsp-uploader__status {
	min-height: 0.82rem;
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.25;
	color: #6a5962;
}

.fbsp-uploader__status--error {
	color: #9f2f24;
}

.fbsp-uploader__uploaded {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.6rem;
	align-items: center;
	padding: 0.36rem;
	border: 1px solid rgba(204, 23, 116, 0.16);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

.fbsp-uploader__preview {
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 9px;
	background: #f8f1f5;
}

.fbsp-uploader__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fbsp-uploader__uploaded-copy {
	display: grid;
	gap: 0.06rem;
	min-width: 0;
}

.fbsp-uploader__uploaded-label {
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.15;
	color: #cc1774;
}

.fbsp-uploader__success {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.18;
	color: #1f171b;
}

.fbsp-uploader__success-note {
	font-size: 0.71rem;
	line-height: 1.22;
	color: #6a5962;
}

.fbsp-uploader__actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
}

.fbsp-uploader__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.34rem 0.58rem;
	border: 1px solid #cc1774;
	border-radius: 999px;
	background: #cc1774;
	box-shadow: none;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.fbsp-cart-design-meta {
	clear: both;
	display: grid;
	gap: 0.14rem;
	margin: 0.28rem 0 0;
	color: inherit;
	font: inherit;
}

.fbsp-cart-design-meta__label,
.fbsp-cart-design-meta__value {
	display: block;
	float: none;
	clear: both;
	margin: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	line-height: 1.35;
}

.fbsp-cart-design-meta__label {
	font-weight: 400;
}

.fbsp-cart-design-meta__value {
	color: #666;
	font-size: 12px;
	font-weight: 400;
}

.fbsp-cart-design-meta__value .fbsp-cart-thumbnails {
	margin-top: 0.08rem;
}

.woocommerce-cart .fbsp-cart-item-data--design .wc-item-meta-label,
.woocommerce-cart .fbsp-cart-item-data--design dt,
.woocommerce-cart .fbsp-cart-item-data--design strong {
	display: block;
	margin: 0 0 7px;
	font-weight: 700;
}

.woocommerce-cart .fbsp-cart-item-data--design .fbsp-cart-thumbnails {
	display: flex !important;
	margin-top: 7px;
}

.woocommerce-cart .fbsp-cart-item-data--supporting .wc-item-meta-label,
.woocommerce-cart .fbsp-cart-item-data--supporting dt,
.woocommerce-cart .fbsp-cart-item-data--supporting strong {
	font-weight: 400;
}

.woocommerce-cart .fbsp-cart-item-data--supporting,
.woocommerce-cart .fbsp-cart-item-data--supporting p,
.woocommerce-cart .fbsp-cart-item-data--supporting dd {
	font-weight: 400;
}

.fbsp-cart-thumbnails {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	line-height: 1;
	margin: 0;
}

.fbsp-cart-thumbnail {
	display: block;
	flex: 0 0 auto;
	width: 44px !important;
	max-width: 44px !important;
	height: 44px !important;
	max-height: 44px !important;
	overflow: hidden;
	border: 1px solid rgba(204, 23, 116, 0.18);
	border-radius: 6px;
	object-fit: cover !important;
	background: #f8f1f5;
}

.fbsp-uploader__button:hover,
.fbsp-uploader__button:focus {
	background: #a81260;
	border-color: #a81260;
	color: #fff;
}

.fbsp-uploader__button--plain {
	background: #fff;
	box-shadow: none;
	color: #6a5962;
	border-color: rgba(106, 89, 98, 0.24);
}

.fbsp-uploader__button--plain:hover,
.fbsp-uploader__button--plain:focus {
	background: #faf6f8;
	border-color: rgba(106, 89, 98, 0.36);
	color: #1f171b;
}

@media (min-width: 390px) {
	.fbsp-uploader__uploaded {
		grid-template-columns: 78px minmax(0, 1fr) auto;
		gap: 0.75rem;
	}

	.fbsp-uploader__preview {
		width: 78px;
		height: 78px;
	}

	.fbsp-uploader__actions {
		grid-column: auto;
		justify-content: flex-end;
	}
}

@media (max-width: 480px) {
	.fbsp-cart-thumbnails {
		gap: 5px;
	}

	.fbsp-cart-thumbnail {
		width: 38px !important;
		max-width: 38px !important;
		height: 38px !important;
		max-height: 38px !important;
		border-radius: 6px;
	}
}

@keyframes fbsp-fade-expand {
	from {
		opacity: 0;
		transform: translateY(-3px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fbsp-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Smart Uploader journey — v0.7.2 native controls + contained pair media. */
.fbsp-smart {
	margin-top: 12px;
	font-family: inherit;
}

.fbsp-smart[hidden],
.fbsp-smart [hidden],
.fbsp-uploader [hidden] {
	display: none !important;
}

/* The active pair reuses the exact original WooCommerce variation UI. */
.fbsp-smart__active-card .fbsp-smart__native-variations {
	display: table !important;
	width: 100%;
	margin: 0 0 10px;
}

.fbsp-smart__active-card .fbsp-smart__native-variations td,
.fbsp-smart__active-card .fbsp-smart__native-variations th {
	padding-left: 0;
	padding-right: 0;
}

.fbsp-uploader.is-smart-bundle .fbsp-uploader__copy {
	margin-bottom: 10px;
}

.fbsp-smart__active-card.is-active {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid #efbad5;
	border-radius: 15px;
	background: linear-gradient(180deg, #fff9fc 0%, #ffffff 46%);
	box-shadow: 0 8px 24px rgba(204, 23, 116, .08);
	animation: fbspSmartIn .28s ease both;
}

.fbsp-smart__active-card.is-active .fbsp-uploader__slots {
	margin-top: 10px;
}

.fbsp-smart__progress {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 11px;
	padding: 10px 12px;
	border: 1px solid #f1c7dc;
	border-radius: 12px;
	background: #fff;
	color: #2e2430;
}

.fbsp-smart__progress-copy small,
.fbsp-smart__progress-copy strong {
	display: block;
}

.fbsp-smart__progress-copy small {
	margin-bottom: 1px;
	color: #9a6f86;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .08em;
}

.fbsp-smart__progress-copy strong {
	font-size: 16px;
	line-height: 1.2;
}

.fbsp-smart__progress-dots {
	display: flex;
	gap: 6px;
}

.fbsp-smart__dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: #ead8e1;
	transition: transform .22s ease, background .22s ease;
}

.fbsp-smart__dot.is-complete,
.fbsp-smart__dot.is-active {
	background: #cc1774;
}

.fbsp-smart__dot.is-active {
	transform: scale(1.35);
	box-shadow: 0 0 0 3px rgba(204, 23, 116, .12);
}

.fbsp-smart__summaries {
	display: grid;
	gap: 8px;
	margin: 8px 0;
}

.fbsp-smart__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border: 1px solid #eadde4;
	border-radius: 12px;
	background: #fff;
	animation: fbspSmartIn .26s ease both;
}

.fbsp-smart__summary-thumbs {
	display: flex;
	flex: 0 0 auto;
}

.fbsp-smart__summary-thumbs img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border: 2px solid #fff;
	border-radius: 9px;
	box-shadow: 0 1px 5px rgba(46, 36, 48, .12);
}

.fbsp-smart__summary-thumbs img + img {
	margin-left: -12px;
}

.fbsp-smart__summary-copy {
	min-width: 0;
	flex: 1;
}

.fbsp-smart__summary-copy strong,
.fbsp-smart__summary-copy span {
	display: block;
}

.fbsp-smart__summary-copy strong {
	font-size: 14px;
	color: #2c222a;
}

.fbsp-smart__summary-copy span {
	margin-top: 2px;
	color: #74666f;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fbsp-smart__edit {
	border: 0;
	background: transparent;
	color: #cc1774;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.fbsp-smart__footer {
	margin-top: 11px;
	animation: fbspSmartIn .25s ease both;
}

.fbsp-smart__choice,
.fbsp-smart__continue {
	width: 100%;
	min-height: 44px;
	border-radius: 10px;
	font-family: inherit;
	font-weight: 850;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.fbsp-smart__choice {
	border: 1px solid #cc1774;
	background: #fff;
	color: #cc1774;
}

.fbsp-smart__choice--primary,
.fbsp-smart__continue {
	border: 1px solid #cc1774;
	background: #cc1774;
	color: #fff;
}

.fbsp-smart__choice:hover,
.fbsp-smart__continue:not(:disabled):hover {
	transform: translateY(-1px);
	box-shadow: 0 7px 16px rgba(204, 23, 116, .16);
}

.fbsp-smart__continue:disabled {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
}

.fbsp-smart__hint {
	margin: 6px 0 0;
	text-align: center;
	font-size: 12px;
	color: #786a73;
}

.fbsp-smart__decision {
	margin-top: 11px;
	padding: 17px 14px;
	border: 1px solid #efbad5;
	border-radius: 14px;
	background: linear-gradient(180deg, #fff9fc 0%, #fff 100%);
	text-align: center;
	box-shadow: 0 8px 22px rgba(204, 23, 116, .08);
	animation: fbspSmartIn .3s ease both;
}

.fbsp-smart__celebrate {
	margin-bottom: 6px;
	font-size: 25px;
	line-height: 1;
}

.fbsp-smart__decision strong {
	display: block;
	font-size: 17px;
	color: #2c222a;
}

.fbsp-smart__decision p {
	margin: 4px 0 12px;
	font-size: 13px;
	color: #6d6068;
}

.fbsp-smart__decision-actions {
	display: grid;
	gap: 8px;
}

.fbsp-smart__complete {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 11px;
	padding: 14px;
	border: 1px solid #b9e5d8;
	border-radius: 13px;
	background: #f1fcf8;
	animation: fbspSmartIn .3s ease both;
}

.fbsp-smart__complete > span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #34b29c;
	color: #fff;
	font-size: 20px;
	font-weight: 900;
}

.fbsp-smart__complete strong,
.fbsp-smart__complete p {
	display: block;
	margin: 0;
}

.fbsp-smart__complete strong { color: #24483f; }
.fbsp-smart__complete p { margin-top: 2px; font-size: 12px; color: #517168; }

.fbsp-uploader.fbsp-smart-transition .fbsp-uploader__slots {
	animation: fbspSmartSwap .28s ease both;
}

@keyframes fbspSmartIn {
	from { opacity: 0; transform: translateY(7px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fbspSmartSwap {
	0% { opacity: .25; transform: translateX(8px); }
	100% { opacity: 1; transform: translateX(0); }
}

@media (max-width: 549px) {
	.fbsp-smart__active-card.is-active {
		padding: 10px;
		border-radius: 13px;
	}

	.fbsp-smart__progress {
		padding: 9px 10px;
	}

	.fbsp-smart__choice,
	.fbsp-smart__continue {
		min-height: 48px;
	}

	.fbsp-smart__option {
		min-height: 40px;
	}
}

/* Pair-aware cart and checkout summary. */
.fbsp-pair-summary{display:grid;gap:7px;margin-top:3px;max-width:100%}.fbsp-pair-summary__status{color:#23856d;font-size:12px;font-weight:700;line-height:1.35}.fbsp-pair-summary__list{display:grid;gap:5px}.fbsp-pair-summary__pair{display:grid;grid-template-columns:20px auto minmax(0,1fr);align-items:center;gap:7px;min-height:34px}.fbsp-pair-summary__number{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:#f7e8f0;color:#a8115f;font-size:11px;font-weight:800}.fbsp-pair-summary__photos{display:flex;align-items:center}.fbsp-pair-summary__photos img{width:32px!important;height:32px!important;margin:0 0 0 -6px!important;border:2px solid #fff!important;border-radius:7px!important;object-fit:cover!important;box-shadow:0 1px 3px rgba(0,0,0,.12)}.fbsp-pair-summary__photos img:first-child{margin-left:0!important}.fbsp-pair-summary__options{min-width:0;color:#4d5663;font-size:12px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}.fbsp-cart-item-data--pair-summary dt{font-weight:700}.fbsp-cart-item-data--pair-summary dd{margin-top:5px!important}@media(max-width:480px){.fbsp-pair-summary__pair{grid-template-columns:18px auto minmax(0,1fr);gap:6px}.fbsp-pair-summary__photos img{width:30px!important;height:30px!important}.fbsp-pair-summary__options{font-size:11.5px}}

/* FBS Smart Uploader 1.1.1 — mobile-only bundle card readability.
 * The bundle markup remains owned by the existing Conversion Cart renderer;
 * these presentation overrides load with Smart Uploader on eligible products. */
@media (max-width: 549px) {
	.fbscc-personalizer-start .fbscc-pack-options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(4px, 1.5vw, 7px);
		max-width: 100%;
		padding-top: 24px;
	}

	.fbscc-personalizer-start .fbscc-pack-option {
		width: 100%;
		min-width: 0;
		height: 136px;
		min-height: 136px;
		padding: 26px 3px 10px;
	}

	.fbscc-personalizer-start .fbscc-pack-option__banner {
		display: flex;
		align-items: center;
		justify-content: center;
		left: 1px;
		right: 1px;
		top: -17px;
		min-height: 34px;
		padding: 8px 0.5px;
		font-size: clamp(9px, 2.55vw, 10.75px);
		font-weight: 950;
		letter-spacing: -0.03em;
		line-height: 1;
		white-space: nowrap;
	}

	.fbscc-personalizer-start .fbscc-pack-option__title {
		margin-bottom: 5px;
		font-size: clamp(14px, 4vw, 16px);
		font-weight: 950;
		line-height: 1.05;
		white-space: nowrap;
	}

	.fbscc-personalizer-start .fbscc-pack-option__visual {
		max-width: 100%;
		margin-bottom: 6px;
		font-size: clamp(15px, 4.3vw, 18px);
		letter-spacing: -0.22em;
		line-height: 1;
		white-space: nowrap;
	}

	.fbscc-personalizer-start .fbscc-pack-option__price {
		max-width: 100%;
		font-size: clamp(13.5px, 3.8vw, 16px);
		font-weight: 950;
		line-height: 1.05;
		white-space: nowrap;
	}

	.fbscc-personalizer-start .fbscc-pack-option__price small {
		font-size: clamp(9px, 2.6vw, 10.5px);
		font-weight: 850;
	}

	.fbscc-personalizer-start .fbscc-pack-option__savings {
		margin-top: 5px;
		font-size: clamp(9px, 2.6vw, 10.5px);
		font-weight: 950;
		line-height: 1.05;
		white-space: nowrap;
	}
}

/* FBS Smart Uploader 1.1.2 — photo-required Add to Cart state.
 * The class is applied only to uploader-owned product forms; WooCommerce and
 * Conversion Cart buttons outside those forms are intentionally unaffected. */
.single_add_to_cart_button.fbsp-photo-required-disabled,
button[name="add-to-cart"].fbsp-photo-required-disabled {
	background: #b8b8b8 !important;
	border-color: #b8b8b8 !important;
	color: #fff !important;
	box-shadow: none !important;
	opacity: 0.72 !important;
	cursor: not-allowed !important;
	filter: grayscale(1);
	pointer-events: none;
}

.fbsp-photo-required-note {
	flex: 1 0 100%;
	width: 100%;
	margin: 6px 0 0;
	color: #6f6670;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
}

.fbsp-photo-required-note[hidden] {
	display: none !important;
}



/* FBS Smart Uploader 1.1.8 — left-shifted mobile live color preview with fully white image canvas. */
.fbsp-color-preview { display: none; }

@media (max-width: 767px) {
	/* Reserve horizontal room only. The absolutely positioned preview must not
	 * increase the color row height or create a gap before the Size selector. */
	tr.fbsp-color-preview-row td {
		position: relative;
		min-height: 0 !important;
		padding-right: 98px !important;
		padding-bottom: 2px !important;
	}

	.fbsp-color-preview {
		position: absolute;
		top: -28px;
		right: 58px;
		display: block;
		width: 84px;
		height: 84px;
		min-height: 0;
		padding: 5px;
		border: 1px solid rgba(204, 23, 116, .20);
		border-radius: 11px;
		background: #fff;
		box-shadow: 0 2px 9px rgba(44, 21, 34, .06);
		transform: none;
		box-sizing: border-box;
		z-index: 2;
	}

	.fbsp-color-preview[hidden] { display: none !important; }

	.fbsp-color-preview__image-wrap {
		position: relative;
		display: grid;
		place-items: center;
		width: 100%;
		height: 100%;
		overflow: hidden;
		background: #fff !important;
		isolation: isolate;
	}

	/* Some variation images contain pale side guide bars. White edge masks keep
	 * the preview canvas clean without cropping the centered sock product. */
	.fbsp-color-preview__image-wrap::before,
	.fbsp-color-preview__image-wrap::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 20px;
		background: #fff !important;
		z-index: 2;
		pointer-events: none;
	}

	.fbsp-color-preview__image-wrap::before { left: 0; }
	.fbsp-color-preview__image-wrap::after { right: 0; }

	.fbsp-color-preview__image {
		display: block;
		width: 82%;
		height: 82%;
		padding: 0;
		object-fit: contain;
		object-position: center;
		box-sizing: border-box;
		background: #fff !important;
		position: relative;
		z-index: 1;
	}

	/* The selected color is already shown in the Color heading. */
	.fbsp-color-preview__label { display: none !important; }

	.fbsp-color-preview.is-updating .fbsp-color-preview__image {
		animation: fbspColorPreviewFade 180ms ease both;
	}

	/* Guided 3/5-pair uploader has less horizontal room, so use a smaller card. */
	form.fbsp-smart-bundle-active tr.fbsp-color-preview-row td {
		min-height: 0 !important;
		padding-right: 74px !important;
		padding-bottom: 1px !important;
	}

	form.fbsp-smart-bundle-active .fbsp-color-preview {
		top: -22px;
		right: 42px;
		width: 62px;
		height: 62px;
		padding: 3px;
		border-radius: 9px;
	}

	form.fbsp-smart-bundle-active .fbsp-color-preview__image {
		width: 82%;
		height: 82%;
		padding: 0;
	}
}

@media (max-width: 374px) {
	tr.fbsp-color-preview-row td {
		padding-right: 88px !important;
	}

	.fbsp-color-preview {
		top: -25px;
		right: 48px;
		width: 76px;
		height: 76px;
		padding: 4px;
	}

	form.fbsp-smart-bundle-active tr.fbsp-color-preview-row td {
		padding-right: 67px !important;
	}

	form.fbsp-smart-bundle-active .fbsp-color-preview {
		top: -20px;
		right: 36px;
		width: 56px;
		height: 56px;
	}
}

@keyframes fbspColorPreviewFade {
	from { opacity: .25; transform: scale(.97); }
	to { opacity: 1; transform: scale(1); }
}
