<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://lagloria.uk/</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/menu.php</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/reservation.php</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/page.php?slug=about</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/page.php?slug=meet-the-chef</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/page.php?slug=private-dining</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/reviews.php</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/contact.php</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/careers.php</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/menu.php?menu=main-menu</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/menu.php?menu=lunch-menu</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/menu.php?menu=sunday-menu</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://lagloria.uk/menu.php?menu=special-menu</loc>
    <lastmod>2026-09-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
<style id="lg12866-guest-login-css">
body.lg12866-guest-login-clean .lg12866-public-hidden{
  display:none !important;
}
</style>
<script id="lg12866-guest-login-js">
(function(){
  "use strict";

  function hide(el){
    if(!(el instanceof HTMLElement))return;
    el.classList.add("lg12866-public-hidden");
    el.setAttribute("aria-hidden","true");
    el.style.setProperty("display","none","important");
  }

  function normalize(el){
    return String(el?.textContent||"").replace(/\s+/g," ").trim();
  }

  function findGrid(portal){
    const explicit=portal.querySelector(".lg6278-portal-grid");
    if(explicit)return explicit;

    const candidates=[...portal.querySelectorAll("div,section")]
      .map(el=>({el,links:el.querySelectorAll("a").length}))
      .filter(x=>x.links>=8)
      .sort((a,b)=>a.links-b.links);

    return candidates[0]?.el || null;
  }

  function clean(){
    const portal=document.getElementById("lg625GuestPortal");
    if(!portal)return;

    document.body.classList.add("lg12866-guest-login-clean");

    const grid=findGrid(portal);

    const controls=[...portal.querySelectorAll("a,button,[role='button'],[role='menuitem']")]
      .filter(el=>{
        const t=normalize(el).toLowerCase();
        return (
          t==="guest login" ||
          t==="guest login my la gloria account" ||
          t==="my la gloria account" ||
          t==="my account" ||
          t.startsWith("guest login ")
        );
      });

    let keep=null;

    if(grid){
      keep=controls.find(el=>grid.contains(el))||null;
    }

    if(!keep && controls.length){
      keep=controls
        .slice()
        .sort((a,b)=>a.getBoundingClientRect().top-b.getBoundingClientRect().top)
        .at(-1) || null;
    }

    controls.forEach(el=>{
      if(el===keep)return;
      if(keep && (el.contains(keep) || keep.contains(el)))return;

      const row=el.closest(
        "li,[role='menuitem'],.dropdown-item,.menu-item,.account-item,.portal-account-item"
      );

      hide(row||el);
    });

    /*
     * Remove the top-right dropdown/popover container once its duplicate
     * Guest Login entry has disappeared. Never remove the 12-card grid.
     */
    portal.querySelectorAll(
      "[class*='dropdown'],[class*='popover'],[class*='account-menu'],[class*='portal-menu'],[class*='account-panel']"
    ).forEach(box=>{
      if(grid && (box===grid || box.contains(grid)))return;

      const visible=[...box.querySelectorAll("a,button,[role='menuitem']")]
        .filter(el=>getComputedStyle(el).display!=="none");

      if(visible.length===0){
        hide(box);
      }
    });

    /*
     * If the old green account trigger remains outside the card grid,
     * remove it too. The grid card remains the single public login entry.
     */
    [...portal.querySelectorAll("a,button,[role='button']")].forEach(el=>{
      if(grid && grid.contains(el))return;
      if(keep && (el===keep || el.contains(keep) || keep.contains(el)))return;

      const t=normalize(el).toLowerCase();

      if(
        t==="guest login" ||
        t==="guest login my la gloria account" ||
        t==="my la gloria account" ||
        t==="my account"
      ){
        hide(el.closest(".account-trigger,.portal-account,.guest-account")||el);
      }
    });

    document.documentElement.dataset.lgGuestLoginCleanup="12866";
  }

  if(document.readyState==="loading"){
    document.addEventListener("DOMContentLoaded",clean,{once:true});
  }else{
    clean();
  }

  window.addEventListener("load",clean,{once:true});
  [250,700,1300,2200].forEach(ms=>setTimeout(clean,ms));

  const observer=new MutationObserver(()=>{
    clearTimeout(window.__lg12866Timer);
    window.__lg12866Timer=setTimeout(clean,60);
  });

  observer.observe(document.documentElement,{childList:true,subtree:true});
  setTimeout(()=>observer.disconnect(),5000);
})();
</script>