body.sfg-catalog-page #wrapper,
body.sfg-catalog-page #content-wrapper,
body.sfg-catalog-page #main,
body.sfg-catalog-page .page-content,
body.module-gestionfullart-catalog #wrapper,
body.module-gestionfullart-catalog #content-wrapper,
body.module-gestionfullart-catalog #main,
body.module-gestionfullart-catalog .page-content {
    background: #eef1f5;
}
body.sfg-catalog-page .breadcrumb,
body.sfg-catalog-page .breadcrumb-wrapper,
body.module-gestionfullart-catalog .breadcrumb,
body.module-gestionfullart-catalog .breadcrumb-wrapper {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}
body.sfg-catalog-page #wrapper,
body.sfg-catalog-page #wrapper > .container,
body.sfg-catalog-page #content-wrapper,
body.sfg-catalog-page #main,
body.sfg-catalog-page #content,
body.sfg-catalog-page .page-content,
body.module-gestionfullart-catalog #wrapper,
body.module-gestionfullart-catalog #wrapper > .container,
body.module-gestionfullart-catalog #content-wrapper,
body.module-gestionfullart-catalog #main,
body.module-gestionfullart-catalog #content,
body.module-gestionfullart-catalog .page-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.sfg-catalog-page .page-content,
body.module-gestionfullart-catalog .page-content {
    padding: 0;
    max-width: none;
}

/* Header CE : au scroll, le sticky gardait la largeur déjà réduite par
   #header { padding: 0 3rem }. Le fond gris du catalogue se voyait sur les côtés. */
body.sfg-catalog-page #header,
body.module-gestionfullart-catalog #header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    background: #fff;
}
body.sfg-catalog-page #header .elementor-element-d4f92f0,
body.module-gestionfullart-catalog #header .elementor-element-d4f92f0,
body.sfg-catalog-page #header .elementor-sticky--active,
body.module-gestionfullart-catalog #header .elementor-sticky--active {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

