/*
 * מקטע עמוד הבית "הציוד שאנחנו מתאמנים איתו" בלבד.
 *
 * נטען רק ב-is_front_page() (EA_Catalog_Home::enqueue_assets) — לכן לא
 * מסתמך על public/css/catalog.css (נטען רק בעמודי הקטלוג עצמם) ומגדיר
 * מחדש כפתור מינימלי, באותו תיקון ניגודיות בדיוק: #c2410c ולא
 * var(--es-orange), מאותה סיבה שתועדה ב-catalog.css.
 *
 * .container / .section-label / .section-title / .section-subtitle הם
 * מחלקות theme קיימות, לא מוגדרות כאן מחדש.
 */

.es-catalog-home { background: var(--es-white); padding: 64px 24px; }

.es-catalog-home__featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-top: 40px;
	padding: 24px;
	border: 1px solid var(--es-border-2);
	border-radius: var(--es-radius-lg, 16px);
}
.es-catalog-home__featured-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--es-radius, 10px);
}
.es-catalog-home__featured-tag {
	display: inline-block;
	font-family: var(--es-font-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--es-orange-text);
	margin-bottom: 8px;
}
.es-catalog-home__featured-body h3 { color: var(--es-navy); margin: 0 0 12px; }
.es-catalog-home__featured-body p { color: var(--es-gray); margin: 0 0 20px; }

.es-catalog-home__cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
}
.es-catalog-home__cat {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	border-radius: var(--es-radius, 10px);
	overflow: hidden;
	border: 1px solid var(--es-border-2);
	transition: box-shadow var(--es-transition), transform var(--es-transition);
}
.es-catalog-home__cat:hover { box-shadow: var(--es-shadow); transform: translateY(-4px); }
.es-catalog-home__cat-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.es-catalog-home__cat-media img { width: 100%; height: 100%; object-fit: cover; }
.es-catalog-home__cat-name {
	padding: 14px 12px;
	text-align: center;
	color: var(--es-navy);
	font-weight: 700;
}

.es-catalog-home__cta { text-align: center; margin-top: 40px; }

.es-catalog-home .es-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	border-radius: 100px;
	border: 2px solid transparent;
	font-weight: 700;
	text-decoration: none;
	transition: all var(--es-transition);
}
.es-catalog-home .es-btn-fill { background: #c2410c; color: var(--es-white); }
.es-catalog-home .es-btn-fill:hover { background: #9a3412; color: var(--es-white); }
.es-catalog-home .es-btn-outline { background: transparent; color: var(--es-navy); border-color: var(--es-border-2); }
.es-catalog-home .es-btn-outline:hover { border-color: var(--es-orange); color: var(--es-orange-2); }

@media (max-width: 860px) {
	.es-catalog-home__featured { grid-template-columns: 1fr; }
	.es-catalog-home__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
	.es-catalog-home__cats { grid-template-columns: 1fr; }
}
