/* Mention affichée à la place du bouton de commande d'un produit non commandable en ligne. */
.vpccp-mention {
	display: inline-block;
	margin: 0 0 1.5em;
	padding: 0.6em 1.1em;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Prix livré (par défaut) ou sur place, selon le mode choisi par le client. */
.vpccp-prix-place,
html.vpccp-mode-place .vpccp-prix-livre {
	display: none;
}

html.vpccp-mode-place .vpccp-prix-place {
	display: inline;
}

.vpccp-prix-mode {
	margin-inline-start: 0.25em;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	opacity: 0.85;
}

.vpccp-tarifs[hidden],
.vpccp-mode[hidden] {
	display: none !important;
}

/* Interrupteur Livré / Sur place. */
.vpccp-tarifs {
	margin: 0 0 1.2em;
	width: 100%;
}

.vpccp-mode {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7em;
	margin: 0 0 0.8em;
}

.vpccp-mode-titre {
	font-weight: 600;
}

.vpccp-bascule {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	border-radius: 999px;
	background: #e5e5ea;
	white-space: nowrap;
}

.vpccp-bascule .vpccp-bascule-choix {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0.35em 0.95em;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #3a3a3c;
	font: inherit;
	font-size: 0.92em;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vpccp-bascule .vpccp-bascule-choix[aria-checked="true"] {
	background: #34c759;
	color: #fff;
	font-weight: 600;
}

.vpccp-bascule .vpccp-bascule-choix[data-vpccp-mode="livre"][aria-checked="true"]::after,
.vpccp-bascule .vpccp-bascule-choix[data-vpccp-mode="place"][aria-checked="true"]::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.vpccp-bascule .vpccp-bascule-choix:focus-visible {
	outline: 2px solid #34c759;
	outline-offset: 2px;
}

/* Grille de remises. */
.vpccp-grille-titre {
	margin: 0 0 0.4em;
	font-weight: 600;
}

.vpccp-grille-table {
	width: 100%;
	margin: 0 0 0.6em;
	border-collapse: collapse;
	font-size: 0.95em;
}

.vpccp-grille-table th,
.vpccp-grille-table td {
	padding: 0.45em 0.6em;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
	vertical-align: middle;
}

/* La grille s'affiche dans le formulaire d'achat, ou Blocksy retire le retrait de la premiere colonne
   (form.cart td:first-child) : le texte de la ligne surlignee touchait son trait. */
table.vpccp-grille-table tr > th:first-child,
table.vpccp-grille-table tr > td:first-child {
	padding-inline-start: 0.9em;
}

/* Chiffres en police systeme : le « 1 » de la police du site (Marvel) n'est qu'un trait, peu lisible. */
.vpccp-grille-table td,
.vpccp-total {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: normal;
}

.vpccp-grille-table th {
	font-size: 0.85em;
	font-weight: 600;
	opacity: 0.75;
}

.vpccp-grille-table tr.est-courant td {
	background: #f6d7d0;
	font-weight: 600;
}

.vpccp-grille-table tr.est-courant td:first-child {
	box-shadow: inset 3px 0 0 #ff4a1c;
}

.vpccp-grille-table del {
	opacity: 0.55;
	font-weight: 400;
}

.vpccp-badge {
	display: inline-block;
	margin: 0.1em 0.3em 0.1em 0;
	padding: 0.12em 0.55em;
	border-radius: 999px;
	background: #34c759;
	color: #fff;
	font-size: 0.8em;
	font-weight: 600;
	white-space: nowrap;
}

.vpccp-badge-envoi {
	background: #ff4a1c;
}

/* « Livraison offerte » : sur la ligne de l'interrupteur, poussé à droite, avec de l'air autour du texte. */
.vpccp-mode .vpccp-mode-envoi {
	margin: 0 0 0 auto;
	padding: 0.3em 1em;
}

.vpccp-mode-envoi[hidden] {
	display: none !important;
}

.vpccp-total {
	margin: 0 0 0.4em;
}

/* Panier et paiement : ligne « Réception ». */
.vpccp-ligne-mode td {
	vertical-align: middle;
}
