/**
 * HEU Companion Products Frontend Styles
 *
 * Styles for the companion products section on the frontend.
 *
 * @package HEU_Admin
 * @version 1.0.0
 */

.heu-companion-products {
	margin: 2rem 0;
	padding: 0;
}

.heu-companion-products h2 {
	margin-bottom: 1rem;
	font-size: 1rem;
	color: #472711;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.heu-companion-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.heu-companion-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow 0.2s;
}

.heu-companion-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.heu-companion-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.heu-companion-thumb {
	position: relative;
	overflow: hidden;
}

.heu-companion-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.heu-oos-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #c0392b;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 3px;
}

.heu-companion-title {
	margin: 0.75rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: #23282d;
}

@media screen and (max-width: 768px) {
	.heu-companion-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 480px) {
	.heu-companion-grid {
		grid-template-columns: 1fr;
	}
}
