/* ==========================================================================
   Mobile drawer v2 — dark, editorial menu for phones / small tablets.
   Brand header, quick actions, numbered grouped links, "Visit Us" card.
   Loaded LAST so it overrides older drawer rules (style.css, phone.css...).
   Recolour: change --dr-accent (green) and --dr-gold below.
   ========================================================================== */
.mobile-nav-overlay { display: none; }

@media (max-width: 900px) {
  :root {
    --dr-bg: #0b0b0b;
    --dr-accent: #4caf70;
    --dr-gold: #d5a25a;
    --dr-line: rgba(255,255,255,.10);
    --dr-text: #f4f1ea;
    --dr-muted: #a8a49b;
  }

  html body .mobile-nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 10015;
    background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  html body.mobile-menu-open .mobile-nav-overlay { opacity: 1; visibility: visible; }
  body.mobile-menu-open { overflow: hidden; }
  html body.mobile-menu-open .mobile-bottom-nav { pointer-events: none; }

  /* ---------- Panel ---------- */
  html body #mobileNav.mobile-nav {
    display: flex !important; flex-direction: column !important;
    position: fixed !important; inset: 0 auto 0 0 !important;
    width: 92vw !important; max-width: 460px !important; height: 100% !important; max-height: none !important;
    margin: 0 !important; padding: 0 24px calc(28px + env(safe-area-inset-bottom)) !important; gap: 0 !important;
    background:
      radial-gradient(120% 40% at 0% 0%, rgba(213,162,90,.14), transparent 60%),
      radial-gradient(90% 35% at 100% 100%, rgba(76,175,112,.13), transparent 65%),
      var(--dr-bg) !important;
    border: 0 !important; border-radius: 0 20px 20px 0 !important; box-shadow: 24px 0 60px rgba(0,0,0,.5) !important;
    z-index: 10020 !important; overflow-y: auto !important; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-104%) !important; opacity: 1 !important; visibility: hidden !important;
    transition: transform .38s cubic-bezier(.22,.8,.3,1), visibility 0s linear .38s !important;
  }
  html body #mobileNav.mobile-nav.open {
    transform: translateX(0) !important; visibility: visible !important;
    transition: transform .38s cubic-bezier(.22,.8,.3,1), visibility 0s !important;
  }
  html body #mobileNav.mobile-nav::before, html body #mobileNav.mobile-nav::after { content: none !important; display: none !important; }
  html body #mobileNav.mobile-nav > * { flex-shrink: 0 !important; }
  html body #mobileNav a { text-decoration: none !important; -webkit-tap-highlight-color: transparent; }

  /* ---------- Header ---------- */
  html body #mobileNav .drawer-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: calc(22px + env(safe-area-inset-top)) 0 20px;
  }
  html body #mobileNav .drawer-logo {
    display: flex !important; align-items: center !important; gap: 13px !important; min-width: 0;
    min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important;
    background: transparent !important; width: auto !important;
  }
  html body #mobileNav .drawer-logo img {
    width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
    border: 2px solid rgba(213,162,90,.55); box-shadow: 0 0 0 4px rgba(255,255,255,.04);
  }
  html body #mobileNav .drawer-brand { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  html body #mobileNav .drawer-brand b {
    font: 700 17px/1.15 "Playfair Display", Georgia, serif; color: #fff; letter-spacing: .01em;
  }
  html body #mobileNav .drawer-brand small {
    font: 600 9.5px/1.2 Inter, Arial, sans-serif; color: var(--dr-gold); letter-spacing: .16em; text-transform: uppercase;
  }
  html body #mobileNav .drawer-close {
    flex: 0 0 auto; width: 44px; height: 44px; min-width: 0 !important; min-height: 0 !important; padding: 0 !important;
    display: grid !important; place-items: center; border: 1.5px solid rgba(255,255,255,.7) !important;
    border-radius: 50% !important; background: transparent !important; color: #fff !important; cursor: pointer;
    transition: transform .25s ease, background .2s ease;
  }
  html body #mobileNav .drawer-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
  html body #mobileNav .drawer-close:active { background: rgba(255,255,255,.15) !important; transform: rotate(90deg); }

  /* ---------- Search ---------- */
  html body #mobileNav .mobile-drawer-search {
    display: flex !important; align-items: center !important; width: 100% !important; height: 46px !important;
    margin: 0 0 14px !important; background: rgba(255,255,255,.06) !important;
    border: 1px solid var(--dr-line) !important; border-radius: 999px !important; overflow: hidden !important;
  }
  html body #mobileNav .mobile-drawer-search input {
    flex: 1 !important; min-width: 0 !important; height: 100% !important; padding: 0 18px !important;
    border: 0 !important; outline: 0 !important; background: transparent !important; color: #fff !important; font-size: 14px !important;
  }
  html body #mobileNav .mobile-drawer-search input::placeholder { color: #8d8a83 !important; }
  html body #mobileNav .mobile-drawer-search button {
    width: 48px !important; height: 100% !important; border: 0 !important; background: transparent !important;
    color: var(--dr-gold) !important; font-size: 22px !important; display: grid !important; place-items: center !important;
  }

  /* ---------- Quick actions ---------- */
  html body #mobileNav .drawer-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
  html body #mobileNav .drawer-quick a {
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
    min-height: 48px !important; padding: 0 10px !important; margin: 0 !important; border-radius: 12px !important;
    font: 700 13px/1 Inter, Arial, sans-serif !important; letter-spacing: .03em !important; text-transform: none !important;
    border: 1px solid rgba(255,255,255,.22) !important; background: transparent !important; color: #fff !important;
  }
  html body #mobileNav .drawer-quick a::before, html body #mobileNav .drawer-quick a::after { content: none !important; display: none !important; }
  html body #mobileNav .drawer-quick .dq-order { background: var(--dr-accent) !important; border-color: var(--dr-accent) !important; color: #06210f !important; }
  html body #mobileNav .drawer-quick svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  html body #mobileNav .drawer-quick a:active { transform: scale(.97); }

  /* ---------- Link groups ---------- */
  html body #mobileNav .drawer-label {
    display: flex; align-items: center; gap: 12px; margin: 26px 0 4px; padding: 0;
    font: 700 10.5px/1 Inter, Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--dr-gold);
  }
  html body #mobileNav .drawer-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(213,162,90,.45), transparent); }

  html body #mobileNav a.drawer-link {
    position: relative; display: grid !important; grid-template-columns: 34px 1fr 22px; align-items: center !important;
    min-height: 56px !important; padding: 0 2px !important; margin: 0 !important;
    background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--dr-line) !important; border-radius: 0 !important;
    color: var(--dr-text) !important; text-transform: none !important; letter-spacing: 0 !important;
    transition: color .2s ease, padding-left .25s ease;
  }
  html body #mobileNav a.drawer-link::before, html body #mobileNav a.drawer-link::after { content: none !important; display: none !important; }
  html body #mobileNav a.drawer-link i {
    font: 600 11px/1 Inter, Arial, sans-serif; font-style: normal; letter-spacing: .08em; color: rgba(213,162,90,.7);
  }
  html body #mobileNav a.drawer-link span {
    font: 500 21px/1.2 "Playfair Display", Georgia, serif; letter-spacing: .005em;
  }
  html body #mobileNav .dr-arrow {
    width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    opacity: .35; transform: translateX(-4px); transition: transform .25s ease, opacity .25s ease;
  }
  html body #mobileNav a.drawer-link:active { color: var(--dr-accent) !important; padding-left: 8px !important; }
  html body #mobileNav a.drawer-link:active .dr-arrow { opacity: 1; transform: translateX(0); }

  /* Current page */
  html body #mobileNav a.drawer-link.is-active { color: var(--dr-accent) !important; }
  html body #mobileNav a.drawer-link.is-active i { color: var(--dr-accent); }
  html body #mobileNav a.drawer-link.is-active .dr-arrow { opacity: 1; transform: translateX(0); }
  html body #mobileNav a.drawer-link.is-active::before {
    content: "" !important; display: block !important; position: absolute; left: -24px; top: 50%;
    width: 4px; height: 24px; margin-top: -12px; border-radius: 0 4px 4px 0; background: var(--dr-accent);
  }

  /* Staggered entrance when the drawer opens */
  html body #mobileNav .drawer-head,
  html body #mobileNav .drawer-quick,
  html body #mobileNav .drawer-label,
  html body #mobileNav a.drawer-link,
  html body #mobileNav .drawer-visit { opacity: 0; transform: translateX(-14px); }
  html body #mobileNav.open .drawer-head,
  html body #mobileNav.open .drawer-quick,
  html body #mobileNav.open .drawer-label,
  html body #mobileNav.open a.drawer-link,
  html body #mobileNav.open .drawer-visit { animation: drIn .5s cubic-bezier(.22,.8,.3,1) both; }
  html body #mobileNav.open .drawer-head { animation-delay: .05s; }
  html body #mobileNav.open .drawer-quick { animation-delay: .12s; }
  html body #mobileNav.open .drawer-label { animation-delay: .18s; }
  html body #mobileNav.open a.drawer-link { animation-delay: calc(.16s + var(--i, 1) * .035s); }
  html body #mobileNav.open .drawer-visit { animation-delay: .6s; }
  @keyframes drIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

  /* ---------- Visit Us card ---------- */
  html body #mobileNav .drawer-visit {
    margin-top: 34px; padding: 26px 20px 22px; text-align: center; border-radius: 18px;
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1px solid rgba(213,162,90,.28);
  }
  html body #mobileNav .drawer-visit h3 {
    margin: 0 0 12px; font: 400 28px/1.1 "Playfair Display", Georgia, serif; color: #fff;
  }
  html body #mobileNav .drawer-status {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 12px;
    border-radius: 999px; background: rgba(76,175,112,.14); color: #7fd19a;
    font: 700 11px/1 Inter, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  }
  html body #mobileNav .drawer-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: drPulse 1.8s ease-out infinite; }
  html body #mobileNav .drawer-status.is-closed { background: rgba(235,110,95,.14); color: #f0907f; }
  html body #mobileNav .drawer-status.is-closed i { animation: none; }
  @keyframes drPulse { 0% { box-shadow: 0 0 0 0 rgba(127,209,154,.6); } 100% { box-shadow: 0 0 0 9px rgba(127,209,154,0); } }

  html body #mobileNav .drawer-visit p {
    margin: 0 0 10px !important; padding: 0 !important; font-size: 15px !important; line-height: 1.55 !important; color: var(--dr-muted) !important;
  }
  html body #mobileNav .drawer-visit .dv-hours { color: #e3dfd5 !important; font-size: 13.5px !important; }
  html body #mobileNav .drawer-visit a.dv-link {
    display: block !important; min-height: 0 !important; margin: 0 0 6px !important; padding: 4px 0 !important;
    border: 0 !important; background: transparent !important; text-align: center !important;
    font: 500 15.5px/1.4 Inter, Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
    color: #fff !important; overflow-wrap: anywhere;
  }
  html body #mobileNav .drawer-visit a.dv-link::before, html body #mobileNav .drawer-visit a.dv-link::after { content: none !important; display: none !important; }
  html body #mobileNav .drawer-visit a.dv-link:active { color: var(--dr-accent) !important; }

  html body #mobileNav .drawer-social { display: flex; justify-content: center; gap: 12px; margin: 16px 0 4px; }
  html body #mobileNav .drawer-social a {
    width: 42px; height: 42px; display: grid !important; place-items: center; min-height: 0 !important; padding: 0 !important;
    border: 1px solid rgba(255,255,255,.22) !important; border-radius: 50% !important; background: transparent !important; color: #fff !important;
  }
  html body #mobileNav .drawer-social a::before, html body #mobileNav .drawer-social a::after { content: none !important; display: none !important; }
  html body #mobileNav .drawer-social svg { width: 19px; height: 19px; fill: currentColor; }
  html body #mobileNav .drawer-social svg.ig { fill: none; stroke: currentColor; stroke-width: 1.8; }
  html body #mobileNav .drawer-social svg.ig circle:last-child { fill: currentColor; stroke: none; }
  html body #mobileNav .drawer-social a:active { background: var(--dr-accent) !important; border-color: var(--dr-accent) !important; }
  html body #mobileNav .drawer-visit p.drawer-copy { margin: 16px 0 0 !important; font-size: 10.5px !important; text-transform: uppercase; letter-spacing: .08em; color: #7d7a73 !important; }
}

@media (max-width: 360px) {
  html body #mobileNav.mobile-nav { padding-left: 18px !important; padding-right: 18px !important; }
  html body #mobileNav a.drawer-link span { font-size: 19px; }
  html body #mobileNav .drawer-brand b { font-size: 15px; }
  html body #mobileNav a.drawer-link.is-active::before { left: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  html body #mobileNav.mobile-nav, html body .mobile-nav-overlay { transition: none !important; }
  html body #mobileNav * { animation: none !important; opacity: 1 !important; transform: none !important; }
  html body #mobileNav .dr-arrow { opacity: .35 !important; }
}
