/* Boucherie Villeneuve — feuille de style des composants sur mesure
   Palette tirée du logo officiel. Rouge D81E1A, ardoise, crème.
   Aucune dépendance externe. Fonctionne en clair et en sombre. */

:root {
	--bv-rouge: #d81e1a;
	--bv-rouge-vif: #e82822;
	--bv-rouge-sombre: #a81613;
	--bv-noir: #101012;
	--bv-ardoise: #1c1c20;
	--bv-ardoise-clair: #2a2a30;
	--bv-creme: #f5f1ea;
	--bv-creme-2: #e9e3d8;
	--bv-gris: #7d7d86;
	--bv-gris-clair: #c9c9d0;
	--bv-blanc: #ffffff;
	--bv-r: 4px;
	--bv-ombre: 0 1px 2px rgba(16,16,18,.06), 0 8px 24px rgba(16,16,18,.08);
	--bv-serif: "Lora", Georgia, "Times New Roman", serif;
	--bv-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.7em; border: 2px solid transparent; border-radius: var(--bv-r);
	font-family: var(--bv-sans); font-weight: 600; font-size: .95rem; line-height: 1;
	letter-spacing: .01em; text-decoration: none; cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.bv-btn-primaire { background: var(--bv-rouge); color: #fff; border-color: var(--bv-rouge); }
.bv-btn-primaire:hover { background: var(--bv-rouge-sombre); border-color: var(--bv-rouge-sombre); color: #fff; }
.bv-btn-fantome { background: transparent; color: var(--bv-noir); border-color: currentColor; }
.bv-btn-fantome:hover { background: var(--bv-noir); color: #fff; }
.bv-btn:active { transform: translateY(1px); }
.bv-btn[disabled] { opacity: .5; cursor: not-allowed; }

.bv-surtitre {
	font-family: var(--bv-sans); font-weight: 700; font-size: .78rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--bv-rouge); margin: 0 0 .5em;
}
.bv-lead { font-size: 1.12rem; line-height: 1.6; max-width: 62ch; }
.bv-note { font-size: .88rem; color: var(--bv-gris); line-height: 1.55; }

/* ---------------------------------------------------- prix et format */
.bv-prix-detail {
	margin: 1.1rem 0 1.4rem; padding: .9rem 1.1rem;
	background: var(--bv-creme); border-left: 3px solid var(--bv-rouge); border-radius: 0 var(--bv-r) var(--bv-r) 0;
}
.bv-prix-ligne { display: flex; justify-content: space-between; gap: 1.5rem; padding: .28rem 0; font-size: .95rem; }
.bv-prix-ligne .bv-lbl { color: var(--bv-gris); }
.bv-prix-ligne .bv-val { font-weight: 600; color: var(--bv-noir); font-variant-numeric: tabular-nums; }
.bv-prix-kg .bv-val { color: var(--bv-rouge); font-size: 1.05rem; }
.bv-poids-variable .bv-val { font-weight: 500; font-style: italic; color: var(--bv-gris); }

.bv-loop-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin: .25rem 0 .5rem; font-size: .8rem; }
.bv-loop-format { color: var(--bv-gris); }
.bv-loop-kg { color: var(--bv-rouge); font-weight: 600; font-variant-numeric: tabular-nums; }

.bv-badges { list-style: none; margin: .7rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.bv-badges li {
	font-size: .76rem; font-weight: 600; letter-spacing: .02em;
	padding: .38em .8em; border-radius: 999px;
	background: var(--bv-creme-2); color: var(--bv-noir);
}

/* ---------------------------------------------------- filtres */
.bv-filtres { background: var(--bv-creme); padding: 1.3rem 1.4rem; border-radius: var(--bv-r); margin-bottom: 2rem; }
.bv-filtres-titre { font-family: var(--bv-sans); font-weight: 700; text-transform: uppercase;
	letter-spacing: .12em; font-size: .78rem; color: var(--bv-noir); margin: 0 0 1rem; }
.bv-filtre-groupe { border: 0; padding: 0; margin: 0 0 1.1rem; }
.bv-filtre-groupe legend { font-weight: 600; font-size: .88rem; margin-bottom: .5rem; padding: 0; color: var(--bv-noir); }
.bv-puces { display: flex; flex-wrap: wrap; gap: .4rem; }
.bv-puce {
	display: inline-flex; align-items: center; gap: .45em; cursor: pointer;
	padding: .42em .85em; border: 1px solid var(--bv-creme-2); background: #fff;
	border-radius: 999px; font-size: .85rem; transition: all .15s ease;
}
.bv-puce:hover { border-color: var(--bv-rouge); }
.bv-puce input { position: absolute; opacity: 0; width: 0; height: 0; }
.bv-puce:has(input:checked), .bv-puce.est-actif { background: var(--bv-noir); color: #fff; border-color: var(--bv-noir); }
.bv-puce-n { font-size: .72rem; opacity: .6; font-variant-numeric: tabular-nums; }
.bv-prix-range { display: flex; gap: .8rem; align-items: center; font-size: .88rem; }
.bv-prix-range input { width: 5.5rem; padding: .4em .6em; border: 1px solid var(--bv-creme-2); border-radius: var(--bv-r); }
.bv-filtres-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }

.bv-usages ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; }
.bv-usages a {
	display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
	padding: .7em 1.2em; border: 1px solid var(--bv-creme-2); border-radius: var(--bv-r);
	font-weight: 600; font-size: .92rem; color: var(--bv-noir); background: #fff; transition: all .15s ease;
}
.bv-usages a:hover { background: var(--bv-noir); color: #fff; border-color: var(--bv-noir); }
.bv-usages a span { font-size: .75rem; opacity: .55; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------- configurateur */
.bv-conf { background: var(--bv-ardoise); color: var(--bv-creme); padding: clamp(2rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 3.5rem); border-radius: var(--bv-r); }
.bv-conf h2 { font-family: var(--bv-serif); font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; margin: 0 0 .6rem; color: #fff; }
.bv-conf .bv-lead { color: var(--bv-gris-clair); }
.bv-conf-intro { max-width: 60ch; margin-bottom: 2.4rem; }
.bv-conf-grille { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
@media (max-width: 860px) { .bv-conf-grille { grid-template-columns: 1fr; } }

.bv-conf-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--bv-r); padding: 1.5rem; }
.bv-champ { margin-bottom: 1.5rem; }
.bv-champ > label, .bv-champ legend { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .6rem; color: #fff; padding: 0; }
.bv-champ fieldset, fieldset.bv-champ { border: 0; padding: 0; margin: 0 0 1.5rem; }

.bv-stepper { display: flex; align-items: stretch; width: fit-content; border: 1px solid rgba(255,255,255,.16); border-radius: var(--bv-r); overflow: hidden; }
.bv-stepper button { width: 2.9rem; border: 0; background: rgba(255,255,255,.06); color: #fff; font-size: 1.25rem; cursor: pointer; line-height: 1; }
.bv-stepper button:hover { background: var(--bv-rouge); }
.bv-stepper input { width: 4rem; text-align: center; border: 0; background: transparent; color: #fff; font-size: 1.05rem; font-weight: 600; padding: .7rem 0; -moz-appearance: textfield; }
.bv-stepper input::-webkit-outer-spin-button, .bv-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bv-budget-wrap { display: flex; align-items: center; gap: 1rem; }
.bv-budget-wrap input[type=range] { flex: 1; accent-color: var(--bv-rouge); }
#bv-budget-out { font-size: 1.35rem; font-weight: 700; color: var(--bv-rouge-vif); font-variant-numeric: tabular-nums; min-width: 5ch; text-align: right; }

.bv-especes label, .bv-base label { display: flex; align-items: center; gap: .55em; font-size: .93rem; padding: .3rem 0; color: var(--bv-creme); cursor: pointer; }
.bv-especes input, .bv-base input { accent-color: var(--bv-rouge); width: 1.05em; height: 1.05em; }
.bv-repere { font-size: .84rem; color: var(--bv-gris-clair); margin: 0 0 1.1rem; line-height: 1.5; min-height: 1.2em; }
.bv-conf-form .bv-btn-primaire { width: 100%; }

.bv-conf-resultat { min-height: 18rem; }
.bv-conf-vide { border: 1px dashed rgba(255,255,255,.16); border-radius: var(--bv-r); padding: 2.5rem 1.6rem; text-align: center; color: var(--bv-gris-clair); }
.bv-conf-somm { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; padding: 1.3rem 1.5rem; background: rgba(255,255,255,.05); border-radius: var(--bv-r); margin-bottom: 1.2rem; }
.bv-somm-item .k { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bv-gris-clair); margin-bottom: .25rem; }
.bv-somm-item .v { font-size: 1.5rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.bv-somm-item.est-cle .v { color: var(--bv-rouge-vif); }

.bv-conf-lignes { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .55rem; }
.bv-conf-ligne { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center;
	padding: .75rem .9rem; background: rgba(255,255,255,.04); border-radius: var(--bv-r); }
.bv-conf-ligne img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.bv-conf-ligne .sansimg { width: 56px; height: 56px; border-radius: 3px; background: rgba(255,255,255,.07); }
.bv-conf-ligne a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.bv-conf-ligne a:hover { color: var(--bv-rouge-vif); }
.bv-conf-ligne .meta { display: block; font-size: .8rem; color: var(--bv-gris-clair); margin-top: .12rem; }
.bv-conf-ligne .prix { font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.bv-conf-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.bv-conf .bv-btn-fantome { color: #fff; }
.bv-conf .bv-btn-fantome:hover { background: #fff; color: var(--bv-noir); }
.bv-avert { font-size: .84rem; color: var(--bv-gris-clair); margin-top: 1rem; line-height: 1.55; }

/* ---------------------------------------------------- cueillette, réachat, ville */
.bv-cueillette { margin: 1.6rem 0; padding: 1.2rem 1.3rem; background: var(--bv-creme); border-radius: var(--bv-r); }
.bv-cueillette h3 { margin: 0 0 .5rem; font-size: 1.05rem; }

.bv-reachat-item { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
	padding: 1rem 1.2rem; border: 1px solid var(--bv-creme-2); border-radius: var(--bv-r); margin-bottom: .7rem; flex-wrap: wrap; }
.bv-reachat-item ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .88rem; color: var(--bv-gris); }

.bv-ville-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin: 1.6rem 0 2.4rem; }
.bv-ville-bloc { padding: 1.2rem 1.3rem; background: var(--bv-creme); border-radius: var(--bv-r); }
.bv-ville-bloc h3 { margin: 0 0 .6rem; font-size: 1rem; }
.bv-ville-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; }

.bv-coords { font-style: normal; display: grid; gap: .35rem; font-size: .95rem; }
.bv-coord { display: flex; align-items: center; gap: .6em; }
.bv-coord::before { content: ""; width: 1.05em; height: 1.05em; flex: 0 0 auto; background: var(--bv-rouge);
	-webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.bv-coord-lieu::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.bv-coord-tel::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.bv-coord-fb::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12a10 10 0 1 0-11.6 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.4v7A10 10 0 0 0 22 12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12a10 10 0 1 0-11.6 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.4v7A10 10 0 0 0 22 12z'/%3E%3C/svg%3E"); }

@media (prefers-color-scheme: dark) {
	.bv-prix-detail, .bv-filtres, .bv-cueillette, .bv-ville-bloc { background: var(--bv-ardoise-clair); }
	.bv-prix-ligne .bv-val, .bv-badges li { color: var(--bv-creme); }
	.bv-badges li { background: rgba(255,255,255,.08); }
	.bv-puce, .bv-usages a { background: var(--bv-ardoise); color: var(--bv-creme); border-color: rgba(255,255,255,.12); }
}
