/* Big Box Tile Updates – front end (site colours: teal #3d8aa4, light blue #ecf3f4 / #d8e8eb, text #242424 / #616161) */

/* 1. backordered price */
.bbt-backorder-price {
	margin: 14px 0 6px;
	font-size: 22px;
	line-height: 1.3;
	color: #242424;
}
.bbt-backorder-price__label {
	display: block;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #616161;
}
.bbt-backorder-price__value { font-weight: 700; color: #3d8aa4; }
.bbt-backorder-price__unit { font-size: 14px; color: #616161; }

/* 2. images: right-click save is handled in bbt-updates.js (no download button) */

/* 4. size filter: once the form has the new "Size" field, the old "Size Family" stays hidden
      unless a menu link selected it. Without a "Size" field, "Size Family" stays visible as before. */
.searchandfilter.bbt-has-size .sf-field-taxonomy-pa_size-family { display: none !important; }
.searchandfilter.bbt-has-size .sf-field-taxonomy-pa_size-family.bbt-sf-active { display: block !important; }

/* 5. search */
.search-form .container { position: relative; }
.bbt-suggest {
	position: absolute;
	left: 15px;
	right: 15px;
	top: 100%;
	z-index: 1000;
	max-width: 560px;
	background: #fff;
	border: 1px solid #d8e8eb;
	box-shadow: 0 10px 30px rgba(36, 36, 36, .12);
	max-height: 70vh;
	overflow-y: auto;
	text-align: left;
}
.bbt-suggest__note { padding: 10px 14px 4px; font-size: 13px; color: #616161; }
.bbt-suggest__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	color: #242424;
	text-decoration: none;
}
.bbt-suggest__item:hover,
.bbt-suggest__item.is-active { background: #ecf3f4; }
.bbt-suggest__img { flex: 0 0 44px; width: 44px; height: 44px; background: #ecf3f4; overflow: hidden; }
.bbt-suggest__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbt-suggest__text { display: flex; flex-direction: column; min-width: 0; }
.bbt-suggest__title { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbt-suggest__sub { font-size: 12px; color: #616161; }
.bbt-suggest__all {
	display: block;
	padding: 12px 14px;
	border-top: 1px solid #d8e8eb;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	color: #3d8aa4;
	text-decoration: none;
}
.bbt-suggest__all:hover,
.bbt-suggest__all.is-active { background: #ecf3f4; }
.bbt-search-note { text-align: center; color: #616161; margin: -10px 0 30px; font-size: 15px; }
.bbt-search-note strong { color: #3d8aa4; }

@media (max-width: 640px) {
	.bbt-suggest { left: 16px; right: 16px; max-width: none; }
	.bbt-backorder-price { font-size: 20px; }
}

/* 4b. size groups: sizes grouped under another size are not listed on their own */
.sf-field-taxonomy-pa_size li.bbt-size-member { display: none !important; }

/* header menu: "Products" is a plain link to the catalog (no dropdown, arrow or "+") */
li.products-mm.bbt-products-link > .nav-dropdown,
li.products-mm.bbt-products-link > .sub-icon { display: none !important; }
li.products-mm.bbt-products-link::before { display: none !important; }
