/* TTW Personalised - the buy box (the product page's right-hand column), CRO design v17, for every
   personalised product type (1.3.0). Everything is under body.ttwp-bb, which is only there when the buy
   box is switched on for the page (body.ttwp-bb-t--<type> says which type). */

.ttwp-bb {
	--ttwp-navy: #040728;
	--ttwp-purple: #7035ec;
	--ttwp-terra: #b87563;
	--ttwp-blush: #f8eeea;
	--ttwp-line: #eadfd9;
	--ttwp-muted: #5d5f74;
	--ttwp-star: #f39c34;
	--ttwp-sale: #1d7a45;
}

/* ---------- the theme's parts that the buy box replaces (kept in the page, not shown) ---------- */
.ttwp-bb .summary table.variations,
.ttwp-bb .summary .reset_variations,
.ttwp-bb .summary .single_variation_wrap .quantity,
.ttwp-bb .summary .single_variation_wrap .single_variation,
.ttwp-bb .summary .single_variation_wrap .woocommerce-variation-add-to-cart > .w-100 { display: none !important; }
.ttwp-bb .summary .single_variation_wrap .woocommerce-variation-add-to-cart {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}
/* REVIEWS.io's star widget: kept (it opens the reviews pop-up for "182 reviews"), not shown */
.ttwp-bb .summary > .ruk_rating_snippet {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}
.ttwp-bb .summary form.variations_form { margin: 0 !important; }

/* ---------- top: title, kind, rating, price ---------- */
.ttwp-bb .summary h1.ttwp-bb-title {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 33px !important; /* 1.6.1: +3px on the buy box's words (Peter chose option 3 of 3) - was 30/36 */
	font-weight: 500 !important;
	line-height: 39px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--ttwp-navy) !important;
}
.ttwp-bb .ttwp-bb-kind {
	margin: 2px 0 8px;
	font-size: 15px; /* 1.6.1 +3px (was 12/16) */
	line-height: 19px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ttwp-terra);
}
.ttwp-bb .ttwp-bb-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 7px;
	font-size: 17px; /* 1.6.1 +3px (was 14/20) */
	line-height: 23px;
	color: var(--ttwp-muted);
}
.ttwp-bb .ttwp-bb-stars {
	position: relative;
	display: inline-block;
	font-size: 18px; /* 1.6.1 +3px (was 15) */
	line-height: 1;
	letter-spacing: 2px;
	color: #e3d9d2;
	white-space: nowrap;
}
.ttwp-bb .ttwp-bb-stars-on {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: var(--ttwp-star);
}
.ttwp-bb .ttwp-bb-avg { color: var(--ttwp-muted); }
.ttwp-bb .ttwp-bb-reviews { color: var(--ttwp-muted) !important; text-decoration: underline !important; text-underline-offset: 2px; }
.ttwp-bb .ttwp-bb-reviews:hover { color: var(--ttwp-navy) !important; }
.ttwp-bb .ttwp-bb-happy .ttwp-bb-dot { margin-right: 7px; }

