/* Calca .cats-section/.cat-chip de propuesta-v2.html, con la imagen real de
   la categoría (WooCommerce → Miniatura) en vez de los emoji de ejemplo. */
/* margin-bottom: 40px, igual que .omega-hw-grid-seccion (Productos) --
   antes solo tenía padding:8px arriba/abajo y quedaba pegada a la sección
   siguiente (Marcas), sin el mismo respiro que el resto del home. */
.omega-hw-catalogo-categorias { padding: 8px 0; margin-bottom: 40px; }

.cats-title-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.section-eyebrow {
	font-family: Gotham, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0369A1;
	margin-bottom: 6px;
}
.section-heading {
	font-family: Gotham, sans-serif;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
}
.link-ver-todo {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: GothamBook, Gotham, sans-serif !important;
	font-size: 13px;
	font-weight: 600;
	color: #1e3a8a !important;
	text-decoration: none;
	white-space: nowrap;
	transition: gap 160ms;
}
@media (hover: hover) and (pointer: fine) {
	.link-ver-todo:hover { gap: 8px; color: #1e3a8a !important; }
}

.cats-scroll {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}
.cat-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 8px;
	background: #f1f5f9;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 160ms, background 160ms, transform 180ms cubic-bezier(0.23,1,0.32,1);
}
@media (hover: hover) and (pointer: fine) {
	.cat-chip:hover {
		border-color: #1e3a8a;
		background: rgba(30,58,138,0.04);
		transform: translateY(-2px);
	}
}
.cat-chip:active { transform: scale(0.96); }
.cat-chip-icon { display: flex; align-items: center; justify-content: center; line-height: 1; }
.cat-chip-icon img { width: 28px; height: 28px; object-fit: contain; }
.cat-chip-name {
	font-family: GothamBook, Gotham, sans-serif !important;
	font-size: 11px;
	font-weight: 600;
	color: #334155 !important;
	line-height: 1.3;
}

/* Aviso visible solo para admins logueados (manage_woocommerce) cuando una
   categoría elegida en el repeater todavía no tiene Miniatura subida — el
   público nunca ve esta tarjeta, omega_hw_get_categoria_chip() la omite. */
.cat-chip-sin-imagen {
	border-style: dashed;
	border-color: #f59e0b;
	background: #fffbeb;
	cursor: help;
}
.cat-chip-icon-vacio { font-size: 22px; }
.cat-chip-sin-imagen .cat-chip-name em {
	display: block;
	margin-top: 2px;
	font-style: normal;
	font-size: 10px;
	color: #b45309 !important;
}

@media (max-width: 992px) {
	.cats-scroll { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
	.cats-scroll { grid-template-columns: repeat(3, 1fr); }
}
