/* ============================================================================
   Polices self-hosted de la foundry Dineora (Bunny CDN) + affectations par site.
   Chargé sur index.html + commander.html. Affectations scopées par classe resto-*.
   ============================================================================ */

@font-face {
  font-family: 'Jepang';
  src: url('https://dineora.b-cdn.net/fonts/a-classer/jepang/jepang-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Police MAISON generee (font-generator Dineora, section interne). */
@font-face {
  font-family: 'Izakaya Lantern';
  src: url('https://dineora.b-cdn.net/fonts/interne/izakaya-lantern/izakaya-lantern-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Oobamint : F1 (police de titre) = Izakaya Lantern (police maison).
   Le !important sur la variable bat l'inline non-important posé par applyTheme
   (--t-font-display) → tous les titres F1 (qui utilisent var(--t-font-display))
   passent en Izakaya Lantern, sans lister chaque élément. F2/F3 inchangés. */
html.resto-oobamint {
  --t-font-display: 'Izakaya Lantern', 'Playfair Display', Georgia, serif !important;
  --restaurant-font-display: 'Izakaya Lantern', 'Playfair Display', Georgia, serif !important;
}

/* ============================================================================
   Oobamint — palette de COULEURS de texte F1/F2/F3 (Oobamint UNIQUEMENT).
   F1 = #FFBE8E · F2 = #CCAC95 · F3 = #FCEEEC.
   Chargé après pdi-restored.css → bat ses règles de couleur (spécificité égale,
   source postérieure). Doit lister les mêmes groupes d'éléments que le mapping.
   ============================================================================ */

/* --- F1 → #FFBE8E : titres de section + marque + label footer + titres catégories menu --- */
html.resto-oobamint [data-config-text$=".title"],
html.resto-oobamint [data-config-text$="secondaryTitle"],
html.resto-oobamint .pdi-menu-desktop-title,
html.resto-oobamint .pdi-resa-title,
html.resto-oobamint .pdi-reservation-title,
html.resto-oobamint .pdi-order-hero h1,
html.resto-oobamint [data-config-text="sections.menuDetails.kicker"],
html.resto-oobamint .pdi-footer-label,
html.resto-oobamint .pdi-order-cat-title,
html.resto-oobamint .navbar_logo-link [data-restaurant-logo-text],
html.resto-oobamint .navbar_logo-link .text-xs,
html.resto-oobamint .pdi-footer-copyright [data-restaurant-logo-text],
html.resto-oobamint [data-config-text="ctaLabels.poweredBy"],
html.resto-oobamint .pdi-order-cart-head p,
html.resto-oobamint .pdi-order-total span,
html.resto-oobamint .pdi-order-row-price,
html.resto-oobamint .pdi-order-row-price .pdi-price-num,
html.resto-oobamint .pdi-order-row-price .pdi-price-cur {
  color: #FFBE8E !important;
}

/* --- F2 → #CCAC95 : nav + kickers/eyebrows (sauf menuDetails.kicker qui est F1) --- */
html.resto-oobamint .nav_links .text-xs,
html.resto-oobamint [data-config-text$=".kicker"]:not([data-config-text="sections.menuDetails.kicker"]),
html.resto-oobamint [data-config-text$=".mobileEyebrow"],
html.resto-oobamint [data-config-text$=".mobileSubheading"],
html.resto-oobamint [data-config-text="ctaLabels.legalNotice"],
html.resto-oobamint [data-config-text="ctaLabels.privacyPolicy"],
html.resto-oobamint .pdi-footer-powered a {
  color: #CCAC95 !important;
}

/* --- F3 → #FCEEEC : corps (paragraphes, textes de carte, lignes de menu, liens footer) --- */
html.resto-oobamint [data-config-text$=".paragraph"],
html.resto-oobamint [data-config-text$="secondaryParagraph"],
html.resto-oobamint .pdi-menu-paragraph,
html.resto-oobamint .pdi-resa-text,
html.resto-oobamint .pdi-order-row-name,
html.resto-oobamint .pdi-order-cat-count,
html.resto-oobamint .pdi-footer-nav a,
html.resto-oobamint .pdi-footer-column a,
html.resto-oobamint .pdi-footer-column div:not(.pdi-footer-label),
html.resto-oobamint .pdi-order-cart-head strong,
html.resto-oobamint .pdi-order-total strong,
html.resto-oobamint .pdi-order-cart-items strong,
html.resto-oobamint .pdi-order-cart-items span {
  color: #FCEEEC !important;
}

/* --- F4 → #B7A29F : détail des ingrédients (moteur f4 = F3 assourdi, hiérarchie nom/ingrédients) --- */
html.resto-oobamint .pdi-order-row-desc {
  color: #B7A29F !important;
}
