/* Opt-in only: existing QR clients and shared styles are unchanged. */
body.qr-v2 { background: #050505; color: var(--text); }
body.qr-v2 .phone-shell { width: min(480px, 100%); background: var(--bg); overflow: visible; padding: 6px 20px 8px; }
.qr-v2 [hidden] { display: none !important; }
.qr-v2 .qr-hero { text-align: center; }
.qr-v2 .qr-logo { width: min(350px, 100%); height: auto; max-height: 150px; object-fit: contain; margin: 0 auto; }
.qr-v2 .qr-tagline { color: var(--muted); font-size: .84rem; margin: 10px 0 8px; }
.qr-v2 .qr-truck { width: 100%; height: auto; max-height: 250px; object-fit: contain; margin: -2px auto 0; }
.qr-v2 .qr-hours { position: relative; border: 1px solid #ffffff16; border-radius: 16px; padding: 12px; background: #121513; margin: 2px 0 12px; }
.qr-v2 .qr-status { min-height: 44px; padding-right: 108px; }
.qr-v2 .qr-status strong { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.qr-v2 .qr-status strong::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #b8b8b8; flex-shrink: 0; }
.qr-v2 .qr-status[data-state="open"] strong { color: #7dde9e; }
.qr-v2 .qr-status[data-state="open"] strong::before { background: #57d982; box-shadow: 0 0 0 3px #57d98214, 0 0 9px #57d98255; }
.qr-v2 .qr-status[data-state="closed"] strong { color: #ff9595; }
.qr-v2 .qr-status[data-state="closed"] strong::before { background: #ff5555; box-shadow: 0 0 0 3px #ff555514, 0 0 9px #ff555555; }
.qr-v2 .qr-status p { font-size: .76rem; line-height: 1.45; color: #bec5c0; margin: 3px 0 0 16px; }
.qr-v2 .qr-hours summary { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; min-height: 44px; padding: 8px; font-size: .72rem; font-weight: 600; color: #e9eeeb; background: #ffffff06; border: 1px solid #ffffff20; border-radius: 10px; list-style: none; }
.qr-v2 .qr-hours summary::-webkit-details-marker { display: none; }
.qr-v2 .qr-hours summary::marker { content: ''; }
.qr-v2 .qr-hours summary svg { width: 15px; height: 15px; flex-shrink: 0; }
.qr-v2 .qr-hours summary:hover, .qr-v2 .qr-hours details[open] summary { background: #ffffff10; border-color: #ffffff40; }
.qr-v2 .qr-week { border-top: 1px solid #ffffff20; padding-top: 8px; margin-top: 10px; }
.qr-v2 .qr-week > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .79rem; }
.qr-v2 .qr-week dd { text-align: right; color: var(--muted); margin: 0; }
.qr-v2 .qr-timezone { color: var(--muted); font-size: .7rem; padding: 8px 0 0; }
.qr-v2 .qr-actions { display: grid; gap: 8px; }
.qr-v2 .qr-action { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 74px; padding: 12px; color: #fff; background: #131715; border: 1px solid #2f8f4e99; border-color: color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 16px; text-decoration: none; box-shadow: 0 3px 9px #00000020; }
.qr-v2 .qr-action:hover { border-color: var(--accent); background: #171d19; }
.qr-v2 .qr-action > .qr-icon:first-child { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 #ffffff16; }
.qr-v2 .qr-action-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.qr-v2 .qr-action-text strong { display: block; font-size: .93rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.qr-v2 .qr-action-text > span { display: block; font-size: .8rem; line-height: 1.45; margin-top: 2px; color: #bfc9c2; white-space: pre-line; }
.qr-v2 .qr-icon { display: inline-flex; width: 25px; height: 25px; flex-shrink: 0; }
.qr-v2 .qr-icon svg { width: 100%; height: 100%; }
.qr-v2 .qr-arrow { width: 17px; height: 17px; color: var(--accent); color: color-mix(in srgb, var(--accent) 72%, #fff); }
.qr-v2 .qr-social-section { border-top: 1px solid #ffffff12; padding-top: 12px; margin-top: 14px; text-align: center; }
.qr-v2 .qr-social-section h2 { font-size: .75rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.qr-v2 .qr-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.qr-v2 .qr-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border-radius: 12px; font-size: .82rem; border: 1px solid #ffffff20; }
.qr-v2 .qr-socials .qr-icon { width: 22px; height: 22px; }
.qr-v2 .qr-reviews { text-align: center; padding: 12px 0; }
.qr-v2 .qr-rating { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; font-size: .78rem; color: #c5cec8; }
.qr-v2 .qr-rating strong { color: #e9eeeb; font-weight: 600; }
.qr-v2 .qr-rating .qr-google-icon { width: 17px; height: 17px; }
.qr-v2 .qr-stars { display: inline-flex; gap: 2px; color: #e9bc58; }
.qr-v2 .qr-star { position: relative; display: inline-flex; width: 14px; height: 14px; }
.qr-v2 .qr-star .qr-icon { width: 14px; height: 14px; }
.qr-v2 .qr-star-fill { position: absolute; inset: 0; }
.qr-v2 .qr-star-fill svg { fill: currentColor; }
.qr-v2 .qr-review-count { color: #aebbb3; }
body.qr-v2 .footer { margin: 0; padding: 10px 0 0; text-align: center; background: transparent; border-top: 0; font-size: .7rem; color: var(--muted); }
body.qr-v2 .footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; }
.qr-v2 :is(a, summary):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.qr-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.qr-skip { position: absolute; top: -100px; left: 8px; z-index: 10; padding: 12px; background: #fff; color: #000; }
.qr-skip:focus { top: 8px; }
.qr-noscript { padding: 16px; }
@media (max-width: 359px) {
  body.qr-v2 .phone-shell { padding: 6px 14px 8px; }
}
@media (prefers-reduced-motion: reduce) { .qr-v2 .qr-action { transition: none; } }

/* Opt-in menu header only. Preserve its existing dimensions and all menu-body styles. */
.qr-menu-header .qr-header-control { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; background: #131715; color: #fff; border: 1px solid #2f8f4e99; border-color: color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 13px; text-decoration: none; }
.qr-menu-header .qr-header-control .qr-icon { display: flex; width: 22px; height: 22px; }
.qr-menu-header .qr-header-control svg { width: 100%; height: 100%; }
.qr-menu-header .qr-header-control:hover { border-color: var(--accent); }
.qr-menu-header .qr-header-control:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* A removed featured image retains its text card without a broken placeholder. */
.featured-card img[src=""], .featured-card img:not([src]) { display: none; }

/* Configured colors must also reach menu cards and the shared footer. */
body.theme-ft-custom[data-qr-colors] .phone-shell,
body.theme-ft-custom[data-qr-colors] .page,
body.theme-ft-custom[data-qr-colors]:not(.qr-v2) .footer { background: var(--bg); }
body.theme-ft-custom[data-qr-colors] .featured-card { background: var(--surface); }
body.theme-ft-custom[data-qr-colors] .price,
body.theme-ft-custom[data-qr-colors] .section-title,
body.theme-ft-custom[data-qr-colors] .page-title { color: var(--accent); }
body.theme-ft-custom[data-qr-colors] .menu-category { color: var(--accent-2); }
body.theme-ft-custom[data-qr-colors] .menu-category::after { background: var(--accent-yellow); }
body.theme-ft-custom[data-qr-colors]:not(.qr-v2) .footer a { color: var(--accent); }
