/* DM Sans (variable 400-700), hébergée par le thème */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/dm-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   OU MANGER — Refonte 2026 (shortcodes de la nouvelle charte)
   Les couleurs viennent des variables globales Elementor (--creme, --Bleu…),
   avec une valeur de repli si la variable manque.
   ============================================================ */

.om-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mode sombre : palette de la nouvelle charte ---------- */
html.oumanger-dark-init body,
body.dark-mode {
    --creme: #15181B;
    --Beige: #2A2F35;
    --beige-fonce: #3A4048;
    --encre: #F2EEE6;
    --texte-doux: #C4CBD1;
    --ardoise: #AEB9C2;
    --teal-clair: #17393A;
    --Rouge: #E8765F;
    --om-surface: #1E2328;
    background-color: #15181B;
}

/* ---------- 1. Recherche ---------- */
.om-recherche {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--om-surface, #fff);
    border: 2px solid var(--Beige, #E3D8C5);
    border-radius: 999px;
    padding: 8px 8px 8px 22px;
    box-shadow: 0 10px 30px rgba(84, 106, 121, .14);
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    transition: border-color .2s ease;
}
.om-recherche:focus-within { border-color: var(--Bleu, #108A8A); }
.om-recherche-ico { display: flex; color: var(--Bleu, #108A8A); flex: none; }
.om-recherche-champ {
    flex: 1 1 auto;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
    padding: 10px 0 !important;
    font: inherit;
    font-size: 1.0625rem;
    color: var(--encre, #1F2328);
}
.om-recherche-champ::placeholder { color: var(--ardoise, #546A79); opacity: .85; }
.om-recherche-champ::-webkit-search-cancel-button { cursor: pointer; }
.om-recherche-btn {
    flex: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 26px;
    background: var(--Bleu, #108A8A);
    color: #fff;
    font-family: var(--Bogart, "bogart"), Georgia, serif;
    font-weight: 800;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: background .2s ease;
}
.om-recherche-btn:hover, .om-recherche-btn:focus-visible { background: var(--teal-fonce, #0B6E6E); color: #fff; }

.om-recherche--compact { padding: 4px 14px; box-shadow: none; border-width: 1.5px; }
.om-recherche--compact .om-recherche-champ { font-size: .9375rem; padding: 8px 0 !important; }
.om-recherche--compact .om-recherche-ico svg { width: 17px; height: 17px; }

.om-recherche-liste {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: min(420px, 70vh);
    overflow-y: auto;
    background: var(--om-surface, #fff);
    border: 1.5px solid var(--Beige, #E3D8C5);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(31, 35, 40, .16);
    text-align: left;
}
.om-recherche--compact .om-recherche-liste { min-width: 320px; }
.om-recherche-groupe {
    margin: 10px 12px 4px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ardoise, #546A79);
}
.om-recherche-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--encre, #1F2328) !important;
    text-decoration: none !important;
    font-size: .9375rem;
    cursor: pointer;
}
.om-recherche-option[aria-selected="true"], .om-recherche-option:hover { background: var(--teal-clair, #E6F3F3); }
.om-recherche-option mark { background: none; color: var(--Bleu, #108A8A); font-weight: 700; }
.om-recherche-option small { color: var(--ardoise, #546A79); font-size: .8125rem; white-space: nowrap; }
.om-recherche-vide { padding: 14px 12px; color: var(--ardoise, #546A79); font-size: .9375rem; }

/* ---------- 2. Méga-menu Explorer ---------- */
.om-explorer { position: static; }
.om-explorer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0 !important;
    background: transparent !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--encre, #1F2328) !important;
    cursor: pointer;
}
.om-explorer-btn:hover, .om-explorer-btn[aria-expanded="true"] { background: var(--teal-clair, #E6F3F3) !important; color: var(--teal-fonce, #0B6E6E) !important; }
.om-explorer-btn svg { transition: transform .2s ease; }
.om-explorer-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.om-mega-menu {
    position: fixed;
    z-index: 49;
    left: 0;
    right: 0;
    top: var(--om-mm-top, 96px);
    background: var(--om-surface, #fff);
    border-top: 1px solid var(--Beige, #E3D8C5);
    box-shadow: 0 30px 60px rgba(31, 35, 40, .18);
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    max-height: calc(100vh - var(--om-mm-top, 96px));
    overflow-y: auto;
}
.om-mega-menu[hidden] { display: none; }
.om-mm-in {
    max-width: none;
    margin: 0;
    padding: 32px var(--om-mm-droite, var(--gouttiere, 2.75rem)) 40px var(--om-mm-gauche, 190px);
    display: grid;
    grid-template-columns: 1fr 3fr 1.2fr;
    gap: 48px;
}
.om-mm-titre {
    margin: 0 0 14px !important;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ardoise, #546A79);
}
.om-mm-grille { display: grid; gap: 2px 24px; }
.om-mm-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.om-mm-lien {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 7px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    color: var(--encre, #1F2328) !important;
    text-decoration: none !important;
    font-size: .9375rem;
    font-weight: 500;
}
.om-mm-lien:hover { background: var(--teal-clair, #E6F3F3); color: var(--teal-fonce, #0B6E6E) !important; }
.om-mm-nb { font-size: .8125rem; color: var(--ardoise, #546A79); font-weight: 400; }
.om-mm-col--raccourcis {
    background: var(--creme, #F2EEE6);
    border-radius: 24px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.om-mm-raccourci {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    color: var(--encre, #1F2328) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: .9375rem;
}
.om-mm-raccourci:hover { color: var(--Bleu, #108A8A) !important; }
.om-mm-rond {
    width: 34px;
    height: 34px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--om-surface, #fff);
    color: var(--Bleu, #108A8A);
}

/* ---------- 3. Menu mobile ---------- */
.om-burger, .om-mmob-fermer, .om-sombre-btn, .om-favoris-lien {
    position: relative;
    width: 44px;
    height: 44px;
    flex: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--Beige, #E3D8C5) !important;
    background: var(--om-surface, #fff) !important;
    color: var(--encre, #1F2328) !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease;
}
.om-burger:hover, .om-mmob-fermer:hover, .om-sombre-btn:hover, .om-favoris-lien:hover { border-color: var(--Bleu, #108A8A) !important; color: var(--Bleu, #108A8A) !important; }
.om-favoris-lien { color: var(--Rouge, #D25E48) !important; }
.om-fav-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--Rouge, #D25E48);
    color: #fff;
    font: 700 .6875rem/18px var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    text-align: center;
}
.om-favoris-lien .om-fav-badge { position: absolute; top: -4px; right: -4px; }
.om-fav-badge:empty, .om-fav-badge.om-zero { display: none; }

.om-sombre-btn .om-sombre-soleil { display: none; }
body.dark-mode .om-sombre-btn .om-sombre-soleil { display: block; }
body.dark-mode .om-sombre-btn .om-sombre-lune { display: none; }

.om-mmob {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--creme, #F2EEE6);
    display: flex;
    flex-direction: column;
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    color: var(--encre, #1F2328);
}
.om-mmob[hidden] { display: none; }
.om-mmob-haut { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--Beige, #E3D8C5); }
.om-mmob-logo { display: inline-flex; padding: 5px 7px; background: #fff; border-radius: 14px; transform: rotate(-3deg); box-shadow: 0 6px 18px rgba(84, 106, 121, .18); }
.om-mmob-logo img { height: 44px; width: auto; display: block; }
.om-mmob-corps { flex: 1; overflow-y: auto; padding: 18px 16px 32px; display: flex; flex-direction: column; gap: 18px; }
.om-mmob-autour {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; border-radius: 14px;
    background: var(--Bleu, #108A8A); color: #fff !important; text-decoration: none !important;
    font-family: var(--Bogart, "bogart"), Georgia, serif; font-weight: 800; font-size: 1.0625rem;
}
.om-mmob-explorer { background: var(--om-surface, #fff); border-radius: 20px; padding: 4px 16px; }
.om-mmob-explorer[open] { padding-bottom: 16px; }
.om-mmob-explorer summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; cursor: pointer;
    font-family: var(--Bogart, "bogart"), Georgia, serif; font-weight: 800; font-size: 1.5rem; color: var(--Bleu, #108A8A);
}
.om-mmob-explorer summary::-webkit-details-marker { display: none; }
.om-mmob-explorer[open] summary svg { transform: rotate(180deg); }
.om-mmob-explorer .om-mm-titre { margin: 12px 0 8px !important; }
.om-mmob-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.om-mm-pastille {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px;
    border-radius: 999px; border: 1.5px solid var(--Beige, #E3D8C5);
    color: var(--encre, #1F2328) !important; text-decoration: none !important; font-size: .875rem; font-weight: 600;
}
.om-mm-pastille span { color: var(--ardoise, #546A79); font-weight: 400; font-size: .75rem; }
.om-mmob-liens { display: flex; flex-direction: column; }
.om-mmob-liens a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 2px; border-bottom: 1px solid var(--Beige, #E3D8C5);
    font-family: var(--Bogart, "bogart"), Georgia, serif; font-weight: 800; font-size: 1.5rem;
    color: var(--encre, #1F2328) !important; text-decoration: none !important;
}
.om-mmob-liens .om-fav-badge { font-size: .75rem; line-height: 20px; height: 20px; min-width: 20px; }
.om-mmob-bas { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.om-mmob-secondaire { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.om-mmob-secondaire a { color: var(--ardoise, #546A79) !important; font-size: .9375rem; }
html.om-mmob-ouvert { overflow: hidden; }

/* ---------- 6. Tags des cartes ---------- */
.om-tags-resto { display: flex; flex-wrap: wrap; gap: 6px; }
.om-tag-resto {
    display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
    border-radius: 999px; background: var(--teal-clair, #E6F3F3); color: var(--teal-fonce, #0B6E6E);
    font: 600 var(--fs-tag, .6875rem)/1 var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    letter-spacing: .02em;
}

@media (max-width: 1024px) {
    .om-mm-in { grid-template-columns: 1fr 2fr; }
    .om-mm-grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .om-mm-col--raccourcis { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .om-recherche { padding: 6px 6px 6px 16px; }
    .om-recherche-btn { padding: 12px 16px; font-size: .9375rem; }
    .om-recherche--compact .om-recherche-liste { min-width: 0; }
    .om-mega-menu { display: none !important; }
}

/* ============================================================
   Gabarits (refonte-gabarits.php)
   ============================================================ */

/* ---------- Cartes d'origine (modèle 57) hors Grille de boucle ---------- */
.om-cartes { width: 100%; }
.om-cartes .elementor-loop-container,
.om-liste-grille .elementor-loop-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.om-cartes--4 .elementor-loop-container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.om-cartes--2 .elementor-loop-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) {
    .om-cartes .elementor-loop-container,
    .om-liste-grille .elementor-loop-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .om-cartes .elementor-loop-container,
    .om-liste-grille .elementor-loop-container { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- Liste : barre d'outils + panneau + grille ---------- */
.om-liste { width: 100%; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-liste-outils {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    padding: 14px 16px; margin-bottom: 24px;
    background: var(--om-surface, #fff); border-radius: 22px;
    box-shadow: 0 10px 30px rgba(84, 106, 121, .10);
    position: sticky; top: var(--om-entete-h, 98px); z-index: 20;
}
.om-liste-total { font-size: .9375rem; color: var(--texte-doux, #3A4650); margin-left: 6px; }
.om-liste-total strong { color: var(--encre, #1F2328); }
.om-liste-espace { flex: 1 1 auto; }
.om-outil {
    display: inline-flex !important; align-items: center; gap: 8px;
    height: 40px; padding: 0 16px !important; border-radius: 999px !important;
    border: 1.5px solid var(--Beige, #E3D8C5) !important; background: var(--om-surface, #fff) !important;
    color: var(--encre, #1F2328) !important; font: 600 .875rem/1 var(--dm-sans, "DM Sans"), system-ui, sans-serif !important;
    cursor: pointer; white-space: nowrap;
}
.om-outil:hover { border-color: var(--Bleu, #108A8A) !important; color: var(--Bleu, #108A8A) !important; }
.om-outil--plein, #oumanger-filtres-btn.oumanger-btn-active { background: var(--Bleu, #108A8A) !important; border-color: var(--Bleu, #108A8A) !important; color: #fff !important; }
.om-outil--plein:hover { background: var(--teal-fonce, #0B6E6E) !important; color: #fff !important; }
.om-vues { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--creme, #F2EEE6); }
.om-vue { height: 34px; border: 0 !important; background: transparent !important; }
body:not(.oumanger-vue-carte) #oumanger-vue-grille-btn,
body.oumanger-vue-carte #oumanger-vue-carte-btn { background: var(--om-surface, #fff) !important; color: var(--teal-fonce, #0B6E6E) !important; box-shadow: 0 2px 6px rgba(84, 106, 121, .15); }
.om-liste .oumanger-tri-select {
    height: 40px; border-radius: 999px; border: 1.5px solid var(--Beige, #E3D8C5);
    padding: 0 34px 0 16px; font: 600 .875rem var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    background-color: var(--om-surface, #fff); color: var(--encre, #1F2328);
}
.om-liste-corps { display: flex; gap: 24px; align-items: flex-start; }
.om-liste-panneau { border-radius: 22px; }
.om-liste-grille { display: flex; flex-direction: column; gap: 24px; }
.om-liste-plus { display: flex; justify-content: center; }
/* « Charger plus » : l'ancien style (#oumanger-charger-plus, filtre-panel.php) l'emportait par son id.
   Bogart a une ligne haute : flex + line-height 1 pour centrer le texte verticalement. */
.om-liste-plus #oumanger-charger-plus {
    box-sizing: border-box;
    height: 48px; margin: 32px auto 0; padding: 0 30px;
    border: 2px solid var(--Bleu, #108A8A); border-radius: 999px;
    background: var(--om-surface, #fff); color: var(--Bleu, #108A8A);
    font: 800 1rem/1 var(--Bogart, "bogart"), Georgia, serif; cursor: pointer;
}
.om-liste-plus #oumanger-charger-plus.oumanger-visible { display: flex; align-items: center; justify-content: center; }
.om-liste-plus #oumanger-charger-plus:hover { background: var(--Bleu, #108A8A); color: #fff; }
body.dark-mode .om-liste-plus #oumanger-charger-plus { border-color: #2DB0AD; color: #2DB0AD; }
body.dark-mode .om-liste-plus #oumanger-charger-plus:hover { background: #2DB0AD; color: #15181B; }
@media (max-width: 767px) {
    .om-liste-outils { top: 64px; padding: 10px; border-radius: 18px; }
    .om-liste-total { order: 5; width: 100%; margin: 4px 0 0; }
    .om-liste-espace { display: none; }
}

/* ---------- Fiche restaurant ---------- */
.om-tags-fiche { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; } /* au-dessus du titre qui le chevauchait */
.om-tag-plein {
    display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
    background: var(--Rouge, #D25E48); color: #fff !important; text-decoration: none !important;
    font: 700 .6875rem/1 var(--dm-sans, "DM Sans"), system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
}
.om-note { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-note-chiffre {
    min-width: 54px; height: 54px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 16px; background: var(--om-surface, #fff); box-shadow: 0 6px 16px rgba(84, 106, 121, .14);
    font: 900 1.75rem/1 var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328);
}
.om-note-detail { display: flex; flex-direction: column; gap: 2px; }
.om-note-detail small { font-size: .8125rem; color: var(--texte-doux, #3A4650); }
.om-etoiles { color: var(--Rouge, #D25E48); letter-spacing: 2px; font-size: 1rem; }
.om-etoile--vide { opacity: .25; }
.om-etoile--demi { opacity: .6; }
.om-ouverture { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--encre, #1F2328); padding-left: 14px; border-left: 1px solid var(--Beige, #E3D8C5); }
.om-ouverture:empty { display: none; }
.om-ouverture::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--Rouge, #D25E48); }
.om-ouverture.om-ouvert::before { background: var(--vert-ouvert, #2E9E4F); }
.om-infos-ligne { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 .9375rem var(--dm-sans, "DM Sans"), system-ui, sans-serif; color: var(--texte-doux, #3A4650); }
.om-infos-ligne > span { display: inline-flex; align-items: center; gap: 7px; }
.om-ico { display: inline-flex; color: var(--encre, #1F2328); }
.om-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.om-action, button.oumanger-coeur.om-action {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    width: auto !important; height: 48px !important; padding: 0 22px !important; border-radius: 14px !important;
    border: 2px solid var(--Bleu, #108A8A) !important; background: var(--om-surface, #fff) !important;
    color: var(--Bleu, #108A8A) !important; text-decoration: none !important; cursor: pointer;
    font: 800 1rem/1 var(--Bogart, "bogart"), Georgia, serif !important;
    transition: background .2s ease, color .2s ease;
}
.om-action:hover { background: var(--Bleu, #108A8A) !important; color: #fff !important; transform: none !important; }
.om-action--plein { background: var(--Bleu, #108A8A) !important; color: #fff !important; }
.om-action--plein:hover { background: var(--teal-fonce, #0B6E6E) !important; }
.om-action--large { width: 100% !important; }
button.oumanger-coeur.om-action--favori { border-color: var(--Rouge, #D25E48) !important; color: var(--Rouge, #D25E48) !important; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif !important; font-weight: 600 !important; font-size: .9375rem !important; }
button.oumanger-coeur.om-action--favori svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2px; }
button.oumanger-coeur.om-action--favori { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
button.oumanger-coeur.om-action--favori:hover, button.oumanger-coeur.om-action--favori:focus-visible { background: var(--Rouge, #D25E48) !important; color: #fff !important; }
button.oumanger-coeur.om-action--favori:hover svg { animation: om-coeur-bat .6s ease; }
button.oumanger-coeur.om-action--favori[aria-pressed="true"]:hover { background: var(--corail-fonce, #C2513C) !important; color: #fff !important; }
@keyframes om-coeur-bat { 25% { transform: scale(1.25); } 50% { transform: scale(.95); } 75% { transform: scale(1.12); } }
button.oumanger-coeur.om-action--favori[aria-pressed="true"] { background: var(--Rouge, #D25E48) !important; color: #fff !important; }
button.oumanger-coeur.om-action--favori[aria-pressed="true"] svg { fill: currentColor; }
.om-action--favori .om-favori-retirer, .om-action--favori[aria-pressed="true"] .om-favori-ajouter { display: none; }
.om-action--favori[aria-pressed="true"] .om-favori-retirer { display: inline; }

.om-bloc {
    height: 100%; box-sizing: border-box; padding: 26px; border-radius: 24px;
    background: var(--om-surface, #fff); box-shadow: 0 10px 30px rgba(84, 106, 121, .10);
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; color: var(--encre, #1F2328);
    display: flex; flex-direction: column; gap: 14px;
}
.om-bloc-titre { display: flex; align-items: center; gap: 8px; margin: 0 !important; font: 800 1.375rem/1.1 var(--Bogart, "bogart"), Georgia, serif; }
.om-bloc-titre .om-ico { color: var(--Bleu, #108A8A); }
.om-bloc-note { font-size: .75rem; color: var(--texte-doux, #3A4650) !important; text-decoration: underline; }
.om-horaires { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.om-horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: .9375rem; }
.om-horaires li.om-ferme span:last-child { color: var(--Rouge, #D25E48); }
.om-horaires li.om-aujourdhui { background: var(--teal-clair, #E6F3F3); color: var(--teal-fonce, #0B6E6E); font-weight: 700; }
.om-infos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.om-infos li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; min-width: 0; }
.om-infos li > span:last-child { min-width: 0; overflow-wrap: anywhere; word-break: break-word; } /* liens longs (Instagram…) */
.om-infos small { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ardoise, #546A79); margin-bottom: 2px; }
.om-infos a { color: var(--Bleu, #108A8A); }
.om-rond-ico { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--creme, #F2EEE6); color: var(--Bleu, #108A8A); }
.om-rond-ico .om-ico { color: inherit; }
.om-plan { width: 100%; height: 240px; border: 0; border-radius: 16px; background: var(--creme, #F2EEE6); }
.om-apropos { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: var(--conteneur, 1540px); padding-inline: var(--gouttiere, 2.75rem); box-sizing: border-box; }
.om-apropos-texte { max-width: 900px; }
.om-apropos-titre { margin: 0; font: 900 var(--fs-h2, 2.5rem)/1.05 var(--Bogart, "bogart"), Georgia, serif; color: var(--Bleu, #108A8A); }
.om-apropos-titre span { color: var(--Rouge, #D25E48); }
.om-apropos-texte { font: 400 1.0625rem/1.65 var(--dm-sans, "DM Sans"), system-ui, sans-serif; color: var(--texte-doux, #3A4650); }
.om-badge-cdc { position: absolute; top: 26px; left: 26px; z-index: 2; display: inline-flex; padding: 8px 14px; border-radius: 12px; background: rgba(0,0,0,.7); color: #fff; font: 800 .875rem var(--Bogart, "bogart"), Georgia, serif; }

/* ---------- Archive ---------- */
.om-archive-image { position: relative; margin: 0; padding: 12px; background: #fff; border-radius: 30px; transform: rotate(2deg); box-shadow: 0 20px 50px rgba(31, 35, 40, .18); }
.om-archive-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px !important; } /* rayon du cadre (30px) moins sa marge (12px) */
.om-archive-etiquette {
    position: absolute; left: -18px; bottom: 28px; transform: rotate(-2deg);
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
    background: #fff; box-shadow: 0 8px 20px rgba(31, 35, 40, .15);
    font: 800 1rem var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328);
}
.om-archive-etiquette .om-rond-ico { background: var(--Rouge, #D25E48); color: #fff; }
.om-reperes { display: flex; flex-wrap: wrap; gap: 10px; }
.om-repere { display: flex; flex-direction: column; gap: 2px; min-width: 120px; padding: 12px 16px; border-radius: 16px; background: var(--om-surface, #fff); font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-repere strong { font: 900 1.25rem var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328); }
.om-repere small { font-size: .75rem; color: var(--texte-doux, #3A4650); }
.om-autres-envies .om-mm-titre { margin-top: 18px !important; }
.om-autres-envies .om-mm-pastille { background: var(--om-surface, #fff); }
.oumanger-breadcrumb { font: 500 .8125rem var(--dm-sans, "DM Sans"), system-ui, sans-serif; color: var(--texte-doux, #3A4650); }
.oumanger-breadcrumb a { color: var(--texte-doux, #3A4650) !important; }
.oumanger-breadcrumb-sep { margin: 0 6px; }
.oumanger-breadcrumb-current { font-weight: 700; color: var(--encre, #1F2328); }

/* ============================================================
   En-tête (maquette Figma « En-tête ordinateur / mobile »)
   ============================================================ */
.om-burger, .om-mmob-fermer, .om-sombre-btn, .om-favoris-lien {
    width: 46px !important; min-width: 46px !important; max-width: 46px !important; height: 46px !important;
    border: 0 !important; background: var(--creme, #F2EEE6) !important;
}
.om-burger:hover, .om-sombre-btn:hover, .om-favoris-lien:hover { background: var(--Beige, #E3D8C5) !important; }
.om-favoris-lien svg { width: 20px; height: 20px; }
.om-burger { color: var(--encre, #1F2328) !important; }
.om-favoris-lien .om-fav-badge { top: -5px; right: -5px; }

.om-recherche-btn { border: 0 !important; }
.om-recherche--compact {
    width: 300px; max-width: 100%; height: 46px; padding: 0 18px;
    background: var(--creme, #F2EEE6); border: 0; box-shadow: none;
}
.om-recherche--compact:focus-within { box-shadow: 0 0 0 2px var(--Bleu, #108A8A); }
.om-recherche--compact .om-recherche-champ { font-size: .9375rem; }
.om-recherche--compact .om-recherche-liste { left: 0; right: auto; width: 380px; }
.om-mmob .om-recherche--compact { width: 100%; }
.om-mmob .om-recherche--compact .om-recherche-liste { width: auto; right: 0; }

.om-explorer-btn { font-size: 1rem !important; font-weight: 600 !important; padding: 10px 12px !important; }
.om-nav-lien a, a.om-nav-lien { color: inherit; text-decoration: none; }

/* Interrupteur clair / sombre (version d'origine, aux couleurs de la charte) */
header .oumanger-dark-label {
    width: 66px; height: 38px; background: var(--creme, #F2EEE6); border: 1.5px solid var(--Beige, #E3D8C5); box-shadow: none; box-sizing: border-box;
}
header .oumanger-dark-circle { width: 28px; height: 28px; left: 4px; background: #fff; }
header .oumanger-dark-circle .oumanger-sun { color: var(--Rouge, #D25E48); }
header #oumanger-dark-toggle:checked + .oumanger-dark-label { background: #1E2328; border-color: #3A4048; }
header #oumanger-dark-toggle:checked + .oumanger-dark-label .oumanger-dark-circle { left: calc(100% - 33px); background: #2C3238; }

@media (max-width: 767px) {
    .om-burger, .om-favoris-lien { width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 44px !important; }
}

/* Archive sans image (liste de tous les restaurants) : on masque la colonne visuel */
.e-con:has(> .om-archive-sans-image) { display: none !important; }
.om-archive-sans-image { display: none; }
h2.om-h3:empty, p.om-texte:empty { display: none; }

/* ---------- Suggestions de recherche (maquette « Barre de recherche ») ---------- */
.om-recherche-liste { padding: 14px; border-radius: 20px; border: 0; box-shadow: 0 24px 60px rgba(31, 35, 40, .18); }
.om-recherche-groupe { margin: 6px 12px 4px; font-size: .75rem; letter-spacing: .1em; }
.om-recherche-sep { height: 1px; margin: 6px 12px; background: var(--Beige, #EEE7DA); }
.om-recherche-option { justify-content: flex-start; gap: 14px; padding: 10px 12px; }
.om-recherche-option[aria-selected="true"], .om-recherche-option:hover { background: var(--creme, #F4F0E7); }
.om-recherche-ico-terme { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--teal-clair, #E6F3F3); color: var(--Bleu, #108A8A); }
.om-recherche-photo { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; display: block; }
.om-recherche-texte { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.om-recherche-texte strong { font-weight: 700; color: var(--encre, #1F2328); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-recherche-texte small { overflow: hidden; text-overflow: ellipsis; }
.om-recherche-option mark { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.om-recherche-voir { flex: none; font-size: .875rem; font-weight: 600; color: var(--teal-fonce, #0B6E6E); }
.om-recherche-note { flex: none; font-size: .875rem; font-weight: 600; color: var(--encre, #1F2328); }
.om-recherche--compact .om-recherche-liste { width: 440px; }
@media (max-width: 767px) {
    .om-recherche-voir { display: none; }
    .om-recherche-liste { padding: 8px; }
}

/* ---------- Le logo du header déborde sous la barre : on laisse la place ---------- */
[data-elementor-type="wp-page"] > .e-con:first-child,
[data-elementor-type="archive"] > .e-con:first-child,
[data-elementor-type="single"] > .e-con:first-child,
[data-elementor-type="single-post"] > .e-con:first-child,
[data-elementor-type="single-page"] > .e-con:first-child,
[data-elementor-type="error-404"] > .e-con:first-child {
    padding-block-start: max(64px, var(--om-haut-mini, 0px)) !important;
}
@media (max-width: 767px) {
    [data-elementor-type="wp-page"] > .e-con:first-child,
    [data-elementor-type="archive"] > .e-con:first-child,
    [data-elementor-type="single"] > .e-con:first-child,
    [data-elementor-type="single-post"] > .e-con:first-child,
    [data-elementor-type="single-page"] > .e-con:first-child,
    [data-elementor-type="error-404"] > .e-con:first-child { padding-block-start: 40px !important; }
}

/* En-tête : place disponible selon la largeur d'écran */
@media (max-width: 1599px) {
    header .om-recherche--compact { width: 230px; }
}
@media (max-width: 1365px) and (min-width: 768px) {
    header .om-recherche--compact { display: none; }      /* la recherche reste dans l'accueil et le menu */
}
@media (max-width: 1180px) and (min-width: 768px) {
    header [data-id="23c42949"] { display: none; }        /* « Autour de moi » : icône seule */
    header [data-id="2d4565a"] { width: 46px !important; padding: 0 !important; justify-content: center; border-radius: 50% !important; }
    header .om-nav-lien, header .om-explorer-btn { font-size: .9375rem !important; }
}
@media (max-width: 1024px) and (min-width: 768px) {
    header [data-id="99113d0"] { display: none; }          /* « Restaurant aléatoire » : reste dans Explorer */
}

/* ---------- Recherche : champ et bouton aux couleurs de la charte ---------- */
.om-recherche .om-recherche-champ,
.om-recherche .om-recherche-champ:focus,
.om-recherche .om-recherche-champ:focus-visible {
    border: 0 !important; outline: none !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important;
}
.om-recherche-champ::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.om-recherche .om-recherche-btn,
.om-recherche .om-recherche-btn:hover,
.om-recherche .om-recherche-btn:focus {
    height: 52px; padding: 0 28px !important; border: 0 !important; border-radius: 16px !important;
    background: var(--Bleu, #108A8A) !important; color: #fff !important;
    font: 800 1.0625rem/1 var(--Bogart, "bogart"), Georgia, serif !important; text-transform: none !important; box-shadow: none !important; cursor: pointer;
}
.om-recherche .om-recherche-btn:hover { background: var(--teal-fonce, #0B6E6E) !important; }
.om-recherche--complet { padding: 8px 8px 8px 22px; border-radius: 22px; }
.om-recherche--complet:focus-within { border-color: var(--Bleu, #108A8A); box-shadow: 0 0 0 4px rgba(16, 138, 138, .12), 0 10px 30px rgba(84, 106, 121, .14); }
.om-recherche-liste { z-index: 200; }
@media (max-width: 767px) {
    .om-recherche .om-recherche-btn { height: 46px; padding: 0 16px !important; font-size: .9375rem !important; }
}

/* Fond de page de la charte (évite le blanc derrière les sections arrondies) */
body { background-color: var(--creme, #F2EEE6); }

.om-tuile { transition: background-image .3s ease; }

/* Formulaires atomiques (page contact) aux couleurs de la charte */
.e-form-base { font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.e-form-base label { font: 700 .9375rem var(--dm-sans, "DM Sans"), system-ui, sans-serif !important; color: var(--encre, #1F2328) !important; }
.e-form-base input:not([type="checkbox"]):not([type="radio"]), .e-form-base select, .e-form-base textarea {
    width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 16px !important;
    border: 1.5px solid var(--Beige, #E3D8C5) !important; border-radius: 14px !important;
    background: var(--creme, #F2EEE6) !important; color: var(--encre, #1F2328) !important;
    font: 400 1rem var(--dm-sans, "DM Sans"), system-ui, sans-serif !important; box-shadow: none !important;
}
.e-form-base textarea { min-height: 160px; }
.e-form-base input:focus, .e-form-base select:focus, .e-form-base textarea:focus { outline: none !important; border-color: var(--Bleu, #108A8A) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(16, 138, 138, .12) !important; }
.e-form-base input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--Bleu, #108A8A); }
.e-form-base button[type="submit"], .e-form-base .e-form-submit-button-base {
    height: 54px; padding: 0 32px !important; border: 0 !important; border-radius: 16px !important;
    background: var(--Bleu, #108A8A) !important; color: #fff !important; cursor: pointer;
    font: 800 1.0625rem/1 var(--Bogart, "bogart"), Georgia, serif !important;
}
.e-form-base button[type="submit"]:hover { background: var(--teal-fonce, #0B6E6E) !important; }
.e-form-base .e-form-checkbox-row label { font-weight: 400 !important; font-size: .875rem !important; line-height: 1.5; }
.e-form-base input[type="checkbox"] { flex: none; margin-top: 2px; border: 1.5px solid var(--Beige, #E3D8C5) !important; border-radius: 6px !important; background: #fff !important; }
.e-form-base input[type="checkbox"]:checked { background: var(--Bleu, #108A8A) !important; border-color: var(--Bleu, #108A8A) !important; }

/* ============================================================
   Page « À propos » : chiffres et améliorations à venir (inc/refonte-apropos.php)
   ============================================================ */
.om-chiffres {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; width: 100%;
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
}
.om-chiffres li {
    display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 22px;
    background: var(--om-surface, #fff); box-shadow: 0 10px 24px rgba(84, 106, 121, .08);
}
.om-chiffres strong { font: 900 2.25rem/1 var(--Bogart, "bogart"), Georgia, serif; color: var(--Bleu, #108A8A); }
.om-chiffres li:nth-child(2) strong { color: var(--Rouge, #D25E48); }
.om-chiffres li:nth-child(3) strong { color: var(--Marron, #887b64); }
.om-chiffres li:nth-child(4) strong { color: var(--teal-fonce, #0B6E6E); }
.om-chiffres span { font-size: .875rem; font-weight: 600; color: var(--texte-doux, #3A4650); }

.om-services {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; width: 100%;
    font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
}
.om-service {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border-radius: 22px;
    background: var(--om-surface, #fff); border: 1.5px dashed var(--Beige, #E3D8C5);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.om-service:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--Bleu, #108A8A); box-shadow: 0 12px 26px rgba(84, 106, 121, .12); }
.om-service-ico {
    width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--teal-clair, #E6F3F3); color: var(--teal-fonce, #0B6E6E);
}
.om-service:nth-child(4n+2) .om-service-ico { background: #FBE9E5; color: var(--corail-fonce, #C2513C); }
.om-service:nth-child(4n+3) .om-service-ico { background: var(--creme, #F2EEE6); color: var(--Marron, #887b64); }
.om-service:nth-child(4n+4) .om-service-ico { background: #EAF5EC; color: #2E7D46; }
.om-service:hover .om-service-ico svg { animation: om-service-bond .5s cubic-bezier(.3, 1.6, .5, 1); }
.om-service strong { font: 900 1.0625rem/1.2 var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328); }
.om-service-txt { font-size: .875rem; line-height: 1.45; color: var(--texte-doux, #3A4650); }
.om-service-badge {
    position: absolute; top: 16px; right: 16px; padding: 4px 9px; border-radius: 999px;
    background: var(--Rouge, #D25E48); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
@keyframes om-service-bond { 40% { transform: scale(1.18) rotate(-8deg); } }
body.dark-mode .om-service:nth-child(4n+2) .om-service-ico { background: #3A2622; }
body.dark-mode .om-service:nth-child(4n+4) .om-service-ico { background: #1D3324; color: #7FD49A; }
body.dark-mode .om-service-ico { background: #173434; color: #7FD0D0; }
@media (max-width: 1024px) {
    .om-chiffres, .om-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .om-chiffres { gap: 10px; }
    .om-chiffres li { padding: 16px; }
    .om-chiffres strong { font-size: 1.75rem; }
    .om-services { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .om-service, .om-service-ico svg { transition: none; animation: none !important; } }

/* Mode sombre : le pied de page reste teal, son texte doit rester blanc
   (dark-mode.php redéfinit --Blanc en gris très foncé) */
body.dark-mode .elementor-location-footer { --Blanc: #FFFFFF; --teal-clair: #E6F3F3; }

/* Fiche : boutons Livraison et Partager */
.om-action .om-ico, .om-action > svg { display: inline-flex; }
/* Icônes des boutons (Partager, Livraison) : couleur du bouton (bleu, blanche au survol) et non l'encre des icônes d'infos */
.om-action .om-ico { color: inherit; }
.om-action--partager { cursor: pointer; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif !important; font-weight: 600 !important; font-size: .9375rem !important; color: var(--Bleu, #108A8A) !important; }
.om-action--partager svg { width: 18px; height: 18px; }
.om-action--partager.om-copie { background: var(--Bleu, #108A8A) !important; color: #fff !important; }
@media (max-width: 767px) { .om-actions .om-action { flex: 1 1 auto; padding: 0 16px !important; } }

/* ============================================================
   Page 404 (inc/refonte-404.php, modèle Elementor 1561)
   ============================================================ */
.om-404-visuel { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }
.om-404-chiffres { display: flex; align-items: center; justify-content: center; gap: 4px; }
.om-404-quatre {
    font: 900 clamp(7rem, 16vw, 12rem)/.85 var(--Bogart, "bogart"), Georgia, serif; color: var(--Bleu, #108A8A);
    display: inline-block; transform: rotate(-6deg); animation: om-404-flotte 4s ease-in-out infinite;
}
.om-404-quatre--corail { color: var(--Rouge, #D25E48); transform: rotate(7deg); animation-delay: -2s; }
.om-404-zero { position: relative; display: inline-flex; align-items: center; justify-content: center; width: clamp(8rem, 17vw, 12.5rem); height: clamp(8rem, 17vw, 12.5rem); margin: 0 6px; }
.om-404-assiette { width: 100%; height: 100%; filter: drop-shadow(0 14px 22px rgba(31, 35, 40, .16)); animation: om-404-tourne 18s linear infinite; }
.om-404-fourchette, .om-404-couteau { position: absolute; top: 50%; height: 78%; width: auto; transform: translateY(-50%); }
.om-404-fourchette { left: -14%; transform-origin: 50% 90%; animation: om-404-fourchette 3.2s ease-in-out infinite; }
.om-404-couteau { right: -12%; transform-origin: 50% 90%; animation: om-404-couteau 3.2s ease-in-out infinite; }
.om-404-miettes circle { animation: om-404-miette 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.om-404-miettes circle:nth-child(2) { animation-delay: .4s; }
.om-404-miettes circle:nth-child(3) { animation-delay: .8s; }
.om-404-miettes circle:nth-child(4) { animation-delay: 1.2s; }

.om-404-ticket {
    position: relative; width: min(100%, 340px); padding: 20px 22px 26px; transform: rotate(-2deg);
    background: #fff; color: #1F2328; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif;
    box-shadow: 0 16px 30px rgba(31, 35, 40, .14);
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
            mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
    transition: transform .3s ease;
}
.om-404-ticket:hover { transform: rotate(0) translateY(-3px); }
.om-404-ticket-tete { display: flex; justify-content: space-between; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px dashed #E3D8C5; font: 900 1rem var(--Bogart, "bogart"), Georgia, serif; }
.om-404-ticket ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; }
.om-404-ticket li { display: flex; justify-content: space-between; gap: 12px; }
.om-404-ticket li span { flex: 1; overflow: hidden; white-space: nowrap; }
.om-404-ticket li span::after { content: " ........................................"; color: #C9BFAE; }
.om-404-ticket em { font-style: normal; font-weight: 700; color: var(--Bleu, #108A8A); }
.om-404-ticket em.om-404-barre { color: var(--Rouge, #D25E48); text-decoration: line-through; text-decoration-thickness: 2px; }
.om-404-ticket-pied { margin: 14px 0 0; padding-top: 10px; border-top: 2px dashed #E3D8C5; font-size: .875rem; font-weight: 600; color: var(--texte-doux, #3A4650); }

.om-404-actions { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.om-404-actions .om-recherche { max-width: 560px; }
.om-404-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.om-404-btn {
    display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 14px;
    background: var(--Bleu, #108A8A); color: #fff !important; text-decoration: none !important; border: 2px solid var(--Bleu, #108A8A);
    font: 800 1rem/1 var(--Bogart, "bogart"), Georgia, serif; transition: background-color .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.om-404-btn:hover { background: var(--teal-fonce, #0B6E6E); border-color: var(--teal-fonce, #0B6E6E); transform: translateY(-2px); }
.om-404-btn--corail { background: var(--Rouge, #D25E48); border-color: var(--Rouge, #D25E48); box-shadow: 0 5px 0 var(--corail-fonce, #A9452F); }
.om-404-btn--corail:hover { background: var(--corail-fonce, #C2513C); border-color: var(--corail-fonce, #C2513C); }
.om-404-btn--contour { background: transparent; color: var(--Bleu, #108A8A) !important; }
.om-404-btn--contour:hover { background: var(--Bleu, #108A8A); color: #fff !important; }
.om-404-envies .om-mm-pastille { background: var(--om-surface, #fff); box-shadow: 0 2px 8px rgba(84, 106, 121, .08); }
.om-404-envies .om-mm-pastille:hover { background: var(--Bleu, #108A8A); border-color: var(--Bleu, #108A8A); color: #fff !important; }
.om-404-envies .om-mm-pastille:hover span { color: rgba(255, 255, 255, .8); }
.om-404-fourchette, .om-404-couteau { color: var(--encre, #1F2328); }
.om-404-ticket-pied { color: #3A4650 !important; }
.om-404-envies-titre { margin: 6px 0 0; font: 700 .8125rem var(--dm-sans, "DM Sans"), sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--Marron, #887b64); }

@keyframes om-404-flotte { 50% { translate: 0 -10px; } }
@keyframes om-404-tourne { to { transform: rotate(360deg); } }
@keyframes om-404-fourchette { 0%, 100% { transform: translateY(-50%) rotate(-8deg); } 50% { transform: translateY(-56%) rotate(4deg); } }
@keyframes om-404-couteau { 0%, 100% { transform: translateY(-50%) rotate(8deg); } 50% { transform: translateY(-56%) rotate(-4deg); } }
@keyframes om-404-miette { 50% { transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) {
    .om-404-quatre, .om-404-assiette, .om-404-fourchette, .om-404-couteau, .om-404-miettes circle { animation: none !important; }
}
@media (max-width: 767px) {
    .om-404-btn { flex: 1 1 100%; }
    .om-404-ticket { transform: rotate(-1deg); }
}
body.dark-mode .om-404-btn--contour { color: #7FD0D0 !important; border-color: #2DB0AD; }

/* Fiche : « À 600 m de vous » (refonte-autour.js) */
.om-distance-fiche { margin-left: 4px; padding: 3px 9px; border-radius: 999px; background: #FBE9E5; color: var(--corail-fonce, #C2513C); font-size: .8125rem; font-weight: 700; white-space: nowrap; }

/* En-tête : le logo (sticker qui déborde sous la barre) reste au-dessus du méga-menu */
.elementor-location-header .elementor-element-1f234d0b { z-index: 60 !important; }
@media (min-width: 1025px) and (max-width: 1440px) {
    .om-mm-in { gap: 32px; grid-template-columns: 1fr 3fr 1.3fr; }
}

/* ============================================================
   Actus (inc/actus.php) : bento, en-tête et suite d'article
   ============================================================ */
.om-actus { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; gap: 22px; width: 100%; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-actu { grid-column: span 2; min-width: 0; }
.om-actus--3 .om-actu--une, .om-actus--4 .om-actu--une { grid-column: span 4; grid-row: span 2; }
.om-actus--2 .om-actu { grid-column: span 3; }
.om-actus--1 .om-actu { grid-column: 1 / -1; }
.om-actu-lien {
    display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 26px; text-decoration: none !important; color: inherit !important;
    background: var(--om-surface, #fff); box-shadow: 0 10px 26px rgba(84, 106, 121, .10);
    transition: transform .3s cubic-bezier(.3, 1.3, .5, 1), box-shadow .3s ease;
}
.om-actu-lien:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 18px 36px rgba(84, 106, 121, .16); }
.om-actu-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--Beige, #E3D8C5); }
.om-actu--une .om-actu-photo { aspect-ratio: auto; flex: 1 1 auto; min-height: 280px; }
.om-actu--une .om-actu-photo img { position: absolute; inset: 0; }
.om-actu-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.om-actu-cat { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--Rouge, #D25E48); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.om-actu-corps { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.om-actu--une .om-actu-corps { padding: 26px 28px 28px; }
.om-actu-meta { font-size: .8125rem; font-weight: 600; color: var(--Marron, #887b64); }
.om-actu-titre { font: 900 1.25rem/1.2 var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328); }
.om-actu--une .om-actu-titre { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.om-actu-extrait { font-size: .9375rem; line-height: 1.55; color: var(--texte-doux, #3A4650); }
.om-actu:not(.om-actu--une) .om-actu-extrait { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.om-actu-plus { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--Bleu, #108A8A); }
.om-actu-plus span { display: inline-block; transition: transform .2s ease; }
.om-actu-lien:hover .om-actu-plus span { transform: translateX(4px); }
.om-actus-vide { font-family: var(--dm-sans, "DM Sans"), sans-serif; color: var(--texte-doux, #3A4650); }

.om-actu-tete { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; width: 100%; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-actu-tete-texte { display: flex; flex-direction: column; gap: 16px; }
.om-actu-tete-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--Marron, #887b64); }
.om-actu-tete-cat { padding: 6px 12px; border-radius: 999px; background: var(--Rouge, #D25E48); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.om-actu-h1 { margin: 0; font: 900 clamp(2rem, 4.2vw, 3.5rem)/1.05 var(--Bogart, "bogart"), Georgia, serif; color: var(--Bleu, #108A8A); text-transform: none; }
.om-actu-h1 span { color: var(--Rouge, #D25E48); }
.om-actu-chapeau { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--texte-doux, #3A4650); }
.om-actu-tete-image { margin: 0; }

.om-actu-suite { display: flex; flex-direction: column; gap: 26px; width: 100%; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-actu-faim { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 34px 36px; border-radius: 28px; background: var(--Bleu, #108A8A); color: #fff; }
.om-actu-faim p { margin: 0; color: #fff; font-size: 1rem; }
.om-actu-faim .om-actu-faim-titre { font: 900 1.75rem/1.15 var(--Bogart, "bogart"), Georgia, serif; }
.om-actu-faim-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.om-actu-faim .om-404-btn:not(.om-404-btn--corail) { background: #fff; border-color: #fff; color: var(--teal-fonce, #0B6E6E) !important; }
.om-actu-suite-titre { margin: 18px 0 0; font: 900 2rem/1.1 var(--Bogart, "bogart"), Georgia, serif; color: var(--Bleu, #108A8A); }
.om-actu-suite-titre span { color: var(--Rouge, #D25E48); }
.om-actu-retour { margin: 0; }
.om-actu-retour a { font-weight: 700; color: var(--Bleu, #108A8A) !important; }

@media (max-width: 1024px) {
    .om-actus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .om-actu, .om-actus--2 .om-actu { grid-column: span 1; }
    .om-actus--3 .om-actu--une, .om-actus--4 .om-actu--une { grid-column: 1 / -1; grid-row: auto; }
    .om-actu--une .om-actu-photo { aspect-ratio: 16 / 9; min-height: 0; }
    .om-actu-tete { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .om-actu-tete-image { order: -1; max-width: 520px; }
}
@media (max-width: 767px) {
    .om-actus { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .om-actu-faim { padding: 24px; }
    .om-actu-faim .om-404-btn { flex: 1 1 100%; }
}

/* Articles : carte d'un restaurant dans une colonne */
.om-article-col-carte > * { width: 100%; }
.om-article-col-carte .om-cartes, .om-article-col-carte .elementor-loop-container { grid-template-columns: minmax(0, 1fr) !important; }

/* Accueil : actus compactes, trois cartes côte à côte (format=ligne) */
.om-actus--ligne { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.om-actus--ligne .om-actu { grid-column: auto; grid-row: auto; }
.om-actus--ligne .om-actu-photo { aspect-ratio: 16 / 9; }
.om-actus--ligne .om-actu-corps { padding: 16px 18px 18px; gap: 6px; }
.om-actus--ligne .om-actu-titre { font-size: 1.0625rem; }
.om-actus--ligne .om-actu-extrait { display: none; }
.om-actus--ligne .om-actu-lien { border-radius: 22px; }
@media (max-width: 1024px) { .om-actus--ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .om-actus--ligne { grid-template-columns: minmax(0, 1fr); } }

/* Page Actus : la une devient une carte horizontale (photo à gauche, texte à droite), les autres en dessous */
.om-actus:not(.om-actus--ligne) .om-actu--une { grid-column: 1 / -1; grid-row: auto; }
.om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-lien { flex-direction: row; }
.om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-photo { flex: 0 0 56%; aspect-ratio: 16 / 10; min-height: 0; }
.om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-corps { flex: 1 1 auto; justify-content: center; padding: 36px 40px; gap: 12px; }
.om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-titre { font-size: clamp(1.5rem, 2.2vw, 2.125rem); }
.om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-plus { margin-top: 8px; }
.om-actus--3 .om-actu:not(.om-actu--une), .om-actus--2 .om-actu:not(.om-actu--une) { grid-column: span 3; }
.om-actus--4 .om-actu:not(.om-actu--une) { grid-column: span 2; }
@media (max-width: 1024px) {
    .om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-photo { flex-basis: 50%; }
    .om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-corps { padding: 26px 28px; }
    .om-actus--3 .om-actu:not(.om-actu--une), .om-actus--2 .om-actu:not(.om-actu--une), .om-actus--4 .om-actu:not(.om-actu--une) { grid-column: span 1; }
}
@media (max-width: 767px) {
    .om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-lien { flex-direction: column; }
    .om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-photo { flex: none; aspect-ratio: 16 / 10; }
    .om-actus:not(.om-actus--ligne) .om-actu--une .om-actu-corps { padding: 20px 22px 22px; }
}

/* Page Actus : filtre par catégorie (pastilles comme celles des filtres de la liste) */
.om-actus-zone { display: flex; flex-direction: column; gap: 26px; width: 100%; }
.om-actus-filtre { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-actus-pill {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
    border: 1.5px solid var(--Beige, #E3D8C5); background: var(--om-surface, #fff);
    color: var(--encre, #1F2328) !important; font: 500 .9375rem/1 var(--dm-sans, "DM Sans"), system-ui, sans-serif; text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.om-actus-pill small { font-size: .75rem; color: var(--ardoise, #6B7780); }
.om-actus-pill:hover { border-color: var(--Bleu, #108A8A); color: var(--Bleu, #108A8A) !important; }
.om-actus-pill[aria-current="true"] { background: var(--Bleu, #108A8A); border-color: var(--Bleu, #108A8A); color: #fff !important; font-weight: 600; }
.om-actus-pill[aria-current="true"] small { color: #D7EFEF; }
.om-actu[hidden] { display: none !important; }
a.om-actu-tete-cat { color: #fff !important; text-decoration: none !important; transition: background-color .2s ease; }
a.om-actu-tete-cat:hover { background: var(--corail-fonce, #C2513C); }
@media (max-width: 767px) {
    /* Une seule rangée qui défile, comme la barre de filtres de la liste */
    .om-actus-zone { gap: 18px; }
    .om-actus-filtre { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .om-actus-filtre::-webkit-scrollbar { display: none; }
    .om-actus-pill { flex: none; }
}

/* « À lire aussi » : deux colonnes égales */
.om-actus--colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.om-actus--colonnes .om-actu { grid-column: auto; grid-row: auto; }
@media (max-width: 767px) { .om-actus--colonnes { grid-template-columns: minmax(0, 1fr); } }

/* Articles : fonctionnalités en cartes à icônes */
.om-fonctions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 6px 0; padding: 0; list-style: none; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-fonction {
    display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 22px; border-radius: 24px;
    background: var(--om-surface, #fff); border: 1.5px solid var(--Beige, #E3D8C5);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.om-fonction:hover { transform: translateY(-4px); border-color: var(--Bleu, #108A8A); box-shadow: 0 12px 26px rgba(84, 106, 121, .12); }
.om-fonction-ico { width: 54px; height: 54px; margin-bottom: 6px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-clair, #E6F3F3); color: var(--teal-fonce, #0B6E6E); }
.om-fonction:nth-child(3n+2) .om-fonction-ico { background: #FBE9E5; color: var(--corail-fonce, #C2513C); }
.om-fonction:nth-child(3n+3) .om-fonction-ico { background: var(--creme, #F2EEE6); color: var(--Marron, #887b64); }
.om-fonction strong { font: 900 1.125rem/1.2 var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328); }
.om-fonction-txt { font-size: .9375rem; line-height: 1.55; color: var(--texte-doux, #3A4650); }
.om-fonction-lien { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9375rem; color: var(--Bleu, #108A8A) !important; text-decoration: none !important; }
.om-fonction-lien span { display: inline-block; transition: transform .2s ease; }
.om-fonction:hover .om-fonction-lien span { transform: translateX(4px); }

/* Articles : étapes reliées (comment une fiche est faite) */
.om-fiche-etapes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 10px 0; padding: 0; list-style: none; font-family: var(--dm-sans, "DM Sans"), system-ui, sans-serif; }
.om-fiche-etapes::before { content: ""; position: absolute; top: 36px; left: 16%; right: 16%; border-top: 2px dashed var(--Beige, #E3D8C5); z-index: 0; }
.om-fiche-etapes li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.om-fiche-etape-ico { position: relative; width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--Bleu, #108A8A); color: #fff; box-shadow: 0 0 0 8px var(--om-surface, #fff); }
.om-fiche-etapes li:nth-child(2) .om-fiche-etape-ico { background: var(--Rouge, #D25E48); }
.om-fiche-etapes li:nth-child(3) .om-fiche-etape-ico { background: var(--Marron, #887b64); }
.om-fiche-etape-ico em { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--om-surface, #fff); color: var(--encre, #1F2328); font: 900 .875rem/1 var(--Bogart, "bogart"), Georgia, serif; font-style: normal; box-shadow: 0 2px 6px rgba(31, 35, 40, .18); }
.om-fiche-etapes strong { margin-top: 6px; font: 900 1.125rem/1.2 var(--Bogart, "bogart"), Georgia, serif; color: var(--encre, #1F2328); }
.om-fiche-etapes li > span:last-child { font-size: .9375rem; line-height: 1.55; color: var(--texte-doux, #3A4650); max-width: 300px; }
@media (max-width: 1024px) { .om-fonctions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .om-fonctions, .om-fiche-etapes { grid-template-columns: minmax(0, 1fr); }
    .om-fiche-etapes::before { top: 36px; bottom: 36px; left: 36px; right: auto; border-top: 0; border-left: 2px dashed var(--Beige, #E3D8C5); }
    .om-fiche-etapes li { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; text-align: left; align-items: start; }
    .om-fiche-etape-ico { grid-row: span 2; }
    .om-fiche-etapes strong { margin-top: 8px; }
}
/* Encart teal dans les articles : liens en blanc souligné */
.om-encart-teal a { color: #fff !important; text-decoration: underline; font-weight: 700; }
/* Formats sans « une » : priorité sur les règles du bento (span 2 / span 3) */
.om-actus.om-actus--colonnes .om-actu, .om-actus.om-actus--ligne .om-actu { grid-column: auto !important; grid-row: auto !important; }
/* Étape 3 : marron fixe (le mode sombre change --Marron en blanc) */
.om-fiche-etapes li:nth-child(3) .om-fiche-etape-ico { background: #887b64; }

/* Accueil, tuiles « Explorer par envie » : la photo est posée par refonte.js (300 px, à l'approche de l'écran).
   L'image de secours réglée dans Elementor est en taille d'origine : on ne la charge pas. */
.elementor a.om-tuile:not([style*="background-image"]) {
    background-image: none !important;
    background-color: #546a78;
}

/* Tuiles « Explorer par envie » sur mobile : les noms longs (Gastronomique, Bistronomique…)
   passent sur deux lignes avec un trait d'union au lieu de dépasser de l'étiquette */
@media (max-width: 767px) {
    .elementor a.om-tuile .om-tuile-etiquette { padding-left: 12px; padding-right: 12px; max-width: 100%; box-sizing: border-box; }
    .elementor a.om-tuile .om-tuile-nom {
        font-size: 16px !important;
        line-height: 1.1;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
}
@media (max-width: 380px) {
      .elementor a.om-tuile .om-tuile-etiquette { padding-left: 9px; padding-right: 9px; }
}
