.hero-suggest {
	clear: both;
	margin: 32px 0;
}

/* Fallback spot after an Elementor single template: a child of BuddyBoss's flex row, so it needs its own row. */
.site-content-grid > .hero-suggest {
	box-sizing: border-box;
	flex: 0 0 100%;
	margin: 32px auto;
	max-width: 1240px;
	padding: 0 20px;
}

.woocommerce .cart-collaterals .hero-suggest.cross-sells {
	margin-top: 0;
}

.hero-suggest .hero-suggest__heading {
	font-size: 20px;
	margin: 0 0 16px;
}

.hero-suggest__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero-suggest__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	min-width: 0;
}

.hero-suggest__image img {
	aspect-ratio: 1;
	border-radius: 8px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.hero-suggest__name {
	font-weight: 600;
	line-height: 1.3;
}

.hero-suggest .hero-suggest__price {
	font-size: 15px;
}

.hero-suggest__attribute {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hero-suggest .hero-suggest__option {
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 6px;
	color: inherit;
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
	min-height: 36px;
	min-width: 40px;
	padding: 8px 10px;
}

.hero-suggest .hero-suggest__option[aria-pressed="true"] {
	background: #111;
	border-color: #111;
	color: #fff;
}

.hero-suggest .hero-suggest__option.is-low:not([aria-pressed="true"]) {
	border-style: dashed;
}

.hero-suggest .hero-suggest__option.is-sold-out,
.hero-suggest .hero-suggest__option:disabled {
	cursor: not-allowed;
	opacity: 0.35;
	text-decoration: line-through;
}

.hero-suggest .hero-suggest__add {
	margin-top: auto;
	width: 100%;
}

.hero-suggest .hero-suggest__add:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.hero-suggest__status {
	font-size: 13px;
	line-height: 1.4;
	min-height: 1.4em;
}

.hero-suggest__status.is-hint {
	opacity: 0.7;
}

.hero-suggest__status.is-added {
	color: #0a7d3e;
	font-weight: 600;
}

.hero-suggest__status.is-error {
	color: #e02424;
}

@media (max-width: 544px) {
	.hero-suggest__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.woocommerce .cart-collaterals .hero-suggest.cross-sells {
		float: none;
		width: 100%;
	}
}
