/**
 * Boutique — la page dessinée par Claude Design (Chemin d'achat, § 05).
 *
 * Ce que la boutique peut dire, et rien de plus : nom, initiale ou avatar,
 * vérification SIRET, description, compte de produits, compte d'avis,
 * direct en cours. Le vide est franc — « tout est là » plutôt qu'une
 * grille qui laisse croire qu'on a coupé la suite.
 *
 * La barre du haut vit dans css/barre.css — aucune règle .nav* ni .fy-outil*
 * ici, elle reprendrait le dessus.
 */

body {
  background: var(--fy-nuit, #07071a);
  color: var(--fy-encre, #f2f1f7);
  font-family: var(--font-body, 'Instrument Sans', system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; min-height: 100dvh;
}
*, *::before, *::after { box-sizing: border-box; }

.bo-page { max-width: 1280px; margin: 0 auto; padding: 34px 32px 56px; }

/* ── L'en-tête de l'atelier ──────────────────────────────────────── */
.bo-tete {
  display: flex; align-items: flex-start; gap: 24px;
  padding-bottom: 30px; margin-bottom: 34px;
  border-bottom: 1px solid var(--fy-bord, rgba(255,255,255,.08));
}
.bo-avatar {
  width: 84px; height: 84px; flex: none; border-radius: 20px; overflow: hidden;
  background: var(--fy-surface, #14142e); border: 1px solid rgba(139, 123, 255, .35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 2.4rem; color: var(--fy-violet, #8b7bff);
}
.bo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bo-corps { flex: 1; min-width: 0; }
.bo-nom-ligne { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.bo-nom-ligne h1 {
  margin: 0;
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 2.25rem; font-weight: 400;
}
.bo-verifie {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  border-radius: 8px; background: rgba(92, 214, 232, .1);
  border: 1px solid rgba(92, 214, 232, .25);
  color: var(--fy-cyan, #5cd6e8); font-size: .78rem;
}
.bo-description {
  margin: 0 0 16px; max-width: 620px;
  font-size: .94rem; line-height: 1.6; color: var(--fy-corps, #d6d4e4); text-wrap: pretty;
}
.bo-mesures { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: .875rem; color: var(--fy-gris, #a5a3bc); }
.bo-mesures .bo-nombre {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  color: var(--fy-encre, #f2f1f7);
}
.bo-endirect { display: inline-flex; align-items: center; gap: 7px; }
.bo-endirect::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fy-rouge, #ff6b6b);
}

.bo-gestes { display: flex; gap: 12px; flex-wrap: wrap; }
.bo-rejoindre {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px;
  border-radius: 11px; background: var(--fy-rouge, #ff6b6b); color: var(--fy-nuit, #07071a);
  font-size: .91rem; font-weight: 600; text-decoration: none;
}
.bo-rejoindre:hover { filter: brightness(1.08); }
.bo-abonner {
  height: 46px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 11px;
  background: none; color: var(--fy-encre, #f2f1f7);
  font-family: inherit; font-size: .91rem; cursor: pointer;
}
.bo-abonner:hover { background: rgba(255, 255, 255, .06); }
.bo-abonner[aria-pressed="true"] { border-color: rgba(139, 123, 255, .5); color: var(--fy-violet-vif, #a395ff); }

/* ── Le fil d'Ariane ─────────────────────────────────────────────── */
.bo-ariane { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: .84rem; margin-bottom: 26px; }
.bo-ariane a { color: var(--fy-sourd, #6e6c88); text-decoration: none; }
.bo-ariane a:hover { color: var(--fy-gris, #a5a3bc); }
.bo-ariane-sep { color: var(--fy-faible, #4a4866); }
.bo-ariane-ici { color: var(--fy-gris, #a5a3bc); }

/* ── La grille ───────────────────────────────────────────────────── */
.bo-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bo-produit { text-decoration: none; display: block; }
.bo-produit-img {
  aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--fy-surface, #14142e);
  border: 1px solid var(--fy-bord, rgba(255,255,255,.08));
  margin-bottom: 13px;
}
.bo-produit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-produit:hover .bo-produit-img { border-color: rgba(139, 123, 255, .5); }
.bo-produit-nom { font-size: .94rem; color: var(--fy-encre, #f2f1f7); line-height: 1.4; margin-bottom: 5px; }
.bo-produit-pied { display: flex; align-items: baseline; gap: 10px; }
.bo-produit-prix {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: .91rem; color: var(--fy-encre, #f2f1f7);
}
.bo-produit-stock { font-size: .78rem; color: var(--fy-sourd, #6e6c88); }
.bo-produit-stock.bo-peu { color: var(--fy-ambre, #f0b45c); }

/* Le vide est franc : la fin du catalogue se dit. */
.bo-fin {
  border: 1px dashed rgba(255, 255, 255, .12); border-radius: 14px;
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 12px;
}
.bo-fin-mot {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: .69rem; letter-spacing: .1em; color: var(--fy-faible, #4a4866);
}
.bo-fin-sous { font-size: .81rem; color: var(--fy-sourd, #6e6c88); }

/* ── L'absence ───────────────────────────────────────────────────── */
.bo-absente {
  max-width: 480px; margin: 64px auto; text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.bo-absente h1 {
  margin: 0; font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 1.75rem; font-weight: 400;
}
.bo-absente p { margin: 0; font-size: .94rem; color: var(--fy-gris, #a5a3bc); }
.bo-absente a { color: var(--fy-violet, #8b7bff); text-decoration: none; }

/* ── Les largeurs ────────────────────────────────────────────────── */
@media (max-width: 1100px) { .bo-grille { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .bo-tete { flex-wrap: wrap; }
  .bo-grille { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bo-page { padding: 24px 16px 96px; }
  .bo-avatar { width: 64px; height: 64px; font-size: 1.9rem; border-radius: 16px; }
  .bo-nom-ligne h1 { font-size: 1.75rem; }
  .bo-grille { gap: 14px; }
}
