/*
 * NhaNau public pages (layouts.public), as in the approved mockups: Be Vietnam Pro for text, Nunito for headings,
 * a warm cream page, white cards with soft borders, pill buttons. Loaded after theme.css on public pages only
 * (the staff portal keeps theme.css as it is). No class names with ad / banner / promo / sponsor (ad blockers).
 */
.public-page {
  --nn-cream: #fff8f1; --nn-ink: #2b211b; --nn-ink-2: #4d3f35; --nn-muted: #6b5b4f;
  --nn-line: #efe2d6; --nn-line-2: #e3d3c4; --nn-line-3: #f3e8de;
  --nn-orange: #b9501f; --nn-orange-dark: #9e4419; --nn-orange-soft: #fff4ea; --nn-orange-tag: #fcebdd; --nn-orange-ink: #7a3a12;
  --nn-green: #245c3a; --nn-green-dark: #173d26; --nn-green-soft: #e4efe7; --nn-green-text: #1f6b3e;
  --nn-head: 'Nunito', 'Be Vietnam Pro', system-ui, sans-serif;
  --bs-body-font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-family: var(--bs-body-font-family);
}
:root:not([data-bs-theme="dark"]) .public-page, [data-bs-theme="light"] .public-page {
  --bs-body-bg: #fff8f1; --bs-body-color: #2b211b; --bs-secondary-color: #6b5b4f; --bs-border-color: #efe2d6;
  --bs-tertiary-bg: #fbf1e7; --surface: #fff;
  background: var(--nn-cream); color: var(--nn-ink);
}
.public-page h1, .public-page h2, .public-page .nn-head { font-family: var(--nn-head); font-weight: 900; letter-spacing: -.01em; }
.public-page h3, .public-page h4, .public-page h5, .public-page h6 { font-family: inherit; font-weight: 700; }
.public-page .card { border-radius: 20px; border: 1px solid var(--nn-line) !important; box-shadow: none !important; }
.public-page .btn { border-radius: 999px; font-weight: 600; }
.public-page .btn-success, .public-page .nn-btn-green { --bs-btn-bg: var(--nn-green); --bs-btn-border-color: var(--nn-green); --bs-btn-hover-bg: var(--nn-green-dark); --bs-btn-hover-border-color: var(--nn-green-dark); --bs-btn-color: #fff; --bs-btn-hover-color: #fff; }
.public-page .form-control, .public-page .form-select { border-color: var(--nn-line-2); border-radius: 12px; }
.public-page a { color: var(--nn-green); }
.public-page a:hover { color: var(--nn-green-dark); }
/* Solid buttons made from links keep their own text color (the green link color above made "Find another kitchen" green on orange). */
.public-page a.btn[class*="btn-"]:not([class*="btn-outline"]):not(.btn-link):not(.btn-light) { color: var(--bs-btn-color); }
.public-page a.btn[class*="btn-"]:not([class*="btn-outline"]):not(.btn-link):not(.btn-light):hover { color: var(--bs-btn-hover-color); }
.nn-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.nn-header { background: #fff; border-bottom: 1px solid var(--nn-line); }
.nn-header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.nn-logo img, .nn-logo .logo-mark { height: 52px; width: auto; display: block; }
.nn-place { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--nn-line-2); border-radius: 999px; background: var(--nn-cream); font-size: 14px; font-weight: 600; color: var(--nn-ink); }
.nn-place:hover { border-color: var(--nn-orange); color: var(--nn-ink); }
.nn-place .bi-geo-alt { color: var(--nn-orange); }
.nn-place-menu { min-width: 18rem; padding: 12px; border-radius: 16px; border-color: var(--nn-line); }
.nn-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; font-weight: 500; flex: 1 1 auto; }
.nn-nav a { color: var(--nn-ink); text-decoration: none; padding: 10px 0; }
.nn-nav a:hover, .nn-nav a[aria-current] { color: var(--nn-orange); }
.nn-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nn-lang { display: flex; border: 1px solid var(--nn-line-2); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 600; }
.nn-lang a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; background: #fff; color: var(--nn-ink); text-decoration: none; }
.nn-lang a[aria-current] { background: var(--nn-green); color: #fff; }
.nn-signin { font-size: 15px; font-weight: 600; color: var(--nn-ink) !important; text-decoration: none; padding: 10px 4px; }
.nn-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--nn-green); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.nn-open:hover { background: var(--nn-green-dark); }
@media (max-width: 767.98px) {
  .nn-header-in { gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .nn-logo img, .nn-logo .logo-mark { height: 40px; }
  .nn-nav { order: 5; flex-basis: 100%; gap: 0 18px; font-size: 14px; }
  .nn-nav a { padding: 4px 0; }
  .nn-actions { margin-left: auto; gap: 8px; }
  .nn-open { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .nn-place { order: 4; }
}

/* Footer */
.nn-footer { border-top: 1px solid var(--nn-line); background: #fff; margin-top: 0; }
.nn-footer-in { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--nn-muted); }
.nn-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nn-footer a { color: var(--nn-green); }

/* Pills (filters, Use my location) */
.nn-pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nn-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--nn-line-2); border-radius: 999px; background: #fff; color: var(--nn-ink) !important; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.nn-pill:hover { border-color: var(--nn-green); }
.nn-pill.is-on { border-color: var(--nn-green); background: var(--nn-green-soft); color: var(--nn-green-dark) !important; font-weight: 600; }
.nn-pill.is-green { border-color: var(--nn-green); color: var(--nn-green) !important; font-weight: 600; }

/* Hero + search bar */
.nn-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.nn-hero-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.nn-kicker { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--nn-green); }
.nn-hero h1 { margin: 0; font-size: 56px; line-height: 1.05; color: var(--nn-ink); }
.nn-hero h1 span { color: var(--nn-orange); }
.nn-lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--nn-ink-2); max-width: 560px; }
.nn-search { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--nn-line-2); border-radius: 20px; padding: 8px; box-shadow: 0 6px 24px rgba(91, 52, 25, .08); max-width: 680px; }
.nn-search label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; min-width: 0; margin: 0; }
.nn-search label span { font-size: 12px; font-weight: 600; color: var(--nn-muted); }
.nn-search input { border: 0; outline: none; font: inherit; font-size: 16px; font-weight: 500; color: var(--nn-ink); background: transparent; padding: 2px 0; min-width: 0; }
.nn-search input:focus-visible { box-shadow: 0 2px 0 var(--nn-orange); }
.nn-search-sep { width: 1px; background: var(--nn-line); margin: 8px 0; }
.nn-search button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--nn-orange); color: #fff; font: inherit; font-size: 16px; font-weight: 700; flex: 0 0 auto; }
.nn-search button:hover { background: var(--nn-orange-dark); }
@media (max-width: 575.98px) { .nn-hero { padding-top: 28px; gap: 24px; } .nn-hero h1 { font-size: 38px; } .nn-lead { font-size: 17px; } .nn-search-sep { display: none; } .nn-search button { width: 100%; } }

/* Order preview card (hero side) */
.nn-preview { flex: 1 1 340px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.nn-preview-card { background: #fff; border: 1px solid var(--nn-line); border-radius: 24px; padding: 22px; box-shadow: 0 10px 30px rgba(91, 52, 25, .10); display: flex; flex-direction: column; gap: 16px; color: var(--nn-ink); text-decoration: none; }
.nn-preview-card:hover { color: var(--nn-ink); }
.nn-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--nn-muted); }
.nn-tag-green { font-size: 12px; font-weight: 700; color: var(--nn-green-dark); background: var(--nn-green-soft); border-radius: 999px; padding: 4px 10px; }
.nn-tag-orange { font-size: 12px; font-weight: 700; color: var(--nn-orange-ink); background: var(--nn-orange-tag); border-radius: 999px; padding: 4px 10px; }
.nn-bowl { width: 64px; height: 64px; border-radius: 16px; background: #f6e3d3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nn-when { display: flex; align-items: center; gap: 10px; background: var(--nn-orange-soft); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.nn-when .bi { color: var(--nn-orange); font-size: 18px; }
.nn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 11px; font-weight: 600; color: var(--nn-muted); }
.nn-steps li { display: flex; flex-direction: column; gap: 6px; }
.nn-steps li::before { content: ""; height: 6px; border-radius: 3px; background: var(--nn-line); }
.nn-steps li.is-done::before { background: var(--nn-green); }
.nn-steps li[aria-current] { color: var(--nn-green-dark); }
.nn-preview-note { margin: 0; font-size: 13px; color: var(--nn-muted); display: flex; gap: 8px; align-items: center; padding: 0 6px; }
.nn-preview-note .bi { color: var(--nn-green); }

