/**
 * MAC Makeup Eyeshadow Combinations — front-end restyle.
 * Covers the [a2z-eyeshadow] letter strip and the card layout used by
 * [listing-eyeshadow] (both the letter-browse and search results).
 * Loaded after mmc.css (see MMC_Plugin::enqueue_front_end_assets()) so it
 * can safely override it.
 */

/* ---------- A-Z letter strip ---------- */

.eyeshadow-a2z p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.eyeshadow-a2z span {
	display: inline-block;
}

.eyeshadow-a2z span a,
.eyeshadow-a2z span.no-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 20px;
	text-decoration: none;
	background: #f1e2db;
	color: #8a5c50;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.eyeshadow-a2z span a:hover {
	background: #e6cec2;
}

.eyeshadow-a2z span.no-link {
	opacity: 0.5;
	cursor: default;
}

.eyeshadow-a2z span.current a,
.eyeshadow-a2z span.current.no-link {
	background: #5c3a37;
	color: #fff;
}

/* ---------- Collection cards ---------- */

.eyeshadow-combos {
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

.eyeshadow-combo-card {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.1 );
}

.eyeshadow-combo-card__header {
	background: #6d4340;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	padding: 12px 20px;
}

.eyeshadow-combo-card__body {
	padding: 4px 20px;
}

.eyeshadow-combo-card__body p {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
}

.eyeshadow-combo-card__body p:last-child {
	border-bottom: none;
}

#eyeshadow-no-items {
	font-size: 18px;
	color: #6d4340;
}
