/* Le Mesturet: brand layer over mxm.css (same layout and behaviour as Bârma). Colours = the site's Elementor globals, hex fallbacks. */
#mxm{
  --g:#F5EFE3;                                           /* nappe (panel background) */
  --ink:var(--e-global-color-text,#1E1D19);              /* encre */
  --ink2:var(--e-global-color-m7texte2,#5A5446);
  --muted:var(--e-global-color-m7texte2,#5A5446);
  --l1:var(--e-global-color-m7ligne0,#D9CDB6);           /* row lines */
  --l2:var(--e-global-color-m7ligne0,#D9CDB6);
  --l3:var(--e-global-color-m7filet0,#B9A784);           /* bottom band lines */
  --tag:var(--e-global-color-m7filet0,#B9A784);
  --br:var(--e-global-color-secondary,#8A4F24);          /* bois caramel = Bârma's bronze */
  --cream:#F5EFE3;
  --olive:var(--e-global-color-primary,#3D4221);
  font-family:"Work Sans",Arial,Helvetica,sans-serif;
}
/* "Réserver une table": same button as the header (global typography m7btnres, olive, 2px radius, hover m7olnuit) */
#mxm .mxm-book{height:auto;padding:.75rem 1.5rem;border-radius:.125rem;background:var(--olive);color:var(--e-global-color-m7blanc0,#fff);
  font-family:var(--e-global-typography-m7btnres-font-family,"DM Serif Display"),Georgia,serif;font-size:var(--e-global-typography-m7btnres-font-size,1.125rem);
  font-weight:var(--e-global-typography-m7btnres-font-weight,400);line-height:var(--e-global-typography-m7btnres-line-height,1.2);
  letter-spacing:var(--e-global-typography-m7btnres-letter-spacing,.01em);text-transform:none;transition:background-color .25s ease}
/* close: same look as the header burger and its "Menu" label (19px icon, 2px lines, label 13px Work Sans .2em caps) */
#mxm .mxm-close{color:var(--ink)}
#mxm .mxm-close svg{width:1.2rem;height:1.2rem;stroke-width:2}
/* top bar: the header-size "Réserver une table" is wider than Bârma's button, so the logo centres in the space left */
@media (min-width:1025px){#mxm .mxm-top{grid-template-columns:auto minmax(0,1fr) auto;gap:24px}#mxm .mxm-logo{justify-self:center}}
/* the hovered item slides right: never show a horizontal scrollbar for it */
#mxm .mxm-body{overflow-x:hidden}
#mxm .mxm-photo{background:#24271A}

/* ---- Mesturet identity ---- */
/* items: the site's title serif (DM Serif Display, "Menu mobile" global), sentence case, like the page titles */
#mxm{--serif:"DM Serif Display",Georgia,"Times New Roman",serif}
@media (min-width:1025px){#mxm{--row:64px}}
#mxm .mxm-item{font-family:var(--serif);font-size:1.75rem;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.15;
  transition:color .25s ease,transform .35s cubic-bezier(.2,.7,.2,1)}
#mxm .mxm-item.is-hot,#mxm .mxm-item[aria-current="page"]{color:var(--br);transform:translateX(.5rem)}
/* rows separated by the carte's dotted leaders */
#mxm .mxm-group{border-bottom:1px dotted var(--l3)}
/* photo: a thin chalk frame, as the framed photos of the pages (no caption, no veil: Hala 2026-11-11) */
#mxm .mxm-photo::after{content:"";position:absolute;inset:1.5rem;z-index:1;pointer-events:none;border:1px solid rgba(237,234,224,.5)}
/* bottom band: address on one line, social icons on the right (same squares as the footer) */
#mxm .mxm-soc{display:flex;gap:.5rem}
/* colours = the footer's social icons (#31 widget d96972c): Olive nuit square, Papier plié icon, 1px border, hover Vert enseigne */
#mxm .mxm-soc-a{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:var(--e-global-color-m7olnuit,#24271A);
  color:var(--e-global-color-m7pdplie,#E6E8E1);border:1px solid var(--e-global-color-m7pdpbor,#4E5240);transition:background-color .3s ease}
#mxm .mxm-soc-a svg{width:1.0625rem;height:1.0625rem}
@media (min-width:1025px) and (max-width:1439px){
  #mxm .mxm-item{font-size:1.5rem}
  #mxm{--row:56px}
  #mxm .mxm-logo img{height:40px}
}
/* mobile: no bottom bar on this site (Bârma books from it), so "Réserver" stays in the menu's top bar */
@media (max-width:1024px){
  #mxm .mxm-book{display:flex!important;padding:.5rem 1rem;font-size:1rem}
  #mxm .mxm-actions{gap:8px}
  #mxm .mxm-item{font-size:clamp(20px,3.1dvh,26px)}
  #mxm .mxm-item.is-hot,#mxm .mxm-item[aria-current="page"]{transform:none}
}
/* mobile / tablet (Hala 2026-11-12): open and close on the same tap zone. The close X sits exactly on the header burger
   (place() in mxm.js copies the burger's box), the top bar has the header's height, side edges = the header's
   (1.5rem tablet, 1.25rem mobile), the logo follows the X, "Réserver" on the right edge */
@media (max-width:1024px){
  #mxm{--mxm-pl:1.5rem}
  #mxm .mxm-panel{padding:0 var(--mxm-pl)}
  #mxm .mxm-top{height:var(--mxm-top-h,64px);margin-right:0}
  #mxm .mxm-close{position:fixed;z-index:2;left:var(--mxm-cl,1.5rem);top:var(--mxm-ct,10px);width:var(--mxm-cw,44px);height:var(--mxm-ch,44px);
    justify-content:flex-start;padding-left:var(--mxm-cp,0)}
  #mxm .mxm-logo{margin-left:calc(var(--mxm-cl,1.5rem) + var(--mxm-cw,44px) - var(--mxm-pl) + .75rem)}
  #mxm .mxm-actions{margin-right:0}
}
@media (max-width:767px){#mxm{--mxm-pl:1.25rem}}
@media (max-width:420px){
  #mxm .mxm-top{gap:8px}
  #mxm .mxm-logo img{height:30px}
  #mxm .mxm-book{padding:.5rem .875rem;font-size:.9375rem}
}
@media (hover:hover){
  #mxm .mxm-book:hover{background:var(--e-global-color-m7olnuit,#24271A);color:var(--e-global-color-m7blanc0,#fff)}
  #mxm .mxm-soc-a:hover{background:var(--e-global-color-accent,#C3C97A)}
}
