/* ============================================================================
   Aavant Peptides — COA / Certificates library + per-PDP verify block.
   The cards use the ported Tailwind utilities (emerald/blue/gray pills) lifted
   verbatim from the source; this file only adds what Tailwind can't express:
   the certificate lightbox and a couple of scoped tweaks.
   ============================================================================ */

/* Card image is clickable (opens the lightbox). */
.av-coa-imgwrap { outline: none; }
.av-coa-imgwrap:focus-visible { box-shadow: inset 0 0 0 2px hsl(var(--primary)); }
.av-coa-view { border: 0; cursor: pointer; text-decoration: none; }

/* Empty-search state helper. */
.av-coa #av-coa-empty.hidden, #av-coa-empty.hidden { display: none; }

/* ---- Certificate lightbox ---- */
.av-coa-lightbox {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	padding: 4vh 4vw;
	background: rgba(29, 48, 38, .82);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.av-coa-lightbox[hidden] { display: none; }
.av-coa-lightbox-img {
	max-width: 100%; max-height: 92vh;
	object-fit: contain;
	border-radius: .75rem;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
	background: #fff;
}
.av-coa-lightbox-close {
	position: absolute; top: 1rem; right: 1rem;
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 9999px; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transition: background-color .2s ease;
}
.av-coa-lightbox-close:hover { background: rgba(255, 255, 255, .25); }

/* Per-PDP block spacing. */
.av-coa-pdp { border-top: 1px solid hsl(var(--border) / .5); padding-top: 2rem; }