.ttwp-bb .ttwp-bb-price { margin: 12px 0 0; }
/* 1.6.0 (Peter: "should we put the currency. maybe at least at the top price"): "USD $99" where $ alone doesn't say which, as the checkout writes it */
.ttwp-bb .ttwp-bb-cur { margin-right: 6px; font-size: 16px; line-height: 34px; font-weight: 600; letter-spacing: .03em; color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-now { font-size: 28px; line-height: 34px; font-weight: 600; color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-was { margin-left: 10px; font-size: 19px; color: var(--ttwp-muted); text-decoration-thickness: 1.5px; }
.ttwp-bb .ttwp-bb-off {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 9px;
	border-radius: 99px;
	background: #e3f2e8;
	color: var(--ttwp-sale);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: 5px;
}
.ttwp-bb .ttwp-bb-was[hidden],
.ttwp-bb .ttwp-bb-off[hidden],
.ttwp-bb .ttwp-bb-bnpl[hidden] { display: none; }
/* a sale: the price in green (Peter, 23 Oct) */
.ttwp-bb .ttwp-bb-price.is-sale .ttwp-bb-now,
.ttwp-bb .ttwp-bb-price.is-sale .ttwp-bb-cur { color: var(--ttwp-sale); }
.ttwp-bb .ttwp-bb-bnpl { margin-top: 3px; font-size: 15px; line-height: 21px; color: var(--ttwp-muted); }
.ttwp-bb .ttwp-bb-bnpl b { font-weight: 600; color: var(--ttwp-navy); }

/* ---------- Proudly Knitted in America ---------- */
.ttwp-bb .ttwp-bb-facts {
	margin: 16px 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--ttwp-blush);
	color: var(--ttwp-navy);
}
.ttwp-bb .ttwp-bb-facts-h { font-size: 18px; font-weight: 600; line-height: 24px; color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-facts-l { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; line-height: 22px; }
.ttwp-bb .ttwp-bb-facts-l:first-child { margin-top: 0; } /* a type without a heading */
.ttwp-bb .ttwp-bb-facts-l li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ttwp-bb .ttwp-bb-facts-l li::before { content: none; }
.ttwp-bb .ttwp-bb-facts-l a { color: inherit !important; text-decoration: underline !important; text-decoration-color: #cdb9b0 !important; text-underline-offset: 3px; }
.ttwp-bb .ttwp-bb-ic { flex: none; width: 22px; height: 22px; }
.ttwp-bb .ttwp-bb-facts p { margin: 4px 0 0 !important; font-size: 14px; line-height: 20px; color: var(--ttwp-muted); }

/* ---------- size tiles, material cards ---------- */
.ttwp-bb .ttwp-bb-lbl {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 8px;
	font-size: 18px; /* 1.6.1 +3px (was 15/20) */
	font-weight: 500;
	line-height: 23px;
	color: var(--ttwp-navy);
}
.ttwp-bb .ttwp-bb-lbl--mat { margin-top: 16px; }
.ttwp-bb .ttwp-bb-lbl a.sz_guide {
	position: static !important; /* the theme places .sz_guide absolutely, for its own link beside Size */
	top: auto !important;
	right: auto !important;
	left: auto !important;
	display: inline !important;
	margin: 0 !important;
	font-size: 16px; /* 1.6.1 +3px (was 13) */
	font-weight: 400;
	color: var(--ttwp-navy) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}
.ttwp-bb .ttwp-bb-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ttwp-bb .ttwp-bb-sizes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* two sizes (embroidered): half each */
.ttwp-bb .ttwp-bb-mats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ttwp-bb .ttwp-bb-size,
.ttwp-bb .ttwp-bb-mat {
	box-sizing: border-box;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	border: 1.5px solid var(--ttwp-line) !important;
	border-radius: 9px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--ttwp-navy) !important;
	font-family: inherit !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	white-space: normal !important;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
.ttwp-bb .ttwp-bb-size {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	align-content: space-between;
	row-gap: 6px;
	column-gap: 6px;
	min-height: 64px;
	padding: 9px 11px !important;
	line-height: 1.25 !important;
}
/* 1.6.0 (Peter: "make the font of the pricing a little larger"): price 14 -> 16px, name 13 -> 14px, measurements 12 -> 13px;
   1.6.1 (Peter chose +3px, option 3 of 3): price 19px, name 17px, measurements 16px */
.ttwp-bb .ttwp-bb-size .nm { grid-column: 1 / 3; font-size: 17px; font-weight: 400; line-height: 20px; }
.ttwp-bb .ttwp-bb-size .dm { align-self: end; font-size: 16px; line-height: 22px; color: var(--ttwp-muted); white-space: nowrap; }
.ttwp-bb .ttwp-bb-size .pr { align-self: end; font-size: 19px; font-weight: 600; line-height: 22px; color: var(--ttwp-navy); white-space: nowrap; }
.ttwp-bb .ttwp-bb-size.is-sale .pr { color: var(--ttwp-sale); }
.ttwp-bb .ttwp-bb-mat {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	min-height: 58px;
	padding: 10px 12px !important;
	line-height: 1.3 !important;
}
.ttwp-bb .ttwp-bb-mat .nm { font-size: 16.5px; font-weight: 500; } /* 1.6.1 +3px like the size tiles (was 13.5) */
.ttwp-bb .ttwp-bb-mat .ds { margin-top: 3px; font-size: 15px; color: var(--ttwp-muted); } /* was 12 */
.ttwp-bb .ttwp-bb-size:hover,
.ttwp-bb .ttwp-bb-mat:hover { border-color: #cdbfb0 !important; }
.ttwp-bb .ttwp-bb-size.is-on,
.ttwp-bb .ttwp-bb-mat.is-on {
	border-color: var(--ttwp-purple) !important;
	background: #f6f1ff !important;
	outline: 1px solid var(--ttwp-purple);
	outline-offset: 0;
}
.ttwp-bb .ttwp-bb-size:focus-visible,
.ttwp-bb .ttwp-bb-mat:focus-visible { outline: 2px solid var(--ttwp-purple); outline-offset: 2px; }
.ttwp-bb .ttwp-bb-size.is-na { opacity: .45; cursor: not-allowed; }
.ttwp-bb .ttwp-bb-same { margin: 6px 0 0 !important; font-size: 15.5px; line-height: 21px; color: var(--ttwp-muted); } /* 1.6.1 +3px (was 12.5/18) */

/* one size (or tiles off): "Size: Newborn · 36 × 24 in", the Size guide link on the right */
.ttwp-bb .ttwp-bb-lbl--one { flex-wrap: wrap; column-gap: 12px; margin-bottom: 0; }
.ttwp-bb .ttwp-bb-one { font-size: 18px; font-weight: 400; color: var(--ttwp-muted); } /* 1.6.1 +3px like "Choose a size" (was 15) */
.ttwp-bb .ttwp-bb-one .nm { font-weight: 600; color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-one .dm { color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-one .dm[hidden] { display: none; }
.ttwp-bb .ttwp-bb-lbl--one + .ttwp-bb-lbl--mat { margin-top: 14px; }

/* ---------- Personalize & preview ---------- */
.ttwp-bb .ttwp-bb-cta { margin-top: 14px; }
.ttwp-bb .summary .ttwp-bb-btn {
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	max-width: 100% !important;
	height: 56px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ttwp-purple) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 19px !important; /* 1.6.1 +3px (was 16) */
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .03em !important;
	text-transform: none !important;
	cursor: pointer;
	transition: background-color .15s;
}
.ttwp-bb .summary .ttwp-bb-btn:hover { background: #5b2dc9 !important; }
.ttwp-bb .summary .ttwp-bb-btn:focus-visible { outline: 2px solid var(--ttwp-navy); outline-offset: 3px; }
.ttwp-bb .summary .ttwp-bb-btn img.hand { display: block; flex: none; width: auto !important; height: 15px !important; margin: 0 !important; }
.ttwp-bb .ttwp-bb-help { margin: 8px 0 0 !important; font-size: 16.5px; line-height: 23px; text-align: center; text-wrap: balance; color: var(--ttwp-muted); } /* 1.6.1 +3px (was 13.5/20); on phones it takes two even lines */

/* ---------- under the button: payment logos, delivery, the review ---------- */
.ttwp-bb .ttwp-bb-bottom { color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-pay { display: flex; justify-content: center; margin-top: 14px; }
.ttwp-bb .ttwp-bb-pay img { display: block; width: auto !important; max-width: 100%; height: 20px !important; }
.ttwp-bb .ttwp-bb-delivery { margin-top: 16px; }
.ttwp-bb .ttwp-bb-delivery .estimate-delivery { margin: 0 !important; }
.ttwp-bb .ttwp-bb-review { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding-top: 14px; }
.ttwp-bb .ttwp-bb-review img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ttwp-bb .ttwp-bb-review p { margin: 0 0 4px !important; font-size: 13.5px; line-height: 1.45; color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-by { font-size: 11px; letter-spacing: .12em; color: #8a8a9a; }
.ttwp-bb .ttwp-bb-by span { margin-left: 4px; font-size: 13px; letter-spacing: 2px; color: #f5b301; }

/* ---------- 1.4.0: colour swatches (the knitted blankets' Blanket Colour) ---------- */
.ttwp-bb .ttwp-bb-lbl--col { margin-bottom: 10px; }
.ttwp-bb .ttwp-bb-colname { font-size: 17px; font-weight: 400; color: var(--ttwp-muted); text-align: right; } /* 1.6.1 +3px (was 14) */
/* ten a row (the 40 colours: four even rows, as the page shows them today), eight on phones */
.ttwp-bb .ttwp-bb-cols {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
}
.ttwp-bb .ttwp-bb-col {
	box-sizing: border-box;
	position: relative;
	display: block !important;
	width: 100% !important;
	max-width: 48px !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	min-width: 0 !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--ttwp-sw, #fff) !important;
	box-shadow: inset 0 0 0 1px rgba(4, 7, 40, .16) !important; /* white and the palest colours still show their edge */
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	transition: box-shadow .15s, transform .15s;
}
.ttwp-bb .ttwp-bb-col:hover { transform: scale(1.06); }
.ttwp-bb .ttwp-bb-col.is-on {
	box-shadow: inset 0 0 0 1px rgba(4, 7, 40, .16), 0 0 0 2px #fff, 0 0 0 4px var(--ttwp-purple) !important;
}
.ttwp-bb .ttwp-bb-col:focus-visible { outline: 2px solid var(--ttwp-navy); outline-offset: 5px; }
/* not sold in the size (and material) picked: crossed out */
.ttwp-bb .ttwp-bb-col.is-na { opacity: .45; }
.ttwp-bb .ttwp-bb-col.is-na::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 4px;
	right: 4px;
	height: 1.5px;
	background: var(--ttwp-navy);
	transform: rotate(-45deg);
}
/* a colour without a swatch value: its name */
.ttwp-bb .ttwp-bb-col--txt {
	width: auto !important;
	max-width: none !important;
	aspect-ratio: auto;
	height: 34px !important;
	padding: 0 12px !important;
	border-radius: 99px !important;
	color: var(--ttwp-navy) !important;
	font-size: 13px !important;
	line-height: 34px !important;
	white-space: nowrap;
}
.ttwp-bb .ttwp-bb-cols:has(.ttwp-bb-col--txt) { display: flex; flex-wrap: wrap; }
/* "Please choose a colour." under the choice it is about */
.ttwp-bb .ttwp-bb-msg {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: -8px 0 14px !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: #b3261e;
}
.ttwp-bb .ttwp-bb-msg::before {
	content: "!";
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #b3261e;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.ttwp-bb .ttwp-bb-msg[hidden] { display: none; }
.ttwp-bb .ttwp-bb-sizes + .ttwp-bb-msg { margin-top: 8px !important; }
.ttwp-bb .ttwp-bb-cols.is-err { border-radius: 10px; box-shadow: 0 0 0 6px #fdf0ef; background: #fdf0ef; }
.ttwp-bb .ttwp-bb-sizes.is-err .ttwp-bb-size:not(.is-on) { border-color: #e7b4ae !important; }

/* ---------- 1.4.0: baby blankets by size - each tile goes to that size's own product ---------- */
.ttwp-bb a.ttwp-bb-size,
.ttwp-bb span.ttwp-bb-size {
	text-decoration: none !important;
	box-sizing: border-box;
	margin: 0 !important;
	border: 1.5px solid var(--ttwp-line) !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: var(--ttwp-navy) !important;
	font-family: inherit !important;
	text-align: left !important;
	transition: border-color .15s, background-color .15s;
}
.ttwp-bb a.ttwp-bb-size:hover { border-color: #cdbfb0 !important; }
.ttwp-bb a.ttwp-bb-size:focus-visible { outline: 2px solid var(--ttwp-purple); outline-offset: 2px; }
.ttwp-bb span.ttwp-bb-size.is-on {
	border-color: var(--ttwp-purple) !important;
	background: #f6f1ff !important;
	outline: 1px solid var(--ttwp-purple);
	outline-offset: 0;
	cursor: default;
}

/* ---------- 1.4.0: Add to cart products - the theme's own button, looking like ours ---------- */
.ttwp-bb.ttwp-bb-cart .summary .single_variation_wrap .woocommerce-variation-add-to-cart {
	display: block !important;
	width: 100% !important;
}
.ttwp-bb.ttwp-bb-cart .summary .single_variation_wrap .woocommerce-variation-add-to-cart > .w-100 {
	display: block !important;
	flex: none !important;
	order: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	position: static !important;
}
.ttwp-bb.ttwp-bb-cart .summary .single_add_to_cart_button {
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 56px !important;
	min-height: 0 !important;
	margin: 14px 0 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ttwp-purple) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 19px !important; /* 1.6.1 +3px (was 16) */
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .03em !important;
	text-transform: none !important;
	opacity: 1 !important; /* WooCommerce greys it until a variation is found - a tap then says what is missing */
	cursor: pointer !important;
	transition: background-color .15s;
}
.ttwp-bb.ttwp-bb-cart .summary .single_add_to_cart_button:hover { background: #5b2dc9 !important; }
.ttwp-bb.ttwp-bb-cart .summary .single_add_to_cart_button:focus-visible { outline: 2px solid var(--ttwp-navy); outline-offset: 3px; }
.ttwp-bb.ttwp-bb-cart .summary .single_add_to_cart_button img.hand { display: block; flex: none; width: auto !important; height: 15px !important; margin: 0 !important; }
.ttwp-bb.ttwp-bb-cart .summary .single_add_to_cart_button.loading,
.ttwp-bb.ttwp-bb-cart .summary .single_add_to_cart_button.ttwp-bb-wait { background: #8b5cf0 !important; cursor: progress !important; }
/* the stock line WooCommerce writes for a variation ("Only 2 left"), when the store keeps stock - not its price (ours is above) */
.ttwp-bb.ttwp-bb-cart .summary .single_variation_wrap .single_variation {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	top: 0 !important;
}
.ttwp-bb.ttwp-bb-cart .summary .single_variation .woocommerce-variation-price,
.ttwp-bb.ttwp-bb-cart .summary .single_variation .woocommerce-variation-description { display: none !important; }
.ttwp-bb.ttwp-bb-cart .summary .single_variation .woocommerce-variation-availability { margin: 6px 0 0 !important; font-size: 14px; }
.ttwp-bb.ttwp-bb-cart .summary .single_variation .woocommerce-variation-availability p { margin: 0 !important; }
.ttwp-bb.ttwp-bb-cart .summary .wc-no-matching-variations { display: none !important; } /* our own message says it */
.ttwp-bb .ttwp-bb-cta--cart .ttwp-bb-help { margin-top: 8px !important; }

/* ---------- 1.5.0: Newborn -> bassinet - the note under the sizes ---------- */
.ttwp-bb .ttwp-bb-up {
	margin: 10px 0 0;
	padding: 11px 14px 12px;
	border: 1px solid #e6dcfb;
	border-radius: 10px;
	background: #f7f3ff;
	color: var(--ttwp-navy);
}
.ttwp-bb .ttwp-bb-up[hidden],
.ttwp-bb .ttwp-bb-up [hidden] { display: none !important; }
.ttwp-bb .ttwp-bb-up-t { margin: 0 !important; padding: 0 !important; font-size: 13.5px; line-height: 20px; color: var(--ttwp-navy); }
.ttwp-bb .ttwp-bb-up-t b { font-weight: 600; }
.ttwp-bb .ttwp-bb-up-more b { color: #5b2dc9; }
.ttwp-bb .ttwp-bb-up .ttwp-bb-up-btn {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 8px 0 0 !important;
	padding: 7px 14px !important;
	border: 1.5px solid var(--ttwp-purple) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--ttwp-purple) !important;
	font-family: inherit !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 18px !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: normal !important;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.ttwp-bb .ttwp-bb-up .ttwp-bb-up-btn:hover { background: var(--ttwp-purple) !important; color: #fff !important; }
.ttwp-bb .ttwp-bb-up .ttwp-bb-up-btn:focus-visible { outline: 2px solid var(--ttwp-purple); outline-offset: 2px; }
.ttwp-bb .ttwp-bb-up + .ttwp-bb-lbl--mat { margin-top: 14px; }

/* ---------- 1.5.0: the reminder at the personaliser's Add to cart (a dialog over the page) ---------- */
.ttwp-up {
	box-sizing: border-box;
	width: min(440px, calc(100vw - 32px));
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	color: #040728;
}
.ttwp-up::backdrop { background: rgba(43, 32, 24, .55); }
.ttwp-up .ttwp-up-box {
	position: relative;
	box-sizing: border-box;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow: auto;
	padding: 26px 24px 20px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(20, 12, 6, .28);
	text-align: center;
	font-family: inherit;
}
.ttwp-up .ttwp-up-x {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f2ece2;
	box-shadow: none;
	color: #3b2a20;
	cursor: pointer;
}
.ttwp-up .ttwp-up-x:hover { background: #e8dfd2; }
.ttwp-up .ttwp-up-t {
	clear: none;
	margin: 4px 36px 0 !important;
	padding: 0 !important;
	font-family: inherit !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #040728 !important;
}
.ttwp-up .ttwp-up-t { text-wrap: balance; }
.ttwp-up .ttwp-up-t b { font-weight: 600; color: #5b2dc9; white-space: nowrap; }
.ttwp-up .ttwp-up-more { margin: 6px 0 0 !important; padding: 0 !important; font-size: 16px; line-height: 22px; color: #040728; }
.ttwp-up .ttwp-up-more b { font-weight: 700; color: #5b2dc9; }
.ttwp-up .ttwp-up-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; text-align: left; }
.ttwp-up .ttwp-up-card {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding: 12px 12px 13px;
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px #e7ddd1;
	background: #fff;
}
.ttwp-up .ttwp-up-card--bas { box-shadow: inset 0 0 0 2px #7035ec; background: #f7f3ff; }
.ttwp-up .ttwp-up-pic { display: flex; align-items: flex-end; height: 48px; margin: 0 0 6px; }
.ttwp-up .ttwp-up-pic i { display: block; border-radius: 3px; background: #f3e6de; box-shadow: inset 0 0 0 1px #dcc9bd; }
.ttwp-up .ttwp-up-card--bas .ttwp-up-pic i { background: #ede5ff; box-shadow: inset 0 0 0 1.5px #7035ec; }
.ttwp-up .ttwp-up-nm { font-size: 15px; font-weight: 600; line-height: 1.25; color: #040728; }
.ttwp-up .ttwp-up-dm { font-size: 13px; line-height: 1.3; color: #5d5f74; }
.ttwp-up .ttwp-up-pr { font-size: 15px; font-weight: 600; line-height: 1.3; color: #040728; }
.ttwp-up .ttwp-up-ln { margin-top: 3px; font-size: 13px; line-height: 1.4; color: #5d5f74; }
.ttwp-up .ttwp-up-card--bas .ttwp-up-ln { color: #040728; }
.ttwp-up .ttwp-up-btns { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 18px; }
.ttwp-up .ttwp-up-yes,
.ttwp-up .ttwp-up-no {
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
	margin: 0;
	border: 0;
	box-shadow: none;
	font-family: inherit;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
.ttwp-up .ttwp-up-yes {
	min-height: 52px;
	padding: 12px 20px;
	border-radius: 999px;
	background: #7035ec;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
}
.ttwp-up .ttwp-up-yes b { font-weight: 600; }
.ttwp-up .ttwp-up-yes:hover { background: #5b2dc9; }
.ttwp-up .ttwp-up-no {
	padding: 12px 20px;
	border-radius: 999px;
	background: transparent;
	color: #5d5f74;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ttwp-up .ttwp-up-no b { font-weight: 500; }
.ttwp-up .ttwp-up-no:hover { color: #040728; }
/* the theme rings and borders buttons on focus: here only the keyboard's ring */
.ttwp-up .ttwp-up-x,
.ttwp-up .ttwp-up-yes,
.ttwp-up .ttwp-up-no { border: 0 !important; }
.ttwp-up button:focus { outline: none !important; box-shadow: none !important; }
.ttwp-up button:focus-visible { outline: 2px solid #7035ec !important; outline-offset: 2px !important; }
.ttwp-up [hidden] { display: none !important; }

/* ---------- phones ---------- */
@media (max-width: 480px) {
	.ttwp-up .ttwp-up-box { padding: 22px 16px 14px; border-radius: 18px; }
	.ttwp-up .ttwp-up-t { margin: 2px 42px 0 !important; font-size: 20px !important; }
	.ttwp-up .ttwp-up-cards { gap: 8px; margin-top: 14px; }
	.ttwp-up .ttwp-up-card { padding: 10px 10px 11px; }
	.ttwp-up .ttwp-up-nm { font-size: 14px; }
	.ttwp-bb .ttwp-bb-cols { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; }
	.ttwp-bb .summary h1.ttwp-bb-title { font-size: 29px !important; line-height: 35px !important; } /* 1.6.1 +3px (was 26/32) */
	/* "50,000+ happy customers" on a line of its own (it would wrap anyway, starting with the dot) */
	.ttwp-bb .ttwp-bb-happy { flex-basis: 100%; }
	.ttwp-bb .ttwp-bb-rating .ttwp-bb-stars ~ .ttwp-bb-happy .ttwp-bb-dot { display: none; }
	.ttwp-bb .ttwp-bb-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttwp-bb .ttwp-bb-review { gap: 14px; }
}

/* ---------- 1.6.0: the product photos' arrows, quieter (Peter: "a bit more transparent. they are too prominent") ---------- */
.ttwp-bb .ttw-pgal-main .ttw-pgal-nav {
	background: rgba(255, 255, 255, .55) !important;
	color: rgba(4, 7, 40, .7) !important;
	box-shadow: none !important;
	transition: background-color .15s, color .15s, box-shadow .15s;
}
.ttwp-bb .ttw-pgal-main .ttw-pgal-nav:hover,
.ttwp-bb .ttw-pgal-main .ttw-pgal-nav:focus-visible {
	background: rgba(255, 255, 255, .95) !important;
	color: #040728 !important;
	box-shadow: 0 1px 4px rgba(4, 7, 40, .18) !important;
}
