/* ============================================================
   Fara Mic Record — page Catalogue
   La page existe avant les prods : elle assume l'attente
   plutot que d'afficher une grille vide.
   ============================================================ */

.fmr-catalogue > * { margin-left: 0 !important; margin-right: auto !important; }
.fmr-catalogue > p { max-width: 66ch; }

.fmr-catalogue h1.fmr-h1 { max-width: 22ch; }
.fmr-catalogue .fmr-lede { margin-top: 24px; max-width: 62ch; }

.fmr-catalogue h2.fmr-h2 {
  margin: 72px 0 18px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.02em;
  max-width: 24ch;
}
.fmr-catalogue h2.fmr-h2 + p { margin-top: 0; }

/* ---------- Le panneau d'attente ---------- */

.fmr-empty {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: 44px 40px 40px;
  background: var(--panel);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  max-width: 780px;
}
.fmr-empty > * { margin-left: 0 !important; margin-right: auto !important; width: 100%; }

/* Une onde figee en fond : le lecteur qui n'a rien a jouer. */
.fmr-empty::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -10px;
  width: 300px;
  height: 90px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--wave-dim) 0 3px,
    transparent 3px 7px
  );
  mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
  opacity: .5;
  pointer-events: none;
}

.fmr-empty-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--accent);
}
.fmr-empty-t {
  margin: 14px 0 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' var(--wd);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--fg);
  max-width: 20ch;
}
.fmr-empty-p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t55);
  max-width: 56ch;
}
.fmr-empty .wp-block-buttons { margin-top: 26px; position: relative; z-index: 1; }

/* ---------- Les licences en resume ---------- */

.fmr-price-row { margin-top: 26px; gap: 26px; }
.fmr-price-row > .wp-block-column {
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}
.fmr-price-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--t40);
}
.fmr-price-v {
  margin: 5px 0 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' var(--wd);
  font-size: 22px;
  font-weight: 900;
  color: var(--fg);
  white-space: nowrap;
}
.fmr-price-d {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--t45);
}

/* ---------- Ecrans reduits ---------- */

@media (max-width: 1024px) {
  .fmr-price-row { flex-wrap: wrap; }
  .fmr-price-row > .wp-block-column { flex-basis: calc(50% - 13px) !important; }
}

@media (max-width: 720px) {
  .fmr-catalogue h2.fmr-h2 { font-size: 24px; margin-top: 56px; }
  .fmr-empty { padding: 30px 22px 26px; }
  .fmr-empty-t { font-size: 23px; }
  .fmr-empty::after { display: none; }
  .fmr-price-row > .wp-block-column { flex-basis: 100% !important; }
}

/* ============================================================
   Correctif de specificite
   Astra declare .entry-content p { margin-bottom: 1.6em } :
   deux classes, donc il l'emporte sur nos regles a une classe
   et gonfle les interlignes des cartes. On redeclare les memes
   valeurs a specificite egale ; cette feuille etant chargee
   apres celle du theme, c'est la notre qui s'applique.
   ============================================================ */

.entry-content .fmr-empty-k { margin: 0; }
.entry-content .fmr-empty-t { margin: 14px 0 0; }
.entry-content .fmr-empty-p { margin: 14px 0 0; }
.entry-content .fmr-price-k { margin: 0; }
.entry-content .fmr-price-v { margin: 5px 0 0; }
.entry-content .fmr-price-d { margin: 6px 0 0; }
