.np-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: #111;
	background: #fff;
	border: 1px solid #e6e6e6;
	text-decoration: none;
}

.np-card:hover .np-card__title,
.np-card:focus-visible .np-card__title {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.np-card:focus-visible {
	outline: 2px solid #111;
	outline-offset: 3px;
}

.np-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #ededed;
}

.np-card__img,
.np-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.np-card__nophoto {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #666;
	font-size: 0.85rem;
}

.np-card .np-grade {
	position: absolute;
	z-index: 1;
	top: 8px;
	left: 8px;
	gap: 4px;
	padding: 3px 6px 3px 4px;
	font-size: 0.7rem;
}

.np-card .np-grade__bar {
	width: 5px;
	height: 5px;
}

.box-text .np-grade {
	margin: 0 0 8px;
}

.np-grade {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px 4px 6px;
	background: rgba(255, 255, 255, 0.94);
	color: #111;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
}

.np-grade__bars {
	display: inline-flex;
	gap: 2px;
}

.np-grade__bar {
	width: 7px;
	height: 7px;
	background: #ddd;
}

.np-grade--1 .np-grade__bar.is-on { background: #e10600; }
.np-grade--2 .np-grade__bar.is-on { background: #f26a00; }
.np-grade--3 .np-grade__bar.is-on { background: #8fd14a; }
.np-grade--4 .np-grade__bar.is-on { background: #46b34a; }
.np-grade--5 .np-grade__bar.is-on { background: #00b140; }

.np-grade__num {
	font-variant-numeric: tabular-nums;
}

.np-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px;
}

.np-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 2.6em;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.np-card__fitment {
	color: #555;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.np-card__price {
	margin-top: auto;
	font-weight: 600;
}

.np-card__price .price,
.np-card__price .woocommerce-Price-amount {
	color: #111;
	font-size: 1rem;
	font-weight: 600;
}

.np-card__price del {
	color: #666;
	font-weight: 500;
}
