/* site-chrome.css
   Shared header, mobile-nav, and footer styles for every page of
   kenoradelivery.net. Built directly from the real site's index.css,
   Header.tsx, AppSidebar.tsx, and Footer.tsx source. Every page that uses
   header.php / footer.php includes THIS ONE FILE — never copy these rules
   into a page's own <style> block. That is what guarantees every page's
   header and footer are identical, not just similar. */

* { box-sizing: border-box; }
html { width: 100%; margin: 0; padding: 0; overflow-x: hidden; }
body { width: 100%; max-width: 100vw; margin: 0; background: #E9F3FB; color: #1A1A1A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; overflow-x: hidden; }
h1, h2 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-weight: 700; }
a { text-decoration: none; }

/* Matches Tailwind's default "container mx-auto px-4" exactly, so header
   and footer content align to the same edges at every breakpoint. */
.site-container { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px)  { .site-container { max-width: 640px; } }
@media (min-width: 768px)  { .site-container { max-width: 768px; } }
@media (min-width: 1024px) { .site-container { max-width: 1024px; } }
@media (min-width: 1280px) { .site-container { max-width: 1280px; } }
@media (min-width: 1536px) { .site-container { max-width: 1536px; } }

/* Header — bg-white shadow-md sticky top-0 z-50 */
.kds-topbar {
  background: #FFFFFF; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  position: sticky; top: 0; z-index: 50; width: 100%;
}
.kds-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.kds-topbar-brand { display: flex; align-items: center; gap: 12px; }
.kds-topbar-brand img { height: 64px; width: auto; }
.kds-topbar-brand span { font-size: 20px; font-weight: 700; color: #1A1A1A; }
.menu-toggle {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: flex; align-items: center; justify-content: center; color: #1A1A1A;
}
/* Hamburger dropdown navigation on both mobile and desktop. */
/* Higher specificity overrides legacy restaurant-page desktop rules. */
html body #mobileMenuBtn { display: flex !important; }
.mobile-nav { display: none; padding: 16px 0; border-top: 1px solid #E0E0E0; }
html body .mobile-nav.open { display: flex !important; flex-direction: column; gap: 6px; }
.mobile-nav a { color: #374151; font-weight: 500; padding: 8px 0; }
.mobile-nav a:hover { color: #E0362B; }

/* Hide legacy sidebar elements on pages that still contain their markup. */
.kds-sidebar, .sidebar-backdrop, .sidebar-trigger-desktop { display: none !important; }

/* Site shell: full-width content without a permanent sidebar. */
.site-shell { display: block; width: 100%; min-height: calc(100vh - 64px); }
.main-content { width: 100%; min-width: 0; display: flex; flex-direction: column; }

/* Footer — matches the real site's footer content and layout */
.kds-footer { background: #1A1A1A; color: #fff; margin-top: 30px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; padding: 30px 0; }
.footer-grid > * { flex: 1 1 300px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand span { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-weight: 700; font-size: 18px; }
.footer-quote { font-style: italic; color: #ccc !important; font-size: 14px; margin: 10px 0; }
.footer-line { color: #ccc; font-size: 14px; margin: 4px 0; }
.footer-hours { color: #E0362B; font-weight: 700; margin: 14px 0 6px; }
.footer-heading { color: #E0362B; font-weight: 700; margin: 18px 0 8px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.footer-contact-line, .footer-social-line { display: flex; align-items: center; gap: 10px; color: #ddd; font-size: 14px; margin: 8px 0; }
.footer-contact-line a, .footer-social-line a { color: #ddd; }
.footer-contact-line a:hover, .footer-social-line a:hover { color: #E0362B; }
.footer-links a { display: flex; align-items: center; gap: 10px; color: #ddd; font-size: 14px; padding: 6px 0; }
.footer-links a:hover { color: #fff; }
.footer-copyright { text-align: center; color: #999; font-size: 12.5px; margin-top: 28px; padding: 18px 0 24px; border-top: 1px solid #333; }