/* Vitrine PCNA — grille d'articles. La couleur d'accent se change avec --vpcna-accent. */
.vpcna-grille {
	--vpcna-accent: #92278f;
	--vpcna-bordure: #e6e6e6;
	--vpcna-doux: #6b6b6b;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 28px;
	margin: 0 0 2em;
}

.vpcna-carte {
	display: flex;
	flex-direction: column;
	background: #fff;
	color: #222;
	border: 1px solid var(--vpcna-bordure);
	border-radius: 8px;
	overflow: hidden;
}

.vpcna-photo {
	aspect-ratio: 1 / 1;
	background: #f6f6f6;
}

.vpcna-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vpcna-corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
}

.vpcna-corps p {
	margin: 0;
	padding: 0;
}

.vpcna-marque {
	color: var(--vpcna-doux);
	font-size: 0.8em;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.vpcna-carte .vpcna-nom {
	margin: 0;
	padding: 0;
	font-size: 1.05em;
	line-height: 1.3;
}

.vpcna-montant {
	color: var(--vpcna-accent);
	font-size: 1.4em;
	font-weight: 700;
}

.vpcna-unite,
.vpcna-note,
.vpcna-tailles,
.vpcna-ref {
	color: var(--vpcna-doux);
	font-size: 0.85em;
}

.vpcna-sur-demande {
	font-weight: 600;
}

.vpcna-pastilles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.vpcna-carte .vpcna-pastille {
	width: 26px;
	height: 26px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #bbb;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
}

.vpcna-carte .vpcna-pastille[aria-pressed="true"] {
	outline: 2px solid var(--vpcna-accent);
	outline-offset: 2px;
}

.vpcna-carte .vpcna-pastille:focus-visible {
	outline: 2px solid var(--vpcna-accent);
	outline-offset: 2px;
}

.vpcna-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
}

.vpcna-options-titre {
	width: 100%;
	font-size: 0.85em;
	font-weight: 600;
}

.vpcna-carte .vpcna-option {
	margin: 0;
	padding: 4px 10px;
	min-width: 0;
	background: #fff;
	color: #222;
	border: 1px solid #bbb;
	border-radius: 14px;
	box-shadow: none;
	font-size: 0.85em;
	line-height: 1.4;
	cursor: pointer;
}

.vpcna-carte .vpcna-option[aria-pressed="true"] {
	border-color: var(--vpcna-accent);
	box-shadow: inset 0 0 0 1px var(--vpcna-accent);
	color: var(--vpcna-accent);
	font-weight: 600;
}

.vpcna-carte .vpcna-option:focus-visible {
	outline: 2px solid var(--vpcna-accent);
	outline-offset: 2px;
}

.vpcna-lecteur {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vpcna-couleur {
	font-size: 0.9em;
	font-weight: 600;
}

.vpcna-stock {
	font-size: 0.9em;
}

.vpcna-details {
	margin-bottom: 8px;
}

.vpcna-details summary {
	cursor: pointer;
	font-size: 0.9em;
	font-weight: 600;
}

.vpcna-details p {
	margin-top: 0.6em;
	font-size: 0.9em;
	line-height: 1.5;
}

.vpcna-carte .vpcna-bouton {
	display: block;
	margin-top: auto;
	padding: 10px 14px;
	background: var(--vpcna-accent);
	color: #fff;
	border-radius: 4px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
}

.vpcna-carte .vpcna-bouton:hover,
.vpcna-carte .vpcna-bouton:focus {
	filter: brightness(0.9);
	color: #fff;
}
