/* Styletodo Bought Together — product page box. Colours match the site (dark / gold). */

.str-fbt {
	margin: 28px 0 0;
	padding: 22px 22px 18px;
	border: 1px solid #2B2721;
	background: #120F06;
	color: #ECE5D5;
	font-family: "Manrope", sans-serif;
}
.str-fbt.is-busy { opacity: .6; pointer-events: none; }

.str-fbt__title {
	margin: 0 0 6px !important;
	font-family: "Cormorant Garamond", serif !important;
	font-size: 22px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: #ECE5D5 !important;
}
.str-fbt__note { margin: 0 0 6px; font-size: 12px; color: #C9A227; }

.str-fbt__list { margin: 8px 0 0 !important; padding: 0 !important; list-style: none !important; }
.str-fbt__row {
	display: grid;
	grid-template-columns: 20px 52px 1fr auto;
	align-items: center;
	gap: 14px;
	margin: 0 !important;
	padding: 14px 0;
	border-bottom: 1px solid #2B2721;
}
.str-fbt__row.is-main { opacity: .62; }

/* Tick box */
.str-fbt__tick { position: relative; display: block; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.str-fbt__check { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.str-fbt__box { position: absolute; inset: 0; border: 1px solid #5E584C; background: transparent; transition: border-color .2s, background .2s; }
.str-fbt__check:checked + .str-fbt__box { border-color: #C9A227; background: #C9A227; }
.str-fbt__check:checked + .str-fbt__box::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #0C0B09;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.str-fbt__check:focus-visible + .str-fbt__box { box-shadow: 0 0 0 2px #120F06, 0 0 0 3px #C9A227; }
.str-fbt__check:disabled { cursor: default; }

.str-fbt__img { display: block; width: 52px; }
.str-fbt__img img { display: block; width: 100%; height: auto; margin: 0 !important; }
.str-fbt__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.str-fbt__name { color: #ECE5D5 !important; font-size: 13.5px; font-weight: 500; text-decoration: none !important; }
.str-fbt__name:hover { color: #C9A227 !important; }
.str-fbt__this { color: #988F7E; font-size: 12px; }
.str-fbt__price { font-size: 13.5px; font-weight: 600; color: #ECE5D5; white-space: nowrap; text-align: right; }
.str-fbt__price del { display: block; color: #988F7E; font-weight: 400; font-size: 12px; }
.str-fbt__price ins { text-decoration: none; color: #C9A227; }

/* Smart pickers: Size and Colour side by side */
.str-fbt__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 320px; margin-top: 2px; }
.str-fbt__opts[hidden] { display: none; }
.str-fbt__opt { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.str-fbt__opt > span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #988F7E; }
.str-fbt__attr {
	width: 100%;
	padding: 7px 8px !important;
	border: 1px solid #3A352C !important;
	border-radius: 0 !important;
	background: #0C0B09 !important;
	color: #ECE5D5 !important;
	font: 500 12.5px "Manrope", sans-serif !important;
}
.str-fbt__attr:focus { border-color: #C9A227 !important; outline: 0; }
.str-fbt__attr option:disabled { color: #5E584C; }

.str-fbt__choice {
	width: 100%;
	max-width: 220px;
	padding: 6px 8px !important;
	border: 1px solid #3A352C !important;
	border-radius: 0 !important;
	background: #0C0B09 !important;
	color: #ECE5D5 !important;
	font: 500 12px "Manrope", sans-serif !important;
}
.str-fbt__choice[hidden] { display: none; }
.str-fbt__choice:focus { border-color: #C9A227 !important; outline: 0; }

.str-fbt__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.str-fbt__count { display: block; font-size: 12px; color: #988F7E; }
.str-fbt__total { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; color: #ECE5D5; }
.str-fbt__add {
	padding: 13px 26px !important;
	border: 1px solid #C9A227 !important;
	border-radius: 0 !important;
	background: #C9A227 !important;
	color: #0C0B09 !important;
	font: 600 12px "Manrope", sans-serif !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.str-fbt__add:hover, .str-fbt__add:focus-visible { background: transparent !important; color: #C9A227 !important; outline: 0; }
.str-fbt__msg { margin: 10px 0 0; font-size: 12px; color: #E8B3A4; }
.str-fbt__msg:empty { display: none; }

@media (max-width: 480px) {
	.str-fbt { padding: 18px 16px 14px; }
	.str-fbt__row { grid-template-columns: 20px 44px 1fr; gap: 10px; }
	.str-fbt__img { width: 44px; }
	.str-fbt__price { grid-column: 3; text-align: left; }
	.str-fbt__price del { display: inline; margin-right: 6px; }
	.str-fbt__foot { flex-direction: column; align-items: stretch; }
	.str-fbt__add { width: 100%; }
}
