/*
 * Mega menu (Elementor Pro "mega-menu" widget with class .wsb-mega) and the Brands logo grid.
 * Colours: ink #111, gold #FBB03B (the site's button colour), grey #666.
 */

/* Top-level items: gold underline on hover and on the current page. */
.wsb-mega .e-n-menu-title-container {
	border-bottom: 2px solid transparent;
	transition: border-color 150ms;
}

.wsb-mega .e-n-menu-title:hover .e-n-menu-title-container,
.wsb-mega .e-n-menu-title.e-current .e-n-menu-title-container,
.wsb-mega .e-n-menu-title.e-active .e-n-menu-title-container {
	border-bottom-color: #FBB03B;
}

/* Panel columns ------------------------------------------------------------------------------------------- */

.wsb-mm-col {
	font-size: 15px;
	line-height: 1.35;
}

.wsb-mm-heading {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ddd;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wsb-mm-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wsb-mm-list li {
	margin: 0 0 9px;
	padding: 0;
}

.wsb-mm-list a {
	color: #111;
	text-decoration: none;
}

.wsb-mm-list a:hover,
.wsb-mm-list a:focus {
	color: #111;
	text-decoration: underline;
	text-decoration-color: #FBB03B;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.wsb-mm-small {
	font-size: 13px;
	line-height: 1.5;
}

.wsb-mm-small a {
	color: #666;
}

.wsb-mm-dot {
	color: #999;
}

.wsb-mm-strong {
	margin-top: 12px;
}

.wsb-mm-strong a {
	font-weight: 700;
}

.wsb-mm-group {
	margin-top: 14px;
	color: #666;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Small dropdowns (About, Locations): a white box under the menu item instead of a full-width panel.
   The widget paints every dropdown container white by default; here only the box is white. */
.wsb-mega .e-n-menu-content > .e-con.wsb-mega-small {
	background-color: transparent;
}

.wsb-mega-small .wsb-mm-col {
	font-size: 15px;
}

/* Inside the phone/tablet accordion the panel becomes a plain stacked list. */
.e-n-menu[data-layout="dropdown"] .wsb-mm-col {
	padding: 6px 0 10px;
}

.e-n-menu[data-layout="dropdown"] .wsb-mega-box {
	margin-left: 0 !important;
}

/* The small dropdowns' transparent strip only makes sense on desktop; in the accordion the page showed through it. */
.wsb-mega .e-n-menu[data-layout="dropdown"] .e-n-menu-content > .e-con.wsb-mega-small {
	background-color: #fff;
}

/* "Shop all" / "All locations" at the top of a dropdown (added by menu.js): phone/tablet menu only. */
.wsb-mm-parent {
	display: none;
}

.e-n-menu[data-layout="dropdown"] .wsb-mm-parent {
	display: block;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

/* Brands page grid ---------------------------------------------------------------------------------------- */

.wsb-brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 20px;
	margin: 10px 0 40px;
}

.wsb-brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 16px;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	background: #fff;
	color: #111;
	text-align: center;
	text-decoration: none;
	transition: border-color 150ms, box-shadow 150ms;
}

.wsb-brand-card:hover,
.wsb-brand-card:focus {
	border-color: #FBB03B;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	color: #111;
	text-decoration: none;
}

.wsb-brand-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 90px;
}

.wsb-brand-card__img {
	max-width: 150px;
	max-height: 90px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.wsb-brand-card__initial {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.wsb-brand-card__name {
	font-size: 14px;
	font-weight: 600;
}

.wsb-brand-card--text .wsb-brand-card__name {
	display: none;
}