.sfg-cat {
    --bg: #eef1f5;
    --card: #fff;
    --ink: #1a1a2e;
    --muted: #6b7280;
    --line: #e5e7eb;
    --blue: #2563eb;
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 16px 48px;
    font-family: Nunito, system-ui, sans-serif;
    color: var(--ink);
    box-sizing: border-box;
}
.sfg-cat *,
.sfg-cat *::before,
.sfg-cat *::after { box-sizing: border-box; }
.sfg-cat-head { margin-bottom: 8px; }
.sfg-cat h1 { margin: 0; font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.sfg-cat .btn.sfg-bug-btn {
    background: #fff;
    color: #b91c1c !important;
    border: 1px solid #eecfcf;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.sfg-cat .btn.sfg-bug-btn:hover { background: #fef7f7; border-color: #ddabab; box-shadow: 0 6px 16px rgba(185, 28, 28, .1); }
html.sfg-bug-open,
html.sfg-bug-open body { overflow: hidden !important; }
.sfg-bug-modal { position: fixed; inset: 0; z-index: 4000; background: rgba(15, 23, 42, .48); display: none; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.sfg-bug-modal[hidden] { display: none !important; }
.sfg-bug-modal.open { display: flex !important; }
.sfg-bug-dialog {
    width: min(440px, 100%);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    display: flex;
    flex-direction: column;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px 10px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    color: var(--ink);
}
.sfg-bug-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; flex-shrink: 0; }
.sfg-bug-top h3 { margin: 0; font-size: 17px; font-weight: 800; }
.sfg-bug-close { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #f3f4f6; color: #111; font-size: 20px; line-height: 1; cursor: pointer; }
.sfg-bug-intro { margin: 0 0 6px; color: var(--muted); font-size: 13px; flex-shrink: 0; }
.sfg-bug-warn { margin: 0 0 8px; color: #b91c1c; font-size: 12px; font-weight: 800; line-height: 1.35; flex-shrink: 0; }
#sfgBugForm { overflow: visible; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; padding-right: 2px; }
.sfg-bug-reasons { display: grid; gap: 2px; margin-bottom: 8px; }
.sfg-bug-reasons label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.25; cursor: pointer; padding: 2px 0; }
.sfg-bug-reasons input { margin: 0; flex-shrink: 0; width: 15px; height: 15px; accent-color: #dc2626; }
.sfg-bug-field { display: grid; gap: 4px; margin-bottom: 8px; font-size: 12px; font-weight: 800; text-align: left; }
.sfg-bug-modal input[type="email"],
.sfg-bug-modal input[type="text"]:not(.sfg-hp),
.sfg-bug-modal textarea {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 1px solid #c5c9d2 !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #c5c9d2 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111 !important;
    padding: 8px 12px !important;
    min-height: 38px;
    box-shadow: none !important;
    outline: none;
    font: inherit;
    font-weight: 600;
    -webkit-appearance: none;
    appearance: none;
}
.sfg-bug-modal textarea {
    resize: vertical !important;
    min-height: 72px !important;
    max-height: 42vh !important;
    max-height: 42dvh !important;
    padding: 10px 12px !important;
    line-height: 1.45;
    overflow: auto;
}
.sfg-bug-modal input[type="email"]:focus,
.sfg-bug-modal input[type="text"]:not(.sfg-hp):focus,
.sfg-bug-modal textarea:focus {
    border-color: #2563eb !important;
}
.sfg-bug-captcha { display: flex; align-items: flex-end; gap: 8px; }
.sfg-bug-captcha .sfg-bug-field { flex: 1; margin-bottom: 0; }
.sfg-bug-refresh { height: 36px; width: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 16px; }
.sfg-bug-msg { margin: 8px 0 0; font-size: 12px; font-weight: 700; }
.sfg-bug-msg.ok { color: #047857; }
.sfg-bug-msg.err { color: #b91c1c; }
.sfg-bug-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; position: sticky; bottom: 0; background: #fff; padding-top: 6px; }
.sfg-bug-cancel,
.sfg-bug-send { height: 36px; padding: 0 14px; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; }
.sfg-bug-cancel { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.sfg-bug-send { border: 0; background: #dc2626; color: #fff; }
.sfg-bug-send:disabled { opacity: .6; cursor: wait; }
.sfg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sfg-cat h2 { margin: 0; }
.sfg-cat .sfg-note { color: var(--muted); font-size: 14px; }
.sfg-cat .set-fallback { font-weight: 800; text-align: center; }
.sfg-cat .search-row { display: flex; gap: 10px; align-items: stretch; position: relative; z-index: 20; margin-bottom: 6px; }
.sfg-cat .langs { display: flex; gap: 6px; background: transparent; border: 0; flex-shrink: 0; }
.sfg-cat .langs a { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.sfg-cat .langs a .flag { width: 28px; height: 19px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex-shrink: 0; display: block; }
.sfg-cat .langs a.on { background: #fff4d6; color: #1a1a2e; border-color: #e0b34c; }
.sfg-cat .langs a:hover { border-color: #c9a24a; }
.sfg-cat .search-box { flex: 1; position: relative; }
.sfg-cat .search-box input { width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--line); padding: 0 44px 0 18px; font: inherit; font-size: 16px; outline: none; background: #fff; }
.sfg-cat .search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.sfg-cat .search-ico { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #9ca3af; font: inherit; font-size: 18px; line-height: 1; padding: 0; cursor: pointer; }
.sfg-cat .search-ico:hover { color: var(--blue); background: #eff6ff; }
.sfg-cat .drop {
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #c5cad3;
    border-radius: 16px;
    max-height: min(520px, 70vh);
    overflow: hidden;
    flex-direction: column;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .2);
}
.sfg-cat .drop.open { display: flex; }
.sfg-cat .drop-scroll { flex: 1; min-height: 0; overflow: auto; }
.sfg-cat .drop-h {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    background: #fff;
    z-index: 12;
    isolation: isolate;
    border-radius: 16px 16px 0 0;
}
.sfg-cat .drop-h .langs { display: flex; align-items: center; margin: 0; }
.sfg-cat .fa-only { position: relative; overflow: hidden; display: inline-flex; align-items: center; align-self: center; gap: 8px; height: 40px; margin: 0 !important; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 13px; font-weight: 800; line-height: 1; color: var(--ink); cursor: pointer; white-space: nowrap; user-select: none; box-sizing: border-box; }
.sfg-cat .fa-only:has(.fa-only-input:checked) { background: #fff4d6; border-color: #e0b34c; }
.sfg-cat .fa-only-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.sfg-cat .fa-only-input::before,
.sfg-cat .fa-only-input::after { content: none !important; display: none !important; }
.sfg-cat .fa-only-box {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid #c4c9d1;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
.sfg-cat .fa-only-input:checked + .fa-only-box {
    background: #b45309;
    border-color: #b45309;
    box-shadow: inset 0 0 0 2px #fff;
}
.sfg-cat .grid-toggle {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    align-self: center;
    cursor: pointer;
    box-sizing: border-box;
}
.sfg-cat .grid-toggle span { display: block; background: #1a1a2e; border-radius: 2px; }
.sfg-cat .grid-toggle.on { background: #fff4d6; border-color: #e0b34c; }
.sfg-cat .drop.grid-on > .sec,
.sfg-cat .drop.grid-on > .hit-set { display: none; }
.sfg-cat .drop.grid-on .drop-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 12px 14px; }
.sfg-cat .drop.grid-on .drop-cards > * { min-width: 0; }
.sfg-cat .drop.grid-on .drop-cards .sec { grid-column: 1 / -1; padding: 0 0 2px; }
.sfg-cat .gcard { display: block; background: #f3f4f6; border-radius: 10px; overflow: hidden; text-decoration: none; }
.sfg-cat .gcard .frame { width: 100%; aspect-ratio: 1 / 1; background: #f3f4f6; border-radius: 10px; overflow: hidden; position: relative; }
.sfg-cat .gcard .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sfg-cat .drop.grid-on .drop-cards .hit {
    display: block;
    padding: 0;
    gap: 0;
    align-items: stretch;
    background: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
}
.sfg-cat .drop.grid-on .drop-cards .hit > div:last-child { display: none; }
.sfg-cat .drop.grid-on .drop-cards .hit .pair {
    display: block;
    max-height: none;
    width: 100%;
    overflow: hidden;
}
.sfg-cat .drop.grid-on .drop-cards .hit .pair .frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
}
.sfg-cat .drop.grid-on .drop-cards .hit .pair .frame + .frame { display: none; }
.sfg-cat .cards.search-results.view-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sfg-cat .cards.search-results.view-grid > * { min-width: 0; }
.sfg-cat .cards.search-results.view-grid .ccard { padding: 0; border: 0; background: #f3f4f6; border-radius: 10px; overflow: hidden; }
.sfg-cat .cards.search-results.view-grid .imgs.one { max-width: none; }
.sfg-cat .cards.search-results.view-grid .fa-slot,
.sfg-cat .cards.search-results.view-grid .cname,
.sfg-cat .cards.search-results.view-grid .cmeta { display: none; }
.sfg-cat .cards.search-results.view-grid .gcard { display: block; }
.sfg-cat .drop .hit { overflow: hidden; position: relative; z-index: 0; }
.sfg-cat .drop .hit .pair { overflow: hidden; max-height: 82px; }
.sfg-cat .drop-h .langs a { height: 40px; }
.sfg-cat .sec { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 16px 4px; }
.sfg-cat .hit { display: flex; gap: 12px; padding: 10px 16px; text-decoration: none; color: inherit; align-items: center; }
.sfg-cat .hit:hover { background: #f8fafc; }
.sfg-cat .hit img.th { width: 44px; height: 44px; object-fit: contain; background: #f3f4f6; border-radius: 6px; }
.sfg-cat .hit .pair { display: flex; gap: 4px; flex-shrink: 0; }
.sfg-cat .hit .pair .frame { width: 62px; aspect-ratio: 1/1; background: #f3f4f6; border-radius: 6px; overflow: hidden; position: relative; }
/* La colonne des vignettes réserve toujours la place de deux images (carte + étiquette) :
   sans étiquette Full Art / Multi-cartes, le texte reste aligné avec les autres résultats. */
.sfg-cat .hit-card .pair { width: 128px; justify-content: flex-start; }
.sfg-cat .hit .pair img { width: 100%; height: 100%; object-fit: contain; }
.sfg-cat .hit b { display: block; font-size: 16px; }
.sfg-cat .hit small { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sfg-cat .hit small img { height: 16px; }
.sfg-cat .fa-mini { display: inline-flex; font-size: 10px; font-weight: 800; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 2px 8px; margin-top: 4px; }
.sfg-cat .empty { padding: 18px; color: var(--muted); }
.sfg-cat .drop-more { padding: 10px 16px 14px; color: var(--muted); font-size: 13px; text-align: center; }
.sfg-cat .crumb { margin: 4px 0 10px; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sfg-cat .crumb-path { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sfg-cat .crumb a { color: var(--blue); text-decoration: none; font-weight: 700; }
.sfg-cat .crumb-set { color: var(--blue); font-weight: 800; }
.sfg-cat .crumb-back { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink) !important; font-weight: 800; text-decoration: none; }
.sfg-cat .crumb-back:hover { border-color: #c9a24a; background: #fff8e8; }
.sfg-cat .bloc { margin: 20px 0 10px; font-size: 20px; font-weight: 800; }
.sfg-cat .bloc-sub { margin: 16px 0 10px; font-size: 15px; font-weight: 800; color: #111; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.sfg-cat .bloc-sub:after { content: ""; flex: 1; height: 2px; background: #111; }
.sfg-cat .set.is-deck { background: #f8fafc; }
.sfg-cat .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sfg-cat .set { background: #fff; border: 1px solid var(--line); border-radius: 14px; min-height: 168px; padding: 14px 12px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: inherit; position: relative; transition: transform .15s, box-shadow .15s; gap: 8px; }
.sfg-cat .set:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.sfg-cat .code { position: absolute; bottom: 10px; left: 12px; background: none; color: #111; font-size: 12px; font-weight: 800; letter-spacing: .03em; padding: 0; white-space: nowrap; }
.sfg-cat .set img { max-width: 86%; max-height: 64px; object-fit: contain; }
.sfg-cat .set-caption { font-size: 12px; font-weight: 800; text-align: center; line-height: 1.25; }
.sfg-cat .set-date { font-size: 10px; font-weight: 600; color: #6b7280; }
/* Extension pas encore sortie (sfg_set_lock) : tuile non cliquable, en attente */
.sfg-cat .set.is-locked { cursor: not-allowed; background: #f8fafc; border-style: dashed; }
.sfg-cat .set.is-locked:hover { transform: none; box-shadow: none; }
.sfg-cat .set.is-locked img, .sfg-cat .set.is-locked .set-caption, .sfg-cat .set.is-locked .code { opacity: .45; filter: grayscale(1); }
.sfg-cat .set-lock { position: absolute; top: 8px; right: 8px; background: #111; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.sfg-cat .sfg-locked-note { margin: 12px 0 24px; padding: 16px 18px; border: 1px dashed #c9a24a; border-radius: 14px; background: #fff8e8; color: #111; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sfg-cat .sfg-locked-note strong { font-size: 15px; font-weight: 800; }
.sfg-cat .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sfg-cat .cards.search-results { grid-template-columns: repeat(auto-fill, minmax(343px, 1fr)); }
.sfg-cat .cards.search-results .imgs.one { max-width: 312px; }
.sfg-cat .ccard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-decoration: none; color: inherit; display: block; }
.sfg-cat .ccard:hover { box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.sfg-cat .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sfg-cat .imgs.one { grid-template-columns: 1fr; width: 100%; max-width: 200px; min-height: 200px; margin: 0 auto; }
.sfg-cat .imgs .frame { width: 100%; aspect-ratio: 1/1; background: #f3f4f6; border-radius: 10px; overflow: hidden; position: relative; }
.sfg-cat .imgs .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sfg-cat .frame.slab { background: #fff; isolation: isolate; }
.sfg-cat .frame.slab .slab-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sfg-cat .frame.slab .slab-blur { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sfg-cat .frame.slab .slab-blur i {
    position: absolute; display: block; border-radius: 3px;
    background: rgba(255,255,255,.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.sfg-cat .frame.slab .slab-blur i:nth-child(1) { left: 29.35%; top: 16.68%; width: 21.2%; height: 2.4%; }
.sfg-cat .frame.slab .slab-blur i:nth-child(2) { left: 29.35%; top: 19.7%; width: 18.7%; height: 2.2%; }
.sfg-cat .frame.slab .slab-blur i:nth-child(3) { left: 29.35%; top: 22.15%; width: 5.4%; height: 2.15%; }
.sfg-cat .frame.slab .slab-slot {
    position: absolute; left: 28.18%; top: 28.87%; width: 43.44%; height: 61.01%;
    overflow: hidden; border-radius: 4.2% / 3%; background: #dfe1e8; z-index: 1;
}
.sfg-cat .frame.slab .slab-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* display/line-height explicites : la classe « fa » est aussi celle de Font Awesome
   (.fa { display:inline-block; line-height:1 }) chargé par le thème, ce qui ajoutait
   un espace de ligne sous le cadre et décalait la légende « Étiquette Full Art ». */
.sfg-cat .frame.fa { display: block; line-height: normal; font: inherit; background: #fff; }
.sfg-cat .frame.fa > img {
    -webkit-clip-path: inset(7.35% 24.5% 7.1% 24.5% round 2.8%);
    clip-path: inset(7.35% 24.5% 7.1% 24.5% round 2.8%);
}
.sfg-cat .fa-slot { height: 36px; min-height: 36px; max-height: 36px; margin-top: 6px; display: flex; align-items: center; overflow: hidden; }
.sfg-cat .fa-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; color: #7c4a03; background: linear-gradient(90deg, #fde68a, #fef3c7); border: 1px solid #f5d06f; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.sfg-cat .fa-badge:before { content: "★"; font-size: 12px; }
.sfg-cat .cname { font-weight: 800; margin-top: 2px; text-align: left; }
.sfg-cat .cmeta { color: var(--muted); font-size: 13px; text-align: left; }
.sfg-cat .detail { background: #fff; border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; border: 1px solid var(--line); align-items: start; }
.sfg-cat .detail.has-fa { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(240px,.95fr); }
.sfg-cat .detail figure { margin: 0; text-align: center; min-width: 0; }
.sfg-cat .detail .frame { aspect-ratio: 1/1; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; position: relative; }
.sfg-cat .detail .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sfg-cat .detail .frame.slab .slab-base { object-fit: contain; }
.sfg-cat .detail .frame.slab .slab-slot img { object-fit: cover; }
.sfg-cat .detail figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 700; }
.sfg-cat .detail .info { min-width: 0; }
.sfg-cat .detail .info h2 { margin-top: 0; font-size: 26px; font-weight: 800; }
.sfg-cat .detail .fa-badge { margin: 8px 0 4px; }
.sfg-cat .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sfg-cat .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #1a1a2e !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .01em;
    border: 1px solid #d7dbe3;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.sfg-cat .btn:hover { transform: translateY(-1px); border-color: #94a3b8; background: #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, .12); }
.sfg-cat .btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.sfg-cat .btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.sfg-cat .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.sfg-cart-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 24px);
    background: #1a1a2e;
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .28);
}
.sfg-cart-toast a { color: #fbbf24; }
.sfg-cart-toast.err { background: #7c2d12; }
.sfg-cat .btn.gold,
.sfg-cat .btn.ghost {
    background: #fff;
    color: #1a1a2e !important;
    border: 1px solid #d7dbe3;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

@media (max-width: 1100px) {
    .sfg-cat .detail.has-fa { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .sfg-cat .detail.has-fa .info { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .sfg-cat .grid { grid-template-columns: repeat(3, 1fr); }
    .sfg-cat .drop.grid-on .drop-cards,
    .sfg-cat .cards.search-results.view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sfg-cat h1 { font-size: 26px; }
}
@media (max-width: 720px) {
    .sfg-cat { padding: 6px 12px 40px; }
    .sfg-cat h1 { font-size: 22px; }
    .sfg-cat .search-row { flex-wrap: wrap; }
    .sfg-cat .search-box { min-width: 100%; }
    .sfg-cat .langs { width: 100%; }
    .sfg-cat .langs a { flex: 1; height: 44px; justify-content: center; padding: 0 8px; }
    .sfg-cat .langs a .flag { width: 24px; height: 16px; }
    .sfg-cat .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sfg-cat .drop.grid-on .drop-cards,
    .sfg-cat .cards.search-results.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sfg-cat .set { min-height: 120px; padding: 12px 8px 26px; }
    .sfg-cat .set img { max-height: 56px; }
    .sfg-cat .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sfg-cat .imgs.one { max-width: none; }
    .sfg-cat .detail,
    .sfg-cat .detail.has-fa { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
    .sfg-cat .detail.has-fa .info { grid-column: 1 / -1; }
    .sfg-cat .actions { flex-direction: column; }
    .sfg-cat .btn { width: 100%; text-align: center; }
    .sfg-cat .drop { left: 6px; right: 6px; max-height: min(70vh, 520px); }
    .sfg-cat .hit { padding: 12px; }
}
@media (max-width: 520px) {
    .sfg-cat .cards { grid-template-columns: 1fr; }
    .sfg-cat .detail,
    .sfg-cat .detail.has-fa { grid-template-columns: 1fr; }
    .sfg-cat .detail figure { max-width: 280px; margin: 0 auto; }
}

/* ---------------- Étiquettes Multi-cartes (public) ---------------- */
.sfg-cat .sfg-cat .fa-badge.multi-badge { color: #1e3a8a; background: linear-gradient(90deg, #bfdbfe, #dbeafe); border-color: #93c5fd; }
.sfg-cat .fa-badge.multi-badge:before { content: "▦"; }
.sfg-cat .fa-mini.multi-mini { color: #1e3a8a; background: #dbeafe; }
.sfg-cat .fa-slot.two {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
}
.sfg-cat .fa-slot.two .fa-badge { font-size: 10px; padding: 3px 8px; }
.sfg-cat .btn.multi { border-color: #93c5fd; background: #eff6ff; }
.sfg-cat .btn.multi:hover { background: #dbeafe; border-color: #60a5fa; }
.sfg-cat .detail.has-multi:not(.has-fa) { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(240px,.95fr); }
.sfg-cat .detail.has-fa.has-multi { grid-template-columns: repeat(3, minmax(0,1fr)) minmax(220px,.9fr); }
@media (max-width: 1100px) {
    .sfg-cat .detail.has-multi:not(.has-fa) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .sfg-cat .detail.has-fa.has-multi { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .sfg-cat .detail.has-multi .info { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .sfg-cat .detail.has-multi,
    .sfg-cat .detail.has-fa.has-multi { grid-template-columns: 1fr 1fr; }
    .sfg-cat .detail.has-multi .info { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .sfg-cat .detail.has-multi,
    .sfg-cat .detail.has-fa.has-multi { grid-template-columns: 1fr; }
}