@font-face {
	font-family: "Cormorant Garamond Preview";
	src: url("../fonts/CormorantGaramondVariable.woff2") format("woff2");
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
}

.bb-shopitem-personalization .bb-shopitem-personalization-style {
	min-height: 44px;
	grid-template-rows: auto;
	align-items: center;
}

.bb-personalization-garment {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid #ded7d2;
	border-radius: 8px;
}

.bb-personalization-garment[hidden],
.bb-personalization-garment [hidden] {
	display: none !important;
}

.bb-personalization-garment h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.bb-personalization-visual {
	position: relative;
	width: min(100%, 260px);
	margin: 8px auto 0;
}

.bb-personalization-visual img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.bb-personalization-zone {
	position: absolute;
	left: var(--name-x);
	top: var(--name-y);
	width: var(--name-width);
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.bb-personalization-name {
	display: inline-block;
	flex: none;
	white-space: nowrap;
	line-height: 1.25;
	color: #C68C78;
	font-family: parisienne, cursive;
	font-weight: 400;
	font-style: normal;
	font-synthesis: none;
	letter-spacing: 0;
}

.bb-personalization-name.is-classique {
	font-family: "Cormorant Garamond Preview", serif;
	font-weight: 600;
	letter-spacing: .04em;
}

.bb-personalization-unavailable {
	margin: 16px 0 0;
}

.cb-cart-page .cb-product-cart-row .cart_img.bb-personalization-cart-image {
	width: 250px;
	max-width: 100%;
	height: auto;
	aspect-ratio: auto;
}

.cb-cart-page .bb-personalization-cart-image .bb-personalization-visual {
	width: 100%;
	margin: 0;
}

.cb-cart-page .cb-product-cart-row .bb-personalization-cart-image img {
	height: auto;
	object-fit: contain;
}

@media (max-width: 575px) {
	.bb-personalization-garment {
		padding: 12px;
	}
	.bb-personalization-visual {
		width: min(100%, 300px);
	}
}
