/* FeriaMania — V10, fiche d'annonce uniquement.
   Aucun effet sur l'accueil, les filtres, le dépôt ou l'administration. */
.fm-ad-v10 {
    --fm-ink: #251c32;
    --fm-muted: #6b6476;
    --fm-border: #ebe5ef;
    --fm-violet: #7636bd;
    --fm-pink: #e83b9d;
    --fm-orange: #fd8f38;
    box-sizing: border-box;
    color: var(--fm-ink);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 20px 0 32px;
}
.fm-ad-v10 *, .fm-ad-v10 *::before, .fm-ad-v10 *::after { box-sizing: border-box; }
.fm-ad-v10 a { text-decoration: none; }
.fm-ad-breadcrumb { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; color: #857d8e; font-size: 12px; margin-bottom: 18px; }
.fm-ad-breadcrumb a { color: #7045a2; font-weight: 600; }
.fm-ad-breadcrumb a:hover { text-decoration: underline; }
.fm-ad-hero { padding: 23px 26px 25px; background: linear-gradient(128deg, #fff7fc 0%, #fff 54%, #fbf6ff 100%); border: 1px solid var(--fm-border); border-radius: 20px; margin-bottom: 21px; position: relative; overflow: hidden; }
.fm-ad-hero::before { content: ''; display: block; height: 4px; position: absolute; left: 0; top: 0; right: 0; background: linear-gradient(90deg, #ff9b43, #f0459f 50%, #7b46c7); }
.fm-ad-hero-eyebrow { color: #24744d; font-weight: 700; font-size: 12px; letter-spacing: .01em; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.fm-ad-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #24b370; display: inline-block; box-shadow: 0 0 0 3px #d9f9e9; }
.fm-ad-hero-date { color: #8a8492; font-weight: 500; }
.fm-ad-v10 .fm-ad-hero h1 { color: #281936 !important; font-size: clamp(23px, 3.2vw, 32px) !important; font-weight: 800; letter-spacing: -.035em; line-height: 1.28; overflow-wrap: anywhere; margin: 0 0 18px !important; }
.fm-ad-hero .country-flag { display: inline-flex; vertical-align: middle; margin-right: 4px; font-size: 26px; }
.fm-ad-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-ad-chip { background: #fff; color: #51465f !important; border-radius: 99px; padding: 7px 12px; font-size: 12px; font-weight: 600; border: 1px solid #eee4f1; line-height: 1.3; }
.fm-ad-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 320px); align-items: start; gap: 20px; }
.fm-ad-main, .fm-ad-aside { min-width: 0; }
.fm-ad-photo-panel { background: #fff; padding: 11px; border: 1px solid var(--fm-border); border-radius: 19px; box-shadow: 0 7px 22px rgba(53, 36, 76, .055); margin-top: 0; margin-bottom: 18px; overflow: hidden; }
.fm-ad-photo-feature { position: relative; overflow: hidden; border-radius: 12px; background: #f7f1fa; }
.fm-ad-photo-feature > a { display: block; height: clamp(340px, 42vw, 580px); }
.fm-ad-photo-feature img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.fm-ad-photo-feature a:hover img { transform: scale(1.025); }
.fm-ad-photo-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(32,22,42,.78); color: #fff; padding: 6px 12px; font-size: 12px; border-radius: 99px; font-weight: 600; pointer-events: none; }
.fm-ad-photo-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.fm-ad-photo-thumbs a { border: 2px solid transparent; background: #f8f4fa; overflow: hidden; border-radius: 9px; height: 82px; display: block; }
.fm-ad-photo-thumbs a:hover, .fm-ad-photo-thumbs a:focus-visible { border-color: var(--fm-pink); }
.fm-ad-photo-thumbs img { height: 100%; width: 100%; object-fit: cover; }
.fm-ad-no-photo { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 15px; min-height: 280px; color: #89798f; font-weight: 600; font-size: 60px; }
.fm-ad-no-photo span { font-size: 16px; }
.fm-ad-description, .fm-ad-video { padding: 23px 25px; margin-bottom: 18px; background: #fff; border: 1px solid var(--fm-border); border-radius: 18px; box-shadow: 0 7px 22px rgba(53, 36, 76, .045); }
.fm-ad-v10 .fm-ad-description h2, .fm-ad-v10 .fm-ad-video h2 { color: #362343; font-size: 19px; font-weight: 800; margin: 0 0 16px; letter-spacing: -.02em; }
.fm-ad-description-text { color: #463d4a; font-size: 14px; white-space: normal; word-break: break-word; line-height: 1.85; }
.fm-ad-video-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #21162c; overflow: hidden; }
.fm-ad-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.fm-ad-aside { position: sticky; top: 15px; display: flex; flex-direction: column; gap: 15px; }
.fm-ad-price-card { border: 1px solid #eadcee; border-radius: 18px; background: linear-gradient(160deg,#fff9fc,#fff 60%); padding: 22px 19px; box-shadow: 0 9px 25px rgba(74, 40, 99, .065); }
.fm-ad-card-caption { display: block; color: #766d81; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.fm-ad-price { color: #7138a3; font-size: 25px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere; }
.fm-ad-divider { border-top: 1px solid #eee5ef; margin: 20px 0; }
.fm-ad-v10 .fm-ad-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid transparent; border-radius: 12px; font-family: inherit; font-size: 13px; font-weight: 800; text-align: center; transition: transform .16s ease, box-shadow .16s ease; }
.fm-ad-v10 a.fm-ad-button:hover { transform: translateY(-1px); }
.fm-ad-v10 .fm-ad-button-phone { background: linear-gradient(125deg,#a52f9f,#763cbb); color: #fff !important; box-shadow: 0 6px 17px rgba(128, 53, 162, .22); margin-top: 10px; overflow-wrap: anywhere; }
.fm-ad-v10 .fm-ad-button-website { background: #fff; color: #7340a1 !important; border: 1px solid #decde8; margin-top: 9px; }
.fm-ad-v10 .fm-ad-phone-plain { background: #f2e8f7; color: #6e3d9c; margin-top: 10px; }
.fm-ad-no-phone { color: #7c7380; }
.fm-ad-share-card { background: #fff; border: 1px solid var(--fm-border); border-radius: 16px; padding: 18px 17px; }
.fm-ad-v10 .fm-ad-share-card h2 { font-size: 15px; font-weight: 800; margin: 0 0 12px; color: #392846; }
.fm-ad-share-card .a2a_kit { display: flex; flex-wrap: wrap; gap: 7px; }
.fm-ad-share-card .a2a_kit a { float: none !important; }
.fm-ad-footer-nav { margin-top: 11px; }
.fm-ad-v10 .fm-ad-button-back { width: auto; background: #f8f2fa; border: 1px solid #ebdff0; color: #6b398e !important; padding: 10px 20px; }
.fm-ad-unavailable { text-align: center; padding: 60px 25px 55px; background: linear-gradient(135deg, #fff7fb, #f9f4ff); border: 1px solid #efe4f0; border-radius: 22px; margin: 28px auto; }
.fm-ad-unavailable-symbol { font-size: 52px; margin-bottom: 15px; }
.fm-ad-v10.fm-ad-unavailable h1 { font-size: clamp(20px,3vw,27px); color: #322142; margin: 0 0 14px; font-weight: 800; }
.fm-ad-unavailable p { font-size: 14px; color: #756c7c; margin: 0 0 24px; }
.fm-ad-v10 .fm-ad-button-primary { width: auto; min-width: 220px; color: #fff !important; background: linear-gradient(110deg,#f46c73,#b83fad,#7743bd); box-shadow: 0 8px 18px rgba(184,63,173,.2); }
@media (max-width: 740px) {
    .fm-ad-v10 { padding: 14px 0 25px; }
    .fm-ad-layout { grid-template-columns: 1fr; gap: 2px; }
    .fm-ad-aside { position: static; display: grid; grid-template-columns: 1fr; }
    .fm-ad-hero { padding: 20px 17px 19px; border-radius: 15px; }
    .fm-ad-hero h1 { font-size: 24px !important; }
    .fm-ad-photo-feature > a { height: 290px; }
    .fm-ad-description, .fm-ad-video { padding: 19px 17px; }
    .fm-ad-price-card { padding: 20px 17px; }
    .fm-ad-footer-nav { margin-top: 18px; }
    .fm-ad-v10 .fm-ad-button-back { width: 100%; }
}
@media (max-width: 420px) {
    .fm-ad-breadcrumb { font-size: 11px; }
    .fm-ad-hero h1 { font-size: 22px !important; }
    .fm-ad-photo-feature > a { height: 235px; }
    .fm-ad-photo-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .fm-ad-photo-thumbs a { height: 59px; }
    .fm-ad-price { font-size: 23px; }
}