/* Sections */
.nn-section { padding-top: 24px; padding-bottom: 40px; }
.nn-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.nn-section-head h2 { margin: 0; font-size: 32px; }
.nn-section-head p { margin: 4px 0 0; font-size: 15px; color: var(--nn-muted); }
.nn-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--nn-green) !important; font-size: 14px; font-weight: 700; }
.nn-band { background: #fff; border-top: 1px solid var(--nn-line); border-bottom: 1px solid var(--nn-line); }
.nn-band > .nn-wrap { padding-top: 48px; padding-bottom: 48px; }
@media (max-width: 575.98px) { .nn-section-head h2 { font-size: 26px; } }

/* Browse by dish */
.nn-dishes-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.nn-dish-dot { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; text-decoration: none; color: var(--nn-ink) !important; }
.nn-dish-dot > span:first-child { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--nn-head); font-weight: 900; font-size: 22px; transition: transform .15s; }
.nn-dish-dot:hover > span:first-child { transform: scale(1.06); }
.nn-dish-dot > span:last-child { font-size: 14px; font-weight: 600; text-align: center; }
.nn-dish-dot.is-on > span:first-child { outline: 3px solid var(--nn-orange); outline-offset: 2px; }
.nn-t0 { background: #f6e3d3; color: #8a3b14; } .nn-t1 { background: #fbebc8; color: #7a5300; } .nn-t2 { background: #e4efe7; color: #1f4f31; } .nn-t3 { background: #f3dcd6; color: #8a2e1f; }

/* Kitchen cards */
.nn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.nn-kcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nn-line); border-radius: 20px; overflow: hidden; color: var(--nn-ink); text-decoration: none; }
.nn-kcard:hover { border-color: var(--nn-line-2); box-shadow: 0 8px 24px rgba(91, 52, 25, .08); color: var(--nn-ink); }
.nn-kcard-photo { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.nn-kcard-photo .nn-house { width: 56px; height: 56px; }
.nn-verified { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--nn-green-dark); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.nn-verified .bi { color: var(--nn-green); }
.nn-kcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nn-kcard-name { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.nn-kcard-name h3 { margin: 0; font-size: 18px; font-weight: 700; }
.nn-kcard-name span { font-size: 13px; color: var(--nn-muted); white-space: nowrap; }
.nn-kcard-dishes { margin: 0; font-size: 14px; color: var(--nn-ink-2); }
.nn-rating { margin: 0; display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; }
.nn-rating .bi { color: var(--nn-orange); }
.nn-rating span { font-weight: 400; color: var(--nn-muted); }
.nn-kcard-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--nn-line-3); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.nn-kcard-when { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.nn-kcard-when.is-today { color: var(--nn-green-text); } .nn-kcard-when.is-later { color: #8a3b14; } .nn-kcard-when.is-off { color: var(--nn-muted); }
.nn-kcard-modes { color: var(--nn-muted); }

/* Dish cards */
.nn-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.nn-dcard { display: flex; flex-direction: column; border: 1px solid var(--nn-line); border-radius: 20px; overflow: hidden; background: #fffdfb; }
.nn-dcard-photo { position: relative; height: 160px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.nn-dcard-photo .nn-bowl-icon { width: 60px; height: 60px; }
.nn-left { position: absolute; top: 12px; right: 12px; background: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.nn-left.is-today { color: var(--nn-green-text); } .nn-left.is-later { color: #8a3b14; }
.nn-dcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nn-dcard-name { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.nn-dcard-name h3 { margin: 0; font-size: 17px; font-weight: 700; }
.nn-dcard-name span { font-size: 17px; font-weight: 700; }
.nn-dcard-portion { margin: 0; font-size: 13px; color: var(--nn-muted); }
.nn-dcard-kitchen { font-size: 14px; font-weight: 600; color: var(--nn-green); text-decoration: none; }
.nn-allergens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.nn-allergens span { font-size: 12px; font-weight: 600; color: var(--nn-orange-ink); background: var(--nn-orange-tag); border-radius: 6px; padding: 3px 8px; }
.nn-dcard-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--nn-ink-2); }
.nn-add { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--nn-orange); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.nn-add:hover { background: var(--nn-orange-dark); }

/* How it works + cook section */
.nn-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.nn-how li { display: flex; gap: 16px; align-items: flex-start; }
.nn-how-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--nn-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--nn-head); font-weight: 900; font-size: 20px; }
.nn-how h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.nn-how p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--nn-ink-2); }
.nn-cook { background: var(--nn-green); color: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.nn-cook h2 { margin: 0 0 10px; font-size: 30px; }
.nn-cook p { margin: 0; font-size: 16px; line-height: 1.55; color: #dcebe1; max-width: 560px; }
.nn-cook a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: #fff; color: var(--nn-green-dark) !important; font-size: 16px; font-weight: 700; text-decoration: none; }
@media (max-width: 575.98px) { .nn-cook { padding: 24px; } .nn-cook h2 { font-size: 24px; } }

/* Map */
.nn-map { height: 520px; border-radius: 20px; border: 1px solid var(--nn-line); overflow: hidden; }
.public-page .nn-kcard, .public-page .nn-kcard:hover, .public-page .nn-preview-card, .public-page .nn-preview-card:hover { color: var(--nn-ink); }
.nn-dishes-row { padding: 6px 4px 8px; }

/* Kitchen page (Kitchen.dc.html) */
.nn-cover { position: relative; height: 220px; border-radius: 24px; background: #f6e3d3 center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.nn-khead { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; margin-top: -48px; padding: 0 20px; }
.nn-avatar { width: 112px; height: 112px; border-radius: 28px; background: #fff; border: 4px solid var(--nn-cream); box-shadow: 0 6px 20px rgba(91, 52, 25, .12); display: flex; align-items: center; justify-content: center; font-family: var(--nn-head); font-weight: 900; font-size: 40px; color: var(--nn-orange); flex-shrink: 0; position: relative; }
.nn-khead-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 56px; }
.nn-khead-text h1 { margin: 0; font-size: 40px; line-height: 1.1; }
.nn-verified-lg { display: inline-flex; align-items: center; gap: 6px; background: var(--nn-green-soft); color: var(--nn-green-dark); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.nn-verified-lg .bi { color: var(--nn-green); }
.nn-kabout { margin: 0; font-size: 16px; color: var(--nn-ink-2); }
.nn-kmeta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--nn-ink-2); align-items: center; }
.nn-when-card { background: #fff; border: 1px solid var(--nn-line); border-radius: 20px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.nn-cap { font-size: 13px; font-weight: 700; color: var(--nn-muted); text-transform: uppercase; letter-spacing: .04em; }
.nn-cap-sm { display: block; font-size: 13px; font-weight: 700; color: var(--nn-ink-2); margin-bottom: 8px; padding: 0; float: none; width: auto; }
.nn-day { min-height: 56px; padding: 8px 16px; border-radius: 14px; border: 1px solid var(--nn-line-2); background: #fff; color: var(--nn-ink) !important; text-decoration: none; display: flex; flex-direction: column; justify-content: center; }
.nn-day b { font-size: 14px; }
.nn-day span { font-size: 12px; font-weight: 500; margin-top: 2px; }
.nn-day.is-on { background: var(--nn-green); border-color: var(--nn-green); color: #fff !important; }
.nn-day.is-closed:not(.is-on), .nn-day.is-off { border-color: var(--nn-line); background: #f7f1eb; color: #8c7b6e !important; }
.nn-toggle { display: inline-flex; background: #f6ede4; border-radius: 999px; padding: 4px; align-self: flex-start; }
.nn-toggle label { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--nn-muted); cursor: pointer; margin: 0; }
.nn-toggle .btn-check:checked + label { background: #fff; color: var(--nn-ink); box-shadow: 0 1px 4px rgba(91, 52, 25, .15); }
.nn-toggle .btn-check:focus-visible + label { outline: 2px solid var(--nn-orange); }
.nn-kbody { padding-top: 16px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.nn-kmain { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.nn-sec { margin: 0; font-size: 24px; }
.nn-dish { display: flex; flex-wrap: wrap; gap: 16px; background: #fff; border: 1px solid var(--nn-line); border-radius: 20px; padding: 16px; }
.nn-dish.has-qty { border-color: var(--nn-orange); }
.nn-dish.is-out { opacity: .6; }
.nn-dish-photo { width: 132px; height: 132px; border-radius: 16px; object-fit: cover; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.nn-dish-body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nn-dish-body h3 { margin: 0; font-size: 18px; font-weight: 700; }
.nn-price { font-size: 18px; font-weight: 700; }
.nn-dish-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nn-ink-2); }
.nn-contains { font-size: 12px; font-weight: 600; color: var(--nn-muted); }
.nn-dish-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.nn-leftline { font-size: 13px; font-weight: 600; color: var(--nn-green-text); }
.nn-leftline.is-low { color: #8a3b14; } .nn-leftline.is-out { color: #8a2e1f; }
.nn-stepper { display: none; align-items: center; border: 1px solid var(--nn-orange); border-radius: 999px; overflow: hidden; background: #fff; }
.nn-stepper button { width: 44px; height: 44px; border: 0; background: #fff; color: var(--nn-orange); font-size: 22px; font-weight: 700; line-height: 1; }
.nn-stepper input { width: 40px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.nn-stepper input::-webkit-outer-spin-button, .nn-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nn-addwrap.has-qty .nn-add { display: none; }
.nn-addwrap.has-qty .nn-stepper { display: inline-flex; }
.no-js .nn-stepper { display: inline-flex; }
button.nn-add { border: 0; }
.nn-box { flex: 1 1 280px; background: #fff; border: 1px solid var(--nn-line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.nn-box h2 { margin: 0; font-family: inherit; font-size: 18px; font-weight: 700; }
.nn-box p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--nn-ink-2); }
.nn-checked { color: var(--nn-green) !important; font-weight: 600; font-size: 13px !important; }
.nn-review { background: #fff; border: 1px solid var(--nn-line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--nn-ink-2); }
.nn-stars { color: var(--nn-orange); font-weight: 700; letter-spacing: 1px; }
.nn-order-col { flex: 1 1 340px; min-width: 0; max-width: 420px; position: sticky; top: 16px; }
.nn-order { background: #fff; border: 1px solid var(--nn-line); border-radius: 24px; padding: 20px; box-shadow: 0 10px 30px rgba(91, 52, 25, .08); display: flex; flex-direction: column; gap: 16px; }
.nn-order fieldset { margin: 0; }
.nn-order-h { margin: 0; font-family: inherit; font-size: 20px; font-weight: 700; }
.nn-empty { margin: 0; padding: 18px; border-radius: 14px; background: var(--nn-orange-soft); font-size: 14px; color: var(--nn-ink-2); text-align: center; list-style: none; }
.nn-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.nn-lines li:not(.nn-empty) { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nn-slot { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--nn-line-2); background: #fff; color: var(--nn-ink); cursor: pointer; margin: 0; }
.btn-check:checked + .nn-slot { border-color: var(--nn-green); background: var(--nn-green-soft); color: var(--nn-green-dark); }
.btn-check:focus-visible + .nn-slot { outline: 2px solid var(--nn-orange); }
.nn-slot.is-full { border-color: var(--nn-line); background: #f7f1eb; color: #8c7b6e; text-decoration: line-through; cursor: not-allowed; }
.nn-totals { border-top: 1px solid var(--nn-line-3); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.nn-totals > div { display: flex; justify-content: space-between; }
.nn-totals > div.d-none { display: none !important; }
.nn-total { font-size: 18px; font-weight: 700; margin-top: 4px; }
.nn-paynote { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: flex-start; background: var(--nn-green-soft); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--nn-green-dark); }
.nn-paynote > span { flex: 1 1 80%; }
.nn-send { min-height: 52px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 700; background: var(--nn-orange); color: #fff; }
.nn-send:hover { background: var(--nn-orange-dark); }
.nn-send:disabled { background: var(--nn-line); color: #8c7b6e; }
.nn-order-bar { display: none; position: sticky; bottom: 0; z-index: 5; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--nn-orange); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 15px; }
@media (max-width: 899.98px) { .nn-order-bar { display: flex; } .nn-order-col { position: static; max-width: none; } }
@media (max-width: 575.98px) { .nn-khead-text h1 { font-size: 30px; } .nn-avatar { width: 88px; height: 88px; font-size: 32px; } .nn-khead-text { padding-top: 0; } .nn-cover { height: 160px; } .nn-dish-photo { width: 96px; height: 96px; } }

/* Cook dashboard (Cook.dc.html) */
.nn-open-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid var(--nn-line-2); background: #fff; color: var(--nn-muted); }
.nn-open-switch .nn-dot { width: 10px; height: 10px; border-radius: 50%; background: #b3a497; }
.nn-open-switch.is-on { border-color: var(--nn-green); background: var(--nn-green-soft); color: var(--nn-green-dark); }
.nn-open-switch.is-on .nn-dot { background: #2e8b57; }
.nn-paused { background: var(--nn-orange-tag); color: var(--nn-orange-ink); text-align: center; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 12px; }
/* My kitchen tabs as pills in a row that scrolls sideways (mockup approved 2026-10-24). */
.nn-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.nn-tabs::-webkit-scrollbar { display: none; }
.nn-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--nn-line-2); background: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--nn-ink-2) !important; flex: none; }
.nn-tabs a.is-on { background: var(--nn-orange); border-color: var(--nn-orange); color: #fff !important; }
.nn-tab-badge { margin-left: 6px; background: #d93025; color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 700; min-width: 19px; padding: 1px 6px; text-align: center; }
.nn-tabs a.is-on .nn-tab-badge { background: #fff; color: var(--nn-orange); }
.nn-h1 { margin: 0; font-size: 26px; }
.nn-ocard { background: #fff; border: 2px solid var(--nn-orange); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.nn-timer { display: inline-flex; align-items: center; gap: 6px; background: var(--nn-orange-tag); color: var(--nn-orange-ink); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.nn-note { margin: 0; font-size: 14px; background: var(--nn-orange-soft); border-radius: 12px; padding: 10px 12px; }
.nn-accept { flex: 1 1 160px; min-height: 52px; border: 0; border-radius: 14px; background: var(--nn-green); color: #fff; font-size: 16px; font-weight: 700; }
.nn-accept:hover { background: var(--nn-green-dark); }
.nn-ghost { min-height: 52px; padding: 0 16px; border: 1px solid var(--nn-line-2); border-radius: 14px; background: #fff; color: var(--nn-ink); font-size: 16px; font-weight: 700; }
.nn-ghost.is-green { color: var(--nn-green); }
.nn-ghost.sm { min-height: 44px; font-size: 14px; border-radius: 12px; }
.nn-row { background: #fff; border: 1px solid var(--nn-line); border-radius: 18px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.nn-row-slot { flex: 0 0 92px; display: flex; flex-direction: column; }
.nn-row-main { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nn-badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.nn-badge.accepted { background: var(--nn-green-soft); color: var(--nn-green-dark); } .nn-badge.ready { background: var(--nn-orange-tag); color: var(--nn-orange-ink); } .nn-badge.done { background: #f3eee9; color: var(--nn-muted); }
.nn-btn-orange { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--nn-orange); color: #fff; font-size: 14px; font-weight: 700; }
.nn-btn-line { min-height: 44px; padding: 0 16px; border: 1px solid var(--nn-green); border-radius: 12px; background: #fff; color: var(--nn-green); font-size: 14px; font-weight: 700; }
.nn-meter { height: 8px; border-radius: 4px; background: var(--nn-line-3); overflow: hidden; }
.nn-meter > span { display: block; height: 8px; border-radius: 4px; background: var(--nn-green); }
.nn-info-green { background: var(--nn-green-soft); border-radius: 16px; padding: 14px 16px; font-size: 13px; line-height: 1.5; color: var(--nn-green-dark); }
.public-page .form-check-input:checked { background-color: var(--nn-green); border-color: var(--nn-green); }
.public-page .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(36, 92, 58, .2); border-color: var(--nn-green); }

/* Text opt-in boxes (A2P 10DLC: never ticked by default) and the "texts are off" note on the cook dashboard */
.nn-texts-box { background: #fff; border: 1px solid var(--nn-line, #eadfd3); border-radius: 12px; padding: .75rem .9rem; }
.nn-texts-box .form-check { margin-bottom: 0; }
.nn-texts-box a { color: var(--nn-green, #245C3A); font-weight: 600; }
.nn-texts-off { background: #fff4e5; border: 1px solid #f2d4ad; border-radius: 12px; padding: .55rem .8rem; color: #6b3d12; }
.nn-texts-off a { color: inherit; font-weight: 700; }

/* ♥ Save this kitchen (kitchen page header, as in the mockup): a 44px round button next to "Message the kitchen" */
.nn-heart { width: 44px; height: 44px; flex: none; border: 1px solid var(--nn-line-2); border-radius: 999px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--nn-orange); font-size: 19px; line-height: 1; cursor: pointer; }
.nn-heart:hover { border-color: var(--nn-orange); }
.nn-heart:focus-visible { outline: 3px solid var(--nn-orange); outline-offset: 2px; }
.nn-heart .text-danger { color: var(--nn-orange) !important; }

/* Phone header: two rows (logo + language + sign in + menu; then the place). The nav and "Open your kitchen" live in the menu. */
.nn-menu { display: none; }
.nn-menu-btn { width: 40px; height: 40px; border: 1px solid var(--nn-line-2); border-radius: 999px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--nn-ink); }
.nn-menu-list { border-radius: 14px; border-color: var(--nn-line); padding: 6px; min-width: 13rem; }
.nn-menu-list .dropdown-item { border-radius: 10px; padding: 10px 12px; }
.nn-menu-open { color: var(--nn-green) !important; }
@media (max-width: 575.98px) {
  .nn-header-in { gap: 8px; }
  .nn-logo img, .nn-logo .logo-mark { height: 34px; }
  .nn-nav, .nn-actions .nn-open { display: none; }
  .nn-menu { display: block; }
  .nn-actions { margin-left: auto; gap: 6px; flex-wrap: nowrap; }
  .nn-lang a { min-height: 32px; padding: 0 9px; }
  .nn-signin { font-size: 14px; }
  .nn-header-in > .dropdown:not(.nn-menu) { order: 5; flex-basis: 100%; }
  .nn-place { width: 100%; min-height: 40px; justify-content: flex-start; }
  .nn-place > span { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.nn-signin-icon { display: none; font-size: 26px; line-height: 1; }
.nn-acc-short, .nn-logo img.nn-logo-small { display: none; }
/* The account link (zip 45): the person icon with a small word under it, "Đăng nhập" / "Tài khoản", on phones and
   computers alike, so the header stays one row. */
.nn-acc { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px 4px; line-height: 1; }
.nn-acc .nn-signin-icon { display: inline-block; font-size: 24px; }
.nn-acc .nn-signin-text { display: none; }
.nn-acc-short { display: block; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.nn-acc:hover { color: var(--nn-orange) !important; }
@media (min-width: 768px) { .nn-header-in { column-gap: 18px; } }
@media (max-width: 399.98px) {
  .nn-logo img.nn-logo-full { height: 30px; }
  .nn-lang a { padding: 0 7px; }
  .nn-actions { gap: 4px; }
  .nn-acc { padding: 2px 0; }
  .nn-acc-short { font-size: 10.5px; }
}
/* The smallest phones: just the bowl, without the "NhaNau.com" words. */
@media (max-width: 359.98px) {
  .nn-logo img.nn-logo-full { display: none; }
  .nn-logo img.nn-logo-small { display: block; height: 38px; }
}

/* Place menu: cities with kitchens (like diggg's "Browse by city") */
.nn-place-menu { width: min(24rem, calc(100vw - 32px)); max-height: min(70vh, 34rem); overflow-y: auto; }
.nn-cities { border-top: 1px solid var(--nn-line); margin-top: 12px; padding-top: 10px; }
.nn-cities-head { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--nn-muted); margin-bottom: 4px; }
.nn-city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
.nn-city-grid a { display: flex; justify-content: space-between; gap: 6px; padding: 7px 8px; border-radius: 10px; color: var(--nn-ink); text-decoration: none; font-size: 14px; }
.nn-city-grid a:hover { background: var(--nn-cream); color: var(--nn-orange); }
.nn-city-n { color: var(--nn-muted); font-size: 12px; }
.nn-city-state { border-top: 1px solid var(--nn-line-3); }
.nn-city-state > summary { display: flex; align-items: center; gap: 6px; padding: 8px 4px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.nn-city-state > summary::-webkit-details-marker { display: none; }
.nn-city-state > summary .nn-city-n { margin-left: auto; }
.nn-city-state[open] > summary .bi-chevron-down { transform: rotate(180deg); }

/* Place menu: error under the box */
.nn-place-menu [data-near-help]:empty { display: none; }
.nn-place-menu [data-near-help] { margin-top: 6px; }

/* Cook's menu table on phones: keep the dish name readable; the day columns scroll sideways */
.nn-dish-cell { min-width: 9.5rem; }
@media (max-width: 575.98px) { .kitchen-limit { width: 3.6rem; } }

/* Place menu: "Use my location" as a small underlined link next to the label */
.nn-near-pill { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 0 2px; border: 0; background: none; color: var(--nn-green); font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.nn-near-pill:hover { color: var(--nn-orange); }
.nn-near-pill:disabled { opacity: .5; }

/* Food rules: kitchen type choice, stop notes, the label box, refrigerated tag */
.nn-ktype-opt { display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--nn-line-2); border-radius: 14px; padding: 12px; margin-top: 10px; cursor: pointer; background: #fff; }
.nn-ktype-opt:has(input:checked) { border-color: var(--nn-green); background: #f6fbf7; }
.nn-ktype-opt input { margin-top: 4px; accent-color: var(--nn-green); flex: none; }
.nn-ktype-opt ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--nn-muted); }
.nn-ktag { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 11.5px; font-weight: 700; }
.nn-ktag.is-green { background: var(--nn-green-soft); color: var(--nn-green); }
.nn-ktag.is-blue { background: #e8f0fb; color: #1d4f91; }
.nn-food-stop { background: #fdecea; border: 1px solid #f3c1bb; border-radius: 12px; padding: .55rem .8rem; color: #b42318; }
.nn-food-stop a { color: inherit; font-weight: 700; }
.nn-label { border: 1.5px dashed #cdb9a6; border-radius: 14px; padding: 12px 14px; background: #fffdf9; font-size: 13px; }
.nn-label-stmt { font-weight: 800; text-transform: uppercase; font-size: 11.5px; line-height: 1.45; letter-spacing: .01em; margin: 4px 0 8px; }
.nn-cold { display: inline-flex; align-items: center; gap: 4px; background: var(--nn-orange-tag); color: var(--nn-orange-ink); border-radius: 999px; padding: 1px 9px; font-size: 11.5px; font-weight: 700; }

/* /sms-opt-in: the sign-up flow page */
.nn-optin-steps { padding-left: 1.2rem; }
.nn-optin-steps > li { margin-bottom: 1.4rem; }
.nn-optin-sms { background: #e9e9eb; border-radius: 18px; padding: 10px 14px; margin: 8px 0; max-width: 26rem; font-size: 14px; }
/* The example boxes on /sms-opt-in can't be ticked, but must read exactly like the real ones (not greyed out). */
fieldset[disabled] .nn-texts-box .form-check-input:disabled, fieldset[disabled] .nn-texts-box .form-check-input:disabled ~ .form-check-label { opacity: 1; }
fieldset[disabled] .nn-texts-box .form-control:disabled { background: #fff; }

/* ---------------------------------------------------------------- Site modes (SiteMaintenance, System health) */
/* "Open, with a notice" / "Browsing only": the message on top of every public page. */
.site-note { background: #fff3c4; color: #5c4400; border-bottom: 1px solid #f0d77a; font-size: 14px; padding: 9px 16px; text-align: center; }
/* Staff on the public site while closed (orange); a customer's order / a cook's kitchen while closed (brown). */
.maint-bar { background: var(--nn-orange); color: #fff; font-size: 13.5px; font-weight: 600; padding: 7px 16px; text-align: center; }
.maint-bar.is-closed { background: #6b5b4f; }
.maint-bar a { color: #fff !important; text-decoration: underline; margin-left: 6px; }
/* "Paused for a moment" and "We'll be right back". */
.nn-pause { max-width: 520px; margin: 0 auto; text-align: center; padding: 32px 4px 44px; }
.nn-pause.is-closed { padding: 56px 20px 60px; }
.nn-pause-logo { height: 46px; width: auto; margin-bottom: 24px; }
.nn-pause-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 14px; }
.nn-pause-ic.is-orange { background: var(--nn-orange-soft); color: var(--nn-orange); }
.nn-pause-ic.is-green { background: var(--nn-green-soft); color: var(--nn-green); }
.nn-pause h1 { font-size: 28px; margin-bottom: 8px; }
.nn-pause p { color: var(--nn-ink-2); }
.nn-pause-vi { color: var(--nn-muted) !important; font-size: 14.5px; }
.nn-pause-small { color: var(--nn-muted) !important; font-size: 14px; }
.nn-pause-have { margin-top: 22px; padding: 14px 16px; border: 1px solid var(--nn-line); border-radius: 16px; background: #fff; font-size: 14px; text-align: left; color: var(--nn-ink-2); }
.nn-pause-have .bi { color: var(--nn-green); }
.nn-pill-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--nn-line-2); color: var(--nn-ink) !important; background: #fff; }
.nn-pill-btn.is-green { background: var(--nn-green); border-color: var(--nn-green); color: #fff !important; }
.nn-pill-btn.is-green:hover { background: var(--nn-green-dark); }

/* ---------------------------------------------------------------- Share a kitchen (share.js) */
.nn-share-btn { border: 1px solid var(--nn-line-2); background: #fff; color: var(--nn-ink); }
.nn-share-btn:hover { border-color: var(--nn-orange); }
.nn-share-menu { width: 270px; padding: 8px; border-radius: 16px; border-color: var(--nn-line); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.nn-share-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--nn-ink) !important; text-decoration: none; font-size: 15px; }
.nn-share-item:hover { background: var(--nn-cream); }
.nn-share-ic { width: 30px; height: 30px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.nn-share-ic.is-fb { background: #1877f2; }
.nn-share-ic.is-zalo { background: #0068ff; font-size: 10.5px; font-weight: 800; }
.nn-share-ic.is-link { background: var(--nn-green); }
.nn-copied { margin-left: auto; font-size: 13px; color: var(--nn-green); }
.nn-share-help { font-size: 13px; color: var(--nn-muted); padding: 4px 12px 6px; }
@media (max-width: 420px) { .nn-share-text { display: none; } }
/* My kitchen → Share your kitchen */
.nn-share-post { background: var(--nn-cream); border: 1px dashed var(--nn-line-2); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; white-space: pre-line; margin: 0; }
.nn-share-pic { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--nn-line); display: block; }
[data-post-lang][aria-current] { color: var(--nn-ink) !important; text-decoration: none; font-weight: 600; }

/* ---------------------------------------------------------------- "Tell me when this kitchen opens orders" (notify.js) */
.nn-notify-pop { position: absolute; right: 0; top: 54px; width: min(330px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--nn-line); border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.14); padding: 16px; z-index: 30; font-size: 14.5px; }
.nn-notify-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--nn-line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; cursor: pointer; }
.nn-notify-opt:has(input:checked) { border-color: var(--nn-green); background: var(--nn-green-soft); }
.nn-notify-opt .small { color: var(--nn-muted); }
.nn-bell { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--nn-line-2); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; background: #fff; color: var(--nn-ink); white-space: nowrap; }
.nn-bell.is-on { border-color: var(--nn-green); background: var(--nn-green-soft); color: var(--nn-green-dark); }

/* My kitchen → Numbers */
.nn-ntile { border: 1px solid var(--nn-line); border-radius: 16px; padding: 14px 16px; background: #fff; height: 100%; }
.nn-ntile .k { font-size: 13px; color: var(--nn-muted); }
.nn-ntile .v { font: 900 26px var(--nn-head); color: var(--nn-ink); }
.nn-ntile .s { font-size: 13px; color: var(--nn-muted); }
.nn-notify-opt.is-problem:has(input:checked) { border-color: var(--nn-orange); background: var(--nn-orange-soft); }

/* Lead time per dish (party trays…) */
.nn-lead { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; background: var(--nn-orange-tag); color: var(--nn-orange-ink); }
.nn-lead-soon { font-size: 13.5px; color: var(--nn-orange-ink); margin: 6px 0 0; }
.nn-dish.is-soon .nn-dish-photo { opacity: .7; }

/* Order again */
.nn-again { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nn-green); background: #fff; color: var(--nn-green); font-weight: 600; font-size: 14px; white-space: nowrap; }
.nn-again:hover { background: var(--nn-green); color: #fff; }
.nn-again.is-big { min-height: 46px; padding: 0 22px; font-size: 15px; }
.nn-again-note { background: var(--nn-green-soft); border: 1px solid var(--nn-green); border-radius: 14px; padding: 10px 14px; font-size: 14.5px; }

/* Food rules: "Coming soon" meat dishes, Chay (vegetarian) tag, the permitted-kitchen guide */
.nn-soon { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; background: #f1ece6; color: #6b5b4f; }
.nn-chay { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; background: #e4efe7; color: #1f6b3e; }
.nn-soon-note { background: #f7f3ee; border: 1px solid #eadfd3; border-radius: 12px; padding: .55rem .8rem; color: #6b5b4f; }
.nn-soon-note a { color: inherit; font-weight: 700; }
.nn-step { display: flex; gap: 12px; margin-top: 14px; }
.nn-step .n { width: 30px; height: 30px; border-radius: 50%; background: #245c3a; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
[data-bs-theme="dark"] .nn-soon, [data-bs-theme="dark"] .nn-soon-note { background: #3a332c; color: #e6dbd0; border-color: #4a4038; }
[data-bs-theme="dark"] .nn-chay { background: #1f3a2a; color: #b9e2c6; }

/* Prepaid order fees: balance card, top-up amounts */
.nn-balcard { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--nn-line-2, #efe2d6); border-radius: 20px; padding: 16px 18px; }
.nn-balcard.is-low { border-color: #f3c1bb; }
.nn-balbig { font-size: 28px; font-weight: 800; line-height: 1; }
.nn-pill-free, .nn-pill-low { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; }
.nn-pill-free { background: #e4efe7; color: #1f6b3e; }
.nn-pill-low { background: #fdecea; color: #b42318; }
.nn-amt { position: relative; }
.nn-amt input { position: absolute; opacity: 0; }
.nn-amt span { display: inline-flex; align-items: center; justify-content: center; min-width: 86px; height: 44px; border: 1.5px solid #e3d3c4; border-radius: 12px; font-weight: 700; font-size: 16px; background: #fff; cursor: pointer; }
.nn-amt input:checked + span { border-color: #245c3a; background: #e4efe7; color: #173d26; }
.nn-amt input:focus-visible + span { outline: 2px solid #245c3a; outline-offset: 2px; }
[data-bs-theme="dark"] .nn-balcard, [data-bs-theme="dark"] .nn-amt span { background: #2a2420; border-color: #4a4038; }
a.nn-accept, a.nn-accept:hover { color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; }
.nn-balcard .nn-accept { flex: none; min-height: 44px; }
#topup .nn-accept { flex: none; }

/* My kitchen → Your menu / Settings (mockup approved 2026-10-24) */
.nn-kcheck { background: var(--nn-orange-soft); border: 1px solid #f1d3b5; border-radius: 14px; padding: .7rem .9rem; font-size: 14px; }
.nn-kcheck-item { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; color: var(--nn-orange-ink) !important; text-decoration: none; }
.nn-kcheck-item:hover span { text-decoration: underline; }
.nn-kcheck-item .bi { font-size: 11px; flex: none; }
.nn-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--nn-orange) !important; text-decoration: none; min-height: 32px; }
.nn-dish-row { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--nn-line); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.nn-dish-row.is-off .nn-dish-thumb { filter: grayscale(1); opacity: .7; }
.nn-dish-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: linear-gradient(135deg, #f3d9c4, #e9b893); }
.nn-dish-row a { color: var(--nn-orange) !important; text-decoration: none; }
.nn-dish-toggle { border: 1px solid var(--nn-line-2); background: #fff; border-radius: 999px; font-size: 12px; padding: 2px 10px; color: var(--nn-muted); white-space: nowrap; }
.nn-dish-toggle.is-on { background: var(--nn-green-soft); border-color: var(--nn-green-soft); color: var(--nn-green-text); font-weight: 600; }
.nn-set-group { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--nn-muted); margin: 14px 2px 6px; }
.nn-set-list { background: #fff; border: 1px solid var(--nn-line); border-radius: 16px; overflow: hidden; }
.nn-set-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--nn-line); color: var(--nn-ink) !important; text-decoration: none; min-height: 56px; }
.nn-set-row:last-child { border-bottom: 0; }
.nn-set-row:hover { background: var(--nn-cream); }
.nn-set-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--nn-orange-tag); color: var(--nn-orange); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 17px; }
.nn-set-sum { color: var(--nn-muted); overflow-wrap: anywhere; }
.nn-set-go { color: #b5a99c; margin-left: auto; flex: none; }
.nn-set-tag { display: inline-block; border-radius: 6px; padding: 0 6px; margin-left: 4px; font-size: 11.5px; font-weight: 700; }
.nn-set-tag.is-need { background: #fff0d6; color: #8a5a00; }
.nn-set-tag.is-ok { background: var(--nn-green-soft); color: var(--nn-green-text); }
.public-page a.nn-btn-solid { color: #fff !important; }

/* My kitchen header: one line saying where the kitchen stands. */
.nn-strip { display: flex; align-items: center; gap: 10px; margin-top: 12px; border-radius: 14px; padding: 10px 12px; font-size: 14px; background: var(--nn-orange-soft); border: 1px solid #f1d3b5; color: var(--nn-orange-ink) !important; text-decoration: none; }
a.nn-strip:hover { border-color: var(--nn-orange); }
.nn-strip.is-ok { background: var(--nn-green-soft); border-color: #cfe2d5; color: var(--nn-green-dark) !important; }
.nn-strip.is-info { background: #eef4fb; border-color: #d6e3f2; color: #24456b !important; }
.nn-strip-go { margin-left: auto; color: #c08a65; flex: none; }
.nn-ring { width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: conic-gradient(var(--nn-orange) 0 var(--p), #f1d3b5 var(--p) 100%); }
.nn-ring i { width: 24px; height: 24px; border-radius: 50%; background: var(--nn-orange-soft); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 700; color: var(--nn-orange); }
.nn-ring.is-ok { background: var(--nn-green); color: #fff; font-size: 16px; }
.nn-strip-more { margin-top: 6px; font-size: 13.5px; }
.nn-strip-more summary { color: var(--nn-muted); cursor: pointer; }
.nn-kcheck-item.is-done { color: var(--nn-green-text) !important; }
/* A popup that slides up from the bottom on phones (Send to our team). */
@media (max-width: 575.98px) {
  .modal-dialog.nn-sheet { margin: 0; position: fixed; bottom: 0; left: 0; right: 0; max-width: none; min-height: 0; align-items: flex-end; }
  .modal-dialog.nn-sheet .modal-content { border-radius: 22px 22px 0 0; border: 0; }
  .modal.fade .modal-dialog.nn-sheet { transform: translateY(40px); }
  .modal.show .modal-dialog.nn-sheet { transform: none; }
}
.nn-ring.is-ok i { width: auto; height: auto; background: transparent; color: #fff; font-size: 17px; }

/* Kitchen page day picker: the chips share the card's width (no empty space on the right of a phone). */
.nn-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }

/* Kitchen page day picker as a calendar strip (mockup approved 2026-10-24). */
.nn-daystrip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 4px; }
.nn-daystrip::-webkit-scrollbar { display: none; }
.nn-dtile { flex: none; width: 60px; border: 1px solid var(--nn-line-2); background: #fff; border-radius: 14px; text-align: center; padding: 7px 0 6px; color: var(--nn-ink) !important; text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.nn-dtile .w { font-size: 12px; color: var(--nn-muted); font-weight: 600; white-space: nowrap; }
.nn-dtile b { font-size: 19px; font-weight: 700; margin: 1px 0; }
.nn-dtile .s { font-size: 10.5px; font-weight: 600; color: var(--nn-green-text); white-space: nowrap; }
.nn-dtile.is-on { background: var(--nn-green); border-color: var(--nn-green); }
.nn-dtile.is-on .w, .nn-dtile.is-on b, .nn-dtile.is-on .s { color: #fff; }
.nn-dtile.is-closed:not(.is-on) .s { color: var(--nn-orange-ink); }
.nn-dtile.is-off { background: #f7f1eb; border-color: var(--nn-line); }
.nn-dtile.is-off .w, .nn-dtile.is-off b, .nn-dtile.is-off .s { color: #b3a497; }
.nn-day-info { font-size: 13.5px; color: var(--nn-ink-2); margin-top: 2px; }

/* Dish photos (mockup approved 2026-10-24): the cook's photo boxes, and the customer's swipe gallery. */
.nn-pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 26rem; }
.nn-pslot { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3ece5; margin: 0; }
.nn-pslot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nn-px { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.nn-pleft { position: absolute; left: 4px; bottom: 4px; border: 0; border-radius: 7px; background: rgba(255,255,255,.92); color: var(--nn-ink-2); font-size: 11px; font-weight: 700; padding: 2px 7px; }
.nn-pmain { position: absolute; left: 4px; bottom: 4px; background: var(--nn-green); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 6px; }
.nn-padd { border: 1.5px dashed #d9b99b; background: var(--nn-cream); color: var(--nn-orange); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; text-align: center; cursor: pointer; padding: 4px; }
.nn-padd b { font-size: 24px; line-height: 1; }
.nn-pfile { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nn-dish-photo-btn { position: relative; border: 0; padding: 0; background: none; border-radius: 16px; flex: none; }
.nn-pcount { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.nn-gallery .modal-content { background: #1e1712; color: #fff; border: 0; }
.nn-gallery .carousel-item img { width: 100%; max-height: 68vh; object-fit: contain; border-radius: 14px; background: #2b211b; }
.nn-gallery .carousel-indicators { position: static; margin: 12px 0 4px; }
.nn-gallery .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 0; }
.nn-gallery .carousel-control-prev, .nn-gallery .carousel-control-next { width: 52px; }
.nn-gallery .nn-gnav { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.88); color: #2b211b; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.nn-gallery .btn-close { filter: invert(1); }

/* Food rules in plain words (mockup approved 2026-10-24). */
.nn-can { list-style: none; padding-left: 0 !important; }
.nn-can li { padding-left: 20px; position: relative; margin: 2px 0; }
.nn-can li::before { content: "•"; position: absolute; left: 4px; color: var(--nn-muted); }
.nn-can li.is-yes { color: var(--nn-green-text); font-weight: 600; }
.nn-can li.is-yes::before { content: "✓"; left: 2px; color: var(--nn-green-text); }
.nn-can li.is-no { color: #a14216; font-weight: 600; }
.nn-can li.is-no::before { content: "✗"; left: 2px; color: #a14216; }
.nn-kinfo { background: #eef4fb; border: 1px solid #d6e3f2; border-radius: 12px; padding: .6rem .8rem; color: #24456b; }
.nn-meatwarn { background: #fff4e5; border: 1px solid #f2d4ad; border-radius: 14px; padding: .75rem .9rem; color: #5b3510; font-size: 13.5px; }
.nn-why { background: #fff; border: 1px solid var(--nn-line); border-radius: 18px; padding: 16px; }

/* Opening a kitchen in 4 steps (mockup approved 2026-10-25): one question per screen, big type, one big button. */
.nn-setup { max-width: 30rem; margin: 0 auto; background: #fff; border: 1px solid var(--nn-line); border-radius: 22px; padding: 18px 16px 20px; }
.nn-setup-bar { height: 7px; border-radius: 4px; background: var(--nn-line); overflow: hidden; margin-bottom: 18px; }
.nn-setup-bar i { display: block; height: 100%; background: var(--nn-orange); border-radius: 4px; }
.nn-setup-h { font-size: 22px; font-weight: 800; line-height: 1.25; margin: 0 0 4px; }
.nn-setup-sub { font-size: 14.5px; color: var(--nn-muted); margin: 0 0 14px; }
.nn-setup-label { display: block; font-size: 15px; font-weight: 700; margin: 16px 0 6px; }
.nn-setup-in { font-size: 17px !important; min-height: 50px; border-radius: 14px !important; }
.nn-setup-card { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--nn-line-2); border-radius: 16px; padding: 14px; margin-bottom: 10px; cursor: pointer; font-size: 14.5px; background: #fff; }
.nn-setup-card:has(input:checked) { border-color: var(--nn-green); background: #f1f7f3; }
.nn-setup-card input { margin-top: 5px; width: 20px; height: 20px; accent-color: var(--nn-green); flex: none; }
.nn-setup-card b { font-size: 17px; display: block; margin-bottom: 3px; }
.nn-yes { color: var(--nn-green-text); font-weight: 600; }
.nn-no { color: #a14216; font-weight: 600; }
.nn-setup-photo { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 96px; border: 2px dashed #d9b99b; border-radius: 16px; background: var(--nn-cream); color: var(--nn-orange); font-weight: 700; cursor: pointer; margin: 6px 0 0; padding: 10px; }
.nn-setup-thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.nn-yesno { display: flex; gap: 10px; }
.nn-yesno label { flex: 1; margin: 0; }
.nn-yesno input { position: absolute; opacity: 0; }
.nn-yesno span { display: block; text-align: center; border: 2px solid var(--nn-line-2); border-radius: 14px; padding: 11px 0; font-weight: 700; font-size: 16px; cursor: pointer; background: #fff; }
.nn-yesno input:checked + span { border-color: var(--nn-green); background: #f1f7f3; color: var(--nn-green); }
.nn-yesno input:focus-visible + span { outline: 3px solid #9cc5ab; }
.nn-daychip { min-width: 48px; min-height: 44px; border-radius: 999px !important; font-weight: 700; }
.nn-setup-foot { margin-top: 26px; }
.nn-setup-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 999px !important; font-size: 17px !important; font-weight: 800 !important; }
.nn-setup-ok { width: 80px; height: 80px; border-radius: 50%; background: var(--nn-green-soft); color: var(--nn-green); font-size: 44px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }

/* Open-a-kitchen: no extra triangle before "+ More details"; big tick boxes */
.nn-setup summary { list-style: none; cursor: pointer; padding: 6px 0; }
.nn-setup summary::-webkit-details-marker { display: none; }
.nn-setup .form-check-input { width: 1.35em; height: 1.35em; margin-top: .15em; }

/* Scrolling rows keep their hidden screen-reader text inside them; otherwise it sits past the screen edge and the whole page slides sideways on phones. */
.nn-daystrip, .nn-tabs, .nn-dishes-row, .nn-dtile { position: relative; }

/* Settings → Kitchen photos (zip 39) */
.nn-pbox { position: relative; display: flex; align-items: center; justify-content: center; border: 2px dashed #d9b99b; border-radius: 16px; background: var(--nn-cream) center / cover no-repeat; color: var(--nn-orange); font-weight: 700; cursor: pointer; overflow: hidden; margin: 0; }
.nn-pbox-cover { height: 140px; }
.nn-pbox-logo { width: 112px; height: 112px; border-radius: 26px; flex: none; font-size: 14px; }
.nn-pbox-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 6px; }
.nn-pbox-cover .nn-pbox-empty { flex-direction: row; gap: 10px; }
.nn-pbox-chg { display: none; position: absolute; right: 8px; bottom: 8px; background: rgba(255, 255, 255, .95); color: var(--nn-ink); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.nn-pbox.has { border: 0; }
.nn-pbox.has .nn-pbox-empty { display: none; }
.nn-pbox.has .nn-pbox-chg { display: inline-block; }
.nn-pbox-rm { background: none; border: 0; color: #b42318; font-size: 13.5px; font-weight: 600; padding: 6px 0; text-decoration: underline; }
.nn-pprev { border: 1px solid var(--nn-line); border-radius: 18px; padding: 10px; background: var(--nn-cream); }
.nn-pprev-c { height: 96px; border-radius: 14px; background: #f6e3d3 center / cover no-repeat; }
.nn-pprev-a { width: 58px; height: 58px; flex: none; border-radius: 16px; border: 3px solid var(--nn-cream); margin: -30px 0 0 12px; background: #fff center / cover no-repeat; box-shadow: 0 4px 12px rgba(91, 52, 25, .12); display: flex; align-items: center; justify-content: center; font-family: var(--nn-head); font-weight: 900; color: var(--nn-orange); }
.nn-avatar.has-logo { background: #fff center / cover no-repeat; overflow: hidden; }

/* "Đơn của bạn": one page, three numbered parts (zip 40, mockup approved 2026-10-25) */
.nn-co { max-width: 34rem; margin: 0 auto; }
.nn-co-h { font-size: 26px; font-weight: 800; margin: 4px 0 14px; }
.nn-co-card { background: #fff; border: 1px solid var(--nn-line); border-radius: 20px; padding: 16px; margin-bottom: 12px; }
.nn-co-sec { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; margin: 0 0 12px; font-family: var(--bs-body-font-family); }
.nn-co-n { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--nn-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.nn-co-total { display: flex; justify-content: space-between; font-size: 19px; font-weight: 800; border-top: 1px solid var(--nn-line); padding-top: 8px; margin: 6px 0 4px; }
.nn-co-label { display: block; font-size: 15px; font-weight: 700; margin: 12px 0 6px; }
.nn-co-in { font-size: 17px !important; min-height: 52px; border-radius: 14px !important; }
.nn-co-side { border-radius: 14px !important; white-space: nowrap; font-weight: 700; min-height: 52px; }
.nn-co-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nn-co-slot { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--nn-line-2); border-radius: 14px; font-weight: 700; font-size: 16px; background: #fff; cursor: pointer; margin: 0; text-align: center; padding: 4px; }
.btn-check:checked + .nn-co-slot { border-color: var(--nn-green); background: var(--nn-green-soft); color: var(--nn-green-dark); }
.btn-check:focus-visible + .nn-co-slot { outline: 2px solid var(--nn-orange); }
.nn-co-slot.is-full { color: #a99a8e; text-decoration: line-through; background: #f7f1eb; border-color: var(--nn-line); cursor: not-allowed; }
.nn-co-how { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nn-co-how label { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border: 2px solid var(--nn-line-2); border-radius: 14px; font-weight: 700; cursor: pointer; margin: 0; background: #fff; text-align: center; }
.nn-co-how .btn-check:checked + label { border-color: var(--nn-green); background: var(--nn-green-soft); color: var(--nn-green-dark); }
.nn-co-more { color: var(--nn-orange); font-weight: 700; cursor: pointer; list-style: none; padding: 4px 0; }
.nn-co-more::-webkit-details-marker { display: none; }
.nn-co-pay { display: flex; gap: 12px; background: var(--nn-green-soft); border-radius: 16px; padding: 14px; margin-bottom: 14px; font-size: 15px; }
.nn-co-pay > i { font-size: 24px; color: var(--nn-green); line-height: 1; }
.nn-co-send { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; border: 0; border-radius: 999px; background: var(--nn-orange); color: #fff; font-size: 18px; font-weight: 800; padding: 8px 16px; }
.nn-co-send:disabled { background: #e7d6c7; color: #8c7b6e; }
.nn-co .nn-texts-box .form-check-input { width: 1.3em; height: 1.3em; }

/* Kitchen page: numbered parts and the "Continue" bar (zip 40) */
.nn-step-h { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin: 0; }
.nn-step-h .nn-co-n { width: 30px; height: 30px; }
.nn-go-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--nn-orange); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(91, 52, 25, .18); }
.nn-go-bar[hidden] { display: none; }
.nn-go-bar .t { font-weight: 800; font-size: 17px; line-height: 1.2; }
.nn-go-bar .d { font-size: 13px; opacity: .9; }
.nn-go-bar > button { margin-left: auto; background: #fff; color: var(--nn-orange); font-weight: 800; border: 0; border-radius: 999px; padding: 12px 22px; font-size: 17px; white-space: nowrap; }
@media (min-width: 900px) { .nn-go-bar { display: none !important; } }
@media (max-width: 899.98px) { body.has-go-bar { padding-bottom: 76px; } .nn-order-col { display: none; } }
/* Order page: what happens next (zip 40) */
.nn-next { list-style: none; padding: 0; margin: 0; }
.nn-next li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; position: relative; }
.nn-next li:last-child { padding-bottom: 0; }
.nn-next li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--nn-line); }
.nn-next-dot { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--nn-line); color: #8c7b6e; }
.nn-next li.is-done .nn-next-dot { background: var(--nn-green); color: #fff; }
.nn-next li.is-now .nn-next-dot { background: var(--nn-orange); color: #fff; }
/* My orders: one card per order (zip 40) */
.nn-ocard { display: block; background: #fff; border: 1px solid var(--nn-line); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
.nn-ocard-main { display: block; color: var(--nn-ink) !important; text-decoration: none; }
.nn-ostatus { flex: none; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; background: #f1ebe5; color: var(--nn-muted); white-space: nowrap; }
.nn-ostatus.is-wait { background: var(--nn-orange-tag); color: #b54708; }
.nn-ostatus.is-ok { background: var(--nn-green-soft); color: var(--nn-green-dark); }
.nn-ostatus.is-done { background: var(--nn-green-soft); color: var(--nn-green-dark); }
.nn-again.is-rate { border-color: var(--nn-orange); color: var(--nn-orange); }
.nn-co [hidden] { display: none !important; }
.nn-co-how label { font-size: 15px; padding: 4px 8px; line-height: 1.2; }
.nn-ocard-cook { display: flex !important; flex-direction: row; gap: 12px; align-items: center; color: var(--nn-ink) !important; text-decoration: none; text-align: left; }
.nn-ocard-ic { font-size: 28px; flex: none; }
.nn-ocard-tx { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }

/* Cook's orders (zip 41, mockup approved 2026-10-25): two big buttons on a new order, one next step per accepted order. */
.nn-ocard.nn-new { border: 2px solid var(--nn-orange); padding: 16px; }
.nn-new-when { display: flex; gap: 8px; align-items: baseline; font-size: 18px; font-weight: 800; margin: 10px 0 6px; line-height: 1.3; }
.nn-new-when i { color: var(--nn-orange); }
.nn-new-dishes { list-style: none; padding: 0; margin: 0 0 8px; font-size: 17px; }
.nn-new-dep { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.nn-big-green, .nn-big-orange, .nn-big-line { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; border-radius: 999px; font-weight: 800; font-size: 17px; border: 0; padding: 6px 14px; text-align: center; line-height: 1.2; }
.nn-big-green { background: var(--nn-green); color: #fff !important; }
.nn-big-orange { background: var(--nn-orange); color: #fff !important; }
.nn-big-line { background: #fff; border: 2px solid var(--nn-line-2); color: var(--nn-ink) !important; text-decoration: none; }
.nn-linkbtn { background: none; border: 0; padding: 4px 0; color: var(--nn-green-text); font-weight: 700; text-decoration: underline; }
.nn-orow { padding: 14px 16px; }
.nn-orow.is-past { opacity: .65; }
.nn-orow-time { min-width: 78px; font-weight: 800; font-size: 15px; line-height: 1.2; }
.nn-orow-time small { display: block; font-weight: 500; color: var(--nn-muted); font-size: 12.5px; margin-top: 2px; }
.nn-oprog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 12px 0 10px; font-size: 12px; color: var(--nn-muted); }
.nn-oprog span { display: flex; flex-direction: column; gap: 4px; }
.nn-oprog span:nth-child(2) { text-align: center; } .nn-oprog span:nth-child(3) { text-align: right; }
.nn-oprog i { height: 6px; border-radius: 3px; background: var(--nn-line); }
.nn-oprog span.is-on i { background: var(--nn-green); }
.nn-oprog span.is-now { color: var(--nn-green-text); font-weight: 700; }
.nn-more { position: relative; width: 50px; flex: none; border-radius: 999px; border: 2px solid var(--nn-line-2); background: #fff; font-size: 20px; font-weight: 800; color: var(--nn-ink); }
.nn-more-dot { position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--nn-orange); }
.nn-sheet.offcanvas-bottom { height: auto; max-height: 80vh; border-radius: 22px 22px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); max-width: 34rem; margin: 0 auto; }
.nn-sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: #ddd; margin: 0 auto 10px; }
.nn-sheet-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--nn-line); background: none; font-size: 17px; font-weight: 600; color: var(--nn-ink) !important; text-decoration: none; text-align: left; }
.nn-sheet-it i { font-size: 20px; width: 26px; text-align: center; }
.nn-sheet > :last-child { border-bottom: 0; }
.nn-reason { display: block; width: 100%; text-align: left; min-height: 56px; border-radius: 14px; border: 2px solid var(--nn-line-2); background: #fff; font-size: 17px; font-weight: 600; padding: 10px 14px; margin-bottom: 8px; color: var(--nn-ink); }
.nn-reason:hover { border-color: var(--nn-orange); }
.nn-tocook { background: var(--nn-green-soft); border-radius: 16px; padding: 12px 14px; }
.nn-why-screen { max-width: 34rem; }
/* Dish photos just picked (zip 43): shown at once, marked New; the form dims while they upload. */
.nn-pnew { position: absolute; left: 6px; bottom: 6px; background: var(--nn-orange); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
form.is-uploading { opacity: .6; pointer-events: none; }

/* Home on phones (zip 50): a short top (no kicker, lead or example order), a one-row search once the place is known,
   one sideways row of filters, then "Kitchens near you" and "Dishes near you" as swipe rows (the next card peeks in),
   then "Browse by dish". Computers are unchanged. */
@media (max-width: 575.98px) {
  .nn-home { display: flex; flex-direction: column; }
  .nn-home > .nn-hero { order: 1; }
  .nn-home > #kitchens { order: 2; }
  .nn-home > #dishes { order: 3; }
  .nn-home > .nn-home-cuisines { order: 4; padding-top: 24px !important; }
  .nn-home > * { order: 5; width: 100%; min-width: 0; }   /* .nn-wrap centres with auto margins: without this it would grow to its content */
  .nn-home .nn-hero { padding-top: 14px; padding-bottom: 6px; gap: 10px; }
  .nn-home .nn-hero-main { gap: 10px; }
  .nn-home .nn-kicker, .nn-home .nn-lead, .nn-home .nn-preview, .nn-home .nn-preview-note { display: none; }
  .nn-home .nn-hero h1 { font-size: 26px; }
  .nn-search.is-compact { flex-wrap: nowrap; align-items: center; padding: 6px 6px 6px 14px; border-radius: 999px; gap: 6px; }
  .nn-search.is-compact > label:first-of-type { display: none; }
  .nn-search.is-compact label { flex: 1; padding: 0; }
  .nn-search.is-compact label > span { display: none; }
  .nn-search.is-compact input { padding: 8px 0; }
  .nn-search.is-compact button { width: auto; min-height: 44px; padding: 0 16px; border-radius: 999px; }
  .nn-home .nn-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-right: -16px; padding-right: 16px; }
  .nn-home .nn-pills::-webkit-scrollbar { display: none; }
  .nn-home .nn-pills > * { flex: none; }
  .nn-home .nn-section { padding-top: 14px; padding-bottom: 14px; }
  .nn-home .nn-section-head { margin-bottom: 10px; align-items: center; flex-wrap: nowrap; }
  .nn-home .nn-section-head h2 { font-size: 21px; }
  .nn-home.has-place .nn-section-head p, .nn-home .nn-section-head .nn-pill { display: none; }   /* no place yet: the "type your ZIP" line stays */
  .nn-home .nn-section-head .nn-link { white-space: nowrap; font-size: 14px; }
  .nn-home .nn-grid, .nn-home .nn-dgrid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .nn-home .nn-grid::-webkit-scrollbar, .nn-home .nn-dgrid::-webkit-scrollbar { display: none; }
  .nn-home .nn-grid > *, .nn-home .nn-dgrid > * { flex: 0 0 72%; scroll-snap-align: start; }
  .nn-home .nn-kcard-photo, .nn-home .nn-dcard-photo { height: 104px; }
  .nn-home .nn-kcard-body, .nn-home .nn-dcard-body { padding: 10px 12px 12px; gap: 4px; }
  .nn-home .nn-kcard-foot { padding-top: 6px; }
  .nn-home .nn-band > .nn-wrap { padding-top: 14px; padding-bottom: 16px; }
  .nn-home .nn-band > .nn-wrap > p.small { display: none; }
  .nn-home .nn-dish-dot { width: 72px; }
  .nn-home .nn-dish-dot > span:first-child { width: 48px; height: 48px; font-size: 18px; }
}
/* Long dish descriptions (zip 51): 2 lines, then "See more". */
.nn-dish-desc.is-cut { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nn-more-link { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: -2px; font-size: 14px; font-weight: 700; color: var(--nn-green-text); text-decoration: underline; }
/* Dish cards (zip 52): the photo count sits on the photo (the button no longer stretches to the card's height);
   portion and "Keep refrigerated" on one line under the name; phones keep the photo beside the text. */
.nn-dish-photo-btn { align-self: flex-start; display: block; line-height: 0; }
.nn-dish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--nn-muted); margin-top: -2px; }
@media (max-width: 575.98px) {
  .nn-dish { flex-wrap: nowrap; align-items: flex-start; gap: 12px; padding: 12px; }
  .nn-dish .nn-dish-photo { width: 92px; height: 92px; border-radius: 14px; }
  .nn-dish-body { flex: 1 1 0; min-width: 0; }
  .nn-dish-body h3 { font-size: 17px; }
  .nn-dish-foot { margin-left: -104px; padding-top: 10px; }   /* full card width again: under the photo too */
}

/* Zip 53: change or remove a dish right in the order box; on phones the box opens from the bottom. */
.nn-line-name { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.nn-line-name small { display: block; font-weight: 400; font-size: 13px; color: var(--nn-muted); }
.nn-line-step { flex: 0 0 auto; display: inline-flex; align-items: center; border: 1.5px solid var(--nn-orange); border-radius: 999px; background: #fff; }
.nn-line-step button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--nn-orange); font-size: 20px; font-weight: 700; line-height: 1; border-radius: 999px; display: grid; place-items: center; }
.nn-line-step button .bi { font-size: 16px; }
.nn-line-step button:disabled { color: var(--nn-line-2); }
.nn-line-step > span { min-width: 20px; text-align: center; font-weight: 800; font-size: 16px; }
.nn-line-price { flex: 0 0 auto; min-width: 62px; text-align: right; font-weight: 700; }
.nn-order-top { position: relative; }
.nn-order-h:focus { outline: none; }
.nn-sheet-x { display: none; position: absolute; top: -8px; right: -6px; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--nn-line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--nn-ink-2); }
.nn-bar-view { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; background: rgba(255, 255, 255, .2); color: #fff; border: 0; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
@media (max-width: 899.98px) {
  .nn-order-col.is-sheet { display: flex; flex-direction: column; position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 1040; max-width: none; max-height: 55vh; overflow: hidden; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); }
  .nn-order-col.is-sheet .nn-order { flex: 1 1 auto; min-height: 0; border: 0; box-shadow: none; border-radius: 0; padding: 18px 16px 12px; gap: 12px; }
  .nn-order-col.is-sheet .nn-lines { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-right: -6px; padding-right: 6px; }
  .nn-order-col.is-sheet .nn-order > p.small { display: none; }
  .nn-order-col.is-sheet .nn-send { flex: 0 0 auto; }
  .nn-order-col.is-sheet > p { display: none; }
  .nn-order-col.is-sheet .nn-sheet-x { display: inline-flex; }
}

/* Zip 56: a cook reports a customer to NhaNau. */
.nn-report-help { background: var(--nn-green-soft); color: var(--nn-green-dark); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.nn-report-why { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 16px; margin-bottom: 10px; border: 1.5px solid var(--nn-line-2); border-radius: 16px; background: #fff; font-size: 17px; font-weight: 600; cursor: pointer; }
.nn-report-why .bi { font-size: 20px; color: #b42318; width: 24px; text-align: center; }
.nn-report-why .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--nn-line-2); margin-left: auto; flex: 0 0 auto; }
.btn-check:checked + .nn-report-why { border-color: #b42318; background: #fdf0ee; }
.btn-check:checked + .nn-report-why .dot { border: 7px solid #b42318; }
.btn-check:focus-visible + .nn-report-why { outline: 2px solid var(--nn-orange); outline-offset: 2px; }
.nn-report-block { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 14px 0 16px; cursor: pointer; }
.nn-report-block input { width: 22px; height: 22px; margin-top: 1px; flex: 0 0 auto; accent-color: #b42318; }
.nn-report-send { width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: #b42318; color: #fff; font-weight: 800; font-size: 17px; }
.nn-report-send:hover { background: #912018; }
.nn-report-flag { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: #b42318; font-weight: 700; font-size: 14px; }
.nn-report-link { color: var(--nn-muted) !important; text-decoration: none; }
.nn-report-link:hover { color: #b42318 !important; text-decoration: underline; }

/* Zip 58: the kitchen header is one white card (design approved 2026-10-25): cover with "‹ Kitchens near …" on it,
   the logo with the name beside it, then the about, details and buttons. On phones it starts right under the
   NhaNau header (square top corners) and the place row is hidden. */
.nn-ksec { padding-top: 20px; }
.nn-kpage-card { background: #fff; border-radius: 24px; box-shadow: 0 10px 30px rgba(91, 52, 25, .08); border: 1px solid var(--nn-line); }
.nn-kpage-card .nn-cover { position: relative; height: 260px; border-radius: 23px 23px 0 0; }   /* no overflow:hidden on the card: the share menu and ♥ pop-up open outside it */
.nn-kback { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 28px);
  background: rgba(255, 255, 255, .95); color: var(--nn-green-text) !important; border-radius: 999px; padding: 8px 16px 8px 12px; font-weight: 700; font-size: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-kback:hover { background: #fff; }
.nn-kpage-card .nn-khead { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 18px; margin-top: -52px; padding: 0 24px; position: relative; }
.nn-kpage-card .nn-avatar { width: 112px; height: 112px; border-radius: 28px; border: 4px solid #fff; }
/* The name starts below the cover, sits at the logo's foot when short, and grows downward when long. */
.nn-kpage-card .nn-khead-text { flex: 1 1 200px; min-width: 0; align-self: stretch; padding-top: 60px; padding-bottom: 6px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; align-content: flex-end; gap: 6px 14px; }
.nn-kpage-card .nn-khead-text h1 { margin: 0; font-size: 36px; line-height: 1.1; overflow-wrap: anywhere; }
.nn-kpage-info { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 14px 24px 22px; }
.nn-kpage-text { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 575.98px) {
  .nn-header.is-kitchen .nn-header-in > .dropdown:not(.nn-menu) { display: none; }
  .nn-ksec { padding-top: 0; }
  .nn-kpage-card { border-radius: 0 0 24px 24px; border-top: 0; }
  .nn-kpage-card .nn-cover { height: 170px; border-radius: 0; }
  .nn-kpage-card .nn-khead { margin-top: -40px; padding: 0 16px; gap: 8px 14px; }
  .nn-kpage-card .nn-avatar { width: 84px; height: 84px; border-radius: 22px; font-size: 30px; }
  .nn-kpage-card .nn-khead-text { flex-basis: 150px; padding-top: 48px; padding-bottom: 4px; }
  .nn-kpage-card .nn-khead-text h1 { font-size: 26px; }
  .nn-kpage-info { padding: 10px 16px 18px; gap: 14px; }
}

/* Zip 59: home page (mockup 2B approved 2026-10-25). "What are you craving?" with round photos of dishes cooked
   nearby; on phones the place sits inside the search box, then cravings → dishes → kitchens. */
.nn-crave-h { margin: 0 0 12px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--nn-muted); }
.nn-crave > span.nn-crave-img { width: 76px; height: 76px; border-radius: 50%; background: center / cover no-repeat; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(91, 52, 25, .15); display: flex; align-items: center; justify-content: center; }
.nn-search2 { display: none; }
.nn-s2-place span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575.98px) {
  .nn-header.is-home .nn-header-in > .dropdown:not(.nn-menu) { display: none; }
  .nn-home > .nn-hero { order: 1; }
  .nn-home > .nn-home-cuisines { order: 2; padding-top: 12px !important; padding-bottom: 8px !important; }
  .nn-home > #dishes { order: 3; }
  .nn-home > #kitchens { order: 4; }
  .nn-home.has-place .nn-hero h1 { display: none; }
  .nn-home .nn-search.is-compact, .nn-home .nn-pills.is-compact { display: none !important; }
  .nn-search2 { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--nn-line-2); border-radius: 999px; padding: 5px; box-shadow: 0 6px 18px rgba(91, 52, 25, .08); min-width: 0; }
  .nn-s2-q { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding-left: 12px; margin: 0; }
  .nn-s2-q .bi { color: var(--nn-muted); font-size: 17px; }
  .nn-s2-q input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; color: var(--nn-ink); background: transparent; padding: 10px 0; }
  .nn-s2-q input::placeholder { color: #a39a91; }
  .nn-s2-where { flex: 0 0 auto; position: static; }
  .nn-s2-place { display: inline-flex; align-items: center; gap: 4px; border: 0; border-left: 1.5px solid var(--nn-line-2); background: transparent; padding: 6px 8px 6px 10px; font: inherit; font-weight: 700; font-size: 15px; color: var(--nn-ink); min-height: 44px; }
  .nn-s2-place .bi-geo-alt-fill { color: var(--nn-orange); } .nn-s2-place .bi-chevron-down { font-size: 11px; color: var(--nn-muted); }
  .nn-s2-place span { max-width: 84px; }
  .nn-search2 { position: relative; }
  .nn-s2-where .nn-place-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; width: auto; }
  .nn-s2-go { flex: 0 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--nn-orange); color: #fff; font-size: 18px; display: grid; place-items: center; }
  .nn-s2-go:hover { background: var(--nn-orange-dark); }
  .nn-crave-h { font-family: var(--nn-head); font-size: 21px; font-weight: 800; color: var(--nn-ink); margin-bottom: 10px; }
  .nn-home .nn-dish-dot.nn-crave { width: 82px; }
  .nn-home .nn-crave > span.nn-crave-img { width: 74px; height: 74px; font-size: inherit; }
  .nn-home .nn-dishes-row { margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .nn-home .nn-dishes-row::-webkit-scrollbar { display: none; }
}

/* Zip 60: several kitchens' orders at once. The header bag (orders not sent yet), "+ Add" without leaving the page
   (green "✓ Added" and a note at the bottom), "See other kitchens" in the order box, and the reminder after sending. */
.nn-bag[hidden] { display: none !important; }
.nn-bag-btn { position: relative; border: 0; background: transparent; color: var(--nn-ink); padding: 4px 6px; line-height: 1; }
.nn-bag-btn .bi { font-size: 25px; }
.nn-bag-btn b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--nn-orange); color: #fff; font-size: 12px; display: grid; place-items: center; border: 2px solid #fff; }
.nn-bag-menu { width: min(24rem, calc(100vw - 24px)); padding: 16px; border-radius: 20px; border-color: var(--nn-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.nn-bag-h { font-weight: 800; font-size: 18px; }
.nn-bag-note { font-size: 13.5px; color: var(--nn-muted); margin: 2px 0 6px; }
.nn-bag-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--nn-line-3); }
.nn-bag-logo { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; background: #f6e3d3 center / cover no-repeat; display: grid; place-items: center; font-weight: 900; color: var(--nn-orange) !important; text-decoration: none; }
.nn-bag-text { flex: 1; min-width: 0; color: var(--nn-ink) !important; text-decoration: none; }
.nn-bag-text b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nn-bag-text span { font-size: 14px; color: var(--nn-muted); }
.nn-bag-go { flex: 0 0 auto; background: var(--nn-orange); color: #fff !important; font-weight: 800; border-radius: 999px; padding: 10px 14px; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nn-add.is-added { background: var(--nn-green) !important; color: #fff !important; }
.nn-toast-add { position: fixed; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1060; max-width: 30rem; margin: 0 auto; background: #2b1d14; color: #fff; border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 15px; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.nn-toast-add .bi { color: #7bd389; font-size: 20px; } .nn-toast-add span { flex: 1; } .nn-toast-add a { color: #ffd2ad; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nn-other-k { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; color: var(--nn-green-text) !important; text-decoration: none; font-size: 15px; text-align: center; }
.nn-left-box { display: flex; gap: 12px; align-items: flex-start; background: #fff7ef; border: 1.5px solid #f3c9a5; border-radius: 18px; padding: 14px 16px; margin: 14px 0; }
.nn-left-box > .bi { font-size: 26px; color: var(--nn-orange); }
.nn-left-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.nn-left-row span { flex: 1; min-width: 0; }
.nn-left-row a { background: var(--nn-orange); color: #fff !important; border-radius: 999px; padding: 9px 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
@media (max-width: 575.98px) {
  .nn-actions:has(.nn-bag:not([hidden])) .nn-saved-link { display: none; }
  .nn-bag { position: static; }
  .nn-bag-menu { position: absolute !important; left: 12px !important; right: 12px !important; top: calc(100% - 4px) !important; width: auto; }
  .nn-header-in { position: relative; }
  /* With the bag the phone header needs a little more room (one row on 360px phones too). */
  .nn-header-in:has(.nn-bag:not([hidden])) { padding-left: 16px; padding-right: 16px; }
  .nn-header-in:has(.nn-bag:not([hidden])) .nn-logo img { height: 30px; width: auto; }
  .nn-bag-btn { padding: 4px 3px; }
}
@media (max-width: 374.98px) {
  .nn-header-in:has(.nn-bag:not([hidden])) { padding-left: 10px; padding-right: 10px; column-gap: 6px; }
  .nn-header-in:has(.nn-bag:not([hidden])) .nn-logo img.nn-logo-full { height: 25px; }
}

/* Zip 62 (mockups approved 2026-10-26): an order link opened by someone not signed in as the customer (look only),
   and the sheet "Change the day of your order at …?" after "+ Add". */
.nn-signin-box { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--nn-line-2); border-radius: 18px; padding: 16px; margin: 14px 0; }
.nn-signin-box > .bi { font-size: 26px; color: var(--nn-green); }
.nn-signin-box b { display: block; font-size: 16px; }
.nn-signin-box p { margin: 2px 0 10px; font-size: 14.5px; color: var(--nn-muted); }
.nn-signin-box a { display: inline-flex; align-items: center; gap: 6px; background: var(--nn-green); color: #fff !important; border-radius: 999px; padding: 10px 18px; font-weight: 800; text-decoration: none; }
.nn-signin-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f7f1eb; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; }
.nn-signin-line a { font-weight: 800; color: var(--nn-green-text) !important; white-space: nowrap; }
.nn-switch-dim { position: fixed; inset: 0; z-index: 1070; background: rgba(0, 0, 0, .45); }
.nn-switch-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; max-width: 34rem; margin: 0 auto; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.nn-switch-sheet h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.nn-switch-sheet p { font-size: 16px; color: var(--nn-ink-2); margin: 0 0 6px; line-height: 1.5; }
.nn-switch-sheet .nn-switch-why { font-size: 14px; color: var(--nn-muted); margin-bottom: 16px; }
.nn-switch-yes, .nn-switch-no { display: block; width: 100%; border-radius: 14px; padding: 14px; font-weight: 800; font-size: 16px; margin-top: 10px; }
.nn-switch-yes { background: var(--nn-orange); color: #fff; border: 0; }
.nn-switch-no { background: #fff; border: 1.5px solid var(--nn-line-2); color: var(--nn-ink); }
@media (min-width: 576px) { .nn-switch-sheet { bottom: 50%; transform: translateY(50%); border-radius: 22px; } }

/* Zip 63: nearby cooks' dishes on the "What are you craving?" row: "Near you" and how many kitchens. */
.nn-crave > span.nn-crave-img { position: relative; }
.nn-crave-near { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); background: var(--nn-green); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1; border-radius: 999px; padding: 4px 7px; border: 2px solid #fff; white-space: nowrap; }
.nn-crave-n { display: block; font-size: 11.5px; color: var(--nn-muted); font-weight: 600; }

/* Zip 66 (mockup C approved 2026-10-26): the header is a white card resting on the page: no line under it, rounded
   bottom corners, a soft shadow. On phones My account has no place row (a cook checking orders doesn't need it). */
.public-page .nn-header { border-bottom: 0; border-radius: 0 0 26px 26px; box-shadow: 0 8px 24px rgba(91, 52, 25, .08); position: relative; z-index: 5; }
@media (max-width: 575.98px) {
  .nn-header.is-account .nn-header-in > .dropdown:not(.nn-menu) { display: none; }
}


/* Zip 69: the "Tin nhắn" bubble (layouts/_talk, js/talk.js). Phones: a sheet from the bottom; computers: a corner window. */
.nn-talk-fab { position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 1040; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--nn-green); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(36, 94, 60, .35); transition: transform .15s; }
.nn-talk-fab:hover { transform: scale(1.05); }
.nn-talk-fab:focus-visible { outline: 3px solid var(--nn-orange); outline-offset: 3px; }
.nn-talk-fab b { position: absolute; top: -3px; right: -3px; min-width: 24px; height: 24px; border-radius: 999px; background: #d63b1f; color: #fff; font-size: 13px; display: grid; place-items: center; border: 2px solid #fff; padding: 0 5px; }
.nn-talk-fab b[hidden] { display: none; }
.nn-talk-dim { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 1055; }
.nn-talk-panel { position: fixed; left: 0; right: 0; bottom: 0; top: 70px; z-index: 1060; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); overflow: hidden; color: var(--nn-ink); }
.nn-talk-panel[hidden], .nn-talk-dim[hidden], .nn-talk-view[hidden] { display: none !important; }
.nn-talk-view { display: flex; flex-direction: column; height: 100%; }
.nn-talk-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--nn-line-3); }
.nn-talk-head h2 { font-size: 19px; font-weight: 800; margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-talk-head h2 small { font-size: 13px; font-weight: 600; color: var(--nn-muted); }
.nn-talk-x { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--nn-line-2); background: #fff; display: grid; place-items: center; font-size: 17px; color: var(--nn-ink); }
.nn-talk-tabs { display: flex; gap: 8px; padding: 10px 16px; flex-wrap: wrap; }
.nn-talk-tabs button { border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; border: 1.5px solid var(--nn-line-2); background: #fff; color: var(--nn-ink); }
.nn-talk-tabs button.is-on { background: var(--nn-green); color: #fff; border-color: var(--nn-green); }
.nn-talk-tabs button span:not(:empty) { margin-left: 6px; background: #d63b1f; color: #fff; border-radius: 999px; padding: 0 6px; font-size: 12px; }
.nn-talk-rows { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.nn-talk-row { display: flex; gap: 12px; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--nn-line-3); align-items: flex-start; width: 100%; background: #fff; text-align: left; color: inherit; }
.nn-talk-row:hover { background: #fffaf5; }
.nn-talk-av { width: 44px; height: 44px; border-radius: 50%; background: #f6e3d3; color: #b9501f; display: grid; place-items: center; font-weight: 900; flex: 0 0 auto; }
.nn-talk-av.is-cook { background: #e2f0e6; color: var(--nn-green-text); }
.nn-talk-t { flex: 1; min-width: 0; }
.nn-talk-t b { font-size: 16px; }
.nn-talk-t .s { font-size: 13px; color: var(--nn-muted); }
.nn-talk-t .m { font-size: 15px; color: var(--nn-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-talk-row.is-unread .m { font-weight: 700; color: var(--nn-ink); }
.nn-talk-r { text-align: right; font-size: 12.5px; color: var(--nn-muted); white-space: nowrap; }
.nn-talk-r i { display: inline-block; margin-top: 6px; min-width: 20px; height: 20px; border-radius: 999px; background: #d63b1f; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; padding: 0 5px; }
.nn-talk-empty { padding: 36px 24px; text-align: center; color: var(--nn-muted); font-size: 15px; }
.nn-talk-ctx { margin: 10px 16px; background: #f7f1eb; border-radius: 12px; padding: 9px 12px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.nn-talk-ctx a { font-weight: 800; color: var(--nn-green-text); white-space: nowrap; text-decoration: none; }
.nn-talk-msgs { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; background: #fffaf5; }
.nn-talk-b { max-width: 80%; padding: 9px 13px; border-radius: 16px; font-size: 15.5px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.nn-talk-b.them { background: #fff; border: 1px solid var(--nn-line-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.nn-talk-b.me { background: var(--nn-green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.nn-talk-b small { display: block; font-size: 11.5px; opacity: .7; margin-top: 2px; }
.nn-talk-typing { font-size: 13px; color: var(--nn-muted); padding: 4px 16px 0; }
.nn-talk-closed, .nn-talk-err { font-size: 13.5px; padding: 6px 16px 0; color: var(--nn-muted); }
.nn-talk-err { color: #b42318; }
.nn-talk-quick { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 0; scrollbar-width: none; }
.nn-talk-quick[hidden], .nn-talk-typing[hidden], .nn-talk-closed[hidden], .nn-talk-err[hidden] { display: none; }
.nn-talk-quick button { flex: 0 0 auto; border: 1.5px solid var(--nn-line-2); border-radius: 999px; padding: 7px 12px; font-size: 14px; font-weight: 600; background: #fff; color: var(--nn-ink); }
.nn-talk-send { display: flex; gap: 8px; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); align-items: flex-end; }
.nn-talk-send textarea { flex: 1; border: 1.5px solid var(--nn-line-2); border-radius: 22px; padding: 10px 16px; font-size: 16px; resize: none; max-height: 120px; line-height: 1.35; }
.nn-talk-send textarea:focus { outline: none; border-color: var(--nn-green); }
.nn-talk-send button { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--nn-green); color: #fff; display: grid; place-items: center; font-size: 18px; }
.nn-talk-send button:disabled { opacity: .5; }
html.nn-talk-on, html.nn-talk-on body { overflow: hidden; }
@media (max-width: 899.98px) {
    /* Stays clear of the orange "Continue" bar and the order sheet. */
    body.has-go-bar .nn-talk-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
    body:has(.nn-order-col.is-sheet) .nn-talk-fab, body:has(.nn-switch-sheet) .nn-talk-fab { display: none; }
    body:has(.install-strip:not(.d-none)) .nn-talk-fab { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
    .nn-talk-fab { right: 24px; bottom: 24px; }
    .nn-talk-dim { display: none !important; }
    .nn-talk-panel { left: auto; top: auto; right: 24px; bottom: 24px; width: 380px; height: min(560px, calc(100vh - 48px)); border-radius: 20px; }
    html.nn-talk-on, html.nn-talk-on body { overflow: visible; }
}
.nn-talk-send[hidden] { display: none; }

/* Zip 79: a new chat with a kitchen (topics, name) and the customer's own "text me" box in the chat. */
.nn-talk-fab[hidden] { display: none !important; }
.nn-talk-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 8px; }
.nn-talk-chips[hidden], .nn-talk-texts[hidden], .nn-talk-name[hidden], .nn-talk-ctx a[hidden] { display: none !important; }
.nn-talk-chips button { border: 1.5px solid var(--nn-line-2); border-radius: 999px; padding: 5px 11px; font-size: 13.5px; font-weight: 600; background: #fff; color: var(--nn-ink); }
.nn-talk-chips button.is-on { background: var(--nn-green); border-color: var(--nn-green); color: #fff; }
.nn-talk-texts { margin: 6px 16px 0; }
.nn-talk-consent { display: flex; gap: 9px; border: 1px solid var(--nn-line-2); background: #fff; border-radius: 12px; padding: 9px 11px; font-size: 12.5px; line-height: 1.4; color: var(--nn-ink-2); cursor: pointer; margin: 0; }
.nn-talk-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--nn-green); }
.nn-talk-consent a { color: var(--nn-green-text); font-weight: 600; }
.nn-talk-consent small { display: block; color: var(--nn-muted); margin-top: 3px; font-size: 12px; }
.nn-talk-agreed { background: var(--nn-green-soft, #e4efe7); color: var(--nn-green-text); border-radius: 10px; padding: 7px 11px; font-size: 13px; font-weight: 600; }
.nn-talk-name { margin: 8px 16px 0; border: 1.5px solid var(--nn-line-2); border-radius: 12px; padding: 8px 12px; font-size: 15px; width: calc(100% - 32px); }
.nn-talk-hint { margin: auto; text-align: center; color: var(--nn-muted); font-size: 14.5px; padding: 0 20px; }
.nn-talk-sentline { align-self: center; font-size: 12.5px; color: var(--nn-muted); }

/* Zip 81: the messenger look (bubble and full page). */
.nn-talk-view[data-talk-convo] { position: relative; }
.nn-talk-head.is-convo { gap: 8px; padding: 10px 10px 10px 8px; }
.nn-talk-head.is-convo .nn-talk-av { width: 40px; height: 40px; font-size: 15px; }
.nn-talk-ic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; font-size: 20px; color: var(--nn-ink); }
.nn-talk-ic:hover { background: #f7f1eb; }
.nn-talk-who { flex: 1; min-width: 0; border: 0; background: transparent; text-align: left; padding: 2px 4px; color: inherit; border-radius: 10px; }
.nn-talk-who:disabled { cursor: default; }
.nn-talk-who b { display: block; font-size: 16.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-talk-who span { display: block; font-size: 13px; font-weight: 600; color: var(--nn-green-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-talk-card { margin: 0 12px; position: absolute; left: 0; right: 0; top: 62px; z-index: 5; background: #fff; border: 1px solid var(--nn-line-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); padding: 12px 14px; font-size: 14px; }
.nn-talk-card[hidden] { display: none; }
.nn-talk-card b { display: block; font-size: 15.5px; margin: 6px 0 4px; }
.nn-talk-card-st { display: inline-block; background: #e2f0e6; color: var(--nn-green-text); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 800; }
.nn-talk-card-ln { color: var(--nn-ink-2); margin-top: 2px; }
.nn-talk-card-btn { display: block; margin-top: 10px; text-align: center; border: 1.5px solid var(--nn-green); color: var(--nn-green-text); font-weight: 800; border-radius: 999px; padding: 7px; text-decoration: none; }
.nn-talk-day { align-self: center; font-size: 12.5px; font-weight: 700; color: var(--nn-muted); background: #f3ebe2; border-radius: 999px; padding: 2px 12px; margin: 6px 0 2px; }
.nn-talk-privacy { align-self: center; text-align: center; font-size: 12.5px; color: var(--nn-muted); max-width: 300px; padding: 2px 0 6px; }
.nn-talk-warn { align-self: stretch; background: #fff4e5; border: 1px solid #f3c98b; color: #8a4b00; border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.nn-talk-dots { align-self: flex-start; background: #fff; border: 1px solid var(--nn-line-2); border-radius: 16px; border-bottom-left-radius: 4px; padding: 11px 14px; display: flex; gap: 4px; }
.nn-talk-dots i { width: 7px; height: 7px; border-radius: 50%; background: #a99c90; animation: nnDots 1.2s infinite ease-in-out; }
.nn-talk-dots i:nth-child(2) { animation-delay: .15s; }
.nn-talk-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes nnDots { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nn-talk-dots i { animation: none; } }
.nn-talk-alert { font-size: 13px; color: var(--nn-ink-2); background: #f7f1eb; border-radius: 10px; padding: 7px 11px; line-height: 1.4; }
.nn-talk-alert a, .nn-talk-linkbtn { color: var(--nn-green-text); font-weight: 800; text-decoration: underline; background: none; border: 0; padding: 0; font-size: inherit; }
.nn-talk-alert-btn { margin-top: 6px; width: 100%; border: 0; border-radius: 999px; background: var(--nn-green); color: #fff; font-weight: 800; padding: 8px; font-size: 14px; }
.nn-talk-alert-btn:disabled { opacity: .45; }
.nn-talk-sheetdim { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); z-index: 8; }
.nn-talk-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; background: #fff; border-radius: 20px 20px 0 0; padding: 6px 8px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); max-height: 80%; overflow-y: auto; }
.nn-talk-sheetdim[hidden], .nn-talk-sheet[hidden] { display: none; }
.nn-talk-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--nn-line-2); margin: 4px auto 8px; }
.nn-talk-mi { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: transparent; text-align: left; padding: 12px 10px; border-radius: 12px; font-size: 15.5px; font-weight: 700; color: var(--nn-ink); }
.nn-talk-mi:hover { background: #f7f1eb; }
.nn-talk-mi > i { font-size: 19px; width: 22px; text-align: center; }
.nn-talk-mi .t { flex: 1; min-width: 0; }
.nn-talk-mi .t small { display: block; font-weight: 500; font-size: 12.5px; color: var(--nn-muted); }
.nn-talk-mi.is-red { color: #b42318; }
.nn-talk-switch { width: 42px; height: 24px; border-radius: 999px; background: #d6cdc4; position: relative; flex: 0 0 auto; }
.nn-talk-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.nn-talk-switch.is-on { background: var(--nn-green); }
.nn-talk-switch.is-on::after { left: 21px; }
.nn-talk-confirm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px; background: #fff1ef; border-radius: 12px; margin: 4px 0; font-weight: 700; font-size: 14.5px; }
.nn-talk-confirm > span { flex: 1 1 100%; }
.nn-talk-confirm.is-col { flex-direction: column; align-items: stretch; background: #f7f1eb; }
.nn-talk-confirm textarea { border: 1.5px solid var(--nn-line-2); border-radius: 10px; padding: 8px 10px; font-size: 15px; resize: none; }
.nn-talk-confirm-btns { display: flex; gap: 8px; }
.nn-talk-confirm-yes, .nn-talk-confirm-no { border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: 14px; border: 1.5px solid var(--nn-line-2); background: #fff; color: var(--nn-ink); }
.nn-talk-confirm-yes { background: #b42318; border-color: #b42318; color: #fff; }
.nn-talk-confirm.is-col .nn-talk-confirm-yes { background: var(--nn-green); border-color: var(--nn-green); }
.nn-talk-done { color: var(--nn-green-text); font-weight: 700; padding: 6px 4px; }

/* The full page (talk/page.blade.php): the chat is the whole screen; on a computer a 600 px column. */
body.nn-msgr { background: #f7f1eb; }
body.nn-msgr:has(.nn-talk.is-page) { overflow: hidden; }
.nn-talk.is-page .nn-talk-panel { position: fixed; inset: 0; top: 0; border-radius: 0; box-shadow: none; }
.nn-talk.is-page [data-talk-close] { display: none !important; }
@media (min-width: 900px) {
    .nn-talk.is-page .nn-talk-panel { left: 50%; right: auto; width: 600px; height: auto; top: 0; bottom: 0; transform: translateX(-50%); border-left: 1px solid var(--nn-line-2); border-right: 1px solid var(--nn-line-2); }
}
.nn-msgr-signin { max-width: 420px; margin: 0 auto; padding: 48px 20px; text-align: center; }
.nn-msgr-signin h1 { font-size: 23px; font-weight: 800; margin: 18px 0 8px; }
.nn-msgr-signin p { color: var(--nn-ink-2); }
.nn-msgr-signin form { text-align: left; margin-top: 18px; }
.nn-msgr-signin input[type=tel] { font-size: 18px; }
.nn-talk-err.is-ok { color: var(--nn-green-text); }

/* Zip 82: the dish sheet (kitchens/_dish_sheet.blade.php, dish-sheet.js). Phones: from the bottom; computers: in the middle. */
.nn-dsheet[hidden] { display: none; }
.nn-dsheet { position: fixed; inset: 0; z-index: 1050; }
.nn-dsheet-dim { position: absolute; inset: 0; background: rgba(30, 20, 12, .5); opacity: 0; transition: opacity .2s; }
.nn-dsheet.is-in .nn-dsheet-dim { opacity: 1; }
.nn-dsheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 48px); height: calc(100% - 48px); background: #fff; color: var(--nn-ink); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; outline: none; transform: translateY(100%); transition: transform .25s ease-out; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.nn-dsheet.is-in .nn-dsheet-box { transform: none; }
@media (prefers-reduced-motion: reduce) { .nn-dsheet-box, .nn-dsheet-dim { transition: none; } }
html.nn-dsheet-on, html.nn-dsheet-on body { overflow: hidden; }
html.nn-dsheet-on .nn-talk-fab { display: none !important; }
.nn-dsheet-gal { position: relative; flex: 0 0 auto; background: #f7f1eb; }
.nn-dsheet-pics { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; height: min(42vh, 300px);
    overscroll-behavior: contain; touch-action: pan-x; -webkit-overflow-scrolling: touch; }   /* zip 84: sideways only, no bounce up/down */
.nn-dsheet-pics::-webkit-scrollbar { display: none; }
.nn-dsheet-pic { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; color: #b9501f; overflow: hidden; }
.nn-dsheet-pic img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.nn-dsheet-pic.is-none { background: var(--nn-orange-tag); }
.nn-dsheet-grab { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.nn-dsheet-ic { position: absolute; z-index: 3; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--nn-ink); display: grid; place-items: center; font-size: 17px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.nn-dsheet-ic.is-x { right: 12px; }
.nn-dsheet-ic.is-share { right: 60px; }
.nn-dsheet-ic.is-done { background: var(--nn-green); color: #fff; }
.nn-dsheet-ic.is-done i::before { content: "\F26E"; }
.nn-dsheet-n { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.nn-dsheet-n[hidden] { display: none; }
.nn-dsheet-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.nn-dsheet-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .65); box-shadow: 0 0 2px rgba(0, 0, 0, .4); }
.nn-dsheet-dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.nn-dsheet-thumbs { display: none; }
.nn-dsheet-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.nn-dsheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 12px; }
.nn-dsheet-wait { padding: 30px 0; text-align: center; color: var(--nn-muted); }
.nn-dsheet-nm { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.nn-dsheet-nm h3 { font-family: var(--nn-head); font-weight: 900; font-size: 23px; line-height: 1.2; margin: 0; }
.nn-dsheet-nm .pr { font-family: var(--nn-head); font-weight: 900; font-size: 21px; white-space: nowrap; }
.nn-dsheet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nn-dsheet-tags span { border-radius: 999px; padding: 3px 11px; font-size: 13.5px; font-weight: 700; background: var(--nn-line-3); color: var(--nn-ink-2); }
.nn-dsheet-tags .is-chay { background: var(--nn-green-soft); color: var(--nn-green-text); }
.nn-dsheet-tags .is-sold { background: var(--nn-orange-tag); color: var(--nn-orange); }
.nn-dsheet-tags .is-cold { background: #e6f0f7; color: #245a7a; }
.nn-dsheet-avail { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--nn-green-text); }
.nn-dsheet-avail.is-low { color: var(--nn-orange); }
.nn-dsheet-avail.is-out { color: #b42318; }
.nn-dsheet-days { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 8px; }
.nn-dsheet-days .l { font-size: 14px; color: var(--nn-muted); width: 100%; }
.nn-dsheet-days button { border: 1.5px solid var(--nn-line-2); background: #fff; border-radius: 999px; padding: 6px 13px; font-size: 14.5px; font-weight: 700; color: var(--nn-ink); }
.nn-dsheet-days button:hover { border-color: var(--nn-green); color: var(--nn-green-text); }
.nn-dsheet-desc { font-size: 15.5px; line-height: 1.55; color: var(--nn-ink-2); margin: 12px 0 0; white-space: pre-line; }
.nn-dsheet-al { margin-top: 12px; font-size: 14px; color: var(--nn-muted); }
.nn-dsheet-al b { color: var(--nn-ink-2); }
.nn-dsheet-al span { display: inline-block; border: 1px solid var(--nn-line-2); border-radius: 7px; padding: 0 7px; margin: 3px 3px 0 0; color: var(--nn-ink-2); }
.nn-dsheet-say { margin-top: 14px; background: var(--nn-cream); border: 1px solid var(--nn-line); border-radius: 14px; padding: 11px 13px; font-size: 14.5px; }
.nn-dsheet-say .st { color: #e8a317; letter-spacing: 1px; }
.nn-dsheet-say p { margin: 4px 0 2px; color: var(--nn-ink-2); }
.nn-dsheet-say small { color: var(--nn-muted); }
.nn-dsheet-kit { margin-top: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--nn-line); border-radius: 14px; padding: 10px 12px; }
.nn-dsheet-kit img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.nn-dsheet-kit div { flex: 1; min-width: 0; font-size: 13.5px; color: var(--nn-muted); }
.nn-dsheet-kit div b { display: block; color: var(--nn-ink); font-size: 15.5px; }
.nn-dsheet-kit a { font-weight: 800; color: var(--nn-green-text); text-decoration: none; white-space: nowrap; }
.nn-dsheet-foot { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--nn-line); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; }
.nn-dsheet-foot[hidden] { display: none; }
.nn-dsheet-step { display: flex; align-items: center; border: 1.5px solid var(--nn-line-2); border-radius: 999px; height: 50px; flex: 0 0 auto; }
.nn-dsheet-step button { width: 44px; height: 100%; border: 0; background: none; font-size: 22px; font-weight: 800; color: var(--nn-green-text); }
.nn-dsheet-step button:disabled { color: #c9bdb1; }
.nn-dsheet-step b { min-width: 22px; text-align: center; font-size: 18px; }
.nn-dsheet-add { flex: 1; min-width: 0; height: 50px; border-radius: 999px; background: var(--nn-green); color: #fff !important; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 14px; }
.nn-dsheet-add:hover { background: var(--nn-green-dark); }
.nn-dsheet-add.is-added { background: var(--nn-green-dark); }
@media (max-width: 360px) { .nn-dsheet-add { font-size: 14.5px; } }
@media (min-width: 768px) {
    .nn-dsheet-box { left: 50%; top: 50%; bottom: auto; right: auto; width: min(880px, calc(100% - 48px)); height: min(560px, calc(100% - 48px)); border-radius: 22px; flex-direction: row; transform: translate(-50%, -46%); opacity: 0; transition: transform .2s, opacity .2s; }
    .nn-dsheet.is-in .nn-dsheet-box { transform: translate(-50%, -50%); opacity: 1; }
    .nn-dsheet-gal { width: 50%; display: flex; flex-direction: column; position: static; }
    .nn-dsheet-pics { flex: 1; height: auto; }
    .nn-dsheet-grab, .nn-dsheet-dots { display: none; }
    .nn-dsheet-ic.is-share { right: 62px; top: 14px; box-shadow: none; border: 1px solid var(--nn-line-2); background: #fff; }
    .nn-dsheet-ic.is-x { right: 14px; top: 14px; box-shadow: none; border: 1px solid var(--nn-line-2); background: #fff; }
    .nn-dsheet-thumbs { display: flex; gap: 8px; padding: 10px 14px; flex: 0 0 auto; }
    .nn-dsheet-thumbs:empty { display: none; }
    .nn-dsheet-thumbs button { width: 54px; height: 54px; border-radius: 10px; border: 0; background-size: cover; background-position: center; opacity: .6; }
    .nn-dsheet-thumbs button.on { opacity: 1; outline: 2px solid var(--nn-green); outline-offset: 2px; }
    .nn-dsheet-n { bottom: auto; top: 12px; left: 12px; right: auto; }
    .nn-dsheet-main { position: relative; }
    .nn-dsheet-body { padding: 24px 24px 12px; }
    .nn-dsheet-nm { padding-right: 96px; }
}
/* Dish names and photos open the sheet. */
.nn-dish-name, .nn-dcard-name h3 a { color: inherit !important; text-decoration: none; }
.nn-dish-name:hover, .nn-dcard-name h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.nn-dish-photo-btn, a.nn-dish-photo, a.nn-dcard-photo { cursor: zoom-in; text-decoration: none; }

/* Zip 87 (lesson from diggg): iPhones zoom the page into any box with text under 16px. On phones the small boxes
   get 16px. */
@media (max-width: 767.98px) {
    .form-control-sm, .form-select-sm, .input-group-sm > .form-control, .input-group-sm > .form-select,
    .nn-talk-name, .nn-talk-confirm textarea, .nn-talk-send textarea { font-size: 16px !important; }
}
