/* Uzita Product Block — charte Uzita : rouge, bleu, Poppins */
.uzpb {
	--uzpb-red: #e63232;
	--uzpb-blue: #1d4fb8;
	--uzpb-ink: #1a1a1a;
	font-family: "Poppins", inherit, system-ui, sans-serif;
	color: var(--uzpb-ink);
}
.uzpb *, .uzpb *::before, .uzpb *::after { box-sizing: border-box; }

.uzpb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.uzpb-heading { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.25; }
.uzpb-btn {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	padding: 13px 28px; background: var(--uzpb-red); color: #fff;
	font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none;
	border-radius: 50px; transition: background-color .2s ease;
}
.uzpb-btn:focus-visible { outline: 2px solid var(--uzpb-ink); outline-offset: 3px; }

.uzpb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 20px; }

.uzpb-card { position: relative; display: flex; flex-direction: column; align-self: stretch; height: 100%; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #ececec; border-radius: 14px; }
.uzpb-media { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f6f6f6; }
.uzpb-media img {
	position: absolute !important;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	padding: 18px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.uzpb-fav {
	position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center;
	width: 38px; height: 38px; padding: 0; color: #555; background: rgba(255,255,255,.92);
	border: 0; border-radius: 50%; cursor: pointer; transition: color .2s ease, transform .15s ease;
}
.uzpb-fav:hover { color: var(--uzpb-red); }
.uzpb-fav:focus-visible { outline: 2px solid var(--uzpb-red); outline-offset: 2px; }
.uzpb-fav[aria-pressed="true"] { --uzpb-heart-fill: 1; color: var(--uzpb-red); }
.uzpb-fav:active { transform: scale(.88); }

.uzpb-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; background: var(--uzpb-red); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; border-radius: 999px; }

.uzpb-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
.uzpb-cat { font-size: 12px; color: #777; }
.uzpb-cat a { color: inherit; text-decoration: none; }
.uzpb-name { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.uzpb-name a { color: var(--uzpb-blue); text-decoration: none; transition: color .2s ease; }
.uzpb-price { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--uzpb-red); }
.uzpb-price del { margin-right: 6px; color: #999; font-weight: 400; }
.uzpb-price ins { text-decoration: none; color: inherit; }
.uzpb-cart { margin-top: 10px; }
.uzpb-cart .button {
	display: block; width: 100%; padding: 10px 14px; background: transparent; color: var(--uzpb-red);
	border: 1.5px solid var(--uzpb-red); border-radius: 50px; font-size: 13px; font-weight: 500;
	text-align: center; text-decoration: none; transition: background-color .2s ease, color .2s ease;
}
.uzpb-cart .button:hover { background: var(--uzpb-red); color: #fff; }
.uzpb-empty { padding: 24px 0; color: #777; }

@media (max-width: 767px) {
	.uzpb-head { margin-bottom: 18px; }
	.uzpb-heading { font-size: 19px; }
	.uzpb-btn { padding: 11px 18px; font-size: 13px; }
	.uzpb-body { padding: 12px 12px 14px; }
	.uzpb-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .uzpb * { transition: none !important; } }
