/* Module Catalogue : mise en forme des cartes (urnes, monuments, plaques, réalisations…). Aucun script. Écrit à la racine du site par la publication du catalogue.
   Reprend les couleurs et les arrondis du site (variables CSS) avec des valeurs de secours. Ne pas modifier à la main : le fichier est régénéré. */
.cat-note{max-width:760px;margin:0 auto 26px;padding:14px 18px;border:1px solid var(--line,#e2dfd6);border-left:3px solid var(--clay,#b5714a);border-radius:var(--radius,12px);background:var(--cream,#f7f5f0);color:var(--muted,#5d6679);font-size:.93rem;line-height:1.55}
.cat-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,336px));justify-content:center;gap:22px;max-width:1060px;margin:0 auto}
.cat-carte{display:flex;flex-direction:column;min-width:0;background:var(--white,#fff);border:1px solid var(--line,#e2dfd6);border-radius:var(--radius,12px);overflow:hidden;box-shadow:var(--shadow-sm,0 2px 10px rgba(20,30,40,.07))}
.cat-photo{display:block;background:#eaeaea;aspect-ratio:4/3;overflow:hidden;line-height:0}
.cat-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.cat-photo:hover img,.cat-photo:focus-visible img{transform:scale(1.03)}
.cat-photo:focus-visible,.cat-plus a:focus-visible,.cat-lien:focus-visible{outline:2px solid var(--clay,#b5714a);outline-offset:2px}
.cat-sans{background:linear-gradient(135deg,#ece9e1,#f6f3ec)}
.cat-plus{display:flex;flex-wrap:wrap;gap:6px;padding:8px 10px 0}
.cat-plus a{display:block;width:62px;aspect-ratio:3/2;border-radius:6px;overflow:hidden;border:1px solid var(--line,#e2dfd6);background:#eaeaea;line-height:0}
.cat-plus img{width:100%;height:100%;object-fit:cover}
.cat-corps{display:flex;flex-direction:column;gap:6px;flex:1;padding:16px 18px 20px}
.cat-corps h3{margin:0;font-size:1.3rem;line-height:1.2;color:var(--forest,#2d3f31)}
.cat-resume{margin:0;color:var(--muted,#5d6679);font-size:.92rem;line-height:1.5}
.cat-desc p{margin:0 0 .6em;font-size:.95rem;line-height:1.6;color:var(--ink,#1c2333)}
.cat-desc p:last-child{margin-bottom:0}
.cat-specs{display:grid;grid-template-columns:auto 1fr;margin:6px 0 0}
.cat-specs dt,.cat-specs dd{margin:0;padding:7px 0;border-bottom:1px solid var(--line,#e2dfd6);font-size:.9rem}
.cat-specs dt{padding-right:16px;color:var(--muted,#5d6679)}
.cat-specs dd{text-align:right;font-weight:500;color:var(--ink,#1c2333)}
.cat-prix{margin:6px 0 0;font-weight:700;color:var(--clay-dark,#874624)}
.cat-lien{margin-top:auto;padding-top:12px;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--clay-dark,#874624);text-decoration:none}
.cat-lien:hover{text-decoration:underline}
@media(max-width:620px){.cat-grille{grid-template-columns:minmax(0,1fr);gap:14px;justify-content:stretch}.cat-corps{padding:14px 16px 18px}}
@media(prefers-reduced-motion:reduce){.cat-photo img{transition:none}.cat-photo:hover img{transform:none}}

/* fenêtre de détail d'un cercueil : photos supplémentaires */
.cq-m-plus{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0}
.cq-m-plus a{display:block;width:110px;aspect-ratio:3/2;border-radius:8px;overflow:hidden;border:1px solid var(--line,#e2dfd6);background:#eaeaea;line-height:0}
.cq-m-plus img{width:100%;height:100%;object-fit:cover}
.cq-m-texte+.cq-m-cols,.cq-m-texte+.cq-m-plus{margin-top:18px}
